« first day (595 days earlier)      last day (4579 days later) » 

00:00
You are weird.
Said a vacuum cleaner.
3
Q: Generally, how does a computer catch an exception?

CodingIsAwesomeOn a very basic level, how for instance does a computer catch a divide by zero error? Or any other error for that matter? Is it just a single if? If foo_denominator <= 0 then goto this area of memory? It's your own choice to choose whatever language you want to explain it in, I'm just curiou...

this is a terrible question and far too general
"Generally, how does a computer catch an exception? — With an exception net."
I posted a comment saying "With its hands." for a few seconds, but deleted it.
It's like fishing, only for exceptions.
Is that still one sentence, @DomagojPandža? :P
00:03
man
I read the entire of Control Alt Delete in like, 24 hours
that can't be good
try { … } fish (…) { … }
Say goodbye to your brain.
I'm going to waste my time.
See you guys.
Don't fall asleep now
that would be a waste of time
00:05
Gosh, you're persistent.
I want to finish studying ASAP.
It's tiring and full of bullshit.
Gimme the paper and I'm done.
my first exam is in 9 days
Start studying!
then a few days after that, within the week iirc, I've finally finished failing the year dramatically
so
sleep/eat/game?
00:12
I'm picking sleep.
I don't really feel like any of them
Then sleep.
too hot
and I've only been awake 11 hours
Then why are you asking, dammit.
00:13
lacking in alternatives here
Also go on voice.
alright, I'm off for the weekend.
he just wants to touch himself to the sound of my silky voice
@RMartinhoFernandes Zing!
00:15
More like this.
I thought you said you were too shy.
That fits "cannot" to me.
My brain has an amazing ability to shut the body down in certain situations.
I just don't get it.
I hate it.
Fuck.
I need to get a persian cat.
Fluffy bastards.
00:32
Don't fall asleep now
that would be a waste of time
!
Also, I'm going to sleep, bb.
Anybody here?
Sort of
Do you know a way around checking to see if a header exists during compile time without resorting to a compiler other than the default one that comes with VS? >.>
user457812
00:41
Eh? O_o
I read somewhere that you can use, for example, GCC to check if a header exists ahead of time before you include it so you can choose whether that header is included or not depending on what is thrown back. But I'd rather not used another compiler.
01:00
Time for a bandwidth stat update
@sehe I don't think it ate much.
Bottom line: RX 331Mb/ TX 1.05 GB
Ow god. That's messy
I still can't find there how much we actually munched.
I see only either way too small or way too high values.
Whaat ? 331Mb o_O ?
That's more than i though.
There, I simplified it
So in total: 1406Mb since launch of the Mumble server.
I was thinking 100Mb tops actually. So i was off by 200% only ^^
I didn't realize it could possibly require so much bandwidth o_O
01:04
@ScarletAmaranth Don't forget that the transmission from the server is actually 'multicast' to all users present (undeafened)
Also it's so much easier to type in English ^^
@sehe Ooooooh, riiight. Yup, that's the monster.
So it is a good estimate: you could be off by a factor or say, 4 (the avg. number of people connected and listening)
Well, that's quite an expensive service to provide then, though.
@ScarletAmaranth Not until we exceed 375Gb/Month (since that is included in my flat fee rate)
You get quadratic increase in bandwidth consumption with every new user if my 3am math is correct.
01:06
@ScarletAmaranth Only if everyone talks (a) simutaneously (b) all the time?
Oh, yeah, it's not correct actually :)
I'm just assuming that
1 person talks
@sehe They should P2P it.
In practice, it is like the writer/multiple reader pattern: there's usually a single person talking at a time, and all others listening. Then there will be large stretches of time (probably over 70%) of total silence
So it's some kind of amortized linearish kind of nonsense should we consider the 70% of silence.
It would be an interesting study really.
Applied psychology of human behavior into rate of growth of bandwidth consumption and factors influencing the scenario.
@ScarletAmaranth There, you have the title to a thesis :) (in social psychology)
01:10
Sounds like something out of SciGen.
And then we could possibly devise an efficiency of team A based on amount of time they spend talking and how relevant the information is.
As you can see, the amount 'received' (331Mb) by the server should represent the volume 'talked' by participants. The amount 'transmitted' (1.05Gb/331mb ~= 3) would be the average number of listeners. That would make the average number of users in the chat room during periods of activity 3+1 = 4
That fits my subjective experience well enough.
Yeah, that should be a correct assumption.
I would have been in it more but didn't feel like it today
@ScarletAmaranth The more irrelevant, the higher the effectiveness of the voice chat :)
@DeadMG No problem. You had work to do?
01:12
@sehe Very correct, WASTE ALL THE BANDWIDTH!!!!
nah
just sbi made me feel bad
Aww, you poooww puppy.
Oh, he can't see what I type in the lounge, too bad :P
@DeadMG We talked a little bit about getting 'engrossed' in a single formula and spending oodles of time and energy (which may not be worth it in the end)
I think I really need to start controlling my urges.
01:13
@DeadMG Link?
@sehe No thanks
@RMartinhoFernandes Everyone does. So yes, robots should lead by example
@DeadMG Wokay
Grumpy ape at his best :P
@RMartinhoFernandes Sleep well
01:14
@RMartinhoFernandes And wet dreams.
@sehe Actually, I'm launching Skyrim. Not really sleepy yet :)
@RMartinhoFernandes Then a lot of successful Fus Ro Dahs!
@RMartinhoFernandes I would say "I'm hungry" but I fear I have to pay royalties for that particular line :)
Is there any potential chance of a potential employer ever potentially looking up a potential hire-ee on Stack Overflow ? (Maybe I should stop trolling in comments ^^)
@ScarletAmaranth Oh, I'm actually learning that right now, so that made next to zero sense to me when you said it. Now I understand it.
01:21
@RMartinhoFernandes It's kinda funny as such random word has become a widely known idiom among gamers :)
Also the " Then I took an arrow in the knee. " Is fairly funny :)
I haven't actually seen that in the game yet.
How could you possibly not ? It's EVERYWHERE.
Whenever you talk to a random person that has nothing to say, they will go: " I used to be an adventurer like you, but then i took an arrow in the knee, "
@RMartinhoFernandes I'm off to sleep man, gotta study tommoz :-/ Nite, enjoy yerr skyrim :)
Good night. And good luck in your exam.
02:07
@RMartinhoFernandes Didn't you go to sleep like 99999 hours ago?
user457812
He's got a double
Likely. But then I probably woke up like 99990 hours ago or something.
lol
 
1 hour later…
03:26
A design that requires the user to implement a bunch of function overloads can be confusing because it's not immediately clear which functions need to be overloaded.
user457812
That's hopefully something covered by whatever's documentation
Compared to requiring the user to implement a certain interface containing pure virtual functions. That's a little more self-documenting.
@nil I'm currently toying with a design that relies heavily on overloading. I've started documenting it but it gets obsolete quickly as the core design quite volatile atm.
user457812
Still not something to leave undocumented, though.
I'm not a person that writes a lot of documentation. I only write comments when my intention isn't immediately clear from looking the code.
When I do get eager to write more documentation I find that a few weeks later the implementation has changed while I forgot to update the comments. So it tends to do more harm than good. At least in my case.
Documentation is one of the software development aspects that I haven't fully figured out yet.
Not that I have "fully figured out" many aspects at all :)
I did read Code Complete a few years ago, but I don't really remember what it said about documentation.
imo, it's definitely the kinda thing where it can get out of date quickly
03:35
I wish I could somehow link the docs to the static type system.
So that wrong documentation would result in compiler errors.
that wouldn't really be documentation
the point of documentation is to express other stuff
user457812
I really need to stop leaving parrots alone in my room with food
So that probably why I tend to write very few documentation. It's all incorporated in the code :D
user457812
03:36
I still feel like I should read Code Complete
yeah, my code only really needs the highest-level docs
user457812
I think it's fair to say I don't need to document each set*() method in an Entity/GameObject class
user457812
Like setName definitely doesn't need to be documented. Kind of obvious what that means.
@nil Code Complete drastically impacted my coding style. Partly because I read it back when I was started my programming carreer.
I bought it
along with Pragmatic Programmer and Mythical Man-Month
but I never read them
user457812
03:38
Hm, wonder if the mumble server is still up
user457812
It is. Though empty.
I did read Pragmatic Programmer. I liked that one a lot too.
user457812
No point sitting on there then.
I never managed to login to mumble.
Didn't find an option where I could connect to a user-specified hostname. I had to pick from a list of sessions. And loungecpp didn't appear in it.
server -> connect -> add new
user457812
03:40
Yeah, it's kind of easy >_>
First of all, on Mac I got two binaries: mumble and mumble11x.
user457812
You just want Mumble.
never used the Mac version
user457812
Far as I know, 11 is an old version for supporting legacy Mac OS versions.
user457812
e.g., 10.4 and earlier
03:42
Lol, I never noticed the "add new" option.
I'm in the room now.
I missed all the fun :(
Lol, I don't even know if my mic is on right now...
there was no fun to be had today, as I was absent
user457812
It's basically pointless without his sexy voice
@DeadMG Do you game with mic?
user457812
And you can tell your mic is on when the mouth turns red
@nil And razor-sharp wit
03:44
@nil I don't see a mouth. The only red thing is a record button.
and lightning-strikes intellect
user457812
@StackedCrooked You don't see a grey mouth next to your username?
Ah, that's a mouth?
user457812
Does yours have tentacles or something? O_o
^ This is what I see.
Dammit sucky UI.
How do I even write a message to channel?
03:49
there's a giant piece of text saying "Type message to channel "Root" here".
in the bottom left
just saying
user457812
He's more confused than even I usually am.
I can either write to "Root" or to "aRobot".
But not to the room itself.
channel "Root"
user457812
The room is Root.
i.e., the whole shebang
user457812
03:50
That's why it has users under it in the user list.
Now I see.
I should hope so
people who can't see are blind, and that's not an advantageous condition
user457812
Some people replace their eyes with robot eyes
not very effective ones
user457812
No, but they smell pretty good.
03:59
Nothing like good ol' robot eye fragrance.
Hey. Trolling for questions I can answer irrelevantly with template metaprogramming. Anyone got any?
@StackedCrooked don't worry, it'll hopefully be more secure than the crap they do now
it isn't hard
oh well off to brighter things cya
04:29
I don
I don't know what am I doing here, but I just wanted to ask everybody, if anyone has any knowledge of when C++0x will be rolling out
user457812
Uh...
user457812
You mean C++11?
user457812
If so: last August.
@nil Thank you, but I don't see any documentation and books, any reference manuals and most importantly, any development tools. I mean, has the compiler been officially released ?
user457812
What do you mean by "the compiler?"
user457812
04:33
Which compiler are you referring to?
I mean, the compiler to compile C++11 compatible programs.
user457812
Yeah, which one?
I don't see any compilers in my Cygwin repository regarding that
Is the language still in drafting stage, or has it been released
user457812
You'll have to check your compiler's status re: C++11 support.
user457812
I feel like I should be bothered that you apparently "[train] students on Programming platforms like . . . C/C++"
04:46
I didn't understand your last comment :
user457812
05:05
That's probably for the best.
05:38
@VaidAbhishek Mainstream compilers like GCC, Visual Studio and Clang are all adding C++11 support. It's a gradual process.
Btw, I believe there never was a compiler that was fully compliant with C++03.
@StackedCrooked Yes you're right, but gcc and g++ in their latest versions were very good indeed. Very compatible. I know there are differences from various vendors, but I completely hope that C++11 has more solid standardization than it's previous versions.
C++ should adopt a philosophy like python
 
2 hours later…
user457812
07:26
What an odd thing to get suspended for.
user457812
Bahleeted :|
09:17
Morning
@LucDanton How are you?
Does delete[] delete in reverse order?
What? You mean call the destructors in reverse order?
Yeah
@StackedCrooked shift+cmd+4, then space, then click the window.
That way your screenshots don't look like misaligned crap.
10:26
@StackedCrooked clang only misses export and afaik Comeau was fully compatible.
11:24
@nil excuse me?
@StackedCrooked So your on linux. It is pretty much the same here
I see the robot was up late (early) :)
@StackedCrooked Erm that is the default. Just type it in the box?
@StackedCrooked the color profile told me it is actually an iMac
Hi Listener
Good morning, almost.
Almost? Almost good? It's 13:32
Exactly, missed the morning by a couple of hours. No worries, it's part of the standard. :Đ
What §?
I think it's the first one, I really need to update my sleep patterns to something more efficient.
11:36
Effective?
I feel like a train ran me over.
Good moaning anyways. Reminds me to get some coffee
I think I saw you leave before we did, though.
Needed to do some work afterwards, went to sleep around 6:12am. I'm never going to learn, it seems. My eyes feel strange every time I do something like this.
Oh wow
I know how that feels. I used to do this on a regular basis. And I'd pull two all nighters in a row, only sleeping from, say, 13-17h
It's not really healthy though
But I hope you managed to complete something
Far from it, I took a shower and still feel like death. But at least the battle with culling my scene more efficiently was won. Far from winning the war, though.
11:41
Ah 3D rendering. Not my strong point. I simply don't know much about it.
I have modded a 3D chess game once to support games on multiple boards (up to 8x8x8)
So I recognize the terms, but I never had to 'think up' rendering from scratch
It is a very intriguing area of development, very rewarding since the results are very visual. I enjoy it mostly because of the mathematics and physics involved. Especially optics, EM wave propagation, energy deposits, radiometry in general.
@DomagojPandža Sounds like you should be developing shaders, GL APIs or even GPUs instead
Most of 3D rendering software is about effects, not (accurate) physics?
That was one humonguos big plink bomb I just validated the flag for
Indeed, but I am really driven to approximate the physical laws as close as possible. Certainly, it has to be adapted to the fact we're using triangles and splatting textures onto them, but still a lot of very nice things can be done. For example, when you light a surface, you can basically use that information to propagate color bleeding on nearby surfaces with multiple bounces. Photon mapping and general raytracing is awesome, but you can't really engage the user at 1 frame per ~n hours.
16 ms per frame, no more.
True Confirmed ⇪
That multidimensional chess reminds me of the one in Star Trek that Data used to play.
11:51
I'm not a trekkie. I just reimplemented a matrixchess server that someone I knew had made. I posted my 'ripoff' server on April 1st :)
Basically, what I did was, patch his native game GUI to remove the license restrictions and reverse the server protocol so I could let the game connect to my own Server.
I was going to make the GUI fullblown (see demo) but I never quite finished that. I might, when I find more time, because I still want to learn more about the tactics of 3D scene rendering
It's still quite a nice feat. Rendering in general is an awesome way to spend one's time as a hobby. You can always write hobby kernels, but this is so much more visceral.
I don't know, there's something quite special about creating virtual worlds.
@sehe that is Mac OS X, not Linux. :)
24 mins ago, by sehe
@StackedCrooked the color profile told me it is actually an iMac
So, one less reason to switch to Mac: the GUI is practically the same unless you buy the official Mac-y software
11:56
I don't know why Apple doesn't make a bigger push towards more sophisticated rendering hardware. Games are a big industry and they're really not taking their piece of the cake (embedded systems excluded).
@DomagojPandža I'm really more of a backend guy, so yes I do tend to focus more on hacking filesystem drivers, boost libraries and stuff like that. It's true though, that a 3D application does make more of an impression on others :)
But I thought it was more fun to actually reverse and reimplement the game server protocol
@sehe lol buying software.
You bought TextMate.
Checkmate.
I don't know why people laugh at the notion of buying software. It's sort of a moral duty of every software engineer.
@sehe I downloaded the trial version and I wrote a script that automatically sets back the creation date of the settings file so that I can use the trial version forever.
The trial version is unlimited.
11:59
@RadekdaknokSlupik Oh I remember now. Ok. Granted
For OmniGraffle I just got a serial code somewhere from the internet.
iWork doesn't require activation.

« first day (595 days earlier)      last day (4579 days later) »