Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
z3t4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
601.
▲
by
z3t4
4y ago
Lowering the costs means you get higher margins, which in turn means you can grow the company larger then other similar companies before reaching the marginal return (the point where growing wont increase profits). So a company with low exp
602.
▲
by
z3t4
4y ago
My experience is that almost 100% do sign up. Signing up is not a barrier. Funny statistic I had in a game was that while almost 100% did sign up, only 50% of those entered the game. After highlighting the "enter game" button, tha
603.
▲
by
z3t4
4y ago
Web hosting is "economy of scale" which means hosting one site cost a lot, but hosting +1 site costs very little for that extra site, so if you are technical enough to run your own server, also host other people's web sites!
604.
▲
by
z3t4
4y ago
I've solved it for my own needs by making https://webide.se/ which is an web based editor with a Linux shell and my homegrown static site generator with live preview. If you host your repo on Github try https:/&#
605.
▲
by
z3t4
5y ago
> men will do whatever is required in order to obtain sex I wish there was some kind of pill without much side effects, that made you asexual. Then men could focus on science and other interests. For Example Sir Isaac Newton's self
606.
▲
by
z3t4
5y ago
Radiation is probably underrated. Our bodies are not built to handle concentrated radiation. We are lucky to live on a planet with a great radiation shield. But we probably don't know how lucky we are.
607.
▲
by
z3t4
5y ago
And you get replaced by a team of consultants that charge $9000/hour. Or the company will pivot in order to not need someone with your qualifications. Because that costs less then giving everyone a 10% rise in salary. So if you want a
608.
▲
by
z3t4
5y ago
Those who think of errors as exceptions can further be divided into group 2a) Those who prefer Promises syntax. And group 2b) Those who prefer async/await syntax. Also don't forget about co-routines: co(function* () {
609.
▲
by
z3t4
5y ago
I understand there are two sides/groups here: 1) Those who think errors are important to control flow, and 2) Those who think errors are exceptions to control flow. If you are in group 2 both Promises and async/await will give you
610.
▲
by
z3t4
5y ago
You use "npm install" to place modules in node_modules, and "npm update" to conveniently update them. But you have to either 1) trust the maintainers of the modules or 2) review the code changes.
611.
▲
by
z3t4
5y ago
The decentralized part of Git and Mercurial is nice (eg. no need for Github et.al), but I think most software projects using Git or Mercurial do have a centralized server/hub...
612.
▲
by
z3t4
5y ago
Am I the only one who thinks Oath is over-complicated bordering to security through obscurity and vendor lock-in ? The protocol could be as simple as this (using password) app => auth-server (can user:pass login to app?) auth-s
613.
▲
by
z3t4
5y ago
I was expecting how to implement OAuth2 in pseudo code or JavaScript...
614.
▲
by
z3t4
5y ago
There are only two solutions: 1) Trust someone 2) Carefully read through their changes node_modules should be banned from .gitignore npm should stop moving folders around. If I have placed a module in node_modules/foo/bar it shoul
615.
▲
by
z3t4
5y ago
As a self thought developer I have learned most stuff by trail and error, and making mistakes, and some finds are expensive.
616.
▲
by
z3t4
5y ago
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/s...
617.
▲
by
z3t4
5y ago
Businesses want to learn about their users in order to better serve them. however customers although they want to have their problems fixed, rarely tell the business about their problems. Restaurants have strict rules not to serve bad food.
618.
▲
by
z3t4
5y ago
It is my experience as a developer of a text editor, that text edtor/IDE users make the decision whether to learn/use an editor within seconds. Just a quick look and it has been decided, in 3 seconds what they will spend their nex
619.
▲
by
z3t4
5y ago
It can be a lot of work creating an isolated dev/test environment if you already have a large app that communicate with a lot of services. But if you can that is preferable as the test will create strange artifacts - but those systems
620.
▲
by
z3t4
5y ago
It is possible to write tests in a single-file program. You could for example have a -test flag that runs all the tests when the program starts. It's never too late to introduce tests - the next bug you fix, start by writing a test t
621.
▲
by
z3t4
5y ago
They already have the documents. But releasing them would make it easier for a competitor to make a cheaper drop in replacement. It would be a win for consumers though.
622.
▲
by
z3t4
5y ago
type annotations does not guarantee correctness, performance, nor does it make your code bug free. Type annotations however helps when writing code, as the tooling will know that something annotated as type X have these prototype variables,
623.
▲
by
z3t4
5y ago
If you are just using the .git hosting part, it would be really easy to setup an open-ssh server yourself... Could you explain why you are not hosting your own ssh server already ?
624.
▲
by
z3t4
5y ago
You can use a popular Linux dist and turn on automatic updates, and use Snap apps that update by themselves. But you still would not have control - apps could update with breaking changes. The only way to win is by choosing simple tools tha
625.
▲
by
z3t4
5y ago
There was a time where anything with JavaScript in the title automatically got into the front page. And now it's Rust. Rust is now in it's golden age. The question is if all the enterprise "Java" will switch over from JS
626.
▲
by
z3t4
5y ago
You can do a lot with just SystemD today. Would not get surprised if SystemD would eat up Docker too.
627.
▲
by
z3t4
5y ago
One problem with high pixel density is that you either have to scale everything up, or everything becomes super tiny. And second problem is that with bad eye sight due to aging things get blurry anyway... That 12px font ... I'll just k
628.
▲
by
z3t4
5y ago
Alot can be done with SystemD (sandboxing)
629.
▲
by
z3t4
5y ago
Apparmor has a nice learning curve, it's easy to get started with: sudo apt install apparmor-utils sudo aa-genprof /path/to/app Profiles are saved in /etc/apparmor.d/ Many apps need access to
630.
▲
by
z3t4
5y ago
Check out Apparmor and SELinux. You can for example make a profile for an app that says it can only access these files and write to these files, and forbid it to use the network. You can also start an app using the root user (or any user),
More ›