« first day (4015 days earlier)      last day (933 days later) » 

3:05 AM
I want to do altitude training but there are no high mountains in Australia.
The highest I have been to is about 3500m - 4000m above sea level, it's very tiring for me to walk at that altitude. I had to take a break every 500 meters or so (I can jog 5km easily when it's slightly above sea level).
Also had ridden a horse before at 2500m - 3000m above sea level, I got very dizzy but luckily, I didn't fall from horse back.
 
 
2 hours later…
5:11 AM
I can't load my apple developer account, stuck for the past 10 minutes.
Then after about 10-20 minutes, it gave me an almost blank screen ... almost as there is only a divider on the whole page.
Maybe certain multi-billion dollar tech company has managed to send their users 1 bit per minute.
 
 
2 hours later…
6:56 AM
@StackedCrooked real solution is to just run it at a much higher current :-)
Be Jerry, live in oxygen deprived environment, become C++ dev.
 
7:08 AM
Pure oxygen at atmospheric pressure did not affect blood flow
or heart rate, decreased respiration and increased body temperature.
 
 
2 hours later…
9:30 AM
What does anything think of self driving cake? Like it's a combination of birthday cake and birthday present (self driving toy car). If it's priced at $300, would there be a market?
 
 
2 hours later…
11:02 AM
@Mikhail That sentence is a bit confusing, but I assume they mean it does decrease respiration and it does increase body temperature.
It's cool though that the body is able to deal with that.
 
 
7 hours later…
6:23 PM
Very late morning
 
Very early evening 👋🏾
 
aka strong beer time
 
6:44 PM
so... just beer time in germany?
 
aw :(
 
Strong zero
 
 
2 hours later…
8:46 PM
Google search is becoming telepathic. There was this song in my head, and I only remembered two lyrics: "It's like motown" and "back to yourself". So I googled: back to yourself it's like motown. Now, it turns out I completely misheard the lyrics, they were: "It's like Gold dust" and "can't get enough of my sound". Despite that, the first Google result pointed me to the video
Here's my search result. It might be personalized, dunno.
 
9:17 PM
I must say I am quite surprised safety critical standards like misra c++ allow polymorphism
The way I look at it is that in safety critical systems you want full determinism and thus no room for « uncertainty » or variation at runtime
Yet polymorphism is allowed… IMO it should not be allowed
I do agree that templates are allowed as this is fully done at compile time. However it generates a lot of code under the hood that could have unintended consequences
 
I don't see what so different about polymorphism, surely you could emulate it with a function call to a bunch of if statements. That would increase clarity for immediate reading maybe, but not functionally change "safety"
 
Similarly, according to some posts on SO templates use dynamic memory allocation under the hood (I was surprised to read that, didn’t expect that to be the case). The standard allows the usage of templates, yet they do not allow dynamic memory allocation
 
? which part of templates does dynamic memory allocation
 
@PeterT because at compile time you don’t know where you’re jumping to. You only know this at runtime. So you might have a lack of determinism at some point
@PeterT lemme find the post 2s…
 
you don't know where you're jumping to with a bunch of if(runtime_value ==1)else if(runtime_value==2) either
that's what polymorphism is essentially, a bounded amount of cases to jump to, based on a runtime variable
 
9:25 PM
115
A: Why is C++ template use not recommended in a space/radiated environment?

Basile StarynkevitchNotice that space-compatible (radiation-hardened, aeronautics compliant) computing devices are very expensive (including to launch in space, since their weight exceeds kilograms), and that a single space mission costs perhaps hundred million € or US$. Losing the mission because of software or com...

Lemme find his precise statement…
 
I just see it essentially say "many people that write templates allocate dynamic memory"
 
Here are his precise words :
« Be aware that, in practice, most C++ (but certainly not all) templates internally use the heap. «
 
that just reads to me like "to do most useful stuff it's easiest to use dynamic allocations". I don't see any specifics about how compilers would insert dynamic allocations
 
@PeterT don’t know what to reply… to me this doesn’t feel right
@PeterT dunno. That’s not how i understood his statement. Either way, the way i understood it contradicts my understanding of templates. Templates are a compile time thing
 
templates are recipes to create functions or classes at compile-time, those classes/functions once instantiated can do anything a regular class/function does, including allocating memory
 
9:34 PM
Again something else, the usage of strings is allowed. I think it is highly probable std::string used dynamic memory allocation, similarly to vectors. Yet the former is allowed. Regarding the latter i have seen contradictions throughout different standards
@PeterT yes indeed that’s hood i understand it as well
 
yeah, forbidding just one and not the other between std::string and std::vector doesn't make much sense to me
they both use allocations for the same things
 
One could however argue that with template functions you don’t fully know how your code will react as there are many possibilities, if you see what i mean
You know in some cases, but probably haven’t covered all cases, eg tried passing all the possible datatypes
 
it's a difference when reading a program as a human, I agree. But I don't think it's a difference in the possibility space for the program
if you manually keep a variable around with the class name and do a bunch of ifs in a function, where's the difference to polymorphic dispatch? Aside from being slower
so in that function you have all the cases side-by-side. So that is easier to keep in your head as a human, but to the machine it'll hardly make a difference
 

« first day (4015 days earlier)      last day (933 days later) »