The Best JavaScript Debounce Function in the Universe

If you code in JavaScript, you should know all about debouncing functions.

When an event listener such as a window ‘resize’ fires, sometimes it will fire 72,000 times per second. That means your callback function is also firing 72,000 times in a row, bogging down the browser.

This isn’t as much of a problem as it used to be, but debouncing is still needed and should still be used.

So what’s the best way to debounce/throttle in JavaScript?

(more…)

SHORT: Why we still NEED oil

Can we just ditch fossil fuels?
These days, it’s all about the GREEN! Green energy, renewables, low carbon footprint, etc. While that all sounds nice, what would actually happen if we just ditched fossil fuels – coal, oil, and gas – overnight? It turns out it’s WAY more scary than you might think…

(more…)

Replace a failed drive in a software RAID on linux

Fix Broken RAIDSoftware RAID is great, especially for servers. While you can use RAID for increased speed, most people use RAID mirroring so that all data is written to two identical disks.

If one disk fails, your server stays up because the 2nd drive still works. But what happens when a drive fails?

The replacement process obviously requires your hosting company to the replace the drive.

But both before and after the physical drive replacement, you’ve got some work to do!

(more…)

What the heck is an ELECTRET?

What on earth is an Electret?!Everyone knows what a magnet is. But have you ever heard of an electret?

Yeah, me neither!

In fact, there’s an entire branch of science/engineering that gets very little attention these days – outside of very specific applications that like 3 people know about.

Join me for a look into the amazing world of electrostatics!

(more…)

Convert files to the format you need in just a few clicks

Convert files the easy way!You know the drill: You’ve got an image, audio, video, or document file.

Either you can’t open it, or you need to convert it to a different format to send to someone else.

You could use complicated software, but why not do it in just a few easy clicks?

With File Converter, you can convert video files, turn video into audio files, change Word docs into PDFs, and a whole lot more.

And it’s FREE!

(more…)