Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marksomnian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
marksomnian
2y ago
Some lines on the London Underground do use ATO without platform barriers. The driver closes the doors, checks that the platform is clear, then starts the train. ATO takes over until the next station, where the driver watches to make sure t
32.
▲
by
marksomnian
2y ago
And https://www.map.signalbox.io/ , which tries to interpolate signal locations onto a geographic map (with the expected level of inaccuracy, though still not half-bad)
33.
▲
by
marksomnian
2y ago
I believe http://go isn’t special cased, but instead (ab)uses DNS search domains - the server is actually something like go.corp.google.com, and all Google PCs are configured to use corp.google.com as a search domain
34.
▲
by
marksomnian
3y ago
Also it's a violation of Obsidian's license: > Obsidian is free for personal and non-profit use. However, if you use Obsidian for work-related activities that generate revenue in a company with two or more people, you must purc
35.
▲
by
marksomnian
3y ago
Interesting that Ryujinx is written in C# - I'm not sure why, but at first thought I'd have expected something like a console emulator (where one would have to do "unusual" memory / GPU operations to fully match the
36.
▲
by
marksomnian
3y ago
This is (I believe) the PR that fixed this specific issue: https://github.com/Ryujinx/Ryujinx/pull/5933 In short, no - from my understanding, it does actually fix the underlying issue, rather than special-cas
37.
▲
by
marksomnian
3y ago
No need to spoof the GPS signal, pop open the lid and replace the GPS chip with one that outputs an attacker-controlled time signal. I suppose it could encrypt this signal with some certificate burned into the silicon, but that could still
38.
▲
by
marksomnian
3y ago
Original ruling: https://curia.europa.eu/juris/document/document.jsf?text=&do...
39.
▲
by
marksomnian
3y ago
Interesting note: React itself uses the Closure Compiler https://legacy.reactjs.org/blog/2017/12/15/improving-the-rep...
40.
▲
Using Zig in our incremental Turborepo migration from Go to Rust
(vercel.com)
5 points
by
marksomnian
3y ago
|
3 comments
41.
▲
by
marksomnian
3y ago
It’s a binary protocol though, which means that this specific scenario isn’t an issue as far as I’m aware (the only ways of making arbitrary JS-controlled network requests are XHR/fetch(), which is only HTTP, and WebSockets, which have
42.
▲
by
marksomnian
3y ago
It's not explicitly demonstrated, but the Revalidating Data example ( https://nextjs.org/docs/app/building-your-application/data-f... ) would do it - calling revalidatePath/revalidateTag from a Server
43.
▲
by
marksomnian
3y ago
If you mean updating the page as the result of a mutation, Server Actions ( https://nextjs.org/docs/app/building-your-application/data-f... , still in alpha) can do that - Next can re-render a route and send th
44.
▲
by
marksomnian
3y ago
Dan Abramov (React core team, formerly of Meta) talks about this in a Twitter thread: https://twitter.com/dan_abramov/status/1654688751342301184 In short, it's because Vercel invested engineer-years into pilo
45.
▲
by
marksomnian
3y ago
But what do you do as soon as one of the submodules has a dependency on another? I imagine you might not hit it in your simple case, but I feel like scenarios like that are where the advantages of monorepos lie. To take a concrete example,
46.
▲
by
marksomnian
3y ago
Is it? I'm slightly struggling to understand what benefit you gain from having the "parent" repo but also having individual submodules. Sure, working in each individual project's module makes cloning faster, until you ne
47.
▲
by
marksomnian
3y ago
Plus, the power of being able to treat JSX as any other JS object means that you can use standard JS constructs like loops - slightly contrived example: const items = []; let runningTotal = 0; for (const item of someArray) { run
48.
▲
by
marksomnian
3y ago
Dropping in a tRPC use case that I've really got a lot of mileage out of: communication between the Electron main and renderer processes using https://github.com/jsonnull/electron-trpc . Traditional Electron IPC is
49.
▲
by
marksomnian
3y ago
I imagine you could write a custom tRPC link to send the data over something like MQTT which may be better for an embedded client - there's prior art in the likes of electron-trpc, showing how tRPC could be adapted to non-HTTP transpor
50.
▲
by
marksomnian
3y ago
It slows down the iteration cycle - when you make a change to your API definitions you'd need to push the change to either a schema repository or into production, then regenerate the API - at which point, if you've accidentally in
51.
▲
by
marksomnian
3y ago
I think part of why tRPC shines is because it's tightly coupled to TypeScript (and especially Zod, its schema validation library of choice - many of its features map 1:1 onto TypeScript concepts that don't exist in many other la
52.
▲
by
marksomnian
3y ago
Doesn’t that predispose that it knows which parts of the distribution do and don’t have mistakes, and therefore that it knowingly makes mistakes unless you ask it not to? That doesn’t seem right to me and I’d be really surprised if this a
53.
▲
by
marksomnian
3y ago
There's some (vague, nonspecific) goals in the Google Doc linked on the phab ticket (though someone did point out that the doc was created weeks after the ticket was filed).
54.
▲
by
marksomnian
3y ago
It's not linked there (or on any Wikitech pages I can find), but I can imagine there's a secondary concern of *.wikimedia.org cookies getting sent to third parties - e.g. Stack Overflow has separate second-level domains (stackover
55.
▲
by
marksomnian
3y ago
There's some background at https://phabricator.wikimedia.org/T337586 - a wikimedia.org subdomain was out of the question due to security concerns (it'd involve giving a third party a SSL certificate for wikimedia.
56.
▲
by
marksomnian
3y ago
Some background at https://phabricator.wikimedia.org/T337586
57.
▲
by
marksomnian
4y ago
Adding to some of the other responses, one reason I chose to deploy a SPA I'm working on as a Docker image is atomicity - if I want to deploy a newer version I simply switch out the tag in my container orchestrator's config (Nomad
58.
▲
by
marksomnian
5y ago
Very interested to see if there is development in the WebRTC streaming ingest world. As far as I remember, the last major implementation was Mixer’s FTL (which has an open-source SDK implemented in OBS, but the server side was proprietary -
59.
▲
by
marksomnian
5y ago
In theory yes, because generic types are monomorphised, so I would expect performance to be no less bad than implementing each individually.
60.
▲
Couchbase Server 7.0 – What’s New?
(docs.couchbase.com)
4 points
by
marksomnian
5y ago
|
1 comments
More ›