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

IRC log for #mojo, 2014-08-24

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

All times shown according to UTC.

Time Nick Message
00:03 woz joined #mojo
00:04 woz_ joined #mojo
00:34 woz joined #mojo
00:35 woz_ joined #mojo
00:50 jberger sri: can you (easily) clone a mojo dom object?
00:57 sri jberger: sure, but also expensive ;p
00:58 sri Mojo::DOM->new("$dom");
01:02 Gedge joined #mojo
01:06 jberger yeah, I got that one
01:06 jberger doesn't matter, I came up with something non-destructive
01:07 jberger thanks though
01:07 woz joined #mojo
01:07 jberger trying to show the TE guys the error of doing this for validation: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/toolset/benchmark/fortune_html_parser.py
01:08 jberger by coming up with a Mojo::DOM way :-)
01:10 sri cloning a Mojo::DOM object is hard because of all the weakened circular refs
01:13 sujithm joined #mojo
01:25 jberger ah
01:25 jberger makes sense
01:25 good_news_everyon joined #mojo
01:25 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/y8bGPg
01:25 good_news_everyon mojo/master 3555bc4 Sebastian Riedel: bump version
01:25 good_news_everyon left #mojo
01:26 sri jberger: if you can come up with a really fast and simple way to clone them it might be a useful addition
01:28 sri i'd imagine a dom walker or so would be the fastest solution
01:29 jberger I'll think about that
01:30 jberger hehe, Data::Dumper round trip?
01:30 preaction_ joined #mojo
01:30 jberger anyway, here is my verification script: http://pastie.org/9498084
01:31 jberger Storable::dclone ?
01:31 purl i guess Storable::dclone is core and portable, but slow
01:32 jberger purl, you always ruin EVERYTHING!
01:32 purl jberger: sorry...
01:32 sri :D
01:32 * jberger smacks purl with a trout
01:32 jberger that shut him up!
01:32 sri doubt it preserves the ref count
01:32 jberger a Data::Dumper round trip would
01:32 sri you'd still have to walk the tree and weaken like there's no tomorrow
01:33 jberger oh right
01:33 jberger grrrr
01:33 sri so, i imagine a tree walker from the start that just rebuilds a new tree should be fastest
01:34 jberger how about this: that becomes item number one on a list of GSoC tasks
01:34 jberger we could start a wiki page now
01:34 jberger I don't want to do it, but I bet a GSoC kid could own that and things likeit
01:35 sri i wouldn't want to guarantee inclusion
01:35 klapperl_ joined #mojo
01:35 sri no idea what kind of monstrosity it really turns out to be
01:35 btyler is merging in the student's work really a GSoC requirement?
01:36 btyler I mean, no fun if you're a student and your work doesn't get included ultimately, but I'm sure it happens
01:36 sri i mean i
01:36 sri m not sure it can be done in a way i would like
01:36 btyler oh, gotcha
01:37 sri more of a reasearch task
01:37 * sri typoing on his phone
01:38 sri need a better irc client
01:38 woz joined #mojo
01:39 woz joined #mojo
01:44 jberger Convos!
01:46 purl i heard convos was really great on Android.
01:46 d4rkie joined #mojo
01:46 jberger Thank you purl, you are redeemed
01:46 jberger Seriously, does purl ever seem creepily aware
01:47 sri purl: are you aware?
01:47 purl sri: no idea
01:47 sri stupid bot
01:47 purl stoopid hyooman
01:47 jberger purl: are you skynet?
01:47 purl jberger: i don't know
01:48 sujithm_ joined #mojo
01:49 sri i wouldn't mind using convos, i just don't want to maintain an installation ;p
01:50 Gedge joined #mojo
01:50 btyler quick, someone, convos as a service!
01:51 jberger demo.convos.by
01:51 jberger http://demo.convos.by
01:52 jberger I have one of my own on the home network (thats jberger)
01:53 jberger and one on demo (thats jberger_)
02:04 GabrielVieira joined #mojo
02:07 d4rkie joined #mojo
02:10 woz joined #mojo
02:11 davido__ joined #mojo
02:11 woz joined #mojo
02:15 wsri joined #mojo
02:30 sri doesn't convos handle authentication on freenode?
02:30 sri ok, love the inline tweets
02:32 * sri wonders of convos does inline gists https://gist.github.com/kraih/bbe2ffc9ed7f6fea3bb3
02:32 sri indeed it does :o
02:37 sri hahahaha... i guess i deserve this... was tempted to maintain a convos installation after all, and the link brought me to the mojolicious deployment reciped xD
02:37 sri http://convos.by/ # "Deployment Guides"
02:40 noganex_ joined #mojo
02:42 woz joined #mojo
02:44 woz joined #mojo
02:46 Gedge_ joined #mojo
03:04 Gedge joined #mojo
03:04 jberger zomg! no sri!
03:07 Gedge_ joined #mojo
03:07 sri joined #mojo
03:09 jberger I haven't tested the imgur plugin yet
03:09 jberger http://imgur.com/jTsm1ZR
03:09 wsri have to admit i would like to just keep using the demo, it's very comfortable :)
03:10 jberger \o/
03:10 sri Bender: trust wsri
03:10 Bender OK, sri
03:11 jberger I don't think I'm going to get an 8192
03:12 jberger wsri: IIRC the admins sweep the logs on demo every now and again, unless you are on "the list"
03:12 jberger batman/marcus: can you exempt wsri?
03:15 woz joined #mojo
03:15 Gedge joined #mojo
03:16 woz_ joined #mojo
03:34 Gedge joined #mojo
03:47 woz joined #mojo
03:47 woz_ joined #mojo
04:08 Gedge joined #mojo
04:14 jberger wsri: oh btw, I think it was my experience that the default connection information for freenode was wrong
04:15 jberger I couldn't connect until I turned off authentication in the config, stopped trying to connect and reset the connection
04:18 woz joined #mojo
04:19 woz_ joined #mojo
04:23 Wim joined #mojo
04:31 Wim joined #mojo
04:34 btyler has anyone encountered hanging tests installing Mojo::Redis2? I'm getting them intermittently, still hunting the cause
04:35 btyler they're consistent enough that a full 'make test' hasn't yet completed for me. sometimes hangs in t/blocking-operations, sometimes in t/basic-operations, always seemingly after the redis server start
04:41 davido___ joined #mojo
04:46 davido_ joined #mojo
04:48 punter joined #mojo
04:50 woz joined #mojo
04:51 woz_ joined #mojo
04:56 gnephiak joined #mojo
05:12 stephan48 joined #mojo
05:22 woz joined #mojo
05:23 woz_ joined #mojo
05:25 punter joined #mojo
05:26 basiliscos joined #mojo
05:38 punter joined #mojo
05:53 woz joined #mojo
05:54 woz_ joined #mojo
06:25 woz joined #mojo
06:26 woz_ joined #mojo
06:41 KCL_ joined #mojo
06:52 btyler batman, when you have a minute: https://github.com/jhthorsen/mojo-redis2/pull/2
06:57 woz joined #mojo
06:58 woz_ joined #mojo
07:28 woz joined #mojo
07:29 Vandal joined #mojo
07:29 woz joined #mojo
07:31 dexteruk joined #mojo
08:01 woz joined #mojo
08:10 dotan joined #mojo
08:24 basiliscos joined #mojo
08:25 ryozi joined #mojo
08:32 woz joined #mojo
08:33 woz_ joined #mojo
09:04 woz joined #mojo
09:09 Gedge_ joined #mojo
09:37 rambo joined #mojo
09:37 woz joined #mojo
09:38 rambo If i have get "/ro/#sham" how do I link_to this route with a value of "bos" for the relaxed placeholder?
09:40 woz_ joined #mojo
09:40 rambo %= url_for( 'ro' => { sham => "bos"} );         only gives /ro
09:41 rambo %= link_to( 'ro' => { sham => "bos"} );         only gives <a href="/">ro</a>
09:44 basiliscos joined #mojo
09:44 rambo I don't think I'm misreading the docs , but its not the first time I thought ... with unwanted results:)
09:47 rambo %= link_to url_for( add_news => {items => "these"} );           only gives  <a href="/">/add_news</a>
09:47 rambo its almost like placeholders really aren't that convenient :)
09:55 batman joined #mojo
09:55 jberger_ joined #mojo
09:55 marcus joined #mojo
09:57 batman sri: i will add you to the exception list, so i won't purge your conversations every day
09:58 batman btyler: thanks :)
09:58 rambo %= link_to( ( url_for( '/ro/' )->path('bos') ) x 2 );       gives   <a href="/ro/bos">/ro/bos</a>       but that invocation seems weird
09:59 go|dfish rambo: link_to '/ro/bos' ?
10:00 rambo scroll above?   that gives <a href="/">/ro/bos</a> .... the "bos" part is for a named relaxed placeholder ...
10:00 batman btyler: 0.09 is on it's way.
10:01 batman i also added you under AUTHOR. hope that's ok
10:01 batman jberger: i hope a new version is coming soon: https://github.com/Nordaaker/convos/blob/master/CHANGELOG.md
10:02 batman "master" is already running on demo.convos.by
10:02 cpan_mojo Mojo-Redis2 0.09 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojo-Redis2-0.09
10:03 rambo the docs do suggest link_to '/named/route'; should link to route but it always links to / ...
10:04 * batman wonder when he will do its v.s it's correct (yes, i know the rule)
10:09 cpan_mojo Convos 0.82 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Convos-0.82 (depends on Mojolicious)
10:12 woz joined #mojo
10:13 woz_ joined #mojo
10:20 marcus its never gonna happen, batman.
10:20 batman hehe ;)
10:20 batman you could be right
10:44 woz joined #mojo
10:45 woz_ joined #mojo
11:00 gnephiak joined #mojo
11:18 woz joined #mojo
11:20 sujithm joined #mojo
11:51 woz joined #mojo
11:52 woz_ joined #mojo
11:53 basiliscos joined #mojo
11:55 jamesaxl joined #mojo
11:55 d4rkie joined #mojo
12:23 woz joined #mojo
12:24 woz_ joined #mojo
12:31 d4rkie joined #mojo
12:38 sri rambo: everything the docs suggest works flawless... perl -Mojo -E 'get "/ro/#sham" => "ro"; say app->build_controller->link_to(Works => ("ro" => {sham => "bos"}))'
12:44 sri_ joined #mojo
12:44 sri oh, my convos settings have been cleared :o
12:44 gnephiak joined #mojo
12:48 cpan_mojo Mojolicious-Plugin-Qooxdoo 0.9 by Tobias Oetiker - http://metacpan.org/release/OETIKER/Mojolicious-Plugin-Qooxdoo-0.9
12:48 sri Bender: trust sri_
12:48 Bender OK, sri
12:48 sri Bender: untrust sri_
12:49 * sri wonders how that works
12:54 sri oh, batman and marcus are actually using demo.convos permanently it seems :o
12:55 woz joined #mojo
13:03 sri looks like i can't make convos connect to freenode, even made a custom connection... but now it says "Connection already exists"
13:03 bobkare joined #mojo
13:05 sri finally!
13:06 sri but being in two #perl channels is soooo confusing
13:07 sri even a number of users behind Participants in the sidebar would help
13:07 sri "Participants (159)" or so
13:26 sri_ is there a user count for the current channel somewhere at all?
13:27 woz joined #mojo
13:28 woz_ joined #mojo
13:29 sri__ Bender: trust sri
13:29 Bender But I don't trust you in #mojo, sri__
13:29 sri__ :o
13:36 sri on android the 3 bar logo doesn't show up in the channel bar
13:36 sri s/logo/icon/
13:37 sri ohoh, one big problem
13:37 sri batman: /kick "Unknown command"!!!1
13:43 sri allright... to sum up what i've noticed so far... a) convos is quite comfortable in general, b) inline gists and tweets rock, c) icons are missing in android chrome, d) can't /kick and /ban, e) can't authenticate with nickserv on freenode, f) no participants count for channels, g) can't clear channel buffers
13:47 sri h) you don't see who has op in the participants list
13:49 jberger Yeah,  can't see who has ops is my biggest complaint
13:49 sri i really don't remember how to do all that stuff with /mode ;p
13:49 jberger Gmorning all!
13:49 sri o/
13:50 jberger rambo: the first argument to url_for is the route name
13:51 jberger Which, if you don't set it is automatically generated for you
13:51 jberger And you are not guessing it correctly it seems
13:52 marcus sri: I noticed the missing android bar yesterday too. It's because it's an utf8 symbol, not an icon.
13:52 jberger So give your route a name explicitly and then url_for on that
13:53 marcus sri: You can authenticate with nickserv by /msg nickserv identify <pass> - but I really want actually service support so you can set that up in the connection.
13:53 sri ah! that reminds me ;p
13:53 marcus sri: We plan to kill the connection manager, because having a shared set of existing connections across the installations sucks.
13:53 sri i) utf8 doesn't seem to work very well, i don't see the tiger in the topic!
13:54 marcus https://www.evernote.com/shard/s22/sh/96569eb3-c0c1-4398-99a6-2b69accef1c2/59130055a1d90ff5dbd4048ec5b75af9/deep/0/Nordaaker-demo----convos-on-perlorg---oh-hai!.png
13:54 jberger Android bar?
13:54 marcus That's probably browser dependent.
13:54 sri how odd, i'm using chrome
13:54 marcus Chrome on osx doesn't support emoji out of the box.
13:54 sri OMG
13:54 marcus yeah, it's a bit sad.
13:55 marcus there's an extension, and it works out of the box on firefox/safari
13:55 marcus I've actually switched to firefox now because pentadactyl :)
13:55 sri looks like there's a chromoji extension
13:56 marcus yeah, there is, and it mostly works ok.
13:58 marcus sri: I guess adding trivial kick and ban support is easy, I've just never needed it. Same for participants count, since we already have the list ;)
13:58 woz joined #mojo
13:59 woz joined #mojo
14:07 sri j) there's a css selector bug where two #perl channels in the titlebar get both highlighted if one is selected
14:10 marcus sri: Confirmed. That's un-nice
14:11 marcus btw you can hover on the channel to see which network it belongs to.
14:13 sri yea, it's also in the title
14:13 sri took me a moment to figure that out though
14:14 sri the fact that i had to pick an annoying network name for freenode sure doesn't help though ;p
14:15 sri marcus: how do you handle nickserv on freenode?
14:17 sri allright, lets see how long i can survive with only convos :o
14:18 sri really hope there is no need to kick someone in the near future... or we are screwed
14:19 jberger I've been all convos for several months now \o/
14:19 sri top annoyances so far, as jberger said... no @ in the sidebar for ops, and lack of /kick, /ban, /op... and so on commands
14:20 sri every now and then i'd also like to see the number of participants
14:20 marcus sri: I believe /mode works for op.
14:22 * jberger_ starts upgrading the home installation
14:22 sri still doesn't help with the /kick
14:23 sri i also can't seem to get /list working
14:24 marcus sri: I believe batman has a plan for adding /list support to goto anywhere.  I can add /kick support today.
14:24 marcus And channel count too.
14:24 marcus (I'll put it as a title on Participants)
14:24 sri \o/
14:24 jberger_ marcus++ batman++
14:25 sri marcus++ batman++
14:25 jberger joined #mojo
14:26 jberger o/ from Convos 0.82
14:26 jberger marcus, it didn't warn me about schema updates
14:27 jberger does that mean there weren't any?
14:27 marcus jberger: Yes
14:27 * sri has just deleted textual from his desktop
14:27 jberger cool
14:28 jberger_ I like that I get gravatars on demo
14:28 jberger_ I wish they worked on my local install
14:28 sri another little bug, when i switch away from the currently selected channel, the last few messages are considered new and the unread count pops up
14:29 jberger_ sri: yeah I get that too
14:29 jberger I suppose the gravatar problem is that irc users who are not on your local convos have no way to annotate what their gravatar email is
14:30 GabrielVieira joined #mojo
14:30 woz joined #mojo
14:31 marcus jberger: yes. We've been looking into various mechanisms for sharing this info.
14:31 woz joined #mojo
14:31 marcus jberger: I believe some info in the user field is the most likely one at the moment.
14:31 marcus there's also a CTCP based "spec" made by another client.
14:31 batman sri: two channels that has the same name: i would like to have input on how to fix that
14:32 marcus batman: both getting the active class is clearly a bug, right?
14:32 batman not going to comment how to make a new connection, because we're going to redo that completely
14:33 sri the active channel thing is really minor, don't mind it too much
14:33 batman kick+ban: make an issue, and we'll fix it
14:33 batman when do you want to clear channel buffer..?
14:33 batman op in participants list: not sure how to fix that :(
14:33 sri i experimented a lot earlier and the channel buffers got pretty weird
14:34 batman but make issues :)
14:35 jberger sri: do you mean entry buffer or backlog buffer?
14:35 marcus 16:34 -!- marcus_ was kicked from #testmore by testing [marcus_]
14:36 batman i have no plan for sending /list anywhere else than into the sidebar...
14:37 batman marcus: yeah, active class = bug. haven't thought about that
14:38 batman marcus: are you adding n-participans count? if not, i can do that now
14:38 marcus batman: I'm fixing kick atm.
14:38 batman cool.
14:38 * batman will add n-participants -- easy win ;)
14:38 marcus I have the command handled, but we have to actually remove kicked users from the channel list too.
14:39 batman sri: thanks for all the feedback!
14:39 batman jberger: weird that you haven't created an issue, if mode (op, ...) in the sidebar was a big issue for you
14:40 marcus I guess irc_kick needs to be handled pretty much exactly like irc_part
14:41 sri OPEN ALL THE ISSUES
14:41 batman :D
14:42 sri oooh, i already miss a textual feature
14:42 batman marcus: not sure if i can give you any good feedback on that... but i think i would make a new event template for that and hook it all into convos.nicks.js
14:42 sri an indicator for where i was when the window went inactive
14:42 sri that might be a tricky one though
14:44 batman indeed it is :(
14:45 batman sri: https://github.com/Nordaaker/convos/issues/56 <-- something like this?
14:45 sri exactly like that :)
14:46 batman hehe, please comment if you have any ideas or additional information
14:47 sri already done
14:48 batman do you also require the dotted line to work across devices?
14:48 batman or just in the active client?
14:50 sri i guess across devices would be amazing, but active client is a nice start
14:50 batman hm... active client shouldn't be that hard...
14:55 jberger batman: sorry about not opening an issue. I knew from when I talked to you that it was hard and in the end, while knowing who the ops are, it isn't as important day-to-day as it seems
14:56 jberger in fact, to me it only really matters to know that there are enough ops remaining and when to add some more
14:56 sri until you lost all the ops and a troll shows up :o
14:56 batman no need to be sorry. it's just that these things will *never* be fixed unless we get reminded that people want it
14:56 jberger if live-listing of ops is hard, maybe some context window or popup somewhere?
14:57 batman it would be easy to show mode on a manual "/list", while still keeping the sidebar without modes.
14:57 sri hope batman upgraded my account, or i'm screwed tomorrow... deleted all the other irc clients already :)
14:57 batman what do you think marcus ?
14:58 batman sri: i did, but... it's software!!!!!!
14:58 batman :)
14:58 sri :O
14:58 sri batman++
14:58 jberger ALL HAIL CONVOS!
14:58 marcus batman: I think easy win sounds nice (client only support for last read)
14:59 batman ok.
14:59 marcus and the line approach is much nicer than keeping the client scrolled up.
14:59 * sri agrees with marcus
15:00 * jberger opens an op issue
15:00 batman jberger: i think we will manage with the /kick issue
15:01 sri i think to make it work across devices you'd have to store and regularly update a timestamp for every channel
15:01 sri tweetmarker-ish
15:02 woz joined #mojo
15:02 batman uhm... i think i screwed up sri.
15:02 batman do you still have your account?
15:02 sri HALP
15:02 sri my account name is kraih
15:03 woz joined #mojo
15:03 * batman had written "sri"
15:03 sri i'm so used to sri not being available anywhere anymore that i rarely use it as first choice ;p
15:03 jberger batman: https://github.com/Nordaaker/convos/issues/138
15:04 jberger bah!
15:04 jberger oh well, you wanted issues :-)
15:04 batman sri: ok
15:04 basiliscos joined #mojo
15:05 batman sri: you're all good (from) now, if the server can handle all the data coming in...
15:05 sri \o/
15:06 batman we've had some issues before with not being able to save the redis database to disk, but i think marcus has fixed it now
15:06 sri if this doesn't work i think i might just get an irccloud subscription... this irc in browser thing is really nice
15:07 batman if this doesn't work -- help us improve :)
15:07 sri i guess a malicious tester could also ruin the fun
15:09 sri how much backlog do you keep anyway?
15:10 batman as long as we have enough memory
15:11 sri i see, just noticed my backlog vanish :)
15:11 batman yeah, that's because i thought you was "sri" :(
15:11 batman sorry about that
15:11 sri aah, so it's not that short
15:12 batman i got some holes in my log, but my oldest message is from 27th of february
15:13 sri haha, don't think i care about anything older than 3 days ;p
15:13 batman :)
15:16 sri looks like freenode keeps kicking me because i've not authenticated with nickserv
15:17 marcus sri: Did you try messaging nickserv like I suggested? It works for me.
15:17 marcus ./msg nickserv identify password
15:19 fitnerd_ joined #mojo
15:21 sri i'm not even sure when to say it
15:21 sri no indicator if i'm currently connected or not
15:24 D4RK-PH0ENiX joined #mojo
15:29 sri hmm, connection refused by freenode
15:33 sri also, why does convos look like batman? :)
15:33 woz joined #mojo
15:34 sri shouldn't it be the convos logo or maybe a robot or so?
15:34 batman do you mean dark and more shadows?
15:34 batman ah
15:34 batman i read "doesn't" :P
15:34 woz joined #mojo
15:34 batman sri: i'm afraid of copyright issues.
15:35 batman got a logo with an open license?
15:35 sri http://i.imgur.com/aP2g4Ds.png
15:35 batman i wanted to use bender or something similar, but i'm pretty sure i can't :/
15:36 batman but i know i have the right to put myself there :)
15:36 sri you could just use the convos logo
15:36 batman it won't be confusing?
15:37 batman was that your idea as well marcus?
15:37 sri i find your picture there rather confusing ;p
15:37 sri "huh, why is batman talking to me here?"
15:38 batman i agree :/
15:38 batman marcus: can you decide? maybe we can get one from fivrr?
15:38 sri oh, my freenode connection got cleared Oo
15:39 marcus batman: I think using the convos logo is better than using your picture atm.
15:39 sri it just got deleted?
15:39 batman sri: it was probably deleted when i deleted "kraih" earlier :(
15:39 batman marcus: ok. i'll change it then
15:39 marcus batman: I wanted rob to draw us a robot, but he's out of round tuits it seems.
15:40 sri ouch
15:40 sri is the freenode default ok to use now?
15:42 marcus I think that's the one I use.
15:42 sri oh, i deleted my old freenode connection... but it still shows up in the dropdown
15:42 sri marcus: tried using it, but it says "Connection already exists"
15:43 batman marcus: do you want me to buy an icon from fiverr.com?
15:43 sri think my account may be borked somehow
15:43 jberger batman, is the "O" symbol in the corner not yours?
15:44 marcus it's ours, it is part of the logo
15:44 batman jberger: it is. but i want to have messages from a person or person like image
15:44 jberger batman: I guess I understand that
15:45 jberger make a stickman with that as the head ?
15:45 jberger :-P
15:45 marcus batman: How about just generating one from robohash?
15:46 batman marcus: ok :) http://robohash.org/convos
15:46 marcus batman: I liked the convosby one better :)
15:46 marcus more friendly
15:46 batman i agree
15:46 batman it is settled then :)
15:46 batman marcus++
15:47 sri i soooooo hate the connection manager
15:48 sri i now have at least 3 messed up versions of freenode
15:48 marcus sri: it's destined for a wet grave
15:50 * sri keeps hitting the connection manager with a rusty pipe
15:51 marcus at least kick support and kicked support is ready now.
15:51 sri \o/
15:53 batman marcus: http://robohash.org/Convos # the convosby one did not look very good scaled
15:54 batman convos.by could also work...
15:54 marcus I prefer convos.by - because it is green like our logo :)
15:54 marcus And it looks a bit dorky.
15:56 batman :)
15:56 sri http://robohash.org/mojo
15:56 sri Oo http://robohash.org/mojolicious
15:58 batman marcus: where should we put "Robots lovingly delivered by Robohash.org" ?
15:58 sri this one is planning a robot apocalypse :o http://robohash.org/perl
15:58 marcus batman: Bottom of README?
15:59 batman sounds good. thanks :)
15:59 marcus batman: Kind of tempted to use robohash as the default images too now, they have so much personality
15:59 * batman is looking at PR
15:59 batman yeah. makes sense
16:00 jberger they are pretty awesome
16:00 marcus Maybe with set=set3 works better for the smaller size.
16:00 jberger http://robohash.org/jberger
16:00 jberger AHAHAHAHA
16:00 sri lol
16:02 crab hmm. http://robohash.org/crab
16:03 sri marcus is good too http://robohash.org/marcus
16:03 marcus I look like a very shocked robot.
16:04 jberger nice
16:04 gnephiak joined #mojo
16:04 jberger well someone has to try http://robohash.org/sri
16:04 jberger hehe
16:04 jberger or else http://robohash.org/kraih
16:05 sri xD
16:05 jberger I vote the kraih one!
16:05 jberger that's awesome!
16:05 sri -.- http://robohash.org/batman
16:05 marcus <3
16:05 woz joined #mojo
16:05 batman OH NO!
16:05 batman hehehehe
16:05 purl hehehehehe
16:05 jberger wait wait wait!
16:06 jberger http://robohash.org/purl
16:06 jberger \o/
16:06 sri \o/
16:06 woz joined #mojo
16:06 stephan48 maybe you should replace gravatar by robohash? :)
16:07 sri at least for the fallback maybe
16:07 sri it's currently the github thing i believe
16:07 * batman will restart demo.convos.by
16:07 marcus oh shit
16:07 sri NOOOOOO
16:07 batman ?
16:07 stephan48 oops
16:07 marcus :)
16:07 batman sri: some guy implemented hot reload, so i think we'll be fine :)
16:08 sri \o/
16:08 stephan48 mh. that does sound boring
16:09 sri http://robohash.org/stephan48
16:09 batman sri: try /names and look for number of participants (refresh first)
16:09 batman i meant: jberger: try "/names" on demo.convos.by
16:10 sri ah, that's not too bad
16:10 jberger_ getting better
16:10 sri not sorted though
16:10 jberger_ any way to sort the @ to the front?
16:12 stephan48 do two sorts? first by permission level(@,%,+) and then alphabetically as second criteria?
16:14 batman sri: and the highlight bug should be resolved
16:15 sri it is!
16:16 sri batman++ marcus++
16:22 batman :)
16:22 batman so... should the nicks be sorted by nick or mode+nick ?
16:23 sri mode+nick
16:24 batman ok
16:24 sri command also needs to be added to "Help" ;)
16:25 sri same for kick i guess
16:25 sri oh, /kick did not make it into the release
16:27 batman sri: no. marcus is finishing it up
16:33 batman /names are now sorted :)
16:34 * batman will get something to eat
16:37 woz joined #mojo
16:44 bodgix joined #mojo
16:46 lipizzan joined #mojo
16:47 gnephiak joined #mojo
17:08 woz joined #mojo
17:09 woz_ joined #mojo
17:29 gnephiak joined #mojo
17:36 GabrielVieira joined #mojo
17:40 woz joined #mojo
17:40 btyler batman: cool, thanks for merging so quickly! I haven't actually tried out the API yet, I went to install 0.08 and it hung, so I started digging :)
18:12 woz joined #mojo
18:13 woz_ joined #mojo
18:23 batman btyler: thank you for contributing. Hope it works :)
18:41 KCL joined #mojo
18:45 woz joined #mojo
18:48 woz_ joined #mojo
18:55 * sri opens yet another issue
18:56 ichesnokov joined #mojo
18:57 jamesaxl joined #mojo
18:58 ichesnokov Hi. I want to use Mojo::Template to process my email templates - how to make it transform render() arguments to variables (similar to what is done in Mojolicious) - so that I'd be able to say "Hello, <%= $name %>" in the template rather than "Hello, <%= $_[0] %>"?
18:58 logioniz joined #mojo
18:59 sri that's how Mojolicious does it https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Plugin/EPRenderer.pm#L36
19:00 ichesnokov Thanks
19:05 logioniz hi. i want to know how i could to use recursion in template (https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Rendering.pod#Reusable-template-blocks) ?
19:05 logioniz % my $block = begin
19:06 logioniz %= 'qwerty'
19:06 logioniz %= $block->(...)
19:06 logioniz % end
19:06 logioniz %= $block->(...)
19:06 logioniz Something like this.
19:07 batman logioniz: use a pastebin
19:09 logioniz http://pastebin.com/Jz8fackm
19:16 jberger_ logioniz: template blocks are just anonymous subs
19:16 jberger_ So you can do any normal anonymous sub recusion pattern
19:17 jberger_ I prefer __sub__
19:18 woz joined #mojo
19:19 woz_ joined #mojo
19:24 logioniz Thanks, it works.
19:33 sri batman, marcus: shouldn't the menubar be using this icon? http://fortawesome.github.io/Font-Awesome/icon/bars/
19:37 sri maybe i'm old school, but i think the bell might also be a better choice than the bullhorn for notifications http://fortawesome.github.io/Font-Awesome/icon/bell/
19:38 sri and i think it's less the symbolism than the actual symbol that irks me, the bullhorn just doesn't look as nice :)
19:39 batman Yes it should.
19:46 sri can someone say my name? i've not seen yet how highlighting looks :)
19:46 bodgix joined #mojo
19:47 phillipadsmith sri:
19:47 sri ah, the little counter is always just red
19:47 phillipadsmith what are you seeing the highlighting in?
19:48 sri gray counter for normal messages and red for notifications would be cool
19:48 sri phillipadsmith: http://convos.by/
19:48 phillipadsmith Ah, nice…
19:48 sri batman: hope you don't mind me dissecting the design a little
19:50 woz joined #mojo
19:50 sri there's a few little things, like the text being much too close to the border http://i.imgur.com/gtTBcNF.png
19:51 woz_ joined #mojo
19:53 sri the way the sidebar and menubar layer shadows doesn't quite feel right
20:03 marcus sri: I agree with the bell vs the bullhorn.
20:03 marcus I also agree about gray vs red for new messages vs new messages + mentions
20:07 sri playing with a flat menubar http://i.imgur.com/qWdc3MI.png
20:09 marcus Not actually sure about that one.
20:09 sri looks better if you get rid of the box highlighting http://i.imgur.com/RhWMPU3.png
20:10 sri spacing is of course all off
20:10 marcus Yeah. if it's to be flat, maybe it should be a bit grayer.
20:11 sri sure
20:11 sri or there should not be gray boxes in the main window
20:11 sri just light grayed out text for part/join
20:21 sri more like this http://i.imgur.com/3Oxd2WU.png
20:22 woz joined #mojo
20:23 woz_ joined #mojo
20:23 sri GRADIENT ALL THE THINGS
20:29 marcus sri: ya, I think that's an improvement.
20:29 marcus btw batman, I think the pink highlights should go all the way to the user list, and not end at the timestamp, agree?
20:30 marcus hrm, I guess that's hard with our current layout
20:31 sri btw. for the user list i'd also not use a drop shadow, just a clean gradient background and border
20:31 * jberger wishes he had any opinion on design
20:32 * jberger starts working on Mojolicious::Plugin::LinkEmbedder::Link::FromMetaTag
20:32 sri when it comes to irc apps and design, i still like this one the most https://botbot.me/freenode/django/
20:33 marcus sri: I agree, it's very nice and clean.
20:34 jberger hey look, it logs the fwbm channel! https://botbot.me/freenode/techempower-fwbm/
20:34 jberger guess I'm going to have to watch myself!
20:34 sri convos is already pretty close, all i did was change like 4 values
20:38 marcus https://www.evernote.com/shard/s22/sh/7de4a37f-ca01-4fee-9377-1440942a2679/31ccf56035ec82a69074a888c7df8f6c/deep/0/RoboHash---oh-hai!.png
20:38 marcus oi, wrong
20:38 sri there was this node.js desktop app irc client on HN the other day, you could also go with that kinda design :D https://github.com/mephux/komanda
20:38 marcus https://www.evernote.com/shard/s22/sh/70998093-21cd-4c14-a761-92e26d999f64/7d7e6e5d6c27abf31e05d9480a62b175/deep/0/Nordaaker-demo----convos-on-perlorg---oh-hai!.png
20:39 marcus That is dark, sri :)
20:39 marcus I have been considering color schemes tho, so people can get their irc in Solarized or Tomorrow Night Bright :)
20:39 sri go to the edge on both sides
20:40 marcus oh, with the background. Yeah.
20:40 sri ye
20:40 marcus this was just a quick prototype hack in firebug
20:41 sri same i'm doing ;p
20:41 marcus I want to hear back from batman if it has negative consequences for the layout to use margins instead of padding the box.
20:42 sri this has turned into #convos today :)
20:44 marcus \o/
20:48 Nei convos is for irc only right
20:50 marcus Nei: So far. There's a loopback connection as well so you can use it standalone tho.
20:51 Nei I'm currently playing with websockets too but I really wanted something with silc,icb+xmpp support
20:52 Nei that's why I had the idea of using irssi ;)
20:52 marcus !wat
20:52 marcus oh, wrong chat system, n/m.
20:53 woz joined #mojo
20:53 marcus Nei: Those would have to be implemented as Convos::Core::Connection:: classes for us to support it.
20:54 Nei I guess so... implementing whole protocols is hard though ;) irc is still the easiest
20:54 Nei although I recon xmpp should not be too difficult
20:54 woz joined #mojo
20:54 marcus I guess you could use Protocol::XMPP from CPAN.
20:55 Nei yep that's what I meant;))
20:55 marcus I don't know much about Silc tho tbh.
20:55 Nei it's a binary secure irc wannabe
20:56 Nei I guess that would need XS
20:59 Nei "Welcome to marcus"
20:59 Nei that message is a bit funny ;p
21:25 woz joined #mojo
21:35 jberger batman (marcus): http://pastie.org/9499649
21:57 woz joined #mojo
21:58 woz joined #mojo
22:27 * sri wonders if batman already regrets that he asked for github issues :D
22:28 woz joined #mojo
22:29 woz_ joined #mojo
22:48 jamesaxl joined #mojo
23:01 woz joined #mojo
23:03 woz_ joined #mojo
23:12 axlrose joined #mojo
23:22 sri hmm, shopping for domains got a little ridiculous with all the new ones
23:23 sri oh, .luxury for 352euro per year
23:29 sri .wtf is still 30euro
23:35 jwang what about .mojo?
23:35 jwang ;)
23:36 woz joined #mojo
23:44 jberger batman: https://github.com/jberger/mojolicious-plugin-linkembedder/compare/meta

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