Javascript Drum Machine

js-909

[Cameron Adams] recently appeared on a panel about JavaScript libraries. He represented the hard working coder that still wrote everything from scratch. He wanted to make something mindblowing for the audience. He ended up creating the JS-909 drum machine entirely in javascript without relying on libraries or flash. While he makes no claims of compatibility, it certainly is a nice bit of kit.

[via Waxy]

Working With High Quality YouTube Videos

[youtube=http://www.youtube.com/watch?v=mZTJbsUcdeU&fmt=18]

[Kottke] posted advice for watching and sharing high quality YouTube videos. While it’s not HD quality, it’s much, much better than the normal, fuzzy quality you get on most videos. This hack has been available for some time, but it hasn’t been documented very well until now. When you’re logged in, you can just set the default to “Always play higher-quality video when it’s available”. When you’re linking to a video, add &fmt=18 to the YouTube URL. This also works when you’re embedding the link in WordPress. If you’re not in WordPress, then tack &ap=%2526fmt%3D18 onto each URL in the embeddable code. It’s pretty simple, and makes wasting your day at work much more enjoyable.

Recovering Photos With PhotoRec

photorec

A coworker approached us today with a corrupted SD card. It was out of her digital camera, and when plugged in, it wasn’t recognized. This looked like the perfect opportunity to try out [Christophe Grenier]’s PhotoRec. PhotoRec is designed to recover lost files from many different types of storage media. We used it from the command line on OSX, but it works on many different platforms.

It’s a fairly simple program to use. We plugged in the card and launched PhotoRec. We were prompted to select which volume we wanted to recover. We selected “Intel” as the partition table. PhotoRec didn’t find any partitions, so we opted to search the “Whole disk”. We kept the default filetypes. It then asked for filesystem type where we chose “Other” because flash is formatted FAT by default. We then chose a directory for the recovered files and started the process. PhotoRec scans the entire disk looking for known file headers. It uses these to find the lost image data. The 1GB card took approximately 15 minutes to scan and recovered all photos. This is really a great piece of free software, but hopefully you’ll never have to use it.

Art From Code: Generative Graphics

[Keith Peters]’ blog Art From Code is devoted to his beautiful graphics from computer source code, also known as generative art. Although [Peters] is reluctant to reveal his source code, algorithmic graphics can be created with the help of tools like ActionScript, Flash, and Flex. There are some great tutorials that can start you on the path to making your own evocative art.

[via Neatorama]

Chrome And Firefox Showing JavaScript Improvements

With new betas for both Firefox and Chrome being released, CNET decided to find out how good their JavaScript performance was. Both browsers got a performance boost with Firefox slightly edging out Chrome. You have to turn on TraceMonkey, Firefox’s new Javascript engine in 3.1b1, to get the improvement. We never thought Google was that serious about building a new browser. They just want wanted Firefox to get their act together and suck less. It seems to be working.

[via Lifehacker]

Default Password Network Scanning

Midnight Research Labs has just published a new tool. Depant will scan your network and check to see if services are using default passwords. It starts by performing an Nmap scan to discover available services on the network. It organizes these services by speed of response. Using Hydra it does brute force password checking of these services with a default password list. The user can supply an alternate list for the first phase or an additional list to be used in a followup check. Depant has many different options for configuring your scan and will certainly help you find that rogue piece of hardware on your network that someone failed to set up securely.

Geode, Mozilla Labs’ Location-based Browser Plug-in

Mozilla Labs has launched yet another new project, this one a location based plugin for Firefox. Geode will let users to take advantage of location data embedded within a web page. Like [MG Siegler] at VentureBeat, we wondered what the point of a location-based desktop browser was, since most cell phones are now GPS-enabled. TechCrunch and CNET’s Webware, cite the example of a user who is looking for a place to eat while out of town. Using Geode, his favorite restaurant review site would know automatically to display eating establishments in the locale he is visiting. As semantic information permeates more and more of the web, we’re certain that we’ll see many more uses for a tools like Geode. Geode’s uses Skyhook’s Loki technology, which determines position base on what WiFi access points it sees just like the Eye-Fi.