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 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.
tmtvl··on French firefighters face 'pyrocumulonimbus' for first time
Someone heard about the Medieval Warm Period, looked at the Wikipedia page, saw the temperature data for the Greenland ice sheets and misinterpreted it to mean global temperature. It fits in well with the 'well, the Jurassic was warmer than today and there were no humans then, so you can't be sure that we're responsible for any climate change that may be happening' argument.
tmtvl··on LLM Usage in Debian: Three Proposals
Or got help from someone else who was better at English.
tmtvl··on Future euro banknote design proposals
When going home after training I sometimes like to get something to drink at the station and the stands are usually closed so I need to get something from a vending machine. Those only accept coins or contactless payment by card, and as I have disabled contactless payment with my card (after having seen a documentary where two people managed to obtain €240 in 2 hours) coins it is. But, because even the largest coin is insufficient, it's a bit of a pain to maintain the coinage balance in my wallet; which would be easier if there was a coin large enough to pay for a drink without needing extras.

Although on second thought if there were larger coins in circulation then vending machines would be more lucrative targets and the increased vandalism and theft would lead to even fewer vending machines being around.

tmtvl··on Future euro banknote design proposals
Here in Belgium neither is the case (or maybe I'm just unlucky with my bank and vending machines), but that might just be Belgium being a shithole again.
tmtvl··on Future euro banknote design proposals
Perhaps because they don't want to have only Dutch landmarks on the notes?
tmtvl··on Future euro banknote design proposals
> absence of €1 and €2 banknotes

The US style? I much prefer the Japanese style instead (where €5 would be a coin instead of a note). When our largest coin is too small to buy a drink at a vending machine we've got a problem. ATMs don't turn over €5 notes anyway, so their existence is painfully awkward.

tmtvl··on Everyone should know SIMD
Once the code is complicated you don't need to make it more complicated lest it becomes unmaintainable.
tmtvl··on John C. Dvorak has died
Did you reply to the wrong comment? I can't see anything here to do with either Python or hardware.
tmtvl··on John C. Dvorak has died
There's no shame in not knowing something or inferring wrong conclusions from facts you do know. From left to right the first 6 keys of the top row are:

  ',.pyf
Which isn't as catchy as Dvorak.
tmtvl··on A Road to Lisp: Which Lisp
That doesn't seem likely, the packages are part of OCICL, so it's more likely to have the opposite problem: finding some obscure package you want to try out but which isn't in OCICL.
tmtvl··on A Road to Lisp: Which Lisp
Okay, let me give a simpler example:

  (defun first-two (list)
    (assert (>= (length list)
                2))
    (list (first list)
          (second list)))
In a language which doesn't normalise the case of symbols you could in theory work around that by capitalising or upper-casing either the function or the variable, but that's still not a particularly elegant solution.
tmtvl··on A Road to Lisp: Which Lisp
Depends on how much tooling you want to install and where you want to be on the spectrum from:

  (loop :do (print (eval (read))))
to implementing all of Common Lisp in RISC-V assembly:

  pacman -Syu sbcl emacs
  M-x package-install slime RET
isn't a lot of keystrokes.
tmtvl··on A Road to Lisp: Which Lisp
I think OCICL will meet your expectations more readily than Quicklisp. QL does things more the CPAN way (think Gems if you're more into Ruby than Perl).

> a baked in way to run some sort of unit test suite. Have dozens of options if you want, but what is the "cargo test"?

That actually is ASDF, to be more specific:

  (asdf:test-system system &rest keys &key force force-not verbose version &allow-other-keys)
Although if we're honest, the real way to run a test suite in CL is to open the REPL, load your system, and just type something like (run-test-suite).
tmtvl··on A Road to Lisp: Which Lisp
It is typed, but it's not very well typed. List is 'null or cons' for instance, not 'null or (cons * list)'. Also lack of generics so you can't have a class which holds an element of a generic type which can be determined later on in the compilation process (e.g. a weight-balanced tree which holds elements of a given type).
tmtvl··on A Road to Lisp: Which Lisp
The usual argument I've seen in favour of Lisp-2 (I personally don't care as much about the function namespace as I do about the type namespace, which I find much more important) is that you can name an argument a conflicting name with a function without the conflict interfering with the code you would write:

  (defun merge-sort (list before?)
    (declare (type List list)
             (type Function before?))
    (flet ((merge-2 (a b)
             (declare (type List a b)
             (merge 'List a b before?)))
      (unless (null list)
        (reduce #'merge-2 list :key #'list))))

  (merge-sort '(1 9 8 2 3 4 7 6 5)
              #'<)
Instead of having to name lists 'lst' or something. Which is pretty much personal preference anyway.
tmtvl··on A Road to Lisp: Which Lisp
R5RS, R6RS, or R7RS?
tmtvl··on How Our Rust-to-Zig Rewrite Is Going
Yep: there's a difference between driving a car in traffic and driving a car in a rally or in an endurance race. There will always be some rules and regulations unless you're on your own privately owned race track with no one else on there, but the regulations can differ greatly depending on the situation.
← PreviousPage 3 of 34Next →