The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2017-04-10

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:28 zivester joined #mojo
00:58 SwellJoe joined #mojo
01:26 jberger yay, I'll be giving a talk on the mojo chat example at TPC::NA
01:27 jberger (formerly YAPC::NA)
01:27 jberger mojo + vue + postgres = chat
01:27 jberger I'm going to give an early version of it to Chicago Vue meetup on wednesday
02:26 noganex joined #mojo
04:04 dboehmer joined #mojo
04:33 prajith joined #mojo
05:05 inokenty-w joined #mojo
05:17 dod joined #mojo
05:18 esh joined #mojo
05:22 dod joined #mojo
05:42 dod joined #mojo
06:04 janl joined #mojo
06:36 dod joined #mojo
07:10 Vandal joined #mojo
07:12 dod joined #mojo
07:19 dod joined #mojo
07:34 trone joined #mojo
07:40 Jonis YAPC changed name to TPC? I guess the numbers have dwindled ;p
07:41 prg joined #mojo
07:51 trone joined #mojo
08:25 osfabibisi joined #mojo
08:30 osfabibisi joined #mojo
08:32 rshadow joined #mojo
08:33 rshadow joined #mojo
08:39 janl joined #mojo
08:40 rshadow joined #mojo
11:12 tchaves joined #mojo
11:39 coolo joined #mojo
12:00 jberger Oreilly finally gave us the name back
12:21 dod joined #mojo
12:27 sri jberger: yay!
12:27 sri jberger++
12:29 janl joined #mojo
12:30 coolo joined #mojo
12:36 perlpilot joined #mojo
13:06 Jonis jberger: yay!
13:16 marcus jberger++
13:20 stryx` joined #mojo
13:26 plicease joined #mojo
13:28 Pyritic joined #mojo
13:28 plicease joined #mojo
13:28 plicease joined #mojo
14:08 zivester joined #mojo
14:22 Pyritic joined #mojo
14:25 gryphon joined #mojo
14:36 PryMar56 joined #mojo
15:02 Lee joined #mojo
15:13 sri jberger: re your united overbooking tweets, they got that doctor removed from the plane by police to make room for united employees!
15:14 jberger I hadn't seen that
15:14 jberger and they picked him by a randomizer
15:15 jberger I don't think any of my tweets said that what they did was wrong (though it is certainly bad PR)
15:15 jberger I'm just baffled that it happened at all
15:15 jberger I understand overbooking is a necessity
15:15 jberger but did they really print two boarding passes with the same seat assignment?
15:16 jberger and if so, I think the guy sitting gets the seat
15:16 sri there was no overbooking, they just had to get employees that needed to get somewhere and enforced a clause in their terms of service that allows them to boot paying customers for that
15:18 jberger ah, I'm just finally seeing that news come out
15:18 jberger wow, that a spectacularly bad look
15:18 jberger *that's
15:20 jberger most airlines (at least used to) will share jump-seats with other airlines, could united really not get employees to Louisville? Hell, its not that far of a drive?!
15:21 sri easier to call the cops and beat up a doctor
15:21 sri at least in the us
15:29 jberger seriously, this country gets weirder and scarier daily
15:40 gregf_ joined #mojo
15:45 disputin joined #mojo
16:08 stryx` joined #mojo
16:12 disputin joined #mojo
16:13 SwellJoe joined #mojo
16:42 jberger sri: would you consider a way to alter the HandleError coderef?
16:43 jberger (I assume that's where I'm getting these NOTICE outputs from pg)
17:11 Pyritic joined #mojo
17:16 sh14 joined #mojo
17:29 dod joined #mojo
17:30 disputin joined #mojo
17:37 kes joined #mojo
17:38 kes about: sub hide { push @{shift->hidden}, @_ } usage
17:38 kes http://stackoverflow.com/questions/43322212/please-explain-perl-operator-associativity/43326594?noredirect=1#comment73723132_43326594
17:43 rshadow joined #mojo
17:48 rshadow joined #mojo
18:02 sri jberger: context?
18:19 Pyritic joined #mojo
18:25 romel joined #mojo
18:30 jberger I'm using the full text search stuff (tsvector) and the warnings get pretty loud when the text query isn't properly formed
18:31 jberger I don't really want to have to parse the query further to validate before passing it to the query (as to_tsquery(?) )
18:31 jberger but whenever it is invalid I get a NOTICE warning out
18:32 jberger like NOTICE:  text-search query contains only stop words or doesn't contain lexemes, ignored
18:32 sri ah, it did sound like you talked about the problem before and i just forgot
18:33 jberger I think the concept has been brought up before, but I'm seeing a reason for myself now
18:33 sri well, put it up for a vote
18:33 sri can't say i care particularly atm
18:33 sri nothing i've come across
18:35 Grinnz why is HandleError called for warnings?
18:36 Grinnz it's only supposed to run for query errors afaik
18:36 Grinnz i didn't think DBI has any builtin way to forward warnings
18:37 sri guess you could sell it as a feature for making notices during Mojo::Pg tests shut up
18:37 sri if you target notices specifically
18:38 * sri might be more interested in something that improves Mojo::Pg tests
18:41 jberger ok so its worth pursuing, I'll try to work something up soon
18:44 perlpilot joined #mojo
18:52 jberger hmmm, ok, so it doesn't seem that the NOTICE messages come out from the HandleError handler
18:59 jberger gah, it literally is just warn-ed
18:59 Grinnz which brings up more questions :P
18:59 jberger trapping $SIG{__WARN__} is the actual recommended procedure
18:59 Grinnz is this a DBD::Pg thing?
19:00 jberger DBI
19:00 Grinnz i've never seen DBD::mysql print out warnings from mysql
19:00 Bloke joined #mojo
19:00 jberger https://metacpan.org/pod/DBI#PrintWarn
19:00 Grinnz (and we get a lot, as we don't yet use strict mode)
19:00 Grinnz hrm
19:01 jberger https://metacpan.org/pod/DBI#Warn
19:01 Grinnz maybe DBD::mysql doesn't trip that
19:01 jberger I'm not sure what the difference between those two are
19:01 jberger Warn and PrintWarn
19:01 jberger yeah, I haven't seen that before either
19:01 Grinnz the latter doesn't look related to what the DB returns
19:01 Grinnz Warn, rather
19:02 Grinnz just grepped our logs for the past couple weeks, don't see that warning having been triggered
19:03 jberger and neither actually works to suppress the messages, though trapping does
19:03 * jberger shakes head
19:03 Grinnz PrintWarn => 0 doesn't suppress them? maybe something else entirely then?
19:04 gryphon joined #mojo
19:06 jberger this is what I'm using to test
19:06 jberger perl -Ilib -MMojo::Pg -E 'Mojo::Pg->new("postgres://test:test@/test")->db->query(q[SELECT to_tsquery(?)], "")'
19:06 jberger that reliably generates a NOTICE
20:02 pink_mist https://metacpan.org/source/Mojo::IOLoop::Stream#L98 <-- does anyone know why that value was chosen? 131072? that's ... 128kB?
20:09 sri arbitrary, it performed well in tests
20:23 pink_mist alright, thanks sri =)
20:24 zivester joined #mojo
20:34 dikim joined #mojo
20:51 stryx` joined #mojo
21:00 zivester joined #mojo
21:01 stryx` joined #mojo
21:02 jabberwok joined #mojo
21:26 zivester joined #mojo
21:45 disputin joined #mojo
21:48 rshadow joined #mojo
21:59 Grinnz https://www.penny-arcade.com/news/post/2017/04/10/comprehensive I agree with most of this regarding ME:A
22:00 Grinnz Haven't played it since the new patch though, will see how that goes
22:11 stryx` joined #mojo
22:21 sri i played it on ps4, controls were pretty good there
22:21 sri combat at insanity difficulty was really enjoyable
22:24 * sri is really into figuring out the best skill and gear combinations
22:24 sri in that regard the game succeeded
22:26 sri not sure what to play next
22:27 pink_mist did you try that 'horizon: something something' game? heard pretty good things about it
22:27 sri already finished it, one of my favorite games of all time
22:27 pink_mist ah, right :P
22:28 pink_mist and nier automata?
22:28 sri not tried that one yet
22:28 sri jrpg is not really my thing normally
22:29 pink_mist me neither - but that one has gotten too many good reviews for me to ignore
22:29 sri yea
22:36 sri perhaps i should give it a chance
22:37 sri not too many older games that interest me either
22:39 sri the latest deus ex would have been next on my list.... but the reviews are so bad :S
22:45 sri guess next month i'll be playing prey

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary