Better HN
topnewbestaskshowjobs
Log inSign up

Elucalidavah

149 karma · joined Jul 8, 2015 (11y ago) · 71 submissions

Submissions

comment 2w ago · link · parent

These controls are largely independent; whereas the complexity being talked about here is interdependent GUI elements.

Something about every complex GUI being a spreadsheet-style calculation.

comment 2w ago · link · parent

But the SSH keys are based on asymmetric crypto, not shared secrets.

comment 1mo ago · link · parent

Related: OsmAnd has support for wikipedia-sourced points for the local offline maps. Not sure about the details though. Only related thing I found for an explanation is "Geospatial Wikidata Dataset", which is suspiciously fresh.

comment 2mo ago · link · parent

That will help teach people some compartmentalization. Need to access government service, or use facebook for work? Use a separate cheapo smartphone.

I wonder how feasible is it to use a separate phone and access it remotely from the main phone.

comment 3mo ago · link · parent

All maps need to have an extra time penalty for turns, merging, etc. Even if the data is taken with an average driver, average driver probably isn't there for the first time, and for someone unfamiliar with the area any extra turn adds an extra chance to take a wrong turn.

comment 3mo ago · link · parent

You probably don't even need any vibe coding for this, only vibe configuring some OSRM profiles.

comment 3mo ago · link · parent

> its a system design issue or system availability issue on the client side

If all events need to arrive, then the problem is not "notification" (which would be solved by webhooks) but "database replication": subscribe to new events, fetch the full snapshot, fetch the updates in range, have the monotonic value to establish the "range" in the first place. Reach the eventual consistency.

The proposed SCROLL handles half of these, which limits its use-cases.

comment 7mo ago · link · parent

> 'tapping phones' gimmick strikes me as something that sounds cute but will become an annoying chore

That 'tapping phones' could also be used to facilitate key exchange verification, making that chore technically useful.

Then again, that would be better done in an open-source app and not tied to any particular domain.

comment 11mo ago · link · parent

Arguably, that's exactly the one action that will need to be hash-pinned, since all the consecutive actions will at least be verified against the lockfile.

comment 11mo ago · link · parent

> any notable increase in PM2.5 particles

What's your PM2.5 baseline, and did you measure TDS in the water?

comment 11mo ago · link · parent

If you have a privilege to replace the kernel or bootloader, you effectively have all privileges on that system. Therefore, there's no need to complicate the access limitations when you get full access anyway.

comment 11mo ago · link · parent

Sounds like their "FL1 -> FL2" transition is involved in both.

comment 1y ago · link · parent

> Tesseract (which is the best I have so far)

Have you looked at EasyOCR?

comment 1y ago · link · parent

> how all the popular dynamic languages have slowly become statically typed

Count the amount of `Any` / `unknown` / `cast` / `var::type` in those codebases, and you'll notice that they aren't particularly statically typed.

The types in dynamic languages are useful for checking validity in majority of the cases, but can easily be circumvented when the types become too complicated.

It is somewhat surprising that dynamic languages didn't go the pylint way, i.e. checking the codebase by auto-determined types (determined based on actual usage).

comment 1y ago · link · parent

> With a physical SIM, I can pry my card out of one phone and put it into another, and expect it to work

Is anything preventing the provider from denying a SIM swap based on IMEI?

comment 1y ago · link · parent

> the client is not packaging up all its logic and sending a single blob that describes the fully-chained logic to the server on its initial request. Right

See "But how do we solve arrays" part:

> > .map() is special. It does not send JavaScript code to the server, but it does send something like "code", restricted to a domain-specific, non-Turing-complete language. The "code" is a list of instructions that the server should carry out for each member of the array

comment 1y ago · link · parent

Tangential: is "without requiring knowledge of data patterns" a frequently useful requirement? I.e. isn't knowledge of data patterns basically required for any performance optimization?

comment 1y ago · link · parent

Querying a local dictionary on each clipboard seems okay; having a feature to request remote dictionaries is okay; making it easy to combine both is dubious but understandable (would be better off as a special flag); but having them combined by default? That's pretty much malicious.

comment 1y ago · link · parent

Are those any better than self-hosted gitlab, or do you only mean central-hosted usage?

comment 1y ago · link · parent

> wrapper that supports multiple formats

Is there a way to preserve key ordering, particularly for yaml output? And to customize the color output? Or, how feasible is it to add that?

comment 1y ago · link · parent

> dependencies = ["httpx"]

I heavily recommend writing a known working version in there, i.e. `"httpx~=0.27.2"`, which, in the best case, would allow fixes and security patches (e.g. when httpx 0.27.3 releases), and, in the worst case, would let you change to `~=` to `==` in case httpx manages to break the backwards compatibility with a patch release.

And, of course, always use `if __name__ == "__main__":`, so that you can e.g. run an import check and doctests and stuff in it.

comment 1y ago · link · parent

> directory tree entry names

But... git doesn't really store directories, does it?

comment 1y ago · link · parent

Realistically, either you ignore the privacy concerns and set up routing to multiple providers preferring the fastest, or you go all-in on privacy and route DNS over Tor over bridge.

Although, perhaps, having an external VPS with a dns proxy could be a good middle ground?

comment 1y ago · link · parent

> a garbage collected Rust

By the way, wouldn't it be possible to have a garbage-collecting container in Rust? Where all the various objects are owned by the container, and available for as long as they are reachable from a borrowed object.

comment 1y ago · link · parent

Consider a "git push"-like flow: begin a transaction, read the current state, check that it matches the expected, write the new state, commit (with a new state hash). In some unfortunate situations, you'll have a commit hash that doesn't match any valid state.

And the mere fact that it's hard to reason about these things means that it's hard to avoid problems. Hence, the easiest solution is likely "it may be possible to recover Snapshot Isolation by only using the writer endpoint", for anything where write is anyhow conditional on a read.

Although I'm surprised the "only using the writer endpoint" method wasn't tested, especially in availability loss situations.

comment 1y ago · link · parent

> MacBook Pro M2 with 64GB of RAM

Are there non-mac options with similar capabilities?

comment 1y ago · link · parent

> For their fix, they disabled debug logs

For their quick fix, hopefully not for their final fix.

comment 1y ago · link · parent

> Hasn't been a problem yet.

You mean, refusing to integrate was the right decision after all?

comment 1y ago · link · parent

> when people start talking about differential equations

It's not like you are going to solve those analytically.

Implement a couple numerical solvers for things like Navier–Stokes and you'll see that differential equations is just obscenely compressed code.

comment 1y ago · link · parent

> need to listen to the DB for events

You could store the key->version separately, and read the said version. If the cached version is lower, it's a cache miss.

Of course, evicting something from cache (due to memory constraints) is a bit harder (or less efficient) in such setup.

123