HNHacker News
TopNewBestAskShowJobs

pcowans

84 karma · joined August 9, 2007

submissionscomments
pcowans··on Fun tech business books
Soul of a New Machine is one of my all time favourite books - a definite must read for anyone who cares about how technology gets created.
pcowans··on Ask HN: How many servers did you have/need at your startup's launch?
Super-obvious answer here, but if you only have one of something you can't upgrade things, reboot, etc., without downtime, and you have a single point of failure if things go wrong. Having N+1 of each component, ideally with automated failover, makes a huge difference to how easy it is to maintain your system. You'll also enjoy life more when you can wait until the morning to fix something falling over in the middle of the night.
pcowans··on Magic Roundabout
I used to live close to this one: http://en.wikipedia.org/wiki/Magic_Roundabout_(Colchester) - it's actually very easy to do, and is really nothing more than a road that happens to run in a loop and has 5 small roundabouts on it. The junction in the current configuration works a lot better than it did when it was a large regular roundabout, as the pattern of traffic made it almost completely impossible to enter the roundabout at some of the entrances.
pcowans··on BBC debunks claim that there are 100 North Sea cod
This is maybe a bit more encouraging though: http://www.bbc.co.uk/news/uk-scotland-north-east-orkney-shet...
pcowans··on Handling the London Waterloo rush hour on Twitter
Interestingly, some trains (on the London-Cambridge line for example) now have posters with hashtags for use during delays in the carriages.
pcowans··on Going Colo
Just a couple of observations based on experience:

- You'll most likely run out of power well before you run out of physical rack space.

- You'll (hopefully) spend less time in the data centre than you think, especially if you have good lights out access, remote power bar access etc. If you're locating in a large city you can often get a better deal somewhere in the suburbs rather than downtown with very little downside (at least that seems to be the case here in London).

- Interconnects between racks can be awkward to get set up, and you can't necessarily get the rack next door when you want more space.

- Redundant everything will save you a lot of hassle, but gets quite expensive. In particular redundant power will save you from downtime when the data centre decide they need to take one of the power feeds down for maintenance (it happens), and setting up redundant (external) networking has the same effect. Having a second network for admin access prevents you from being locked out in some failure cases. Hot swappable drives are useful for systems which are awkward to take offline (e.g. database servers), but not massively useful elsewhere if you have good redundancy at the server level.

- Data centre rack floors are about the most unpleasant place to work you can imagine :-)

- If you can get a handle for how competent the data centre are at mitigating DoS attacks it's a useful datapoint. If they aren't on the ball an attack against anyone hosted in the same place will take you offline too. having said that, I'm not entirely sure there's a fool-proof way to determine this ahead of time.

- You can generally borrow a cart with a keyboard and monitor on it to wheel up to your rack, so no need to have those permanently installed.

- Keep a stash of network cables, cable ties etc. at the bottom of your rack - it's annoying to show up only to find you've forgotten that kind of thing.

- You may need to register authorised employees before showing up, so make sure you do that before taking your new intern to help rack a server. Expect them to ask for ID before letting you in.

- Data centres (at least some of them) will take deliveries on your behalf, so there's normally no need to get things shipped to your office then drive them out yourself.

pcowans··on Poll: How long have you been programming?
It also could be simply a function of the demographics of HN readers.
pcowans··on Bacteria converts carbon dioxide into liquid fuel
I'll also add a link to the Google Solve For X talk from Mike Cheiky / Cool Planet, as it's relevant here and pretty interesting:

http://www.youtube.com/watch?v=zkYVlZ9v_0o

pcowans··on Bacteria converts carbon dioxide into liquid fuel
Starting from the other end of things, it clearly is possible to synthesise organic compounds from atmospheric concentrations of CO2 as nature does it already, the question is what sort of yield you can get.

My understanding is that using algae to do this via photosynthesis is limited by the fact that with wild strains you need to harvest and extract the biomass before you can get at the fuel, and you need to spread things out in a very thin film to get enough sunlight. Using modified strains helps solve the first problem, using (more efficient) synthetic photovoltaics, or another power source, with a process like this potentially helps solve the second.

To respond to another reply to this post, I don't think complex structures that maximise surface area would be necessary - you could just bubble air through the tank. As mentioned above, bubbling CO2 rich waste gasses from a power plant would likely be even more efficient.

pcowans··on Advanced caching in Rails
I should also add that addressing performance issues with caching can seriously impact the maintainability of your application, particularly if you end up with complex cache expiry rules and/or systems to pre-populate cache entries. I'd definitely say that the priority should be to first simplify your app as much as possible, then optimise and only when that doesn't work to use caching.
pcowans··on Advanced caching in Rails
From experience I have to agree with both parts of this - it can be very slow and it's generally not that easy to profile, e.g. the call graph tends to get very complex and therefore difficult to interpret, and as you say, GC can be a big part of the problem which doesn't help.

One thing worth mentioning: anecdotally I've found that ActiveRecord can have an impact on performance far beyond the cost of the database queries, both by directly adding a reasonable amount of overhead and by instantiating a lot of objects internally which in turn triggers a lot of garbage collection. I wouldn't be surprised if that accounts for a fair chunk of what you're seeing.

pcowans··on Rare earth crisis: Innovate, or be crushed by China
Tellurium's not a rare earth element though. It is currently produced only in very small quantities, but my understanding is we just don't know much about how much of it's available due to the fact that we didn't really use it for anything until CdTe photovoltaics came along.

Worth noting too that this is only one of a number of thin film solar technologies, and that silicon rather than thin film still accounts for the vast majority of all production.

pcowans··on We Can All Become Job Creators
Then we'll do more programming - I'm sure we've not run out of problems that can be solved through software.
pcowans··on We Can All Become Job Creators
Sure, although I think in this case it might be the lesser of two evils. It would definitely be nice to see the private sector funding job creation, but if they're not going to do it it's probably worth getting the government involved.
pcowans··on We Can All Become Job Creators
I'm not sure that's true - it's definitely not true when you have limited funding and aren't profitable yet, but for the most part the tech world moves on and products have a finite, and generally pretty short, lifetime.
pcowans··on We Can All Become Job Creators
I disagree - I'm not an economist, but certainly here in the UK there's a lot of talk about access to credit being a significant limiting factor. Hence the government's 'credit easing' program, which is aimed at lending directly to businesses where the banks won't:

http://www.guardian.co.uk/politics/2011/oct/03/george-osborn...

pcowans··on Renewable energy tops nuclear power in the US
Also worth looking at the historical data in http://www.eia.gov/totalenergy/data/monthly/pdf/sec1_4.pdf. That shows that this was also the case briefly in the late 90s, and consistently before about 1990.
pcowans··on Atop TV Sets, a Power Drain Runs Nonstop
For the sake of comparison, per capita energy consumption in the US (for 2003, from http://en.wikipedia.org/wiki/List_of_countries_by_energy_con...) is 10,381.2W, or around 91,000kWh/yr, so the example of 446kWh/yr in the article corresponds to about 0.5% of average energy consumption.

Maryland has a population of 5,773,552, c.f. 308,745,538 for the whole US, i.e. about 1.9% - my guess is they're actually talking about electricity consumption here, not overall energy consumption.

pcowans··on Windows 8 Welcome Screen And Windows Explorer Screenshots Leaked
Something targeted at encouraging a strong hacker community around the OS - most likely lowering the barrier to entry for non-professional developers to build and distribute simple tools which add functionality in creative ways. Microsoft's idea of a developer community is still too focused on professional developers working on large scale commercial apps.
pcowans··on Bing search results showing up in Google
I think you're confusing robots.txt with the nofollow attribute value: http://en.wikipedia.org/wiki/Nofollow
pcowans··on Ask HN: Who's hiring.. Sysadmins?
Songkick in London, UK

See http://www.songkick.com/info/jobs#systems_engineer for details. If you're interested, drop us a line at joinsongkick@songkick.com.

pcowans··on Ask HN: Who's Hiring? (December 2010 Edition)
More someone who can run testing in a way which fits well with agile development, rather than simply verifying functionality once development is largely complete.

In our case this means working closely with developers, product owners etc. early in the development cycle to ensure that acceptance criteria are fully explored and agreed on, helping the engineering team build automated acceptance tests, which we use to drive development, and exploratory testing throughout the development process.

pcowans··on Ask HN: Who's Hiring? (December 2010 Edition)
London, UK: Songkick (YC07) is looking for a Systems Engineer and an Agile Tester. In both cases we're looking for someone who can work on-site with the rest of our team.

See http://www.songkick.com/info/jobs for details, and contact joinsongkick@songkick.com if you're interested.

pcowans··on My Weekend Project: Not A New Yorker (Feedback Requested)
Yep, I'd definitely look into making this a platform.
pcowans··on My Weekend Project: Not A New Yorker (Feedback Requested)
Sounds good. It might be worth thinking about whether something closer to the HN/Reddit/Digg model might make more sense, i.e. 'Best of' being the default option, possibly with tweaks so that new posts get enough exposure to be upvoted.
pcowans··on My Weekend Project: Not A New Yorker (Feedback Requested)
I'm expecting to be able to sort the entries by score, but can't obviously see how to do that. Do I need to post an entry before I get that option? I've spent a total of around 12 hours in NY in my life, so don't really feel qualified :-)

A few minor tweaks to the visual design would make a big difference, but I'm sure you know that.

Longer term: maybe widgetise so people can put it on blogs etc.

pcowans··on Ask HN: Would you build a startup with "LOL" in its name?
I can't really see you getting a lot of useful advice unless you're able to give details of the product and market. Any branding decisions are going to be completely dependent on those factors.
pcowans··on Ask HN: How to begin contributing to an open source project?
I'd agree with this. Pick something you already use and fix or extend it in ways which make a meaningful difference to you, but be aware of and respect the design goals of the original authors.

In practical terms, you can just start hacking on the code yourself which will normally be available from a version control system somewhere, but when you've made changes you'll need to submit patches for consideration to the project maintainers at first. If you're unsure what format to use, just email to ask. For projects hosted on github you can just fork the project there which will make it technically easier to get patches back into the main branch. As you build up trust with others involved in the project you'll be able to get commit access to the project repository and make changes yourself.

As for IDEs etc, each project will have conventions and project metadata (makefiles, project indices etc.) suitable for a specific setup, so figure this out when you've picked a project and work with what's already in place as much as possible.

[edit] One other thing: it will be really hard to get started - getting up to speed with how a new piece of software works is difficult at the best of times and most projects aren't designed to make this easy. Persevere, as once you've got to grips with layout and conventions and got to know the other contributors things will become much easier.

pcowans··on HN London Meetup
I'll be there.
pcowans··on Building and Scaling a Startup on Rails: Things We Learned the Hard Way (by Posterous S08)
Rails running on vanilla Ruby does have particular scaling issues due to the limitations of the Ruby garbage collector. You hit a GC cycle after every 8MB of allocation, which typically takes around 150ms to run, so can dominate the runtime of your requests. We've had 80% of the runtime in GC, even when you include database time.

This isn't necessarily a killer, but it means there's sometimes more work than you might like in scaling. There are patches to tune the garbage collector, and JRuby etc. may help, but ultimately you need to be much more aware of memory allocation than you might think.

← PreviousPage 2 of 3Next →