code logs -> 2015 -> Wed, 05 Aug 2015< code.20150804.log - code.20150806.log >
--- Log opened Wed Aug 05 00:00:56 2015
00:21 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
00:26 catadroid [catalyst@Nightstar-fkjkbc.dab.02.net] has joined #code
00:26 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
00:27 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
00:47 Derakon[AFK] is now known as Derakon
01:05 gizmore [kvirc@Nightstar-18qenh.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
01:46 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code
01:46 mode/#code [+o himi] by ChanServ
01:49 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
03:44 Kindamoody[zZz] [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
03:47 Kindamoody[zZz] [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
03:47 mode/#code [+o Kindamoody[zZz]] by ChanServ
03:50 Xires is now known as ^Xires
03:56 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
03:59 ^Xires is now known as Xires
04:09 Kindamoody[zZz] [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
05:03 Derakon is now known as Derakon[AFK]
05:20 celticminstrel [celticminst@Nightstar-47dckm.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:44 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
06:12 catadroid` [catalyst@Nightstar-amtka2.dab.02.net] has joined #code
06:13 macdjord|wurk is now known as macdjord|slep
06:15 catadroid [catalyst@Nightstar-fkjkbc.dab.02.net] has quit [Ping timeout: 121 seconds]
07:24 * McMartin sets about writing a program to ROM-dump the BASIC interpreter from his C128, only to realize he can do it with a single instruction in its BASIC.
--- Log closed Wed Aug 05 07:47:03 2015
--- Log opened Wed Aug 05 07:47:12 2015
07:47 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
07:47 Irssi: #code: Total of 35 nicks [20 ops, 0 halfops, 0 voices, 15 normal]
07:47 mode/#code [+o TheWatcher] by ChanServ
07:47 Irssi: Join to #code was synced in 38 secs
08:07
<&McMartin>
Mmm. That did not quite go according to plan.
08:16 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
08:18
< catadroid`>
?
08:21
<&McMartin>
So, I have here a physical, North American (NTSC) Commodore 128 computer running BASIC 7.0, and I have the standard C128 emulator
08:21
<&McMartin>
If I set the emulator to do a splitscreen for bitmapped graphics vs text, it turns out this doesn't work; it flickers like Hell
08:21
<&McMartin>
Unless I configure it to be emulating a European C128
08:22
<&McMartin>
So, OK, fine, that sounds like the BASIC chips are different between the two
08:22
<&McMartin>
So I dumped the ROMs from the C128 and loaded them in
08:22
<&McMartin>
BASIC can be slotted in, and it flickers *less* but is still a problem in NTSC mode
08:22
<&McMartin>
Swapping in the equivalent of the BIOS, however, renders it unfit to boot
08:22
<&McMartin>
Not 100% sure what's going on there, other than "perhaps I have misconfigured my ROM dump there"
08:33 catadroid` [catalyst@Nightstar-amtka2.dab.02.net] has quit [[NS] Quit: Bye]
08:38 catadroid [catalyst@Nightstar-0jkdqm.dab.02.net] has joined #code
08:49 catadroid [catalyst@Nightstar-0jkdqm.dab.02.net] has quit [[NS] Quit: Bye]
09:50 gizmore [kvirc@Nightstar-97sq7g.dip0.t-ipconnect.de] has joined #code
09:53 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
09:53 mode/#code [+o Checkmate] by ChanServ
10:03
< abudhabi>
MySQL. I'd like for a few columns to be unique together. As in, as if they were concatenated and only then reviewed for uniqueness.
10:03
< abudhabi>
Can't key them, because one of them happens to be too large for keys.
10:04
< abudhabi>
Hmm. Another way to phrase it would be that I want no entries in that table that are duplicates.
10:08
< abudhabi>
Nevermind! Found that you can group UNIQUE statements.
10:09
< abudhabi>
Except I can't seem to uniquify a primary key. Argh.
10:09
<&McMartin>
Primary keys are, IIRC, intrinsically unique
10:10
< abudhabi>
No, wait, I was clicking the wrong checkbox.
10:12 gizmore [kvirc@Nightstar-97sq7g.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
10:16 * abudhabi mutters as he truncates a field for uniqueness purposes.
10:16
< abudhabi>
The 767 byte limit is very annoying.
10:34 blargh [jimbob@Nightstar-t6ues9.static.bresnan.net] has joined #code
10:35 blargh [jimbob@Nightstar-t6ues9.static.bresnan.net] has left #code []
10:47 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
10:47 mode/#code [+o himi] by ChanServ
11:10 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:22 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
12:20 catadroid [catalyst@Nightstar-8s3dha.dab.02.net] has joined #code
12:20 catadroid [catalyst@Nightstar-8s3dha.dab.02.net] has quit [[NS] Quit: Bye]
12:27
< 693AAACAZ>
can anyone here recommend a good guide to parsing PDF? the wikipedia page and the PDF standard are both extensive.
12:27 693AAACAZ is now known as sshine
12:31
< sshine>
parsin' PDF... my life has come to this.
12:33
<@TheWatcher>
Parsing it for /what/?
12:33 catadroid [catalyst@Nightstar-7imsg6.dab.02.net] has joined #code
12:33
<@TheWatcher>
If you possibly can, I'd recommend using a tool like pdf2text and then processing the result of that
12:33
<@TheWatcher>
because you're walking into a cavern full of sorrow spiders there.
12:45
< sshine>
I actually can't
12:46
< sshine>
I'm working on a streaming PDF parser that triggers events as various patterns occur in the stream.
12:46
< sshine>
I don't think there exists a framework for programmatically reacting to objects in a PDF file as they are encountered while parsing it.
12:47
< sshine>
(it's a work thing. the milliseconds count.)
14:21 macdjord|slep is now known as macdjord|wurk
14:21 gizmore [kvirc@Nightstar-97sq7g.dip0.t-ipconnect.de] has joined #code
14:31 gizmore [kvirc@Nightstar-97sq7g.dip0.t-ipconnect.de] has quit [The TLS connection was non-properly terminated.]
15:46 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
15:46 mode/#code [+o Checkmate] by ChanServ
16:22 celticminstrel [celticminst@Nightstar-47dckm.dsl.bell.ca] has joined #code
16:22 mode/#code [+o celticminstrel] by ChanServ
16:52
< sshine>
ugh...
16:53
< sshine>
ASP.NET is horrible.
16:54
< sshine>
I just found a bug caused by 'this.searchOptionsPanel.Visible = false; ... this.searchOptionsPanel.Visible = true;' caused the search options to reset their internal value, but not what the dropdowns were saying (the text)
17:01
<@celticminstrel>
That sounds similar to what happens when you reload a page.
17:13
< sshine>
yeah
17:13
< sshine>
ASP.NET and ViewState is a horrible invention.
17:13
< sshine>
when you switch pages as a consequence of 'events', ASP.NET persists state between pages using a hidden form object with a huge binary chunk in it. you probably know it.
17:14
< sshine>
so when you get used to that, your site stops having regular hyperlinks and only "LinkButtons" (javascript-powered)
17:15
< sshine>
and whenever you reload, the page loses its state. a lot of old ASP.NET sites don't even keep track of the state using e.g. URLs, so reloading feels very much like just killing your desktop application, starting it again and expecting it to know where you left off.
17:16
< sshine>
so, switching between two tabs, the searchOptionPanel disappears, and when it reappears, it somehow remembers the dropdown values, but the so-called WebControl that lies behind it has lost its internal state (what it thinks is selected).
17:17
< sshine>
besides not using the ViewState this criminally, one could also defer from using WebControls as the 'M' in MVC!
17:17
< sshine>
my search options only exist within the dropdowns. which'd be fine if they never need to be persisted, but they do.
17:21 Meatyhandbag [sebastianfe@Nightstar-ca8.u04.53.184.IP] has joined #code
17:21
<@celticminstrel>
Hm. Apparently I have Java 8, but 'java -version' yields 1.7. :S
17:21
<@Tamber>
Java 1.7, JRE 8?
17:22
<@celticminstrel>
Eh?
17:22
<@Tamber>
Just wondering if it's a language/runtime environment version difference.
17:22
<@celticminstrel>
I dunno.
17:24
<&ToxicFrog>
celticminstrel: update-alternatives --list java?
17:25
<@celticminstrel>
I'm currently downloading JDK instead of JRE, maybe that's it.
17:25
<@celticminstrel>
update-alternatives does not exist.
17:25 Meatyhandbag [sebastianfe@Nightstar-ca8.u04.53.184.IP] has quit [Ping timeout: 121 seconds]
17:25
<@celticminstrel>
...and Firefox seems to forget my sync password every time I launch it. :S
17:27
<@celticminstrel>
That did it.
17:28
<@celticminstrel>
So now I can use lambdas when writing Java. Not that I'm planning to write Java anytime soon...
18:13
< sshine>
yes
18:16
< sshine>
maybe parser combinators in Java will be more popular.
18:17
< sshine>
and Linq-like libraries will also be more useful with lambdas.
18:17
<&jerith>
Couldn't you already have inline runnable classes or something?
18:18
<@celticminstrel>
Yes.
18:18
<&jerith>
Aren't those basically lambdas wrapped in several lines of boilerplate?
18:18
<@celticminstrel>
I don't think they support closures.
18:19
<@celticminstrel>
But otherwise, yes.
18:19
<&jerith>
Oh, do lambda mean closures?
18:19
<@celticminstrel>
I think so? Not quite sure.
18:19
<@celticminstrel>
It sounded like it from reading the Oracle tutorial page, but there was no example given.
18:20
<&jerith>
I should probably read the docs or something, but I don't really care enough about Java to bother. :-P
18:20
<&jerith>
If I need to run on the JVM, there's Clojure and Scala.
18:30
<&ToxicFrog>
^
18:54 catadroid [catalyst@Nightstar-7imsg6.dab.02.net] has quit [Ping timeout: 121 seconds]
19:43
<@celticminstrel>
GIMP seems to be utterly incapable of properly tracking the windows it has open.
20:31 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
20:33 Kindamoody|autojoin [Kindamoody@Nightstar-lrch35.cust.tele2.se] has joined #code
20:33 mode/#code [+o Kindamoody|autojoin] by ChanServ
20:34 Kindamoody|autojoin is now known as Kindamoody
21:57 Alek [Alek@Nightstar-03ja8q.il.comcast.net] has quit [Ping timeout: 121 seconds]
22:02 Alek [Alek@Nightstar-03ja8q.il.comcast.net] has joined #code
22:02 mode/#code [+o Alek] by ChanServ
23:02 Kindamoody is now known as Kindamoody[zZz]
23:17 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Aug 06 00:00:12 2015
code logs -> 2015 -> Wed, 05 Aug 2015< code.20150804.log - code.20150806.log >

[ Latest log file ]