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

IRC log for #mojo, 2017-10-13

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

All times shown according to UTC.

Time Nick Message
00:49 jberger joined #mojo
00:50 jberger blast, I managed to bring down eth0 on the server I'm using to host convos :(
01:04 * Grinnz applauds
01:04 * jberger bows
01:04 jberger actually I'm pretty sure I just removed all its ip addresses
01:04 jberger oh well
01:13 mohawk if an eth0 has no ip addresses in the forest, is there truly a sound?
01:25 jberger by experimental result: no
01:26 mohawk science, people
01:26 mohawk i may have edited that
01:32 jnbek joined #mojo
02:18 jberger_ joined #mojo
02:19 mohawk jberger_ gets that feeling, needs textual healing
02:19 jberger Ummmmmmm
02:20 jberger Mostly I don't want it disconnecting when my lappy sleeps
02:20 jberger So AndChat on my phone tonight
02:20 jberger tomorrow I'll go in to the datacenter and console myself out of this mess
02:21 mohawk i wish windows hexchat would a) not have a blurry anti-aliased font; b) would get the "i'm going to sleep" signal so it would at least signout instead of timing out minutes later
02:34 noganex_ joined #mojo
02:49 jnbek joined #mojo
04:04 dboehmer_ joined #mojo
05:01 aborazmeh joined #mojo
05:23 inokenty-w joined #mojo
06:02 dod joined #mojo
06:08 dod joined #mojo
06:18 rba_ joined #mojo
06:58 AndrewIsh joined #mojo
07:12 marcus jberger: enoconsole?
07:26 trone joined #mojo
07:39 rba joined #mojo
07:43 Vandal joined #mojo
07:47 zach would it be weird to log a mojo app to syslog?
07:49 batman zach: i do that. that way i don't have to worry about creating log files, rotating them and file permissions
07:49 zach batman: do you use Sys::Syslog?
07:59 batman yeah.... not very happy with it, but it seems to get the job done.
08:14 aborazmeh joined #mojo
08:34 rshadow joined #mojo
08:34 prg joined #mojo
09:09 petru joined #mojo
10:19 jamesaxl joined #mojo
10:28 jamesaxl joined #mojo
10:42 tchaves joined #mojo
10:59 margeas joined #mojo
11:34 jamesaxl joined #mojo
11:37 jberger marcus: no console. This is my personal colo
11:37 jberger If this were a customer box (especially a newer one) we'd have things I could do
11:38 jberger And even then I could have asked one of the night shift to go reboot it for me. But it wasn't worth it
11:41 jberger Actually one of my projects here has been to build out of band console access for the newer servers. Once that's really up and going I'll try to upgrade my colo and get it on there
12:30 odc Friendly reminder that you are supposed to send all your logs to stderr and let docker/systemd collect them.
12:31 ChmEarl joined #mojo
12:43 trippeh joined #mojo
13:02 jberger_ joined #mojo
13:12 gizmomathboy joined #mojo
13:20 bc547 joined #mojo
13:39 batman odc: does't work with hypnotoad
13:41 odc batman: even with option -f ?
13:41 odc i don't remember ^^
13:42 CandyAngel Also doesn't work if you don't use docker/systemd :P
13:42 batman then i would rather just use "prefork"
13:42 odc hm yeah
13:42 sri think it even works with hot deployment if you do -f
13:43 sri STDERR should stay attached after fork exec
13:51 jberger joined #mojo
13:51 jberger__ joined #mojo
13:56 jberger_ joined #mojo
14:03 tcohen joined #mojo
14:10 gryphon joined #mojo
14:19 jberger joined #mojo
14:22 jberger__ joined #mojo
14:28 jberger joined #mojo
14:34 jberger_ joined #mojo
14:36 gordonfish joined #mojo
14:38 jberger__ joined #mojo
14:39 jberger woooo!
14:40 jberger I even had the command to fix things in my shell history
14:41 jberger I just couldn't get there to do it
14:41 jberger all better now (though I still don't have ipv6 to my box)
14:42 CandyAngel Yay, go jberger!
14:42 jberger I mean, yay I fixed the ridiculous blunder I caused myself last night by randoming copypastaing network commands from SO into my terminal!
14:42 jberger I'm a rockstar :P
14:54 CandyAngel When we make a big mistake, don't fret - let's celebrate!
14:57 CandyAngel (I don't know why you would celebrate a mistake, unless it had a really good outcome, but that is kids TV shows for you)
15:16 webart joined #mojo
15:25 mohawk CandyAngel, you could choose to celebrate learning something! (after the fire is put out and the pets are taken to hospital, obviously)
15:40 kaare joined #mojo
15:42 ChmEarl joined #mojo
15:56 jberger :D
15:56 jberger yeah, I learned not to flush my ipv4 addresses in hopes of getting ipv6 working
15:57 jberger I mostly have that now too though, so yay
15:57 jberger I can ACTUALLY start celebrating
15:57 jberger (waiting for my ipv6 glue records to propagate through poland)
15:57 mohawk would be interesting to have something for IP config like windows's display-change: "do you like this? else will revert in 20... 19..."
15:58 jberger especially in cases like this!
15:58 mohawk mainly for cases like this ;-)
15:58 jberger actually it did seem to fix the problem I was having, it just had ... side effects :D
15:58 mohawk "i did something dumb! i want to undo it. but the dumb thing stops me undoing it."
15:59 jberger so at the university, I was remotely doing an OS migration
15:59 jberger ubuntu, probably around 10.04 or so
15:59 jberger and when you do that, it opens an additional ssh port on a non-standard port, so that you can connect to that if your current session corrupts
16:00 jberger EXCEPT
16:00 jberger the university had just rolled out some new-fangled protection that was apparently sniffing for ssh on non-standard ports
16:00 jberger shut down networking for the whole box, right in the middle of the OS upgrade
16:01 jberger GAH! I still haven't forgiven them for that
16:11 maschine heh.. reminds me when I was installing a new OS and talking to my mom on the phone at the same time.. formatted the wrong drive.  Oops.  :|
16:12 maschine I actually managed to recover the contents of the drive, miraculously.
16:13 jberger yeah, I'm uber careful when it comes to formatting drives
16:13 jberger triple check everything
16:15 maschine I was distracted because my mom was probably ranting about some conspiracy theory or something lol
16:28 jberger yeah ....
16:39 CandyAngel \o/ More parts for my CNC milling machine have arrived!
16:42 preaction woo!
16:44 jberger oh man, that would be so much fun!
16:45 CandyAngel It's only going to be a little desk one, but it will be cool
16:45 CandyAngel If it works and isn't garbage :P
16:47 CandyAngel Well, I say little
16:47 CandyAngel 38x38cm cutting area
17:23 rshadow joined #mojo
17:30 dod joined #mojo
17:31 trone joined #mojo
17:31 trone joined #mojo
17:34 trone joined #mojo
18:02 gryphon joined #mojo
19:31 maschine So I'm still fairly stuck on Mojo::Pg::Migrations - basically what I want to do is be able to add a column, table, etc. without having to restart my whole app
19:33 brunoramos joined #mojo
19:36 maschine I can add a column with a query, but wierd things happen until I restart the app.  If I use a migration, it seems to 'lock up'
19:36 maschine there must be something simple I'm overlooking
19:36 jberger migrations are just a query
19:37 jberger the only possible difference is that they are inside a transaction
19:37 maschine yeah that's what I gathered
19:38 maschine so how do I change the schema without a restart?
19:39 jberger if you change it in a way that affects how the app will behave, then you'll need to restart the app
19:39 jberger nothing you can do about that
19:39 jberger after you do the migration in another process, then you'd do a hypnotoad hot-restart
19:40 maschine well, yes, I suppose at some point I would have to
19:40 maschine but assuming it wouldn't directly affect my app immediately?
19:41 jberger as I say, just do it in another process
19:41 maschine outside of Mojo?
19:41 jberger you can use the eval command or build yourself a deploy command that wraps it
19:41 jberger ./myapp eval 'app->pg->migrations->migrate'
19:42 jberger assuming you have a pg instance in a helper or an app attribute
19:42 jberger which is often the case
20:01 mib_q4iqwh joined #mojo
20:09 mib_q4iqwh left #mojo
20:11 vatay joined #mojo
20:13 vatay left #mojo
21:08 CandyAngel Are there any Mojo modules which render HTML as plaintext?
21:12 Grinnz setting format => txt when rendering should be sufficient
21:12 CandyAngel Er, sorry, should be more clear
21:12 CandyAngel So it doesn't output the tags, but it is formatted
21:12 Grinnz oh, *render* html
21:12 CandyAngel Like viewing it through a text web browser
21:13 Grinnz i dont really know of anything that does that except browsers, though maybe
21:13 CandyAngel HTML::FormatText does it, just wondering if if existed in Mojo
21:13 CandyAngel Will probably make a Mojo::DOM version of HTML::FormatText :P
21:14 Grinnz dont know of anything, so by all means
21:14 CandyAngel ^_^
21:14 Grinnz all HTML::FormatText does is run external programs though, not really mojo specific
21:15 CandyAngel It.. doesn't. It takes in HTML::TreeBuilder and "renders" it to text
21:15 Grinnz ah i'm looking at the wrong dist
21:15 CandyAngel Hence why I think a Mojo version would be do-able :D
21:30 preaction there's Syntax::Highlight::Engine::Kate
21:30 preaction that's what I use in Statocles to do that
22:01 mrEriksson sri: A but late in my reply now, but yes, I noticed that when browsing the docs :) Thank you! I appreciate it!
22:40 maschine jberger - I decided it wasn't worth the trouble to do all that.  realistically, I'm only going to ever change my schema while I'm developing my app anyway - it reloads anyway when working on the development server
22:49 Grinnz most applications are developed long after they go live
22:52 maschine heh true
23:13 robx joined #mojo
23:15 rba joined #mojo
23:27 Zx3 joined #mojo
23:29 bobkare joined #mojo
23:29 kamyl joined #mojo
23:37 stephan48 joined #mojo
23:55 * genio remains impressed with The Orville thus far

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