Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NathanKP
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
NathanKP
7y ago
I've been on HN for 11 years now, and each year its been more negative. At some point the best way to get upvotes turned into "say something pedantic that contradicts the parent post or criticizes it." This is a big part of t
242.
▲
by
NathanKP
7y ago
That's very unfortunate.
243.
▲
by
NathanKP
7y ago
> When you discover that the architecture you've been putting together isn't going to work One of the underappreciated benefits of unit tests is it quickly teaches you how to write good code. It turns out testable code is also
244.
▲
by
NathanKP
7y ago
Yep, that is exactly the architecture that I use to watch over 600k Github repo changelogs for https://changelogs.md Lambda generates static HTML in the background, puts it in S3, and the static HTML get served via CloudFront Th
245.
▲
by
NathanKP
7y ago
Haha yeah, I rememeber the NIMBY's in North Austin. I was living out near the Domain area back then, so I was glad to at least get the Kramar station. Honestly the biggest shame is still no rail line out to Austin Bergstrom.
246.
▲
by
NathanKP
7y ago
I mean its not like they really had much of a choice for the route. They didn't build new tracks, just reused old existing tracks and built stations along the way. I lived in Austin when they were voting to build the rail line and ther
247.
▲
by
NathanKP
7y ago
Voat is tiny. Sure there is always going to be a population of die hard edgelords who are determined enough to move to a new site, but in general the vast majority of people are lazy. And most likely it takes the bot / disinformation a
248.
▲
by
NathanKP
7y ago
Must still be a cache somewhere for you. When I try to view it, it says "This account is under investigation or was found in violation of the Medium Rules."
249.
▲
by
NathanKP
7y ago
Medium account was suspended...
250.
▲
by
NathanKP
7y ago
I hope that's sarcastic... I'm just going to assume you are being sarcastic and making an ironic point about parents wanting to control what their child sees but then not putting any personal effort into it. The harsh reality is t
251.
▲
by
NathanKP
7y ago
It's honestly not that bad in my opinion. Most apps work fine, and those that don't are usually old games or something like that. I've found an easy fix for them: Right click the executable and click "Properties" th
252.
▲
by
NathanKP
7y ago
Yep to be clear I think Standard Oil and Dutch East India company did a lot of bad things. And that's part of the point... If you are saying Elon Musk is impressive just because he started four companies that are worth a lot of money t
253.
▲
by
NathanKP
7y ago
I'd still say that John Rockefeller is more impressive. Adjusted for inflation John Rockefeller's company Standard Oil was worth over $1 trillion. Or Johan van Oldenbarnevelt, the guy who started the Dutch East India company, whic
254.
▲
by
NathanKP
7y ago
The point is that there are also a few hundred people not working now, because their gig jobs were cut. At best its a zero sum game: fewer people make more money now. At worst its a net loss: the company saves money by eliminating a lot of
255.
▲
by
NathanKP
7y ago
From what I have seen Alibaba cloud is #3. Don't forget that China is a huge market, and it is very hard for Western companies to be successful there. Alibaba has China government backing and that relationship is allowing them a lot of
256.
▲
by
NathanKP
7y ago
To be clear I don't think Gawker has the moral high ground either. There is no monopoly here on bad morals. It's possible for Gawker to be an asshole here as well as for Peter Thiel to be an asshole. I bring it up merely to show t
257.
▲
by
NathanKP
7y ago
Interestingly this is the same guy who felt like he needed to use his billions to take down Gawker because he didn't like what they said about him. Evidently he doesn't care about ad messages on Facebook though as long as it doesn
258.
▲
by
NathanKP
7y ago
Flame graph is only needed if you are having a lot of trouble pinning down the exact call that is taking a long time. In most cases I've found traces to be all I needed. For example if I see that this span of execution took longer than
259.
▲
by
NathanKP
7y ago
Interesting! I've had too many bad experiences over the years with Elasticsearch and ELK stack so I usually avoid Elasticsearch based products like the plague. Maybe if someone else runs it for me though... Do you know what they are do
260.
▲
by
NathanKP
7y ago
It waits in a queue in a background thread in the node.js http library until your code can execute to handle it. So if your code takes a long time before returning back to the event loop the request will just wait in that queue for a long t
261.
▲
by
NathanKP
7y ago
This is why I recommend that anyone running Node in production use a tracing tool like New Relic. It's super easy to see what is blocking the event loop. Just choose a duration (say 10ms) and look for any execution spans that are longe
262.
▲
by
NathanKP
7y ago
You can also create your entire Fargate environment in a couple lines of TypeScript / Python / Java code using the AWS Cloud Development Kit. The AWS CDK is a declarative SDK that generates and deploys CloudFormation on your behal
263.
▲
by
NathanKP
7y ago
Look at a graph of inflation in rent prices and cost of living compared to the official poverty line over the years. Basically the government is keeping the poverty line number low even as the cost of living skyrockets. The result is that t
264.
▲
by
NathanKP
7y ago
Of course depression is inevitable. At my current job I work really hard, but I feel incredibly lucky that what I do is valued such that I am able to put about $3k per month extra money into a Vanguard mutual fund that has about 7% return.
265.
▲
by
NathanKP
7y ago
Remember most of us on Hacker News make well over the national average. The annual median personal income is about 31k a year. This means that there are a lot of people working mind numbing, dead end, minimum wage jobs (likely retail, servi
266.
▲
by
NathanKP
7y ago
Yeah but it only takes accidentally merging in something malicious once to have it running in the main repository now
267.
▲
by
NathanKP
7y ago
Yeah in the authors example they are writing a .npmrc file but it could also just as easily be outputting the env variable of the secret. Fundamentally if NPM can access the secret in the build that means anyone who can modify the build pro
268.
▲
by
NathanKP
7y ago
Note that you need to be very careful about this if you have a public repository that accepts PR's from third parties. There is nothing stopping someone from adding this via a PR: - name: Give me this person's NPM token
269.
▲
Announcing Image Scanning for Amazon ECR
(aws.amazon.com)
2 points
by
NathanKP
7y ago
|
0 comments
270.
▲
by
NathanKP
7y ago
I think you are underestimating how much people travelled before airplanes were a thing. First of all pre airplane there was a lot of sea travel, which was accomplished by burning ludicrous amounts of coal to generate steam power. And long
More ›