« first day (1421 days earlier)      last day (3526 days later) » 

12:00 AM
@LightnessRacesinOrbit I sent that message 5 minutes ago.
 
?
 
@Rapptz while the power was out?
 
The power went out as I was typing it
 
@Rapptz You started typing "power went out" before the power went out?
and then we magically received it anyway?
 
IIT, UPSes are a brand new invention today.
 
12:01 AM
I think you're having us on, sir
 
@JerryCoffin he's probably just on a laptop :p
 
@LightnessRacesinOrbit I put a ring on it:
 
@LightnessRacesinOrbit No I typed 'Damn it'. Then the power went out. So I typed 'Power went out' and left the message on 'timeout' and clicked 'retry' 5 minutes later when the power went back.
 
@sehe snigger
@Rapptz So the power outage did not affect your computing device, is the key point here I guess
 
I'm on a laptop
 
12:02 AM
let us know if the power goes out again plz
 
I will
 
@sehe Not sure whether to be pissed at you for mentioning C++ IO, or to be pissed at you for mentioning the promised C++10 that happened a year late. Please clarify so I know exactly why to be pissed.
 
C++11 sounds cooler than C++10.
 
12:04 AM
:p
 
Ell
I agree
11 is prime at least
 
@Ell C++Optimus11
 
@JerryCoffin Oh, you're doing great.
 
@LightnessRacesinOrbit It flows better. Eleven is three syllables, Ten is one. Don't know, personal opinion.
 
Hi
 
@LightnessRacesinOrbit neat.
 
@LightnessRacesinOrbit Its Richard Hammond, on his delivery-hovercraft
:P
 
@LightnessRacesinOrbit I take it you're geographically capable for other countries?
 
12:23 AM
Bad puns come to those who weight imgur.com/gallery/XqQDxei
 
Ell
Haha that's hilarious
 
@sehe That was an excellent pun /cc @ThePhD
 
12:40 AM
that was cool
 
@LightnessRacesinOrbit Power went out again.
 
> Made in Russia
that line alone makes the pen look legit
oh wait, it mentions KGB
 
1:19 AM
does anyone know where I can find a question that addresses const conversion between arrays of pointers to non-const objects and arrays of pointers to cont objects? For example:
int *p[3];
const int *const (*q)[3] = &p;
is not a legal conversion
I tried to look for questions related to it, but I couldn't find any
seems like I've seen one in the past though
 
Was someone talking about High-Rise a few months back? There's a film adaptation coming...
@Rapptz thx
 
Good morning.
800 mhz...
 
arent those ultra low power chips?
 
And fanless, yes.
 
wrong link? i see 2 and 2.6 ghz
 
1:27 AM
I mean the base frequencies of the two 5Y10s.
 
@Borgleader 800mhz up to 2ghz
it's 2ghz on turbo
 
Even bay trail tablet processors' base frequencies are just in ~1.4 ghz.
 
well yknow if all youre gonna do is youtube and facebook, thats good enough
@MarkGarcia single or dual core?
 
Fuck. I saw a Samsung 4 TB drive on Newegg for $120. I was like, "wut? Samsung makes HDs?" Turns out they are Seagate drives... I feel betrayed.
 
1:28 AM
@Borgleader Bay trails are mostly quad core.
 
o.o
 
Good thing I didn't order it yet.
 
> Intel® HD Graphics 5300 ... Graphics Base Frequency 100 MHz
These things go super low.
 
Fuck, I accidentally closed chat and lost my user's list full of Godwin's Law.
 
> Under Win32 platforms, file times are maintained primarily in the form of a 64-bit FILETIME structure, which represents the number of 100-nanosecond intervals since January 1, 1601 UTC (coordinate universal time).
January 1, 1601...wtf?
   void UnixTimeToFileTime(time_t t, LPFILETIME pft)
   {
     // Note that LONGLONG is a 64-bit value
     LONGLONG ll;

     ll = Int32x32To64(t, 10000000) + 116444736000000000;
     pft->dwLowDateTime = (DWORD)ll;
     pft->dwHighDateTime = ll >> 32;
   }
 
user3010322
1:53 AM
@melak47 Sounds arbitrary as fuck.
4
 
user3010322
I thought people measured time from 1901 or 1960 ?
 
unix epoch is 1970, nub :p
apparently 1601-1-1 is an ANSI thing.
 
<3
new microphone, new headphones and a MIDI <-> USB interface
 
@nightcracker so now you can code with a midi keyboard!
 
2:02 AM
Hello.
 
@melak47 well, or I could turn my laptop in a sick synth :d
 
@LightnessRacesinOrbit "Never touch your pets again!" lol
@LightnessRacesinOrbit The Clip-On Cupholder is actually useful.
Especially for cramped desks with lots of paper. Also prevents spills.
 
yeah
well, no.
you'll still get spills, I'd wager. just now they'll be on your lap/floor/bag
 
But it's much harder to displace the cup with a deeper holder. Though with enough force you could remove the cupholder itself. Still voting for usefulness.
 
2:23 AM
 
lol
 
North Korea says ahem
 
@MarkGarcia ahem
 
an oldie but a goodie
 
lolfail
 
2:31 AM
@LightnessRacesinOrbit i see so many of these, i tell myself theyre fake
otherwise its too depressing
 
Oh hey, I got the Inquisitive Badge for asking stupid questions that get upvotes.
 
3:04 AM
You're the first Stack Exchange employee I see without a diamond. You should ask for a refund. — Frédéric Hamidi 11 hours ago
 
3:36 AM
@developerwjk: I hope that's a joke — wfaulk 5 hours ago
Perfect trolling opportunity here. Come play.
 
user457812
3:53 AM
Well, someone bought me Hatoful Boyfriend.
 
Dat moment when you're scrolling through the FB profile of someone you haven't seen or heard from in like six years.. and they're talking about Game of Thrones. Like... wha? GoT didn't exist [on TV] six years ago. Oh, wait... It sort of smacks you in the face that they've had this whole life going on in the meantime. Easy to forget that sometimes, isn't it?
 
user457812
I think this means I have to play the pigeon dating simulator.
 
6:41 AM
chirp chirp chirp ...
 
7:37 AM
@LightnessRacesinOrbit People who have to borrow pens during finals deserve that.
@LightnessRacesinOrbit lol
Yay more swastigravatars.
 
7:56 AM
what's with the Swastika avatar newblets
I have never seen a swastika avatar user with reps greater than 100
 
user3010322
Cache refresh your page.
 
user3010322
(removed)
 
user3010322
I've got freetype, libpng, libwebp, and zlib added in properly as projects...
 
user3010322
8:10 AM
Now I have to make harfbuzz link in, and optionally WebM as my video format of choice.
 
user3010322
@Borgleader You ever compile WebM's SDK/codec for VS?
 
user3010322
Oh wait it wants me to use Cygwin and MSYS to make that shit work.
 
user3010322
Yeah, bump that shit.
 
user3010322
Vanilla code or drop dead.
 
8:25 AM
@LightnessRacesinOrbit The 24 Most Useless Things Ever Invented
How about the numpad itself.
Precious space that can otherwise be used to position your mouse, making switching between keyboard and mouse faster!
 
> source/main.cpp:91:20: internal compiler error: Segmentation fault
Time to start enjoying the week-end.
 
@melak47 Date.prototype.getYear returns the number of years since 1900 in JavaScript. :D
> new Date().getYear()
114
 
Anyone has a recommendation for a cool game with hexes? Buddy and I have overdone it a bit with ciV. Strategy or tactical preferred, or anything in-between.
 
Do you mean with a hexagonal grid?
TIL hexagonal chess exists.
 
8:58 AM
Wow
A sensible answer on meta?
27
A: When/Why a question with accepted answer and more answers is deleted?

George StockerThe argument for deleting these questions is that: It's poor, it shows no effort at solving, no researched demonstrated, about 19 non-constructive comments and finally it asks for "the best solution".... That's about as bad as a question can get.... Of course, the OP could also be talking a...

 
9:09 AM
@StackedCrooked go suck a cock
 
This is pretty beautiful https://t.co/4rUwh345Fl
That's like comparing "delivery boy" to "somebody who works at an airport." :v
 
Ok, so Coliru's been running stable with 9 days of uptime now. I seems I fixed the worst problems.
Still not 100% ok though.
 
Buy a server farm.
Offer more performance and have people pay for higher rate limits.
 
Xeo
9:21 AM
So. I have a dryer now, but the program selection knob went missing somehow. I just discovered that I can abuse the plug to select the program, since it fits perfectly where the knob is supposed to sit.
 
Who wants to be a millionaire? You? Get back to work then.
 
9:37 AM
@LucDanton kek
@StackedCrooked except that I cannot compile >% of my snippets :( The timeout has been no-oped?
 
I didn't know that.
 
user image
5
 
@StackedCrooked It's been a month now that it just... stopped working for "interesting" TMP programs (that's the only I answer on SO). Notably, it even refuses most non-spirit snippets too (boost serialization is also "too much")
@Griwes nice
 
It did stop working for a while but then I fixed it after you reported it.
 
9:45 AM
@StackedCrooked mmm. I'm sure it's always 20s regardless of what I "poke". And yes, it reports back the expected values
 
@StackedCrooked You should record the time of each line in the output and replay that when opening the page.
 
 
1 hour later…
Ell
11:03 AM
Flask isn't minimal enough for me
 
11:25 AM
@PolymorphicPotato You need to add 1900 to that.
Some people used to add "19" in front of the year which worked great in the last century :)
 
I was born in 191980 :P
It was very futuristic.
 
lol
 
@chmod711telkitty exactly
@PolymorphicPotato Don't you watch BBT?
 
11:43 AM
LoL becomes more and more depressing the more I play it :\
it's as if I'm constantly surrounded by idiotic kids who are only there to argue
which is probably true
because as soon as I told my team that they're arguing like a bunch of 10 year olds and I got "I'm 14" back
dota 2 players were a bit more decent to play with and against
 
11:58 AM
@melak47 The 116444736000000000 literal should probably be suffixed by L.
@melak47 It does not seem to be that arbitrary. I suspect prior art of COBOL was the reason (who knows where MS gets its engineers from, like some of the NT engineers were previously OpenVMS engineers). Also, according to the wikipedia 1601 starts on Monday which seems convenient algorithmically.
 
@PolymorphicPotato I saw that tweet, too, but I don't get it
 
12:30 PM
Yay, What If? was dispatched.
 
Xeo
@R.MartinhoFernandes whaaat
why are you getting yours already D:
aw. fuck. I just noticed that I ordered the what-if book to my home instead of work
and I can't change it anymore
 
user image
7
dat abstract
 
Ell
@PolymorphicPotato lol
 
Is there already an explain-What If book?
 
@Xeo Arrival on Monday.
 
12:47 PM
where's bartek?
 
Xeo
Oh, we should change the topic
Since Bartek announced himself alive yesterday
 
god damnit.
feels like I'm trying to play MSVC-Annihilation here.
the button to join a lobby doesn't work.
 
@Puppy no that's more like a game of DEFCON, everybody dies
 
1:15 PM
@sehe this is for you. NSFW ... let's test garbage man's reaction speed ...
 
@chmod711telkitty garbage man lol
 
snow bear routinely clean after me, even if nothing needs cleaning
 
First time i hear someone complain about ppl cleaning up after them
 
bear also has irrational fat women phobia
 
and you have an obsession with them
opposites attract i guess
 
1:28 PM
I just realized a very annoying feature for c++11 <random>: it's impossible to write standards-compliant generators that require more seeding material in bits than sizeof(result_type) * 8
 
@R.MartinhoFernandes you're talking to me?
 
Ell
> Member pointed to by b of object pointed to by a
 
@R.MartinhoFernandes but the standard requires a constructor that takes a result_type s parameter to construct the random number generator
 
Ell
1:32 PM
This sucks to write as one or two words :P
 
@R.MartinhoFernandes yes, but the first constructor is required to be there, and is required to construct the object, despite the impossibility of passing enough seeding material into it
 
Yes, but you can use seed_seq to build from it.
 
@R.MartinhoFernandes what do you mean?
@R.MartinhoFernandes this is an example of my problem: gist.github.com/nightcracker/8be6f2656139f8f0f673
 
The standard has engines that need seeds larger than one result_type.
 
1:41 PM
So what should the result_type constructor do for those types? It doesn't have enough information to fully construct the type.
 
It just derives more seed bits from the small one passed in.
 
That's an error.
 
Why's that?
(It certainly shows that "impossible" is the wrong description)
 
Because it's unsecure for cryptographic RNGs
 
So what.
There's no CryptographicallySecureRandomNumberGenerator concept in the standard.
 
1:42 PM
Why would there have to be?
 
Er.
Apparently you do.
 
if the standard RNG concepts were better defined there was no need for it
 
There is no need for it.
If you need such a thing, you want it to have guarantees that simply cannot be expressed in the type system without explicit tagging.
 
@R.MartinhoFernandes no
 
@nightcracker Why not, then?
 
1:45 PM
You just don't want required functions that never do their advertised function
sick star :D
 
@nightcracker You mean like, initiialise the state of the RNG?
Because all ctors in the standard do that.
 
The result_type constructor can never do it's advertised function for cryptographic RNGs with sizeof(state) > sizeof(result_type)
 
@nightcracker Yes, it does.
(Why do you keep saying "cryptographic RNGs", btw? I though there was no need for a distinction)
 
@R.MartinhoFernandes in the pattern there should be no need
 
@nightcracker How do you think the mersenne_twister_engines work in the standard?
 
1:47 PM
@nightcracker Oh, this sucks. Why do they need it?
 
@nightcracker But what causes you make a distinction in your explanations?
 
@R.MartinhoFernandes MT is not cryptographically secure.
 
@R.MartinhoFernandes a mersenne_twister_engine works fine with smaller seeds, an AES_128 RNG can not do it's job without proper seeding (which is to generate secure numbers)
 
@milleniumbug I thought there was no need for a distinction.
 
@R.MartinhoFernandes The distiction is not needed in the pattern
 
1:48 PM
@nightcracker The purpose of an UniformRandomNumberGenerator is not to generate secure numbers.
4 mins ago, by R. Martinho Fernandes
If you need such a thing, you want it to have guarantees that simply cannot be expressed in the type system without explicit tagging.
That's what explicit tagging is for.
(Or, you know, a different pattern)
 
@R.MartinhoFernandes I agree with that
 
But also notice how what you state as difference is in the usage.
 
@R.MartinhoFernandes but the current definition makes it impossible to write secure RNGs that are UniformRandomNumberGenerators
 
WHAT.
It doesn't.
 
Cat++ has passed his grumpiness on to me ... cat depression flu! ~cries~ everything is terribu!
 
Ell
1:50 PM
I'm confused
 
@R.MartinhoFernandes yes, because providing a result_type constructor on a secure RNG is an error, but it's required
 
Do I have to look in the standard.
 
Oh, ooops. RNE, we mean.
 
Ell
if the RNG can't be seeded with enough data then it won't be secure, right? o.O
 
yes, RNE, I just copied what martinho said :D
 
1:51 PM
When in doubt, side-effects! Poll for entropy, log a warning, and throw an exception. All at once.
 
1) If you want to generate secure numbers, you want to initialise your generators with seed sequences; the extra constructor makes no difference. 2) You can write that ctor just fine so nothing is impossible.
 
@R.MartinhoFernandes the extra constructor DOES make a difference, because it's an error for secure RNGs
 
RNE makes no guarantees about cryptographic security, so assuming that it is what you need for cryptographic security is wrong.
 
2.) The problem is that it does silently the wrong thing. And this sucks.
 
@nightcracker I don't see how it is an error.
 
1:52 PM
@R.MartinhoFernandes no, but it makes writing compliant RNGs that want to make those guarantees impossible
 
@nightcracker GEEEEEEEEEEEEEE.
Abiding by a concept with guarantees different from the ones I want makes it impossible for me to write a model that abides by that concept's guarantees.
Impressive.
 
I think the assumption here is that whichever concept is at hand would be a refinement of RNE. (Which is why you should always leave no assumption unstated.)
 
It's just bad design that it's impossible to make a sensible CryptoRNGEngine concept that's a superset of RNGEngine.
 
@milleniumbug Just like passing a MT to your crypto algorithm would!
Because the MT in the standard has the pattern for your hypothetical CSRNG concept. (It has a seed sequence ctor)
You don't want the pattern.
@nightcracker I completely disagree, because you don't want those two to be mixed.
 
@R.MartinhoFernandes so you're saying it's good design that anyone who wants to use a CSRNG, for example a gambling website, basically can't use any of the <random> distributions?
 
1:56 PM
@nightcracker That's not true.
Distributions don't initialise engines.
 
oh no they take generators
I guess then I don't really care, but I still don't agree with the design
 
RNE is a refinement of URNG, meaning all RNEs are URNGs, but not all URNGs are RNEs.
 

« first day (1421 days earlier)      last day (3526 days later) »