Wondering if @piratepartyis are doing anything to celebrate Talk Like A Pirate Day? #tlapd
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.
If you’re working with undocumented lat/long coordinate data and, when plotted, everything’s coming out sort of in the right place but a little way off, check to see whether or not what looks like decimal lat long data is actually traditional DMS data.
For example, I recently had to parse and plot a bunch of coordinates which looked like this: 6359550-2154605
. I initially thought it was decimal lat/long data missing decimal points for some reason, so I plotted it as 63.59550, -21.54605
. All of the coordinates were in the right place relative to each other, but about 1/3rd of a degree off. Turns out the data actually needed to be plotted as 63˚ 59' 55.0", -21˚ 54' 60.5"
.
Here’s the python I wrote to clumsily convert the strange original form into decimal:
def dms_to_decimal(old):
if old[0] == '-':
old = old[1:]
multiplier = -1
else:
multiplier = 1
return (int(old[0:2])+int(old[2:4])/60.0+int(old[4:6])/3600.0) * multiplier
Weird luggage on my KEF flight: overly decorative trophy in hand luggage, two tatty cardboard boxes held together with tape in hold luggage. Apparently this is a thing now. #travel
Packing for return to Reykjavik tomorrow I realise I’ve doubled my sock count. I believe that constitutes a good trip.
@benwerd BALALAIKA
Supported sessions.mozillafestival.org/proposals/this-is-the-homepage-youre-looking-for, #indieweb MozFest session (although personal domains > github.io subdomains)
Posting a note from my Raspberry Pi.
Setting up my Raspberry Pi. Composite output didn’t work so bought a HDMI cable and now the process seems pretty seamless.
A hang drum, played by Jovian Salak:
#TIL Shakespearian Star Wars is a thing, and what a thing it is: randomhouse.com/book/226524/william-shakespeares-star-wars-by-ian-doescher
What’s the best way of exchanging realtime data between applications on the same machine? Specifically, I want one application to be able to publish and many subscribe.
Want to scare a silo? Make a browser extension.
Then, maybe get banned for your trouble :/
.Jeremy Keith @shanehudson @indiewebcamp et al: php-mf2 is now dependencyless, go forth and build stuff with #microformats! Thanks to Aaron Parecki for writing the URL resolution code.
From now on I am framing all web standards-type discussions with the question “what is it reasonable to demand that authors do”
For example, it’s not reasonable to demand authors publish content in more than one format. It’s not reasonable to demand that authors learn how RDF works. It is reasonable to require authors to publish HTML. It is reasonable to require authors to add some simple microformats like rel-author, h-entry or h-card.