« first day (3322 days earlier)      last day (1609 days later) » 

12:02 AM
As a survey, what do you believe should be the gender of this pokemon?
 
The entire Hitmon-family is 100% male IIRC.
 
That one has tits, a pink skirt
 
@Mikhail If you want to look at it that way, Hitmonlee and Hitmontop aren't wearing any pants and they clearly don't have dicks either.
 
The blue thing?
 
No way those are pants.
Fine, maybe. But what about Hitmonlee?
Unless you argue that it's in a full body suit or something.
 
12:12 AM
Maybe its hair?
( ͡° ͜ʖ ͡°)
 
Obviously it's a massage tool
 
In that shot it looks like Hitmontop is wearing a suit.
 
They all are wearing something, but maybe it grows naturally :-)
How do you bread more Hitmonchans if they are all male?
 
12:14 AM
@Mikhail Ditto
As in the pokemon.
 
Ditto is the only way to breed male-only and genderless pokemon.
 
Maybe pokemon are virus, they produce asexually.
Why do you two have such a limited imagination?
 
The Ralts family (minus Gallade) looks like it should be female-only. But they are 50/50. Though only the males came evolve to Gallade.
Had they introduced Gallade in gen3 the same time as the rest of the family, they probably would've had all the males evolve to Gallade and all the females evolve to Gardevoir.
 
@mikhail Thanks. Why qt instead of gtk?
 
12:20 AM
@JoshuaD Many reasons, but a good one is that almost everybody I know is doing qt and only loosers do gtk :-)
Qt has more of the features that large GUI applications require, implemented and ready to go.
 
Thanks, I may take that advice.
Kinda overwhelmed with C++ coming from java. A lot of stuff that looks awkward to me.
 
Maybe, Java has better thought out widgets
 
JavaFX is great. The big problem with java is you really can't fight the bloat.
 
There are other issues, like lack of templates, lack of libraries I want to use, lack of CUDA.
I think to many C++ developers Java comes out as "verbose"
 
Yea, for sure. I find I prefer that, but there's definitely a bias there
 
12:25 AM
Many would say Java combines everything wrong with C++ with nothing that motives C++ uses :-)
 
I don't know C++ at all, so I'm not in a position to answer that. I know I love java's syntax and standard library. I don't love the garbage collection or that it compiles to java bytecode.
I spent a lot of time trying to get past those hurdles and they're not easy.
 
@Mikhail It combines the weakest parts of C (especially the syntax) with the weakest parts of Smalltalk (especially the byte-code implementation) to get...well, about what you'd expect from that.
 
javadoc is also an undersung hero of java. Anyway, I'm not here to defend java. Mostly just looking for the best transition for a guy with my background
 
Also fuck Alan Kay for being overrated and wrong (But no so much the person as his ideas)
 
Though, interestingly, although I think the mandatory byte-code implementation is a serious weakness, I also think the JVM is one of the best parts of Java in general.
 
12:28 AM
Try having the garbage collector misbehave. It's black magic to get that thing under control
 
@JerryCoffin Its certainly an interesting idea, especially as the use of intermediate byte code layers has shown to be useful in the mobile space.
^ This man is sad that we aren't all using small talk
Also he isn't dead yet, apparently.
 
@JoshuaD I'd tend to agree that you're better off with Qt than GTK. Qt isn't like Swing, but you'll probably find it less foreign than GTK.
@Mikhail ..and (long before that) in the UCSD P-system, among others. For that matter, for a while there was a push to have get portability between UNIX implementations by having compilers produce byte codes of some sort, then have something on the target system turn that into a real executable. That had a bit tougher task though--it was supposed to hide differences between OSes, but without having thick layers of libraries to do it.
Of course, that was probably doomed from the start. UNIX vendors wanted to (on one hand) portray themselves as better because they followed open standards and such, but at the same time most benefited heavily from making it as difficult as possible for their customers to switch to a different vendor, so they did as usual: form a committee to write a standard, that nobody ever actually followed, and was so loose that even if somebody had, it wouldn't have provided much for customers anyway.
@Mikhail Yeah, he's still around and still writes about OO as the savior of mankind.
 
12:44 AM
I said he was overrated in on HN can got downvoted into oblivion
 
I guess too many college kids around there that heard the OO gospel from the pulpit
 
@Mikhail Not surprising, but you were right. In particular, although he may have invented the term "object oriented", he pretty clearly didn't invent object orientation itself (though exactly who did depends on how you define OO).
 
His idea of object oriented was supposedly based on organic things but this metaphor failed on so many levels, for example, living things are asynchronous !
 
the amount of people doing OO that actually think of calling a method actually as "message passing" has got to be in the single digit percentage
 
Well in MPI you have an "actor" paradigm but yes, that is less than a fraction of a percentage.
 
12:49 AM
right, it makes sense for the actor model, it doesn't make sense in supposed OO languages used in practise
 
Well he got pissed off that language like C++/Java colonized his precious SmallTalk
But the so called "quasi-class" is a direct decedent of his line of reasoning
But then he just says other bullshit about how real engineers need to build all their own tools, and if you ain't doing that you ain't doing real engineering
Or about how the internet is a bad format because it is amorphous, and instead of stack overflow we should have been using the gopher protocol
So, to push his favorite biology metaphor, we doesn't believe the representation of data should evolve organically :-)
 
@PeterT Worse, how anybody in particular thinks of it is mostly irrelevant. The question is what capabilities are provided--and as many RPC mechanisms proved long ago, it's trivial to (for example) make things look like virtual functions on both ends, but actually implement them via message passing (and although it's less common, the reverse is true as well).
@Mikhail Of course, nobody (least of all him) actually believes in anything similar to organic evolution. Just trying random crap, knowing it'll almost always fail is only useful when there's nobody on the outside who cares about things like meeting a schedule.
 
I'm just saying that the concept is not the most useful way to model how a method call works. It might be more useful if for some reason most of your calls are asynchronous.
but if every method call was asynchronous then they wouldn't do their "getter and setters for every data member" memes
 
I'm convinced Kay did not consider in the late 80s the challenges of asynchronous behavior
For example, if we consider a quasi class, to get correct asynchronous behavior every setter/getter needs a lock leading to the synchronous case.
 
I wouldn't say they didn't consider that in the 80s conceptually, there was plenty of thinking ahead of its feasibility.
 
1:30 AM
The work i've read from the 80s seems to have the asynchronous communication systems isolated. Like one device talks to another device, that one device could have many things going on it, at once feels like a thought from the 90s. For example, we have substantially more sophistication about what is atomic and what isn't. Two CPUs sharing the same memory with issues like torn reads/writes. Anyways, I'm only a student of history, and didn't actually live through it.
 
Pretty much every interrupt-based "microprocessor" has to deal with asynchronous events I think.
 
@Mikhail I'd say the (much) wider availability of parallel computers has lead to a considerably greater awareness of parallel programming. In addition, when people put things into practice, the frequently find places they'd implicitly assumed serialization, and only realized it wasn't valid when reality slapped them in the face (so to speak).
 
right, I think that was even the case in the XP days when dual cores became more widely available to the average consumer and a lot of programmers had to learn the what the difference between concurrency and parallelism is in practise :P
 
Also recall the debate in the mid 90s between threads and processes
 
1:57 AM
I hate doing e-learning classes.
"Panic! Theory section 3, allows you to complete lab 1. Why isn't the numbering more consistent?" Results in an email to the CEO, which results in me getting interrupted during a proper lecture.
Maybe I should move to Germany.
 
2:24 AM
Sounds like the numbering should be more consistent
When I do a shitty job teaching I blame it on other people, for example, a decade ago I TA-ed a Verilog program class but only knew VHDL. When people pointed this out, I told them I make >$20 an hour.
Second time around I actually learned Verilog
 
Black fox, more camouflaged to steal your chickens!
 
2:49 AM
Remember how I once mentioned that there was one potential speaker who would not returning my messages after she expressed interest to give a talk in our A.I. in robotics group meeting. Almost 2 months later, she was like "Oo, I didn't see your messages until now, I was waiting for it"
Umm, maybe it's fate - it's not mean to be ...
 
 
3 hours later…
6:15 AM
So I have found a dead baby magpie on the property we are trying to rent out, the place is currently vacant. We have found a dead pigeon there slightly more than a week ago. There were some what looked like dead foxes on the country property, I have discovered that a week ago. Weak and injured animals tend to take shelter on unoccupied land and some die there.
Also this place that I occasionally need to go these two to three months has a flea problem. I have got bitten almost every single time. So super annoyed.
If something needs to die, it has to be the fleas.
 
@TelKitty LOL
 
 
2 hours later…
8:21 AM
@Mysticial did your amount of unread points increase a lot lately?
 
 
1 hour later…
9:37 AM
@Morwenn did you see a new article?
 
9:56 AM
A new article?
I just received a mail saying that our points might have increased because they turned the question upvotes into +10 instead of +5
Oooooh, so that's why I was notified that I unlocked new privileges a few days ago :o
 
ah
Did that apply retroactively as well?
 
yes
I wonder if the email was in French?
 
Man buys RMB7,000 Samoyed, finds out it's an Arctic fox
Both are quite cute.
Arctic fox in summer ... must say they 'tan' well.
Fat fox ... I am not sure, I AM NOT SURE!!
 
10:38 AM
@Mikhail I don't think so
 
 
3 hours later…
1:44 PM
@thecoshman Yes, my rep went up by 540 pts overnight
 
Ven
2:31 PM
Of course I have 0 questions so +0 :-(
 
2:45 PM
Mine went 12~13k to 16k
 
3:20 PM
@Morwenn :O
Youre now above me!
I'm at ~14.7k now
 
I saw that :p
That's because I asked a bunch of question I guess
Mmmmhh only 55
 
3:43 PM
Yeah, I think I noticed that I bumped over the 7K mark :P
look at me with my baby rep :D
 
It just means we're not total repwhores :D
 
4:05 PM
Hey what's up dude
 
4:50 PM
@Morwenn no because I don't have much in the way of questions anyway
 
5:04 PM
2 highly upvoted ones though, should be a difference of about 200
 
@ratchetfreak Some of those were during repcap days. Also, I'm not going to notice a difference of 2k. For that matter, even with the other sites factored in (total 5k-ish), I still didn't notice a difference.
Mostly because I stopped paying attention to the number.
 
5:19 PM
@Morwenn Are you saying "partial repwhore" is now your preferred pronoun? :-)
If you go for that, I might have to consider adopting "impartial repwhore" as mine.
 
5:49 PM
@Morwenn I think I got 30
gogo three questions
 
6:01 PM
@Mgetz The first time I calculated it, I thought I'd gotten 666 extra points, which seemed cool, but I'd misread.
Given that 666 isn't a multiple of 5, I probably should have realized that was wrong immediately, but it was before 10 AM, so I wasn't entirely awake yet.
 
6:34 PM
Can is_constant_evaluated return true even if the expression isn't required to be const-evaluated?
IOW, can it be true as a result of constant propagation (i.e. compiler optimization). And thus have different values depending on debug, or release.
Context is that there's an (admittedly dangerous) micro-optimization that I'm thinking about where a math function will have two different versions depending on whether the argument is a compile-time constant.
If it's a compile-time constant, I'll write it in a way that's slow, but the compiler will be able to constant-propagate it into a no-op. If it's not a compile-time constant, it uses SSE intrinsics which the compiler cannot see through.
The "dangerous" part is that there may be epsilon differences in the two versions.
 
7:18 PM
I think whether or not something is constant evaluated is dictated by language rules. So this would be part of an early stage in the compilation process, way before the optimizer kicks in.
 
@Mysticial I don't think so, but I think it returns false except in a template?
similar to if constexpr not actually acting like an ifdef
@Mysticial Finding the documentation was painful en.cppreference.com/w/cpp/types/is_constant_evaluated
@Mysticial allegedly yes if used in if constexpr
 
So it's 100% language dictated.
So if someone does bullshit like this, it will call the run-time version:
double x = 0;
if (false){
    x = some_function();
}
function_that_depends_on_const_evaluated(x);
 
8:04 PM
Is this the main place to ask C++ q's?
or

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
 
@JBis That's the right one.
 
Depends. There's an unwritten rule where all the basic questions go there and all the advanced ones or those by people who are regularly in this room go here.
 
Def basic q's i'll go there
 
8:20 PM
@Mysticial *previously unwritten rule ;)
 
It may take me a little while before my questions qualify here lol
 
@Borgleader I've written (or at least hinted) at it in the past, though my wording was basically that it can be discussed here if we find it interesting (which, yes, usually translates more or less to "advanced").
 
@Mysticial I generally follow that theory or language lawyer go here, code goes there
@Mysticial unless the compiler is smart enough to figure that out... probably
 
8:58 PM
@Mgetz If the language dictates it, then the compiler is not allowed to use "true" for is_const_evaluated.
 
@Mysticial So you've actually reached the "too knowledgeable to expect that questions I have can be answered on StackOverflow" grade :o
@JerryCoffin nah, it's still they
 
@Morwenn lolno. Almost all the questions I have are already answered on SO.
 
is_constant_evaluated() will return true if the result can be computed as part of what the language considers to be constant evaluation
so compiler optimizations don't matter
but you've got some pretty confusing cases with const int variables since those attempt constant initialization and fallback to runtime initialization if it fails
Which makes for some pretty hefty edge cases here and there
 
9:22 PM
 
9:41 PM
-6
Q: Challenge question!

Victoria XiaoWho stole the fish? The world's rarest fish has been stolen from the Baltimore aqaurium. The police's search led them to a street with 5 identical looking houses. You, as the city's best detective, are assigned to figuring out which house contains the thief. However, you will only be able to sea...

 
 
1 hour later…
10:45 PM
@Morwenn I guess that ruins that idea. Oh well.
 
 
1 hour later…
11:54 PM
SpaceX has launched at least 120 Starlink satellites into orbit since May. But astronomers say they've already seen their fears of sky obstruction come to fruition.
Imagine, many many years later, aliens come to earth and find hundreds of thousands of 'small pieces of junks' orbiting around earth.
 

« first day (3322 days earlier)      last day (1609 days later) »