00:17 pecastro left 00:54 someuser_ left 00:57 Grauwolf_ joined 00:58 Grauwolf left 01:16 hfjvjffju left 01:40 kurahaupo is now known as kurahaupo_______ 01:41 kurahaupo_______ is now known as kurahaupo 01:49 aborazmeh joined, aborazmeh left, aborazmeh joined 01:59 khisanth_ left 02:04 roguelazer left 02:06 vike left 02:12 khisanth_ joined
mst Grinnz: perigrin 02:18
02:40 marcusr left 02:41 marcusr joined 02:53 ZzZombo_ joined 02:55 ZzZombo_ left 02:57 Doc_Holliwould joined, ZzZombo_ joined 02:58 ZzZombo_ left 02:59 holli left 03:00 Doc_Holliwood joined 03:03 Doc_Holliwould left 03:04 Doc_Holliwould joined 03:07 Doc_Holliwood left 03:25 Cabanossi left 03:26 Cabanossi joined 03:29 rindolf joined 03:35 Doc_Holliwood joined 03:38 Doc_Holliwould left 03:39 Doc_Holliwould joined 03:41 Doc_Holliwood left 03:42 aborazmeh left, Doc_Holliwood joined, Actualeyes joined 03:45 Doc_Holliwould left 03:46 Doc_Holliwould joined 03:49 Doc_Holliwood left, Doc_Holliwood joined 03:50 roguelazer joined 03:52 Doc_Holliwould left 03:53 Doc_Holliwould joined 03:55 Doc_Holliwood left 03:56 Doc_Holliwood joined 04:00 Doc_Holliwould left, Doc_Holliwould joined 04:01 roguelazer left 04:03 Doc_Holliwood left, roguelazer joined, Doc_Holliwood joined 04:06 Doc_Holliwould left 04:07 Doc_Holliwould joined 04:09 Doc_Holliwood left 04:10 Doc_Holliwood joined 04:13 Doc_Holliwould left 04:14 Doc_Holliwould joined 04:17 Doc_Holliwood left, Doc_Holliwood joined 04:20 Doc_Holliwould left 04:21 Doc_Holliwould joined 04:23 Doc_Holliwood left 04:24 Doc_Holliwood joined 04:27 Doc_Holliwould left 04:28 Doc_Holliwould joined 04:31 vike joined, Doc_Holliwood left, Doc_Holliwood joined 04:34 Doc_Holliwould left 04:35 Doc_Holliwould joined 04:37 Doc_Holliwood left 04:38 Doc_Holliwood joined 04:41 Doc_Holliwould left 04:42 Doc_Holliwould joined 04:45 Doc_Holliwood left, Doc_Holliwood joined 04:48 Doc_Holliwould left 04:49 Doc_Holliwould joined 04:52 Doc_Holliwood left, Doc_Holliwood joined 04:55 Doc_Holliwould left 04:56 cpan-raku left, Doc_Holliwould joined 04:57 cpan-raku joined, cpan-raku left, cpan-raku joined 04:59 Doc_Holliwood left, Doc_Holliwood joined 05:02 Doc_Holliwould left 05:03 Doc_Holliwould joined 05:06 Doc_Holliwood left, Doc_Holliwood joined 05:09 Doc_Holliwould left 05:10 Doc_Holliwould joined 05:12 Doc_Holliwood left 05:13 Doc_Holliwood joined 05:16 Doc_Holliwould left 05:17 Doc_Holliwould joined 05:20 Doc_Holliwood left 05:21 Doc_Holliwood joined 05:23 Doc_Holliwould left 05:24 Doc_Holliwould joined 05:27 Doc_Holliwood left 05:28 Doc_Holliwood joined 05:30 wamba joined, Doc_Holliwould left 05:31 Doc_Holliwould joined 05:34 Doc_Holliwood left 05:40 erdic joined 06:03 Doc_Holliwood joined 06:06 Doc_Holliwould left 06:07 Doc_Holliwould joined 06:09 Doc_Holliwood left 06:10 Doc_Holliwood joined 06:13 Doc_Holliwould left 06:14 Doc_Holliwould joined 06:16 Doc_Holliwood left 06:17 Doc_Holliwood joined 06:20 Doc_Holliwould left 06:21 Doc_Holliwould joined 06:23 Doc_Holliwood left 06:24 holli joined 06:27 Doc_Holliwould left 06:28 Doc_Holliwood joined 06:31 holli left, Doc_Holliwould joined 06:32 wamba left 06:34 Doc_Holliwood left 06:35 Doc_Holliwood joined 06:38 Doc_Holliwould left, Doc_Holliwould joined, Actualeyes left 06:39 DarthGandalf joined 06:41 wamba joined, Doc_Holliwood left 06:42 Doc_Holliwood joined 06:44 Doc_Holliwould left 06:45 Doc_Holliwould joined 06:48 Doc_Holliwood left 06:49 Doc_Holliwood joined 06:51 Doc_Holliwould left 06:52 wamba left, Doc_Holliwould joined 06:56 Doc_Holliwood left, holli joined 06:58 Doc_Holliwould left 06:59 Doc_Holliwood joined 07:02 holli left 07:03 Doc_Holliwould joined 07:05 Doc_Holliwood left 07:06 Doc_Holliwood joined 07:09 Doc_Holliwould left 07:10 Doc_Holliwould joined 07:12 Doc_Holliwood left 07:13 Doc_Holliwood joined 07:16 Doc_Holliwould left 07:17 Doc_Holliwould joined 07:19 Doc_Holliwood left 07:20 Doc_Holliwood joined 07:21 Black_Ribbon left 07:23 Doc_Holliwould left 07:24 Doc_Holliwould joined 07:26 Doc_Holliwood left 07:27 Doc_Holliwood joined 07:30 wamba joined, Doc_Holliwould left 07:31 Doc_Holliwould joined 07:33 Doc_Holliwood left 07:34 Doc_Holliwood joined 07:37 Doc_Holliwould left 07:38 Doc_Holliwould joined 07:40 Doc_Holliwood left 07:41 holli joined 07:44 Doc_Holliwould left 07:45 Doc_Holliwood joined 07:48 holli left, Doc_Holliwould joined 07:49 Actualeyes joined 07:51 Doc_Holliwood left 07:52 Doc_Holliwood joined 07:55 Doc_Holliwould left, Doc_Holliwould joined 07:58 Doc_Holliwood left 07:59 holli joined 08:01 Doc_Holliwould left 08:02 Doc_Holliwood joined 08:04 aindilis` joined, aindilis left 08:05 holli left 08:06 Doc_Holliwould joined 08:08 Doc_Holliwood left 08:09 Doc_Holliwood joined 08:12 Doc_Holliwould left 08:13 Doc_Holliwould joined 08:15 Doc_Holliwood left 08:16 holli joined 08:19 Doc_Holliwould left 08:20 Doc_Holliwood joined 08:23 holli left 08:34 domidumont joined 08:37 Doc_Holliwould joined 08:39 Doc_Holliwood left 08:59 reach_satori left 09:07 xinming joined 09:08 sena_kun joined 09:09 xinming_ left 09:16 domidumont left 09:21 Altai-man_ joined 09:23 sena_kun left 09:26 reach_satori joined 09:52 sno left 10:16 pecastro joined 10:26 wamba left 10:45 holli joined 10:47 Doc_Holliwould left 10:48 Doc_Holliwould joined 10:52 holli left, Doc_Holliwood joined 10:53 wamba joined 10:55 Doc_Holliwould left, Doc_Holliwould joined 10:58 Itaipu left, Doc_Holliwood left 10:59 Doc_Holliwood joined 11:01 Itaipu joined, Doc_Holliwould left 11:02 Doc_Holliwould joined 11:05 Doc_Holliwood left 11:06 holli joined 11:08 Doc_Holliwould left 11:09 Doc_Holliwood joined 11:11 holli left 11:13 Doc_Holliwould joined 11:15 Doc_Holliwood left 11:16 Doc_Holliwood joined 11:19 Doc_Holliwould left 11:20 Doc_Holliwould joined 11:22 sena_kun joined, Doc_Holliwood left 11:23 Altai-man_ left 12:00 gabiruh joined 12:23 cpage_ joined 12:24 gabiruh_ joined 12:25 gabiruh left, cpage left, cpage_ is now known as cpage 13:01 lucasb joined 13:21 Altai-man_ joined 13:23 sena_kun left, ravenousmoose joined 13:43 sena_kun joined 13:45 Altai-man_ left 13:50 someuser joined 14:10 mack[m] left 14:23 cpan-raku left, DavidHoloshka joined, cpan-raku joined, cpan-raku left, cpan-raku joined
DavidHoloshka Class variable usage causing seg fault on ubuntu in cro ? 14:25
jnthn Code example reproducing it? 14:28
14:28 wamba left, molaf joined
timotimo could you be using (adding to or removing from) hashes concurrently by accident? 14:28
jnthn Could be
Cro distributes requests across threads, and if things aren't protected appropriately, it won't end well (that it segvs is a bug, but still, it's not expected to magically behave) 14:29
14:31 ExtraCrispy joined
DavidHoloshka I am trying to create a persistent db and file handle across instantiations of classes using a Class variable. Not saying this is a bug. The fault happens in perl6. 14:31
class kohaStatusChecker::KohaDatabaseAccessor { use DBIish; use Config; my $dbish; my $kohaConfig; # establish a connection to the database save it in a Class variable (not an instance var) method connect( ) { # Read the configuration file and assign values to the member variables if ! $kohaConfig { 14:32
$kohaConfig = Config.new(); $kohaConfig.read("/etc/kohaStatusChecker/config.yaml"); } # connect to db if ! $dbish { my $aHost = $kohaConfig<DB_HOST>; my $aDb = $kohaConfig<DB_NAME>; my $aUser = $kohaConfig<DB_USER>; my $password = $kohaConfig<DB_PASS>; $dbish =
DBIish.connect('mysql', :host($aHost), :port($kohaConfig<DB_PORT>), :database($aDb), :user($aUser), :$password, :PrintError); } }
jnthn Hmm, that's at the very least racey, if two things call connect. 14:37
I'd `use OO::Monitors`, s/class/monitor/, promote the class variables to instance ones, and then do the singleton pattern along the lines of `my $instance = INIT kohaStatusChecker::KohaDatabaseAccessor.new; method get-instance() { $instance }` or some such. 14:39
Alternatively, you might like to check out the module DB::MySQL, which I *think* does a connection pool for you :) 14:40
The docs match that; modules.raku.org/dist/DB::MySQL:cpan:CTILMES
Also the DB::foo modules in my experience are higher quality than DBIish 14:41
tadzik heh, the docs mention DB::SQLite. They may have been copy-pasted... ;) 14:43
jnthn Oops :) 14:45
PR time!
14:49 wamba joined 14:51 wamba1 joined
DavidHoloshka ok thanks I will investigate these ideas 14:54
14:55 wamba left 15:02 ExtraCrispy left 15:03 ExtraCrispy joined 15:07 wamba1 left 15:11 ExtraCrispy left, ExtraCrispy joined 15:19 ExtraCrispy left, aindilis` left 15:20 aindilis joined, DavidHoloshka left 15:22 ExtraCrispy joined 15:23 ExtraCrispy left 15:24 ExtraCrispy joined, wamba joined 15:43 Altai-man_ joined 15:45 sena_kun left 15:49 wamba left 16:12 reach_satori left, reach_satori joined 16:17 reach_satori left 16:28 wamba joined 16:42 wamba left 17:22 reach_satori joined 17:31 aindilis left 17:38 domidumont joined, aindilis joined, Benett joined 17:40 aindilis left 17:41 aindilis joined 17:46 Altai-man_ left 18:13 agentzh left 18:26 wamba joined 18:34 reach_satori_ joined 18:36 reach_satori left 18:40 molaf left 18:43 aindilis left 18:44 aindilis joined 18:55 Benett left, Benett joined 19:10 lucasb left 19:42 domidumont left 20:40 jjatria left, jjatria joined 20:44 vike left 21:10 wildtrees joined 21:12 molaf joined 21:21 vike joined 21:35 Black_Ribbon joined 21:56 rainmanjam joined 22:03 rindolf left 22:21 krychu joined 22:43 ravenousmoose left 22:55 sno joined 23:30 someuser left 23:50 Actualeyes left 23:57 abraxxa joined