Tags are a great way to organize Amazon Web Services (AWS) resources. For example, you can use tags to itemize your AWS bill into different projects. Unfortunately, with spot requests, there is no automatic way to tag the EC2 spot instances and EBS volumes once the spot request has been fulfilled. Here is one way to do that using boto, the Python SDK for AWS.
One of the basic building blocks of any web application is CRUD, or Create, Read, Update and Delete. It allows users and administrators to manage the data in the application. Full-stack server-side MVC frameworks like Django or Ruby on Rails provide code generators that give you all the code needed for a basic CRUD interface. But what if you were using Ember.js to build your application? Ember.js does not provide any code generators, and there is no established idiom or best practices for CRUD in Ember.js. In this series I will show how to build a basic CRUD interface in Ember.js, complete with user input validation.
In part 1, we looked at mining Litecoins on CPUs rented from Amazon EC2. Now, let us see if we can get better performance by mining Litecoins using GPUs.
Using CPUs, we were able to achieve an average hash rate of 144 KH/s using Amazon EC2’s c3.8xlarge instances, that come with 32 CPUs. Recently, Amazon made available their new generation of GPU instances, called g2.2xlarge, that provide access to NVIDIA GRID GPUs (“Kepler” GK104) each with 1,536 CUDA cores and 4GB of video memory. GPUs are supposed to provide better performance than CPUs when mining Litecoins. Is this true of the virtual computing instances provided by Amazon EC2? Let us find out.
With the value of Bitcoins soaring to record highs, hitting USD 1,242 on 29 Nov 2013, many might be tempted to join in the gold rush of Bitcoin mining. But the competition is fierce, and the difficulty level has risen to a level that makes Bitcoin mining unprofitable for most except those with highly specialized equipment.
Enter Litecoin, the silver to Bitcoin’s gold, which similarly rose to a record USD 48.48 on 28 Nov. Unlike Bitcoin, which uses the SHA256 algorithm that requires specialized hardware called ASICs for maximum performance today, Litecoin “uses a memory-hard, scrypt-based mining proof-of-work algorithm to target the regular computers and GPUs most people already have.” In other words, it is designed for people with commodity high-performance CPUs and GPUs to participate in. What if you do not have a high-performance CPU or graphics card to mine Litecoins with? How about renting them, say from Amazon Web Services (AWS)? In this two-part series, I shall examine whether it is profitable to mine Litecoins with CPUs and GPUs rented from AWS.
This is the end of my third week learning the Norman keyboard layout. Learning a new layout is quite a big endeavour, as it changes the way I do almost anything, both at work and at home. How well I learn it determines how efficiently I can go about my daily tasks, and how frustrated I get when I make mistakes that slow me down and get in the way. So how is my typing now, after three weeks of practise?
It has been a week since I started learning the Norman keyboard layout. I went “cold turkey”, diving right into the new layout after just a couple of days. During the first few days, typing required a conscious effort to watch where my fingers were going, and where each key was supposed to be. I made lots of mistakes, which slowed me down somewhat. By the end of the first week, I found myself getting gradually more comfortable with the new layout.
Computer keyboards have not changed much over the years. Standard keyboards of today come in either ANSI or ISO layouts, inspired by typewriters invented in the 1870s, where keys had to be staggered to leave space for the levers. This staggered layout is unnatural, however, for human hands, especially for the left hand where the slant of the keys goes against the natural movement of the fingers. While a few attempts have been made to design ortho-linear keyboards that align the keys in a straight line from front to back (such as Typematrix 2030, Kinesis Advantage, Truly Ergonomic 207/209 and Ergodox), the Nexus keyboard designed by Geekhack forumer AcidFire could be the best attempt so far in re-designing the keyboard.