Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NathanKP
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
481.
▲
by
NathanKP
11y ago
I agree. Knowing some things by rote is essential for the practical ability to estimate answers to problems quickly and/or recompose math problems as simpler components. For example on my way to work at the 14th station I wanted to kno
482.
▲
by
NathanKP
11y ago
> curated sets of packages with groups of people focused on doing the auditing and security along side my due diligence How does this differ from how NPM works? For example the set of packages that is utilized by Express is downloaded mo
483.
▲
by
NathanKP
11y ago
Solution: 1) Pin your packages to a specific version. If you aren't doing this already they you are in for a world of hurt when someone who doesn't know what they are doing releases a breaking package change on a minor version num
484.
▲
by
NathanKP
11y ago
I don't see anything wrong with using a pre-made left pad function. Why waste time and lines of code implementing something so trivial when there is already a solution available? However, I agree it is ridiculous to have a dedicated mo
485.
▲
by
NathanKP
11y ago
You have to have an NPM user setup on your CI server in order to use private NPM packages, which some companies do instead of hosting their own onsite NPM.
486.
▲
by
NathanKP
11y ago
> If the TV networks had a clear picture of viewership, they would be more effective at negotiating licensing deals. The TV networks are still stuck in the mental space of thinking of viewership count as a relevant metric because for the
487.
▲
by
NathanKP
11y ago
A lot of people who used Google Blogger hosted images for the blog in Picasa. If the URL's break a lot of old blogs will lose content.
488.
▲
by
NathanKP
11y ago
You should consider testing to be a pyramid: 1) A smallish number of full end to end integration tests which actually make TCP requests to your app, and which actually have service talk to each other, etc. 2) A medium number of black box in
489.
▲
by
NathanKP
11y ago
Good point! The fact that there is a 202 status code also goes to show that REST best practices allows for both synchronous and asynchronous use cases.
490.
▲
by
NathanKP
11y ago
REST is not the source of the problem being described in the article. The problem in the article is from bad application of REST. I'm currently working at a startup that has about 15 microservices and there are a few different strategi
491.
▲
by
NathanKP
11y ago
It would be more valuable to build this functionality into a linter that coders can use as they develop.
492.
▲
by
NathanKP
11y ago
While I agree with the author of this article from the perspective of the engineer who likes to tinker with things and roll my own stuff I must disagree from the business perspective. From the business perspective a PaaS solution costs one
493.
▲
by
NathanKP
11y ago
Personally the way I learned to think of it was to read it in the order that organizes it into the fewest number of "groups". Afterall it is easier (and faster) to visualize three groups of five items, than it is to visualize five
494.
▲
by
NathanKP
11y ago
The "Ok Sauron" described in this article already exists: https://www.palantir.com/
495.
▲
by
NathanKP
11y ago
Spider Oak has some serious issues with their syncing functionality: https://gist.github.com/aphyr/b53faed7aed740482ddf
496.
▲
by
NathanKP
11y ago
Programming is nothing but transforming data from one form into another. Once you reach a level of competency where like the author of this article you can implement any kind of transform you like then 99% of programming becomes rather bori
497.
▲
by
NathanKP
11y ago
I've played enough MMORPG's to know that big is not always better. Usually as more expansions are added the player base spreads out and the world ends up feeling empty and boring. The best games tend to stay fairly medium sized so
498.
▲
by
NathanKP
11y ago
If you have sufficient test coverage and a proper merging and deployment flow then package upgrades that break your code will be caught, and you'll have a chance to adjust your code in response to the package changes. The one minor iss
499.
▲
by
NathanKP
11y ago
Sometimes it is more efficient to implement the context switching yourself. For extremely high performance server use cases such as realtime analytics, streaming video processing, high frequency trading, etc it isn't uncommon to have s
500.
▲
by
NathanKP
11y ago
If you have a thorough test suite then it is possible to use a package version pattern such as ~1.1.0, or even ^1.1.0 to allow the package to upgrade automatically when the maintainer releases a new version. Obviously being able to do this
501.
▲
by
NathanKP
11y ago
Most companies using Node probably also have some form of CI. For example the company I work at probably generates tens of thousands of package downloads a day because we have CI running docker container builds for automated testing on ever
502.
▲
by
NathanKP
11y ago
I've done CPU laden tasks many times in Node. The key is how you break up the heavy task into pieces that can be distributed more evenly on the event loop instead of blocking it. For example processing a huge data stream is typically d
503.
▲
by
NathanKP
11y ago
Your ratio is reversed. It is 1.3 hours per ticket, or .73 tickets per hour.
504.
▲
by
NathanKP
11y ago
I think the fact that it is a separate social network is actually a huge part of its draw. I use Instagram on the daily, but haven't used Facebook in a good four years. Facebook is just too full of garbage that is irrelevant to my inte
505.
▲
by
NathanKP
11y ago
> I wonder if some of these can be turned into more modern co-working spaces that can be rented by the desk. It would depend on where the commercial building is. WeWork locations in the city are convenient and fantastic, but even a very,
506.
▲
by
NathanKP
11y ago
It's tried and true, and worked for both Reddit and the New York Times.
507.
▲
by
NathanKP
11y ago
It depends on how fast the incoming car is travelling. If you are about to be rear ended by someone traveling 60 miles an hour (happens sometimes in rural areas where people don't pay attention and are traveling highway speeds on narro
508.
▲
by
NathanKP
11y ago
Compared to the logic involved in actually driving down the road safely these are all easy problems to solve. But realistically they are problems that won't be had, because in the near future (and probably in the far future as well) mo
509.
▲
by
NathanKP
11y ago
- Get an external monitor if you can. Personally I can't use a laptop for an extended period of time because it really takes a toll on your body. I just use my laptop in clamshell mode with a large external monitor, and an external mec
510.
▲
by
NathanKP
11y ago
The major difference between your odds of success when playing the lottery and your odds of success when working at a startup is that you can affect your odds of success by your actions when working on a startup. A successful startup is not
More ›