« first day (1020 days earlier)      last day (3920 days later) » 

3:00 PM
@Fanael .....!
 
@TonyTheLion I hope he gets 'em.
 
@TonyTheLion he's a puppy
he'll follow them obviously
 
Xeo
@TonyTheLion At your current workplace, replacing you when you leave? :P
 
@EtiennedeMartel I don't care.
 
@TonyTheLion I hope the leads both pull in the same direction.
 
3:00 PM
So this guy is a "lead developer" somewhere and is suggesting someone to strdup(str.c_str())
 
@Xeo Yea that's one, and I have another place which could be interesting for him. He stated himself he'd take it, because he said he is actually quite desperate and any job is better than none.
 
Am I the only one that thinks he should be kept far away from code?
3
 
@R.MartinhoFernandes Yea, he should stay away.
 
@R.MartinhoFernandes Who?
 
Also it could be a way into the job market.
 
3:02 PM
@R.MartinhoFernandes Looks like another case of "If it works, it's the best way"
 
3
A: Converting a string to char*

James McLaughlinUmm, what about str.c_str()? Or strdup(str.c_str()) if you want a copy.

I think it's that guy.
 
@R.MartinhoFernandes 'lead developer' - someone who makes dog leads.
 
Oh gawd, another one.
 
Okay.
 
3:03 PM
I'm just not opening that. Just not.
 
@EtiennedeMartel I hope you're right. The test shipment is going out and they didn't seem to charge me an arm and a leg for any kind of tax.
 
Xeo
I am using that coz my school will allow only that — Harshvardhan Gupta 6 mins ago
 
@ThePhD You sure you want to advertise your smuggling on public chat?
 
@Xeo Called it
 
Ok, calm down guys.
I know you all missed me a lot, but I had some troubles connecting to internet
 
3:05 PM
@MartinJames It's not smuggling. It's just smart shipping.
I want it to ship from within the state where the recipient is. Nothing shady about that.
 
@JohanLarsson That wouldn't really be in the source code -- the source just has code to store and manipulate keys. The keys themselves are generated separately. That said, when I see meaningless drivel like: "It routinely turns down any requests above a megabyte level that exceeds NSA’s technical capacity to decrypt it", my "bullshit" alarms start to go off very quickly.
 
@ThePhD Watch it, it's probably TERRORISM!
 
But now I'm back
 
@JerryCoffin Hmm, who are you talking to?
 
@JerryCoffin Hahahaha what. Where is that from?
 
3:06 PM
@Borgleader It was an odds-on. Only schools use Turbo C. Is it not 16-bit? So old, I can't remember.
 
usenet cross-post from Jerry!
Or maybe IRC?
 
@R.MartinhoFernandes Oops -- link added.
 
@JohanLarsson <reads title> reaction
 
@MartinJames It was a statistical guess. I seem to recall seeing a few other users from India (I'm assuming he's indian his name seems to indicate it) saying they used Turbo C++ "because their teacher said so"
still, i called it :P
 
@ThePhD Nope -- a reply to the most recent message in which I was tagged here.
 
3:08 PM
@JerryCoffin For a moment I wondered if you had finally gone senile.
 
@R.MartinhoFernandes I have, but this wasn't a result of it.
 
hahaha
 
166 on the multicollider, WTF PEOPLE IT'S JUST AN OLD PICTURE stackoverflow.com/q/17991036/46642
 
@JerryCoffin I did not even read it carefully, just saw Windows software driver used for security and encryption functions contains unusual features and spammed :D
 
Xeo
@R.MartinhoFernandes You suck at sucking.
11
 
JBL
3:10 PM
So when answering in [C#], steal stuff from Skeet. Noted.
 
@JohanLarsson Thinking about it a bit more, and considering what keys there are in ADVAPI.DLL (the part they mentioned) it seems like a pretty decent chance that this comes down to "The NSA can sign their own device drivers."
 
@R.MartinhoFernandes Get upvoted, son.
 
o_0 Dublin postal districts make no sense. Thank fuck they didn't try it anywhere else in the country
 
@Xeo This is one more to pollute my list of top answers :(
 
Xeo
hahaha
 
3:13 PM
@R.MartinhoFernandes give it to me, I'll take the gladly take the rep :P
 
Xeo
149
A: What is this smiley-with-beard expression: "<:]{%>"?

R. Martinho FernandesThat's an empty lambda using a digraph disguise. Normal lambdas don't have beards.

Still best answer.
Too bad it won't be catching up to the new one.
 
I'm so jealous of that answer.
 
Xeo
(FWIW, that answer has a higher score than my ref-qualifier one by now.)
 
Aw man, it's more than half of the first one now.
Also, WTGLKJADKLHGJFDKGJ KD
 
Ahahaha they removed my meta comment on their policies being dumb.
 
3:15 PM
It just got two upvotes after you posted here.
 
@CatPlusPlus silly cat, think you can say bad things about meta on meta
 
@CatPlusPlus You're such a rebel. :)
 
wish me luck! Interview with Oxford in 10 minutes :)
 
gl hf
 
what?
 
3:17 PM
:)
ty
 
I don't want to go to work =[
 
Just go. Before they fire you.
 
@Xeo you sir, are a rep whore with that question
 
I feel sick AND I'm not motivated to go. ;~;
 
@Jeffrey See date.
 
JBL
3:19 PM
@ThePhD What does work refer to in your case ?
 
@Xeo Hmm, it's also almost overcoming the question.
 
@R.MartinhoFernandes doesn't change a thing
 
Xeo
@R.MartinhoFernandes The question also has 5 downvotes
 
Everybody is a repwhore and we don't talk about repwhores
 
@TonyTheLion ok milord
 
3:19 PM
@Xeo I should downvote it for your treachery.
 
Xeo
lol
 
@Jeffrey Good. :)
 
Ell
@Chem good luck :-)
 
@Chemistpp yeah good luck
 
ty ty I'm nervous as balls, my hands are sweating like a fat kid playing ps all day
 
3:21 PM
lol
 
user784668
@TonyTheLion you lost the repwhoring game
 
I stopped a long time ago
 
Alright, I need music, stat.
 
Something calming?
 
3:22 PM
Something anything.
 
user784668
@EtiennedeMartel fstat
 
Ell
@Etienne the durutti column
 
user784668
@R.MartinhoFernandes ninja'd
 
3:23 PM
@Chemistpp drink some tequila
 
Found @ScottW linking to cplusplus.com
We should put him to trial.
 
GASP!
 
user784668
@R.MartinhoFernandes guilty ban him case closed
 
@ScottW How could you do this to me I thought we had the same interests at heart ;~;
 
@R.MartinhoFernandes Hmmm. Not liking it very much so far.
 
@EtiennedeMartel I actually never heard it. But it's what you asked for.
 
Hmm, what's wrong with cplusplus.com?
 
I like this one youtube.com/watch?v=eYO1-gGWJyo from the same dudes.
 
Although, it gave me an idea.
 
user784668
3:26 PM
@Jeffrey everything
 
@Fanael one evidence?
 
@Jeffrey there's no time
 
lolwat
 
and every time we try to put together a canonical SO question on the issue, some dickwad moderator comes along and deletes it
15
Q: Why is the cplusplus website bad?

pedromanoelI always used the http://www.cplusplus.com as a reference. I really like the way the documentation is organized, making it really easy to find what I'm looking for. However, I was looking for good alternatives and I stumbled upon this question: Good reference for C++ iostreams? There, one of th...

 
@Jeffrey It contains a fair number of subtle errors and omissions, none of which seems to ever get fixed.
 
user784668
3:28 PM
@JerryCoffin that's no evidence, he wanted evidence, you provide no evidence
 
Ell
@Jeffrey its not a wiki for one
 
@R.MartinhoFernandes The drum reminded me of that song.
 
JBL
Didn't they improve somewhat ? ISTR claims about that.
 
user784668
@Ell neither is the standard
 
@LightnessRacesinOrbit like usual T_T. sigh
 
3:28 PM
@JerryCoffin something along the lines of w3schools.com then?
 
Ell
Which means if it has incorrect information, you can't fix it
 
Ell
@fanael I don't see how that is relevant? O.o
 
The worst thing really is the examples. They're quite simply poor C++ code.
 
@Fanael I'm not claiming it's evidence. I'm simply pointing out the problem more specificlaly. If he wants real evidence, he needs to look at it himself.
 
3:29 PM
It's cool how the worst websites for references are always the most popular ones
 
Don't even get me started on the tutorials, and the forums are a breeding pool of incompetence.
 
@Jeffrey cplusplus.com is the w3schools of C++: it's crap, yet everyone keeps linking to it.
10
 
w3schools is so good
 
@Jeffrey It's very not cool :(
 
it's almost like they actually know what they're doing with the way they present everything -.-
 
user784668
lol, exponentiation operator in my C++?
 
@Jeffrey Because they weren't always the worst. cplusplus.com is outdated. It used to be good. And now they're just sitting on their popularity.
 
@EtiennedeMartel Maybe before everybody else learned how to write decent code
 
I have to admit I might have linked to it before. Didn't knew it was that bad. I'll stop from now on.
@EtiennedeMartel What a good alternative?
 
3:31 PM
i personally love the mozilla docs :3
 
@Jeffrey Yes and no. w3schools is laughably horrible even at the most casual glance by even a relatively uninformed observer. cplusplus.com is worse in some ways, because the errors/omissions are often more subtle, to the point that even intermediate level programmers are a lot more likely to miss the problems.
 
user784668
@R.MartinhoFernandes ya, reading this topic right now
 
I think I already stdasylum'd that one.,
 
Reminds me of when I used the SGI docs as a standard library reference.
 
3:32 PM
Anyway, I gotta go do that nasty work stuff. TTYL.
 
How about *^ for a exponentiation operator
 
The Ruby ** operator for exponential is quite good.
 
Ell
Exponentiation?
 
50
A: Why can't a continue statement be inside a finally block?

R. Martinho Fernandesfinally blocks run whether an exception is thrown or not. If an exception is thrown, what the heck would continue do? You cannot continue execution of the loop, because an uncaught exception will transfer control to another function. Even if no exception is thrown, finally will run when other co...

^^ dafuq is this?
 
user784668
Haskell has three different exponentiation operators.
 
3:33 PM
I need to upvote it.
 
@Mysticial Cool hand-drawn pic -> major up-votes.
 
this is a perfect example of choosing the higher rep user T_T for no good reason
 
@Mysticial Lemme guess, you found it on the multicollider? :(
 
@R.MartinhoFernandes Maybe...
the top two slots are from SO.
 
user784668
@EiyrioüvonKauyf ain't life a bitch?
 
3:36 PM
@EiyrioüvonKauyf I can think of various reasons for picking that answer that have nothing to do with the authors.
 
@Mysticial wow, 50 upvotes in 5 hours time
 
@StackedCrooked It spent a good fifteen minutes with 2 upvotes. Added picture => BOOM.
 
user784668
So gratuitous pictures == upboats.
 
user784668
Good to know.
 
Oooh, Eric Lippert said "Nice answer." yay
 
3:37 PM
@R.MartinhoFernandes because of the picture, presumably :D
 
@R.MartinhoFernandes ? like
 
All the effort of drawing this picture and not ONE free hand circle in sight? :( — RhysW 3 hours ago
Indeed. Robot, I am disappoint.
 
@EtiennedeMartel I didn't draw anything.
@EiyrioüvonKauyf It focus on pithy syntax while yours focuses on speed.
 
@R.MartinhoFernandes I'm still disappoint.
 
@R.MartinhoFernandes ??? i have a 'pithy syntax'
> I have found random.sample but I was wondering if there was a more pythonic/faster way of doing this.
it asks for faster
not nicer looking questionmark? i provided both :|
 
3:41 PM
Why does this refuse to work.
Alright team, here's the fuck.
ContextMenuEventArgs has a property called CursorTop that contains the Y coordinates of the mouse cursor.
Turns out its value can change widly between calls for no reason.
Like, I click somewhere, it's 169, I click roughly in the same spot, now it's 1.
What the actual fuck.
 
@EiyrioüvonKauyf Oh, you have selective vision. Awesome.
 
@EtiennedeMartel Your code is wrong, probably.
 
user784668
@R.MartinhoFernandes Unseeing ability would be much more awesome.
 
@StackedCrooked I'm gonna put my money on "undocumented feature messing up with me".
 
:| i thought I provided both. how can i have done better?
http://img.pandawhale.com/post-4089-Unsee-Button-y4lV.gif
@Fanael as a 4chan/redditor i use a gif for this
 
3:45 PM
I don't know. FWIW, I'm not saying the other answer is better or worse.
 
@EtiennedeMartel y coordinate relative to a random value? :3
 
@R.MartinhoFernandes :| i think you should
 
@melak47 I have not a single clue.
MSDN is strangely unclear about the whole thing.
 
I'm just saying there are differences between them, so you cannot assume it's a rep thingy.
 
3
Q: Why does this code cause Chrome to choke?

TrantI am trying to debug a problem in my app which I have narrowed down to a particular situation involving a regular expression which causes Chrome to choke! Trying the same code in Firefox works fine. Also if I reduce my 'sample' text to run the regex on it works too. So what gives? Here is the ...

lulz
@EtiennedeMartel MSDN is unclear in general
 
3:49 PM
@R.MartinhoFernandes huehue stole the accept
 
@LightnessRacesinOrbit I wouldn't say that. Their .NET documentation is usually very good
But sometimes you stumble on something weird.
 
Maybe it's DeltaY from the last click?
 
I was wondering why rsyncing my local disks took so long every time... I forgot to specify the --update option >_>
 
4:04 PM
@melak47 ...... that... could be a problem :P. speaking of which no one answered my question of how to rdiff with a remote ftp :|
 
@EiyrioüvonKauyf it turns out copying hundreds of gigs takes time!
 
1139
Q: How can I pass the string "Null" through WSDL (SOAP) from AS3 to ColdFusion web service without receiving a "missing parameter error"?

billWe have an employee whose last name is Null. He kills our employee lookup application when his last name is used as the search term (which happens to be quite often now). The error received (thanks Fiddler!) is <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultst...

lol
 
0
Q: Rdiff equivalent for FTP

Eiyrioü von KauyfI have a large file accessible only via ftp. How can i do something equivalent to rdiff on it without redownloading the file? Ideally it would also have time features ex. do this every 2 hours. Thanks!

:|
 
user784668
Wtf's going on with question dumping.
 
@EiyrioüvonKauyf just send a push notification from the server when the file changes ^_^
 
4:06 PM
lol
@melak47 i don't have access to the server :'D. me accessing a verisign server in this case. aka poll that shit yo :P. i don't think timestamps either :|
 
Is passing around a reference to a Context structure everywhere a good alternative to having global state run amok? Because that's kind of what I do in my application~ (The context part)
 
@MohammadAliBaydoun :| this is C++. i have no clue hehe @R.MartinhoFernandes can i say it's better than the alternative
 
user784668
@MohammadAliBaydoun if you're passing it everywhere, it's the same shit
 
@Fanael Just explicit.
 
@Fanael well as long as everywhere != all created things it's better
 
4:10 PM
@Fanael well, not everywhere
 
it's like a prostituted shared_ptr . it's shared everywhere
 
user784668
@R.MartinhoFernandes Reader monad!
 
dammit i thought that was a good one :|
 
user784668
@MohammadAliBaydoun so it's better
 
There's only one thing I may have a good reason to make totally global
Resources (images, textures, sounds, etc...)
 
4:13 PM
@R.MartinhoFernandes oh so why don't you like strdup. my guesses are 1) pointers everywhere 2) malloc 3) c not c++ 4) you have to check error code
 
My application has no global state in it, so I can actually run two instances of it within the same process, and in such a case, I really do intend to have everything share resources like images and textures
 
user784668
@EiyrioüvonKauyf because std::string
 
@MohammadAliBaydoun Nah, make a resource manager.
 
@R.MartinhoFernandes I have that currently
guess I'll stick to it
 
user784668
I just realized I'm reading a 21 year old proposal.
 
user784668
4:16 PM
"excuse syntax errors here, I've not used exceptions, they're not standard yet"
 
bye guys~
 
@Fanael ... derp
@MohammadAliBaydoun i've seen your user somewhere either on league or wc3 ..... :|
 
user784668
@EiyrioüvonKauyf well, there was no C++ standard back then
 
Xeo
FUCK IT'S WAY TOO HOT HERE
Anybody want some 15°C?
 
user784668
@Xeo turn off the sun
 
4:20 PM
Outside is overrated. I was outside and I didn't like it.
 
Xeo
Too bad I have to get outside to get to and from work
 
user784668
> proposal for more explicit vtable control
 
user784668
Expecting crap.
 
If it's std-proposals then you can safely assume crap
 
> Who is your favorite Canadian?
@EtiennedeMartel of course :)
 
4:21 PM
.
EtiennedeMartel is canadian?
 
Colin Mochrie
 
i thought he was french :|
 
user784668
Canadians are overrated.
 
He's French Canadian.
 
4:22 PM
@CatPlusPlus no i mean from france not canada :L
 
Quebec.
 
user784668
Quebec is a village in eastern Poland.
 
@Xeo How long does your travel take between work and home?
 
My takes about an hour via tram.
Esp now that one rail section on the way is closed, and the goddamn thing takes a 20-minute detour.
 
Today's the day, guys.
Today is the day I get Unreal 4 to properly work.
 
user784668
4:25 PM
Today is the day I don't give a fuck.
 
@CatPlusPlus Oh woah.
@Fanael Wait, there was ever another kind of day?
 
Today is the day my right eye is too dry for some reason.
 
user784668
@TonyTheLion No.
 
And if I don't, there's a review tomorrow including every excecutive producer and producer in my group. So, tomorrow could also be the day I get humiliated/fired. :3c
 
4:26 PM
What does MS do with UE4, anyway?
 
Analyze competitors
 
I can't answer that question without being skewered by at least 3 engineers.
 
they're probably stealing it for a new XNA game studio thing :3
 
Currently my journey takes about 5 mins.
That will change to about an hour.
 
@melak47 XNA is dead and will remain dead for the forseeable future.
 
4:30 PM
Kudos to Java!!!!! :) — Algorithmist 55 secs ago
^ Ouch. I added a C++ answer just for compensation
@DarinBeaudreau which is what the comment to use C++ style (which is more highlevel) was completely warranted. See my answer. Note how my answer doesn't worry about sizes or indices. Instead it writes intent. — sehe 47 secs ago
 
hi there
 
@Xeo おげんきですか。
 
@ThePhD i forget you work at microsoft sometimes
 
I was going to ask you something today and forgot what :/
 
user784668
@ThePhD zażółć gęślą jaźń
 
4:34 PM
I didn't do it because of my urlblocker
 
@BartekBanachewicz Aww but I would have loved to answer your question. <3
 
@ThePhD iirc it was about haskell
oh yes now i remember
@R.MartinhoFernandes @Xeo Is this any good?
 
user784668
@sehe why printf?
 
@BartekBanachewicz Yes.
 
@CatPlusPlus oh cool.
 
4:36 PM
@Fanael ~~ Speed ~~
 
Xeo
@TonyTheLion 15 mins with walking and bus
 
Xeo
And I sweat more in the bus than I do outside while walking :s
 
@CatPlusPlus yay lol
 
@CatPlusPlus oh indeed.
 
4:37 PM
oh @CatPlusPlus who's ridiculously pedantic on here?
 
I still want to dabble in terra for a while, but I've been putting haskell away for way too long
 
user784668
@ThePhD he's using std::cout in that code anyway
 
@Xeo that's not too bad.
 
Xeo
@ThePhD Uh what? I get the kana, but I have no idea what exactly you're asking me :s
 
@Xeo ogenki desu ka <--- How are you?
I went with soemthing general because I have no idea to say "Still sweating like a pig? :P"
 
4:39 PM
@EiyrioüvonKauyf What?
 
@CatPlusPlus someone was citing the C standard for everything
so rapptz and martinho tuned out
 
@EiyrioüvonKauyf citing standard is good
 
Xeo
@ThePhD Meh, my vocabulary sucks.
 
so mystical said it would be nice if deadmg was there cuz he would have kicked his ass
@BartekBanachewicz no
 
@Xeo So does mine! Let's practice together. <3
 
4:41 PM
@EiyrioüvonKauyf I have no idea what are you talking about.
 
@EiyrioüvonKauyf why?
 
@BartekBanachewicz start reading from here chat.stackoverflow.com/transcript/message/10981276#10981276 you'll get what i mean also ignore the stupid try to ignore the stupid; i did a lot of stupid
@CatPlusPlus who could plausibly be meaner then deadmg on a bad day
 
@EiyrioüvonKauyf so you basically got into dumb discussion and who are you blaming again?
@EiyrioüvonKauyf you could just stop feeding the troll/help vampires
 
:|
not blaming anyone
asking who could have destroyed the troll
i failed as you can see
 
the only way to destroy the troll is to not feed him and let him starve
just FYI
@EiyrioüvonKauyf yeah that I can see
 
4:44 PM
12 hours ago, by Mysticial
If you really want popcorn, then invite him here while puppy and jalf are around.
 
@EiyrioüvonKauyf that doesn't mean either will give a fuck
 
:| i really want to see this ^
true ....
they have almost zero fucks at any given time
puppy would instabin
 
@Xeo FWIW, I think ogenki desu ka is usually said with a kanji, so おげんきですか。 is usually written as お元気ですか。, I think /cc @Rapptz
 
@ThePhD why do i recognize all of these words :|
smh japanese tv
 
@EiyrioüvonKauyf :D
 
4:47 PM
@ThePhD :|
japan makes me think of leekspin
 
Leekspin?
 
leekspin makes me think of those finnish folk singers :p
 
dammit that too
 
Is that like, Zaboomafoon with vegetables?
 
leekspin.com
 
Xeo
4:49 PM
@ThePhD Loituma
 
Hm.
So, it failed again.
わたしのじんせいおファック...
 
@Xeo, mind helping me/us with a one little tricky functional-ish C++ problem?
 
Xeo
Sure?
@ThePhD 私
Also, if that "お" (o) was supposed to be the particle, that would be を (wo)
 
@Xeo the guy in the C++ room asked about a way to compare each pair of consecutive elements in a vector. My original solution was for (auto cmp : zip(v, v | offset(1))) (I called it skip the first time, but that was kinda not that), and I was wondering if there are any caveats/better ways.
 
When in doubt, fold.
 
Xeo
4:56 PM
@BartekBanachewicz Nope, that's it.
 
in C++, 10 mins ago, by Lightness Races in Orbit
The idea is simple - the line of code is not self-explanatory, however. Not really.
@Xeo cool.
 
Xeo
(FWIW, skip is fine as a name. Or drop.)
 
in C++, 7 mins ago, by Bartek Banachewicz
I've did a bit of research and it appears that skip is usually used as (skip)every_nth_element, more or less
 
It's confusing in this situation, Xeo.
At first glance, it's not entirely clear that you're iterating over pairs of "iterator","next iterator"
 
私の じんせい(人生)を ファック。
 
4:58 PM
"iterator","skip an iterator" doesn't really make intuitive sense, since "skip" is an action rather than an adjective
 
@Xeo ^ I think that's better
 
offset would be better
 
or even drop_first / drop_first_n(1)
 
Xeo
@LightnessRacesinOrbit Ah, sure, if you're thinking of how Boost.Range names their adaptors.
 
The thing in parenthesis is the kanji for jinsei, which is supposed to be "life"
 
4:59 PM
Boost.Range uses past-tense verbs.
 
It's supposed to read fuck my life.
 
@Xeo Bartek posted a line of C++ code. Is this in fact not C++ code?
 
Xeo
What?
 
Then, as a C++ solution to compare to a straightforward loop, it's even worse.
 
Xeo
Fuck manual loops.
 

« first day (1020 days earlier)      last day (3920 days later) »