code logs -> 2014 -> Thu, 14 Aug 2014< code.20140813.log - code.20140815.log >
--- Log opened Thu Aug 14 00:00:36 2014
00:55 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
01:24 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
01:24 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:20 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
02:25 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
02:25 mode/#code [+o himi] by ChanServ
02:34 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
03:56 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
04:31 Kindamoody[zZz] is now known as Kindamoody
04:54 Turaiel[Offline] is now known as Turaiel
04:54 Turaiel is now known as Turaiel[Offline]
05:30 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:58 thalass [thalass@Nightstar-nulr03.bigpond.net.au] has joined #code
05:58 mode/#code [+o thalass] by ChanServ
06:11 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:43 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
07:04 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
07:19 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
07:19 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
07:26 thalass [thalass@Nightstar-nulr03.bigpond.net.au] has quit [Ping timeout: 121 seconds]
08:08 Kindamoody is now known as Kindamoody|afk
08:14 Thalass|sleep [thalass@Nightstar-nulr03.bigpond.net.au] has joined #code
08:17 * Thalass|sleep flops
08:17 Thalass|sleep is now known as Thalass|brainz
08:20 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Operation timed out]
09:24 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
10:02 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
10:12 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving]
11:27
<@Azash>
https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161/comments/28
11:27 * Azash boggles
11:28
< Syka>
fuckin tuesdays man
11:29
< luke>
Kinda like that bug that only caused trouble during certain phases of the moon.
11:30
<@gnolam>
Azash: That is impressive.
11:56
<&McMartin>
Never could get the hang of Tuesdays
12:13
<@gnolam>
"Uh-oh. Sounds like somebody's got a case of the Tuesdays!"
12:28
<@gnolam>
... phew
12:28
<@gnolam>
Turns out I was misremembering my current deadline.
12:28
<@gnolam>
I've got a month left!
12:28
<@gnolam>
That does wonders for my stress levels.
12:40 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
12:40 mode/#code [+o himi] by ChanServ
12:57 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has joined #code
13:14
<@Azash>
(rdb:1) s -1
13:14
<@Azash>
Step argument '-1' needs to at least 1
13:14
<@Tarinaky>
Antipatterns I hoped I'd never have to deal with in my professional life and yet... here I am:
13:14
<@Tarinaky>
goto done;
13:17 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has left #code ["Leaving"]
13:30
<&ToxicFrog>
Tarinaky: if it's C that's an entirely reasonable way to handle certain types of cleanup
13:32
< luke>
Sure, it may not be 'perfect' or 'beautiful', but sometimes a goto is just the ticket.
13:32
<@Tarinaky>
ToxicFrog: It's not for cleanup. They have a seperate goto cleanup 'pattern'.
13:33
<@Tarinaky>
Also: this is C++ not C.
13:33
<&jerith>
Tarinaky: Is it escaping frome multiple-nested loops or something?
13:33
<@Tarinaky>
So you should /probably/ be using Objects to manage resources.
13:33
<@Tarinaky>
jerith: This is having a single exit point in every function.
13:33
<@Tarinaky>
Essentially goto done replaces return
13:34
<&jerith>
Okay, that's broken.
13:35
<@Tarinaky>
It's so they can put a breakpoint on one line to capture a function exiting...
13:36
< luke>
And that's a broken debugger (or they just don't know how to use it).
13:38 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has joined #code
13:43
<&ToxicFrog>
Tarinaky: no no no no no no. Wrong. Bad.
13:44
<@Tarinaky>
ToxicFrog: I did call it an Antipattern :P
13:45
<&ToxicFrog>
SPOE is definitely that.
13:45
<@Tarinaky>
SPOE?
13:45
<&jerith>
Single point of exit?
13:46
<@Tarinaky>
Well I've never seen SPOE using goto before.
13:46
<@Tarinaky>
I always figured you did SPOE using some ungodly contortion of ifs
13:46
<@Tarinaky>
Which is how I'm having to do it for Ruby.
13:47
<&ToxicFrog>
Single Point Of Exit.
13:47
<&ToxicFrog>
I've seen it with both goto and if-trees.
13:47
<&jerith>
As far as I can tell, SPOE is supposed to make code "easier to follow" by replacing some returns with messy conditional trees.
13:47
<&ToxicFrog>
jerith: no.
13:47
<&ToxicFrog>
SPOE is a legacy weapon from the structured programming wars.
13:47
<&jerith>
ToxicFrog: What's the justification for it, then?
13:48
<&ToxicFrog>
It has no place in the postwar world, but some people still use it.
13:48
<@Tarinaky>
At least it puts a hard limit on my function length.
13:48
<@Tarinaky>
Otherwise I'll slam into the line width :P
13:48
<&jerith>
Short functions are good.
13:48
<&ToxicFrog>
It used to be SESE, Single Entry, Single Exit -- i.e. have actual functions with a single entry point and a return instruction, rather than JMPing into the middle of them and them JMPing back out when convenient.
13:49
<&ToxicFrog>
This is also the context of "GOTO considered harmful".
13:50
<&ToxicFrog>
These aren't rules that are meant to apply to all programming everywhere, but a contrast to the then-dominant approach of writing everything in asm and shooting from the hip when it comes to flow control and program structure.
13:50
<&jerith>
I tend to split things up when the get too nested rather than too long, but it still leaves me with mostly-short functions and a few long-but-linear ones.
13:52
<&ToxicFrog>
These days, the war has been won so thouroughly that few even remember that there was a war. But some people dig up these old things and then cling to them, cargo-cult like.
13:52
<@Tarinaky>
Modern programming languages have nicer ways of handling the things that gotos are good for though :p
13:53
<&jerith>
Tarinaky: s/modern/good/
13:53
<@Tarinaky>
I would describe C as both good and unmodern.
13:53
<@Tarinaky>
Even modern C is very much unmodern.
13:53
<&jerith>
C isn't very good.
13:53
<&jerith>
It's "good enough", though.
13:54
<@Tarinaky>
It is very good as a domain specific language.
13:54
<@Tarinaky>
IMO
13:54
<&jerith>
There are very few problems for which C is the best solution.
13:55
<&jerith>
C is, however, the ubiquitous solution.
13:55
<&ToxicFrog>
I will probably be checking out Rust next time I need to write some C ABI compatible code.
13:56
<&jerith>
ToxicFrog: I've heard good things about Rust, but also that it's insufficiently mature for production use.
13:56
<&ToxicFrog>
Tarinaky: (re: GOTO): this is true. But the people who trot out GOTO Considered Harmful never bring that up. It's never "we shouldn't use GOTO here because we can do it more cleanly with destructors", it's "we shouldn't use GOTO here because Dijkstra said so!"
13:57
<&ToxicFrog>
jerith: conveniently, all of my C work tends to be personal tinkering~
13:57 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
13:57 simon_ [simon@Nightstar-2og823.pronoia.dk] has quit [Connection reset by peer]
14:01
<@Tarinaky>
ToxicFrog: Function calls are user cleaner than goto as well.
14:01
<@Tarinaky>
*usually
14:01
<@Tarinaky>
They just 'cost' ~3x as much.
14:02
<&jerith>
Tarinaky: Why does that 'cost' matter?
14:02
<&jerith>
(And if it does, you just tell the compiler to inline the function. It'll probably do it on its own anyway.)
14:02
<@Tarinaky>
jerith: If you're writing something like a kernel level dispatcher where your goto/function is going to be executed a LOT...
14:03
<@Tarinaky>
Inline isn't strictly the same thing though
14:03
<@Tarinaky>
Inline expands the function in memory.
14:03
<&jerith>
Tarinaky: If that kind of low-level performance matters, there had better be benchmarks.
14:04
<@Tarinaky>
GOTO is a single assembly instruction, vs bodging about the stack and then jumping...
14:04
<@Tarinaky>
jerith: I'm not disputing this.
14:04
<@Tarinaky>
jerith: All I'm saying is that even in C there are better ways of handling resource clean-up than goto
14:05
<&jerith>
Sure.
14:07
<@TheWatcher>
So, apparently, grepping 515GB of data for a 9 character string takes a while
14:07
<@TheWatcher>
Whod'athunkit?
14:07
<&jerith>
TheWatcher: I hope you're using fgrep at least?
14:07
<@TheWatcher>
yus
14:10 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has left #code ["Leaving"]
14:20 Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code
15:00 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
15:13 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
15:13 mode/#code [+o himi] by ChanServ
15:53 gnolam_ [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has joined #code
15:54 gnolam [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has quit [NickServ (RECOVER command used by gnolam_)]
15:54 gnolam_ is now known as gnolam
15:54 mode/#code [+o gnolam] by ChanServ
15:59 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has joined #code
15:59 mode/#code [+o celticminstrel] by ChanServ
16:04 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has left #code []
16:05 celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has joined #code
16:05 mode/#code [+o celticminstrel] by ChanServ
16:42 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
16:57 Thalass|brainz is now known as Thalass|sleepz
17:02 Thalass|sleepz [thalass@Nightstar-nulr03.bigpond.net.au] has quit [Ping timeout: 121 seconds]
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:25 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has joined #code
17:33 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
17:36 Netsplit *.net <-> *.split quits: @gnolam, @celticminstrel, Turaiel[Offline]
17:36 gnolam_ [lenin@Nightstar-rhnl04.cust.bredbandsbolaget.se] has joined #code
17:36 Netsplit over, joins: celticminstrel
17:36 mode/#code [+o celticminstrel] by ChanServ
17:38 PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has quit [Ping timeout: 121 seconds]
17:43 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has joined #code
17:43 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has quit [[NS] Quit: rebooting again]
17:44
<&McMartin>
jerith: Do you recall if you had a wishlist for Monocle?
17:44
<&McMartin>
It seems my next task is to doc what I have, but going forward from there you were one of the people who were poking at it...
17:45
<&jerith>
McMartin: I still need to look at it again.
17:45
<&McMartin>
The API got a near-top-to-bottom rewrite since you did your first python bindings draft.
17:45
<&jerith>
A nontrivial (but smallish) example game to port would be handy.
17:45
<&McMartin>
Yeah
17:46
<&McMartin>
Except I have exactly enough to start pushing DD again and it's not an example game~
17:46
<&jerith>
I think I rewrote some of the Python code in the middle of that.
17:46
<&McMartin>
Earthball is more sophisticated now.
17:46
<&McMartin>
But I never did get around to writing Shoot The Thing
17:47 Lappy-Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has joined #code
17:49 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
17:49 mode/#code [+o himi] by ChanServ
17:51 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
17:51 mode/#code [+o PinkFreud] by ChanServ
18:06 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has joined #code
18:07 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
18:20 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
18:20 mode/#code [+o himi] by ChanServ
18:27
<&McMartin>
jerith: ISTR you had specific issues with gaps in pygame, but I don't recall what they were.
18:36 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
18:47 gnolam_ is now known as gnolam
18:47 mode/#code [+o gnolam] by ChanServ
18:47 Kindamoody|afk is now known as Kindamoody
18:48 Checkmate [Z@Nightstar-ro94ms.balk.dk] has joined #code
18:48 Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has quit [[NS] Quit: Leaving]
18:49 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
18:49 mode/#code [+o himi] by ChanServ
18:55 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Connection closed]
18:56 macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code
18:56 mode/#code [+o macdjord] by ChanServ
19:46 Kindamoody is now known as Kindamoody[zZz]
19:51 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
20:01 Lappy-Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has left #code []
20:42 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
20:56 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
20:56 mode/#code [+o himi] by ChanServ
21:42 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
21:55 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
21:55 mode/#code [+o himi] by ChanServ
22:20 * gnolam eyes these logs.
22:20
<@gnolam>
Either some of these people are running with misconfigured machines, or they date back to 1980.
22:38
<@Tarinaky>
Why not both?
22:39 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has joined #code
22:39 mode/#code [+o RchrdB] by ChanServ
22:41 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
22:54 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
22:54 mode/#code [+o himi] by ChanServ
23:02 RchrdB [RchrdB@Nightstar-me7im1.range86-153.btcentralplus.com] has quit [[NS] Quit: Leaving]
23:03 Checkmate [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds]
23:27 Turaiel[Offline] is now known as Turaiel
23:44 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
--- Log closed Fri Aug 15 00:00:52 2014
code logs -> 2014 -> Thu, 14 Aug 2014< code.20140813.log - code.20140815.log >

[ Latest log file ]