I needed this today; maybe it will help someone else.
humidity should be 0-100 temp_c is a float
l = Math.log(humidity / 100.0) m = 17.27 * temp_c n = 237.3 + temp_c b = (l + (m / n)) / 17.27 dewpoint_c = (237.3 * b) / (1 - b)
I just finished watching All or Nothing, a documentary that chronicles the Arizona Cardinals’ 2015 season in the NFL. From August to January we followed the ins and outs of each week, each game. In the end, though they were close to their goal, they lost the conference championship game. Their season was a failure.
Getting to Space is hard, but staying in Space? Well, that’s something altogether different.
Getting to Space is fun, and it’s relatively simple. Point your rocket up and burn until the stars come out. Then, you fall back down. It’s a thrill ride; an adrenaline-soaked shot to a dark sky. The view is phenomenal, sure, but it can’t last. What goes up, must come down.
Staying in Space is the Really Hard Work. You don’t just go up to the edge of the atmosphere, you need to go up to the edge of the atmosphere and be going 17,000 mph when you get there.
Getting to orbit is tremendously harder than going to a high altitude, but the payoff isn’t just one of magnitude, it’s one of kind. There are things you can do in orbit that you simply cannot do by jumping to the edge of space and falling back.
For those of us doing Knowledge work, the need for us to get above our worlds for extended periods of time is crucial to doing what we need to do.
These days it’s trendy to be pessimistic. Every time we sign into Facebook our friends (or moms) are telling us about how crime is up, incomes are down, morality is on the way out, Zika virus is about to infect us all, and if that doesn’t kill us, Islamic Terrorism definitely will.
Good afternoon! I’m glad you could make it. Today I’d like to show you a special place. It’s a sort of a refuge for the weary; a natural charger of human batteries. I like to go there when the demands of life are closing in, but it’s a fine place to visit on any occasion.
When a human dies we have certain rituals we perform. Mine might be different from yours, but they’re probably similar. We mourn, we reminisce, we sell old things, or donate them. We consider the acute causes, the ways we hope to avoid them ourselves. And then we erect memorials; physical objects to remind us of the dearly departed.
If you’re looking to monitor an APC USP (many of the latest models have a USB port for monitoring) this is the best walk-through I’ve found:
Thanks to Kenneth Burgener for his great write up.
Being able to query the UPS or perform actions based on Power Off/Power On state is fantastic.
$ apcaccess CABLE : USB Cable DRIVER : USB UPS Driver UPSMODE : Stand Alone STARTTIME: 2016-03-09 09:10:19 -0700 MODEL : Back-UPS ES 550G STATUS : ONLINE LINEV : 122.0 Volts LOADPCT : 6.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 107.5 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 92.0 Volts HITRANS : 139.0 Volts ALARMDEL : 30 Seconds BATTV : 13.5 Volts LASTXFER : Automatic or explicit self test NUMXFERS : 2 XONBATT : 2016-04-04 06:36:26 -0700 TONBATT : 0 Seconds CUMONBATT: 16 Seconds XOFFBATT : 2016-04-04 06:36:34 -0700 LASTSTEST: 2016-04-04 06:36:26 -0700 STATFLAG : 0x05000008 SERIALNO : 4B1414P00197 BATTDATE : 2014-03-31 NOMINV : 120 Volts NOMBATTV : 12.0 Volts END APC : 2016-04-10 09:13:05 -0700
Around November 2015 I got a letter in the mail from Cox Communications, my ISP. “Gigablast is coming soon!” it said, along with a warning that service might be interrupted from time to time over the next few weeks as they install infrastructure.
Needless to say, I was excited. I was already on their highest-tier plan (300Mbps down, 30Mbps up), but faster always seems better. Why? Because why not?
I was also very interested in the rollout because I wasn’t familiar with much of the technology of optical networks. This was a chance to observe up-close how it all works. And since a lot of the technology was going underground, there would be a limited window of opportunity to observe it, ever.
With that in mind I did my best to take photos, talk to workers, and document as much of the process as I could. I’ve documented the process here in roughly chronological order, and I’ve done my best to gather the details necessary to get a good grip on how the Cox Fiber network is physically setup in neighborhoods with Gigablast.
This afternoon Apple posted a motion in response to the order brought by the court on behalf of the FBI:
APPLE INC’S MOTION TO VACATE ORDER COMPELLING APPLE INC. TO ASSIST AGENTS IN SEARCH, AND OPPOSITION TO GOVERNMENT’S MOTION TO COMPEL ASSISTANCE
You can read the entire document if you’re interested.
What I find brilliant about this particular motion is that it’s clearly written in a manner meant to be quoted from. Some sections almost read as a collection of sound bites more than a legal argument. That said, make no mistake, this is a thorough dressing-down of the FBI’s request.
Below you’ll find my favorite quotes from the document.
In fact, no court has ever authorized what the government now seeks, no law supports such unlimited and sweeping use of the judicial process, and the Constitution forbids it.
In short, the government wants to compel Apple to create a crippled and insecure product.
Finally, given the government’s boundless interpretation of the All Writs Act, it is hard to conceive of any limits on the orders the government could obtain in the future. For example, if Apple can be forced to write code in this case to bypass security features and create new accessibility, what is to stop the government from demanding that Apple write code to turn on the microphone in aid of government surveillance, activate the video camera, surreptitiously record conversations, or turn on location services to track the phone’s user? Nothing.
I’ve wanted to add photography to my site for a long time, but never had a good way to add photo posts. It was always a chore to copy the file, resize it into multiple sizes, find the filenames and copy them where they needed to go, then create the post and add the image tags, link it all up, and finally push the update.
So I finally wrote a script to do it all for me.
Apple announced today via an open letter to their customers that they would not be complying with a court order to “assist in the enabling of the search of a cellular telephone”. This particular phone was owned by one of the San Bernardino shooters.
Part of Apple’s letter states:
Specifically, the FBI wants us to make a new version of the iPhone operating system, circumventing several important security features, and install it on an iPhone recovered during the investigation. In the wrong hands, this software — which does not exist today — would have the potential to unlock any iPhone in someone’s physical possession.
It would be reasonable at this point to ask the question, “What’s the big deal, Apple?” Especially when Apple says in the previous paragraph, “We have great respect for the professionals at the FBI, and we believe their intentions are good.”
Here’s why this is a Big Deal, and why Apple giving in and creating such a piece of software truly is a Nightmare Scenario:
Who doesn’t want to automate their house via
I have a Razberry module hooked up to a RaspberryPi, along with about a dozen or so Z-Wave devices (switches, sensors, etc.) throughout my house. The ZWay server still has an awful scheduling UI (you have to add an app for each schedule rule you want). Even X-10 had a scheduling UI, in the 90s. (Sadly, I couldn’t find any good pictures of this old interface; perhaps I’m forgetting the proper name of the device.)
The only problem is that there isn’t a basic command line interface to the ZWay server. So, I wrote one.
zway-cli is a simple Ruby gem that gives you basic command line access to your ZWay server. You can query device status, and turn things on and off. It’s super basic, and super simple, which is exactly what I wanted for an application like this.
Things like this make me happy:
$ zway kitchen_lights on
If you’re running ZWay and want a simple way to control it via the command line you ought to give it a try.
I got my first 3D Printer on January 6, 2016. I ordered a Maker Architect 3D Printer from Monoprice for $299. It turns out that the Maker Architect 3D is basically a Flashforge Creator, with a single extruder and no heated bed. It came with 1kg of white PLA filament.
When it first came out, I was really enamoured with the nest thermostat. The idea of a remotely-accessible, app-controlled thermostat appealed to the gadgeteer in me, but the price and lack of flexibility (it really wanted to be left alone to learn and do its own thing, as opposed to being controlled by a fixed schedule), plus my propensity to tinker, led me to build my own.
For a long while I had an Arduino-based thermostat running in my house, but I wasn’t very happy with it. Writing code for the Arduino isn’t always very fun (for me), especially when you want it to be web-accessible.
Then came the Raspberry Pi.
In Stephen King’s, The Langoliers, we are introduced to the creatures that consume the past, preventing us from ever returning to it. Merciless devourers, they relentlessly follow us all through time, ingesting history, insatiably pursuing us in an eternal chase.
As the story progresses, the main characters find themselves face to face with these gluttons, and they must do their best to outrun them; winning the race is their only hope.
As a micro-business owner I awake most days with the weight of an awareness on my shoulders; I must to attempt to evade my own kind of Langolier, the ravenous and unquenchable monster of Cashflow.
The first time you feel it your blood goes cold. The hair on the back of your neck might stand up. Your pulse almost certainly rises quickly, which does nothing to help.
You sit perfectly still. You’re probably holding your breath, but you don’t realize it. Like your rising pulse, this also does nothing to help.
You wait expectantly, but nothing happens.
I’ve have a handful of Raspberry Pis around, and several of them have Dallas 18B20 temperature sensors connected for data collection. Up to this point I’ve used all of them in 3-wire mode (Vcc, Data, Ground).
I just recieved my first Raspberry Pi 2 yesterday, and went to connect it to a network of 4 sensors to replace an Arduino I was previously using.
I ran into a few snags. Here are my notes:
It’s been 2 weeks since my 42mm Apple Watch Sport arrived. (So much for not “getting one immediately”, I know). So far the experience has been mostly great.
At this point I’m dividing my thoughts into three categories: Frustrations, Delights, and Hopes.
Glide is really interesting. The basic idea is that you fill a dropbox folder full of content, and the service generates a beautiful app for you from the content. The elevator pitch is “Hypercard for iOS”.
I’m not sure if Glide will be successful, but I have no doubt that at some point something is going to be developed that allows just about anyone to create a basic mobile app that looks good and Just Works.
Something like Wordpress for mobile.
It’s also clear that the low-end of the custom App Consulting market, which has been dwindling for years through consolidation and evaporation of profit, will finally be dead.
(Of course, when the custom App Consulting market dies, a new market for building all these one-off Wordpress-ish apps will spout up).
I was listening to the lastest episode of the Talk Show with guest Joanna Stern about the Apple Watch. During one section they started talking about tap as a means of communication, and the impact this might or might not have. As John wrote in his review of the watch, it’s not that hard to imagine at least a few scenarios where, for example, sharing a heartbeat would be novel, intimate, and gain even widespread use.
Having thought about this more, I do wonder if perhaps the ability to effectively touch someone from afar will turn out to be a big deal. I think it will.
You can imagine that a native SDK app might even be able to take input from one person and send that to another, enabling a morse-code method of communicating, for example.
There’s a lot more to consider here, but it seems like it’s a bigger deal than I thought it might be at first.
It also makes me wonder just how much more intrusive it will feel to be tapped by some spammy notification in an app.
Up to this point I haven’t been sold (personally) on Apple Watch. The main drawbacks as I saw them were:
However, having listened to quite a few podcasts on the topic and read even more posts, I’m convinced now that (at least at some point) I’m going to want one.
A few use cases for Apple Watch:
When there’s motion on my front porch my wrist can tap and I can see a picture from my porch camera to see who/what is there. Same with other household security notifications.
When I get home I can open the garage door via the app I wrote to control my garage door remotely. Why would you want to do this? Because your watch knows that you are you, and theives like to steal garage door openers and use them to get into your stuff. It’d be safer to not even carry one.
When driving and I get a text message I can easily glance at my wrist, see that it’s something I care about (or not), and respond via Siri, without having to find my phone and get it out.
My wife can find her phone in the house when she loses it.
Easier interface to Siri.
Since my watch can know that it’s me, and therefore verify that I am, in fact, me, then it can be a presence notifier on my behalf. This leads to some pretty great conclusions:
My car can unlock the doors as I walk up, and let me start the car without another key. And I don’t need a massive fob in my pocket to let me do this.
Same with my front door (though I’m unsure I’d ever opt for a lock like this).
Turning off the lights when we leave the house and otherwise left them on.
Allowing me to verify myself as other services support such features. Things like Apple Pay are already there, but other sorts of checkin, registration, and verification could all be linked as well.
I’m not currently planning on getting one immediately, but I think I am far more likely to purchase one than I was a few months ago.
Note: This article is from early 2012 and most of the information is now outdated. For an up-to-date look at this issue checkout the updated article I wrote for Sermons.io.
Last winter (2010-2011), from January through March, our church attendance was down nearly 30%. Between a few vacations and an intense RSV and Flu season the congregation was knocked down pretty hard. Knocked down and out (of the service), but not completely out of participation thanks to our live stream.
We’ve been livestreaming video of our service since we started 2.5 years ago. When we planted, I couldn’t find any helpful information about livestreaming that wasn’t aimed at large churches with much larger budgets than we were working with. Looking around recently for some equipment I still couldn’t find a good reference. So, here’s a bit of a history of what we’ve done at Grace Church. Hopefully it can be of help!