« first day (1598 days earlier)      last day (3344 days later) » 

9:00 PM
You gain a lot of performance. With the new architecture and ditching GDDR5 for HBM (which is plenty faster), it will pretty much make up for the low FPS pre patch.
Not to mention a built in liquid cooler on the reference card.
 
are you sure that's supposed to compete with the 970?
 
It's $350-400
 
it's not even released yet wtf
 
It's not :P
It gets released this half of 2015.
 
yeah let me doubt what you said and just wait until it gets released
and see how games and nvidia respond to it
 
9:02 PM
Okay.
 
personally I would favour the card vendor that doesn't just buy game developers
it's anti-competitive
 
6 mins ago, by Alex M.
but it's not exactly nice to play a downgraded game either :P
 
that's just PC gamign
if you can't stand not playing with the top visuals for every single game then you're paying way more money than it's worth
 
It's pretty much going to blow NVIDIA out of the water with the new release. Just like last year with 680 vs R9-290
It absolutely defeated NVIDIA's top tier card for $150 less.
And even more recently, the R9-295X2 vs TITAN Z.
The 295X2 had a built in water cooler, and cost $1500 less.
 
who the hell buys those cards
 
9:07 PM
And also performed 10% better.
No one does.
 
nvidia X70 are like best value
 
Not compared to the 290's.
 
they're excellent for a while and then you replace them with newer cards because they don't kill your wallet
 
The 290's are cheaper and perform pretty much the same.
 
getting a titan is kinda overkill
 
9:08 PM
Yep.
Not to mention AMD's cards always perform better in GPU accelerated stuff.
Like bitcoin.
I believe AMD is getting closer to developers with their "Never settle" thing.
The TITAN Z and the R9295X2 were overkill of course. They were two cards in one.
Weird part was that the TITAN Z was 2 780's underclocked (Not even 780Ti) and the R9295X2 was 2 R9-290X's overclocked. Keep in mind that an R9-290X absolutely defeats the 780. People were mad when the TITAN Z cost about $2000 more than what they would have paid if they bought two 780's.
 
my ass hurts
I'm having an annoying case of diarrhea
just what I needed
 
9:23 PM
Use some pepto or something.
 
I think it's over now
after episodes like this ends I always feel good
mainly because they end
but also because I feel as if I eliminated lots of toxic crap out of my body
which is probably true
 
user1804599
lol, "he's a little too nervous for his first date" dumpert.nl/mediabase/6642097/c970466a/deomeneer.html
 
why did I carry the \obj\ folder around for 80+ commits
I suck at gitignores
 
TIL clang gives better error messages if the metafunction name is enable_if.
 
@Rapptz ooo, side by side comparisons plox
 
user1804599
9:33 PM
 
user1804599
dat new stylesheet
 
@AlexM. Good question.
 
I found this through github.
 
that's curiously specific.
 
Xeo
9:40 PM
@Rapptz Too bad it points to the alias declaration
 
Yeah that's apparently a bug.
I still find it odd though lol
 
methinks this op doesn't understand implementation defined
0
Q: Why are the UINTX_C() macros not properly defined in Windows stdint.h?

KyleLIn MVSC, when I #include <stdint.h>, I end up with the following definitions for the UINTX_C and INTX_C macros: #define INT8_C(x) (x) #define INT16_C(x) (x) #define INT32_C(x) ((x) + (INT32_MAX - INT32_MAX)) #define UINT8_C(x) (x) #define UINT16_C(x) (x) #define UINT32_C(x) ((x) + (UINT32_...

 
2 days ago, by Etienne de Martel
@DonLarynx That's oddly specific.
 
Xeo
@Rapptz so old o_o
 
@райтфолд :(
 
9:50 PM
@Rapptz ta
 
So this just happened
Typos can get you banned.
@AlexM. that junk food...
 
user1804599
lol
 
user1804599
Cool. In Rust pointers to mutable objects can't alias.
 
user1804599
let mut x = 1
let y = &mut x
let z = &mut x // illegal
 
Arrrg. Why did they make is_sorted return bool, but is_sorted_until returning an iterator?!
I mean it's obviously more useful, but the naming was so confusing that I assumed the function was rather useless (or overly specific). Turns out it does something useful (akin to findfirst_adjacent_if)
 
9:58 PM
naming is fine in a way
"iterator pair is sorted until this iterator returned"
 
user1804599
Type lambdas are so cool.
 
@райтфолд Why is that useful? thread safety?
 
user1804599
I think so.
 
Omg stop writing answers in comments ffs this is not a bloomin' chat room — Lightness Races in Orbit 21 secs ago
 
Xeo
@LightnessRacesinOrbit mimimi
 
user1804599
10:16 PM
I don't know how to format postcondition violations in diagnostics.
 
user1804599
main.mill:1: warning: violation of postcondition `out in Int`
    func main(args: List(String)): Int { "foo" }
                                         ^~~~~
 
user1804599
Perhaps like that.
 
user1804599
Dunno.
 
Is this answer complete?
2
A: How to call a method defined in main.cpp from another .cpp source file?

πάντα ῥεῖ "Is it private / public / something else?" Such is called a global variable, and it's publicly visible. Anyone can access it just providing a extern int var; statement. "can I create a getter/setter for this variable?" Yes, you can do (see later explanations) "I can't even include ...

 
@πάνταῥεῖ no
 
10:20 PM
@LightnessRacesinOrbit I've asked for more input impilcitely
 
lol
Apple came out with a Vlad
7
@πάνταῥεῖ You forgot "Cheers & hth." at the end
 
@LightnessRacesinOrbit :P
I think that question is actually useful for anyone coming from a C background
 
user1804599
I'm thinking of using ‘❧’ for separating diagnostics.
 
@LightnessRacesinOrbit Seen them today and had to grin ;-) ...
@LightnessRacesinOrbit Seriously, do you think that tends do be a question that rather needs closing, than an answer?
 
10:38 PM
@πάνταῥεῖ I didn't read it
 
Anyone know what happens if you wait on a boost asio timer with a timeout of zero?
 
user1804599
How about this? i.imgur.com/kbNqxGp.png
 
@LightnessRacesinOrbit "I didn't read it" So you're just prejudgeing me now (for rep-whoring)??
 
@райтфолд it's decent but nowhere as decent as mine
 
hmm can I pass a function pointer as template arg
@πάνταῥεῖ When did I prejudge you?
@πάνταῥεῖ I said precisely nothing about the fact that you answered
hmm yes I can. see I want the call to be inlined. do I have any chance at all? probably not
 
10:49 PM
@LightnessRacesinOrbit I'm just paranoid again, forget it ;)
inlining is a good point, but won't work out with an unnamed namespace, would it?
 
@LightnessRacesinOrbit lol
 
@райтфолд: Have you learnt Ada 2012 yet?
 
good evening people, robots, cats and other animals
 
@LightnessRacesinOrbit did you mean to pass a function-pointer, as a non-type template argument, in your later snippet? I'm guessing No because of the other code, but heck.. one can't really tell
 
11:04 PM
@FilipRoséen-refp oops
yeah, kinda. I mean, I don't really care which way round it goes. but I corrected it to at least be internally consistent, thanks
what the fucking fuck
moderator just nuked my response to hvd about the same thing
after like 10s as I was adding details
moderators on SO are total fucking wankers lately
 
@LightnessRacesinOrbit just flag it as obsolute
 
@FilipRoséen-refp: Right, template type args cannot be deduced from ctor
fuck C++, seriously
 
@LightnessRacesinOrbit I'll try to answer your question, but I think a need more context to be honest
 
@LightnessRacesinOrbit does the function-pointer change during the lifetime of an object of type Foo?
 
11:08 PM
@FilipRoséen-refp It's more a question about C++ and GCC's hypothetical inlining abilities in these circumstances
@FilipRoséen-refp no
 
@LightnessRacesinOrbit You should state that in the question
 
@FilipRoséen-refp done
 
@LightnessRacesinOrbit also; does the functions (sendMonkeys and sendTissues) have external linkage in your real usage?
 
@FilipRoséen-refp I haven't written them yet. They can have internal linkage.
 
oh wait, are you looking for a way to inline calledLater, or the invocation of the function-pointer? or maybe both?
 
11:12 PM
calledLater is trivially inlinable
it's the latter I'm interested in
sorry, my question is pretty shit. I tried to abstract it away from the real code a bit because it would be far too long and complex otherwise. It's worked well as a launchpad for chat discussion though
I actually have a class with some function members and data members that, in concert, implement a priority queue of Things, periodically doing stuff to those Things based on the passage of time and a few other factors. That's fine, but now I want the same logic for a second set of Things where the "stuff" differs just slightly.
 
@LightnessRacesinOrbit as you see here the calls to sendMonkeys and sendTissues are inlined in main (the use of inline_check) is just to show that we don't first call sendMonkeys and then inline_check
 
So I figured I ought to move the entire mechanism out into its own type, template type, something. Rather than just write out all those functions and containers again.
But I can't abide by introducing extra calls for the "stuff"
@FilipRoséen-refp That's pretty convincing
 
@LightnessRacesinOrbit but it all also depends on what sendMonkeys and sendTissues does, inlining calledLater is trivial (and will most likely happen in either case), but without knowing what sendMonkeys and sendTissues look like.. well, the question about if they are inlined is impossible to answer
 
ooh functors
proper ones
without state
now why didn't I think of that
I was too busy thinking about storing like a boost::function<void()> and worrying that because different instances of those would vary by value, not by type, inlining would become problematic. But proper honest-to-god functors are an obvious solution...
 
11:28 PM
@LightnessRacesinOrbit lrio.com
 
I own orlp.me
 
Nothing there :(
 
home made authentication
what's better than that?
 
11:33 PM
good authorization?
 
secure authentication
 
it's super secure dude
 
wickd smaht
 
62^128 possible tokens, sent over HTTPS with 7 days lifespan
what could possibly go wrong
 
RNG seeding
 
11:35 PM
with crypto secure random generator
 
proof or it didn't happen
besides, why are you using 762 bit tokens?
 
I'm using strings of 128 characters, with a..z, A..Z and 0..9
that's as opaque as it gets
 
floor(log2(62**128)) = 762 bit
way overkill
 
@orlp oh well
better safe than sorry
128 characters over the net are nothing nowadays
but then again, I know nothing, so...
I was tempted to go 256 tbh
 
@Jefffrey it's not safer
you're more likely to use up your systems entropy pool, reducing safety
 
11:38 PM
@orlp against trying to guess a valid token yes, no?
 
@Jefffrey no
@Jefffrey 128 bits already is well outside of what's guessable
 
wait, I have a limited entropy poll?
 
well duh
where do you think the randomness come from?
thin air?
 
dunno
 
entropy for your system comes from unpredictable events happening to it
e.g.: cursor/keyboard input, CPU temperature, network packets, etc
 
11:39 PM
Hm.
I think XML is easier to use in C++ than JSON.
 
there's only a limited about of unpredictability happening to your computer
 
this is the library not the other one
> Pool of Entropy. contains a self mutating pool of entropy, that is always guarantee to contains data.
@orlp 340282366920938463463374607431768211456 seems like a small number
 
Like, what I'm stating over here is well, well beyond what you need to worry about
 
it's interesting though
 
that's why I say it
 
11:42 PM
it wasn't interesting to me
 
@orlp A thermal diode isn't really about CPU temperature (which could actually be fairly predictable).
 
@JerryCoffin thermal noise then :)
you should see it like this, your RNG generating tokens is seeded using unpredictable data from your computer, using this data should be seen as a consuming operation from a crypto perspective
 
Maybe I could just use 64 characters
 
hmmm
 
still way larger than 128 bits
 
11:43 PM
I just realized that the design of C# makes it more amenable to tooling in a fundamental way that value-typing doesn't permit.
 
but then again, assuming the CSPRNG engine that haskell employs is secure you can squeeze out terabytes of data from a single 128 bit seed without worries
 
This is somewhat opinionated, but I think one of the discerning factors is that UX questions are much more subjective than SO questions, both in terms of the answers given, and in terms of 'on-topicness' of the question. On SO, it's easier to immediately spot a bad question or a flat-out wrong answer. In other words, SO tolerates less by definition. — Rotem yesterday
 
even 32 would be fairly suitable
@orlp From this application I expect something like ~100 clients a year with a 6 month connectivity each
 
the number of tokens given out would really be small
 
11:45 PM
@JerryCoffin in google chrome that PDF just flickers my screen
@Jefffrey again, all this is well well beyond what you need to worry about :P
 
well, up until now am I doing something terribly wrong?
 
probably
the devil is in the details
 
lol
right
 
Works fine on Adobe Reader.
 
works fine in sumatrapdf as well
 
11:46 PM
@orlp Wait for it to load.
 
just chromes doesn't like it
 
I'm using chrome too.
 
@orlp Strange--displays fine in Chrome for me.
 
It just takes a while to load.
 
@JerryCoffin really strange, never had it happen before
today I wrote a readme: github.com/orlp/pdqsort
 
11:49 PM
@orlp Anyway--seemed relevant, and I doubt anybody in the thread except me and (maybe) you had looked at it before.
 
@JerryCoffin I was aware of its existence, but never bothered with it.
@JerryCoffin Documents like those incredibly dry and well-suited for corporations.
 
@orlp Its information density is stupidly low, but it does cover the subject matter reasonably well.
 
0
A: When should you use constexpr capability in C++11?

Filip Roséen - refpIntroduction constexpr was not introduced as a way to tell the implementation that something can be evaluated in a context which requires a constant-expression; conforming implementations has been able to prove this prior to C++11. Something an implementation cannot prove is the intent of a cer...

^ trying to put an end to all the "why do we need constexpr when the compiler can prove this for us?"
but I'd, honestly, rather have a question with a better title so that we can close of duplicates of that one (because now a lot of questions get closed in favor of that one, even though they aren't really asking the same question)
 
@FilipRoséen-refp you don't like Puppy's length answer? stackoverflow.com/a/4749677/565635
 
@orlp * mumbles something about idiots *
DAMN IT
I'm out of rolling paper, and I wanna light up (a cigarette)
 

« first day (1598 days earlier)      last day (3344 days later) »