01
Jan 10

YABI 1.0.1 – minor bug fixes

A new minor release of preference pane version of YABI has been released.

Here some changes:

  • 64-bit enabled
  • minor memory leaks fixed
  • added “partner” attribute for anniversary cross-check
  • UI updates
  • removed unused frameworks

Here what must still be implemented:

  • Save/restore event titles
  • Software autoupdate

You can download it at www.devzero.it/yabi


15
Dec 09

Selectable boxes

If you had ever used iSync, probably you’ve been asked to resolve a sync conflict at least one time: the panel shown to the user contains two boxes , mutually excluded i.e. you can only choose one of them.

DZSelectableBox is a subclass of NSBox view which emulates this behavior. An instance of this class comes with one more variable member, the box state: when the box is marked as selected, an inner rounded path is drawn inside its bounds; DZSelectableBox honors title position, if it’s visible. You can use this class in two different manners: standalone or as part of a radio group.
Continue reading →


03
Oct 09

Give me a… second chance!

As university assignment, I wrote a small virtual memory simulator which implements pagination; the algorithm chosen to replace a target page is the enhanced second chance, also known as “clock algorithm”: this solution comes out as natural evolution of FIFO algorithm, working out the problem of removing those pages which are frequently accessed.
Continue reading →


06
Jul 09

Wordpress themes and page-links

Wordpress offers a cool feature to split a single post into different web pages, by using <!–nextpage–> keyword.
The problem arises when you use a theme different from the default one: that’s why many theme writers forget to add the right code to the theme; Continue reading →


07
Jun 09

Red-black trees

Example of Red-Black tree implementation, written in ANSI C.

Archive contains sources and relation, written in italian, which describe the algorithm, its purpose and implementation. This was developed for university purposes.

Download rb-sorter.tar.gz


07
Jun 09

ALU

ALU circuit

In computing, an arithmetic logic unit (ALU) is a digital circuit that performs arithmetic and logical operations. The ALU is a fundamental building block of the central processing unit (CPU) of a computer, and even the simplest microprocessors contain one for purposes such as maintaining timers.
Continue reading →


05
Jun 09

Protection for all Mac users

Issue these commands in your terminal and read carefully! ;-)

cat /usr/share/emacs/22.1/etc/sex.6
cat /usr/share/emacs/22.1/etc/condom.1


05
Jun 09

YABI 3.0.9 unlocked and..

Many of you reported that YABI was expired, so I took the decision to unlock this version, even if it’s still an alpha version.

Some months ago I found another way to sync our events with iCal, which doesn’t need manual operation; I quickly wrote a new version, tested and it seems to be stable and functional, but it misses graphical interface like the previous alpha 9.
This version appears as a preference pane and installs a sync-agent which is automatically alerted by the operative system about changes to your address book.
Continue reading →


05
Jun 09

Internet Address Field

fields

“Internet Address Fields” is a collection of three Cocoa classes, inherited from NSMatrix, which look like an NSTextField with an particular NSCustomFormatter.
It contains:

  • IPv4 address field
  • IPv4 netmask field
  • IPv6 address field

05
Jun 09

Come aggiornare FreeBSD usando un proxy (ITA)

È noto che per aggiornare aggiornare il sistema operativo, i ports e la documentazione, il team di FreeBSD abbia messo a disposizione il cvsup, una delle tante possibili evoluzioni del CVS (Code Versioning System).
Fintanto che il nostro sistema ha la possibilità di accedere ad internet direttamente o tramite un NAT, nessun problema: in questo caso sarà sufficiente modificare il file make.conf o direttamente il supfile, per poi proseguire con la normale procedura d’aggiornamento.
Continue reading →

Get Adobe Flash playerPlugin by wpburn.com wordpress themes