Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ngrilly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
ngrilly
2y ago
Correct, but none of this is a “bonus”, as claimed in the parent comment.
122.
▲
by
ngrilly
2y ago
And? It is targeting 230 employees, and explicitly excluding top management. Employees at Northvolt are often paid slightly below market, because they also warrants. But considering those warrants are probably not worth much anymore, the bo
123.
▲
by
ngrilly
2y ago
The goal of a scam is to make the scammer richer. Who gets richer in this case? No one. So that’s not a scam. I’m disappointed seeing that kind of accusations stated without evidences on HN, a forum about entrepreneurship and tech, where we
124.
▲
by
ngrilly
2y ago
Not in that case: https://sifted.eu/articles/northvolt-bankruptcy-investors-cr...
125.
▲
by
ngrilly
2y ago
As far as I know, no executives received “millions of dollars in bonuses”. What is your source? And in Sweden and Europe, people are usually not paid in dollars :)
126.
▲
by
ngrilly
2y ago
You’re now making a point which is different from the comment I replied to.
127.
▲
by
ngrilly
2y ago
Remote work is about collaboration. That requires an effort from both sides to make it work. For sure, management has a huge responsibility. But putting every failure on management is overly simplistic.
128.
▲
by
ngrilly
2y ago
https://fractaledmind.github.io/2024/04/15/sqlite-on-rails-t...
129.
▲
by
ngrilly
2y ago
Agreed. SQLite is becoming popular on the server-side as well. The latest version of Rails making SQLite the default is particularly interesting.
130.
▲
by
ngrilly
2y ago
SQLite is a real database engine. I guess what you mean is that SQLite is not competing with database servers.
131.
▲
by
ngrilly
2y ago
I very much agree with your comment. C# managed to evolve and adopt many “modern” features while maintaining backward compatibility, which is quite impressive.
132.
▲
by
ngrilly
2y ago
I think the using statements are fine, even for one-file demos. Python, Go and Node don't have implicit imports like C# and it's fine. I'm actually not entirely sold on the implicitness. Forces the reader to look at the .cspr
133.
▲
by
ngrilly
2y ago
Having recently joined a company using C#, and with a background using Go, Python, Node, and similar, I was worried about heavy "enterprise-style" APIs. I was happy to discover the new minimal web API while reading .NET Core docum
134.
▲
by
ngrilly
2y ago
What do you mean by "minimal syntax for console and APIs"?
135.
▲
by
ngrilly
2y ago
Kamal is doing most of this, but on a single node. This is the limitation that differentiates it from k8s, but also makes it much simpler.
136.
▲
by
ngrilly
2y ago
Precisely. I've been implementing some kind of blue-green deployment with both systemd and dockerd, but it was an imperfect and incomplete solution. Kamal put much more effort into it and it seems more convenient and reliable (but I ha
137.
▲
by
ngrilly
2y ago
Does it support zero downtime deploys?
138.
▲
by
ngrilly
2y ago
Yes, that’s a possible pattern to emulate a sum type in Go.
139.
▲
by
ngrilly
2y ago
I'm curious to hear why most practitioners would call Zig's allocators memory safe? Do you mean the std.heap.GeneralPurposeAllocator which protects against use-after-free when building in debug and release_safe mode (not release_f
140.
▲
by
ngrilly
2y ago
I must say that I really appreciate your patience in addressing these comments. If the possibility of race conditions leading to UB and the lack of sum types in Go are so bad for security, then it shouldn't be difficult to observe expl
141.
▲
by
ngrilly
2y ago
Agreed. Zig has all the advantages of Go's explicit errors as values without the drawbacks.
142.
▲
by
ngrilly
2y ago
I started programming in Pascal, C and C++, so personally I’m fine with manual memory management, especially with a language like Zig. I actually find it quite refreshing. I’m just wondering if it’s possible to “scale” this approach to a te
143.
▲
by
ngrilly
2y ago
I really like Zig, and I’ve been thinking about using it for developing servers offering APIs over HTTP, using arenas bound to request lifetime. I think I would be comfortable developing like this myself. But all the devs in my org have onl
144.
▲
by
ngrilly
2y ago
You’re right, I forgot about the skepticism GCed languages initially faced.
145.
▲
by
ngrilly
2y ago
There was no backlash against Java, Swift, Kotlin and TypeScript because they are all GCed languages. You don’t need to learn anything to use them, and it’s not constraining much how you write your code. Rust is very different in that regar
146.
▲
by
ngrilly
2y ago
I don’t remember this.
147.
▲
by
ngrilly
2y ago
Exactly! Stacked diffs/changes are the way, with one commit per PR. https://www.stacking.dev/
148.
▲
by
ngrilly
2y ago
Ruby on Rails is not known for being very RAM efficient, but this is only me speculating.
149.
▲
by
ngrilly
2y ago
> The write api is sync, but it has a hidden async await: when you do your next output with a response, if the write fails the runtime will replace the response with a http failure. This allows the runtime to auto-batch writes and optimi
150.
▲
by
ngrilly
2y ago
You can scale quite far using SQLite. That's what Basecamp is doing with their new self-hosted chat app, named ONCE Campfire. It is designed to scale to hundreds or even thousands of concurrent users with the right hardware: https:&#x
More ›