Camelia, the Perl 6 bug

IRC log for #mojo, 2012-06-02

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

All times shown according to UTC.

Time Nick Message
00:19 GeorgeJetson joined #mojo
01:35 asarch joined #mojo
01:38 GeorgeJetson joined #mojo
02:28 xaka joined #mojo
04:35 GabrielVieira2 joined #mojo
06:10 d4rkie joined #mojo
06:28 Leandr joined #mojo
06:36 ryozi joined #mojo
06:47 inokenty joined #mojo
06:51 rem_lex|pivo joined #mojo
07:05 xaka1 joined #mojo
07:07 Vandal joined #mojo
07:32 mike_ joined #mojo
07:36 alexeiras joined #mojo
07:53 mandreacchio joined #mojo
07:54 mandreacchio hello?
07:54 mandreacchio Hey I'm going to be building a pge
07:54 mandreacchio it only has to be simple - I'm really interested in using the user agent though
07:55 tempire echo echo
07:55 mandreacchio cool someones here!
07:55 mandreacchio yeah so I'm thinking I only need mojo:lite to do what I want
07:55 mandreacchio but I'm really finding it hard passing variables from the code to the template
08:59 tempire mandreacchio: have you watched the mojocasts?
09:00 mandreacchio tempire: yes I have
09:00 mandreacchio I've been finding it difficult to pass vars to and from the framework
09:01 tempire episode 4 should show you everything you need
09:03 tempire specifically http://mojocasts.com/e4#Stash
09:03 mandreacchio tempire: I'm struggling to find the best way to use the user agent and pass what I get from there into the templates
09:03 tempire what are you using the user agent for?
09:04 mandreacchio I've got to get a bunch of .xml data over REST
09:04 mandreacchio then turn that into tables
09:04 mandreacchio this precisely: http://api.powerhousemuseum.com/api/v1​/category/xml/?api_key=8fbb61ea34d6f5d
09:05 mandreacchio tempire: I'd like to think that mojo will be easy in doing this
09:05 mandreacchio those will turn into links
09:05 mandreacchio and then will be clickable
09:05 mandreacchio and go into the next page
09:06 tempire so you want the web app to retrieve the xml from a remote location?
09:07 mandreacchio tempire: yes, then make it into a dynamic web page
09:07 mandreacchio click into links and then move into the next part of the rest service
09:08 GeorgeJetson joined #mojo
09:09 tempire well, you've got all the information you need, really.  now it's just a matter of manipulating the useragent response into the format you want.
09:10 marcus joined #mojo
09:10 mandreacchio it's just not working tempire  http://pastebin.com/7SU3dwJa
09:11 tempire oh dear
09:11 tempire that is indeed wrong
09:13 mandreacchio I'm not getting how to pass that data down to the template
09:13 mandreacchio tempire: not sure why it doesn't work - I can get some of it to work as a user agent
09:15 tempire https://gist.github.com/2857482
09:18 tempire or better https://gist.github.com/2857482/46c1​3b862bf01f30df7bba76144d0a1481f56f7e
09:21 mandreacchio tempire: woo I see
09:21 mandreacchio the first way I can kinda underststand a little more though
09:21 mandreacchio because I could imagine iterating around that
09:21 mandreacchio put it into an array
09:22 mandreacchio and then put that somewhere
09:29 mandreacchio humm I guess the right question is how could I iterate around the response until there's nothing left tempire
09:30 mandreacchio humm I guess I'd have to count them
09:52 * sri yawns
09:56 mandreacchio ok now this isn't working: http://pastebin.com/uhAkEU93
10:10 GabrielVieira joined #mojo
10:12 GabrielVieira2 joined #mojo
10:14 inokenty mandreacchio: http://pastebin.com/dqe9By9q
10:21 mandreacchio inokenty: thanks!
10:21 mandreacchio so this has created the loop around the categories
10:23 mandreacchio what editor do you guys use? eclipse sux for this
10:23 inokenty VIM
10:25 sri textmate
10:25 yko vim!
10:25 * sri shakes marcus
10:25 yko with shiny epl highlight plugin :)
10:30 tempire macvim
10:30 tempire edlin
10:42 mandreacchio what's the link to the plugin?
10:54 inokenty mandreacchio: You can also try Sublime Text 2 ( http://www.sublimetext.com/2 )
11:15 mandreacchio hey guys I'm really not getting this - how do you guys work from one part to the next?
11:16 mandreacchio I need to get a few different parts of this rest service: http://api.powerhousemuseum.com/api/v1/​category/xml/?api_key=8fbb61ea34d6f5d'
11:16 mandreacchio the name tag and the num_items tag
11:16 mandreacchio iterate over them until I've got a table
11:17 mandreacchio I've decided to do some of this just from the command line
11:17 mandreacchio just so I've got the different data types out
11:17 mandreacchio though I'm sure this won't work right once I put it back into mojo
11:29 mandreacchio why can't I do something like this
11:29 mandreacchio 8 $ua->get('http://api.powerhousemuseum.com/api/v1/c​ategory/xml/?api_key=8fbb61ea34d6f5d')->res->dom->find('name')->text;
11:29 mandreacchio I want the text inside of there
11:36 inokenty mandreacchio: $ua->get('http://api.powerhousemuseum.com/api/v1/c​ategory/xml/?api_key=8fbb61ea34d6f5d')->res->dom->find('name')->[0]->text;
11:37 mandreacchio inokenty: right - but I need all of those - I'm not sure how I can iterate over it
11:37 mandreacchio unless I use like ua to get the length of the array and then iterate over that -
11:37 inokenty my @names = $ua->get('http://api.powerhousemuseum.com/api/v1/c​ategory/xml/?api_key=8fbb61ea34d6f5d')->res->dom->find('name')->map(sub { $_->text });
11:37 mandreacchio and have different variables for each
11:37 mandreacchio ...
11:37 mandreacchio map
11:51 mandreacchio inokenty: http://pastebin.com/wnmkFEDj broken again
11:52 mandreacchio I don't get why this is particularly hard to wrap my head around - I think I find mojo hard to troubleshoot it
11:52 mandreacchio usually I'd just echo a bunch of stuff till I find it
11:52 mandreacchio but printing isn't going to help me find the problem
11:56 inokenty $ua->get('$base_rest_url')
11:56 inokenty What's this?
12:00 mandreacchio inokenty: should be pointing to this: my $base_rest_url ="$base_url?&api_key=$api_key";
12:01 mandreacchio …it's literal
12:01 mandreacchio oops
12:02 mandreacchio inokenty: well even after fixing that it's still busted
12:03 mandreacchio inokenty: https://gist.github.com/2858050
12:07 inokenty mandreacchio: http://pastebin.com/drdmumdY
12:08 Akron joined #mojo
12:08 mandreacchio inokenty: wow!
12:08 mandreacchio thank you!
12:09 mandreacchio so you guys are using vim - what module for that does autocompletion?
12:10 mandreacchio are you using this? http://www.vim.org/scripts​/script.php?script_id=3168
12:16 Akron mandreacchio: You can also use Mojo::URL->new($base_url)->query({ api_key => $api_key}). Especially useful for different rest based urls.
12:17 mandreacchio Akron: I might give that a go when I'm cleaning this thing up
12:18 mandreacchio Akron: though really struggling at the moment to make it output what I need
12:18 Akron We are here to blow your mind with Mojo! :)
12:18 inokenty Mojo rocks!
12:19 Akron Maybe it's easier to test i directly in a script without M::Lite - I mean, testing the M::UA and M::DOM.
12:21 Akron It rocks and its soft - like a rainbow made of candyfloss!
12:28 mandreacchio yeah I can see the power
12:29 mandreacchio but I'm really finding it hard to troubleshoot in
12:29 mandreacchio I keep getting stuck, it's beginning to make me feel stupid
12:30 inokenty mandreacchio: warn $self->dumper($some_variable)
12:30 Akron What do you mean - how could it be better? If you see things to improve, it may be improvable.
12:30 mandreacchio inokenty: I'll try that
12:31 sri right, how could it be improved?
12:31 Akron mandreacchio: I would suggest to test your API communication not inside M::Lite.
12:32 mandreacchio Akron: yeah I've realised that but now even creating a skeleton file to test in is being a pita
12:38 sri tempire: are you sure about $dom->remove being better than $dom->replace('') and worth the maintenance cost?
12:40 sri i'm considering changing my vote to -1, because i really don't like the inconsistency between ->remove and ->replace_content('')
12:41 Akron mandreacchio: It's simple as that, I think. https://gist.github.com/2858214 Just run it with "perl file.pl". Then you do not have to restart a demon or have to think about how to render everything etc.
12:45 mandreacchio Akron: ah I see, thankyou!!
12:46 mandreacchio I'll try working on it through this now
12:47 Akron mandreacchio: (Although I don't know if "use Mojo;" is really supported - it just loads the neccessary stuff so you don't have to load it separately ... ;) )
12:48 sri not supported
12:48 mandreacchio yeah it's working really well at least for this testing first
12:49 mandreacchio I want to try to get it to output the table upon execution before I put it into mojo cos I keep getting lost in there
12:54 Akron sri: Pssst!
12:55 sri Akron: NOT SUPPORTED!
12:57 Akron sri: Damn. Okay - I vote for supporting "use Mojo::Base -all" that simply loads all the magical stuff. ;)
12:58 sri Mojo::Plugin::Everything?
12:58 sri s/ojo/ojolicious/
13:02 Akron Hmmm ... na. I will keep recommending "use Mojo;" :-P
13:02 sri -.
13:02 sri -
13:02 sri argh
13:02 sri -.-
13:03 mandreacchio hey you guys use anything like wgetpaste?
13:03 mandreacchio it seems to be broken at the moment
13:04 mandreacchio Akron: ok so while I'm working on this I'm getting pretty close to what I want with that test script :) http://www.gitpaste.com/paste/705/
13:04 Akron No. (But Mojolicious::Command::Pastebin sounds like a nice idea.)
13:05 mandreacchio the problem is that I don't know how to iterate the same way through a loop in the template files
13:08 Psyche^ joined #mojo
13:10 Akron mandreacchio: In that way you are requesting the resource multiple times - that's not neccessary. Wait a minute ...
13:13 mandreacchio ok it's complete: https://gist.github.com/2858346
13:15 mandreacchio that's kinda what I want to be doing anyway - now that I can do this normally I can make more headway, it's battling with the templates that's the hard bit
13:15 inokenty http://pastebin.com/2yuG4ryq
13:18 inokenty mandreacchio: Use iterators instead of array indices
13:20 Akron mandreacchio: In that way you are requesting the resource multiple times - that's not neccessary. https://gist.github.com/2858370
13:21 * sri likes inokenty's solution
13:21 inokenty ^_^
13:22 Akron Yeah - map is a good idea.
13:24 mandreacchio cool, well they're good soluttoins
13:24 mandreacchio *solutions
13:24 mandreacchio thanks, I've run them and they work awesom
13:25 mandreacchio inokenty: looks more elegant!
13:25 mandreacchio so I can make my way around this stuff - though I'm struggling at getting that data into the template file
13:26 Akron Just put the array in the stash.
13:27 mandreacchio Akron: ah right
13:32 Akron mandreacchio: Or better: The array reference.
13:35 mandreacchio Akron: sigh: https://gist.github.com/2858456
13:35 mandreacchio maybe I need to read up on how to deal with these template areas
13:36 mandreacchio my editor doesn't give me any syntax highlighting
13:36 mandreacchio and the syntax is different to usual
13:37 Akron mandreacchio: Read my "better:" comment. ;)
13:39 Akron $self->stash(items => \@items);
13:43 inokenty mandreacchio: http://pastebin.com/FaksMLGy
13:44 inokenty But I think you better look at my first example. It is non-blocking
13:44 mandreacchio inokenty: it werks
13:45 mandreacchio I was getting to something like that but the errors - oh the errors
13:46 mandreacchio how can I get better at this?
13:46 mandreacchio I'm going to be pumping away at this for a few days I think but gee it's tough going
13:47 Akron mandreacchio: http://search.cpan.org/~tempire/Mojoli​cious-2.98/lib/Mojolicious/Guides.pod (There's also a section for basic perl guides, if this is your problem).
13:49 inokenty I prefer http://mojolicio.us/perldoc =) Much better for reading
13:50 mandreacchio I don't consider my perl to be necessarily bad, of course it's not great though there's usually more than one way to do it
13:52 mandreacchio thank god it just works in Mojo
13:53 mandreacchio I was on this other forum and these guys were trying to get me to do it in like 4 different modules
13:53 mandreacchio xml::twig then Dancer, then LWP::simple then tt
13:54 mandreacchio screwing around with that would take a million yeard
13:58 Akron mandreacchio: Dancer has no simple CSS-selector style thing? Well xml::twig is great - I use it for really large files (> 1 GB), but I think for your task the Mojo ecosystem is excellent.
13:58 mandreacchio yeah this is a pretty elegant solution
13:58 mandreacchio I'm sure once I get my head around it it'll be a sinch
13:59 mandreacchio not much needs to get written either which is a big bonus
14:02 Akron inokenty: Oh, I didn't know /perldoc directly leads to the guides. Thanks for the hint.
14:08 gryphon joined #mojo
14:28 GitHub113 joined #mojo
14:28 GitHub113 [mojo] kraih pushed 1 new commit to master: http://git.io/OS2_eg
14:28 GitHub113 [mojo/master] better Mojo::DOM tests - Sebastian Riedel
14:28 GitHub113 left #mojo
14:30 andrefs joined #mojo
14:36 sri hmm
14:36 sri $dom->replace(...) currently returns the replaced element, i wonder if that's wrong
14:38 sri it can't return the new element, since there might not be one, so the alternatives are replaced element, parent or root
14:40 mandreacchio not sure why this isn't getting through: http://www.gitpaste.com/paste/706/
14:40 mandreacchio seems there's something wrong with me trying to go though the tree a little more
14:40 mandreacchio thumbnail  => $_->thumbnail->url->text,
14:41 inokenty Because not all items has tab <thumbnail>
14:41 inokenty *tag
14:43 mandreacchio ah crap how do I get around that?
14:44 inokenty http://pastebin.com/eHZmn1s5
14:45 mandreacchio it's all in the syntactical sugar
14:46 inokenty Or http://pastebin.com/4BmbRtiM
14:46 mandreacchio thanks inokenty
14:47 gryphon_ joined #mojo
14:48 gryphon__ joined #mojo
15:05 asarch joined #mojo
15:09 GeorgeJetson joined #mojo
15:16 mandreacchio hey I've got a pretty tricky question now
15:17 mandreacchio I've created the next part but these need to join together now
15:17 mandreacchio so navigating from one part should go to the next
15:17 mandreacchio like in the first part I would click on a category link
15:18 mandreacchio then I'd get all the items in that category
15:18 mandreacchio so I need to some how get 'category' and then use a variable from the last page to be put into the next
15:18 mandreacchio and then reference the API from there
15:18 inokenty Have you seen my first example?
15:18 inokenty (13:32:12) inokenty: mandreacchio: http://pastebin.com/dqe9By9q
15:20 mandreacchio …inokenty how'd you do that so quick?
15:21 inokenty I've done it about 5 hour ago =)
15:21 inokenty Read the history
15:22 Akron Timetravelling is cheating!
15:22 inokenty s/hour/hours/
15:26 Akron Robots, vikings, timetravvelers ... it's no fun being human in this channel. ;)
15:26 inokenty =)
15:26 mandreacchio inokenty: holy crap you did this ages ago
15:26 mandreacchio well I've learnt a lot
15:27 mandreacchio so this isn't in vain
15:27 Akron Going off. Doing human stuff.
15:27 Akron Bye.
15:27 mandreacchio Akron: see ya
15:27 mandreacchio Akron: thanks for the help
15:31 GabrielVieira joined #mojo
15:40 gryphon joined #mojo
15:45 gryphon Would anyone know how to change morbo's watch list dynamically during runtime?
16:17 mandreacchio hey inokenty there's one last thing - I've been playing with this to get it to format how I like etc..
16:18 mandreacchio the problem is that because of the $way it uses the urls it doesn't allow to go to another level deep in the api
16:19 mandreacchio the item html is going to item_uri
16:27 alexeiras joined #mojo
16:32 marcus hay
16:38 mandreacchio o hai marcus
17:07 d4rkie joined #mojo
17:13 vel joined #mojo
17:24 mandreacchio I'm leaving this question pending but would like to know how to put regex in routes
17:25 mandreacchio I need to regex a route that looks something like this" \/category\/\d+
17:33 preflex_ joined #mojo
17:48 stephan48 what would be the best way to persitent an ldap connection between user requests?
17:50 stephan48 i got an connection authenticated as the user logged in, and want to persist this across the user session...
17:50 marcus mandreacchio: http://mojolicio.us/perldoc/Mojolicious/Gu​ides/Routing#More_restrictive_placeholders
17:51 stephan48 one way would be to encrypt the userpassword into the user session and make a new connection on each request
17:59 mire joined #mojo
18:16 sri hmm
18:16 sri textmate2 and chocolat are still unusable :(
18:16 sri marcus: build me a better editor!
18:30 marcus sri: I've been using TM2, so I am pretty sure it's not unusable
18:30 marcus it's not done yet tho.
18:30 sri i can't stand the window closing constantly
18:32 sri always having to think about keeping one last file open is so distracting i get much less work done...
18:40 * sri switches back to TM1
18:49 * sri goes to get ice cream o/
19:00 mattastrophe joined #mojo
19:06 stephan48 any idea or my problem?
19:06 stephan48 sri: paul evans has btw resolved the problem with IO::Socket::IP, he has submittet a patch to IO::Socket::SSL to use the former when its available
19:38 sri stephan48: i know, he told me :)
19:38 stephan48 :)
19:38 sri forget about your ldap problem, it will never work
19:42 stephan48 somehow i need it to work tho
19:42 stephan48 cause my app uses ldap as backend
19:44 sri then you can only have one server process
19:44 stephan48 so encrypt user password into session?
19:45 * sri doesn't follow
19:47 stephan48 1. i need a anon connection, for read access to the directory, 2. another connection logged in as current user to the ldap server, with that i can make changes with the users permissions
19:47 stephan48 basically i just need the anony connection for non loggedin users and the second for logged in
19:48 stephan48 one possibility would be for every change to be done to ask the user for his password again, so i can login to ldap athoc, or storing it
19:48 stephan48 or the bad way: having only one server process
19:48 stephan48 and then keeping a hash around
19:52 marcus sri: http://nordaaker.com/docs/ski​tch/Noir-20120602-215216.jpg
19:54 sri marcus: ?
19:54 marcus sri: clojure based mvc framework. :)
19:54 stephan48 basically the only problem is the auth
19:55 sri i've seen noir, anything special i might have overlooked?
19:57 marcus sri: was just curious what you think about it.
19:58 sri don't really have an opinion i'm afraid
19:58 marcus I have a client who's fine with anything that runs on the jvm, so we're considering clojure for some of that.
19:58 marcus mkay
19:58 sri i bet some lisp for a change will be fun
19:58 marcus I find it interesting that they generate markup from clojure constructs.
19:59 marcus it's either lisp  I guess :)
19:59 marcus lisp or lua even
19:59 sri well, how would  you embed lisp in a template? :)
20:00 marcus <% (foo bar (baz) %>  ?
20:00 marcus ooops
20:00 sri !
20:09 andrefs joined #mojo
20:09 * tempire thinks that if the jvm is required, clojure is the only option
20:12 tempire lisp template engines are similar enough to html for designers to understand, I would think.
20:12 tempire but then again, I don't understand designers who don't know a little programming.  they are a mystery to me.
20:14 marcus yepp
20:23 xaka1 joined #mojo
20:33 preflex_ joined #mojo
20:34 tempire crap!
20:34 tempire http://www.youtube.com/watch?v=94YvrgIbJA8
20:34 * tempire runs scared
20:36 sri tempire: you don't care about the inconsistency between ->remove and ->replace_content('')?
20:37 tempire I don't see it as inconsistent, just more obvious.
20:37 sri there would be ->remove, ->replace('') and ->replace_content('')
20:41 * sri shrugs
20:41 tempire I hear you, I just don't see that it's much of a problem.
20:41 tempire I can't see that remove will ever need to be more than ->replace('')
20:41 sri until someone wants to make it faster :)
20:42 sri "replace creates a new parser instance...yada yada yada"
20:42 tempire that's true
20:43 sri replace already has multiple edge cases
20:43 sri like calling it on the root of a tree
20:43 sri those double with remove too
20:44 sri every optimization in the tree structure will affect both
20:45 tempire well.  I'm +0.5 then.
20:45 sri heh
20:46 sri it won't pass anyway unless the others decide to vote
20:49 sri i'm actually more concerned about the ->replace return value
20:50 sri say $dom->parse('<div><h1>A</h1></​div>')->at('h1')->replace('');
20:50 sri what would you expect that to say?
20:51 sri (don't try it) ;p
20:51 tempire I would expect it to return h1
20:51 tempire well, I would expect remove to return h1
20:51 sri YOU CHEATED!
20:52 tempire I didn't cheat.  I promise!
20:52 sri ok :(
20:52 sri say $dom->parse('<div><h1>A</h1></div>​')->at('h1')->replace('lalalala');
20:52 sri same there?
20:53 tempire I would expect that to return lalalala
20:53 tempire which does present a problem
20:53 sri huge problem
20:54 sri returning plain text would be useless, and text nodes can't be wrapped in Mojo::DOM
20:58 sri not sure why you would expect different result though
20:58 sri *+s
20:59 sri one is replaced with an empty text node the other with some text
20:59 tempire I don't, really.  My expectation was coming from thinking about ->remove
20:59 tempire looking at replace again makes me think that it should just return an empty list
20:59 sri i think that makes it worse :)
21:00 tempire Now I see the inconsistency you're talking about.
21:00 sri empty list would be useless
21:00 tempire It would just make it consistent with how I would expect remove to work.
21:01 * tempire changes his vote to +0.3
21:01 sri only useful return values i could think of is the replaced element, parent, or root
21:01 tempire that's why I say an empty list, for no replaced element
21:01 sri replaced element as in the old element
21:02 preflex_ joined #mojo
21:02 sri it can't return the new element, since there might not be one
21:02 mire joined #mojo
21:02 sri replacement might just be a text node
21:03 tempire that inconsistency of what replace *might* return makes me curdle
21:03 sri $dom->replace('<p>Foo</p>') would be a simple case $dom->replace('Foo') is what makes it tricky
21:03 sri the return value of replace is consistent atm, it's the old element
21:04 marcus sri: I'm opposed
21:05 sri marcus: -1 on github!
21:05 marcus okies
21:06 sri $dom->replace_content(...) is so much easier
21:07 GabrielVieira2 joined #mojo
21:16 sri hmm
21:17 sri the removed element still contains a reference back to its parent
21:17 sri wonder if that's a feature
21:17 sri perl -Mojo -E'say x("<div><p>lalala</p></div>")->​at("p")->replace("la")->parent'
21:23 sri perhaps replace should just return the parent element
21:28 marcus hmm, simple_form looks nice - https://github.com/plataformatec/simple_form
21:28 GitHub78 joined #mojo
21:28 GitHub78 [mojo] kraih pushed 1 new commit to master: http://git.io/2K7USQ
21:28 GitHub78 [mojo/master] better replace tests for Mojo::DOM - Sebastian Riedel
21:28 GitHub78 left #mojo
21:28 sri since nobody seems to have a better idea i'll just keep it the way it is ;)
21:31 sri marcus: but you need to pick a model layer
21:31 marcus sri: I think that's a good thing tho
21:31 sri easy in ruby, not so much in perl
21:32 marcus ah, I see what you mean. I kinda meant I think it's good it is not AR only. Anyways, the helpers still have a lot of non-model things.
21:33 sri ah
21:35 xaka1 joined #mojo
21:40 GitHub12 joined #mojo
21:40 GitHub12 [mojo] kraih pushed 1 new commit to master: http://git.io/Uy2aHg
21:40 GitHub12 [mojo/master] fixed a few Mojo::DOM examples - Sebastian Riedel
21:40 GitHub12 left #mojo
21:41 sri i think they were misleading
21:42 mire joined #mojo
21:42 marcus hmm
21:43 marcus not sure if adding ->root made them much clearer
21:43 marcus given that the examples ignore the return value
21:43 sri result is shown in the comment
21:45 test12312321 joined #mojo
21:50 marcus the_real_batman
21:50 sri seems legit
21:50 marcus not really, but it's probably jan henning.
21:51 i_am_batman_ffs huh?
21:51 marcus yes
21:53 sri http://www.kickstarter.com/p​rojects/ibdknox/light-table # seems all you need is a flashy marketing video these days and it starts raining money
21:53 marcus you also need to be american
21:53 * marcus looks at tempire
21:53 sri right
21:54 i_am_batman_ffs http://www.diigo.com/ <-- i'm testing this now. anyone else got a suggestion of a bookmark tool that doesn't make my head explode?
21:56 marcus i_am_batman_ffs: pinboard.
21:57 i_am_batman_ffs why is it awesome?
21:57 marcus https://pinboard.in/tour/
21:58 i_am_batman_ffs looks good.
21:59 i_am_batman_ffs i'll give it a go
22:00 tempire marcus: why do you think I've been learning video production :)
22:01 marcus tempire: I assumed it was for porn.
22:01 marcus ;)
22:01 sri is there a kickstarter for porn yet?
22:02 marcus pornstarter
22:02 i_am_batman_ffs marcus: have you integrated pinboard with you browser?
22:02 marcus i_am_batman_ffs: I don't use it. I don't use any bookmark service
22:02 i_am_batman_ffs what do you use?
22:02 marcus if I used one I would use pinboard tho.
22:02 marcus i_am_batman_ffs: google
22:03 i_am_batman_ffs i used to use google, but i don't like it...
22:03 tempire simpleform looks an awful lot like lisp templates
22:03 marcus i_am_batman_ffs: I used to use delicious, and magnolia
22:04 marcus i_am_batman_ffs: but now I don't save bookmarks anymore.
22:04 vel joined #mojo
22:04 marcus I favorite stuff in google reader and twitter sometimes tho
22:04 marcus hmm, I saw pinboard can archive my twitter accounts
22:04 marcus might be worth it just for that.
22:04 i_am_batman_ffs i'm thinking about just using google history in chrome :P
22:05 i_am_batman_ffs s/google history/history/
22:05 marcus just paid the pinboard one time fee
22:05 marcus now that I've given maciej two cups of coffee, I guess I have to start using it.
22:06 i_am_batman_ffs :)
22:06 i_am_batman_ffs i'm going for the $25 version...
22:07 marcus big spender
22:07 i_am_batman_ffs yeah, i'm crazy
22:24 heytrav joined #mojo
22:28 heytrav left #mojo
22:29 i_am_batman_ffs "Your bookmarks have been imported." :)
22:30 i_am_batman_ffs how exiting
22:31 marcus all my bookmarks are belong to pinboard https://pinboard.in/u:marcusramberg
22:43 gryphon joined #mojo
22:46 sri hmm
22:46 sri https://github.com/kraih/mojo/blo​b/master/lib/Mojo/Headers.pm#L91
22:47 sri it appears that method is the most performance relevant part of mojolicious
22:47 test12312321 joined #mojo
22:51 i_am_batman joined #mojo
22:58 marcus makes sense
23:00 sri sadly yes
23:01 i_am_batman joined #mojo
23:03 i_am_batman left #mojo
23:27 andy82 hey guys - I need help with getting these routes woking - I want the first link to maybe not go to /way* but to /category/way* for example - and then the next link to go to /item/way* I've trie during regex but this hasn't helped https://gist.github.com/2860450
23:29 GitHub149 joined #mojo
23:29 GitHub149 [mojo] kraih pushed 1 new commit to master: http://git.io/AsplNA
23:29 GitHub149 [mojo/master] improved message parser performance slightly - Sebastian Riedel
23:29 GitHub149 left #mojo
23:43 Leandr joined #mojo
23:58 kthakore joined #mojo

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