Die GPL V3 ist da (oder 999983 ist eine Primzahl)
Die dritte Version der GNU General Public License ist endlich fertig. Sie steht unter http://www.gnu.org/licenses/gpl-3.0.html zum Download bereit, auch wenn die GNU.org Homepage dies noch nicht mitbekommen hat.
Und wie kann man eine neue Lizenz besser willkommen heißen, als dass man direkt ein Programm entsprechend lizensiert? Also hier ist es: Mein erstes Projekt unter der GPL V3 - vielleicht ist es das erste überhaupt? :)
#! /usr/bin/perl -w # (c) 2007 Stefan Waidele (Stefan@Waidele.info) # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see. for ($i=2;$i< =1000000;$i++) { if (!$not_prime[$i]) { print "$i\n"; for ($j=$i;$j<=1000000;$j+=$i) { $not_prime[$j]=1; } } }
Wie üblich für brandneue Open-Source Projekte alles noch ohne Erklärung, Installationsanleitung oder Manpages. Release fast, release often… Soviel sei verraten: Es handelt sich um eine Mathematik-Anwendung, das alle Primzahlen bis 1.000.000 ermittelt und ausgibt. Hey, es ist ein Anfang. Mit Version 15.8 machen wir dann vielleicht Mathematika Konkurrenz… :)


Leave a Reply