HNHacker News
TopNewBestAskShowJobs

archargelod

1,096 karma · joined May 28, 2023

submissionscomments
archargelod··on Google flags Immich sites as dangerous
He wasn't just involved with GrayJay, he's actually a member of FUTO - the company behind Immich and GrayJay. Now read grandparent comment one more time:

> Wouldn't be surprised if this leads to a lawsuit over monopolistic behavior

His reaction also matters because he's basically the public face for the company on YouTube and has a huge following. You've probably seen a bunch of social media accounts with the "clippy" character as their avatar. That's a movement started by Louis Rossman.

archargelod··on I see a future in jj
The article can be summarized to essentially: I like Rust. jj is written in Rust. Some Rust person loves jj. jj is used at Google.

Who upvotes this?

archargelod··on Syntax highlighting is a waste of an information channel (2020)
- Rainbow parenthesis

Too much noise. And the example is great demonstration for it. It's better than gray parenthesis, but a lot of worse than properly structured and indented sections.

- Context Highlighting

Love it. But once again - too much noise for text colors. Just highlight line numbers of nesting level your cursor is in. Indent-blankline[1] plugin for neovim does this (with use of treesitter), but it highlights the virtual indentation lines.

[1] https://github.com/lukas-reineke/indent-blankline.nvim

- Import highlighting

I think it's impractical, because imports are often grouped together at the start of file, but symbols are all over the place and you'd only see highlight on very short files.

LSP "goto definition" is already a better fit here, a bit more immediate solution is to display namespace/import path in status bar. No idea if there's any plugins for this, but should be easy to hack together in an hour.

- Argument Highlighting

Kinda useful, but also gets less useful for longer functions. IMHO doesn't worth it to add whole extra color to a limited palette or it might turn into in-cohesive mess rather quickly.

- Type Highlighting

Could be taken one step further and highlight atomic types in lighter shade and more complex types (not only lists) in darker shade.

nit: example being Python feels a bit out of place here

- Exception Highlighting

LSP virtual text

archargelod··on Zed is now available on Windows
I just refuse to use any software that baloons it's filesize. Not because I can't afford storage, but because there are always alternatives that have similar features and packed into fraction (usually less than 1%) of filesize. If one of them can do it and other can't, it's a bad product, that I have no intention to support.

We should strive to write better software that is faster, smaller and more resilient.

"Storage is cheap" is a bad mentality. This way of thinking is why software only gets worse with time: let's have a 400mb binary, let's use javascript for everything, who needs optimization - just buy top of the shelf super computer. And it's why terabytes of storage might not be enough soon.

archargelod··on Ask HN: Abandoned/dead projects you think died before their time and why?
RIP the concept of owning your computer and user-written programs
archargelod··on Ask HN: Abandoned/dead projects you think died before their time and why?
> Modula. Modula 2 and 3 were reasonably good languages. Oberon was a flop. DEC was into Modula, but Modula went down with DEC.

If you appreciate Modula's design, take a look at Nim[1].

I remember reading the Wikipedia page for Modula-3[2] and thinking "huh, that's just like Nim" in every other section.

[1] https://nim-lang.org

[2] https://en.wikipedia.org/wiki/Modula-3

archargelod··on Microsoft only lets you opt out of AI photo scanning 3x a year
You can't create new account on Gitlab without a credit card (outside of EU and USA).
archargelod··on Microsoft only lets you opt out of AI photo scanning 3x a year
Yes.

For private repos there is Forgejo, Gitea and Gitlab.

For open-source: Codeberg

Yes, it'll make projects harder to discover, because you can't assume that "everything is on github" anymore. But it is a small price to pay for dignity.

archargelod··on Tom's Data Onion
Great puzzle. I solved it in Nim[1]. Bit-twiddling layers were a good fit for the language.

The trickiest part was the AES layer. I had to reach for the C FFI to use OpenSSL for decoding. And it took longer than expected to search instructions for key unwrapping.

Full solution[2] runs in under 20ms on two decade old Intel Xeon, which says more about Nim's performance than my coding skills.

[1] https://nim-lang.org/

[2] https://codeberg.org/janAkali/toms-data-onion

archargelod··on ESP32 and Termux
If you have root, it is fairly trivial to run full-on arm64 Linux distro in chroot. That should fix most problems with linux software running in android.

There is also Linux Deploy[1] that automates the process of setting up chroot, ssh and even gui desktop (through framebuffer).

[1] https://github.com/meefik/linuxdeploy

archargelod··on WinBoat: Windows apps on Linux with seamless integration
I think this name would be confusing. For one - it is for linux, not windows.And it is a subsystem running Windows. So, it should be called Windows Subsystem for Linux, or WSL.
archargelod··on Codeberg Reaches 300k Projects
> available for free at $BIGCORP

Is it really free, though? You get free service - MS gets everyone's code for free. Only a fool would believe that they don't use private repos for training.

And even if it was free, do you really believe it is sustainable to just offer unlimited service for free to anyone? They've created an environment where you're punished for using anything but github. This is not good.

archargelod··on Codeberg Reaches 300k Projects
> you need to request access

Codeberg has free Forgejo Actions instance that you can use without a request, but with limited resources[1]:

> own runner is probably more expensive than GitHub

You can rent a VPS for as cheap as $15/year or run it locally.

[1] https://codeberg.org/actions/meta

archargelod··on Codeberg Reaches 300k Projects
That is also a disadvantage, Github has a lot more grifters, people submitting fraudulent and malicious PRs, issues spam. In similar vain as "everybody is on windows" and Linux not being targeted by malware as often.

If a person really cares about your project and wants to improve it and not just boost their own GH stats - creating an account takes no time or they can always send you patches via email.

archargelod··on Codeberg Reaches 300k Projects
Forgejo CI is really easy to setup, though. Just get a cheap VPS or Oracle Free Tier and you don't have to worry about freeloading.
archargelod··on Ask HN: Which programming language do you like more, Rust or Zig?
I like Nim more than both of those:

- syntax that focuses on readability

- automatic memory management without GC overhead (ARC)

- batteries included stdlib

- fast to compile and execute, small binaries

- reduced boilerplate (thanks to templates and macros)

- very easy cross-compilation (thanks to zigcc)

- small but welcoming community, not full of zealots

archargelod··on Yt-dlp: Upcoming new requirements for YouTube downloads
That's because youtube allows almost everything sfw to be hosted on their platform and without any limits.

I can imagine if they've added rate-limiting, e.g. 30GB per IP per week - that would've reduced amount of crap, literal white noise and spam/scam videos uploaded to Youtube in several magnitudes. Another strategy is, if a video doesn't get 1000 views after a week - it's deleted.

archargelod··on The allure of new languages vs. the necessity of problem-solving
I see it as a way to force Rust on people. That's almost like saying "You will have to learn some Rust whether you want it or not" to Linux maintainers.
archargelod··on TIC-80 – Tiny Computer
One of main differences with Pico-8 is that Tic-80 supports many more programming languages.

You can write games in Lua, Moonscript, Javascript, Ruby, Wren, Fennel, Squirrel, Janet and even Python.

Or use anything that compiles to WASM. I've recently created my own bindings and a template for building Tic-80 games in Nim[1]

[1] https://codeberg.org/janakali/tic80-wasm-nim

archargelod··on TIC-80 – Tiny Computer
Yes, you can write code in a separate file and then import it to cartridge with tic-80 console commands[1]

You don't have to do this manually every time, just make a shell script with multiple commands; e.g. this will import code, save and run the cartridge:

    ./tic80 --skip --fs="$PWD" --cmd="load cart.tic & import code main.lua & save & run
The other way is indeed to buy or build yourself a PRO version, it can work with cartridges in plaintext format.

[1] https://github.com/nesbox/TIC-80/wiki/import

archargelod··on Show HN: Downloading a folder from a repo using rust
The rust app just calls a few git commands too[1]

Could've been a shell script[2]

[1] https://github.com/zikani03/git-down/blob/cb2763020edc81e464...

[2] https://textbin.net/ja17q8vga4

archargelod··on Vibe coding as a coding veteran: from 8-bit assembly to English-as-code
> If someone asked how I built a side project Then you might have to say the truth: that you didn't build it, but Claude/OpenAI/Gemini built it under your supervision.
archargelod··on Google will allow only apps from verified developers to be installed on Android
Dumb phone, Linux on arm, Older devices with custom OS.
archargelod··on Why Nim?
I hated significant whitespace when I tried Python first time. Years later I found Nim and indentation didn't bother me as much.

Maybe we both just got bad first expression with most popular, but unfortunately not a good language? =)

archargelod··on Why Nim?
Nim has one of the most powerful metaprogramming systems out there. Hygienic templates, easy macros, but my favorite is the compile-time functions.

Nim compiler has an embedded VM, so any Nim code (that doesn't rely on FFI) can run at compile time.

archargelod··on Recto – A Truly 2D Language
A very simple query "PATH programming language" with SearXNG returns [1]. I think it matches your description perfectly.

> 2003

> PATH is a programming language that is similar to Brainfuck. This intuitive language requires a simple grasp of two dimensional space, one requirement that almost no other programming languages have.

[1] https://sourceforge.net/projects/path/

[2] https://pathlang.sourceforge.net/

archargelod··on I tried every todo app and ended up with a .txt file
I came to the same conclusion - nothing beats a simple text file.

But I've also built a simple chooser program for multiple todo files and notes. A very simple cli program that does basic fuzzy search over file names.

For example, I can type `mem mov` to open a `movies.note` file in notes directory. If I use a full name with `.note` extension and it doesn't exist - it will create a new note with that name and open it in editor immediately. It makes it easy to create new notes on the fly and open them in a few keystrokes.

For editing I use neovim with auto-save enabled, so I can keep editor open all the time without forgetting to save.

archargelod··on Objects should shut up
That's why the first thing I do on my new phone is disable the Google app. It does absolutely nothing useful for me, but never sleeps, eats resources and shows you advertisements.

I also hate the mobile apps that designed to be always on, always listening or nagging. So, I have the policy: if the app is only useful occasionally and it is active but I didn't start it - I disable it. And I'll enable an app when I need it, not whenever it wants me to use it.

archargelod··on LLM leaderboard – Comparing models from OpenAI, Google, DeepSeek and others
Still sounds like vibe coding. If they don't care about product, nothing is stopping them from taking the AI shortcut.
archargelod··on Pony: An actor-model, capabilities-secure, high-performance programming language
> Many modern languages require this as well. Go, Gleam, Rust

All the languages you listed do not support function overloading. Qualified imports and namespaces exist to avoid name clashes first, dependency tracking is just a bonus (and a chore).

← PreviousPage 5 of 10Next →