Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
luhn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
331.
▲
by
luhn
7y ago
psycopg2 is a Postgres driver, it is not a query builder like jOOQ. Python's equivalent would be SQLAlchemy Core.
332.
▲
by
luhn
7y ago
Quite a few times I've heard the line that blockchain can revolutionize supply chains, but I still don't understand it. Since you're dealing with physical goods, you're relying on the participants of the system to enter
333.
▲
by
luhn
8y ago
dogpile.cache [1] implements this pattern (or at least a very similar pattern) for both memcache and redis using locks. If the cache value doesn't exist, attempt to acquire the lock and generate the value. If the lock can't be a
334.
▲
by
luhn
8y ago
I know you're probably joking, but for the sake of anybody reading this who may be consider composting: A healthy compost doesn't smell bad (I honestly kind of like the smell) and doesn't smell strongly either, so neighbors
335.
▲
by
luhn
8y ago
I think "the entire time this thing has existed" is plenty long.
336.
▲
by
luhn
8y ago
It's running on EdgeEngine, which is similar to Lambda@Edge.
337.
▲
by
luhn
8y ago
$0.00099 per GB in Virginia and Oregon. That's a quarter of the cost of glacier! I'm curious how they're able to achieve that. They released to all regions at once (including GovCloud!), so that suggests its not new hardwar
338.
▲
by
luhn
8y ago
Source to that? My napkin math tells me speed of light across US is ~10ms, my experience tells me latency is ~100ms (certainly not 1s), so that's only one of of magnitude.
339.
▲
by
luhn
8y ago
I think jQuery is still a relevant tool for building dynamic websites—animations, carousels, pop-ins, etc. However, for building SPAs, jQuery has been eclipsed by Angular and React. And thank god for that, jQuery was always an ill-suited to
340.
▲
by
luhn
8y ago
A sale is not a debt, so by the rules of the current system a shop can refuse to count those pennies. https://www.federalreserve.gov/faqs/currency_12772.htm
341.
▲
by
luhn
8y ago
S3 replicates across available zones, meaning copies in multiple DCs but in the same general area. You can setup a bucket to replicate a bucket in another region, at double the storage costs plus bandwidth charges.
342.
▲
by
luhn
8y ago
Last I checked, the backup service exclusively used the Sacramento DC. Has this changed? Being in the Sacramento area myself, I'd be much more comfortable if my offsite backup was more than a couple miles away.
343.
▲
by
luhn
8y ago
Given my experiences with Stackpath's CDN, I wouldn't trust them with any sort of workload. They bill themselves as the "secure" CDN, yet were not validating SSL certs on the origin.
344.
▲
by
luhn
8y ago
Notably new is the assignment expressions [1]. This was quite controversial and the battle around it caused Guido to step down as BDFL [2]. I personally think it's quite a nifty feature. I often end up writing something along the lin
345.
▲
by
luhn
8y ago
There’s evidence to suggest that DocumentDB is actually running Aurora Postgres under the hood. https://news.ycombinator.com/item?id=18870397
346.
▲
by
luhn
8y ago
They don't mention it in the article, but TLS comes at an additional cost. Same price per hour and per LCU, but an LCU gets you less with TLS. Standard LCU: - 800 new non-TLS connections or flows per second. - 100,000 active non-TLS
347.
▲
by
luhn
8y ago
AFAICT, this actually isn't running SQL against data in DynamoDB. Rather, it syncs the the data in DynamoDB with their [Rockset's] own proprietary database, and runs SQL against that data. It's effectively the same but techni
348.
▲
by
luhn
8y ago
The current record for tartigrade revival is 30 years. These recently found ones are many thousands of years, I think revival is unlikely.
349.
▲
by
luhn
8y ago
Certainly everything should be done to reduce the number of incidents, but you can't eliminate the need for on call.
350.
▲
by
luhn
8y ago
One thing I've been wondering about is how smaller organizations handle on call. Looking at the roles laid out [1] and assuming an on-call schedule of 4 weeks off, 1 week secondary, and 1 week primary, that's a team of at least 2
351.
▲
by
luhn
8y ago
Since the flexbox inspector is is a sidebar in the DevTools, they're working with similar size constraints as a mobile device. I think taking design inspiration from mobile makes sense.
352.
▲
by
luhn
8y ago
Why is it so expensive? Not only is the entry point $200/m, the instances are twice the price of their EC2 equivalents. (At first I thought perhaps the price included multi-AZ, but it doesn't.)
353.
▲
by
luhn
8y ago
Looks to be 1000 minutes, same as when I was on the platform. If your builds only take a couple minutes that goes a long way.
354.
▲
by
luhn
8y ago
Glad to see this, Fargate was a pretty steep premium. Comparing an on-demand m5.large to the equivalent Fargate container looks to be a 20% premium, which seems reasonable. Next I'd like to see an equivalent to EC2's reserved ins
355.
▲
by
luhn
8y ago
CircleCI's free plan is way too generous. I was on it for a couple years without ever needing to upgrade to paid. I later ended up switching to Codeship, whose free plan was quickly exhausted and now I'm a paying customer of Cod
356.
▲
by
luhn
8y ago
My favorite part from that: https://github.com/chrislgarry/Apollo-11/blob/27e2acf88a6345...
357.
▲
by
luhn
8y ago
Preflights are cached, but because CORS is per-URL caching can be of limited value. If your API uses `/info` and `/edit`, a preflight request has to be made for both (assuming a preflight is necessary). If your application has d
358.
▲
by
luhn
8y ago
A bearer token is opaque. It could be a JWT, it could be something else, depending on the application.
359.
▲
by
luhn
8y ago
a) They already do. You're given a choice between a single payout or regular installments over a period of many years (i.e. basic income). b) There's no shortage of BI experiments, both past and ongoing. https://www.b
360.
▲
by
luhn
8y ago
I was speaking of SQL, but if you can write it in SQL you can usually map it to SQLAlchemy. If worse comes to worse, you can use text() to drop down to raw SQL for just a portion of the query. SQLAlchemy’s Postgres JSONB type allows subscri
More ›