Welcome!

Nicholas Petreley

Subscribe to Nicholas Petreley: eMailAlertsEmail Alerts
Get Nicholas Petreley via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Nicholas Petreley

(LinuxWorld) — One of my non-profit Web sites, VarLinux.org, ran on my modified version of the PHP-Nuke weblog package from the site's inception in March 2001 until late November 2002. I chose PHP-Nuke as a starting point because I was very impressed with it. However, the more I learned how to use PHP, the more I realized that PHP-Nuke was not only a tangled mess but that I had made it even worse with my modifications. A year later, I was faced with the fact that VarLinux.org was not only lame because it was based on PHP-Nuke, it was also showing its age. It lacked features of other weblogs, and still lacked many of the features I had intended to add to the site. If I were going to fix the code, the first thing I would do would be to make it an object-oriented system. I toyed with the idea of converting my code into OOP-based code, but I concluded that if the P... (more)

More stupid PHP tricks

(LinuxWorld) -- If you follow the latest security bulletins, you noticed someone discovered a huge security hole in the PHP-based weblog software PHP-Nuke. I mention this because I've been learning PHP the hard way by modifying the PHP-Nuke source code, since my two non-profit sites VarLinux.org and Petreley.org are based on PHP-Nuke. I used the 4.4.1a version of the source code, but it looks to me like the security hole may still exist in the latest version. The problem exists in the admin.php file. This part of the program authenticates you as an administrator before it lets ... (more)

How (not) to swap motherboards in your Linux computer

(LinuxWorld) — After what happened on September 11, it's hard to say one had a bad day or week without feeling a little silly. Nevertheless, I'll say it anyway: I had a bad week. VarLinux.org and Petreley.org sit on Norbert and Daggett, which were named after the lead characters in the Nickelodeon cartoon series The Angry Beavers. In addition, I have my workstation, which I call Toluca, named after Toluca Lake, a character who appeared in an episode. Norb and Toluca use 1-GHz Athlons on similar Asus motherboards. Norb sports the A7V133 while Toluca soldiers on with the older A7V.... (more)

Jedit, Jext & J: Java-based editors compared

(LinuxWorld) — When I ran into Slava Pestov, the core developer of Jedit, on IRC, I asked him what he thought of some of the increasingly popular Java-based Integrated Development Environments such as Eclipse and NetBeans. To paraphrase his opinion, IDEs are just bloated editors loaded down with a bunch of wizards. I might agree — with the possible exception of Eclipse, which isn't editor-centric. Where Slava and I probably differ is that I like both; there are times when I want a lean, mean editor and times when I enjoy a good, bloated editor packed with wizards. Fo... (more)

Time for a new installation paradigm, Part 3

(LinuxWorld) — This is the third article in a series calling for a new installation paradigm for Linux. We have a few more technical issues to address, but it should be useful to start by summarizing the goals so we can keep them in mind as we study the problems. Software installation should meet these minimum requirements: Installation should be easy enough for grandmothers and kids, but flexible enough for professionals to customize as needed.Installation should consume as little time as possible.Installations and updates should not break anything on your system, be it securit... (more)