News for hackers. Stuff that matters.

axelf4

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.

Re:Fulfilling a reader's request for my “dot files” on Saturday May 06, 2023 @03:28AM (#35839066)
I have written a small reference for this that has served me well: [1].

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

Re:Microsoft’s making Excel’s formulas even easier on Thursday December 29, 2022 @05:28PM (#34178945)
As my professor said: All good statistics is done before you have looked at the data.
Re:Writing down what I do – in Obsidian on Wednesday November 09, 2022 @07:19AM (#33530505)
That just sounds like a table but with extra steps?
Re:Ask HN: Can I see your scripts? on Monday August 15, 2022 @10:34AM (#32470195)
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...

Re:Tvix: We Are Rewriting Nix on Thursday December 02, 2021 @04:17AM (#29414061)
Have you looked at Dhall? I do not think Nix the language would ever be preferable when compared to already existing configuration languages.
Re:This shouldn't have happened: A vulnerability postmortem on Wednesday December 01, 2021 @03:49PM (#29408954)
Nah, they definitely use Zig.
Re:Fast Rust Builds on Sunday September 05, 2021 @02:08PM (#28426356)
Surely mixing usage of space and parentheses for function application is a bad idea?
That is not a good comparison. The extra hashes would help China find out about more borderline citizens than it otherwise would have.
Maybe this video by Veritasium could help: https://www.youtube.com/watch?v=kTXTPe3wahc
Re:Ask HN: Tools you have made for yourself? on Saturday June 12, 2021 @02:47PM (#27486607)
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...

Re:Starting a TypeScript Project in 2021 on Wednesday April 21, 2021 @02:38PM (#26893727)
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.
Re:mrustc: In-progress alternative Rust compiler (to C) on Sunday February 28, 2021 @03:57PM (#26296991)
Of course, but AFAIU this massively shortens the chain. Newer versions of rustc up the minimum compiler version required for building all the time.
Re:NixOS Linux on Sunday January 10, 2021 @03:16PM (#25719172)
Nix derivations are also lighter than containers. Just ordinary packages.
Re:Ask HN: Show me your half baked project on Saturday January 09, 2021 @10:47AM (#25701289)
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!

Re:KDE Plasma 5.20 on Tuesday October 13, 2020 @11:17AM (#24766389)
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.
Re:Embedded PDF viewer in Firefox 81 supports filling forms on Tuesday September 22, 2020 @11:02AM (#24555242)
> 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.

Re:Tell HN: C Experts Panel – Ask us anything about C on Tuesday April 14, 2020 @11:37AM (#22867277)
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?
Re:My Python Development Environment, 2020 Edition on Tuesday November 12, 2019 @09:28AM (#21514329)
> 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.

Re:What Is Good About Haskell? on Thursday October 03, 2019 @11:24AM (#21148068)
> 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

Re:Inkscape 1.0 Beta 1 on Wednesday September 18, 2019 @02:02PM (#21008139)
Gimp has had a single-window layout for a long time now.
Re:Update on await syntax in Rust on Tuesday May 28, 2019 @12:31PM (#20031704)
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.
Re:Debugging in Vim on Tuesday May 14, 2019 @06:38AM (#19908323)
IIRC there is a good article on that topic in Vimways 2018.
Re:Hyper 3.0.0 on Tuesday May 07, 2019 @03:50PM (#19852832)
Hey! No need to play gatekeeper. FWIW, when using tmux, a scrollback of 0 is more than plenty.
Re:The LaTeX Fetish (2016) on Monday August 14, 2017 @10:06AM (#15008623)
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.
Re:Redesigning Android Emoji – Google Design on Friday May 19, 2017 @04:59PM (#14379312)
Shit, the new ones look bad. It's almost as if they were designed by Samsung.
I'm going with 'workflaw' for my new build system.