My space in the world

Code is poetry

Posted by Sayak
December - 21 - 2009

I just had my campus recruitment from 14th to 18th December ’09. I got placed in Infosys Technologies, the top Indian software company and an MNC. For me, the picture is as follows:

 

  • Training date: Starts from 27th Jan ’10
  • Training location: Infosys Mysore
  • Field(s) of work: Devel, Testing, Mainframe, Webserver etc.
  • Joining date: Immediately after training

Infosys offers this world class training at Mysore. My college will be dispersing the students off on or before 27th Jan and we’ll be ported to Mysore. I am yet to receive any details on what the training will have and what are the DO’s and DONT’s for that. But I am confident that whatever it is, I am ready to take up. I’ve heard that the trainees are so busy that they end up having a daily cycle of 08:00 to 00:30 at night, but this doesn’t scare me in any way. In fact, I am mentally prepared to be burnt out, yet have fun.

I am so looking forwards to the Mysore training. For all those who have got a chance to go for this, I suggest that you shouldn’t think again and go for Infy. It’s an amazing company and a great platform. And of course, the training is the best you can get in this part of the globe. It feels pretty damn good to be an Infoscion!! πŸ˜€

Posted by Sayak
November - 11 - 2009

Well, I’m quite certain that there are a million tutorials on this subject. But I felt that the way I set up my Grub was really easy Β and worth sharing. What I am trying to do here is to install a splashimage with the Grub2 bootloader on a (K)ubuntu (or equivalent) system. So here goes…

  1. To begin with, you’d need to install the “grub2-splashimages” package. Please make sure that you’re running Grub2 and not an older version before you continue.
    $ sudo apt-get install grub2-splashimages
  2. Once you do that, you should have a bunch of images under the folder: /usr/share/images/grub/
  3. By default, Grub should offer you a 640×480 resolution. In most cases, the graphics card supports a higher resolution. You can check the highest available resolution by entering into the Grub command mode (press ‘c’ at the boot menu) and typingΒ vbeinfo. Let us assume that your graphics card can support upto 1024×768 resolution at a 32-bit color depth.
  4. Once you know the resolution, you can scale your own image to that size and save it as a TarGA (tga) image (use an image editor like Gimp) within the /usr/share/images/grub/ folder.
  5. Now we edit the theme script. To do that, enter the following in your terminal:
    $ sudo kate /etc/grub.d/05_debian_theme

    Where you can use your favourite text editor where I used kate. In that file, find the following line:

    for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga} ; do

    … and change it to:

    for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/splashimage.{png,tga} ; do

    Note: Replace theΒ splashimage part with the filename. For example, you are using “tulips.png” as your image, replace “splashimage” with “tulips”.

  6. Now to set the resolution, edit theΒ /etc/default/grub file and change GRUB_GFXMODE to 1024×768 (or whatever your supported resolution is).
  7. Once you are done with everything, run:
    $ sudo update-grub

    Once you execute the above, look for the following line in the output:

    Found Debian background: splashimage.tga

    And that should be all!

If you wish to change the text color, you may change the /boot/grub/grub.cfg file to edit the menu_color_normal and menu_color_highlight values (those are written as foreground/background format).

GRUB2 Splash-image preview
Posted by Sayak
November - 6 - 2009

I finally got rid of the last theme I had and installed something that, as per my conventions, looks quite professional. This is a modified version of the CreativePress wordpress theme, which offers a range of nice eyecandy effects using jQuery. Setting up the theme was quite a tedious job — removing my feeds from the planets (sounds ironic), doing the whole theme changes, and software upgrade and all that without access to db (why? well, our college university filter blocks it under category “hacking sites”….).

Anyway, of all the features, I can brag about:

  1. The preview slider: I can set the slider to take up posts from a fixed category, “featured posts” in my case. Once I attach a “custom field” called ‘preview’, the slider picks up the image and scales it accordingly to use it as a thumbnail.
  2. A nice homepage: It gives me a nice homepage. Hence now, I have completely removed the “blog” subdomain from my server and I am left with only one wordpress install in contrast to the two independent installs on different domains.
  3. WordPress 2.8.5: Just upgraded from 2.7 to 2.8.5, and I hope that things get a bit more stable now :p Apparently 2.8.5 has some much needed security fixes, which IMHO was worth the pain incurred from upgrading.

Honestly, I did have a bunch of points in my mind, but I can’t remember what they were 😐

Anyway, I’m just happy that this went well. If you decide to give the theme a shot, I’m sure you’ll enjoy it as much as I am. πŸ™‚

    Posted by Sayak
    November - 6 - 2009

    They call this “strawberry ice-cream” 😐
    Whatever, doesn’t even remotely taste like ice-cream. I was rather getting a taste of raw strawberries and cream discreetly. If I’d experiment, I would add some honey in it! πŸ˜‰ Or maybe blend the cream with strawberry sauce and add sugar dipped strawberries, mmmh!
    Nevertheless, really nice color combination:

    Strawberry and whip cream

    Camera: Nikon D60 DSLR
    Mode: Normal

    Posted by Sayak
    September - 29 - 2009

    Once again, we are more than happy to release yet another of our wonderful ‘value added services’ at the KDE Community Forums

    KDialogue is the ideal place for any KDE user and/or fanboy to ask questions to KDE contributors. And well, the questions can be about anything, not necessarily related to KDE, and we will gladly approve the question as long as it follows the rules. Every KDialogue session will involve interviewing one KDE contributor. Once we have a kdialog session running for a predefined time, we’ll close down the topic and submit the most popular questions (based on voting statistics) to the contributor, which will be then published on behindkde.org.

    But you already know all this, don’t you? So why wait? Come and join the first interview session with Jonathan Riddell. Ask your questions, or vote upon the ones you find exciting! So see you there πŸ™‚

    Posted by Sayak
    September - 21 - 2009

    As always, a LOT is going on at the KDE Forums. From the top of my head, I could think of the following features we now offer:

    • KDialogue: KDialogue offers a chance to all members of the KDE Community to ask questions that they always wanted to ask. In short, we are offering a open-to-all behindkde.org – and by open-to-all, I mean every user who is enthusiastic about KDE desktop and wishes to know more about the KDE developers and contributors who make KDE possible. We will be contacting a developer at regular intervals. If the developer is available, we will open a topic at the appropriate area where users can post their questions.
      All questions will be voted upon and the questions with the highest number of votes will be passed on to be published at behindkde.org
    • A better, faster search engine: We now use sphinx as our search backend. With sphinx, the minimum 4 character limit for keywords isn’t applicable anymore. Most common words like ‘kde’ can be searched within milliseconds. We later plan to further enhance the search system by integrating tagsearch and a custom RSS feed, all using sphinx.
    • We love git: We are growing more into a code repository! With the extensive amount of new features being added, we needed a better way to update our server. Now we host a git repository locally on the KDE Forum server. The repo serves two purposes:
      1. It keeps the forum copy of the software updated.
      2. It sends commit information to CIA.vc which then announces the commits at our channel #kde-forum (using an IRC bot).

      Moving to GIT has really eased up updating data on our server. Can’t wait to see KDE moving to GIT πŸ˜‰

    • A new admin! Well, this was somewhat pre-planned. Luca “einar” Beltrame of Italy had been with the forums since the very beginning. Luca conducted a Klassroom course in the initial days. We discovered that he wished to do more, so he joined the global moderators. With his excellent work towards forum promo activities, he quickly became our PR guy. Now as we needed yet another guy who could take care of our baby, we didn’t hesitate in offering him the position of forum administrator and we are really happy that he accepted it gladly.
    • Much more to come! Ofcourse.. but we are also looking for more volunteers. With new ideas coming up everyday, we at this point need some help with code, or other work like translations. By code, I mean coding in PHP for the board software we run (phpBB). So if you are a PHP coder, and you’re interested in participating with the forum team, don’t hesitate to find us on IRC at #kde-forum (network: freenode)

    That’s all for today! Stay tuned for more πŸ™‚

    Posted by Sayak
    August - 3 - 2009

    We finally take the endeavour to announce the release of the brand new KDE Brainstorm. This is one of the largest MODs installed on our forum software, yet integrates smoothly with phpBB, the board that runs KDE Community Forums.

    This upgrade involves numerous changes. I’ll try to cover a few of them here, although there’s much more than these on the menu! πŸ™‚

    • A full AJAX interface

      KDE Brainstorm offers a 100% AJAX interface supported by all modern Gecko and Webkit browsers. For browsers that do not support JavaScript and for our members who like a non-JS environment, the brainstorm interface will provide full functionality and access to all features by switching to a non-JS environment.
    • Dashboard

      Users can choose from a range of filter functionalities offered by the Dashboard. The dashboard allows a user to show unvoted ideas, random selections, popular ideas and ideas held for moderator approval. It also allows the user to limit the number of ideas to a defined age (date of submission).
    • Idea Vault: The idea vault is a storage location for ideas awaiting moderator approval. The vault locks voting on ideas that are not approved. But all other activities like adding comments, editing, deleting and reporting can be done without any restrictions.
    • Inline Editing

      All ideas and comments can be edited easily by the inline edit function. This feature works without JavaScript as well.
    • Easy dupe reporting

      Duplicates can now be reported with just a mouse click (actually, two πŸ˜‰ ) straight from an Idea-view page.
    • Comment permalinks

      Individual comments can be tracked by their permalinks. Permalink pages only show one comment, linking back to the idea.

    • Hashed link system: The portal uses hashed links in the form brainstorm.php#idea12 and brainstorm.php#cat2_page5 — This linking system is fully compatible with the standard (non-JS) linking system. For example, brainstorm.php?mode=idea&i=5 will redirect to brainstorm.php#idea5. Please note that the hashed linking only works with an AJAX enabled interface.
    • Eyecandy! The portal uses some smooth fade, shrink, hilight and scroll effects for navigation — mainly aimed towards further improving usage experience.

    … and many more! A big credit goes to KDE Community Forum staff who devoted their time to thoroughly test the interface for any potential errors in code. Although, I request you to report all bugs you come across at the forum feedback area. Also, please note that this RC1 is a feature freeze release, ie. for now, we’ll not be immediately working on new feature requests.

    KDE Brainstorm is a sub-category inside the KDE Community Forums. It is managed and administered by the Forum Staff itself. Furthermore, you will need to register for a forum account in order to have write access to KDE Brainstorm. Contact the forum team at the feedback area or on IRC ( #kde-forum on irc.freenode.net ) if you have any questions.

    Posted by Sayak
    June - 28 - 2009

    We finally finished upgrading the KDE Community Forums to a shiny new board!

    We changed a range of things, some of them being:

    • The board software: KDE Community Forum now uses phpBB 3.0.5. We thank all phpBB team members, especially Chris Smith (cs278), Ashley Pinner (NeoThermic), Nils Adermann (naderman) for always being around and monitoring the progress.
    • A great new theme, a fine work by one of our admins, Ingo Malchow (neverendingo)KDEsign4 - A KDE Forum Theme
    • A fresh new look to KDE Brainstorm:
    • Topic tagging and tag cloud
    • A little more AJAX here and there πŸ˜‰
    • A lot of optimizations

    We hope to have a smooth ride with this nascent change. Many thanks to the forum staff who made this possible.

    Oh, and as there have been numerous things to look at, it is probable that we missed out a broken edge somewhere, since afterall, we are all humans πŸ™‚
    So if you find a bug anywhere on the forum, we request you to report it at the Upgrade problems thread or inform a staffer at #kde-forum on irc.freenode.net (See /msg sKreamer forumstaff for a list of staff)

    Thanks, and enjoy!

    Posted by Sayak
    June - 26 - 2009

    So as I finally got my hands on this new laptop, I cut out a drive about half the size of the full HDD (leaving me with a 160 GB and a 142GB partition). As I had a Kubuntu Jaunty disk shipped, I popped it in and went through the usual process, the same I have done countless times. With having Kubuntu 9.04 x86 installed on an ext4 partition, I could comfortably dual boot with the pre-loaded Windows Vista Premium and Jaunty. I noticed a big list of stuff that I needed to fix before having the box usable, unlike my older laptop which had everything working out of the box immediately after install.
    So anyway, I began with the GPU, an ATI Radeon HD 4570 card, and finally this guide worked out for me. Also a backport modules installation gave me my sounds.

    I am pretty happy with the performance, and it works out fairly well for me right now. Although there are a few things that don’t work yet. But I just cant seem to find the time from my office projects and other high priority stuff like the KDE Forum upgrade work in order to do extensive research on how to get these issues fixed. Or honestly, I am really lazy.. πŸ˜› Not that these glitches bother me much, as I have started focusing on more critical stuff, I guess. So here’s what all that don’t work:

    • The thing that bothers me the most, my display brightness. As for the articles google gave me, I found some unsolved issues with my model, and no workaround. It’s strange, and somewhat funny.. the keys are very moody. They work fine when I boot in, ie. before Kubuntu loads. Now if I adjust them beforehand, the keys works for a short duration even when kubuntu has loaded. If I don’t nudge them before bootup, I’m left with full brightness until I reboot. I also read that switching to the tty’s and back to tty7 can make the keys operational for some users, but not me.
    • Next come sleep and hibernate.. I can’t suspend anymore, unfortunately. If I suspend to RAM, the laptop never wakes up. If I suspend to disk, upon waking up, I lose my display. But considering Kubuntu takes not more than a minute right from Grub to desktop, I can live with it for now.
    • My bluetooth button.. its a combo button with F2, and well, Jaunty doesn’t seem to care if I go crazy hitting on those buttons hard. But as a pretty acceptable workaround, I switched my bluetooth on by booting into Vista a few days back, and never switched it off since then πŸ˜‰

    But yet again, these are small issues, or “good to have” if you may call it. I’ll try to file bug reports if not reported already. I also need to configure Jaunty to recognize my full RAM (4GB of memory) which is currently shown as around 3 GB. I tried out the server kernel, but guess I need something else to have 4GB RAM on a x86 OS. Or if I manage, I’ll switch to x64 soonish. Save these points, other stuff like KWin works seamlessly, HDMI and media controls work fine as well.

    So overall, it’s really good to have *buntu working on a Dell πŸ™‚

    Posted by Sayak
    May - 31 - 2009

    Hello World!

    We now have our very own Staff blog at the KDE Community Forums: http://forum.kde.org/staffblog.php

    The blog runs on a custom software that integrates with MyBB, the board software we use.
    We will be writing about things like forum updates, KDE Brainstorm digests, and more at the staff blog, so stay tuned!

    Don’t forget to subscribe to the feeds now!

    About Me

    A son, brother and friend. Enjoys scripting and making small bits of apps here and there. Wants to conquer the world (well, who doesnt). A geek who has an obsession for ponies. Loves acoustic and wants to play guitar sitting on the Hollywood hill one day!

    A Word About KDE

    KDE is a versatile software compilation for all platforms. It is an intuitive and powerful desktop environment that focuses on finding innovative solutions to old and new problems, and creating a vibrant, open atmosphere for experimentation.

    » http://www.kde.org