code logs -> 2014 -> Thu, 03 Apr 2014< code.20140402.log - code.20140404.log >
--- Log opened Thu Apr 03 00:00:15 2014
00:04 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
00:04 mode/#code [+o himi] by ChanServ
00:04 Turaiel[Offline] is now known as Turaiel
01:02 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [Ping timeout: 121 seconds]
01:17 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
01:17 mode/#code [+o celticminstrel] by ChanServ
01:22
<@celticminstrel>
I'm guessing my message never got through, but fortunately I solved it on my own.
01:25
<&McMartin>
Yeah, I don't see anything recent from you in this channel.
01:27 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
01:27 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:45 macdjord|wurk is now known as macdjord|flerg
01:48
<@celticminstrel>
Hm, doing "intVal == TRUE" when intVal can be 0, 1, or 2 would probably only be true if it's 1, right? Since C has no boolean type.
01:49
<@celticminstrel>
Though I wonder if that was the intention here.
02:04
<~Vornicus>
Oh that's a bug waiting to jump on you and eat your face
02:04
<@celticminstrel>
I was thinking it might be, yes. For now I've annotated it with a TODO. I have no idea what the intended behaviour was right now; actually, I'm not even quite sure what the semantic meaning of the variable is.
02:05
<~Vornicus>
...is "intVal" the name of the variable?
02:06
<@celticminstrel>
The variable is actually called active_only.
02:06
<@celticminstrel>
But it's not entirely clear what is meant by "active".
02:07
<@celticminstrel>
Plus when it's set to 2 the meaning seems unrelated to when it's set to 0 or 1.
02:08
<@celticminstrel>
Actually, come to think of it, it's never set to 2, so it must be a relic of something.
02:09
<@celticminstrel>
The function is always called with 0 or 1.
02:09
<@celticminstrel>
Oh, wait, there's one way it might not be.
02:10
<@celticminstrel>
Nope.
02:14
<&ToxicFrog>
celticminstrel: in C, any nonzero is true
02:14
<@celticminstrel>
But not when used in ==
02:14
<&ToxicFrog>
Oh, I read that as =. Oops.
02:14
<@celticminstrel>
Only if used in if(), while(), for().
02:14
<&ToxicFrog>
== true is a codesmell.
02:15
<@celticminstrel>
I had changed it to "true" at one point, which presumably would've coerced the variable to boolean first.
02:15
<@celticminstrel>
Yeah, == true and == false is littered through this code for some reason.
02:15
<@celticminstrel>
Maybe because booleans were typedefed as char or something.
02:15
<~Vornicus>
http://thedailywtf.com/Articles/What_Is_Truth_0x3f_.aspx
02:16
<@celticminstrel>
XD
02:17
<&McMartin>
It occurs to me that digital logic outputs have three states: low, high, and "high-impedance"
02:17
<&McMartin>
That's pretty close to FALSE, TRUE, FILE_NOT_FOUND
02:20
<@celticminstrel>
This code also has a really weird indentation practice.
02:21
<@celticminstrel>
Closin braces are indented level with the code block the close, and else's are indented level with the code in the if block, with their contents indented an additional level.
02:21
<@celticminstrel>
^Closing
03:01 HotShot [theeaznon@Nightstar-clmnk0.sfldmi.sbcglobal.net] has joined #code
03:22 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds]
03:24 Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code
03:24 mode/#code [+o Orthia] by ChanServ
03:41 Kindamoody[zZz] is now known as Kindamoody
03:54 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code
03:56 Turaiel is now known as Turaiel[Offline]
04:00 macdjord|flerg is now known as macdjord
04:33 VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:48 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
05:01 * McMartin commits about ten thousand lines of deletions to this code base.
05:01
<&McMartin>
A fine payment against the technical debt load, imo.
05:02 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
05:02 mode/#code [+o himi] by ChanServ
05:02
<@celticminstrel>
Heh.
05:02
<@celticminstrel>
I'm deleting a lot of code here too...
05:03
<&McMartin>
Unfortunately, one of the classes I had hoped to eradicate has a dependency-injection like thing going on so I can't be sure it's not still being used in important places - and I strongly suspect at least one very important workflow is still using it
05:03
<@celticminstrel>
Uh, okay...
05:03
<&McMartin>
So that one I stuck log lines to so I can see when it happens, and maybe put debug breakpoints there.
05:04
<&McMartin>
(This codebase has evolved, um, "organically" for about a decade. I am finally in a position where I can start to impose a Grim Unifying Vision upon much of the internals.)
05:11 Derakon is now known as Derakon[aFK]
05:11 Derakon[aFK] is now known as Derakon[AFK]
05:14 Turaiel[Offline] is now known as Turaiel
05:15
<@celticminstrel>
It's always nice when I decide I need to write a function and then discover it's already been done.
05:43 macdjord is now known as macdjord|slep
06:03 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
06:07 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code
06:28 ErikMesoy|sleep is now known as ErikMesoy
06:38 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!]
07:17 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [Ping timeout: 121 seconds]
07:21 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code
07:21 mode/#code [+o Alek] by ChanServ
07:29 Turaiel is now known as Turaiel[Offline]
07:30 Erik [8f610223@Nightstar-obfcgl.mibbit.com] has joined #code
08:02 Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED]
08:12 Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [[NS] Quit: No Ping reply in 180 seconds.]
08:18 Kindamoody is now known as Kindamoody|afk
08:24 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
08:24 mode/#code [+ao Reiver Reiver] by ChanServ
08:26 Syka [the@Nightstar-s93.qr7.126.1.IP] has joined #code
08:27 Syka is now known as NSGuest34381
08:31 orth [orthianz@Nightstar-p21.gl6.148.118.IP] has joined #code
08:32 orth [orthianz@Nightstar-p21.gl6.148.118.IP] has quit [[NS] Quit: Bye]
08:34 HotShot [theeaznon@Nightstar-clmnk0.sfldmi.sbcglobal.net] has quit [[NS] Quit: Trespassers will be shot, Survivers will be shot again! [Time wasted on Mirc 5hrs 29mins 15secs]]
08:53 JackKnife [Z@Nightstar-uem.fem.181.195.IP] has joined #code
08:53 mode/#code [+o JackKnife] by ChanServ
09:15 Netsplit *.net <-> *.split quits: @Vornicus, RchrdB, NSGuest34381, @Derakon[AFK], @Orthia
09:16 Netsplit over, joins: RchrdB, @Orthia, NSGuest34381, &Derakon[AFK], ~Vornicus
09:48
< AnnoDomini>
Any reason why a DVD drive would work fine, but would not allow booting from?
09:48
< AnnoDomini>
I try to boot from a CD, and the reading LED doesn't even flash.
09:49
< AnnoDomini>
When I'm using it from Win7 on the same box, it works fine.
10:06
<@TheWatcher>
Does the drive show any activity between power on/reset and finishing POST?
10:06
<@TheWatcher>
If it does, but doesn't boot, check the BIOS is actually set to even try booting from it
10:08
< AnnoDomini>
It flashes and makes a noise after startup before the BIOS splash screen is shown. I have set the BIOS options so that it is to be booted.
10:09
<@TheWatcher>
And does the dvd drive have a higher proprity than the hd?
10:09
<@TheWatcher>
*priority
10:12
< AnnoDomini>
Yes.
10:13
< AnnoDomini>
When I try to boot it from the F12 menu, it says "Selected boot device not available".
10:16
< AnnoDomini>
Under device listing, the HDD is on SATA-0, and the DVD is on PATA-2.
10:18
<@TheWatcher>
That's.. uh.
10:19
<@TheWatcher>
Is the DVd drive shown as slave on the IDE list, and does it have a master?
10:19
< AnnoDomini>
PATA-2 (IDE2 Master).
10:20
<@TheWatcher>
Right, I got nothin, then :/
10:21
< AnnoDomini>
I'm going to try to connect it to IDE1 and see what that does.
10:22
< AnnoDomini>
Nothing, apparently
10:24
< AnnoDomini>
I'll try using a USB image and boot from a memory stick.
10:30
< AnnoDomini>
Same deal with the USB.
10:33
< AnnoDomini>
Hmm. I have an Intel Xeon CPU and the Win7 on it is a 64 bit version. So if there's a choice of distributions, I should aim for the ia64 version, yes?
11:00 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
11:03
<@TheWatcher>
No
11:03
<@TheWatcher>
Use amd64. IA64 is specifically for Itanium processors
11:07
< AnnoDomini>
OK.
11:07
< AnnoDomini>
That might be why it wasn't working.
11:12 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
11:14 NSGuest34381 is now known as Syk
11:20 mode/#code [+o RchrdB] by ChanServ
11:22 JackKnife [Z@Nightstar-uem.fem.181.195.IP] has quit [Ping timeout: 121 seconds]
11:25 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
11:25 mode/#code [+o himi] by ChanServ
12:10 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:22 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
12:35 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
12:35 mode/#code [+o himi] by ChanServ
13:08 macdjord|slep is now known as macdjord|wurk
13:12 Netsplit *.net <-> *.split quits: @jeroud, @Syloq, @Alek, @macdjord|wurk, @ToxicFrog
13:13 Netsplit over, joins: &ToxicFrog, &jeroud, @Alek, @macdjord|wurk, @Syloq
13:46
<@Azash>
What's this do in python?
13:46
<@Azash>
[foo for foo in bar if foo not in baz if not foo.bool]
13:47
<@Azash>
Is it just a filter on bar?
13:50 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Operation timed out]
13:51
< Syk>
wut.
13:52
< Syk>
who wrote that
13:52
< Syk>
you should go punch them
13:56
< Erik>
I believe the classic "Make me angry." response is in order here
13:56
< Erik>
It looks like a filter, yes
13:58
< Erik>
[foo for foo in range(20) if foo not in (3,4) if not (foo%2==0)] winds up returning [1, 5, 7, 9, 11, 13, 15, 17, 19]
14:04 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
14:04 mode/#code [+o himi] by ChanServ
14:09
<@Azash>
Erik: Cheers
14:11
< Erik>
Azash: cheer for the IDLE, not me
14:11 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
14:11 mode/#code [+o JackKnife] by ChanServ
14:17
<@Azash>
IDLE?
14:17
<@Azash>
I'm not too skeptical of Monty Python writing this code
14:17 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [Ping timeout: 121 seconds]
14:20 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
14:20 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [[NS] Quit: ]
14:26
< Erik>
IDLE is the IDE that Python usually comes with.
14:27
< Erik>
Integrated DeveLopment Environment. :p
14:28
< Erik>
At present, I was using its ability to let me write and run small scripts without needing a file.
14:32 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
14:35
< Syk>
is that the python one
14:35
< Syk>
or something else
14:35
< Syk>
(what you get when you run python)
14:36
< Erik>
It's the python one
14:53 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
14:53 mode/#code [+o celticminstrel] by ChanServ
14:56 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
14:56 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
14:56 mode/#code [+o celticminstrel] by ChanServ
14:57 Erik [8f610223@Nightstar-obfcgl.mibbit.com] has quit [[NS] Quit: http://www.mibbit.com ajax IRC Client]
16:10
<&ToxicFrog>
Syk: IDLE is not the python REPL, if that's what you're asking.
16:29 Derakon[AFK] is now known as Derakon
16:49
<@Azash>
https://tools.ietf.org/html/rfc7169
17:22 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!]
17:34 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
18:12 Syk [the@Nightstar-s93.qr7.126.1.IP] has quit [[NS] Quit: lol3g]
18:16 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
19:19 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
19:19 mode/#code [+o celticminstrel] by ChanServ
19:34 Kindamoody|afk is now known as Kindamoody
19:35 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
19:35 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:09 Kindamoody is now known as Kindamoody[zZz]
21:26 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:56 Shiz [mark@Nightstar-t98.fff.21.178.IP] has quit [Ping timeout: 121 seconds]
22:11 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
22:16 celticminstrel is now known as celmin|away
22:39 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
22:46
<@Reiv>
Azash: Not exactly subtle about it are they
22:51
<@Azash>
Not really
23:17 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
23:20
<@Reiv>
Alas, it also doesn't work
23:20
<@Reiv>
What with the whole issue being that you get gagged
23:21 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Connection closed]
23:22
<@Tamber>
From reading it, I think the idea is that you don't set it until you actually get one of those requests; and then the presence of it, though set to false, implies you're not allowed to say.
23:30
<@Azash>
I suggest checking the date on the RFC
23:30
<@Tamber>
Pft, but that's no fun~
23:31
<@Tamber>
;)
23:31
<@Azash>
I wish HTCPCP was legitimate though
23:56 celmin|away is now known as celticminstrel
23:59
<@Azash>
http://tools.ietf.org/html/draft-lohsen-ip-burrito-00
--- Log closed Fri Apr 04 00:00:31 2014
code logs -> 2014 -> Thu, 03 Apr 2014< code.20140402.log - code.20140404.log >

[ Latest log file ]