HNHacker News
TopNewBestAskShowJobs

tmtvl

3,823 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 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.
tmtvl··on US strikes $1.2B deal to pay German firm to halt offshore wind projects
So what you're saying is instead of spending 1.2B to stop a firm from building wind, the government should leave the firm be so they can keep building wind and invest the 1.2B into building a nuclear power plant which will come online when the German firm has built roughly 1,000x the same capacity in wind turbines.
tmtvl··on Data shows just how hard Tesla's Cybertruck has flopped
JerryRigEverything on YouTube wasn't particularly impressed with the Cybertruck as it had catastrophic failure at 10,400 pounds of downward force on the hitch.
tmtvl··on Aristotle quotes on virtue, knowledge, and happiness
Roughly translating something my grandfather once said: 'a quote is not something to be parroted, but to be pondered'. Unfortunately all the provided quotes are in English, so they're unlikely to actually be things Aristotle wrote or said; rather they're translations which may have different nuances or meanings. That doesn't mean they're not worth pondering, though (or parroting, if they are worthy of it and applicable to a situation).
tmtvl··on Xbox goes down. You can't play games you own on disc
> What exactly is the point of a console at this point?

Anti-cheat. Knowing that if you get into a match with other people they won't be running software on their system that gives them an unfair advantage.

tmtvl··on That time when I failed the Microsoft interview
Unfortunately most people have a problem with starvation and homelessness, you'd almost swear they're allergic to those things.
tmtvl··on Decades-old fish sauce at abandoned factory in Canada finally being removed
Per the 1828 Webster Dictionary: an emulsion made by bruising seeds; as, the milk of almonds, produced by pounding almonds with sugar and water.
tmtvl··on The Art of 64-bit Assembly
> gas syntax which is like nails on a chalkboard

That's weird, GNU as should default to AT&T syntax. Maybe the author switched to Intel syntax by adding the .intel_syntax directive at the beginning of the code?

tmtvl··on Arch Linux disables AUR package adoption
You're right, I'm wrong, my bad. Still I wonder if the software fails to work when paths contain unexpected characters.
tmtvl··on Arch Linux disables AUR package adoption
Only ru_RU? It doesn't get disabled with, say, zh_CN, ko_KR, or anything else where the script is outside of the Basic Multilingual Plane (AKA ASCII)?
tmtvl··on Steel Bank Common Lisp version 2.6.7
In Common Lisp it'd be:

  (funcall (funcall (funcall (funcall ; ...
...though I don't think that functions which return functions which return functions which return functions ad infinitum are a great idea. Simply taking a value and returning a value means you can use a pipelining operator:

  (~> some-data
    function-1
    function-2
    (function-3 _ some-other-data)
    ; ...
    function-n)
tmtvl··on French firefighters face 'pyrocumulonimbus' for first time
Right-wing politics being opposed to environmental action is so weird when back in the day right-wing politicians didn't have such an issue with it (for example this speech by Margaret Thatcher: <https://www.margaretthatcher.org/document/107346>).
tmtvl··on Why I Left Google DeepMind
Agreed: expecting Alphabet not to do the evil greedy thing is like expecting a lion to become a vegetarian, it just isn't going to happen.
tmtvl··on VLC for Unity now supported on Linux
On a similar note: Godot VLC (<https://github.com/xiSage/godot-vlc>), because let's not pretend we don't remember the Unity terms change controversy.
← PreviousPage 2 of 34Next →