Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asa400
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
asa400
1y ago
Erlang.
182.
▲
by
asa400
1y ago
Other people having an opinion and creating their own software project to implement it is not “forcing” anyone to do anything. The inverse would be no one is allowed to create any projects that you don’t personally agree with.
183.
▲
by
asa400
1y ago
It’s an abstraction because it literally hides knowledge in service of presenting a more a more cohesive API to the human. It requires less knowledge at the front end, which is when people are being bombarded with a ton of new things to lea
184.
▲
by
asa400
1y ago
What's wrong with this approach specifically? Go does it this way. Rust does it this way. Elixir does it this way. It reduces the toil in setting up and using projects in those ecosystems substantially. It unifies community effort behi
185.
▲
by
asa400
1y ago
Abstraction. Not having to know all the innards (or even names) of each until you want to. It's all there if you want to, but stuff like uv (or cargo, or go's toolset) greatly simplifies 3 scenarios in particular: starting a new p
186.
▲
by
asa400
1y ago
People build stuff informally all the time, and that stuff very often works fine. Rich Hickey digs into this in some detail. It's not that types or formal methods or rigorous specs or automated tests (or whatever else - pick your forma
187.
▲
by
asa400
1y ago
As someone outside those communities, could you elaborate?
188.
▲
by
asa400
1y ago
I have worked Elixir/Erlang and Rust a lot, and I agree. Rust in particular gives ownership semantics to threaded/blocking/locking code, which I often times find _much_ easier to understand than a series of messages sent betw
189.
▲
by
asa400
1y ago
SQLite has an explicitly stated policy on this: "The intent of the developers is to support SQLite through the year 2050." https://www.sqlite.org/lts.html People talk about SQLite's reliability but they shoul
190.
▲
by
asa400
1y ago
This has nothing to do with math or number crunching on the BEAM. This has nothing to do with mutation. This has nothing to do with performance. This kind of process and function-local static single-assignment code is all over the place in
191.
▲
by
asa400
1y ago
Rebinding is not mutation. This seems pedantic but is an important distinction. None of the semantics of the runtime are changed. The data remains immutable. You probably know this. However, for the benefit of readers who may be less famili
192.
▲
by
asa400
1y ago
Full disclosure: I started with Erlang, I get paid to work with Elixir every day, I love Erlang still. Why someone might like Elixir: - slightly less crufty stdlib for a lot of the basic stuff (though we still use the Erlang stdlib all
193.
▲
by
asa400
1y ago
This is truly beautiful. Art, even.
194.
▲
by
asa400
1y ago
To a first approximation HN is a group of people who have convinced themselves that it's a high quality user experience to spend 11 seconds shipping 3.8 megabytes of Javascript to a user that's connected via a poor mobile connecti
195.
▲
by
asa400
1y ago
This is all well and good that we developers have opinions on whether Go compiles faster than Rust or whatever, but the real question is: which is faster for your users?
196.
▲
by
asa400
1y ago
I've never taken a lick of CS in a formal setting, and I feel like that's increasingly common as programming has broadened its employment base. Most of the people I work with haven't done formal CS, either. Consequently I
197.
▲
by
asa400
1y ago
This is not exactly what you’re referencing but I bring it up to show just how complicated things can be: Minnesota recently ruled that you do not have the right to use deadly force if you have the opportunity to escape. And this is the cru
198.
▲
by
asa400
1y ago
> Elixir abstracts that away and leaves a ruby-like language that hides much away - which good and fine. Processes, message passing, and behaviours are all completely first class in Elixir. There's no hiding. `spawn` is `spawn`. `se
199.
▲
by
asa400
1y ago
> if your a company which is fully bought into ephemeral containers running on Kubernetes then Elixir is probably not going to be a great fit for you As a community, we have got to stop saying this stuff. It's false. Nothing about E
200.
▲
by
asa400
1y ago
> You'd have the same problem if you were storing all your state in memory for any web application regardless of your library choice. But that's the thing - traditional server-side web applications don't do this. The the s
201.
▲
by
asa400
1y ago
He literally gives extensive primary source citations to show that the originators of OOP presented this class-domain correspondence as the correct way to think about and do OOP. Bjarne Stroustrup is not just some random guy.
202.
▲
by
asa400
1y ago
They may be referring to uvx: https://docs.astral.sh/uv/guides/tools/ Or it could be something else, not sure.
203.
▲
by
asa400
1y ago
You can, however, use uv for this, e.g., `uvx yt-dlp` works like it would in pipx. https://docs.astral.sh/uv/guides/tools/
204.
▲
by
asa400
1y ago
> However, uv has, at least for my beginner and cynical eyes, swept away most of the bullshit for me. uv is _much_ better than what came before. As someone who has only had only glancing contact with Python throughout my career (terrible
205.
▲
by
asa400
1y ago
How was SQLite used in that scenario? What was the architecture?
206.
▲
by
asa400
1y ago
This is correct, and one of the things I tell anybody who is considering using SQLite to watch out for. The busy timeout and deferred write transactions interact in a really non intuitive way, and you have to use BEGIN IMMEDIATE for any tra
207.
▲
by
asa400
1y ago
Load it into a full programming language runtime and use the great collections libraries available in almost all languages to transform it and then serialize it into your target format. I want to use maps and vectors and real integers and f
208.
▲
by
asa400
1y ago
I've written hobby-quality clients and I think the answer is yes. First, you're dealing with input from a server you don't control, and second, you're doing quite a bit of interaction with the filesystem. It's hard
209.
▲
by
asa400
1y ago
Just curious, what company? Disclosure: I work at a large Elixir company in the US.
210.
▲
by
asa400
1y ago
Yeah, I guess it depends on what you want. Clojure is not to everyone's taste, I can respect that. It's a decent option if you have to target the JVM.
More ›