code logs -> 2014 -> Wed, 12 Mar 2014< code.20140311.log - code.20140313.log >
--- Log opened Wed Mar 12 00:00:52 2014
00:22 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
00:22 mode/#code [+o himi] by ChanServ
00:29 Derakon[AFK] is now known as Derakon
00:54 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
00:54 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:44 HotShot [theeaznon@Nightstar-7fqvji.sfldmi.sbcglobal.net] has joined #code
02:11 HotShot is now known as q[o_O]p
02:30 iospace is now known as io\passed_out
02:31 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
02:38
< q[o_O]p>
[BesT/Mp3] Avril Lavigne - Losing Grip [08:21!7.65MB],
02:38
< q[o_O]p>
[BesT/Mp3] 3 Doors Down - Away from the Sun [03:57!3.62MB],
02:39 q[o_O]p was kicked from #code by McMartin [No warez here]
02:39 q[o_O]p [theeaznon@Nightstar-7fqvji.sfldmi.sbcglobal.net] has joined #code
02:39 mode/#code [+b *!*theeaznon@*.sfldmi.sbcglobal.net] by McMartin
02:39 q[o_O]p was kicked from #code by McMartin [No warez here]
02:39
<&Derakon>
Is that warez or just those insipid "this is what I'm listening to" scripts?
02:40
<&McMartin>
I figured the latter since it wasn't 8 minutes between them
02:40
<&Derakon>
Ah, point.
02:40
<@Reiv>
And it lists file size.
02:40
<@Reiv>
Which you don't normally mention in a 'what I'm listening to'
02:42
<&McMartin>
I'm willing to drop the ban on the off chance
02:42
<&Derakon>
Considering they didn't say anything else, yeah, that seems fair.
02:44
<&McMartin>
He's now complaining about it, so I will drop the ban
02:44
<@Namegduf>
You mean you figured the former?
02:44 mode/#code [-tn] by McMartin
02:44
<&McMartin>
Um, what
02:45 mode/#code [+nt] by Namegduf
02:45
<&McMartin>
Thank you
02:45
<@Namegduf>
No problem.
02:45
<@Namegduf>
Easy error to make.
02:45
<&McMartin>
I seem to not be able to make unbanning work, can someone pick that up and also mention how it's done~
02:45 mode/#code [-tn] by Namegduf
02:45 mode/#code [-b *!*theeaznon@*.sfldmi.sbcglobal.net] by Namegduf
02:45
<@Reiv>
Why is he complaining while posting filespam?
02:45 mode/#code [+nt] by Namegduf
02:45
<@Namegduf>
/mode -b *!*theeaznon@*.sfldmi.sbcglobal.net
02:45
<@Reiv>
If he is complaining, have you told him to disable the script?
02:45
<@Namegduf>
Space important
02:45
<&McMartin>
I pointed out to him that filespam is not permitted
02:45 q[o_O]p [theeaznon@Nightstar-7fqvji.sfldmi.sbcglobal.net] has joined #code
02:46
<&McMartin>
Don't do filespam here
02:46
<@Reiv>
Very good then.
02:46
< q[o_O]p>
there is no file...
02:46
<@Reiv>
(Or for that matter, anywhere on the network - it's against the rules.)
02:46
<@Reiv>
[15:38] <q[o_O]p> [BesT/Mp3] Avril Lavigne - Losing Grip [08:21!7.65MB], [15:38] <q[o_O]p> [BesT/Mp3] 3 Doors Down - Away from the Sun [03:57!3.62MB],
02:46
<@Reiv>
See that? Don't do that.
02:48
< q[o_O]p>
whats wrong with that?
02:50
<@Reiv>
Short answer: It got you banned, so presumably it's bad, yeah?
02:50
< q[o_O]p>
yeah but what rule am i breaking....
02:51
<@Namegduf>
Posting messages registers as activity. Registering activity draws people's attention to the channel.
02:51
<@Namegduf>
Drawing people's attention for things that are not people saying things which are of at least plausible interest is kind of obnoxious.
02:51
<@Namegduf>
tl;dr version: "At the minimum, spam."
02:52
<@Reiv>
And #Code is a dedicated channel to programming, computing, and related puzzles, problems, and philosophies. The people paying attention in here are looking for relevant discussion.
02:53
<@Reiv>
We also try to keep general how-was-your-day style chatter to a minimum for similar reasons.
02:53
<&Derakon>
Or at the very least, they're looking to chat with people they actually know and therefore care about~
02:53
<@Reiv>
Derakon: Even then! We have other channels for that.
02:53
<&Derakon>
Well, this is true.
02:55 Kindamoody[zZz] is now known as Kindamoody
02:55
<~Vornicus>
So just now I had a crazy stupid thought: a "screen" made of magnet-controlled googly eyes
02:56 Turaiel[Offline] is now known as Turaiel
03:00
<~Vornicus>
I have no idea how that would be even slightly useful except as a ridiculous art gallery installation
03:01
< [R]>
http://s3-ec.buzzfed.com/static/2014-03/enhanced/webdr08/9/5/enhanced-16525-1394 358106-6.jpg
03:03
< q[o_O]p>
lol
03:06
<~Vornicus>
oh oh. yes, ridiculous art gallery installation. And then you hook up a kinect or something and the googly eyes pick somebody to look at.
03:08
<@Reiv>
That's actually pretty brilliant
03:16 q[o_O]p [theeaznon@Nightstar-7fqvji.sfldmi.sbcglobal.net] has quit [[NS] Quit: bored]
03:18
<@Reiv>
And this is why I do not generally bother being excessively educational to lamer newbies.
03:18
<@Reiv>
Though granted, a couple have proven OK.
03:18
<@Reiv>
Not sure which, though ~
03:34 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
04:02 Kindamoody is now known as Kindamoody|gaming
04:05 Derakon is now known as Derakon[AFK]
04:10 Turaiel is now known as Turaiel[Offline]
04:13 Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
04:15
< Harlow>
some of you might find this cool https://www.youtube.com/watch?v=tIIJME8-au8
04:17 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
04:19 Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has joined #code
04:24 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [[NS] Quit: bbs]
04:28 Kindamoody|gaming is now known as Kindamoody
04:29 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code
04:29 mode/#code [+o Alek] by ChanServ
05:01 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
05:01 mode/#code [+o Red_Queen] by ChanServ
05:29
<~Vornicus>
that is pretty cool
05:32
< Harlow>
i know right
05:33
< Harlow>
i like how the human overcame the robot at the end. It sums up humanity pretty well, we are resilient.
05:34
<~Vornicus>
I think of the three ways it showed the human beating the robot I liked the edge one best.
05:34
<~Vornicus>
robot just stood there like "...wat"
05:34
< Harlow>
lol
05:38
<~Vornicus>
the other two -- getting it in short, and that giant slam -- were taking advantage of the fact that the arm's only so long. That edge bit just plain fooled it.
05:42 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
05:42 mode/#code [+o Syka] by ChanServ
06:06 ErikMesoy|sleep is now known as ErikMesoy
06:12 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
06:15 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
06:29 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [Connection reset by peer]
06:57 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: Leaving]
07:08 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
07:08 mode/#code [+o Syka] by ChanServ
07:16 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds]
07:21 Netsplit *.net <-> *.split quits: @Orthia, Typherix, @JustBob, @Tarinaky, @gnolam, @Namegduf, @macdjord, @ToxicFrog, @simon_, @Syka, (+7 more, use /NETSPLIT to show all of them)
07:22 Netsplit over, joins: RichyB, &ToxicFrog, @Orthia, @gnolam, @Syka, @froztbyte, @macdjord, @JustBob, Turaiel[Offline], ^Xires (+7 more)
07:22 ServerMode/#code [+b *!fgd@*.wanadoo.fr] by *.Nightstar.Net
07:24 Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [Ping timeout: 121 seconds]
07:26 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
07:26 mode/#code [+ao Reiver Reiver] by ChanServ
07:39 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
07:46 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
07:46 Kindamoody is now known as Kindamoody|afk
08:38 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving]
08:55
<@JustBob>
There is no god.
08:55
<@JustBob>
This code takes 3-4 seconds to run each iteration.
08:55
<@JustBob>
So, 15-20 minutes for the entire cycle. :|
09:05 AnnoDomini is now known as HearingEarDog
09:11 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has quit [Ping timeout: 121 seconds]
09:22 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has joined #code
09:26 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has quit [Ping timeout: 121 seconds]
09:34 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has joined #code
09:38 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [Connection reset by peer]
09:44 mode/#code [+o RichyB] by ChanServ
09:48 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
09:48 mode/#code [+o himi] by ChanServ
09:51 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
09:51 mode/#code [+o Syka] by ChanServ
10:04 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [Ping timeout: 121 seconds]
10:04 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
10:04 mode/#code [+o Syka] by ChanServ
10:16 Orthia [orthianz@Nightstar-ufscb0.callplus.net.nz] has quit [Ping timeout: 121 seconds]
10:25 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [Ping timeout: 121 seconds]
10:32
<@froztbyte>
JustBob: throw more cloud at it
10:36 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
10:36 mode/#code [+o Syka] by ChanServ
10:37 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
10:37 Derakon_ [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
10:40 Derakon[AFK] [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [Ping timeout: 121 seconds]
10:50 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
10:51 mode/#code [+o himi] by ChanServ
10:51 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has quit [Ping timeout: 121 seconds]
10:57 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has joined #code
11:00 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
11:00 mode/#code [+ao Derakon Derakon] by ChanServ
11:03 Derakon_ [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [Ping timeout: 121 seconds]
11:11 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
11:11 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [Ping timeout: 121 seconds]
11:17 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
11:17 mode/#code [+o Syka] by ChanServ
11:25 Derakon_ [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
11:26 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [Operation timed out]
11:34 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
11:34 mode/#code [+ao Derakon Derakon] by ChanServ
11:35 Derakon_ [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [Operation timed out]
11:38 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has quit [Ping timeout: 121 seconds]
11:50 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [Ping timeout: 121 seconds]
12:46 * Azash creates a temporary fix, is not sure whether to keep the rickety solution or figure out the actual issue
12:49 Syka [the@Nightstar-fth.ncb.127.1.IP] has joined #code
12:49 mode/#code [+o Syka] by ChanServ
12:56 io\passed_out is now known as iospace
13:00 ErikMesoy1 [Erik@Nightstar-6v0.mal.203.80.IP] has joined #code
13:01 ErikMesoy [Erik@Nightstar-t5i7tl.80-203-18.nextgentel.com] has quit [Ping timeout: 121 seconds]
13:03
<@HearingEarDog>
So many ads. Whyever did the designers of this course's computer network think it good to force us to use unmodified IE?
13:04
<@HearingEarDog>
I mean, can you even get adblock for it?
13:06
<@TheWatcher>
ABP will work with IE, I believe.
13:09
<@HearingEarDog>
Oh... but I can't install it without admin credentials. :(
13:18
<@HearingEarDog>
Aha! It appears that portable installations fall through the forbidding of installing things!
13:19 Erik [8f610223@Nightstar-fsq7h2.mibbit.com] has joined #code
13:24
<@gnolam>
... forcing you to use IE?
13:25
<@HearingEarDog>
Only IE installed. Installing prohibited (I signed a document AND it requires admin rights).
13:30
<&ToxicFrog>
And you're stuck using the school computers?
13:30
<@HearingEarDog>
I don't want to haul my own over here every time.
13:31
< Erik>
Is it at least an IE new enough to have tabs?
13:31
<@HearingEarDog>
Yes.
13:35 Derakon [Derakon@Nightstar-5fqf0m.ca.comcast.net] has joined #code
13:35 mode/#code [+ao Derakon Derakon] by ChanServ
13:40
<@RichyB>
HearingEarDog, portable versions of programs work, though? Get a USB stick with portable Firefox on it?
13:40
<@RichyB>
The point being that those programs are meant to just run from where they are, as an ordinary user, no admin permission needed to set them up.
13:41
<@HearingEarDog>
Yes. These computers get their IE history and settings wiped every night, but not their user files like documents or downloads.
13:42
<@RichyB>
Windows admins can also do really fun things like set up a GPO with a white-list of executables which causes Windows to refuse to run *any* program not on that list, but that's a bit of work so not so many people do it.
13:44 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
13:44
<@HearingEarDog>
I'm also not supposed to eat at the computer, but the course teachers said explicitly to disregard that part.
13:47
<@RichyB>
The utility of that advice depends on what your goals are
13:48
<@RichyB>
if you want to leave the keyboard clean and stay healthy, avoid it
13:48
<@HearingEarDog>
Have a comfortable work time?
13:48
<@RichyB>
if you're in a hurry and you're fine with exercising your immune system, go for it
13:48
<@RichyB>
computer keyboards get fiiiiiiiiilthy
13:49
<@HearingEarDog>
I'm very fine with exercising my IS.
13:52 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
13:53
<@gnolam>
JustBob: if it is The Program I Think It Is and your computer is reasonably recent, you can run it multithreaded on several cores - and it's an embarrassingly parallel problem, so twice the cores == half the time.
13:57
<@gnolam>
(But also note that if it is The Program I Think It Is, using time cutoffs with parallel execution is bugged to hell. You're fine with a number of runs cutoff though.)
14:05 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
14:05 mode/#code [+o himi] by ChanServ
14:06 * Erik is assigned to writing some ON ERROR RESUME NEXT code. >_>
14:08
< Erik>
Use case: pass several xml files to a program and find some data in each one.
14:08
< Erik>
I suppose that responding to "oh, hey, this isn't an xml file and I cannot xml parse it" with "well, I'll try the next one" is one of the better use cases for OERN.
14:21
<@RichyB>
Yyes.
14:27
<&ToxicFrog>
Well
14:27
<&ToxicFrog>
I contend that actual literal OERN is a terrible idea
14:28
<&ToxicFrog>
More general "respond to bad input by throwing it away and continuing" is fine for cases like this.
14:29
< Erik>
The guy asking me to do this used the literal words "on error resume next" when I brought up the question of what the program should do if passed non-XML, since it's meant to be distributed for wider use by people who are more likely to pass wrong things.
14:34 Erik [8f610223@Nightstar-fsq7h2.mibbit.com] has quit [[NS] Quit: going home]
14:38 Red_Queen [Z@Nightstar-ro94ms.balk.dk] has joined #code
14:38 mode/#code [+o Red_Queen] by ChanServ
14:43 Syka [the@Nightstar-fth.ncb.127.1.IP] has quit [[NS] Quit: lol3g]
15:02 ErikMesoy1 is now known as ErikMesoy
15:02 mode/#code [+o ErikMesoy] by ChanServ
16:18 JustBob [justbob@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
16:21
<@froztbyte>
ErikMesoy: wasn't it also you who had the coworker that gets high on objects?
16:22
<@froztbyte>
(I'm guessing ErikMesoy==Erik)
16:27 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
16:27 mode/#code [+o JustBob] by ChanServ
16:33
<@ErikMesoy>
Yes to both
16:34
<@ErikMesoy>
froztbyte: But it's still a reasonably sane place. I get WTFs (like the folder with .aspx in the name), not horrors
16:37
<@froztbyte>
ErikMesoy: yeah, I was just wondering if it was the same person who said that ;)
16:42
<@gnolam>
Gets high on objects?
16:43
<@Tamber>
things.all.orient.object(the)!
16:58
<@froztbyte>
gnolam: you will do the One True Object Method for Everything You Write
16:58
<@froztbyte>
Formally and Completely~!
17:00 macdjord [macdjord@Nightstar-c0i1dq.cable.rogers.com] has quit [Ping timeout: 121 seconds]
17:00
<@ErikMesoy>
Specifically, I was working on some graph viewing/mapping of documents with links to one another, and he suggested that to look for cycles in the graph, I should make each node be an object with methods to look at its own links and query the nodes downstream from it.
17:01
<@ErikMesoy>
I did not do this, but made a function that searched through the graph.
17:01 macdjord [macdjord@Nightstar-c0i1dq.cable.rogers.com] has joined #code
17:01 mode/#code [+o macdjord] by ChanServ
17:05 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
17:19 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
17:19 mode/#code [+o himi] by ChanServ
17:29 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
17:29 mode/#code [+qo Vornicus Vornicus] by ChanServ
18:18 Kindamoody|afk is now known as Kindamoody
18:18
<@HearingEarDog>
How do I make invisible borders in Word appear in editing mode?
18:19
<@HearingEarDog>
I mean, I don't want them to actually show up in a printout, but I'd like to see where they are.
18:19
<@ErikMesoy>
is it something like Show/Hide Formatting Characters you want?
18:20
<@HearingEarDog>
Yes.
18:20
<@HearingEarDog>
But that one doesn't do it for tables.
18:20
<~Vornicus>
HearingEarDog: word 2007+?
18:20
<@HearingEarDog>
Yes.
18:21
<~Vornicus>
in the table tab, far left side I think it is on all of them, "show gridlines"
18:21
<~Vornicus>
oh, table/layout
18:22
<@HearingEarDog>
It's just called Layout here, but thanks, that's the one!
18:39 gnolam [lenin@Nightstar-78p9a9.cust.bredbandsbolaget.se] has quit [[NS] Quit: Das Reboot]
18:42 gnolam [lenin@Nightstar-d469ie.cust.bredbandsbolaget.se] has joined #code
18:43 mode/#code [+o gnolam] by ChanServ
19:06 Derakon_ [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code
19:06 * Derakon_ snerks at two emails in his inbox, sent to the same mailing list.
19:06
< Derakon_>
Email 1: "Please avoid top-posting". Email 2: a top-post.
19:16
<~Vornicus>
"top-post"?
19:17
<@Tamber>
Putting the reply *before* the quoted email you're replying to.
19:17
< Derakon_>
Replying at the top of a message instead of immediately below the portion you are replying to.
19:17
< Derakon_>
Ideally you also only quote the part of the message that is most relevant.
19:18
<@Tamber>
Quite so.
19:20 Kindamoody is now known as Kindamoody[zZz]
19:54
<&McMartin>
This is not as iron a law as it used to be
19:57
<@Alek>
http://imgur.com/gallery/qbHFTtX
20:07 * TheWatcher readsup
20:08
<@TheWatcher>
No, no it isn't >.<
20:08
<@Tarinaky>
If your code compiles first time you're not using enough compiler flags.
20:09 * TheWatcher gets sick of dealing with people passing around massive emails with several hundred lines of quoted conversation, only to see them add one line comments at the top
20:09
<@ErikMesoy>
threaded conversations are a lost art? eternal septembering?
20:10
<@Tamber>
TheWatcher, and it's always only "Me Too!" that they add? ;)
20:11
<@TheWatcher>
Not always
20:16 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
20:16 mode/#code [+o Reiv] by ChanServ
20:16
<&McMartin>
ErikMesoy: "Mail readers often show the whole thread at once and remove common suffixes"
20:23
<@gnolam>
I've given up that battle.
20:24
<@gnolam>
Top and bottom posting Just Don't Mix, and everyone else is top posting.
20:24
<&McMartin>
Gmail makes top posting read pretty cleanly, anyway
20:50
<@Reiv>
Yeah, i really wish Gmail would clean that up
20:50
<@Reiv>
Or rather, er
20:50
<@Reiv>
* I really wish everyone else would take notes from Gmail
20:56 * ErikMesoy receives feedback for third major university exercise this semester.
20:57
<@ErikMesoy>
Docked a point here for using my own QUICK_AND_DIRTY_DEBUG_FLAG (the censor points out that there's a 'DEBUG' in os.environ for this sort of thing), docked a point there for checking against a dict instead of a list, etc, overall 93/100.
21:00 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
21:00
<&ToxicFrog>
Oh man, this server has the best error logging
21:00
<&ToxicFrog>
s/logging/handling/
21:00
<&ToxicFrog>
If it can't load the configuration image, it logs an error telling you that it can't, then derefs the configuration it just failed to load and crashes.
21:01
< Derakon_>
Logging failures during startup is a pain, let me tell you.
21:01
< Derakon_>
You can't rely on anything so you have to have an entirely separate logging system, and then when you do get your config loaded you have to clean up any mess that the hardcoded system made.
21:03
<&ToxicFrog>
We have actually pretty much solved that - the same infrastructure that handles deploying stuff to production also captures all output and logs.
21:04
<&ToxicFrog>
If something dies before the actual logging infra is available - which takes some doing - it'll be captured in stdout/stderr, as will errors initiating the job in the first place.
21:13 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
21:13 mode/#code [+o himi] by ChanServ
21:13
< Derakon_>
I have to cope with the program I'm doing this for being a user-run program.
21:13
< Derakon_>
And in particular it has to load user-written code. >.<
21:13
<@Reiv>
wot
21:13
< Derakon_>
Reiv: microscope framework.
21:14
< Derakon_>
Users write new modules to add hardware to the framework.
21:14
< Derakon_>
Those modules need to initialize during startup.
21:14
< Derakon_>
Though to be fair, by the time I'm loading most user modules I have logging set up already.
21:14
< Derakon_>
The only one this isn't the case for is the configurator module...which says where to put the logs...
21:40 Red_Queen [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds]
22:10 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
22:11 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
22:11 mode/#code [+o celticminstrel] by ChanServ
22:18 ErikMesoy is now known as ErikMesoy|sleep
22:42 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
22:43 Derakon_ [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: leaving]
23:48 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
23:48 mode/#code [+o himi] by ChanServ
--- Log closed Thu Mar 13 00:00:07 2014
code logs -> 2014 -> Wed, 12 Mar 2014< code.20140311.log - code.20140313.log >

[ Latest log file ]