Thursday, October 30, 2008

A lex exercise (memo2html)

I've tried to invent an exercise to take practice with lex.
Here is the result.
We can say that is more a micro-parser than a lexer.
It use a grammar to parse a simple tag language that describes a telephone memo and generate an html page to format it better.

It's just an exercise and you can download it at


Obviously GPLv3 licensed :)

Enjoy!
Gio

Friday, October 17, 2008

Other three tunes :)

Hi!
I've recorded yesterday other three tunes with my tin whistle that my brother gives to me!
It's a Feadòg Pro and comes directly from Ireland.
Wonderfull instrument but I've to practice a little more :P

The Shire (Concerning Hobbits)

Loreena McKennitt - Lullaby

A Final Fantasy tune

Enjoy!

Thursday, October 16, 2008

Some other videos :D

Hi!
Uploaded some other videos on youtube

Xenosaga the animation main theme
http://it.youtube.com/watch?v=1szndiOF2vg

Country classic
http://it.youtube.com/watch?v=xV-M4QL9ris

Countri classic 2
http://it.youtube.com/watch?v=lHPeedzMmU8

Don't launch vegetables!!! :)

Enjoy
Gio

Saturday, October 4, 2008

Generic List [C]

Hi!
I've written a C code that implements a list usable with generic types.
To use this list you have to declare in an enum the types that you want to store in the list ad so you can arrive to generate mixed lists.

In the example I make tha case that you have a list with inside an int, a float and a struct Speed item.

If you want to use this generic list code you have to know that the code i really basic and not tested hard. Probably you have to extend him to your needs.

In the tar you will find also an example of using fully commented.


Enjoy!
Gio

Friday, September 19, 2008

My Guestbook

Hi!
in a post on my guestbook, jerry ask to me a way to make one.
My GB was just an experiment of php before I made the cms for my blog ( see ToyLog in the Software section)
A GB like mine is really basic so I post here only the source of the gbpost.php file.

POST FILE SOURCE CODE

You have to create the file post.php with this code personalized and the file Guestbook.txt containing an introduction where next the user comments follows.
The GB returns a mail with some info.

To see my GB you can go to CLICK HERE FOR MY GUESTBOOK

To see a posting system more evolved download the php software ToyLog

Gio

Thursday, August 21, 2008

KSIP on Slacky repository

Hi!
Thanks to conraid that makes ksip tgz package and to Loris that upload it, you can download KSlacky InfoPkg directly from Slacky Repository.

Conraid also says to me that he wants to upload an i686 package on Slackers.it
Slackers.it is a new site dedicated to Slackware and "the slack" philosophy.
This site has many complements to Slacky such as i686 packages and downloadble pdf of wikislacky documents.

Bye
Gio

Wednesday, August 20, 2008

Qfold released! (GNU/GPLv3)

Hi!
I'm pleased to release my new program: Qfold.
Qfold is a Qt4 reimplementation of fold(1).
With Qfold you can format text in n-columns ascii text and optionally convert accents like
"è " in "e' " and tabs in " " (4 spaces).
Optionally you can choose to don't cut words.

Here is a screenshot!



bye
Gio

Tuesday, August 19, 2008

KSIP and Weblog update

Hi!
I've found the time yesterday to add to my weblog a feed RSS to make easier to control new posts.
The url of the rss feed is http://polystream.altervista.org/rss.php and you can control the feed, for example, directly with your browser (Firefox and Seamonkey natively support the feed reader) or by a dedicated software like akgregator (for KDE users) or shownews / newsbeuter (for console users).

The second update I've made is on KSlacky InfoPkg. I've released the test version of the 1.6.2 that improve the search and introduce the info button that calculate the total size of your slack packages and the biggest tgz in your system.
The test version is ready on the forum by clicking HERE
The tgz package of the 1.6.1 version are ready on the OFFICIAL SITE

Bye
Gio

Wednesday, July 23, 2008

Bliz Multifile Steganography System

I've written the specs for a steganography system.
With this specs you can build a steganography system that allow the user to encode/decode in an image up to 3 different ascii messages.

The steganography is an encryption system that insert datas to be hidden in an image, so you can preserve in your disk an innocent image that contains a message inside :)

The BMS2 (Bliz Multifile Steganography System) spec is released under the Creative commons licence.
You can download the spec here: DOWNLOAD BMS2 PAPER

Bye
Gio



Creative Commons License



Bliz Multifile Steganography System by
Giovanni Santostefano is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 2.5 Italy License.

Ascoltate la mia storia (a blog romance)

Hi!
I'm writing in my few spare time a blog with a romance within.
It's written in Italian and the story (fantasy) is lived like a blog.
the address is

http://ascoltatelamiastoria.blogspot.com/

Bye
Gio

Friday, July 18, 2008

Funny lisp code!

Hi!
Today I want to post a funny code... funny for me that I'm a lisp newbie.
Yesterday I'm starting learning lisp for pleasure.
Today in my strange brain jumps the idea to implement a mergesort.
I started the coding and all seems to be nice.
Since the last function where I take lots of strange behaviors.
The strange thing is that the program duplicate some numbers
{5,4,3,2,1} --a kind of-->{1,22,3333,4444,5}
Why?????
Let's change the method!
In the change I add some recursion to make this mergesort style

(setq M (round (/ I 2)))
(setq C (g_mergesort (g_firsthalf A M)))
(setq D (g_mergesort (g_secondhalf A M)))
(g_merge C D) )


but when I write the C assignment I launch a test with the previous mergesort system.
The code looks like this

(defun g_mergesort(A)
"The mergesort"
(setq I (list-length A))
;(print A)
(if (<= I 1) (return-from g_mergesort A))

(setq M (round (/ I 2)))
(setq C (g_mergesort (g_firsthalf A M))) ;blackbox

(g_merge (g_mergesort (g_firsthalf A M)) (g_mergesort (g_secondhalf A M))) )

It works o_O
but... in my mind not! I'm starting to write another way! this is a mix of the new and the previous code and it WORKS!!!!!
I looks to the recursion tree but scared I close it :D

This is the full code: LISP STRANGE MERGE SORT

enjoy!

Wednesday, July 2, 2008

Tutorial Introduction to KGpg

Hi!
few minutes ago It was released on KDE-Italia a new tutorial that I've written.
It's an introduction to KGpg a front-end for GNUPG that runs on KDE environment.
GPG is a cryptography tool.

The tutorial is in Italian.


bye
Giovanni

Tuesday, July 1, 2008

Tutorial GPRS configuration on KPPP

Hi!
recently KDE-Italia released a tutorial that I've written to show how to configure the dialup software Kppp to make a connection with the GPRS protocol.
I've written this tutorial in Italian and it's filled with images of the operation sequence.
The hardware used is the Telit usb modem sponsored for Wind company


bye
Gio

Tuesday, May 20, 2008

KSlacky InfoPkg 1.6.1 Released!

Hi!
I've released the 1.6.1 version of KSIP.
Since the last announcement (the 1.5) there alre lots of modification and features.
This is the first really usable and usefull version.
Go and check it!
KSlacky InfoPkg Official Site


Saturday, May 10, 2008

KSlacky InfoPkg 1.5 Released! forum up!

Hi!
I'm pleased to release the 1.5 version of KSIP that provide full Qt4 code.
From the 1.5 KSIP will be implemented without KDE4 code, so you can also run the tool if you don't have kde installed on your system.

There are also many news:
First of all I want to introduce danix that is the project web designer and packager(when ksip will be stable).
He is doing a great work on the ksip official site and soon may be usable.
I've put online the official forum. So if you want to follow the development o talk with us you can go to:
http://kslackyinfopkg.netsons.org/forum/index.php

That's all for the moment.
Enjoy downloading the new version of KSIP:

Bye
Giovanni

Monday, May 5, 2008

KSlacky InfoPkg on sourceforge!

Hi!
I've created a project on sourceforge for KSlacky InfoPkg to make me able to have:
  • File Release Management
  • Statistics
  • News
  • Screenshots
  • Donation
  • Forums/if needed

From now the only way to download updated versions is from sourceforge


Enjoy!
Giovanni

Edit on 05-May-2008:
Ops! I've forgot!
It's out the 1.4(beta) version, with option dialogs for install and upgrade packages ;)

Friday, May 2, 2008

KSlacky InfoPkg beta release!

Hi!
I'm pleased to release the first beta version of KSlacky InfoPkg.
KSIP is an information tool that shows information on packages installed on your Slackware and provide a GUI wrapper for package managment offered by pkgtool.
The software is designed for Qt4/KDE4 and provide a full transparent user approach to package management of the system.

(click on the image to show the full size)


The program is still far to be complete, I have to correct the design of the user interface as suggested by alessiodf (www.slacky.eu community member).
Thanks to pinotree (#kde-devel-it user on irc.freenode.org) that explain to me a design concept to use ui files.
Thanks also to ksniffer (www.slacky.eu community member) that is my mentor in kde4 discovering ^_^

See you for next updates!
Giovanni

Wednesday, April 16, 2008

OpenSource document: new Release!

Hi,
I've released a new version of the document: Open Source, Free Software & GNU/Linux after a revision by Slacky members.
There are few major changes.
The first is on the extension of the document to contain the Creative Commons Licence and the Thanks to section.
The second is the corrections of the hacker and UNIX note.
Follows few grammar corrections.

You can download the document HERE or in the menu on the right.
In the next few days the new version of the document can also be downloaded at Slacky home page section "Il nostro mondo"

Bye
Giovanni

Monday, April 7, 2008

Important poll

Hi!
Second post the same day :D
I've make an important poll.
The title is "Why don't you use GNU/linux?"
in the possible choices some are false and some are true. Many peoples thinks some features of this OS that are false or maybe true 20 years ago :)
So I'm curious, why that peoples don't wanto to try the penguin system.
Answer sincerely!

OpenSource document under the Creative Commons licence

Hi!
I've released the paper "Open Source, Free Software e GNU/Linux" under the Creative Commons licence as recommended to me by the Sulmona Lug.
It's a good way to make it open!

Bye!
Giovanni

Saturday, April 5, 2008

Matrix-Like ScreenSaver for Linux Console Released!

Hi!
I'm pleased to release the first version of my new program.
It's a screen saver for linux console (it works at the best on frame buffer console) that shows the tipical Matrix code.
The name is Matricurses
It use ncurses, so if you wanto to compile it, you have to run
$ gcc -o matricurses -lncurses matrix.c

It's released under the GPLv3 .
In the package you'll find the source code, a i486 binary to run it on the fly if you have an i486 machine and a Slackware package tgz, to install on your slackware :D .

DOWNLOAD

Bye
Giovanni

Sunday, March 30, 2008

Open Source paper on Slacky and SulmonaLUG

Hi!
Thanks to Loris (www.Slacky.eu Administrator) that release the paper on Slacky Community WebSite
http://www.slacky.eu/index.php?option=com_content&task=view&id=5641&Itemid=64

Thanks also to the SulmonaLUG that releases the paper on a news
http://sulmonalug.it/node/404
Next, I will release this document under the Creative Commons Licence.

Bye!
Giovanni

Thursday, March 27, 2008

Free Software document new release!

Hi!
I'm pleased to release the new version of the document on Open Source, Free Software and GNU/Linux.
Many changes and corrections are inserted in this document version. The Slacky Community revised this document in the thread http://www.slacky.eu/forum/viewtopic.php?f=3&t=23666

You can download the document in the panel on the right or AT THIS LINK

See you!
Giovanni

Wednesday, March 19, 2008

Paper on OpenSource, Free Software and GNU/Linux

Hi,
I've written a paper that explains the base concepts of OpenSource, FreeSoftware and GNU/Linux to make able everyone to know this world.
The paper is in ITALIAN only.

Salve,
ho scritto un paper per spiegare i concetti base dell'OpenSource, del FreeSoftware e di GNU/Linux per far si che chiunque conosca questo mondo.

DOWNLOAD THE PAPER

If the link doesn't work try this
DOWNLOAD THE PAPER FROM SLACKY

See you!

Saturday, March 15, 2008

More news...

Hi!
I'm disappeared for a while in this site :D
Never mind! I'm working on few projects... at early stage, so I don't treat them now :D

For now I just post there a video of a lullaby composed and played by me. Hope you enjoy it! It's dedicated to the nature and the spring that comes!

comment on youtube!
Bye
Giovanni