« first day (1113 days earlier)      last day (4061 days later) » 

user1804599
17:05
stackoverflow.com/questions 6,000,625 horrible questions!
But now, a decent question: builtin toolchain definitions or have them in some sort of CMake-like file that is openend on every run? Unless One of you can convince me of a simple way of having the builtin be compiled from the description file.
Or I need to get Spirit working in my head.
Oh neat. My pull request got accepted.
user1804599
Do exceptions need RTTI?
user1804599
How does polymorphic catch work without RTTI?
17:18
You mean catch(const std::exception& e)?
I don't recall any other type of polymorphism in catching
user1804599
Yes, subtype polymorphism.
Why would inheritance need RTTI?
user1804599
It doesn’t.
user1804599
But you need to be able to check whether the thrown exception is a subtype of the caught exception type.
17:26
@GamesBrainiac I didn't expect more mature answer, honestly.
user1804599
@Rapptz How does it work without RTTI?
@Rapptz catch needs RTTI if you catch a polymorphic class.
@R.MartinhoFernandes Does it? I compiled with -fno-rtti just fine :s
user1804599
@Rapptz There is no catch there. :|
user1804599
17:30
@BartekBanachewicz @GamesBrainiac can you please reply to specific messages.
user1804599
@Rapptz yes that.
working with the bitwise operators is actually enjoyable when playing with udp packets
I'm using -fno-rtti and it works as I expect it to. :|
Consider a scenario where derived is not there.
This, coliru.stacked-crooked.com/a/d9e797d1eaf329ae with void f() { throw derived(); } from a library.
@JohnMerlino You mean, it's less useless if it's useful?
user1804599
Isn’t this possible in C++14 with decltype([] { using std::…; return …; } ())?
No lambdas in unevaluated contexts.
@R.MartinhoFernandes I can't see the difference.
user1804599
@R.MartinhoFernandes Oh, Hmm.
@rightfold Put it in a namespace.
user1804599
17:36
@Rapptz derived does not exist during compilation of the compilation unit in question.
user1804599
@Rapptz Yeah, that’s what I did in my answer on Stack Overflow.
Hm..
@Rapptz derived doesn't exist in the code that catches it. The code that throws it does not know there's a catch for base.
So catch uses dynamic_cast and typeid?
@rightfold Meh. I'm quite content with the current state of affairs and no special syntax.
user406009
17:38
Heh, it seems like the the no-rtti does not actually remove all the type information when exceptions are used. "Note that exception handling uses the same information, but G++ generates it as needed. " gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html
@Rapptz Probably just dynamic_cast.
@Lalaland Oh, thanks!
@Lalaland Hmmk.
user1804599
@R.MartinhoFernandes I think the C++14/SFINAE issue is interesting, though.
@Shog9 Oh lol. I never noticed that the edit was by rightfold /cc @rightfold I hope you don't mind my thinking this was a rejectable edit
17:42
The post barely describes anything.
It shows code that is basically the same signature twice... I have no idea what that intends to convey.
user1804599
@sehe of course not. :P
I mean, UB is capitalized. Period.
The rest was okay, but a bit minor. I would have had no problem accepting the rest
@R.MartinhoFernandes I believe he meant expression SFINAE with decltype.
Just judging from the comments of the SO question.
Also.
+1 Basically a good solution, except for the name detail as this will probably be used quite often in larger project and you just injected using std::sin; - this is the reason I used a more specific namespace name for this case to contain the using. — Daniel Frey 45 mins ago
Wouldn't a large code base have a nested namespace where this wouldn't be an issue?
@rightfold There is. The catch is, there is no catch!
@Rapptz The problem is that you just polluted your detail namespace with something that you only want visible in one TU.
user1804599
17:48
> @rightfold, can I use wstring without wchar_t?
user1804599
lolwot
user1804599
> Can I use std::vector without std::vector?
Well, not "one TU", but "one small scope".
I hate this dumb culture appropriation garbage people shitpost.
17:50
i.e. it's racist to partake in another's culture
@Rapptz that's a nice chain of nouns
user1804599
Cultures are not races.
I know that.
Discriminating isn't discrimination
I also once stayed in a hotel that had 10 floors, but it didn't have a 9th floor
Documentation isn't documentation.
You missed the difference?
user1804599
@JohnMerlino Sparse array!
@JohnMerlino Your randomizer has gone awry. I mean, this is obviously a good demonstration why bit twiddling should be avoided. Or, the 9th floor was built by a contractor that used UDP for contracts.
user1804599
17:56
Ohh sorry, I forgot about it. Liczba - Number wynik - result czescCalk - total part czescUlam - fractional part znak - sign — user2948135 1 hour ago
user1804599
lol
user1804599
Non-English code is such a good idea.
I don't see why anyone would need a translation there :S
@rightfold I hate people writing non-English code with passion.
Especially those trying to use Polish identifiers.
user1804599
Belgian voting machine software is written in French.
17:58
@rightfold czesc{Calk,Ulam} gives a whole new dimension to Hungarian notation
@rightfold That's security by obfuscation (they thought it was encrypting the source code)
user1804599
I’m going to write the code for my next question in Dutch.
@rightfold You will, no doubt
#include "D:\programyCodeBlocks\arytmetyka\include\CLiczba.h"
lol
user1804599
lol
user1804599
So this guy uses gets.
18:00
I've never thought of doing this.
user1804599
Why is there so much bad code on the Internet.
Vala has no Linq. C# my ass
The Linq goodies don't need language features beyond lambdas and extension methods
@rightfold Because everybody sucks at programming?
@Rapptz I did it a couple of times when debugging to rule out bad include path orders and associated shenanigans.
user1804599
18:04
Not even extension methods.
@rightfold It sucks without that.
user1804599
|> operator (and depending on how it works, partial application) should work fine too.
@rightfold Vala is similar to C#, not F#.
user1804599
Didn’t know you were referring to Vala specifically.
@rightfold I was referring to Valhalla.
18:08
Trying out ninja.
Looks neat.
'tis what I use.
My laptop's Bluetooth chip is so fucking reliable
@Rapptz What do you use to generate ninja files?
I wrote my own thing
It's kinda buggy though
Yeah, I meant, which language.
18:13
Um, I originally wrote it because I wrote an IDE thing for students in beginning C++ class so I needed to write it in C++ since the footprint is smaller than python.
They have this though
I wrote counterpart of that in Factor
:v
user1804599
What implementation of Factor do you use?
user1804599
I’m interested in it.
I should probably fix my thing
18:28
they made a dummy thread in python, why not make a dummy fork?
@EvgenyPanasyuk I've added an alternative:
https://groups.google.com/a/isocpp.org/d/msg/reflection/WWPjZSwaOBc/BpjoMXoPeXUJ
I don't know how to wrap member functions without having them as values and having to instantiate the tuple to modify them. Maybe that is ok and those tuples can be constexpr and one should be able to build a class from a constexpr value.
@rightfold Factor has only one implementation
user1804599
Oh. :v
What's the best way to get USB3.0 to an old mobo?
Buy a new mobo
18:29
no. That means throwing out good htpc hardware.
@CatPlusPlus Yeah, and it's the best one.
I could dump the fancy fan-cooled case for my HDD :(
And just SATA it.
Maybe there are PCI USB hubs
but it's such a fancy cooler thingie
and it will ++lifetime
Do you have PCI-E?
18:31
yes. It's a Asus P5Q-E. It's socket 775.
It's not old as in cruft.
but running the OS from USB 3.0 is probably a bad idea?
There are PCI-E hubs
@EvgenyPanasyuk but then classes are objects (even if only constexpr objects are allowed) and then the question... why only constexpr objects? Non-const expr objects should be fine too and then... run-time reflection. I mean its fine that a compile-time reflection mechanism can be extended to runtime reflection by removing a constexpr requirement but... thats a hell of a long shot for a proposal.
how about a SATA to USB3 cable? Which then is attached to a USB3 to SATA enclosure. Yay for plugs!
I doubt something like that exists
Why did you get a HDD enclosure with USB port in the first place
I just need to blow this thing inside out: google.be/imgres?imgurl=http://usb.brando.com/prod_img/zoom/…
@CatPlusPlus Because Raspberry Pi.
18:37
Ugh
Now I am using my old desktop PC parts to make a real HTPC.
Then just get a case and mount the drive internally, like a sane person
But fancy cooling!
Get a case with a fan
I don't want to spend a lot of money on a fancy HTPC case.
Duh.
this is it man.
18:39
Tower cases with fans cost nothing
Remote control, ATX. No TOWER CASE IT'S A HTPC FOR CHRIST'S SAKE
Get a horizontal tower case jesus
It's still dirt cheap because it doesn't have marketing buzzlabels attached
hmm my brother does have an Antec silent thingiewhatchamacallit
"HTPC" my ass
sonata elite
18:41
IR receivers aren't that expensive either
Yeah, true.
And this one looks awfully small anyway
Well yeah, it needs to fit under the TV.
It fits ATX.
The Sonata Elite is too bulky.
Nope, still on the original plan.
It might fit ATX but it looks like PSU will end up directly on top of CPU fan
I found a guy using an Arctic Freezer Pro in that case.
So that's good too, because that's what I have.
It's not going to be number crunching anyways.
Barebones Arch+XBMC+torrent+some webserver with secure file access over the webz.
still not yet decided on the right way to handle that last bit.
18:45
So PSU is on the front or what I don't get this design
yep looks like it.
gods I just remembered I have another uni project to finish
And it's been going on forever and I can't get rid of it
Fuck everything
user1804599
@CatPlusPlus what’s it about?
18:48
good luck.
It's a database project crap
It's so awful
I want this all uni bullshit to end
user1804599
lol
All of that un-R# code
But it's silver...
You have a TV, you lost life anyway, might as well go silver
18:51
aha... ah... ha.
Catz be funny.
And you wonder why on earth you haven't conquered the world yet.
I need to be funny because I have strong urge to cry
> 5 errors in 4 files
I wonder how the fuck does this even start
Stupid Razor views
Oh great. VS2013 barfs on braced-init-lists. No shit.
Preview, RC, or release?
Hmm, how do I get ninja to run a program that produces no output files?
@Borgleader release.
18:56
=/
I don't even want to see what the difference between those are.
MS fails again.
At everything.
@rightfold effort.
@R.MartinhoFernandes ?
@rubenvb What's the code?
@R.MartinhoFernandes Just create a rule
18:59
@Rapptz I want to run my tests.

« first day (1113 days earlier)      last day (4061 days later) »