logical42
logical42 on Hacker News
You didn't implement change data capture. You're using theirs.
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.
That means they did implement change data capture, and only exposed it for a very specific use case.
Adding change data capture to a database isn't exactly trivial.
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.
I am tempted to write a book called "The carnivore" though.
Well I guess I'm never going to be google-able again.
food scarcity could be viewed as a bin packing problem when you consider the amount of food that gets thrown away.
Counterpoint: Apple has been quite successful despite their insistence in silos across teams and orgs.
Posted by
logical42 on Friday November 17, 2023 @04:01PM
from the github.com dept.
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.
Posted by
logical42 on Monday September 25, 2023 @10:22AM
from the github.com dept.
Posted by
logical42 on Tuesday September 19, 2023 @10:09AM
from the github.com dept.
An N64 emulator written completely in javascript, so you can play N64 games in your browser.
You know what's fun?
Getting a nil where you are supposed to have an Optional.
Posted by
logical42 on Saturday July 11, 2020 @04:09AM
from the ask-hn dept.
What’s the best tablet for collaborative remote whiteboarding?
There are enough CNG stations to drive from SF to LA as long as you fill up appropriately.
You’re missing the point. It aerosolizes the coronavirus which is especially problematic for the doctors and nurses trying to care for you.
There are Mazdas with the center tactile knob for CarPlay interactions.
Both would suck to play against but the AI oracle would play optimally and not perfectly.
Any chance you’ll consider releasing the hand history of the session?
There’s also daylight savings time.
They have fields for additional compensation.
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.
Pumpkin pie isn’t closed, at least, not from my experience.