z2amiller's comments

z2amiller | 13 years ago | on: How a Norco case killed 13TB of our data

These haunted servers were actually supermicro barebones chassis.

It has been a (long) while since I have seen the inside of an e450 but iirc there were a bunch of fans in trays in there. So it is certainly possible that the vibration did bad things. I still carry one of the e450 era keys on my keychain as a momento.

z2amiller | 13 years ago | on: How a Norco case killed 13TB of our data

So 10 years and a few employers ago, we had a case of a few "haunted" server chassis. Hard drives would fail on these chassis very frequently, and when a fresh drive was swapped in, it would take many days to rebuild the RAID, if it ever rebuilt at all.

Putting the RAID set in a new machine, it would rebuild fine. But in the original machine, we swapped out the raid controller, CPU's, even the whole motherboard, and the RAID sets still would not rebuild.

Long story short, each of these "haunted" servers had a bad fan that was causing a lot of vibration within the chassis - enough physical vibration happening that the hard drives were essentially rendered inoperable.

The moral of the story is to make sure you have good vibration dampening on your fans, and to use the sensors monitoring to alert you if the fans are going bad. (Even this is not perfect, since sometimes the fan gets off-kilter but is still happily spinning at 10K RPM. The first thing we did if we got an alert for a disk failure was to replace the fans and attempt a RAID rebuild before touching the "bad" disk)

z2amiller | 13 years ago | on: Nori Lights - Bicycle Illumination System

In the "updates" section, he shows that there is a new system to attach some phosphorescent plastic between the spokes next to the rim. It isn't clear if these are included with the standard backer price, but it does allow the system to be used on bikes with brakes. Hopefully he updates the front page to make this more apparent, since it was my first question also.

z2amiller | 14 years ago | on: Why Don’t Smartphones Have A “Guest Mode”?

I was thinking of something related to this earlier today. One thing I'd really like from the emergency call screen is to allow me to tag several of my contacts as emergency contacts. That way if my phone is stolen, or I am hurt in an accident, the list of proper people to notify is very apparent.

z2amiller | 14 years ago | on: How To Optimize Your Site With HTTP Caching

The best way I've seen for dealing with cache expiry, which the article does not talk about, is to use version numbers on assets. We found this to be especially important with javascript, css, etc -- if all of that stuff doesn't expire at the same time, it can hose the layout of your site.

Also there are may be many layers of caching between you and the user; not only HTTP caching in the browser, but you have to take into consideration any CDN's (Akamai, etc) and sometimes even caching reverse proxies in corporations.

At my previous job, we handled the versioning with deployment-time rewriting of the assets included in the base page to include the version number (As tagged by the build software with branch name + build number).

That said, enabling browser side caching was a huge win for page speed on the site.

z2amiller | 14 years ago | on: How Doctors Die

Is there a good way to phrase (i.e. "Doctor Speak") for something like "No Code unless a probably positive outcome with intervention"?

z2amiller | 14 years ago | on: Programmers' salaries at Google $250k (and up)

Also think for a minute about what "you should be ok" means in this context. Sure, if you are developing something in your spare time that kinda-mostly-doesn't-compete with what your employer is doing, and they find out, maybe they can't legally go after you.

But that doesn't mean that they're obligated to keep sending you a paycheck, either. California is an at-will employment state, and violating your employment contract tends to remove the "will" to employ you.

z2amiller | 14 years ago | on: Why We Moved Off The Cloud

I've always thought the "Drive to the datacentre" argument was BS. If you're writing your app for the cloud, you have to deal with spurious instances going away, degrading, etc. It is no different in the datacenter. If you're driving to the datacenter in the middle of the night to replace a disk or a fan, you're doing it just as wrong as if getting evicted from an EC2 instance causes you to have to scramble oncall resources.

In my experience, the highest operational cost with running services is managing the application itself - deployment, scaling, and troubleshooting. None of that goes away with the cloud.

z2amiller | 14 years ago | on: Whither Netflix?

Access to live sports is the only thing keeping me from cutting the cord. Everything else we watch is readily available from other sources 'a la carte' which would be much less expensive than buying a giant package of cable channels I never watch.

z2amiller | 14 years ago | on: East Coast 5.8 Earthquake -- from VA but we could feel it in NYC

About 10 years ago during a minor earthquake in the California Bay Area, I happened to be on the phone with my girlfriend at the time who was in Mountain View, I was in San Jose. The conversation went something like:

GF: "Oh! There's an earthquake!"

Me: "What, no there isn-- Oh wow, there's an earthquake!"

(few seconds of shaking)

GF: "Okay, it's over"

Me: "No it isn't, I stil feel-- Oh yeah, it's over!"

I'd estimate the delay to have been ~2-3 seconds over ~20 miles -- but I don't remember where the epicenter was, or how deep the quake was.

z2amiller | 14 years ago | on: I'm a phony. Are you?

I am reminded of this post:

http://gadgetopia.com/post/6819

I think your thoughts of being a talentless nobody have more to do with gaining experience than it does having access to more information and seeing more products. You have crossed the "Humility threshold" where "What you think you know" < "What you actually know".

z2amiller | 14 years ago | on: How not to design a CAPTCHA

I've seen similar systems, such as "Which one of these four images is a puppy?". I think the problem is that the set has to be small, so it ends up being a multiple choice quiz. With one correct answer out of four or five choices, it is very easy to brute force.

z2amiller | 15 years ago | on: Gawker's Numbers Tanking

They've F-ed them up worse than that, a few months ago I got a full feed of Fleshbot in the place of my Gizmodo feed. Fortunately I closed my laptop in time, or it could have been a much more interesting meeting at work (No doubt followed by one with HR)

z2amiller | 15 years ago | on: Apple Fails When It Comes To “Basic Durable Product Design”?

I find that with the new 90 degree connector it is much more likely to be yanked in parallel to the machine. The metal mount is much more durable but I've had my laptop nearly pulled out of my hands a few times by someone tripping/yanking on the cord and pulling the machine straight back.

z2amiller | 15 years ago | on: Apple Fails When It Comes To “Basic Durable Product Design”?

With some of the first magsafe-based macs, I was buying a new power adapter every three months or so. The cord would fray at the end of the way-too-small strain relief between the magsafe connector and the cord. I had one nearly catch on fire (melted a bunch of the plastic covering) when it wore enough that it shorted. I figured that this was the recurring part of the 'Apple tax'.

To be fair though, in the last couple years the connectors have gotten much better - I think they extended the strain relief collar so that it does not get bent at as sharp of an angle. Also the new unibody macs have a 90-degree magsafe connector which eliminates a lot of the strain. (Unfortunately I think it is also a less safe design - it takes much more force to disengage the magnets at most angles where the cord would actually get pulled)

z2amiller | 15 years ago | on: Students paying to get internships?

This hits close to home for me. My wife is currently going through the process to get a one-year internship to for her psychology doctorate, which is required for graduation. Having to pay for the privilege is an understatement - her university counts this as a 'class' so the tuition cost for her to turn in some paperwork at the end of the year will be about $3000. In addition, with gas at $4/gallon, there'll be about a $200/mo commute cost for the next year. So far the internships she's looked at pay a $5000 stipend for the whole year.

Of course that pales in comparison to the cost for child care for this year; most of the child care we've looked at in the Bay Area is ~$1700/mo, so her internship is going to cost us about $20,000.

I don't see this system changing anytime soon. As it stands, there are fewer internship slots than there are students. Because it is so competitive, my wife has already been declined by two agencies which had openings directly related to her thesis. I already don't understand how more placements aren't willing to get nearly-free labor, so forcing employers to pay some kind of minimum wage for interns will only reduce the number of slots available to students. Indeed, in addition to all of the indirect costs (child care, etc) we would gladly write someone a check for her to have an internship in the area so that she can finish this year. If she is deferred because there are no placements, it is another year before she starts a "real job".

z2amiller | 15 years ago | on: Cluster SSH (OSX)

Now combine that with dsh (http://www.netfort.gr.jp/~dancer/software/dsh.html.en) and authorized_keys, you can _really_ get in trouble. dsh is similar to this Cluster SSH, but is appropriate for use in scripts, cron jobs, etc.

Example:

dsh -Mg all-machines -F 20 'do something'

-M: Prepend any line of output with the machine that emitted it

-g: runs the group all-machines (just a text file in etc/dsh/group)

-F 20: forks at most 20 copies of ssh in the background so you don't overload the server you're running this from

z2amiller | 15 years ago | on: Ask HN: I'm an unemployed programmer in SF that will work for minimum wage

I don't think 6 years "trying to do a startup" is the same as a complete lack of work experience, unless you spent the entire 6 years trying to raise money and making powerpoint slides. If you did any real programming work during that time, it still counts. I've seen plenty of resumes with "sole proprietor" type jobs. Maybe you don't get a job with a large company, but someone who is versatile and used to doing whatever it takes is perfect for someone else's startup.

I don't think it is wise pitching yourselves to companies who are hiring 100K+ engineers saying you are willing to work for minimum wage. It shows a lack of confidence that you are selling yourself so far under market. Pricing is often a signal for quality. More importantly, the cost of a bad engineering hire is far greater than the salary you're being paid -- a bad engineering hire takes time to get rid of, and often produces negative work output. People end up cleaning up a mess, opportunities are lost while a bad engineer flails at what should be simple code, etc. A bad engineer could work for free and still be a worse value for a company than an engineer making market rate. This is the signal you're sending when working for minimum wage.

page 1