HNHacker News
TopNewBestAskShowJobs

tmtvl

3,828 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 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.
tmtvl··on British Steel taken into public ownership to protect 'vital' UK supply
The government is the only entity which can gain money from running a business at a loss. For example: running trains at a loss will reduce car traffic, thus reducing losses from traffic jams and reducing road maintenance costs. With steel the government can recoup losses from producing cheap steel through steel-dependent services like roadworks, the military, public housing,...
tmtvl··on My midlife crisis Corolla is fast, furious, and modded
I like sparring. If I went around punching random people in the face I'd get arrested. If you want to drive a loud car, tha's fine; just do it in a way that doesn't bother other people. Imagine how much better the world would be if everyone put in even the slightest bit of effort to be kind and compassionate to each other.
tmtvl··on Stripe, Advent offer to buy PayPal for more than $53B
Doesn't PayPal confiscate your money if you forget to withdraw it in time?
tmtvl··on The infinite scroll may become endangered if controversial Calif. law passes
How does that differ from 'when asked to load more items, simply take the entire list (which may have changed) and remove the items already shown on previous pages'?
tmtvl··on Woman in Brazil enslaved for 55 years by 3 generations of the same family
If someone is abducted against their will and forced to do work without (fair) compensation and without being allowed to exercise their human rights, is that person not a slave because they were neither born into it nor bought or sold?
tmtvl··on Leaded gas was a known poison the day it was invented (2016)
Also the subject of a very entertaining episode of Citation Needed.
tmtvl··on In Emacs, everything looks like a service
Assuming you're on GNU/Linux:

  (setq read-process-output-max
        (with-temp-buffer
          (insert-file-contents "/proc/sys/fs/pipe-max-size")
          (string-to-number (buffer-string))))
tmtvl··on A road to Lisp: Why Lisp
> The standard hasn't been updated since 1995

The latest finalised submission to the Common Lisp Document Repository (confusingly called CDR instead of CLDR) dates from August 4, 2013. CDRs are the equivalent to the SRFIs from the Scheme world. You could argue that they are not THE standard, but they are A standard. And considering the original standardization supposedly cost 400,000 USD (about 900,000 USD in today's money), I can see why there hasn't been another official ANSI standard.

tmtvl··on The Art of Computer Programming by Donald E. Knuth
That's admittedly expensive, DuckDuckGo converted it to around 450 USD, so that seemed more reasonable.
tmtvl··on Microsoft fire idTech team at Id software
I thought they meant 'can you pick out a Creation Engine game when it appears in a movie or show', though on second thought your idea seems more likely.
tmtvl··on The Art of Computer Programming by Donald E. Knuth
But you can read the books as often as you want as long as you live and pass them on to your children and your children's children,...

Educational books are an investment in the future, and some (like Euclid's Elements) don't ever lose their relevance.

← PreviousPage 3 of 34Next →