It’s interesting if Apple manufactures its own chipset instead using Intel’s, which will make Apple “Different” again. Also, it can potentially eliminates the possibility of Hackintoshes(Psystar). →Link
“..it uses the accelerometer in your iThingy to measure 0-60mph times, lateral Gs and even horsepower.” →Link to introduction | →Link to App Store
I need the Blu-ray option for Macs. Badly. →Link
This is not looking optimistic for Apple if it’s real. →Link
The short film appeared before Wall·E. →Link
Be sure to read this Lightroom 2 vs My Lightrrom 2 wishlist. →Link
A great lecture. “He did, however, mention that he experienced a near-deathbed conversion: he switched and bought a Macintosh computer.” →Link | →Link to YouTube Video
Hilarious stuff. [Via RealDanLyons] →Link
“If Apple lies in a press release, or if its CEO lies in an on-the-record statement, the company has problems. But if everything was off the record, who’s to know? ” →Link
Absolutely, breathtakingly beautiful. →Link
Coming 2010. Can’t wait. →Link

f3e23b31121a68e96e8dd6762a779205 Dripping paint table by John Nouanesing

No, it’s not real. It’s a concept table by designer John Nouanesing.
I’m not sure if I like it. Well, make a black one and I will tell you the answer.

[Link: John Nouanesing]
[Via: BoeingBoeing]

When it comes to UNIX shell-scripting I need all the help I can get.  It’s hard trying to do something new because getting to the right info requires reading many manual pages.  Here are commands I learned to find the latest version of a file that has a timestamp in its filename.  Suppose the files are

myFile.2008-05-01.12.45.01

myFile.2008-05-01.12.46.02

myFile.2008-05-01.12.47.03

and they’re in a directory with many other files, and you want to find the myFile with latest time, then issue this command in the directory of myFile:

ls -l | awk '/myFile/ {print $NF}' | tail -n 1
 

Ok, so what does this do?

“ls -l” prints the files in the current directory, one file per line, in ascending sorted order.  This output is passed to awk, which evaluates each line, searching for the pattern myFile, and for each line with myFile, it separates the words by whitespace, and prints the last field, which is the filename.  The list of such filenames is then passed to tail -n 1, which simply prints the last file in the list.  The result should be what we want.  Of course, if there are other files such as myFileABC, then this command won’t work.  We’ll need a more specific regular expression pattern in the awk command.

Can anyone do it simpler?  Please share.  Thanks.

In a UNIX shell terminal, a prompt indicates the shell is ready for a command. An example:

$

PS1 is the environment variable that determines what the prompt is.  Change it to change the prompt.

For example: PS1=${PWD}> ‘ will set the prompt to display “current_directory> “.  Pay attention to the single quotes.  Using double quotes may have a different effect.

To keep your new prompt each time you log in, set PS1 in your .profile file in your home directory.

Play around.  Different shells require different symbols.  Here are some more examples.

In bash, I use: PS1=’\[\e]0;\w\a\]\n\[\e[32m\]\u@\h\[\e[0m\]\n\$ ‘

In ksh, I use: PS1=’${HOSTNAME?}:${PWD?}’`echo “\n> “‘

Tell me what you are using.

I wonder if some day Microsoft just simply make their own PCs, say “MS Box”. →Link
“Yahoo e-mailed its Yahoo! Music Store customers yesterday, telling them it will be closing for good—and the company will take its DRM license key servers offline on September 30, 2008. ” →Link
Can’t help to post when I saw “mechanical” and “wooden” in a single sentence. →Link
This was one of the free games I liked. “Aurora Feint looks through your contact list, sends it unencrypted to their servers, and matches you up with your friends who are currently playing right now.” Scary. →Link
Nice thought from Ars. →Link
Good for music. Not sure about videos though. →Link

older posts