Better HN
topnewbestaskshowjobs
Log inSign up

Agingcoder

1,724 karma · joined Dec 19, 2017 (8y ago) · 732 submissions

Submissions

comment 8mo ago · link · parent

I fully agree with you ! Neither soft nor hard memory errors, nothing… but but flips ,and reproducible at that.

We scanned all our machines following this ( a few thousand servers ) and found out that ram issues were actually quite common, as said in the paper.

comment 8mo ago · link · parent

It depends on what you bitflip.

I once had a bitflip pattern causing lowercase ascii to turn into uppercase ascii in a case insensitive system. Everything was fine until it tried to uppercase numbers and things went wrong

The first time I had to deal with faulty ram ( more than 20y ago ), the bug would never trigger unless I used pretty much the whole dimm stick and put meaningful stuff in it etc in my case linking large executables , or untargzipping large source archives.

Flipping a pixel had no impact though

comment 8mo ago · link · parent

No it doesn’t :-)

I’ve had plenty of servers with faulty ecc dimms that didn’t trigger , and would only show faults when actual memory testing. I had a hard time convincing some of our admins the first time ( ‘no ecc faults you can’t be right ‘ ) but I won the bet.

Edit: very old paper by google on these topics. My issues were 6-7 years ago probably.

https://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf

comment 8mo ago · link · parent

Optane was supposed to fill the gap but Intel never found a market for this.

Flash is still extremely slow compared to ram, including modern flash, especially in a world where ram is already very slow and your cpu already keeps waiting for it.

That being said, you should consider ram/flash/spinning to be all part of a storage hierarchy with different constants and tradeoffs ( volatile or not, big or small , fast or slow etc ), and knowing these tradeoffs will help you design simpler and better systems.

comment 8mo ago · link · parent

Yes exactly.

The kernel tries to guess as well as it can though - many years ago I hit a fun bug in the kernel scheduler that was triggered by numa process migration ie the kernel would move the processes to the core closest to the ram. It happened that in some cases the migrated processes never got scheduled and got stuck forever.

Disabling numa migration removed the problem. I figured out the issue because of the excellent ‘a decade of wasted cores’ paper which essentially said that on ‘big’ machines like ours funky things could happen scheduling wise so started looking at scheduling settings .

The main numa-pinning performance issue I was describing was different though, and like you said came from us needing to change the way the code was written to account for the distance to ram stick. Modern servers will usually let you choose from fully managed ( hope and pray , single zone ) to many zones, and the depending on what you’ve chosen to expose, use it in your code. As always, benchmark benchmarks.

comment 8mo ago · link · parent

Yes there are scheduling issues, Numa problems , etc caused by the cluster in a box form factor.

We had a massive performance issue a few years ago that we fixed by mapping our processes to the numa zones topology . The default design of our software would otherwise effectively route all memory accesses to the same numa zone and performance went down the drain.

comment 8mo ago · link · parent

My kids make fun of me because I know the shopkeepers around me by first name, along with the details of their businesses , and that shopping takes forever because I talk to everyone, customers included.

I just love it, it’s easy and I get a lot in return - from perks to incredible encounters. At work it’s been very helpful.

I developed that skill while traveling alone for a year , and it boils down to practicing and reading whether the person you’re talking to is ok with your talking or not.

In any case, it makes me immensely happy.

comment 8mo ago · link · parent

This is very different

Most random encounters have a pretext, from smoking a cigarette to talking to the shopkeeper, or being in a queue for a long time.

Talking to a woman ( esp given that many of them are harassed from what I understand from my female friends ) without any reason to is much harder

comment 8mo ago · link · parent

You virtually never bother them - worst case they’ll turn you down.

On the contrary, they’re usually very happy to tell you about what they do.

comment 9mo ago · link · parent

I read the book years ago so might have forgotten - what intergenerational romance ?

comment 9mo ago · link · parent

The intonation is different, there are harsher sounds, but there are diphtongs everywhere in Dutch, and to me thisbis what makes it sound like English. French, Spanish, German etc don’t have diphtongs ( or they’re quite rare )

comment 9mo ago · link · parent

That’s what they do usually I understand - llm generates proof in lean, and proof checker proves.

comment 9mo ago · link · parent

A couple of days ago a colleague of mine was talking about very old rts games he still liked to play , and mentioned red alert. It turned out he had never heard of dune 2, Warcraft 1 and 2!

comment 9mo ago · link · parent

It has a very large number of bugs.

My favourite one ( still happens ) is having to mute then unmute at the beginning of the conversation otherwise nobody can hear me. It was so common, with people fiddling with their headset, calling again etc that I eventually asked everyone exhibiting audio issues to start with this

Another interesting one is that if you’re not connected properly , you send messages , but never get notified that they never left, and are never notified that you’re not connected.

It’s also a resource hog and will eat your machine for breakfast.

The list goes on and on, it’s very surprising.

comment 9mo ago · link · parent

This one made me laugh , thanks ! I wish there was some kind of slashdot like ´funny’ tag

comment 9mo ago · link · parent

Full screen video ads on the home screen ? I don’t see this on mine.

comment 9mo ago · link · parent

It also can’t stream games

comment 10mo ago · link · parent

No it’s vastly different - give it a try first . Reverse debugging with full dataflow is magical. Interestingly enough, it takes a while to get to used to it since you tend to do things the old way, when the Pernosco, science fiction way is much better and actually works

comment 10mo ago · link · parent

Pernosco

Blows everything else out of the water.

https://pernos.co/ ( I’m not affiliated to them in any way, just a happy customer)

comment 10mo ago · link · parent

Several things : immediately after 2008 less demand for exotics because clients were afraid of them, cutting costs rather than increasing revenue ( that’s industrialization with IT and standardization ) and more importantly, industry reaching some kind of maturity, with large quant libraries which are pretty stable these days.

comment 10mo ago · link · parent

Im reasonably familiar with the exotics quant space.

It’s essentially IT/data work - the days of sophisticated maths are mostly gone. There always was a lot of code, but these days for most people there’s little to no new maths.

From what I’ve seen, post-2008 the job changed significantly, with more IT, less maths, more standardization - basically the job moved from bespoke everything to super industrialized. You’ll be able to have your model work for one underlying and one product, but what’s really useful is for lots of underlyings and many products - and that’s very hard.

That being said, and that’s important, you must understand the maths behind, otherwise you won’t be able to do anything useful.

comment 10mo ago · link · parent

These days a single machine with lots of ram and cores will handle almost everything you throw at it, barring specific compute intensive / memory bound scenarios ( current AI, gaming etc ).

comment 10mo ago · link · parent

Same issue with apple car. ‘ hey Siri, please play ‘call your girlfriend’ on Spotify by (artist)’

‘Sorry I don’t know anyone called ‘your girlfriend’’ The kids find it hilarious

comment 10mo ago · link · parent

Is the same mechanism at play with football ? Say Real Madrid gets so much money from champions league that they can buy all the best players and then keep winning ? And then only a small clique of elite clubs end up winning all the time?

( disclaimer : I know nothing about football !)

comment 10mo ago · link · parent

That’s what struck me immediately - these are all typical tricks from the 90s. I remember demos ( I think complex/dope in 95) where the awesome ‘real time reflections’ where actually an animated texture. I was quite impressed when someone explained the trick.

comment 10mo ago · link · parent

Looks like typical demo scene tricks applied to gaming

comment 10mo ago · link · parent

This is pretty standard ( or at least used to be 20 years ago ) in high performance chess programming, see

https://www.chessprogramming.org/Bitboards

https://healeycodes.com/visualizing-chess-bitboards

comment 10mo ago · link · parent

This is weird - my mother very rarely drinks but she’ll be hard pressed telling you exactly when was the last time time . This doesn’t make her an alcoholic.

Or should you start the rule with ‘you’ve been drinking everyday for a while’?

comment 10mo ago · link · parent

Computer architecture a quantitative approach by Patterson and hennessy

It’s the real life exchange rate for algorithms and data structures. Basically understanding your infrastructure and its performance characteristics will help you design simpler ( and therefore better )systems

comment 10mo ago · link · parent

I used mplayer ( the ancestor to mpv as I’ve just realized ) in the early 2000s which I think could handle everything under the sun back then.
12345
25