HNHacker News
TopNewBestAskShowJobs

axelf4

50 karma · joined June 27, 2016

https://axelf.se
submissionscomments
axelf4··on Landchad: A site dedicated to turn web peasants into Internet LandChads
One compromise that I can recommend is hosting the Email server yourself for incoming mail, but using an external SMTP relay such as SendGrid or SMTP2GO to send outgoing email. That way you never have to worry about your emails being blocked due to some misconfigured setting. Switching SMTP relay provider is easy so vendor lock-in is no issue.

Also, those services are mostly intended for broadcasting mass spam mails for better or worse, so for personal use their free tiers are almost too good to be true.

axelf4··on Fulfilling a reader's request for my “dot files”
I have written a small reference for this that has served me well: [1].

[1]: https://github.com/axelf4/dotfiles#bash-startup-files

axelf4··on Microsoft is making Excel’s formulas easier
As my professor said: All good statistics is done before you have looked at the data.
axelf4··on Writing down what I do in Obsidian
That just sounds like a table but with extra steps?
axelf4··on Ask HN: Can I see your scripts?
Here is my script gfm-preview [1], which I think is pretty cool since it implements a HTTP server in 50 lines of shell script (ab-)use with netcat. What is does is it starts a HTTP server that serves a rendered preview of a Markdown document using GitHub's API for rendering GitHub Flavoured Markdown. The page will automatically update when the document changes using fswatch and HTTP long polling!

[1]: https://github.com/axelf4/nixos-config/blob/e90e897243e1d135...

axelf4··on Tvix: We Are Rewriting Nix
Have you looked at Dhall? I do not think Nix the language would ever be preferable when compared to already existing configuration languages.
axelf4··on This shouldn't have happened: A vulnerability postmortem
Nah, they definitely use Zig.
axelf4··on Fast Rust Builds
Surely mixing usage of space and parentheses for function application is a bad idea?
axelf4··on ImageNet contains naturally occurring Apple NeuralHash collisions
That is not a good comparison. The extra hashes would help China find out about more borderline citizens than it otherwise would have.
axelf4··on How Bell’s Theorem proved ‘spooky action at a distance’ is real
Maybe this video by Veritasium could help: https://www.youtube.com/watch?v=kTXTPe3wahc
axelf4··on Ask HN: Tools you have made for yourself?
Spotify playlists are great but I would like to be able to shuffle from a combination of them. Playlist folders do not cut it because then all combinations must form a tree. So I made a shell script to create those combined playlists [1]!

[1]: https://github.com/axelf4/nixos-config/blob/da60a70680984769...

axelf4··on Starting a TypeScript Project in 2021
I consider part of the blame to lie with React. The React source code structure is pretty obtuse. Compare that to the Inferno.js source code which is easy to understand and navigate for anyone familiar with how a VDOM library should work.
axelf4··on mrustc: In-progress alternative Rust compiler (to C)
Of course, but AFAIU this massively shortens the chain. Newer versions of rustc up the minimum compiler version required for building all the time.
axelf4··on NixOS Linux
Nix derivations are also lighter than containers. Just ordinary packages.
axelf4··on Ask HN: Show me your half baked project
JavaScript Pokémon game: https://pokemon.axelf.nu (https://github.com/axelf4/pokemon)

Subtle WebGL texture artifacts and browser-game microstutters drive me crazy. Any help with that would be much appreciated!

axelf4··on KDE Plasma 5.20
Gnome is also incredibly slow to allow one to select a particular window when Alt-Tabbing. It is a one second delay every time you want to change window.
axelf4··on Embedded PDF viewer in Firefox 81 supports filling forms
> It's bloat which increases the browser's attack surface.

AFAICT PDF.js is just another JavaScript application and thus as sandboxed as any other website.

axelf4··on Tell HN: C Experts Panel – Ask us anything about C
In C89 is there a portable way to figure out the alignment requirement for a struct, to be able to, say, store it after the NUL terminator in the same allocation as a C string?
axelf4··on My Python Development Environment, 2020 Edition
> you're going to hit some bumps if you haul an old code out of the vault and try to fire it up on a new system.

Most package managers have lockfiles that allow for some degree of determinism. Of course if a library introduces breaking changes you're going to have to rewrite, but only when explicitly upgrading the dependency.

axelf4··on What Is Good About Haskell?
> instead of the obvious C(++)/Java-like _ptr, ref, * or & notation/convention

That would be very misleading since Box represents a heap-allocated owned value

axelf4··on Inkscape 1.0 Beta 1
Gimp has had a single-window layout for a long time now.
axelf4··on Update on await syntax in Rust
While I do have an opinion on the syntax I could never amass the time necessary to weigh the positives/negatives of semantics issues. I reckon that's the reality for many.
axelf4··on Debugging in Vim
IIRC there is a good article on that topic in Vimways 2018.
axelf4··on Hyper 3.0.0
Hey! No need to play gatekeeper. FWIW, when using tmux, a scrollback of 0 is more than plenty.
axelf4··on The LaTeX Fetish (2016)
Being a text format means that you can use version control effectively. Latexdiff can generate diffs between versions. Wouldn't call it better, just different.
axelf4··on Redesigning Android Emoji – Google Design
Shit, the new ones look bad. It's almost as if they were designed by Samsung.
axelf4··on Show HN: Neural network trained to generate GitHub repository names
I'm going with 'workflaw' for my new build system.