« first day (1314 days earlier)      last day (3628 days later) » 

4:00 PM
I liked the original movie so I think I'll like this one too
I'm off, cya :D
 
user1804599
Awesome.
 
EXPLAINER!
 
Looks like I have a mission the weekend, understand wtf my pension thing is on about :S
 
user1804599
lol andrei in chat
 
huh, why doesn't "\\" match a backslash with std::regex_replace? :/
 
user1804599
"\\\\"
 
user1804599
Or raw string literal with \\.
 
wut
but \\ already escapes the slash :S
 
user1804599
4:15 PM
R"(\\)" or "\\\\".
 
The string literal "\\\\" stands for the string \\, and that's what you want in the regex.
 
user1804599
Regex uses \\ for backslash.
 
user1804599
C++ uses \\ for backslash.
 
user1804599
So if you want string containing \\, you need \\\\ in C++.
 
4:27 PM
4429
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

 
@rightfold ah...still silly
 
user1804599
No, it’s not silly.
 
user1804599
Always use raw literals for regexes.
 
user1804599
"\\\\\
\\\\"
 
@ScottW If you are trying to generate C++ code to match someone's escaped backslash in C++ code, that's \\\\\\\\\\\\\\\\.
 
4:34 PM
this is a brilliant talk
 
@ScottW link
 
4:51 PM
@ÓlafurWaage He is so humble :)
 
user1804599
Hello, Piotr!
 
5:08 PM
I'd like to see C++17 introduce switch/case for non-integral/enumeration types.
Not sure how feasible that is.
Obviously they would have to be implemented differently than at present, in those cases, and I'm not sure how tractible the alternative implementation would be.
 
Visual Basic .NET’s worked out pretty well
 
Would you please stop applying code formatting to random words? Thanks. — Lightness Races in Orbit 15 secs ago
@false Visual Basic .NET is pretty good.
 
> destrcutor
 
-3
Q: Singly linked list , project stops working

user3651606I am new to c++ , trying to write singly linked list in c++ , and it's various operations like , print, insert at the end, insert the end, delete etc. I am doing step by step. I have written my first insert method. It is working fine no error , but the first time it goes to the if condition of in...

dat title
I miss good questions. misty sigh
 
user3010322
I have a few questions I'd like to ask.
 
user3010322
5:20 PM
But... I like having a questionless profile and a low rep count.
 
@PawełStawarz, may u please tell me so by using the answer function — Storm May 19 at 0:32
@JerryCoffin totally repwhored on that answer.
Sad to see people who should know better answering crappy low-hanging fruit
 
user1804599
@LightnessRacesinOrbit uh, just desugar to if/else if and gotos.
 
user1804599
With ==.
 
If VB.NET had pattern matching in its Select Case, and dropped all the Options, it would be one of the best languages, probably
 
@LightnessRacesinOrbit I intend to.
 
5:26 PM
@rightfold It gets a little more tricky with the fallthrough semantics.
 
can I somehow group part of a regex with (), but not capture that group?
 
@melak47 (?:non-capturing group)
 
arrays in C are pointers What nonsense is this — Lightness Races in Orbit 5 secs ago
 
@false :D thanks
 
@LightnessRacesinOrbit All too common.
 
5:33 PM
@DeadMG oddly I haven't seen it in a while
anyway I'm here recruiting comment upvotes
in case that wasn't clear
 
This is not an answer and invalidates the question. You can just remove it, because it will not be helpful to anyone in the future — sehe 35 secs ago
 
user1804599
@false your bio is great.
 
user1804599
@WilliamAndrewMontgomery Kinda.
 
user1804599
They partially exist.
 
user1804599
@Raedok hallo, broeder.
 
5:44 PM
hey rightfold
 
@LightnessRacesinOrbit I suppose it should have been posted as a comment, but it was mostly a reaction to the other answer that suggested unlink. I was just pointing out that you don't need to use anything as non-portable as Posix; there's something in the standard library...
In any case, if I were rewhoring, I'd probably stick to answering things that I thought had at least some chance of getting an up-vote (which this didn't, and I didn't expect it to).
 
When I say repwhoring, it's only short for "for unknown reasons, answering questions that shouldn't be answered and thereby encouraging more of this shit to be asked in the first place"
;p
0
A: I can`t find std::out_of_range error in my code

Lightness Races in OrbitWell, you insert elements with keys "Aniko" and "Botond"; then you try to retrieve an element with key "+36(30)555-4321", which does not exist. Your map isn't bidirectional just because you wrapped it in a class called BidirectionalMap; you actually have to implement bidirectionality. I'd stick...

lol
 
5:59 PM
@LightnessRacesinOrbit Be more constructive and correct him.
 
@WilliamAndrewMontgomery bimap isn’t a correction?
 
@LightnessRacesinOrbit Fair enough--I probably shouldn't have. In fact, I probably wouldn't have, except as a reaction to truly bad answer.
 
@false wat?
@JerryCoffin u wana fite
 
Argh how hard it is to publish a JS library demo on GH Pages
Fucking lazy bastards
 
Oh, and boost::gaymap isn’t a thing, is it
 
6:02 PM
@false Stop stalking my comments
 
@WilliamAndrewMontgomery Are you trying to convince us you're a child?
 
@JerryCoffin I'm older than you
 
@WilliamAndrewMontgomery Then why do you act like a foolish child? At least the youngsters here have an excuse.
 
@JerryCoffin So, that's what I just said, u wanna fite, rite? wow
 
BTW, if you're older than me, why does your profile say you're only 28? Are you a liar too?
 
6:07 PM
@JerryCoffin Do I ask questions about your prifate live?
 
@WilliamAndrewMontgomery In a way, isn’t that one?
 
@WilliamAndrewMontgomery So far most of your "questions" have been utterly incoherent.
 
@JerryCoffin Yet you keep on not recognizing me
We were best friends, Jerry
 
@false sue them
 
@WilliamAndrewMontgomery I don't recognize anybody.
 
6:11 PM
who said that
> It is not clear whether the change in name will affect the university's English language newspaper, the Kinki Times.
 
 
hahaha
wish I could see deleted comments :(
 
I didn’t upvote you, by the way. All my screenshots are doctored.
 
user1804599
lel gaymap
 
@EtiennedeMartel please don't cut the signature out (or find images that don't). It's Liz Climo, bTW.
 
@BartekBanachewicz I didn't cut anything.
 
@false Uh? I deleted my own comment, wtf.
 
@EtiennedeMartel see the edit
 
It's just whoever posted it didn't bother with the siganture.
 
@WilliamAndrewMontgomery I deleted it faster
 
Did u know: nerd stands for “not even remotely dorky”
SO YES I AM
 
I think I've been happy for a whole 5 minutes today.
 
user1804599
/me gets on her knees before Jefffrey to make him happy!
 
user1804599
Oh wait /me doesn’t work here ugh. Nevermind then, sorry Jefff.
 
6:18 PM
@Jefffrey and ...it's gone.
 
@rightfold Well. That's sweet of you?
 
user1804599
Indeed!
 
user1804599
I deleted it because it sucked.
 
Oh.
 
user1804599
6:21 PM
And I don’t like things that suck.
 
@rightfold Your house is very dusty?
 
you suck
yay
up to 50% tests passing.
 
@false lol
 
stackoverflow.com — Garrett 4 mins ago
IQ of about 2
y u no onebox
needs to not be https wtf
 
Nevermind.
 
6:27 PM
@Jefffrey Holy Haskell! Jeffffffffrey is so broken!
 
Hey! I'm not a shit.
 
you're a shhhit
@DeadMG sounds like marketing
"Buy our product! Up to 50% of its tests pass!"
 
lol
 
@LightnessRacesinOrbit hehe
 
6:37 PM
@false Spoilsport
 
@LightnessRacesinOrbit Sorry. For what it’s worth, I deleted them first =)
 
6:51 PM
-1
A: C++ Exceptions; int or std::exception?

zadaneThe exception police is complicating things to throw complex exceptions that you may never need. My question is, is this method OK? Absolutely but with little modification for more readability. #define UNEXPECTED_END_OF_STREAM -2 if(strm->atEnd()){ // unexpected end of stream thro...

What an epic failure. — DeadMG 28 secs ago
haha I lub u
 
@LightnessRacesinOrbit "Exception police"? My guess, he'll interpret all those downvotes as "the pedant cabal is trying to silence me", and it'll just reinforce his biases.
 
I've got 99 bugs but a memory error ain't one~
 
Oh, hey. Anyone with a gold badge in any tag can mark any question as a duplicate by editing its tags.
 
    if (if_stmt->false_statement) {
        LocalScope falsescope(this);
        falsescope->active.push_back(AnalyzeStatement(if_stmt->true_statement));
        false_br = falsescope->active.back().get();
    }
 
@EtiennedeMartel true
 
6:56 PM
That said, we should still downvote his ass in order to hide this filth from the eyes of the noobs.
 
@DeadMG what is wrong with it? — zadane 2 mins ago
 
I only downvoted him so I can have 5454 rep
 
@LightnessRacesinOrbit lol
insta-lounged
 
messed up my terminal badly
accidentally catted a binary
 
@StackedCrooked cat /dev/urandom is always fun as well. You can usually just type "reset" to fix it
 
7:03 PM
_LC_MONETARY
 
@Nican damn I had trouble closing it
 
@StackedCrooked I love the sad face
 
it shows if previous command returns error code
 
that's brilliant
 
I got it from the arch wiki.
export PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \w \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\\$\[\033[00m\] "
 
user1804599
7:06 PM
@StackedCrooked use Z shell newb.
 
Does anyone else find that South Indian people are too South Indian?
 
those South Indian fuckers, how dare they be South Indian, I'm offended.
 
@rightfold Z is homo
 
user1804599
Ik ook!
 
I like zshell. :(
 
7:12 PM
zsh is fantastic
but dash is better
 
user1804599
Rainbow Zsh
 
I’m out of battery \o/
 
user1804599
> chat will shortly be unavailable for maintenance reasons; this should only last a matter of minutes
 
user1804599
nooooooooooo ;_;
 
=(
 
7:15 PM
everyone panic
 
WHAT DID YOU DO @false?!
 
But it’s well-timed for me
 
It's okay rightfold
Now you can experience the world
\ o /
 
Cycled 40km today. Now I'm out of battery as well.
 
chat maintenance? D:
 
7:15 PM
There is in fact life outside of this Chat, crazy fact
 
> chat will shortly be unavailable for maintenance reasons; this should only last a matter of minutes
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 
Now that I arrived?
 
Your browser has a virus and it is infecting that chat. Turn off Javascript.
 
do we get a notification or something when the chat is back on?
 
user1804599
Quick change the room name to “Lounge<Rightfold's Vagina>” and then blame Stack Exchange because we cannot change it back.
 
Why wouldnt you be able to change it back... since you were able to change it in the first place? :-??
 
@R.MartinhoFernandes wtf 40km??????
weirdo
-1
Q: Error in "asking for a library"

Abuzettin.HI understand the site condemns the questions unless they are of format: I ran/compiled this and got that So, I am asking obeying the format: I asked this question specifying my -special- needs and got off-topic response so are there any places (forums etc) where I am allowed to ask this and ge...

lol
 
user3010322
I have less than 12 hours
 
user1804599
 
user3010322
to eat a pound of bacon, a dozen eggs, a jar of peanut butter, and a half pound of cheese.
 
7:21 PM
you can do it
@rightfold what
 
@ThePhD share.
 
user3010322
@Raedok Don't live with anybody.
 
user1804599
I wish my first name were A.
 
user3010322
... And apparently there are also 6 wraps too.
 
@ThePhD He meant with us, dipshit.
 
user3010322
7:22 PM
Oh, sure.
 
user3010322
Let me just get my Bacon Uploader.
 
is the css for rubygems.org 404ing for anyone else?
 
@ThePhD What's the hurry, though. Aliens smell your food or what?
 
user3010322
@Raedok Housing Services did.
 
7:38 PM
w00t
 
user1804599
YAYYYY WE ARE BACK
 
user1804599
TAKE THAT Stack Exchange
 
@kyledavide 404 for me too.
 
I've just noticed I have eye circles...
 
fuck Clang's code generation interface.
full of unwarranted assumptions and random side effects.
 
7:39 PM
@kyledavide no 404 here
 
godzilla was sort of nice
 
Ok, I haven't exactly slept like a baby this week, but I don't feel particularly tired. Just some headache.
 
I'd like to say it was mediocre but I can't; it ended and I thought only an hour passed, but the movie took 3 hours in reality
so by all means I was really entertained
 
Hey we're back!
 
user3010322
These classes are really cuttign down my constructors and function overloads.
 
user3010322
7:41 PM
And these abstractions are shortening my code up nicely.
 
user3010322
I'm not sure why every C++ library doesn't just have these built in.
 
which classes/abstractions?
 
Is it just me or is the main site in read-only mode?
 
@Mysticial Not just you.
 
user1804599
> This site is currently in read-only mode; we’ll return with full functionality soon.
 
7:43 PM
@Mysticial all sites
 
Looks like it just returned to normal.
 
user3010322
@DeadMG bounds_iterator<n>, index<n>, bounds<n>, buffer_view/strided_buffer_view<T, n>. I've already chopped like 1K lines of code. And it turned my image convolution code from a 400+ line file to something like 106, including overloads.
 
most people do not do really heavy work with arrays.
 
user3010322
This is the first time C++ code for me is reading like pseudo-code.
 
those abstractions would be useless for the Wide compiler.
 
7:45 PM
Not to mention my default mode of handling comment flags is to delete unless there's a compelling reason to keep it. — George Stocker ♦ 24 mins ago
did you guys like my meta post
 
so every library doesn't have them because they don't need them.
 
hello all folks
 
@ThePhD Actually, the standard library does have a lot of that. See valarray, slice, gslice, slice_array, etc. Oh, but chances are pretty good you won't want to use it, even though it's there.
 
user1804599
7:52 PM
No. I hate dragons.
 
I don't have iOS.
 
user3010322
@JerryCoffin Why so? :O
 
It'll come out on Android and Facebook in a few weeks.
I'll be sure to remind you then.
 
@JerryCoffin Well, I'm pretty sure that valarray sucks tremendously. Not used the others though. And to be fair, he did implement a proposal, not some random set of functionality.
 
7:57 PM
> This question appears to be off-topic because it is about the survival of Lightness Races in Orbit.
 

« first day (1314 days earlier)      last day (3628 days later) »