HackerTrans
TopNewTrendsCommentsPastAskShowJobs

AlexSW

no profile record

comments

AlexSW
·el año pasado·discuss
It's not obvious to me that comparing GDP per capita is a fair comparison when talking about one country with immigration vs one without. A lot of the immigration I believe to be not so skilled. But we needed lower-skill jobs filled too.
AlexSW
·el año pasado·discuss
Ah of course! It's improving the branch target predictor. Makes sense, thanks!
AlexSW
·el año pasado·discuss
I'm struggling to confirm that my intuition of why the compiler optimisation is faster than the naive switch expansion.

Is it about the layout of where the assembly instructions end up, and spacing around them? Or the CPU pipelining working better? Or...?
AlexSW
·el año pasado·discuss
There are reasons for not wanting to sell their brainchild to Musk (of all people) that don't involve money.
AlexSW
·el año pasado·discuss
Timeline, maybe.
AlexSW
·hace 2 años·discuss
Could you give an example or two of languages/frameworks that have demonstrated abstracting the transaction blocks away? I'm not sure I'm following so I think this will help.
AlexSW
·hace 5 años·discuss
A bit late but for what it's worth I'm very familiar with `git stash` and use it all the time, and it's not clear how this helps my situation of aiming for one command and accidentally doing a very similar one but one which deletes work with no warning. For example, `git commit --` is a completely moronic way of deleting files, and I am baffled it took them so long to add aliases for it which have a coherent name.
AlexSW
·hace 5 años·discuss
Agreed. I consider myself pretty competent at git (consistently helping out the rest of my team of ~15 people with it) and even then I've shot myself in the foot using `git checkout --` instead of `git reset` before to unstage a file, and lost all of my work on it. Really felt that should have given a warning.