Tag Archives: Computer Tricks

Learning the bash shell, continued

i-30a1e0366512a8ac50ae2cf969f02d73-learning_bash_shell.jpgI started this discussion a while back, and not it is time to continue it.The Bourne Again Shell, bash, is the default command-line shell in Ubuntu and many *nix (Unix, Linux, etc.) systems. You can think of the shell as the most direct way to get into your operating system, and you can think of shell scripts (‘programs’ in essence) as macros that can automate computerized tasks. Continue reading Learning the bash shell, continued

Linux Magic

Let’s say you want to make a directory tree in Linux a few directories deep. You could do this:greg@greg-laptop:~$ mkdir tstgreg@greg-laptop:~$ cd tstgreg@greg-laptop:~/tst$ mkdir tstdeepergreg@greg-laptop:~/tst$ cd tstdeepergreg@greg-laptop:~/tst/tstdeeper$ mkdir evendeepergreg@greg-laptop:~/tst/tstdeeper$ cd evendeepergreg@greg-laptop:~/tst/tstdeeper/evendeeper$Or, you could be smart and do this: Continue reading Linux Magic

Movable Type Bloggers: A Neat Tip

This is for Linux users, but there are ways to implement it on Windows and Mac boxes (but you are on your own.)If you use the movable type interface, you will know that when you generate a “Create New Entry” page, the current date is placed in the “Entry Date” filed. But, as time passes, that date does not change. So, if you work on this post for an hour, the date of your post is now an hour stale. You get the point.To fix this, you need to adjust the date before you “Publish” the post. But the date has to be in exactly the same format. And the time zone you are publishing on may not be the time zone you live in. And so on.I have a solution. Continue reading Movable Type Bloggers: A Neat Tip

R 2.6.2 is released

This is not a big deal … it is mainly a bug-busting maintenance release with a few new features (listed below). I mention it, however, to remind you that R exists.R is in my view the most versatile and powerful statistical system available. Many people say it has a steep learning curve, but I think this is because it does not have a commonly used graphical user interface. In fact, if you are doing serious statistics, R is not harder to learn than any other professional system. Continue reading R 2.6.2 is released

Learning the Bash Shell

i-30a1e0366512a8ac50ae2cf969f02d73-learning_bash_shell.jpgFor the most part, computer operating systems all have a “shell.” When people talk about the “command line” … they are talking about the prompt in a shell. The concept of a shell, and the way we think of a shell today mostly stems from its implementation on Unix systems. A shell is a computer program that has a human interface and a number of built in or accessible functions (mostly other programs) that humans can invoke to make the computer do something. On ‘servers’ and on most computers back in the old days, the shell would typically appear as a prompt on a computer screen, and that would be all you would get. You type stuff in, and the computer types stuff as well, and between the two of you, stuff happens. On a computer with a graphical user interface (GUI), there is still a shell, but it looks different. The shell is less tangible to the human user, but the GUI itself is a program that provides the user interface, and it may either be the shell itself or it may be invoked automatically as the computer starts up by the shell. Continue reading Learning the Bash Shell

Linux X Server

To most desktop computer users, the difference between two “systems” (Linux, Windows, Mac, etc.) is in what you see when you turn the computer on, what you can click on with your mouse, how files are visually organized and manipulated, how menus work, and so on. This is the “look and feel” of a system. Since the “look and feel” has to do with how you actually use the computer, this can be the most important factor to a user choosing a system. But the “system” itself may have little to do with these differences.If you choose a Mac, you get a certain look and feel. If you choose Windows XP, you get a different look and feel. If you choose Vista, you get yet another. But if you choose “Linux,” you are able to choose among a wide range of LookAndFeels. Continue reading Linux X Server

Speaking of Technology …

Xii Monitor, a French web survey company, came out with the 2007 market share statistics, with interesting news about the Firefox browser. The Open Source browser’s market share has climbed to 28 percent of the European market, mostly at the expense of Microsoft Internet Explorer. The trend for the year shows a steady increase [source].Speaking of Microsoft, apparently executives at the behemoth are accusing IBM of being the prime mover in the recent global war against the Office Open XML ‘standard.’ According Microsoft’s senior director of XML technology, Jean Paoli, “Let’s be very clear … It has been fostered by a single company — IBM. If it was not for IBM, it would have been business as usual for this standard.” Nicos Tsilas, Microsoft’s director of interoperability and IP policy added, “They have made this a religious and highly political debate … They are doing this because it is advancing their business model. Over 50 percent of IBM’s revenues come from consulting services.”Microsoft executives also implicated “the likes of” (a phrase that may cause some alarm) the Free Software Foundation in this lobbying effort. Is this some sort of strategic rhetoric, or is it really the case that Microsoft does not get it? Is the megacompany aware of the fact that they are so annoying that everyone hates them? [ story here]i-f2803c900be4af8fc3e135cf93106db4-vista.gifSpeaking of being annoying, tech-geek publisher O’Reilly has recently released the latest book in their “annoyances” series. I won’t be needing a copy of Windows Vista Annoyances: Tips, Secrets, and Hacks, but perhaps you will.And, as long as we are on the subject of annoyances, have a look at MythBusters’ “7 Tech Headaches and How to Fix Them.” My favorite? “Computer operating systems loaded with stuff I don’t want and will never use.” The solution? ” Switch to a Linux-based OS such as Ubuntu. Since most Linux OSs are free, there’s no business reason to bloat up the system with feature frills.”

Capturing the Elusive Streaming Video

How to convert a YouTube or Google streaming video into a file that you can put in your pocket and carry around with you.

The Problem: Streaming Video is not enough.

Do you need to save a Youtube or Google video into a file? I’m not sure about the legality or practicality of doing this, so anything you read here could break your computer or get you arrested, that’s up to you.

I know I do this some times for a very good reason. My wife is a school teacher, and schools are run by reality-blind bureaucrats who come up with things like “zero tolerance” policies … so of course, most schools seem to have blocking of almost all useful Internet content, especially and including Google Videos and Youtube. So, if Amanda wants to show some useful video to her students, she can’t. The bureaucrats are happy, the students are uneducated. Whatever.

Continue reading Capturing the Elusive Streaming Video