About MeCurriculumLicensePortfolioProjectsPublicationsBD-blog

Archive for the ‘Programming’ Category

The general structure of the program is ready and works. I'm very happy with it, I'm currently playing with templates to have a very accessible, clean layout with few page scrolling needing. At the moment is is possible to:

  • Paste a code
  • Search a Paste
  • View a colored Paste (code syntax)
  • View a Paste without syntax highlighting
  • Download a Paste as plain text
  • View all pastes (although I will allow to see the last 20-30 pastes)
 
 

As I promised, I would like to announce the start of a new BD-thing! I'm currently learning Django because of job needing and because of fun. The best way to learn a new language (even if a framework) is to apply it for solving a problem.
That's why I decided to start BD-incollo!
BD-incollo will be a kind of pastebin clone written in Django. Totally free. Free meant as free software. You may download the sourcecode and use it by your own.
Ok, what's difficult with this? I'm planning to release a decent usable version in less than a week.
This means, I want to release the sourcecode on Sunday, 2008-09-28 and also to launch the service on Monday, 2008-09-29.

I believe in Django and I know it will be possible to make it!

 
 

I set up a site for testing my theme on a fresh installation of Wordpress. This immediately brought very interesting results, as I always tested my theme on my blog which had customization/plugins I could not remember.
Nevertheless, I'm going to use this test site for validating the theme against W3C's HTML and CSS validators.

The site is up on http://test.bd-things.net/

 
 

Just released the code for the 0.9 version. Changes from the experiments of 0.8 are listed on the project page, but the most important ones are that the theme is now fully compatible with

  • Internet Explorer 7 and 8
  • Mozilla Firefox 2
  • Mozilla Firefox 3
  • Google Chrome
  • Apple Safari

And there are lots of visual improvements, too. Go to see them on the project page, and grab the code, too!
Obviously, coding for the 1.0 release has just started, and you will see the changes in the theme applied on my blog.

 
 

I'm very pleased to announce the final release of my tiny C Unix Shell. Every requirement has been satisfied. I hope I will find the time to expand it

http://bd-things.net/projects/bd-shell/

 
 

Release Candidate 2 for my C shell is out. This is a real release candidate, code is frozen and hopefully this one does not have serious bugs like RC1. As you may know, RC1 has been retired because of a bug causing a segmentation fault when launching short commands in background. Let's see why this happened. The following schema summarizes what happens when a program in background is launched:

Schema for BD-shell, anatomy of process handling

Schema for BD-shell, anatomy of process handling


As you see, there is a non-synchronous function that is called when the child exits, the SIGCHLD handler.
What if the background command is very short, like ls? It may happen that SIGCHLD is thrown before the job object creation. Bdsh RC1 did not manage this case, and crashed. RC2 fixes this and does not have relevant bugs according to my definition of 1.0.0 release.

Finally, go and grab the code!