« first day (1258 days earlier)      last day (3687 days later) » 

2:00 PM
@CatPlusPlus You're evil.
 
Xeo
@R.MartinhoFernandes Have an upboat.
 
Well, I believe it now. — Dan Nissenbaum 32 mins ago
Convinced 1 person today
@DeadMG you're the expert :|
 
on what in particular?
 
:D Toilets, apparently
Or, smelly shit
Your call
 
@Xeo Wait, it's not.
 
Xeo
2:03 PM
:(
 
01525654789 that's who I'm gonna call
 
@R.MartinhoFernandes And you're not evil enough!
 
Dunno anymore.
 
@DeadMG Looks like a phone number in Delft. Which is where I work. Should I call it?
 
2:04 PM
go ahead if you want to
 
@Xeo I'm deleting it because I don't have the time to cross-check everything.
Dunno what "Read an unsigned number in decimal notation." means.
 
Xeo
base 10?
 
readDec "7.3" works as expected (i.e. [(7, ".3")]), but readSigned readDec "7.3" doesn't (i.e. []).
 
Xeo
weird
 
Ha!
                       read'' r = do
                           (str,s) <- lex r
                           (n,"")  <- readPos str
                           return (n,s)
GHC is indeed buggy.
(There readPos is the argument with readDec)
 
2:11 PM
So much indent
 
It uses lex, which tries the entire language, and then expects a complete parse from the first lexeme.
 
Tonight (coz it's 1am) I am going to meet a friend who betrayed me ... together with another friends
I am calculating the chance of her cancelling ...
 
Hmm, that is quite the overengineering to add a bug to what should be simply read'' = readPos.
 
> finalize() is a hint to the JVM that it might be nice to execute your code at an unspecified time. This is good when you want code to mysteriously fail to run lol @Jessop
> Disclaimer: I've worked on a JVM implementation in the past. I hate finalizers.
 
2:28 PM
> a... HN... Worst dictatorship on this planet.
 
inb4 intel wankery
 
Does anyone know how to do a random number generator where I can define the numbers to choose from? I'm having some trouble cause the numbers aren't next to each other (think 1, 8, 250, 300, etc)
 
no
 
@AlexCastro add the set of numbers to a vector, randomly generate an index into it. boom.
 
2:34 PM
@TheForestAndTheTrees Yeah that looks like my answer. It'd be cool if the random generator could handle my case though :(
 
Xeo
@LightnessRacesinOrbit hahahaha
I do not know the answer, but your searchbox is vulnerable to XSS scripting (you can easily see it if you search <script>alert(1)</script> at your searchbox). It is highly recommended to close this security hole :) — Themis Beris 1 min ago
 
Oh no you can XSS yourself
 
@AlexCastro That's not a generator. That's a shuffle or select.
 
WTF moment
boost mpl range_c ist not a range of boost::mpl::int_
but of mpl_::integral_c
W T F
 
Hmpf.
 
2:48 PM
why would anyone do that
give me back 5 min of my life
 
Why is almost all of the content of <mutex> guarded by _GLIBCXX_USE_C99_STDINT_TR1 in GCC 4.8.2?
This is the MinGW from nuwen.net.
 
Did I mention writing distributions is painful as heck?
distribution_facade anyone?
 
Xeo
that doesn't look particularly painful
and I really don't see much to abstract away
 
@Xeo It's tons of boilerplate plus the totally fucked up foo.param(decltype(foo)(args...).param()) thing.
(line 27)
 
user1804599
World, hello!
 
3:12 PM
10
 
> I know proper RAII means safeguarding against nullpointers
 
Talking with sales,
 
I'm drinking a (one) lemon juice a day "to clean my system up". It's 4 days I don't poop and I feel just fine. I'm scared.
 
That's a shitty situation
 
@Jefffrey The shit must be leaving through other methods from your body. Possibly through the lounge.
 
3:21 PM
@BenjaminGruenbaum Awesome. :D
 
user1804599
@Nican though his mouth, duh.
 
@rightfold I keep looking at the small icon of your avatar, and my mind still believes it is that dark blue pony thing.
 
user1804599
Okay.
 
@BenjaminGruenbaum Oh god, I'm dying
 
@R.MartinhoFernandes Seems to me like writing a distribution would be non-trivial, facade or not. Randomness doesn't seem to be a simple or easily composable topic, like concurrency.
 
3:32 PM
@DeadMG It's perfectly ok to build new statistical distributions out of existing ones.
 
JBL
Mmmh. I think I remember a conversation here about std::async being broken, is it actually unusable?
 
@BenjaminGruenbaum that's sort of saddening to me
mainly because it reminds me of my freelancing years
oh god the horror
 
@BenjaminGruenbaum At some point my reaction would be: "You are all a bunch of idiots. No respect is due." leaves room.
 
I love it
rings true
 
I'm sure web designers go through that every day
 
3:36 PM
@R.MartinhoFernandes I think most of us go through it every day - we just started rationalizing it.
@AlexM. "make this more dynamic"
 
@BenjaminGruenbaum Then stop.
 
You have a strange way to phrase questions :) Assuming you want to know whether you can do these things: you can do what you need but you cannot do it in the way you suggest. 1. you can wait for the queue to be empty() 2. the destructor already does exactly this. But correctly :) See **is_idle() and wait_idle() implementations here - be sure to read (and think about!) the comments. Designing thread-aware interfaces is not so simple :) — sehe 1 min ago
 
> This isn't funny at all. I don't fucking find asian humour to be very good. More reason why they should stick to making my clothes and iphones.
Best comment.
 
@BenjaminGruenbaum well in my situations it was more like "make it faster. put a text box where I can write the number of threads for it to use. I'd like to use 100 threads at least."
 
@AlexM. did you tell them to buy a processor with 100 cores :D ?
 
3:38 PM
I just told them it would make no difference and eventually gave up and let them have it their way
for some reason, after entering that number in the text box, all of them would think the programs were faster
I fucked up so many tenses in those phrases that I'm scared to re-read them
 
@R.MartinhoFernandes If you ever do, I bet you could make this guy happier
 
@sehe Not the same thing.
 
Mmm. Looks like a different kind of distribution after all. That sampling thing is pretty cool.
Why is there no "fork to gist" button on Coliru yet? /cc @StackedCrooked
 
@R.MartinhoFernandes lol
 
3:49 PM
Hi all ,can any one tell me how to re install GCC compiler on SUSE linux
 
Did you perform some research?
 
yum something something
 
4:11 PM
nom nom
 
yum install gcc ?
 
yum yum cake
 
@R.MartinhoFernandes oh god
 
> It was not Cola, it was cock!
 
in what world do we live... eh
 
4:22 PM
huh
 
someone created a question "Gimme the codez..." and his answer to my question was "if you can help. help else gtfo"
 
well here's a first
tried to register for something as DeadMG but it was taken.
 
but if you want to here something funny
 
@LoïcFaure-Lacroix urlplz
@DeadMG I've had that a few times. More often than not it's because I registered myself years ago and had forgotten
 
-8
Q: Does any one know Android Logo Quiz Game with source code

user3469438Hi I want to make a game like that does any one know a source code to learn from it. I tried but I didn't got it

the comment got flagged by me :)
is it visible to everyone with 10k + rep?
 
4:28 PM
what's that word when you deliberately stir up trouble
 
not "controversial", but if there is a photo and it is X; it is going to cause controversy
inflammatory
thanks
 
no problem
 
@LoïcFaure-Lacroix not comments :(
72
Q: Did You Know... that 10k users can see deleted comments?

Ilmari KaronenI realized something curious recently: that the AJAX backend feature that lets moderators view deleted comments also works for any users with the "access to moderator tools" privilege (10k+ rep on graduated sites, 4k+ on beta sites). There's no official user interface to it (that I know of), but...

Okay thanks. Could it possibly be a problem with buffering? Or cookies... — user3316397 1 hour ago
 
4:35 PM
taking a picture of a photocamera interesting
next step, take a picture of a phone taking a picture of a camera
 
@LightnessRacesinOrbit well hey, their specialized rescue/recovery satellite equipment hasn't been connected to Facebook yet. What an omission!
 
@sehe untill facebook buy them for 2 billions
 
This is simply in the interest of getting the news to civilians as quickly as possible. It's a bootleg, so to say
@LoïcFaure-Lacroix Good job, you detected my allusion
@LightnessRacesinOrbit Looks strangely "intact". How on earth
 
That's it
 
4:37 PM
Create a kickstarter New social satelite project...
 
@sehe I don't understand your surprise. That's a tug carrying random industrial equipment in the Canary Islands
and that's a photographer's DSLR
 
@LightnessRacesinOrbit ......
 
@LightnessRacesinOrbit (src)
@sehe What's wrong, honey?
 
I thought it could have had to do with the missing flight. Why did you post it in the first place? Is it news-worthy?
(inb4 yeah, it's news that people take pictures of blabla bla)
 
@sehe Not everything has to involve Malaysia flight MH370, jesus
@sehe I found it amusing that a state media channel used an image of a photo on someone's camera to illustrate their article
 
4:42 PM
Not everything has to involve jesus, muppet
 
"Jesus, Muppet", a new play coming to a theatre near you!
 
@LightnessRacesinOrbit wokay. Earth shattering. Probably similar reasoning:
5 mins ago, by sehe
This is simply in the interest of getting the news to civilians as quickly as possible. It's a bootleg, so to say
 
Yes indeed
Funny how the Spanish media have been caught out in the sort of lies I'm sure all media makes habitually, when they claimed that rescue services were heading to the scene. Total bullshit, as it turns out, as there was no scene to head to.
 
@LightnessRacesinOrbit Checked for that, unfortunately.
 
pbf doesn't update often enough :(
 
4:50 PM
pbf?
 
The source of that vortex joke Lightness posted
 
oic
the real question is
why do I need to register... for evernote?
 
Dunno. I don't understand Evernote.
 
me neither
I just figured it was time I looked into using technology to solve a shortcoming of mine, which is poor organization
typical
looked into getting OneNote instead which is now free, but they download stuff without telling you
or telling you how fast it's going or how much is left.
fucking morons assuming that everybody can just download whatever they want, whenever they want.
 
5:07 PM
The cloud, man, the cloud.
 
> Speaking of C++ and Java, I see no essential difference between them except for garbage collection and the "Interface" idea instead of multiple inheritance. The rest is all about syntax. Anybody wanna take this?
 
The proper response to your comment, @Diaz, could fill a 100-page book. Such a shame there's a character limit here — Lightness Races in Orbit 5 secs ago
& that's all you're getting from me
 
user1804599
5:33 PM
But Java is written in C++ so they must be similar, right?
 
Oh wonderful. I got most of my car back. The soddin' badger impact smashed the bumper back into the radiator and broke its mountings. The mountings have been patched up but, aparrently "the radiator is shaped like a banana" and I have to keep a lookout for leaks. The only 'temperature gauge' is a stupid lamp you cannot see in sunlight. First overtemp warning is likely to be a seized engine.
 
user1804599
> I got most of my car back.
 
user1804599
 
@rightfold Not quite that bad.
 
@rightfold Is that Vladimir Poutine?
 
5:40 PM
@R.MartinhoFernandes Yeap, absolutely.
use Microsoft cloud storage to blah blah the cloud blah blah log in blah blah cloud blah blah
is it not possible to simply have notes on my local machine?
 
user1804599
Function composition is such a great abstraction.
 
user1804599
@EtiennedeMartel Vladimir Potpourri
 
Xeo
@DeadMG stikynot.exe
 
user1804599
slipknot.exe
 
Xeo
no really, just type 'stikynot' into the start menu search
been using that thing for ages
 
user1804599
5:54 PM
I use Org mode. :P
 
Xeo
Spammers are getting really desparate, it seems
> We are sure that it's worth it to open this
 
oh man, I'm still laughing about that video about the 7 red lines
my stomach is hurting
 
@Jefffrey It's not supposed to be funny, it's meant to be depressing.
Because bullshit like that happens way too often in real life.
 
@Jefffrey what video?
 
user1804599
6:10 PM
Damn.
 
user1804599
I almost scratched open my healed wound.
 
Hysteria, in its colloquial use, describes unmanageable emotional excesses. People who are "hysterical" often lose self-control due to an overwhelming fear that may be caused by events in one's past that involved some sort of severe conflict. The fear can be centered on a body part, or most commonly, on an imagined problem with that body part. Disease is a common complaint; see also body dysmorphic disorder and hypochondriasis. Generally, modern medical professionals have given up the use of "hysteria" as a diagnostic category, replacing it with more precisely defined categories such as so...
3 hours ago, by Benjamin Gruenbaum
 
> For at least two thousand years of European history until the late nineteenth century hysteria referred to a medical condition thought to be particular to women and caused by disturbances of the uterus (from the Greek ὑστέρα "hystera" = uterus)
 
user1804599
It wasn’t funny at all.
 
user1804599
Most boring seven minutes in my life.
 
6:13 PM
I'm sorry.
 
@rightfold One day, you'll become an adult, with a real job, and then you'll realize what it all means.
 
user1804599
Good.
 
user1804599
I hope you feel very bad.
 
user1804599
Time to get myself some delicious food.
 
@EtiennedeMartel Beat me to it
 
6:15 PM
@LightnessRacesinOrbit Oh boy, time flies
 
@LightnessRacesinOrbit he's from the future
 
0
Q: ERROR: Unknown Punctuation String

AidanI'm new to SQL and am trying to get this query to work: function loadArrayFromQuery($query) { $result = $this->executeQuery($query); $return = array(); while ($rows = mysqli_fetch_assoc($result)) { $return[] = $rows; mysql_error(); } ...

2
This is GOLD
ooh, yay, I hit 110k
really hard, with my fists
 
Xeo
@Jefffrey okay, that was just sad
a sad sad reflection of reality
 
6:24 PM
@LightnessRacesinOrbit lol
 
BRING THE UPVOTES
 
upboated for fun
 
"The best way to find the correct answer to a question on the internet is to give the wrong answer" - Alan Turing
 
lol
 
@LightnessRacesinOrbit not sure but I think the string is an empty string
what does the STR: -> means?
 
6:44 PM
Hi
 
@LoïcFaure-Lacroix Eh?
MySQL is providing the PHP function code in the listing of the query that the OP tried to execute. That means he provided the PHP function code as the query content or, at least, as part of it.
I'd have expected the syntax error to begin earlier in his "query" if he had a previous unterminated string literal, though. More likely, IMO, he's literally tried to execute this code as SQL somehow.
@turtleSack: I don't think we need that sort of inappropriate, derogatory, childish language. The mentally deficient are people, too. — Lightness Races in Orbit 11 secs ago
trollbait engage
 
@LightnessRacesinOrbit thats possible
I like Russia (Not enough money for the sea)
 
lol
 
Xeo
> Dear community members,
An unauthorized third party gained access to the administration of our CHIP bulletin board. [...]
We are uncertain at this point, whether user data was taken. This notification is a precaution for your protection. It cannot be ruled out that email addresses and encrypted passwords (so called password hashes) were taken
 
6:57 PM
inb4 cleartext not encrypted
 
what's a CHIP bulletin board?
 
Xeo
CHIP is a pretty big German computer site
 
Some software
 
CHiPs is an American television drama series produced by MGM Studios (now owned by Turner Entertainment) that originally aired on NBC from September 15, 1977, to July 17, 1983. CHiPs followed the lives of two motorcycle police officers of the California Highway Patrol. The series ran for 139 episodes over six seasons. Synopsis CHiPs was a lightweight action crime drama, which included elements of comedy in every episode (several of the first season episodes play as out-and-out comedies). Over-the-top freeway pileups, which occurred in almost every episode, were a signature of the sh...
 
@Xeo is it by chance also a magazine?
 
Xeo
6:58 PM
I think so
 
CHIP was pretty big in Romania too, paired with its brother LEVEL (for PC games)
but they went bankrupt two months ago
due to publishers not respecting the contracts
it's a real pity, now there are no IT magazines in Romania
well, not exactly that much of a pity
 
I never really enjoyed any magazine
 
I was buying them because I have gotten used to it, the internet is a better source of info by far
 
it's more like 75% ads and the other 25% are ads that you might be interested in
 
still, if they would have survived two more months, 10 whole years would have passed since I started buying LEVEL
 
7:02 PM
the only magazine that I was interested in were the ones to build a RC car for example
 
a nice number, much better than 9 years and 10 months
 
It's not that bad
9 years 10 months 11 days 12 minutes 13 seconds
sounds cool you should check that out
 
lol good point
 
Anyway cya later... tomorrow I have a big day... 4 hours ride and trying to convince my future wife that I'm the right guy
 
lol, I linked this question from my 1/255 answer and now it's on Hacker News. ahaha Probably not a coincidence.
 
7:06 PM
and convincing her mom that I'm not homeless
 
@LightnessRacesinOrbit I missed it. What was it?
 
@LoïcFaure-Lacroix good luck
 
@LoïcFaure-Lacroix Did you convince yourself first?
Yay, I restocked my tea.
 
Am I misinterpreting this comment, or is he wrong?
Note that this only works for constant NULL-terminated C-strings. The string constructor will not work with, for example, a passed argument string declared as unsigned char * buffer, something very common in byte stream handling libraries. — CXJ 2 mins ago
 
He's wrong.
 
7:16 PM
That's what I thought too. It doesn't need to be constant.
As long as you're not mucking with the contents of the string while it's being used to construct the string.
 
@Mysticial Nor the char type needs to be signed
 
@Jefffrey std::string doesn't seem to have a constructor for unsigned char* anyway.
 
@Mysticial The one that takes iterators can be used for that.
 
@R.MartinhoFernandes Oh right...
 
But I wouldn't.
 
7:23 PM
you can also instantiate std::basic_string<unsigned char> in that case.
 
I'm almost repcapping thanks to a Haskell answer.
Yay
 
Xeo
living the dream, or something
 
It's not even an interesting answer.
 
@R.MartinhoFernandes lol
Also calling it Cola is not that unusual.
 
Calling it "cock" is.
:P
 
7:29 PM
lol
 
user1804599
You know.
 
user1804599
Having a shower at work would be great.
 
Cryptocurrencies as malware!
 
user1804599
Today I saw a video of a guy pulling a cestoda out of a hole in his belly.
 
@R.MartinhoFernandes Scientists right now "Well fuck"
 
Nah
It's the seed companies and farmers' fault (greed on both parties).
Scientists are more like 'told you so'
> But the scientists’ own recommendations — an advisory panel convened in 2002 by the EPA suggested that a full 50 percent of each corn farmer’s fields be devoted to these non-Bt refuges — were resisted by seed companies and eventually the EPA itself, which set voluntary refuge guidelines at between 5 and 20 percent. Many farmers didn’t even follow those recommendations.
Reminds me of The Expert video that is on the starboard.
 
icouldnt watch that video, too much cringe =/
 
Pretty much the same situation: just ignore geometry.
Reminds me of The Windup Girl and that is a scary universe.
 
wolfram is not bad
 
7:59 PM
@Jefffrey hahaha so cute
 

« first day (1258 days earlier)      last day (3687 days later) »