Category Archives: Uncategorized

My iPhone's GSM started working :-D

This year I celebrated birthday with friends for the first time ever. And they gave me a fancy-schmancy gift: an iPhone 2G! Until today GSM didn’t work (apparently due to … “enabling” some stuff). After downloading … “fixes”, it started working. BootNeuter is the keyword. I “wouldn’t” know for what, though 🙂

Well, I just wanted you guys to know 🙂

Colorized output for ls on Mac OS X

Short route:

alias ls=”ls -G”
Permanent short route:
echo alias ls=\”ls -G\” >> ~/.bash_profile
Long explanation:
Mac OS X’s BSD-based implementation of ls does not have support for GNU-style long options such as ls –color. All its options are short options. To get color, you can pass -G.
So what we do is tell bash that whenever we type ls, we actually want to type ls -G.
alias ls=”ls -G”
ls also supports another way to turn on colorization, and this is to set environment variable CLICOLORS.
export CLICOLORS=1
You can also reconfigure the colors used. Some people recommend this colorset:
export LSCOLORS=dxfxcxdxbxegedabagacad
What does this mean? Each letter is one color. For example, d is brown, x is default background and foreground, B is bold red, etc. Each position determines function. Straight from the horse’s mouth (man ls):
                     The color designators are as follows:

                           a     black
                           b     red
                           c     green
                           d     brown
                           e     blue
                           f     magenta
                           g     cyan
                           h     light grey
                           A     bold black, usually shows up as dark grey
                           B     bold red
                           C     bold green
                           D     bold brown, usually shows up as yellow
                           E     bold blue
                           F     bold magenta
                           G     bold cyan
                           H     bold light grey; looks like bright white
                           x     default foreground or background

                     Note that the above are standard ANSI colors.  The actual
                     display may differ depending on the color capabilities of
                     the terminal in use.

                     The order of the attributes are as follows:

                           1.   directory
                           2.   symbolic link
                           3.   socket
                           4.   pipe
                           5.   executable
    
                      6.   block special
                           7.   character special
                           8.   executable with setuid bit set
                           9.   executable with setgid bit set
                           10.  directory writable to others, with sticky bit
                           11.  directory writable to others, without sticky
                                bit

                     The default is “exfxcxdxbxegedabagacad”, i.e. blue fore-
                     ground and default background for regular directories,
                     black foreground and red background for setuid executa-
                     bles, etc.

Unibody Macbook 2009 – NVIDIA 9400m support for PhysX

Since 9400m has 16 CUDA cores, newer releases of PhysX system software do not support hardware acceleration on it. In newer releases, NVIDIA demands 256MB of memory on the GPU and 32 CUDA cores. 

But if you need it for development, testing or just for trying how it works and proving to yourself you can do it… grab old drivers from NVIDIA to get PhysX running on your machine. I’ve tried 9.09.0408.
Beware, NVIDIA’s Fluid Demo is still abysmally slow so I’m not sure if there’s any point. (Although I suspect this has more to do with it rendering 60000 particles than with anything else.)
You’ll need to manually uninstall the PhysX drivers that ship with your GPU drivers. If you don’t see them in Add/Remove Programs, then install the latest version of PhysX drivers (not your GPU drivers) and then uninstall.

Uninstalling GarageBand Jam Packs

To uninstall Jam Packs (or most of them, at least) go to Finder->Library->Audio->Apple Loops->Apple. Each Jam Pack should be in its own folder. I haven’t tested to see if it also removes software instruments included in a Jam Pack though I suspect not. I don’t care enough to look deeper 🙂

Ⰳⰾⰰⰳⱁⰾⰻⱍⰽⰻ Unicode ⱀⰵⰿⰰ ⱄⰾⱁⰲⱁ J :-(

Ⰹⰵⱄⱅⰵ ⰾⰻ ⰸⱀⰰⰾⰻ ⰴⰰ ⰳⰾⰰⰳⱁⰾⰻⱌⰰ ⰻⰿⰰ ⱄⰲⱁⰹ Unicode ⱄⰵⰳⰿⰵⱀⱅ?


That thing says “Did you know that glagolitic script has its own Unicode segment?” To read it, you may need font called Dilyan.


However the title says “Glagolitic Unicode does not have letter J”. Letter J looks like combined HP (oh yes, don’t start). That’s amazing. In the glagolitic transliterator I designed some time ago, I’ve replaced it with letter iže – Ⰹ – which seems to serve the same purpose. Incredibly, Wikipedia article also does not mention J.


But the oversight looks stunning to me. Especially since you can’t reproduce it graphically using other symbols, and it’s perfect for transliteration.


(Note, my transliterator matches mostly letter-for-letter and therefore may be flawed. I do think it’s quite faithful though.)

Subscription via email

If you want to subscribe to my mad ramblings to have them delivered by email, you can do so now by visiting the blog and entering your email address on the right side. Courtesy of Feedburner.

I’m pasting the HTML below, in this post, so perhaps you can just enter the email here, depending on your RSS reader.

Enter your email address:


Delivered by FeedBurner