HNHacker News
TopNewBestAskShowJobs

durumu

199 karma · joined January 6, 2023

submissionscomments
durumu··on Deleting and destroying finished movies
> a public auction which is what I was alluding to by saying "anybody"

I think this is their main objection, not sure there are 2 other things?

durumu··on After Figma’s $20B windfall evaporated, it’s picking up the pieces
I don't really think that qualifies as rent-seeking... it's just that they have a good product that is expensive. You are free to use a product that is cheaper and worse.
durumu··on New GitHub Copilot research finds 'downward pressure on code quality'
Sure, that would fix the bug immediately in front of you, but what if the same bug exists in several of the other copies of the dependency? Are you going to be able to track all of the occurrences down? I think that's the big tradeoff.
durumu··on K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
I$ is short for instruction cache ($ -> "cash" -> cache). Since kdb has so little code, more of it fits into the instruction cache at once.
durumu··on Python3 is removing crypt.crypt and not replacing it with anything
I think this is a good decision -- crypto is not a standard library thing and including it in the first place was a mistake. I assume someone will take the liberty of mirroring the crypt library onto pypi and everyone can just install that if they're worried about their code breaking. In my experience upgrading python versions always has some friction so I don't think that's a big ask.
durumu··on Pluto, a Modern Lua Dialect
I feel like typing len(...) is not that bad, compared to how verbose "default if var_to_test is None else var_to_test" is (compared to "var_to_test or default"). But I agree it is nice -- I wish Python had the ?? operator.
durumu··on Why if TYPE_CHECKING?
I think if you're already documenting function argument types, there is no point. But in my experience it's unworkable to ask people to write full documentation for every function, but requiring type hints is not as hard and is nearly as useful. It is a little weird that they look like code, but I think you get used to it.
durumu··on Advice for new software devs who've read all those other advice essays
I think you can have as many rules as you want as long as there's something like black or rustfmt, just a script you run that auto-formats your code. You never have to worry about the rules because there is no configuration thus nothing to argue about. Sometimes your code gets formatted weird but who cares, just do your work.
durumu··on Why if TYPE_CHECKING?
I think type annotations are extremely valuable even if you don't use mypy. On my team we basically use them as comments that are understood by the IDE, but aren't enforced. Of course comments can lie, but appeasing mypy really is a lot of work, and I would generally rather have a slightly dishonest but mostly correct type hint than some TypeVar monstrosity or, worse, Any.
durumu··on Why if TYPE_CHECKING?
It kind of works, you just have to use `typing.get_annotations(func)` instead of `func.__annotations__`. Although if you aren't importing the types used in your annotations that isn't going to work... I would guess that's rare in practice.
durumu··on Why if TYPE_CHECKING?
I think in practice that increases the need for TYPE_CHECKING. If you use deferred annotations, and you don't import the types you use, type checkers and IDEs will complain, and go to definition won't work. But if you import the types outside of a TYPE_CHECKING block it's wasteful, since you don't actually need the import for your code to run. So you need TYPE_CHECKING to satisfy your linter without impacting runtime performance.
durumu··on Figgie: Simulate stock trading with a deck of cards
That's correct. I assume it was initially played with a standard deck but they now have custom decks.
durumu··on The new Paris métro
The US is like this too. Almost no American cities have reliable public transit, and even in those that do, like NYC or Chicago, the stations are pretty filthy in my experience.

Also, I feel like this is an unusually hostile comment.

durumu··on New York may ban noncompete employment agreements and Wall Street is not happy
A counterargument here is the effects on internal transparency. If a quant firm knows its employees can leave and join a competitor tomorrow, they will be less forthcoming with IP. The lack of openness could lead to lower productivity within the firm, as work gets duplicated and teams can't share their insights with each other.
durumu··on iPhone 12 withdrawn from French market for non-compliance with EU regulation
Honestly it probably has the opposite effect. I can imagine iPhone 12 owners upgrading because they think their current phone is unsafe.
durumu··on Jazz² Resurrection: Open-source Jazz Jackrabbit 2 reimplementation
I would check out Celeste or Shovel Knight. Neither is exactly the run and gun style of Contra or Jazz. However, Celeste is extraordinarily polished with best-in-class controls and movement, and Shovel Knight borrows heavily from classics like Mega Man while ditching the stuff that didn't age as well.
durumu··on CEOs’ pay climbed before layoffs at tech giants like Alphabet and Microsoft
Never heard that before either, but personally, I would prefer not to travel to wherever immigrants are called roaches.
durumu··on Green vs. brown programming languages (2021)
I think a standard library is not negative, but rather acts as a multiplier for decisions. The C++ std::unordered_map designers made a bad decision (requiring buckets to be iterable) and now, like you say, it's hard to get people to use the superior absl::flat_hash_map. But if the standard library designers make a good decision -- for instance, Python's extremely well-designed dict that is fast, insertion-ordered, and forms the basis of nearly every object -- then everyone gets to reap the benefits without the cognitive overhead of figuring out what the best hash map is.
durumu··on What's up, Python? The GIL removed, a new compiler, optparse deprecated
There is a "fork" mode and a "spawn" mode. Fork (the default) tends to result in broken process pools as you say, spawn seems to work a lot better but the performance is worse.
durumu··on Elo for VC – Founder's Choice
I think that's a pretty good idea. Have you checked out the paper "Breaking Cycles in Noisy Hierarchies"? It looks pretty similar to what you're looking for and the code is open source: https://github.com/zhenv5/breaking_cycles_in_noisy_hierarchi...
durumu··on Why I started (and stopped) making games
Another fairly popular one is Dome Keeper: https://store.steampowered.com/app/1637320/Dome_Keeper/
durumu··on The Reddit blackout has left Google barren and full of holes
I mean I think you’re mostly right but to be fair to Google it’s an incredibly adversarial. Thousands of people have made it their full time job to try to trick Google into thinking their blogspam is good content.
durumu··on New York City will charge drivers going downtown
In NYC specifically, by far the loudest vehicles are dirt bikes — people ride them through streets with absolutely no regard for safety or pedestrians, running reds and honking and revving their engines. I think what you have said is generally true in other US cities I’ve been to though.
durumu··on Apollo will close down on June 30th
I mean that was really stupid of him, but it seems like the kind of thing someone would do impulsively one time and then never again after getting reprimanded. Meanwhile, this API debacle has made me lose all respect for Reddit and its leadership — if everything the Apollo dev is saying is true, this is completely inexcusable. Reddit lied to the faces of the developers who trusted them and depended on them for their livelihood. I think the API thing is dramatically worse, and it isn’t close.
durumu··on Cheering Silicon Valley Bank Bailout, Gavin Newsom Doesn’t Mention He’s a Client
Why would giving the depositors their money back tempt banks to take risks? SVB has totally folded. Its stock, and probably its bonds, are equally as worthless as they were before the government stepped in. I guess it could tempt other businesses to take risks like keeping all their money at one bank, but I’m not sure how big a deal that is.
durumu··on To Increase Equity, School Districts Eliminate Honors Classes
Ironically, all this does is decrease equity. Public schools may dumb down classes in this way, but private schools are unlikely to follow. For a smart kid, being from a wealthy family already confers a significant advantage, and this just makes matters worse.
durumu··on Mark Zuckerberg doesn't like seeing 'managers managing managers'
This is a pretty bad headline. The article quotes him as saying “I don't think you want a management structure that's just managers managing managers, managing managers, managing managers, managing the people who are doing the work.” Zuck doesn’t actually think Meta could get rid of everyone between him and the ICs, like the title makes it sound.
durumu··on How to Build an Exchange (2017)
That’s true, in much the sense that doctors make money off people being sick. In times of high volatility, it’s HFTs that provide liquidity and keep spreads narrower than they’d otherwise be. It is extremely illegal to purposefully make markets more volatile; good trading firms are not going to do that.
← PreviousPage 2 of 2