Latest Publications

News

Briefly.

Since the last post I:

Turned 25!.
Got married :).
Started playing World of Warcraft again and I’m trying to bring my wife into it.
Started seriosly to define an idea for an iPhone game I want to build.

r.

Switching Safari Tabs With Custom Shortcuts

So I dumped Minefield / Firefox a while a go to give a try to Safari 4 beta and I really love it, I love the speed and how perfectly integrates into OS X and with the brand new Web Inspector my life is complete, or is it?. Turns out one major flaw in Safari for me is the lack of fast switching into different tabs, Safari has the nice shortcuts ⌘1 to ⌘9 bound to the bookmarks in your bookmark bar instead of the tabs, like Firefox does. So after researching a bit I found a way to do it using QuickSilver + AppleScript but using QuickSilver was kinda of an overkill for me for such a simple task and also it started to crash and I could never recover. Instead a good friend of mine told me about Spark, it’s a light and free shortcut manager that let’s you define custom shortcuts per application and execute scripts / commands, that’s just exactly what you need.

The setup is simple, click “All Applications’s HotKeys” it will show a drawer, click the + button there, add Safari.

In there, hit ⌘1 to add a new AppleScript instruction, name it “Tab1″ and on the source write this:

  tell front window of application "Safari" to set current tab to tab 1

Click the shortcut button and setup your shortcut, I suggest of course for the first tab ⌘1

Hit save, and there you go, repeat that 8 more times changing the tab name, the shortcut and the last number on the AppleScript which refers to the tab name.

Also, as a goodie, I added the LastTab shortcut bound to ⌘0

  tell front window of application "Safari" to set current tab to last tab

After you are done, go back to to Safari and test your brand new custom shortcuts to switch tabs.

Yes, now go ahead and tell your friends!.

Sexiest Kitten In The Hood


she is gorgeous!

About Writing And Poetry

This is why I love Bukowski… and Gulden Draak a match made in heaven.

Friendly advice to a lot of young men.
Go to Tibet.
Ride a camel.
Read the bible.
Dye your shoes blue.
Grow your beard.
Circle the world in a paper canoe.
Subscribe to the Saturday Evening Post.
Chew on the left side of you mouth only.
Marry a woman with one leg and shave with a straight razor.
And carve your name in her arm.

Brush your teeth with gasoline.
Sleep all day and climb trees at night.
Be a monk and drink buckshot and beer.
Hold you head under the water and play violin.
Do a belly dance before pink candles.
Kill you dog.
Run for mayor.
Live in a barrel.
Break your head with a hatchet.
Plant tulips in the rain.

But don't write poetry.

-Charles Bukowski.



So you want to be a writer?
if it doesn't come bursting out of you
in spite of everything,
don't do it.
unless it comes unasked out of your
heart and your mind and your mouth
and your gut,
don't do it.
if you have to sit for hours
staring at your computer screen
or hunched over your
typewriter
searching for words,
don't do it.
if you're doing it for money or
fame,
don't do it.
if you're doing it because you want
women in your bed,
don't do it.
if you have to sit there and
rewrite it again and again,
don't do it.
if it's hard work just thinking about doing it,
don't do it.
if you're trying to write like somebody
else,
forget about it.
if you have to wait for it to roar out of
you,
then wait patiently.
if it never does roar out of you,
do something else.

if you first have to read it to your wife
or your girlfriend or your boyfriend
or your parents or to anybody at all,
you're not ready.

don't be like so many writers,
don't be like so many thousands of
people who call themselves writers,
don't be dull and boring and
pretentious, don't be consumed with self-
love.
the libraries of the world have
yawned themselves to
sleep
over your kind.
don't add to that.
don't do it.
unless it comes out of
your soul like a rocket,
unless being still would
drive you to madness or
suicide or murder,
don't do it.
unless the sun inside you is
burning your gut,
don't do it.

when it is truly time,
and if you have been chosen,
it will do it by
itself and it will keep on doing it
until you die or it dies in you.

there is no other way.

and there never was.

-Charles Bukowski.



How to be a good writer
you've got to fuck a great many women
beautiful women
and write a few decent love poems.
and don't worry about age
and/or freshly-arrived talents.

just drink more beer
more and more beer

and attend the racetrack at least once a

week

and win
if possible

learning to win is hard -
any slob can be a good loser.

and don't forget your Brahms
and your Bach and your
beer.

don't overexercise.

sleep until moon.

avoid paying credit cards
or paying for anything on
time.

remember that there isn't a piece of ass
in this world over $50
(in 1977).

and if you have the ability to love
love yourself first
but always be aware of the possibility of
total defeat
whether the reason for that defeat
seems right or wrong -

an early taste of death is not necessarily
a bad thing.

stay out of churches and bars and museums,
and like the spider be
patient -
time is everybody's cross,
plus
exile
defeat
treachery

all that dross.

stay with the beer.

beer is continuous blood.

a continuous lover.

get a large typewriter
and as the footsteps go up and down
outside your window

hit that thing
hit it hard

make it a heavyweight fight

make it the bull when he first charges in

and remember the old dogs
who fought so well:
Hemingway, Celine, Dostoevsky, Hamsun.

If you think they didn't go crazy
in tiny rooms
just like you're doing now

without women
without food
without hope

then you're not ready.

drink more beer.
there's time.
and if there's not
that's all right
too.

-Charles Bukowski.

Do The Evolution Redux

I learned how to work with NSThread about 15 minutes ago, and updated my evolution simulator on the mac and got it working like I wanted to, I talked about it here.

Before:

After: