Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maleldil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
361.
▲
by
maleldil
1y ago
This reads like "I don't like current music, therefore music is dead". Music subculture is alive and well; you probably just don't care for it.
362.
▲
by
maleldil
1y ago
How does this help when trying to determine the parameters a function takes? You have to either hope that the name is descriptive enough or that the function is well-documented. Failing that, you need to read the code to find out.
363.
▲
by
maleldil
1y ago
> explicit name and load of documentations (as comments and docstrings). Which can be out of date are often missing. Might as well use type-hints that can be statically checked.
364.
▲
by
maleldil
1y ago
> Need to iterate over a collection of things? Iterable[T] > Want to create a data object that maps any hashable type to just about anything else? Mapping[T, U]
365.
▲
by
maleldil
1y ago
> hoping for an Unknown someday Wouldn't that just be `object` in Python?
366.
▲
by
maleldil
1y ago
> Now I moved to London and I'm doing the same Could you share your map for London?
367.
▲
by
maleldil
1y ago
Which is why you were downvoted.
368.
▲
by
maleldil
1y ago
> handle the rebasing etc. manually myself for now jj[1] is helpful for this. If you have a chain of commits like A -> B -> C, and you make a change to A, the rest of the chain is automatically rebased. [1] https://jj-vc
369.
▲
by
maleldil
1y ago
This is similar to what Haskell has with trace[1]. It pretends to be a pure function (so it doesn't need the IO monad), but prints to stderr. [1] https://hackage.haskell.org/package/base-4.21.0.0/docs/Deb
370.
▲
by
maleldil
1y ago
Works very well in the UK. Local news, government websites, etc. You can easily change the country in the results page, which is useful for people who speak multiple languages. With DuckDuckGo, I sometimes had to resort to !g to use Google,
371.
▲
by
maleldil
1y ago
Firefox's new implementation is subpar. You're better off using an add-on like Sidebery for more features, but you need custom user chrome CSS to hide the horizontal tabs.
372.
▲
by
maleldil
1y ago
Doesn't Julia suffer from very long startup times? One of the things I use Python for is CLI programs. The startup time isn't great either, but Julia was even worse last I tested.
373.
▲
by
maleldil
1y ago
I wouldn't say you need to look very young. I've been asked to show my ID when entering venues and buying alcohol[1], and I'm nearly 30. I might look under 25 if you're being generous. As a result, I usually carry my pas
374.
▲
by
maleldil
1y ago
This always felt weird to me in the UK. As a foreigner, I have to carry my passport anyway, but how do citizens who don't have driving licences identify themselves in day-to-day life? Say they get carded at a pub?
375.
▲
by
maleldil
1y ago
Brazil has a similar system (gov.br), which provides access to almost everything you might need from the government, including notary services, public healthcare records, driver's licenses, consulate services abroad, income tax, social
376.
▲
by
maleldil
1y ago
It's been years since typing was added to Python, and many people still underestimate it. You're right; Python with strict type hints is more type-safe than Java and Go. It even has features like pattern matching and proper enums,
377.
▲
by
maleldil
1y ago
You want gcc-ada for the programming language.
378.
▲
by
maleldil
1y ago
Where is the indication that this light (which is barely visible to instruments, let alone humans) does not come from "just chemical reactions"? This finding is certainly interesting, but it does not at all contribute to "spi
379.
▲
by
maleldil
1y ago
When the Israeli government says it, they mean removing or exterminating all Palestinians on "their" land. When Palestinians and their allies say it, they mean they want to live in their land without fearing for their lives.
380.
▲
by
maleldil
1y ago
Something's wrong. Maybe a setting or a random app is preventing your laptop from sleeping properly. You have many threads here saying that MacBooks can go weeks on sleep, and that's also my experience (M1 Pro).
381.
▲
by
maleldil
1y ago
Note that `or/||` and `and/&&` are not interchangeable. They have different precedences.
382.
▲
by
maleldil
1y ago
"People" have differing opinions, but the one I mostly see from the left is that they want Palestinians to live in the land they owned before Israeli colonisers invaded it and forced them to relocate to subhuman conditions. What I
383.
▲
by
maleldil
1y ago
Danish PM's comment is about integration. You're mischaracterising it. I'd say it's pro immigration, not what you're trying to spin it as. "We want immigrants to integrate" is not the same as "we don&
384.
▲
by
maleldil
1y ago
> someone with a 'clean' record Just don't be a fascist. We're not asking for much here.
385.
▲
by
maleldil
1y ago
Not really. I deal with this everyday. If the library has a limit on the input size, it should mention this.
386.
▲
by
maleldil
1y ago
Yes, which is why Zig can't have RAII. Zig initialisation and destruction are fundamentally different to how RAII works in other languages. That's not a negative point; it's just how Zig is. But it's not RAII.
387.
▲
by
maleldil
1y ago
From the README: > Memory safety with RAII patterns I'm curious to see how they achieve RAII in Zig, which doesn't have destructors. If they mean defer + deinit methods, that's not the same thing.
388.
▲
by
maleldil
1y ago
Zig isn't memory safe, though. It's safer than C or C++, but not much.
389.
▲
by
maleldil
1y ago
I think this assessment is unfair. The paper [1] is not from economists. The first author is an endocrinologist. The third author is a dermatologist. As for where the authors are from, I don't see why it would matter, as long as their
390.
▲
by
maleldil
1y ago
On the other hand, _all_ of C++ is unsafe.
More ›