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

IRC log for #mojo, 2017-05-19

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

All times shown according to UTC.

Time Nick Message
00:16 go|dfish joined #mojo
00:18 Janos joined #mojo
00:41 stryx` joined #mojo
02:08 noganex joined #mojo
02:55 disputin joined #mojo
03:28 punter joined #mojo
04:04 dboehmer_ joined #mojo
04:05 maschine joined #mojo
04:17 purl joined #mojo
04:38 aborazmeh joined #mojo
05:09 stefan_ batman: Can your swagger / openapi library be used to create a consumer library of a webservice that provides a swagger.json file?  e.g.  https://www.callfire.com/v2/api-docs/swagger.json  I'd like to create a Mojo::CallFire library that makes it easy to access the CallFire RESTful API, does data validation, and error handling...
05:20 prajith_ joined #mojo
05:25 dod joined #mojo
05:31 dod joined #mojo
05:58 batman stefan_: there's Swagger2::Client, which I've deprecated... check out and older version with documentation.
05:58 stefan_ batman : thanks!
05:58 batman I got an email from someone who will make OpenAPI::Client to replace it. I don't care much myself...
06:01 stefan_ Does that seem like a good way to implement an Perl API for a web service that offers a swagger file?
06:04 stefan_ It looks like just what I had in mind!
06:10 dod joined #mojo
06:31 Vandal joined #mojo
06:38 batman Yeah. I think that Makes sense, but my implementation didn't really feel quite right + I only need to talk with my API from JavaScript
06:38 batman hope this other person will make a better implementation...
06:38 batman It works pretty well though.
06:39 batman Send me an email, and I might be able to connect you two if you're interested.
06:43 inokenty-w joined #mojo
06:48 AndrewIsh joined #mojo
07:17 trone joined #mojo
07:31 prg joined #mojo
07:42 froglegstew joined #mojo
07:42 froglegstew Hello
07:43 froglegstew I have a problem with check_mssql_healt throws me the following error
07:44 froglegstew Can't call method "tracefile" on an undefined value at ./check_mssql_health line 1368 during global destruction.
07:47 batman froglegstew: are you sure you're in the right channel?
07:53 inokenty joined #mojo
08:11 nic froglegstew: That looks like the kind of error you can ignore.  Actions during destruction are, let's say, not guaranteed
08:14 Bloke joined #mojo
08:15 dod joined #mojo
08:58 Bloke Is there a ::Guides:: for form validation some place? It looks like $c->validation gets most of its handyness from TagHelpers.
08:59 sri rendering guide
08:59 Bloke Ok, so there isn't one specific to this. Cool.
09:00 Bloke I'm trying to figure a tidy way to get TagHelpers / Validation to play nice with bootstrap
09:00 Bloke (and designers who want to arrange forms)
09:00 nic just curious, what do you see as them not playing nicely?
09:01 Bloke 'cause bootstrap makes you wrap your stuff in garbage divs
09:01 Bloke some of said garbage divs separate your validation messages from your fields
09:02 Bloke maybe I just want a helper that hides that garbage and delegates to TagHelpers
09:15 rshadow joined #mojo
10:18 irqq joined #mojo
11:19 tchaves joined #mojo
11:58 skech1080 joined #mojo
12:51 Janos joined #mojo
12:53 itaipu joined #mojo
12:55 sri and another project at suse will be using a minion job queue :)
12:55 * sri sometimes wonders if minion should be marketed without mojolicious
12:56 * marcus sometimes wonder if he should use minion for something.
12:57 sri it's pretty solid
12:57 nic it    is    wonderful
13:04 Pyritic joined #mojo
13:06 maschine joined #mojo
13:15 gizmomathboy joined #mojo
13:37 dabudabu i wonder what it's like to work for suse
13:38 dabudabu i currently work for a linux company in japan. would be interesting to compare
13:38 dabudabu (course, the company i work for isn't nearly as famous as suse)
13:39 Armen so... can you say which company it is? or is that a big secret
13:39 dabudabu miracle linux
13:40 * dabudabu bets he'll be in trouble if any of his colleagues read this lol
13:40 ashimema_ joined #mojo
13:40 Armen distrowatch says miracle linux is discontinued :/
13:40 sri think i've already said good and bad stuff about suse here before ;p
13:40 ribasushi dabudabu: where do we mail the log? :) https://irclog.perlgeek.de/mojo/2017-05-19#i_14607077
13:40 maschine how many of your colleagues are perl/mojo nerds :)
13:41 sri there's at least coolo and foursixnine here
13:41 dabudabu maybe i should update that distrowatch page
13:42 dabudabu and the wikipedia article, which still says we're owned by oracle
13:42 karjala_ joined #mojo
13:43 skech1080 dabudabu, hire me. I want to live in Japan
13:43 nic convincing argument :)
13:43 dabudabu we're owned by softbank now
13:43 karjala_ is Mojo::mysql handling utf8 well? My Sereal-encoded structures seem to be needing a decode_utf8 after a roundtrip of writing to the database and reading from it
13:43 dabudabu softbank techology*
13:44 karjala_ Sereal::Decoder refuses to decode the LONGBLOB I get, if I don't decode_utf8 the field first
13:44 itaipu hi, just learning about Mojo::UserAgent. Trying to fetch h1 and h2 elements from news page I just used my $hash = { $news_site => $tx->result->dom->find('h1')->map('text')->join("\n") }; p $hash ; but I found that when there is no h1 (most of them use h2 > a) what is printed is the Object Mojo::ByteStream. Shouldn't be an empty string ?
13:44 dabudabu i bet i'd get into trouble if i were to update the distrowatch page without notifying anybody (and somebody found out)
13:44 sri technically i'm now a perl programmer working for the cobol company
13:45 sri since suse is owned by micro focus
13:45 skech1080 I'm a sysadmin but I write plenty of perl because that's what most of our stuff is made of
13:46 maschine I literally don't know a single person in real life who knows Perl, but I'm also not a professional programmer. :(
13:46 nic karjala_: not sure why utf8 comes into a binary transfer
13:47 karjala_ nic, i'll do tests and experiments now with Mojo::mysql
13:47 karjala_ and report my findings
13:47 skech1080 I literally knew nothing about perl until I started this job
13:48 foursixnine sri: lol! Well, at least we're not writing code in cobol :)
13:48 skech1080 I'm still on the rocks if I like it or not. There's a lot of implicit knowledge of things that you can only really know by asking questions (not listed in docs or anything)
13:48 skech1080 also perldoc.perl.org is some of the worst documentation I've ever seen for any language
13:49 skech1080 Mojolicious has great docs though, I was actually able to get a server running and do a bunch of neat things with it
13:50 itaipu script is simple and is here: https://nopaste.me/view/1259943e
13:53 maschine I started goofing around with Perl in 1997 and I agree the perl.org documentation is horrible
13:54 sri foursixnine: visual cobol doesn't look too bad ;p
13:55 sri skech1080: nice, perldoc is more reference docs, for learning i'd just pick up a book like modern perl
13:56 sri the ebook is free https://pragprog.com/book/swperl/modern-perl-fourth-edition
13:56 Armen now there's an idea.
13:56 * Armen clicks
14:01 karjala_ Yes I'm encountering encoding issues with Mojo::mysql, even without using Sereal
14:01 karjala_ utf8 encoding I mean
14:03 bjakubski joined #mojo
14:03 sri skech1080: what kind of implicit knowledge do you mean?
14:05 maschine itaipu, could you do something like if (my $hash = { $name => $tx->result->dom->find(stuff) }) { p $hash; } ?
14:05 maschine not sure it would work but that's what I would try..
14:05 sri having used python and javascript recently, i did learn to appreciate the lack of magical syntax in python a bit
14:05 sri still not really a fan, but it's at least easy to pick up
14:06 coolo that's why it's very often recommended for kids
14:06 coolo (next to lua :)
14:06 BinGOs but kids like magic!
14:06 sri javascript on the other hand is just nuts, the fact that this is perfectly valid still makes me chuckle https://gist.github.com/anonymous/0354e85e6d590ef9ea689c64ccb9f350
14:06 coolo BinGOs: but kids also often ask 'why?' - and if your only answer is "Larry thought it's cool"... :)
14:07 coolo sri: also valid in C
14:07 Armen that doesn't seem so weird
14:07 * Armen has been writing a *lot* of javascript
14:08 Armen I mean there are a lot, much weirder things in javascript
14:08 coolo sri: blocks can be single statement or grouped by {} - it's just your perl eyes that require a {} around if and else
14:08 coolo Armen: indeed :)
14:08 coolo start with the name :)
14:09 coolo it's unusable for scripts and it's not java
14:09 sri coolo: yea, guess i'm sheltered, don't even remember when i've last seen javascript without {}
14:10 Armen things like (0 == ""); // true
14:10 Armen or (NaN == NaN); //false
14:11 sri the wat talk comes to mind https://www.destroyallsoftware.com/talks/wat
14:12 coolo Armen: make that === then :)
14:14 Armen (NaN === NaN); // still false ;)
14:15 Armen you're right though, === solves a lot of issues. The fact that it's needed is an issue in itself...
14:20 sri another one i liked https://gist.github.com/anonymous/5e6318bc6e419deff5719e1fd300ae11
14:22 coolo sri: any explanation? they both look like object to me
14:22 sri optional semicolon, foo() returns undefined
14:23 coolo but both have none
14:23 sri the return in foo becomes "return;"
14:24 sri while bar() returns the object
14:24 skech1080 sri, so today I was trying to figure out where some values were being defined. I ended up tracing through a module to another module, then from there I didn't see where it got certain values
14:25 skech1080 apparently theres a controller that isn't referenced anywhere in the script (because its inherited) and it's also not in the docs, but it picks up on some config somewhere
14:25 skech1080 and I just needed to access this data structure holding the config values but I couldn't find where it was, so I asked the local perl expert and I'm still not sure where it is
14:26 skech1080 there's a context object that I just can't wrap my head around where itc comes from.
14:26 coolo sri: so in essence the whitespace counts?
14:26 sri coolo: yea
14:27 sri sometimes
14:27 coolo that will give the python guys a lesson! :)
14:28 ribasushi so just like perl6 then
14:28 sri skech1080: controller as in mojolicious controller?
14:28 coolo ribasushi: friend seeker? :)
14:29 skech1080 Nah it was catalyst
14:29 ribasushi coolo: how so? ( I wasn't joking btw: this really is a thing, and "syntax helpers" exist for it: https://github.com/FROGGS/p6-Slang-Tuxic#slangtuxic )
14:29 skech1080 Which I hate. I like mojo because its easy and straightforward
14:30 coolo ribasushi: from my experience, mentioning perl6 in this channel is never bringing positive emotions :)
14:30 sri skech1080: almost sounds like http://mojolicious.org/perldoc/Mojolicious#controller_class being set to some custom class
14:30 ribasushi oh... hm, fair, /me shuts up
14:32 sri skech1080: i wouldn't call that a perl specific thign though, frameworks in other languages load and instantiate classes in non-obvious ways too
14:32 skech1080 Yeah but you can usually follow it pretty easily
14:32 skech1080 especially if you look at the docs
14:32 sri ribasushi: !@#$%^&*
14:32 skech1080 but its so rare to see good perl docs because not a lot of people set good examples
14:33 sri skech1080: you must be sheltered too ;p
14:33 sri ruby docs are the worst
14:33 sri perl is imo pretty high up there when it comes to docs and tests
14:34 skech1080 Java has better docs than perl...
14:34 sri bigger java projects do tend to have pretty professional docs, true
14:35 * sri was more thinking about other scripting languages
14:35 sri browsing docs on https://metacpan.org/ is a pretty great experience usually
14:36 sri compared to ruby or node.js
14:36 skech1080 Well my other scripting language is Python which has my favorite docs
14:36 skech1080 And yes node.js is pretty bad
14:36 coolo who needs docs anyway if everything is easy and intuitive
14:36 sri Python is ok when it comes to tutorials, but i'm often missing reference docs for methods
14:37 skech1080 coolo, well that is certainly not the case for perl :)
14:37 skech1080 Oh man I loved the python tutorial
14:37 skech1080 Was up and running in 20 minutes
14:37 sri like https://www.crummy.com/software/BeautifulSoup/bs4/doc/
14:37 skech1080 and you could just google around or consult docs to learn other stuff
14:38 skech1080 oh yeah beautifulsoup is ehh
14:38 skech1080 Same with the boto3 aws python api
14:38 skech1080 has pretty much no tutorial, but once you figure it out you are golden and can do so much with it
14:38 skech1080 but getting started was pretty bad
14:39 skech1080 Also I find a lot of the time perl docs are missing examples or output
14:39 sri that's true, showing output is very much a thing in python docs
14:40 karjala_ Here's the proof of my encoding problems with Mojo::mysql: https://pastebin.com/PHLwXchr
14:40 karjala_ batman, https://pastebin.com/PHLwXchr ^^
14:41 batman karjala_: https://github.com/jhthorsen/mojo-mysql/commit/20b79cf81ee146f6b2d683eafac5db224b9ce0c2
14:41 batman Why do you use encode_utf8() ?
14:41 karjala_ batman, I want to store bytes in the BLOB field
14:42 karjala_ not words
14:42 karjala_ but a zip file let's say
14:42 karjala_ so encode_utf8 creates a bytes string (if I'm not mistaken) to help me test
14:42 batman have you tried not using encode_utf8?
14:42 karjala_ In production, I'm trying to store a bytes string
14:42 karjala_ So I'm not using encode_utf8 there at all
14:43 karjala_ I just store it, and when I retrieve it I get complaints by Sereal
14:43 karjala_ I understand you just solved the issue
14:43 karjala_ Well done
14:44 karjala_ let's test
14:45 batman not really... pretty sure you're affected by the same DBD::mysql changes as Mojo::mysql:: Migrations
14:46 batman maybe you upgraded Mojo::mysql and got the changes from DBD::mysql without checking the DBD::mysql changes?
14:50 karjala_ If I delete all my installed modules and reinstall latest versions, could that solve the problem?
14:51 karjala_ Does my script produce correct results on your machine?
14:51 karjala_ does it produce equality in both cases in the Dump?
14:52 haarg you shouldn't be doing any encoding on binary data
14:53 karjala_ Should I read about the DBD::mysql changes? My production website & test perl script that I sent here, are both brand new
14:53 karjala_ I'm not doing any encoding on binary data
14:54 karjala_ My test script only encodes a character string, in order to produce binary data
14:54 karjala_ in order to test BLOB read/write
14:55 karjala_ I updated all of my libraries, and still, my script fails the equality tests
14:55 karjala_ It should fail on your machine as well
14:55 karjala_ Am I doing something wrong or do we have a bug here?
14:56 batman karjala_: you can't say "i'm not doing any encoding" and then "i'm only encoding..." :(
14:56 karjala_ batman, I said I'm not doing any encoding on binary data, then I said I'm doing encoding on CHARACTER strings
14:57 batman i asked you to try out something.
14:57 karjala_ binary data and character strings are mutually excluding
14:57 karjala_ ok
14:57 karjala_ The reason I didn't try it out is because I didn't understand exactly what was asked.
14:57 karjala_ So I did everything else.
14:57 karjala_ Let me try what you said
14:57 haarg karjala_: also you are inserting into a utf8 encoded column
14:58 haarg so as a test of how to handle binary data, it isn't going to work well
14:58 nic haarg: it's a blob, encoding doesn't apply
14:58 haarg oh lol
14:59 haarg i was looking at the name, sorry
14:59 karjala_ haarg, shouldn't a UTF-8 string be able to be stored/retrieved in a BLOB?
14:59 karjala_ batman, Did you ask me to not use encode_utf8?
14:59 karjala_ I.e. are you suggesting that I store a character string inside a BLOB field?
14:59 karjala_ Isn't that a wrong thing to do?
14:59 batman i'm saying mysql doesn't care :(
15:00 batman what you're saying makes sense, but that's not my impression of how mysql works
15:00 karjala_ ok...
15:00 nic string -> sereal-encoded -> mysql-blob  [no utf8 encoding]
15:01 karjala_ batman, so how should I store the Sereal-encoded string in the BLOB field?
15:01 karjala_ Or shouldn't I?
15:01 karjala_ Or should I apply decode_utf8 after I retrieve it from the BLOB?
15:01 karjala_ (that worked once)
15:01 karjala_ (but I'm not sure it will work every time)
15:03 Grinnz karjala_ / batman: in latest version of mysql, you must send binary parameters with SQL_BLOB type
15:03 karjala_ I tried "not encoding" and that failed
15:03 Grinnz otherwise they will be encoded to utf-8
15:03 Grinnz DBD::mysql cannot know if the parameter will be used as text or blob when passed as a parameter
15:03 karjala_ Grinnz, what is binary parameters?
15:04 Grinnz blob, varbinary, etc
15:04 karjala_ So what must I send again? blob?
15:04 karjala_ I didn't exactly get htat
15:04 Grinnz this is why https://metacpan.org/pod/Mojo::SQLite::Database#query accepts {type => SQL_BLOB, value => $foo} parameters
15:05 Grinnz it doesn't look like Mojo::mysql supports this yet, it needs to
15:05 Grinnz when retrieving, it sees that it is a blob field and doesn't decode it, so that part is fine
15:06 karjala_ $db->insert('table', {data => {type => SQL_BLOB, value => $foo}}) ?
15:06 karjala_ i see
15:06 karjala_ Yes, let's make that
15:06 mcsnolte joined #mojo
15:07 karjala_ How did people deal with BLOB's all these years?
15:07 karjala_ ...when there was no SQL_BLOB type?
15:07 Grinnz DBD::mysql was broken until recent release, so it accidentally worked most of the time
15:07 Grinnz until it didn't randomly :)
15:07 karjala_ I see
15:08 Grinnz now it works predictably, but requires specifying binary data
15:14 karjala_ batman, do you want to make this change on Mojo::mysql? :-)
15:14 karjala_ I would do a PR if you wanted, but I'm too slow.
15:14 karjala_ And the project deadline is running
15:15 karjala_ (project is finished, but still, making the PR would take longer)
15:16 Grinnz https://metacpan.org/pod/DBD::mysql#mysql_enable_utf8 for more details
15:18 Grinnz i can send a PR in a few hours
15:25 karjala_ Grinnz, that would be excellent!
15:25 karjala_ (If batman agrees)
15:29 karjala_ But will it work with SQL::Abstract-type inserts?
15:30 karjala_ with hashrefs for field-value pairs?
15:35 karjala_ Computers are difficult
15:35 Janos joined #mojo
15:39 Grinnz sure, the SQL::Abstract methods are just wrappers of query
15:40 karjala_ But when SQL::Abstract traverses through your data structure (to form the SQL command), and encounters the hashref {type => SQL_BLOB, value => $foo}, isn't it going to try to do "something" with it?
15:40 karjala_ like transform it into SQL?
15:40 Grinnz no, it doesn't touch parameters
15:42 karjala_ for instance, when you insert('table_name', {datetime => \['from_unixtime(?)', 10101]}), that \[...] is a structure, and a parameter that gets touched by SQL::Abstract, doesn't it?
15:42 Grinnz perhaps
15:51 karjala_ So, from that documentation you showed us, temporarilly disabling mysql_enable_utf8 before inserting a BLOB should do. Unless there's other unicode fields you want to insert at the same time, and unless an error occurs so your subroutine dies, but the $db handler (which lives on in Mojo::mysql pool) keeps utf8 disabled, which is bad
15:51 karjala_ Hm... ok i'll wait for your solution, better
15:59 karjala_ Shouldn't this line in my insert work as a temporary workaround to the problem? It doesn't:         data => \($db->dbh->quote(encode_utf8($string))),
16:00 Grinnz no, the query is also UTF-8 encoded
16:00 purl okay, Grinnz.
16:00 karjala_ o
16:01 Grinnz the real workaround would be to get the ->db->dbh and call prepare, bind_param, execute yourself
16:01 Grinnz binding as SQL_BLOB
16:01 karjala_ oh cool
16:02 karjala_ so $dbh->do(...) won't do?
16:02 Grinnz no, unfortunately DBI has no convenient syntax for bind types
16:02 karjala_ Thanks Grinnz !
16:05 karjala_ I wonder whether SQL::Abstract would be willing to allow bind types
16:06 karjala_ {type => SQL_BLOB}
16:06 karjala_ in future version
16:06 Grinnz it would be difficult, because SQL::Abstract does not actually run the query
16:06 Grinnz it returns the parameters to the user
16:06 Grinnz they are expected to pass directly to DBI
16:06 karjala_ Returning {type => SQL_BLOB} then would do, instead of trying to parse it
16:07 karjala_ a
16:07 Grinnz only for Mojo::mysql, it wouldnt work for DBD::mysql
16:10 karjala_ Mojo::mysql could subclass SQL::Abstract to better handle parameters of form {type => SQL_BLOB}
16:11 sri forking SQL::Abstract for the Mojo::* modules is on my todo list
16:12 sri limit/offset support was the main motivation, but pass through of {type => ...} and {json => ...} makes sense too
16:12 disputin joined #mojo
16:13 sri next suse hackweek at the latest
16:21 karjala_ I have forgotten what to do after $sth->execute
16:22 karjala_ yes, fetch insert_id
16:27 karjala_ I have success with bind_param!
16:27 karjala_ thanks Grinnz and everyone
16:39 PryMar56 joined #mojo
16:39 * jberger tinkers with a wrapped callback again, probably the dozenth time
16:47 Grinnz https://github.com/jhthorsen/mojo-mysql/pull/31
16:54 Grinnz batman: i recommend updating mysql_enable_utf8 to mysql_enable_utf8mb4 as well. you are now depending on DBD::mysql new enough for it
16:54 karjala_ yes
16:54 karjala_ mb4 ftw!
16:54 Grinnz it looks like that option was set in a commit 2.5 years ago and not changed since
16:55 Grinnz i can send a quick PR for that as well
17:00 sri almost feels like Mojo::mysql is catching up :)
17:02 sh14 joined #mojo
17:06 karjala_ yes please do, Grinnz !
17:06 karjala_ thanks
17:18 kgoess is there an easy answer to "how do I add my own property to a Mouse attribute?" ?
17:18 Grinnz erm, not really mojo related
17:18 pink_mist well, the real question is why are you using Mouse at all?
17:18 pink_mist (but yeah, that's hardly Mojo-related)
17:18 kgoess yeah, mischan, I'll post it there
17:36 Pyritic joined #mojo
17:39 marty joined #mojo
17:40 rshadow joined #mojo
17:41 ribasushi karjala_: in your example earlier "...  {datetime => \['from_unixtime(?)', 10101]} ... "
17:41 karjala_ yes?
17:41 purl i heard yes was the answer to the latest question
17:41 ribasushi the \$sql and \[ $sql, @various_bind_values ] is *literally* SQL::Abstract's syntax for "don't touch this" ( also called 'literal' )
17:42 ribasushi so whatever you have in \[ ...  ] is guaranteed to come out untouched: how you deal with it when passing it to DBI is up to you from there on
17:42 karjala_ In that case, maybe \{type => SQL_BLOB, value => $value} might work in SQL::Abstract, no?
17:42 karjala_ or maybe not
17:43 ribasushi no, it recognizes only the two things I showed above
17:43 karjala_ ok
17:43 ribasushi the DBIC ( shared by DBIx::DataModel ) convention for in-band metadata is like so: https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/ResultSet.pm#DBIC-BIND-VALUES
17:44 karjala_ then \['?', {type => SQL_BLOB, value => $value}] might do the trick we want in SQL::Abstract!
17:44 dod joined #mojo
17:45 karjala_ what do you think about that, ribasushi ?
17:46 ribasushi sure it will work - as I said: SQLA will not touch it
17:46 karjala_ excellent!
17:46 * purl zwooshes
17:46 ribasushi e.g. perl -MSQL::Abstract -MData::Dumper -e 'warn Dumper [ SQL::Abstract->new->where( foo => \[ "?", {type => SQL_BLOB, value => $value}] ) ]'
17:48 ribasushi errr sorry missing hashref
17:48 ribasushi perl -MSQL::Abstract -MData::Dumper -e 'warn Dumper [ SQL::Abstract->new->where({ foo => { "=" => \[ "?", {type => SQL_BLOB, value => $value}] } }) ]'
17:48 ribasushi karjala_: ^^ this is what you want to run / look at
17:50 karjala_ Looks good! Thanks ribasushi !
17:51 karjala_ I wonder if it needs Grinnz's patch to work on Mojo::mysql
17:51 Grinnz it would, yes
17:51 Grinnz Mojo::mysql is what would be interpreting {type => ..., value => ...} to what DBI expects
17:52 karjala_ I get it now
17:52 karjala_ Thanks everyone, you've been terrific help.
17:53 Grinnz for insert: perl -MSQL::Abstract -MData::Dumper -e 'warn Dumper [ SQL::Abstract->new->insert("foo", {bar => \[ "?", {type => SQL_BLOB, value => $value}]}) ]'
17:57 disputin joined #mojo
18:04 maschine joined #mojo
18:09 vicash joined #mojo
18:15 tchaves joined #mojo
18:34 irqq joined #mojo
19:02 stryx` joined #mojo
19:02 zivester joined #mojo
19:52 disputin1 joined #mojo
21:56 vicash hello. What is a good caching API to use with Mojolicious ? CHI ?
21:57 sri i've used CHI a bit, remember the plugin being a bit clunky for testing
21:57 sri otherwise it worked reasonably well
21:57 sri btw.
21:57 sri vicash: update your minion backend!
21:58 vicash sri: will do.
22:10 marty joined #mojo
22:18 marty joined #mojo
22:23 marty joined #mojo
22:26 Janos joined #mojo
22:38 marty joined #mojo
23:37 disputin joined #mojo

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