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

9:00 AM
Hmm.. it's a shit day, all round.
 
Well good luck.
 
> A lot of people coming from OOP get confused by typeclasses because they think they are like classes in object oriented languages. Well, they're not. You can think of them kind of as Java interfaces, only better.
eh fuck fanboyism.
 
fuck bad explanations
"Like X, but different" is so unbelievably useless
 
"Like C, but different"
 
@jalf Yep..
 
9:01 AM
I hate when I get up mad early because I need to catch a flight, and then realize that I could have slept 2 more hours since I now have nothing to do until the cab comes
 
@jalf as long as you list the differences, it can help
 
@jalf My Fiesta diesel is like a Bugatti Veyron, only different.
2
 
and that was just the beginning of the paragraph
 
(ahem, transform feedback and microphones/loudspeakers ;))
 
that was an analogy. And uh.
 
9:02 AM
@BartekBanachewicz LYAH doesn't at all BTW
 
Yeah, I know :)
 
can we stop talking about java, we are not in hell yet.
 
@refp we're talking about Haskell
 
ffffuuuuuuuuuuuu
 
@BartekBanachewicz I'm an internet hero. I instantly notice keywords such as java and commence my killing spree to make the intraweb a better place.
 
Xeo
9:04 AM
@BartekBanachewicz FWIW, I don't consider that fanboyism at all. It's actually pretty accurate - a type class describes an interface, just in a much more generic way.
 
the upside of having nobody here except me is that I can sing terribly and loudly
and there's nobody to complain
 
Xeo
lol
 
@jalf take 4 (repeat 'f') ++ take 12 (repeat 'u')
 
WHAT THE FCUK. alright, I got a lot of gay "fanboys" who write inapproriate things on me online, but now this dude just wrote;

"Hello, how are you? if I come to stockholm, can we F...? I know you're horny LOL"
 
@Xeo I am also far from saying that the author is explaining it improperly. So far it was ok.
 
Xeo
9:05 AM
replicate 4 'f' ++ replicate 12 'u'
 
I know about replicate, I like that way more though :v
 
protip: do not forget you're in the middle of a git rebase, and start committing other stuff!
 
Xeo
sounds painful
 
You know, touching infinity with your bare fingers :3. Making it obey you.
 
@Xeo well, the actual changes are fairly small and simple, so just aborting the rebase and starting over is no problem. Just annoying as hell...
 
9:06 AM
ghci> :t 1
1 :: Num a => a
 
Daisy logic: Jump down off bed, sit next to bed waiting for human to lift her back up onto it
 
um wat ^
 
@DeadMG Heh - like kids throwing toys out of pram:)
 
@BartekBanachewicz What's confusing about that?
 
Xeo
@BartekBanachewicz Literals are polymorphic
 
9:09 AM
ok, I need to read further. first things first.
 
@DeadMG We've banished Bailey from our bedroom until the weather cools off. It's difficult to sleep as it is without a 37kg bedwarmer.
 
lol
my parents did something similiar
Daisy likes to sleep on my mother's lap- even when my mother's still in bed.
 
Wait, did LYAH not discuss the stuff :: Num a => a syntax?
 
Xeo
I think @Bartek was just playing around
Maybe
I can't remember if LYAH even had the :t 1 example in it
 
@DeadMG At least Daisy is a puppy and not too heavy.
 
9:12 AM
@Xeo no, perhaps on purpose
I figure it will be explained later.
 
Doesn't ghci start with Prelude?
 
yeah, she's a small dog.
 
set prompt
 
Xeo
@Rapptz on Windows
also, :set prompt, yeah
 
@DeadMG Hmm..yeah. 'Puppy' may not be true any more - how old is Daisy now?
 
9:13 AM
@Xeo Ah right.
 
hrmmm
she'll probably be three years in a few months
 
@DeadMG Oh! Fully mature dog :)
 
I doubt that very much
 
@DeadMG LOL!
 
she's still tiny, fluffy and cuddly, and she's still too stupid to stop eating other animal's shit in the park
 
9:16 AM
> Because it's not in capital case it's actually a type variable.
inb4 templates.
 
@DeadMG Oh, just like Bailey, (mod tiny, fluffy and cuddly).
 
lol
and she still cries for walkies whilst you put your shoes on
 
Xeo
@BartekBanachewicz Basically
 
@DeadMG Heh - when wants walks, Bailey makes loud squeaking noises outside my office door. I can drown it out by turning headphones up to 100, but I feel guilty:)
 
> Interesting. We see a new thing here, the => symbol.
oooh.
 
Xeo
9:20 AM
=> basically introduces concept-like restrictions.
 
lol
 
Well he speaks about constraints in particular. Maybe he really means concepts.
 
Daisy mostly just sits near the door and waits for you
 
concepts = constraints + axioms
 
it's much easier to read that when I actually know what all those are before :)
 
9:21 AM
but it's impossible to put your shoes on or your headphones in without her assuming it's for the purpose of walking her
 
Xeo
@BartekBanachewicz No, it's a constraint. I just chose "concept" since I thought you're more familiar with that term.
 
@Rapptz I know, the answer on SO on that is brilliant.
 
@BartekBanachewicz What answer?
 
47
Q: What are the differences between concepts and template constraints?

RaynieryI want to know what are the semantic differences between the C++ full concepts proposal and template constraints (for instance, constraints as appeared in Dlang or the new concepts-lite proposal for C++1y). What are full-fledged concepts capable of doing than template constraints cannot do?

 
"no one will never know"
 
9:25 AM
@refp you just posted your real name here
also we will know, huh?
 
@BartekBanachewicz it's on my profile
 
@BartekBanachewicz never read it before.
 
@BartekBanachewicz know.. what? of course I'm not going to do it, he's been blocked and I'm getting on with my day
damn.. I didn't get his "let's work together" thingie (he works in the fashion industry and offered me a job (which I turned down) before he wrote that)
just found it funny having that as a sales pitch
haha, and now I just got this:

ok
ok
never mind
I was reallyjokng
i was joking
ok?
have a great weekend
 
He went full fake homo, never go full fake homo
 
9:36 AM
Hi, are there documented cases of undefined behaviour leading to nasal demons?
 
and if not, how would you design a system such that response to some undefined behaviour leads to some nasal demon?
 
You're not binning anymore :O
 
eh
sick of people bitching about it
but I guarantee that there will be some guy who dumps his question in the chat and won't go away, and then I'll get pissed off and go right back to instabinning
I evolved that behaviour for a reason
 
9:43 AM
in C++, 3 mins ago, by Yang
yes~ I just got some in Lounge
haha
@DeadMG If you guarantee you will go back to instabinning, perhaps you should consider voluntarily forfeiting your room ownership role.
5
;)
 
hmph
not a chance in hell
 
somebody's gotta keep this place clean
 
Xeo
in C++, 2 hours ago, by Bartek Banachewicz
@yang this one is friendly
 
@Benoit you'd need a robot of some kind, or an external peripheral capable of releasing spores
 
Xeo
9:44 AM
lol
 
bah, don't get me wrong, after I've plonked puppy and the whole gordon's stuff died it's ok
 
@CatPlusPlus what is it? yet another list of regulars?
 
@Xeo also we're Lounge<Haskell> :)
in C++, 10 secs ago, by Yang
well....Among Chinese youngsters, ~ in words means saying with joy
Everything WRT @ThePhD explained.
he's a Chinese youngster.
 
@thecoshman No, it's about replacing the SO chat with one that is owned and operated by the Lounge, so that we can give ourselves arbitrary powers instead of waiting on SO to never, ever do anything
 
Xeo
@BartekBanachewicz ~ == ♪ for people that can't type the latter
 
9:47 AM
@Xeo oic
damn I don't wanna go to work.
 
Xeo
Fairly common in Visual Novels actually, when the font doesn't support some kind of note
 
@DeadMG oh ok then. Sounds like a good enough idea... what was the general 'vibe' when the idea was put forward?
 
dunno
I wasn't there
nor do I possess any webdev skills
 
@DeadMG o_0 so you are just guessing around
 
@BartekBanachewicz Most of asia.
 
9:52 AM
please do not just dump question on us.
 
Xeo
~
 
@Xeo no place like it
 
what's wrong?
It's illegal to list a question?
 
i have that one ignored I think
 
hey
I object to being villified over binning people's questions when other owners do it as well.
 
9:56 AM
@DarkHorse no, it's very rude to just dump a question on people like that.
@DeadMG nobody has problems with you binning, it is the speed at which you do it that people object to. You also have a habit of blindly applying your ban hammer to everything, ignoring when people have decided that actually, they do want to respond to the question.
 
just to make a link
 
oh yay, github is starting to acknowledge I use C++
 
@thecoshman what'cha writing?
 
exit and go home
 
@thecoshman I once used a structure in my C++ code, I'm an Objective-C programmer nowadays according to github.
 
10:01 AM
@DarkHorse I would have binned it as well.
 
@BartekBanachewicz huh? things like peanuts and gldr, though I'm not sure if it counts those...
@FlorisVelleman I almost always use 'structs'...
 
shit
 
fuck
 
It's a bit demotivating to me when answers get accepted to quickly, especially when there's some variance in the answers and no voting. This removes value for future SO users, because the question will practically just shrivel in a corner before actually having been discussed. — sehe 1 min ago
 
you are bad guys
 
10:02 AM
^ I hate when I have a good answer but no one watches because the OP prematurely ejaculated
 
@DarkHorse we never claimed otherwise
 
@DarkHorse sexism
 
@DarkHorse how so? we were having a nice polite chat, then you came in and blurted out your question at us. IMO that makes you that bad person.
 
@thecoshman i thought maybe you just commited something
 
@BartekBanachewicz nah
too much effort to do stuff
 
10:04 AM
I have a four-part question: a) Is there a Unicode standards committee? b) If so, what city are they based in? c) When is the next meeting? d) Where can I buy a thermonuclear warhead?
 
@MartinJames probably. why does it have have a home city? no idea. how much you got?
 
yes, there isn't one, dunno, also dunno
 
@MartinJames Yes, yes, yes and hell yess
 
@thecoshman lol. Obviously the code won't write itself.
 
Fuck unicode. Funny thing is, whenever I type 'unicode', the 'i' doesn't seem to come out and I enter 'uncode'.
 
10:10 AM
You fail. Try Turkish 'i'
 
If I recall, Turkish 'i' has no dot, right?
 
> You fail. Try Turkish 'ı'
The dot got recalled
 
@BartekBanachewicz oh, have not seen rightfold's latest project?
 
@thecoshman His Eighth Symphony?
 
@sehe sure, why the fuck not.
 
10:16 AM
Franz Schubert's Symphony No. 8 in B minor (sometimes renumbered as Symphony No. 7, in accordance with the Neue Schubert-Ausgabe), commonly known as the "Unfinished Symphony" (), D.759, was started in 1822 but left with only two movements known to be complete, even though Schubert would live for another six years. A scherzo, nearly completed in piano score but with only two pages orchestrated, also survives. It has long been theorized that Schubert may have sketched a finale which instead became the big B minor entr'acte from his incidental music to Rosamunde, but all the evidence for this ...
 
oooh, rrrrrrrrefernce
 
@thecoshman isn't his account deleted?
 
~~~of course~~~
 
@BartekBanachewicz on github? they get fed up with him?
 
@thecoshman lol. fair use policy :/
 
10:19 AM
~~~of course~~~
 
@thecoshman he left gh and so at the same time
 
@BartekBanachewicz His accounts got completely deleted? Wow - he finished something!
 
@MartinJames meh. he continuously finished his darlings
 
@BartekBanachewicz oh, he left left (inb4 rightfold leftfolded)
who upset him?
 
10:29 AM
Noone
 
@StackedCrooked will have to watch later. The animations are exceptionally good. The piano fingering looks natural (first bits)
@thecoshman You did. Or @StackedCrooked
 
Nodame Cantabile is an excellent anime.
 
@sehe I find it hard to believe either of us did...
 
yesterday, by sehe
^ that's a physical threat!
"Would you like to have a fat lip, kind sir?"
 
@sehe Best translation ever :>
 
10:32 AM
:)
 
@sehe I never said neither of us would bring physical harm to him, just that we wouldn't upset him :P
 
Hey he insulted my mother.
So that was totally justified.
 
oh, your mother was on chat? didn't realise you had such a strong programmer family .
 
Oh for fuck’s sake
I gave some guy feedback on his library that he posted on Reddit. This is his reply: reddit.com/r/cpp/comments/1jf5vh/…
> Thanks for the comments! Will do nothing though :D
3
not sure if I should answer him, but I won’t
 
@thecoshman Touché
@KonradRudolph Clearly, you shouldn't. He already told you what his response would be.
I hate when people you don't know act that abrasively.
Jul 25 at 14:28, by sehe
Abrasive responses on twitter annoy me no end. Does this guy end up on your twitter TL's if you followed me?
 
10:41 AM
@KonradRudolph feel free to waste your time talking to ignorant people. If he had said, he dislikes them, "why should I use them" it would be different. He is closed minded, unwilling to accept that he might be wrong.
 
> Prepared statements are another good hint, will consider it for next revision. thanks :D
Really.
Why does that read to me as "I have no idea what I am doing"
Prepared statements are not good "hints".
Prepared statements are the thing.
 
guys, we're talking about random dude throwing out his code on reddit
 
A database access library where prepared statements is not the main (or maybe only) query mechanism is not worth of the name.
 
I just saw "C++ (NOT the Lounge)" for the first time. What do they have against this room?
 
@R.MartinhoFernandes remember, this is a library by someone who thinks mysql is a database worth connecting to. What do you expect? :p
@trojansdestroy its loungeness, presumably
I don't know if they have anything against this room, or if they just wanted a more on-topic room for C++ stuff
 
10:48 AM
@R.MartinhoFernandes The merit of his toy project is not good API design or usefulness. The merit is being independent of any 3rd party libraries (he even has his own SHA1)
 
Meh - maybe I'll visit it. Probably boring.
 
@sehe He styled it as "a MySQL client". Prepared statements are mandatory.
 
This being Open Source, it could be used to implement a useful API with
 
Ell
I don't understand why people are against exceptions o.o
 
@Ell depends on the code, depends on the platform. There are a variety of more or less legitimate reasons
 
10:50 AM
@trojansdestroy It's infested with wild barteks.
 
@R.MartinhoFernandes "styled it" - what does that even mean? :)
All I know is he knuckled down to get access to MySql using no sepcial client libraries and he's proud of how much he pulled off. To me, it looks like a "look ma! no libs" level prototype.
 
@sehe That's how he introduced it.
 
Well, dumb move. No reason to discredit the whole effort.
 
@sehe that's great, but doesn't explain or justify terrible API design
 
I haven't actually looked at it, but I won't kill a developer who is sharing his code for communicating badly
 
10:52 AM
(or refusal to consider suggestions to fix the API)
Also, I'm right with you on the no killing thing
 
:)
 
That's one of my foremost principles when it comes to coding. No killing other developers :p
 
@jalf So you'll never be the psychopath maintainer next door?
 
Psychopaths don't mind violating their principles
 
0
Q: C++11 regex, How can I solve that?

cheeeverybody. I wrote the following code for parsing command line arguments, using Visual C++ 2012. These command-line parameters have traditional GNU style (--option). void parseCmdLines(int argc, wchar_t* argv[]) { for (auto i = 1; i < argc; ++i) { std::wstring arg(argv[i]); // I hope ...

> for (auto i = 1; i < argc; ++i) {
that's a new one
 
11:07 AM
Hey, what's the Lounge<Chat> project?
 
A dead end?
@LightnessRacesinOrbit I use that. And in this case would prefer for (auto i=1u;...)
 
File descriptors can be reused, right?
 
@R.MartinhoFernandes yes. but what did you mean by "reuse"? after closing I presume?
 
@R.MartinhoFernandes you can even reopen a specific fd to another stream, IIRC
 
11:10 AM
auto x = open(...);
close(x);
auto y = open(...);
assert(x != y); // can fail
 
@R.MartinhoFernandes yup. though, not likely - I'm not aware of an OS that 'defragments FD space' before it's necessary. A lot of 'legacy' code seems to rely on increasing fds
 
@casperOne Like Kyrostat, but different.
 
Seriously, I'm asking as a curious user.
 
@casperOne Seriously, it's vaporware. It might stop being vaporware, but that'd be a veritable miracle
 
@sehe Is it meant to be a replacement for chat? Because I've been looking for something I can host for my site that has everything that SE chat has.
Hence my interest.
 
11:13 AM
@casperOne Oh, Kyrostat is the textbook example of vapourware here.
 
@R.MartinhoFernandes Got it.
Is that why it was starred and pinned only 10h ago? Because no one has been interested in it?
 
To be honest I wasn't around, so I have no idea.
 
@casperOne no, a couple of loungers are working on the chat thing. But that doesn't mean it's going to actually work out :)
 
@casperOne Basically something like that. Where we have control over everything.
It might or might not work out, we'll have to see
 
@TonyTheLion Anything decided on what hosting requirements will be?
 
11:17 AM
@TonyTheLion sure, but if we're realistic, it's a hobby project between a couple of people on the internet. When was the last time such a project turned into non-vapourware? :)
 
@casperOne likely full trust, since we're the c++ bunch
 
@sehe Hmm, well that's ass =P
 
I don't see them designing it using PHP and websockets
 
I'm pretty sure they were going for websockets because anything else would be silly (also, they talked about it as if it was non-negotiable)
 
11:18 AM
There was a conjunction for a reason.
 
for serverside language, they tossed around a lot of names yesterday. There was some discussion of Erlang and Scala and a million others
 
we can write a stand-alone client in C++ Haskell!
 
@jalf My God.
I mean, I'm not concerned about the server side. Think if I as a server admin asking. What would I need? Or is that not sussed out yet?
 
ITT @casperOne is deigning for the hand of our fetal daughter project
 
...and a server on Haskell. it will prove how useful language it is
 
11:19 AM
@sehe It's not even sperm yet, is it?
 
@sehe Never to early to call dibs =P
 
@casperOne I haven't followed it closely, just read a few snippets of the discussion in here. it seems like they hadn't reached a decision yet
 
@R.MartinhoFernandes Yeah, but I didn't know a convenient adjective to indicate that
 
I'm just curious because I'm part of a community that I think would really benefit from something like SE chat, but I don't want it to be attached to SE chat.
 
Doesn't discourse or whatnot Jeff went on to work on offer something similar?
 
11:21 AM
@casperOne Erm, you're closer to the fire. Talk to balpha and see about open sourcing stuff? (and that^)
 
@sehe I've been barking up that tree forever.
 
@casperOne yeah, I think it would be widely useful
There are so many communities online built around really really crappy chat platforms
 
@R.MartinhoFernandes It's not chat. It's discussion, which I know isn't easily distinguishable from chat, but it serves a different purpose. It's supposed to be message boards, but better. That's not chat.
 
@casperOne Ah, ok. Just checking.
 
Yeah. Regardless of chat search suckiness, lack of mobile support and other minor points, SE chat is surprisingly functional.
 
11:23 AM
I do love what they're doing over at Discourse or whatever it's called. Haven't looked in a while. Their hosting isn't easy... Yet. But I have to check it out.
 
honestly, it seems like the actual technology should be fairly simple. Websockets are easy enough, and sending chat messages back and forth isn't rocket science. The tricky part, as always, is making a frontend that doesn't look like complete shit.
 
My community just wants something that isn't bombarded by ads, which I can do.
@jalf You might have to collaborate with the javascript room guys =P
But I imagine the back end isn't overly complex either.
I mean, you need modding and logging and all that for administration, but yeah, more straight forward.
 
@casperOne oh, I'm fairly comfortable with javascript
It's just the browser and the DOM I'm allergic to :p
if it were my project, I'd probably throw node.js at the server
 
@jalf jQuery. Always use more jQuery
 
I heard the addition plugin was awesome.
 
11:25 AM
As much as I use .NET for back end stuff when I can, if I'm going to consume a project wholesale, then I don't care what is used, as long as it has the integration points I need, then I'm good.
 
@casperOne sure, then the experience is like having a leg amputated by a surgeon, rather than having it blown off by a landmine. major improvement, but still not pleasant
 
@R.MartinhoFernandes For Discourse?
 
@casperOne For jQuery.
(It's a joke)
 
@R.MartinhoFernandes Ahh, got it.
@jalf Hey, if the leg's coming off...
 
@casperOne but that's the point, as long as I stay away from messing with DOM stuff, it isn't :p
 
11:26 AM
@jalf Can't you have both?
:P
 
@R.MartinhoFernandes lol. that was by Minitech, right?
 
@sehe It was on some fake screenshot that did the rounds ("How do I add two numbers in JavaScript").
 
@R.MartinhoFernandes github.com/minitech/jquery-concat this was what I was remembering
> jQuery-Concat String concatenation made easy.
The test cases are sufficiently nerdy
 
Alright, laters all.
 
11:42 AM
@sehe lol
 
11:59 AM
Hmm, can't close an e-mail with "Let me know what you think in the comments". I have no idea why I thought that was a good idea.
 
Shame on those who approved the edit that changed part of this question to C++ (perhaps appropriately, perhaps inappropriately) while keeping references to C# too. — hvd 11 mins ago
ITT C# bunch are starting to look like headless ... too these days
 

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