Mastodon

AppleTV 2 1602 error

After hours of frustration after a failed upgrade attempt, try restoring without the power plug. The usb alone should be enough to power your AppleTV 2, and for some odd reason, causes the restore to actually work.

So you’d like to start a Web Company, eh?

“Men wanted for hazardous journey. Small wages. Bitter Cold. Long months of complete darkness. Constant danger. Safe return doubtful. Honour and recognition in case of success.”

— Ernest Shackleton.

This is the perhaps most accurate description of a job at an actual startup. If this sounds like something you’d be interested in, read on.

Remember, Most startups fail. Failing, however, is a crucial step towards not failing.

General advice: read as many of Paul Graham‘s essays as you possibly can. from the top down. Paul Graham has literally helped several hundred startups get off the ground. Some essays will not really be useful right now, but the ideas in there are generally very very good. Check out news.ycombinator.com on a fairly regular basis. Read the comments, lookup every word and acronym you don’t know. Watch these videos

Try to answer these questions as quickly and cheaply as possible:

  1. what is the addressable market size? meaning, in the world, right now, how many people would pay for this? How many people would be interested to the point of being regular visitors?
    this is intended to give some sort of idea about how big the opportunity is.Use tools like quantcast.com to help evaluate how big the audience is that your product might reach. Imagine if you are making a management tool for independant contractors: How many people visit http://www.contractortalk.com/ on a monthly basis? that’s about your addressable market.
  2. figure out the minimum viable product. Try to get your product down to one sentence. Perhaps even one or two pages. (not counting boilerplate, like “about us”, “FAQ” etc.)Don’t get caught up in vision of the final product. No plan ever survives first contact with the customer. Try to get to the very essence of what it is that your idea does. It should literally be one sentence, or possibly less than a sentence. The minimum viable product for google was literally a place to type in text, hit enter, and get search results from a database of websites.When people think of ideas, they go from version 0 to version infinity almost immediately. You should never stop thinking about version infinity, the absolute pinacle of what it is that your idea could be, but, you should laser focus on version 0.1, the absolute minimum of what it is that your idea does. Literally, the one thing, that without it, your idea doesn’t exist, it’s still an idea. It really should be one thing. sometimes you can get away with two. sometimes.Then, you make the one thing and you show it to as many people as possible. Maybe you don’t even make it, you tell people online that you are going to make it, you setup a website where people can give you their emails so that you can tell them when you make it, and then, when you have their emails, you ask them about it, you get them involved, you show them mockups, get them to beta test, ask them to pay you for it upfront. the works. Your customers are your partners.
  3. Fail often, fail fast, and fail cheaply.
    failure is the process of stumbling towards success. This means relentlessly testing assumptions that you have as quickly as possible, with as little downside as possible. the difficulty is figuring out how to test accurately yet also as cheaply as possible. thus, use what is already there to try to invalidate your assumptions. Think of it like science: you’ve got strong hunches that you want to prove correct, but you can’t be sure of them, and aren’t going to bet the farm until you’ve got a sure thing. The only way to be sure is to test it and be honest with yourself about the results.

How are you going to fail as fast as possible? Remove as many people, steps, and processes as possible from getting your idea in front of someone who doesn’t care about you. (Your family and friends are useless in this regard, insofar as they will not tell you that your idea is a stinker)

Crucially, if your idea happens to be related to computer and software in any way shape or form, learn how to program your computer. There are a ton of awesome resources out there to learn how to write software and for starting a business, but it can be daunting to try to separate the wheat from the chaff.

The two best languages at the moment are, in my humble opinion: ruby and javascript. Ruby because it is easy and understandable, yet also powerful, javascript because it is ubiquitous, interesting, and easy to play with: if you’ve got a browser, you can mess around with javascript. I’d look through each one below and see what seems like it’s your thing. Also, remember: it’s not that hard and more importantly there is no speed limit.

Free ruby stuff:

Free javascript

At this point, you should be ready to start failing. Go forth, claim your destiny.

Stay tuned for the next installment of this multi-part series.

The actual graylog2 installation instructions

***UPDATE***

New graylog2 is out. Probably means these instructions are waay out of date. YMMV.

 

 

Graylog2 rocks, however, the install instructions leave much to be desired, simply because they don’t mention any of the other required services and how those services should be setup.

I’m here to help.

This writeup is going to written for Ubuntu 10.04, however, if you’re installing graylog, I assume you know how to install packages on your linux distribution of choice.

First, we’re going to need all the prerequisite libraries and servers: mongo, elasticsearch, and the java jdk.
Here are some links that helped me:
mongodb ppa instructions for Ubuntu
Mongo user creation.

Elastic search should be reasonably configured from the start for our purposes.

Setting up the mongodb user and database ( yes, I know, 123, but it’s the default, and mongodb should only be listening to localhost.)

you’ll also want to specify these values explicitly in the mongoid configuration file in the webserver. In /opt/graylog2-web-interface/config/mongoid.yml add these values, and delete the other production values.

the nginx upstart script

and this is what your /opt/nginx/conf/nginx.conf should look like:

I used this upstart scripts for the graylog2-server. if you copy and paste it into your /etc/init files (it’s late, if you need the exact commands, write a comment…)

now, for the magic:

and you’re off.

Poetry! They should have sent a poet. So beautiful. So beautiful… I had no idea.

[vimeo http://vimeo.com/32001208 width=700 height=393]

 

You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, “Look at that, you son of a bitch.

— Edgar Mitchell, Apollo 14 astronaut, People magazine, 8 April 1974.

High res original footage available from NASA.

Gil Scott Heron and #OWS

Excellent remix from one of the greats.

The Intuitive Mind is a sacred gift.

and the rational mind is a faithful servant.

[youtube http://www.youtube.com/watch?v=dFs9WO2B8uI&w=700]

 

Steve Jobs

Remembering that I’ll be dead soon is the most important tool I’ve ever encountered to help me make the big choices in life. Because almost everything — all external expectations, all pride, all fear of embarrassment or failure – these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart.

—Steve Jobs

2006 Stamford Commencement Address

This quote changed my life when I heard it two years ago. You will be missed, Steve, but damn, well done.

Oh When The Saint Go Marching In.

[youtube http://www.youtube.com/watch?v=wyLjbMBpGDA&w=700]

Richard Feynman on doubt, uncertainty and religion

 

Update: Feynman on Beauty

Pleasure in Intelligent Dissent

Find more pleasure in intelligent dissent that in passive agreement, for, if you value intelligence as you should, the former implies a deeper agreement than the latter.

– Bertrand Russell

Print Your Own Gun At Home

Anyone with a 3d printer, available from several different sources at prices close to or under $1,000, can now print out parts for an AR-15 assault rifle.

The AR-15 lower receiver and A 3d printable model for a 5 round magazine .

The Lower Receiver is the frame that holds together all the other pieces of the firearm. In the States, all the other pieces can be purchased without a permit – over the counter or through the post. The Lower Receiver is the only part which requires a background check or any other kind of paperwork before purchase.

Typically this part is made of aluminium. A rifle with a Lower Receiver made of plastic can be perfectly functional.

The revolution will be printed at home.

What Does It Feel Like to Fly Over Planet Earth?

Photographs from ISS the stitched together into a fantastic short video.

This movie begins over the Pacific Ocean and continues over North and South America before entering daylight near Antarctica. Visible cities, countries and landmarks include (in order) Vancouver Island, Victoria, Vancouver, Seattle, Portland, San Fransisco, Los Angeles. Phoenix. Multiple cities in Texas, New Mexico and Mexico. Mexico City, the Gulf of Mexico, the Yucatan Peninsula, Lightning in the Pacific Ocean, Guatemala, Panama, Columbia, Ecuador, Peru, Chile, and the Amazon. Also visible is the earths ionosphere (thin yellow line) and the stars of our galaxy.

Remember Kids: Safety Third

Moore’s Law vs. Processor Power Efficiency

As CPU clock speeds start to level off, researchers have noticed that another power law has appeared in the electronics industry: power efficiency doubles every 18 months.

If you look at any human endeavor that enjoys the benefits of the application of tremendous amounts of determined brainpower, the metrics by which that endeavor is considered a success have a tendency to obey power laws. The periodicity of each, however, varies from field to field. See Kevin Kelly excellent research on the subject of Moore’s Law and air speed records. Processor power efficiency is the key now that portability is of the utmost importance and the rate of growth of battery storage capacity, while itself is also obeys a power law, the chemical nature of the endeavor leads to a much longer doubling time. This leads to all sorts of fun facts such as:

Imagine you’ve got a shiny computer that is identical to a Macbook Air, except that it has the energy efficiency of a machine from 20 years ago. That computer would use so much power that you’d get a mere 2.5 seconds of battery life out of the Air’s 50 watt-hour battery instead of the seven hours that the Air actually gets. That is to say, you’d need 10,000 Air batteries to run our hypothetical machine for seven hours.

Via Alexis Madrigal of the Atlantic.

You can hold yourself back from the sufferings of the world

You can hold yourself back from the sufferings of the world, that is something you are free to do and it accords with your nature, but perhaps this very holding back is the one suffering you could avoid.

– Franz Kafka

Mastodon