Updated Pictures Of Ace
It’s been a while since I posted pictures of Ace. She’ll soon be 4 years old and is still very cute.
It’s been a while since I posted pictures of Ace. She’ll soon be 4 years old and is still very cute.
If you want to create a transparent activity in your Android app, add the following style In your res/values/styles.xml file (if you don’t have one, create it.) Here’s a complete file:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Transparent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
</resources>
(the value @color/transparent is the color value #00000000)
Then apply the style to your activity, for example:
<activity android:name=".SampleActivity" android:theme="@style/Theme.Transparent">
...
</activity>
Thanks to Mathias DESLOGES (aka FreakDev) for his posts on this thread in anddev.org.
Shameless plug: If you’re an Android user, check out my app, Dindy.
Sometime in June (no final date yet)
I’m so happy.
As long as I’m going to live Prodigy shows there will be Smack My Bitch Up videos posted on this blog. One of the all time favorite live Prodigy tracks, there’s no wonder there are so many of those videos online.
Highlights:
If you started using Google Buzz, I have some privacy advice for you:


Here are some pictures from the birthday party I had 2 days ago, organized by good friends. I had a great time and so did other people, or at least that’s what they say :)
As always, I use my birthday as an opportunity to reminisce on the previous year of my life.
The year started with my 3 months trip around the world, which I can’t properly sum up in this short post, but I’ll try anyway: on that trip I met friends almost in every country I visited (one of those friends I’ve known for over 10 years but met for the first time in real life), made some new friends, had tons of fun and many adventures, including thinking I was going to die after losing my way in a snow covered national park, a powerful experience to say the least.
As part of the trip I got to see The Prodigy, my favorite band that released a new album in the meantime, 4 times live in the UK with two good friends. I got to see them twice more after that in Turkey and in Prague for a total of 6 times this year and 9 times during my lifetime. On top of that I’m going to see them two more times in Paris this April.
I also experienced quite a bit of grief from a relationship I hoped would go somewhere but didn’t – something started exactly one year ago, right before the trip, with a girl I was really into (aka Girl 1). I wanted things to restart when I came back but she was no longer interested and later in the year moved on to be with someone else. Unfortunately I fell, yet again, into the friend zone trap and only lately have started letting go of the hopes I had for that relationship. It’s still work in progress, which makes this birthday a little bitter, but all in all it’s been a great year.
מילים אחרונות שלא אמרנו
חיבוק אחרון שלא חלקנו
הפסדתי במערכה
על הלב שלך
והלב שלי נשאר
אדמה חרוכה
(מאוסף שברירי השירים שלעולם לא יושלמו)
I’m not in the habit of ranting about free online services, but I really want YouTube to become a better website because I think it has a lot to offer me when I’m looking for something to watch.
So what’s wrong about YouTube’s front page? You can add and remove “modules” but most of them are completely useless:
The only useful modules for me are Subscriptions and Recent Activity because I have total control over them and are the “social network” features of YouTube, which actually make sense.
I’ve been writing software for over a decade now and I think I’ve established a minimal, yet very effective, set of rules for writing software:
Amit’s rules for writing software
- Make the users happy.
- Allow for known future modifications.
Doesn’t seem like much, does it? But, much like code, the brevity of these rules says nothing about what they encapsulate.
The first rule requires you to make the users happy. And by “happy” I mean make the users think your software is worth the time, money and effort they invested in order to use it. Some things are hidden in this rule – shipping on time, for example, is something that makes users happy. But sometimes achieving this goal requires you to make compromises and write code that isn’t according to your standards. Maybe you had to make an ugly shortcut, duplicate code, a hack, whatever. As long as the users are happy it’s OK to cut corners but…
The second rule says you should allow for known future modifications. That’s where all of your education, experience and religious pursuit of perfect code come into play. To make software future-proof you have to write good software, which practically disallows the aforementioned hacks from rule #1.
A delicate balance exists between the rules. Making users happy will presumably allow for a great first version but you might end up with unmaintainable software. On the other hand, write code without compromise and you may never ship. If you manage to write non-compromising software that your users are happy with, kudos to you.
I never could.