« first day (1100 days earlier)      last day (3841 days later) » 

8:00 PM
@Jefffrey what are you working on now?
 
user1804599
@ScottW It is now.
 
user1804599
> My array have this item: {a,b,c,d,e}
 
@Pawnguy7 The Service Pack updater failed for reasons I don't understand, so they want me to download an Updater Readiness Tool of some sort
It feels so Java-ish
 
user1804599
Reminds me of how you have to install an installer to install Photoshop.
 
8:17 PM
@not-rightfold don't have file? Also, BZ is a rather big giveaway
 
user1804599
Oh, it’s not text.
 
QlpoOTFBWSZTWfdcOBQAAHt7hMIQAUBAAX+AABBmRJ7AAACACCAAciEQwQwBM1MBKaIRNGgzU9Rt
TE5rfJ4YYKTAZjrM75p5HZMzA/tyNn23liYDWoziycVaxL1FimMJUdFpIfCYjW9z8Kxz9rCAlinZ
Z17nTigsREA2LuSKcKEh7rhwKA==
@not-rightfold Also, sorry I messed up the reply-to, which adds a bit of context (^)
@StackedCrooked I thought it was rather boring. Agreed, the adversary was looking bad in addition to being boring, yes
 
Oh wait
That's Base64
I see.
 
user1804599
% pbpaste | base64 --decode > hello.tar.bz2 && tar -xf hello.tar.bz2 && cat hw.txt
hello world
 
user1804599
@sehe ha ha ha wat zijn we weer cryptisch.
 
8:21 PM
You do. No more legally blind benefits for you then
@not-rightfold obfuscation != cryptography
 
user1804599
 
@not-rightfold pbpaste | base64 -d | tar xjO
 
user1804599
 
Pipes are teh greats
 
user1804599
tar --help :v:
 
8:24 PM
man tar, man
 
user1804599
That’s not a valid tar command. :v
 
it's a man command, man
 
@not-rightfold you figured that out quickly
 
user1804599
It’s kinda silly since the compressed file is larger than the original.
 
@not-rightfold no kidding
 
8:25 PM
TIL about pbpaste. I knew about pbcopy though.
 
7 mins ago, by sehe
@not-rightfold don't have file? Also, BZ is a rather big giveaway
@StackedCrooked that's... odd
 
user1804599
I like how the bomb says “no googling.”
 
I learned about pbcopy when I needed it.
 
user1804599
This is pbpaste.
 
user1804599
8:26 PM
I use it most often.
 
I just copy my clipboard into the console ... works the same
 
@sehe my first domain name was dolazy.com back in 2007.
I only had it for a year.
Now it seems to be a korean site.
 
@StackedCrooked That was... pretty eager actually
 
eager?
 
I fail with reply-to today
@StackedCrooked not-lazy is eager
 
8:28 PM
oh
 
user1804599
 
user1804599
I’m feeling enlightened.
 
@not-rightfold cool
 
user1804599
 
@TrevorHutto You can't even post it, so I had to make something up. Why do you think you need to change anything? I didn't tell you so. This is fantasy spray: it's making up simple stuff instead of the stuff you left out, so I can show a working SSCCEsehe 5 secs ago
0
A: Creating an empty instance of a class

seheJust to humour you, I've applied "fantasy spray" to your code sample. See it Live On Coliru. Maybe it'll help you think of solutions: #include <string> #include <sstream> #include <iostream> #include <iterator> #include <vector> #include <algorithm> struct Set { Set(); Set(std::string...

I think I can use "fantasy spray" a lot on SO
 
8:30 PM
@sehe We should speak in tar more often ;_;
 
user1804599
Oh Google is down once again.
 
user1804599
What a fucking piece of shit.
 
Ell
Hi guys
I'm getting my legs waxed for charity!
 
@not-rightfold where?
 
user1804599
8:34 PM
google.com, about a few minutes ago.
 
user1804599
Google is often just not available at random moments for a few seconds.
 
user1804599
It’s fucking annoying since it requires me to switch to Bing which requires user action.
 
Soooooooo the basturds
 
That's just Misty trolling everyone again
 
Did you try to run some scripts that use Google repeatedly?
Because that would be bad.
 
user1804599
8:38 PM
I want dependent types. :<
 
Not enough transform :) I've just added a C++03 proof transform answer. Painful stuff — sehe 2 mins ago
@not-rightfold hindley milner?
 
user1804599
@sehe Duh. Not C++’ dependent types. :|
 
user1804599
I want dependent types in Haskell.
 
user1804599
I’ll try Agda; seems cool.
 
I feel you babe
 
user1804599
8:46 PM
No.
 
user1804599
> [I know this is a question]
 
@tonyb ObjectDataSource
 
user1804599
 
Everybody, calm down.
 
user1804599
Whatever. Fuck Stack Exchange Chat.
 
user1804599
8:48 PM
 
user1804599
Z anal?
 
user1804599
Z shell!
 
@GamesBrainiac :) Yep
 
What idiot flagged that
 
I arrived.
 
8:55 PM
so... valid flag or not? :p
 
(i was almost going to validate it until i noticed it's a regular)
 
no.
 
Why would you validate that
 
looked like a raging vampire/troll
 
user1804599
8:56 PM
What got flagged?
 
who would deserve a timeout
9 mins ago, by not-rightfold
Whatever. Fuck Stack Exchange Chat.
 
user1804599
lol
 
One of the thousand problems that flagging has
No goddamn context
 
yeah but that problem even exists with some mod flags
 
user1804599
Better fix the Markdown then. vOv
 
8:57 PM
the difference is that I expect a mod to give a shit and look for the context before deciding.
random chatters don't
 
earlier today someone asked in a flag why he can't upload images in chat. without context it looked like help vampirism via flags since the wording was amgiuous
@DeadMG: That's why I just almost validated it :)
 
user1804599
I’m going to work on Lounge<Chat> again soon.
 
@ThiefMaster Ahahaha that's extremely dumb
 
@ThiefMaster fancy meeting you here :P
 
9:01 PM
f*** u
 
you can't validate it
cos it was Zoidberg what said it
he can say whatever he likes!
 
user1804599
@tonyb lol
 
lol is that all you've got
f***?
oh noes.
 
god forbid anyone asks a C++ question, though - you deserve 30 minutes ban for that
 
9:01 PM
@LightnessRacesinOrbit If I could.
 
@EtiennedeMartel that looks... surprisingly unphotoshopped
 
@tonyb Who are you?
 
user1804599
lol u use "u ur sodumb....
 
Also, why censorship? We're all adults here.
@LightnessRacesinOrbit Hence my "wut".
 
@EtiennedeMartel Yes, I am agreeing with you
"View comments on reddit" oh dear. Has imgur outsourced all comments now then? Or is it some special Reddit area of imgur?
 
9:03 PM
Censored profanity is offensive. Non-censored profanity is the way to go.
:)
 
user1804599
Nothing is offensive.
 
It is extremely stupid
 
@not-rightfold Oh grow up
Your naive idealism is boring
 
@EtiennedeMartel it was here before
 
hmmmmm... children? Fair enough, i guess C++ IS the easier programming language, so i PROBABLY shouldnt have came for advice? Well, I leave you all to your boys club, enjoy :)
 
9:04 PM
everything was
 
You must be offended by words
Because
 
user1804599
If you feel offended, you’re giving too much of a fuck.
 
@tonyb just gtfo, ok?
 
user1804599
@tonyb C++ is actually pretty easy.
 
"I know, I'll insult their PROGRAMMING LANGUAGE that'll show them!"
 
user1804599
9:04 PM
Doing it well, on the other hand, …
 
:cripes:
 
hmm... ok, see ya kids!
 
My professor got 5 downvotes on one of his questions here on SO. Makes me feel so good :P
 
user1804599
Also, indeed, you probably shouldn’t have come for advice.
 
@tonyb I feel so inferior now :(
 
9:05 PM
No please never come back
4
 
user1804599
Also see Stack Overflow.
 
@StackedCrooked I'd hug you if I could.
 
eeeuw
 
user1804599
milleniiiium
 
9:06 PM
Die. All of you.
 
user1804599
die();
 
Imma go sleep in peace now.
 
We're trying, but it takes a while
 
Die Lounge. (That's german).
 
loungecpp.die();

Error on line 1, col 11: No function called "die". W're all zombies, bitch
 
user1804599
9:10 PM
@StackedCrooked La Lounge.
 
user1804599
Sounds funny.
 
La la lounge
 
user1804599
L’ounge.
 
user1804599
du Lounge<du C++> le foo;
 
I thought you hated French.
 
user1804599
9:13 PM
I do. Look at the horrible syntax.
 
user1804599
But they speak it in Belgium. vOv
 
French: The only language with worse syntax than C++.
 
user1804599
Dutch has some pretty funky syntax too.
 
@KerrekSB I'm allergic for back_inserters when a reserved capacity can be used! (Full disclosure: I pulled this code from an old answer of mine in which I refactored some awful C code to be actual C++ :/) — sehe 1 min ago
 
user1804599
“De slang eet de muis.” is a funny sentence as it’s most ambiguous.
 
user1804599
9:15 PM
Same in English, I think.
 
user1804599
Languages are wonderful.
 
user1804599
typename De slang eet de muis.
 
user1804599
@sehe Huh.
 
user1804599
Doesn’t a back_inserter just do push_back?
 
@not-rightfold KerrekSB is amusingly confused as to my answer :/
@not-rightfold That's why it's bad for inserting, say, 100 elements at the back (if you know n ahead of time)
 
9:18 PM
@caps HI
 
user1804599
@sehe Not if you call .reserve(100).
 
@not-rightfold Mildly better
 
user1804599
OH NO A CONDITIONAL BRANCH
WHAT DO WE DO NOW?!?
 
user1804599
Especially while loading an entire damn program image. :v
 
Philosophy.SE: "Is a branch still a branch if it's not conditional?"
Nobody is loving Boost DateTime stackoverflow.com/a/19482908/85371
 
user1804599
9:23 PM
 
user1804599
@sehe I don’t see any conditions here, but it’s still a branch!
 
@not-rightfold It's in good condition
 
user1804599
@sehe You and I are.
 
user1804599
@sehe dat pun
 
Oh. We should get a room.
Just to admire random snippets of Boost DateTime.
Which actually has quite an repelling interface, TBH
 
user1804599
9:26 PM
I have an idea.
 
Like so many times, I can't say I like Boost, but it's just so nice that it combines (1) the license (2) the quality and (3) the header-only flexibility
 
user1804599
@sehe We’ll place panels around the Earth such that if you look in the direction of an otherwise visible star, you’ll see a Boost.DateTime-related code snippet.
 
room topic changed to Lounge<C++>: Immediate evacuation in progress - the lobster has an idea [c++] [c++11] [c++1y] [no-questions]
 
user1804599
Use — there, not -.
 
user1804599
And remove the spaces around the dash.
 
user1804599
9:27 PM
And add a period at the end.
 
room topic changed to Lounge<C++>: Immediate evacuation to Belgium in progress - the lobster has an idea [c++] [c++11] [c++1y] [no-questions]
 
user1804599
Ugh dat bad punctuation.
 
(removed)
 
(removed)
 
Don't unknown preprocessor directives still compile?
 
9:39 PM
@GamesBrainiac Which question? :D
 
@Pawnguy7 s/compile/preprocess/ hth
 
@not-rightfold I will, once it gets easy to enter from the keyboard
 
user1804599
Just ⌥⇧- vOv
 
2
A: How to parse and validate a date in std::string in C++?

seheI'd prefer to use Boost DateTime: See it Live on Coliru #include <iostream> #include <boost/date_time/local_time/local_time.hpp> struct dateparser { dateparser(std::string fmt) { // set format using namespace boost::local_time; local_time_input_facet* input_face...

^ completely revamped the sample to be more reusable and showing date validation
 
user1804599
How does  look on Windows?
 
9:46 PM
@not-rightfold like a box with digits
 
user1804599
Cool.
 
PRIVATE USE CHARACTER-F8FF ?
 
@not-rightfold Like a box without digits here.
 
@not-rightfold Yeah, we'll get that funded. Once we convince the NSA that it'll keep the Russians from finding oil on Mars
 
@StackedCrooked Lounge la Lounge ;)
 
9:49 PM
^ Opera on Linux FTW
 
@sehe both sucks.
opera and linux I mean.
 
@Abyx Your grammar suck.
 
yep
 
user1804599
@sehe I suggestlel
 
@Abyx Thanks, cpt. Obvious
 
9:50 PM
but opera sucks more
 
user1804599
@sehe I suggest we speak Klingon from now on.
 
@sehe yeah, I got it but I'm too lazy to fix it
 
Ell
Klingon sucks
 
user1804599
 
user1804599
9:53 PM
This is cooooooooool.
 
For all I know, that could be a penis character
 
@KerrekSB lol. I will stop short. Note your ideone is lacking some error handling, I think :/ — sehe 17 secs ago
 
Anybody know how to do IO? :D
 
@Abyx I knows
@MohammadAliBaydoun That'd be interesting, seeing how windows sucks. I'm curious as to what effect this will have on a penis. Character.
@Pawnguy7 Best to avoid it.
 
@sehe Apparently I have been.
 
9:56 PM
> Yes, yes Java updater "3 billon devices run java". 14 million people have syphills, too, but that doesn't mean I want it. Tweeted by brucel on October 19, 2013 at 7:00 AM
6
 
Evening
 
@Jefffrey What you should do is, get a vampire gravatar, then go "g'eeevning"
That sounded better in my head :\
 
@ScottW hey baby :)
Oh wait. Only Tony can call you like that.
Nevermind.
@Pawnguy7 wat
 
Also.
Snake is now at a minimum playability.
 
@Pawnguy7 that's as hard to achieve as maximum playability. Good job :)
 
10:01 PM
@Jefffrey hm?
By that, I mean
You can play it, and not have to close it to play again :D
Right now, it goes like so:
Main Menu > Gamemode > singleplayer > score room
From there, either score room or menu.
Oh, and gamemode has back.
 
*is
 
Don't dereference is ;_;
 
ahahah
 
user1804599
 
user1804599
coooooooooooooooooooooooooooooooooool
 
10:07 PM
Youtube can't count to 100% apparently.
 
^ Oh wow. Pink Floyd, Dark-Side-Of-The-Moon perfectly synchs with Wizard Of Oz
 
Good night guys
 
It goes 10% > 40% > 87% > 99% > 0% (your video is taking longer than expected to process ...).
 
@Jefffrey what?
 
@ScottW This version?
 
10:08 PM
800KB of video, come on youtube, you are better than that.
 
@ScottW Click the link. Please :/ Then scroll to random point in time. It workses
 
@Jefffrey "Oh wait, we messed up. Let's start all over again."
So I have a problem.
I want to have multiple types of generation.
But scores are only fair if they are all with the same kind.
Should I only use one generation type for them?
 
@ScottW Without sound, you're missing the entire point.
3 mins ago, by sehe
^ Oh wow. Pink Floyd, Dark-Side-Of-The-Moon perfectly synchs with Wizard Of Oz
 
@sehe Am I an ignorant fuck if I never watched Wizard of Oz?
 
@ScottW Ah. So it was "Yes" to the question about the version, then.
@Jefffrey Me too. I've done the musical with a musical group myself, though
 
10:13 PM
@sehe Then we are not. :)
lol
 
1
A: deleting identical rows in a vector of vector

Vlad from MoscowIf the outer vector is sorted then you can use standard algorithm std::unique For example v1.erase( std::unique( v1.begin(), v1.end() ), v1.end() );

^ I think Vlad-from-moscow aced an answer for once
 
@Jefffrey whatchya uploading?
 
@Pawnguy7 It's a secret.
 
@Jefffrey will I ever know?
 
If you behave.
And if Youtube let me upload this motherfuck.
 
10:20 PM
I'd give it a 50/50 :D
 
On this website, we do not answer "Give me the codez" questions. — DeadMG 29 secs ago
And there it goes the SO mafia.
 
I don't know why you need an endline after the last line in a header. Or #endif, maybe.Hm.
 
admittedly, I was forced to downvote all participants.
@Pawnguy7 You don't. It formally was a requirement in C++03 but dropped in C++11.
 
@Pawnguy7 old preprocessors require a \n at EOF.
 
@DeadMG VS seems to think otherwise.
Or I have some setting wrong.
 
10:23 PM
e.g. MS .rc files preprocessor still requires it
 
@Pawnguy7 It only issues a warning, I believe. VS will happily accept headers without a newline at the end.
 
@DeadMG It did until I turned off extensions.
 
so you need a newline at the end of resources.h
 
lol, I've just found this Lounge video. So many memories. :...)
2
 
@Pawnguy7 They probably forgot to remove that requirement in VS2010/2012 which shouldn't need it even in the strictest of conformance.
 
10:24 PM
lol
 
He is talking to you.
 
> Vlad from Moscow
 
> vector<vector<int >v1
I hope that wasn't meant to compile.
 
It doesn't.
 
I think that question should have some "use boost" comments
 
10:30 PM
@Jefffrey your issue with SFML thing reminded me of something.
Back when I had no idea how to link things.
I was, ehm, asking for help :D
I got a response along the lines of "Learn C++"
 
Caramel yogurt yum yum.
 
anyone know a "learn good JS coding style in 21 minutes" article?
 
user1804599
SLEEPTIME BEY
 
lol, window.getView() returning a non-const reference
 
10:37 PM
Yeah, pretty funny stuff.
 
window.getView() = view; // valid
now you have a redundant setView function and an inconsistent API
 
Got to admit though.
It is kind of counterintiutive.
 
Now that you put it that way...
 
?
 
IMHO it should be a public member per se. So that window.view.doSomething(...) would be fine.
 
10:39 PM
@Pawnguy7 No, it's how a lot of things are done. A lot of people don't like managing lifetimes, it's very annoying.
 
Don't fall asleep now
that would be a waste of time
 
@Rapptz I am not saying anything about the implementation, just that, when I first used it, I expected it to work like that.
 
Expected it to work like what?
getView().move(...)?
@Jefffrey We don't know if it's a trivial get/set and if it is, we don't know if it'll be that way forever. However I think that a better way of doing it was to use a pointer rather than a reference. But this way is okay. I understand where you're getting at but from all the available solutions it isn't that bad I guess.
 
Chauviniste
But pretty pretty
 
10:44 PM
@sehe I've heard it's incredibly common amongst those who live in Montreal.
 
it's time lapse and HDR combined, no?
 
Looks like it.
 
@Rapptz Well, the set function apparently manage some kind of cache.
So, maybe, it makes sense the way it is.
 
@Rapptz not exactly. More like, make the view, set it once, and changing it affects the window thereafter.
 
reference members suck
 
10:53 PM
Like having to set a font? :D
 
has anyone here statically linked curl before?
 
Wait, that might be a pointer.
 
its making me want to blow my brains out...
 
don't use it then.
 
but I need to be able to send POST requests and get contents of webpages
 
10:54 PM
@Jefffrey what is it?
 
@ρσݥzση write an http parser
or use another language, like Python
 
@Pawnguy7 I like to think about it as a guy that looks at the mouse pointer and moves with WASD keys.
 
@Jefffrey what were the other two things?
 
Oh in the beginning the video recorder was messing with the input.
@Pawnguy7 Enemies, not yet coded.
 
Ah.
I have a commit question.
 
10:58 PM
@Abyx yeh I could look into that. Its just I am sure I almost have it. The library works fine if I use a DLL build, but when it comes to a static build I get linking errors
 
Should I commit things that I know are going to be changed, in order to make it compile?
 
Unless I am using /MD
But I dont want dependencies
 
@Pawnguy7 Yes..?
 
@ρσݥzση Use /HouseMD you'll only have an oxycodone dependency
 

« first day (1100 days earlier)      last day (3841 days later) »