Camelia, the Perl 6 bug

IRC log for #mojo, 2013-05-08

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

All times shown according to UTC.

Time Nick Message
00:06 tempire jberger: yes
00:06 tempire although github is prettier
00:06 jberger my github has plenty of pretty
00:06 jberger :-)
00:06 tempire and more recognized if it's not a specific perl firm
00:07 * tempire released a new cpan module
00:19 tempire whoa
00:19 tempire someone gave a mojolicious talk 10 minutes from where I live
00:21 tempire TO THE MOJOLICIOUS!1
00:21 good_news_everyone joined #mojo
00:21 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/uSyCEA
00:21 good_news_everyone mojo/master 4964945 Sebastian Riedel: improved Mojolicious to be able to detect the current operating mode from the PLACK_ENV environment variable
00:21 good_news_everyone left #mojo
00:21 sri haha, the changelog is getting bigger and bigger
00:22 sri CLEANUP ALL THE THINGS!
00:22 sri Top Hat is gonna be one classy release
00:23 tempire It's why I grew the 'stache'
00:23 tempire er, 'stache
00:23 tempire I should get a monocle to celebrate the release
00:24 sri http://www.youtube.com/watch?v=o2P1H1orxXY
00:24 btyler joined #mojo
00:39 jberger tempire in a monocle is the perfect way to promote this!
00:40 jberger and a top hat obviously!
00:47 shmuel joined #mojo
00:53 egopro joined #mojo
01:00 sri oh, 4.0 will be our 300th tag :D
01:06 Vaewyn joined #mojo
01:07 Vaewyn Howdy all...  using template toolkit as my templating handler...  using the latex filter inside of it to create pdfs...  the output seems to be being re-encoded or munged a bit...  is there a way to tell mojo "Hey... leave your mits off this output and just send it directly as is to the browser" for template output?
01:08 Vaewyn If it was data or a file I would just use render_data or such....  but coming from the template engine..... *shrugs*
01:09 Vaewyn sorry... render(data => $stuff)   I mean
01:14 ka2u joined #mojo
01:14 sri Vaewyn: Mojolicious::Plugin::TTRenderer?
01:15 Vaewyn sri, yep
01:16 Vaewyn works great for all my html and such templates from the past...  but the pdfs something in the string garbles some characters in the binary output
01:17 sri it does appear to have unicode tests, maybe they are incomplete http://api.metacpan.org/source/PLICEASE/Mojo​licious-Plugin-TtRenderer-1.45/t/lite_app.t
01:18 * sri starts to grok the problem
01:19 sri sooo, your template is generating binary data (pdf), and other templates generate characters (html)
01:19 sri hmm, this is a tricky problem
01:20 * Vaewyn nods
01:20 sri we only have a global app->renderer->encoding(...)
01:21 Vaewyn I already have the template dropping the content-type back to text when there are errors and such to display them...  but the contenttype doesn't seem to effect the encoding handler at all
01:21 sri i can't really think of a good solution
01:22 sri pretty sure currently there is nothing you could do, it would have to be a new feature
01:22 sri perhaps even a new reserved stash value
01:23 sri $self->render('foo', encoding => undef) or so
01:23 sri your timing is good though, we can only make such big changes once a year in a major release, and one of those is just around the corner :)
01:24 Vaewyn :)  Hate to be the work maker...  but I can't help pushing envelopes :P
01:24 sri jberger, marcus, crab, tempire: ^^^ that problem needs attention
01:25 sri marcus knows TT best, but seems to be rather inactive recently :/
01:25 Vaewyn this is the fringe of TT even in the TT world so...  *cringe* sorry  :)
01:26 jberger I don't know TT, but I was at a time working on a Mojo::Template::LaTeX and it would need this same feature
01:26 jberger it could generate pdf
01:26 * sri assigns the problem to jberger o/
01:26 * Vaewyn nods
01:26 jberger then again, it could simply generate the LaTeX source
01:26 Vaewyn pdf/dvi would both have the issue
01:26 jberger which is characters
01:27 sri well, renderers can already affect encoding... with delete $options->{encoding}
01:27 jberger Vaewyn, you use TT to generate the latex source, but then you compile it before rendering?
01:27 sri problem is when binary and characters get mixed, so only the user knows what's going on
01:28 jberger could you partial render to latex source, compile, then render_data?
01:28 Vaewyn jberger:  we use tt to make the source...  but we also have a TT filter for Latex(pdf)   around it so the final template render is the binary pdf
01:29 sri you can always partial render, yea
01:29 jberger hmmm, thats beyond my pay grade :-)
01:29 Vaewyn That is what we did many moons ago :)  before the latex filter came out for tt
01:29 jberger sri: that was my intended workflow
01:29 jberger I do hope to get back to that
01:29 sri $self->render(data => $self->render('pdf', partial => 1))
01:30 Vaewyn hrm... does partial encode?
01:30 sri never
01:31 Vaewyn worth a try :P   js
01:31 * jberger wishes latexmk was a library and not a MASSIVE script
01:31 Vaewyn gives me another idea to try
01:31 sri still... the question is if $self->render('pdf', encoding => undef) should work
01:32 Vaewyn makes sense...  since depending on the templating system you could hand anything back
01:32 * sri hates adding new reserved stash values
01:33 Vaewyn it's like those dirty global variables ;)
01:34 jberger sri: might we consider using a namespace for the reserved values?
01:34 Vaewyn woo!  that double render data/partial thing did it :P
01:34 sri jberger: that ship has sailed
01:34 jberger yeah
01:34 jberger Vaewyn, very cool!
01:35 * jberger takes the credit, since it was assigned to me ;-)
01:35 Vaewyn bwahahah
01:35 sri jberger: good! because it's not solved yet ;p
01:35 * sri chains jberger to the channel
01:35 Vaewyn well.. .I will bow to sri  and give you a high five jberger  :)
01:36 jberger (my next message was: "/me runs away", but sri caught me)
01:37 jberger sri: I think its probably rare that render will generate a non-characters result
01:37 Vaewyn hey...  in serious thanks to all you guys for the mojo greatness..   it and DBIx::Class have made my life insanely easier lately :)    I'm moving vastly stale mod_perl stuff up... and wow  :)
01:37 jberger I didn't realize that TT could do it, and I can't think of another common way of doing so
01:38 sri partial rendering is a solution for those rare cases i suppose
01:38 Vaewyn well that's easy :)  technically you can put png files as "templates" with the default engine... etc.. etc..  can make a lite app with everything in one file... litterally  *cringe*
01:39 Vaewyn (yes... I basterdize edge cases for fun and profit) ;)
01:40 jberger Vaewyn, that is actually kinda supported: http://mojolicio.us/perldoc/M​ojolicious/Lite#Static_files
01:41 jberger base64 encoded "static files" in the DATA section :-)
01:41 jberger its more like: static "files"
01:42 Vaewyn yep...  saw that stuff there and made me think a little too far along that line for good practice's sake
01:43 mib_ojiaon joined #mojo
01:45 Vaewyn anyways... the partial works well...  and now my EST trained eyes say I should stop coding :P  Thanks to both of you for the help!
01:45 jberger Vaewyn, glad to help
01:45 Vaewyn left #mojo
01:50 good_news_everyone joined #mojo
01:50 good_news_everyone [mojo] kraih pushed 2 new commits to master: http://git.io/16ZpMw
01:50 good_news_everyone mojo/master 4538c62 Sebastian Riedel: mention that partial results do not get encoded
01:50 good_news_everyone mojo/master 4207bbd Sebastian Riedel: mention that partial results do not get encoded
01:50 good_news_everyone left #mojo
01:50 sri and now it's a recipe :)
01:53 sri oops, the recipe uses a feature that is introduced later in the guide :S
01:57 good_news_everyone joined #mojo
01:57 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/dc6kdA
01:57 good_news_everyone mojo/master 96dfef8 Sebastian Riedel: documentation tweaks
01:57 good_news_everyone left #mojo
01:58 d4rkie joined #mojo
01:58 sri jberger: we should still think about encoding => undef... it will be a year before we can add it again
01:59 jberger and presumably encoding => 'utf8' etc
01:59 sri ye
01:59 jberger sounds reasonable
02:02 jberger could it just be avoided here? https://github.com/kraih/mojo/blob/ma​ster/lib/Mojolicious/Renderer.pm#L126
02:02 sri ?
02:04 jberger $app->renderer->encoding(undef)
02:04 jberger I guess that breaks everything else
02:04 sri define everything else
02:07 jberger there is only one ::Renderer object for all the defined template formats
02:08 jberger if you turn off the encoding in the renderer, then you turn it off not just for latex templates but also for the other formats
02:09 sri yes, unless you turn it on again or your renderer has custom encoding handling
02:09 sri renderer can just say no and delete $options->{encoding}
02:16 jberger I think I'm agreeing with you #notsurewhichwayisupanymore
02:17 sri the problem is deeper
02:18 sri many template engines have their own encoding handling anyway
02:18 sri like TT
02:18 sri and then there's the problem of input/output encoding
02:19 jberger so should encoding be per-handler or stash value?
02:19 jberger or both
02:20 sri that's up to the handler
02:21 sri try explaining how to do utf-8 for input and shift_jis for output
02:21 sri with multiple handlers :)
02:22 * sri starts to remember why he picked a global encoding only
02:22 sri it's simple to explain
02:23 sri big problem with encoding => 'shift_jis'...if it applies to input *and* output... does it mean you have templates in mixed encodings?
02:24 sri doing utf-8 only is hard... mixed encodings is pretty much impossible for notmal humans
02:24 sri *normal
02:25 * jberger is notmal
02:25 sri once you mix encoding... you have to consider the client side too... it will send forms with mixed encodings
02:25 sri https://github.com/kraih/mojo/blob/mas​ter/lib/Mojolicious/Plugin/Charset.pm
02:25 jberger I think, like we discovered for localized encodings, choosing ut8 makes sense most of the time
02:26 sri the more i think about it, the more certain i am that giving the option to have mixed encodings is a terrible idea :)
02:26 jberger partial ftw
02:26 * sri nods
02:27 sri only two options make sense 1) encoding enabled 2) encoding disabled
02:27 jberger agreed
02:27 jberger app->renderer->encoding(undef) for everything, partial for per-render
02:27 sri due to browser limitations your app is limited to one encoding when talking to the browser anyway, unless you store the current encoding in the session or so :D
02:27 jberger all the functionality you need is already ready already
02:28 jberger or unless you are doing some generation like latex, but then there is partial
02:33 senthil joined #mojo
02:51 whitebook joined #mojo
02:56 senthil joined #mojo
03:08 * sri wonders if we could get rid of any Mojolicious::Controller methods
03:09 sri ->ua perhaps
03:16 good_news_everyone joined #mojo
03:16 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/917ODA
03:16 good_news_everyone mojo/master 527002c Sebastian Riedel: fixed typo in rendering guide
03:16 good_news_everyone left #mojo
03:31 inokenty joined #mojo
03:37 * sri wants to remove more code!!1
03:40 jberger does it have to be from the Mojolicious code-base?
03:40 jberger :-P
03:40 sri yes! ;p
03:40 sri REMOVE ALL THE CODE!!!
03:40 jberger http://vanilla-js.com/
03:41 jberger you could add a model layer, then remove that
03:42 ynonp joined #mojo
03:43 preflex_ joined #mojo
03:43 jberger you could remove hyp... ALL GLORY TO THE HYPNOTOAD!!!
03:44 sri now you're just being s...ALL GLORY TO THE HYPNOTOAD!!!
03:45 jberger when I gave my mojolicious talk at Chicago.pm a few months ago, people were already impressed with the SLOC vs tests numbers
03:46 * sri removed like 300 tests earlier :o
03:46 jberger well, now you've gone and ruined everything!
03:46 jberger REMOVE ALL THE TESTS!!!!
03:47 jberger use Test::More; ok 1; done_testing;
03:47 jberger HAHAHAHAHHAHAHAHAHA
03:47 * jberger should go to bed
03:47 sri well, it's still 10073 though :)
03:47 * jberger wonders why the blackhawks/wild game is on so late?
03:48 * sri doesn't know what a blackhawk is
03:48 jberger chicago hockey team, playoffs
03:48 jberger the game started unreasonably late for no apparent reason
03:49 jberger generally a blackhawk is a native american tribe
03:49 sri oooh, a sport you didn't make up! :)
03:50 jberger what? like baseball, football and basketball? why stop when you're coming up with such good stuff?
03:51 sri NASCAR!!!
03:51 jberger yeah, we shoulda stopped while we were ahead
03:52 sri :)
03:54 * jberger does like the occasional F1 or Le Mans
03:55 fildon_ joined #mojo
03:58 * jberger can't keep his eyes open any longer
03:58 * jberger will listen to the end of the game on the radio
03:58 egopro joined #mojo
03:59 jberger tip of the 🎩 to you
04:00 jberger (hawks score again! 3-0)
04:05 egopro_ joined #mojo
04:15 sh4 joined #mojo
04:31 davido joined #mojo
04:35 xaka joined #mojo
04:51 basiliscos joined #mojo
04:52 ka2u joined #mojo
05:10 sh4|2 joined #mojo
05:42 senthil joined #mojo
05:49 Kulag joined #mojo
05:50 d4rkie joined #mojo
06:13 ver joined #mojo
06:34 Mike-PerlRecruiter_ joined #mojo
06:34 avkhozov joined #mojo
06:38 dpetrov_ joined #mojo
06:43 ObseLeTe joined #mojo
06:50 dod joined #mojo
07:23 dod joined #mojo
07:26 Vandal joined #mojo
07:28 rihegher joined #mojo
07:29 dbr joined #mojo
07:33 alnewkirk joined #mojo
07:43 Kulag joined #mojo
07:56 yakudza joined #mojo
08:04 fhelmber_ joined #mojo
08:13 mrphilov1 joined #mojo
08:26 jzawodn joined #mojo
08:38 maxhq joined #mojo
08:40 suy joined #mojo
08:49 alnewkirk joined #mojo
09:28 dod joined #mojo
09:37 egopro joined #mojo
09:37 mugenken joined #mojo
09:51 Kulag joined #mojo
10:37 stephan48 is there an easy way to provide url based sessions in mojolicious?(only small amounts of data are stored in the session)
10:50 senthil left #mojo
10:56 hrupp joined #mojo
11:19 KindOne joined #mojo
11:20 fhelmber_ joined #mojo
11:32 KindOne joined #mojo
11:38 bowtie joined #mojo
12:17 bluescreen joined #mojo
12:22 whitebook joined #mojo
12:49 egopro joined #mojo
12:52 rihegher left #mojo
12:52 rem_lex|pivo joined #mojo
12:58 moltar joined #mojo
12:59 gryphon joined #mojo
13:01 marty o/
13:01 sri \o
13:05 jberger ~o/
13:05 jberger \o~
13:05 sri ~o~
13:06 russum joined #mojo
13:10 SmokeMachine joined #mojo
13:26 wingfold joined #mojo
13:31 gtodd Anyone wanting to write an events management system and sell it to a bank -->  https://charityvillage.com/jobs/search-r​esults/job-detail.aspx?id=273256&l=2
13:32 gtodd bank sponsored charity that is
13:43 btyler joined #mojo
13:48 * sri still wants to remove more code!
14:00 d4rkie joined #mojo
14:15 * jberger is browsing the plugins for low-hanging fruit
14:16 jberger sri: why does JSONConfig have template rendering going on?
14:24 jberger oh, I guess I understand
14:29 sri don't think there is much to remove anymore from the plugins
14:35 * sri wonders how the recent improvements have affected nytprof results
14:39 sri http://mojolicio.us/nytprof/index.html # lets see
14:40 sri i'll leave the results up for a bit, in case anyone wants to track down low hanging fruits :)
14:50 r0b3rt Mojo::Date has an unnecessary interpolated string for sprintf.  Just thinking of perlcritic things I have seen.
14:52 good_news_everyone joined #mojo
14:52 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/PVGN3w
14:52 good_news_everyone mojo/master 62494ad Sebastian Riedel: no unnecessary double quotes
14:52 good_news_everyone left #mojo
14:52 sri r0b3rt++
14:54 whitebook joined #mojo
15:16 jberger tempire++ for a real use of PadWalker!
15:16 jberger I fully expected to see Devel::Declare, but no
15:16 jberger tip of the 🎩 to tempire
15:26 kvorg_ joined #mojo
15:26 kvorg joined #mojo
15:26 * sri wishes autobox was part of the perl core
15:27 cfedde add it to the Mojo core.
15:27 sri as a cpan module it's too slow
15:28 btyler joined #mojo
15:29 cfedde would moving it into the perl core make it faster?
15:29 sri we can't even use attributes for private instance data since accessors are way too slow
15:29 sri cfedde: i don't want the module in core but the functionality
15:31 cfedde I see.
15:32 sri it's the same with subroutine signatures
15:32 sri the modules are way way way sloooooow
15:32 sri the core patch being discussed has almost no overhead
15:33 Britzel joined #mojo
15:33 cfedde these features as a part of the perl syntax.  Yes they would make perl a more expressive language.
15:34 cfedde we need an object system as a real perl data type.  With a mop.
15:43 suy why such patch is not liked, then?
15:44 jberger suy, because nobody can agree on the nitty gritty, and we don't have a (active) benevolent dictator who will make those final calls
15:55 xaka joined #mojo
16:01 cfedde Someone needs to take up that mantle.  Maybe we can have a coronation at YAPC.
16:01 Britzel I volunteer. What's the pay?
16:02 Britzel My qualification: I am no good at Perl programming.
16:02 Britzel (nor any other language)
16:02 cfedde the world is run by the people that show up.
16:03 yakudza joined #mojo
16:05 cfedde Britzel: so far as the pay goes.  directly? nothing.  lots of pain and anguish. and the satisfaction of knowing that everyone will hate you for some reason out of your control.
16:06 Britzel Hm. Not very enticing. I withdraw my application. Although I would be a good dictator.
16:09 whitebook joined #mojo
16:33 sri http://www.youtube.com/watch?v=C9f1TYyvEx8 # being a BDFL is easy
16:39 jberger I counter (as always) with: http://www.youtube.com/watch?v=-8bqQ-C1PSE
16:41 beyondcreed joined #mojo
16:48 asarch joined #mojo
16:50 sri oops, a few russians think mojolicious 4.0 has already been released
16:55 bluescreen joined #mojo
16:58 labrown joined #mojo
17:02 Britzel_ joined #mojo
17:05 basiliscos joined #mojo
17:24 sri hmmmm
17:25 sri we kinda already have the JSON websocket problem we talked about yesterday
17:26 sri with Test::Mojo
17:26 sri ->json_message_is() and friends vs ->send_ok({binary => j({...})})
17:27 sri so i'm less opposed to ->send({json => {...}}) now
17:29 sri question is still if it should generate a binary or text message
17:30 sri ->json_message_is() has the advantage that it can just accept any message
17:30 sri hmm, perhaps that's something we could do for receiving JSON in general
17:31 sri ->on(json => sub {...}) and you get *all* incoming messages decoded, no matter if text or binary
17:35 gtodd any ccard payment processing options favoured for perl/mojo apps?  I'd like to work with https://stripe.com/docs/tutorials/checkout  which looks like it would be fairly easy to setup
17:35 gtodd there's even API docs  https://stripe.com/docs/api
17:36 gtodd and perl implementation https://github.com/aquaron/Business-Stripe
17:37 marty gtodd:  stripe is very easy to work with and saves you from the pci compliance headache.  But they are generally more expensive if you have your own merchant account or larger volumes.
17:39 gtodd marty I'm very low volume :-)
17:39 marty If you want to roll your own solution you may want to look at https://metacpan.org/module/IVAN/Busine​ss-OnlinePayment-3.02/OnlinePayment.pm
17:39 gtodd cool
17:40 marty Then I think stripe would be a good solution.   I'd use it if I could.  Just to save the headache of PCI compliance, merchant account and authorize.net account.
17:41 gtodd I didn't know people ever bothered to "do it themselves" with all that reg. stuff
17:42 gtodd marty: do small businesses with online presence hand all that over to software developers to set up?  Or do they generally have a payment system they ask the software dev's to use?
17:42 marty It's a pia for sure.  But when transaction volume gets high  the costs make it prohibitive to not do it yourself.
17:42 gtodd Canada seems a bit behind the curve
17:42 gtodd marty: ah ok good
17:43 gtodd marty: I plan on "learning" how the DIY system works over time but want something simple for now
17:44 marty gtodd: I think you can go either route.  Doing it yourself is tricky (I'm currently doing it atm) and most software developers who do that sort of thing will have a preference I am sure.
17:44 marty You cannot get easier than stripe.
17:44 gtodd marty: sporadic online registration with only a 50-60 sales 4-5 times a year
17:45 gtodd marty: but I sort of want to know how it all works in order to have the knowledge for sale :-)
17:45 gtodd if you know what I mean
17:45 stephan48 i need to implement a sort of uri based session mechanism... any tip on how to do this?
17:46 gtodd marty: it seems like OnlinePayment.pm will force me to get to know the process - spending time on that and just embedding the Stripe form on my pages for now might be the best idea
17:46 gtodd marty: thanks
17:46 marty Ahhh, sure. it's good info to know.   If you signup for a authorize.net developer account (free) they have excellent docs that show how the whole payment system is setup.   warning, convoluted pia. :)
17:47 gtodd marty: I assume you pointed to OnlinePayment.pm because you use it ... so who knows I might have questions ;-)
17:48 gtodd cheers
17:48 sri dammit
17:48 sri this works really really well :(
17:49 marty Yep, I use it.  It has served us well for a long time.  I'll answer if I know the answer.  :)
17:49 sri jberger: HALP!
17:49 marty dammit and works really really well do not seem to go together.  :)
17:55 sri http://pastie.org/7819066 # here's the patch
17:55 sri it adds a json event to Mojo::Transaction::WebSocket and support for ->send({json => {...}})
17:56 sri jberger, tempire, marcus, crab: HALP!
17:56 sri silly or awesome?
17:57 sri it would be the only event that only gets emitted when there are subscribers though
17:58 sri little unsure if a special case there is acceptable
17:58 sri ->send({json => {...}}) can only generate text messages, no binary, i expect that to be the most common case
18:12 btyler joined #mojo
18:16 sh3 joined #mojo
18:24 SmokeMachine joined #mojo
18:36 Mike-PerlRecruiter_ joined #mojo
18:43 good_news_everyone joined #mojo
18:43 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/fXH4yQ
18:43 good_news_everyone mojo/master 0cdd4c4 Sebastian Riedel: added simple JSON serialization support and json event to Mojo::Transaction::WebSocket
18:43 good_news_everyone left #mojo
18:43 sri haha
18:44 sri COMMIT ALL THE THINGS!
18:44 sri jberger, marcus, tempire, crab: now you really need to take a look!
18:48 btyler oh nice. every time I do websocket stuff in node I end up getting bit at some point by JSONifying/not JSONifying at an inopportune time
18:50 gtodd this will make mojo better than node! :-)
18:53 gtodd j/k ;-)  ... postgresql has some interesting JSON  features it might be fun to see how it could complement mojo's json abilities
18:53 gtodd just started fiddling around with postgresql/json
18:54 sri it's amazing with mongodb too
19:17 dpetrov_ joined #mojo
19:20 BeDa joined #mojo
19:33 jberger_ joined #mojo
19:33 jberger_ HALP
19:33 * jberger_ reads backlog online
19:33 aitap joined #mojo
19:35 aitap Sometimes joining #mojo is enough to solve a problem. I suddenly realised that I forgot to define $self inside a closure.
19:36 jberger_ aitap, its the remote mojo power
19:37 jberger_ sri: I like it
19:38 jberger_ the has_subscribers check makes sense
19:38 jberger_ preliminary <3
19:41 jberger_ sri: you could allow $ws->send({json => {...}, opcode => 'text'}) if you wanted
19:41 jberger_ but I think the text opcode makes the most sense IMO
19:42 suy joined #mojo
19:47 jberger_ sri: I see at least one typo: https://github.com/kraih/mojo/commit/0cdd4​c4a07a22a595067b6ac9b05c8388fbc4658#L4L854
19:47 jberger_ you need two } at the end
19:47 jberger_ same here
19:47 jberger_ https://github.com/kraih/mojo/commit/0cdd4​c4a07a22a595067b6ac9b05c8388fbc4658#L6R837
19:48 mattastrophe joined #mojo
19:48 jberger_ and here: https://github.com/kraih/mojo/commit/0cdd4​c4a07a22a595067b6ac9b05c8388fbc4658#L3L555
19:48 * jberger_ will push a change
19:56 good_news_everyone joined #mojo
19:56 good_news_everyone [mojo] jberger pushed 1 new commit to master: http://git.io/WFUZwA
19:56 good_news_everyone mojo/master fcd92a8 Joel Berger: fixed a few doc typos
19:56 good_news_everyone left #mojo
19:56 tempire event all the things
19:58 jberger_ IM(very)HO websocket + JSON makes so much sense
20:01 jberger_ today's google doodle is amazing!!!
20:03 mattastrophe joined #mojo
20:04 gtodd there should be a technical term in computer science errm or UI designe or database theory for when your interface is complete with respect to the contents of a database ... then various retailers should use that theory to fix their #E%$@#! websites so that 1) the stock/inventory shown on the website is actually in sync with the database which 2) may or may not be in sync with reality ...
20:06 bluescreen_ joined #mojo
20:06 gtodd currently they seem to operate base on something like "data truthiness"
20:06 gtodd I saw on your website you have this in stock ... oh OK let me check our real database that runs in OS2 on this console over here ...
20:06 gtodd nope sorry
20:07 jberger_ gtodd, they want to get you into the store
20:07 gtodd :)
20:07 gtodd true
20:07 jberger_ sad
20:08 jberger_ I did have one go the other way once
20:08 jberger_ I went to a store after seeing an item online
20:08 jberger_ but I hadn't checked that the store had any in stock
20:08 gryphon joined #mojo
20:08 jberger_ I got there, and there were none on the shelves
20:08 jberger_ I was mad at myself, but on the off chance I asked someone
20:09 jberger_ and they checked and lo an behold, one had just been returned and was behind a counter
20:09 jberger_ :-)
20:09 gtodd hah
20:09 jberger_ best day EVAR
20:09 gtodd :)
20:10 gtodd the pump and dump approach to customers is rampant .... had some mystery charges on my cel phone ... call to get it checked out ... and instead of listening to Musak I get forwarded to a client rep who tries to sell me stuff while I wait!!
20:10 perlite_ joined #mojo
20:10 sh4 joined #mojo
20:10 jberger_ seriously?
20:10 jberger_ double ick
20:10 nelio joined #mojo
20:11 gtodd yeah ... win win for them ... like if I don't notice they get free money if I do ... they get to try to sell me stuff .. but not exactly at time when I am in a good mood mind you
20:22 jberger_ http://cdn.memegenerator.net​/instances/400x/36210703.jpg
20:22 jberger_ \o/
21:05 chansen jberger_: Are you trying to make Mojolicious look bad by saying: "This includes adding `use utf8` to all files and templates [...]", when I said: "There is no need for using the utf8 pragma unless your literal strings contains UTF-X"
21:16 SmokeMachine joined #mojo
21:20 btyler joined #mojo
21:34 sri jberger++ # FIX ALL THE TYPOS!
21:36 lukep joined #mojo
21:38 sri tempire: CAN HAZ OPINIONZ?!
21:41 sri btw. i've chosen text messages because they are the default when you send json with the javascript api
21:41 chansen NO, no opinionz! ;P
21:41 sri figured they would be the most common because of it
21:42 chansen sri: http://blogs.perl.org/users/ron_savage/2013/05/tu​t-7-jquery-ajax-xml-perl-databases-and-utf8.html
21:43 chansen You should have better control of your minions ;P
21:44 sri fuck unicode
21:45 * sri is very very drunk btw.
21:45 chansen correction, fuck unicode in Perl!
21:47 chansen sri: WTF, it's several months until next harvest festival, I thought you Germans only got drunk during festivals ;P
21:48 sri a common misconception
21:48 chansen hehe
21:48 j3nnn1 joined #mojo
21:51 j3nnn1 left #mojo
21:52 marty coding and drinking?   It's all fun and games until someone looses an eye!
21:53 * marty wants a mindstorm ev3  <drool>
21:54 marty to faciliate my world domination plans
21:55 good_news_everyone joined #mojo
21:55 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/8DqWpA
21:55 good_news_everyone mojo/master 0f642bf Sebastian Riedel: explain which messages get JSON decoded
21:55 good_news_everyone left #mojo
21:55 sri it's amazing, i can barely walk, but type like i'm sober
22:00 chansen sri: either you have drunken to little or to much alcoholic ;)
22:11 cfedde balmer peak.
22:18 sri haha
22:19 ka2u joined #mojo
22:37 good_news_everyone joined #mojo
22:37 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/q4FGUQ
22:37 good_news_everyone mojo/master 440634d Sebastian Riedel: small optimizations
22:37 good_news_everyone left #mojo
22:45 chansen optimizing code sounds like something you will regret tomorrow if you are drunk ;P
22:46 cfedde does this fall under the "don't change the root password if you are drunk" rule?
22:47 * sri lives in the here and now! o/
22:49 btyler joined #mojo
22:50 sri http://www.troll.me/images/homer-with-b​eer/im-in-no-condition-to-drive-wait-i-​shouldnt-listen-to-myself-im-drunk.jpg
22:58 chansen sri++

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