A Pen by Vinayak Kulkarni on CodePen.
It seems that all you hear these days from the press and pundits are predictions on the "demise of crypto". I'm guessing it's super exciting to report on exchange fraud, exchange hacks and other centralized organization shenanigans. Does no one in the press remember that the innovation of crypocurrency was not to support speculation? No, in the beginning the promise was for a decentralized payment system, where no central authority existed. | |
I am hopeful that all the recent woes caused by centralized players will result in crypto going back to its basics. I want to be able to easily and safely pay for shit without having to involve my bank. I want to be able to create systems where micropayments force an economy of good actors. For this, the ratio to USD of any alternative currency is irrelevant. |
nimble@hubproto3:~$ ursim-3.3.0/start-ursim.sh | |
~/ursim-3.3.0/GUI ~/ursim-3.3.0 ~ | |
INFO [FelixStartLevel] 18:47:59 13/07/16 Settings.loadConfigurationAndSettingsPath(line:453): Robot controller user = nimble | |
INFO [FelixStartLevel] 18:47:59 13/07/16 Settings.loadConfigurationAndSettingsPath(line:457): Configuration and settings files path: /home/nimble/ursim-3.3.0/.urcontrol | |
ERROR [Thread-1] 18:47:59 13/07/16 FileUtils.readFromFile(line:125): File was not found: language | |
WARNING [Thread-1] 18:47:59 13/07/16 Settings.loadLanguage(line:476): Failed to load language file: Possibly corrupted or empty | |
Jul 13, 2016 6:48:03 PM com.steadystate.css.parser.CSSOMParser <init> | |
WARNING: java.lang.ClassNotFoundException: com.steadystate.css.parser.SACParserCSS21 not found by org.w3c.css.sac [48] | |
Jul 13, 2016 6:48:03 PM com.steadystate.css.parser.CSSOMParser <init> | |
WARNING: using the default 'SACParserCSS21' instead |
###Enabling ADC (AIN0 - AIN6) on BBB for newer Linux kernels that do not support device tree overlays
The device tree overlay mechanism has been abandoned in newer (3.9+?) linux kernels. Access to GPIO pins via the filesystem-based /sys/class/gpio is still supported, but for some reason the default device tree source (dts) for the Beaglebone Black does not define the 7 ADC ports as accessible (not sure why this is—I don't believe those pins can be used for anything else). If you don't have any devices listed under /sys/bus/iio/devices
, then you too are suffering. Read on.
Thanks to Matti Laakso for pointing me in the right direction here
The fix is to add the definition of the ADC ports to the dtb file that is loaded at boot time. For the Beaglebone Black, the default loaded dtb is am335x-boneblack.dtb
and the boot loader looks for it in directory /boot/dtbs
.
Note: my environment is ArchLin
package parse | |
import ( | |
"fmt" | |
"strings" | |
"strconv" | |
) | |
// A ParseError indicates an error in converting a word into an integer. | |
type ParseError struct { |