Thursday, October 1, 2009

Techqi is currently being redesigned

bored_product_guy
Update: sorry, I never managed to get back to this. I still hope to someday, but that seems awfully unlikely with every passing moment. Goodbye and good luck.

Hello there! The reason this blog looks so generic right now, and isn't being updated frequently, is because it's being redesigned by yours truly. There aren't really many good Blogger templates out there, and the default ones, well, look like this.
So I'm basically starting from scratch. Unfortunately, this means I'll be losing most of my comments, and I sincerely apologize to everyone who commented for that. But it's a necessary evil, since spammers are clearly out to make my life hell. I have been using Disqus for quite some time now, but it hasn't lived up to my expectations. I'm planning to build my own commenting system. 

Until then, I'm also removing most of the widgets installed.

The good news is, once I'm done I'll even put up the template up for you to download (for free, yes). I should be done by the end of this month. Plus, a great new WordPress blog on web design, and a portfolio site are in the works. Expected launch: Christmas.

If you're a new or returning reader, please sign up for updates via RSS or email. You can also get in touch with me via Twitter. Links are also on your left. Stay tuned!

Thursday, August 20, 2009

Pagerank improvements and on top of Google Search

bored_product_guy
This is great! I just discovered that my blogs' Google PageRanks have gone up: Techqi (this blog, ahem) now has a PR of 3, and AV Scan, which I discontinued due to insufficient viruses, made me happier - it now has a PR of 4! I used to think PR increases in general with time and decreases for inactive sites, but apparently there's more than meets the eye.
In addition, some of my (edit October 10: alas, relegated to page 2!) posts are still on the first page (and even on the top spot) of Google's search results for certain keywords. I'm blogging for about two years now and I'm really encouraged by all this. The quality of your posts still counts, it seems.


Saturday, August 8, 2009

My stand-in portfolio site

bored_product_guy

Hello there! I'm currently working on my portfolio site, but for the time being this page is going to provide shelter for my writing samples. Comments are welcome.

Published articles
{Please note that these articles maintain their original paragraph structures and were not really meant to be blog posts unless explicitly stated. Moreover, any images in the original articles aren't included, and any links cited might not be relevant right now. Some of these articles have been slightly edited in their present incarnations.}
  • Google gems
    • A short how-to/teaser on Google products. This article was originally published in ‘Portal’, the weekly tech page of Daily New Age, Bangladesh on March 12, 2006 and is available online. 425 words.
  • How to get rid of the Blogger navbar
    • A tutorial aimed at Blogger beginners on how to hide the Blogger navbar that I wrote for this blog.
  • Have a byte!
    • A comprehensive, magazine-style take on a variety of food-related websites in the wake of local food adulteration scares. Originally published in ‘Portal’, Daily New Age on April 3, 2006. 1184 words.
  • Regional Microsoft boss stresses copyright issues
    • A news article for the Business page based on an exclusive interview of Chris Atkinson, president of Microsoft South East Asia Region, during his trip to Bangladesh.This article was first published in the Business section of Daily New Age on November 9, 2006 and is available online. 477 words.
  • A networker's delight
    • A book review.This article was first published in ‘Portal’, Daily New Age on June 12, 2005 and is available online. 818 words.

Friday, June 19, 2009

Working on a new layout for Techqi

bored_product_guy
Yes, --
1. I am alive, and
2. I am working on a new template.
I'll put the template up for download when I'm done, too.
Cheers.

Wednesday, February 25, 2009

Having template problems

bored_product_guy
My Blogger template has been causing me some major headache, and it's only gotten worse. On top of that, I recently discovered some stats regarding sites which look ugly, which has shocked me to the core. Admittedly this blog definitely doesn't fall into the beautiful category, so I guess I shouldn't have been so shocked! All in all, I think the time is right for me now to take a short break from blogging to create a nice template for my blog, from the ground up. Stay tuned, and please subscribe to my feeds via your reader or via email. I promise I won't disappoint.

Monday, February 23, 2009

Using tags to improve speed, convenience of webpages - pt 1

bored_product_guy

Background
When it comes to designing webpages, be it for a personal blog or for a full-blown commercial website, the web designer is faced with a dilemma:

  • The less code you can have on your webpages, the faster they will load. Hence, even the top websites ignore standards on a regular basis.
  • The more structured your webpages are, the more accessible they will be to screen readers, aggregators, search engines, and even to browsers. This often means more code.

I gleefully call this the Speed vs. Accessibility Paradox. However, there are two good reasons for why you may not have given it conscious thought, or probably hadn't even realized that it exists.

Firstly: the consistent demand for loading web pages and web-based applications faster. Web 2.0 and beyond presents and insists on a fluid, desktop-like online experience. The number of readers who do not use screen readers or scripts to gather information far outweighs the number of those who do. Browsers will ignore most common markup violations anyway, and in addition, web pages are no longer expected to behave as documents per se -- database management systems have evolved enough to handle that department, and some of the great ones are free.

Secondly: history, and practice. It all started when, overwhelmed by the popularity of the World Wide Web in its early days, there was a desperate need to include stylistic markup in HTML pages, e.g. <font>. The browser wars escalated the trend of deviating from HTML specifications, and although CSS eventually kicked in, no browser today is 100% standards compliant yet. Therefore it's no wonder that many web designers continue to ignore web standards; likewise, there seems little chance of deprecated HTML/XHTML tags becoming obsolete overnight.

It goes without saying that the trade-off between reducing code to make web pages load faster and including code to adhere to standards and improve accessibility won't have a significant impact on the site's performance -- unless of course the site in question draws in a large traffic on a daily basis and could do with some optimization (such as search engines, which constantly need to improve), or is seeking to explore a potential audience.It's up to the web designer to choose which factor to compromise on, and how much.

In this series I'll look at some 'foul styling', i.e. using XHTML tags to sidestep CSS when we can, and some ways to make your web pages more accessible to screen readers and regular readers alike:

Using tags to improve speed, convenience in webpages - pt 2
*hang on*
Using tags to improve speed, convenience in webpages - pt 3
*soon*

Sunday, February 22, 2009

What is the slowest day of the week for your blog?

bored_product_guy

Generally it's the entire weekend1 for the internet; however, depending on your site it could even be a Wednesday that produces the least traffic.

In my case the weekends are always dry, and especially so if there's something like the Oscars on air (drat...). My stats are too poor to put up for display here, but yes, events of note do woo away your readers, you can take my word for it. I think I'll cut down on my weekend blogging...

1The figures provided in this link are from 2004, but unfortunately there doesn't seem to be any recent statistics on this.

Saturday, February 21, 2009

Attack of the bx- errors

bored_product_guy

In case you’re among the uninitiated, bx- error codes are randomly assigned to template issues in Blogger blogs that are currently irresolvable. I had thought I had seen the last of my share of bx- errors last year, but apparently the gods of Blogger certainly don’t think so. I tried to perform the simple task of moving the lines of CSS mentioned in this post higher in the header section of my blog, and got a bx- again. Worse, when I tried to edit anything in that post at all, the code got garbled, and at times the page would even refuse to load. The solution? As I had figured out myself. It’s going to be a rough summer…

Friday, February 20, 2009

How to write things like <head> in webpages

bored_product_guy

Whenever you try to write code including tags like <head> in webpages, the browser steps in and refuses to process angle brackets. There's actually a simple solution, but being moronic I keep forgetting this: just type "&" next to "lt;" or "gt;" (without quotes), for left and right angle brackets respectively. There.

The opposite? To write the actual code to get <head>, type "&" next to "amp;" and followed by "lt;" or "gt;" (without quotes again) to get the left and right angle brackets, in that order. Hence: &+amp;+lt;+head+&+amp;+gt;, sans the +'s. Voila.

Standards compliance, huh?

bored_product_guy

I decided to run quick CSS and HTML/XHTML markup validation tests on major sites using the tools on the W3C website (here: markup and CSS). Here’s what I found:

site markup errors CSS errors
Google 62; 9 warnings 1
Slashdot 145 none
Wordpress.com none 52
Technorati 13; 6 warnings 19
Yahoo! 48; 44 warnings none
NYTimes.com 318; 69 warnings 52
Microsoft 176; 36 warnings 33
Lifehacker 314; 70 warnings 2

Despite such errors, since browsers will almost always load pages the way they were intended to, it makes sense to reduce code, especially when your site receives millions of hits. Google’s homepage, for instance, doesn’t even have a DOCTYPE declaration. But as web designers and students of the trade who are persistently insisted across textbooks, websites and workplaces to follow standards, where does that leave us?

Thursday, February 19, 2009

Closing down AV Scan

bored_product_guy

This made me sad, but it was the right thing to do.

Wednesday, February 18, 2009

It’s incredible

bored_product_guy

It’s incredible. It took my close to two hours just to publish my last two posts on Blogger. Every time Blogger was scrambling up code I was trying to display; I finally realized that I had to change a setting (read here). On top of that, I’ve tried out so many bits and pieces of code (call them widgets, modules, plugins or whatever) that my Blogger template right now, having accumulated years of dilapidated apps, is pretty close to a digital scrapyard. Looks like there’s no way other than hand-coding a brand new template from the ground up…

Tuesday, February 17, 2009

How to get rid of the Blogger navbar

bored_product_guy

There's hardly a Blogger user to be found who hasn't been irked by the navbar. True, it’s not entirely useless – it lets you quickly log on to Blogger and provides a quick customization link. But by just being there the navbar brings a generic look to your blog, which is enough to make readers not take it seriously. On top of that, the navbar allows any Blogger user to flag your blog! (Which, assuming you’re one of the good guys, puts you at the mercy of the goodwill of your diverse readership.)

Therefore it’s imperative that you hide your Blogger navbar, or at least know how to. In case you’re wondering, the Blogger Terms of Service doesn’t say anything about the navbar, so you’re good to go.

Hiding the Blogger navbar

1. Sign in to your Blogger account. This will take you to your Dashboard. Click on the Layout link of your blog.

2. Click on the Edit HTML link on the Layout page. Don’t worry, you don’t have to know anything about HTML! I’ll take care of the code.

Scroll down the Edit Template field and paste the following immediately before the Profile section as in the following picture:

#navbar-iframe {display:none; visibility:hidden; height:0px;}

You ought to add a comment (/* for example, this part would be a comment */), just in case you wonder someday why you inserted this particular line of code. Anyway, what this line of code does is hide the navbar – but this will leave some empty space above your header, or as in my case, leave less space and make your template look like it’s been trimmed on the top.

3. If there’s an empty space above your header, scroll up the Edit Template section and paste the following immediately within the curly braces of the body section and as shown in this screenshot:

margin:0;
top: -20px;
position: relative;

Once again, don’t forget to add comments. What we’re doing here is negatively positioning the body of your template to hide the area left vacant by the absence of the navbar. (Some bloggers have proposed solutions using the !important tag, but this might cause problems with screen readers and is therefore not advisable.) Please note that the margin section might already be defined in your template. In that case, just skip pasting the first line. Also, -20px might be too much or too less; tryout a few values to see what works best for you.

4. If your template looks like it needs a tad more space on the top (whether step 3 applies to you or not), just increase the margin a few pixels. For instance the following did the job for me:

margin:2px;

5. Save your changes by clicking on the big orange Save Template button beneath the Edit Template field. Click on View Blog -it should now be navbar-free! If you want to bring back your navbar, simply remove the lines of code you’ve added and save your template.

Happy blogging!

Wednesday, January 28, 2009

The 3 best free blog editors, and their quirks

bored_product_guy
Okay, of course this is highly subjective but I doubt anybody’s going to disagree with me on my picks.

Microsoft Writer: the best, and possibly as good as a paid alternative. I’ve never been as happy with a MS product since… Notepad. Writer will remind seasoned users of Frontpage, while newbies will be right at home with the simplicity of the application.

writer Best features: can synchronise posts; supports most blogging platforms; ease of use; plugins available Let-downs: some issues(see end of this post)

There’s also the Flock blog editor, the built-in blog editor of the socially-friendly browser, Flock; and ScribeFire, the able Firefox plugin. It’s always a merry occasion when you have a blog editor right inside your browser, and ScribeFire even comes with useful options ranging from an inbuilt revenue-earning system and one-click posting to advanced pinging options. flock scribefire

But if you ask me, at the end of the day Writer wins hand down for its user-friendliness and solid synchronization.

Known quirks: many of the plugins for Writer (there aren’t really many, surprisingly) don’t work; others are plain scratchy. Among the ones broke are the ones made by the Microsoft devs themselves (not so surprising, eh?). Formatting often doesn’t agree either; take a look: line gap -b -copy line gap -w

The original post in Blogger has a line break, which Writer fails to reflect. From my experience, I’ve had trouble synchronising posts with both Flock and ScribeFire. They also support fewer blogging platforms compared to Writer; and although ScribeFire in particular has some interesting features, both applications essentially feel like plugins, and lack the necessary MS Word-like seamlessness one would look for in a blog editor. [Update: I had just published this from Writer where the post turned out like this. I had to dig into the code -- a simple matter of tags getting mixed up -- to fix it.]

Exceedingly busy

bored_product_guy

It’s getting harder and harder to find spare time, as I had predicted. I haven’t been able to look up any web designing/developing or programming texts yet, but I’ve been surfing a bit, with mixed results. Surprisingly, there’s still a dearth of quality sites on coding and aimed at novice to expert level users.

Saturday, January 17, 2009

Finally, focus

bored_product_guy

In short, this blog is about the way I relearn and redeem my geekery.

That means it’s a sort of scratchpad for my self-taught endeavours into coding and such. I’ll write down anything I learn anew, and which will usually involve some sort of practical usage on my part. Like how to fix the look of my blog (a pretty likely topic, given it’s so ugly right now), or how to pull off a certain CSS trick, or something in RR or Python.

So what’s in it for you? If you’re: a serious blogger or developer who’s starting out or is trying to reacquaint him/her-self with code or design issues in a systematic manner, or a casual blogger or web developer who likes to stay informed, then this blog is for you. And of course, it’s for all my friends – which goes without saying :)

My gameplan:

  • Phase 1: CSS, XML, JavaScript
  • Phase 2: AJAX, PHP, MySQL, Adobe AIR
  • Phase 3: Python, Ruby on Rails, C#

About the posts My posts usually aren’t going to be huge (I’m aiming for the 200-300 word region), and if there’s an existing tutorial that does the job I’ll provide the link and cut the description part. This gives credit where it’s due and also keeps posts small, and hopefully, less boring. I’m hoping to have multiple posts per day week Initially things will be a lot slower, as I have other occupations. Potential topics include (but aren't limited to): blogging (esp. in Blogger), web design and development, programming, coding practices, software, social networking, SEO, and the occasional odd post to remind you I'm still human ;)

What happened to you? If you’ve been around, you probably know things haven’t always been like this. I wrote about everything ranging from news commentaries to odd news to food reviews. I’ve learnt a lot about blogging since then, especially during my long break last year when I hardly blogged at all. Currently I’m focused on blogging about the aforementioned stuff: these days I’m suffering from a strange and unforeseen nostalgia for coding, which stems from a past life where I actually used to be a computer engineer and inspired web developer. Therefore, I’m trying to get back to it, purely for my own interests but not sans the passion of a professional.

Thursday, November 13, 2008

How to partition a hard drive in Windows Vista with maximum shrink

bored_product_guy
Okay, I should've called this article How to shrink partitions in Vista... mea culpa! Shrinking existing partitions on your hard drive in Windows Vista can be a real pain, or at least that's my experience using a machine which came with a preinstalled version of the OS. My faithful copy of Partition Magic turned out to be too old for my computer, so I was left with Vista's built-in disk management console, which isn't actually the most user-consoling piece of software out there. Nevertheless, I managed to shrink my 200GB+ C: to my liking. Here's how. 
  1. If you have no idea where to start, here's a Lifehacker step-by-step guide. Generally hard drives with preinstalled OSes have two primary partitions (C: and one which contains the restore image). C: is the one you'll be working on; don't do anything to the partition which contains the factory image.
  2. Don't start partitioning just yet. Check the available shrink space first. If Vista won't shrink a certain partition beyond a certain level, it has its reasons (read more). If you still need to shrink the partition, first delete temporary files (I recommend the excellent and free CCleaner) and shadow restore points (here's a how-to) and try again. This should increase the maximum size by at least a few gigs.
  3. Still thirsting over (presumably wasted) space? Check out a smarter way to manage System Restore space and apply accordingly. In addition, you could also tweak your paging file and/or move it to a different hard drive.
  4. By now C: should be optimized to offer maximum available shrink space. Hit 'Shrink'.
Enjoy!

Thursday, November 6, 2008

Error codes in real life

bored_product_guy
Okay, I deleted my last post as I said I would. It's hard to think of an implied reader or audience when you're blogging and don't really expect anyone to read your posts, but here I go again: in case you've hung around my blogs, you know I haven't been posting in a while. Multiple reasons, in order of severity: Read post
  1. Blogger's template collection borders on ugliness. They haven't introduced new templates in forever. Tweaking your template to make things a tad prettier isn't easy either -- every once in a while bugs emerge (such as horrible bx- errors) and often they're around for so long that one can't help but wonder whether Blogger is even interested to serve its loyal users. Right now I can't even rearrange my page elements.
    • Solution: taking control of your own code. You have to be more than a casual coder, and must be willing to accept this kind of overhead. Of course one can always move on to a different platform, but then again each platform has its own nuances. Besides, people are like trees -- they grow roots, don't they?
  2. My last whining of the day which involves Blogger. You do come across websites which offer template hacking tips and custom templates, but compared to WordPress' fanspired support system it's nothing (Amanda's Blogger Buster is perhaps the only beacon of hope). The templates are usually dull, and the best ones are usually ported from WP templates.
    • Solution: start writing. Of course it's time consuming, but there's definitely demand for it, and it clears up your etchy self as well.
  3. I tried installing Windows XP on my computer that comes with Windows Vista Home Premium preinstalled. Horrible consequences: Vista refused to load, and XP didn't even get installed. Lost all my data. Tried backing up using Ubuntu but my lack of Linux know-how got into the way. Went to Staples, where I got my machine from, and they demanded $80 to perform the backup. Yeah right.
    • Solution: besides fining Staples and similar joints for being a public nuisance, everyone ought to know how to use Linux, at least on a basic level. Backup and imaging software help, but one ought to know how to take care of such preinstalled OS-generated issues manually. Perhaps Windows PE?
  4. Always running short on time. Have too much on my hands: reading, writing, assignments, worries. Hardly have time for social networking, online or off. Needless to say the world isn't what it used to be...
    • Solution: you make time. For instance, write short posts, but still do post every once in a while, preferably on a weekly basis at least.
Will do.

Monday, September 22, 2008

A networker's delight

bored_product_guy

ONE of the major problems with technology documentation is that the writers appear to sing oodles of praise over applications which don’t quite work out their way. From time to time you will be plagued with lines of code that look okay in print but refuse to compile, books that promise to make you a master in a particular field or application but won’t chalk out its limitations, and the most important areas apparently getting such less notice in volumes that you wonder whether the authors actually knew what the thing was intended for. The situation gets particularly critical for specialized fields where you are forced to buy multiple titles and download tons of web pages to gather information that queerly remains unbound in a single dependable edition.

Sufi Faruq Ibne Abubakar’s ‘ISP Setup Manual’ aims to particularly address the issue. A well-known local tech guru, his book is subtitled ‘(A) Step by step guide for ISP and corporate network’, and easily qualifies as a first-hand guide to implementing Linux and networking.

The manual, or ‘black book’ as Sufi calls it (who intends to bring out ‘red’ and ‘blue’ books for intermediate and advanced users in future) is divided into ten sections. The sections are meant to be read sequentially while further relevant information, including documentation, software (and even pictures of the hardware) come bundled with the free CD, which is a wealth of information in itself.

The book itself starts off with the amateur user in view who is eager to move on to sophisticated training in networking. Everything is clarified from the very start and you even come across occasional jokes and smileys when you’re reading, which definitely keeps your journey alive. A book called ‘ISP Setup Manual’ and weighing over 400 pages could always be expected to attract readers with a genuine professional interest or a geekish strain; nevertheless the language is easy to follow, and the format maintained is consistent and simple. But what’s probably most significant about the book is that all the issues and discourses in it relate specifically to the Bangladeshi context, which makes it an indispensable reference.

Indeed, all possible supplementary sources are cited throughout, including the relevant hyperlinks relating to every single piece of software and hardware to the current norms in the business and even contacts of local experts whom you can turn to for suggestions.

There were a number of things I liked about the black book. First of all, this is probably one of those very few titles that actually convey the message throughout that yes, everything shall work fine. And they do. It’s this true down-to-earth expertise that triggers your eagerness and confidence as a reader.

Again, the content management and structurization is excellent. Sufi knows exactly where to draw line and before you know it you’ve moved on to the next chapter. The sheer amount of support provided is also nothing short of amazing: there’s the CD, the hyperlinks and contacts, the list of hardware vendors and means of procurement (including eBay!) – and what’s more, you can register at the publisher’s website for feedback and solutions.

Apart from all that, you can’t help but admire the author’s penchant for aesthetics. The book looks beautiful in its black cover which actually features a scene from a Prachyanat play. All the section and chapter illustrations are vivid and attractive as well.

Of the negatives, I didn’t like the fonts that were used. TNR and Courier are too commonplace and unqualified for serious publication, and I feel such printing etiquette played a major role in making pages appear brimful and lame which were otherwise an uncomplicated and interesting read. I’m not much of a fan of Sufi’s grammar either, which often drops an article here and there and often highlights terms unnecessarily.

For his second edition of the black book, I’d strongly advise him to look into these issues. I’d also suggest the first few chapters to be extended with a view to providing some more breathing space for interested beginners who aren’t adept in Linux but would like to go through the whole contents of the book. The glossary could actually cover all the terms and key topics mentioned throughout, and appending a current price list of all the tools used at the end of the book could also go a long way.

All in all Sufi’s black book is a highly standard publication and recommendable source of information for anybody with an academic or professional background in computers and networking. If you deem yourself a seasoned techie who’s taken a different path, well, I had long forgotten which organization in Bangladesh is for what in communication, and what DVB is for, and how to protect radio towers from lightning. Having all that come back in a simple, easy-going readthrough was a pleasant experience.

Regional Microsoft boss stresses copyright issues

bored_product_guy

Chris Atkinson, president, South-East Asia region, Microsoft Asia Pacific, repeatedly urged strict implementation of the Intellectual Property Law in the country in order to expect increased activity and investment from the world’s reigning software corporation.

Acknowledging the delay in efforts to localise computing good-humouredly, he said: ‘Everywhere I went (in Bangladesh) everyone was talking about why Microsoft has been so late to come to Bangladesh. All I can say is, well, better late than never.’

In an exclusive interview with New Age following the launching ceremony of the Bangla Language Interface Pack (LIP) for the upcoming Windows Vista operating system and Office 2007 suite, he revealed that a version of Microsoft’s flagship Operating System software geared at first-time Bangladeshi computer users would be released as soon as in a few months’ time.

Dubbed the ‘Windows Vista Starter Edition’, the OS will have the Bangla LIP pre-installed and is expected to dominate the country’s PCs. Microsoft is also hoping the raise amount the revenue earned from the land with the software — which currently is nowhere near the company’s yields in the West. Atkinson urged, however, that Bangladesh would have to work harder on implement IPL in order to expect increased investment from Microsoft.

‘There is this idea that developing countries can’t pay for software,’ he said. ‘But developing countries cannot but pay for software. If you don’t pay for software, there won’t be any software industry.’

‘Countries like Korea and Malaysia have made significant progress in reducing piracy in the last few years and venture capitalists are going there. In a study in Indonesia, we found that if you reduce piracy by 10 points, the software industry increases threefold, the tax amount paid is increased 5 times and the number of jobs is increased by 7 times.’

He also downplayed any possibilities of Open Source initiatives forcing Microsoft to resolve to such collaborative measures. ‘Microsoft is a company that is 31 years old and we are maturing. Choices are good. People can check out their options and find out what is best for them. People like our software for their quality,’ he said.

When asked how important the Bangladeshi ICT market was to Microsoft, he said that it is a populous country and there are many opportunities. He cited the fact that there are around 400 software companies here and was in high praise of local developers. ‘When talking about this region, most people only talk about India, but there are many skilled people and there are also many opportunities here.’

The venture, partnered with BRAC University and Bangladesh Computer Council, is geared at making computing a more relevant experience for the local population and creating opportunities for education, public and private services and addressing the digital divide.

The LIPs will also be available for download for genuine Windows XP (service pack 1 required) and Office 2003 Standard editions.