• C Language: strtok() on Mac OS X == Bus Error !!!

    While writing a simple program in C language (i seldom use C language…very seldom, so don’t think I’m a master of C Language…but I think you’re not a real computer programmer if don’t some piece of C language), i needed to create a function which used the strtok() function of the <string.h> library.
    The gcc compiler did not complain…but the program did not run, exiting with the message “Bus Error”. Whaaaat? Why? Googling around I found a forum, and noticed that I was not the only one who had this “strange” error.
    Read the rest of this entry »

     
  • Skype offline?!? My Skype connection doesn’t work and yours?!?

    It started yesterday afternoon, I was offline on Skype. Trying to reconnect didn’t work, my boss called me with a “traditional phone” and complained the same problem. Also my colleagues couldn’t connect to Skype! What’s happening??? Today the answer arrived. Skype is experiencing problems with its network’s super-nodes and Skype engineers are working to bring things back to normal creating super-mega-nodes as fast as they can. Skype’s network is composed of many peer-to-peer nodes and some super-nodes, which we can call the “main servers”. In the last hours some super-nodes went offline, so this is why many people cannot connect. Hope things can be back to normal soon. I’m trying to update Skype for Mac in order to see if something gets better, I still cannot get connected.

    If you’re experiencing my same problem, stay tuned on Skype’s twitter page to follow the situation (https://twitter.com/skype)

    Sources:

    http://www.skype.com/intl/en-us/StatusUpdate/

    http://www.tomshw.it/cont/news/skype-non-va-cosa-succede-ecco-la-spiegazione/28749/1.html (in italian)

    Last minute update: things seems to be a bit better with Skype 5.0 Beta for Mac. Didn’t try on Windows. At least my connection to skype lasted some minutes and I could see some of my contacts come online. I also tried the “test call” but didn’t answer, maybe they turned off this functionality while upgrading their systems.

     
  • Read a Drive Serial Number in Visual Basic .NET

    I needed to do it for a windows application I’m writing. My problem was to get the current serial number windows provides when a drive is formatted. You know, the one that appears when you type the “dir” command in a ms-dos prompt window. I googled around but I found only code for VB6 or code which should not have worked in a console application.
    No default .NET object was giving me the piece of information I needed, so I though to get It directly from the “dir” command.
    I got how to launch a process and get its output from EggHeadCafè but I added some work by me.
    Read the rest of this entry »

     
  • Php On The Road Framework – near to first *alpha* release

    I always sayd that one of my aims was to develop an “important” framework to make PHP work like Ruby On Rails. The first alpha/unstable/use-at-your-own-risk version will be probably released in the first months of 2010. You know…I have to work, so my experiments are done during my freetime (especially at night…). So if you appreciate my “second” job as a web development researcher you can contact me for a donation via PayPal. But now let’s talk about PhpOnTheRoad, my new PHP framework!
    Read the rest of this entry »

     
  • Installing Ruby 1.9.1 – gem install fcgi fails … FIXED!

    Hi all…first I wold thank all the people which are visiting and leaving comments on this blog!

    I’m currently working on a Ruby On Rails project for the company where I work. According to my company’s bosses decisions all projects have to be developed on a testing server and then switch the project to a production system. Tomorrow I have to prepare the “production” system for my RoR project. So I said to myself: “Please don’t go to the server farm without knowing exactly what to do”. I took an old Fujitsu Notebook (with Japanese keyboard) and installed Debian 5.0.
    Read the rest of this entry »

     
  • Mini How To: install RadRails on Eclipse without Aptana Studio? Yes we can

    I’ve tryed it…Aptana Studio is a great IDE for web development, I used it a lot with PHP…but had a great problem wich lead me to use TextMate instead. Aptana Studio can become very very slow during its startup. It is because it tries to index all your file of all your open projects. I always have more than 10 projects in my Eclipse IDE (on whom Aptana Studio is designed) and the time to wait for Aptana Studio to let me work was awful. I returned to PHPEclipe plugin for Eclipse,Netbeans or TextMate, swiching them just in case of my programming needs. But now I need something for Ruby On Rails. Ok i can use TextMate, but I also want to use RadRails installed above my Eclipse Galileo…but RadRails is now integrated in Aptana Studio! And there seems not to be a link to install it as Eclipse plugin…
    Read the rest of this entry »

     
  • RemoteSaneX – A java front-end for network saned scanners

    I think there are many good programs to manipulate and acquire images from saned scanners.

    But I had some trouble in my network configuration. I have a linux debian server which I use as a print server and samba server for some small backup for stuff I seldom use. So why don’t use it also as a scanner server?
    Read the rest of this entry »

     
  • PHP On The Road Framework…work in progress

    I always wanted to develop a PHP framework similar to Ruby On Rails…so some time ago I started this project. When I started its development I wrote PHP4 compatible code, but now I think this framework should be at least PHP5 compatible. Probably a PHP 6 compatible version will be the next step after 1.0 release.

    So I started writing it for PHP5 but I was never satisfied of my work, so I didn’t release the framework (early versions lack of generators,migrations and test suites) .

    Now I feel a first nighty-build release of my PHP framework will come out very soon, so stay tuned.
    It will be only MySQL and MySQLi compatible, full support for Postrgres, Oracle, MS-SQL and other DBMS will be added later.

    Here are the System Requirements and the features I’m developing

    **** SYSTEM REQUIREMENTS ****
    I won’t tell you about the hardware. Needed to be installed a Web Server (e.g. Apache) and PHP 5.
    PHP need to come with some PEAR packages installed. First of all MDB2 and MDB2#mysql (or MDB2#mysqli).
    Needless to say that MySql and MySqli extensions have to be loaded in your php.ini

    **** DEVELOPED FEATURES ****
    - Migrations: mysql and mysqli migrations are supported
    - ActiveRecord: easy to use and smart ActiveRecord implementation started. It uses MDB2 to access database.

    **** STILL ON WORK FEATURES ****
    - Controllers implementation and generator
    - Models generator
    - Helpers (e.g. Forms auto-builder, and stuff like this)
    - Engines (the way the framework rewrites URLS)
    - Template Engine

    Some words about the Template Engine. I think I will use Smarty as the base template engine. Please let me know if you prefer other template engines or if I should write a new one from scratch (an .rhtml complatible template engine?). Needless to say it will be the last thing I will develop, so design ideas are well accepted!!!

    I’d like also know how many people are still using PHP4 and need a PHP4 compatible framework. If there are many, I will think about doing it.

     
  • Jangol, PHP Content Management System…work started!!!

    Last week, I was following Software Design lessons at my university. While the professor was explaining why good design is important for building good software, I started to dream the solution of my problems. If I have to build a simple web site, what do I need? Something between Joomla and WordPress.

    I think Joomla is not so easy to manage, while WordPress is too simple. Obviously they are 2 differents thing with diffrent purposes. I’d like to know what dow you think about creating Jangol. Should I continue? Should I stop? Does someone already did something better? Which features should Jangol include? Please Help me…

     
  • International visitors

    I’m receiving lots of comments written in Russian. I don’t know if they’re spam or not. Of Course I can’t check the content (I’m not able to read and understand Russian and other non-latin alphabet languages).
    So if you want to post some comment, please write it in a language I can understand (English or Italian). Every comment written in an another language will be considered as SPAM.

    Thanks.