HNHacker News
TopNewBestAskShowJobs

tmtvl

3,846 karma · joined September 11, 2022

Mantis fist practitioner living in Belgium. Daily driving GNU/Linux since 2012. Interested in C, Scheme, Lisp, Perl, and Java.

Reach me at tmt_vdl@gmx.com.

submissionscomments
tmtvl··on I'm a Proud Luddite. That's Why I Use Linux
FOSS is an interesting beast in that it's comprised of both Open Source (the Linux kernel) and Free Software (the GNU project). Linus is more pragmatic than Stallman so depending on where you personally fall in the idealistic vs pragmatic scale you may lean more towards either one of their philosophies.
tmtvl··on Why Emacs Consult async searches feel slow and how to speed them up
Oh, you use Lazarus? Cool, it's an amazing project. Too bad it's a bit of an unsung hero, it deserves it's day in the limelight.
tmtvl··on Among European Companies That Use a CDN, Nearly 9 in 10 Use Cloudflare
If you're not paying, you're not the customer; you're the product.
tmtvl··on Emacs Bedrock 2.0
Yada yada yada, M-x butterfly.
tmtvl··on 'You Can See Everything' Review: Nathan Fielder's Doc About Elizabeth Holmes
Thing is, SBF, Tate, and Paul aren't old (well, depends on your frame of reference I suppose); so even discriminating on age wouldn't help you much.
tmtvl··on Live map of public transport in Belgium
When you hover over a dot you can see whether it's the real position or whether the position is computed from the timetable with delay applied. The transparent yellow dots are computed, the opaque yellow dots are real position. Same for transparent vs opaque gray and orange dots; the blue dots all appear to be computed (makes sense, the NMBS doesn't provide real-time info about where trains are as far as I know).
tmtvl··on The Highest Point in the Netherlands
NotJustBikes made a video about the highest point 'in the Netherlands', that's where I heard of it.
tmtvl··on What Should Programmers Do While the AI Writes Code?
Sword-fight on office chairs, obviously <https://xkcd.com/303/>.
tmtvl··on The largest electric aircraft just flew [video]
Yep, both can coexist perfectly well, in fact rail + flight + water + cycling should be good enough to account for the vast majority of mobility requirements.
tmtvl··on The largest electric aircraft just flew [video]
Commercial passenger planes can generally only lift off and on at dedicated facilities, though.
tmtvl··on Fine, I'll build my own text editor
Emacs has primitive concurrency (see Chapter 40, Threads in the Elisp manual), and because it's a Lisp, having nice concurrency is just a matter of programming.
tmtvl··on Fine, I'll build my own text editor
Yeah, the way I set read-process-output-max (by reading /proc/sys/fs/pipe-max-size) is probably GNU/Linux-only. The two main ways to reduce startup times are:

1. Don't load too much at startup, use use-package's :defer keyword where ever it makes sense.

2. Set gc-cons-threshold to a very large value during initialisation and turn it back down again once everything's loaded. That said, most-positive-fixnum is probably overkill and I should look for a way to reliably set it to half of my PC's RAM.

A less important third way to reduce startup times would be to byte compile everything (possibly even the early-init.el, init.el, and custom.el files, although that does mean you need to recompile whenever you change anything), but that doesn't gain you much.

tmtvl··on Fine, I'll build my own text editor
Okay, including comments it's about 1,200 lines <https://codeberg.org/tmtvl/open-dotfiles/src/branch/main/ema...>. My user-lisp directory contains Daredevil SKK, Groovy mode, and ICL; those are all available on Microsoft GitHub.
tmtvl··on Fine, I'll build my own text editor
I'll try to remember to put it on Codeberg, though it's a little bloated and idiosyncratic (that means 'made by an idiot', right?).
tmtvl··on Fine, I'll build my own text editor
Large files lagging editors is usually because the entire file needs to be parsed for the editor to know how the syntax highlighting and error reporting should work.

Making that random big_file and opening it and editing it should be trivial under any editor (works perfectly fine under Emacs because it gets opened in fundamental mode, even opening it in hexl (hex editor) mode is fine), opening a 40M JSON file is a different can of worms (because it's a larger file Emacs will offer to open it in fundamental mode anyway, which means sacrificing QOL features for performance).

tmtvl··on Fine, I'll build my own text editor
I use Emacs and the edits I do seem imperceptible to me. Do you know of any test I should try to see whether the lag is notable and intrusive?

Emacs does start fairly slowly, though, takes about 0.6 seconds.

tmtvl··on 11,000-year-old sculpture of man riding a leopard found in Turkey
That's why Cleopatra is a (relatively) household name while Sophonisba is an obscure historical trivia question.
tmtvl··on Nebula Sans
I bought a lifetime subscription originally for Legal Eagle videos (both for the Nebula-exclusive videos and the Nebula-exclusive extras at the end of the videos), but I've also enjoyed Not Just Bikes and Tom Scott's England series.
tmtvl··on Tim Curry has died
"Do you have Prince Albert in a can?"

Rest in peace, mister Curry (inconceivable that he wasn't knighted).

tmtvl··on Waterfox 6.7.0 – Supernova
Long time Waterfox user, I really like how their partnerships make it more likely that if/when Mozilla fully goes off the deep end (which they arguably already have), WF can continue on without needing to depend on downstreaming stuff from Firefox.
tmtvl··on Deus Ex creator Warren Spector is retiring from game development
Reminds me of the old IGN quote:

> "There's a tendency among the press to attribute the creation of a game to a single person," says Warren Spector, creator of Thief and Deus Ex.

tmtvl··on Deus Ex creator Warren Spector is retiring from game development
Isn't Human Revolution that game where you're being a super stealthy ghost, making your way through an entire level undetected only to have a cutscene play and drop you off into a boss fight? That doesn't sound much like the 'best video game ever' if you ask me.
tmtvl··on Apple's App Tracking Transparency treated its own apps better than rivals
The Volla 22 runs Ubuntu Touch, which lets me make and receive phone calls, send and receive text messages, and it even has a browser. Everything I need for my daily life. Your daily life may vary, though.
tmtvl··on Health benefits of Tai Chi
Tai Chi basically has the exact same 2 major health benefits which various other sports do:

1. Getting otherwise sedentary people moving.

2. Giving people a way to form social bonds with others over a shared hobby.

Anything beyond that is probably speculative and may depend on the school/teacher.

tmtvl··on Racket v9.3
A colon in Guile is just a regular character. For example:

  (define abc:def 3)
  (define :ghi 4)
  (* abc:def :ghi) ; => 12
In Common Lisp a colon is a package separator, with an optional package which defaults to the keyword package if not given.

  (eq :foo keyword:foo) ; => t
I don't know about Clojure or Racket because I don't know much about Clojure or Racket. I know Clojure differs in various ways where syntax is concerned to Common Lisp or Scheme (I do like the idea of using square brackets to visually indicate that a collection of atoms may not represent a function call, I hate the idea of the comma being a whitespace character) and that Racket has different languages (though I don't know what that means in practise).

That said, I don't quite know what to think of your third sentence:

> Clojure tends to use them very heavily though, and last I looked it seemed like Racket used more lists

I suppose them refers to keywords? But Racket uses more lists compared to how much Clojure uses keywords? As lists have more uses than keywords that seems likely, though as I said: I don't know anything about Clojure or Racket apart from Racket once being called PLT Scheme.

tmtvl··on Racket v9.3
I don't know about Racket, but I do know Guile does that and I kind of prefer it as a way to reduce syntax (because the number sign is syntax already for most Lisps as the marker for a vector, and it's also used to bring functions into the symbol namespace in a Lisp-2) by freeing the colon.
tmtvl··on Stop sending me huge PRs; a rant
If a massive PR can't be broken up into multiple small but meaningful sub-PRs then it's normally good manners to say something like 'here's what I want to change, this is why it needs changing, and I think it needs this massive overhaul which touches these million and one things'. But I don't think that's a likely scenario unless a codebase is poorly designed and the prevailing wisdom of 'to make a difficult change: first make the change easy, then make the easy change' will usually be applicable.
tmtvl··on Every Fucking Website (2020)
Also it shows something when you open it without enabling its JavaScript instead of a normal website which won't show anything without JS... even if the page only has to show text (HTML? I hardly know her).
tmtvl··on As AI eats the web, the internet’s collective memory is disappearing
The internet at large, including all those posts where someone responded 'that's wrong, it's actually' but as an algorithm can't actually make sense of that it will happily regurgitate misinformation.
tmtvl··on 8 Out of 10 Banks in Belgium Hate This One Weird EID RCE
I'd say it's worth a read, if only to get to the $200 bit.
← PreviousPage 2 of 34Next →