« first day (1334 days earlier)      last day (3616 days later) » 

Ven
11:00 AM
@rightfold: was that LS ?
I didn't even know (or) worked
 
user1804599
@Ven yes.
 
looked like F#
ohwell.
 
Ven
There's no reason it wouldn't work, I guess
 
user1804599
(not) also works.
 
> After years of looking at the data, Google has found that things like college GPAs and transcripts are almost worthless in hiring. Following these revelations, the company is hiring more and more people who never even went to college. Read more
 
user1804599
11:01 AM
(.languages) >> (`intersection` languages) >> empty >> (not) :>
 
whoo! a donation! really!
£1 :(
but :)
 
Ven
not is less flexible, eh
 
Ven
() + `` is really great.
@rightfold have you seen perl 6 ?
 
user1804599
Kinda. I like junctions.
 
user1804599
11:04 AM
But I don't like sigil invariance. :(
 
Ven
"invariance" ?
it just varies depending on the base variable's type, not the resulting one
 
Got back to hotel without getting soaked. It's blacker than the inside of coshhy's boots outside, but no rain yet.
 
user1804599
my @array = (1, 2, 3);
// @array[1] vs $array[1];
 
Ven
yea ? it's @array[1] in p6 and $array[1] in p5, right ?
 
user1804599
Yes.
 
user1804599
11:06 AM
But if x < $a | $b | $c { ... } is great.
 
Ven
my @a = ^5; for @a { .say }; will correctly iterate
but my $a = ^5; for $a { .say }; will only iterate once, because ^5 got itemized
 
user1804599
Dunno. Not looked into it that far.
 
user1804599
I like Perl 5.
 
Ven
I never learned perl 5. I got into perl 6 because it's quite fun.
And now I realize LS (through coco) has a lot of p6 things
 
user1804599
There is a Perl 6 to Go compiler, lel.
 
user1804599
11:08 AM
Also Perl 6 to JS.
 
Ven
hardly believable
and there's no p6 to js, really
Perlito is just really behind in terms of p6
 
fuck.
now MSVC ICEs on else if (x == y).
 
question
why can't we see things based on light that are smaller than someFactor * waveLengthOfLight ?
 
Ven
@rightfold I wrote some minor fun stuff in p6, and it looks cool, like a history.md generator or a simple game of life
 
@JohannesSchaub-litb /join ##c++ at freenode and back me up on this: ideone.com/WahOMG
 
11:14 AM
I love Perl. When running a P. script to analyze test data, I had plenty of time to nip across the pub and have two pints and steak+chips.
 
@JohannesSchaub-litb it's a snippet to show how it's not undefined-behavior to reinterpret_cast<T1> (&some_T2)->x; where T1 and T2 are layout-compatible
 
@LightnessRacesinOrbit more people with my sense of humus
 
@FilipRoséen-refp layout-compatible is so incredibly restricted, it's pointless to make anything based on it, and secondly, reinterpret_cast's behaviour is always implementation-defined.
 
@FilipRoséen-refp not sure whether that isn't UB
 
@DeadMG two pointers to two layout-compatible types are guaranteed to have the same value representation, and alignment
 
11:17 AM
@FilipRoséen-refp alias rules in C++ are broken. there can't be an argument about things based on them
 
@FilipRoséen-refp Yes, but practically nothing at all ever is layout-compatible with something else.
 
Well,whenever I see Perl, I smell mustard and vinegar.
 
so i can't tell whether it is UB or not
 
@DeadMG struct A { int x; } and struct B { int y; } sure are
 
user1804599
@Ven coool hyphens.
 
Ven
11:18 AM
@rightfold Yes :3
Hyphens will rule the world.
 
user1804599
Ewwwww.
 
@JohannesSchaub-litb it isn't. sure the alias rules in C++ are confusing, but this is clear if people could just start to understand the difference between an object and its value
 
user1804599
multi method instead of multimethod
 
user1804599
Ugh eww.
 
Ven
@rightfold because there's multi sub, multi regex too.
(and others)
 
user1804599
11:19 AM
Fuck Perl 6.
 
Ven
:D
 
@FilipRoséen-refp understanding that difference doesn't help with knowing whether that is UB or not
because that would require a consistent aliasing rule. but since it is broken..
 
Ven
Why would it be called multimethod ? That'd be ridiculous
 
Hehe... been trying to resist 'Fuck Perl' for a while, now.
 
the "undefined behavior" study group just has been started half a year ago or something, and they hasn't yet come to fix it
 
user1804599
11:20 AM
Because "multimethod" is the correct spelling of "multimethod."
 
@JohannesSchaub-litb yes, it does; those who say that it's UB says it's because of 3.10, and that you are "accessing" a type B through a pointer to A, which is not the case
 
user1804599
Whereas "multi method" is an incorrect spelling of "multimethod."
 
Ven
@rightfold expect lots of things can be multi, not only methods. Subs can, regex, rules, submethods, etc.
So, no, having a second version of all these declarators just for the multi prefix would be stupid
 
> Finally, let’s create a class that will be able to give a signal of the found solution. It will signal by throwing FoundGoal exception.
multi-ew
 
lol
 
11:22 AM
@FilipRoséen-refp since it is broken, i can't tell anything definite. my gut feeling says it should be well-formed. but since i'm not an expert in alias analyses optimizations, and the alias description in the spec is broken, i can't tell you what the intended behavior is
 
@LightnessRacesinOrbit Not as unobvious as overloading resolution rules for surrogate functions :) P.S. You're back to SO! Nice to see you again. — polkovnikov.ph 6 mins ago
what
 
lol
 
you guys wanna sanity check my answer there, while we're at it?
 
welcome!
 
thank you! it's good to be here!
 
user1804599
11:23 AM
@Ven No.
 
Ven
@LightnessRacesinOrbit he's the one donator guy
 
for you
 
user1804599
It would be good.
 
user1804599
Spelling errors are unacceptable.
 
@JohannesSchaub-litb the intended behavior is also quite clear; if the Standard didn't "want" two layout-compatible pointers to be completely "swappable" than the clause about them having the same value representation and alignment is completely irrelevant (that has nothing to do that layout-compatible types are usable in unions)
 
user1804599
11:23 AM
There should be multisub.
 
@FilipRoséen-refp two layout compatible pointers are not "completely swappable"
 
but people keep insisting on that layout-compatible only means something when it comes to unions, but as stated; that's not the case
 
Ven
@rightfold so, create another version of every keyword instead of a declarator modifier ?
 
@Ven nah the timing doesn't work out
 
@JohannesSchaub-litb I think you read that wrong, the quotations are there for a reason
 
11:24 AM
(if you mean "interchangable in all contexts except for raising type errors" by that)
 
Ven
@LightnessRacesinOrbit well, be glad to know there's a least 2 person that enjoy you being on SO !
 
@JohannesSchaub-litb the underlying value is interchangable between the two, that's what I mean.
 
@FilipRoséen-refp it would not be completely irrelevant
it would help people who are willing to rely on undefined behavior to have some reliance on their code to "just work" on their implementation
 
ugh, Alf's on his auto main() -> int warpath again
 
Ven
:17082208 1) the donation guy 2) the welcome back guy
 
11:26 AM
@Ven :)
 
@LightnessRacesinOrbit quick, linkz !!
 
@JohannesSchaub-litb possibly, but I doubt that that is the intention
 
Ven
auto main T_t
 
@Ven yeah it was a funny response to when I thought you meant 1) the welcome back guy, 2) me, implying that I do not enjoy being here
 
always fun to see same people rage on certain things ^^
 
11:27 AM
but I realised I misinterpreted
 
@FilipRoséen-refp layout compatibility is normatively used in "initial sequence" in unions
 
user1804599
@Ven Exactly.
 
@JohannesSchaub-litb but what has that to do with the value representation of pointers to layout-compatible types?
 
Ven
@rightfold I think that's stupid
 
they could hardly say "there exist layout compatible types." and leave it at that. hence they say what those are intended to be.
 
Ven
11:28 AM
Good thing we don't do it like that with arrows in LS
with 32 arrows, we'd be in trouble to find names.
 
@JohannesSchaub-litb the value representation of the pointer has little to do with the definition of layout-compatible, and their usage in a union
 
but they are just used in the initial sequence stuff (and possible at other places). but not in the aliasing rule, although I would see not much problems with that. but once again, i'm not an expert on compiler optimizations
 
Simply because UB has to happen at some point in time, and forgetting to release memory or call a destructor does not happen at any point in time. Sorry but that's total nonsense! A program's behaviour is either defined or undefined; this property does not blink into existence at any one point in time and then blink out again, and you certainly can't come to a "this is not UB" conclusion based on some piece of code not being executing. That's like saying omitting a return statement in a function returning non-void cannot possibly be UB because it's the lack of a thing, yet it is UB. — Lightness Races in Orbit 1 min ago
right?
 
user1804599
@Ven I do not.
 
Ven
@rightfold Then we disagree, no problem
 
11:29 AM
fuck chat.stackoverflow for rending quotes > with the same background color as the normal text
@LightnessRacesinOrbit I couldn't figure out why you were being som schizo at first
 
user1804599
@Ven You mean -> ~> --> ~~> !-> !~> !--> !~~> <~~! <--! <~! <-! <~~ <-- <~ <-? What other combinations could there be?
 
Ven
@rightfold I mean with generators :)
 
user1804599
:D
 
Ven
:DDDD, indeed.
 
user1804599
I don't see how naming is a problem here, though.
 
Ven
11:31 AM
exactly because we don't use names
 
user1804599
"Curried this-binding void-returning generator."
 
Ven
though, really, you can write not -> and it'll work the same
(just for the joke "not function but procedure", sigh)
 
user1804599
There is !function already.
 
Spintires is now on Steam
 
Ven
@rightfold ! is not.
 
11:33 AM
if anyone likes offroad stuff, this is the goto game now
you just can't go wrong with it
 
Ven
@rightfold Exactly. You put spaces here because they're qualifiers
 
user1804599
@Ven lol
 
as if the simulation wasn't realistic enough, it also looks like a pretty motherfucker
 
Ven
The water looks bad
The rock looks bad.
Why can't I have realistic rocks ?!?
 
11:35 AM
that truck is going to fall
 
because you're the only one looking at the rock in that image
 
Ven
fair enough
 
stupid driver
 
I'm not into offroad but I still played it when I got the chance
it's really fun to see those wheels doing stuff like that
 
Ven
age of mythology all day erryday since 2002.
 
11:36 AM
@AlexM. you mean spinning?
 
WOW. That was well worth the watch/wait. OCR-ing private details cross-site using timing attacks in FFOX. (youtube.com/watch?v=KcOQfYlyIqw)
In reasonable real-time
 
@Jefffrey yeah, that's definitely what I meant :P
 
:)
 
@FilipRoséen-refp teehee
@deepdive: It's not bad, but their C++ and "C++0x" support is stuck in the dark ages of GCC 4.8.1 (or GCC 4.7.2, if you make the mistake of choosing "C++11" as if that makes sense or something). Coliru is kept up-to-date and is the online compiler of choice of the Lounge. As a fallback I use ideone.com and then codepad.org in an emergency. — Lightness Races in Orbit 1 min ago
 
I like how LWS still says "Service temporarily under maintenance, in read-only mode. Please come back later."
 
Ven
11:38 AM
ideone has lots of languages tho
Miaou :/ ? really ?
 
I can't call replace on a stringstream can I?
 
Jun 1 at 18:53, by Bartek Banachewicz
btw here is LoungeChat replacement that actually works
 
Ven
this is npm naming 101
 
It seems it was already mentioned...
 
Xeo
@LightnessRacesinOrbit Take it by value in the assignment op
 
11:41 AM
 
@sehe define "still"
 
@sehe haha, well that was not only offroad but also offmap
big rigs spawns the funniest reviews ever
 
@LightnessRacesinOrbit tell me a good reason why people should be able to see deleted questions in a user's profile
 
@HamZa the auto scrolling is really bad, and all images have skewed aspect ratios. I'm not convinced the chat product "actually works"!?
 
@Xeo nope that attempts to call copy ctor, even if it's deleted - coliru.stacked-crooked.com/a/71171c2fb9d1da1b coliru.stacked-crooked.com/a/956755546995959b
@Jefffrey the same reason I can see deleted questions with a URL. well, ok, that argument is not particularly valid. but I just want to dammit
 
11:45 AM
yeah me too
 
@sehe I think it's a great start and since it's opensource I'd think that would get fixed soon
 
if you have semi-solid reasons propose it to meta pls
 
@Xeo more or less every approach I tried was along those lines and all resulted in a copy ctor call attempt
 
I have a spare upvote to give
 
@Jefffrey pretty sure it's been requested before
 
11:46 AM
cannot find
oh wait
meta.se
 
Xeo
@LightnessRacesinOrbit Oh, hm
 
@sehe haha, shiiiet
 
How on earth is this "too broad"????! — Lightness Races in Orbit 5 secs ago
 
Hah. My skeptics edit got accepted. skeptics.stackexchange.com/posts/9667/revisions I feel so contributy now
 
121
Q: Building an archive of deleted questions

PëkkaBack when the first discussion about deleted questions came up, I promised to look into building an official unofficial read-only archive for good deleted SE content. I had a plan to build something like this: Each link would point to a 1:1 scraped StackOverflow (or other SE network) deleted ...

too bad this was discontinued
 
11:49 AM
Contribooty.
 
robot
MSVC ICEs on continue for me today.
add that to your collection.
 
@sehe The solution to that riddle: i.imgur.com/Q7WTPI8.png
 
fuck yeah, 100 upvotes on my answer
my first gold badge that's not for consecutive daily visits
 
Ven
@AlexM. 100 upvotes ? :v
 
it's on code golf :(
but still
 
Ven
12:03 PM
link
 
hmm
for some reason, preprocessing to a file does not function for that TU.
 
100
A: Write program in your favorite language in another language

Alex M.C in C++ #include <stdio.h> int main(int argc, char** argv) { printf("Hello world!\n"); return 0; }

 
Ven
ahahhahaa.
 
Added to the list of people who should never contact me again: amateur sleuths hoping I can help them prove Gerry McCann killed his daughter
I wonder what the actual back story there is... o.O
@AlexM. cheap-ass :)
 
well it is a valid answer :P
 
Ven
12:05 PM
Cheap one.
 
Valid in C, C++, Objective-C, and Objective-C++! What a wonderfully polyglot answer. — nneonneo Mar 23 at 0:23
I just can't argue with that
 
Ven
that c / x86 asm Oo
 
meanwhile, I notice this
> visited 666 days
what could it mean? :O
 
ba dum tschhh
but you may be right, if you consider this instead
> 305 consecutive
 
Ven
12:11 PM
I had a 500+ on github ... I'll gladly take your life.
 
@Mgetz what do you mean?
 
so apparently MS's reluctance to implement all the C11 stuff was because their CRT was utter shit (you knew this)
 
ever since I lost my chance to get 100 consecutive days at 98 days because I had fun at the beach I promised myself I'll go through storms and heat
through water and fire
through whatever nature throws at me
only to check in on SE
 
Ven
wat
 
> visited 1053 days, 534 consecutive
I'm not even trying.
 
Ven
12:13 PM
wat.
 
bows down
as expected of jefffrey senpai
 
Ven
and still only 30k :B
you're just coming one minute a day
 
I'm a newb
And I mainly come for the lounge
 
@AlexM. you're a noob?
> 1219 days, 375 consecutive
@Jefffrey free cookies
 
yaaay
 
12:17 PM
user image
3
Too good
 
> 528 days, 101 consecutive
I'm the noobiest
 
Ven
visited 538 days, 17 consecutive.
But I have my 100 days, sooo.
 
at least you have got a "life"
whatever that means
 
(psst. we all do. some just fill it with quality community effort!)
 
@Ven I have my hundred days... it's the only gold badge I have so I'm the real n00b here
 
12:20 PM
> * <random>'s binomial_distribution::max() used to tell filthy lies (DevDiv#863998). The lies have been carefully washed and autoclaved.
lol
 
@sehe :(
 
Xeo
@AndyProwl "4 consecutive" because I forgot to log on on Saturday :(
 
@Xeo you win
 
Xeo
@sehe I've been on SO for 10 days more than you, apparently.
 
holy shit
I've just realized how many 500 days really are
 
12:28 PM
@Xeo I admit juniority to your excellence
 
I have problems.
 
s/problems/challenges/
 
@sehe ah, yeah. I think @dystroy is going to disable that
I pointed it out to him
This is fun, by the way (Look, I wrote C++ for fun!!)
 
user1804599
@BartekBanachewicz Voldemort types! \o/
 
Shit. RF beat me to it
 
12:33 PM
mhm! :)
 
user1804599
@sehe nice :)
 
Officially C++14 gets "not-terribly-bad" badge
I might even write some code in it.
can I use that in VS 14?
 
lol. You can. With about the same reliability as any other C++11 code snippet :)
 
user1804599
@BartekBanachewicz No.
 
bummer.
why doesn't return struct { int x, y } { 0, 0 }; work though?
 
12:37 PM
not sure how you expect that to work
what on earth is the calling scope supposed to do with it?!
 
inb4 temporary
 
@LightnessRacesinOrbit exactly the same it did with the first example.
I can have unnamed instance or unnamed type, but not both.
 
user1804599
@BartekBanachewicz Because C++ is not Go.
 
yeah but I mean what's the reason for disallowing that?
 
12:39 PM
I can instantiate anonymous type.
Why do I need a name for the instance, then, if I can instantiate a named type without it?
 
Xeo
Teehee~
 
@R.MartinhoFernandes oh dam
 
Xeo
Your foo_impl with Score<10> is broken for classes that define an operator-> to themselves btw :3
(same for the others, really)
 
@BartekBanachewicz return (struct { int x, y; }){ 0, 0 }, although it warns. :D
(And I am pretty sure it's correct in warning about it :P)
 
12:42 PM
haaa
oooh.
:(
 
@Xeo Or not.
 
@Xeo err.. that's a feature!
I'm teaching people not to do that :p
 
@Griwes bummer
@Xeo is that unfixable?
 
@BartekBanachewicz what first example
 
decltype sfinae is so convenient that it feel wrong to use it
 
user1804599
12:44 PM
It is not really useful in a language with a nominative type system.
 
12 mins ago, by Bartek Banachewicz
This is fun, by the way (Look, I wrote C++ for fun!!)
 
oh, hidden behind a link
Go fuck
 
Oh wait, he wrote overlapping scores.
 
right, using links to show snippets of code is banned now?
shall I use screen-tall blocks?
 
@Griwes That's an extension, I think.
 
12:46 PM
@LightnessRacesinOrbit lol
 
@BartekBanachewicz it's not banned it's just hopelessly retarded to expect me to have seen it
(not really)
 
Jun 8 at 4:00, by Lightness Races in Orbit
I'm going to have to start using that one
 
@R.MartinhoFernandes Would make sense, yeah.
 
@DeadMG waaait, is := assignment also on type level?
 
12:50 PM
I like stuff like this
The Taman Shud Case, also known as the Mystery of the Somerton Man, is an unsolved case of an unidentified man found dead at 6:30 a.m., 1 December 1948, on Somerton beach in Adelaide, South Australia. It is named after a phrase, tamam shud, meaning "ended" or "finished" in Persian, on a scrap of the final page of The Rubaiyat, found in the hidden pocket of the man's trousers. Considered "one of Australia's most profound mysteries" at the time, the case has been the subject of intense speculation over the years regarding the identity of the victim, the events leading up to his death, a...
 
@BartekBanachewicz What do you mean, also on type level?
 
@DeadMG only on type level?
 
user1804599
@BartekBanachewicz he uses := for everything.
 
user1804599
Hello world in Wide is := := := := := := :=.
 
are there any other type level operators?
 
12:51 PM
currently, I use both member := type; and member := initializer;.
 
Xeo
@R.MartinhoFernandes ye
 
@rightfold Is that better than auto auto(auto auto) { auto; }?
 
@BartekBanachewicz I have no idea what you are talking about.
@rightfold I only use it for initialization, although it could be more explicit what you're initializing in some contexts.
 
@DeadMG like type { x := (something like static if) ? int : long; }
are those type thingies type-level expressions?
that's what := suggests honestly
 
not currently.
 
12:53 PM
@BartekBanachewicz My vaporware language will do that :3
Types Are Values!
 
but stuff like member-access is a type-level expression right now.
 
@Griwes like in Terra :)
@DeadMG I see.
 
so if you do x := std.vector(int);, then std.vector(int) is an expression that yields a type.
unifying types and expressions makes the grammar considerably simpler and removes quite a few problems, I found.
 
@BartekBanachewicz Can you do type foo = type; foo bar = int; bar i = 0;-ish thing in it?
 
as for more complex logic, then I haven't made any final decisions yet.
 
12:55 PM
 
This list of unsolved deaths includes notable cases where victims have been murdered or have died under unsolved circumstances, including murders committed by unknown serial killers. The mysteriously-deceased are listed chronologically by year. (For 'serial killer cases' which span multiple years, entries are listed under the year the first murder took place.) Unsolved murders 1800–1899 * Benjamin Bathurst, a British diplomatic envoy who disappeared on or around 25 November 1809 in the town of Perleberg, Germany, and who was likely murdered. * Mary Rogers, also known as the "Beautiful C...
shit, this is like a stockpile of awesomeness
 
Xeo
@DeadMG What about, say, foo(type){ a := type(int); b := type(a); }, can you diagnose that yet? Or can you overload functions to yield a type on one overload, and a value on another?
 

« first day (1334 days earlier)      last day (3616 days later) »