1,209 karma · joined Feb 10, 2016 (10y ago) · 426 submissions
comment 4y ago · link · parent
Or, from another point of view, it's worthless to ask what is the probability of something that has already happened. Once something has happened (i.e., if you constrain to that thing having happened) its probability is one, full stop. You have to ask a question before running the experiment.
comment 5y ago · link · parent
* When autoconf files are ancient and do not work, running autoreconf (this time in the source directory) can help.
* I don't like installing stuff in system-wide directories either. Ideally system-wide directories should be touched only by your package manager, so that stale files don't stay there forever. But sometimes files in the object tree are not ready to be used, you really have to install them somewhere. There are two possible ways (with autoconf, at least): either use ../configure --prefix=/install/dir or make install DESTDIR=/destination/dir. They do not do the same exact thing, so in particular with DESTDIR you might still need some tweaking before everything works. But it's a good tool to have in your belt.
comment 5y ago · link · parent
Also, the problem with Linux is not having overcommit, but notv being able to choose when to overcommit and when not. Windows makes that easier, AFAIU.
comment 5y ago · link · parent
I don't use tabs, but if I'd say that the biggest advantage of using tabs is that everybody can configure their own editor to make them as large as they wish.
comment 5y ago · link · parent
What I've been told is that for non-Italians the best trick is to try to shorten the vowel before the double. This will naturally make the double longer, as it should be.
comment 5y ago · link · parent
comment 5y ago · link · parent
To me understanding the data structure is more important that understanding how that data is to be manipulated. Manipulation follows from the structure, not the other way around for me. So it's true that git's interface can be a bit confusing, but if you know what you want to get, eventually you find out how to do it. Much worse would be to understand if you did the right thing with a repository whose internal structure is opaque to you.
Also, manipulation tools can be fixed, enhanced, redesigned, developed, and git's user interface has definitely progressed since its beginning. Data at rest is more difficult to fix if you laid it out wrong (as the transition away from SHA1 proves: that's one thing that was not engineered well enough at the beginning and it has a price now). So having a solid data layout is more important that having an easy interface.
These are the reasons for my love at first sight with git.
comment 5y ago · link · parent
So using handles can be a good idea, both in C and in C++, but it's really orthogonal to RAII. It can partially compoensate the lack of copy constructors and destructors, but if you need to keep a reference count to a handle you're still short of a good solution, and your code must be ready at any place to cope with a expired handle.
comment 5y ago · link · parent
In OpenPGP the thing you call a "key" is actually many keys: there is a primary one and whatever number of subkeys. Subkeys are those that are actually used in day-to-day encryption and signing activity, and that you need on your computer. Primary keys are used to sign subkeys and other people's keys, but you don't need them for day-to-day activities, so you can keep them in a separate storage that is not normally attached to your computer.
If your computer gets compromised you have to revoke subkeys, but you can keep the primary key (unless you attached the cold storage to your computer while it was compromised). This makes the rotation much less painful than if you have to revoke your primary key, which implies also re-establishing signatures and trust with other people.
If you search for "gpg subkeys" you will find a few tutorials.
Even more secure is to keep the primary key offline and the subkeys in a security module, like Yubikey, Gnuk or Nitrokey Start. That makes everything much more secure, and you can easily carry your keys to other computers, knowing that when you detach your security module that computer won't have access to your keys any more.
comment 5y ago · link · parent
Also, court cases are not just decided by the amount of money you pour in them. You need money to prepare correctly the case and work a good strategy, but in the end facts are considered, and if someone violates copyright, they're going to be found guilty, be them a small company or a FAANG.
comment 5y ago · link · parent
Little operators cannot do more then some harm: they are little, they possess relatively little data, they don't have the ability to capture a significant share of the aspects of my life. Google can, and can escape regulations on how such data can be used. This is what is really dangerous.