code logs -> 2013 -> Thu, 14 Nov 2013< code.20131113.log - code.20131115.log >
--- Log opened Thu Nov 14 00:00:44 2013
00:05 Netsplit *.net <-> *.split quits: @Pandemic, @Tamber, simon, Attilla, @gnolam, Ogredude, Reiv_, ErikMesoy|sleep, ^Xires, xybre, (+2 more, use /NETSPLIT to show all of them)
--- Log closed Thu Nov 14 00:10:04 2013
--- Log opened Thu Nov 14 00:57:57 2013
00:57 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
00:57 Irssi: #code: Total of 36 nicks [13 ops, 0 halfops, 0 voices, 23 normal]
00:57 mode/#code [+o TheWatcher] by ChanServ
00:58 Irssi: Join to #code was synced in 35 secs
01:01 You're now known as TheWatcher[T-2]
01:06 You're now known as TheWatcher[zZzZ]
01:07 Turaiel[Offline] is now known as Turaiel
01:37
< Reiv_>
McMartin: What are you touching?
01:38
< Reiv_>
ToxicFrog: Why was it interesting yesterday
01:42
<&ToxicFrog>
Reiv_: let's just say there was a highly visible internal-facing networking incident and leave it at that.
01:43
< Reiv_>
ToxicFrog: Aw, the customers never noticed?
01:43
<&ToxicFrog>
No. It didn't affect anything customer-facing.
01:44
< Reiv_>
Bah, no fun at all~
01:46
<&McMartin>
Reiv: Some code deep within our product
01:46
<&McMartin>
In an effort to recycle the data it reads and writes
01:46
<&McMartin>
I have no idea how any of this ever successfully ported to any platform
01:49
< Reiv_>
Ouch
01:49
< Reiv_>
I, meanwhile, am editing code due to a project that was hastily written as a Priority One Report with nontrivial complexity.
01:50
< Reiv_>
Because it broke due to said project.
01:50
< Reiv_>
Said report was written as a Priority One... because the previous project broke it too.
01:51
< Reiv_>
So now I'm editing XML stored in an RTF because when the sucker was handcoded we /didn't have a reporting front-end yet/.
01:51
< Reiv_>
Hooray legacy code~
01:53
<&McMartin>
yyyep
01:54
<&McMartin>
This is code that is handling vstruct-style stuff by just chucking it into a block of memory and casting it to a struct with things like 17-bit-wide fields and hoping for the best.
01:54
<&McMartin>
So, uh, *apparently* the x86 compilers for MSVC and gcc agree on bitfield layout, but I'm not getting sensible results out of it when I look at the hex dumps "by hand"
01:54
<&McMartin>
So now I have to reverse engineer this bitfield format.
01:55
<&McMartin>
Not that this is difficult; I'm basically copy-pasting the reader code into a simple .cpp file and adding a main() that lets me name the file to point it at, but still, rarghbargle
01:57
< Reiv_>
This stuff lets the Meter Readers have paper write sheets.
01:58
< Reiv_>
It is thus SQL-driven XML in an RTF that is intended to handle nested for-each loops
01:58
< Reiv_>
And I have to add a new field and get it to align properly
01:58
< Reiv_>
(You can have multiple registers per meter, multiple meters per installation, and multiple installations per meter reader...)
01:59
< Reiv_>
Sidequery: Does RTF do tabstops?
02:04
< Reiv_>
because whoever wrote this didn't use them~
02:36 Kindamoody|autojoin [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
02:36 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
02:36 celticminstrel [celticminst@Nightstar-al12cf.dsl.bell.ca] has joined #code
02:39 JustBob [justbob@Nightstar-5smtnf.or.comcast.net] has quit [[NS] Quit: ]
02:39 JustBob [justbob@Nightstar-5smtnf.or.comcast.net] has joined #code
02:47 * thalass eyes linux mint
02:47
< thalass>
yup. My sidewinder force feedback pro 2 is recognised... as a mouse. Throttle is a scroll wheel and everything. O.o
02:58 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:12 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has joined #code
03:12 mode/#code [+qo Vornicus Vornicus] by ChanServ
04:02 Kindamoody|autojoin is now known as Kindamoody
04:19 Xon [Xon@Nightstar-bd4.haq.23.203.IP] has quit [[NS] Quit: No Ping reply in 180 seconds.]
04:20 Xon [Xon@Nightstar-bd4.haq.23.203.IP] has joined #code
04:37 mode/#code [+o Kindamoody] by ChanServ
04:39
<&McMartin>
Bleh.
04:39 * McMartin returns from The Land Of Bending Java In Unnatural Ways
04:40
<&McMartin>
However, this will prove that we really do understand that horrible legacy code.
05:06 Derakon is now known as Derakon[AFK]
05:06 thalass [thalass@Nightstar-k6vtdf.bigpond.net.au] has quit [[NS] Quit: omgherd]
05:59 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
06:03 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
06:24 ErikMesoy|sleep is now known as ErikMesoy
06:33 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
06:55 Turaiel is now known as Turaiel[Offline]
08:22 celticminstrel [celticminst@Nightstar-al12cf.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:28 Pandemic [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: shutting down!]
08:41 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
08:52 ToxicFrog_ [ToxicFrog@Nightstar-gtjrvq.dsl.teksavvy.com] has joined #code
08:55 ToxicFrog [ToxicFrog@Nightstar-aiik80.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds]
09:31 You're now known as TheWatcher
11:29 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
13:16 Pandemic [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
13:16 mode/#code [+o Pandemic] by ChanServ
13:56
<@Azash>
http://eleks.github.io/js2js/
13:57
<@gnolam>
Hee
14:09
<@TheWatcher>
... someone put entirely too much effort into something that copies javascript files from one place to another.
14:13
<@Azash>
Guessing it's meant to be a joke or parody
14:23
< AnnoDomini>
Why does a touchpad driver need to be 200+ MB?
14:23
< AnnoDomini>
The sizes of drivers nowadays is ridiculous.
14:25
< ToxicFrog_>
Because it's a 1MB driver bundled with 199MB of poorly written bloatware for ~customizing your touchpad experience~
14:25
<@TheWatcher>
As much as 1MB?~
14:27
<@Azash>
AnnoDomini: Because the install config is XML
14:29
<@iospace>
just remember guys
14:29
<@iospace>
proper pointer snorting is key
14:32
< simon>
hmm
14:32
< simon>
aren't there any classical lexer generators as embedded DSLs?
14:32
< simon>
I'm trying to think if there's any non-annoying ways to do this in ML.
14:33
< simon>
e.g. specify productions and functions they reduce to as native ML combinators.
14:33
< simon>
s/productions/regexes and states/
14:36 celticminstrel [celticminst@Nightstar-al12cf.dsl.bell.ca] has joined #code
14:36 mode/#code [+o celticminstrel] by ChanServ
14:51
< simon>
I don't like the choice between "Yacc-like generator that produces nice LALR(1) parser program, but requires an out-of-language compile step" and "LL(k)-riddled parser combinator with lots of backtracking, bad error messages, but nicely embedded in my language".
14:55
< ToxicFrog_>
FWIW scala's parsing.combinator library is nicely embedded and has excellent error messages.
14:55
< ToxicFrog_>
No idea what the performance is like though.
14:55 ToxicFrog_ is now known as ToxicFrog
14:55 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
15:02 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has quit [[NS] Quit: Leaving]
15:26 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
15:34
<@TheWatcher>
Ohgods, someone shoot me, I'm reading RFC2822
15:35
< AnnoDomini>
That's not IRC.
15:35
< ErikMesoy>
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x0 8\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?: (?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25 [0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]? |[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x 09\x0b\x0c\x0e-\x7f])+)\])
15:36
< ErikMesoy>
(That's a regex for validating email addresses according to RFC2822.)
15:36
< AnnoDomini>
Does it?
15:38
< ErikMesoy>
For basic addresses, yes. I haven't done exhaustive testing.
15:39 * TheWatcher merely notes http://www.youtube.com/watch?v=JENdgiAPD6c
15:39
< ErikMesoy>
One of the reasons for this is that RFC2822 allows comments, which in turn are allowed to contain escaped special characters.
15:40
< ErikMesoy>
(In the email address, just to be clear.)
15:40
< AnnoDomini>
TheWatcher: I've been looking for that lecture! :D
15:43 * TheWatcher hates all over header folding and CFWS
15:45
<@TheWatcher>
(I'd dealy love to find the person who came up with that, stuff their every orifice with flesh-eating beetles and then feed them into a wood chipper, feet-first)
15:45
< simon>
ErikMesoy, http://www.regular-expressions.info/email.html says that RFC 5322 says what a valid email address is: http://tools.ietf.org/html/rfc5322#section-3.4
16:52
<@Azash>
17:25 <@Shiz> < directhex> alexrp, there's a bug in the loongson 2e's "nop" implementation, apparently
16:52
<@Azash>
17:26 <@Shiz> apparently sometimes nop causes a cpu deadlock
16:58
<@Azash>
http://qz.com/147313/ciscos-disastrous-quarter-shows-how-nsa-spying-could-freeze -us-companies-out-of-a-trillion-dollar-opportunity/
17:03 Turaiel[Offline] is now known as Turaiel
17:36 celticminstrel [celticminst@Nightstar-al12cf.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
17:39 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [Ping timeout: 121 seconds]
18:06 Turaiel is now known as Turaiel[Offline]
18:11 Derakon [chriswei@Nightstar-4k2ccr.ca.comcast.net] has joined #code
18:11 mode/#code [+ao Derakon Derakon] by ChanServ
18:11 * Derakon mutters at WxWidgets.
18:12
<&Derakon>
I love how you can call SetSize() on a panel and have it still be tiny because there's nothing actually in it.
18:12
<&Derakon>
I want to reserve the space for when there will be something in it!
18:12
< ErikMesoy>
Put invisible things in it?
18:12
< ErikMesoy>
Put things in it, size it, and remove things?
18:12
<&Derakon>
Then they'd take up space when I actually put the visible things in it.
18:12
<&Derakon>
I shouldn't have to do stupid bullshit little workarounds, is my point.
18:13
< ErikMesoy>
Why are you using SetSize in the first place?
18:14
<&Derakon>
Like I said, to reserve space in an initially-empty panel, so that when I put things into it later, it has the right size already.
18:14
<&Derakon>
(And also because otherwise the window would be hard to find)
18:14
< ErikMesoy>
Use SetSizeHints(minW, minH) ?
18:15
<&Derakon>
Oh, SetMinSize does what I want.
18:16
<&Derakon>
SetSize()'s documentation is "Sets the size of the window in pixels."
18:16
<&Derakon>
That rather sounds like what I want, but noooo~
18:17 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code
18:17 mode/#code [+o Alek] by ChanServ
18:53 Kindamoody is now known as Kindamoody|afk
19:05 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [Ping timeout: 121 seconds]
19:16 Kindamoody|afk is now known as Kindamoody
19:44 Kindamoody is now known as Kindamoody[zZz]
20:07 ToxicFrog [ToxicFrog@Nightstar-gtjrvq.dsl.teksavvy.com] has quit [[NS] Quit: ZNC - http://znc.in]
20:10 ToxicFrog [ToxicFrog@Nightstar-gtjrvq.dsl.teksavvy.com] has joined #code
20:10 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
20:15 Turaiel[Offline] is now known as Turaiel
20:44 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code
20:44 mode/#code [+o Alek] by ChanServ
21:20 * Derakon swears at Google Groups.
21:20
<&Derakon>
I have to subscribe to this mailing list to be able to post to it. Reasonable.
21:20
<&Derakon>
So where the fuck is the subscribe link.
21:21
<&Derakon>
wxPython's "subscribe to list" link takes you to https://groups.google.com/forum/#!forum/wxpython-users
21:21
<@Tamber>
I thought Google Groups went into "read only" mode *ages* ago. (I could be imagining things, though.)
21:22
<&Derakon>
This isn't Usenet.
21:22
<&Derakon>
I think they repurposed the "Google Groups" name to refer to mailing lists they administrate.
21:22
< AnnoDomini>
Haha.
21:22
<@Tamber>
Oh, lovely.
21:22
< AnnoDomini>
I definitely set up a mailing list using Google recently.
21:23 celticminstrel [celticminst@Nightstar-al12cf.dsl.bell.ca] has joined #code
21:23 mode/#code [+o celticminstrel] by ChanServ
21:23 * Derakon blarghs, is fortunately still subscribed to wx-users, will just send the message there instead of to wxpython-users.
21:23
<&Derakon>
Dunno what I'll do if I unsubscribe from wx-users, because fuck if I can tell how to resubscribe!
21:30
<@Namegduf>
I went there and I see a huge "Join group to post" button.
21:31
<&Derakon>
...how odd. I don't.
21:31
<@Namegduf>
On other groups I'm a member of I seem to be able to choose how I want to receive messages.
21:31
<@Namegduf>
Weird.
21:31
<@Namegduf>
You're logged into Google, right?
21:31
< ErikMesoy>
Does the button have a link you can pass?
21:32
<&Derakon>
This may be some aspect of the administrative system.
21:32
<&Derakon>
Since I'm logged into a subdomain (msg.ucsf.edu).
21:32
<&Derakon>
And there's a box that says "You have limited access to public groups inside your domain. Contact your domain administrator for more information."
21:32
<&Derakon>
If that's making me be read-only for technical mailing lists...then fuck UCSF.
21:32
<@Namegduf>
Ah. Sounds like your domain admin has banned you from joining public groups.
21:32
<&Derakon>
They also ban me from IRC~
21:33
<@Namegduf>
Switch to your real Google Account and use that one.
21:33 * Namegduf assumes everyone has one outside of domain as well as inside
21:33
<&Derakon>
Yeah, that works.
21:33
<&Derakon>
Jesus.
21:35 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
22:39 ErikMesoy is now known as ErikMesoy|sleep
22:58 Omega [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code
22:59 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [NickServ (GHOST command used by Omega)]
22:59 Omega is now known as Alek
22:59 mode/#code [+o Alek] by ChanServ
23:45 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has joined #code
23:45 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:50 Derakon [chriswei@Nightstar-4k2ccr.ca.comcast.net] has quit [[NS] Quit: leaving]
--- Log closed Fri Nov 15 00:00:09 2013
code logs -> 2013 -> Thu, 14 Nov 2013< code.20131113.log - code.20131115.log >

[ Latest log file ]