HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mrcode007

no profile record

comments

mrcode007
·2 месяца назад·discuss
I do it all the time. It finds errors CC doesn’t. Especially in math formulas. I ping pong reviews between the two agents until they converge on no errors.
mrcode007
·4 месяца назад·discuss
This 1000x. Folks don’t get that the primary market != secondary market. Same as pre-IPO stock holder != IPO time buyer.
mrcode007
·6 месяцев назад·discuss
Solar prevents sun from hitting the ground causing death of the plants preventing photosynthesis and suffocating life on earth. Did I get it right?
mrcode007
·6 месяцев назад·discuss
It’s not gobbledygook. I think for most people it’s hard to grasp the scale of the entire industries outside of their area of professional expertise so you can look at some numbers here:

https://www.milliman.com/en/insight/mortgage-market-and-hous...

https://www.sifma.org/issues/market-structure/housing-financ...
mrcode007
·7 месяцев назад·discuss
In fact this a crux of the problem in low latency code and there are ways to combat this.

I know there is an academic wait-free and lock-free definition but folks use those often incorrectly as a slogan that something is magically better because it’s „lockfree”.

Imagine how _you_ would implement a read-modify-write atomic in the CPU and why E stands for exclusive (sort of like exclusive in a mutex)
mrcode007
·7 месяцев назад·discuss
Yes. [1] has background, [2] has the implementation (fig 2. pseudocode). Since you understood my comment I trust you can figure out the rest :) it’s a very neat trick.

[1]https://www.microsoft.com/en-us/research/publication/concurr... [2]https://arxiv.org/pdf/1012.1824
mrcode007
·7 месяцев назад·discuss
There is one more way that is truly lock free. Most lock free implementations relying on atomic compare and swap instructions are not lock free afaik; they have a lock on the cache line in the CPU (in a way you go away from global lock to many distributed locks).

There is one more mechanism that allows implementing ring buffers without having to compare head and tail buffers at all (and doesn’t rely on counters or empty/full flags etc) that piggybacks on the cache consistency protocol
mrcode007
·7 месяцев назад·discuss
Imagine having to show your ID demonstrating you’re not subject to the law punishing you for driving a car without a driving license.
mrcode007
·10 месяцев назад·discuss
happens frequently in fact when training neural nets on modern hw
mrcode007
·3 года назад·discuss
https://theintercept.com/2018/05/20/pittsburgh-flint-veolia-...
mrcode007
·5 лет назад·discuss
I think productivity can only only measured towards a goal. Setting different goals will require different metrics and tools for improvement. If your goal is to become for example, a Factorio expert, you can measure your productivity towards this goal by the number of hours spent playing the game. If on the other hand, you are considering becoming a VHDL expert, you could improve your productivity by gaining proficiency in language constructs, syntax rules, and design abstractions so they become second nature and you could do this by copying existing educational designs, attending trainings, reading books.

If yet on on the other third hand, your goal is to maximize your free(idle) time, then you can measure your productivity by rejecting tasks thrown at you and spending less time on hacker news :)