Skip to main content

Posts

Showing posts from 2016

Poloniex API Call from ColdFusion using HMAC()

ColdFusion API call to Poloniex I've been doing a lot of crypto-coin trading lately and Poloniex, one of the trading platforms offers a nice API to retrieve my account information.  This was a good chance to use the HMAC() function that became available in ColdFusion 10 to calculate signatures. Whether you've been trading Bitcoin (BTC), Ethereum (ETH) or any of the hundreds or so other Cryptocurrencies, you'll know that the prices are constantly in flux.  Poloniex's API makes it easy to code a way to track your balance on every coin. Below is a code snippet that will demonstrate what is needed to make a successful Poloniex API call with ColdFusion 10 or above:

Antiminer S7 Issues and Diagnostics steps

Note, the instructions below are how I diagnosed the problem I describe.  I'm providing it here in case these steps help you narrow down your issue somewhere along the way. I have an Antminer S7 (batch 8) unit that has been giving me problems.  It worked fine for a week or so then started slowing down.  I could hear the fan slowing down and speeding up and if I checked the web GUI of the unit I could see that “chains” 1 and 3 often had very cool temperatures, as if they weren’t even running. It would then try to get those engaged again and it would speed up and then the cycle would repeat.  Eventually, over time, I’d get a high piercing alarm sound and at that point if I checked the GUI I’d see Xs in the ASIC display instead of Os (image below). Above is how it was typically running.  After a while an alarm would sound and it would look like below: PSU: The first things I tried were to swap power supplies with a working unit.  It’s very likely a PSU is sli
ColdFusion Administrator Pause Button It's the little things that count.  If you've ever been a ColdFusion Administrator, you probably have noticed what a pain in the ass the little "pause" button is when setting a Scheduled Process on hold. The problem is the Pause button looks almost identical to the Resume button. When looking at a list of a hundred processes, it is hard to find those that are paused and those that are not. Here's a tiny little gem to solve that.  This is a replacement Resume button made from the original button.  Just put this image in your "/CFIDE/administrator/images/" directory as "resume.gif".  If you are on Linux you might have to adjust the permissions to match those of the other images. Two things about it.  This isn't a GIF file (pronounced JIF) it's a PNG file.  I don't know why they do it, but the images on the CF server are PNG files that have been renamed to GIF by Adobe.  I assume it is for