[ Main ] [ Home ] [ Work ] [ Code ] [ Rants ] [ Readings ] [ Links ] |
|
|
[2024] December November October September August July June May April March February January [2023] [2022] [2021] [2020] [2019] [2018] [2017] [2016] [2015] [2014] [2013] [2012] [2011] [2010] [2009] [2008] [2007] [2006] [2005] [2004] [2003] |
When to use 'git checkout' vs. 'git switch'
[Thu Oct 31 13:49:11 CDT 2024]
All this time I've been using I guess I should use git switch from now on. I never used git checkout to restore files to their original version. The author provides more details.
{link to this entry}
Advice on git commit messages
[Thu Oct 31 09:40:47 CDT 2024]
Came across a blog piece with good advice on how to format git commit messages. Here is the gist of it: For the most part, that's the model I've always followed. Not always, though. I must acknowledge that. It looks like a good advice to me. Oh, and, as a bonus, another blog entry, this one by Thorsten Ball, on how he uses git. That one is also full of good advice. I keep them both on my list of favorites. {link to this entry}Capitalized, short (50 chars or less) summary More detailed explanatory text, if necessary. Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of an email and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); tools like rebase can get confused if you run the two together. Write your commit message in the imperative: "Fix bug" and not "Fixed bug" or "Fixes bug." This convention matches up with commit messages generated by commands like git merge and git revert. Further paragraphs come after blank lines. - Bullet points are okay, too - Typically a hyphen or asterisk is used for the bullet, followed by a single space, with blank lines in between, but conventions vary here - Use a hanging indent The "Zero Click Internet"? What the...?
[Wed Oct 30 18:46:38 CDT 2024]
Josh Tyler writes on TechSpot about the "Zero Click Internet". Say, the what? Hmm, I'm not sure I like any of this, "cool" and modern as it all sounds. It basically means that we, Internet users, will relinquish all the power to Big Tech without much control over the data. Yes, it's all very automated. Yes, it's all very futuristic. Heck, it may even be very convenient. But what do you want to bet that none of these vendors will make it easy to migrate our data onto a competing platform or tool? So, that means we will be locked into whichever walled garden we use. It's social media on steroids. It's taking the old Internet, which originally appeared as a liberating force, let's not forget that, completely to the corporate realm. Definitely the opposite of the IndieWeb, which is an idea I like much better. After all, I've been putting together this personal website and writing notes on it for almost a quarter century now. And guess what? It may be inconvenient. It is quite oldfashioned and, as it could be expected from something that grew pretty much organically, it feels patchy. I understand that. But it's mine, and I can do pretty much whatever I want with it. I own the data. Not some large corporation somewhere. {link to this entry} On why we get buggy software
[Wed Oct 30 11:46:05 CDT 2024]
Nick Hodges writes on InfoWorld a piece on why we get buggy software that is worth reading, I think. Or, as so many people have put it before: programming is an art. Not engineering, but an art. Hodges then explains that the process of writing software truly is a "two-legged three-legged stool": Indeed. We may dislike that state of things. But I'm convinced Hodges is describing reality pretty well. In other words, we don't end up with buggy software because someone is doing something wrong. We don't end up with buggy software because the programmers are bad or are using the wrong methodology. We end up there pretty much by design, I'm afraid. {link to this entry} On the true cost of the cloud... and why there are no silver bullets
[Mon Oct 21 11:56:46 CDT 2024]
Today, we read on The Register that 37signals managed to save $2 million from going partially cloud-free in 2024: I suppose I'm old enough to know that there are no silver bullets. None. In any field. Cloud computing is a tool. Just that. And, as any tool, it may or may not make sense to use depending on one's goals and context. Also, depending on the circumstances, it may make sense to adopt it only partially. Incidentally, I don't expect AI to be any different. Don't fall for the hype. In life, things are rarely all black or white. {link to this entry} The US and Europe took divergent approaches to Theoretical Computer Science?
[Sat Oct 19 12:17:45 CDT 2024]
Here is another interesting tidbit of information I recently came across of. Apparently, the US and Europe may have taken a divergent approach to the field of Theoretical Computer Science (TCS) starting in the 1980s, according to Moshe Y. Vardi: Apparently, according to the author, this difference didn't exist before the 1980s. He also adds that: "It is astonishing to realize the term 'Eurotheory' is used somewhat derogatorily, implying a narrow and esoteric focus for European TCS." If I had to venture a guess, I'd say it may be due to the strong opposition in certain sectors of American campuses (those were the "hard sciences" are taught) to the trendy postmodern approach that took hold across the Atlantic, and even in the faculties of humanities here in the US. In that sense, it may be another example of the proverbial throwing out the baby with the bathwater. {link to this entry} Funding open source projects
[Sat Oct 19 12:08:08 CDT 2024]
InfoWorld published a few days ago an opinion piece signed by Bill Doerrfeld titled How do we fund open source?. The author lays out a few options, all of them with their own pros and cons: direct monetization, corporate support, code contributions, intermediary companies, open source foundations, and public aid. The piece was quite timely because, the day before I read it, I happened to mention to my oldest son how, in a very accidental manner, I came to realize that I do contribute to a couple of open source projects in an indirect way. As it turned out, both Joplin and Logseq offer a sycnhronization server for a very small monthly feed that I use. As far as I know, both projects also have released their server-side code as open source, thus making it possible for anyone to self-host. However, it's more convenient to pay the small fee to them and, along the way, provide a modest contribution to the project. {link to this entry} On passwords and passkeys
[Sat Oct 19 11:57:59 CDT 2024]
About ten days ago, David Heinemeier Hansson, creator of Basecamp, wrote a blog entry explaining how passwords have problems but, in his view, passkeys have more: Perhaps the idea is good, but the implementation not so much? I get the feeling that, over and over again, good ideas are implemented in a self-centered mannered, so to speak. What I mean is that, although the idea might be great if implemented as an open standard following the trail of the old Internet standards, it is often applied in a self-centered and self-referential context where different vendors act as if their own particular technical solutions are the only thing that exist. I assume they do this, at least in part, out of business interest. But I don't rule out that they may do so also because it's too easy to become too concentrated in one's own world and lose sight of everything else. One way or another, it seems clear that we are better off using platform-independent tools. That's precisely what I advice my friends and relatives to do. However, it's often easier to stick to whichever tools the vendor who makes their smartphone, tablet or netbook provides without thinking twice about it. It's just more convenient. {link to this entry} Mix of links on AI: Apple, AI "reasoning" capabilities, and open source
[Sat Oct 19 11:38:04 CDT 2024]
A diverse mix of news articles on AI. ArsTechnica tells us that an Apple study exposes deep cracks in LLM's "reasoning capabilities": Dare I say this is what most people who were educated in the Humanities, such as myself, have been saying for a while now? Dare I also say that, obviously, this goes against all the hype surrounding this new technology that we are exposed to on a daily basis? Mind you, AI should still be quite useful for certain purposes. As a tool for certain things. But it's not the solution to all our problems, as some people appear to believe. Yes, it's an exciting technology, and it immediately brings up to mind pictures taken from science-fiction novels and movies that are indeed very futuristic. The excitement is nice. But let's make an effort to counter that with some levels of realism. Elsewhere, we also read that the Open Source Initiative (OSI) calls out Meta for its misleading "open source" AI models: It seems clear that Meta constantly referring to their LLM as "open source" is only a tactic to try and gain speed against their main competitors, since they are definitely lagging behind. Apropos the topic of AI and open source, InfoWorld published an opinion piece signed by Matt Asay defending the view that "open source isn't going to save AI": Overall, I'd say Asay is correct. Because some of us do care whether the software we use is open source or not, we shouldn't fool ourselves into thinking that significant chunks of the population out there also cares. Whether I like it or not, I'm afraid that's not the case. However, said that, as someone who is more technically skilled than the average person, I do prefer to have the choice to run open source software. I do like to have that option, at least. Thus, if possible at all, I'd also like to see it in the field of AI. {link to this entry} Chromium's influence on browser alternatives
[Sat Oct 19 11:27:50 CDT 2024]
Came across a blog entry from Rohan "Seirdy" Kumar on Chromium's influence on Chromium alternatives that brings up an interesting point to the front: Although I prefer to run Firefox precisely because I think it's important to keep browser alternatives alive, this is a very good point. Like it or not, we are not an island onto ourselves. In particular, the level of interdependence these days is beyond imagination. As the author points out at the end of his blog entry: {link to this entry} Preventing search engines from linking to your Facebook profile
[Sat Oct 19 11:14:27 CDT 2024]
Although it's been years since I've actively used Facebook, my account is still activated and, from time to time, I do check it. Rarely. But I do check it. Like it or not, it's my only window to certain friends, both in the US and Spain. Also, it's the only way certain friends know how to contact me for a quick message. So, in spite of my own personal preferences, the account is still there. Recently, it occurred to me that I might as well search for myself online, and see how much exposure to the world I have. Basically, it looks as if there are quite a few other people who share first name and two last names with me. That helps confuse matters a bit and provides some level of privacy (well, to some extent, at least for people who are casually searching around which, in the case of someone who is not a public personality like me, might be enough). There are two exceptions to that: first, my Facebook account; and, second, and old Twitter account I opened while I was a representative in my local council back when I lived in Spain. I deactivated the Twitter account sometime ago, so there is nothing there to see. The Facebok account is a different story. So, I searched for a way to avoid this, and came across an article published by Facebook that explains what to do if you don't want search engines to link to your Facebook profile. Alas, it wasn't much help in my case because, although the instructions are correct, I already had enabled this privacy feature. Notice, though, that the privacy protection is limited only to your personal profile on Facebook. As they clearly state, "information from your profile and some things you share (such as public information) can still appear in search engine results even if you select No". In other words, that this particular setting is not a great help. Facebook has other pages where they basically explain the same. In other words, as we often hear, once we open this particular Pandora's box, there is no way to close it again, it seems. The problem is that, unlike blogging and other forms of online presence, Facebook (and other social media) makes it way easier to share very personal tidbits, thus also making it easier for strangers to go around collecting those "crumbles" to build a whole, meaningful picture. {link to this entry} Can you trust cryptocurrencies?
[Sun Oct 13 10:41:35 CDT 2024]
I must say that from the very beginning, I've been very skeptical about the cryptocurrency fad. In general, if I can understand that the Government cannot always be trusted, I believe private corporations can be trusted even less. Let's face it, they are guided by their own economic interests. This is even officially so. There isn't even a pretense of supporting the public interest. There is no democratic control either. And then, of course, there is the libertarian utopia that I never believed in, especially when it comes to its most individualistic variant, which is the one that predominates here in the USA. In any case, all this is apropos a news article published by The Register on how the FBI created a cryptocurrency with the specific purpose of catching scammers and fraudsters. It's the Wild West in cryptoland. It's what happens when you eliminate any overseeing authority and do away with most rules in the name of individual interest. I don't find it surprising, to be honest. Is it OK to use one of the most well known cryptocurrencies here or there? I suppose. Personally, I'm not interested. But I suppose. One way or another, though, they are not here to set us free and build utopia on earth. {link to this entry} A bit of UNIX history apropos macOS
[Sun Oct 13 10:20:48 CDT 2024]
While reading reading an article from The Register on how Apple macOS 15 Sequoia is officially UNIX, I came across a couple of little tidbits of UNIX history. First of all, the kernel in modern macOS is the XNU kernel, which, ironically enough, stands for "X is Not Unix". Originally developed by NeXT for their NeXTSTEP operating system, it is a hybrid kernel based on the older Mach kernel developed at Carnegie Mellon University. Although for a long time I thought that it was a microkernel, apparently it's more of a hybrid kernel then. A second interesting tidbit of information was that Richard Stallman was also involved in the development of the POSIX standard. As he wrote on his own personal website back in 2011 about the origin of the name POSIX: Again, nothing very important. Just a couple of tidbits of UNIX history. That's all. {link to this entry} Electron vs. Tauri
[Sun Oct 13 09:57:28 CDT 2024]
This week, I ran into an article from InfoWorld comparing Electron to Tauri. Both are cross-platform frameworks for the development of software applications. I must say I had never heard of Tauri, but it sounds quite good. From what they say, it addresses one of Electron's major drawbacks, i.e. its memory consumption. From time to time, I install an app on my desktop, realize that it uses a significant amount of system resources, check to discover it's an Electron app, and immediately try to figure out the way to migrate away. Quite often, I end up running the web service directly on my browser instead. Speaking of which, there is also progressive web apps, of course. The problem there is that my favorite browser is Firefox, which for some reason stopped supporting these sometime ago. I know there is a Progressive Web Apps for Firefox add-on, but it requires installing an additional piece of software on the desktop and it makes a mess of the XDG directories. So, when I have to run a web service as an app of sorts, I very much prefer to set up its own Firefox profile and write my own desktop file with its own icon. That appears to work fine and, believe it or not, uses less resources than Electron. In any case, the fact that Tauri doesn't use so many system resources (both when it comes to disk space and memory) and it's written in Rust does attract me. The problem, of course, is that there aren't so many apps that use that framework at the moment. Hopefully, it will become more popular. {link to this entry} Is "Juice jacking" truly a thing?
[Sun Oct 13 09:49:47 CDT 2024]
I've come across a few videos warning about Juice jacking lately, so I decided to investigate if there is truly anything to it. It appears to be a way to compromise mobile devices (e.g., smartphones, or tablets) through the USB cable that those devices use for charging and data transfer. Apparently, a properly manipulated USB plug could then be used to install malware or copy data. Needless to say, if this is possible, then all USB chargers in public spaces (cafes, airports...) automatically become suspect. So, is it real? Well, it sounds to me as if the jury is still out. It does appear to be real in the resense of being possible. However, all I can find from credible sources is information about how this is more like a "theoretical compromise" done for "research purposes" that has not been spotted "in the wild". So, I'd call it a relative threat. It is certainly possible, but one is unlikely to run into it. In any case, it also sounds as if there are existing mitigations both in the form of software updates and so-called USB data blockers. {link to this entry} Smart TVs as Trojan horses
[Tue Oct 8 11:48:52 CDT 2024]
Ars Technica shares about a report from the Center for Digital Democracy (CDD) providing the details on how the so-called "smart TVs" behave like true Trojan horses in our homes: Worse yet, the latest development in Generative AI make things even more worrisome: Not a very promising picture for anyone who cares about privacy. The thing, though, is that it has become almost impossible to avoid these devices when shopping for a new television set. In that sense, it's no different than the problems consumers may experience if they want to buy a car without chips. Increasingly, the choice is not even there. So much for free market! {link to this entry} Chris Siebenmann on init not being a service manager as such
[Mon Oct 7 14:22:57 CDT 2024]
I find Chris Siebenmann's Wandering Thoughts blog a very useful (and thoughtful) source of ideas for anything related to UNIX and system administration in general. Today, I came across a post from a few days ago explaining that init on UNIX was not a service manager as such. His explanation makes perfect sense. Neither the BSD nor the System V tradition truly had a version of init (i.e., PID 1) that supervised or managed the daemons. As a matter of fact, as Siebenmann explains the daemon processes weren't even directly launched by init, but rather by their respective init shell scripts. Also, when one needed to restart or kill the process, init was out of the picture. All this changed quite recently in Linux with the introduction of systemd, among others. But, for better or for worse, it wasn't there before. {link to this entry} Musings on semantic versioning
[Mon Oct 7 14:18:00 CDT 2024]
Browsing around, I came across a blog post on version numbers that clarifies pretty well how semantic versioning works: {link to this entry} College students use Meta's smart glasses to identify people
[Fri Oct 4 11:28:51 CDT 2024]
One more for the scary uses of current AI technology (I was going to say "potential", but this is already here, there is nothing "potential" about it) has been reported by The Verge: college students use Meta's new smart glasses to identify people in real time. The implications for people's privacy are obvious. Anyone could be out there using an application like this to identify people on the streets. It is a brave new world out there without a doubt. {link to this entry} How GenAI will impact jobs
[Fri Oct 4 09:18:22 CDT 2024]
HPC Wire tells us about a study on how GenAI will impact jobs in the real world: It all makes perfect sense, I think. If anything, I'd add that, in my own experience, AI is not truly there yet. Hmmm, it *may* be able to help with theoretical knowledge and summarizing things. It *may* also help making suggestions. But little else. To say that AI can help in problem solving, as the study states, is, I think, a stretch. For the time being, all it does, again in my own experience, is to provide some general and vague information on how to start trouble shooting a problem. That's all. {link to this entry} Amazon to introduce even more ads
[Fri Oct 4 09:12:21 CDT 2024]
According to the Financial Times, Amazon is getting ready to increase the number of ads on Prime Video. Let's just remember that, not so long ago, the absence of ads was precisely one of the reasons why we liked streaming. In any case, to me, what is truly astonishing is the following: If it sounds as if they are trying to get away with as much as they can is because they are. And yes, I know some people will immediately argue that we, consumers, have a choice. But do we? After all, Prime Video bundles other services as part of the Amazon Prime membership that no other vendor offers. {link to this entry} New Servo rendering engine
[Fri Oct 4 09:05:37 CDT 2024]
Checking the tech news today, I came across an article on Phoronix providing an update on the latest features added to the Servo Browser. I must say I don't remember having heard of the Servo rendering engine until now, but it sounds like an interesting project: According to the Wikipedia entry linked above, it's only a research project. It was started by the Mozilla Corporation, and later transferred to the Linux Foundation. I can see on their download page that they have binaries available for Linux and Android. I'll see if I can give it a try. {link to this entry} Reddit or the dangers of trusting a corporation with a public forum
[Tue Oct 1 11:08:58 CDT 2024]
I'm convinced that, by now, we are all noticing how tricky it is to trust corporations with public forums. As I've said before, plenty of people these days refer to platforms such as Twitter, Facebook or Reddit as our "digital public square". As a matter of fact, the corporations behind those platforms promote that view and tend to refer to their services in similar terms. The problem I see with that is that, far from being truly public, these are actually very private. Not only that but, since they are maintained by private businesses, they also have an obvious economic incentive to make a profit. None of that is necessarily compatible with a true civic conversation in the "public square". It's almost as if our public space had been pivatized and, all of a sudden, a bunch of tycoons get to decide what is acceptable or not in our public discourse. It may not be "big government", but I don't see the advantage, to be honest. Today, for instance, we read that Reddit has announced a controversial policy change to prevent future protests from moderators: The reality is that only a true public platform could guarantee some level of neutrality or, at the very least, democratic control. When it comes to this topic, I'd very much prefer public forums set up by the Government, to be honest. Better yet, I'd like to see the fediverse succeed. The problem is that, in order for it to succeed, the majority of users have to abandon the old platforms and switch to these other services en masse, which is quite unlikely. {link to this entry} |