Posts

Showing posts from May 30, 2010

AutoHotKey Path Problem; Windows Shortcut Path

Image
Perm url with updates: http://xahlee.org/mswin/autohotkey_path_problem.htmlAutoHotKey Path Problem; Windows Shortcut PathXah Lee, 2010-06-05This page documents some file path problems of AutoHotKey scripting language, and also some compexlity of computing.SymptomsSuppose you have a Windows shortcut file, named “ErgoEmacs 1.8.0.1”, at “C:\Users\xah\Desktop\”.Now, create a file with this content:Run"C:\Users\xah\Desktop\ErgoEmacs 1.8.0.1"Name it for example “test.ahk”. Double click to run it. AutoHotKey will complain about file not found.However, adding the “.lnk” extension works:Run"C:\Users\xah\Desktop\ErgoEmacs 1.8.0.1.lnk"; works But, other files without extension also works, example:Run"C:\Users\xah\Desktop\emacs 23.2.1 -Q"; works This is odd. Here's a summary of what works and not:; shortcut file name: ErgoEmacs 1.8.0.1.lnk Run"C:\Users\xah\Desktop\ErgoEmacs 1.8.0.1.lnk"; works ; shortcut file name: ErgoEmacs 1.8.0.1.lnk Run"C:\Use…

Software Dependency Complexity: Fink, Unison

Perm url with updates: http://xahlee.org/comp/software_dependency_complexity.htmlSoftware Dependency Complexity: Fink, UnisonXah Lee, 2010-06-04This essay documents a computer industry complexity, in particular, a problem of installing a single software, caused by software dependency.Today, i got a project to update a website of a university. The first job, is to install the Unison software, which allows 2-way file synchronization.The remote machine is Mac OS X 10.6 running on a recent server version of mini mac. On the mac, there are 2 primary ways to systematically install a large number of unix software. One is Fink, and another is Macports.I've been using fink since it started in ~2002. I've casually tried MacPorts once or twice in the past, but didn't have a good experience with it. Over the years i've been using fink, largely i'm a happy user, but i've had some problems so i don't regard it as near perfect. So, i did some reading the web to see if o…

“Free” Software Morality, Richard Stallman, and Paperwork Bureaucracy

Perm url with updates: http://xahlee.org/UnixResource_dir/writ2/FSF_philosophy.html“Free” Software Morality, Richard Stallman, and Paperwork BureaucracyXah Lee, 2009-02-27This essay discusses Richard Stallman, the Free Software Foundation's moral stance on software, and how legal paperwork required by FSF impedes the progress of FSF's software projects.Richard Stallman, contributed to society in 2 significant ways. One is his coding, producing many major software, such as emacs, gcc, …. The other, with far more greater impact, and is the reason he is remembered in human animal history, is the creation of FSF with its GPL.His technical, coding, contribution is unquestionably a positive contribution. His “free” software movement is, however, questionable. The reason that society recognized this social contribution, is partly, if not significantly, due to the fact that he has achieved success in his vision. For example, to illustrate, if Hitler was successful, today he would be a…

emacs 23.2 features

Perm url with updates: http://xahlee.org/emacs/emacs23.2_features.htmlEmacs 23.2 FeaturesXah Lee, 2010-06-02, 2011-01-14Some preliminary report on new features in emacs 23.2. Emacs 23.2 is released on 2010-05-08, just 9 months from the previous major release, Emacs 23 (23.1). (See: New Features in Emacs 23.)New ModesCEDET IDEEmacs 23.2 has lots of significant new features. The most significant is probably the inclusion of the CEDET package, which is a huge IDE-like package with features to parse different languages. CEDET is written by Eric Ludlam. I'll be studying this package and document its features for practical use. javascript modeA javascript mode, is finally bundled. Activated by the command “js-mode”. This is renamed from the “espresso” mode by Daniel Colascione, which is based on a earlier javascript mode by Karl Landstrom.Note that Steve Yegge's js2-mode is not chosen. Rather sad. Steve's mode is more radical, in that it features a on-the-fly js parser (written…

The Tech Geekers and Software Engineering

Much re-organization. Collected essays on software engineering and programers. The Tech Geekers and Software Engineering.about 30 essays written in the past 10 years.