News for hackers. Stuff that matters.

kamov

Re:Artificial Analysis Intelligence Index v5 on Wednesday October 28, 2026 @03:09AM (#50270118)
The natural language choice in multilingual index seems pretty strange and biased to me, they tried to encompass a broad swath of Asian languages, but then there's like four European romance languages. They didn't include any Slavic one i.e Russian, or Nordic one like Swedish, or Finno-Ugric. And these romance ones are probably overrepresented in the training data anyways
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem on Sunday July 12, 2026 @02:40AM (#48878912)
Okay, so would you say LuaJIT is slop, just because it is hand coded?
100k satellites is kind of insane, why not a smaller number of satellites which are more powerful, like the satellites from AST Spacemobile? It should be possible to launch smaller number of satellites without sacrificing progress
Re:I Don't Maintain My Homelab on Wednesday July 01, 2026 @06:41AM (#48744744)
> I've approximated it somewhere around 15 minutes of maintenance per month, barring an emergency. If that's normal to you, congrats - you've peaked in life. However, that's absolutely absurd to me. I used to spend days on end building, maintaining, and debugging various aspects of my servers, databases, apps, etc.

It's been normal for me for the past 3 years thanks to using NixOS for all server infrastructure.

Re:One neat trick to end extreme poverty on Saturday April 11, 2026 @05:14PM (#47734071)
This is an oversimplification, adopting "capitalism" wholesale as a developing nation without guardrails is incredibly risky because foreign capital will just buy out or crush native industries. The way China actually succeeded was by adopting state capitalism and implementing incredibly strong protectionist measures to ensure domestic growth, not by opening the floodgates to a pure free market.

> Anyone who disagrees should consider why you’re on a venture capitalist website.

Not limiting yourself to an ideological bubble is actually a good thing, regardless of what website you're on.

Re:Claude Code: connect to a local model when your quota runs out on Wednesday February 04, 2026 @06:53PM (#46893650)
What do you use local models for? I'm asking generally about possible applications of these smaller models
Re:Ask HN: Could you share your personal website here? on Wednesday January 14, 2026 @04:45PM (#46624069)
https://kamoshi.org/

I have written from scratch an SSG and used my website to dogfood it. A lot of it is/was experimenting and learning how web works bottom up, so it is rough around the edges nearly everywhere, but practically everything is my own work - both the website and the way it is built.

I have a lot of ideas on how the website can be made better, but there is always way more things to do than time to actually do the things...

Re:The Internet Is a Net Negative on Sunday December 28, 2025 @05:48PM (#46415306)
> This isn't democratization. It's feudalism with better marketing.

It's not "feudalism", it's just capitalism. Everything will be commodified in the end including your feelings and thoughts.

Re:Eurydice: a Rust to C compiler (yes) on Sunday December 07, 2025 @04:28AM (#46180376)
You can use both Nix and Cargo at the same time, and they accomplish different things. Nix's purpose is more like rustup, except it works for each program on your computer
Re:Node.js can now execute TypeScript files on Sunday August 17, 2025 @05:46AM (#44930284)
Except in Python you can easily access the type hints at runtime, which allowed people to build ergonomic libraries such as Pydantic
Re:OCaml Syntax Sucks on Monday November 25, 2024 @04:04AM (#42234498)
What were the main issues you came across? What language would you prefer if you had to start from scratch and had the choice to go with anything else?
Is a city council unethical too? It is a form of government as well
Re:Swift – A great language strangled by governance on Tuesday October 29, 2024 @02:28AM (#41980003)
Rust used to have a GC in the past, as well as green threads and a bigger runtime. All of this has been explicitly removed before Rust 1.0. The reasons are well documented in many pull requests and RFCs for the language.

The way the async feature works in Rust is that the asynchronous function is just a syntax sugar that gets desugared into a state machine struct during compilation. The way this state machine works is similar to how one could achieve async in a language like C. It's unfair to dismiss everything as excuses given that the fundamental aim of the language is different.

In Rust async functions are not really colored because again - the async function is just a syntax sugar for a struct you can create and use in a sync context. The colors analogy is only really applicable in a language like JavaScript, where there's no way to poll an async function in a sync context.

Re:Go is my hammer, and everything is a nail on Tuesday August 13, 2024 @06:54PM (#41240710)
The fundamental issue is that humans contrary to machines will never know for sure whether whatever they do write is in fact correct code. One can think they are writing good and readable code, but that doesn't mean anything if the code is incorrect. And if you write lots of boilerplate that means more possible bugs. That's also why no one sane writes assembly (or increasingly these days C) unless they have to. We generally prefer more complex languages which put a constraint on the amount of possible bugs.
Re:Go is my hammer, and everything is a nail on Tuesday August 13, 2024 @09:53AM (#41235482)
I personally think that writing so called "terse, clever" (misnomer) code, is not an issue with the language, rather the user. Do we really want to have worse tools, just because some people are writing bad code? Clearly it's an issue with the software engineering process rather than language itself. A good language should allow a skilled user to write code as clear as day, while properly modelling the problem domain and making incorrect states logically unrepresentable. We have a tool for that, type system and a compiler.
Re:Go is my hammer, and everything is a nail on Monday August 12, 2024 @06:28PM (#41230082)
Sum types allow for more robust modeling of the API boundary in libraries, so in fact having a better type system is desirable even when "just gluing libraries", because it can make incorrect program states physically unrepresentable.
Elliptic curve cryptography can be broken by Shor's algorithm as well

https://arxiv.org/pdf/1706.06752

Re:Welcome to Ladybird, a truly independent web browser on Tuesday July 02, 2024 @07:42AM (#40855647)
Whatever language you end up choosing, I hope it will be a memory safe one. Browsers' main purpose is to interact with the outside world, and they even have to run third party code (JS) all the time, so minimizing attack surface would go a long way I think
Re:Welcome to Ladybird, a truly independent web browser on Tuesday July 02, 2024 @07:28AM (#40855567)
I think that pioneering the work of reimplementing web standards in not strictly OOP language will make the implementation easier for anyone else in the future, surely many of the problems exist by virtue of being done for the first time
Re:The Economics of Writing Technical Books on Sunday June 30, 2024 @04:42AM (#40835904)
Not paying for a book when you have the full ability to do so is just greed.

But there are also those who come from places where monthly wage is like $200, so they wouldn't be able to afford a $30 book even if they wanted to

Re:A Hex Editor for Reverse Engineers on Saturday June 29, 2024 @05:10PM (#40833370)
Sadly this program seems to segfault on Wayland.
Re:Why Rust cannot replace C++ on Friday May 03, 2024 @08:25AM (#40246880)
> If your language only supports adding more complexity and never simplifies syntax, it's inevitably going to be replaced. The same thing will happen with Rust in 20 years, it's just how things go.

I feel like this won't necessarily happen with Rust, because Rust isn't locked down by any standard, breaking changes can happen and there are also Rust editions which help with the whole process of updating the language. The "better Rust" might just be another revised edition of Rust

Re:Google Quantum AI on Sunday April 28, 2024 @08:32AM (#40188140)
Knowing the industry there's a bunch of people out there on the payroll continuously knocking out these assets all day long every day.
Re:Deep Bug on Wednesday April 10, 2024 @08:47AM (#39990091)
Sorry, I don't want to be that guy, but I'm curious why use Java and not something like Rust? Is it because of the Lucene ecosystem?
Re:Tonal.js: Functional music theory lib on Thursday April 04, 2024 @03:19AM (#39927481)
This isn't quite right, linked lists and trees in functional languages can be represented extremely succintly, i.e.

  data List a = Nil | Node a (List a)
  data Tree a = Leaf a | Node (Tree a) (Tree a)
there is nothing stopping you from writing something like this in JS

  const list = { kind: 'node', val: 3, next: { kind: 'nil' } };
And then using a switch case to navigate the list/tree matching on the kind field.
Re:Linux Crosses 4% Market Share Worldwide on Tuesday March 05, 2024 @03:35AM (#39600777)
Right about now KDE is moving to Wayland. KDE Plasma 6 released a week ago will use Wayland by default, with X11 being an opt in mode. I think that X11 while it might exist for the next decade, it will at best be a second class citizen, at worst a buggy and unsupported mess
Re:Pragmatic Versioning – An Alternative to Semver on Tuesday December 05, 2023 @05:16AM (#38529016)
This is approximately how most Haskell libraries are versioned

  -- PVP summary:     +-+------- breaking API changes
  --                  | | +----- non-breaking API additions
  --                  | | | +--- code changes with no API change
  version:            0.0.0.1

[0]: https://pvp.haskell.org/

[1]: https://pvp.haskell.org/faq/

Re:Poland's Most Famous Dish: Pierogi on Tuesday December 05, 2023 @04:59AM (#38528855)
That only happened in the first few weeks/months following the invasion, and since then people returned to calling them "Ruskie". The general consensus is that the name refers to the historical area of Ruthenia

https://en.wikipedia.org/wiki/Ruthenia

Re:VectorDB: Vector Database Built by Kagi Search on Sunday November 26, 2023 @09:29AM (#38421828)
> I think it's better than TypeScript - fight me

I used Python type hints and MyPy since long before I used TypeScript, and I have to say that TypeScript's take on types is just plain better (that doesn't mean it's good though).

1. More TypeScript packages are properly typed thanks to DefinitelyTyped. Some Python packages such as Numpy could not be properly typed last I checked, I think it might change with 3.11 though. Packages such as OpenCV didn't have any types last I checked.

2. TypeScript's type system is more complete, with better support for generics, this might change with 3.11/3.12 though.

3. TypeScript has more powerful type system than most languages, as it is Turing-complete and similar in functionality to a purely functional language (this could also be a con)