One of the many reasons Java is not *the solution* [trinity.neooffice.org]
- Apple is only providing Java 1.4 and newer for Intel Mac's. Fair enough.
- NeoOffice/J has components that rely on Java 1.3
- It's not easy to port between Java versions
- Java is closed-source so it's not possible for the public to port Java 1.3 to Intel Macs (as opposed to Perl, Python or Ruby - other portable languages that need a native runtime)
Java: Write many times, run in a few places™
You gotta love Paul Otellini
I've long been a fan of Paul's work and this just confirms that he's a good bloke. Who would have thought that Intel could be a company that we would grow to love. I don't think the world yet realises how much of a coup this is - having Apple move to Intel - but Paul Otellini sure does.
Cool Tunes [www.lifepod.net]
Listen to your favourite tunes while enjoying cold beverages and hanging out with your friends.
Your ipod plugs in, it holds 8 cans of drink, INSTANT PARTY!.
From the mad people at lifepod.net.
mozex + cygwin to edit Firefox textareas in X11 emacs
Assuming you already use emacs under cygwin, first make a batch file to abstract the wierdness. I use the dtemacs wrapper for gnuserv, but you can substitute any cygwin X11 editor in for dtemacs below (or xterm -e 'ed' if you are so inclined).
SET RUN="C:\Program Files\Cygwin\bin\run" -p /usr/X11R6/bin
%RUN% bash -wait -c "/usr/local/bin/dtemacs `/bin/cygpath -u '%1'`"
The call to cygpath in the backticks converts the path supplied by mozex from something like c:\temp\asdfhasdfjh into /cygdrive/c/temp/asdfasdfdsf that emacs can understand.
Then install mozex into Firefox. Mozex works fine under firefox 1.0 and later, but you can't seem to access the config gui anywhere. You can, however, easily add the following lines to your prefs.js:
Adjust the above as per your cygwin directory and note that you have to use the 8.3 form of pathname in the mozex userpref.
Now I can edit twiki pages in X11 emacs via my windows firefox - smashing!
Update: The above link for mozex now directs you to a new development version of mozex that has a preferences UI that works with Firefox 1.5. I haven't tried upgrading my Windows Firefox yet, but it works a treat on MacOS X. It has even fixed the issue where you had to click in the textarea to update the content :)
RSS feeds now with full content
RSS feeds now with full content
The Dosfish that sails upon the Pea Sea
Long ago, in the days when all disks flopped in the breeze and the writing of words was on a star, the Blue Giant dug for the people the Pea Sea. But he needed a creature who could sail the waters, and would need for support but few rams.
So the Gatekeeper, who was said to be both micro and soft, fashioned a Dosfish, who was small and spry, and could swim the narrow sixteen-bit channel. But the Dosfish was not bright, and could be taught few new tricks. His alphabet had no A's, B's, or Q's, but a mere 640 K's, and the size of his file cabinet was limited by his own fat.
At first the people loved the Dosfish, for he was the only one who could swim the Pea Sea. But the people soon grew tired of commanding his line, and complained that he could be neither dragged nor dropped. "Forsooth," they cried. "the Dosfish can only do one job at a time, and of names, he knows only eight and three." And many of them left the Pea Sea for good, and went off in search of the Magic Apple.
Although many went, far more stayed, because admittance to the Pea Sea was cheap. So the Gateskeeper studied the Magic Apple, and rested awhile in the Parc of Xer-Ox, and he made a Window that could ride on the Dosfish and do its thinking for it. But the Window was slow, and it would break when the Dosfish got confused. So most people contented themselves with the Dosfish.
Now it came to pass that the Blue Giant came upon the Gateskeeper, and spoke thus: "Come, let us make of ourselves something greater than the Dosfish." The Blue Giant seemed like a humbug, so they called the new creature OZ II.
Now Oz II was smarter than the Dosfish, as most things are. It could drag and drop, and could keep files without becoming fat. But the people cared for it not. So the Blue Giant and the Gateskeeper promised another OZ II, to be called Oz II Too, that could swim the fast new 32-bit wide Pea Sea.
Then lo, a strange miracle occurred. Although the Window that rode on the Dosfish was slow, it was pretty, and the third Window was the prettiest of all. And the people began to like the third Window, and to use it. So the Gateskeeper turned to the Blue Giant and said, "Fie on thee, for I need thee not. Keep thy OZ II Too, and I shall make of my Window an Entity that will not need the Dosfish, and will swim in the 32-bit Pea Sea."
Years passed, and the workshops of the Gateskeeper and the Blue Giant were overrun by insects. And the people went on using their Dosfish with a Window; even though the Dosfish would from time to time become confused and die, it could always be revived with three fingers.
Then there came a day when the Blue Giant let forth his OZ II Too onto the world. The Oz II Too was indeed mighty, and awesome, and required a great ram, and the world was changed not a whit. For the people said, "It is indeed great, but we see little application for it." And they were doubtful, because the Blue Giant had met with the Magic Apple, and together they were fashioning a Taligent, and the Taligent was made of objects, and was most pink.
Now the Gateskeeper had grown ambitious, and as he had been ambitious before he grew, he was now more ambitious still. So he protected his Window Entity with great security, and made its net work both in serving and with peers. And the Entity would swim, not only in the Pea Sea, but in the Oceans of Great Risk. "Yea," the Gateskeeper declared, "though my entity will require a greater ram than Oz II Too, it will be more powerful than a world of Eunuchs.
And so the Gateskeeper prepared to unleash his Entity to the world, in all but two cities. For he promised that a greater Window, a greater Entity, and even a greater Dosfish would appear one day in Chicago and Cairo, and it too would be built of objects.
Now the Eunuchs who lived in the Oceans of Great Risk, and who scorned the Pea Sea, began to look upon their world with fear. For the Pea Sea had grown, and great ships were sailing in it, the Entity was about to invade their oceans, and it was rumored that files would be named in letters greater than eight. And the Eunuchs looked upon the Pea Sea, and many of them thought to immigrate.
Within the Oceans of Great Risk were many Sun Worshippers, and they wanted to excel, and make their words perfect, and do their jobs as easy as one-two-three. And what's more, many of them no longer wanted to pay for the Risk. So the Sun Lord went to the Pea Sea, and got himself eighty-sixed.
And taking the next step was He of the NextStep, who had given up building his boxes of black. And he proclaimed loudly that he could help anyone make wondrous soft wares, then admitted meekly that only those who know him could use those wares, and he was made of objects, and required the biggest ram of all.
And the people looked out upon the Pea Sea, and they were sore amazed. And sore confused. And sore sore. And that is why, to this day, Ozes, Entities, and Eunuchs battle on the shores of the Pea Sea, but the people still travel on the simple Dosfish.
Starting a company - advice I wish I had heard 5 years ago! [www.joelonsoftware.com]
Number One. Don't start a business if you can't explain what pain it solves, for whom, and why your product will eliminate this pain, and how the customer will pay to solve this pain. The other day I went to a presentation of six high tech startups and not one of them had a clear idea for what pain they were proposing to solve. I saw a startup that was building a way to set a time to meet your friends for coffee, a startup that wanted you to install a plug-in in your browser to track your every movement online in exchange for being able to delete things from that history, and a startup that wanted you to be able to leave text messages for your friend that were tied to a particular location (so if they ever walked past the same bar they could get a message you had left for them there). What they all had in common was that none of them solved a problem, and all of them were as doomed as a long-tailed cat in a room full of rocking chairs.
Number Two. Don't start a business by yourself. I know, there are lots of successful one-person startups, but there are even more failed one-person startups. If you can't even convince one friend that your idea has merit, um, maybe it doesn't? Besides, it's lonely and depressing and you won't have anyone to bounce ideas off of. And when the going gets tough, which it will, as a one-person operation, you'll just fold up shop. With two people, you'll feel an obligation to your partner to push on through. P.S., cats do not count.
Of course following this advice doesn't guarantee success, but not following it makes it extremely difficult to succeed.
How to be a Programmer [samizdat.mines.edu]
Estimation takes practice. It also takes labor. It takes so much labor it may be a good idea to estimate the time it will take to make the estimate, especially if you are asked to estimate something big.
And a lot of other useful discussion in this essay
Emacs Keybindings *everywhere*
- Well, you can use emacs for starters!
- Shell - bash uses emacs keybindings
- Many GNU apps default to emacs keybindings
- Gnome apps (includes Firefox) used to default to emacs keybindings. These days you need to change your user config to tell all Gnome apps to use emacs keybindings (see this freebsd gnome list message)
- All Cocoa applications support simple emacs keybindings by default (C-a, C-e, C-k etc.). You can get even more advanced bindings (including multi-key C-x bindings). See here, here and here.
- Firefox on MacOS X is unfortunately designed to be Mac Friendly, which means if you're a Unix/Emacs person you're left out. It doesn't even support the basic emacs bindings that Mac Cocoa applications do. Fortunately Firefox is such a dynamic runtime it's easy to rectify. See This mozillazine article for simple instructions.
- Surprisingly Windows is really easy to convert to emacs keybindings in every application. That's right, you can use emacs keybindings in Microsoft Word!! All you need is XKeymacs. It's very configurable per-application.
- Conveniently, MacOS doesn't use the control key much, so MacOS X is able to offer emacs keybindings without breaking the standard keybindings in other applications.
And yes, I do use all these operating systems every day (including usually at least two brands of Unix)! I don't have any information on emacs keybindings for either BeOS or AmigaOS ;)
When is a byte not a byte? When it's an unsigned char of course! [www-128.ibm.com]
Cross posted from my del.icio.us feed.
Motorola: Addressing The Need for Integrated VoIP Solutions [broadband.motorola.com]
(For non-Australian readers, Beyond 2000 was a Science/Tech TV show focussing on cool new science and tech. It aired on TV in the late 80s, early 90s. It has recently re-emerged in a similar format: http://www.beyond2000.com/ )
Get emacs to set your xterm title
First you need xterm-frobs.el from Noah Friedman's emacs lisp code. Place it in your site-lisp directory or wherever you keep custom lisp.
Then add the following code in whatever block your .emacs executes when you're in an xterm:
(defun my-set-xterm-title ()
(concat (getenv "HOSTNAME") "- emacs - " (buffer-name))))
(let ((term (getenv "TERM")))
(when (and (not window-system)
(or (string= term "xterm")
(string= term "rxvt")))
(add-hook 'window-configuration-change-hook 'my-set-xterm-title)
(add-hook 'emacs-startup-hook 'my-set-xterm-title)))
(I came up with this code based on the following urls:
Blog Categoriessoftware (40)
..heads up 'tunes (5)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
Book Review (2)