« first day (1851 days earlier)      last day (3096 days later) » 

7:00 AM
requires NonEmptyPack<Args...> perhaps
@GregorMcGregor max(1) == 1 you noob
 
@return_type auto
 
@LucDanton I just find the definition in the screenshot above really contrived/awkward
 
it's a recursive function
there are special cases for 1 or 2 arguments
 
@LucDanton Yes but then that doesn't match the above definition
 
@GregorMcGregor it’s overloaded
 
7:02 AM
4 hours ago, by Rapptz
ew special cases
 
actually that dilutes my tangent, I’ll write a snippet
 
hey man it's not baked into the language!
 
Yes that's exactly what I mean
This signature really says "I am fighting the language"
"send help"
 
> niebler_my_hero
lol
Yes, that's better
 
7:06 AM
Niebler-style functors as 'entry points' to fugly implementation overload sets is appealing more and more to me
 
fucking gregor
your fault
 
2:15
well done
 
ikr
 
Niebler is my spirit animal
Wait no that's CHandler
i am confus
 
@GregorMcGregor static constexpr auto& foo = constant<…>; is a Chandler-ism
 
7:08 AM
> Chandler-ism
I love this new vocabulary
pls make it standard
 
he says that it’s preferable to constexpr niebler_my_hero::foo foo {}; and I choose not to question it
 
but why ._.
 
linker, odr, bad juju
ya know what
I will question it
so the idea is that when you do constexpr foo bar {}; at namespace scope in a header you generate tons of stuff (one per TU) that the linker has to digest and that costs you time
let’s try
 
Irrelevant now that we have modules
Can we officially promote lack of modules as an C++ certified meme
 
all my memes are non-standard vendor-locked extensions only
 
7:13 AM
good job @Nick
proffessionerd
 
huh D7
that's a new one
 
sorry I don’t know BoI very well
using Gold as the linker I’m not noticing any appreciable difference
 
Not sure if intentional pun
Assuming yes because you're Luc after all
 
you give me too much credit
 
Xeo
@Rapptz That one is kinda cool, IIRC
 
7:20 AM
k with GNU ld that makes it worse
 
@Xeo just respawns enemies in the current room
 
Xeo
ye. with a 1-room charge
 
3 rooms
 
Xeo
did they change it? aww
it had a 1 room charge when I found it
 
well it seems more like 2 rooms
 
Xeo
7:21 AM
could infinitely farm a room
well, just need that one battery that reduces charges by 1 room
 
because you get 2 when you beat the room
instead of the usual one
 
Xeo
mh
only on the respawned room?
 
@LucDanton By how much
 
@GregorMcGregor factor of two
 
@Xeo I don't know
Do you know what happens if I use it in a boss room
 
7:23 AM
I changed methodology though, now linking takes too much time
 
I would not mind farming bosses..
 
> Binary search in doubly linked list In C++
lol binary search in a linked list
 
linking is actually blazingly fast ._.
 
> Can some one give me a hint how to implamanted binary search between two alphabets and find the shortest path in the end i have to print the distance between the two alphabets.
I'd star this if I could
@LucDanton well then
> Oh putain, un article sur le net avec des commentaires construits, marrants, parfois taquins mais respectueux et des bons débats ? Va falloir que je crée un compte sur rue89 pour réclamer la démission de Taubira. Faut pas déconner.
 
Excited for my new GeForce Experience™ Game-Ready Drivers™ for Fallout 4©
 
7:38 AM
Missing some ®
 
probably
 
it doesn’t make a difference whether you use the symbol or not and whether you use Gold or not, in all those cases the compile+link time is comparable for the two techniques
 
I am not entirely sure if these are the lyrics or not..
 
variable template vs ye olde static data member of class template is also a non-factor (thankfully)
 
what are you doing
 
7:45 AM
questioning CHandler
 
comparing constexpr foo_type foo {}; vs static constexpr auto& foo = constant<foo_type>;
that was with 50 TUs and it already takes 15s per run to compile+link which is super boring, I’m not scaling it up
 
user1804599
Hi!
 
Xeo
@Rapptz Don't think it works
 
doesn't
garbage
 
@LucDanton :/ p bad
 
7:53 AM
> Told to post here from r/relationships... Walked in on 14 year old daughter having sex with her 14 year old best friend and have no idea what to do (self.Parenting)
 
Film and sell obv
 
unprotected sex too
 
good job sex ed
 
ikr
I had sex ed at age 12
 
@Rapptz IRTA "I had sex at age 12"
 
7:56 AM
nothing like those pictures of STIs to burn into children's eyes.
@Griwes that too
 
these comments are p. funny
some of them anyway
I like r/parenting cause you get to see like 100 different sides and 100 different solutions to a problem
it's funny in a way
 
> Millions of years of evolution have depended on a strong urge to engage in sex.
lol
 
8:00 AM
@Rapptz I had sex ed around that age, without scary pictures.
 
Good to know I'm not an evolution dead-end
Wait!
 
@R.MartinhoFernandes sex ed is pretty useless
in here I mean
 
user1804599
> Walked in on 14 year old daughter having sex with her 14 year old best friend and have no idea what to do
 
user1804599
join the fun
 
the most useful thing we were taught was how to put condoms on dildos
other than that it was mainly preaching abstinence and how terrible STIs are
 
8:02 AM
yeah and don't share your dildos
 
oh yeah we also witnessed someone giving birth (on VHS)
that was a fun day
 
user1804599
@Rapptz Yeah, the begin of somebody's horrible life is certainly fun.
 
@Rapptz Nothing like that either.
 
iunno what yours would be
only thing left is how reproduction organs work
which takes like 1 week to go over
 
8:05 AM
@sehe you tried, I failed, the monad folder is a joke :)
 
@Rapptz We covered that for much longer.
 
ah
how though?
they're pretty basic organs
 
user1804599
 
user1804599
@Rapptz especially pretty
 
Was anything covered outside of that?
 
8:08 AM
hmmm?
 
Cause like if not that'd be worse than my class..
 
did you guys watch Andrei's talk on alligators
 
@Borgleader did you see this:
0
Q: Boost Spirit X3 cannot compile repeat directive with variable factor

Guilherme SchlinkerI am trying to use the Boost Spirit X3 directive repeat with a repetition factor that is variable. The basic idea is that of a header + payload, where the header specifies the size of the payload. A simple example “3 1 2 3” is interpreted as header = 3, data= {1, 2, 3} (3 integers). I could only...

 
it was very good
 
@GregorMcGregor yes
@GregorMcGregor you think so?
 
8:09 AM
Well I enjoyed it!
 
Oh me too
@Borgleader I don't know know beyond "it's apparently not supported". I've also wondered about Nabialek in x3. I reckon that nabialek is quite possibly no longer required. But the whole "how will we ever pass rules transparently" is a bit of a mystery to me
Phone
 
user1804599
		// x86-64 has 48-bit virtual addresses. The top 16 bits must echo bit 47.
		// The hardware delivers a different kind of fault for a malformed address
		// than it does for an attempt to access a valid but unmapped address.
		// OS X 10.9.2 mishandles the malformed address case, making it look like
		// a user-generated signal (like someone ran kill -SEGV ourpid).
		// We pass user-generated signals to os/signal, or else ignore them.
		// Doing that here - and returning to the faulting code - results in an
 
user1804599
dat comment
 
user1804599
 
OS X is very well coded
 
8:20 AM
@Elyse Thanks so much i.imgur.com/7VxEoUX.png
 
Did you know that Apple's OpenCL implementation supports barriers only if you launch no more than 1 thread?
:)
 
You mean, at least?
 
At most
 
user1804599
@sehe top kek
 
Disagree
 
user1804599
8:21 AM
@GregorMcGregor Do you have to launch the thread in the direction of any particular astronomical body?
 
You have to launch it in your general direction
 
@Rapptz we had that and the teacher actually said 'oh yeah I forgot to tell you we would watch that', was funny
 
user1804599
general election
 
genelal*...
 
user1804599
I should create State that contains World.
 
#SOnotreadytohelp
 
@LucDanton wow following the swift tag eh
didn't know you had it in you
 
@CatPlusPlus yep I'll take a look once I get home
 
Ven
hi lounge
@Elyse now that's pretty great!
 
45
Q: Windows Unable to Delete ._. File

Mike KI currently have a file on the root of my external hard drive simply named ._., which I am guessing was added to my hard drive after using it on my MacBook a while ago. I'm trying to delete this file on my Windows 10 machine; however Windows keeps claiming the file cannot be found. I also tri...

 
8:37 AM
pls don’t delete ._.
 
lol
 
@GregorMcGregor nice
 
Ven
@Elyse that whole file is full of hacks :/. But I understand they need them very much
 
user1804599
Signals are terrible.
 
user1804599
8:40 AM
Horrible horrible mechanism.
 
user1804599
They should be pull-based, not callback-based.
 
6
A: Windows Unable to Delete ._. File

NZDInstall 7-zip, open it and use its file menu to rename the file to a normal name (for instance to aaa) and then you can delete it. Found at this post. I tested this on Windows XP running in a VM. I used Linux to create a file called ._. on a shared directory.

lel
 
it is normal ._.
 
@Elyse What do you mean
 
user1804599
Signal queue and a blocking function to dequeue a signal.
 
8:43 AM
> I am a third-year graduate student at UC Berkeley. I'm interested in the interplay between homotopy theory, quantum field theory, manifold topology, and higher category theory.
disgusting
 
user1804599
yeah, heterotopy is much more decent
 
@Elyse IOW consume in a different flow path?
 
user1804599
Callbacks are very difficult to deal with as you can't predict when they'll be called relative to other code.
 
Yes
They are Very Annoying®
 
user1804599
Hence blocking master race.
 
8:45 AM
@GregorMcGregor you’re such a homotopophobe
 
@Elyse But you didn't answer my question though
 
user1804599
I did.
 
@LucDanton But not a potatophobe
 
user1804599
3 mins ago, by Elyse
Signal queue and a blocking function to dequeue a signal.
 
user1804599
5 mins ago, by Elyse
They should be pull-based, not callback-based.
 
user1804599
8:46 AM
I answered it before you asked it.
 
2 mins ago, by Gregor McGregor
@Elyse IOW consume in a different flow path?
 
user1804599
If these don't answer it, then I don't know what you mean by "different flow path".
 
Hint: you can answer either by "yes" or "no".
 
._. not found
 
Different thread, task, coroutine, whatever
 
Ven
8:46 AM
.-. neither
 
user1804599
Different from what?
 
Just look at the control flow from a graph perspective and use that meaning of "path"
 
user1804599
You just ask for a signal whenever you're interested in one.
 
user1804599
If you're always interested in signals, you spawn a thread which loops forever.
 
Ven
@Elyse please use replies, so that it doesn't look like you're the only one speaking to me
 
8:48 AM
Ok I still don't get it, moving on
 
user1804599
You can quite easily implement this, though.
 
user1804599
Since you can use the write system call in a signal handler.
 
@Rapptz I’m rooting for Dave no matter what
 
Pull-based is a counterproductive implementation of push signals.
I have no idea what drugs you're on.
 
@LucDanton RIP
 
user1804599
8:50 AM
But that's still ugh.
 
What happened to Abrahams anyway
 
Sacrificed his son
 
@Rapptz thatwasthejoke.lo
 
@GregorMcGregor Abrahams is the son, you silly.
 
user1804599
8:51 AM
If you want push-based through the OS, at least make the OS spawn a thread in the receiving process for the signal handler, instead of doing horrible stuff with context switches and a superrestricted set of operations you can perform.
 
The Binding of Isaac (in Hebrew the עֲקֵידַת יִצְחַק, Akedát Yitzḥák, also known as "The Binding" הָ)עֲקֵידָה), the Akedah or Aqedah, is a story from the Hebrew Bible in which God asks Abraham to sacrifice his son, Isaac, on Mount Moriah. The account states that Abraham "bound Isaac, his son" before placing him on the altar. == Biblical narrativeEdit == According to the Hebrew Bible, God commands Abraham to offer his son Isaac as a sacrifice[Gen 22:2-8]. After Isaac is bound to an altar, the angel of God stops Abraham at the last minute, saying "now I know you fear God." At this point, Abraham...
 
Ven
I'm looking for a fairly performant C++ http server. I'm going to try out seaster and proxygen. Any recommendations?
 
god speed
 
user1804599
@Ven Is C also fine?
 
how topical
 
user1804599
8:52 AM
If so, Nginx.
 
@Ven use mango in your curries
 
Ven
@Elyse does it have a good C API?
 
user1804599
No idea.
 
>good
>C API
laff
 
Ven
ok, you're just elysing
 
8:53 AM
I've used decent C APIs before
 
user1804599
Don't use C++ for I/O heavy applications.
 
user1804599
C++ is terrible at I/O.
 
what does that even mean
 
lol
 
Ven
stop elysing kthx
4
 
8:54 AM
@GregorMcGregor bull shit
 
The Hebrew alphabet sucks. Every thing looks the same at a distance :/
 
Well I guess you could say that of every alphabet :p
 
Astigmatism doesn't help either.
@GregorMcGregor Yeah, but for very long distances.
 
Time to build a ranking of writing systems ordered by "distance-to-sameness"
 
The Latin alphabet is pretty good because words have more "shape" to them.
 
8:58 AM
I feel that pbqd is kinda silly, although that’s another matter entirely
 
You could probably get a rough idea of how well a writing system fares by calculating the variance of the distribution of points composing characters
Am I spitting nonsense
 
I have astigmatism; small (more like regular-sized) letters always look out of focus for me, and I can still read pretty well.
 
user1804599
Use Erlang or Go for them.
 
I might have to wear glasses for Hebrew :(
 
user1804599
They're actually good at it.
 
8:59 AM
I’m short sighted and reading doesn’t work period, now what
 
@GregorMcGregor I guess it depends on language too: Latin vowels are very similar, especially with single-storey As (ɑ). A language with long vowel clusters has less "shape" than one with more consonants spread in.
 
Ah yes indeed
 
Finnish comes to mind.
 
what’s a LATIN SMALL LETTER ALPHA
 
user1804599
the one before LATIN SMALL LETTER BETA
 
9:04 AM
@LucDanton It's a "script A". Guaranteed to be single-storey. It's from IPA.
The regular "a" renders differently depending on font, but most commonly as double-storey.
 
why is it called alpha
 
What's single storey .-.
 
user1804599
A was already taken!
 
this is very important
 
@GregorMcGregor une étage vs deux étages? It's the shape.
 
9:05 AM
yes but for the letter a?
 
ɑ has one, a has two (probably)
 
Oh, got it.
 
user1804599
Good boy.
 
@LucDanton Similar shape, I guess. I don't know if IPA letters have IPA-official names.
But Unicode names are often confusing, misleading, or outright wrong, so don't go by them.
 
9:09 AM
but Characterize is convenient :(
 
U+FE18 PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET
(sic)
 
But is it a Brakcet Banachewicz
 
U+02C7 CARON is a hacek; "caron" is suspected to be a name invented by an early standards body but no one really knows.
 
Caron savait pas quel nom choisir.
 
There's a TN about it: unicode.org/notes/tn27
"U+034F COMBINING GRAPHEME JOINER does not join graphemes" is my favourite
 
9:13 AM
WTB max_value_of<SomeEnum> pls
 
@GregorMcGregor easy static_cast<SomeEnum>(std::numeric_limits<std::underlying_type_t<SomeEnum>>::ma‌​x())
 
It's the symbol of Iran, but they cannot (could not?) put country names in the character names for some reason.
 
I don’t care that you really want reflection
@R.MartinhoFernandes countries come and go
 
@LucDanton you suck
@R.MartinhoFernandes Ils se sont farsi un nom débile à la place
 
9:16 AM
I don’t know that they did it for that reason but it beats having a Czechoslovakia TLD around
 
@LucDanton Oh right, that's it
They use ISO country codes for the flag emojis.
You write the country code out with two of these fileformat.info/info/unicode/char/1F1E6/index.htm and that should render as a flag.
 
I hate out params so much >.<
 
Hi lounge
 
how do people even think about using them how does their brain branch out like
wat
 
Ven
@AlexM. you didn't always have tuples
 
9:18 AM
@AlexM. addiction to side-effects
very tragic
 
@Ven Ugh, multiple return values.
 
Ven
@R.MartinhoFernandes yeah, you often need this kind of stuff in a nonmutable world
 
A struct is technically multiple return values.
 
addiction to isomorphic non-debates
 
@Rerito hi pepito
 
Ven
9:20 AM
what kind of drugs did @LucDanton take today?
 
bool read(..., out T x) is ok-ish but still; technically that's an optional, not a multiple return. Anything else is garbage.
 
@R.MartinhoFernandes nothing wrong with that
 
A day well started, you should have seen how the new receptionist checked me out hehehe
 
user1804599
@Ven you always had structs
 
9:21 AM
alias MyMeaningfulName = tuple<...>
 
minmax I guess.
 
better now?
 
TIL Rerito is hot as fuck and/or seriously malformed
 
he lifts
 
user1804599
You can also return multiple values with fork or setjmp! :D
 
Ven
9:22 AM
@Elyse yeah, but they have a clear semantic meaning
 
@AlexM. No, it still carries all the same problems. Either your function is doing too much, or you're too lazy to formalize an important domain concept.
 
user1804599
Don't mention semantics when around @GregorMcGregor.
 
Ven
@R.MartinhoFernandes why's that not an optional? ;) get bind or if let, people :P
 
@Ven You seem to be reading a "not" too much.
 
@R.MartinhoFernandes maybe
 
Ven
9:23 AM
@R.MartinhoFernandes I mean, why's that "ok-ish" :P
 
my problem with out params is that I have to look in multiple places to follow changes
with multiple return values it's still just one place
 
user1804599
bool read(..., out T x) is quite bad. The fact that a true result <=> a usable x is not captured by the types and is hence a missed opportunity for automatic bug detection. Also fragile when refactoring.
 
@GregorMcGregor I'ld rather like to think it's the first if you ask me
 
@Rerito Well I don't judge
 
user1804599
These are very trivial things.
 
9:27 AM
Time to eat grapes
 
graaaaaaaaaaaaaaapes
where was the comic
 
@R.MartinhoFernandes quick question
does this return one or two values to you
class User
{
	string Name;
	string SomeOtherStuff;
}

User GetUser();
 
@GregorMcGregor why?
 
One user. It's also clearly called GetUser.
Not GetNameAndSomeOtherStuff.
 
but with alias MyMeaningfulName = tuple<...> you return one MyMeaningfulName
 
9:29 AM
@LucDanton relevance
 
you're not returning unrelated values
 
@GregorMcGregor I suck McBain etc.
 
Geezus. Chinese people and their broken English. I can never tell what they are telling me in their bug reports and reactions on my responses.
 
Ven
which is not distinguishable, from the compiler's POV, from another same-sized tuple
 
If you call it GetName and it also returns some other stuff, then it's garbage.
 
9:30 AM
@LucDanton Good for him
 
but you're not calling it get name, what I'm saying is that you can look at tuples as being similar to the struct above
 
now I miss Gunshow Comic :|
I’ll hit the 'Random' button until I feel better
 
@wilx Got a chinese in the team with broken french (and broken english)
 
@LucDanton analogous to the halting problem
 
@Rerito lol. OK, you win! :D
 
9:32 AM
Got 3 chinese in the team with excellent french and english
 
@GregorMcGregor indeed
 
@wilx I mean I feel you, I hardly get anything he says
And when the french doesn't work, I switch to english and... It still doesn't work
 
@Rerito :D
 
Sometimes when he struggles on a word he just spits it out in mandarin... At this point my brain freezes
 
Few years back me an my colleague were doing SCRUM phone calls (instead of stand ups, don't ask) and we also had Chinese dudes. One was OK. With the other one, my colleague dutifully listened, all of us did, what he had done. And after the call, always sent a an email requesting him to repeat that in writing. :D
@Rerito lol
 
9:36 AM
I'd like to remind you all that I'm Chinese pls don't offensive
 
weren't you thai?
 
@GregorMcGregor Well, tough life.
 
back off he’s in my team already
 
He's a cool dude though, it's just that I'm struggling to understand him (and the poor guy must feel miserable when no one gets what he says)
 
user1804599
It's somewhat funny that throwing an exception is considered nontermination.
 
user1804599
9:46 AM
 
are they about to throw?
 
Ven
ugh, cplusplus.com
 
user1804599
throw party;
 
GOOD MORNING
 
Ven
hi
 
9:53 AM
sup
 
user1804599
hi hot Arnoud
 
Ven
btw, swift 2.1 has named tuple params, as in let xyz : (name: String, age: Int) = ("hey", 5); xyz.age
 
Xeo
Welp. Suddenly our UPS had some fan damage and everything shut down. Internet and internal servers. So much for "uninterruptible".
 
user1804599
@Ven Thirty years after Eiffel, good job.
 
Tools for writing code at a kiddie scale.
 
9:57 AM
@GregorMcGregor There is indeed a proposal along these lines.
 
user1804599
I like that in Rust you can abstract over functions of different arities because Fn takes a tuple type.
 
user1804599
Honeybadger don't care.
 
@GregorMcGregor Here you go
 
@Ven would be cool to have this in C++
 

« first day (1851 days earlier)      last day (3096 days later) »