code logs -> 2011 -> Thu, 03 Nov 2011< code.20111102.log - code.20111104.log >
--- Log opened Thu Nov 03 00:00:17 2011
00:09 fr0zen [poison@Nightstar-cf225f06.dyn.optonline.net] has joined #code
00:09 fr0zen [poison@Nightstar-cf225f06.dyn.optonline.net] has left #code []
00:25 celmin|supper is now known as celticminstrel
00:28 You're now known as TheWatcher[T-2]
00:30 You're now known as TheWatcher[zZzZ]
01:38 Kindamoody[zZz] is now known as Kindamoody
01:45 gnolam is now known as gnosleep
01:55 Janus [NSwebIRC@Nightstar-0c4439a6.res.rr.com] has quit [[NS] Quit: Page closed]
02:28 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:58 Vornucopia [NSwebIRC@Nightstar-0858ee4d.wlfrct.sbcglobal.net] has joined #code
03:00
< Tamber>
Gnight all.
03:29 Vornicus is now known as VVash
03:32 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [[NS] Quit: Into the hole again, we hurried along our way, into a once-glorious garden now seeped in dark decay.]
03:47 kwsn [kwsn@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds]
03:56 kwsn [kwsn@Nightstar-635d16fc.org] has joined #code
04:02 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
04:14 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
04:57 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
05:01 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
05:28 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Connection reset by peer]
05:34 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:42 Vornucopia [NSwebIRC@Nightstar-0858ee4d.wlfrct.sbcglobal.net] has quit [Ping timeout: 121 seconds]
05:45 VVash is now known as Vashicus-Latens
05:54 Derakon is now known as Derakon[AFK]
06:10 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
06:29 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
07:10 You're now known as TheWatcher
07:53 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
07:56 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
08:09 You're now known as TheWatcher[afk]
08:53 gnosleep is now known as gnolam
09:04 AnnoDomini [annodomini@FFB3F3.4C5BE8.2014E2.DC0864] has joined #code
09:52 You're now known as TheWatcher
10:09 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
10:15 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
10:23 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
10:27 Kindamoody is now known as Kindamoody|food
10:57 Kindamoody|food is now known as Kindamoody
11:26 Kindamoody is now known as Kindamoody|out
11:54 kwsn is now known as kws-not_here
12:18 You're now known as TheWatcher[afk]
12:47 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
12:56 * TheWatcher[afk] EYES IE
12:56 You're now known as TheWatcher
12:56
< TheWatcher>
what the everliving fuck...
12:57
< Tamber>
What'd it break now?
12:57
< TheWatcher>
mootools, apparently
13:00
< TheWatcher>
Found out 'why' my popup code fails on IE - http://pastebin.starforge.co.uk/484 line 4 there generates a "Object does not support this property or method" error
13:00
< Tamber>
o.0
13:00
< TheWatcher>
Which, when I inspect it, is true - it doesn't have the getProperty() method (which should be being added by mootools).
13:00
< TheWatcher>
In fact, it doesn't have any mootools-defined extended methods
13:00
< Tamber>
...oh dear.
13:01
< TheWatcher>
But mootools must be working for it to even get that far, given the code on, say, line 12.
13:08
< TheWatcher>
And it's not a jQuery conflict, either. Sod.
13:26 kws-not_here is now known as k-work-sn
14:05 AnnoDomini [annodomini@FFB3F3.4C5BE8.2014E2.DC0864] has quit [[NS] Quit: Away!]
14:34 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
15:00 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Connection closed]
15:19 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
16:45 k-work-sn is now known as kwsn
17:05 Derakon[AFK] is now known as Derakon
17:25
< ErikMesoy>
kwsn: the programming language checklist keeps being awesome
17:25
< kwsn>
did it update?
17:25
< ErikMesoy>
AFAIK, no
17:25
< kwsn>
ah
17:25
< ErikMesoy>
It's just been sitting on my computer and I haven't managed to close the tab, somehow
17:26
< kwsn>
^_^
17:53 Vashicus-Latens [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
18:24 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
18:24 mode/#code [+qo Vornicus Vornicus] by ChanServ
18:26 Vornicus is now known as VVash
19:29 Kindamoody|out is now known as Kindamoody
20:06 Kindamoody is now known as Kindamoody[zZz]
20:40 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
20:46 * gnolam arrrghs at password requirements.
20:46
< ErikMesoy>
I feel your pain.
20:46
< ErikMesoy>
What are the requirements now?
20:48
< Tamber>
"27 unique characters; only symbols, and nothing from the BMP"
20:48
< gnolam>
The usual (mixed case, digits, etc). Not Handelsbanken awful, but still bad enough for a fucking forum.
20:49
< gnolam>
And the result is the predictable "well then, I guess I'll have to use the same weak 'strong' password I use /on every other damn thing that requires this/ to be able to remember it. Thanks a lot."
20:49 * TheWatcher gives gnolam a stapled battery that his horse has deemed correct.
20:50
< ErikMesoy>
gnolam: Do they require you to change it every month?
20:50 * Tamber gives TheWatcher's horse a sugar cube.
21:04 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:37 * ToxicFrog finishes rooting and hopefully unlocking his phone
21:47 AnnoDomini [annodomini@60F158.737D66.CA1918.CC7562] has joined #code
21:53 * TheWatcher \o/s, has been given Official Permission to institute a "Shit: Not Given, Even Slightly" policy for < IE8 in work
21:54
< TheWatcher>
TF: which phone?
21:56
< McMartin>
\o/
22:03
< ToxicFrog>
TheWatcher: yay!
22:03
< ToxicFrog>
(Samsung Galaxy S I9000)
22:03
< ToxicFrog>
Also, unlocking confirmed, borrowed someone else's SIM for a few minutes.
22:03
< TheWatcher>
woot
22:04
< McMartin>
Is that a phone or a tab?
22:08 AnnoDomini [annodomini@60F158.737D66.CA1918.CC7562] has quit [Ping timeout: 121 seconds]
22:09 AnnoDomini [annodomini@60F158.737D66.CA1918.CC7562] has joined #code
22:10 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
22:18
< ToxicFrog>
McMartin: touchscreen phone.
22:19
< ToxicFrog>
http://en.wikipedia.org/wiki/Samsung_Galaxy_S
22:24
< Stalker>
"Yielding 20 million triangles per second!"
22:25
< Stalker>
I love how people count ability in electronics.
22:29
< ToxicFrog>
triangles per unit time is not an unreasonable measure for low-power graphics accelerators.
22:29
< ToxicFrog>
Divide by 30 and that gives you the maximum scene complexity.
22:29 AnnoDomini [annodomini@60F158.737D66.CA1918.CC7562] has quit [[NS] Quit: I'm outta here.]
22:29
< Derakon>
Only 30FPS, eh?
22:32
< ToxicFrog>
30fps is generally considered "minimum for it to look good", yeah.
22:37
< Stalker>
TF: No it's not.
22:37
< Stalker>
But I'm quite sure that wasn't what they thought when they were designing new computers ten years ago.
22:37
< Stalker>
... or maybe it was exactly what they thought.
22:37
< McMartin>
Well
22:37
< McMartin>
Ultima Underworld occasionally had fractional FPS
22:37
< McMartin>
But it was zomg teh 3d
22:38
< ToxicFrog>
...yes it is? Below that it starts to feel or look wrong (unless the game is carefully designed to feel "right" even at low framerates).
22:39
< Stalker>
The above was a response to: "<ToxicFrog> triangles per unit time is not an unreasonable measure for low-power graphics accelerators."
22:39
< Stalker>
But since I am at work, I may get interrupted and my answers may be delayed.
22:39
< ToxicFrog>
Aah.
22:39 ErikMesoy is now known as ErikMesoy|sleep
22:40 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
22:40
< Stalker>
Sorry for the confuzzlion.
23:14 lol_ [NSwebIRC@6ABE35.CE3638.63C21E.3DAD23] has joined #code
23:14
< lol_>
==
23:14
< Derakon>
Get out.
23:15 lol_ [NSwebIRC@6ABE35.CE3638.63C21E.3DAD23] has quit [Killed (JustBob (roflpwnt))]
23:25
< TheWatcher>
For the love of god, could someone fix the aops in here?
23:31
< McMartin>
?
23:37
< TheWatcher>
McM: nobody in here save Vorn has ops, because /chanserv aop #fleet list = #code AOP list is empty.
23:38
< TheWatcher>
*#code
23:38
< McMartin>
Aha
23:38
< TheWatcher>
blegh
23:46 SchoolPhox [ccae3c50@Nightstar-36f67fd0.mibbit.com] has joined #code
23:46
< SchoolPhox>
So, I'm overloading operators in C++.
23:46
< McMartin>
DUN DUN *DUN*
23:46
< SchoolPhox>
Yeah, well, it feels like there needs to be one of those
23:47
< SchoolPhox>
Anywhoo, I've got, I dunno, two arrays and I want to add them
23:47
< McMartin>
I suppose there's more to this statement than just taht.
23:47
< McMartin>
Mmm
23:47
< McMartin>
OK, stop right there
23:47
< McMartin>
You want std::vectors, not arrays.
23:47
< SchoolPhox>
Well, they're actually teacher-defined objects
23:48
< SchoolPhox>
Essentially vectors, sans the built in functions
23:48
< SchoolPhox>
He calls them FixedVectors. It's got a size and an array pointer inside
23:48 * McMartin nods
23:48
< McMartin>
Yeah, because you're gonna need that size =)
23:49
< SchoolPhox>
So, I need to define a FixedVector + FixedVector
23:49
< SchoolPhox>
We'll assume they're the same size for now
23:49
< SchoolPhox>
If I make something like FixedVector::operator+, the vector that calls it is the leftmost Fixedvector, right?
23:50
< McMartin>
Yes.
23:50
< SchoolPhox>
So, like, a+b, it would be a's function called?
23:50
< SchoolPhox>
Okay
23:50
< McMartin>
However, one normally actually defines it as a standalone function with two arguments lhs, rhs.
23:50
< SchoolPhox>
Yeah. That makes more sense to me
23:50
< SchoolPhox>
But, I've got to work with his prototypes
23:50
< McMartin>
OK
23:51
< McMartin>
http://www.cplusplus.com/reference is very solid
23:51
< McMartin>
Note of course that std::vector doesn't define its own +
23:53
< SchoolPhox>
So, if I were to do it your way, there would be a global const FixedVector operator+ (FixedVector &lhs FixedVector &rhs) ?
23:54
< SchoolPhox>
And I could work from there, yeah?
23:54
< McMartin>
I don't think it'd be const
23:54
< McMartin>
And you'd probably end up having to make it be a friend of the class.
23:54
< SchoolPhox>
Hmm. Ah, yeah, that makes sense
23:55
< SchoolPhox>
Somewhat more sloppily, I could write a getValue();
23:55
< SchoolPhox>
And call that inside the operator definition to get the values to add
23:55
< SchoolPhox>
?
23:55
< gnolam>
Those should be const references.
23:55
< gnolam>
Oh wait
23:55
< gnolam>
Nevermind.
23:56
< gnolam>
Thought it was supposed to be a class method.
23:56
< SchoolPhox>
Yeah. The way it's required for the lab, it's a class method
23:56
< McMartin>
Mmmm
23:56
< SchoolPhox>
...I think
23:56
< gnolam>
And I see no reason not to have it that way.
23:56
< SchoolPhox>
I'm actually really confused. This is a lot of material thrown at me all at once
23:56
< McMartin>
Stroustroup implies rather strongly that this is not how operator+ works.
23:57
< McMartin>
Yeah.
23:57
< McMartin>
Page 267 in my copy, section 11.3.1, "Member and Nonmember Operators"
23:57
< SchoolPhox>
What's it say is the better method?
23:58
< McMartin>
The friend based thing
23:58
< SchoolPhox>
Okay.
23:58
< McMartin>
But because this book is as well organized as a barrel of hyperactive cats...
23:58
< McMartin>
... In 11.2.1, you can in fact apparently do...
23:58
< gnolam>
I say ignore Stroustroup on this one. I mean, what does he know of C++?~
23:59
< McMartin>
FixedVector FixedVector::operator+(const FixedVector &rhs) const
23:59
< gnolam>
That is what I would do.
23:59
< SchoolPhox>
So, he's defining it within the method.
--- Log closed Fri Nov 04 00:00:29 2011
code logs -> 2011 -> Thu, 03 Nov 2011< code.20111102.log - code.20111104.log >

[ Latest log file ]