« first day (864 days earlier)      last day (4090 days later) » 

11:00 AM
I have no idea what that is
 
user142019
ADTs are wonderful.
 
Types that can have one of n possible kinds of values.
 
user142019
Kinda compare with discriminated unions.
 
boost::variant
 
Yeah, that's similar.
 
11:01 AM
yeah
 
user142019
data Maybe a = Just a
             | Nothing
 
user142019
It can be either Just a or Nothing.
 
the main issue with boost::variant is, firstly, you'd have to list all the "derived" types up front
 
IIRC Scala actually realises those with inheritance.
 
and secondly, it doesn't offer a uniform interface to it's contents
 
user142019
11:02 AM
template<class T> struct Just { T value; };
struct Nothing {};

template<class T> using Maybe = boost::variant<Just<T>, Nothing>;
 
but that's OK
there's a user-level idiom for that.
just add another level of indirection
 
@R.MartinhoFernandes this may of interest to you, how twitter counts characters
 
Xeo
> titter
 
Titter sounds like an interesting service.
> Teet length is measured by the number of codepoints in the NFC normalized version of the text.
TL;DR
 
user142019
Which is unfair since the Japanese get much more words to put in their tweets.
 
Xeo
11:07 AM
> If that's not too geeky you should apply to work on Twitter's International team.
 
NFC smart choice
 
@R.MartinhoFernandes don't you mean "teet length"?
 
@melak47 It's a "teat" not a "teet".
 
user142019
Teeth length is measured in millimeters.
 
11:08 AM
@DeadMG ¬_¬ never mind puppy, never mind
 
Xeo
@Zoidberg Eh, Japanese have a higher information-to-character ratio anyways.
 
user142019
@Xeo So give them less characters max!
 
@DeadMG On titter people post teets.
 
user142019
boobs
 
@Xeo MEh, I think that's an exaggeration. I mean, even the puppy knows what it means!
 
user142019
11:09 AM
std::hotwaterstream
 
Xeo
Omfg.
There's a function in our codebase that has 69 parameters...
9
WHAT THE FUCK
 
user142019
lol
 
lol
 
You're starbaiting too strong.
 
user142019
69? That must be a cancer. (inb4 horrible pun)
 
11:12 AM
@Xeo does it have a comment // tony was here
 
user142019
Yay food.
 
decomposed ="e\xCC\x81"
 
@R.MartinhoFernandes just shut up and give the man a star
 
WTF, doesn't Ruby have Unicode escapes?
@thecoshman Frist.
 
user142019
1
Q: How do I escape a Unicode string with Ruby?

DogweatherI need to encode/convert a Unicode string to its escaped form, with backslashes. Anybody know how?

 
11:14 AM
@R.MartinhoFernandes it's not a race
 
Xeo
@thecoshman lol, no
 
> To use a unicode character in Ruby use the "\uXXXX" escape; where XXXX is the UTF-16 codepoint.
So much fail.
 
Xeo
The name of the function is StartServer :|
 
user142019
lol
 
hmmm
 
user142019
11:15 AM
?
 
to abstract over code-generating backends, ..., nah.
 
@Xeo ¬_¬ damn guys, why not just a frigging config file?
 
user142019
@DeadMG That is LLVM. :P
 
"\u{10ffff}"
 
something like that :P
 
11:15 AM
Ok, not bad.
 
well I doubt that I'll be using any non-LLVM code-generation any time soon
and I'm also fortunate
because they only support 8bit byte, two's complement, and IEEE754
and other such useful modern niceties
 
Twitter links to this for an example of normalization in Java: unicode.org/reports/tr15/Normalizer.html
Well done, Twitter.
 
user142019
Java is bad and its users deserve borked links.
 
Xeo
Oh wait, it's "only" 49 parameters
 
@Zoidberg huh?
 
user142019
11:19 AM
@Xeo There goes my bad pun. :(
 
Xeo
It seems when that function was written, the writer didn't know that arrays existed...
 
user142019
Hmm. Reminds me of the code of our project for school.
 
@DeadMG do you know that NFKC is the recommended normalization form for identifiers?
 
user142019
private Victim victim1;
private Victim victim2;
private Victim victim3;
private Victim victim4;
private Victim victim5;
 
@Xeo (╯°□°)╯︵ ┻━┻
@Xeo this C++?
 
Xeo
11:20 AM
Also, there's a pattern "int ip1, int ip2, int ip3, int port" repeated for different other servers that this one can connect to.
 
49 parameters. Well, that's better :( Why not a ref or pointer to 'SeverConfigClass', or some struct?
 
Xeo
@thecoshman Yes
 
user142019
Said author would love Go.
 
Xeo
@MartinJames Here's the fun: The first 11 parameters are already parameter objects, i.e. grouping multiple parameters.
 
@Xeo <face palm>
@Xeo what? this just get's worse.
 
11:22 AM
@R.MartinhoFernandes No.
 
@Xeo You are making shit up, right.
 
Xeo
No
 
I don't ever want to start this server. I want it started for me by someone else.
 
did you implement that "identifier" begin/etc stuff in ogonek?
 
Xeo
11:22 AM
I can probaly copy and paste the function header after removing the sensitive stuff
 
@Xeo please don't, I can't stand it
 
user142019
@Xeo please do, @thecoshman can't stand it
 
@DeadMG The character properties are there. I haven't built anything on it though.
 
"we're sorry, but this video cannot be played from your current location"
IT WAS AN ENGLISH FOOTBALL MATCH YOU SCROTES
 
11:23 AM
But you can do ogonek::ucd::is_identifier_start(u) and ogonek::ucd::is_identifier_extend(u), which should be enough to build anything.
I am however missing both compatibility normalization forms.
 
if (is_identifier_start(*it)) {
    ++it;
    while(is_identifier_extend(*it)) {
        ....
 
Yeah, something like that.
 
You want to see West Ham getting beaten by Spurs:)
 
@Xeo please don't, @Zoidberg can't stand that @Thecoshman can't stand it
 
@LightnessRacesinOrbit Probably why they don't want to show it, since the Premier League want to charge huge amounts of money.
 
11:25 AM
Hiya folks! :D
@LightnessRacesinOrbit : Whats up? Glad to see you here! :D
 
You are glad to see Lightness?
 
> OH MY GOD someone actually found a way to put that regular sized ball in to that ENORMOUS net guarded by one person!!! I CAN'T FUCKING BELIEVE IT. This sport is unwatchable.
3
 
@R.MartinhoFernandes Yea, he's a nice guy! He helps me out every now and then.
 
exactly what I'm thinking
 
yeah sure it's really easy
 
11:27 AM
@GamesBrainiac Dodgy showers and @Xeo server has more startup parameters than Villa's defense has holes.
 
that's why that commenter is capable of being a professional footballer, but turned down the £3m per week only because they cba
 
@DeadMG I didn't know you hated football that much...
 
I'd say more like, it's thoroughly pointless.
 
@DeadMG ah, but they do put endless restrictions on it, so it does become a bit of a challenge
 
congratulations, Dude A kicked a ball, I can kick a ball too.
 
11:28 AM
I think football is stupid too. It really just leads to nothing.
 
user142019
Football would be nice if all the players wouldn't be such pussies and assholes.
 
user142019
OH NO I LOST LET'S CRY.
 
@Zoidberg And horrifically overpaid.
 
@Zoidberg placers?
 
@DeadMG True dat.
 
user142019
11:29 AM
OH NO I GOT A YELLOW CARD LET'S TELL THE ARBITER HE'S A FUCKING IDIOT.
 
user142019
(If I were arbiter I'd only give red cards.)
 
@DeadMG how do you work that out?
 
user142019
Or first yellow card and if player continues to whine, red card immediately no warning.
 
Anyway, @DeadMG, how is Daisy? Not seen any pics lately.
 
there are only 11 people who are the 11 best players in the world, that seems like a pretty short supply to me, and every team wants them
 
11:29 AM
@thecoshman Probably because virtually all of the EPL clubs make hideously small profits, if at all, and have been almost entirely sustained by massive funding from foreign investors who don't care about seeing a return, and the vast majority of their costs are player wages.
 
"arbiter"?!
yes let's bash a game about which we do not know even the most basic things
 
Xeo
Note that the support typedefs were originally all different.
 
Nononononononono - he posted it!
 
user142019
@LightnessRacesinOrbit whatever the English terminology is.
 
11:30 AM
oh that's ok then!
 
user142019
Oh referee or something.
 
user142019
 
user142019
Two assholes and one guy who does his job well.
 
@thecoshman that's an oversimplification. you could have the 11 "best" players in the world (by some metric) and they could work horrendously together
 
@Xeo oh god!
 
11:31 AM
@DeadMG Which is sad. No one really cares about the sport. Whats even weirder is when you see kids getting emotional about their team's victory. I mean, who gives a shit about a team thats thousands of miles away and really has nothing to do with you.
 
@GamesBrainiac And yet.. "no one really cares about the sport"?
 
user142019
The only real sport is obviously curling.
 
Term 'referee' only used in media. Rarely used on terraces or in pubs. There are other words.
 
@MartinJames I came to realize that they're basically all the same :P She's fine
 
@Zoidberg Here we go again.
 
11:32 AM
no, the only real sport is rugby
 
@Zoidberg That might be one reason you aren't one.
 
user142019
Curling looks so dumb so it's fun. :P
 
@MartinJames Like "ref".
 
@LightnessRacesinOrbit Its all about the players. Its just a different kind of celebritism...I guess you could put it like that.
 
@GamesBrainiac I guess you could, if you enjoyed being hilariously wrong.
 
Xeo
11:32 AM
@thecoshman I hope your eyes bleed now.
 
@Xeo still, at least it's not Java
 
@DeadMG Good to know :)
 
that said, it's been a while since I have actually used Java...
 
@LightnessRacesinOrbit In Portugal the equivalent of "son of a bitch" is often used.
 
eh
it's nothing more than a bunch of supposedly grown men kicking a ball around
 
11:34 AM
@LightnessRacesinOrbit Wait you like football?
 
@DeadMG oh thank you!
 
@GamesBrainiac Not vastly
 
Want more Daisy pics, even if only just to piss thecosh off.
 
lol
 
@GamesBrainiac My enjoyment or otherwise of the sport has really nothing to do with whether your understanding of it is in any way correct
 
11:35 AM
eh
it's nothing more than a bunch of supposedly grown men kicking objects around
 
user142019
Tennis is a nice sport.
 
@LightnessRacesinOrbit I can see why people are not glad to see you! :P
 
@GamesBrainiac You don't have to like football to realise that lots of people care about it.
 
@R.MartinhoFernandes There are many things "often used" in Portugal but not elsewhere ;)
 
user142019
Darts is also nice.
 
11:35 AM
@R.MartinhoFernandes Which is a quite depressing thing really.
 
You just have to...
WTF.
 
@R.MartinhoFernandes And lots of people are wrong to do so.
There are so many better ways to spend your time.
 
@GamesBrainiac As long as I have you, that's all I need.
 
user142019
The nicest sport must be repwhoring.
 
@LightnessRacesinOrbit Awww...shucks! :P
 
user142019
11:36 AM
Except the world champions are douchebags.
 
@GamesBrainiac Like sitting in front of your computer screen talking to twats on the internet? Because that's all you're doing right now, you know.
 
@LightnessRacesinOrbit At least he's actually doing something
instead of just watching some other guy do nothing
 
@LightnessRacesinOrbit How do you know it's all they are doing? You can't even see their hands!
 
@DeadMG Right, and during a game of football, nobody does anything. Is that what you're saying?
@R.MartinhoFernandes Fortunately
 
Soccer has a complex set of rules and causes lots arguments, like compilers/linkers/loungers. The upside is that it only lasts 90 minutes.
 
11:37 AM
@LightnessRacesinOrbit Well ... basically.
 
@DeadMG Well since that is quite obviously not the case, I shall cease listening to your baseless whining on the subject.
 
they run out onto the pitch, they kick a ball around a bit, they come off the pitch
 
@LightnessRacesinOrbit Nah, I find it morel like talking to a bunch of people who know a lot about the things I am currently learning about. I learn something from these guys here every day.
 
do you always make up bullshit about things you don't like?
 
11:37 AM
Burton Albion are douchebags?
 
@LightnessRacesinOrbit Do you have to ask?
 
@GamesBrainiac gosh.. don't listen too hard! you don't want to learn from us!
@R.MartinhoFernandes No but I thought it might be fun
 
@LightnessRacesinOrbit So what exactly do you want to say happens in a game of football except "the players enter the pitch, the players kick the ball, the players leave the pitch"?
cause I had the unfortunate experience of having to witness a few and I never saw anything else
 
@DeadMG As a programmer, you of all people are acutely aware of the lower-level implementation details of a full, 90-minute game of football. Don't be so obtuse.
 
@LightnessRacesinOrbit lol. Actually, I looked up a lot of guys here, and most people here are really talented programmers. Heck even you, although when I first looked at your website, I thought it was a joke because your name looked weird! :P
 
Xeo
11:39 AM
Whoever starred the pastebin link, I removed the stars since the link expires in <1h anyways.
 
@MartinJames ermm... I think you have got confused there
 
@LightnessRacesinOrbit A pity that they're utterly irrelevant.
 
@GamesBrainiac Says a guy called "Games Brainiac"
 
you may as well discuss the implementation details of a 10,000,000 line program whose only behaviour is "hello, world".
 
@DeadMG Why are they "irrelevant"?
 
11:40 AM
@DeadMG but if you are going to take such a bleak view of things, why do anything?
 
@LightnessRacesinOrbit In order for an implementation to be important, it has to implement something important.
 
No, the analogy you're actually looking for is "you may as well tell me what you did at work today, but don't bother, because I don't care, because you can sum it up as 'today I came a day closer to death' and therefore you actually achieved fuck all"
 
I just plucked up the courage to open @Xeo server starter. It only returns one bool - kinda a disappointment.
 
@LightnessRacesinOrbit kera.name You try pronouncing this guy's last name! :p
 
@GamesBrainiac Funny story - I think I can manage it
 
user142019
11:40 AM
@GamesBrainiac something like "doosjbegg" I think.
 
@Zoidberg lmfao
 
@LightnessRacesinOrbit Carrot'gal
:P
 
Your reading skills need work, son.
 
@LightnessRacesinOrbit If the hypothetical "you" in this situation is someone that I care about, then those details are obviously important to me.
and moreover, they're fairly objectively important
 
11:41 AM
@DeadMG Oh, so in any given activity, things only occur if they directly affect DeadMG?
God you're a self-absorbed ass, aren't you!
<3
 
right
just go ahead and ad hominem me before I have a chance to respond
 
If a tree falls in the forest and DeadMG isn't there to hear it, does it still make a sound?
 
@GamesBrainiac [gɛɾetʔkal]
2
 
oh, and strawman too
 
@LightnessRacesinOrbit Were you talkin about yourself?
 
11:43 AM
think you can argue with yourself for a while
 
@R.MartinhoFernandes This deserves a star! :P
 
No, that wasn't an ad hominem. Ad hominem is when I form an argument based on insulting you. I was simply insulting you.
 
@GamesBrainiac I have no idea if that's correct. It's just how I do it.
 
How the hell is BitCoin still viable?
 
Who says it is?
 
11:46 AM
People love to take a tangential insult and pretend that it was supposed to be part of an argument. In fact, that's a strawman, I believe!
So, well done.
 
@LightnessRacesinOrbit Did you come from english lessons or a public speaking class?
 
@R.MartinhoFernandes parsing
@GamesBrainiac Well, I'm English. Does that count? :)
 
Parsing what?
 
@R.MartinhoFernandes Parsing your IPA for correctness. Please stand by!
(I am not fluent in IPA)
 
@R.MartinhoFernandes it's still being used isn't it?
 
11:47 AM
India Pale Ale?
 
@LightnessRacesinOrbit I think its Martinho-nese
:P
 
@thecoshman Doesn't mean it's viable
@thecoshman People use Bing
 
@LightnessRacesinOrbit Really? People actually use Bing?
 
@GamesBrainiac don't be silly
 
user142019
My development teacher uses Bing and Internet Explorer.
 
11:49 AM
@R.MartinhoFernandes swap the es maybe
@Zoidberg What does your development teacher teach you?
 
user142019
Nothing.
 
@LightnessRacesinOrbit My question exactly.
 
@LightnessRacesinOrbit Oh cool, I wasn't that far off. Do you think the glottal stop is correct? (IOW do you pronounce it all in one fluid sound, or is there a slight break at the apostrophe?)
 
@Zoidberg No wonder.
 
People do use Bing - those who neglected to untick the 'Download Bing toolbar' box when getting other stuff.
 
user142019
11:50 AM
But his job is to teach people JavaScript, Java and SQL.
 
@Zoidberg Shhesh - I'd rather do shower-head surveys.
 
@R.MartinhoFernandes I think it is
@R.MartinhoFernandes I'd stick an emphasis in there somewhere too but, frankly, I move it between the second and third syllables on a whim
 
Ah, I still don't quite get stress :/
2
My native language fronts vowels for stress instead.
 
btw, this is an excellent article stackroulette.com/programmers/88241/…
 
@R.MartinhoFernandes You need to spend more time on SO then
@R.MartinhoFernandes I doubt I could explain it well.
 
11:53 AM
@LightnessRacesinOrbit Especially not without an audio medium :)
 
@GamesBrainiac Yes it is. The meta police nuked it from all of SO. Not just deleted but actually nuked the answers even from the deleted post
@R.MartinhoFernandes Right
@GamesBrainiac It means it cannot be added to. I recently discovered that it was in fact a cplusplus.com tutorial that is propagating the while (!stream.eof()) bullshit.
And its name gives it an apparent authority that newbies don't know to ignore
very sad
I'd love to buy out that domain name. Maybe we can do a kickstarter campaign to raise a few hundred thousand and persuade the owner to sell up.
 
Right after producing SGU, I'd imagine.
 
@LightnessRacesinOrbit If you had that kinda cash that is.
 
@R.MartinhoFernandes Yeah :D
@GamesBrainiac That's what the Kickstarter campaign is for.
@GamesBrainiac It's fundraising. $10 each from 10,000 people and you're done.
 
user142019
cplusplus.com is a great resource for learning C++.
 
11:57 AM
...........
G. T. F. O.
 
@LightnessRacesinOrbit $10 is quite a lot for me. It would serve the month's transportation costs.
 
user142019
Okay, see you bye.
 
@LightnessRacesinOrbit LMFAO
 
user142019
Oh hey I'm back.
 
11:58 AM
Dammit
 
user142019
I got the fuck back in.
 
Don't make me flag you, space-indentation boy
 
@LightnessRacesinOrbit lol
 
user142019
What else do you indent with?
 
user142019
Linefeeds?
 
11:59 AM
@LightnessRacesinOrbit Whats wrong with space indentation
 
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Don't ask!
 
@LightnessRacesinOrbit Oh wait, this guy uses PhP. He's bound to be crazy.
 
user142019
I don't use PHP.
 

« first day (864 days earlier)      last day (4090 days later) »