News for hackers. Stuff that matters.

rickstanley

Re:Ask HN: Who wants to be hired? (October 2026) on Thursday October 01, 2026 @03:25PM (#49925985)

  Location: Manaus, Amazonas, Brazil
  Remote: Yes
  Willing to relocate: Yes
  Technologies: C#, .NET, F#, Odin, TypeScript, PostgreSQL, Kafka, Redis, QEMU, Node.JS, Deno, Podman, jails (FreeBSD), NGINX, Caddy, WebAssembly, Azure infra
  Résumé/CV: https://www.linkedin.com/in/rick-s-6103b8136
  Email: [email protected]

My last position was "Software Analyst", which roughly translates to Sofware Engineer II. I took part of many inceptions of applications, ranging from front-end (React, Native React, Flutter) to backend (.NET, Nest.JS, Fastify), working until their very delivery in production. Dealt with on-premise servers based on Windows Server 2008 to deliver a middleware for Point of Sale products (based on SAP, and Oracle's MySQL). I also helped migrating a large amount of data (peta bytes) from Oracle to Azure Cosmos (with PostgreSQL as backend), while keeping backwards compatibility with existing systems -- my biggest, demanding and fun challenge to date, next to working as a consultant (while in Tivit, formerly Lambda3) to implement Bacen's PIX payment method, in 2021, for ABC Bank.

I'm an anonymous person by default, and a bit paranoid about security and privacy; I don't mind giving away public data, such as the above.

I left my previous work to finally read through my backlog of books (which is going great so far, currently reading "Crime and Punishment" and Xenophon's "Anabasis" in German), and to work on my game (I enrolled in a Distance Learning institution, with Digital Games competence); but I think the time has come to look for new challenges.

- https://codeberg.org/RickStanley;

- https://github.com/RickStanley (I erased ~8 years of history when Copilot went live, so this account is just a place holder for future endeavours);

Re:Emacs 31.1 will release on 8/24 on Friday August 21, 2026 @02:31PM (#49392131)
So many choices! Emacs-plus from brew, Macports and https://emacsformacosx.com, I wonder how they differ from one another.

As someone who wants vanilla experience, should I get from emacsformacosx.com?

Wellp, not for me... Shame, reddit has/had really good answers to a variety of problems that I've had over the years. Not sure if there's a replacement for it, or if there will ever be another.
When I go to https://leaks.psylo.app on "Possible IP leaks" side I see only "WebAuthn" with my real IP and, occasionally, WebTransport with an incorrect IP. For "HTTPS Traffic" it always show some other relay. Using Safari 26.5

I'm not sure what would I use WebAuthn for, if ever, maybe I could disable it through "Feature Flags" menu?; regardless, I never treat Apple's services as "premium", since the email fingerprinting thing. I pay mainly for Hide My Email, just to organise things per domain, and it's cheap.

On top of that, the seemingly endless remakes... Some are praise worthy others not so much. I got tired of Resident Evil Remakes, they are just recycling the same formula over, and over, and over again... Innovation has left a long time a go. Other example is the recent Assassin's Creed Black Flag "Resync" (which is a remaster with some things on top of it), I was planing on buying it, but Jesus, Ubisoft couldn't let it pass: their launcher is still there, all DLC's together cost more than the base game (and why have DLC in the first place?), the menu is has an ad for Assassin's Creed Shadows which, etc.

I'm currently doing a course (I think it's equivalent to an "Associate degree" in USA) in Game Development. I feel demotivated to take part in this industry, and I think that, at least for me, it should be just on and off gig to do in my spare time, perhaps with other enthusiasts too, but I don't plan to pursue it.

Re:Nobody clicks your share buttons on Tuesday June 16, 2026 @04:42PM (#48561751)
Why not both? A small button with "Copy link" text to, well, copy the current URL and another that calls "native" share, if available. I don't find it to be too many options, but I would guess that perhaps "Copy link" would have more clicks than `navigator.share`.
I'd also recommend LibreWolf, for those who want a "strict by default" experience and tweak from there.
Re:macOS Container Machines on Tuesday June 09, 2026 @10:59PM (#48470845)
I was wondering if it's possible to have the container volume change to, say, an external drive. I currently use QMEU with qcow2 images to achieve this, works well enough.
Re:On The <dl> on Saturday May 23, 2026 @09:50AM (#48247684)
I've used this a good amount of times, when I coded in front end projects. The first time gave me that satisfying feeling of using the right tool for the job, like completing a puzzle of HTML semantics. I remember JAWS not announcing it correctly in 2018, not sure if it's better now.
Re:Desk for people who work at home with a cat on Friday March 27, 2026 @12:47PM (#47545109)
Put a useless keyboard down there and pretend you are typing with your toes.
Re:Textadept on Wednesday March 04, 2026 @10:05AM (#47248550)
I have this view as well. After years of Notepad++, the last security problem made me want to switch, not because of just that, but that, overall, since the author has an active voice expressing his political views (which is totally fine), I have this unease feeling that it makes him, and his products, a notorious target.

Searching for alternatives, Textadept seemed to fill the gap between features, speed and simplicity.

The plugin mentioned by the parent is really easy to grasp and tailor to my needs, which would not be the case with Notepad++, well, not for me at least.

Re:Textadept on Wednesday March 04, 2026 @09:02AM (#47247500)
That is exactly it. Much appreciated.
Re:Textadept on Tuesday March 03, 2026 @09:22PM (#47242184)
I downloaded it recently and found it to be quite useful for quick notes. And I can attest to its "fast" claim, using it on a heavily monitored corporate computer, with CrowStrike and what-not; curiously, and I may being hyperbolic here, but, I got the feeling that it was opening faster than MS Notepad, even with Copilot disabled.

The only thing missing is for me is the "save temporary file" behavior, as I have this habit of making a quick note, close to save up space, both in RAM and view, then later on, fire it up again. Will see if there's a Lua api for this later.

I wonder how Stoat will fare, and how it is currently maintained, in terms of "making money"; my fear is that it would steer into the direction of Discord itself.
It's because of the trademark: https://stoat.chat/updates/long-live-stoat

Nevertheless, I don't like the new name either, oh well...

I like this comment though:

Imagine you make a free software project and it runs into trademark issues because people have more money than you to register in more classes than your project.

And then even though your project existed first, they still come after you anyway.

And from that an even more expensive rebranding from this as well.

from: https://news.ycombinator.com/item?id=45626225, not sure how accurate it is, but it makes me want to revolt .

Re:Swift is a more convenient Rust on Saturday January 31, 2026 @06:50PM (#46842118)
Toady I used GLM 4.7 to port a C++ project of mine to Rust, so I could read and toy with it, to get into the language: https://codeberg.org/RickStanley/agatetepe-rs.

Really interesting results, not sure how well it is written but works. I was quite found of Rust syntax; it certainly is not as convoluted as C++ (in my opinion).

Then I read this article. Since I was already eye-balling Swift for some time, I decided to give it a try and port to it, using Rust implementation as reference, and this time, without much of A. I. assistance, if I could help it.

I'm using an qcow2 Debian trixie arm image in UTM as playground. I found out that there is no packaging for Debian at the time of this writing: https://github.com/swiftlang/swift/issues/60690. No problem! They have a script for installing: https://www.swift.org/install/linux/

    curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
    tar zxf swiftly-$(uname -m).tar.gz && \
    ./swiftly init --quiet-shell-followup && \
    . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh" && \
    hash -r
But, god damn, the size is huge,

    Unsupported Linux platform
    Debian GNU/Linux 13 (trixie) is not an officially supported platform, but the toolchains for another platform may still work on it.
    Please select the platform to use for toolchain downloads:
    
    0) Cancel
    1) Ubuntu 24.04
    2) Ubuntu 22.04
    3) Ubuntu 20.04
    4) Ubuntu 18.04
    5) Fedora Linux 39
    6) RHEL 9
    7) Amazon Linux 2
    8) Debian GNU/Linux 12
    Pick one of the available selections [0-8] : 
    
    8 
    Installing swiftly in /home/debby/.local/share/swiftly/bin/swiftly...
    Creating shell environment file for the user...
    Updating profile...
    Fetching the latest stable Swift release...
    Installing Swift 6.2.3
                      Downloading Swift 6.2.3
    100% [========================================================]
    Downloaded 947.6 MiB of 947.6 MiB
    
    Verifying toolchain signature...
    Extracting toolchain...
    The file `/home/debby/ent/agateteper/.swift-version` has been set to `Swift 6.2.3`
    The global default toolchain has been set to `Swift 6.2.3`
    Swift 6.2.3 is installed successfully!
    There are some dependencies that should be installed before using this toolchain.
    You can run the following script as the system administrator (e.g. root) to prepare
    your system:
    
        apt-get -y install libicu-dev libcurl4-openssl-dev libedit-dev libsqlite3-dev 
        libncurses-dev libpython3-dev libxml2-dev pkg-config uuid-dev libstdc++-12-dev

947.6 MiB ! I wonder why is that...
I think I played Thief 1 & 2 over 15 times in total, no hyperbole. I really, really like the atmosphere, the world building and Hammerites old-english and tenets (https://youtu.be/1gnGITh1cw8)... all of it. I even created a question to understand a specific phrase construction: https://english.stackexchange.com/q/588796. Good times.
Re:Decompiling the New C# 14 field Keyword on Sunday December 21, 2025 @01:08PM (#46346783)
We've been using Mapperly (https://mapperly.riok.app/), after a migration from AutoMapper, in our production application. I'm having a good experience, and we kind of like the holistic of this library.

So far, there have been no surprises, and the library warns about potential issues very explicitly, I quite like it.

Of course, if it's just a handful of fields that need mapping, than write manually is the way to go, specially if said fields require a custom mapping, where the library would not facilitate.

Re:Editing Code in Emacs on Sunday November 23, 2025 @02:30PM (#46026523)
Thanks for sharing. I've been off editor hopping for quite some time, nowadays I just use some pre-defined configuration like Doom Emacs, occasionally I try to build some environment, with AI help, from "scratch" for fun and curiosity.

I really like Emacs' flexibility + evil-mode and reactivity, recently I searched for something similar and found Lem: https://github.com/lem-project/lem, looks promising, I'll try it out and compare with Emacs when I have the chance and time.

Re:Listen to Database Changes Through the Postgres WAL on Monday November 17, 2025 @09:15PM (#45960655)
We tried to use LISTEN/NOTIFY for notification purposes, or rather, a queue in which the order mattered (well, kind of, we were aiming for the best scenario where a customer would not perform a specific task in a matter of milliseconds, because we could afford this expectation), in a .NET application using Npgsql.

The listeners were scattered between replicas, so we took advantage of Advisory Locks (https://www.postgresql.org/docs/current/explicit-locking.htm...) by choosing a unique key (unique to the data being sent) and before performing any task on the JSON payload, that the notification would send, we would first check the lock and continue the routine.

The NOTIFY routine was triggered after an insert in an Outbox table, so we could replay it if it failed for some reason.

Unfortunately I don't remember the exact reason we didn't use it, but I was bit sceptical for 2 reasons:

- I had a feeling that I was use this feature in a wrong way; and

- I read both the article and comments from this HN entry: https://news.ycombinator.com/item?id=44490510, and my first point felt validated;

but to this day I'm still unsure. Anyway, since it was a complementary system, it didn't hurt to leave it out, we had another background job that would process the outbox table regardless, but I felt it could/would give something closer to "real time" in our system.

When I had a Macbook from work, I set up an Arch Linux VM using their basic VM image [1], and followed these steps (it may differ, since is quite old): https://www.youtube.com/watch?v=enF3zbyiNZA

Then, I removed the graphical settings, as I was aiming to use SSH instead of emulated TTY that comes ON by default with UTM (at that time).

Finally, I set up some basic scripting to turn the machine on and SSH into it as soon as sshd.service was available, which I don't have now, but the script finished with this:

(fish shell)

    while not ssh -p 2222 arch@localhost; sleep 2; end;
Later it evolved in something like this:

    virsh start arch-linux_testing && virsh qemu-monitor-command --hmp arch-linux_testing 'hostfwd_add ::2222-:22' && while not ssh -p 2222 arch@localhost; sleep 2; end;
I also removed some unnecessary services for local development:

    arch@archlinux ~> sudo systemctl mask systemd-time-wait-sync.service 
    arch@archlinux ~> sudo systemctl disable systemd-time-wait-sync.service

And done, performance was really good and I could develop on seamlessly.

[1]: https://gitlab.archlinux.org/archlinux/arch-boxes/-/packages...

Re:Rereading on Thursday September 18, 2025 @05:09PM (#45295047)
I can not recommend Xenophon's Anabasis (AKA March Of The Ten Thousand) enough.

I'm rereading it for the fourth time, in less than 2 years. There's a variety of themes:

- political intrigue; - religion; - moral, ethics; - companionship; - brotherhood;

etc. Xenophon is eloquent and straight to the point, I really like his approach in this narration.

Now, on the topic of "rereading", I've often thought that maybe I should (have) read other books; that perhaps I was "spending too much time" in one book, but I just don't care enough to ruminate on this thought, and besides, there's always something new to learn from it.

Concurrently I'm reading "Crime & Punishment", which I also recommend.

Re:Discover C++26's compile-time reflection on Monday June 23, 2025 @06:56PM (#44361053)
Yeah. I was wondering if it would be feasible to have a superset language for C++, much like what TypeScript is for JavaScript. But I guess there's always the risk of bike-shedding hell.
Re:What even is a small language model now? on Saturday May 24, 2025 @12:46PM (#44082199)
On this topic, I've been wondering if models are capable of recommending other models for a given machine spec, for example: which model, if any, would be recommended for a laptop with a Ryzen 9 6000S and RTX 3060m (random spec).
And if not using git, just fiddle around with a scripting language to automate the update, like check github's release API to see if there was some change between your local and the remote version somehow.
Non-C# developer question: what use-case/situation would a `struct` make sense to use instead of a `class`? Just out of curiosity.

[Edit] Well, there's a nice, special article for this very question: https://learn.microsoft.com/en-us/dotnet/standard/design-gui...

Re:Hal Hickel on Creating Tarkin for Rogue One on Saturday August 10, 2024 @12:16PM (#41210485)
I enjoyed Rogue One, they took a unexplored slice of the story after the legends thing and created this self contained, well written journey of a group that is only mentioned in the 4th episode.

Takin may have felt a bit off (uncanny valley), but I think it was a good choice to have him included in the story nonetheless. I like the cold, unhinged personality of this character; I've grown used to Peter Cushing's acting and facial features.

I feel like, there should be more exploration of Star Wars in the aspect of "mundane" life, like it's done in Andor. There's a big universe already established. Andor really helped me understand 2 things of SW universe: the oppression which built up the motivation for Cassian to join the Rebels, and, effectiveness of the Empire, specifically the ISB. God, the exchange between Daedra Meero and Blevin, with an added mediation of the cunning Major Partagaz was excellent. Reminded me of the discussion in Jurassic Park about ethics.

Re:CSS Tip: An em isn't an "m", but an ex is an "x" (2012) on Saturday June 22, 2024 @12:24PM (#40760157)
I think I saw all of them in a CSS Tricks post, but I too took the "simple" way. At first, I marvelled at the complexity of CSS units, but it didn't take long for me to tire of them.

Some tricks are still useful though, like using `calc` with `v[w|h]`, `[r]em` and `%`, that yield favourable and interesting results; fortunately you only have to remember and understand a subset of units to take advantage of this.

Re:Tmux is worse-is-better on Saturday May 25, 2024 @02:41PM (#40476982)
Fully agreed.

I myself use 2 terminals: Alacritty and WezTerm. The former for local work, and the latter for my VMs, and occasional remote server work.

I couldn't explain exactly why I use separated applications, since WezTerm works well for local (which even has a menu entry for that) and remote alike, but I'm comfortable with the workflow that I have today, and for me it's enough and what matters.

Older »