« first day (1651 days earlier)      last day (3298 days later) » 

3:00 PM
Some C++14 _t traits systematically trigger an ICE in some contexts
I forgot which because I stopped using them
But it was funny
Also zero init still is not conformant but who cares right
 
It's all fucking broken.
 
Frankly it's a miracle that it works
 
And the claims lies they post in their announcements are just rubbing salt on the wound.
 
Herb is particularly good at this
At least STL is more factual / reasonable
But Herb pisses me off, really
3
 
It's one thing to have a feature that is somewhat implemented but buggy to the point of not being usable (variadic templates), but it's another to claim it's implemented and then when you use it you get "error: not implemented" (defaulted move ctors)
 
3:04 PM
barketing marketing eh
 
The former is massaging the truth. The latter is blatantly lying.
Fuck them
And well, sure variadic templates may be complicated to implement. Defaulted move ctors, though?
 
The value-init bug is a WONTFIX (surprinsingly) because fixing it would "break backwards compatibility".
 
This just gave me a great idea on how to deal with open issues.
Can’t close the bugs you can’t tell are here though!
 
There's also the bug where the expression inside a trailing delctype are "global context" or I don't know what the standardese is
So you can never refer to this within them
lel~
Microsoft Visual Despair 2013
 
GCC actually had that for a long time. The language spec changed a lot during the process.
 
3:10 PM
in which case defaulted move ctors are not working in vc2015?
 
@Cicada Microsoft Visual Despair 2013 Forever
 
@R.MartinhoFernandes Ultimate Edition!
At least you can synchronize your settings across PCs how great is that
 
@Predelnik struct foo { foo(foo&&) = default; };
 
@Predelnik All of them apparently
 
@Predelnik Given this, I'm inclined to believe the answer to "in which case?" is "all the goddamn cases".
 
3:13 PM
(Are you compiling with the v130 toolset? Just in case)
 
Seriously, how is this excusable? What kind of tests can they possibly have that pass?
 
hmm for me it compiles
 
user1804599
nothing compiles
 
user1804599
it's but an ilusion
 
is butt an illusion?
 
3:15 PM
Let's find out if I can download movies illegally in HK
 
@Jefffrey your's is
 
@Cicada OH ffs. My boss changed that :/
 
@Cicada HK?
 
@R.MartinhoFernandes I still consider the rant valid :p
@Jefffrey Yes.
 
What's that?
 
3:16 PM
Hong Kong
Small town south of China
 
lol
 
Hmm, now I need to delete the PCH.
 
yeah PCH needs to be recompiled on every update
 
If I hadn't taken next week off, I'd just go home now.
I guess I'll take a break and use the punching bag.
 
Don't call your boss that
 
3:19 PM
@Cicada He left.
But there's a punching bag in his office.
 
His face on it? :D
I'm gonna sleep before midnight for the first time this week omg so excited
 
The aircon control is stuck between my bed and the wall
help
 
The only good thing about having to finish this is that I won't be lying to my flatmate when I tell him I can't hang out with him tonight.
 
user1804599
Is there a generalisation of types and kinds?
 
user1804599
3:24 PM
I guess it's just "types" collectively.
 
Class
Category
I have no idea
 
Skipping out on a Chandler Carruth talk. Need a break!
Hi all
 
funny thing about vc2015 ctp6 - it gives internal compiler error on single line:
template<a>
 
Can’t a fuzzer catch that kind of stuff ._.
 
I can die now that I've seen everything stackoverflow.com/questions/29851292/…
 
3:27 PM
@LucDanton shhhhh
 
@LucDanton lol, your expectations.
 
@R.MartinhoFernandes That there is someone lazy enough to want a program to catch bugs in their stead?
 
Speaking of MSVC's quality
I admire @JamesMcNellis' optimism wrt. MSVC. "We don't quite have AST's yet, but at least we do have trees now! Getting there!" #accu2015
 
MSVC has no AST?
What!
 
That's why they can't do two-phase lookup correctly, yeah
 
At least it's something they're actively working on now!
 
Are you shitting us?
 
I did it correctly
 
@Cicada Their compiler was found in the heart of a meteor that fell from the sky. The purpose of the 5 people in their compiler team is to erect little fences of code around it so as to not disturb it.
 
3:33 PM
How do you go about compiling a language without AST
 
@Cicada that's how VS's been doing it all this time
 
you go straight to assembly
 
@Cicada The way compilers did it originally: read the source token by token, spit out code as you go
 
whatthefuck.mkv
 
@Cicada You just fuck around and hope your users won't notice.
 
3:34 PM
std::cout << "mov eax", m_registery
 
That's why C++ and C has header files. Allows you to process a single TU in a linear manner, so you don't have to store the whole thing in memory
 
I'm pretty sure Christopher Columbus had a more sophisticated compiler than that back in 1492
6
 
:D
 
@Cicada this makes me happy
 
you can say about MS what you want imho the only thing they seem to be doing right is the damn UI
 
3:35 PM
cough
 
Ribbon.
 
> UI
> compiler
 
Btw, it was wonderful to see his face light up in a conversation where someone complained about a bug in gcc's linker. "What? You mean other compilers have bugs too?"
11
 
Hey, at least it's something.
 
@jalf Haha, he did something similar when I met him here in Berlin.
 
3:37 PM
@jalf that's like... AOT interpreter
 
@jalf Did he shed a tear
 
@deW1 Quite the contrary. What they do right is mostly the standard library. I did get gcc 5.1 installed last night, so we'll see if it's better, but at least up through gcc 4.9, gcc (well, its standard library) broke on roughly 85% of my code.
 
@BartekBanachewicz It's also how the first C compilers worked. YOu didn't have enough memory to store the whole TU in memory at once. So you read it bit by bit, and spat out code on the fly
 
STL has a good standard library, yes.
Too bad the compiler fucking sucks
 
That explains a lot of quirks about the preprocessor, includes and lexing/parsing rules
 
3:38 PM
@JerryCoffin true I forgot about that. Now I remember why I'm still using msvc :D
 
@JerryCoffin Fun fact, they're looking into replacing dinkumware with libc++ (perhaps just partially)
 
@JerryCoffin Which bits?
 
@R.MartinhoFernandes Well at least they removed trigraphs.
 
@Cicada As STL frequently points out, most of his job is checking bugs before forwarding them on to Dinkumware.
 
@R.MartinhoFernandes Well, at least they have a non-CoW std::string. That's something!
 
3:39 PM
@jalf Who's "they"?
Everyone does so now, I think.
 
Xeo
@jalf GCC 5.1 does too :P
 
Yeah, it’s been like that for like what? Two entire days now?
4
 
lol
two entire consecutive days, please
 
@LucDanton Well, the context was precisely 5.1.
 
Today's my last day at Google. Gonna miss the place. :(
 
3:42 PM
@R.MartinhoFernandes locales, iostreams, streambufs, regexes (not that that's a revelation to anybody), strings, some of the more obscure algorithms, valarrays, threads (odd, given how much easier these should be on Linux than Windows), and the list goes on and on.
 
@Mysticial Whatcha gonna do next?
 
@jalf I got poached by a firm in Chicago. So that's where I'm headed next.
 
@R.MartinhoFernandes oo I followed the arrows wrongly
 
@Mysticial Cool
 
@jalf Maybe now they'll have actual deques.
 
3:45 PM
I answered a C++ question holy shit
 
@R.MartinhoFernandes That'd be nice, yeah
 
Your answer is probably broken in 3 different ways
 
@R.MartinhoFernandes I suppose I should add that in some cases, the "broken" isn't quite as complete as others--for example, with strings most things do technically work--just slower than VC++ by a factor of 20 or so.
 
@CatPlusPlus I don't think it is but it's trivial anyway
and only borderline related to C++
 
Then at least 5
 
3:46 PM
it's actually for a library
0
A: JsonCpp: How to get en empty object in a Json::Value?

Alex M.I tried this out: Json::Value root; Json::Reader reader; reader.parse("{}", root); assert(root != Json::nullValue); std::string someStr = Json::FastWriter().write(root); assert(someStr == "{}\n"); All of the assertions pass. Is this not working for you?

 
why do all prebuilt windows software insist on being installers
 
Because Windows
 
@Cicada The same reason prebuilt Linux software tends to come in packages?
 
I wanted to say that
Thief
 
I meant: why not just ship a portable exe :(
fu guis
 
3:48 PM
Well, that and lack of aversion to MSI.
 
What's a portable exe
 
Thing that you can just copy/paste around with its deps and it still works. Even from an USB or whatever.
 
Most .exes are Portable Executables
 
One-time tasks are a thing
Central inventory is a thing
Automation is a good thing, not a bad thing
MSI you can roll out on 1000 computers without breaking a sweat, your ~~portable~~ executable takes 3 hours of scripting to do that
 
Except you can't run VS2013 from a pendrive.
 
3:52 PM
@BartekBanachewicz ITN Bartek uses Spring.
 
@CatPlusPlus What's wrong with providing both~
 
I don't get this run from USB nonsense
 
Not run from USB ffs
Just run without requiring a damn installl
 
That's the only dubious advantage
 
I don't want to install shit
I want to use shit ASAP and delete that shit when I'm done with it
 
3:53 PM
lol
 
Also codeword for "I can't figure out how to write to userdir properly"
 
95% computers are not usable
and you don't have admin rights.
 
And the answer is to compromise your data by exposing your USB thing to an untrusted environment
Yeah I can see how that's desirable
 
This is not about USBs
 
it's almost as if there were more than one use case for software. Crazy thought, that
 
3:55 PM
What data
 
If something needs one-time tasks to be done then you'd do the same thing installer does anyway
 
No
 
:cripes:
 
It's like going to a convenience store and signing a one time contract for buying a BOTTLE OF WATER
Excellent metaphor Cicada
Very relephant
Morality: fuck installers
 
This is getting about as retarded as whining about ~~bloat~~ and 20MB executables
 
3:56 PM
Yeah about that
 
@CatPlusPlus but a lot of tools don't need one-time tasks to be done when "installing"
For a lot of tools, wrapping them in a msi serves no fucking purpose whatsoever
 
Except making it easy for people who do mass deployments
 
because they're tools you intend to run immediately yourself, just you, and you do not need to roll them out to every PC in a company
 
It gives the dev a fuzzy feeling of ~~professional accomplishment~~
The vast majority of people don't do mass deployments god
 
Also elevated installation to protected directory
 
3:57 PM
@CatPlusPlus Right, because everything needs to be mass deployed!
 
Which is important to literally everyone
 
no
 
@CatPlusPlus ... no?
 
lol
@Cicada Vast majority of people don't want to deal with manual extracting either
 
When I install procmon.exe, say, it's not to mass deploy it to everyone in the company. It's so I can see what's going on on the specific PC I'm sitting at right now. I don't need it to mess about with my registry, I don't need it to be in a protected location. I just need it to run here and now
@CatPlusPlus You know, it is possible to offer both. Or perhaps, offer the option that makes sense
 
3:59 PM
@CatPlusPlus It's still significantly easier
 
A code sample from MSDN, for example, proooobably does not need a fucking msi
 
Just offer both
 
and yet it has one!
 
MSI + portable and that's it
 
because Microsoft
 
3:59 PM
Everyone happy
 
Installer are great in most scenarios, absolutely (even if MSI specifically is pretty awful). Sure, yes, installers are vital. But not everything needs an installer.
 
I forgot to get my tortilla out of microwave
 
well, break time over for me. Have fun all
 
4:02 PM
Also, the firefox version with my favourite plugins on my pendrive
Pendrive - superior version of Skydrive
 
@jalf Procmon.exe is a stand alone executable that sits on my desktop.
 
Procémon®
 
Corporate or school restrictions to installing programs are also a thing.
 
lol at corporate policy that bans that but allows USB drives
 
They would also need to ban downloading and uploading files to the Internet.
 
4:07 PM
Impossible
 
hola
 
Any security policy on a computer with developer tools and network access is futile
 
Don't use someone else's computers, it's not hygienic
 
@Cicada r u a haxx0r?
 
I know suckets m8
 
4:09 PM
sockets?
 
Time to find out if it's illegal to download movies from TPB in HK. rip (litterally)
 
@Cicada glhf
 
@milleniumbug what's superior in it again
 
It's not public
 
@Cicada Of course it is
 
4:12 PM
Of course. In theory.
I just want to see what the MTTJ is
 
If someone comes to stop you just open the window
 
oh I forgot this is Lounge<Paranoia> again
 
again gl;hf
 
lol paranoia
 
@BartekBanachewicz Well, China.
Don't want to be sentenced to death because I download loli
 
4:14 PM
That's just "reading the news" in Asia
 
> Content Rating
Low Maturity
 
> Your phone, just better
 
so it's perfect for us then
 
Thrilling
 
4:20 PM
@BartekBanachewicz It's not paranoid if they're truly out to get you.
 
user1804599
 
sbi
@jalf Yeah, indeed. If you meet the @Puppy in person, he's almost entirely likable. :)
(His main failure from my POV is that he is so damn bloody young. But he can't help that, so I won't put it up against him.)
 
I don't think being wrong is a prerequisite of paranoia
 
sbi
@JerryCoffin Well, given that they didn't make the std lib themselves, that's a damn slap into their face!
But, hey, we now have a spy at MS, who litters the C std lib with C++ code. :)
That makes me chuckle just everytime I think about it.
 
@LightningRacisinObrit I always thought it involved unwarranted or delusional suspicion.
 
4:31 PM
Breadtime
Good night!
 
sbi
@fredoverflow That's lacking a sleep(), isn't it?
 
@R.MartinhoFernandes Irrational yes, but you can be irrational without being wrong
Even if only by pure chance
 
What is so bad about std::valarray, assuming you actually want the memberwise arithmetic operations?
 
sbi
@chris Have a look at this, especially at @Jerry's answer.
 
If you want std::valarray then there is nothing wrong with std::valarray.
 
4:45 PM
@sbi Thanks, so it's mainly an inferior version of expression templates and its purpose isn't memberwise arithmetic in general, but (more poorly) optimized arithmetic.
 
sbi
@chris Basically, it was an attempt that got orphaned during the standardization, with a value that is questionable with today's architectures.
 
Unfortunately, though, there's no better replacement for the expression template aspects in the standard library. I notice part of it is covered by array_view.
Maybe not unfortunately.
I was just wondering why I'd want to use a vector and loop through for these operations if it's conveniently done by valarray. Can't say I've personally used valarray, though.
But yeah, I don't know if there's really a need for a better standard optimization-targetted version given all of the libraries we have for that.
 
did we learn what bob got for his project?
or paper, what ever it was
 
@LightningRacisinObrit Did your present arrive yet
 
4:52 PM
@Columbo no
 
@LightningRacisinObrit :(
 
Ven
@LightningRacisinObrit was RMS lucky, or..?
 
@Ven Regarding what?
 
Ven
@LightningRacisinObrit he prefixed his emails with "if the NSA is reading this" for a loooong time
 
@Ven I doubt the NSA read his emails.
 
4:54 PM
I doubt he thinks NSA reads his emails either
 
Ven
@LightningRacisinObrit but they could. and nobody would believe that back then
 
@Ven Everybody believed that always.
 
if the NSA reads your mails you have other things to worry about :)
 
The notion that a spy agency has the capability to read emails of citizens is not a new one.
 
You can't have security and privacy without paranoia
 
4:55 PM
parannoying
 
sbi
@deW1 If that was true, many millions of people had serious stuff to worry about.
 
evening
 
0
Q: why would this search method dosen't scalable

AlayaI want to parallel my search algorithm using openMP, vTree is a binary search tree, and I want to apply my search algorithm for each of the point set. below is a snippet of my code. the search procedure for two points is totally irrelevant and so can be parallel. though they do need to read the ...

dat title
 
he accidentally the title
 
-1
Q: Duplicate column names in HDF5 tables

Damascus SteelIf I run this code (adapted from this example) #include "hdf5.h" #include "hdf5_hl.h" #define NFIELDS (hsize_t) 2 #define NRECORDS (hsize_t) 1 int main( void ) { typedef struct Particle {int lati, longi;} Particle; size_t dst_size = sizeof( Particle ); size_t dst_offset[NFIELDS] = { HO...

 

« first day (1651 days earlier)      last day (3298 days later) »