@schmidt_fu there does indeed! Not sure how to fix that. Looking into it now, thanks :)
@schmidt_fu there does indeed! Not sure how to fix that. Looking into it now, thanks :)
There doesn’t seem to be a decent minimal, standalone websockets server for #python, and #golang doesn’t have a simple way of accessing I2C devices. Looks like I might finally have to jump on the nodejs bandwagon for my #raspberrypi schenanigans.
catandgirl.com is one of those things I read precisely because I have no idea what it means. #creativecommons licensed too, which is cool
Databases are the wrong way round. A database should be something you do to content rather than content being something you to a database.
@benwerd my take: use rel=next/prev[ious]
(like inter-post nav) then progressively enhance, make sure you’re not making people play “catch the footer” :)
Also in #raspberrypi today: learning about I2C communications. Tips+resources:
sudo
sudo i2cdetect
before and after plugging it in and see which address changedi2cdump
, i2cset
and i2cget
, they’re super useful for poking around in I2C devicesI cobbled together a #python class for communicating with the ADXL345 by cross-referencing between the Arduino library for that chip and Adafruit’s I2C library, only to find that someone else had done so only hours earlier!
Successfully got both my RPis automatically connecting to WiFi and serving HTTP and SSH over @pagekite. If you’re having trouble setting up SSH over Pagekite, using Interactive Testing is super useful. Turns out I had typed my secret in wrong — oops!
At least I can not run them headless now and not keep lugging monitor, keyboard etc. into the kitchen (only source of WiFi strong enough for tiny antenna to pick up). Better for my own sanity as well as my housemates’.
The best way to predict the future is to build it — then document the hell out of it so it’s not just your future.
Otherwise ugly and cumbersome rats nests of cables become suddenly beautiful with a #raspberrypi in the middle.
#sourdough culture names suggested so far:
This is going to be difficult. Only one way out… more cultures! I knew I was saving all those peanut butter jars for a good reason.
If you’re getting weird errors when trying to copy #raspberrypi NOOBS files onto your SD card on Mac OS X, try copying the files one by one. Sounds stupid (and is stupid) but just worked for me.
@benwerd high expectations asian father microformats geek says:
#wikipedia article of the week: List of Breads
Name suggestions for my two new #sourdough cultures? Jovian Salak?
Weird URL of the day: people.mozilla.org
Wondering if @piratepartyis are doing anything to celebrate Talk Like A Pirate Day? #tlapd
@fraying woah, when did dotted backslashes replace hyphens? Musta missed the memo :/
Microduino looks pretty nifty: kickstarter.com/projects/microduino/microduino-arduino-in-your-pocket-small-stackable #bookmark #kickstarter
If you’re using a Humble Pi #raspberrypi breakout board and controlling the GPIOs via the RPi.GPIO
module, the labels on the board correspond to the BCM pin numbers, not the BOARD numbers. Your setup call should look like GPIO.setmode(GPIO.BCM)
, then calling
GPIO.setup(4, GPIO.IN)
GPIO.output(4, True)
will raise the level of the pin marked G04
on the Humble Pi board.