emilv

Joined 15 years ago

Karma
81
Submissions
50
Member since
Aug 21
emilvikström.se
View on Hacker News

Recent submissions

Comment · 11 years ago
Nowhere in the article does it say anything about "friendly".
Comment · 12 years ago
I don't even start the video. They are almost always just marketing and hyperbole anyway. I assume that if they went through all the troubles of creating a video they must also have the information in much-easier-to-produce text form. This has come back to bite me only a few times when somebody points out information in an introduction video that is not covered in the "Introduction" page of the manual, but I consider the win of not having to sit through boring hour-long sales pitches much greater than the abysmal information loss.
Comment · 12 years ago
While you do want HA you also want to keep things simple. You get great HA with just one backup machine. The times you lose two machines are so few that you might crash the site with software failures far more often anyway.

Databases have inherent locking problems that takes more resources to resolve with more machines, more so in some database systems than others. When scaling you often hit a point where you get down to macro logistics, so imagine a car highway: You can get more throughput by adding more lanes. But what that all cars are going to merge to one lane at some point in the middle of the trip (because of a tunnel, bridge or something: it's impossible to have more than one lane at that point)? Now you won't get any throughput benefits of the multiple lanes after all! Just more latency because you get queues up until the single lane and because of the queues all cars are going slow and need to accelerate on the single lane, so the average speed is low too. You are also having too much resources after the single lane because you can never fill all those lanes. It might be better to have one beefed-up single-lane road all the way that people can go fast on. Basically: Remove locks and you get better overall performance.

Yes, this is on the expense of HA. Yes, the costs of scaling up grows asymptotically faster than the costs of scaling out. So this is definitely a trade-off in some sense.

Comment · 12 years ago
That is a good point. But then I'm even less sure where I would use this. Definitely not when out hiking in the woods.

I still believe I'm with the 25% that didn't prefer asynchronous messaging.

Comment · 12 years ago
No voice? That lost all of my interest. So now I need to tap out a message on my expensive, somewhat fragile smartphone with dirty fingers while losing all sight of the road for a minute. Instead of a sturdy walkie-talkie where I can hear the voices of my friends, talk efficiently in real sentences and I can look where I'm going all the time.
Comment · 12 years ago
Note that 12 kg is 26.5 pounds, so they are all somewhat related to each other but not exactly.

The number of significant digits on the Castille version is ridiculous compared to the others. Could it be that Castille still uses this unit and therefore have such a specific translation value?

Comment · 12 years ago
And the user still has no way of ensuring the safety of the underlying transport. How do I know the form is going to be sent over a secure link after a push the button? Who will get this credit card? It doesn't say anywhere. But the blog post tells me the info is going to be sent to a third party, but that is not explicit in the form. I hate that "security" is all about meaningless icons, not about being transparent to the user.
Comment · 12 years ago
It's pretty strange to get root access to a server, even though it's just a Docker VM. We can install anything we want, compile any C code we want, DDoS and spam anyone we want... The machine is also crazy loaded right now, with 100% load on all cores (according to htop that I installed from the package repo), almost run out of RAM and disk space decreasing fast.
Comment · 12 years ago
Didn't find Haskell.
Comment · 12 years ago
apt-get install emacs24-nox
Comment · 12 years ago
I'm an early beta user. Your web app is run in a virtual machine. You can store stuff to disk, in memory or in your own database (the PHP container gives you a database per default). I am not sure what happens to stuff in RAM if they choose to migrate you to a new host machine, though.
Comment · 13 years ago
This is extremely useful, not only for inspiration and learning, but also so you actually know what is happening under the hood. This is great for troubleshooting and for reasoning about your own code. This is one big pro for open source in development!

I learned a lot by reading the source code for Python dicts (which also comes with a lengthy motivation for why it was implemented that way) and any Haskell library (Hackage links from the manual page directly to the source code for the respective function, which makes it very easy to see what is happening).

Comment · 13 years ago
Why did you have to end an otherwise good answer with a racist slur?
Comment · 13 years ago
As long as they don't tamper with the data I think an HTTP cache is perfectly OK. HTTP has loads of built-in mechanism for that kind of caching. It saves bandwidth upstream, not least for website owners, and may make your web browsing speed faster if the proxy is good.

Tampering with the data, however, is not OK at all. In the U.S. I believe it may make the ISP exempt from for example the safe harbor clauses in the DMCA.

Comment · 13 years ago
A maximum size limit is an obvious troll to get down to O(1) sort!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton