« first day (1320 days earlier)      last day (3644 days later) » 

Xeo
 
@gnzlbg stop abusing commas
@LightnessRacesinOrbit He should use a chisel and manually engrave all the pixels on his monitor. — Danvil 2 mins ago
pahaha
 
I have a sequence of types: types = mpl::vector<T1, T2, T3> and was using mpl::transform<types, identity<other_type<_1>>>.
Since identity is a meta-function, it was doing nothing.
Replacing it with:
template <class T> struct unit { using value = T; };
does the trick.
 
Xeo
@gnzlbg Oh, yeah, identity as a lambda does.. naught
 
omg why are memory model specifications sooo difficult :-\
 
because you're specifying in great detail the behaviour of something extremely complicated?
 
12:10 PM
mmm; that would appear to make sense :P
my head hurts tho
 
@R.MartinhoFernandes so, heterological was the word you were looking for for a month (?!)?
 
I figured :) That was about squares of naturals, right
I think you shared a hint "eureka" but not whether you found a word for it
 
yesterday, by R. Martinho Fernandes
Self-powered numbers. I just made it up.
 
hehe - just found it. I guess I dismissed it as... well you know, de gustibus
Somehow, it didn't even register that that was the answer and apparently I was too busy to question what it did mean. Sorry
 
12:24 PM
@DeadMG What does that even mean?
 
@chmod711telkitty you're busted, now get out! /cc @Maxpm
 
@rubenvb Apparently, their JIT works by constructing an object file in memory and then executing the contents. So you have to tell it that you want an ELF object file, because it can't handle COFF object files right now. And this detail is totally needlessly exposed to the user in myriad ways, typical of LLVM
 
user1804599
Man.
 
Woman.
 
Trans.
 
12:30 PM
@DeadMG But but but... it works? Oh, I guess the JIT is also a crude binary loader then.
 
don't ask me, I didn't implement it :P
 
all I care about is that I can JIT my functions and execute them and confirm that they return the intended result
 
I'm in a room full of sweaty students doing a physics exam.
 
12:33 PM
oh ruben
do you know if that Clang-MinGW ABI compatibility thing was fixed?
 
@DeadMG I thought yes.
Some time ago.
 
okeydokey
 
I thought it already was fixed for 3.5
 
ah
 
12:35 PM
so it will be fixed in 3.5 but is not fixed in 3.4
 
Uhm no idea stopped following all that quite some time ago.
 
okeydokey
ack
there's no "Boost" package?
 
Probably all split into separate packages.
And then split between binaries and dev versions.
 
why does async require me to use Task<T>
 
12:38 PM
ubuntu 14.04
 
I checked the completes for "boo" and none of them are boost or boost libraries
 
pianobooster
@DeadMG Libraries are usually named libxxx.
libboost-all-dev should have everything you need.
 
oh yeah
 
Ubuntu/Debian have ridiculous splits of all packages.
 
12:40 PM
Yeah.
 
ah yeah, libboost's completes show all thepackages
 
It's not that their dependency chains are any cleaner than if they wouldn't split everything.
 
Help
I'm trapd in async
 
@DeadMG naming conventions have libraries start with (surprise:) lib
 
Xeo
@BartekBanachewicz Well it's a monad!
 
12:42 PM
while we're at it
if I'm decrypting with a symmetrical cipher basing on a password hash
what about the IV?
 
I know we are talking about the initializing vector. Yay.
 
yes that
 
user1804599
 
NO NEED TO LOOK THAT UP BITCHES
 
@rubenvb Ah, so it was fixed in 3.4. Thanks, now I can get rid of MinGW 4.6.3 and upgrade to 4.9
 
user1804599
12:44 PM
Woo :v My predicate editor werks great.
 
@rightfold The heck is that?
It's sexy.
 
@DeadMG Don't get rid of it just yet. Try first ;-)
 
user1804599
@Jefffrey It is a predicate editor.
 
@BartekBanachewicz Don't do drugs.
 
user1804599
Because users can't S-expressions.
 
12:45 PM
@rightfold You wrote it? Can I see?
 
fuck I really need that
using Stack Overflow language, plz halp this is urgent for me
 
user1804599
 
@rubenvb I'm not actually sure if I have any test cases that hit the changed areas. In fact, I'm pretty sure I don't.
 
@rightfold ...
 
@Jefffrey work
 
12:45 PM
> werks
 
ah right
so I just need some non-zero IV that will be my salt
lol that's so fucking unsafe
 
Zeroed IV is definitely suboptimal.
 
user1804599
@Jefffrey I might release it as a library later.
 
Don't take salt IV.
 
@R.MartinhoFernandes so what do I do?
 
12:47 PM
IV?
 
Star Wars IV
 
@Collin Intravenous.
 
@DeadMG just any non-trivial (or heck, maybe even Hello World) should crash or fail to compile or whatever.
IIRC, it's about the calling convention of member functions, pretty omnipresent :-)
 
I seem to recall it was about how their C ABI handled returning some struct types by value or something
 
@Jefffrey not if it was derived from a cryptographically strong random source :/
 
12:48 PM
> OpenSSL uses a salted key derivation algorithm. The salt is a piece of random bytes which are generated when encrypting, and stored in the file header; upon decryption, the salt is retrieved from the header, and the key and IV are recomputed from the provided password and the salt value.
@R.MartinhoFernandes RFC ^
 
@BartekBanachewicz don't use the openssl CLI for encrypt/decrypt. Their format is not widely recognized AFAIK
 
I'm not using OpenSSL CLI :S
 
@BartekBanachewicz So that format should be irrelevant.
 
I need to write my own RSA management scheme
 
ah well
 
12:49 PM
ASAP
@sehe format is irrelevant. The scheme isn't.
 
@BartekBanachewicz Detach from chat :)
 
I'll take a look and see what I can find out the next time I'm on Windows
I have both MinGW 4.9 and 4.6.3 there
 
I have two hours
 
@BartekBanachewicz Ok. I thought you had to do it yourself, how does it matter what openssl does
@BartekBanachewicz Do something. Copy/paste from blooddy cryptopp wiki or something
1 min ago, by Bartek Banachewicz
ASAP
 
@sehe I have no idea how it should be done, and robot told me not to take salt IV.
 
12:50 PM
^ wasting time
@BartekBanachewicz LOL you missed the joke?
 
Xeo
3 mins ago, by R. Martinho Fernandes
@Collin Intravenous.
 
He's trolling you because you carnt your homework
 
ITT: rushing makes blind, does not result in progress
 
I love carrots.
 
12:52 PM
2 mins ago, by sehe
@BartekBanachewicz Detach from chat :)
@Jefffrey lol
 
bartek has been up all night and is jittery from coffee I can only assume
 
bartek is hungry, but why potato?
last time I posted a potato, tomalak called me a racist, maybe I should be proactive and flag that potato ~_~
 
@rubenvb And chatting on the internet...??!
 
g/and is jittery from coffee I can only assume/for good fun/
g/and is jittery from coffee I can only assume/to get some/
g/and is jittery from coffee I can only assume/to get lucky/
I can only assume
2
 
wub wub wub wub
 
12:55 PM
:D
 
@LightnessRacesinOrbit they're doing the exam. I ust need to make sure they're not cheating ;-)
 
@DeadMG clang doesn't work with gcc4.9's libstdc++
 
they're not cheating
they just all have open relationships
 
thought that was a libstdc++ bug they issued a patch for pretty promptly?
 
@sehe it even is an open book exam, so...
 
12:58 PM
@sehe lol
 
@DeadMG dunno it was broken for me a few days ago
 
@Abyx Well it'll still be broken if you're still using 4.9 instead of 4.9.1 or whatever
 
yeah
 
I think I have 4.8.2 here on noobuntu and 4.9.3 on Windows
 
mmm; is stuff like this readable enough? getAllSymbols n dataset = [0..n] >>= flip getSymbolOnPos dataset
 
12:59 PM
oh boy
I've totally forgotten how to build Wide on Linux.
 
@DeadMG make
 
is there a way to get back the size of a std::unique_ptr<T[]> ?
 
@DeadMG cmake && ninja ?
 
@gnzlbg No. Use vector.
 
@gnzlbg no, use vector?
blast!
 
1:00 PM
no, thanks
 
then we can't help you
 
:P
 
why not
 
hah
 
because it is not me what decides what to use :p
 
1:01 PM
hmm.
G++ can't find it's own libstdc++ headers?
 
@ScarletAmaranth getAllSymbols n = [0..n] >>= flip getSymbolOnPos
 
nope; C decided array sizes are not worth keeping around - surely a pointer is good enough of a representation for an array
 
bah, ISTR having this problem in the past...
 
its the user, and if they give me a unique_ptr<t[]> instead of a vector, i need to store the size
 
@Jefffrey that won't work afaik (yup; doesn't)
 
1:02 PM
@DeadMG echo ; | g++ -x c++ - -Wp,-v -fsyntax-only
 
@DeadMG what OS?
 
you cant also have default initialization with vectors, nor give vectors ownership of an array, so there are cases where you don't want to use them
 
I should maybe turn that into a list comprehension... I'm not sure
 
@ScarletAmaranth flip getSymbolOnPos dataset <-- this won't work; because flip takes 1 argument AFAIK
 
@Jefffrey And produces a function that takes another.
 
1:03 PM
@Jefffrey flip takes a binary relation and two arguments
 
All functions take one argument.
 
@rubenvb Ah, it's because make targets x86 by default and noobuntu doesn't ship with x86 headers by default.
 
what I have compiles and works
I just wonder whether I shouldn't turn it into a list comprehension
I wonder how idiomatic the way I did it is
 
@DeadMG make doesn't do anything of the sort ;-)
 
user1804599
1:04 PM
@ScarletAmaranth [ getSymbolOnPos i dataset | i <- [0..x] ]
 
MSVC, now three times more ICEy.
 
@rightfold yeah that's what I was wondering (I guess it's readable-er - more readable is for pussies)
 
blimey
-j 3 really isn't as parallel as I remember
 
fiddlesticks!
 
Xeo
@rightfold map (`getSymbolOnPos` dataset) [0..x]
 
1:08 PM
@ScarletAmaranth wait what
 
@Xeo even better
 
user1804599
I'd go with the list comprehension.
 
How is that possible?
 
user1804599
i is explicit which is nice IMO.
 
@Jefffrey why would it work? bind will have no clue what to do
@rightfold yeah I kinda like it; although I'll have to compose with concat to get a semantic equivalent
 
1:09 PM
Great.
Now MSVC cannot even handle nonius.
 
How broken can this crap be.
With the first thing, everything works fine. With the second, ICE.
 
user1804599
@ScarletAmaranth Oh right.
 
Xeo
@ScarletAmaranth Oh, getSymbolOnPos returns a list itself?
 
@Xeo yeah; horrible name I guess
 
user1804599
1:11 PM
concatMap (`getSymbolOnPos` dataset) [0..x] then.
 
Xeo
concatMap (`getSymbolOnPos` dataset) [0..x] :D
 
This is so not funny.
 
fuck!
fuck you
I explicitly remembered to use REQUIRES_RTTI=1
 
I have an extreme lack of concentration right now.
 
why can't you just emit the typeinfo from every TU you moronic wanker
 
1:12 PM
concat $ [ getSymbolOnPos i dataset | i <- [0..n] ] is less sexy
 
This isn't even complicated code :<
 
@DeadMG "There can be only one!"
 
In Barbarabarbier. Going to nearest pub next, 'Sutherland Arms', AKA Barbarabarbierbar.
 
my original solution with bind is even more horrible I guess
 
@VáclavZeman That's what external weak linkage is for.
 
Xeo
1:13 PM
Or do i <- [0..x]; getSymbolOnPos i dataset.
 
user1804599
@ScarletAmaranth [ getSymbolOnPos i dataset | is <- [0..n], i <- is ]
 
user1804599
Or something like that.
 
Xeo
I like the do version
 
aaah; sugar up the bind
mmmm
 
user1804599
Fuck UIs that require me to click once to open a menu and then click the menu item again.
 
user1804599
1:17 PM
Rather than holding the mouse button after clicking to open the menu and then releasing it on the menu item.
 
Man, this code doesn't even have any weird template stuff :S
It's just a straight up universal ref that gets forwarded.
How can this ICE.
I have to say I've given up on filing bug reports a long time ago because there are just way too many.
 
to where?
 
I don't want to feel like an employee on Microsoft's testing team.
I wish I could spend two hours with this compiler without it ICEing on me.
I'll just write a rant about how bad this piece of shit is on the docs and call that "MSVC support".
 
@R.MartinhoFernandes You should file that as a bug report: there are too many ICEs. Make reporting bugs easier.
The whole compiler is tied into the .Net framework, you'd think it'd be able to pop up a dialog and report its own failure.
 
It's not.
I need to create a public profile to report bugs?
 
1:33 PM
			if (modulus.SignValue <= 0)
				throw new ArgumentException("Not a valid RSA modulus", "modulus");
fuck
fuckshit damn it
 
@R.MartinhoFernandes Since the Windows SDK v7.1, you cannot install the compiler without the .Net framework, so I guess there is some tying being done at some level.
 
@rubenvb That's because it can also compile .NET code.
 
Steps to Reproduce?
"Write any non-trivial code. It also works with some trivial code."
 
Xeo
lol
 
1:35 PM
Looks good to me.
I'll upvote it.
 
Actual results: The compiler ICEs. Expected results: The compiler does not ICE.
 
I have already reported some 5-ish ICEs.
 
Xeo
haha
I'd like to see the face of the person reading that report.
 
I can reproduce, namely, every time I decide to build my code with it, something doesn't work.
 
1:36 PM
oh god
I had to reverse the arrays
because ASN and .NET used different byte order
this is the moment for
FUCK FUCKING DIPSHIT IDIOTS STOP IMAGINING YOUR OWN STANDARDISTIC PROCEDURES YOURE NOT HELPING UFCKERS
 
hmm
 
graaaaawrh
 
why am I receiving this after 11 days?
 
@chmod711telkitty you haven't logged in before that?
 
I don't know what kind of perturbation to add to make it possible to add a std::vector<benchmark>& parameter to my registrar constructor.
Tried all possible orders, they all ICE.
Tried a typedef, ICE.
 
1:39 PM
How hard should we troll the bug report?
 
When I say "perturbation to add", I mean "try simplifying or changing the program near the locations listed above."
 
@rubenvb I have been chatting here almost every day & you can't chat unless logged in so ...
 
@chmod711telkitty chat is separate from the SO.com notifications.
 
The location listed above is "c:\program files (x86)\microsoft visual studio 12.0\vc\include\xlocnum(1166)"
 
1:42 PM
I wonder what to simplify.
I'm bananas.
 
is there any language in which I need to explicitly cast a float to a double?
 
@rubenvb I started collecting them to report when I was done with all the fixing I had to do but then it was a month later and fuck it.
 
@chmod711telkitty GLSL, I think.
 
@rightfold that haskell promises question is funny.
 
use the bumper- that's what it's for!
 
user1804599
1:48 PM
@BenjaminGruenbaum linky again?
 
user1804599
Chrome's omnibox is still suffering from severe retardation.
 
user1804599
IOW I type "promise" and nothing shows up in there, while I have certainly visited a page containing "promise" today.
 
@Maxpm but not in languages such as C++, Java or C#
 
user1804599
Oh, found it.
 
user1804599
@BenjaminGruenbaum Probably something based on π-calculus is more appropriate for concurrency. Sometimes there is more to it than just waiting for an I/O operation to complete.
 
1:55 PM
> Are Starbucks rasist?
FB post just now
what.
 
You know what'd be funny? If I ended up supporting GCC 4.1.2 but not VS2013.
Now I have extra motivation.
 
Have you tried the CTP?
 
@rightfold it's not about π-calculus, it's funny how he wants to bring JavaScript promises concurrency to Haskell, where Haskell inspired a lot of things about how we do it in JS recently.
 
@rubenvb Haha, you're so funny.
I have enough compiler bugs to deal with as is.
 
lol
 
1:58 PM
@rightfold I mean, everything passes control explicitly, when you have an abstraction over a sequence of operations you really don't care how control passes and whether it's synchronous of not. That dude is so confused :D
 
I seriously doubt MSVC's compiler quality assurance team.
Surely they know they can run other compilers' test suites if they wanted to.
 
I'm pretty sure they're severely understaffed.
 
Right. Time to move to LLVM :-)
 
The LLVM magic powder.
 

« first day (1320 days earlier)      last day (3644 days later) »