jfreax

Joined 16 years ago

Karma
713
Submissions
74
Member since
Oct 4
[ my public key: https://keybase.io/jfreax; my proof: https://keybase.io/jfreax/sigs/b6K_2tjPXWyp-qAgqRxJ5d_UuGVA7jayuZikNNwVKXw ]

http://blog.jdsoft.de

View on Hacker News

Recent submissions

Comment · 1 year ago
Nice test. I tested it with llama.cpp and the 20b model. He got the answer correct at first try on my side. The internal/thinking dialogue is fun to read - it could be my own inner dialogue ;)

``` > "Bobs dad has five daughters, Lala, Lele, Lili, Lolo and ??? <|channel|>analysis<|message|>The question: "Bobs dad has five daughters, Lala, Lele, Lili, Lolo and ???". It's a common riddle. The answer is Bob? Actually "Bob's dad has five daughters: Lala, Lele, Lili, Lolo and..." The riddle is to trick: it's "Bob" himself is a daughter? Wait Bob's dad has five daughters: Lala, Lele, Lili, Lolo, and Bob? But Bob is a name often male. But the riddle says Bob's dad. So Bob is a person who has a dad, and that dad has five daughters. But Bob could be the fifth daughter? That would be weird: Bob is likely the name of the fifth daughter. So answer: Bob. But sometimes the answer is "Lulu" or "Bob's sister"? Let's think. The riddle is a trick: It's "Bobs dad has five d aughters: Lala, Lele, Lili, Lolo, and ... Bob." Because the riddle begins with "Bobs dad has five daughters" implying Bob is one of the daughters. So the missing daughter is Bob. So answer: "Bob".

Thus answer: Bob. But sometimes the riddle goes "Bob's dad has five daughters, Lala, Lele, Lili, Lolo, and ... Who is the fifth?" The answer: Bob (the name of the person speaking, "Bobs"). But in riddle it's "Bobs dad has five daughters , Lala, Lele, Lili, Lolo and ???". The missing name is "Bob." So answer: Bob.

Thus the answer: Bob. Or maybe it's "Boba"? But no.

Hence answer: Bob.

We'll answer accordingly.<|start|>assistant<|channel|>final<|message|>The missing daughter is *Bob*. The riddle starts with “Bob’s dad …” so Bob himself is the fifth daughter. ```

Comment · 1 year ago
I'm not yet familiar with zfs and couldn't find it in the release note: Does expansion only works with disk of the same size? Or is adding are bigger/smaller disks possible or do all disk need to have the same size?
Comment · 2 years ago
Very cool. Thanks for sharing! I added `-x overlay` too, to get rid of all the docker overlay mounts.
Comment · 2 years ago
> How does this actually work? Finding it hard to believe someone bought domains for all combinations of those unit conversions

dns.toys runs a (custom) DNS resolver. The example dig commands are asking this resolver. They are not using your configured (public) resolver. The custom resolver can return whatever it wants depending on the request. You could also ask the resolver what the IP (A-record) of e.g. "google.com" is and it could answer with whatever it wants.

Therefore, they actually just use one domain: dns.toys.

Comment · 3 years ago
Looks nice. Good to see that there are still native apps in development! Looks a lot like Joplin - which I like.

But: I couldn't find anything about syncing my notes or mobile clients / other ways to access my notes. Even in the "vision" document. That's a must have functionality _for me_. Probably not important for everyone... therefore, good luck with your project :)

Comment · 3 years ago
But what software are large corps use then? I work at a fairly large coorp (>650000 employees) and they are indeed using Github Enterprise (and some other solutions like Bitbucket data center). I'm would be quite surprised if they really only use software like Github for public things.
Comment · 3 years ago
No Datacenter edition (aka on-premise) disqualifies bb pipelines for a lot of premium/enterprise use-cases.
Comment · 6 years ago
What the difference in just deleting the whole directory and recreating it with `mkdir`. Or just do an `rm -rf dir/*`?
Comment · 6 years ago
Nice collection of quite useful tools. Some of these can be easily replicated by using a more modern shell (bash, zsh) like mispipe, others are just shortcuts (e.g. ifne, chronic).

But what immediately stood out to me is `vidir`. I really like the idea of editing file names with an editor. Using loops and regex in a shell for mass renaming can be a mess. It should be way easier with `vim`. This tool made me install moreutils.

Comment · 6 years ago
It probably honers your $EDITOR env variable which often defaults to `nano`. You can change it to anything you want including `vi[m]` :)
Comment · 6 years ago
> Let's just hope he does press the big red button because of it...

I hope you forgot a "not" somewhere in this sentence...?

Comment · 6 years ago
I currently also began blogging at https://blog.jdsoft.de

It's a static site generated with Zola and some custom glue code to use Joplin as an editor for my blog. It works great and I'm satisfied with the performance and overall look.

Content is rare. So there is actually no reason to read the blog. But it is fun to tinker with it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton