Better HN
topnewbestaskshowjobs
Log inSign up

pod_krad

132 karma · joined Dec 22, 2024 (1y ago) · 28 submissions

Submissions

comment 3w ago · link · parent

Inconveniences are, in fact, a form of harm.

comment 2mo ago · link · parent

Some time ago I asked LLM to create my SDD harness. Then there were several iterations to have it work as I wanted. And it works. Spec (in my case it is behavioral contract) is the only source for any change in a code. There are also design (architecture description, depends on spec) and plan for implementation (depends on spec and design). Then I asked LLM to compare my harness with SpecKit. It concluded: no need to migrate to SpecKit. So, I stayed.

comment 2mo ago · link · parent

Astra xhigh - for specs, analysis. Sol xhigh - for orchestration and implementation in complicated cases. Terra, Luna - for implementation in simple routine cases.

4.

What is happening to jobs? Separating AI hype from reality(siepr.stanford.edu ↗)

302 points · by pod_krad · 4mo ago · 380 comments

comment 5mo ago · link · parent

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).

comment 7mo ago · link · parent

>non-automatable windows servers

They are fully automatable, actually. Powershell is all you need fo that, plus, maybe, Active Directory.

comment 8mo ago · link · parent

>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.

comment 11mo ago · link · parent

Excel Solver allows you to create target function with different variables and describe limits for them. Then you may try to find maximum, minimum or exact value for the target function.

comment 11mo ago · link · parent

They support Oracle Linux. It is almost the same as RHEL.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

Russia will never fight against China. Moreover, Russia can already be considered a Chinese province.

comment 1y ago · link · parent

>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?

comment 1y ago · link · parent

>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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

>Most cases

But not all of them, right? I don't need scaling across different hosts, but I need scaling between different threads on the same host. And I don't want for that PostgreSQL, MySQL, Oracle an other stuff like that.

comment 1y ago · link · parent

I have such application. It scans hosts for gathering some information in several parallel threads. Then each thread stores part of this information in Sqlite database.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

>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.

comment 1y ago · link · parent

Rust is not only about ownership or ints with specific bit lengths. It is about powerful type system which is quite important in business logic (if you have enough knowledge to use it properly).

comment 1y ago · link · parent

>Nothing of that is a sales pitch for me.

Just imagine the case, when you may save on a cloud several hundred thousand dollars per year just choosing more effective programming language.

comment 1y ago · link · parent

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).

comment 1y ago · link · parent

In early versions (before 1.0) Rust already had GC. But then it was removed.

comment 1y ago · link · parent

Garbage Collector acts mainly in unpredictable way. I mean it is possible it won't free memory even if counter is zero already. This is not true if we are talking about Rust.

comment 1y ago · link · parent

So, you can't rely that someone will follow that style in Zig. That is my point.

comment 1y ago · link · parent

>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?

comment 1y ago · link · parent

>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.

comment 1y ago · link · parent

>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++.