« first day (744 days earlier)      last day (4222 days later) » 

12:00 AM
I did Toegepaste Informatica, op hogeschool niveau (tegenwoordig heet dat professionele bachelor).
 
user142019
I think that’s similar.
 
When I was there I basically waited.
Waited until three years passed and I'd have a degree and could get a job.
 
user142019
The only constructive thing I do during the lessons is pointing out flaws in the teacher’s code examples.
 
That's not always a constructive thing :P You might be gathering enemies!
 
user142019
He says he appreciates it.
 
user142019
12:01 AM
He did, for example, the following:
 
user142019
for (i = 0; i < 10; i++) {
    // stuff
}
 
user142019
In JavaScript, making i a global (no var in front of it), which is very terrible.
 
Oh yeah.
 
user142019
It’s guaranteed to break your code when you are doing it in multiple places.
 
It's not guaranteed.
Which is actually worse.
 
user142019
12:03 AM
Or <script src='foo.js' />. You need to close <script> tags explicitly, even when they are empty.
 
Yeah, I find that to be very annoying.
 
user142019
He also said that for (var i = 0; i < 10; i + 1) would work.
 
user142019
 
I find the WebStorm IDE to be very good for JavaScript projects.
I got a free license because I open-sourced one of my JS projects.
:D
@Zoidberg'-- i + 1 ?
 
user142019
@StackedCrooked yup.
 
user142019
12:06 AM
IOW, how the fuck is the compiler going to know you want to assign to i if you do that? T_T
 
user142019
It must be i += 1 or i++ or ++i.
 
I bet he's a teacher that never did any real programming. Any programmer that did at least one real project would not make that mistake.
 
user142019
He worked as a C# developer for a year and then he became a consultant.
 
user142019
Says enough, I guess.
 
user142019
Then he became a teacher. :P
 
12:07 AM
He's climbing the ladder in the wrong direction :P
 
user142019
LOL
 
user142019
I don’t really care about the quality of the education I get.
 
user142019
I just want to be gone there ASAP and get a job.
 
user142019
WHY WOULD YOU WANT TO BE A FUCKING CONSULTANT
 
Consultant is a weird job.
 
user142019
12:10 AM
And useless.
 
user142019
I’m going to find a job ASAP and then quit school.
 
You are hired to improve a steaming pile of crap in 6 weeks.
How does one improve a steaming pile of crap?
 
user142019
Then paying the €1700 schoolgeld back to my parents. :P
 
user142019
@StackedCrooked rewriting it from scratch in Haskell.
 
user142019
During my last job I had to make urenschattingen and I schatte about 4 hours for a job.
 
user142019
12:12 AM
I was done in ten minutes. :P
 
In any case the first step is cleaning the crap. But then you hit ego of the people who created the shit. They think it's a piece of art.
Which makes no sense, especially since they felt the need to hire a consultant.
Alright, I should probably stop this rant now :)
 
user142019
My last job was awesome.
 
That's good.
Occasionally that happens :D
 
user142019
There were only two rules:
1) You must vote (or at least pretend you vote) right-wing.
2) The work must be done on time.
 
user142019
If you did those two things, you could do whatever the fuck you wanted. :D
 
12:15 AM
something wrong is happening
I ate something and I should be sick but I'm not
maybe I got lucky with this specific meal
 
Dear God.
 
user142019
So basically, when you were done and nothing was left to do, you could go watch porn or something and it was all fine.
 
There must be a crucial ingredient missing.
 
user142019
@DeadMG THEN WHY DID YOU EAT IT IN THE FIRST PLACE
 
@Zoidberg'-- Because it was my cousin's 18th.
 
user142019
12:16 AM
Cool. :D
 
user142019
Maybe your cousin is just better at cooking. :D
 
she didn't cook
 
user142019
But still, why did you eat it? You could have told them you get sick from such food.
 
user142019
Peer pressure?
 
user142019
You’re taking risks and that makes us worrying. :(
 
user142019
12:17 AM
WHAT IF YOU DIE :(
 
The food is pleasurable in the mouth, but terrible in the bowels. And DeadMG seems to fall for it every time.
But this time he came out standing upright.
 
most of it was pleasurable in the mouth, anyways
 
user142019
 
@DeadMG So you were celebrating your cousin's 18th? (Why does this sound wrong, I wonder?)
 
yes
 
user142019
12:20 AM
@StackedCrooked Why it sounds wrong? Hey guys I just got my 18th blowjob! Let’s celebrate!
 
omg I love my arduino <3 just got it today ;D
 
Given how much time I spend in this room I think a real-life meetup would be worth the bother.
 
user142019
Speaking of blowjobs, inb4 onebox.
 
user142019
 
user142019
@StackedCrooked I live near Belgium.
 
user142019
12:25 AM
But nobody would want to meet me. :P
 
The difficulty is that the robot, the cat and the dog are quite far apart. They'd have to travel quite a distance.
 
can anyone suggest general strategies for making recursive -> iterative
i have a recursive alg i'd like to make iterative
 
user142019
And Jerry, and Pubby.
 
e.g. with a stack etc
 
I don't know, John Smith.
 
12:27 AM
@JohnSmith it depends
 
user142019
What?! Recursion is awesome.
 
user142019
 
not unless the depth is too great
 
hey, no animated gifs in chat please
 
12:29 AM
yes
look at the first result on that page
and who it is by
 
What animated gif?
 
user142019
1 min ago, by Zoidberg'--
user image
 
as you can tell this is a common problem for me, lol
 
@JohnSmith You mean good old gustavo (from this post)?
 
why do you want an iterative version
 
12:30 AM
I don't consider that worth binning.
 
user1174868
iteration sounds cooler than recursion
 
user142019
If that GIF is gonna slow down your computer, I don’t know what kind of terrible computer you have.
 
@Jordan Recursion is cooler, actually.
 
Stacked: No, the one on the Google results. First post is by me (John Smith) asking the same question
for a problem long ago
 
user1174868
@StackedCrooked I like the way recursion works, but isn't it generally slower and more memory intensive?
 
12:31 AM
Yes, Jordan
which is why I need iterative
recursive just easier to write
 
Use tail recursion! You'll get all the chicks and all the perfomance!
(actually iteration is better)
 
user1174868
I don't understand what tail recursion is, despite the wiki articles attempts
 
@Jordan I believe that recursive solutions tend to be slower in C and C++ because the compiler doesn't know how to perform tail recursion.
 
user142019
With tail recursion it will use the same stack frame every time. This is possible if nothing needs to happen after the recursive function call.
 
It's a way of writing while loops in a way that makes you look smarter
 
user1174868
12:33 AM
scheme doesnt like recursion
 
But recursive solutions have the benefit that they are often easier to be made stateless, and therefore easier to make concurrent.
 
user1174868
well I take that back, everything in scheme is recursion but the processes are different
 
The state is still there, it's just moved to the arguments
 
I think we should be allowed to post gifs on friday evening and compete for the most distracting gif.
 
user142019
I think we should be allowed to post GIFs provided they are under 2 MB.
 
12:35 AM
 
user142019
And if your computer can’t handle that, either don’t complain or GTFO. :D
 
I just received this email.
 
user142019
@StackedCrooked Dat is kut.
 
user142019
Ik heb gelukkig maar 250 GB in m’n iMac. :P
 
Thing is that I'm not experiencing any problems.
 
user142019
12:37 AM
En 500 GB op m’n MacBook Pro.
 
My iMac is a 27" and I don't think I can drag it on foot to the nearest Apple store.
 
user142019
lol
 
Azumanga daioh?
 
Close. It's Nichijou.
 
Xeo
12:40 AM
@Mysticial If you mean the gif, it's Nichijou
 
fuck
Clearly I don't watch that genre. :)
 
user142019
@StackedCrooked do you often use Terminal?
 
@Zoidberg'-- Yes.
 
user142019
Do you know if it’s possible to have Terminal automatically cd into the directory of the current terminal window when I hit ⌘N?
 
@Xeo I bought a Nanoha magazine in Shinjuku and I got a nice poster with it :)
 
12:42 AM
@StackedCrooked Rough English summary?
 
Xeo
@StackedCrooked Waah, I jelly D:
@DeadMG free exchange of a "not so good working" 1 TB Seagate HDD in 27" macs
 
I'm a bit annoyed that there aren't any Nanoha wallscrolls.
 
Xeo
Atleast that's the gist I got out of it.
 
I started watching animu again, any recommendations for good shows?
 
That show's been dubbed, so it's definitely licensed in the US.
 
Xeo
12:43 AM
@Pubby Fate/Zero
 
can anyone offer some guidance

function f (n, x)
   if n==1: return 0
   if n==2: return 1
   return f(n-2,v) + f(n-1,w)
 
@Xeo I'll check it out
 
Xeo
@Mysticial There weren't any at the Connichi in Kassel this year it seems. :(
 
Sword Art Online just went from awesome to insane in the last few episodes.
 
12:43 AM
I'd recommend that if you're into action romances.
 
Xeo
@Mysticial SAO is fucking awesome
 
I heard SAO is the twilight for boys
 
@Xeo That show is likely gonna top Madoka for my top favorite spot.
It'll depend on how it ends.
Which I heard that the manga turned shit at the end.
 
Xeo
Well, you mean how the anime ends it.
 
just want to make my thing iterative
 
Xeo
12:44 AM
The original light novel is still ongoing.
 
Did anyone see Planetes? I watched that a few days ago.
 
@Xeo Actually I frequently stumbled upon Nanoha merchandise. Much more than, say, HxH.
 
Xeo
@Pubby Except the MC is actually awesome.
 
@Xeo There was an article on sankaku that said that the ending of SOA was complete shit.
I didn't read it though.
Thought it'd contain spoilers.
 
user142019
@Pubby you.
 
12:46 AM
Planetes was probably the best science fiction setting I've ever seen
 
Xeo
@Mysticial lol, they talked about the "ending" of the first arc (hard not to spoiler here with @Pubby not having it watched)
 
SAO anime was quite OK, but I'll probably forget it quickly.
 
@Xeo ah...
 
Xeo
@StackedCrooked It's not over yet. o_o
 
12:46 AM
you mean just episodes 1-13 or something like that?
 
Xeo
@Mysticial Yeah
 
It seemed to be over.. Silly me :(
 
Xeo
People kinda raged about that
 
I actually liked it.
 
Xeo
Anyways, now is ALO and that's so good. :)
Hating on Oberon yet? :D
 
12:47 AM
@Pubby You actually enjoyed that show? I wanted to like it but it was just too boring..
 
@Xeo Oberon?
 
Isn't that a programming language?
 
Xeo
@Mysticial The elven king. Didn't they introduce him already?
 
@StackedCrooked Yeah, it was fantastic. Sci-fi is best when slow.
 
Xeo
Might be the latest episode.
 
12:48 AM
@Xeo It usually takes me a few episodes to pick up on the names or minor characters.
 
Xeo
@Mysticial heh, "minor"
 
Minor as of ep 17.
But likely going to be major.
brb, need food.
 
Xeo
@Mysticial Didn't figure out who he is yet?
 
@Xeo I know who he is.
 
Xeo
Ah, well, then you should know that he is no minor character
 
12:50 AM
or do I?
Name's not showing on MAL.
 
Yeah, I guessed right.
Not on the MAL list, or perhaps under a different name.
brb, food
 
1:02 AM
Anyone on Windows 8 already?
 
user142019
@StackedCrooked Ballmer.
 
When he's not throwing chairs.
 
user142019
He’s a chairman.
 
user142019
SKYPE Y U LOAD MESSAGES IN MAIN THREAD WITH BLOCKING I/O YOU PIECE OF FUCKING SHIT DESIGNED BY IDIOTS
 
user142019
1:06 AM
At least use non-blocking I/O.
 
user142019
Or a fucking thread.
 
@Zoidberg'-- perhaps consider other im, unless you're actually phoning (but gmail chat has phone too)
 
Blizzard customer service ftw
 
user142019
@Cheersandhth.-Alf problem is people use Skype.
 
Make a better IM and make billions
 
user142019
1:13 AM
I have been working on Postduif.
 
user142019
But I never completed it.
 
Hmm anyone here use Sublime Text 2 with cl.exe? I was wondering if there was a way to run the exe once it's been compiled.
 
user142019
Problem with IM is that you need a UI.
 
I use the build profile from here: sublimetext.com/forum/viewtopic.php?f=2&t=3797, and the bat file from here: stackoverflow.com/questions/7865432/…
 
I use GCC with Sublime Text 2
Fuck Microsoft's shit
2
 
1:18 AM
by gcc i assume you mean mingw?
 
yes
 
user142019
I use TextMate with GHC and sometimes clang.
 
user142019
Though I always invoke GHC indirectly through Cabal.
 
If I wanted to use the windows compiler I'd just use Visual Studio 2012.
It's a nice IDE (imo) , might as well use it.
 
user142019
Good thing you added “(imo)” since I was just about to rant it to death.
 
1:19 AM
Oh I love MSVC, but sometimes I just want to compile a tiny main and it takes a while to load so I figured why not look at alternatives
 
user142019
lol
 
Too bad most people here (excluding you and Alf) like MSVC :P
Also hnng..
> Nope, I don't know arrays. I don't even know what anything that starts with std:: means.
 
user142019
My friend just did git branch rm foo and git branch remove foo and he got two new branches named “rm” and “remove”.
 
This is why using namespace std; is cancer.
 
user142019
cplusplus.com is a cancer.
 
1:27 AM
You're cancer
 
@Rapptz linky?
 
user142019
It has the domain name that makes it the first Google result and then it’s written by a fucking moron.
 
I'm on a forum helping someone with their C++ homework.
 
well, I gotta admit, that's a huge pile'o'fail
but feel free to, say, point them to my tutorial section on the Standard Library
 
It's making me pretty sad actually.
 
user142019
1:29 AM
I always point people to DeadMG’s tutorials and to Konrad’s slides.
 
@Zoidberg'-- Does @DeadMG have tutorials?
 
user142019
 
We all have tutorials now. It's 2012! Join the fun.
 
what means 0.f ??
 
user142019
@georgemano uhm, a float literal with a value of 0.0?
 
1:30 AM
Oh God.
His next question is even worse.
> Consider this data sequence: "fish bird reptile reptile bird bird bird mammal fish". Let's define a SINGLETON to be a data element that is not repeated immediately before or after itself in the sequence. So, here there are four SINGLETONs (the first appearance of "fish", the first appearance of "bird", "mammal", and the second appearance of "fish").
What the fuck do they teach these people in school?
 
user142019
A singleton is a list with one element or a 1-tuple. Other singletons are idiotic and moronic and stupid.
 
No.
I'm talking about using strings without knowing what an array is
 
@Zoidberg'-- cant understand , is it a float with precision of 0.0?
 
user142019
@georgemano no.
 
user142019
It is like
 
user142019
1:32 AM
float x = 0;
 
the f defines a float literal.
like 1234.f is a float with a value of 1234.0
 
user142019
I never use float. I always use double.
 
so, when we write x=0.f it means float x=0.0?
 
user142019
0.f is a float with a value of 0.0.
 
no, because 0.0 is of type double.
 
1:34 AM
@DeadMG ok
 
user142019
0.f is the same as 0.0f.
 
user142019
And f means: this is a float instead of double.
 
user142019
auto w = 0; // int
auto x = 0.0; // double
auto y = 0.0f; // float
auto z = 0.f; // float
 
Why would you use floats?
 
user142019
Because you’re foolish or because the APIs you use are foolish.
 
user142019
1:37 AM
Or you need to preserve space for some reason.
 
user142019
Or because you did benchmarks and it turned out doubles were slower and your bottleneck.
 
@Rapptz Because i have to work on something that uses floats
 
What's that?
 
@Rapptz Computer Graphics stuff
 
user142019
In computing, floating point describes a method of representing an approximation to real numbers in a way that can support a wide range of values. Numbers are, in general, represented approximately to a fixed number of significant digits and scaled using an exponent. The base for the scaling is normally 2, 10 or 16. The typical number that can be represented exactly is of the form: :Significant digits × baseexponent The term floating point refers to the fact that the radix point (decimal point, or, more commonly in computers, binary point) can "float"; that is, it can be placed anywhe...
 
1:38 AM
hmm is there a way in a .bat to say "all params except the first" (or the last) ?
 
user142019
Really, Wikipedia onebox. Do you take the fucking tiny Computer Science Portal icon on the very bottom of the page as the thumbnail image? T_T
 
@Zoidberg'-- I'm not sure what this states. A double is just double precision of a float.
 
@Zoidberg'-- Submit as bug?
 
user142019
@Pubby TME and they won’t improve it anyway since they’re lazy.
 
Oh was the joke supposed to be that huge computer
 
1:40 AM
@Rapptz Really ? Is double the double precision of a float?
 
Well there are a few differences.. like float is 4 bytes, double is typically 8 bytes.
 
user142019
Does the Standard guarantee the size of a float?
 
Xeo
7
Q: Where does the chat get the thumbnail on Wikipedia links from?

XeoStarting here, we kind of wondered how the chat selects the preview picture. But with this, we changed our direction: where does the chat get these pictures from? The displayed pyramids picture is nowhere to be seen on the page itself (unless I overlooked something)!

:3
 
floats have 7 digits of precision vs doubles which typically have 16?
 
@Zoidberg'-- It guarantees that float has a size :p
 
user142019
1:43 AM
Would surprise me, especially because CHAR_BIT == 8 isn’t guaranteed to be true.
 
user142019
@Rapptz typically
 
That's what I remember about float vs double anyway.
 
user142019
There is also long double.
 
user142019
I want a few billion 1TB registers. Who needs RAM. Who needs L1.
 
Xeo
44
Q: If registers are so blazingly fast, why don't we have more of them?

XeoIn 32bit, we had 8 "general purpose" registers. With 64bit, the amount doubles, but it seems independent of the 64bit change itself. Now, if registers are so fast (no memory access), why aren't there more of them naturally? Shouldn't CPU builders work as many registers as possible into the CPU? W...

 
1:46 AM
> There are three floating point types: float, double, and long double. The type double provides at least as much precision as float, and the type long double provides at least as much precision as double. The set of values of the type float is a subset of the set of values of the type double; the set of values of the type double is a subset of the set of values of the type long double. The value representation of floating-point types is implementation-defined.
 
user142019
What about 1 TB L1 then. :P
 
3.9.1 p8 on N3376
 
user142019
Hi @DavidHammen.
 
Hi @Zoidberg'--
 
user142019
@DavidHammen You were mentioned here a few hours before.
 
user142019
1:50 AM
3 hours ago, by Xeo
BS. There's no need for either std::vector or std::array here. An array of arrays or a vector of vectors is very suboptimal compared to a compile-time 2D matrix with regard to memory access and memory localization. — David Hammen 5 mins ago
 
I thought my nose was getting itchy.
 
I think it's popcorn time :P :P :P
 
Are you Japanese?
 
user142019
No, I’m Dutch.
 
I assume you're using the cultural aspect of sneezing when mentioned.
 
1:51 AM
People really should read the standard. Or at least look at the assembler produced by a compiler that is compliant with the standard.
 
actually, I think that it's you who needs to read the Standard
 
We all read the standard here lol
 
can someone explain me what does the _ behind the variables mean ?
 
std::array<T, N> is defined to be exactly equal to T[N], for all memory and allocation related purposes.
 
Xeo
@DavidHammen So, an "array of arrays" does not imply that the memory is contiguous?
 
1:52 AM
@Rapptz I don't -.-;
 
user142019
We even have a walking standard.
 
Xeo
@georgemano Nothing.
 
user142019
Apr 11 at 17:30, by Mysticial
Where's the "walking standard" when you need him. :P
 
@Borgleader Should download it man. It's free.
 
@Xeo is it just a new variable?
 
user142019
1:52 AM
@georgemano nothing; it’s just part of the variable name.
 
Xeo
 
@georgemano It's often a convention used to denote member variables of a class. as opposed to regular variables in a function
 
user142019
int foo_; // declares a variable of type int named foo_.
 
Xeo
Click the profile and then the link for the standard papers
 
1:53 AM
Could have just linked that lol lazy Xeo tsk tsk
 
Xeo
Is the right link
The other one is just the tex sources.
 
@Zoidberg'-- Sorry I meant , in the front of the words , _foo .
 
@Zoidberg'-- There's a minimum requirement.
 
user142019
@georgemano same thing
 
Xeo
@georgemano Still nothing special.
 
user142019
1:54 AM
@georgemano except they are reserved if in the global namespace.
 
Xeo
Aye
 
Double underscores are. Still bad though
 
@Zoidberg'-- sorry ? Cant understand you
 
Xeo
double are everywhere, single + uppercase too, and single + lowercase in global only
 
user142019
@Rapptz No. You need to reserve some because of stupid #defines.
 
user142019
1:55 AM
#define __foo shit
#include <vector> // whoops if __ weren’t reserved.
 
user142019
@georgemano in the global namespace identifiers beginning with an underscore are reserved.
 
@Zoidberg'-- what is the global namespace?
 
Xeo
@DeadMG: It's std::array<std::array<T, M>, N>, aka reverse sizes
 
user142019
And identifiers containing two consecutive underscores are always reserved, and those beginning with an underscore followed by a capital letter are also always reserved.
 
Xeo
@georgemano Get a book.
 
1:56 AM
voops
 
Xeo
And please mention the AutomaticDecayAtDropOfHat™
 
This TinyURL redirects to:
http://stackoverflow.com/q/388242/511601
Crafty bastards. That's sbi isn't it.
 
You mean to tell me you guys read all 1300 some odd pages of the standard?
 
Xeo
@Rapptz Yes.
@Borgleader No.
 
@Borgleader I just refer to it.
 
1:59 AM
http://day9.tv/d/Day9/day9-daily-520-rootod-vs-empirebratok/
It's daily time, ohhhhh it's daily time
 

« first day (744 days earlier)      last day (4222 days later) »