« first day (1005 days earlier)      last day (3958 days later) » 

11:00 PM
those things are fuckin' huge, you know.
 
Wait. WHAT? You killed an elephant? Was it in your room?
 
@DeadMG I punched it a lot
 
there's a reason why humans had to learn to build weapons like spears before we could hunt such things
 
was it in the cat feeder?
 
@sehe oh you
 
11:00 PM
I know. He killed it with SUSHI.
 
dammit, I was so bored I made this; but now cat's gone already and I have nothing to use it for
user image
9
 
@melak47 Why? it would never be used...
 
You can't tuna sandwich, but you can tune an elephant!
 
@sehe there's something... soy fishy about that murder
 
@MooingDuck that's why it'd be so special!
 
11:02 PM
@MooingDuck one day, one day something magic will happen
 
whoa I totally never knew of std::search!
 
@MooingDuck wait, whaaat
 
@melak47 OMG that is the most beautiful thing ever
 
@Borgleader feel free to put it on your software :p
 
user142019
Let's sleep.
 
11:05 PM
@melak47 a) wtf you doing with only 180 rep b) since when was your name not 'malek' like I've been reading it all this damn time
 
Oh shit, I answered a question faster than Kerrek SB... and he deleted his afterwards o.O
 
user142019
For a month or five.
 
hmm, for my tree-based sequential container, which algorithms should I add as member functions besides lower_bound, upper_bound? Should I do equal_range, binary_search, or is_sorted?
 
3
Q: C++11 range-based for loops without loop variable

user2593383In C++ I need to iterate a certain number of times, but I don't need an iteration variable. For example: for( int x=0; x<10; ++x ) { f(); } Is there a more elegant way to write this using C++11's range-based for loops? I can't seem to figure out how to do it without using an iteration vari...

I really want to tell him to do this:
 
user142019
@MooingDuck What kind of tree is it?
 
11:06 PM
f(); f(); f(); f();
f();           f();
f(); f(); f(); f();
 
@rightfold binary tree
 
@thecoshman about the rep... :effort:
 
Because Rectangles are elegant
 
@thecoshman and always, but don't worry...everyone seems to read it that way :p
 
I dyslexia blame :P
 
user142019
11:07 PM
I have never read it as "malek".
 
maybe instead of posting textual tutorials, I should post video tutorials.
 
Ell
Nooooooooooooooooooooo
 
user142019
Please don't. :(
 
@Magtheridon96 Our eyes read rectangular blocks more easily. Therefore, that code is more readable.
 
@DeadMG for coding? No
 
Ell
11:08 PM
video tutorials suck!
 
lol
 
@DeadMG I myself prefer text, but for some reason there are videos everywhere...
 
Ell
for non visual things at least
for blender/gimp or something, maybe
 
user142019
Having to pause the video or finding back a specific part is highly annoying.
 
@chris I'm scared to suggest it, i'll be downvoted to oblivion ;_;
 
11:08 PM
just post a looping gif with the caption
"you"
"suck"
 
I used to like video tutorials...but I just hate them now. I'M IMPATIENT OK? STOP WITH YOUR LONGWINDED VIDEO AND SHOW ME WHAT I CAME HERE TO FIND OUT!!!
 
@DeadMG "just type what you see in the blurry video on my screen..."
 
@Magtheridon96 I doubt it, and you do have a couple free horrible answers that you can delete and take back before anything comes of it.
 
user142019
Something like tour.golang.org tour but for C++ would be nice.
 
I think it's more clever than horrible.
 
11:10 PM
Oh, sehe answered
 
@rightfold Sweet dreams!
 
user142019
I prefer nightmares.
 
@Magtheridon96 What, where? That never happens. Report identity breach!
 
user142019
inb4 Java
 
@rightfold Those can be sweet, and are by definition dreams
 
user142019
11:11 PM
Office Suites are nightmares too.
 
you wake up from them don't you? and there in lies the true nightmare
 
@thecoshman FWIW, I have slightly more rep on gamedev.se? :D
 
@sehe, your answer is... I'm pretty sure that doesn't compile
 
@MooingDuck Mmm. Possible, I haven't actualyl run it. What part wouldnt'?
 
@sehe calling F() where F is a lambda type.
 
11:13 PM
@MooingDuck Fixed
@MooingDuck lambda part irrelevant :). If it were a functor type, it would default construct an instance instead of invoking it. Thanks by the way
 
map<string,int> * maps = (map<string,int> *)malloc(n*sizeof(map<string,int>));
 
What the flipping fuck
 
So pretty.
 
@Rapptz No! Bad!
 
0
Q: Using malloc and sizeof for a pointer to a C++ class

onelineproofIs the following ok? int n=5; map<string,int> * maps = (map<string,int> *)malloc(n*sizeof(map<string,int>)); for (int i=0; i<n; i++) { maps[i] = map<string,int>(); char * i_str = (char *)malloc(10); sprintf(i_str,"%d",i); char * key = (char *)malloc(100); strcpy(key,"key"); ...

 
11:17 PM
@Rapptz wtf
 
Wow.
That's... quite the interesting code there.
 
@ThePhD Method acting
 
I'm a C programmer and even I can say... what is this I don't even...
 
@Mysticial No you're not....
 
@sehe Lee Strasberg approves.
 
11:19 PM
@Mysticial shh, they'll here you
 
I've never seen someone miss the point of using the C++ containers so badly.
 
user142019
@Rapptz hahaaaaaa.
 
@thecoshman They wouldn't there!
 
@sehe But would they near?
 
@sehe shh, they have ears everywhere
 
11:20 PM
@Borgleader You're saying I'm not a C programmer? Who said you have to know a language to use it ? :P
 
user142019
@Rapptz DAMUOTPBSed
 
@Mysticial Tou-ché
 
Touchey.
 
I like how he previously answered 1 question. On July 22nd 2011.
By copy and paste
 
user142019
Douchey.
 
11:22 PM
@Borgleader Chez tous!
 
chess toast?
 
Damn it. All those upvotes going to waste.
 
@MooingDuck He's not calling free after malloc.
 
@Rapptz: I just noticed that right after I posted my comment, but the answer was deleted
 
11:24 PM
FWIW the answer wasn't bad.
 
any way, time to hit the sack
 
Don't know why he deleted it
 
see you fuckers in the morning I guess
 
night
 
@Rapptz You scared him away!
 
11:24 PM
@Rapptz which answer?
 
user142019
I'm also going to sleep.
 
The one on that question that said the constructor didn't get called
 
Don't fall asleep now
that would be a waste of time
Only your favourite stalker. Not us
 
user142019
time.Sleep(6 * time.Hour)
 
user142019
@sehe ga slapen.
 
11:26 PM
@rightfold mmmkay
 
user142019
Het is verstandig.
 
user142019
En eigenlijk al te laat. I wanted to go to sleep before 23:00 but argh INTERNET!!! NEED INFORMATION!!!!!!!
 
@Rapptz it's bacj
 
Yeah I saw and deleted my comments.
 
heh, the question is valid IMO, but the code inspired such anger that people downvoted to -5 before they closed it.
 
11:31 PM
Ah.. I don't downvote much anymore
 
eh, I guess it fits that close reason actually
 
I closed as opinion based ("is this okay?")
 
@Rapptz "what if any problems can occur when I do [X]?" is valid isn't it?
 
I guess
 
0
Q: Scanning a file in binary mode and interpret the hex characters as actual numbers in C++

user2421471I know this title might sound confusing. I have a simple question which I haven't been able to solve yet. Lets imagine I have a file, opening it with an Hex Editor shows it has two characters inside, say 0x1B and 0x00 (obviously unprintable). I'd like to take that as 1B00 in HEX, which is 6912 i...

 
user406009
11:33 PM
Someone should probably also mention that this type of behavior is allowed with POD C++ classes.
 
Look at all that text
He could've summed it up in 1 sentence
 
@Lalaland meh
 
@Magtheridon96 if he had, I wouldn't know that you had misunderstood him
 
I gave him an answer that explained his endianness issues, but he changed the question when I was done, so I changed my answer as a result
 
this one is for you :P
 
@Borgleader Saw it already. Looks like another "compiler deleted my code" question.
 
If I were you, I'd add more loops, and preferably nested ones, so that things really become hard to read. — Tony The Lion 7 secs ago
 
i upboated that comment
 
11:43 PM
<3
 
Are there badges for comments?
 
I have nothing better to do.
 
11:48 PM
@chris That's fake?
 
@TonyTheLion Obviously.
 
nicely done
 
It's just some simple element inspector crap. You can have a lot of fun with webpages sometimes.
I got bored one time and did this to my school board's trustee information page.
 
@TonyTheLion : I tried to make it as readable as possible. However the structure of the program dictates the usage of so many loops. — rajaditya_m 33 secs ago
lol
 
Actually, it did come in useful one time when some site used comic sans on a terrible graylike background image. I changed the background to black.
 
11:52 PM
@chris targaryen words are "Blood and Fire"
 
I thought I was only gonna make 40 rep today, but i made 55 in the last hour, just in time for reset :3
 
good evening gentlemen
 
@MooingDuck I suppose hers are kind of similar to the Greyjoys as is...
 
@chris "We do not sow"?
 
@Mystical: Are you sure that's what the OP meant? — Kerrek SB 1 min ago
TIL Kerrek SB can't spell @Mysticial
 
11:54 PM
@MooingDuck Not the words, but they always say "We take what is ours."
 
@chris ah
 
@MooingDuck If you want to get technical, I never put "Hear me roar", either.
 
@Borgleader lol
 
I'll bet you she said those words in the last episode or two before I did that.
 
11:57 PM
@chris I dont' think she did
 
Well, at least I have the best number ever. 3 followed by 3 5's ^^
 
hello
 
hello
 
We have Jeffrey and now jeffery
 
こんばんわ。
 
11:59 PM
inb4 everyone pings the wrong dude
 
Good Evening.
 
Infidels.
 
just hope we do not have more then two then its bad luck
 
next is jEFfRey
 

« first day (1005 days earlier)      last day (3958 days later) »