HNHacker News
TopNewBestAskShowJobs

pod_krad

132 karma · joined December 22, 2024

submissionscomments
pod_krad··on OpenSpec – A lightweight and configurable AI spec framework
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.
pod_krad··on Ask HN: What default model do you use and why?
Astra xhigh - for specs, analysis. Sol xhigh - for orchestration and implementation in complicated cases. Terra, Luna - for implementation in simple routine cases.
pod_krad··on Switch between three keyboard languages
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).
pod_krad··on Show HN: Alien – Self-hosting with remote management (written in Rust)
>non-automatable windows servers

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

pod_krad··on I'm Not Consulting an LLM
>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.

pod_krad··on Show HN: I made a spreadsheet where formulas also update backwards
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.
pod_krad··on Isn't WSL2 just a VM?
They support Oracle Linux. It is almost the same as RHEL.
pod_krad··on The Pentagon Can't Trust GPS Anymore
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?
pod_krad··on The Pentagon Can't Trust GPS Anymore
Russia will never fight against China. Moreover, Russia can already be considered a Chinese province.
pod_krad··on The Pentagon Can't Trust GPS Anymore
>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?

pod_krad··on The Pentagon Can't Trust GPS Anymore
>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.

pod_krad··on The Pentagon Can't Trust GPS Anymore
> 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.

pod_krad··on Beyond the SQLite single-writer limitation with concurrent writes
>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.

pod_krad··on Beyond the SQLite single-writer limitation with concurrent writes
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.
pod_krad··on In Defense of C++
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?
pod_krad··on In Defense of C++
>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.

pod_krad··on Rust, Python, and TypeScript: the new trifecta
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).
pod_krad··on Rust, Python, and TypeScript: the new trifecta
>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.

pod_krad··on Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
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).

pod_krad··on A year of Rust in ClickHouse
In early versions (before 1.0) Rust already had GC. But then it was removed.
pod_krad··on Ferron – A fast, memory-safe web server written in Rust
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.
pod_krad··on When Zig Is Safer and Faster Than Rust
So, you can't rely that someone will follow that style in Zig. That is my point.
pod_krad··on When Zig Is Safer and Faster Than Rust
>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?

pod_krad··on When Zig Is Safer and Faster Than Rust
>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.

pod_krad··on When Zig Is Safer and Faster Than Rust
>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++.