« first day (1075 days earlier)      last day (3870 days later) » 

5:00 PM
@not-rightfold Now I'm Pawnguy. Are you rightfold or not?
 
@Lucio "flaged"? Not even sure what that means. If it's similar to "flagellated", then no.
 
BTW a massive thanks to all here. I apprecaite what you all do and provide assistance. its amazing. love stackoverflow!!
6
 
@JerryCoffin Sorry, I mean if you pressed the button that says flag and chose an option.
 
@Lucio Hmm...well, given my poor memory, it's hard to say I couldn't ever have done so. Pretty sure if I have, it wasn't at all recently.
 
Ok, it was just a doubt.
I have a short memory too.
 
5:05 PM
What's the trigraph for a backslash? And why are they on sale?
 
@Lucio Mine's not exactly short -- just highly undependable. AAMOF, I'm old enough I generally remember things from 30 years ago much more clearly than from this morning.
 
@CaptainGiraffe ??/
 
lol
 
@R.MartinhoFernandes Oh that cheap slut. I had her in a hazy regexp last night.
 
Anyway, the point is that the flag system helps to avoid trolls. It is really useful. If you can, flag the damn Twitter user. Thanks
 
user1804599
5:09 PM
@CaptainGiraffe wut
 
@not-rightfold [not-]rightfold? wut wut?
 
user1804599
Stop being confused. It’s confusing.
 
*Ogonek.Ucd
λ length $ filter (\x -> x /= bidiMirroredGlyph x) codePoints
364
*Ogonek.Ucd
λ
Woot, I can run queries now.
 
Xeo
wheee
I'm liking Haskell more and more since I started the IRC bot
Actually writing something in a language I've been studying for months is nice.
 
5:21 PM
what is that tomalak thing again?
 
tomalak is a person.
dead you mean appreciate
 
@LightnessRacesinOrbit apprecaite wut? (yes I waited 3 min)
 
22 mins ago, by Dave Powell
BTW a massive thanks to all here. I apprecaite what you all do and provide assistance. its amazing. love stackoverflow!!
 
I thought it's an apricot
 
@Abyx "thing"?
 
5:23 PM
@LightnessRacesinOrbit oh =/
 
@LightnessRacesinOrbit vegetable.
 
You did something wrong.
 
@Abyx I take offence.
@CodeJack "Sir"?
 
I am not a knight.
 
S. Martinho Fernandes
 
5:27 PM
 
@DeadMG Fucking stop it.
 
@R.MartinhoFernandes Is it me, or is Portuguese food essentially "various animals on a grill"?
 
@EtiennedeMartel you on a grill?
 
@R.MartinhoFernandes : why my code has been removed ?
 
:12007450 Printing &a is useless; you don't care about the address of the pointer. You do want to print a, as a is the pointer, but when you do that the stream recognises a char* as a kind of string, tries to be clever and prints the string at *a instead. Print a and then static_cast<void*>(a). You'll see what's happening then.
 
5:28 PM
You guys are dropping some foul language around here ... :)
 
@EtiennedeMartel Yummy. (No)
@thokra We are?
 
@CodeJack Because DeadMG is power-mad.
 
@thokra Fuck.
 
@EtiennedeMartel Don't say "fuck"!
 
@R.MartinhoFernandes LRiO did say "pointer".
 
5:29 PM
> Feces normally have an unpleasant smell, but it is a smell that is common and unremarkable. Foul-smelling stools have an unusually strong, putrid smell. Although in many cases, foul-smelling stools are related to the foods you eat, and the bacteria flora resident in your colon they can also indicate a serious health problem. Diarrhea, bloating, or gas (flatulence) may accompany foul-smelling stools. These stools are often soft or runny and are not considered a regular bowel movement.
@thokra There you go. Some foul language as requested.
 
;)
 
question about C++
 
@R.MartinhoFernandes: Appreciate it! ;)
 
@LightnessRacesinOrbit I do it for the evulz and you know it.
 
@CodeJack That response above was for you.
 
user1804599
5:31 PM
Fucking HTML not allowing PUT and DELETE in fucking forms.
 
my question is ideone.com/gohvbj
 
we know
 
omg don't link me to tvtropes. ffs
 
hahahahaha
 
why after ++a , address of a is not increased by +1 , also the address of b should be a , why it is different ?
 
5:33 PM
4 mins ago, by Lightness Races in Orbit
:12007450 Printing &a is useless; you don't care about the address of the pointer. You do want to print a, as a is the pointer, but when you do that the stream recognises a char* as a kind of string, tries to be clever and prints the string at *a instead. Print a and then static_cast<void*>(a). You'll see what's happening then.
 
Hmm, should go home.
 
One more question , is there any memory stored for integer pointer in int *ptr = &i ?
 
Oooh, Ideone is looking much nicer
 
@CodeJack after ++a the values of a and b are the same, which is demonstrated by the output of your program.
@CodeJack yes, the number of bytes required by int* is sizeof(int*)
 
@StackedCrooked : and in the case of char *ptr = "Hello" ?
 
5:40 PM
@CodeJack The size on the stack will be sizeof(char*)
 
Xeo
@R.MartinhoFernandes ...
 
user1804599
Fucking Bootstrap.
 
@StackedCrooked Or sizeof ptr
 
user1804599
I select only the grid system, but it still includes the font and all that crap.
 
@R.MartinhoFernandes lol, yeah
 
5:42 PM
you mean to say memory is allocated to string "Hello" and memory is allocated to char *ptr . Then char *ptr contains the address of memory containing "Hello" string ... ?
OR
char *ptr directly points to memory block containing "Hello" without allocating separate block for char *ptr .
 
@CodeJack In char *ptr = "Hello";, you're going to have a 6-byte block of memory allocated to store Hello (plus NUL terminator) itself, then another sizeof(char *) block allocated to point to the first block of memory.
 
char* is allocated on the stack. "Hello" is stored in a read-only section of memory. char* points to the address of "Hello". AFAIK.
 
@StackedCrooked With the exception that the memory might not really be read-only (e.g., on a tiny microcontroller that doesn't have a memory management unit).
 
char *ptr = "Hello" is not valid in C++, btw.
 
@R.MartinhoFernandes Adding the const to comply with C++11 doesn't really change anything about memory allocation though.
 
5:50 PM
Doesn't C++98 also require the const?
 
It's deprecated.
But still legal.
 
Is there a way to get the address of memory byte to which the char *ptr points ? I tried &ptr ... but dint work ..
 
but it prints the string it is pointing to....i want to get the address of the string .. or first character of the string ?
what is the format specifier I should use rather ?
 
@CodeJack What, you're using printf? If so, %p. If you're using iostreams, just cast to void * first. Oh, an don't use printf without some overwhelming reason.
 
5:55 PM
@JBL Next time, show a little more enthusiasm! I'm sure you can do higher than that
 
The Steam announcements suck
 
@CodeJack I already told you how to do that.
 
@CodeJack For the first character of the string, the obvious would be something like putchar(*ptr); or std::cout << *ptr;
 
They're basically "Hey we're doing X but we can't tell you more about it until later"
 
24 mins ago, by Abyx
4 mins ago, by Lightness Races in Orbit
:12007450 Printing &a is useless; you don't care about the address of the pointer. You do want to print a, as a is the pointer, but when you do that the stream recognises a char* as a kind of string, tries to be clever and prints the string at *a instead. Print a and then static_cast<void*>(a). You'll see what's happening then.
@Rapptz A bit like the BBC's big Doctor Who announcement on a Wednesday last month, which turned out to be that they were going to make a big Doctor Who announcement on the following Sunday.
 
5:58 PM
@JerryCoffin assuming strlen(ptr)>0
 
@sehe If you deref a zero length string you get the joker.
 
@LightnessRacesinOrbit At least it's not quite as bad as politicians holding press conferences to state that they're not announcing their candidacy.
 
@BartekBanachewicz In case you're interested. Here's a critique on Blender's user interface.
 
@StackedCrooked If it's truly a zero-length string, you just printed a zero-byte. Shouldn't be a problem. Problems only arise if the pointer itself is invalid.
 
6:00 PM
@JerryCoffin Yeah.
 
Anyone knows what AX could mean when used like this: "We are hiring a bunch of AX-developers"
 
OHHH , great ! It worked !!!!
Thanks guys for helping me out :)
 
Asperger Xylophone developers?
 
> The sample is bad(incomplete parameters for main, no return)
wot
 
Xeo
> The sample is bad(incomplete parameters for main, no return)
lol
Oh fammit Rapptz
 
6:01 PM
Is downcasting a pointer (like static_cast<Child*>(ptr) with Base* ptr) UB?
 
Xeo
only if it's not actually a Child and you're accessing the casted pointer
 
@Borgleader Gah. As if that requires any imagination. I mean, it's effective, but it's about as unuser friendly as it could get. It's far worse than the ubiquitously-lamented GIMP UX
 
@StackedCrooked looks like it means Microsoft Dymanics
 
@sehe Didn't know you liked dresses. I'm not judging though.
 
Xeo
> Being pedantic. Could you please add highlighting for any files being #included?
 
6:03 PM
@StackedCrooked Oh very much! On the right girl
 
Xeo
isn't that in?
 
@Xeo which means yes?
 
@Mysticial Impressive. Seriously impressive.
 
@Borgleader The only redeeming factor being that Blender is simply used by a much smaller audience than GIMP
 
@Xeo I suppose he wants to have highlighting for any classes pulled in by header includes.
 
Xeo
6:04 PM
oh
that would need a dynamic parser instead of just a static one, and gl with that on the clientside
 
Yep.
I'm not gonna try.
 
Xeo
> Disable ctrl+s. It's a force of habit to do that every so often when I code, or do anything else, really. I doubt anyone actually saves this page. (FIXED: Ctrl-S/Command-S are now mapped to empty functor.)
I love you so much for that change :)
 
user1804599
I use control+S for Emmet.
 
user1804599
I save with ⌘S. ( ͡° ͜ʖ ͡°)
 
random_device is also fixed
 
6:07 PM
@sehe The redeeming difference being that Blender actually improved over the years. I look at gimp now and it feels the same to me than it was when i was in high school 10 years ago
 
Xeo
@not-rightfold That won't save your soul.
 
Oh it doesn't feel the same to me. That's probably mostly due to the fact that I've been using it much. Blender still does my head in for the first 6 hours that I use it, whenever I need it
 
@not-rightfold How to?
 
sfw imo
 
Already stared.
:)
 
6:09 PM
NSA will know what happened
 
I do too
 
No one cares.
 
user1804599
@Jefffrey Huh?
 
@sehe yeah, that is the most useful thing with being an owner ime.
 
@not-rightfold The cmd symbol.
 
user1804599
6:10 PM
⎇⌘T > Technical Symbols
 
@JerryCoffin Heh, yes
 
@Borgleader yeah I talked a little about it (sorta)
lame announcement
 
@StackedCrooked: Actually, Ctrl+S still "works" for me on Chrome 29
And shouldn't you document that change on the keyboard shortcuts list?
 
It is only disabled if the source code editor has focus.
 
6:15 PM
@StackedCrooked Oh, yes, groovy.
 
It still works when command line editor is focused, or anything else.
 
@not-rightfold You just opened the doors to a whole new world for me. Thanks.
 
Glad to discover I'm not the only one tapping Ctrl+S automatically every 30 seconds as if my life depended on it
 
Xeo
every 30 sec? I'm practically hitting it after every codeline
2
 
@StackedCrooked My editor is never focused. That's why I went self-published
 
6:17 PM
I chose a semi-random time interval; every line can happen too
I don't understand what Zoidberg and his friend are on about
 
@sehe You have to click it :P
 
I never hit ^S in practice. I hit @:, :mak
@StackedCrooked Before you lick it!
 
@Xeo So, once every 5 minutes?
 
user1804599
@sehe You hit control+S only in theory, huh?
 
user1804599
6:18 PM
I hit ⌘S extremely often when writing Go code because I set up Vim to reformat my Go code on save. :P
 
@not-rightfold Wow.
 
@not-rightfold Nope. I just implicitely save a lot
 
Coliru's best feature is the yellow background.
 
user1804599
@LightnessRacesinOrbit Lol.
 
Because I like yellow.
 
6:19 PM
@StackedCrooked Colirus best feature is you :P
 
I'm not a feature dude :D
 
You can't "use" me.
 
@StackedCrooked Features are about usability, which is not the same as usage
 
user1804599
@StackedCrooked use StackedCrooked;.
 
6:24 PM
dammit
stop using me.
 
user1804599
using me;
 
use me; # proper perl
 
user1804599
Yay.
 
user1804599
π-calculus is nice.
 
@Ell watch it
@Borgleader yeah, pretty much
 
6:32 PM
watamote is getting depressing
 
user1804599
:before and :after are awesome.
 
How to improve interface? Burn the old one first.
To the ground.
 
And urinate on the ashes.
 
user1804599
The Essence Of Ashes
 
Then roll in it.
 
user1804599
6:34 PM
Sounds like daily Belgian activities.
 
user1804599
@StackedCrooked Just wondering. Do you guys also make jokes about dumb Dutchmen?
 
user1804599
Yay! Het is wederzijds! :D
 
Xeo
Using g++-4.8 with 18GB or RAM I got N to 75000 before running out of memory — GuyGreer 1 min ago
3
lol
 
user1804599
I’ll try with 32 GB once I get my new machine. :P
 
@Rapptz ahaha. Yeah someone was REALLY bored.
 
I would have automated it.
But I guess that wouldn't relieve boredom.
 
JBL
@sehe I'm sorry. That won't happen again. Like, never.
 
@EtiennedeMartel Ugliest song ever heard.
 
@Jefffrey I will not mention your lack of taste.
 
6:55 PM
^ 1D all the way
 
See? Knew you had no taste in music.
 
@EtiennedeMartel But you did.
 
@Jefffrey ...all the way back to the dump they came from?
2
 
Xeo
@BartekBanachewicz ... blender doesn't prompt by default on exit? Holy shit.
 
But.. But.. What's wrong with them? I mean they are so cute and shit.
 
6:59 PM
@Jefffrey So are puppies -- but neither one can sing.
 
@JerryCoffin Good analogy.
 
@EtiennedeMartel Thanks.
 
@JerryCoffin Doesn't mean that all cute things can't sing.
 
@JerryCoffin always tactful :)
 
But in all seriousness could someone delete that one direction video please?
 
7:03 PM
@Jefffrey Quite true. Unfortunately, 1D between all of them, still seem to have less musical talent than I do -- and that's certainly not a claim that I'm even slightly talented.
1 message moved to recycle bin
 
@EtiennedeMartel Is that how electro-jazz sounds like?
@JerryCoffin Thanks darling :)
 
@Jefffrey More or less. They're a bit hard to classify.
 
I noticed.
 
@Jefffrey Sure -- unfortunately, I couldn't delete the video itself, only the link to it.
 
@Xeo it's maximally retarded
 
7:05 PM
Evening
 
@JerryCoffin lol
 
@JerryCoffin I though you were God. :(
 
I considered logging in from work today, but then productivity would die
and so I shall refrain from doing that
 
@TonyTheLion Howdy my king.
 
@Jefffrey Howdy.
 
Xeo
7:06 PM
@TonyTheLion My productivity at work is dead anyways, since I have to wait so fucking long for builds
 
@Jefffrey Yes, but I've set rules limiting the number of miracles I perform.
 
Xeo
So I'm spending the time writing an IRC bot in Haskell
 
@Xeo I'm dealing with VBScript at the moment. :/
 
@JerryCoffin Maybe tomorrow then?
 
@Xeo Well spent time.
 
7:07 PM
I got paid today. Finally I have money again.
 
Xeo
@TonyTheLion Oooh, good call. I should check my bank account.
 
@ScottW Oh baby. You know my pain.
@Xeo :)
 
@Jefffrey Maybe -- but like most deities, I have a terrible memory (that's why you need to pray for things so often before there's any chance of them happening).
 
int main(int /*argc*/, const char *argv[]) {
  ofstream(argv[2], ios::binary) << ifstream(argv[1], ios::binary).rdbuf();
}
 
7:08 PM
lol
 
Deliciously unsafe filecopy in c++
 
@Jefffrey I've been good. But, lolwat?!
 
Xeo
Y'know, I'm confused. I've found two websites (that I use regurlarly), which sometimes just don't do an action, instead discarding all input and just reloading the page.
@TonyTheLion No money yet. :<
 
@sehe argp is a better option
 
@CaptainGiraffe No clue what you mean
 
7:09 PM
I like jens lekman. Not the best singer, but he sounds pleasant to my ear. Not sure whether to call it endearing or amusing.
 
enmusing?
 
amdearing!
 
For one of the greatest singers on the planet. Make sure you stay to 1:10. youtube.com/watch?v=YagKlrz_5a0.
 
Why are noobs so noob-ish
 
De politieheli vliegt boven Schiedam ivm een incident. Kwam net over rijksweg A20 vliegen bij Schiedam Noord.
 
7:16 PM
@CaptainGiraffe *1:01.
 
@TonyTheLion to make you feel good
^ That chopper is making an awful lot of noise. For about 10 minutes uninterrupted now
 
@sehe That's what choppers do, make noise.
Did you expect it to suddenly go quiet or something?
 
Thanks for the explanation
 
You're welcome :)
 
tony chopper
 
7:17 PM
I'll chop you up
 
Damn. Coming back even lower. Limbo chopper :(
 
It was either this or layin pipe. youtube.com/watch?v=EtLVXBqfqBY
 
user1804599
May the pope be with you.
 
RAAAEGE Toy choppers be annoying
 
7:22 PM
@sehe maybe you can figure it out where that heli is
 
What's your job? I throw kids.
> fuck you dickweed. Only a heartless flaming pile of shit could hate Chopper.
 
@TemplateRex It's supposedly crooks at large ("babbeltruc" is the only hint of what it might have been. I hope it's more serious than table-silver though. Annoying)
 
dat comment
 
7:23 PM
Welcome to youtube
 
@Code-Guru A simple IDE with a simple language for beginners.
 
Ell
okay I don't understand twitter :/
 
@FredOverflow You're making a language too?
 
Ell
How casual is a follow? am I supposed to follow as readily as I make facebook friends?
 
@Borgleader It's already done, and the description fits on a napkin.
 
7:27 PM
yea
 
@FredOverflow o.O
 
@Borgleader It doesn't even have variables or a type system :)
 
That is simple! :P
Is it haskell?
 
I don't have a compiler yet, but the interpreter I have is more than sufficient.
Scala
 
TIL about constexpr.
 
Ell
7:29 PM
@Jefffrey you're late to the party :O
 
@Ell I'm always late. I learned about inline functions only a week ago.
 
And what you learned is probably wrong.
Hint: When it comes to inlining, modern compilers will ignore the inline keyword .
 
Ell
@FredOverflow entirely?
I though it was a hint for the optimizer
 
Mar 16 '11 at 23:16, by StackedCrooked
Yesterday I learned about int.
 
compiler's smart enough to figure it out
 
Ell
7:30 PM
Yeag
 
Creepy & Cute >.>
 
inline is only there to bypass ODR.
3
okay well, nap time.
so tired
 
@Borgleader I'm missing the cute part
 
@Rapptz Also for inlining.
 
@Ell It's supposed to be, but most compilers pretty much ignore it. A few can pay attention with the right flags though (e.g., -Ob1 with VC++). Virtually nobody ever uses that though -- -Ob0 for debugging, and -Ob2 for optimization.
 
7:33 PM
@sehe Or maybe I'm just weird -.-;
 
@sehe The texture of the wall behind all the creepiness?
 
Oh. Cute. That
 
@sehe Its attempt at creepiness is cute.
 
@JerryCoffin With -Wall we all do -O3 for testing?
 
@JerryCoffin Well, explicitly say "I want this to be inlined" (even if it would be inlined anyway by the compiler) can't be bad, right?
 
7:34 PM
Oh wall, my bad
 
@not-rightfold, @sehe: I am inclined to accept this answer: stackoverflow.com/a/18983924/341065
What do you think?
 
Another brick in the -Wall.
8
 
@Jefffrey Yes, it can. It adds noise that distracts from real meaning.
 
> Sit, Stand, Walk, Type - Using a Treadmill Desk Der Hansel
 
But.. but.. Bartek uses inline all the time.
 
7:36 PM
Bartek is human (that's in §97.3, annex b)
 
Bartek is not a compiler.
 
The compiler can't inline something if you don't inline it. (Unless you are using link-time optimization or you specify all source files in a single g++ command line.)
 
@wilx I doubt you're going to get one that's much better.
 
@JerryCoffin Yeah, that is what I think as well.
 
KetraB Eats Tandoori Raw As BarteK
 
7:38 PM
@BartekBanachewicz You should know this things though.
 
You tell him. He mustn't fail you
 
@Jefffrey and?
@sehe :D
 
@BartekBanachewicz That's it.
 
@Jefffrey I use inline to keep ODR
 
7:40 PM
@wilx Seems useful
 
@sehe what does it mean?
 
@BartekBanachewicz That's the beauty of art: it means all things to all people!
 
@StackedCrooked Let me also add that book to the queue of books I have to read.
 
You don't need to read the entire book. Just read the parts that are relevant for you.
 
So the main problem lies in the fact that the compiler also makes a copy of the inlined function. Doesn't sound like a big deal.
 
7:48 PM
code bloat
if that function is called from a thousand places
that might add to the size of exe
 
It replaces the function call with the contents of the function. This allows for improved pipelining and instruction reordering and so on. IIRC.
 
@TonyTheLion Apparently that problem is solved by the compiler itself. (The compiler refuses to inline a function if it creates performance and general problems).
 
However, the increased code size can backfire.
That said, inlining a function which contains only one or two statements can reduce code size.
 
user1804599
I want to write something in Python.
 
7:55 PM
Do it!
 
user1804599
I’m out of ideas.
 
Write Hello World!
 
user1804599
print('Hello, world!') :v
 
Write a website...
 
7:56 PM
Write a girlfriend
 
... about cookies that should be clicked.
 
Ell
man I really need to style my hair
 
user1804599
@Jefffrey Meh, just done that.
 
Ell
I look so stupid
 
user1804599
7:57 PM
@MohammadAliBaydoun import this
 
Ell
Haha :P
 
I'm psychic like that
 
user1804599
Ok.
 
Ell
also yeah, time travel much :3
 
user1804599
7:59 PM
Time to think of a good design for Kreeft’s scheduler.
 
user1804599
I decided to use LLVM. Or at least JIT-compilation.
 

« first day (1075 days earlier)      last day (3870 days later) »