Viewing profile — throwaway313373
throwaway313373
HN member- Joined
- Mon, Sep 30, 2024, 9:17 PM UTC
- HN karma
- 185
- Public activity
- 69 items
- HN profile
- View on Hacker News ↗
About throwaway313373
No profile information was provided.
Recent public activity
-
comment
Comment #42086448
There is no secret ingredient, Yandex just put more effort into supporting languages that are spoken in ex-USSR countries, because that's the most important market for them. Other …
-
comment
Comment #42086396
> some censorship How the hell is everyone okay with it? Why should I be "forbidden" from understanding a text written in a foreign language if it contains something inappropriate?…
-
comment
Comment #42083740
> BeOS also had 750ms preemption interval (or was it 3ms, I dont remember) 3ms vs almost a second is a pretty big difference...
-
comment
Comment #42083728
I don't think that "skin in the game" means what you think it means.
-
comment
Comment #42078722
Is it a violation of any of the policies?
-
comment
Comment #42070353
You could probably use much smaller model for such rewriting
-
comment
Comment #42059803
The most interesting idea in my opinion is biased reference counting [0]. An oversimplified explanation (and maybe wrong) of it goes like this: problem: - each object needs a refer…
-
comment
Comment #42059605
AFAIK the initial prototype called nogil was developed by a person named Sam Gross who also wrote a detailed article [0] about it. He also had a meeting with Python core. Notes fro…
-
comment
Comment #42057719
I always wondered who even decided that averaging the input is a good idea. It sounds like it makes sense at first glance, but if you think about it a little bit more it actually d…
-
comment
Comment #42042314
I think that people who suggest to "just write cleaner code" are missing the point entirely. Of course, we all are trying to write clear code. It doesn't mean that your tool should…
-
comment
Comment #42042285
It is unclear what is the condition of automatic folding of the second level and below. If you are using "Go to..." a struct declaration or impl in Rust (or a class in other langua…
-
comment
Comment #42041157
> "they care more about doing things right than delivering quickly" Is it actually supposed to be a negative review...
-
comment
Comment #42040612
What does the feature discussed in TFA (chained comparisons) have to do with Python 2 vs Python now. As another commenter pointed out [0] this feature existed since 1.4 [1]. Also, …
-
comment
Comment #42039218
"someone who writes code" is very vague. For someone who writes code primarily in Python this behavior is less surprising than the rest that you described.
-
comment
Comment #42039167
It has been pointed: https://news.ycombinator.com/item?id=42038027
-
comment
Comment #42039138
I've just checked [0], Rust bans such construct for booleans as well. [0] https://play.rust-lang.org/?version=stable&mode=debug&editio...
-
comment
Comment #42039102
I can think of some more interesting examples when it violates intuition gained from mathematical notation. When looking at `a == b == c` we naturally assume that not only `a == b`…
-
comment
Comment #42039025
Rust also gives a custom error message [0] that explicitly explains that "comparison operators cannot be chained" and shows you how to rewrite the expression using `&&`. Which make…
-
comment
Comment #42038948
Of course, you're right, it is not possible to to share a connection pool between processes without pgbouncer. > Parent comment is talking about one connection per process with 50k…
-
comment
Comment #42038351
As I said, you can return the connection to the connection pool. From the perspective of keeping the number of open connections low it doesn't really matter if you close it or retu…
-
comment
Comment #42038255
If you insist on following an honor code while competing against people who are ready to take an unfair advantage of you, you lose.
-
comment
Comment #42038200
Between queries in the same transaction? No Between transactions? Yes, absolutely In fact, many libraries do it automatically. For example, SQLAlchemy doc explicitly says [0]: > Af…
-
comment
Comment #42038044
I think that the main issue here is not treating true/false as values but allowing them to be implicitly converted or compared to numbers with the assumption that true equals 1 and…
-
comment
Comment #42037960
This is the most important part: don't
-
comment
Comment #42037957
Sounds like something that an unreasonable person would say.