Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sudhirj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
211.
▲
by
sudhirj
5y ago
My biggest beef with them is that they’re so feature frozen that they threw a billion person country off rather than update billing. India recently passed a credit card tokenisation law that needs changes in an invoicing system, and Heroku
212.
▲
by
sudhirj
5y ago
Thanks, I’ve had Idea Ultimate All Products for years and never heard of this.
213.
▲
by
sudhirj
5y ago
Yes, you can apply a set of updates atomically so they all fail or none, with conditions. No save points or nested transactions, though. And the transactions need to be grouped into a single request. Joins, no. Most of the NoSQL systems dis
214.
▲
by
sudhirj
5y ago
Fly just runs container images, so you can already run any language you want, including the JVM.
215.
▲
by
sudhirj
5y ago
Running a Fly app backed by DynamoDB Global Tables is an option. DDB keeps a copy of your data in all the regions you specify, each Fly instance can connect to the nearest region, and writes are propagated with eventual consistency & la
216.
▲
by
sudhirj
5y ago
Not entirely. Think stores are still free to use any signals available at their own premises, like camera footage, license plate numbers in their parking lot, Wifi Mac addresses, or even gait analysis if they feel like it :-/
217.
▲
by
sudhirj
5y ago
The reserved capacity pricing is lower, in a business setting your account manager will usually suggest this pretty quickly if you have a steady and/or increasing Cloudfront bill.
218.
▲
by
sudhirj
5y ago
This particular problem basically boils down to "CDN providers don't like caching large files", which is a very common problem. Everything else was configured and setup exactly right to not have a large bill. Most CDN provide
219.
▲
by
sudhirj
5y ago
Just a reminder to watch out for connection pooling problems when using advisory locks. If you've checked out a connection from your pool that you use from the time you take the lock to the time you release it, you'll be fine. If
220.
▲
by
sudhirj
5y ago
Do companies that already have millions in revenue (or feel that's inevitable) get the same terms? It would be interesting to see who accepts that — they probably see something worth it in YC to give a discount on equity.
221.
▲
by
sudhirj
5y ago
Steep as in it's too cheap? If you get into YC they're instantly valuing your company at over $1.7 million, which seems very founder friendly to me.
222.
▲
by
sudhirj
5y ago
I recently wrote about how encoding ULIDs in the UUID format could help with some of these problems https://news.ycombinator.com/item?id=29794186 https://sudhir.io/uuids-ulids
223.
▲
by
sudhirj
5y ago
You’d probably still have to justify it somehow, like say there are stock options or bonuses that could reasonably be won.
224.
▲
by
sudhirj
5y ago
It's definitely bypassable, but it sets the floor. Not only do employers have to post hard numbers on ads, it's possible to see what other companies are paying too, so if you manager is trying to short change you during hikes you
225.
▲
by
sudhirj
5y ago
Think you’re right about the FUD part, will tone it down. Still think numbers are a horrible idea, but this shouldn’t be consideration for most people.
226.
▲
by
sudhirj
5y ago
Yeah, I wrote the shortuuid libraries to help make nicer URL strings in base62 (or any other alphabet of your choice) for that. Added links at the bottom of the article.
227.
▲
by
sudhirj
5y ago
Think an MD5 hash is the exact same length as a UUID, so you can just put hyphens in. Same thing for truncated SHA-N :-P
228.
▲
by
sudhirj
5y ago
There have been / still are tons of attacks where you can see other people's data by just incrementing and decrementing the ID in the URL. Will see if I can a section about security implications, there's a similar time based
229.
▲
by
sudhirj
5y ago
You might want to expose joining dates for example, or exactly when something happened. That kind of info can leak unintentionally if someone looks at the ID and you didn’t want it exposed.
230.
▲
by
sudhirj
5y ago
Hmm. I haven’t actually gone low level enough to answer that, but I suppose it’s possible - doesn’t seem likely to be significant in a web application server scenario, though. The random jitter on the lan line to the DB is probably going to
231.
▲
by
sudhirj
5y ago
Nice, thanks, haven’t see. This before. Can’t say I like the symbols in there, but will add it as a reference. Should probably add base58 as well, Bitcoin uses it.
232.
▲
by
sudhirj
5y ago
Haven’t looked into it, will check it out.
233.
▲
by
sudhirj
5y ago
Author here, self-posted. AMA.
234.
▲
Understanding UUIDs, ULIDs and string representations
(sudhir.io)
213 points
by
sudhirj
5y ago
|
100 comments
235.
▲
by
sudhirj
5y ago
Qube Cinema | Backend and Frontend Engineer | REMOTE WORLDWIDE | Full-Time | https://www.qubecinema.com Qube Cinema is a worldwide cinema company — I'm hiring for our distribution service, QubeWire. Cinema distribution is a
236.
▲
by
sudhirj
5y ago
But all the articles I read only come from HN in the first place :-/
237.
▲
by
sudhirj
5y ago
For single core workloads, probably. Didn’t we hit the clock speed cap around 2010?
238.
▲
by
sudhirj
5y ago
Yeah, but people seem to have found wallets already. This is more a reminder that the probability is a little different from the naive 1/total possibilities idea.
239.
▲
by
sudhirj
5y ago
Obligatory reminder about the birthday problem - the probability that someone birthday is a particular day is 1/365, but the chances of two people in a group of 30 having the same birthday is very high - because the universe has so man
240.
▲
by
sudhirj
5y ago
Ooooh. Like this https://kinesis-ergo.com/keyboards/freestyle-pro-keyboard/ I want that but curved a bit and tented, without a change in layout.
More ›