HN user

pod_krad

4 karma
Posts0
Comments23
View on HN
No posts found.

Under Windows I use following keys to switch among 3 languages: ctrl+8, ctrl+9, ctrl+0. No Autohotkey is required for that, Windows has built-in feature to redefine these keys combinationations (with some limitation).

a search engine always gives multiple results and it is on me to read and compare. i usually look at the first half a dozen or so results

Why do you think they're the best? You just trust the search engine, right?

the problem, again, is that an LLM answer does not have the quality of a well written article you may find elsewhere

When I ask LLM about something, it usually returns several URLs usually, if there are different opinions.

There won't be any other front. Just stop fantasizing. Russia has the same regime as China. China is sponsoring Russia's war with Ukraine by buying Russian oil, supplying dual-use products, and providing diplomatic assistance to Russia. Why would Russia confront with China?

If the USA can be granted amnesty for its war crimes, why can't other nations? /s

So, criminal code is not necessary anymore? That is your logic? As someone might escape from the justice, why do we need that legislation at all?

Incremental progress would be a peace negotiation which brings both nations back to the realm of economic exchange, and an end to the senseless mass murder of innocents.

Again you don't understand what you talking about. There are no negotiations. At all. There is only a proposition for Ukraine to capitulate to Russia: the reduction of the Ukrainian army by more than half, the near-legal recognition of the captured territories as Russian, and so on.

I personally feel that this plan has to proceed, or else the entire world is going to see the conflict expand to our own borders.

It looks like you completely don't understand what you are talking about. This plan just lets Russia a chance to accumulate more resources for further attacks on Ukraine. Why? Because there is no any guarantee for Ukraine against future Russia's aggression. Why? Because Russia will never agree with such guarantee for Ukraine. Russian plan is completely destroy Ukraine as a sovereign state.

I am from Ukraine. That is why I am confident I know that for sure.

In Defense of C++ 10 months ago

It seems you didn't get the point. Why spending my time for learning those things, if in another language you may perfectly live without them?

In Defense of C++ 10 months ago

people overstate its complexity without much study/experience

The is no need in any experience to have ability to estimate C++ complexity. C++ specification is about 1500 pages.

I disagree. It requires to know Python, YAML, Jinja2, own set of commands. It requires careful developing of playbooks. It is slow. It is complicated for non-standard cases where you don't have ready for using modules.

Is there a better approach? I think yes. This is Pyinfra - just pure Python, no additional DSLs. Also for configuration there is Terraform (but there are also some limitations).

The idiomatic way to handle that is with some combination of `defer` and `errdefer`. Then, in code, there are no lines between alloc/free, and if a try would exit before the free then you would instead first free anyway.

Do I understand correctly, that talking about idiomatic way is the same as talking about programming style, but not about language semantic?

1) Lack of a garbage collector does not make your program faster, it makes the performance more easily predictable in terms of latency.

AFAIK, some time ago non-predicable GC behavior was the reason why Discord migrated from Golang to Rust. Also predictable latency is important for real-time applications.

In particular the bit about "you can't write dlist in safe rust" routinely seems to surprise people, even reasonably expert Rust developers, I talk to in real life.

Actually you can write dlist in safe Rust. But with some overhead in comparison with C, C++.