Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brandur
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
211.
▲
Learning from Terminals to Design the Future of User Interfaces
(brandur.org)
211 points
by
brandur
10y ago
|
82 comments
212.
▲
by
brandur
10y ago
> Whether folks start adopting the "Idempotency-Key" header or some other approach, having awareness and maybe even a standard could be great. Oh yes, hugely agree there! Part of the reason that I wrote this is that I couldn&#x
213.
▲
by
brandur
10y ago
There are similarities, but given that people are pretty use to the word "nonce" being limited in use to crytography, I'm not sure that we could say definitively that re-using it here would be less confusing overall. From a m
214.
▲
by
brandur
10y ago
Our implementation is probably less sophisticated than you're thinking, but thanks! I'll pitch the idea to the team. To put it very simply, it's a middleware that stores a known response by an idempotency key's value and
215.
▲
by
brandur
10y ago
Yes, exactly! Like you say, the idea is that an idempotency key represents a single request. It's perfectly okay to make a new request that's almost identical to the original in that it shares the same endpoint and all the same pa
216.
▲
by
brandur
10y ago
> If you don't mind me asking how exactly to you guys process requests with a versioned API? This information has been talked about publicly before, so I don't mind explaining at all. For the most part, the core API endpoint lo
217.
▲
by
brandur
10y ago
Idempotency keys are a simple enough concept, that I think that they're mostly okay as is (we could have done a few smarter things on the server side implementation, but luckily that can still be fixed). There are certainly a few thing
218.
▲
by
brandur
10y ago
I think that would be a fine alternative to the system we have. I don't have a perfect history of events, but I suspect that our current design is basically the result of two things: 1. Idempotency keys as a concept were introduced qui
219.
▲
by
brandur
10y ago
For every one successful major version revamp there may be a dozen that never changed :) Even amongst those that did do a major API revision, I suspect that you're usually left with the no-win situation of either leaving users lingeri
220.
▲
by
brandur
10y ago
So I think that you could absolutely patch a system that's quite similar to `Idempotency-Key` into `ETag`, but you might be pushing the original concept far enough base to the point where you're not gaining much by doing so. Using
221.
▲
by
brandur
10y ago
I authored this article and just wanted to leave a quick note on here that I'm more than happy to answer any questions, or debate/discuss the finer points of HTTP and API semantics ;) An ex-colleague pointed out to me on Twitter t
222.
▲
by
brandur
10y ago
(I wrote this.) It's always a bit of a fine line as to what makes the final cut in this sort of article (I tried to stay on message without getting too off track), but HTTP conditional requests are definitely something that could have
223.
▲
by
brandur
10y ago
(I work at Stripe.) API versioning is definitely a debatable subject, and I don't think that anyone at Stripe would claim that the current state of affairs is perfect by any means, but it's one that we think provides a good compro
224.
▲
by
brandur
10y ago
The OP is right, and actually understating it if anything. Here's a report from the WHO [1] where they cite 1.25 million from 2013. If anything, that number has probably increased significantly since then given the rapid industrializat
225.
▲
by
brandur
10y ago
A little off topic, but this is the first time I've heard of this particular set of grievances with the ACA (that it's "job destroying"). If anything I would have thought that it left too many jobs in place by fully inst
226.
▲
The TTY demystified (2008)
(linusakesson.net)
2 points
by
brandur
10y ago
|
0 comments
227.
▲
by
brandur
10y ago
I can't recall all the exact details, but there is some validation logic in place along the lines of "if there's a wildcard domain installed then newly added subdomains must be on the same account as the wildcard's owner
228.
▲
by
brandur
10y ago
I'll bite despite not being the most qualified person around to answer the question :) First of all. It's well considered to think about alternatives to NoSQL. You lose _so much_ correctness and resilience by moving to systems lik
229.
▲
by
brandur
10y ago
> Hm. So, for that to work, I'd basically have to forever hardcode the terminal to launch tmux every single time. Yeah, but it's not as bad as it sounds once you "move down a layer" and treat Tmux like your terminal m
230.
▲
by
brandur
10y ago
> You do seem overly excited. :) Hah, yeah I'm aware, but the potential of Rust is huge. We talk a lot about open source these days, but meanwhile the tools that we all use are sitting on huge substrates that the vast majority of us
231.
▲
by
brandur
10y ago
That's really cool and their README gives some great background. Thanks!
232.
▲
by
brandur
10y ago
I just want to say that this project is amazing. At the risk of sounding hyperbolic, I think Rust is the most exciting thing that's happening in computing today. This sort of project that plausibly replaces software traditionally writt
233.
▲
by
brandur
10y ago
Just to present an alternate opinion here: I haven't used my terminal's scrollback on purpose in 5+ years now, and it's fine. To me, Alacritty's trade off is perfectly acceptable, and even desirable. As far as I can tell
234.
▲
by
brandur
10y ago
One word of warning about choosing a partitioning scheme: if you select something like customer (as recommended in the article's example), you might get to a point down the road where you realize that some customers are much, _much_ bi
235.
▲
by
brandur
10y ago
> 1) Future generations aren't buying our T bills. People are. Right. Future generations are the ones paying the interest on them (and other government-issued debt). > 2) Trying to make a moral case for stealing money from pensio
236.
▲
by
brandur
10y ago
If you want a maddening read, Google for "Transparent California salaries" + your city name (I won't link it because they have some of anti-adblock thing going on now) [1]. Many public sector employees have wages that are mor
237.
▲
2016 was a hard year to be an Apple fan
(engadget.com)
8 points
by
brandur
10y ago
|
1 comments
238.
▲
by
brandur
10y ago
> They're really not. They may play most of the smaller games, but the AAA blockbusters will hugely struggle on anything but the Iris Pro. You've refuted a claim that I didn't make. I mentioned The Talos Principle specific
239.
▲
by
brandur
10y ago
Nice write-up. I'm personally hoping to find something a little lighter than a dedicated network appliance that will have to be powered and maintained, especially now that we're in the era where a single 10 TB could conceivably ho
240.
▲
It’s a-me: How Super Mario became a global cultural icon
(economist.com)
117 points
by
brandur
10y ago
|
45 comments
More ›