« first day (3109 days earlier)      last day (1822 days later) » 

1:40 AM
@CaptainGiraffe No-at least not in the conventional sense, as in: it's not a comparison between one element and another.
 
2:23 AM
@JerryCoffin I need to read your newsletter more closely. A predicate produces a true or false value. Which of course is central to the N-log-N argument. How does this avoid that?
 
 
1 hour later…
3:29 AM
@CaptainGiraffe Not so. The N log N proof is about the elements being compared to each other. A predicate like this one that compares an element to a constant value renders that argument irrelevant (and whether you call it a predicate or not, of course a binary radix sort compares digits to 0 or 1).
 
4:27 AM
Anybody have any stories about exit codes being useful?
 
4:38 AM
ಠ_ಠ
this is why we can't have nice things
 
 
2 hours later…
6:30 AM
No wonder they say 'chicken descended from dinosaurs'.
 
7:22 AM
I don't have superpower or self-discipline, I have compulsive 'disorder' which compels me to finish reading a technical book or complete a project as soon as possible.
 
 
3 hours later…
10:49 AM
@TelKitty Imagine this guy going to the dentist, it'll probably take all day :)
 
Probably will try to eat the dentist first.
 
@TelKitty You mean private projects? Because in my experience, they're either trivial, or they're never complete because you constantly want to add new features over time.
 
@fredoverflow Complete as in, in a usable form.
It's like building a house, it's completed when one can comfortably move in.
You can continuously improve your house, but you would not consider you house incomplete because you do.
 
@fredoverflow If you have a chicken that size, it would eat little kids for snack :x
 
11:02 AM
 
@fredoverflow I almost always finish one before starting another, now I know that's considered 'abnormal' ~_~
@fredoverflow That usually happens over time, when you need to add new features on a foundation not built for them.
 
11:22 AM
@TelKitty So just plan each and every feature ahead of time? trololololol
 
11:34 AM
Now I finally understand what the .net frame is for ...
 
12:04 PM
Are all black holes the same? Other than size and mass.
 
nwp
And spin and position and velocity and sometimes being used as a euphemism.
 
I mean, if you collapse 3.3 times solar mass worth of poop into a black hole, would it be the same as a black hole made with the same mass of gold (everything else being the same)?
 
 
1 hour later…
1:12 PM
If you have 9 spare hours ...
I personally have not watched this.
Not very advanced because I don't think it talked about multi-threading.
 
nwp
1:49 PM
Does it start with "We use using namespace std; so that we can use the cout function directly"?
 
0:02 Installing CodeBlocks
So no.
Apparently "using namespace std" was automatically added to the code to start with.
Question: Should you Learn C++ in 2018?
Answer: No, you shouldn't learn Ruby in 2018
Comment: I decided to learn C++ 4 or 5 years ago, but unfortunately I didn't start yet, I need to reorganize my time
I read comments instead of watching videos on youtube.
 
nwp
2:11 PM
Why would you ever read youtube comments? They are exclusively garbage.
 
Reading top comments can be entertaining. Also I get to learn how people think by reading comments on particular events.
 
nwp
You don't learn how people think. You learn how people think who cannot tell that youtube comments are garbage.
 
I do watch videos, it's just that I also have a habit of reading comments.
About 30%-60% youtube comments are garbage. But there are 10%-20% good ones. Besides sometimes it's a good source to tell whether the content of the video is fake.
 
3:19 PM
You can also tell people's IQs from the tweet they write. I have discovered quite a few dumbasses this way ~_~
 
 
2 hours later…
5:37 PM
@CaptainGiraffe same inputs just cut the strings in half.
 
6:16 PM
Hello fellow real developers, would you mind helping one guy with no experience in C++ understand his mistake. I come from C# and there things are way more out of the box :/ hence I am spoiled unable to understand whats going on
I am struggling with lambdas.

I have std::set<GameObject*> _hatchedEggs; which later I would like to apply function on every one of the so called eggs like so std::for_each(_hatchedEggs.begin(), _hatchedEggs.end(), [](GameObject& gob){gob.Respawn();});
Problem is that when I try to compile I get the following error error C2664: 'void boss_marli::boss_marliAI::Reset::<lambda_f82ce65661030885463a5d7df3161d77>::operator ()(GameObject &) const': cannot convert a
rgument 1 from 'GameObject *const ' to 'GameObject &'
 
The important part being: 'GameObject *const ' to 'GameObject &'
look in your code where GameObject & and GameObject * are used
 
I know
I am thinking that iterators of std::set returns const objects
and therefore I cant change the underlying elements
 
Wrong
Your set has pointers in it
 
Okay
 
your lambda expects a reference
the lambda should expect what the set contains
(or a reference to what the set contains)
 
6:24 PM
damn I think I overthink to much
with those pointers and references
I fixed it, thanks
 
 
2 hours later…
8:28 PM
what is the struct equivalent of "template <class object>" or "template<typename object>"
 

« first day (3109 days earlier)      last day (1822 days later) »