I wanted to have an AddThis share button that would fit better with the site’s design, and if you’re reading this post on its own page you can scroll down and see what I mean. While AddThis provides plenty of ways to customize their buttons, there is no way to assign your own image to the icon, which means doing it the hard way… well, relatively speaking of course.
There are three main steps to creating a customized share button. There’s some javascript to include in the footer.php, few lines of html to add at the end of your posts, and of course some styles and the icon itself.
Keep Reading
So the new look for the IliaDraznin.com is up. There were some teething pains (categories disappeared there for half a day or so), but it all seems to be working out now. Biggest addition, other than the new design, is the Syntax Highlighter script, to make all those code chunks look nice.
There are still a few features missing but I’ll be adding those in the upcoming weeks. Anyway, it’s back to our regular scheduled programming now.
Well, it’s been a while since my last post but I’m back and I’ll make sure to start posting more often.
Right now I’m finalizing an all new (and original) design for the blog; it’s gonna be minimalistic and dark. In the meantime I’m also redoing categories, cleaning up the tags and modifying small things here and there, as part of the preparations for the new design.
Placeholder is a very useful attribute of the <input> tag that is specified in the HTML5 spec. It provides a text that goes into the field, by default, and is used as a kind of a quick tip for the user about what they should type into the field, such as “type to search”, or “type in username”. The nice thing about “placeholder”, as oppose to, for example, simply setting some value for the field, is that it automatically disappears when the user starts typing something in, but it reappears if the user ends up leaving the field empty. Unfortunately this attribute, and its functionality, is actually not supported by most browsers, including Firefox 3.6 and IE8, it is however supported by Chrome 4, and possibly Safari 4 though I can’t vouch for the latter.
I recently had a few projects that needed this functionality, and while some of them had email, password and other fields that required validation, one needed just very simple text fields with placeholder text. So I wrote this very simple javascript function, using jQuery, to do just that (I’m using jQuery 1.4.2 here). Keep Reading
If you’ve been following apple related news you’ve heard that they recently started coming really hard after any applications that could be considered “sexy” or “suggestive” — whether its by virtue of having girls in bikinis in their screenshots, or suggestive text in the description — and removing them from the app store. You can read about it in more detail on this techcrunch and ars technica posts.
I’m not going to argue about fairness to developers who have invested time and money into, in many cases, perfectly legitimate apps, only to see them pulled down without any warning despite being approved in the first place. I’m not going to discuss the fact that there seems to be no clear guidelines or rules as to what constitutes an “offending” app, meaning that these can change at any moment to accommodate apple’s every whim. I’m not even going to mention that not a few months ago apple introduced the 17+ rating which is used to prevent the purchase of “adult” apps by kids, and which could be easily used to also filter out those apps from even showing up on the store pages unless age was verified. (Why Apple would not do that in the first place is beyond me, you’d think they have amateurs working there.) Keep Reading
Well, those folks on webkit dev team sure are moving fast. WebGL (OpenGL for web, i.e. fancy 3d graphics in your browser) spec hasn’t even been finished yet, as far as I know, and they already have the stuff working in the latest webkit builds. The good news about this is of course that as WebGL becomes more widely adopted, we’re going to see some interesting uses of 3D graphics for interfaces on the web. Of course the flipside of that is there’s a good chance that suddenly dozens of sites will spring up with cheesy cubes or spheres rotating with blinking colours or something.

Hopefully most uses of WebGL will be more sophisticated than that
WebGL itself is actually pretty hardcore in comparison to stuff like HTML and JavaScript. It’s a true, honest-to-god programming language. Which means that even simple things take a substantial amount of code. Heck, even initializing the damn thing takes a whole function. On the other hand, it’s also a very well established API (more specifically the OpenGL ES 2.0 API on which WebGL is based on) with plenty of resources, tutorials and websites that cover it from A to Z. So if you’re willing to roll up your sleeves and dig into it you’ll be making spinning cubes with blinking colours in no time.
For all the details and some example check out the WebKit blog.
Dell is about to reveal the skinny on its newest laptop, Adamo XPS, next Thursday, Oct. 22. Adamo is Dell’s top of the line, trying to compete with Apple, sexy line of laptops. Well actually, so far it’s been only one laptop, but now it’s gonna be a line. Apparently the XPS version is going to be thinner than Apple’s Air. 0.39 inch to be precise, which is about 9.9 millimeters, that’s less than a centimeter — just think about it. It totally blows my mind.

So far the exact specs are unknown but it seems that the price is going to be $2,000, at least according to Business Week, via Engadget.
That’s not to say I have any illusions about rushing out and buying it the day it’s up on the shelves. But it’s interesting to see what kinda specs this baby will have (for that price they better be really good), and hopefully they’ll show Apple that you don’t have to gimp your laptop to make it thin and sleek.