« first day (1280 days earlier)      last day (3661 days later) » 

12:00 AM
@sehe so you're basically like a bible?
 
You aren't a statistititististitician and still you know that the odds of coin falling upwards is about 0%
@nightcracker On the contrary
 
@sehe dat interpretation
@nightcracker <3
 
@TonyTheLion Oh, that's nothing. I'm fond of omdenken
 
@sehe That's an interesting little book
might buy
 
12:58 AM
1
Q: I'm seeing stars! (I can see who starred a message and so can you)

DoorknobSo I was making a chatbot in Ruby for SE chat, and I discovered that I could find out the starrer of a message. I'm pretty sure stars, like votes, are supposed to be anonymous. Although this knowledge would help for cases of star trolls like this. Here's the specific slice of code that do...

 
1:26 AM
If a bounty expires you lose the rep? :(
 
You lose the rep when you set a bounty
and you can't get it back from what I've been able to tell
 
I see, I assumed that if it wasn't awarded that you would get it back.
Especially since I put up a bounty for "lack of attention" and still got no answers
 
1:42 AM
usually that means no one cares
 
and/or no one knows the answer
 
considering bounties get shit answers too
 
eh it was on meta anyway
 
2:23 AM
0
Q: Call function with a fake return address

kvanberendonckI'm trying to call a function with a fake return address. That is, I want to call foo3 in such a way it believes it was called by foo2, and when the function is done have the possibility to return back to foo1. Here's what I've tried: #include <iostream> template <typename Ret, typename T, typ...

does this look like a good idea to anyone?
 
it's the motherload of XY problems
 
or else it's some kind of injection attack
 
2:36 AM
Guys, any of you know the term for thinking of something and then feeling what you're thinking of?
 
coincidence
 
like if you think of little bugs crawling in your neck it gets itchy and you want to scratch it
or thinking of chalk on a blackboard gives you goosebumps
 
Synchronicity is the experience of two or more events as meaningfully related, where they are unlikely to be causally related. The subject sees it as a meaningful coincidence. The concept of synchronicity was first described by Carl Jung, a Swiss psychologist, in the 1920s. The concept does not question, or compete with, the notion of causality. Instead, it maintains that just as events may be connected by a causal line, they may also be connected by meaning. A grouping of events by meaning need not have an explanation in terms of a concrete sense of cause and effect. In addition to Jung...
 
no, that's bullshit
I can give myself goosebumps at will
there's no coincidence in that
 
So assertive.
 
2:40 AM
I have done the experiment because apparently I was the only one with a few of friends that was able to do it
they'd randomly come up to me and tell me to get goosebumps, and a minute later I would have them by concentrating on the terrible sounds of screeching chalk on a blackboard :P
 
Sounds like a confirmation bias
 
you're just fucking with me right now aren't you?
 
Just a little.
 
I'm too easy :(
 
I still think the word applies though
 
2:43 AM
synchronicity?
 
yes
moments like those on a larger scale tend to be associated with post hoc ergo propter hoc though
(in actual English, I'd call those small moments, e.g. goosebumps when thinking of painful situations, as a coincidence)
 
I was confused with synchronicity by something else
 
I say Synchronicity was one of the few things that made life bearable in the early '80s.
 
but it's definitively not coincidence
 
not in a strict sense, no
 
2:47 AM
A coincidence (often stated as a mere coincidence) is a collection of two or more events or conditions, closely related by time, space, form, or other associations which appear unlikely to bear a relationship as either cause to effect or effects of a shared cause, within the observer's or observers' understanding of what cause can produce what effects.
if you repeatedly can ask me to give myself goosebumps by thinking of scratching chalk, and I manage to do so repeatedly, you can not speak of a coincidence
 
@nightcracker Does your encryption thingy use 16-bit arithmetic?
It seems that Intel nuked 8 and 16-bit integer SIMD from AVX512.
 
@Mysticial eehm, what?
@Mysticial you mean Orlein?
 
yeah
 
well the additions and bitwise rotations it does are on 32-bit words
 
That's good.
 
2:50 AM
however it does do shuffling
 
Intel basically said "fuck you" to small integer widths and went all out with 32/64-bit.
 
hrm
I'm not certain if I think AVX512 is a good idea though
although my knowledge of SIMD in general is a pretty limited subset useful to crypto
 
I'm okay with them nuking 8/16 bit. But I do have one routine that does a 16-bit granularity shuffle.
 
ah right
now I remember
half of my bitwise rotations are implemented using 8-bit granularity shuffles
 
AVX512 has 32-bit and 64-bit integer rotate instructions.
 
2:53 AM
because the rotation distance is a multiple of 8
@Mysticial you mean, native?
 
_mm512_rol_epi32 is one of them.
yeah, native
 
that'd be pretty amazing
did they add this for the smaller vectors as well?
 
Doesn't look like it, but all AVX512 vector instructions can be masked.
They take a mask register which lets you pick which lanes to enable/disable/zero.
So you can just disable the upper half if you don't want them.
 
so I could apply them without any "tranfer penalties" on smaller registers?
 
-1
Q: do you think im pregnant? nothing rude please

user259150I had an abortion (please dont judge me). Me and my new bf had unprotected sex more than once after the abortion. cuz we were really high and didnt know what we were doing. But anyway. The day before my check up i got the depo shot. But now im having pregnancy symptoms such as: lower back pain o...

^^ 1st spam on meta.SE I've seen. :)
@nightcracker The smaller registers are just aliased to the bottom half the large ones.
So you can cast between them all you want - no penalty.
There's no penalty for mixing AVX(2) and AVX512.
 
2:58 AM
dafuq?
 
lol getting all those symptoms in the first trimester
I give it a 3/10
 
You've come to the right place! The discussion site for a network of Q/A sites is clearly the proper way to handle this. A pregnancy test would be way too easy, no? — nightcracker 19 secs ago
 
Meta Stack Exchange has really nice css
 
@Rapptz I give it only a 2. No rhythm. Couldn't dance to it at all.
 
@Rapptz I disagree
@Mysticial are there any cycle counts out for these functions?
 
3:01 AM
@nightcracker Way too early for that.
We're not gonna see AVX512 in desktop processors until at least late 2015.
 
because _mm512_maskz_rol_epi32 looks nice, but if it takes 5 cycles it's pointless for me
 
need Consolas alternative
 
But I'm gonna assume that they'll have similar latencies and throughputs as the 256-bit equivalents right now if they exist.
 
@Rapptz Anonymous Pro
@Mysticial they do not =/
 
I can't imagine it being more than 2 shifts. Since you can do a 2 shifts and an AND.
 
3:03 AM
I'll give that a try I guess
 
@Mysticial half of my rotates is relatively cheap because they are multiples of 8 and are bytewise shuffles _mm_shuffle_epi8, but the other half are two shifts and a XOR =/
 
There's also a ternary logic instruction which is pretty awesome once you know how to use it.
 
I should also fiddle around with making some hashing stuff using _mm_crc32_u32
 
Yeah, you're not gonna have 8-bit shuffles.
 
@Mysticial don't need 'em if I get fast rotates
but my biggest problem with SIMD and Orlein is code size =/
 
3:07 AM
Why does code size matter?
 
because small buffer sizes are very important with encryption
 
You can do thousands of instructions without running into problems.
 
so I need one version for a small buffer using just SSE2/3
then if I get a bit larger input I can make use of the larger width in AVX(2)
 
I'm most interested to see what the performance of the gather/scatter is.
In Haswell, it's shit.
 
then if the input becomes even larger I can use multiple execution ports, so I have a parallel implementation
in short: because of various input sizes, and because performance is very important on small input sizes I need multiple implementations optimized for each input size
and the larger-width parallel implementations are LARGE
 
3:10 AM
Actually, even if the latency for a rotate is 5 cycles. Would you even care if the throughput is 1 or 2/cycle?
I can't imagine that you're latency bound.
The floating-point shit that I do is what I would call latency-bound.
 
well
after rotating I need the value immediately for an addition
so yes, latency would be god awful
 
You can't do multiple of them in parallel?
 
up to 3 times approx
still awful =/
 
okay so
danny@debian:~/Downloads$ ls /usr/share/fonts/truetype/anonymous-pro/
Anonymous Pro BI.ttf  Anonymous Pro I.ttf
Anonymous Pro B.ttf   Anonymous Pro.ttf
which one?
 
both
one is italics
 
3:12 AM
what's the difference?
 
one is bold
 
oh okay
 
one is bold italics
and one is regular
 
gotcha
that is one strange looking font
I miss consolas. Deja Vu Sans Mono is the closest one I have atm
 
why don't you use consolas then?
 
3:13 AM
ha, that spam question on meta.SE is still there.
 
MS proprietary
 
I call racism. Damned Italians getting a style of fonts named after them. I demand fonts that include Germanics.
 
@Rapptz so?
 
If the SO mods were still mods, it'd be gone by now.
 
iunno how to get it
 
3:14 AM
@Rapptz have you become such a puritarian you refuse to use anything propietary?
 
lol no
 
man
fuck off with your lmgtfy links >:(
 
aha
 
then stop asking stupid questions :D
 
3:16 AM
you really think I didn't google it?
 
yes
seeing that the first two links clearly explain how to get it
 
I obviously couldn't do them :v
hence why I'm looking for alternatives
I actually couldn't find the consolas font on Windows
it's not in the fonts folder
that folder has consolab.ttf though
 
@nightcracker Dunno if you've found it yet. But Intel has a new interactive intrinsic page: software.intel.com/sites/landingpage/IntrinsicsGuide
It's pretty cool.
 
@Mysticial I always used the native java app
@Mysticial which looks exactly the same as this
 
ah
 
3:21 AM
@Mysticial you never used it?
 
@nightcracker Not until I discovered it about half a year ago.
 
@Rapptz you have access to a windows machine?
 
yeah
 
I found the font though
on github
 
3:24 AM
no don't do that
with this download your 100% sure the font is not broken in some strange way
(and you're legal)
then put setup.exe in some directory and execute setup.exe /a
 
@kiamlaluno: Clearly the more appropriate choice is, "The problem described here can no longer be reproduced. Changes to the system or to the circumstances affecting the asker have rendered it obsolete. If you encounter a similar problem, please post a new question." ;)Nick Stauner 5 mins ago
^^ nice
 
3:36 AM
@Mysticial If pregnancy couldn't be reproduced, the human race would have died out a long time ago.
 
we could clone, I suppose ...
 
3:51 AM
@telkitty.exe It does work well for grapes, so maybe...
 
4:05 AM
 
4:50 AM
Dolly (5 July 1996 – 14 February 2003) was a female domestic sheep, and the first mammal to be cloned from an adult somatic cell, using the process of nuclear transfer. She was cloned by Ian Wilmut, Keith Campbell and colleagues at the Roslin Institute, part of the University of Edinburgh, and the biotechnology company PPL Therapeutics near Edinburgh in Scotland, the United Kingdom. The funding for Dolly's cloning was provided by PPL Therapeutics and the Ministry of Agriculture. She was born on 5 July 1996 and died from a progressive lung disease 5 months before her seventh birthday. She...
 
 
1 hour later…
5:57 AM
Is it weird that I dislike using RTTI?
typeid just irks me
 
Just noticed people are talking about AVX512 in this chat. Chat transcripts say that there are users of libsimdpp here -- FYI, you might find this relevant: github.com/p12tic/libsimdpp/commit/….
 
Xeo
6:38 AM
Damn, I forgot to turn my alarm off for today.
 
7:15 AM
morning
@Rapptz absolutely not
typeid is shit
 
user1804599
7:37 AM
On this day, Jesus died because Scala is crap.
 
:))
 
Today Jesus died? What happened?
 
user1804599
Jesus already died thousands of years ago.
 
8:04 AM
thank god ofr that
 
Oh man.
 
Morning
 
CMake is so retarded I can't even phrase it.
 
Heh.
@Griwes Why?
 
and bye. flight is on :)
 
8:14 AM
Want to pass a list? No problem, just pass "${Foo}"!
Who the hell thought such a thing would be a good idea?
I spent good half an hour debugging a problem... which ended up being a problem in somebody else's CMake code that seemed to work.
 
That's cmake, baby :)
 
5 mins ago, by Griwes
CMake is so retarded I can't even phrase it.
It's not that I didn't know that it's retarded.
I just always assumed it isn't this retarded.
 
@Griwes Any example of better build system?
 
@Ockonal For a complex software that has many build options? There is no build system for that. There are only horribly broken build systems out there :F
I am glad that so far, for my personal projects a simple wildcard-based Makefiles are enough.
 
Yesterday, I watched the episode where Sheldon cannot decide between buying an XBox and a Playstation. Now I wonder if I should get one of those, too :)
 
8:22 AM
:) Playstation
@Griwes CMake is very simple and useful in my opinion
 
But once they are not enough, I'll just go deeper into NIH and write my own build system, that is tailored for sane use cases.
@Ockonal Yeah, it just lacks sanity.
 
@Ockonal I suppose both can be used as a Blu-ray player? Then I wouldn't need mine anymore...
Or maybe I'll just get a Super Nintendo :D
 
@Griwes Sometimes yes. But makefiles have same problem :)
 
Do 16 bit consoles look awful on modern LED TVs?
 
@FredOverflow Sure, you can play bluray :)
 
8:23 AM
@FredOverflow xbox can't
 
Believe me, I am sitting before some CMakeFiles for building damned test cases for a little complex piece of software at NSN and this thing is insane.
 
@FredOverflow consoles look awful anywhere :)
 
Really? Wow. Does XBox use a proprietary format instead of Blu-ray?
 
Microsoft sucks :)
 
@FredOverflow or wait, are you talking 3 or 4?
 
8:25 AM
@bamboon Are you talking about XBox oder Playstation?
I just love how Sheldon complains that after XBox came Xbox 360 and then Xbox 1 :-D
 
PS3 vs. X360 or PS4 vs One?
 
Honestly, I don't know. My last console was a Nintendo 64.
 
@Ockonal Also when I have to printf debug my meta build system, I'd say something went horribly wrong somewhere along the way.
 
user1804599
Mine was PlayStation 3. :v
 
ah ok, so the One can play BR I think.
 
8:26 AM
I guess I'll just browse amazon for games and see which ones appeal to me.
I'll probably end up being a Wii U because of Mario games :)
 
user1804599
Oh.
 
user1804599
New Super Mario Bros. and Super Mario Galaxy were fun Wii games.
 
@rightfold Is it totally weird to check the available games before deciding on a console? ;)
 
@Griwes Writing your own build system seems to me a waste of time
 
I remember a time when I couldn't really decide between SNES and MegaDrive. I wound up buying both.
But they didn't cost nearly as much as contemporary consoles.
 
8:28 AM
@Ockonal I am afraid what you would call writing your own kernel...
Anyway, as I have mentioned, I suffer from a terminal case of NIH syndrome, so there's no help for me.
 
Oh wait, I could just watch the South Park trilogy again and see which console wins :) Was it Bill Gates who killed the head of Sony, or was it the other way around? I cannot remember...
 
user1804599
Metroid Prime 3: Corruption was also a fucking great game.
 
user1804599
One of the best I've ever played.
 
@Griwes haha
 
8:31 AM
@Ockonal You lost me here.
 
@Griwes NIH is just healthy skepticism. Code written by other programmers is crap 90% of the time, because 90% of programmers are terrible. (I just made the 90% figure up, replace it with the percentage of your own belief.)
 
@FredOverflow I'd lift that estimate up to 98%-99%.
 
@FredOverflow Well, in that case I would just contribute and improve, instead of starting from zero.
 
Can I do nerd stuff with modern consoles? Like, install Linux or something?
 
@bamboon ...?
 
8:32 AM
nope.
 
Have you looked at some of the horrible code out there?
Say... the Linux kernel?
:D
 
Well, in that case ...
all hope is lost ^^
 
@DeadMG Good. That would only have kept me from using a console for its original purpose: wasting time.
 
TBH, I never looked at it though.
 
@Griwes I may be opening Pandora's box here, but what is wrong with the Linux kernel?
 
8:35 AM
it was written by a guy who hates C++ just because
 
I have only been brave enough to look at (mostly) one file for longer than 30 seconds, and that file is the HPET driver.
 
(dunno)
 
That file is an abomination.
 
@Griwes Your kernel is written in C++, right?
 
Looks like they made a little clean-up of that file.
Good for them.
 
8:37 AM
@Jefffrey Speaking of C++, I was a little bit surprised when the GCC announced gradually moving from C to C++.
 
Still, their HPET specific code is ~1250 lines, mine is 1000 lines less (granted, I don't have MSI support for it yet, but that will probably be another 100 lines at most).
@bamboon Yes.
 
@Griwes Cool, with exceptions turned on?
 
@bamboon It allows funny shenanigans, like interrupt handlers generated at compile time from naked inline assembly templates.
 
@FredOverflow A giant leap for mankind
 
@bamboon Nope; it's not a goal, since it's a microkernel (every fault in the kernel is pretty much critical).
 
8:40 AM
@Griwes Sounds fun
@Griwes yeah, was thinking so
 
hmm
I guess I could just invoke g++ --version from inside the program and then parse the output?
that's going to suck.
 
@bamboon Yeah, I primarily like the way it sounds when described. I pretty much dislike the compile times on that file, though :P
 
Hm
 
Moving from C to C++? One small step for man...
user@computer ~ $ man gcc
user@computer ~ $ man g++
 
@FredOverflow You call this moving? :)
 
8:42 AM
@Jefffrey ;)
 
@Griwes ^^, when choosing C++ one shouldn't complain about compile times.
 
@FredOverflow lol
 
@Ockonal Well, you just have to exchange two characters ;)
 
@FredOverflow Moving to c++ is just more than exchanging of two characters :)
You should rebuild your brain and break the habbit :)
 
Stop ruining my puns with logic :(
 
8:44 AM
@bamboon I don't. I only ever recompile that file on make clean, and that explicitly disregards the build time :P
 
Is it normal to inherit impl?
Yeah.
 
ok, here's a new strategy: simply enumerate the contents of /usr/local/include/c++.
 
@DeadMG What do you need?
 
the latest available libstdc++
 
@DeadMG I think the easiest way is to parse console output :)
 
8:57 AM
fuck that shit
 
Those include directories will differ depending on how GCC was built.
Ah wait, /usr/local, that's your build.
 

« first day (1280 days earlier)      last day (3661 days later) »