GNU/Linux Inside

Author Archives: Mike Gerwitz

I began programming at the age of 10, interested in software design for the Windows operating system in Visual Basic. Since then, I have evolved to web and graphics design as my main focus, mastering PHP, HTML, CSS and JavaScript.

Reading and Writing Remote Files Using GPG and SSH 0

I store certain information on my server rather than on my local PC. For example, I may have passwords that I either want to access from multiple locations* or that I want shared with other individuals. To ensure that the passwords are not compromised, I encrypt it with the public keys of whomever should have [...]

Value of Vim Swap Files 0

My nightly development routine is fairly consistent. I hack some code, commit it, hack some. Before bed, I take a look at the commits and see if everything is in a stable state that actually makes sense to push. If so, I push it. Otherwise, I save it for another day. I then suspend my [...]

IE toString() Not Enumerable: Workaround 0

While working on a project of mine, I noticed that overriding toString() on an object would not cause it to show up when looping through the object’s properties with for in Internet Explorer 6 (I have not tested what other versions are affected). My suspicious were verified on StackOverflow: http://stackoverflow.com/questions/3679233/are-there-still-ecmascript-3-implementation-differences-in-major-browsers/3679293#3679293 To clarify, this is the [...]

GNU GPL / Copyleft: Guardian or Curse? 0

The GNU General Public License is a free software license (one of many) created to protect the four essential freedoms of software users. Those freedoms are: Freedom 0. the freedom to use the software for any purpose, Freedom 1. the freedom to change the software to suit your needs, Freedom 2. the freedom to share [...]

Node.js modules and instanceof operator 0

There are many moments in a developer’s life where things simply don’t make sense. You test even the most obscure solutions to try to figure out the problem, when the actual solution ends up making perfect sense (though it may be subtle). The case of modules in Node.js with use of the instanceof operator was [...]

SSH public key still prompting for password 0

This was one of those problems that irritated me considerably, since the solution was the last thing that I tried. The issue was that, I noticed, my private key for one of my users on one of my boxes was no longer being accepted. It was still prompting for the password. I tried regenerating the [...]

OSCON Attendees Use Primarily Proprietary Devices / Software 0

I’d just like to comment on some irony I’ve seen while attending the O’Reilly Open Source Convention (OSCON). I’m fully aware that this conference makes no attempt to represent purely free software. However, it is still an “open source” conference. Why, then, do the vast majority of attendees bring in laptops running proprietary operating systems [...]

PHP Performance: Array Iteration 5

In PHP, arrays are used for virtually everything (I’ll spare my rant on that), therefore it’s likely that you’re going to use them abundantly in your scripts. The issue we’re going to be focusing on here isn’t with the arrays themselves – it’s the simple fact that you’re probably going to have to iterate over [...]

False Freedom in WordPress Themes 0

I’ve always had one major issue with some of the “free” WordPress themes out there – the encryption of footer data. I’ve seen countless themes licensed under the GNU GPL that violate the very principles for which it exists. Someone took the time to make their theme available under the GPL – that’s an excellent, [...]

Microsoft: Hijacking Your Data 0

I recently read this story on Slashdot: Microsoft Seeks Patent On Shaming Fat Gamers The idea is that Microsoft wants to create a system whereby it will gather physical statistics on a user and alter the game play around those characteristics. For example, as the article mentioned, an obese player may be cut off from [...]