Giving an AWS IAM User access to a single bucket

This is just my notes on the subject of granting access to a S3 bucket to an AWS IAM User. Figuring it out was much harder than it should have been...

  • Create an IAM user.
  • Create a S3 bucket.
  • Configure aws-cli on your system with a profile for the new user.
  • Edit the bucket policy and paste the following into it. Replacing placeholders as needed.

 

Comcast's Internet Data Limit is terrible

Today, for the first time, I received notice from Comcast that I was nearing my 1024GB data limit. 10 days after the month began. When they first notified me that they would be enforcing that limit, I wasn't too annoyed. 1024GB is a pretty decent amount of data. Certainly it's much better than the unenforced 250GB they had shown on my account before. Unfortunately, they did not make clear, one key piece of information. Upload data counts against the data limit[1].

Politics in 2016

Here are a few thoughts (sorta rants) on politics this year. Largely just preaching to myself. Feel free to chime in in the comments.

First

The ratio between the attention we spend on Federal politics and the attention we spend on local politics is far to heavily weighted towards the Federal side. Yes, it is important. But you are much more likely to be able to influence local politics than Federal. So, spend more time paying attention to State, County, and City politics.

Modifying Drupal 7 User Pictures in code

It took me a while to figure out how to modify or add a user picture from inside a custom module. Google was not much help. So here's the answer I found, hope it helps someone.

First, you need an actual Drupal file object. Something you could reference a file id from. Like $newbieFile->fid.

I referenced modules/user/user.module and includes/file.inc to figure this out.

How to fix Observium when graphs show "Draw Error"

I've been using Observium at work to collect and graph SNMP logs for a couple years now. A while back the graphs started showing "Draw Error" instead of the actual graph. I poked at it a bit, but never got it fixed. I wasn't too worried since I want to use the ELK Stack for most of what Observium does in the future. Today, though, a coworker came and asked about Observium. So I decided to poke at it some more.

Rise of the Tomb Raider review

# Rise of the Tomb Raider

ESRB Rating: M (Blood and Gore, Intense Violence, Strong Language)

Release Date: November 10, 2015

Platform: Xbox One

Genre: Action/Adventure

Should you get it? Yes.

## Intro

Second in the 2013 reboot, this game follows Lara's journey as she looks for the artifact her father was looking for when he died.

## The good

Checking out the Drupal 8 RC

For the past couple weekends I've spent a few hours seeing if I could build a new personal site using Drupal 8. D8 recently released it's first couple release candidates, and set an official launch date. (November 19, 2015)

So far I've only created the very basics of a site. Nothing worth making public. Of course, I've also spent very little time on the project. That said, here are my initial thoughts.

Installation is just as easy as D7. No changes that I noticed.

Digital Rights Management should be considered actively harmful

Why?

As I'm writing this, Guardians of the Galaxy is pre-ordered on Amazon. When it comes out, I'll get the full movie on a physical Blu-Ray disc. When I stick that disc in my computer's Blu-Ray drive, open up my Blu-Ray player program, and hit play... I'm going to get nothing. The app is going to pop up a message saying that I need to pay more money to upgrade the app so it can get past the DRM on my movie.

That's right, a legitimate customer cannot watch the Blu-Ray he legitimately purchased.

Net Neutrality

Net Neutrality has been something of a major topic in some of the areas of the internet I visit. Unfortunately, I have yet to see anyone truly address the actual cause of the issue.

So, first, what is the issue?

Big internet service providers, currently, can limit the traffic of various companies. So Comcast could force Netflix's traffic to be slow. The ISP's want to take advantage of this, and charge companies like Netflix lots of money to keep their traffic fast.

Review: Microsoft Sculpt Keyboard

A few months ago I bought the Microsoft Sculpt keyboard and mouse. This review is about the keyboard only. I picked up the mouse and immediately knew it wasn't something I wanted to use.
I don't know a lot about keyboards, so this is entirely subjective.
To summarize, if you like split keyboards, and like short action on your keypresses, then you will like this keyboard. 
Pros:
  • It's nice looking. Seriously.