code logs -> 2012 -> Tue, 10 Apr 2012< code.20120409.log - code.20120411.log >
--- Log opened Tue Apr 10 00:00:24 2012
00:00 * Noah glares at Emacs
00:00 * celticminstrel steals it from under Noah's nose. :P
00:00
<&McMartin>
M-x glare-back
00:02
< Noah>
I've gotta figure out how I can go about getting code completion, buffer completion, and refactoring going for python in it
00:05
< Noah>
http://youtu.be/9c6W4CCU9M4 -> SHUT UP AND TAKE MY MONEY
00:06
<&McMartin>
Founder of Commodore International died today =(
00:08
< Noah>
All the cool people of tech keep dying >_<
00:13
< gnolam>
Noah: https://www.youtube.com/watch?v=t3TAOYXT840
00:14
< gnolam>
McMartin: :~(
00:16
< Noah>
gnolam: Oh no, not this arsehole... oh shit, no wait!
00:16
< Noah>
I eloheld.
00:45 Attilla [Obsolete@Nightstar-edd244ea.threembb.co.uk] has quit [[NS] Quit: ]
00:48 Attilla [Obsolete@Nightstar-76523487.as43234.net] has joined #code
00:55 Attilla [Obsolete@Nightstar-76523487.as43234.net] has quit [[NS] Quit: ]
01:00 You're now known as TheWatcher[t-2]
01:01
<@TheWatcher[t-2]>
Noah: real coders use M-x butterfly ~
01:02 You're now known as TheWatcher[zZzZ]
01:03 Attilla [Obsolete@Nightstar-76523487.as43234.net] has joined #code
01:03 * McMartin loses three SAN
01:03 * McMartin has written his first awk script.
01:04 Derakon[AFK] is now known as Derakon
01:04
<&Derakon>
All I've ever used awk for is the equivalent of "take the fourth element from each line, add them all together, and print the sum".
01:22
< Noah>
http://pastebin.starforge.co.uk/511
01:22 * McMartin is then burned by the > vs -gt thing in bash
01:22
<&McMartin>
Hate bash so much, but can't use Python here =(
01:23
< Noah>
(08:21:06 PM) xiphiasx_: also, don't use open() like that (08:21:09 PM) xiphiasx_: do: (08:21:15 PM) maoranma: It might be, I wrote it in 2.7.2 though (08:21:36 PM) xiphiasx_: with open("home/noah/Desktop/{}.desktop".format(romName), "w") as desktop: (08:22:20 PM) maoranma: Ah, yea (08:22:23 PM) xiphiasx_: on line 25 you want that
01:23
< Noah>
Everyone's a critic, lol
01:24
<&Derakon>
That's basically illegible.
01:28
< Noah>
My python script or xiphiasx telling me how to use "with"?
01:30
<&Derakon>
The entire quotation.
01:30
<&Derakon>
Too many timestamps and colons.
01:30
< Noah>
Oh, yea, well
01:30
< Noah>
I guess if you're going to be picky, I can fix it
01:31
< Noah>
Are you going to be picky, do you want me to fix it?
01:32
< Noah>
Actually here http://pastebin.starforge.co.uk/512
01:32
< Noah>
All nice and pastey, just for you Derakon
01:33
<&Derakon>
:p
01:33
< Noah>
Also, starforge pastebin is slow, someone fix it
01:34
<&Derakon>
Buy TW a better server.
01:34
< Noah>
meh, can't be arsed
01:41
<&Derakon>
From my social networks: "Horror of the day: PGI's C++ compiler has a flag '--using_std' that is enabled by default. What does this flag do, you ask? It adds an implicit 'using namespace std;' to every source file it compiles. Thus, code that happens to use a name that also appears in the standard library fails to compile as 'ambiguous'."
01:43
<&McMartin>
On the plus side, code written before 1998 or so compiles at all.
01:43
<&McMartin>
I forget exactly when namespaces were added, but I remember all my code breaking when they were.
01:46
< Rhamphoryncus>
"enabled by default" is the horror there
01:46
<&McMartin>
I guess
01:46
< Rhamphoryncus>
I suspect gcc has a similar flag, but isn't enabled by default
01:47
<&McMartin>
It depends on when the last time PGI was updated, I think.
01:47
<&McMartin>
I've never heard of them, so~
02:16 Attilla [Obsolete@Nightstar-76523487.as43234.net] has quit [Ping timeout: 121 seconds]
02:17 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has joined #code
02:25 Reaper [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
02:26 Kindamoody[zZz] is now known as Kindamoody
03:34 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
03:38 eckse [eckse@Nightstar-c0ba21e7.dsl.sentex.ca] has joined #code
03:38 mode/#code [+o eckse] by ChanServ
03:55 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has quit [Ping timeout: 121 seconds]
04:53 Vash [Vash@Nightstar-fb5b40e5.wlfrct.sbcglobal.net] has joined #code
04:53 mode/#code [+o Vash] by ChanServ
05:21
< Noah>
(12:19:49 AM) Pi: php is a gigantic bag of shriveled balls
05:21
< Noah>
(12:20:13 AM) Pi: people who insist on programming with it are deliberately filling their brains with garbage
05:22
< Noah>
This coming from the postmodern perlworshipping asshat
05:35 Kindamoody is now known as Kindamoody|afk
05:41 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:11
<~Vornicus>
I have to agree, php /is/ a gigantic bag of shriveled balls.
06:13 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
06:13 mason [masonmadrig@Nightstar-e1e7fe5c.ipt.aol.com] has joined #code
06:14
< Noah>
heh
06:17 eckse_ [eckse@Nightstar-c0ba21e7.dsl.sentex.ca] has joined #code
06:19 eckse [eckse@Nightstar-c0ba21e7.dsl.sentex.ca] has quit [Ping timeout: 121 seconds]
06:22 mason [masonmadrig@Nightstar-e1e7fe5c.ipt.aol.com] has quit [[NS] Quit: ]
06:22 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:25 Vash [Vash@Nightstar-fb5b40e5.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
06:29 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
06:33 Derakon is now known as Derakon[AFK]
06:42 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:50 eckse_ [eckse@Nightstar-c0ba21e7.dsl.sentex.ca] has quit [Client closed the connection]
07:00 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
07:06 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
07:14 You're now known as TheWatcher
07:18 * TheWatcher readsup, notes that's insulting to shriveled ball bags, reallt
07:18
<@TheWatcher>
*y
07:38 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Operation timed out]
07:50 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
07:57 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
08:09 You're now known as TheWatcher[afk]
08:16 Attilla [Obsolete@Nightstar-76523487.as43234.net] has joined #code
08:20 Attilla [Obsolete@Nightstar-76523487.as43234.net] has quit [Ping timeout: 121 seconds]
08:26 AnnoDomini [annodomini@Nightstar-230bd7d7.adsl.tpnet.pl] has joined #code
08:26 mode/#code [+o AnnoDomini] by ChanServ
09:02 AnnoDomini [annodomini@Nightstar-230bd7d7.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
09:07 Attilla [Obsolete@Nightstar-76523487.as43234.net] has joined #code
09:30 AnnoDomini [annodomini@Nightstar-800f16b4.adsl.tpnet.pl] has joined #code
09:30 mode/#code [+o AnnoDomini] by ChanServ
10:15 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
10:34 Attilla_ [Obsolete@Nightstar-76523487.as43234.net] has joined #code
10:35 Attilla [Obsolete@Nightstar-76523487.as43234.net] has quit [Ping timeout: 121 seconds]
11:42 Attilla_ is now known as Attilla
12:09 RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
12:12 You're now known as TheWatcher
12:55 Alek is now known as good_morning
12:55 good_morning is now known as Alek
13:08 Reaper [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
13:32
< Tarinaky>
I'm struggling to get my java code to run on my laptop.
13:32
< Tarinaky>
Error: Could not find or load main class uk.ac.aber.dcs.cs12420.aberpizza.gui.OrderPlacer
13:33
< Tarinaky>
The only thing I can say "I can bloody well find it!"
13:34
<&jerith>
Tarinaky: How are you trying to run it?
13:34
< Tarinaky>
java uk.ac.aber.dcs.cs12420.aberpizza.gui.OrderPlacer -cp bin
13:36
<@TheWatcher>
Upper/Lowercase issue somewhere? >.>
13:37
< Tarinaky>
[tarinaky@Eris aberpizza]$ ls bin/uk/ac/aber/dcs/cs12420/aberpizza/gui/OrderPlacer.class
13:37
< Tarinaky>
bin/uk/ac/aber/dcs/cs12420/aberpizza/gui/OrderPlacer.class
13:37
< Tarinaky>
UNIX doesn't think there's a case issue.
13:40
<@TheWatcher>
(-><- Hail Eris ¬¬) tried `-cp bin;.` ?
13:41
<@TheWatcher>
(-cp overrides the CLASSPATH, so it may not be searching .)
13:41
< Tarinaky>
There's nothing in '.' that it needs to search for.
13:41
< Tarinaky>
No change.
13:42
<@TheWatcher>
Well, try -cp ./bin then?
13:42
< Tarinaky>
Tried that.
13:42
<@TheWatcher>
stick a -verbose:class on the line and see if it says anythign useful?
13:43
<@TheWatcher>
wait
13:43 * TheWatcher facepalm
13:43
<@TheWatcher>
java -cp bin uk.ac.aber.dcs.cs12420.aberpizza.gui.OrderPlacer
13:43
<@TheWatcher>
anything after the class is passed as an argument to the class, options have to appear before it
13:50
< Tarinaky>
Right. Now I get to find out what happens when I pull it back to my windows machine and my windows machine barfs at a rename of a data file from Inventory to inventory >.>
13:54 You're now known as TheWatcher[d00m]
13:57
< Tarinaky>
What's the ISO name of extended ASCII?
13:58
< Tarinaky>
I'm struggling to find it on google.
14:07
< Tarinaky>
I need to turn a Date object (a milisecond count since the UNIX Epoch) into a human-readable string.
14:07
< Tarinaky>
As in 'YYYYMMDDHHMMSSss'
14:12
< Tarinaky>
Nm, I'm an idiot.
14:12
< Tarinaky>
Although I'm a little unhappy that the output includes ':' characters.
14:12
< Tarinaky>
That's -asking- for trouble.
14:16
< gnolam>
Why not make it proper ISO 8601?
14:16
< Tarinaky>
What's that?
14:16
< Tarinaky>
brb a sec
14:23
<@TheWatcher[d00m]>
Tarinaky: combined form is YYYY-MM-DDTHH:MM:SS(Z|+/-hh:mm) (T is literal, Z = UTC, otherwise a positive of negative offset) eg: 2012-04-10T14:23:20+01:00
14:24
<@TheWatcher[d00m]>
You can omit the colons, provided you do so consistently (eg: ....142320+0100)
14:24 You're now known as TheWatcher
14:26
< Tarinaky>
Ah, yes.
14:26
< Tarinaky>
I'd -love- to.
14:26
< Tarinaky>
I have no idea how to get that out of a Date object though.
14:26
< Tarinaky>
There doesn't seem to be a method for it and I am lazy.
14:30
<@TheWatcher>
yeah, you need to use SimpleDateFormat to do it, IIRC
14:39 You're now known as TheWatcher[afk]
14:41
< Tarinaky>
Dear Oracle: Dialogue is spelt with a 'u' and an 'e'.
14:42
< RichyB>
Tarinaky, is this JavaScript? new Date().toISOString()
14:42
< Tarinaky>
No. Java.
14:44
< Tarinaky>
Oh FFS
14:44
< Tarinaky>
Fucking vim's seized up!
14:49
<~Vornicus>
Tarinaky: I've never seen "dialog box" spelled with the ue; I've never seen "dialogue" as in discussion spelled without it.
14:50
< Tarinaky>
I thought it was a dialogue box :/
14:51 * Vornicus pokes vaguely at js. an enum would be nice.
14:52 * gnolam rejects your object oriented class struggles and uses dialectic boxes instead. WORKER THREADS OF THE WORLD, UNITE!
14:52 Kindamoody|afk is now known as Kindamoody
14:56
< Tarinaky>
:D
14:58
< Tarinaky>
Right, that's today's use-case implemented.
14:58
< Tarinaky>
I'm going to go play Dwarf Fortress and slack off.
14:58
< Tarinaky>
Later.
15:38 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
16:21
< froztbyte>
uh
16:21
< froztbyte>
holy shit.
16:21
< froztbyte>
http://www.youtube.com/watch?v=4Kx66_i3ue4&hd=1
16:28
<~Vornicus>
holy shit.
16:32
<@ToxicFrog>
Daaaaaamn
16:33
< froztbyte>
mindbricks, man. mindbricks.
16:37 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has quit [Ping timeout: 121 seconds]
17:05 You're now known as TheWatcher
17:45
< gnolam>
Impressive!
17:52 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has joined #code
17:52 mode/#code [+o eckse] by ChanServ
17:57
< Rhamphoryncus>
okay, I would have been a lot more impressed if I parsed the "64k" part at the start, rather when reading some comments after and trying to figure out wtf it's about
18:00 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
18:13 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has quit [Client closed the connection]
18:14 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has joined #code
18:14 mode/#code [+o eckse] by ChanServ
18:29 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has quit [Connection reset by peer]
18:44 Kindamoody is now known as Kindamoody[zZz]
18:44 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has joined #code
18:44 mode/#code [+o eckse] by ChanServ
18:46 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has quit [Client closed the connection]
18:48 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has joined #code
18:48 mode/#code [+o eckse] by ChanServ
19:08 Reaper [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Connection reset by peer]
19:09 Reaper [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
20:01 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
20:02 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
20:23 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
20:24 mode/#code [+ao jerith jerith] by ChanServ
20:34 RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
20:59 Reaper is now known as Stalker
21:16 RichyB [MyCatVerbs@Nightstar-86656b6c.cable.virginmedia.com] has joined #code
23:17 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
23:17 mode/#code [+o himi] by ChanServ
23:18 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Client closed the connection]
23:18 himi-cat [fow035@D741F1.243F35.CADC30.81D435] has joined #code
23:44 AnnoDomini [annodomini@Nightstar-800f16b4.adsl.tpnet.pl] has quit [[NS] Quit: Awaaaaaaay!]
--- Log closed Wed Apr 11 00:00:38 2012
code logs -> 2012 -> Tue, 10 Apr 2012< code.20120409.log - code.20120411.log >

[ Latest log file ]