[ Main ] [ Home ] [ Work ] [ Code ] [ Rants ] [ Readings ] [ Links ] |
[2024] [2023] [2022] [2021] [2020] [2019] [2018] [2017] December November October September August July June May April March February January [2016] [2015] [2014] [2013] [2012] [2011] [2010] [2009] [2008] [2007] [2006] [2005] [2004] [2003] |
[Fri Mar 24 13:44:49 CDT 2017]Here is one of those pesky little things that may make you scratch your head for a while: The problem is the shell itself interpreting the square brackets. Just quote the argument like this:$ git stash show stash@{1} fatal: ambiguous argument 'stash@1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git {link to this entry}$ git stash show "stash@{1}" [Thu Mar 23 17:43:06 CDT 2017]I believe I have brought up this issue over here several times before. In any case, this article on why kids truly cannot use computers is a good read. Yes, I know. We all hear over and over again that young people these days are "digital natives" and "they know more about computers than their teachers and their parents", but it is not true. Yes, they may use digital devices of all sorts all the time, but that doesn't mean that they know how they work or how to solve any problem they may run into. Far from it. As the author states: Anyways, it's a good read. As usual, most truisms are simply not true. {link to this entry} [Thu Mar 23 17:33:26 CDT 2017]An interesting rant on why password rules don't work and what to do about it. {link to this entry} [Thu Mar 23 17:18:24 CDT 2017]I have been meaning to write for a while now about a news article published by Business Insider sometime ago explaining that a new form of AI at Google learned to become "highly aggressive" in stressful situations: That's some scary thought. Here is a short video showing the agents in blue and red, the apples in green, and the laser beams in yellow: {link to this entry} [Thu Mar 23 17:16:10 CDT 2017]Now, this is sort of cool. As it turned out, the OpenBSD folks also release the artwork and a matching song with each new release. Who ever said that hackers are not creative? {link to this entry} [Thu Mar 16 15:41:21 CDT 2017]Here is an interesting news piece I read on Computer World: according to the NSA and the DOE, China's supercomputing advances are putting the US lead at risk. Among other things, the article explains: To me, one of the issues that amazes me the most is how, in spite of all the evidence, we continue firmly believing here in the West that the free market is the only (and the best) way to organize an efficient economy. Simply put, that is not true. Neither the US nor Europe ever had a pure free market economy. Or at least they haven't in many decades (if ever!). And, to make it worse, both Russia and China are clearly proving that it is possible to run a powerful economy with a strong intervention from the government. As a matter of fact, it's about the only way to do it if you care about the long-term. The market forces, truly, only pay attention to the short term gains. Yet, we appear to be thoroughly convinced by our own propaganda from the Cold War. Oh, well. {link to this entry} [Thu Mar 16 15:20:13 CDT 2017]I recently had to do this, and thought that it might be useful to other people. Here are the directions to move the music files from Amazon to an SD card on an Android device. {link to this entry} [Wed Mar 15 09:50:24 CDT 2017]I was recently toying around with the Tor browser on Debian 8 (jessie), and ran into a scary signature veritication failure message. It's a bug. The following command fixed it: {link to this entry}$ gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir/" --refresh-keys \ --keyserver pgp.mit.edu [Wed Mar 15 08:41:40 CDT 2017]Now, this is an interesting weather service in plain ASCII mode. Yes, you can view it on your browser. However, the nice thing about it is that you can also use the service from the command line (and, therefore, add it to your own scripts). For example, run: {link to this entry} [Wed Mar 8 08:50:06 CDT 2017]There are days that truly feel like April Fools Day, even though it is not. So, today we read that Microsoft has decided to put ads in the Windows 10 File Explorer. As a friend said upon hearing about it, the interesting (and non-intuitive) thing is that the operating system one pays for now includes ads, while the ones that are free (e.g., Linux, or FreeBSD) do not. Interesting paradox. {link to this entry} |