code logs -> 2010 -> Mon, 01 Feb 2010< code.20100131.log - code.20100202.log >
--- Log opened Mon Feb 01 00:00:27 2010
00:58 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
01:04 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
01:05 Syloqs_AFH is now known as Syloqs-AFH
01:06 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has quit [[NS] Quit: And poof! I am gone.]
02:05 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has quit [[NS] Quit: ]
02:15 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
02:17 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has joined #code
02:17 mode/#code [+o Derakon] by Reiver
02:43 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: z?]
06:11 SmithKurosaki [Smith@Nightstar-a68aafef.dsl.teksavvy.com] has quit [Connection closed]
06:12 SmithKurosaki [Smith@Nightstar-a68aafef.dsl.teksavvy.com] has joined #code
06:20 Serah [Z@Nightstar-11344bdb.customer.tele.dk] has quit [Ping timeout: 121 seconds]
06:24 Derakon is now known as Derakon[AFK]
07:03 Serah [Z@5E691D.FC7C16.7074BE.92F00F] has joined #code
07:08 Serah [Z@5E691D.FC7C16.7074BE.92F00F] has quit [Ping timeout: 121 seconds]
07:10 AnnoDomini [annodomini@Nightstar-38168b70.adsl.tpnet.pl] has joined #code
07:10 mode/#code [+o AnnoDomini] by Reiver
07:16 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
07:35 Derakon[AFK] [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has quit [Client closed the connection]
07:35 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
07:43 AbuDhabi [annodomini@Nightstar-653d75ba.adsl.tpnet.pl] has joined #code
07:44 Vornicus is now known as Vornicus-Latens
07:45 AnnoDomini [annodomini@Nightstar-38168b70.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
08:46 Zed [Zed@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds]
09:28 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has joined #code
09:28 mode/#code [+o Attilla] by Reiver
09:46 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
09:50 You're now known as TheWatcher
11:23 Zed [Zed@Nightstar-d0088b95.or.comcast.net] has joined #code
12:04 You're now known as TheWatcher[afk]
13:11 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
13:32 You're now known as TheWatcher
14:20 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
15:55 Tarinaky_ [jes55@Nightstar-203b3f66.le.ac.uk] has joined #code
15:55
< Tarinaky_>
Can anyone tell me how, in VC++ 2008 express one can have a canvas that I can paint simple geometric shapes onto?
15:56
< Tarinaky_>
Also - getting input from the mouse would be nice.
15:56
< Tarinaky_>
I'm really having difficulty finding information on what I'd have thought would be a simple thing :/
15:57 Attilla [Attilla@FBC920.DDABA2.B6DD6A.6DBD7E] has quit [Ping timeout: 121 seconds]
16:09
< gnolam>
WinAPI. MFC. .NET. DirectX. Any wrapper library for these. Pick one.
16:09
<@TheWatcher>
Or SDL >.>
16:10
< Tarinaky_>
I tried to use SDL because I already had experience with it.
16:10
< Tarinaky_>
Lost 2 hours trying to get it to work in VC++.
16:10
< Tarinaky_>
I didn't hate windows before today.
16:10
< Tarinaky_>
I do now.
16:10
< Tarinaky_>
>.>
16:10
<@TheWatcher>
vc++ is required?
16:10
< Tarinaky_>
If this was my box at home I'd have something by now -.-
16:10
<@TheWatcher>
Oh, uni work?
16:10
<@TheWatcher>
Bleh
16:11
< Tarinaky_>
Yeah. I'm at Uni.
16:11
< gnolam>
TheWatcher: SDL falls under the last category, "Any wrapper library for these".
16:11
<@TheWatcher>
True.
16:11
< Tarinaky_>
gnolam, I don't know windows and I can't install anything.
16:11
< Tarinaky_>
Of those which one a) is easiest and b) comes out of the box?
16:12
< Tarinaky_>
I've found -a- tutorial so far. But it says to "include the following popup menu in your application" with no explanation as to where in my program that'd go :/
16:14 Attilla [Attilla@FBC920.DDABA2.7B7BD2.3F5E3D] has joined #code
16:14 mode/#code [+o Attilla] by Reiver
16:16 * TheWatcher ums
16:16
< Tarinaky_>
It's particularly annoying given I don't have a windows box at home so it's not like I can do this at home :/
16:16
<@TheWatcher>
I am somewhat Confused, not to say Concerned.
16:17
< Tarinaky_>
I'm confused too.
16:17 * Tarinaky_ hasn't touched Windows since ~2006-ish and has never developed for Windows.
16:17
<@TheWatcher>
If this is uni work, then (call me crazy, but I do have some moderate experience with this) shouldn't you have either been taught or have access to materials explaining this stuff?
16:17 * Tarinaky_ hasn't got a -fucking- clue what he's doing.
16:17
< Tarinaky_>
TheWatcher, Not really, no.
16:18
< Tarinaky_>
I have a specification for the functions that control the servos on the prototype.
16:18
< Tarinaky_>
But that's about it.
16:18
<@TheWatcher>
Uh...huh
16:19
<@TheWatcher>
So the other students are just doing text interfaces or something?
16:20
< Tarinaky_>
The different sub-groups are doing different things.
16:20
< Tarinaky_>
The group immediately behind me ar emeasuring the spectrographic properties of bits of coloured plastic.
16:20
<@TheWatcher>
Ohgod, uni group work
16:21
<@TheWatcher>
So let me guess, you're doing all the work and the other muppets are at the pup getting ratarsed?
16:21
<@TheWatcher>
*pub
16:21
< Tarinaky_>
And I would be working on the control software for the prototype mount except the software to work on the software isn't on so I'm having to do 'something else'.
16:21
< Tarinaky_>
And no. As far as I'm aware everyone is working hard.
16:21
< Tarinaky_>
I'm the only one in my sub-group.
16:22
<@TheWatcher>
Oh..kay
16:22
< Tarinaky_>
I said the words programming and everyone ran like I had leperosy.
16:22
< gnolam>
Tarinaky: The easiest would probably be to use SDL. But of the others, pure WinAPI.
16:22
< Tarinaky_>
Or was on fire.
16:22
< Tarinaky_>
gnolam, I lost 2 hours trying to get SDL to work >.>
16:22
< Tarinaky_>
There're no packages for VC++ 2008. Only 2006 which I was under the impression was incompatible.
16:24 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
16:24
< gnolam>
Unfortunately, my WinAPI experience basically just consists of popping up the occasional dialog box.
16:24
< gnolam>
(And some window init code for an open source library, but that sin is well in the past)
16:25
< Tarinaky_>
Well. I'm going home in half an hour where I have root access on a linux box. I need to make up lost time - how easy will it be to set up a cross-compiler for SDL and get something that should work on a windows box?
16:25
< gnolam>
Anyway, compiling SDL shouldn't be a major problem. Getting it to work reliably on different computers, though...
16:25 * Tarinaky_ has WINE, yay >.>
16:27
< Tarinaky_>
gnolam, tried that. The project file was for VC++ 2005 which is -definately- incompatible.
16:29 * gnolam shrugs.
16:29
< gnolam>
The binaries should be compatible anyway.
16:35
< Tarinaky_>
Also: WTF is an LPCWSTR and how do I make one?
16:35
< Tarinaky_>
The documentation says it's a pointer to a wide-character string.
16:35
< Tarinaky_>
But it doesn't mention how you're supposed to construct the wide-character string it points to >.>
16:39
< Tarinaky_>
Ah. Nm. Got that.
16:40
< Tarinaky_>
Still. This is going to be a long week - I have that feeling :/
16:41
<@TheWatcher>
And I guess that Leicester are a pure windows shop? :/
16:42
< Tarinaky_>
Not strictly.
16:43
< Tarinaky_>
We have accounts on a Linux box we can connect to.
16:43
<@TheWatcher>
...
16:43
< Tarinaky_>
Problem is the problem calls for a Windows binary.
16:43
< Tarinaky_>
And I couldn't get mingw to work on here because I don't have root access >.>
16:46
< Tarinaky_>
"make: execvp: i386-mingw-g++: Permission denied"
16:46
< Tarinaky_>
And I already chmod +x the binaries :/
16:49
< Tarinaky_>
I'm going to pack up anyway.
16:50 Tarinaky_ [jes55@Nightstar-203b3f66.le.ac.uk] has quit [Connection closed]
17:01 Vornicus-Latens is now known as Vornicus
17:15 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
17:24 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [Ping timeout: 121 seconds]
17:40 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
17:49 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
18:23 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [Client closed the connection]
18:29 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
18:56 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [Ping timeout: 121 seconds]
18:59
<@McMartin>
08:35 < Tarinaky_> Also: WTF is an LPCWSTR and how do I make one?
18:59
<@McMartin>
08:35 < Tarinaky_> The documentation says it's a pointer to a wide-character string.
18:59
<@McMartin>
It's also const
18:59
<@McMartin>
Long Pointer to Constant Wide String
19:25
< Tarinaky>
Still no idea how you're supposed to create one.
19:29
< gnolam>
Create an array of wchar_ts.
19:29
< gnolam>
And pass in a pointer to it. Or pass it in as a literal.
19:29
< Tarinaky>
Cheers.
19:32
< gnolam>
To make a wide-character string literal, simply prepend 'L' to it. I.e. L"Foo" instead of "Foo".
19:32
< Tarinaky>
I don't understand.
19:33
< gnolam>
What part?
19:40
< Tarinaky>
Literals.
19:43
<@McMartin>
The physical strings.
19:43
<@McMartin>
If you're doing Windows development, most functions are actually defined twice, once for char * and once for wchar_t *
19:44
<@McMartin>
If you use the default version and wrap your string constants with _T("blah"), it'll do the right thing in each case regardless of link type
19:46 * AbuDhabi weeps tears of bubbling pitch. I was not made to be a calculator simulator.
19:56
< gnolam>
You are the operator with your pocket calculator?
19:56
< gnolam>
You are adding and subtracting?
19:56
< gnolam>
You are controlling and composing?
19:57
< gnolam>
By pressing down a special key, you play a little melody?
19:59
< AbuDhabi>
I have an exam on wednesday. It's an exam in solving linear equations by hand. We're not allowed calculators.
19:59
< AbuDhabi>
Essentially, we cannot make any mistakes, or we fail.
20:02
< gnolam>
Ye gods doing manual backups is boring.
20:09
< AbuDhabi>
I really can't brain today. If given A and b, how do I calculate X in A*X=b? A is a nxn matrix, X and b are nx1 column vectors.
20:10
< AbuDhabi>
X=(A^-1)*b?
20:13
< AbuDhabi>
Okay, that seems to work.
20:13
< AbuDhabi>
Thanks!
20:23 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
20:26 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
20:28 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Client closed the connection]
20:29 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
20:42 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
20:43 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
21:02 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
21:09 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
21:13 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
21:34
< gnolam>
Oh joy, troubleshooting BSODs.
21:35 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
21:36
< gnolam>
Guess it's time for the standard "reseat all RAM modules and expansion cards, run Memtest86+ and call me in the morning" advice.
21:37
< gnolam>
Well, without that last part, since I'm not a morning person.
21:40 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
22:07
<@jerith>
gnolam: Define "morning" and "after breakfast, but before lunch.
22:07
< AbuDhabi>
+"
22:07
<@jerith>
Thanks, AD. I hate dangling quotes or brackets.
22:08
<@jerith>
For me, most days, that makes it sometime between 12h00 and 15h00, lasting from the first bite of my sandwich to the second.
22:10 * AbuDhabi tries to remember how to do a Cholesky-Banachiewicz decomposition.
22:11
<@jerith>
Doing something with Kalman filters?
22:12
< AbuDhabi>
No. Studying for exam.
22:16
< AbuDhabi>
I can't quite remember how it went.
22:34 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [[NS] Quit: Ep0xa 1.2v]
22:46
< gnolam>
AbuDhabi: I think both Cholesky and Banachiewicz have already decomposed.
22:47
< AbuDhabi>
Yes, yes.
22:48 * AbuDhabi remembered how to do the decomposition, thanks to http://i48.tinypic.com/ildpn4.jpg
22:49
< Tarinaky>
That diagram in the top-left looks like an annotation in a lovecraftian spellbook.
22:49
< Tarinaky>
Written underneath some horrible diagram for a summoning ritual.
23:01
< gnolam>
Tarinaky: Read "The Atrocity Archives" by Charles Stross?
23:05 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
23:06 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
23:10 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
23:19 AbuDhabi [annodomini@Nightstar-653d75ba.adsl.tpnet.pl] has quit [[NS] Quit: I can't dumb today. I have the brain.]
23:39 You're now known as TheWatcher[T-2]
23:42 You're now known as TheWatcher[zZzZ]
--- Log closed Tue Feb 02 00:00:29 2010
code logs -> 2010 -> Mon, 01 Feb 2010< code.20100131.log - code.20100202.log >