Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sudhirj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
721.
▲
by
sudhirj
6y ago
The 'master' branch uses the word the same way an audio recording does. There isn't a corresponding slave. The word does come up in database replicas, which are often called master/slave. I can see a clear case where tha
722.
▲
by
sudhirj
6y ago
Most lines of this kind are drawn based on some value we agree on, not any intrinsic rule in physics. The boundary of the atmosphere, earth's crust, the extent of the solar system, etc.
723.
▲
by
sudhirj
6y ago
The problem isn't encryption, let's assume everyone has full disk encryption turned on, so someone who steals your laptop can't access your data. The problem is that your home directory is accessible to a ton of apps on your
724.
▲
by
sudhirj
6y ago
This gets interesting, especially with Dave Chapelle, but professional comedians like Dave and Seinfeld etc. have one very specific attribute that allows them to punch up, sideways and even down – everyone always knows they're joking (
725.
▲
by
sudhirj
6y ago
Yeah, not funny because Presidents can, and often do, kill people with drone strikes. It would have been funny if he pointed the joke at a hurricane or shook his fist at God while saying it. If he wanted to make a dad joke he could have sai
726.
▲
by
sudhirj
6y ago
The basic rule of comedy, or making jokes, which is amateur comedy, is that you always punch up. It’s funny when you say “ha! you’re fired!” to your boss, but never when you say it to someone you can actually fire. Same reason why parents (
727.
▲
by
sudhirj
6y ago
For those who want to do something like this, the word / library you'll need to search for is "trigrams". Make trigrams of all your relevant search terms, then run a job to populate a JSON to your S3/CDN for each of
728.
▲
by
sudhirj
6y ago
Shouldn’t we ban national parks from advertising and shut down National Geographic, then? I went to the Grand Canyon and a couple of other parks, and there were plenty of opportunities to die. If I had I wouldn’t want the parks shut down.
729.
▲
by
sudhirj
6y ago
The political will for prevention is missing, but the will (and money) for the cure will come quickly. Wall Street will pay once the wet elevators stop working, Presidents, Prime Ministers and politicians will find the will once they spen
730.
▲
by
sudhirj
6y ago
As a thought experiment (don't try this at home) it's actually feasible to cut all the trees on earth down, burn them without releasing that CO2 into the air and use that energy to scrub the atmosphere. This is a horrible idea,
731.
▲
by
sudhirj
6y ago
Yeah, that sort of makes sense. Hydrocarbons are carbon + water + energy package, and burning them gives out the energy which you can use for scrubbing the atmosphere, provided you don't exhaust carbon byproduct into the atmosphere ,
732.
▲
by
sudhirj
6y ago
This is slight variation on the theme of the Black Lives Matter vs All Lives Matter argument, and it's been addressed adequately on social media. The fund isn't pointing out that "Only Black Founders Matter", it's s
733.
▲
by
sudhirj
6y ago
There was an article a while ago asking why stock prices have not priced in climate change, and I think this is why. As much as we hate to admit it, the solution to climate change will be as industrial as the industries that caused it. I&#x
734.
▲
by
sudhirj
6y ago
We should used the captured carbon to make the fabled nanotubes that we're all going to be using, wearing and living in.
735.
▲
by
sudhirj
6y ago
Some on a USB hardware dongle under lock and key. We also run HSMs and the key cards to those require quorum. So the CTO, Founder and head of devops each have multiple cards at home and work such that any two of them can make a quorum with
736.
▲
DynamoDB Foundation
(dbproject.red)
2 points
by
sudhirj
6y ago
|
0 comments
737.
▲
by
sudhirj
6y ago
In this model, the only advantage would be parallelism inside the request. If you had to fetch 100 things as part of this request there’s no need to do them one by one.
738.
▲
by
sudhirj
6y ago
In scenario 1, this is a Sabre rattling move, where Trump is hoping that the social media companies will allow his nonsense against the threat of more legal headaches from section 230 complaints and violations. This might happen. In scenari
739.
▲
by
sudhirj
6y ago
Most sound about right except for Global Accelerator, which isn’t a way to run your apps on edges, it’s a way to route all your network traffic through the AWS edges. Make it a bit more reliable and faster, and has really cool load balancin
740.
▲
by
sudhirj
6y ago
Isn’t this clearly an explanation of a patch contributed upstream? Don’t think the connector is proprietary.
741.
▲
by
sudhirj
6y ago
The last iteration before the current check. But I'd assume the foolproof way would be to return an error if the Close() returns an error, erroring out the entire read. I don't know if a partial read is ever a good thing.
742.
▲
by
sudhirj
6y ago
That complicates things, but no different from seeing an error either way. The point is that checking for an error at point one is not enough, if you want to be sure there wasn't an error you need to check point 2 as well. In the case
743.
▲
by
sudhirj
6y ago
The code should throw away the data it read from the connection just before it closed it, because there's a high chance of it being corrupt.
744.
▲
by
sudhirj
6y ago
Yeah, we use Go with Postgres a lot, so I'm wondering if we should check for all these problems on Postgres as well. And if we don't, why? What so different about the PG connection models that this problem won't happen there?
745.
▲
by
sudhirj
6y ago
Why aren’t these problems applicable to Postgres? Is the connection model different or do the libraries already do all this?
746.
▲
by
sudhirj
6y ago
Hmm, thanks, I’m slowly starting to see that now. Will probably just move to LicenseZero.
747.
▲
by
sudhirj
6y ago
Thanks for the Apache note, I didn’t realise that. Will pull that option and replace it with what’s here https://indieopensource.com/for-indies Indieopensource.com is a pretty great resource. Same author as License Zero. Wa
748.
▲
by
sudhirj
6y ago
I did, might still go that route, but Redimo isn’t a web server (although I am building one that I’m planning to license under Mongo’s SSPL). The code is a Go / Ruby / JS library that builds with your code, so think the GPL does a
749.
▲
by
sudhirj
6y ago
I have a day job, but I'm trying to see if I can make a living off open source. I'm building a set of libraries, licensing them under the GPL, and offering to sell LGPL and Apache 2.0 licenses for those who need them (any commerci
750.
▲
by
sudhirj
6y ago
I’ve found it useful to know the underlying principles for a lot of things, but the details for a few. For instance, Understanding b-trees and log based data systems helps with most database systems - I look up the SQL syntax, Postgres and
More ›