« first day (1328 days earlier)      last day (3620 days later) » 

5:00 PM
Oh, I just received a mail from DropBox to inform me of their new feature called webhooks.
 
@LightnessRacesinOrbit mexican food not huge? probably because nobody has had it properly yet
And avocados are terrible
 
well, not in general, you know what I mean
 
@crasic Oh I love avocados
 
and THE avocados are terrible
 
5:01 PM
just realised I have a couple in the fridge. and no salad. dammit
brb
 
I like extra spicy food
 
@crasic at chipotle?
 
I drove by a veggie stand the other day that was 10 avocados for $10
 
no mexican restaurant that I know of around me tho :(
 
sorry $1
$1!
 
5:01 PM
o.O
that's obscene
 
not at chipotle
 
poor farmers
 
I'm not a fan of really spicy stuff, it just overwhelms all the other flavors
 
outside of california
 
5:02 PM
Mexican is not spicy by definition
 
@AaronKyleKilleen yeah that's the best part
 
usually people make it spicy to cover their crap ingredients/preparation
 
I have a mustard that causes raw pain if I'm not careful
 
Salsa comes in all hotnesses
 
5:02 PM
after the hotness wears off I get to feel the other tastes too
the effect is nice
 
If Mexican is spicy you haven't tasted Indian yet...
 
hi
 
Indian food should be illegal
 
LOL
 
heyhey
screw you
 
5:03 PM
@LightnessRacesinOrbit like their software?
 
its amazing
 
ba dum tschh
 
(cos then all the crap programmers would die out HA HA)
 
LOL
 
Indian food doesn't look very appetizing to me
 
5:04 PM
I want to try ramen; there's only one restaurant where a japanese chef is doing the cooking and they don't serve ramen from what I saw
there's a restaurant that serves ramen at the mall but it looks rather... not legit
they have sake tho
when you ask for sake the girl there opens up this locker below the shelf and takes out a weird bottle, then pours a small amount, finally looking around then placing the bottle back
as if it's illegal to sell sake or something
which may be true
 
Once I asked an Indian colleague of mine why your food is so spicy, he said for reasons of economy. If food is spicy you eat less...
 
aside from beer, I haven't seen any other alcoholic drinks being served at the mall
 
maybe they don't have a license or something
a liqueur license in the US is costly
otherwise i think you'd see McDonalds sell beer
 
McDonald's here serves beer
KFC sells beer too
actually I think I saw KFC serve Bacardi rum once, but I may be remembering wrong
 
not here, and we have that stupid law that says you have to be 21 thanks to Mothers against drunk driving
 
5:08 PM
I know for sure it serves beer, they have the mainstream stuff like Heineken and Stella Artois
 
0
Q: Microsoft Visual Studio 2010 doesn't work

user3677169I've made a console application in VS 2010 in order to get the number of cores: This is the code: #include <iostream> #include "stdio.h" #include "stdafx.h" using namespace std; int main(){ FILE * fp; char res[128]; fp = popen("/bin/cat /proc/cpuinfo |grep -c '^processo...

no shit...
 
Subway doesn't sell beer
... or does it
I'll have to take a look
@AaronKyleKilleen yeah
it's a pity you don't have mothers against 16 year olds in the army and wars
instead you see alcohol being a bigger problem than that
sometimes I don't get the logic behind some of the american laws
 
ok anyone know, if I include a GPL cmake "findLIBRARY.cmake" module in my bsd released source, am I breaking any rules?
I think of it as a build tool configuration file and not source/part of the project
@AlexM. alcohol is super location specific
around here chipotle sells beer and margaritas
 
@AlexM. it's tied to highway funding from the federal government so the states don't have much of a choice. Back in the 70's they used to have drive through liqueur stores and they'd make you a big cocktail and people drank it in their car while they were driving.
hell our last president got a DUI
 
Liquor licenses are state specific
Like Someplaces a beer-only license is signficantly cheaper than a hard alcohol license
in some states you can't buy ANY liquor outside of a state-run store
its bannanas
We have a 2 am cutoff in CA
So all stores stop letting you buy Alcohol, and all bars must close at 2 am
 
5:14 PM
you can buy anything anywhere in Romania
 
we have some stupid laws that say you can't buy liqueur on sunday or some shit
 
feels good
 
Yes, well
we wait for alcohol
 
I mean our supermarkets organize beer festivals with 300+ kinds of beer from around the world
and invite you to buy as much as possible
 
That happens
beer fests all that
Just the random civil laws that restrict that
 
user3010322
5:14 PM
Huh.
 
user3010322
You know, for std::vector there's no .set( iterator, value )
 
the trade off is that alcohol has wierd laws
but I can buy a gun and a oz of weed no problem
 
user3010322
Question.
 
user3010322
Can I "make up" a member function pointer?
 
yeeeeehaaw
 
5:16 PM
what you got a doctor's prescription?
 
make up? out of thin air
No, its basically legal
"prescription"
$100 "examination fee"
Anyway, its all jacked up
 
oh so they pretty much hand them out to anyone who says they have a headache or something?
 
@ThePhD is this a real question?
 
anxiety is the usual go to
 
user3010322
It very much is.
 
user3010322
5:18 PM
I have some templated code upon which I do (object.*memfnpointer)( ... )
 
user3010322
I was wondering if I could make a memfnpointer that wasn't actually a member function, but just had object as its first parameter.
 
kludgy
 
user3010322
If I can't, I have no problem polluting the class with more SFINAE.
 
what's that acronym mean?
 
user3010322
Substitution Failure is not an Error
 
5:20 PM
If you use ->* you can use operator overloading
 
overload deref?
 
user3010322
@AaronKyleKilleen used with std::enable_if and other things which remove typedefs and things which would otherwise break code but instead only makes that function, struct, or any dependant code just not be considered / disappear
 
@crasic that sounds like a horrible idea
 
I didn't even know it was possible, I was asking @ecatmur
 
user3010322
Yeah, that does sound like an exceptionally shitty idea.
 
user3010322
5:22 PM
SFINAE it is.
 
You can overload ->* but not .*
 
nutty
 
@ThePhD here's almost what you need to know: parashift.com/c++-faq/pointers-to-members.html
 
user3010322
I figured it out...
 
I remember seeing some code out there that uses overloaded arrow-star; not sure what it was though
 
5:26 PM
so ->* is considered one symbol and not two?
 
user3010322
Hm.
 
@AaronKyleKilleen totally
 
ooh... a 6TB internal hard drive for... 290 USD...
 
it's just odd there's a specific symbol for that, I mean it seems you'd use it if you had a pointer to a class that has a member that is a pointer. but how often does that happen?
 
I can use a pair of those. Don't wanna pay for it though. :)
 
5:35 PM
I don't even know what I'd do with all that space
maybe a movie collection or something
 
@AaronKyleKilleen It's not for that, it's for PTMs.
 
another acronym I don't understand
 
the link is half way up your screen
 
Hi everyone.
 
I was offered to play around on a tera-compute cluster
6tb of RAM
TB*
no idea what the fuck I would even start to do with that
 
5:46 PM
I'm having difficulty learning quick sort. If the pivot can be made from taking the average of other elements, does that mean the pivot does not actually have to occur in the list being sorted? e.g. {4,5,1,2} avg of 4,2 is 3 but 3 isn't in the list.
 
I'm trying to understand and play around with the structure of a class, so that I can easily pick up new classes. I just thought that playing around with "class array" would be a good beginner's starting point. — David 6 mins ago
Anybody get what he's saying?
 
blah blah programming
 
@Celeritas The pivot has to be one of the elements in the list.
 
-2
Q: Merge and synonymize undefined-behavior into language-lawyer

Ben VoigtApart from a handful of FAQs (like this C++ one) that provide an explanation of the term "Undefined Behavior" and its practical effects, all other uses of undefined-behavior are actually asking for a citation of some language specification which makes the behavior of a particular coding pattern w...

 
Is what I'm getting
 
5:48 PM
I don't think I'm adequately stating my case here. --^^^
 
@CatPlusPlus It seems he thinks arrays are classes.
 
@RobertHarvey Damn, you beat me to it.
I was just about to drop it here.
 
@FredOverflow they read somewhere that arr[n] is *(arr + n) and it broke their tiny mind
 
lol
 
@FredOverflow what about the median of 3 rule? e.g. stackoverflow.com/questions/13397497/…
 
5:50 PM
@Celeritas Median and average are not the same thing at all.
The median of 1, 2 and 99 is 2, whereas the average is 34.
 
oh jeeze
 
oh ya
 
Dammit the internets are broken again
 
everybody and their dog is scouring SSL for more low hanging fruit
 
there is a LOT of low hanging fruit
the libressl project proves that
 
5:53 PM
and by everybody I mean every national security agency from here to Peking
 
user784668
@Mgetz "Again"?
 
Honestly though, what do you expect
 
> /usr/local/include/reaver/mayfly/runner.h:170:100: error: cannot compile this l-value expression yet
Do I have to make an offering or what?
 
user3010322
Lol.
 
@crasic hopefully, people to stop using OpenSSL
 
5:55 PM
Its so ubiquitous and yet, how many major players that use openssl are donating to them for professional audits?
 
GnuTLS isn't that much better
 
user784668
@Mgetz The internets are broken since 1969.
 
And is also not a drop-in replacement
 
@crasic They've really stepped it up since Heartbleed.
 
@CatPlusPlus true, and worse I've seen references to OpenSSL in commit messages there
 
5:56 PM
Well no shit
 
@RobertHarvey from what I can tell looking at the tag, questions tagged [undefined-behavior] either were tagged by the asker, in which case [language-lawyer] would do, or by an editor who couldn't be bothered to cluebat them
 
But the point is that everyone is off in lalaland assuming this shit is all nice and good
and nobody puts up resources to make it what it should be
 
user1804599
Is it possible to say instance C a => D a where?
 
user1804599
How about constrainting the parameter of a where the kind of a is * -> *?
 
5:58 PM
X t => D (a t)? Dunno
 
user1804599
Well, that would make (a t) an instance of D, right?
 
Cat
is there any way that you could give me the G++ include paths for the teamcity server?
 
Can you imagine the non-low hanging fruit
how long you can hold on to a non-trivial exploit in openssl
its staggering
 
extreme programming lol
 
@crasic Having gone through that code once already... it's pretty pervasively bad coding
 
user1804599
6:01 PM
@FredOverflow lol
 
user784668
@crasic 16 years.
 
"In the first week of pruning the OpenSSL's codebase, more than 90,000 lines of C code had been removed from the fork"
holy shit
 
@CatPlusPlus Cheers.
 
security through obscurity meets its doppelganger
exploitation through obfuscation
 
user1804599
6:02 PM
Basically I have data T a and I want T to be an instance of C only when a is an instance of D.
 
user1804599
But I think it’s impossible.
 
user784668
@crasic Mostly in the form of removing support for OSes nobody uses, such as VMS, Windows and Linux.
 
Gotta leave that OS/2 branch
 
user784668
@crasic One of the developers runs OS/2 on his potato.
 
@rightfold instance (D a) => C (T a) should be it then
 
user1804599
6:04 PM
Doesn’t C require kind * -> * instead of *?
 
user1804599
11
Q: Type parameters constraints for instances of typeclasses with kind * -> *

roman-kashitsynSuppose I have Heap a type where Heap is type constructor of kind * -> *. Many basic operations on heap require the a type to be an instance of Ord type class. data Heap a = ... findMin :: Ord a => Heap a -> a deleteMin :: Ord a => Heap a -> Heap a I want to declare my Heap type as an instanc...

 
user1804599
Ah, found it.
 
Because of compiler injection exploits I've started the process of bootstrapping gcc-4.8 from the oldest available source
just to see how far I can get
or gcc, but 4.8 is my end goal
 
user784668
4.8 is old
 
user1804599
It would be funny if you could parameterise type classes on constraints.
 
user784668
6:07 PM
Any reason to not use 4.9?
 
Does 4.9 offer interesting new stuff?
(apart from colorized output)
 
Interesting new bugs
 
> G++ supports C++1y lambda capture initializers
 
ubsan
 
oh, and polymorphic lambda
 
6:11 PM
and regex finally
 
hell even Microsoft put out a CTP with C++1y lambda support
 
A little surprised that y'all are so quiet about the UB tag. If Ben's POV is really valid, I'll consider synonymizing the tags, but it seems to me like you'd be trading one problem for another.
 
we do not talk about UB
 
user784668
@RobertHarvey Have you considered the idea that maybe, just maybe, we don't care about the UB tag?
 
6:13 PM
I find that a little surprising.
Either you're already complete experts, and have no need to ever categorize questions this way, or ... ?
 
Looks like it has 3 uses: bash-a-noob, help-vampire bughunt, and actual UB
the 3rd use is synonymous with language-lawyer to me
 
@RobertHarvey Personally, it seems to me like he has a totally valid argument.
there's nothing interesting to say about UB beyond whether or not a given piece of code invokes it, and that pretty universally means language-lawyering.
 
Wouldn't synonymizing it with language-lawyer just push problems 1 and 2 into language-lawyer?
 
People don't tag their question UB for the same reason they don't tag their question MVP: they don't even know that their question is actually about that.
 
6:15 PM
what are problems 1 and 2?
 
bash-a-noob, help-vampire bughunt
 
Problem 1: We don't talk about problem 1.
Problem 2: See problem 1.
 
So what do you want to do about the tag?
 
well, it seems like we flat out don't care.
the quoted problems have nothing to do with what the question has been tagged.
 
0
Q: Basic compilation with MinGw standard 2011

LyrecoI had an error unexpected during my program compilation. (I must use standard 2011 to std::regex.) In my MinGw cmd, I go to the folder in which my programme is, and write: g++ -Wall -c -std=c++0x main.cpp here every thing is ok, but after when I write: g++ -Wall -o -std=c++0x main.exe...

lulz0r
 
6:17 PM
I find it hard to believe that acting or not acting in the suggested manner will have any effect on basically anyone, ever.
 
@DeadMG this
 
@RobertHarvey What's the deal?
 
32 mins ago, by Robert Harvey
-2
Q: Merge and synonymize undefined-behavior into language-lawyer

Ben VoigtApart from a handful of FAQs (like this C++ one) that provide an explanation of the term "Undefined Behavior" and its practical effects, all other uses of undefined-behavior are actually asking for a citation of some language specification which makes the behavior of a particular coding pattern w...

 
Oh god no what why????
That's ridiculous.
 

[undefined-behavior] tag. Verdict: Meh.

9 mins ago, 4 minutes total – 18 messages, 6 users, 0 stars

Bookmarked 3 mins ago by Robert Harvey

 
6:21 PM
it's not ridiculous, it's technically correct I feel, it's just totally pointless.
 
Oh, no, that makes sense actually.
Yep I'm with Puppy
 
Tell Ben about Puppy.
 
Are there any languages outside of C and C++ where UB applies?
 
user1804599
Python.
 
user784668
@Mysticial Most, I guess.
 
user1804599
6:23 PM
Haskell.
 
user1804599
D.
 
user1804599
x86-64 machine code.
 
call me a heretic, but I think that std::array isn't an especially useful replacement of C stack-based arrays.
 
I meant "real" languages.
:)
 
user784668
@Mysticial Real is the name of the football club that won the Champions League this year, not a programming language.
 
user1804599
6:24 PM
Basically any library can define anything as UB.
 
@Mysticial I think it's a fundamental principle, even if some standards don't use the term explicitly. I had this fight with HTML morons once, who refused to acknowledge that "behaviour that is not defined by a language standard / library API" is a concept that could possibly exist outside of C++, and tried to flag my answer to hell just for mentioning the concept because I was "obsessing over C++".
 
std::array is literally C arrays, except without the cruft like decay
 
@Fanael No, it's "Real Madrid"
 
user784668
Fake Madrid.
 
except that their size can't be inferred and the failure behavior isn't defined if your initializer has more elements than your array can hold
std::array<int, 4> foo = {4, 5, 6, 7, 8};
 
6:26 PM
@Fanael 4.9 is not in debian stable
 
Well. There's different levels of UB. There's the UB where the output is simply unspecified. Then there's the UB that could get you pregnant.
 
compare to: int foo[] = {4, 5, 6, 7, 8}
 
make_array is p trivial
 
user784668
@crasic Debian stale, is, as you can expect, stale.
 
I'll just leave this here
 
6:27 PM
I'm surprised Debian stable has any 4.x GCC
 
@LightnessRacesinOrbit Who's that?
 
user784668
@LightnessRacesinOrbit And what does Dianna Agron have to do with anything?
 
@EtiennedeMartel Dianna Agron, you gentile
rofl "Argon"
 
user784668
tpyo
2
 
user1804599
Who is Dianna Agron?
 
6:28 PM
@rightfold An individual.
 
user1804599
I prefer Dianna Helium.
 
@LightnessRacesinOrbit Who's that?
 
God, what, you people suddenly have never heard of Google? Fuck.
 
you posted the picture
 
LRIO watches Glee, that's the funny part
4
 
6:29 PM
And you're asking who it is. If you don't already know this famous individual, you can go and look her up.
 
user784668
@DeadMG It's not a person, it's a picture.
 
@CatPlusPlus How do you figure that?
Also, spend more time on imgur.
... and it's quite an impressive feat to find something even the Lounge won't bash, so congratulations. — Lightness Races in Orbit 6 secs ago
 
@Fanael Ceci n'est pas une pipe.
 
Fucking A, community build farm, Medium Priority = 5 minute wait, low priority = hour wait
so now I'm sitting here like an idiot because I uploaded with the wrong priority
 
6:35 PM
3 hours ago, by William Andrew Montgomery
@SamDeHaan And @Tony is the dick
I see how you think about me
I'm only good enough to serve as a penis
da fuck?
 
Is that... are you crying?
Tears of joy, right?
 
user784668
@TonyTheLion And a pretty crappy penis.
 
why crappy?
If I'm going to be a penis, I want to be the best and greatest penis there is.
3
 
user784668
But you can't just beat @DeadMG at being a dick.
7
 
he's a natural
 
6:37 PM
lol
 
@Fanael sbi wins by a country mile
 
I think you're up in the dick category too, fyi
This Lounge is a big gathering of dicks :P
 
what's this about penises?
 
inb4 flags
 
the weekly humble bundle is pretty damn awesome btw
 
6:41 PM
oh yeah
those pricks cancelled my surgery
 
@TonyTheLion :(
 
Prickity.
 
-5
Q: Is the SO policy on duplicates a pyramid scheme to reward seniority?

Guido AnselmiThe Problem One could take the SO obsession with marking questions as duplicates to be a pyramid scheme to increase the reputation of older users who have answered questions a long time ago and want to continue to receive 'income' from successive generations of programmers struggling with a issu...

 
@TonyTheLion beautiful women can't be dicks
 
6:43 PM
@LightnessRacesinOrbit You're nice when you want to be, but sometimes... dayumn.
 
@AlexM. the idea of calling a woman a "dick" never occured to me.
you just triggered the creation of new neurological pathways in my brain
 
So... SO is an emerging rentier state?
awesome
 
user1804599
Are there dynamically typed languages that do not support duck typing?
 
user1804599
I cannot imagine how that would work at all.
 
6:47 PM
new favourite website #probably-nsfw #not-safe-for-marriages
 
@LightnessRacesinOrbit hmmmm
 
@rightfold I want to say scheme
 
user1804599
Hmm.
 
@LightnessRacesinOrbit i see you like girls
 
lisp is such a monstrosity that it probably depends on which object implementation
but scheme is certainly very strongly typed
and dynamic
No implicit type conversions etc. etc.
 
user1804599
6:52 PM
Type conversions are not related to duck typing.
 
@StackedCrooked ^)^
 
duck typing is an implicit conversion based on compatible member interfaces
 
So while hunting up proof for Robert that doesn't meet the "tags can stand alone" criteria, I came across this question and tried to give it a real answer:
4
Q: C++ Using a reference to the variable being defined

ShdNxPossibly duplicate of: Using newly declared variable in initialization (int x = x+1)? Is the following code valid C++, according to the standard (discounting the ...s)? bool f(T& r) { if(...) { r = ...; return true; } return false; } T x = (f(x) ? x : T()); It...

 
of course its a nebulous term so maybe you can define exactly what you are looking for
 
Have I interpreted the relationship between 3.8 and 4.1 correctly?
 
user784668
6:53 PM
No.
 
I don't understand why you care about this tag, Ben.
 
autism
 
The tag is not really at issue here, it's just how I found this old question.
 
Yes, I understood that
 
The tag actually might be a useful repository of "questions in need of a new answer giving a Standard citation"... and then retag as language-lawyer in the process of giving that complete answer.
 
user1804599
6:57 PM
Cool, Swift has custom operators.
 
@BenVoigt That's ... not what tags are for.
probably can't stand well on its own without , but that doesn't mean they're synonyms and it doesn't mean that every question is about UB. I'd still like to have both.
But I also don't really give a flying fuck. :)
As for the answer you posted, sorry I'm not really in a standard-decoding mood
 
wait, thats what you guys are talking about?
thats retarded, who gives a shit
 
I try to avoid lvalue-to-rvalue conversion questions nowadays
 
Intersection non-null? keep both
or rather
 
6:59 PM
inverse of intersection
 
user1804599
@LightnessRacesinOrbit have tags imply other tags, such that if A implies B, you get B automatically if you add A. :P
 
@rightfold could
 
user1804599
Could be nice, actually.
 
user1804599
6:59 PM
could imply .
 
Too complex to make work nicely, but the principle is sound
 

« first day (1328 days earlier)      last day (3620 days later) »