Mining Bitcoin with pencil and paper: 0.67 hashes per day

It turns out that the SHA-256 algorithm used for mining is pretty simple and can in fact be done by hand. Not surprisingly, the process is extremely slow compared to hardware mining and is entirely impractical. But performing the algorithm manually is a good way to understand exactly how it works. Mining Bitcoin with pencil …

Debugging iOS Safari and UIWebViews using Chrome DevTools

The ios_webkit_debug_proxy allows developers to inspect MobileSafari and UIWebViews on real and simulated iOS devices via the DevTools UI and WebKit Remote Debugging Protocol. DevTools requests are translated into Apple’s Remote Web Inspector service calls. The proxy detects when iOS devices are attached/removed and provides the current device list on http://localhost:9221. A developer can click …

Making the Web Sweeter with Food Network and Cupcakes

Adobe’s Web Platform group teamed up with Food Network to experiment with bringing their popular Cupcakes! tablet application to the web. See how we turned beautiful content from Food Network, hardware from Leap Motion, speech recognition, responsive tooling, and new layout and graphics standards into a next-generation web experience. Canvas Blend Modes, CSS Masks, CSS …

Choosing good CSS class names

Naming things is by far the most difficult part of writing CSS. This is because we can’t predict the future. A class name might make perfect sense one day, then the design changes, and it’s a misnomer the next day. We’re then tasked with refactoring our markup and styles so that they make sense. Yuck. …

Debugging Chrome using the Firefox Debugger

Developing across multiple browsers and devices is the main issue developers have when building applications. Wouldn’t it be great to debug your app across desktop, Android, and iOS with one tool? We believe the Web is powerful enough to offer a Mobile Web development solution that meets these needs. Enter an experimental Firefox add-on called …

The Sound So Loud That It Circled the Earth Four Times

Think, for a moment, just how crazy this is. If you’re in Boston and someone tells you that they heard a sound coming from New York City, you’re probably going to give them a funny look. But Boston is a mere 200 miles from New York. What we’re talking about here is like being in …

Build your own PHP Framework with Symfony Components

switch($_SERVER[‘PATH_INFO’]) {     case ‘/’:         echo ‘This is the home page’;         break;     case ‘/about’:         echo ‘This is the about page’;         break;       default:         echo ‘Not found!’; } Good introduction on the Sitepoint website to getting started with a few of the Symfony Components. Starts with the example code above and – one by one – introduces the …

Monit – Easy, proactive monitoring

check host localhost with address 127.0.0.1 if failed ping then alert if failed port 3306 protocol mysql then alert check process apache with pidfile /var/run/httpd.pid start program = “/etc/init.d/apache2 start” stop program = “/etc/init.d/apache2 stop” Monit is a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and …