« first day (1021 days earlier)      last day (3930 days later) » 

12:02 PM
@sehe lolololo pointers
 
@R.MartinhoFernandes taught us a nice trick to differentiate strings (e.g. semantically) using tag types: gist.github.com/sehe/5386754sehe 48 secs ago
@BartekBanachewicz I love how the C# crowd went and said "That's not C#, it's C or C++" and even edited the tags after some time
@R.MartinhoFernandes Replies are "like a" comment thread
 
@R.MartinhoFernandes sure you can :D comes with the implied "I don't give a fuck what you think" :P
 
@sehe hehe, that was cool.
And it was the spark for a greater idea in ogonek.
 
> This was an account from my friend. Because my own account was deleted I use this one now. Amna be less active (more passive).
FFS
 
¬_¬ daknok?
 
12:12 PM
no
some retard recommending MMM when implementing your own string.
> otherwise = "You're a whale, congratulations!"
lol wat
 
@sehe Can one really say strong_string_alias<struct strawberry>; without declaring even a forward declaration of strawberry anywhere?
 
That is the declaration right there.
 
It seems ambiguous without any forward declaration.
E.g., is the struct strawberry there really a struct ::strawberry or struct desert::strawberry?
 
12:21 PM
dessert::strawberry
 
> Notice that we repeat ourselves here three times. We repeat ourselves three times.
:D
 
@wilx nah, you can't, but the robot has special powers of persuasion (he pays a hefty annual fee to the compiler gods). In other words: hint: "YES"
 
:D
 
I've just realized that std::tie is a kinda primitive way to do pattern matching.
really, Haskell does all those nice stuffs, except it does them better.
 
@BartekBanachewicz how? you gonna SFINAE on it? Or, you gonna tie variants to all elements and then variadically visit?
 
12:30 PM
@sehe well you put a tuple on the right side and get a bunch of variables on the other
 
@BartekBanachewicz How is that pattern matching. That's group assignment/initialization
 
maybe you should just ignore my ramblings until I really know what I am talking about
@sehe well the pattern on the left side is a fixed ref-based tuple
 
That might resemble pattern matching, but it matches carinality only (is there a placeholder for 'undef' elements?). However, it doesn't match types. So in case of mismatch, it's a compilation error, not a ... mismatch
 
@sehe Yeah, i kinda went too far with that one.
 
That typo. I was on 9s time budget :(
 
12:41 PM
let it = be
 
mother Mary came to you?
Whispering words of wisdom?
 
she said like, yo, functional purity is good.
I was like rly?
She was like yah rly.
 
and then you woke up
 
Lucy in the sky with to many diamonds
 
Oh boy. Bartek is growing into another Haskell fanboy. Hope you don't get as annoying as rightfold.
 
12:44 PM
@R.MartinhoFernandes Nah. He'd first have to get it
 
@sehe to get what? TBH while reading through all this I see a lot of familiar stuff
 
He learns from McCarmack so - it's reasonably safe
 
i was struck by a lot of his points about "no globals ever" and "one-paradigm is better than a few ones mixed together" and yeah
another nice point to bash ruby enthusiast with. (jk, jk!)
 
> "one-paradigm is better than one"
Hmmm?
 
but I am afraid, WRT what Xeo and others here said in terms of transition of concepts from Haskell to C++, that I will just painfully realize how limited C++ is
 
12:46 PM
@sehe It means you should not leave your phrases unfinished.
 
@sehe derp
 
"Hello, Rodrigo, your father deserves a Kindle." - Good thinking Amazon, how do I ship a Kindle to my dead father?
3
Ow.
 
@R.MartinhoFernandes rightfold really went overboard.
 
well they couldn't know right.
 
@TonyTheLion He's lost at sea now, right?
 
12:48 PM
@R.MartinhoFernandes at least you won't say "stop rambling about a language I have no idea/don't care about" like with Terra :<
 
@TonyTheLion I never noticed. I don't see how his Haskell nerdery exceeded his Elixir, nodejs, Erlang fetishes.
 
also that ^ and Go
 
@BartekBanachewicz They didn't have to assume, right?
 
@sehe He went in phases.
 
Don't forget Zoidlang
2
 
12:50 PM
@R.MartinhoFernandes yeah. Perhaps he reached his pinnacle with Haskell during my month relative chatstinence
 
The Haskell phase was particularly pronounced, though: the Cat, who used to be the one I complained about for that same reason, complained about it.
 
@LightnessRacesinOrbit I think I've heard him talk about COBOL with more enthusiasm than about Zoidlang
7
 
@R.MartinhoFernandes That that is notable presumes Cat is not a hypocrite, BTW.
 
language :: Lang a => a -> a
language x
    | x == "zoidlang" = "gear"
    | otherwise error "I have no fucking idea"
 
@LightnessRacesinOrbit He wasn't in this instance (he told me he realised his annoyance and was sorry for it)
 
12:51 PM
@R.MartinhoFernandes heh
 
@R.MartinhoFernandes link or it didn't happen :)
 
Sep 25 '12 at 23:41, by Cat Plus Plus
@R.MartinhoFernandes I cut back, because I don't want to annoy you <3
 
@user2638374 Wait, what? You're not making any sense. If you post a minimal sample I'll be glad to look at it. But your mess of a comment doesn't in the least indicate a problem with std::vector. Frankly, it indicates you don't know what you're talking about. — sehe 5 secs ago
 
There's a better one, but its contents are hard to grep.
 
12:54 PM
I dropped the latter part ^^
 
hm, indeed, Terra quote ... in ... end is very similar to let binding
 
@R.MartinhoFernandes Splendid. Convinced
 
lol
Thank you for those kind words! :) I am the author of CppQuiz. If anyone would like to help by creating some questions, it would be much appreciated! :) — knatten 7 mins ago
 
@BartekBanachewicz Move emphasis from "awful" to "lot"
 
@R.MartinhoFernandes hm, that sounds weird for me.
 
12:56 PM
what the fuck am I doing on Reddit? It’s the cesspit of the internet
 
whistles
@BartekBanachewicz Or remove it entirely. I think emphasis on "awful" is just wrong, while on "lot" merely sounds weird.
 
People on Reddit are actually finding it justified that a home got raided after sb googled for “pressure cooker bomb”. Brainwashing works.
 
"awful" there is an expletive. Putting emphasis on it is contradictory.
 
Hmm. @R.MartinhoFernandes you like CPPQuiz? I remember it had too many gratuitously related questions on object construction/initialization order.
 
@sehe Yeah, it got boring because of that constant theme, but I think it's a nice idea and would be nice with more variation.
 
1:00 PM
@KonradRudolph Huh? Someone's home got raided after he bought a pressure cooker online and his wife googled for back packs. No bombs mentioned, AFAIR
@R.MartinhoFernandes Ok. I thought it was rather useless. Of course, with different questions, it becomes a different thing
 
@sehe that story was apparently false, the son (or something) googled for the abovementioned search term on the father’s work PC and colleagues tipped the police off
but still! That’s not a suspicious search term at all
millions of teenagers all over the world google stuff like that every single day
 
@KonradRudolph I'm referring to this case medium.com/something-like-falling/2e7d13e54724
 
Was that in the US?
Gosh, that was a severe case of shifted hands.
 
@R.MartinhoFernandes Only a blind typist could make that... "typo"
 
@sehe Me too
 
1:03 PM
@sehe I touch type, and was looking at the other screen while I typed that one.
 
@R.MartinhoFernandes What kind of question is that even?
 
@R.MartinhoFernandes lol
@KonradRudolph It's about the geographic context of the news event currently being discussed
 
Not geographic but social.
 
@R.MartinhoFernandes you mean hypothetical surly ?
 
inb4 Nope
 
1:07 PM
Nope
 
okey, I've finished part 3
time to get some dinner
 
Jeez you're fast
 
that's what she... oh wait.
it's extremely intuitive vOv
> If you still don't know what recursion is, read this sentence.
 
@thecoshman What? No. I asked if it took place in the US for social context.
 
@BartekBanachewicz That's more like, iteration. At least, humans will apply tail call optimization there, defeating the experience
 
1:09 PM
@BartekBanachewicz That only means you haven't learned anything yet.
 
@R.MartinhoFernandes :S
I want to learn about Either and Maybe.
 
Wait till you get to Applicatives and Monads
and Functors
 
Endo functors
 
yea those
 
ITT Tony an expert on Haskell.
:)
 
1:10 PM
Jul 3 at 19:10, by rightfold
The word "endofunctor" makes me think of recta, for some reason.
 
ITT Bartek uses unwarranted scorn/burn.
Scientists baffled. Could it be a primal form of jealousy?
 
@R.MartinhoFernandes that's a transient matter though.
 
He means, we're screwed too. It's a matter of time. "Surly"
 
1:23 PM
;~;
Roobooooot
The mean unicode properties are beating me up and I can't make them leave me alooone ;~~~~;
 
I swear, if R would just get a modern website more people would use it
 
daisy sleepin on my lap
 
^ latest update from the Puppy
 
@sehe I am genuinely happy that @Tony knows Haskell. It's just surprising.
 
@ThePhD What?
 
1:26 PM
@BartekBanachewicz :)
 
@R.MartinhoFernandes So I found the ucd data and stuff and I'm trying to use it right but then it's all weird and stuff and it's hard to use and waaahhhh ;~;
 
Y U REINVENT WHEELS?
 
Wheels doesn't have unicode data properties!
.... Does it?
 
dafuq
 
1:29 PM
Because drama queen
 
This is neat.
 
What is that?
 
Sprite Sheets!
 
Periodic table of the elements.
 
of course
 
1:30 PM
So... A member of the parliament here, and IT spokesperson for her party, just wrote a big article about how (1) she would never judge anyone for how they dress, but (2) nerds have terrible dress sense and make themselves less attractive, and (3) if they dressed better, and "talked so we could understand them", then she and her single lady-friends would love to meet them
wtf
 
@jalf lolwut
 
lol
hypocrite much
 
TBH I never know what normal people talk about.
 
Like normal people.
 
I can't ever carry a conversation about regular stuff.
 
1:32 PM
@ThePhD I have no idea why you are messing with that.
 
Normal people talk about normal things
I thought computers were pretty normal these days
 
@R.MartinhoFernandes I need to implement casefolding. :c
 
Unicode is hard
 
Normal is boring.
 
I think we all already knew that Axe is terrible, but this is awful (also not how you would code this) http://i.imgur.com/GfwhTYQ.jpg
3
 
1:33 PM
@ThePhD You do?
@KonradRudolph For a moment I thought Axe was a newfangled programming language.
 
well yeah. One where this shite is legal syntax
 
0
Q: bind array of double to double*&

lezebulonI am trying to reference an array by using pointers double a[5]; double*& b = a; //doesn't compile double*& b = &a[0]; //doesn't compile either double*& b = &static_cast<double*>(a); //nope Is there any way to make it so that b is binded to the address of the first element of the array? thanks!

lol noobs
 
@R.MartinhoFernandes Yeah. I'm starting to do things like "to lower" on strings that contain unicode data. It's becoming inconsistent.
 
@KonradRudolph I like how it is written so that only their target demographic would understand how bad it is, but everyone else would find it quite funny.
 
So, I need to step up my string data potential once again and implement casefolding on them.
 
@R.MartinhoFernandes lol. Xeo called it:
 
=[
 
13 hours ago, by Xeo
@ThePhD He'll likely just link you to Unicode spec, or ICU
 
y u redirect me to ICU.
 
13 hours ago, by sehe
@ThePhD Pssst. You need to do it yourself
 
1:37 PM
WELLLLL
Fiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiine
I'll do it without asking. :c
 
I like it when you nerd rage highschool girl eye-roll rage
 
@ThePhD Because you asked to help the pain stop.
 
hahahah
 
JBL
@KonradRudolph Nice. Sexism + retarded ad hominem against nerd. They get better at being completely retarded it seems.
 
@R.MartinhoFernandes there's always painkillers :P
 
1:39 PM
@R.MartinhoFernandes Welllll, what if I don't want icu?
 
@JBL An argument ad hominem is not the same thing as an insult.
 
@JBL Breaking: "retarded" considered harmful
 
What if I'm brave enough to man_up and fight Teh Unicodes myself?
 
@ThePhD then you can read the unicode standard and figure it out from there.
 
1:39 PM
std::man_up(ThePhD);
 
@TonyTheLion c++14
 
> In order to achieve this goal Boost.Locale uses the-state-of-the-art Unicode and Localization library: ICU - International Components for Unicode.
 
Xeo
yes! good answer, lets see are there any easier solutions to this — user1046403 1 min ago
 
@sehe It takes that pain away.
 
Xeo
1:41 PM
easier than a = !a; ...
@R.MartinhoFernandes nice.
 
JBL
He wants something easier than typing a few characters ... ?
 
yes! good answer, lets see are there any easier solutions to this — user1046403 2 mins ago
lolwat
that's about as easy as it gets
 
It's a bad joke, because the type of threadAlive wasn't specified. This would lead !"true" to be "true" for the majority of values for int, e.g. — sehe 43 secs ago
 
1:44 PM
room topic changed to Lounge<C++>: Legnica is a city, not a name, you dummies. [c++] [c++11] [c++-faq] [goobye-zoidnok] [no-helpdesk]
 
Xeo
@sehe ... he doesn't use ! in his answer
Also, a =! a, a != a
 
@CatPlusPlus I figured that out before it was cool.
 
@Xeo I didn't say, hence the quotes. removed the (confusing?) use of !
 
@Xeo I'm an artist.
 
Xeo
@sehe ah, now I see how I should read that sentence
 
1:46 PM
@Xeo Chop chop
 
I think we should call our new chat, ChatPlusPlus
 
daisy sleepin on my keyboard arm
 
http://stackoverflow.com/a/18018495/99966
The wonders of Go, and replying to a 4 month old topic.
 
@sehe why did he edit the answer to say it won't work in C++ ?
 
@DeadMG You should have a twitter account and tweet this stuff.
:P
DaisyUpdates
 
1:49 PM
lol
 
blog works better
 
I'm not sure about Cat's sanity, judging by the message in the about-box of his profile. :P
 
her uselessness and stupidity would be a good fit
 
0
Q: Fixed Memory location in C

user1995310Assign a memory location with address 0x67AB and value 0x1234 using pointers. i am trying to assign a fixed location in memory using pointers and not using malloc()

inb4 Embedded
 
@BartekBanachewicz Well, if you like young and Chinese, I'll be that for you ~~~
 
1:51 PM
@DeadMG I see you really love your dog
 
heh
it's funny because when you call her stupid in a pleasant voice, she likes it
 
poor thing doesn't know what "stupid" means
 
besides
 
@TonyTheLion I have no Idea what he wants
 
I sacrificed my keyboard arm for the mutt
 
1:52 PM
@ThePhD I wanted to ask you about something WRT your engine
 
that's about as loving as someone like me can get
 
@A.H. ¬¬¬pointers¬¬¬
@DeadMG fair enough.
 
@BartekBanachewicz I'm not open-sourcing it leave me alone my code is terrible there the conversation is over ;~;
 
I've seen your code
 
@KonradRudolph Almost! ideone.com/KoSoKI
 
1:52 PM
It's actually not that bad
 
@TonyTheLion Lies and slander!
 
@ThePhD how do you know what I wanted to ask about?
 
12 secs ago, by Tony The Lion
It's actually not that bad
 
dude
 
@BartekBanachewicz I gave a panic-statement that covered all general cases.
 
1:53 PM
you can't say that ThePhD's code doesn't suck.
that would be like saying that CatPlusPlus is a nice person who loves C++
 
how do you know, you haven't seen it
 
Also holy titties, Amazon ships extremely fast.
 
@DeadMG But but he is a nice person, once in a blue moon.
 
@ThePhD I was wondering, considering you're adding a lot of functionality in unicode and other weird areas, what do you think would be your test coverage ATM? (in %)
 
1:54 PM
Newegg usually takes at least 2/5 days, evne with next-day shipping.
@BartekBanachewicz I don't run unit tests.
 
@ThePhD lolwat
next day shipping usually means it ships the next day, otherwise its lies
 
@ThePhD oh I see... And any other tests?
 
he doesn't test, his code "just works"
lol
 
@BartekBanachewicz 0.
 
@A.H. no clue. AFAICT the same problem applies to C/C#
 
1:55 PM
@R.MartinhoFernandes mhm.
 
@TonyTheLion maybe it spends 3 days in transit
 
@BartekBanachewicz I test things by using it in a small example. If it passes, I use it. If not, I fix it until it covers the cases I've thrown at it.
Then I start working on the next part.
 
@ThePhD oh I see... well that's everything I wanted to know, thank you.
 
inb4 Phd sucks
 
@ThePhD Dude, even @DeadMG is past that.
 
1:55 PM
^ that's saying a lot
 
@TonyTheLion it won't come from me.
 
Shrug. I don't have time to write CATCH tests and stuff like that.
Most of the stuff I'm writing can't be CATCH-tested anyways.
 
Puppy is the most stubborn human being I have met.
 
@ThePhD Why is it inconsistent, though?
 
No offence
@ThePhD Tests are important
 
1:56 PM
@ThePhD The puppy used to say that too.
 
I can't CATCH-test the framebuffer.
 
If I said anything negative about him or his code everyone would ignore it because I ranted too much, so I leave the conclusions up to you. I just asked a simple question.
 
I also can't CATCH-test GDI+.
 
@ThePhD You have a lot to learn, buddy :)
 
@ThePhD Still, you said you have zero tests whatsoever.
 
1:58 PM
I have a lot to learn too
 
Oh I do too! Chapter 5!
 
@ThePhD Also, what "to lower" is that?
 
@R.MartinhoFernandes The weird one.
That I wrote.
 
Don't tell me you implemented your own "to lower" and can't implement case folding.
That just... makes no sense.
It's the same algorithm.
 
@ThePhD I anticipate badness
 
1:59 PM
inb4 exactly that.
 
@R.MartinhoFernandes I'm trrryyyiiing to wrap my head around these unicode properties.
If I don't have the proper casefold function I can't really do a good comparison. :c
 

« first day (1021 days earlier)      last day (3930 days later) »