code logs -> 2014 -> Mon, 03 Nov 2014< code.20141102.log - code.20141104.log >
--- Log opened Mon Nov 03 00:00:17 2014
01:17 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
01:52 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
01:56 himi [fow035@Nightstar-ajv.g45.171.101.IP] has joined #code
01:56 mode/#code [+o himi] by ChanServ
02:29 himi [fow035@Nightstar-ajv.g45.171.101.IP] has quit [Ping timeout: 121 seconds]
02:50 Kindamoody[zZz] is now known as Kindamoody
03:35 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code
03:50
< Harlow>
oh god you know its time to stop working for a while when you start putting semi colons at the end of sentences...
03:51
<@Alek>
:P
03:59
<~Vornicus>
yeah that does get kind of freaky;
03:59
<&McMartin>
sleep(50000);
04:02
< Lambo>
there\'s nothing wrong with that;
04:03
<&McMartin>
terrible(person, you).
04:04
<@Alek>
quit(0);
04:05
< Harlow>
lol
04:11
<@Checkmate>
Which is worse, putting semi colons at the end of every sentence or not ending them properly ever
04:11
< Lambo>
.Append("?");
04:12
<@Checkmate>
[
04:12
< Lambo>
{"You" : "suck"} ]
04:12 * Lambo runs away
04:13
< Lambo>
if this was VB: Me.TerriblePerson(True)
04:13
< Harlow>
cout<<"doing this would be pretty bad too";
04:13
< Lambo>
cout << endl;
04:56
<~Vornicus>
yes but why would you want to write in vb
05:06 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:10 himi [fow035@Nightstar-03cput.bigpond.net.au] has joined #code
05:10 mode/#code [+o himi] by ChanServ
05:56 himi [fow035@Nightstar-03cput.bigpond.net.au] has quit [Ping timeout: 121 seconds]
06:16
<&jeroud>
(belong verbs at the start of sentences)
06:26 Checkmate [Z@Nightstar-g2q2tu.customer.tdc.net] has quit [Ping timeout: 121 seconds]
06:46 gnolam_ [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has joined #code
06:47 Netsplit *.net <-> *.split quits: @abudhabi, RchrdB, @Syloq, @Xires, @Attilla, Harlow, grindhold, @Reiver, @Orthia, @macdjord, (+19 more, use /NETSPLIT to show all of them)
06:49 Netsplit over, joins: @PinkFreud, @Alek, @gnolam, @Reiv, &McMartin, Syka, @Ogredude, @Syloq, @Kindamoody, @Tarinaky (+1 more)
06:49 Kindamoody [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
06:49 Netsplit over, joins: &Reiver, RchrdB, &jeroud, @Tamber, &jerith, @Orthia, @macdjord, @Xon, @Xires, @Attilla (+8 more)
06:49 Kindamoody [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
06:49 mode/#code [+o Kindamoody] by ChanServ
06:49 gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds]
06:52 Kindamoody is now known as Kindamoody|afk
07:33
< Harlow>
anyone here familiar with java random?
07:42
<&jeroud>
I'm familiar with some random Java...
07:43
<@abudhabi>
Ask your question, bridgekeeper!
07:45 gnolam_ is now known as gnolam
07:45 mode/#code [+o gnolam] by ChanServ
07:48
< Harlow>
these 3 lines http://pastebin.com/73GVRYJm
07:48
< Harlow>
0 to 1
07:49
< Harlow>
or just 0?
08:05
<@abudhabi>
http://docs.oracle.com/javase/7/docs/api/java/util/Random.html#nextInt%28int%29
08:05
<@abudhabi>
This says 0.
08:08 celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
08:26
< Harlow>
thanks
08:26 Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: BED]
08:30 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
08:30 mode/#code [+o himi] by ChanServ
08:49 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
09:16 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving]
09:31
<@abudhabi>
Hmm.
09:32
<@abudhabi>
I'm trying to integrate the Tigra Calendar javascript thingy with a Stripes project.
09:32
<@abudhabi>
The script uses a stylesheet; so far, so good - I've just pasted the sheet into the sheet I use.
09:33
<@abudhabi>
It mostly worked.
09:33
<@abudhabi>
Except for the image files.
09:33
<@abudhabi>
The sheet has some items that refer to a relative URL for the background image.
09:34
<@TheWatcher>
as in background-image: url('../foo/bar.png');
09:34
<@TheWatcher>
?
09:34
<@abudhabi>
Without the ../ bit at the start, yes.
09:35
<@TheWatcher>
If so, note that relative urls like that are relative /to the .css file/, not the html that loads the css
09:35
<@abudhabi>
So if I have a structure like [web [css] [img]], then it would be '../img/lol.gif'?
09:36
<@TheWatcher>
Yep
09:37
<@abudhabi>
This... partly works. It doesn't load the icon for the default state, and improperly prints the clicked state.
09:38
<@TheWatcher>
padding: 0px 0px 3px 0px;
09:38
<@TheWatcher>
gah
09:38
<@TheWatcher>
stupid clipboard
09:46 grindhold [quassel@Nightstar-uufabm.zebra.fastwebserver.de] has quit [Connection closed]
09:46 grindhold [quassel@Nightstar-uufabm.zebra.fastwebserver.de] has joined #code
09:51 * abudhabi removes the offending stylesheet elements, so that the input box is normal except for popping up a calendar when clicked.
09:54
<@Tarinaky>
abudhabi: I could do with some cliff notes on the major differences in traditions for Christmas in Poland vs here in the Anglophonic world.
09:55
<@Tarinaky>
I would quite like to surprise my partner with something pleasant.
10:01
<@abudhabi>
Major difference is that Christmas Eve is the central celebration day (evening), rather than Christmas itself.
10:04
<@abudhabi>
You eat a family supper, give presents, break wafers on Christmas Eve. On Christmas you eat a family breakfast, and go to church.
10:07
<@abudhabi>
The parish priest visits households shortly after Christmas, but it may take a while, depending on population.
10:08
<@abudhabi>
Tarinaky: How does Christmas look in the Anglophonic world? I don't quite know.
10:18
<@Tarinaky>
If you're relogious, people go to the Church Christmas Eve.
10:19
<@Tarinaky>
But society is pretty secular, so not a lot of folk bother.
10:19
<@Tarinaky>
Big meal just after lunch time on Christmas day.
10:19
<@Tarinaky>
And left-over turkey for the next 2 weeks.
10:21
<@abudhabi>
Never heard of anyone eating turkey. Here's some Polish recipes: http://www.pwaa.org/Polish_Christmas_Recipes.htm
10:21
<@Tarinaky>
Danke
10:22
<@abudhabi>
NP.
10:30
<&McMartin>
Ham is also traditional.
10:30
<&McMartin>
My family prefers beef roasts, though - Pork and sauerkraut is for New Year's.
10:32
<&McMartin>
(USA here - there was a massive immigration wave of German and Polish immigrants in the mid-19th century and it left occasional odd imprints.)
10:33 Tarinaky [tarinaky@Nightstar-e99cts.net] has quit [[NS] Quit: Lost terminal]
10:33 Tarinaky [tarinaky@Nightstar-e99cts.net] has joined #code
10:33 mode/#code [+o Tarinaky] by ChanServ
10:33 Tarinaky_ [tarinaky@Nightstar-e99cts.net] has joined #code
11:13 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:59 Lamabo [thelambo@Nightstar-ic6koa.fl.comcast.net] has joined #code
11:59 Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has quit [Ping timeout: 121 seconds]
12:41 Orthia [orthianz@Nightstar-h3sjal.callplus.net.nz] has quit [Ping timeout: 121 seconds]
12:42
< Tarinaky_>
"Run tests" You have no tests. "Read spec" You have no spec. "Write fix" You are eaten by an elder code hack.
12:42
< Tarinaky_>
http://confreaks.com/videos/4659-nickelcityruby2014-how-to-be-an-awesome-junior- developer-and-why-to-hire-them
12:45
<@abudhabi>
Is there a transcript?
12:45
< Tarinaky_>
No.
12:45 Orthia [orthianz@Nightstar-dvd.0jj.224.119.IP] has joined #code
12:45 mode/#code [+o Orthia] by ChanServ
12:48
<@abudhabi>
Then watching that at work will be somewhat tricky.
12:50
< Tarinaky_>
Then don't.
12:51
<@abudhabi>
A reasonable suggestion.
13:33
< Lamabo>
you could listen to it at work
13:33
< Lamabo>
but not watch it
13:33
< Lamabo>
;p
13:43 * TheWatcher arghs, hairpulls over this code
13:43
<@TheWatcher>
Why did I ever agree to try to implement this, ugh
13:48
<@abudhabi>
Because you can never say no to Reiv?
13:49
<@TheWatcher>
Hah
13:49
<@TheWatcher>
No, this is for CODICIL WINTER HILL in work.
13:49
<@abudhabi>
I think that's because it's your job, then.
13:50
<@TheWatcher>
Well, that's complicated. But I could have told them it couldn't be done.
13:50
<@abudhabi>
Can it be done?
13:50 gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds]
13:50
<@TheWatcher>
As long as I make sure this summoning grid stays properly grounded, yes.
13:57 gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has joined #code
13:57 mode/#code [+o gnolam] by ChanServ
14:46 celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code
14:46 mode/#code [+o celticminstrel] by ChanServ
15:25
<@io>
... over 2.8k lines of SQL in one file. You may cry now
15:25
< Lamabo>
the script is growing up
15:25 * Lamabo sheds a tear
15:25 Lamabo is now known as Lambo
15:27 * TheWatcher pokes CPAN
15:27
<@TheWatcher>
wtf, why so slow, damnit
15:28 * io gives TheWatcher CSPAN
15:29
< Lambo>
TheWatcher, are you coding in Perl?
15:30
< Lambo>
don't worry, this is a safe place
15:30 * TheWatcher chuckles
15:32
<@TheWatcher>
CODICIL WINTER HILL currently stands at 21788 lines of perl code
15:32
< Lambo>
...that explains the cold weather we're having in Florida
15:32
<@TheWatcher>
And that's just one of my projects; all told there's probably close to 200k lines of perl code in various repos
15:33
< Lambo>
this is terrifying
15:38
<@TheWatcher>
Bah!
15:38
<@TheWatcher>
That's what the fools at the institute said
15:38 Azash [ap@Nightstar-28tp6p.plumbing] has quit [Ping timeout: 121 seconds]
15:38
<@TheWatcher>
BUT I'LL SHOW THEM
15:39 Azash [ap@Nightstar-28tp6p.plumbing] has joined #code
15:39 mode/#code [+o Azash] by ChanServ
15:43
< Lambo>
TheWatcher, what have we said about summoning dark lords?
16:33 Netsplit *.net <-> *.split quits: @Kindamoody|afk, grindhold, Tarinaky_, gizmore, @Azash
16:35
<@abudhabi>
Tarinaky: I have effectively precluded my coworkers from using my keyboard.
16:35
<@abudhabi>
I use Dvorak. They don't.
16:37 Netsplit over, joins: grindhold
16:37 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has quit [Ping timeout: 121 seconds]
16:39 Tarinaky_ [tarinaky@Nightstar-e99cts.net] has joined #code
16:39 Kindamoody|afk [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
16:39 mode/#code [+o Kindamoody|afk] by ChanServ
16:39 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has joined #code
16:39 mode/#code [+o PinkFreud] by ChanServ
16:39 Azash [ap@Nightstar-28tp6p.plumbing] has joined #code
16:39 mode/#code [+o Azash] by ChanServ
16:40
<@Azash>
http://o.onionstatic.com/images/27/27840/original/700.jpg?7880
16:40 gizmore [kvirc@Nightstar-ic1o9q.pools.vodafone-ip.de] has joined #code
16:41
<@abudhabi>
Azash: I do not even.
16:43 Netsplit *.net <-> *.split quits: @Kindamoody|afk, @Azash
16:45 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has quit [Ping timeout: 121 seconds]
16:49 Kindamoody|afk [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
16:49 mode/#code [+o Kindamoody|afk] by ChanServ
16:52 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has joined #code
16:52 mode/#code [+o PinkFreud] by ChanServ
16:53 Azash [ap@Nightstar-28tp6p.plumbing] has joined #code
16:53 mode/#code [+o Azash] by ChanServ
17:40
<&jeroud>
Lambo: We said "as long as the summoning grid is properly grounded and the protective wards have a safety factor of two point five".
17:41
<@Tamber>
...at least.
17:42
<&jeroud>
Well, that's the minimum and it's because TheWatcher is one of the few people whose estimates we trust around here.
17:42
<@Tamber>
:)
17:42
<&jeroud>
I use a safety factor of three, personally.
17:43
<&jeroud>
Five when I'm unfamiliar with the particular algorithms, but that gets expensive.
18:02
< Lambo>
I generally have my cube heavily warded when I deal with The Ancient's Legacy.
18:30
<&jeroud>
Are you performing dangerous rituals in a cube farm!?
18:32
< Lambo>
Yes
18:32
< Lambo>
for those times when I have to dig into VBA
18:33
< Lambo>
and then I come across "On Error Resume Next" with no error checking anywhere else in the code
18:33
<@io>
you poor fuck
18:56
<@abudhabi>
Can anyone confirm that http://www.ebay.com/itm/2x-Intel-Xeon-7020-Dual-core-2-66-GHz-CPU-Processor-SL8U A-Paxville-MP-FREE-SHIP-/221445629593?pt=CPUs&hash=item338f302699 is supposed to be compatible with http://www.ascendtech.us/dell-precision-670-motherboard-x0392_i_mb4delx0392.aspx ?
19:12
<@abudhabi>
Ah, heck. I'll buy it. It's not like it costs even as much as a regular restaurant meal here.
19:14
< Lambo>
abudhabi: it's compat
19:14
< Lambo>
http://www.cpu-world.com/sspec/SL/SL8UA.html
19:16
<@abudhabi>
Cool. I wonder if I'll have to upgrade my BIOS, which fills me with dread.
19:21
<@abudhabi>
OK. That's the processor. Now to find a spare heat sink.
19:28
<&jeroud>
I read that as "professor".
19:29
<@abudhabi>
Shopping list for today: A professor, a heatsink, a duck and three gallons of industrial lubricant.
19:38
<@abudhabi>
Heatsink: 5 bucks. Shipping: 40 bucks.
19:39
<@abudhabi>
Howaboutno.
19:40
<@Tamber>
ahahaha
19:42
<@abudhabi>
A heatsink without a fan is still better than nothing, right?
19:44
< Tarinaky_>
http://docopt.org/
19:44
< Tarinaky_>
AWESOME
19:45 * abudhabi mutters about these radiators being made of lead and uranium.
19:47 * io gives abudhabi FoaaS
19:47
<@io>
:)
19:47
<@abudhabi>
What is that?
19:48
<@Tamber>
"Fuck Off as a Service"?
19:50
< Tarinaky_>
It creates command-line argument parsers... From the help-text.
19:50
<@abudhabi>
10 bucks + 19 bucks, that's more reasonable.
19:50
< Tarinaky_>
And returns a python dict.
19:50
< Tarinaky_>
No fancy API.
19:50
< Tarinaky_>
Just POSIX documentation.
19:57
<@abudhabi>
JEWISH MAGIC.
19:57
<@abudhabi>
For some reason, this one seller operating out of Israel has free international shipping for everything.
19:59 Kindamoody|afk is now known as Kindamoody
19:59
<@abudhabi>
Merchant, you are my greatest ally! I'll buy four GB RAM in addition to the processor.
20:05
<@abudhabi>
Awright. Now my desktop will be CUTTING EDGE (for 2008).
20:19 Kindamoody is now known as Kindamoody[zZz]
20:20
<@simon_>
hehe
20:20
<@abudhabi>
Oh, wow. I can buy a laptop better than my current one for less than I spent on the heatsink.
20:21 * abudhabi tries to see what the scam is.
20:21
<@abudhabi>
Aaaah. They list it as the laptop, showing the picture of the laptop, but it's just a battery when you navigate to the store.
20:24 * abudhabi buys a KVM too.
20:24
<@simon_>
KVMs are cool.
20:26 * abudhabi ends up spending 82.42 USD.
20:26
<@abudhabi>
I hope all that is worth the money.
20:28 * simon_ wants to buy a new workstation
20:28
<@simon_>
it's hardly justifiable, though, since I have one and I haven't even plugged it in.
20:29
<@abudhabi>
I bought a used Dell Precision 670, for like ~1500 NOK (I forget).
20:29
<@simon_>
abudhabi, exactly where are you from?
20:29
<@abudhabi>
I'm from Poland. I live in Norway.
20:29
<@simon_>
ah. :)
20:30
<@abudhabi>
I have recently landed a real job after three years of persistent searching, and next week I'm due my first paycheck.
20:30
<@simon_>
what's the job?
20:30
<@abudhabi>
Java developer.
20:31
<@simon_>
why'd you spend three years looking? (and what have you done that wasn't a real job?)
20:31
<@simon_>
I've mostly TA'ed in the last many years... on/off as a C# developer, few odd jobs. I wouldn't call any of that real, but it was all part-time while I was studying.
20:32
<@abudhabi>
Because I'm persistent and I think this is my chance at early retirement a decade down the road.
20:32
<@simon_>
okay.
20:32
<@abudhabi>
(I did construction work, translation, computer repair, house painting and paperwork assistance. Among other things.)
20:33
<@abudhabi>
Technically, I'm developing a web application, so I could be called a web developer. So it's time to: http://i.imgur.com/SHakG.jpg
20:35
<@io>
hahahahah
20:35
<@io>
hahahahahahahah
20:35
<@io>
webdev
20:35
<@io>
bahahahahahah
20:35
<@abudhabi>
I know the picture is funny, but I didn't expect such an exuberant reaction.
20:36
<@simon_>
somehow I never imagined web development *that* funny, either :)
20:36
<@io>
simon_: My parents tried for no end to get me to go into webdev
20:36
<@io>
so I sort of view it with a bit of hate ^^;;
20:36
<@simon_>
your parents? sounds futuresque!
20:37
<@io>
sounds like I got a job doing backend :P
20:38
<@abudhabi>
I *am* doing backend, part of the admin diagnostics. What I'm making isn't supposed to even be available from outside of the building.
20:51
< Lambo>
<gufi> while (safeThreadCount >= NumberOfThreadsAllowed) System.Threading.Thread.Sleep(500); <----------- What... The... Fuck...
20:51 * Lambo stares at that
20:52
<&McMartin>
Java doesn't have an equivalent of a thread-based select or waitonmultipleobjects, does it.
20:53
<&McMartin>
I mean, the *intent* there is pretty clear - "sleep until the number of worker threads drops below this limit"
20:53
<&McMartin>
So they need an op that's "join on any N of these X (X>N) threads"
20:53
< Lambo>
that's C#
20:54
<&McMartin>
OK, I don't know how to do what I just said in C# but I'm sure there's a way
20:55
< Lambo>
McMartin, ThreadPools ;p
20:55
<&McMartin>
OK, that's one level up :D
20:55
< Lambo>
which is baked into the language lol
20:55
<&McMartin>
I stand by "MS wouldn't have designed C# without an equivalent of WaitForMultipleObjects"
20:56
< Lambo>
can also use Tasks in C# and abuse WaitAny()
20:56
<&McMartin>
WaitAny would what I was reaching vaguely for, yeah
22:42 SyloqAgain [Syloq@Nightstar-hco.fem.152.204.IP] has joined #code
22:42 mode/#code [+o SyloqAgain] by ChanServ
22:46 SyloqAgain [Syloq@Nightstar-hco.fem.152.204.IP] has quit [Connection closed]
22:48 SyloqAgain [Syloq@Nightstar-hco.fem.152.204.IP] has joined #code
22:48 mode/#code [+o SyloqAgain] by ChanServ
22:58 Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [A TLS packet with unexpected length was received.]
22:58 SyloqAgain is now known as Syloq
23:50 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:50 mode/#code [+qo Vornicus Vornicus] by ChanServ
--- Log closed Tue Nov 04 00:00:33 2014
code logs -> 2014 -> Mon, 03 Nov 2014< code.20141102.log - code.20141104.log >

[ Latest log file ]