« first day (196 days earlier)      last day (4735 days later) » 

5:00 PM
folks
 
@JohannesSchaublitb
 
5:34 PM
lulz
I was just studying about caches and memory, quite interesting
seems like a good understanding on how that works can definitely make you think differently about programming
 
Xeo
@TonyTheTiger Yesterday I nearly got lost on Wikipedia reading on how the OS manages memory..
@Stack, Deadman Wonderland Ep3 torrent is out
 
@Xeo Haha, good.
I agree, but there are also different voices that are interesting. Like the author of the Ruby programming language, according the Wikipedia article on Ruby:
> Often people, especially computer engineers, focus on the machines. They think, "By doing this, the machine will run faster. By doing this, the machine will run more effectively. By doing this, the machine will something something something." They are focusing on machines. But in fact we need to focus on humans, on how humans care about doing programming or operating the application of the machines. We are the masters. They are the
But, nevertheless, I also want to learn more about the low-level stuff.
 
@StackedCrooked yea but I'm merely talking about understanding the memory architecture at hardware level so you can be a better programmer. Like what the difference is in an access to a L1 cache and L3 cache and what it means to perf when there's loads of cache misses, or how out of order execution really occurs in the CPU
and just understanding the memory architecture of the CPU's we use mostly in our lives, I think can improve how think about code and writing code
 
5:49 PM
Yeah, I'd like to learn more about it as well. Education was somewhat lacking in that aspect.
 
@StackedCrooked surely, mine's lacking too still, but I'm trying
 
@StackedCrooked bool isEducationLackingIn(Aspect a) { return true; }
 
Good :)
Except geometry.
That's one thing our education was not lacking in.
It never occured to me that to complain about a lack of geometry knowlegde.
 
@StackedCrooked oh Geometry you could teach me a thing or two
I'm lacking and I need it for graphics dev :P
 
@TonyTheTiger, probably not, I forgot it all.
 
5:52 PM
@StackedCrooked ugh
 
Graphics dev, isn't that rather linear algebra?
 
Ugh, geometry.
 
@StackedCrooked that also, but you need to know geometry too
 
I once needed a little geometry when I wrote a clone of the Breakout game for a Java school project. To calculate the new angle of the ball after collision.
 
@StackedCrooked see Geometry :P
 
5:54 PM
But that was easy.
 
Matrices will be useful in graphics.
 
I wish I had learned more about economics. Because I don't understand it and I think it's an important subject.
 
But they're also not that hard.
 
I opted for languages instead of Economics, because a few people told me that languages are important. It turned out that I only need English.
 
5:56 PM
@StackedCrooked so do you speak German?
 
@TonyTheTiger From a CPU-centric performance stuff, there's also branch prediction.
 
@StackedCrooked you need C++ too
@PiotrLegnica that also
 
@TonyTheTiger Barely. I had a really bad teacher in the 5th and 6th year.
All she did was tell us gossip, in German.
And then she created very hard tests.
 
@StackedCrooked oh darn :(
 
@TonyTheTiger If you'd like materials about cache-friendly programming, then lookup Data Oriented Programming, it's a new fancy term, especially in gamedev.
 
5:58 PM
@PiotrLegnica thx man, I'll have a look
 
Data Oriented Programming. That sounds wrong to me.
 
but first I want to understand the whole memory arch better
@StackedCrooked actually when you think about cache etc... it's not that wrong at all
 
Or "Data Oriented Design".
 
Yeah, but programming languages have evolved so that we don't need to think about the lower level that much and can focus on the higher concepts.
 
Programming languages have evolved, but thrashing the cache can still make a difference in a real-time app.
 
6:00 PM
I wish my head had more cache and memory.
 
Xeo
@StackedCrooked It has more than enough
You just don't use it. :)
 
@Xeo Wow, sorry, but that's a really lame answer.
 
how much wood could a wood chuck, chuck, if a wood chuck could chuck wood?
 
@TonyTheTiger Help, Tony got stuck in an endless loop.
2
 
Xeo
@StackedCrooked No, really. The humans don't use their brain to the full capacity
 
6:02 PM
@TonyTheTiger Is this a dirty joke? :(
 
A wood chuck would chuck as much wood as a wood chuck could chuck if a wood chuck could chuck wood.
What's "chucking" by the way?
 
@StackedCrooked by no means a dirty joke, just a funny thing to say in english about wood chcuks
 
@Xeo Perhaps..
..not!
 
@MartinhoFernandes google.be/…
 
Xeo
Whatever, time for deadman wonderland 3
 
6:04 PM
@Xeo alright. I'll check it soon myself.
 
@StackedCrooked while(1) { chuck_wood(woodchuck); }
 
@TonyTheTiger What a nightmare..
 
while (2), because 1 is not enough!
 
Xeo
@TonyTheTiger while(wood_chuck.could_chuck()) { wood_chuck.chuck_wood(forest.get_next_wood()); }
 
@Xeo lulz
 
6:05 PM
Let's excercise our brains with this intellectual excercise: reddit.com/r/AskReddit/comments/h0u9r/…
^ Perhaps a tank will do.
 
Xeo
@StackedCrooked it's written, no tank
 
@StackedCrooked no tanks
 
I would go for biological warfare. Screw the fuckers.
 
Xeo
but the first answer is lol
 
A flamethrower and a bunch of lemons.
 
6:07 PM
nuclear missile
 
Kind of tricky.
 
kill myself in the process, but who cares.... lulz
 
@TonyTheTiger Can you hold one?
 
A helecopter so I can fly away.
 
The bastards tend to be big and heavy.
 
Xeo
6:08 PM
I'd go with a 0 and some popcorn. Then lean back and enjoy their puzzled faces as they die because they can't find out what a 0 is.
 
I would bring LUFFY!
 
@Xeo They wouldn't die from seeing the letter O.
 
@MartinhoFernandes just a small one
 
Xeo
@MartinhoFernandes 0, not O
 
A substance that causes hallucinations.
 
6:09 PM
I'd bring an ipod and listen to music
 
@Xeo For them, it's an O.
 
my singing should scare them away
 
Xeo
@TonyTheTiger I think it'd make them kill you faster
 
Actually a few rocket launchers would scare them.
 
(And they weren't really missing the idea of "zero", just a numeric representation of it)
 
6:10 PM
A tsunami.
Or mudstream.
And a boat.
 
Oh, I know. A laptop and a dump of TVTropes.
2
 
I would bring Hitler.
And Chuck.
 
@PiotrLegnica lulz
 
Probably teargas would do the job also.
 
@PiotrLegnica That should give you enough time to run. Unless you accidentally turned it on and stared at it...
 
6:11 PM
@StackedCrooked yea bring chuck
I'd bring hot ladies
 
I wanted Bruce Lee but he's dead.
 
@StackedCrooked I want Elvis
or MJ
 
@MartinhoFernandes It's like AIs and paradoxes.
 
Or a bottle of milk that really old and stinky.
 
@StackedCrooked ewwww
 
6:12 PM
That'll teach them!
A flamethrower would be fun for a while I guess.
 
> I think the time machine that I rode in on would come in really handy at this moment.
 
What was the stuff they used in Vietnam again?
That they dropped from the airplaines.
 
Napalm?
 
Napalm is a thickening/gelling agent generally mixed with gasoline or a similar fuel for use in military operations. The term napalm is a combination of the names of its derivatives (coprecipitated aluminum salts of naphthenic, and palmitic acids). This type of napalm has long been obsolete in warfare. "Napalm B" is the more modern version of napalm and, although distinctly different in its chemical composition, it is often referred to simply as "napalm". Colloquially, napalm has been used as the generic name of several flammable liquids used in warfare, often forms of jellied gasolin...
 
@PiotrLegnica yes
That might work.
 
6:14 PM
I love the smell of napalm in the morning
lol
 
@TonyTheTiger I put some on especially for you :)
OH, man I'm too sleep deprived..
 
Too much enums.
 
Piranhas would be awesome as well.
Or Justin Bieber.
@PiotrLegnica Yeah, those kept me awake as well.
Perhaps a porn movie would work also?
Those lonely soldiers.
A big screen with an internet connection :D
@TonyTheTiger Brilliant! I hadn't thought of him.
Boost is still committing.
I would bring Chernobyl .
and an extra life
I would bring a Singleton.
 
6:40 PM
@StackedCrooked that's a good one, you might as well bring Chuck Norris then, cause he is a singleton by definition
 
That might work.
One instance to rule them all!
I would not bring a girl lol, she'd die.
Alright.
It seems like I scared everyone away.
Mission accomplished :)
 
no I'm here
 
Ah, but you're in on the plot. Shh.
If today were a working day, it would be even worse than the one yesterday.
 
@StackedCrooked lol I actually got more work done today then yesterday, ironic isn't it
 
@TonyTheTiger Don't you think?
A little too ironic. Damn I suck.
Have you ever seen Mitch Hedberg?
 
6:45 PM
@StackedCrooked what do you mean? huh?
@StackedCrooked no
 
@TonyTheTiger he's a genious: youtube.com/watch?v=2491LucLa1g
 
@StackedCrooked hahahh :P
 
@TonyTheTiger He's really one of the greatest .
 
@StackedCrooked I'm a fan of Geert Hoste, do you like him?
 
Yeah, but it's a long time ago..
I'm not really into his style. I'm more into dumb jokes :)
> I find that ducks' opinion of me is very much influenced over whether or not I have bread.
Does it make sense to make your getters "const" if they obtain their data over RPC potentially updating or invalidating caches along the way?
Boost is still comitting.
But hasn't failed over 90 minutes or so.
 
6:59 PM
just bumped into PODs with va_args
 
Damn, I have to admit this band "...And You Will Know Us By The Trail Of Dead" is pretty good.
 
@StackedCrooked what kinda music do they make?
 
I should probably have use the boost bcp utility.
 
va_args is ugly and not typesafe. I want my variadic templates in MSVC dammit. :(
 
@TonyTheTiger Sort of rock. Not bad.
 
7:03 PM
@StackedCrooked oh ok
 
Xeo
@PiotrLegnica Emulate them. :P Boost.PP ftw
 
@StackedCrooked No. But we already have tuples in both Boost and stdlib.
 
Alrighty.
stdlib?
 
std::tuple
C++0x, of course.
 
7:06 PM
Btw, if you specialize a template class by enum value, can you let the class somehow deduce the enum type?
 
decltype? Dunno.
 
I need to write:
template <typename EnumType, EnumType value>
struct MyClass {};

template<> MyClass<Weekday, Monday> {}; // seems redundant
 
Maybe #define SPEC_TEMPLATE(cls, value) template <> cls<decltype(value), value>.
 
Yeah, that might work.
Boost is still committing.
Reminds me I haven't watched the MSDN STL Lectures yet. Guess I'll do that.
 
Xeo
7:23 PM
Meh, I hope for a template<auto Val> ... for next C++ standard.. So you don't need template<class T, T Val> ...
oh yeah, @Stack, did you watch neon genesis evangelion?
 
Yeah, the series and the two (horrible) movies after that.
I didn't see the new remake yet.
I liked the series though.
 
Xeo
@StackedCrooked Ah, I thought you meant the rebuild movies with "horrible"
And was like "WTF?!"
 
Now, I mean "End of Evangelion"
 
Xeo
Yeah, the ending was really strange
but the rebuild movies are plain epic
 
Apocalyptic would be an understatement.
You can't say that about many movies :)
 
Xeo
7:27 PM
Btw, do you have an MAL account or sth similar?
 
Xeo
myanimelist
 
MAL9000
It's a cheaper version.
 
No..
I sometimes browse that site though..
Or, no, that's anidb
 
Xeo
@StackedCrooked It helps keeping track of what you watched / are currently watching and what you want to watch
 
7:28 PM
Hm, perhaps I should have at that.
Ok, I'm signinng up now.
 
Xeo
:)
 
The STL lecture are boring.
 
Xeo
which ones?
introduction or advanced?
 
The 4 lectures on MSDN
 
Xeo
that would be the advanced series
 
7:30 PM
I was watching the first one, but it seems like the introduction lasts forever.
 
Xeo
I like em.
Or maybe I just like to listen to STL
 
I've been trying to get past the introduction a few times now.
 
Xeo
@StackedCrooked I skipped the first 7 :)
The 9th and 10th are quite interesting
 
7? There are only 4.
 
7:32 PM
I liked the Feynman lectures, but that's a little off topic.
 
Xeo
Markdown doesn't like multi-line messages
 
@Xeo Bookmarked.
Woho I logged in on MyAnimeList. I feel like real otaku now.
Boost is commited. But once again svn auto ingored the .a files. Grr...
Almost there now.
 
@StackedCrooked what OS do you use?
 
MacOSX
 
oh ok
 
7:52 PM
@Xeo filling in the profile is quite fun. Favorite character? Luffy!!!!
I have entered the grounds of fanboyism.
Favorite manga? Only read Fruits Basket and Nana, so that's it I guess. :)
 
bit of death metal for atmosphere
 
Xeo
@StackedCrooked Want to see a nerdy manga list? myanimelist.net/mangalist/Xeo ;)
Currently reading: 100
 
I just found your profile as well.
That's quite a list!
Are you also learning Japanese by any chance?
I have also the first 4 School Rumble mangas.
 
Xeo
@StackedCrooked I want to, but haven't enough time. :( I only know the hiragana and katakana
 
I think I might like the Azumanga Daioh manga..
 
Xeo
8:05 PM
And a few really common kanji
 
hey, does anyone have experience in using QTCreator?
 
@Xeo Learning those by yourself is something.
@TheAutumnAurora I have some.
 
do you know of the library called V8 by google?
 
Xeo
Hm. std::cout << sizeof(Anime_Folder); prints 431GB. :(
 
@TheAutumnAurora I know of it..
 
8:07 PM
I compiled it and i want to use it in a QT console project
im not experience with QT and these .pro files
 
@Xeo I bought a exteral HD of 1TB for that purpose. I once deleted around 600 GB because I was running out.
 
do you know how i would include this?
 
Xeo
@StackedCrooked Same here, only with 2 TB
 
@TheAutumnAurora Using the #include command.
@Xeo I should upgrade to 2 TB probably.
 
@Stac yes i know, but in the project config, i need to tell the ide where it is
 
8:09 PM
@TheAutumnAurora Is it a Qt (qmake) project or a makefile project?
 
@StackedCrooked sorry for being a noob :P, im not experienced in c++
@StackedCrooked Qmake i think...
 
The you need to add the include path in the qmake file.
Something like this probably:
win32:INCLUDEPATH += $$quote(C:/mylibs/extra headers)
unix:INCLUDEPATH += $$quote(/home/user/extra headers)
 
@StackedCrooked do i include the .h files or the .a file (libv8.a)?
@StackedCrooked i think the .a is the compiled version
 
You only need to include the ".h" (header) files.
 
8:13 PM
The ".a" files are usually statically compiled libraries that you can link into your final exe fie.
@Xeo what the hell is krachb00ns?
 
@StackedCrooked alright, its pointing to the right place, and it compiles when there is nothing in my main, but when i try the hello world example, i get errors...
 
Are they compiler or linker errors?
Thats' the first thing you need to figure out.
 
@StackedCrooked well, when i just include it and set the name space it does not complain, but when i add the hello world to the body, it has errors about unused parameters and type conversion errors
@
 
When asking for help you should always copy past the exact error messages.
It sound like those are compiler errors.
I don't know why though.
 
@StackedCrooked code.google.com/apis/v8/get_started.html this is the hello world
its a long error, but ill copy it over then
 
Xeo
8:20 PM
@StackedCrooked A german anime-"blog"
The picture in my sig links to it
 
../v8enginecheckout/v8-read-only/include/v8.h:2333: warning: unused parameter 'name'
../v8enginecheckout/v8-read-only/include/v8.h:3637: warning: unused parameter 'o'
../v8enginecheckout/v8-read-only/include/v8.h:3638: warning: unused parameter 'o'
../v8enginecheckout/v8-read-only/include/v8.h:3639: warning: unused parameter 'o'
../v8enginecheckout/v8-read-only/include/v8.h:3640: warning: unused parameter 'o'
../v8enginecheckout/v8-read-only/include/v8.h:3641: warning: unused parameter 'o'
../v8enginecheckout/v8-read-only/include/v8.h:3642: warning: unused parameter 'o'
 
hello everything
 
Yeah, I don't know. You should post the question on SO. There may be people that have experience with the V8 library there.
 
@StackedCrooked Alright, thanks.
 
@Xeo pantsu.de? ಠ_ಠ
 
Xeo
8:24 PM
@StackedCrooked :D
 
I like MAL though. Thanks for the suggestion.
Although, it's probably not going to help with my productivity..
 
Xeo
:)
 
Yay, boost is committed.
Lol, when adding an anime to your currently watching list one of the criteria is storage device? huh?
 
Xeo
You don't have to fill in anything beside wether you're watching it, plan to watch it, put it on halt or dropped it
 
sbi
10 hours ago, by StackedCrooked
My options are throwing or returning some a special null-enum-value. Which would you prefer?
@StackedCrooked Never fail silently!
 
The scores are likely to change. I probably shouldn't have started those.
 
sbi
5 hours ago, by Xeo
I see @sbi is spreading baseless rumours again
@Xeo Actually, rather than mindlessly spreading it, I was the one who explained how the rumour started.
5 hours ago, by Xeo
Wow, I didn't answer any question on SO for 3 days straight
@Xeo If you want to feel good nevertheless, have a look at my activity. That my rep is rising at all is only because people keep upvoting old answers of mine, and I have too few of them to make much progress that way.
If my rep would be rising any slower, it would be falling.
 
@sbi Agreed.
 
sbi
4 hours ago, by StackedCrooked
But it does explain why @sbi expected you to go to the meetup..
@StackedCrooked Actually I expected it because @Xeo said sHe would come. But, yeah, I agree, living in Berlin seems a good reason for considering coming to the Berlin meetup.
4 hours ago, by PiotrLegnica
The only other SVN hosting except for Assembla that I know is Sourceforge, but you don't really want to go there.
@PiotrLegnica What's bad about Sourceforge?
 
8:41 PM
@sbi Saying you'll come and then not keeping your word. That's very female behavior if you ask me.
@sbi It's slow and very unintuitive to navigate.
 
sbi
3 hours ago, by PiotrLegnica
Now that I think about it, you could've svn:extern'd it.
@PiotrLegnica First thing I thought reading this.
3 hours ago, by StackedCrooked
@PiotrLegnica Yeah, but I don't like doing that. I want the full package.
@StackedCrooked What's the point? Where's the problem if users of your code will also have to checkout stuff from boost? You're contemplating using whatever SVN service freely available. Whatever the boosters are using nowadays (last time I lookd it was sf), it will very likely be at least as reliable as what you're using.
 
Wow, @sbi you really do keep track of it all.
 
sbi
2 hours ago, by Tony The Tiger
how much wood could a wood chuck, chuck, if a wood chuck could chuck wood?
@StackedCrooked What kind of gross fetish do you have to consider that a dirty joke?? Gross.
 
I know induction works because it has worked reliably in the past.
 
sbi
@PiotrLegnica They also dropped Agent Orange in Vietnam. Unfortunately.
 
8:43 PM
@sbi Well, I ... Forgat what I was going to type.
 
sbi
@StackedCrooked Yeah. Don't think you can sneak one passed me!
@StackedCrooked Letters?
 
@sbi In principle I see no problem with svn external, but I don't see a real advantage either. However, I'm using a subset of boost (created with the bcp utility) and I have only uploaded the libs that are required for my project. So it's better to store in in the repository then, I think.
 
sbi
@JamesMcNellis That's a nice one. But how about turning it upside down: "Induction doesn't work, because it has failed in the past." :)
 
I know my car works because it has worked reliably in the past.
 
@sbi That statement disproves itself by using induction to disprove induction :-P
 
sbi
8:47 PM
@JamesMcNellis Oh does it? :-o Good you told me, I hadn't noticed.
@StackedCrooked Actually, many users might already have installed boost in full somewhere on their machines.
 
I would change my username to "Captain Obvious," but I don't want to get stuck as that for a month :-D
 
@sbi I have this ideology that my code should work out of the box. So I always try to make my code self-sufficient by adding all required code in the repository. Whether or not this is a rational approach is debatable..
 
sbi
@JamesMcNellis It would make a much better tag line that "CAPITAL LETTERS", though. (Whose meaning is very high up on my list I always wanted to ask about, but never got around doing so, BTW.)
 
@sbi This ideology grew out of my own frustrations in the past trying to get other's projects to build.
 
sbi
@StackedCrooked This is indeed debatable[1], but I'm too old to be trying to to debate that with you. :) [1] you don't check in the std lib, for starters
 
8:51 PM
@sbi Well, that's never been an issue :)
 
I've found out that users have trouble building Boost, so decided to bundle it.
 
@sbi That is part of a long running disagreement I have with @GMan. He prefers names to be all_lowercase_like_in_the_standard_library while I prefer the use of SomeCapitalLettersInMyIdentifiers.
 
sbi
@JamesMcNellis Ah! Thanks.
 
For the same reason I also try to link all dependencies statically. Because if the application doesn't run on the user's computer, it's me that looks bad.. :(
Perhaps, I'm just a control freak.
 
Plus, Boost.Serialization breaks when upgraded, so we had to freeze it at 1.44.0.
 
8:55 PM
@PiotrLegnica I also add the Poco library to my repository. This project is not easy for beginners to link with your code.
 
sbi
@James: I started using CamelCase (moving from Pascal to C++ & WinAPI), but over the years started to get more and more used to the std lib's convention. I got used to doing either, depending on the project/code part I'm working at, but if I'm on my own, I do all_lower_case.
@PiotrLegnica You can freeze SVN externals.
 
@sbi I don't use SVN. :P
 
sbi
@PiotrLegnica See, if that were a DVCS feature, those DVCS evangelists would have been all over you withing seconds, nagging you to switch to some, any, really, DVCS, because they're all so much better. But since you're missing an SVN feature, I'll keep my mouth shut.
 
@sbi I believe most DVCS'es have similar features
in Git, it's submodules
 
sbi
@jalf You mean that their users are evangelists? Yeah, that does seem to be common. :)
 
8:58 PM
@sbi hmm?
 
sbi
@jalf I was pulling your leg.
 

« first day (196 days earlier)      last day (4735 days later) »