Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nromiun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
nromiun
1y ago
If they wanted a copyright free world maybe they should publish all their models as copyright free as well. But they are not doing it are they?
92.
▲
by
nromiun
1y ago
What about OpenAI and Meta? Are they going to face similar lawsuits?
93.
▲
by
nromiun
1y ago
Weird that there has been no significant adoption of Mojo. It has been quite some time since it got released and everyone is still using PyTorch. Maybe the license issue is a much bigger deal than people realize.
94.
▲
by
nromiun
1y ago
Maybe massive concurrency was not that big of a feature back then. But these days everyone wants to support a million connections at a time. Green threads and async tasks can do that without breaking a sweat, unlike OS threads. Also, Java v
95.
▲
by
nromiun
1y ago
It was supposed to bring massive concurrency to Python. But as with any async implantation in any language it is too easy to deadlock the entire system. Did you forgot to sprinkle enough `await`? Your code is blocked somewhere, good luck hu
96.
▲
by
nromiun
1y ago
Gevent is too underrated. Even if people don't like the monkey patching you can simply use the gevent namespace API as well. No idea why people prefer the absolute mess that is Python async ecosystem.
97.
▲
by
nromiun
1y ago
What? But he said this on Rust: > ‘”I have written only one Rust program, so you should take all of this with a giant grain of salt,” he said. “And I found it a — pain… I just couldn’t grok the mechanisms that were required to do memory
98.
▲
by
nromiun
1y ago
This is cool. Very similar to GPU programming. Write a kernel and pipe data from it.
99.
▲
by
nromiun
1y ago
Of course they do. For example C#, D, Nim etc all use stack allocation with their GC. Not to mention Rust also allocates dynamic objects on the heap. So not sure what is your point.
100.
▲
by
nromiun
1y ago
Both borrow checker and GC use malloc/free internally as well. According to you there is no difference between the two.
101.
▲
by
nromiun
1y ago
So you are talking about bugs that don't get caught in development? That happens in Rust as well. Borrow checker does not catch every bug or error. A random module you are using could throw a panic and you would not know with Rust (or
102.
▲
by
nromiun
1y ago
Like writing only in assembly is "proper" programming? Using more memory and CPU time than necessary for convenience?
103.
▲
by
nromiun
1y ago
"I don't care what fails" means not catching any exception/error. My comment was the exact opposite of the idea. Top level function will bubble up every exception, no matter how deep or from which module.
104.
▲
by
nromiun
1y ago
You can't pipe any media files from any origin to GitHub Pages. There are many free static site hosts but not many free CDN.
105.
▲
by
nromiun
1y ago
They are just greedy. And they know nobody can compete with them for availability in every country. Except for Cloudflare, which is why it is so popular.
106.
▲
by
nromiun
1y ago
Or catch the top level function and see every exception in your project? Tell me which language does not have a top level main function?
107.
▲
Cognitive load is what matters
(github.com)
1582 points
by
nromiun
1y ago
|
522 comments
108.
▲
by
nromiun
1y ago
That is akin to saying using a GC is giving up on safe memory allocation, and the borrow checker is the only solution to a complex problem. Exceptions are handled gracefully in real world projects as well, otherwise Python, Java etc would h
109.
▲
by
nromiun
1y ago
A lot of things are broken in C++. Like coroutines, exceptions, parallel execution (std::execution) etc. That does not mean the core ideas are bad and we should stop using them in every language.
110.
▲
by
nromiun
1y ago
I remember people being so excited to use error values instead of exceptions in mainstream languages. But this libraries plus error values combo looks even more complex to me.
111.
▲
by
nromiun
1y ago
It is a big problem. There is no good alternative to Cloudflare as a free CDN. They put servers all over the world and they are giving them away for free. And making their money on premium serverless services. Not to mention the big cloud p
112.
▲
by
nromiun
1y ago
Even if you write the best backend in the world where do you host them? AFAIK Cloudflare is the only free CDN.
113.
▲
by
nromiun
1y ago
1 TB per month of data is literally nothing. A kid could rent a VPS for an hour and drain all that. What do you do after that? AWS is not going to stop your bill going up is it? I don't care about any of those fancy serverless services
114.
▲
by
nromiun
1y ago
Bankruptcy as a surprise gift is not an alternative. Even those that use big cloud providers like AWS and GCP use CDNs like Cloudflare to protect themselves. And there is no free CDN like Cloudflare.
115.
▲
by
nromiun
1y ago
IMO NodeJS popularity was expected. After all these years you still can't use anything other than JS on the frontend (WASM is still too green). So if you are going to master a language you might as well use it in the backend too.
116.
▲
by
nromiun
1y ago
Watching Python's rise has been a little wild. At first it was neck to neck with Perl and with Ruby after that. But then again nobody really expected AI to be this wildly popular.
117.
▲
by
nromiun
1y ago
Usually when countries block websites they don't block major cloud providers, like AWS and Google Cloud. Because most websites are hosted on them. So you can get a cheap VPS from AWS or GCP (always free VM is available) and host OpenVP
118.
▲
by
nromiun
1y ago
How is that possible? Even if the chip did not get enough cooling it should have been just throttled heavily.
119.
▲
by
nromiun
1y ago
I have used many of them. Some of them are easier to use but all of them were useful at some place and time. I still don't understand how anyone can hate a tool. Dislike maybe, but some people really hate some tools with a passion.
120.
▲
by
nromiun
1y ago
> Python is not my favorite programming language. In fact, allow me to drop the euphemism and express my pure, unadulterated thoughts about it: I never liked Python, I see it as a huge red flag and I think the world would be a better pla
More ›