code logs -> 2011 -> Fri, 18 Nov 2011< code.20111117.log - code.20111119.log >
--- Log opened Fri Nov 18 00:00:18 2011
00:05
<@McMartin>
Also, these "lossless transform between XML and S-Expression" things look kind of tasty.
00:08
< RichardBarrell>
McMartin: I have an excerpt from "The Tribulations of Muffy and Percival" as my ringtone for SMS messages. Does that trump Nyan Cat?
00:12
<@McMartin>
Heh
00:12
<@McMartin>
I don't know because I don't recognize it
00:12 * McMartin uses a snippet from the song "Science is Fun" from Portal 2.
00:15 RichardBarrell [richard@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
00:22 Derakon[AFK] is now known as Derakon
00:27 RichardBarrell [richard@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
01:01 Rhamphoryncus_ [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
01:06 Kindamoody[zZz] is now known as Kindamoody
01:15 VVash is now known as VVornicus
01:35 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:38 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
03:00 SmithKurosaki [smith@Nightstar-e26015c4.home1.cgocable.net] has joined #code
03:04 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
03:13
< RichardBarrell>
I really, really hate doing any kind of foreign data imports into this piece of software.
03:14
< RichardBarrell>
The whole thing is semifuckingmagical and oh God it barely fucking works. :(
03:14
< Eri>
import foreigners to import your foreign data by hand
03:16
< RichardBarrell>
Object databases are really fucking shit to export data from or import to. Good luck getting anything that even vaguely resembles a clean schema, especially when properties have been draped across many, many objects. :(
03:18
< RichardBarrell>
Oh and single-point-of-truth violations all over the place.
03:18
< RichardBarrell>
I am working against an untyped data schema that was not designed, but accrued. :(
04:10 SmithKurosaki [smith@Nightstar-e26015c4.home1.cgocable.net] has quit [Ping timeout: 121 seconds]
04:45 Kindamoody is now known as Kindamoody|breakfast
05:27 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
05:29 McMartin [mcmartin@Nightstar-dfdb972e.pltn13.sbcglobal.net] has quit [Client closed the connection]
05:37 Kindamoody|breakfast is now known as Kindamoody
05:38 McMartin [mcmartin@Nightstar-9c33ac61.pltn13.sbcglobal.net] has joined #code
05:55 ErikMesoy|sleep is now known as ErikMesoy
06:10 Kindamoody is now known as Kindamoody|out
06:16 RichardBarrell [richard@Nightstar-3b2c2db2.bethere.co.uk] has quit [Connection closed]
06:34 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has quit [Ping timeout: 121 seconds]
06:38 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has joined #code
06:40 Derakon is now known as Derakon[AFK]
09:27 You're now known as TheWatcher
09:35 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
09:51 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
10:04 * Tamber eyes this code, ponders getting the keys for the refactor tractor and running it over until it stops twitching.
10:05 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
10:14 Kindamoody|out is now known as Kindamoody
10:34 Kindamoody is now known as Kindamoody|lunch
10:46 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
10:50 Kindamoody|lunch is now known as Kindamoody
11:21 Kindamoody is now known as Kindamoody|out
12:01 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
12:17 * TheWatcher sigh, gets to start coding php again
12:17
< TheWatcher>
And for "gets" read "has". And for "coding" read "shouting obscenities at"
12:17
< Tamber>
Fuuuuuu... n. <.<
12:29
< TheWatcher>
Better yet: I've got to write it for a server that's running 5.1.6
12:30
< Tamber>
CentOS, right~?
12:30
< TheWatcher>
How'd you guess?!
12:30
< Tamber>
I have my ways. ;)
12:34
< TheWatcher>
Even better yet: I need to find the sodding 5.1.6 manual
13:39 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
14:26 * gnolam laughs out loud at the latest XKCD.
14:27
< Tamber>
XD
14:27
< gnolam>
https://www.xkcd.com/979/
14:28
< Tamber>
Glad to see I'm not the only one who starts screaming at the monitor when that happens to me~
14:28
< Tamber>
(I half-suspect there's the post with the answer in it, almost completed and the mouse hovering over the submit button... burning into a monitor with a bloodsmear on it~)
14:49
< TheWatcher>
God, I'd forgotten just how much I hated using mysqli in php
14:50
< kwsn>
... and why were you using PHP?
14:51
< TheWatcher>
Because I like inflicting terrible pain on myself. Or because I'm writing something that has to fit into a larger php-based system.
14:59
< Rhamphoryncus>
the PHP comments are the best part of that language checklist :D
15:03
< kwsn>
:P
15:03
< TheWatcher>
It's easier to find them amusing when you're not dealing with things like, for example, the fact that while mysqli provides a fetch_assoc method for results from direct queries, there is no equivalent for results from prepared queries, where you need to hand-bind each result column. Or any of the thousands of other utterly ridiculous and midbogglingly inconsistent shit this language has.
15:20 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
15:49 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
16:07 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
18:50 Kindamoody|out is now known as Kindamoody
18:52 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has joined #code
18:53
< Derakon>
I hate debugging OpenGL.
18:53
< kwsn>
I'm so glad I like embedded over stuff like that
18:53
< Derakon>
Program's throwing an "invalid value" error when I do glTexSubImage2D. AFAICT I'm meeting all the requirements for it to pass muster.
18:55
< Derakon>
It'd be really nice if OpenGL were more verbose about its error codes.
18:58
< Derakon>
I allocate texture memory with glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 512, 512, 0, GL_LUMINANCE, GL_SHORT, NULL)
18:58
< Derakon>
That works fine.
18:59
< Derakon>
But then glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 512, 512, GL_LUMINANCE, GL_SHORT, image data) errors out.
18:59
< Derakon>
The image data here being a Python string of appropriate length, which approach I know for a fact works because I've had it work in other cases...
19:15 Kindamoody is now known as Kindamoody[zZz]
19:40 * kwsn wants to go home :<
19:57
< TheWatcher>
dera: do you have any kind of border set?
19:57
< TheWatcher>
oh, wait, you said it was 0, so no...
21:06 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
21:09
< Derakon>
Hm, okay, the problem appeared when I changed where the image was initialized.
21:10
< Derakon>
Ah, probably because OpenGL hadn't been initialized yet in the first case.
21:10<~VVornicus> Yeah you do kind of have to init opengl before using it.
21:10
< Derakon>
Details~
21:16
< Derakon>
Whoops, there goes a stack underflow.
21:16
< TheWatcher>
Fun~
21:20
< Derakon>
The overall goal here is to receive a 2560x2160 (or something like that) image from one of our cameras and display it in a window.
21:20
< Derakon>
Sadly the computer's maximum texture size is 1024x1024.
21:21
< Derakon>
And we want to be able to change the black and white points, pan, zoom, etc.
21:21
< Derakon>
Nothing I've not done before, but somehow I still get tripped up every time I have to do this kind of stuff.
21:22
< gnolam>
The zoom is going to be especially fun, in the Dwarf Fortress sense, if you want to make it seamless.
21:23
< Derakon>
Presumably I could allow for some overlap between tiles. But seams don't overly bother me at this stage.
21:45 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
21:48
< celticminstrel>
...how does one get a stack underflow.
21:59
< Derakon>
By popping from the stack before pushing to it.
21:59
< Derakon>
In this case, I had moved most of my rendering logic into an if statement, but I missed some cleanup, so when the if block didn't evaluate, the cleanup happened anyway.
21:59 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
21:59 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
22:06 ErikMesoy is now known as ErikMesoy|sleep
23:02 VVornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
23:03 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:03 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:44 You're now known as TheWatcher[t-2]
23:47 You're now known as TheWatcher[zZzZ]
23:59 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has quit [[NS] Quit: leaving]
--- Log closed Sat Nov 19 00:00:33 2011
code logs -> 2011 -> Fri, 18 Nov 2011< code.20111117.log - code.20111119.log >

[ Latest log file ]