HNHacker News
TopNewBestAskShowJobs

logical42

473 karma · joined January 27, 2012

Software Engineer @ Coreweave.
submissionscomments
logical42··on Caching is an abstraction, not an optimization
You didn't implement change data capture. You're using theirs.
logical42··on Caching is an abstraction, not an optimization
I would love it if I could over-withdraw money from my bank account by having someone on the other side of the country take out money from my account at an ATM at the exact time as me, due to the fact that the bank's storage system was eventually consistent, but that's not the case.
logical42··on Caching is an abstraction, not an optimization
That means they did implement change data capture, and only exposed it for a very specific use case.
logical42··on Caching is an abstraction, not an optimization
Adding change data capture to a database isn't exactly trivial.
logical42··on Caching is an abstraction, not an optimization
I agree with you, but you are omitting a key aspect of the problem which makes this hard. If you have a single server serving from a local sqlite database, caching and invalidating the cache is trivially easy.

It becomes way more difficult when you have N servers all of which could potentially serve the same data. Local caches could then, yes easily become stale, and even if you have a propagation mechanism, you couldn't guarantee against network failures or latency issues.

But suppose you have an HA redis instance that you store your cached data in. Even with a write-through cache, you basically need to implement a 2-phase commit to ensure consistency.

logical42··on South Korean Author Han Kang Wins Nobel Prize
I am tempted to write a book called "The carnivore" though.
logical42··on South Korean Author Han Kang Wins Nobel Prize
Well I guess I'm never going to be google-able again.
logical42··on Do All Problems Have Technical Fixes?
food scarcity could be viewed as a bin packing problem when you consider the amount of food that gets thrown away.
logical42··on Reflecting on 18 Years at Google
Counterpoint: Apple has been quite successful despite their insistence in silos across teams and orgs.
logical42··on N64 emulator written in pure ES6 JavaScript
demo: https://youtu.be/cIMGaOHLgzk?si=suB8oCVSO8XFGgr1
logical42··on N64 emulator written in pure ES6 JavaScript
n64js is an n64 emulator written in (mostly) pure ES6 JavaScript. It runs many roms at full framerate.

Why?

Mostly for the challenge. [hulkholden] spent ~25 years (on and off) working on N64 emulators and writing one in JavaScript gives [him] the opportunity to expand [their] comfort zone and learn something new. It's a good showcase for how powerful modern browsers have become.

logical42··on N64 Emulator in JavaScript
You can run it in the browser.

Demo: https://youtu.be/cIMGaOHLgzk

logical42··on N64 JavaScript Emulator
An N64 emulator written completely in javascript, so you can play N64 games in your browser.
logical42··on GoKart: A static analysis tool for securing Go code
It's possible in Java.
logical42··on GoKart: A static analysis tool for securing Go code
You know what's fun?

Getting a nil where you are supposed to have an Optional.

logical42··on 'Bath sponge' breakthrough could boost cleaner cars
There are enough CNG stations to drive from SF to LA as long as you fill up appropriately.
logical42··on Urbit for Normies
So far I’m not sure if people realize that this is a (non-serious) reference to a Borges short story: https://en.m.wikipedia.org/wiki/Tlön,_Uqbar,_Orbis_Tertius.
logical42··on Tesla offers ventilators free of cost to hospitals
You’re missing the point. It aerosolizes the coronavirus which is especially problematic for the doctors and nurses trying to care for you.
logical42··on Apple CarPlay, Android Auto distract drivers more than pot, alcohol, says study
There are Mazdas with the center tactile knob for CarPlay interactions.
logical42··on A Cheating Scandal Rocking the Poker World
Both would suck to play against but the AI oracle would play optimally and not perfectly.
logical42··on No limit: AI poker bot is first to beat professionals at multiplayer game
Any chance you’ll consider releasing the hand history of the session?
logical42··on Chevy Volt discontinued: Chevrolet's last Volt rolls off the assembly line
There’s also daylight savings time.
logical42··on Coming Soon to a Police Station Near You: The DNA ‘Magic Box’
Also, Gattaca.
logical42··on Compare career levels across companies
They have fields for additional compensation.
logical42··on Toyota Investing $500M in Uber in Driverless Car Pact
To be fair, I feel like I, as a human, get confused about what I’m supposed to be doing driving in SF at a rate worse than once every thousand miles.
logical42··on Pizza Physics: Why Brick Ovens Bake the Perfect Italian-Style Pie
Pumpkin pie isn’t closed, at least, not from my experience.
logical42··on U.S. Said to Investigate AT&T and Verizon Over Wireless Collusion Claim
‘The investigation was opened about five months ago after at least one device maker and one wireless carrier filed formal complaints with the Justice Department, two of the people said. The device maker was Apple, one of them said.’
logical42··on I Ate Nothing but Meat for 2 Weeks
A diet which is a subset of another diet can still be classified as a diet of that type, at least that’s how I think of it.
logical42··on Joan Feynman Found Her Place in the Sun
Thanks!
logical42··on Joan Feynman Found Her Place in the Sun
Which article was the other one?
Page 1 of 8Next →