Freelancer Productivity Quest: The Ultra-Schedule

Jessica Hische, freelancer, in search of the ultimate day-schedule: When I moved to San Francisco I was suddenly surrounded by people with “real jobs”, who didn’t have the flexibility I had (and who loved filling their weekends with fun non-work-related activities). I found myself, more and more, conforming to a normal office work schedule, running …

PHP Geotools

<?php $geotools = new \League\Geotools\Geotools(); $coordinate = new \League\Geotools\Coordinate\Coordinate(‘40.446195, -79.948862’); $converted = $geotools->convert($coordinate); // convert to decimal degrees without and with format string printf(“%s\n”, $converted->toDecimalMinutes()); // 40 26.7717N, -79 56.93172W printf(“%s\n”, $converted->toDM(‘%P%D°%N %p%d°%n’)); // 40°26.7717 -79°56.93172 // convert to degrees minutes seconds without and with format string printf(“%s\n”, $converted->toDegreesMinutesSeconds(‘%P%D:%M:%S, %p%d:%m:%s’)); // 40:26:46, -79:56:56 printf(“%s\n”, $converted->toDMS()); …

How quitting my corporate job for my startup dream f*cked my life up

Doing a startup was a long journey and I was putting myself under so much pressure by giving such a f*ck about what other people think. Day by day, I was getting lonelier and more depressive as I avoided social occasions. My startup progress was not as fast as my social circle imagined it to …

Building a Device Lab

Collection of slidedecks to building your own device lab (only the first one in the series embedded, click through below to see all others): We cover how to build a device lab as a product for your coworkers to test their work on a spectrum of operating systems and versions. We also cover how to …

Chartist – Simple responsive charts

/* Add a basic data series with six labels and values */ var data = { labels: [‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’], series: [{ data: [1, 2, 3, 5, 8, 13] }] }; /* Set some base options (settings will override the default settings in Chartist.js *see default settings*). We are adding a basic …

Technical debt 101

Every time you don’t write software based on the best possible practices and understanding of the business domain, you incur it in a technical debt. This debt keeps increasing over time, just like an interest, because whoever has to change something has to deal with the imperfect concepts you codified on the first occasion. If …

When the “Casual” Workplace Is Confusing

Anna Lewis, Senior Recruiter at Viget: Casualness at the office starts with what we wear. The casual dress code common to start-ups and creative agencies—T-shirts, jeans, etc—seems to defy the very term “code”. When it’s time for a client meeting or a presentation, we start looking positively “nice” or “dressy” and, mysteriously, we all seem …

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 …