Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hasenj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
hasenj
9y ago
When you say "irony", are you genuinely surprised by this?
62.
▲
by
hasenj
9y ago
This is cool. I've been thinking about this for a while. The best way to write high quality web applications is to use compiled languages and minimize the complexity of the infrastructure by using e.g. SQLite instead of PostgreSQL. I h
63.
▲
by
hasenj
9y ago
> your normal dB driving some web-based CRUD app That can totally be handled with SQLite.
64.
▲
by
hasenj
9y ago
That's the definition of not being conservative about adding dependencies.
65.
▲
by
hasenj
9y ago
I find the opposite to be true. If you casually add dependencies without understanding the dependency tree, you have a lot of problems waiting to happen. I prefer to be conservative about adding dependencies, and to always manually include
66.
▲
by
hasenj
9y ago
What's wrong with vendoring? You put the package you want inside the vendors/ directory. I think it's much better than a package manager that tries to download some version that satisfies some version specification in a file
67.
▲
by
hasenj
9y ago
for what?
68.
▲
by
hasenj
9y ago
I don't think this is a new idea, but anyway it's not a proper "open source" license.
69.
▲
by
hasenj
9y ago
I don't understand. Why does the exchange price vary across countries? The whole thing is online.
70.
▲
by
hasenj
9y ago
no, grunt is even worse. You know, just a plain old script with all the build steps laid out sequentially: feed this file to this command, pass these arguments, wait for command to finish, take output files and copy them over here .. etc.
71.
▲
by
hasenj
9y ago
Not really. The AGPL is what is supposed to counter that.
72.
▲
by
hasenj
9y ago
Initial setup is confusing. Users and rules are confusing. Taking backups and restoring them is confusing.
73.
▲
by
hasenj
9y ago
I'm not sure what is IPFS or Minio, but as far as I know, the go compiler always produces statically linked binaries that have no external dependencies. This is the default out of the box behaviour.
74.
▲
by
hasenj
9y ago
How so? I think it's quite the opposite. The GPL allows you to run your code on a server that clients connect to without you having to give them the code to your server. This is the only way to profit off of GPL licensed libraries.
75.
▲
by
hasenj
9y ago
I remember playing with it many years ago when I was still naive and at the time had bought into PG's promotion of lisp.
76.
▲
by
hasenj
9y ago
The more you depend on things to be right in the target environment, the more chances you have of breaking things. Having a statically linked binary will not always magically solve this, but it's a great step in that direction. The oth
77.
▲
by
hasenj
9y ago
The only problematic licenses here are the GNU family of licenses. This is very unfortunate but there's no way around it. Luckily there are many many useful libraries available with very liberal licenses.
78.
▲
by
hasenj
9y ago
Which I think is a big mistake, because even if it ends up being used in a low traffic site, it ends up complicating the installation process. Where as a compiled language not only would run fast but also have a very simple setup: just copy
79.
▲
by
hasenj
9y ago
Why would I want to use redis? My whole point is that I want to simplify my setup, so that I don't need tons of third party servers.
80.
▲
by
hasenj
9y ago
Do you understand what it does? Do you understand the common ways it can fail? When it does eventually fail, can you figure out how to fix it?
81.
▲
by
hasenj
9y ago
I think the problem is one of economics. The SV culture made it valuable for startups to amass a large amount of users. Where as before this bubble started, it was more profitable for development shops to build (and sell) software that anyo
82.
▲
by
hasenj
9y ago
Redis is yet another dependency that you can certainly do without.
83.
▲
by
hasenj
9y ago
> I'd say that it's dynamic typing that has higher cognitive tax Yes, that's exactly what I said.
84.
▲
by
hasenj
9y ago
It sounds like a chance for logical errors to go undetected before they cause issues somewhere totally unrelated.
85.
▲
by
hasenj
9y ago
I find this hard to buy. Let's start with just one downside (which imo is the killer misfeature): startup time. According to the OP article you have to read the entire xml before you can do anything with it. Surely even if you weren&#x
86.
▲
by
hasenj
9y ago
> this is a program interchange format, not a format meant to be read by a person So why is it xml? I mean this defeats the whole point. Not to mention how it adds a lot of useless noise. If it's a program interchange format, it cou
87.
▲
by
hasenj
9y ago
Except that SQLite is a library that can be embedded into any program. Yes, there's also a binary command line interface to interface with a db file, but that's not what SQLite mainly is.
88.
▲
by
hasenj
9y ago
Yes but if you use SQLite because you value minimalism you would also choose a language that compiles the server to a statically linked binary, e.g. Go, in which case this is a trivial "optimization" to do (if you would even call
89.
▲
by
hasenj
9y ago
Last time I used MySQL was more than 10 years ago, but my impression from back then is that it's more beginner friendly and easy to setup and use than Postgres.
90.
▲
by
hasenj
9y ago
Which translates to: I basically don't want to use it. At least not for development. Not as a means to abstract away the setup of something like Postgres; Docker has its own complications when it comes to setting things up, which I mus
More ›