« first day (2203 days earlier)      last day (2750 days later) » 

11:04 AM
user image
7
 
@Shoe Clinton wasn't confirmed as the democratic candidate until June...
 
11:26 AM
@AlexM. mail.google’s server DNS address could not be found. - I'm disappointed
 
@melak47 give it time
 
user1804599
When I saw this question in HNQ I though it was going to be on rpg.SE... :-) — R.. yesterday
 
@AlexM. so will google proper be available at www.google soon? :D
 
@melak47 heres one domains.google/#
 
should be just https://google/
 
11:28 AM
com.google/en
 
ewww
 
lol java package names can now be urls :v
 
user1804599
> Opinions are not my own. They are beamed to me by aliens.
 
Tried my new whey brotein /cc @GundolfGundelfinger, was p good (peanut + cocoa flavor)
 
@melak47 Still waiting for #include <url>, which would still be a standard-compliant extension.
 
11:41 AM
@Morwenn would be neat for header only libs on coliru :D
 
@melak47 Exactly my thought. Maybe @StackedCrooked could hijack something like this :p
 
we'll just add this preprocessor-preprocessor...
 
Maybe with some restrictions on the sources, like GitHub and stuff.
@melak47 Honestly, he'd just have to parse the #includes, download the files in a temp folder and replace the file name in the #include directive. I guess it can be done.
Unless I'm missing something.
 
should work for single header stuff
 
Yup.
 
11:54 AM
@Morwenn Not even that, just download it into memory and work with it as if you were working with a mmaped file.
 
F# can do things like that with type providers
i.e. download resources from the web and create types based on them at compile time
^ downloads sample JSON for London and builds types that fit that data and at runtime it works with San Fran data
 
Only 3 pages
35 pages!
Only on stackoverflow ...
 
@Telkitty what's on your avatar - a unicow?
 
unipiglet
like a ice cream cone on a pig
or an upside down ice cream in the shape of a pig
 
Ven
ice cream...
 
12:03 PM
I see
 
it has the shape of a hippo though
 
ARE YOU CALLING IT FAT?? ARE YOU??
 
nwp
it just has heavy bones
 
@Telkitty yes it is fat
or shit, can't tell
 
Sam
lol
 
12:15 PM
10
Q: Were there ice-cold whiskey vending machines in the 1950s?

RoboKarenThis image has been making the internets circuits: usually with the caption: An ice-cold whisky dispenser, sometimes found in offices. (1950s). Were there really such things? It seems photoshopped to me.

TIL
 
@Griwes my colleague says the mentioning of my name sounds negative. it would sound like "oh do you know that nerd, STL?". but I still like it :p
 
so
I have 3 hours to do my homework
I don't have Windows 7 VM to install VS
the ISO is downloading too slowly
what do
 
nwp
just dump your homework question on SO like everyone else
 
I need VS 2015 and newest C# ASP.NET MVC
@nwp it has a lot of things that I need
 
nwp
just develop with gcc and try it here to make sure it works?
wait, C#
never mind, no clue then
 
12:26 PM
turn in your homework the next time
 
I need it today because we'll work on it
 
@BartekBanachewicz try the VS15 preview wub installer? :/
 
good luck then hope youll make it
 
@melak47 I don't have an OS for it
 
does your uni have windows server things you can remote sign into?
 
nwp
12:28 PM
or pc rooms you can go to that have all the stuff installed required to do course work
 
ah fuck
@melak47 that would be a good idea if I had teamviewer on my work PC or PC at home
forgot about that dammit
 
I was thinking about plain RDP
into a uni machine
 
well we don't have publicly available servers here
 
VS Code is cross platform and has support for asp
 
but w/e
 
12:29 PM
maybe youll find sth useful there
 
@AlexM. really?
 
yes asp is supported
 
ah right there's this Core thing
the tutor said it's slightly different from the regular one tho
 
Ven
very different
 
I'd just skip this week if I were you
nothing good ever came from rushing things the last minute
speaking from XP
but it was my XP
maybe yours is diff
 
12:30 PM
well I still have 4.5 hours
oh someone said that he doesn't check the homework at all and just wants the end result
 
I wouldn't be able to make it, just installing VS with all its things would take at least 30 mins
and you don't even have the OS installed
you need to download it too
 
@AlexM. I will work on the lab machine
that one has VS ready
we were supposed to work at home and then bring it and extend here
 
I meant the 4.5 hours limit
 
nwp
well, if you go to the lab now it should be fine
unless you take your bike
 
12:36 PM
I can't go there yet
I am at uni, but on different classes
I don't have to do anything on those classes, just sit there and fuck around though
for 5 hours
 
Ell
Okay I wrote factorial using hylo
Now time to write fib
 
user1804599
yolomorphism
 
1:03 PM
@sehe You used a term in one of your answers once, which describes a property of e.g. a language that isn't taught but has to be picked up by making a mistake once. Do you remember the word?
 
Ell
My lecturer: dynamic programming is very difficult! Though I learned It at the age of 10, it took me 3 months to understand it
>.<
 
@Telkitty Of course ice cream is fat. All cream is fat.
 
@ell what are you doing?
and why aren't you green any more?
 
this semester i visit "foundation of language technology" and for about 50% of the time all he did today was to explain how to call and define functions in python, and how it has lists, tuples and strings. for master students of CS -.-
 
@JohannesSchaub-litb it's important to get the foundations right!
 
1:08 PM
@JohannesSchaub-litb Brilliant. Next week, you're going to get iteration, starting from the Fortran DO loop...
 
luls i guess so
well it's not about programming languages but about natural languages
 
@JohannesSchaub-litb why waste their time
 
the only reason he explains python is because he uses the NLTK package
 
teach them via recursion first
 
@JerryCoffin yes in fact next week he's going to explain the loops, he said
 
Ell
1:12 PM
@thecoshman I am green :(
 
@Ell no... slurple the purple
bluey purple
 
clojure has no native pattern matching?
meh
 
@JohannesSchaub-litb lol
 
pattern matching <3
 
If I wanted to make it negative, I'd say "this guy has stolen a bug report from me, reporting it three years before I found the issue!". :P
 
1:19 PM
haha xD
 
also lisps need infix notation from haskell
seriously
 
@Griwes "Look at that! The whole band is out of step except my Billy."
 
lol that pragma crash thing
 
Ven
I got C++ completion to work on Emacs/Spacemacs \o/
 
1:21 PM
@BartekBanachewicz I thought lisp worked with rpn?
 
Ven
no. it's polish.
RPN would be (3 4 +). Weird lisp.
@BartekBanachewicz there are modes to do that in every single Lisp I know
 
@Ven how to in clojure?
 
Ven
ah, not exactly a lisp then..;P
 
(defn check [a, b, c]
    (if (and (> c a ) (> c b))
        -1
        (if (not= (mod c (gcd a b)) 0)
            -1
            (if (or (= c a) (= c b))
                1
                (solveOne a b c)
            )
        )
    )
)
I guess this isn't very idiomatic
@Ven I can't use any libraries so no go
 
Ven
lol.
If you can't use packages, don't ask for help
 
1:24 PM
@Ven oh, you mean RRPN :P
 
Ven
Cocopolish ;P
 
@Ven well fuck you too
 
Ven
:)
 
@Columbo Wow. Is there more hints? I'm thinking of "rite of passage", "acid test"
 
user1804599
@BartekBanachewicz bikeshed
 
1:29 PM
> Removing auto_ptr, random_shuffle(), And Old <functional> Stuff N4190 No (kept for backwards compatibility)
grrrr libstdc++
 
Ell
@Ven catch up ;)
 
Ven
to what?
 
Ell
To everybody else who has it working already I guess vOv
Idk man
 
@Ell you're purpel for me
which sounds way funnier than "purple"
 
Ell
1:35 PM
I'm purple for everybody apart from me
 
nwp
@Ell no, you are green for me
I like how my gravatar never changes.
 
Ell
Oh right.
 
Ven
@Ell There aren't many IDEs that correctly work with qibuild and multi-root project stuff
 
f5ed, still slurple
 
Ell
@Ven fair point
YMCD is too slow for me
 
1:43 PM
@Ell I see you as...wait, that might be seen as offensive.
 
Ell
xD
 
re the caching website: "advice may be invalid due to caching".. I disagree
if it's invalid, you can still blame caching!
so, after all it's valid
 
nwp
@JohannesSchaub-litb it says "should", not "can"
 
dunno what to make up of this. i think one can conclude it may not be invalid due to caching, since that would yield to contradiction?
 
Always blame caching
If it's not cachings fault now, it actually is, you're just getting cached responses that are fooling you
 
1:48 PM
@nwp i think it does not change the validity of my argument
 
@JohannesSchaub-litb "This sentence is false."
 
@JerryCoffin yes that kind of thing. i remember reading about that on wikipedia
 
paradoxs?
 
@thecoshman Paraduxx
 
question: is this code valid?
unsigned char x = (&x, x);
 
Ven
1:52 PM
no
x is still uninitialized
 
do you mean after that declaration or somewhere in it?
are you saying that it's valid code that leaves x with an indeterminate value, or do you say that it causes undefined behavior?
 
@thecoshman paradii
 
@JohannesSchaub-litb if this is a scenario with preceding zero-init, yeah
 
no zero init tricks
suppose it appears at local scope as an auto variable
 
Looks like reading an indeterminate value.
 
1:55 PM
unfortunately I don’t remember the details around unsigned char
 
Ven
@JohannesSchaub-litb UB – it reads x uninitialized.
Except if there are special rules for unsigned char indeed ;-)
 
how does it differ from unsigned char x = x;?
 
Ven
it doesn't.
 
47
Q: Does initialization entail lvalue-to-rvalue conversion? Is `int x = x;` UB?

Kerrek SBThe C++ standard contains a semi-famous example of "surprising" name lookup in 3.3.2, "Point of declaration": int x = x; This initializes x with itself, which (being a primitive type) is uninitialized and thus has an indeterminate value (assuming it is an automatic variable). Is this actually...

I remember this
 
no DR lawyer tricks
 
2:02 PM
one of the answers is yours BTW
2
 
Ven
^ :D
 
@AndyProwl no Johannes tricks
 
@sehe That's pretty good. I saw the answer fairly recently (at most one or two months ago), I'll check if it was another one, but I recall "rite of passage". Thanks!
 
2:21 PM
@Rerito Neat, mine is cookie lol
 
2:36 PM
weird.. recent drafts allow reading unsigned char values even if they have not been given to operator& before
they added rules to make that undefined, but removed it in recent drafts, it seems
so the above is well defined even if we remove the &x!?
 
@JohannesSchaub-litb Does x have static storage duration? If so, we're back to pretty much a question you asked before.
 
> > and so I was correct solely through the power of being stupid.
> what an inspirational story
 
@JerryCoffin auto storage duration
 
@JohannesSchaub-litb In that case, I think it's defined behavior that initializes x to an indeterminate value.
In short, not significantly different from just int x;
 
user1804599
STUPID
 
2:54 PM
i sent something to std-discussion
 
regarding which hepatitis?
 
Ven
Hepatitis C++.
 
hepatitis.. sounds like a special form of HEPA filters used by dust-allergicians
 
@JerryCoffin I think it is (meant to be) UB
18
A: Does initialization entail lvalue-to-rvalue conversion? Is `int x = x;` UB?

Andy ProwlUPDATE: Following the discussion in the comments, I added some more evidence at the end of this answer. Disclaimer: I admit this answer is rather speculative. The current formulation of the C++11 Standard, on the other hand, does not seem to allow for a more formal answer. In the context of...

 
@AndyProwl With int as in that question, the story changes substantially. There are special rules for unsigned char that say it can't have any padding bits, and therefore no trap representations.
 
3:03 PM
Hm, all right, didn't know that
That answer of mine I mostly forgot and even have trouble going through right now did indeed sound too easy for C++
 
@AndyProwl "For narrow character types, all bits of the object representation participate in the value representation. For unsigned narrow character types, each possible bit pattern of the value representation represents a distinct number. These requirements do not hold for other types."
 
@JerryCoffin Okay, not sure what that really means though
 
user1804599
@Ell XD
 
I mean I read it 3 times
 
user1804599
3:06 PM
off-by-one error
 
Ell
this is a bug right? :V
 
user1804599
no
 
user1804599
it's called "double-struck capital z"
 
user1804599
not "mathematical double-struck capital z"
 
3:07 PM
In particular it is not clear to me how that paragraph makes the story different for those types than for int
 
Ell
but, why does every other letter have a "mathematical" variant but not z?
 
@AndyProwl We have three teams of 6-8 people with the distributions above working on the same product. (And a bunch more similar teams working on other products)
 
@R.MartinhoFernandes What do you mean by "the distributions above"?
 
@AndyProwl one QA, one UI, one UX, the rest devs.
 
ah, okay
 
user1804599
3:08 PM
@Ell probably historic reasons
 
user1804599
like Z was added in earlier version or something
 
@AndyProwl "above" made sense when I wrote the message, but now that I pressed 'send' it's too far above.
 
@AndyProwl An int (for example) can contain not only the bits that represent the value, but some other padding bits. Some patterns of the padding bits can represent "trap representations", which can (for example) through a hardware exception if you try to read them. An unsigned char, however, is not allowed to have any padding bits, so any bit pattern you put into an unsigned char just results in a number. Thus, you can read an uninitialized one, and just get some number.
 
@R.MartinhoFernandes Yeah, I figured
 
@rightfold What is your current work/study situation?
 
user1804599
3:09 PM
I work.
 
Roughly what do you do there?
 
@JerryCoffin I see
 
user1804599
@fredoverflow I fix bugs in shitty web apps
 
@rightfold Hysterical reasons.
 
user1804599
 
3:11 PM
@JerryCoffin The conclusion is true but the justification is not sufficient (though necessary).
 
@rightfold Do you like your work?
 
user1804599
no
 
@JerryCoffin Oh, you corrected that with the quote.
 
Ven
i thought you didn't work anymore
 
user1804599
I work until January.
 
Ven
3:13 PM
oh; okay :)
 
@R.MartinhoFernandes Yeah--the other post was just temporizing until I could find the right bit to quote. :-)
 
Ell
It's what I've used
I'm just surprised that there isn't a mathematical version
 
@Ell The ones in common use were added first (note that it's not only Z missing; so is C, H, N, P, Q, and R) because they were in use. The others were added for completion, and given better names that reflect their usage and not merely their appearance.
 
Ell
Oh yeah
I didn't realise it wasn't only Z >.<
 
3:20 PM
@rightfold What happens after that?
 
@Ell Also note that, weirdly enough, there are gaps in the code points for the "missing" letters.
 
user1804599
@fredoverflow I look for a new job.
 
Almost like they wanted to reencode them in those gaps.
@Ell One of my "will-probably-never-get-started" projects is to go through every single character one-by-one, research each one's history, and write small a blog posts about each (well, more like groups of characters with similar history in some cases).
 
Ell
Gosh, that is a formidable task
 
@R.MartinhoFernandes Yo, what's the term for when a word has the properties of itself?
 
3:28 PM
autological
 
Thank youuu
 
@Ell I have a few bookmarks saved for a few, and for a few others I have incomplete histories that need interviewing people that were there to figure out more.
@Ell I got the idea a while back when they made the archives from old meetings public.
It sounds fun, but time-consuming.
 
Ell
@R.MartinhoFernandes is autological autological? o.O
@R.MartinhoFernandes very time consuming. But I guess many similar characters would have the same history
so you could do it in chunks
 
@Ell "autological" is autological if "autological" expresses the property of a word expressing its own meaning.
The Grelling–Nelson paradox is a semantic self-referential paradox concerning the applicability to itself of the word "heterological", meaning "inapplicable to itself." It was formulated in 1908 by Kurt Grelling and Leonard Nelson and sometimes mistakenly attributed to the German philosopher and mathematician Hermann Weyl. It is thus occasionally called Weyl's paradox as well as Grelling's paradox. It is closely analogous to several other well-known paradoxes, in particular the barber paradox and Russell's paradox. == The paradox == Suppose one interprets the adjectives "autological" and...
 
lol dat pic
 
3:32 PM
(Check "arbitrary cases")
@EtiennedeMartel Also, fuck you, I don't want to get into this again chat.stackoverflow.com/search?q=paralogical&room=10
 
neologism used to be autological but then it became heterological
 
http://venturebeat.com/2016/10/27/facebook-releases-halloween-themed-reactions-and-live-video-snapchat-like-lenses/
Facebook is really bad at making something as well as google. but may be good at replication :P
 
@Columbo The only match using SO search
ℤ Character: ℤ U+2124
Name: DOUBLE-STRUCK CAPITAL Z
 
short has the properties of itself, right?
 
Ven
no. short is longer than long. :P
 
3:38 PM
long is a lie. didn't you know
 
Ven
I guess I should use long long from now on
 
just remember it won't become too long for gcc
 
I don't use long at all. Ever.
 
@JohannesSchaub-litb "short" is a textbook example.
 
I use size_t, [u]intXX_t, and (rarely) int
 
3:43 PM
ah i see
"example" is another example
or is it not. i'm not sure
 
@JohannesSchaub-litb Depends on context.
Like "loud".
 
(Or even "short", for that matter; depending on the font it can be really long, or even if spoken it can done really slow)
 
How long before we get to: "Why is 'abbreviation' such a long word?"
 
@R.MartinhoFernandes I am innocent!
 
3:45 PM
any Golang experts here?
 
s/Golang/gulag/
 
@JerryCoffin abbrev :P
 
or where can I ask a general question about it?
 
@JerryCoffin nope. I wanna know if there is a library for containers and algorithms (like the STL)
 
3:47 PM
golang has builtin growing arrays (I think) and hash maps
 
@fredoverflow yep
 
Without generics, such a library probably would be a hassle to use.
 
@JohannesSchaub-litb So, for example, in this sentence of yours, the first instance of "example" is autological, because you presented it as an example. The second one isn't because it isn't there as an example.
 
@R.MartinhoFernandes i see
 
3:52 PM
@sehe Yep - jackpot. I owe you one.
 
Cheers :)
 
Now, for example, if I rephrase that last message of mine, can I say that the second example of "example" is now autological because I just called it an example of "example"?
FUCK I'm trapped again.
FUCK FUCK FUCK
13
 
nwp
@R.MartinhoFernandes time to ask for a key to the front gate
 
Cheers indeed! :-) (This would be funnier if my dad wasn't an alcoholic)
(I'm kidding)
 
I'm like one of those cartoon robot characters that gets sidetracked to oblivion with stupid paradoxes.
It ain't easy being a cartoon robot, I tell you.
 
3:55 PM
(…and apologize in case I hurt anyone's feelings if their dad is alcoholic, but in this country that's more a sport than an illness, anyway)
@R.MartinhoFernandes I heard that a donkey died once because he couldn't decide which of the two identically looking piles of straw he should start eating from
Ahh, biblical allegories
 
@R.MartinhoFernandes don't worry. i think it's like with type incompleteness. autologicalness is a relational property
 
@JohannesSchaub-litb Yo. Still doing masters?
 
@R.MartinhoFernandes and if so, does that mean it was always autological because it was an example regardless of whether I used it as an example or not? Or that my reference made it autological ex post facto?
 
@JohannesSchaub-litb Wait, that takes two years in Germany right
How lame
:P
 
3:58 PM
@Columbo no need to rush
 
Is X an example of a letter if no one ever uses it as an example of a letter?
 
Code has this amazing ability to inspire real deep pure hate for someone you've never even met
 
Now this sounds like the tree in the forest thing.
(Ahaha, "sounds like", get it?)
 
Ell
lol
 
@JohannesSchaub-litb ... of course? You need a well paying job to get money to get coke and hookers. Every day without coke and hookers is a bad day. So I rush.
 
3:59 PM
@Columbo i already have a job
 

« first day (2203 days earlier)      last day (2750 days later) »