Will Amazon Let Developers Monetize the Echo?
Maybe one day.
T-Mobile Will Begin Offering Data-Only Simple Choice Plans On March 30th, According To Leak
If you route all of your voice calls through data-only web tools like Hangouts, you may want to keep an eye on T-Mobile. According to an internal leak post… by Michael Crider in News, T-Mobile
Cubetto – Hands on coding for ages 3 and up
A playful programming language you can touch. Montessori approved, and LOGO Turtle inspired. Learn programming away from the screen.
Forgotten audio formats: The Highway Hi-Fi
If only we could still play our vinyl records while speeding down country lanes.
Adding a New Component

Fire TV Stick: A Review

I’ve used the Chromecast and Roku stick/box, and the Fire Stick has a lot going for it and a lot…not. Unlike the Chromecast, it does have a remote control, so it is most similar to the Roku stick in functionality.
Now, the difference comes in specifications. The Fire Stick has the best specifications of any of the three. That means smoother execution.
However, the issue with the Fire Stick, as with the entire Fire line, is the limitation of the Amazon App Store. The apps that are in the store mirror those developed on other Android platforms…Amazon’s OS being a fork of Android. However, many developers don’t develop a version of their application for the platform, leaving many gaps.
So, if you want the standard video providers…this is an excellent option. It’s small, expensive, supports many hours of video watching.
But if you expect to get a lot of independent development beyond that, you are going to be disappointed.
[asa]B00GDQ0RMG[/asa]

Pinboard Switches from One-Time to Annual Fee

However, anyone who is an existing member, or who signs up before January 1st, will be grandfathered in.
As someone who has 32,000 bookmarks in Pinboard of articles I found of interest, I would recommend the service. It is flexible enough to be whatever you want it to be.
For me, as an archival customer, it is a record of every online source I read and found of interest that I know will be there(as it is archived on the Pinboard server). I can search that for any article I remember reading.
Other people use it in other ways. It can be social, it can be a Read It Later service…I used to use a Read It Later service, when what I really wanted was an archive.
So, if you are interested, give it a try before the price goes up.

Let’s Build a Server: Part 2 – Monitoring

Last time, in Part 1, we discussed setting up a firewall and an email relay so notifications from the firewall could get to us.
Now, in Part 2, we’re going to talk about more signal. Server monitoring and alerting. Our primary software for monitoring is Monit.
Monit has a single configuration file, but many distributions, including mine, set up a /etc/monit.d folder so you can divide your monit configuration into different files.
Once it is running, you can monitor its status by running
monit status
It will show the status of whatever is monitoring. There is also an optional web component, if you want to check status in a web browser.
What can you monitor?
Monit can monitor any program and restart it if it crashes.
check process nginx with pidfile /var/run/nginx.pid
start program = "/bin/systemctl start nginx.service"
stop program = "/bin/systemctl stop nginx.service"
if failed host 127.0.0.1 port 80
protocol http then restart
if 5 restarts within 5 cycles then timeout
As you can see, the simple scripting language allows you to not only restart, execute programs, but alert the user.
Not only can it make sure something is running, but it can monitor its resource usage, as well as system resource usage. It can monitor processes, network connections, programs and scripts, files, directories, etc.
An Alternative to Email Alerts
The default for an alert is to send an alert email, but for bigger emergencies, a phone push notification is also useful.
Monit provides a simple instruction on how to set it up for Pushover. There is also the alternative of PushBullet.
Pushover costs $5 per platform(Android, iOS, Desktop) to use on as many devices as you want. There is a per application limit of 7,500 messages per month. Pushbullet is, by comparison, free. The basic difference as I see it is that Pushbullet is more geared toward the consumer, and Pushover is more geared toward developers in how it was initially set up. They do have similar feature sets though.
Here is Monit’s suggested Pushover script, which can be run instead of an email alert.
/usr/bin/curl -s
-F "token=your_mmonit_or_monit_app_token"
-F "user=your_pushover_net_user_token"
-F "message=[$MONIT_HOST] $MONIT_SERVICE - $MONIT_DESCRIPTION"
https://api.pushover.net/1/messages.json
Here is an alternative version for Pushbullet
curl -u <your_access_token_here>: -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary '{"type": "note", "title": "$MONIT_HOST", "body": "$MONIT_SERVICE - $MONIT_DESCRIPTION"}'
Conclusion
In all cases, monit allows you to monitor your system and take action based on a change in performance. The complexity of your rules is entirely up to you. But, if you give thought to their setup, you can not only be told when there is a server emergency, but the system can take action to fix it.
A Bluetooth Toothbrush is on Sale…What?
I subscribe to the Amazon Deals of the Day, and often there is something worth considering on them. Today, the Deal of the Day is an Oral-B Pro 5000 SmartSeries Bluetooth Electric Rechargeable Power Toothbrush.
And there is the what…I get the motorized toothbrush idea…it is like having professional dental tools in your home. However…bluetooth?
“Bluetooth communication between brush and smartphone provides real-time feedback on brushing habits, helping you achieve amazing results. It acts like a dental professional in your bathroom, guiding your brushing experience and providing feedback in real-time to help you brush thoroughly and gently for the dentist-recommended 2 minutes. ”
So, my smartphone can tell me I need to brush my teeth, and I should do it better? According to the reviews, I can also monitor my brushing, shop for brush heads, get achievement badges.
I’m not sure I’m comfortable with the Quantified Self philosophy that is becoming so popular…there are some things that aren’t interesting to record.
Right now, anyone want to buy a bluetooth toothbrush…I’m predicting next I’ll be able to compete with other brushers for points…gamification is popular too.

Let’s Build a Server: Part 1 – The Firewall

Necessity is the mother of invention. It is once again time to upgrade the Gadget Wisdom servers. And, as I have committed to writing more here, I will be writing some articles on server construction.
Now, this will all be done using a Virtual Private Server, so the hardware is outside of the scope of this series.
The first piece of software I usually install on network accessible servers is the ConfigServer Security & Firewall(CSF). This is a firewall with login/intrusion detection, and security. Most distributions of Linux come with some sort of firewall, but this set of scripts works with iptables to be much more secure.
CSF provides scripting for a firewall, and handles login failure handling for a variety of stock services, as well as unsupported services using regular expressions.
There are a lot of options in the CSF configuration file…read through the description of each…decide which ports you want open, and deploy. CSF will automatically update itself when there is a new version.
In order to ensure notifications from the firewall and other administrative notifications are read, you will likely wish to arrange for the ability to send mail. However, you may not need or wish the trouble of setting up a mail server. The simpler solution is to set up an SMTP relay.
The example below configures Postfix, available with many Linux distributions, for use with a gmail account. Add the following lines to the bottom of your /etc/postfix/main.cf
smtp_use_tls=yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
Create a file with your gmail credentials.
smtp.gmail.com user@gmail.com:PASSWORD
Then secure the file.
chmod 640 /etc/postfix/sasl_passwd*
postmap /etc/postfix/sasl_passwd
Now, any external email will route through your gmail account. We have now protected our server from a variety of attacks, and ensured, if there is a problem, we’ll be notified of it.
There are alternatives to Gmail. For example, Mandrill offers 12,000 emails per month for free, and 20 cents per thousand after that, and Sendgrid offers 200 emails, and 10 cents per thousand.
You can use Mandrill or Sendgrid instead of Gmail by using the below credentials.
[smtp.mandrillapp.com]:587 USERNAME:API_KEY
[smtp.sendgrid.net]:587 USERNAME:PASSWORD
Related articles
How To Install and Setup Postfix(n0where.net)