code logs -> 2011 -> Mon, 05 Dec 2011< code.20111204.log - code.20111206.log >
--- Log opened Mon Dec 05 00:00:46 2011
00:45 cp|GIANTS is now known as cpux
00:45 kw|PACKERS is now known as kwsn
00:47 You're now known as TheWatcher[T-2]
00:51 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
00:52 You're now known as TheWatcher[zZzZ]
01:08 Attilla [Obsolete@Nightstar-31d6e227.as43234.net] has quit [Ping timeout: 121 seconds]
01:19 * gnolam eyes IEEE.
01:20
< gnolam>
The only available PDF of a 2004 paper is one made from a /scanned/ copy? Really?
01:21
< Tamber>
They are rather depressing, sometimes.
01:22
< gnolam>
Well, at least they don't (just) take contributions in Microsoft Word format.
01:22 * gnolam glares at IRPA.
01:38 Kindamoody[zZz] is now known as Kindamoody
02:10
< gnolam>
whee, found a non-scanned version
02:11
< gnolam>
Now, the graphs are actually /readable/!
02:40 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
02:44 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
02:45
< gnolam>
Also: the kudos to its authors for "an Eulerian" instead of that awful "a Eulerian".
02:50
< gnolam>
-the
03:06 maoranma [maoranma@Nightstar-af640ce8.pools.spcsdns.net] has joined #code
03:29 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:33 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
03:34 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
04:02 Red_Queen [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
04:02 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Client closed the connection]
05:55 * Derakon eyes his cellphone, wonders why they put the comma on the second page of punctuation, but the semicolon on the first page.
06:00
< celticminstrel>
...
06:05 * Vornicus can't think of any situation where semicolons are more common than commas, so cannot suggest a ridiculous context.
06:06
<@jerith>
Java.
06:07
< Tamber>
C?
06:09<~Vornicus> Neither
06:09<~Vornicus> Function calls and declarations, and array literals, both use commas extensively.
06:11
<@jerith>
Vornicus: I find Java code still has more semicolons than commas.
06:13<~Vornicus> True.
06:13
< Kazriko>
how often would you write java code on a phone?
06:13<~Vornicus> Kaz: this is the kind of ridiculous situation I'm talking about.
06:14<~Vornicus> Maybe the UI designers spent all their time writing /etc/passwd or someth-- no, that's colons, isn't it.
06:14
<@jerith>
Indeed.
06:14 * jerith generally writes Python rather than Java on his phone.
06:15 kwsn is now known as kw-sleep-n
06:15
< Derakon>
I have a dumbphone, so I don't write code on it at all.
06:16 * jerith recalls his Samsung from 3 phones ago.
06:17 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
06:17
<@jerith>
It had a different input method for the three different places you could enter text.
06:23 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
06:23 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
06:33 Derakon is now known as Derakon[AFK]
06:35 Red_Queen [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:50 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
07:01 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
07:03 Kindamoody is now known as Kindamoody|out
07:24 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
07:43 Attilla [Obsolete@Nightstar-31d6e227.as43234.net] has joined #code
07:48 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
08:30 Attilla [Obsolete@Nightstar-31d6e227.as43234.net] has quit [Ping timeout: 121 seconds]
08:56 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
08:59 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Connection reset by peer]
08:59 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
09:21 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
09:30 You're now known as TheWatcher
10:28 Attilla [Obsolete@Nightstar-31d6e227.as43234.net] has joined #code
11:04 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
11:50 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
11:57 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
12:52 gnolam [lenin@Nightstar-38d887df.dialup.ice.net] has joined #code
13:17 gnolam [lenin@Nightstar-38d887df.dialup.ice.net] has quit [Connection closed]
13:18 gnolam [lenin@Nightstar-38d887df.dialup.ice.net] has joined #code
13:28 maoranma [maoranma@Nightstar-af640ce8.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
14:26 kw-sleep-n is now known as kws
14:27 kws is now known as kwsn
15:19 gnolam [lenin@Nightstar-38d887df.dialup.ice.net] has quit [[NS] Quit: Gone]
15:27 Kindamoody|out is now known as Kindamoody
15:40 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
15:41 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:24 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
17:57 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
18:19 maoranma [maoranma@Nightstar-f7cf3300.pools.spcsdns.net] has joined #code
18:21 Attilla_ [Obsolete@Nightstar-31d6e227.as43234.net] has joined #code
18:21 Kindamoody is now known as Kindamoody[zZz]
18:22 Attilla [Obsolete@Nightstar-31d6e227.as43234.net] has quit [Ping timeout: 121 seconds]
18:24 Attilla_ [Obsolete@Nightstar-31d6e227.as43234.net] has quit [Client closed the connection]
18:24 Attilla [Obsolete@FBC920.8C10FA.53A747.89EA8B] has joined #code
18:33 Attilla_ [Obsolete@Nightstar-31d6e227.as43234.net] has joined #code
18:33 Attilla [Obsolete@FBC920.8C10FA.53A747.89EA8B] has quit [Ping timeout: 121 seconds]
18:36 Attilla_ is now known as Attilla
18:56 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
19:41 * kwsn stabs gcc, that or her brain
19:43
< kwsn>
(chances are this is a PEBKAC error...)
19:46
<@jerith>
We can't help if you don't tell us, though.
19:47
< kwsn>
"undefined reference to <function>"
19:47
< kwsn>
#includes are all there
19:49
<@jerith>
grep?
19:49
<@jerith>
Linkers?
19:49
< kwsn>
what do you mean?
19:49
< kwsn>
that's the error i get from gcc...
19:49
<@jerith>
grep for the function.
19:50
<@jerith>
Check that you're linking in all the appropriate libs.
19:50
< kwsn>
hun, i'm looking at the .h file as we speak...
19:50
< kwsn>
and it's included
19:52
<@jerith>
Doesn't "undefined reference" mean it's compiled, but can't find the exported symbol anywhere?
19:52
< kwsn>
i think so? I don't use gcc much
19:54
<@jerith>
Yeah, that's a linker error.
19:54
< kwsn>
ah
19:55
<@jerith>
Is it a makefile?
19:55
< kwsn>
nope
19:55
< kwsn>
just doing gcc file.c
19:55
<@jerith>
What's the gcc commandline?
19:55
<@jerith>
Ah.
19:55
< kwsn>
"gcc file.c"
19:55
< kwsn>
:P
19:55
<@jerith>
Is the whole thing one file?
19:56
< kwsn>
yup
19:56
< kwsn>
o
19:56
< kwsn>
well
19:56
< kwsn>
yes and no
19:56
< ToxicFrog>
Is the function from another library?
19:56
< kwsn>
hold on yeah there's my issue
19:56 * kwsn swears
19:57
< ToxicFrog>
"undefined reference", specifically, means it found the declaration (typically in the header) but couldn't find the actual code for the function (typically because you forgot a .c or .o file or forgot to link in one of your libraries with -lfoo)
19:57
< kwsn>
i forgot a .c >_<
19:58 * kwsn sighs
19:58
<@jerith>
:-)
19:59
< kwsn>
which opens up another massive can of worms :/
19:59
< kwsn>
dear linux
19:59
<@jerith>
Stupid issues like that are better than the ones that take weeks to debug.
20:00
< kwsn>
is there a c interpetor shell for linux?
20:01
<@jerith>
C isn't really amenable to being interpreted.
20:02
< kwsn>
jerith: clearly you've never used vxworks
20:02
<@jerith>
No, but I have some friends who did so professionally.
20:02
<@jerith>
(I think.)
20:03
< kwsn>
it has a shell like that
20:03
< kwsn>
it works very nicely ^_^
20:03
<@jerith>
Yeah, that sounds like what they used.
20:03
< kwsn>
makes testing a snap at times
20:04 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
20:04
<@jerith>
Ah, it isn't actually C. Just very similar.
20:10 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
20:30
< McMartin>
You're thinking of tcsh, yeah
20:31 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [[NS] Quit: fracking...]
20:31
<@jerith>
McMartin: I think vxworks has its own shell, which is more C-like..
20:32
< kwsn>
yeah
20:32
< kwsn>
in vxworks you can go "printf("hello world\n");" and it'll print
20:38 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
20:42
< ToxicFrog>
It's not actual C, though, it's just C-like.
20:42
< ToxicFrog>
If you feed it a real C file it'll probably encounter something that causes it to barf.
20:43
< ToxicFrog>
I remember years and years ago seeing an actual C intepreter (Ch, I think?) but it was (a) payware (b) windows-only and (c) didn't actually work completely.
20:47 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Client closed the connection]
21:13 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
21:18
< celticminstrel>
...heh, ?>...<?php works inside a function.
21:20
< kwsn>
gotta love php eh?
21:22
<@jerith>
celticminstrel: I used to use that a lot when I did PHP.
21:22
<@jerith>
Any time I wanted multiline output, actually.
21:23
< celticminstrel>
I just copy-pasted the code from in the middle of my HTML and plopped it into a function, and all I had to do to make it work was add a global statement.
21:23
<@jerith>
PHP makes me sad, though.
21:27
< kwsn>
remember kids
21:28
< kwsn>
even if you reinvent php better
21:28
< kwsn>
that's still no justification
21:30
< celticminstrel>
...now my button moved for no apparent reason. :/
21:30
< kwsn>
...
21:31
< kwsn>
celticminstrel: quit using PHP? :P
21:31
< celticminstrel>
No, it's not that.
21:31
< celticminstrel>
I think it turns out it's that div I didn't need anymore; about to test.
21:32
< celticminstrel>
Yup, that was it.
21:32
< celticminstrel>
I didn't need it so I removed the style rule that kept it hidden. :P
21:37
< TheWatcher>
I'd still say kwsn has a valid suggestion~
21:38
< celticminstrel>
True.
21:38
< celticminstrel>
This code is probably horribly inefficient as well. <_<
21:38 * kwsn finally is getting her stuff to compile, now comes the fun part of trying to get to /work/
21:38
< celticminstrel>
Heh.
21:39
< celticminstrel>
Get it to work, I presume.
21:39
< kwsn>
yup
21:39
< kwsn>
... and i'm probably segfaulting YAY
21:40
< McMartin>
TO THE DEBUGGER MOBILE
21:40
< celticminstrel>
At least OSX gives me a stack trace for segfaults.
21:40
< celticminstrel>
That's pretty helpful.
21:41
< McMartin>
Are you on Windows?
21:41
< McMartin>
Because, if so, WinDbg or GTFO, basically
21:42
< McMartin>
On Linux, making it segfault in gdb is the way to go
21:42
< kwsn>
McMartin: i know exactly what's segfaulting -_-
21:42
< McMartin>
I'm not sure if gdb is still unusable shit on OS X, but it was the last time I tried.
21:42
< McMartin>
Among other things, "step" was synonymous with "continue" >_<
21:42
< celticminstrel>
I don't recall that being the case.
21:43
< McMartin>
It may have only been for multithreaded programs
21:43
< celticminstrel>
Step and continue were distinct last I checked.
21:43
< McMartin>
Sure
21:43
< McMartin>
What I mean is, you'd say "step"
21:43
< celticminstrel>
...I wasn't doing multithreaded, true.
21:43
< McMartin>
and instead of "step" it would just keep on cruising
21:43
< McMartin>
So I had to breakpoint every single source line
21:43
< celticminstrel>
Odd.
21:43
< celticminstrel>
Was this an Apple version or a MacPorts version or what?
21:45
< McMartin>
The one with X-Code 3, under 10.5.
21:48
< celticminstrel>
Well, it always worked fine for me.
21:48
< kwsn>
yup
21:48
< kwsn>
i'm segfaulting :<
22:05 * kwsn sighs
22:05
< kwsn>
i have to compile with -O cause otherwise inb/outb won't work :<
22:06 maoranma [maoranma@Nightstar-f7cf3300.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
22:06
< kwsn>
but doing that breaks the compile
22:06
< kwsn>
rawr :<
22:14 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
22:15 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has joined #code
22:15 * Derakon eyes this "SDK" he needs to figure out how to interoperate with.
22:16
< Derakon>
It's structured as a dialog generated by a Borland app wizard.
22:17 * Derakon eyes the "documentation" for same.
22:17
< Derakon>
OnInitDialog(): ...The first step in the program is to initialize some global variables that are used throughout the program...
22:24 * AD[Shell] wonders WTF.
22:25
< AD[Shell]>
Something is seriously wrong with my filesystem.
22:26
< AD[Shell]>
Or my Linux or whatever. Imma reboot, see what the deal is.
22:37 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
22:42
< AD[Shell]>
Very intredasting.
22:43
< AD[Shell]>
The filesystem had errors. Files lost were the ones I modified or created while using my BackTrack live USB (accessing the Debian filesystem).
22:44
< McMartin>
Somebody's got a shitty ext3 driver?
22:47
< AD[Shell]>
Probably. Fortunately, I had a backup of my work (the important parts, anyway) in my brain.
22:48
<@jerith>
My brain isn't reliable enough for that.
22:49
< Derakon>
That's why he didn't use your brain for the backups.
22:53
<@jerith>
Quite.
22:53
< AD[Shell]>
My continued internet access hinges on keeping track of certain strings of characters. <_<
22:53
<@jerith>
Any strings in particular?
22:54
< AD[Shell]>
Strings of five ASCII characters or ten hexadecimal digits.
22:56
<@jerith>
ATDT15551234 perhaps?
22:57
< AD[Shell]>
I *wish* that I had something as reliable.
22:58
<@jerith>
What are these magic characters for?
22:58
<@jerith>
WEP passwords?
23:00
< AD[Shell]>
Mayhap~
23:00
<@jerith>
Other people's?
23:02
< AD[Shell]>
Maaaybe. <_<
23:02 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has quit [[NS] Quit: leaving]
23:15
< AD[Shell]>
I have to wonder, what kind of person understands how to set up MAC filtering and yet uses WEP?
23:16
< TheWatcher>
Someone that doesn't realise you can change your mac address?
23:17
< AD[Shell]>
And also somehow missed the memo about WEP being deprecated.
23:21
< ToxicFrog>
Someone who has to interoperate with old shitty hardware that doesn't support WPA, most likely.
23:28
< AD[Shell]>
Not the case. Research shows that they are using an AirLink-89300 produced by Jensen Scandinavia.
23:28
< AD[Shell]>
It is a pretty nifty piece of hardware.
23:29
< ToxicFrog>
Yeah, but they may have an old laptop or similar that only talks WEP that needs to connect to it.
23:29
< AD[Shell]>
Ah. But if they shelled out serious moneys for a wireless router with 20 years of warranty, why won't they just get a new laptop?
23:36
< TheWatcher>
... I read that as "serious monkeys", I think I need sleep
23:36
< McMartin>
THESE ARE SERIOUS MONKEYS
23:36
< McMartin>
THIS IS SERIOUS MONKEY BUSINESS
23:38
< AD[Shell]>
TCP/IP with flying monkey carrier.
23:39
< TheWatcher>
So that's how wireless works!
23:45 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
23:45 cpux is now known as cpux[blargh]
--- Log closed Tue Dec 06 00:00:01 2011
code logs -> 2011 -> Mon, 05 Dec 2011< code.20111204.log - code.20111206.log >

[ Latest log file ]