Threads vs. Processes: They’re not the same thing!

Linux, Programming 7 Comments »

Process vs. ThreadI read a lot of tech-related blogs and other tech-news, and I’ve caught a number of very talented programmers and intelligent technologists using the terms thread and process interchangibly. Forgive me for being pedantic, but they’re not the same thing! It’s true that threads and processes are very similar: they’re both methods of parallelizing an application. But the similarities pretty much stop there. Read the rest of this entry »

DNS rebinding can bypass browser same origin policy

Security, Web Development 9 Comments »

Artur Bergman posted an interesting story yesterday on O’Reilly Radar titled Your browser is a tcp/ip relay. In the post, Bergman explains a new technique that could allow malicious code to bypass the same origin browser security model. The article credits security researcher Dan Kaminsky with discovering the loophole, though it appears to have been around for a while. Read the rest of this entry »

What is the Completely Fair Scheduler?

Linux, Programming 25 Comments »

Linux Penguin LogoIf you’ve been following Linux kernel news then you’ve probably heard about the new Completely Fair Scheduler that has been merged into the upcoming 2.6.23 kernel release. It’s been a while since I’ve done much Linux kernel hacking, so the initial announcement was mostly over my head. After reading about the new scheduler in several places, I decided to do a bit of research into how the current Linux scheduler works, and what makes the new scheduling algorithm so interesting. Here’s what I learned. Read the rest of this entry »

Flash Sucks

Web Development 362 Comments »

Flash SucksThe Adobe Flash Player is a multimedia application created by Macromedia (now a division of Adobe Systems). Flash Player features support for both vector and raster graphics, along with a scripting language and bidirectional streaming of video and audio content. The player is a virtual machine that runs Flash files, which are often embedded in websites to present animations, games, GUIs, or other visual interestingness. If you’re reading this website, you probably know all of this. What you might not know is that Flash sucks. It is the bane of the Internet, and it needs to go away. Read the rest of this entry »

What exactly is a load average?

Linux 12 Comments »

Load AverageIf you’ve spent some time on a Unix or Unix-like machine (e.g., Linux, OS X, Solaris, etc.) then you’re probably at least vaguely familiar with the concept of a load average. A system’s load average can be easily determined from the Unix shell by running the uptime command:

mmalone@www:~$ uptime
 15:37:38 up 133 days,  3:37,  3 users,
    load average: 0.37, 0.37, 0.41

The load average is also displayed by the w and top commands, and by pretty much every system monitoring package on the planet. But what the heck is a load average, exactly? Read the rest of this entry »

CSS Redundancy Checker

Software, Web Development 22 Comments »

CSS Redundancy CheckerWhile I’m primarily a developer, I end up spending a lot of time working with CSS and other front end technologies. I’ve learned a lot about CSS, but I don’t use it enough to have really good habits and often end up with superfluous selectors and bloated code. So when Tom Armitage’s CSS Redundancy Checker popped up in my feed reader I was intrigued. Tom’s solution is simple, elegant, and reasonably quick. But it’s a command line app that requires ruby and some additional packages — not exactly newb (or lazy programmer) friendly. Since I was looking for an excuse to play with Rails a bit more, I decided to write a web front end and build an Online CSS Redundancy Checker on top of Tom’s code. Read the rest of this entry »

4INFO Open Platform: a cool & easy way to deliver mobile content

Programming, Web Development 2 Comments »

4INFO LogoGiving users mobile access to data is the latest vogue, but unless you’re a mega-corporation, or have a boat load of funding, it can be prohibitively expensive. If you’re looking into getting a short code and building your own SMS gateway, be forewarned: it’s an arduous process that’ll cost you upwards of $15,000. For the rest of us, 4INFO’s Open Platform is a pretty cool (and FREE) alternative that enables developers, content providers, and bloggers to utilize the 4INFO short code to deliver mobile content. Read the rest of this entry »

The Open Spectrum Debate

Google, Random No Comments »

The upcoming spectrum auction that the Federal Communications Commission (FCC) is expected to authorize in the next few weeks has pitted several major technology and telecommunications companies against one another. The current draft rules for the auction set aside some new spectrum (22MHz of the 60MHz up for auction) for an “open” network — unlicensed radio frequency spectrum that can be used by anyone, with a limited set of rules to prevent abuse of this “wireless commons.” Read the rest of this entry »

Grepping your web logs

Linux, Web Development 13 Comments »

If you’re anything like me, you spend far too much time checking your web server stats, and not enough time actually creating content and coding. Thankfully, my logs are always close at hand since I work almost exclusively on the command line. With the help of a few common unix filters, you can quickly gauge how things are going on your site. These commands work with Apache, or Apache compatible log files, and can probably be tweaked to work with other log file formats pretty easily. Read the rest of this entry »

Lightweight Web Servers: 40 Alternatives to Apache

Linux, Software, Web Development No Comments »

IBM Developer Works just posted a new article discussing a variety of “lightweight” Web Servers. They analyze a number of servers across a variety of dimensions including performance, scalability, security, flexibility, and manageability. The article explains that “while it’s reasonable to assume the market leaders have been carefully optimized to be effectively unbeatable in performance (for example), many tiny competitors are faster for simple service of static Web pages.” This is in line with the results I found when I ran a comparison between longtime stalwart Apache and lightweight newcomer lighttpd. Read the rest of this entry »

Copyright © 2007 - Mike Malone / Icons by N.Design Studio
Entries RSS Comments RSS Log in
no image