Camelia, the Perl 6 bug

IRC log for #galileo, 2013-05-14

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

All times shown according to UTC.

Time Nick Message
01:44 Fatalnix damn cat!
01:44 Fatalnix her name is trollcat, and she just loves to lie on the keyboard.
01:46 jberger haha
01:46 berekuk joined #galileo
01:46 jberger is that really her name?
01:49 Fatalnix why not?
01:49 Fatalnix no, her name is elle but she should be called trollcat.
01:49 jberger dude I want a trollcat!!
01:50 Fatalnix she will literally climb on the bed when you're on the laptop and fall dead onto the keyboard then start purring.
01:50 Fatalnix plus she chews all of the wires up when i'm playing video games.
01:50 Fatalnix you don't want a trollcat.
01:52 jberger :-P
01:54 Fatalnix I should probably install screen
01:55 jberger try tmux
01:55 Fatalnix haha.
01:55 Fatalnix I've seen it I believe
01:57 Fatalnix yay! http://9600-baud.net/page/home
01:57 Fatalnix ill have to template it tomorrow
01:57 jberger I really haven't tried
01:57 Fatalnix haha
01:58 jberger but I'd be happy to tweak things to make it easy
01:58 jberger theming is a necessary component of CMSes, but I'm really no graphics/frontend guru
01:58 jberger logic good / look bad
01:58 jberger not bad, hard
01:58 Fatalnix haha
01:59 Fatalnix I tell that to people so they dont hire me as a web designer
01:59 Fatalnix and hire me for dev instead
01:59 Fatalnix so I got my position as a network sysadmin
01:59 jberger indeed
11:17 Fatalnix wow. Galileo is the fastest, most responsive CMS I've ever seen
11:20 Fatalnix I've got high hopes for this software
12:21 jberger glad you think so
12:32 Fatalnix yeah, I'm going to show it off at work today
12:32 Fatalnix when I'm done figuring out why some of our servers are down to like 200 MB of ram..
12:36 Fatalnix jberger: are you aware of the bug where if you try to add a page, and close it and add another (without confirming them) then it duplicates the form field until you refresh the page?
12:36 jberger hmmm
12:36 Fatalnix at least it's happening on mine with no modifications, http://9600-baud.net if you wanted to check it out
12:37 Fatalnix oh wait I forgot thats a logged in thing
12:37 Fatalnix sigh derp :D
12:38 jberger I have an instance here
12:38 Fatalnix okay it also happens on http://galileo-cms.herokuapp.com/page/home#
12:38 Fatalnix figured
12:38 Fatalnix I think that's the only thing I've found
12:39 jberger woah, thats wierd!
12:39 jberger ok I'll take a peek
12:41 Fatalnix yesterday night I was like oh cool it sensed that I wanted to add more then one page, then I was like.. hold on...
12:42 jberger :-)
12:54 jberger hmmm, and since its javascript generated, its hard to test
12:55 jberger I think I might investigate making this a server-side template
12:57 Fatalnix do you think it could just be javascript itself? every time it's clicked it spawns a new set
12:57 jberger it has something to do with my wrapper functions
12:57 Fatalnix ah
12:58 jberger https://github.com/jberger/Galileo/blob/mast​er/lib/Galileo/files/public/galileo-modal.js
12:58 jberger but since its js, I can't test them and I wish I could
12:58 jberger yes I know there's Selenium, but thats a new ballgame
12:59 Fatalnix never heard of it
12:59 Fatalnix ooh that's kind of neat
13:02 jberger to get proper credit, do you want to open a bug on Galileo while I work on this?
13:02 jberger if not, no biggy
13:03 Fatalnix I can open a bug for historical purposes however I'm in no desire for credit :D
13:04 Fatalnix do you have a ticket system up?
13:10 jberger on github
13:10 Fatalnix oh, yeah
13:10 jberger don't worry about it
13:10 Fatalnix maybe I can remember my pass
13:21 Fatalnix Going to try and start templating this at lunch, in the meantime, I've got to think of a cool design that fits 9600
13:49 Fatalnix jberger: Are you familiar with Dist::Zilla's plugin system?
13:49 jberger somewhat
13:49 Fatalnix I think it's the most fantastic thing ever, dunno why
13:50 jberger I think its cool in concept, but for a build system I think I've moved away from dzil again
13:50 Fatalnix I almost wondered if that would be a good fit for Galileo components, to keep them seperated from the core and use some sort of galileo websocket role
13:52 Fatalnix I'm using the plugin system in my MUD client, working on making it so it spawns remote programs for things like ui event loops that will behave with reflex. dngor is a bit excited
13:54 jberger websockets are rather central to the workflow in Galileo
13:54 jberger and I think they always will be
13:55 jberger I'm trying to keep them out of the viewer's necessity since its still not 100% supported
13:55 jberger but almost all browsers support them now
13:55 Fatalnix I think that websockets are a good design template for a CMS
13:55 jberger and nginx handles them
13:56 Fatalnix heh. I'm using nginx
13:56 jberger not sure I understand you
13:57 Fatalnix I don't mean template as in the design and layout of a page
13:57 Fatalnix I meant in terms of the fact that I think it is a good idea to centralize a CMS around a websocket API
13:57 Fatalnix of sorts
13:58 jberger right, that's what I'm working towards
13:58 jberger it would be rather hard to make that pluggable though
13:59 Fatalnix yeah, I haven't been able to really look into the code yet
13:59 Fatalnix to see how it was put together
14:01 jberger its very event-based, all non-blocking
14:01 jberger maybe why its so fast :-)
14:01 jberger it would be hard to try to replace it all with XHR or something
14:01 Fatalnix yeah. well not to mention its live, the page doesn't always need to refresh to view new resources
14:02 jberger mostly
14:02 jberger the menus are less so, but that's probably acceptable loss
14:02 Fatalnix it will be very cool to see a captcha that doesn't need some gawd ugly redirect page to check for errors, etc
14:02 Fatalnix and related
14:03 jberger so far it doesn't have any support for user-created accounts, so no captchas yet
14:03 jberger so far you have to be admin added
14:03 Fatalnix yeah
14:04 jberger seemed the easiest way to do control, but thats been on my list
14:05 Fatalnix Is it possible to put perl code into the editor?
14:05 Fatalnix I haven't tried that yet.
14:13 jberger into the page editor?
14:13 jberger meaning to display perl code or to make it run?
14:13 jberger the editor is the same one as used by stackoverflow
14:13 jberger but nothing you up in there is run
14:13 jberger (horrifically dangerous)
14:14 Fatalnix ah. Yeah, I know it. Bad idea overall :D
14:21 jberger vti has something working
14:21 jberger perltuts.org ?
14:22 Fatalnix sure its not .com?
14:23 Fatalnix huh. is this built on galileo?
14:23 jberger maybe
14:23 jberger no
14:23 jberger its his own thing
14:23 jberger to my knowledge there is nothing "built on galileo"
14:23 Fatalnix ah
14:23 jberger people who use it, use it as-is
14:24 jberger but progress is good
14:24 jberger I'm all for "built on galileo"
14:24 jberger just needs to grow into that
14:25 Fatalnix Yeah, it's looking pretty dandy for only being 10 or so months old
14:25 Fatalnix considering especially since I start 100 projects and never get anything done unless I'm at work heh
14:25 jberger the request I get a lot is for deeper paths to pages
14:26 jberger \/my/page/name/here
14:26 Fatalnix yeah
14:26 jberger I've got some thoughts about how to do that, but its not as easy as one might suspect
14:26 Fatalnix wouldn't that require some sort of recursive routing?
14:26 jberger yes, except that the router become fixed once request have been served
14:27 Fatalnix ah.
14:27 jberger so if people would want to add routes like that to a running app ....
14:27 jberger my plan is to make a more generic route like /*path/:page
14:27 jberger then figure out how to deal with the matched path
14:27 Fatalnix an additional layer of abstraction, but maybe a thin proxy between the page and the route it belongs to? ah.
14:28 jberger yeah, I'm considering all these things
14:28 jberger for the time being though, my usual response is "if its good enough for wikipedia ..."
14:28 jberger I see why its wanted, but people seem to expect that its easy and its not in this case
14:29 * jberger is liking the modal rewrite
14:29 Fatalnix heh. I really don't think that websites should have paths like /fooo/bar/etc unless that is a rewrite anyways, and I think it is because mojolicious routes are designed in a way that you are asking for resources, and presenting them as resources, you aren't asking for resources at locations and expecting a resource to be behind some sort of directory transversal
14:30 Fatalnix I understand using rewrite to make /foo?content=bar&biz=baz
14:30 Fatalnix from something like /bar/baz
14:31 Fatalnix mayeb I'm the only one who thinks that way
14:31 Fatalnix maybe*
14:40 jberger well I get asked for it often
14:40 jberger its a long-term plan, not short-term
14:41 Fatalnix I'd imagine. I think a lot of people are still in sync with the idea that resources are files within directories though on any webserver
14:41 Fatalnix starting from docroot
14:44 Fatalnix I kinda wish everyone here was using galileo now
14:44 Fatalnix you don't even want to know what my job is at work at the moment
14:46 jberger haha
14:46 jberger well I'm glad you like it
15:42 nicolaus_copernicus joined #galileo
15:42 nicolaus_copernicus [Galileo01] jberger pushed 3 new commits to master: http://git.io/PCi7VA
15:42 nicolaus_copernicus Galileo/master 463e298 Joel Berger: working on modal rewrite
15:42 nicolaus_copernicus Galileo/master 7952cf4 Joel Berger: Modals are now generated by templates not javascript...
15:42 nicolaus_copernicus Galileo/master 6697ba3 Joel Berger: document changes, bump version
15:42 nicolaus_copernicus left #galileo
16:00 nicolaus_copernicus joined #galileo
16:00 nicolaus_copernicus [Galileo01] jberger pushed 1 new commit to master: http://git.io/JEkgKQ
16:00 nicolaus_copernicus Galileo/master 17ae0f0 Joel Berger: Date for 0.028 release...
16:00 nicolaus_copernicus left #galileo
16:00 jberger Fatalnix, 0.028 release with modal fix
16:00 jberger thanks!
16:02 Fatalnix oh col!
16:02 Fatalnix cool*
16:02 Fatalnix so what was happening?
16:03 jberger the way I was generating the modal somehow wasn't clearing the old modal data
16:03 jberger not sure why, but it was a javascript/jQuery thing
16:03 Fatalnix ah
16:03 jberger so rather than track it down, I just moved it to server-side where it probably should have been anyway
16:04 jberger now its testable etc
16:04 Fatalnix totally unrelated, but I might blame the first four letters of javascript.
16:04 jberger hehe
16:14 Fatalnix Im going to take lunch very soon, so ill upgrade :D
16:15 Fatalnix I should be able to just git pull..
16:15 jberger yeah if you're running it from a git checkout
16:15 Fatalnix tep
16:15 Fatalnix yep*
16:15 jberger there were no database changes, so it should just run
16:16 Fatalnix I noticed there was a dump command
16:16 Fatalnix in the pod
16:16 jberger n.b. when there are database changes you should rerun the `galileo setup` bit and do the upgrade database thingy
16:16 Fatalnix ah
16:16 jberger but it would essentially be a no-op this time
16:17 jberger yes there is a `galileo dump`
16:17 jberger it was a user requested feature
16:17 Fatalnix ah
16:17 Fatalnix are there plans for the opposite?
16:17 jberger its really a tiny script
16:17 jberger ?
16:17 jberger oh to import a bunch of pages?
16:17 jberger hmmmmm
16:17 Fatalnix yeah
16:17 jberger it would be harder
16:18 Fatalnix if its an sql dump then why bother
16:18 jberger no, dump writes lots of markdown files
16:18 Fatalnix ah
16:18 jberger its essentially a data-freedom/data-portability feature
16:19 jberger as you say, for true import/export use the database's functionality
16:19 Fatalnix woo it works! that was literally a 2 seccond upgrade
16:19 jberger \m/
16:20 Fatalnix now I just gotta find some food somewhere. I shoulda ate breakfast
16:22 jberger same
16:23 jberger Fatalnix, where are you? Must be somewhere near US central time
16:23 jberger Chicago here
16:33 Fatalnix EST actually
16:33 Fatalnix I'm from Maine, which isn't part of Canada like they say, but might as well be.
16:37 Fatalnix aww man, this sandwich expired 4 days ago
16:39 Fatalnix you know this all reminded me of how I wanted to redo gitweb once with mojolicious
16:40 Fatalnix but with github and bitbucket there is pretty much no reason for it
16:44 run4flat Fatalnix, perl's devs still use gitweb
16:44 run4flat so, they might appreciate it
16:44 run4flat :-)
16:44 Fatalnix wow you're alive :D
16:47 run4flat I'd say I've read about 30% of the conversation on this channel. :-)
17:22 ilbot2 joined #galileo
17:22 Topic for #galileo is now Chatter about Galileo CMS and GalileoSend websocket file sending protocol | logged at irclog.perlgeek.de/galileo/today
17:29 Fatalnix I was just showing Galileo off to one of my coworkers and she was quite amazed
17:29 Fatalnix especially with the responsiveness
17:30 jberger :-)
18:45 jberger_ joined #galileo
19:18 Fatalnix screw making a template, ill just modify this one: http://www.freewebsitetemplates.com​/preview/astronomywebsitetemplate/
19:18 Fatalnix it looks easy enough
19:18 Fatalnix I like the color scheme at least
19:18 run4flat why are you creating an astronomy website?
19:18 run4flat or... are you?
19:37 Fatalnix no. I will redo the template
19:37 Fatalnix however, in college, I was going to start a science program and build a radio telescope out of an old 10 foot diameter sattelite tv parabolic dish
19:37 Fatalnix which is just large enough to do things like take pictures of jupiter, etc
19:44 ilbot2 joined #galileo
19:44 Topic for #galileo is now Chatter about Galileo CMS and GalileoSend websocket file sending protocol | logged at irclog.perlgeek.de/galileo/today
19:53 Fatalnix eval join //, qw(H e l l o ,  W o r l d !);
20:01 jberger_ Fatalnix, ilbot2 is the log bot
20:02 Fatalnix oh.
20:53 Fatalnix jberger_: do you ever plan to support more than one menu at a time? Or is that already there and am I missing it
20:54 Fatalnix just one of the things that randomly came to mind
20:54 jberger_ I wrote it such that that should be possible, but haven't done it yet
20:54 Fatalnix ah
20:54 jberger_ it might be part of the path question really
20:54 jberger_ different paths might have submenus associated with them
20:54 jberger_ then again, those don't have to be related
20:55 jberger_ I would listen to a reasonable proposal
20:55 jberger_ https://github.com/jberger/Galileo/blob/ma​ster/lib/Galileo/DB/Schema/Result/Menu.pm
20:55 jberger_ hmmmm
20:56 jberger_ I'm not sure I like this architecture anymore
20:56 jberger_ that really should be a has_many to the referenced pages
20:56 * jberger_ tries to remember why he did it this wa
20:56 jberger_ y
20:59 Fatalnix because it was a good idea
21:00 jberger_ right now I'm storing the "menu" as a serialized json array
21:35 Fatalnix I realized as I was heading back from work that if it were an association, the files can still be flat and wikipedia like
21:35 Fatalnix I quite believe
22:03 Fatalnix run4flat: you might find this interesting, http://postimg.org/image/9ctxn7b7f/
22:03 Fatalnix its an old picture of mine ill be putting on my website I guess
22:03 Fatalnix I was programming a BIOS
22:03 Fatalnix by hand

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