Camelia, the Perl 6 bug

IRC log for #mojo, 2012-06-17

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

All times shown according to UTC.

Time Nick Message
00:16 nordmarcus joined #mojo
00:46 nordmarcus joined #mojo
01:16 nordmarcus joined #mojo
01:47 nordmarcus joined #mojo
01:54 tempire 155 ums in my talk
01:54 tempire :s
01:59 rem_lex| joined #mojo
02:10 noganex_ joined #mojo
02:34 dhoss haha
02:34 dhoss i'd be lucky to have that few
03:04 nordmarcus joined #mojo
03:56 nordmarcus joined #mojo
04:32 nordmarcus joined #mojo
05:02 nordmarcus joined #mojo
05:32 nordmarcus joined #mojo
06:00 Foxcool joined #mojo
06:06 * sri yawns
06:06 sri marcus: don't know
06:06 sri Akron: yes
06:35 inokenty joined #mojo
06:35 sri marcus: and how do you like the new api?
07:17 nordmarcus joined #mojo
07:19 marcus sri: it's way better
07:42 mire joined #mojo
07:44 Vandal joined #mojo
07:58 d4rkie joined #mojo
08:05 ZadYree joined #mojo
08:10 sri \o/
08:25 sri marcus: what do you think about the id system? would you prefer storing the stream objects somewhere yourself?
08:30 sri i guess it doesn't matter much for that module, since it only manages one connection
08:30 * sri would really like more feedback for that from someone who has to manage many concurrent streams
08:46 tempire marcus is working on just such a project.
08:46 tempire I suspect you'll get more feedback soon enough
09:08 dbr joined #mojo
09:38 nordmarcus joined #mojo
09:48 sri i wonder if it would make sense to split up the lite tutorial into two parts, basics and advanced
09:48 sri push stuff like # and * placeholders to advanced
09:48 sri and only keep the absolute minimum in basics
09:50 sri on the other hand, the order is already pretty good
09:51 * sri shrugs
10:21 nordmarcus joined #mojo
10:27 nordmarcus joined #mojo
10:29 hipyhop joined #mojo
11:09 hipyhop joined #mojo
11:11 Leandr joined #mojo
11:54 jventer joined #mojo
12:02 jventer left #mojo
12:12 andrefs joined #mojo
12:56 hide I at one point was considering making an index page with all the methods, template directives etc. Make it a little easier to find which module has the documentation for what I was attempting to do.
13:02 hide I was looking for a POD parser to generate the page automatically because maintaining it would be rather troublesome
13:10 Psyche^ joined #mojo
13:17 ki0 joined #mojo
13:21 gryphon joined #mojo
13:38 ki0 joined #mojo
13:43 * sri just bought a sublime text 2 license
13:56 sri if anyone wants to maintain a sublime plugin for mojolicious, you're welcome to steal whatever you like from the textmate bundle :)
14:08 Debolaz[Lo] joined #mojo
14:25 andrefs joined #mojo
15:02 batman so why is st2 awesome?
15:02 batman i'm going to ask youtube as well now...
15:11 marcus sri: the id's are great.
15:11 marcus sri: there is a mojolicious plugin for sublime already.
15:12 sri wat?
15:12 * sri is still using the tmbundle
15:12 marcus sri: it's listed at http://wbond.net/sublime_packages/community
15:13 sri seems broken
15:14 Htbaa joined #mojo
15:15 marcus it handled ep files for me, that is all I know
15:17 sri oh, not broken, just awful
15:18 sri it doesn't do __DATA__ templates
15:21 batman looks pretty promising... after i enabled the vim shortcuts :)
15:22 marcus batman: there's a separate ex part as well.
15:22 batman i like "goto anything" :)
15:22 batman marcus: i got it
15:22 batman not sure if i like it though -- or if i even need it
15:23 batman but i like hjkl
15:23 zivester joined #mojo
15:24 * Debolaz[Lo] wonder why people still use that textmate crap. :-P
15:24 marcus I still miss R :)
15:24 sri https://github.com/SublimeText/Mojolicious
15:24 marcus Debolaz[Lo]: seems a lot less do, lately.
15:25 sri json representation is interesting https://github.com/SublimeText/Mojolicious/​blob/master/Embedded%20Perl.JSON-tmLanguage
15:25 Debolaz[Lo] marcus: Still, textmate never struck me as particulary good. It was perhaps one of the better alternatives back in the age of dragons and wizards, but that still doesn't say a whole lot good about it.
15:25 marcus Debolaz[Lo] what do you use?
15:26 Debolaz[Lo] marcus: What you're using, I'm a long time sublimer. :)
15:26 batman marcus: and ^R
15:30 * sri wonders why the Perl plugin tries to highlight __DATA__ at all
15:31 Foxcool joined #mojo
15:31 * sri will stick with the tmbundle for now, since the highlighting is much better
15:38 koorchik joined #mojo
15:39 * sri wonders if tmLanguage files can be automatically converted to json
15:42 koorchik joined #mojo
15:46 batman changing editor is like moving everything in the kitchen around :S
15:46 batman no. it's a lot worse
15:46 batman especially when i got this amazing editor already :/
15:47 sri hehe, yea
15:48 batman but maybe st2 has better defaults...
15:48 batman i will try it out
15:49 sri https://gist.github.com/2944925
15:49 sri my settings for now
15:51 batman ok
15:55 Leandr joined #mojo
15:57 sri i only miss search in project from tm2
16:05 mire joined #mojo
16:06 osprey_ joined #mojo
16:09 osprey_ left #mojo
16:11 Andrei666 joined #mojo
16:12 Andrei666 hey guys
16:12 Andrei666 could you advice on how to create a basket?
16:12 Andrei666 i mean i have an imdb like web app
16:13 Andrei666 and I want the users tu 'buy' a movie
16:13 Andrei666 i know i must put the %basket in the stash
16:14 Andrei666 but it seems like %basket overwrites every time I want to 'buy' a movie...instead of adding it to the hash
16:23 d4rkie joined #mojo
16:26 asarch joined #mojo
16:34 batman sri: doesn't "search anything" do that?
16:34 sri batman: yes, but look at the results
16:35 batman Andrei666: i think you're having a perl problem more than you have a mojo problem...
16:35 batman do you have the code that actually handles the %basket?
16:35 * sri wants search in project with more usable results
16:35 Andrei666 batman: that's what I'm trying to write ..
16:36 Andrei666 batman: i assume that %basket must be put in session ...so that different users can buy different movies...
16:36 batman yes
16:36 Andrei666 batman: but I have no clue how to write a shopping cart...even if I searched the net...and github..
16:37 batman but the session is stored in a browser cookie, so it has limited "space"
16:37 Andrei666 batman: any ideas?
16:37 Andrei666 i know 4kb
16:37 Andrei666 i guess it's enough, as $basket will contain only the quantity, movie id, and movie title..that's all
16:38 batman i would probably just do push @{ $self->session->{'basket'} }, $item_id; or something...
16:38 Andrei666 s/$/%/
16:38 Andrei666 hmm
16:38 batman or $self->session->{basket}{$item_id} = $number_of_items;
16:38 Andrei666 and if $self->session('basket') hasn't been declared earlier? or should I dclare it?
16:39 Andrei666 hmm
16:39 Andrei666 is it session('basket') or session->{basket}
16:39 Andrei666 maybe that's the answer i was looking for..
16:40 batman :)
16:42 Andrei666 that might be it..
16:42 Andrei666 i've just tested...and it might work..
16:42 Andrei666 btw...
16:42 batman left #mojo
16:42 Andrei666 can i but objects in session?
16:47 tempire joined #mojo
16:48 batman joined #mojo
17:33 Leandr joined #mojo
17:34 sri hmm, the perltidy plugin is not so great either
17:34 sri jumps to the first line when called
17:35 tempire just like vim
17:35 sri i hacked my vim not to do that
17:35 sri (with a bookmark)
17:35 tempire I just got used to it
17:36 sri "nnoremap <Leader>t mz:%!perltidy -q<CR>'z:delmarks z<CR>"
17:36 * tempire pastes
17:36 tempire what does the mz do?
17:37 sri i don't remember the details... wrote it months ago ;p
17:37 sri named bookmark z maybe?
17:37 * sri shrugs
17:37 tempire oh, yeah.
17:38 tempire that knowledge is more stored in my fingers than my heads
17:38 sri headS?
17:38 tempire freudian slip, I guess
17:41 tempire oh, I know why.  I usually only perltidy highlighted blocks, instead of the full file
17:48 sri oh, perltidy plugin is mostly pointless anyway, there's an externalcommand plugin that does it better
17:48 sri also doesn't remember the last position though :/
17:51 ki0 joined #mojo
17:56 SmokeMachine joined #mojo
18:08 fhelmber_ joined #mojo
18:12 ki0_ joined #mojo
18:20 marcus should be possible to hack that.
18:20 batman can i mark a square area in st2?
18:21 inokenty Yes you can
18:22 batman uhm... let me refrace: how can i mark a square area in st2?
18:22 inokenty On Linux: Shift + Right Mouse Button. On Windows: Mouse Weel
18:22 sri { "keys": ["ctrl+p"], "command": "filter_through_command", "args": { "cmdline": "/Users/sri/perl5/perlbrew/pe​rls/perl-5.16.0/bin/perltidy -q" } }
18:23 sri that's perltidy with externalcommand plugin
18:23 ki0 joined #mojo
18:23 batman thanks
18:23 sri that one is in package control
18:25 Leandr joined #mojo
18:29 sri looks like it's half implemented http://sublimetext.userecho.com/topic/581​56-retain-cursor-position-on-file-change/
18:29 sri upvote!
18:29 marcus Your vote is accepted!
18:30 sri \o/
18:31 marcus sri: says it's fixed in nightly
18:31 sri saw that, but it doesn't seem to work for filters
18:31 sri only external modifications
18:32 sri if i edit an open file with vim it works
18:32 marcus you should probably add a comment about that then?
18:32 marcus what about BufferScroll?
18:34 marcus doesn't seem to do the trick
18:34 marcus :-/
18:35 sri nope
18:35 sri it only remembers the last position on reopen
18:40 sri marcus: left a comment
18:41 sri i have no idea what i'm doing though
18:43 sri really like how responsive the developer is
18:49 marcus sri: which build are you on now?
18:49 sri marcus: 2201
18:56 marcus sri: are you using vintage?
18:57 sri nope
19:02 SmokeMachine joined #mojo
19:12 sri sublimecodeintel does not seem to do anything :/
19:22 andrefs joined #mojo
19:22 marcus sri: 'Could not resolve $self' - not impressed :-/
19:26 marcus no type inference info for argument $self ...
19:31 marcus sri: it seems to work for javascript, just not perl.
19:31 sri :(
19:31 marcus alt-clicking functions in perl gives descriptions tho
19:33 sri http://cdn.memegenerator.net​/instances/400x/22137921.jpg
19:37 marcus you would think komodo worked with perl
19:40 marcus sri: did you try codeintel in komodo?
19:40 sri nope
19:47 sri tempire: i think you might like this http://vimeo.com/44180900
19:53 tempire WHAT
19:54 marcus can we get it for TAP?
19:54 tempire SRSLY
19:56 marcus sri: this is codeintel, no? http://nordaaker.com/docs/skitch/WebIrc.​pm_%E2%80%94_web_irc-20120617-215642.jpg
19:57 sri marcus: you tell me
19:57 marcus sri: I think it is.
19:59 sri https://github.com/cafarm/aqua-theme # hmm
20:00 marcus yeah, isn't that a rename of soda refined?
20:06 * sri shrugs
20:07 marcus I actually think I like the project find better without context and buffer
21:00 sri https://github.com/Grafikart/st2-nil-theme # also an interesting theme
21:02 gryphon joined #mojo
21:14 andrefs joined #mojo
21:16 marcus reminds me a bit of windows 8
21:28 batman is there a way to run scripts in the console in st2?
21:36 rwstauner joined #mojo
21:45 lukep joined #mojo
21:47 marcus batman: SublimeREPL?
21:48 batman could be *checking*
22:00 tempire hrm
22:13 * marcus puts on book of mormon soundtrack.
22:13 marcus HELLO! THIS BOOK CAN CHANGE YOUR LIFE!
22:42 fibo joined #mojo
22:52 fg3 joined #mojo
23:01 tempire you know, mojo get could be advertised all by itself
23:01 tempire installed in 4 seconds without tests, no one would even know they were installing a framework
23:04 tempire with the right brochure site, a post on hackernews, it could get a lot of attention
23:04 sri problem is not selling mojolicious, problem is selling perl
23:05 tempire why would they even care?
23:05 tempire it's just a utility.
23:05 tempire not a whole lot of reason to mention it other than a mention or two
23:05 sri language matters a lot imo
23:06 tempire if a tool works and installs quickly without fuss, would you care?
23:06 tempire of course, this only matters for *nix systems
23:06 sri even managers want to know if they'll actually be able to hire programmers for it
23:06 tempire I'm just talking about presenting it as a tool
23:07 sri it's not a tool in that sense, you need programmers to build something with it
23:07 tempire not even as mojolicious, a web framework
23:07 tempire I'm talking about "mojo get"
23:07 sri oh
23:07 sri haha, i just assumed you made a typo ;p
23:08 sri then you're correct of course, carry on!
23:09 tempire would have to use the backport, but that's not a big deal
23:10 fg3 is there a zero config web server like ruby's pow in the mojolicious world?
23:11 tempire don't know pow, but yes
23:12 fg3 pow = http://goo.gl/5hBGM
23:14 sri why not just use pow?
23:15 fg3 I was hoping to be able to launch a psgi app with it - not sure it would support that
23:16 sri for that kind of dns hackery node.js is the best choice
23:16 fg3 I just thought it would compliment the cool work you have been doing
23:20 sri fg3: do you actually care about the dns hackery or do you just want a dev server that just works?
23:20 sri argh

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