Better HN
topnewbestaskshowjobs
Log inSign up

cuspycode

292 karma · joined Aug 25, 2015 (11y ago) · 178 submissions

Submissions

comment 6y ago · link · parent

Security patches don't necessarily affect uptime. For example, patching and replacing e.g. libc on a live system is entirely possible, even though it's not the standard procedure.

comment 6y ago · link · parent

Both libqrencode and qrcode-terminal are capable of using ANSI escape codes for colored text to produce black and whites squares. Two space characters make about the right aspect ratio in an xterm window. I reinvented the same method myself a while ago, so it's funny how different people come up with the same idea. Haven't tried it on a VT100 terminal yet, but it should probably work there too.

comment 6y ago · link · parent

This is my experience too. Sexual attraction brings you together. This may lead to love, if the circumstances are favorable. And then you can choose to make the effort to nurture that relationship, or not.

comment 6y ago · link · parent

Agreed. And the phenomenon is not exactly new. I played around with CGOL about 35 years ago, and although I was already a fan of s-expression syntax, I still thought CGOL was great for certain applications. It's cool to see Vaughan Pratt (who designed CGOL in 1973) in the bibliography of this article.

S-expression syntax seems to be very divisive. Every time I have introduced that syntax into various projects (since it's such an easy and clear solution for domain-specific languages) for the past couple of decades, I have met resistance because so many people are repelled by all those parentheses.

comment 7y ago · link · parent

Also, the pharmaceutical effect of any given amount depends on body weight and various other factors. So the exact amount needed for a particular trip level is different from person to person.

comment 7y ago · link · parent

If I had to live there, I think I would campaign for using UTC only, and forget completely about local time.

comment 7y ago · link · parent

The international date line is needed when you use local times instead of UTC, because the local date is incremented on midnight local time. So, if it's October 19 just after your local midnight, every timezone to the east should also have October 19, while every timezone to the west should still have October 18 because they haven't had local midnight yet. But that doesn't work, since east ultimately meets west when you track both directions far enough. So by convention we have defined a line (or rather a crooked boundary between timezones) where the date jumps back a day in the calendar when you pass over it in an eastwards direction.

comment 7y ago · link · parent

Let's not forget that the chinese communist party is currently performing three different genocides simultaneously: genocide against tibetans, genocide against uyghurs, and genocide against falun gong practitioners. So it's on a different level when compared to most other authoritarian regimes.

comment 7y ago · link · parent

Yeah, LXD is what I have been using. Maybe I should have said "LXC/LXD" instead of just "LXC".

comment 7y ago · link · parent

I agree. I had some VMs that I wanted to turn into containers. With LXC it was a breeze, and the result is very much like a "lightweight VM". Docker seems more like putting a single application process in a container, which is a very different thing. And if I want to do that, I'll seriously consider running the application in a unikernel (e.g. OSv) instead.

comment 7y ago · link · parent

DNA does not encode a complete model of the human that has the DNA, it encodes a bunch of potential clones of that human. This is an abstract, incomplete model. To encode a complete model you would need a complete physical measurement of this particular human as a physical system. But there is a theorem by Thomas Breuer that no physical system can contain a complete measurement of its own state.

comment 7y ago · link · parent

- Network controller for my latest file server and video NAS, which is based on a USB RAID-1 drive. The box that produces the graphics however is a small Intel-based box (not a NUC though).

- Network controller (using CUPS) for a very old laser printer that only has USB.

- Various hobby electronics projects like controlling an Arduino robot via photo and ultrasonic sensors and wifi, developing networking software for ESP8266, and various other simple electronics experiments.

comment 7y ago · link · parent

I interpret this as using the binary operation "both" in a reduction over a list of three items. Kind of like how you can add a list of numbers through e.g. (PLUS 1 2 3 4) in LISP, although addition is actually a binary operation.

comment 7y ago · link · parent

Hearing about Niki Lauda brings back memories of the death of the Swedish F1 racer Ronnie Peterson in 1978. I was sitting on a commuter train, and heard whispers moving through the coach saying "Ronnie Peterson just crashed". There were of course no mobile phones at that time, so the information came from F1 fans who were following the race while listening to their portable FM radios.

Some survive, some die.

George Harrison (of Beatles fame) later dedicated his song "Faster" to the memory of Ronnie Peterson.

comment 7y ago · link · parent

All it takes is one information leakage scandal, and customers will abandon Slack at the drop of a hat. It's just a chat app, so it's very easy to replace.

comment 7y ago · link · parent

It can be used in non-interactive mode from scripts, e.g.

  lynx -dump $URL > $FILE
This is a simple way to extract the content of a web page as plain text.

comment 7y ago · link · parent

Agreed. According to science, life began about 4 billion years ago, and has been going on without interruption ever since. Personhood is a completely different (but nonetheless very interesting) category.

comment 7y ago · link · parent

There is one aspect in which non-radioactive heavy metals are worse: since they are stable elements they must be stored away and guarded forever, not just for a limited number of years.

comment 7y ago · link · parent

I have only visited Ireland as a tourist, and my impression was that the Irish very much like to tell stories to anyone who will listen, or even to random innocent tourists who are waiting on a train platform. Telling stories is not bullshitting however, but maybe this is a cultural tradition that makes the people aware of bullshitting in a way that affects the test scores?

comment 7y ago · link · parent

I stopped eating cheese at around 4 or 5 years of age. I just stopped liking it one day and started hating it instead. When I turned 25 I began eating pizza as an experiment, and had no problems with it, but still many years later I do avoid cheese and other dairy products in most situations. I suspect it might have something to do with lactose intolerance, but I have never attempted to verify this.

comment 7y ago · link · parent

A point is 0-dimensional, but in a space-time diagram the time dimension is added, which makes it 1-dimensional. Penrose diagrams for black holes assume spherical symmetry, so all of space is represented by a single radial coordinate, which makes it possible to display such diagrams in 1+1=2 dimensions.

comment 7y ago · link · parent

But DNA needs to be copied to be analyzed. So we could invent a law that makes each person owner of the copyright to their own DNA. There could be legal penalties for anyone who copies the DNA without permission. Twins will need some special consideration though since they share the same DNA.

comment 7y ago · link · parent

The first paragraph of the article mentions that Camacho was traumatized by a kidnapping that involved torture and a mock execution. That made him a victim of PTSD that made him put on weight. It's not clear how relevant this is to the rest of the story, but to an amateur like me it seems obvious that treating the PTSD directly would be a better approach than solving the problem by counting calories. Of course it's still trivially true that calorie balance completely determines weight stability, so it would be stupid to dismiss calorie counting if you have trouble with keeping your weight stable, whether it's too high or too low.

comment 7y ago · link · parent

A famous anecdote for all egg-lovers: Albert Hofmann (inventor of LSD) claimed that he owed his health to eating two raw eggs for breakfast everyday. He lived to the impressive age of 102.

comment 7y ago · link · parent

The same applies to the island of Crete, so it's true in parts of Europe as well.

comment 7y ago · link · parent

There are two kinds of deadlines: the ones imposed by objective facts (like for example the Y2K deadline), and the ones imposed by arbitrary decisions (like for example a milestone in a project plan). I think it is important to distinguish the two.

comment 7y ago · link · parent

Swedes have lots of real natural resources. Check your facts.

comment 7y ago · link · parent

It's immoral if you steal your prospective (non-customer) client data without their consent. Actually it's immoral even when the client actually is a customer, if you steal their data without their consent.

comment 7y ago · link · parent

I regularly delete all cookies for sites that don't require login (i.e. most content sites I visit), so for me such popup annoyances keep recurring. And I often leave the window before I come back later to finish the article, which is even more annoying and makes the popup look like a desperate scream for attention. Sometimes I actually do sign up for newsletters, but in those rare situations I first look for the contact details on the page, and then I create a specific new email address for that subscription, so it's nothing I do on a whim. I am amazed that people submit their email address to a random popup.

But thanks for removing it for this page, it's a step in the right direction!

Note: I have no problems with non-popup info about newsletters or other engagement offerings (e.g. end-of-page banners), those are much less intrusive than popups.

comment 7y ago · link · parent

I use it too. I like to self-host my commercial projects, and when I decided to move away from Subversion about seven years ago I did consider Git, but the ease of self-hosting Fossil made the choice for me. Just plug it into apache httpd and off you go. Some time later GitLab became available, so now I'm also running a GitLab instance. But the Fossil server has much smaller footprint and is easier to manage.
123456