turnings :: daniel berlinger

passions :: perfections :: peoples :: stuffs

The Ruby aws-sdk gem v2 forces SSL everywhere

leave a comment »

It came up at work, we checked with the author to ensure what we saw in the code and by experiment. Documenting here in case anyone else has the question.

“It forces SSL everywhere by default. The only mechanism to disable SSL is to provide a url as :endpoint that uses the http scheme instead of https.”

Written by Daniel

March 13, 2015 at 8:10 am

Posted in tech

Here’s why your farmed salmon has color added to it

leave a comment »

Here’s why your farmed salmon has color added to it:

The fact that consumers will shell out more for salmon that looks wild—even if it got that way by eating pellets in its pen—hints that people want to be eating wild salmon, but not quite badly enough to buy the real deal. If it’s price that’s keeping consumers from buying wild-caught salmon, they might want to consider saving a few bucks more and start demanding farmers cut out those expensive pigments—and sell them salmon that’s gray.

[Interesting. But I’d be surprised if it happened. Maybe if a company wanted to take on the marketing of a “new” fish and not call it salmon… and still charge nearly as much. What a mess. (I should add that assuming that none of the folks involved are lying to us, we buy wild salmon, we’re not fans of food coloring.)]

Written by Daniel

March 13, 2015 at 8:01 am

Posted in food, health

Rivers Run Free… Nation’s Biggest Dam Removal Is Done

leave a comment »

Rivers Run Free… Nation’s Biggest Dam Removal Is Done | Gear Junkie:

Last year, 72 dams were removed across the country, including the final portion of the Glines Canyon Dam along the Elwha River in Washington, the largest dam ever removed.

American Rivers keeps track of all the dams removed across the country. In 2014, those 72 removed dams were found in 19 states.

[According to American Rivers, 15O,618 acres of riverside land was protected and 4.2 million pounds of trash were removed through their National River Cleanup program. Progress!]

Written by Daniel

March 13, 2015 at 7:50 am

Posted in environment

Open source license usage on GitHub.com

leave a comment »

Open source license usage on GitHub.com:

Open source simply isn’t open source without a proper license. Unless you’ve explicitly told others that they can modify and reuse your work, you’ve only showed others your code; you haven’t shared it. Here at GitHub, we’re big fans of open source, so we set out to better understand how our users approached licensing their code by looking at license usage across public, non-forked repositories, in hopes of encouraging more users to share their work with others.

[snip -ed]

Share your code

If you haven’t already, we encourage you to add a LICENSE file to your project. To make things a bit easier, if you begin to create a file named LICENSE via the web interface, we’ll even provide you with a list of common license templates to choose from.

This is just the start. Look forward to a more in depth analysis over the coming weeks as to how license usage affects project success, as we delve deeper into the numbers. Of course, in the mean time, we encourage you to explore license usage on GitHub using the Licenses API.

Happy open source licensing!

[One of the many parts of software development that I truly enjoy is making easy things easier. It’s not hard to include a license in a project, but time is always at a premium and discipline is as well. When something requires even a little bit of both the chances that a large community will consistently perform those actions diminishes. Of course, even better, is when someone does it for you. Sadly, the vast majority of the code I’ve written will never see the light of day. But that’s the way it goes. We (at work) open source what we can, when we can.]

Written by Daniel

March 13, 2015 at 7:43 am

Posted in advocacy, craft, tech

David Carr’s sad story

leave a comment »

Nytimes hq

Scripting News:

The end of David Carr’s current column in the NY Times is, I think, meant to outrage us. Reporters are being asked to deliver papers. I’m trying to think of what the analog would be in programming. We have to do a lot of menial tasks. Without a pulpit like Carr’s on which to tell our tale of woe. But I agree. Having a professional reporter deliver papers is ridiculous.

[snip -ed]

Summary: You have to let more of the world in. Or eventually the world will invent what you have with a different name. That’s always been the option. The Times should have fully made the transition to the web by now. The biggest part of that transition is allowing more voices to speak directly through your platform.

[I think what Dave has is still true (he’s said this before many times, he’s just not being heard (yet?). But I also think that David Carr missed something that he wrote about at the top of the column.

When the Forces of Media Disruption Hit Home – NYTimes.com:

I read on Friday that the price of taxi medallions in New York City had fallen about 17 percent, a drop created by competition from ride-sharing services like Uber and Lyft. The impact is remarkable because neither company possesses big capital assets, or a huge number of employees. Instead, they put a new user interface over cars and drivers already on the road. In the same way, Airbnb has remade the rental markets, not by buying properties, but simply by surfacing available units on the web to people in need.

What he ignored is that there is a new interface for journalists too. It’s called blogging. And while the Times could potentially lose exclusive access to those people, no one else has to. And in fact, the Times doesn’t have to either if they do what Dave suggests. The Times no longer needs to have “big capital assets, or a huge number of employees” or at least as much or as many. They could take advantage of the new interface for journalism to rebuild their business.

I don’t mean to belittle the pain the people involved in these changes have to go through. Many probably liked the way things were, and worked hard to do their part and make it the success it was. But nothing lasts forever, and the old model is going away.]

Written by Daniel

December 2, 2014 at 1:26 pm

Posted in advocacy, news, tech

→ President Obama’s statement pushing for net neutrality

leave a comment »

→ President Obama’s statement pushing for net neutrality:

And isn’t it sad that a U.S. president can have such a strong opinion on a regulatory decision that’s such obvious common sense, so obviously beneficial to consumers (and the lack of which is so obviously harmful), so well-supported by the citizens, and falling on the shoulders of someone he appointed, yet it still has such a low chance of actually getting done?

∞ Permalink

[More than sad, it’s everything that’s wrong with government in the US today.]

Written by Daniel

November 10, 2014 at 5:51 pm

Posted in advocacy, tech

MacRumors: ‘iOS 8 Adoption Stagnates Just Two and a Half Weeks After Launch’

leave a comment »

MacRumors: ‘iOS 8 Adoption Stagnates Just Two and a Half Weeks After Launch’:

Very worrisome — a canary-in-the-coal-mine indicator that casual users no longer trust Apple with major iOS updates. Last year the number for iOS 7 adoption was in the 70s in October, which was a faster adoption rate than iOS 6 the year prior.

[Here’s my take. Lots of devices don’t have the room necessary to complete the update, and folks haven’t made time to do anything about it yet. My son’s device is a perfect example, 16G, totally maxed out. I haven’t had time to check that it’s backed up, wipe it, update, and then reload. It’s gonna wait…]

Written by Daniel

October 8, 2014 at 9:18 am

Posted in tech

Follow

Get every new post delivered to your Inbox.

Join 552 other followers