Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcynix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
jcynix
2y ago
Hmm, my solution would be to convert the number to a string and return its length. Easily done in Perl: perl -e 'print length 987654' 6 Similarly easy in Lisp with either of write-to-string, prin1-to-string, and princ-to-
242.
▲
by
jcynix
2y ago
> I never understood this culture of envy in tech. Eny seems to be one of humanities driving forces. If it was in tech only. I once passed through Gilroy in California which claims to be "Garlic Capital of the World" … and I vi
243.
▲
by
jcynix
3y ago
>a lot of what we perceive as a single thought process, is a bunch of independent computing entities with an OS layer on top creating the unity that doesn't really exist. As described in Marvin Minsky's fascinating book "S
244.
▲
by
jcynix
3y ago
You might want to try Michael Nymans "Musique à Grande Vitesse" then, which was explicitly composed for the inauguration of the northern track of theTGV: https://en.m.wikipedia.org/wiki/MGV_(composition) htt
245.
▲
by
jcynix
3y ago
What I remember about the microbiome: it's rather specific and we won't get one mix to suit us all. Ah yes, here: > A significant proportion of the infant gut microbiome is considered to be acquired from the mother during and a
246.
▲
by
jcynix
3y ago
Lid closed? Depends on the exact Macbook version ... The lid of my MacBook Pro (M1 pro, 16-inch, 2021) is open and actively displays stuff and additionally two external LG 4K monitors are directly connected to it via USB-C. The third USB-C
247.
▲
Resistant starch intake facilitates weight loss by reshaping the gut microbiota
(nature.com)
2 points
by
jcynix
3y ago
|
1 comments
248.
▲
by
jcynix
3y ago
If you scroll down at the nature's article referred to in https://news.ycombinator.com/item?id=39592367 you'll find the linked study. And https://en.wikipedia.org/wiki/Resistant_starch notes:
249.
▲
by
jcynix
3y ago
For example food which contains https://en.wikipedia.org/wiki/Resistant_starch , because > Resistant starch does not release glucose within the small intestine, but rather reaches the large intestine where it is cons
250.
▲
by
jcynix
3y ago
Why is it so high up? maybe because of Nostarch's reputation? And people's interest in stuff like that? https://en.wikipedia.org/wiki/No_Starch_Press And you never heard of Nostarch Press before? So you are o
251.
▲
The Cory Doctorow Humble Bundle (03 Mar 2024)
(pluralistic.net)
8 points
by
jcynix
3y ago
|
0 comments
252.
▲
by
jcynix
3y ago
>For your 1st issue, you can setup bash to append commands rather than overwrite them. Good, but even better (IMHO) is to write one history file for each terminal window, shell and level as in export HISTFILE=$HOME/.history/
253.
▲
by
jcynix
3y ago
> Do you know if it is possible to host it natively without docker? You can use Joplin with any webdav server, so self-hosting with one's own web server is possible without docker.
254.
▲
by
jcynix
3y ago
Recently I learned that today's lenses don't contain "just glass" as optical elements but often specially designed plastic elements too. Here's a video by Gordon Laing showing a "Canon lens TEARDOWN! What'
255.
▲
by
jcynix
3y ago
While I agree with the gist of your comment, I cannot leave this detail uncommented >Or, put another way: you can undo effects of a lens, or the way photo was developed classically, because each pixel is still correlated with reality, Yo
256.
▲
by
jcynix
3y ago
> Unfortunately, I don't think this will also find identical directories. Generate a hash over the list of hashes for a directory's content. That would allow you to detect identical directories. That directory hash is rather vo
257.
▲
by
jcynix
3y ago
> Once a file (and its size + hash) is tagged for deletion, that file has lost the war. While I do deduplication with a Perl script and hashes, I don't use a DB, which is a nice idea to add. But: how do you make sure that the last r
258.
▲
by
jcynix
3y ago
While I too agree with norms in general, there is such a thing as common sense. And common sense might tell you that waiting at a lone traffic light in the outskirts of a town in the early morning, sun rising, no car in sight for some hundr
259.
▲
by
jcynix
3y ago
No, it was a motorcycle cop, parked besides some trees, standing sideways and not in the direction where she was headed.
260.
▲
by
jcynix
3y ago
Take a look at https://en.wikipedia.org/wiki/General_Motors_streetcar_consp...
261.
▲
by
jcynix
3y ago
If you cross the street "near" a red traffic light, that costs you 5€ in Germany. If you admit that you did it intentionally, the ticket price doubles. Happened to my wife some years ago when walking to a bus stop on the other sid
262.
▲
by
jcynix
3y ago
Joplin (free, but sponsored) in combination with a Storagebox at Hetzner. Joplin allows us to share notes, shopping lists, to do lists, etc via Webdav between our various devices (mobile phones, laptops, desktops). https://joplin
263.
▲
by
jcynix
3y ago
I agree that a secure way to transfer files between systems is a must. If two systems are at the same location, a small USB card reader (nowadays easily OTG capable) and an SD card allow me to transfer data. For systems connected only by a
264.
▲
by
jcynix
3y ago
I've been "fighting" many websites in the last 20+ years, which use(d) javascript libaries which accept "only a-z, 0-9 and _" as valid characters in a local part. Some even changed their code after I complained and
265.
▲
by
jcynix
3y ago
Similar setup for me: separate addresses for external parties, which BTW, helps phishing recognition too, because e.g. a "note from my bank" to an address I did set up for some shop cannot be real. And those abused addresses can b
266.
▲
by
jcynix
3y ago
Japanse knotweed's young sprouts are edible, BTW. But, depending on your climate, it might sprout faster than you can eat it ;-0 https://www.gardeningknowhow.com/plant-problems/weeds/is-jap...
267.
▲
by
jcynix
3y ago
Ironically enough that this posting's title seems to be ignored by people which cite parts of RFC 2606 which states at the beginning: > Updated by: 6761
268.
▲
by
jcynix
3y ago
Apple did complain about this logo too, for a bicycle route through Germany's second largest apple growing region: https://apfelroute.nrw/
269.
▲
by
jcynix
3y ago
Not to forget "Mail" for an email program. Made searching so much easier ... Not. And never mind the dog named dog (a long time ago, some IEEE journal had a great cartoon where someone painted "house" on their house, &qu
270.
▲
by
jcynix
3y ago
> There is some question whether CTAN (for TeX) or CPAN was the first big library. There isn't "some question", there is a definite answer, namely in "Programming Perl" and I quote the 4th edition, page 629: His
More ›