code logs -> 2012 -> Fri, 13 Apr 2012< code.20120412.log - code.20120414.log >
--- Log opened Fri Apr 13 00:00:31 2012
00:01
< Noah>
Uhg, cannot find my fraking headphones
00:05
<~Vornicus>
THey may be too busy fraking.
00:09
< Noah>
In my boarding bag: 8GB SanDisk USB, Casio fx-115 ES, a dime, two 0.5mm mechanical pencils, extra lead, extra erasers, eraser utensil, several DS games, an Action Replay device with USB cable, a DS lite...
00:09
< Noah>
an external hard drive with usb cable, a microfiber mitt, two pokewalkers, a multimeter, two jumper cables, a wallet for my store discount cards and BC powders, a graphing composition notebook, a USB power wall adapter for a Kindle, a casio ca-53w calculator watch, and a multitool...
00:09
< Noah>
and no headphones
00:11 Atreus is now known as Tarinaky
00:13 RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
00:15
< Noah>
Guess I'll go check the van.
00:16
< Noah>
Since you all are useless twats with no tea or headphones
00:23
< Noah>
Ah hah, they were in my rolling backpack
00:26 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [[NS] Quit: beroot]
00:26 You're now known as TheWatcher[T-2]
00:35 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
00:35 mode/#code [+o Alek] by ChanServ
00:38
< Noah>
Is it weird that I really like lynx?
00:38 You're now known as TheWatcher[zZzZ]
00:38
< Noah>
oh shi
00:38
<&McMartin>
Only in that I like elinks better
00:38
< Noah>
I'm on linux, I can find a gopher client
00:38
<&McMartin>
SHOCK HORROR.mp3
00:44
< Noah>
Eh, I don't like elinks, and lynx has nice coloring
00:48
< Noah>
Wikipedia is fun in lynx. But someone should have it pass images through that ascii filter to make images, lol
00:59 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
01:03
<~Vornicus>
...now I'm wondering what SHOCK HORROR.mp3 sounds like
01:08 Derakon[AFK] is now known as Derakon
01:08
<&Derakon>
Vorn: http://www.youtube.com/watch?v=7g9WjcGdxuM
01:09
<~Vornicus>
ah of course
01:29
<&Derakon>
So getting back to parsing these resource files.
01:29
<&Derakon>
I have monster records, and monster template records. They're almost identical.
01:30
<&Derakon>
I could probably make it work that they actually map to the same class, which would then just have one function to intepret them as a template (and apply it to a monster instance) and another to interpret it as a monster (and generate a monster instance).
01:30
<&Derakon>
Or I could keep them as separate classes but make them share the same parsing logic.
01:30
<&Derakon>
Unfortunately that means writing something like this: ...
01:31
<&Derakon>
self.index, self.name, self.description, self.flags, self.blows, self.speed, self.hitpoints, self.evasion, self.absorption, ... = parseRecord(lines)
01:33
< Noah>
yay self
01:33
< Noah>
Oops, I mean, self.yay()
01:36
<&Derakon>
Anyway, suggestions?
01:37
< Noah>
no, soz
01:39
< gnolam>
... is self.blows a boolean?
01:40
<&Derakon>
No, it's a list of melee attacks.
01:40
< gnolam>
Aww.
01:40
<&Derakon>
If it were a boolean, it would be self.doesBlow.
01:40 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
01:43 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
01:43 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has joined #code
01:43 mode/#code [+o eckse] by ChanServ
02:35 Kindamoody[zZz] is now known as Kindamoody
03:08 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
04:32 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
04:33 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
04:55
<&McMartin>
"In terms of user experience, Facebook is like an NYPD police van crashing into an IKEA, forever"
05:17
<&Derakon>
Argh, circular dependency.
05:34 Kindamoody is now known as Kindamoody|movie
05:40 * Derakon eyes grep, wonders why "grep -E "^\s*#" isn't returning lines that have some whitespace before the first #.
05:41
<&McMartin>
Isn't \S whitespace?
05:41
<&McMartin>
It's been too long since I've PCREd
05:41
<&Derakon>
I think they both are.
05:41
<&Derakon>
In any event, using \S instead doesn't change the behavior visibly.
05:42 * McMartin checks
05:42
<&McMartin>
Actually \S is *non-*whitespace
05:42
<&Derakon>
Heh.
05:42
<&McMartin>
Try -P~
05:43
<&Derakon>
That gets me all comments and all blank lines. Weird.
05:44
<&McMartin>
Hrm
05:44
<&McMartin>
You didn't use the tilde, did you?
05:44
<&Derakon>
No, I assumed that was intonation.
05:44
<&McMartin>
Yeah
05:44
<&McMartin>
My man page for grep -P says "highly experimental"
05:45
<&McMartin>
It might be a bug
05:45
<&Derakon>
Mine just says "Interpret PATTERN as a Perl regular expression."
05:45
<&McMartin>
But -E isn't PCRE, it turns out
05:57
<@rms>
Derakon: What was it returning?
05:58
<@rms>
Because it works for me
05:58
<&Derakon>
Just the lines that had a # as the first character.
05:58
<&Derakon>
I.e. no whitespace between beginning-of-line and the first comment character.
05:58
<@rms>
You want \s+ then
05:58
<&Derakon>
Didn't work either.
05:58
<@rms>
* is 0 or more, + is one or more
05:58
<&McMartin>
It's the "or more" that is breaking for him.
05:58
<&Derakon>
Yes, I know that.
05:59
<&Derakon>
+ is not interpreted correctly; I get no output with "^\s+#".
05:59
<&Derakon>
(I have plenty of experience with regexes, but they tend to be finicky at the best of times)
06:00
<@rms>
Are you testing against a file that you know should be returning something?
06:00
<&Derakon>
Yes.
06:00
<@rms>
$ grep --version
06:00
<@rms>
grep (GNU grep) 2.10
06:00
<@rms>
(I'm having no issues)
06:00
<&Derakon>
grep (GNU grep) 2.5.1
06:00
<&Derakon>
Yes, you said
06:03
<@rms>
All I can suggest is upgrade
06:04
<&Derakon>
That seems unlikely to work seeing as I already have a newer version than you do.
06:04
<&Derakon>
Oh, wait, no.
06:04
<&Derakon>
Stupid two-digit minor version numbers.
06:21
< Noah>
lol
06:30 Derakon is now known as Derakon[AFK]
06:54 eckse [eckse@Nightstar-44c11004.dsl.sentex.ca] has quit [Connection reset by peer]
07:34 himi-cat [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
07:41 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [Connection closed]
07:41 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
07:41 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
07:41 mode/#code [+o Alek] by ChanServ
07:41 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:41 mode/#code [+qo Vornicus Vornicus] by ChanServ
08:52 Kindamoody|movie is now known as Kindamoody
09:04 AnnoDomini [annodomini@Nightstar-c7117735.adsl.tpnet.pl] has joined #code
09:04 mode/#code [+o AnnoDomini] by ChanServ
10:07 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
10:07 mode/#code [+o himi-cat] by ChanServ
10:21 You're now known as TheWatcher
10:47 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
10:56
<@TheWatcher>
Ugh, maybe I shouldn't be coding before my first mug of tea...
11:19 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed]
11:21 Kindamoody is now known as Kindamoody|out
11:29 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
11:44
< froztbyte>
haha
11:45
< froztbyte>
TheWatcher: 'tis all that perl doing it to your brain ;P
11:55
<@TheWatcher>
Also, I am full of hate for HTML5 video
12:06
< Tarinaky>
http://www.scoopshot.com/hiring-developer/
12:11
<@TheWatcher>
Pft
12:11
< Tarinaky>
I'm trying to work out if it's better to go through the consecutive digits of pi looking for odd palindromes and -then- find out if they're prime.
12:12
< Tarinaky>
Actually, yeah. That's the only way to do it.
13:14
< Stalker>
<TheWatcher> Also, I am full of hate for HTML5 video <- Why?
13:15
<@TheWatcher>
Because the fucking browser writers are utterly incapable of agreeing on a common standard
13:17
< Stalker>
I thought any HTML5 video was the <video> tag, and that webm and the h264 thing was just their twitching nerves and unwillingness to conform to something already agreed upon.
13:21
<@TheWatcher>
Nope. The spec used to recommend ogg theora for video, and vorbis for audio
13:21
< Stalker>
Oh.
13:21
<@TheWatcher>
then apple and nokia (at least) threw a hissyfit
13:22
<@TheWatcher>
so now, there's h.264, VP8, and Ogg Theora for video, and no consistent support across browsers
13:23
<@TheWatcher>
(generally, any browser that supports vp8 supports ogg, too, but generally won't support h.264. Those that support h.264 have patchy support for ogg and vp8!)
13:24
<@TheWatcher>
So you need to provide at least two video formats. Three (flash video), if you want to target any version of IE before 9.
13:28
< Stalker>
I figure it'll all be settled in a year or two.
13:30
<@TheWatcher>
Some of use don't have that, unfortunately.
13:38
< gnolam>
It'll all be settled when MPEG LA decides it's baited enough and starts collecting juicy licensing fees. :P
13:50
<@TheWatcher>
Because that worked so well to stop people using gifs~
14:05 symbol [symbol@2D9871.E3DD81.3BE9E7.8E3843] has joined #code
14:50 * TheWatcher arghs, stabs people in work
14:51
<@TheWatcher>
Wasting my fucking time on wild goose chases, bloody twazzocks
14:53
< Stalker>
I've never really understood that expression. Is it the goose that is wild, or the chase?
14:54
<~Vornicus>
Yes.
15:05
<@rms>
Stalker: ever seen Hot Fuzz?
15:05
< Stalker>
Possibly.
15:05
<@rms>
Geese are hard to catch, presumably a wild one would be more so
15:10
< Rhamphoryncus>
On foot no less
15:11
< Rhamphoryncus>
As soon as it sees you coming it'll either swim to deeper water or take off. Probably avoids any sort of cover, so you won't be able to sneak up on it
15:12
< Rhamphoryncus>
So: lots of effort but a big waste of time
16:11
< Stalker>
Shoot it?
17:41 Kindamoody|out is now known as Kindamoody
17:59
<@Tamber>
"Wild goose chase?" "Howitzer."
18:51 AbuDhabi [annodomini@Nightstar-bbe13549.adsl.tpnet.pl] has joined #code
18:52 symbol [symbol@2D9871.E3DD81.3BE9E7.8E3843] has quit [Ping timeout: 121 seconds]
18:54 AnnoDomini [annodomini@Nightstar-c7117735.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
18:59 * Rhamphoryncus attempts pixel art
18:59 * Rhamphoryncus makes babies cry
19:04
< Noah>
And here, a new entry in my Pixel Art Museum, "babies cry" by a one Rhamphorync-- ma'am? Ma'am?! MA'AM! I NEED YOU TO QUIET YOUR CHILD DOWN PLEASE, THIS IS A MUSEUM!
19:04
< Rhamphoryncus>
LOL
19:04
< Rhamphoryncus>
step one: randomly place pixels in desired shape
19:04
< Rhamphoryncus>
step two: ...
19:05
< Noah>
step three: deltaco
19:07 Kindamoody is now known as Kindamoody[zZz]
19:19
< Rhamphoryncus>
By adding lighting I can see, umm, light at the end of the tunnel :P
19:19
< Rhamphoryncus>
Still rather amorphous, but that's better than just pixel noise
19:20
< Rhamphoryncus>
btw, I'm drawing a pile of beets from a distance
19:20
< Rhamphoryncus>
So it is just random pixels in the right shape :)
19:33 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
20:26 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has joined #code
20:44 Derakon[AFK] is now known as Derakon
21:28 AbuDhabi [annodomini@Nightstar-bbe13549.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
21:29 AnnoDomini [annodomini@Nightstar-fba8f4b0.adsl.tpnet.pl] has joined #code
21:29 mode/#code [+o AnnoDomini] by ChanServ
21:52 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:59 Stalker [Z@Nightstar-b920a19c.cust.comxnet.dk] has joined #code
22:08 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has quit [[NS] Quit: Leaving.]
22:18 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has joined #code
22:19 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has quit [Client closed the connection]
22:20 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has joined #code
22:22 Noah [noah@Nightstar-af5e5b53.pools.spcsdns.net] has quit [Connection closed]
22:39 eckse [eckse@Nightstar-17a53c9c.dsl.sentex.ca] has joined #code
22:39 mode/#code [+o eckse] by ChanServ
22:52 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has joined #code
23:32
<~Vornicus>
For the record I am a sad case: I've been trying to create some D&D characters the past few days and instead I've found myself building a D&D character creation app.
23:33 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
23:40
<@rms>
Ha
23:40
<@rms>
I've been trying to do that for Exalted, but the rules are much more complicated :/
23:41
<&McMartin>
White Wolf can't code a game system to save their damned lives
23:41
<@rms>
So I'm told
23:53 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
23:53 mode/#code [+o ToxicFrog] by ChanServ
--- Log closed Sat Apr 14 00:00:46 2012
code logs -> 2012 -> Fri, 13 Apr 2012< code.20120412.log - code.20120414.log >

[ Latest log file ]