On Smoking Ban and Personal Liberties

Wednesday, July 1st, 2009 at 10:52 pm

Today marks the first day of the smoking ban in Greece, at least as long as public enclosed places are concerned.

I won’t go too much into that. I’m definitely pro-ban. I just want to say this:

It’s sad (not to mention pathetic) to see all grown-up people acting like my 9-month old niece when I take one of her toys from her. I’ve seen drug addicts with better attitudes than some of the smokers out there (and I mean it).

If you’re in a closed place and you smoke between non smokers, you suck. If you moan and whine about the smoking ban in everyone around, you suck and you don’t have anything exciting to do with your life. If you decide to follow the ban but light a cigarette in an enclosed place as soon as you see another one do this, you suck and you have absolutely no personality.

Will this ban have any kind of luck in Greece? Probably not, because we’re one of the most dont-fucking-care-about-others nations in the whole wide world.

But some people have got to learn to play by some rules, someday.

Posted in Life, Rantings
by Sugar

Why Greek Sites Suck #6: Reporter.gr

Thursday, June 18th, 2009 at 7:47 pm

This WGSS will be really, really short. I promise.

I will ask you, dear readers, to point your browser to an article page in Reporter.gr (say, this one), take a deep breath and count how many animated banners and paraphernalia you can find littered across the page.

reportergr

I count:

  • One 468x60 banner on top, accompanied by two 120x60 small banners on its right. That makes three.
  • One big, 728x90 banner just above the content.
  • Three 120x300 banners in its right sidebar. Not to mention the Google Ads just below them. But Google ads visual clutter is irrelevant compared to this lengthy animated behemoth.
  • The obligatory 300x250 inline banner in the article text.
  • Another 120x300 banner on its left sidebar, accompanied by a small 120x60 just below it.

So that makes:

3 + 1 + 3 + 1 + 2 = 10

That’s ten, my dear readers. Friggin’ ten animated banners on the same content page. Not to mention 3 revolving “New!” .gifs right there on the menu and the animated logo. Jesus web designer Christ on the advertising cross.

It’s a wonder my 2.5 years old Macbook hasn’t exploded yet with this page open in Firefox. Clearly, this is in-content advertising gone terribly wrong.

An example to steer the hell away from.

Posted in Rantings, Web Design
by Sugar

Tastes, Bad Karma Clients and Interesting Case Studies

Monday, June 15th, 2009 at 10:27 pm

Lo and behold, some of the inspirational links of this week, compiled in a short, lovely list for your viewing pleasure:

I think I gave you enough links tonight to keep you busy for a while. Now excuse me, will have to drag my sunburnt self back to bed and try to ease my pain.

Posted in Interesting
by Sugar

Introducing: Compact Multi-line CSS!

Friday, May 29th, 2009 at 11:57 pm

Ah, the smell of freshly written CSS code on Friday nights. What’s not to love.

Over my (few) years of web design experience, I’ve become anal pretty worked up with what my code looks like. It must be an old trauma from my university years, where well-written code well, let’s say, wasn’t exactly the norm (.c include files - yes, I’ve seen that with my very own eyes). As a result, be it HTML or CSS or PHP or Javascript, I can now proudly say: I write girl code.

(Don’t look at this site source code - it’s not mine. It’s an adapted template - yep, don’t ask when my new template will launch).

One thing that’s pretty important while authoring CSS for relatively large projects is the way you structure it. We’ve already discussed single-line or multi-line in this blog, plus the way you define sections and so-called variables in your CSS are already known topics. But I’ve decided to beat that dead horse a bit more.

Multi-line doesn’t cut it and single-line sucks

There’s a way to structure CSS that I want to experiment with.

I think that multi-line CSS is very readable but a total waste of whitespace and bandwidth. I also think that single-line CSS can become exceptionally tedious, especially with properties like border-radius, that require at least three lines to work relatively consistently across all modern browsers. Working in multi-line CSS and converting it to single-line just before publishing sounds a bit like an overkill to me, all those back and forths!

So what do we get when we mix the best elements of both methods?

The compact multi-line CSS structure! Tada!

*crickets chirping in background*

Well yeah, lemme show you how it’s (supposed to be) done.

How it’s done

In compact multi-line CSS, you keep the multi-line-ity of it all, but you group “relevant” properties. You know which they are: margin goes hand in hand with padding, position loves top, left, right, bottom, font properties should propably go hand in hand with line-height and letter-spacing, et cetera, et cetera.

Let’s take an excerpt of my CSS3.gr CSS and try to convert it:

.about-more h4	{
	padding: 0;
	margin: 0;
	border: none;
	color: #666;
	font: 14px Georgia, "Times New Roman", serif;
	text-transform: none;
	letter-spacing: normal;
	position: relative;
}

In compact multi-line, that would be:

.about-more h4	{
	margin: 0; padding: 0;
	font: 14px Georgia, "Times New Roman", serif; text-transform: none; letter-spacing: normal;
	border: none;
	color: #666;
	position: relative;
}

We’ve gone from 8 lines to 5, without sacrificing readability much. How about:

#footer-disclaimer	{
	text-align: center;
	font: 10px Georgia, "Times New Roman", serif;
	text-transform: uppercase;
	background: url(./themes/site_themes/css3/skeleton/disclaimer-bg.png) no-repeat top;
	color: #97ACA3;
	letter-spacing: 1.2px;
	padding: 20px 0 10px;
	margin-top: -10px;
}

…which gets the short treatment to…

#footer-disclaimer	{
	font: 10px Georgia, "Times New Roman", serif; text-align: center; text-transform: uppercase; letter-spacing: 1.2px;
	background: url(./themes/site_themes/css3/skeleton/disclaimer-bg.png) no-repeat top; color: #97ACA3;
	margin-top: -10px; padding: 20px 0 10px;
}

That’s 8 lines to 3! Quite a score, innit?

Of course, your mileage may vary and benefits won’t always be that obvious. Nevertheless, nothing restricts you from further improving this method, by alphabetizing your inline properties or put them in the order that just feels logical for you (for me, width is always before height and margin before padding).

I haven’t used it (yet), but I think I’ll try it in the FancyCage CSS I’m putting together. Well it’s no Typekit, but it may help you a bit while structuring CSS.

Hey, at least I tried.

Posted in Fun, Web Design
by Sugar

Why I Gave Up On Instant Messaging

Friday, May 22nd, 2009 at 11:20 pm

catsies

If you’re one of the few people that grace my Adium contact list pretending to be away, you should have observed it so far: I gave up on IM. I just had to.

It wasn’t that hard, I just stopped using this means of communication. Nowadays, I mainly use Twitter and e-mail to get in touch with people, the former more so than the latter. OK, I do use IM, but just for intranet purposes at work, using our homemade Pathfinder Instant Messenger. And that’s about it.

Why, I can hear you ask. I’ll tell you why. Because it’s so damn time-consuming I couldn’t do anything with Adium in the background anymore. It was the feeling that I cheated on people and made them feel bad when I wasn’t promptly replying to their messages. That’s why I found Twitter so liberating: noone expects you to be there and reply to every given moment. Well, noone should anyway.

So at first was productivity. I found myself more productive and efficient while at home. I wrote more, designed more and learned more. I learned to manage Twitter distractions and incorporate it in my workflow without serious drawbacks. And everything was fine for a while.

But I lacked something, and that was real-time human communication. And for that, I decided to take my Friday (traditionally at home) nights on IM. Just to keep in touch with friends and add to the overall relaxing feeling. Some light gossip, some link exchanging and that’s it. You give a little but you gain a sense of social satisfaction.

So I was wondering, am I the only one that declared IM bankruptcy? Surely there are more of you that just stopped using it at some point.

Do you still keep tabs on IM friends by logging in every once in a while? Or you just use Twitter and Facebook to communicate with people?

Do share your opinions in the comments.

Posted in Productivity
by Sugar