Better HN
topnewbestaskshowjobs
Log inSign up

programminggeek

5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions

I am a builder. I build lots of things.
Submissions

comment 13y ago · link · parent

The author is a moron. The MBA is a much better machine for the average user and their pricing reflects that. As a developer, I would take the 13" MBA over the MBP. Also the author forgets the 11" Macbook Air.

This is just dumb. I don't think the author understands how business works, or more specifically how Apple works.

comment 13y ago · link · parent

Building things on top of docker seems like the fun, exciting thing to do these days and the promise of it is really cool. I certainly have wanted a private heroku that is not a bear to install.

In my ideal world, you could start with a single machine on say Digital Ocean for $5/mo. and that machine could host any number of apps, heroku style, for me until it runs out of resources. It should then be easy to move apps to a 2nd or 3rd or whatever server if I chose not to just bump up the resources on that first one. If an app needs to run multiple servers, it should handle that as well. Having reasonably fine grained control on how many machines things like a database or memcache layer was on would be nice.

In short, I would like something like heroku without all the extra costs of heroku. Cloud 66 comes reasonably close, but I'd like to not pay the extra service overhead. I'd rather just pay for the infrastructure. Something open source that handles this in a reasonable way would be great, but I don't know that Deis is going to be the answer.

comment 13y ago · link · parent

There are two awesome takeaways from this article. One, it is really smart that Nathan is showcasing his customer's results, because it makes it easier to sell the product if you can point to success other people had with it. We all love to tell ourselves the story that if they can do it, I can do it.

Two, if you look at some of the specific tactics like landing page, launch list, preordering, leveraging other people's audiences to sell your product, etc. and put them together all in the same campaign, you are much more likely to do well than if you do just one or two of those tactics.

I always like to read/listen for the little nuances that sometimes creep through articles like this in-between the lines. Some of the best little nuggets of wisdom are hidden in plain sight and never made a big deal of.

comment 13y ago · link · parent

I think it is because people are terrible at considering hidden complexity and the odds of something unexpected happening.

My biz partner has a philosophy of "there is no such thing as a simple app." Hidden complexity is everywhere.

Consider user login. A form with username and password right?

Do you show the password as they type it or obfuscate it? What if the user forgets username or password? How do you handle password reset? Did you make sure you are sending over https? What about captcha? Do you use one at all? Do you have password strength requirements? How do you want to store the password data? What about security questions? What about error handling? Do you support oauth like facebook login? Will this work for login via api? How are you going to test login? Will you write feature specs, unit tests, etc?

Now, how often do people think through features in that kind of detail when estimating? Look at the above questions. All of a sudden the last 20% starts to look like 80%.

comment 13y ago · link · parent

This is really great. I love any kind of "how it is made" type series and given how difficult it is to promote an app, this is a really good idea.

Has anyone else done this sort of thing to much success?

comment 13y ago · link · parent

> You must have missed the last decade of people going on about ZFS.

I guess I did, what's the big deal about ZFS?

comment 13y ago · link · parent

When you aren't creating the hardware, it is harder to care about power management in the software because that is seen as "someone else's problem". It is easy to blame things on terrible drivers or whatever, but no matter how you look at it, the product is worse as a result.

This is why Microsoft needs to keep building their own hardware like the Surface. As time goes on, if Microsoft does it right, Surface is going to be the best Windows experience. At least, I would hope so.

comment 13y ago · link · parent

I've used MongoDB for various projects and found it nice to use. Lately though, I've found MySQL to be pretty enjoyable too, so honestly, what's all the fuss? It's a database.

Nobody writes about the filesystem like they do the database, and yet they do the same job - store and retrieve data.

comment 13y ago · link · parent

I haven't used a Herman Miller chair, so I don't claim to understand why they are popular, but from a purely aesthetic view of the world, that is a very nice looking chair.

Can someone enlighten me as to what the big deal is about Herman Miller chairs?

comment 13y ago · link · parent

This is a bad thing for the industry. Every time someone buys a junky $300 laptop filled with bloatware from HP, Dell, eMachines, etc. they are going to have a mediocre experience at best. Then they buy a $200 tablet from Amazon or Google, a $300 iPad Mini or a $500 iPad that while all of those devices should be less powerful, they deliver a MUCH BETTER end user experience.

HP, Dell, Lenovo need to stop selling the bottom of the barrel hardware with bottom of the barrel Windows experiences. The end business result is they are working really hard to sell a zero margin product only to watch Intel and Microsoft turn a tidy profit.

If HP, Dell, and Lenovo want to stay in the game long term, they need to stop catering to the low end.

comment 13y ago · link · parent

I think it is really interesting how Typesafe is basically acquiring everything good/interesting in the Scala space. It makes for a very different ecosystem than say ruby or clojure or go.

I think this is actually a good approach for making Scala something that larger companies will rely on, while benefitting smaller shops and individual developers.

Now, if only Typesafe would either build or buy a scala compiler that is as fast as go's. If they did, I would be a scala developer like yesterday.

comment 13y ago · link · parent

Beer in the office is not something anybody needs and yes it requires a level of responsibility about how you use it, I would argue the same thing is true of having free soda in terms of the long term health of people in the office.

I'm a guy and I could care less about if there is beer or not in the office. If anything it's a signal that the company is trying to look cool. It doesn't mean that the company is in fact a cool place to work.

Also, it is completely sexist to say that beer is the fault of guys or that it is keeping women away. The place where I worked where they had beer on tap, just as many women drank as men. Many of the women were as vocal about supporting the beer keg as the guys were, so even though it is popular to claim that it's a gender thing, it's not.

Some people like beer in the office some don't. I don't think gender has a lot to do with it. Alcohol consumption is very much a personal preference that doesn't correlate well with gender from what I can tell.

comment 13y ago · link · parent

Is it me or is there a place in the market for higher quality, less commodity type hosting services. Right now things are segmented by type of hosting in very technical ways, but we're now seeing more value added hosting for things like rails (heroku), wordpress (wp engine), etc.

I think people will always pay for service, quality, and experience. Whoever can deliver that consistently will make money in hosting.

comment 13y ago · link · parent

Knowing when to use and when not to use a tool is as important as knowing how to use a tool. That is why before learning the easy/magic frameworks I try and do things by hand so I at least understand what the tradeoffs are and what that framework is actually providing.

I think a better explanation in this article would be to not use CoreData until you have hit the particular pain point that CoreData solves.

You are almost always better off making a tradeoff that you understand than one that you don't.

comment 13y ago · link · parent

> The economic story of the past decades is supposed to be the death of the American Dream. Income inequality has risen, the wealth of the middle class stagnated, and stories of the poor working their way to prosperity became just stories.

I think the article doesn't really do a good job to change that view. The inequality has risen and the wealth of the middle class has stagnated. This is absolutely true.

Things like raises are no longer the norm, bonuses in many jobs have disappeared, prices and debt have risen much faster than the rise in income. At the same time, wealthy people continue to grow their wealth.

The fact the top 0.0001% gained their wealth not by inheriting it doesn't change what is happening to the poor, middle class, etc. as a result.

comment 13y ago · link · parent

Microsoft has done quite well financially, but where they look bad is when you see how much Google, Apple, Facebook, Amazon, etc. have grown in the same period.

One thing I learned in business school is the measure of a CEO is not whether or not they did a good job, but rather if they did a better job than someone else in the same position. It's hard to look at Microsoft in the last 10 years and think that they have done as well as they could.

comment 13y ago · link · parent

The biggest problem with Microsoft after say 2005 was that it let things like Windows and Office drag it down to the point that if things competed with either, they were killed with fire.

For example, look at what Ray Ozzie got built with Azure, or what J Allard did with the Xbox, Xbox 360, Zune, and Courier. Azure was in a prime spot to do what Amazon ended up doing - being the computing platform for the cloud. Instead, nobody at Microsoft wanted to listen to Ray because selling Windows and Office on PC's and servers is the thing that drives MSFT today. Thus, if it competed with either, it's not going to get the kind of respect it deserves.

Look at where Microsoft is now on the consumer side. J Allard and his team were basically paving the way for Microsoft to make great consumer devices. Zune basically gave them Metro UI, Xbox 360 showed them how to do consumer hardware and supply chain management worldwide, and they were working on the Courier about the time the iPad hit. Microsoft did nothing with it and the iPad replaced literally millions of low end Windows laptops and netbooks. It took Microsoft something like 3 or 4 years to have an even competitive touch tablet experience with the Surface, and then it bundled desktop Office on a touch device.

The iPhone debuted in like 2007 and Microsoft is still peddling a desktop mode Word Processor on a touch tablet as a good idea.

The Surface launched without consulting the one team that had shipped tens of millions of hardware devices at Microsoft - the Xbox team and consequently built about 3 million too many Surface RT units which cost the company $900 million in losses.

For as much as Microsoft is trying, and they really are trying, Windows and Office are as much of a curse as they are a blessing in the modern era of devices, services, and the cloud. Where they end up is anyone's guess, but all the people who seemed to "get it" at Microsoft the last 7 years or so basically got ran out of the company and I have no idea if the people who are still there really "get it" enough to compete with the likes of Samsung, Google, Sony, Amazon, and Apple.

Also, remember when Microsoft was so terrified of Google owning search that they tried to buy Yahoo! for $45 billion? Imagine if that had gone through.

comment 13y ago · link · parent

Keyboard layouts are a fun topic to be sure, and retraining your brain to use a different one is an awesome adventure. Where it always falls down for me is the whole experience of switching machines. It is just a massive fail when I need to remap my brain back and forth like that.

I enjoyed learing Colemak and I would probably enjoy Workman, but it isn't the most practical thing for me to do long term.

Also, a lot of the keybinds in vim or emacs are designed around certain ergonomics and being efficient in an editor is often a more useful thing for me than being efficient when I am typing.

comment 13y ago · link · parent

This looks pretty cool, but for some reason I tend to like using the built in tools. Maybe I hate external dependencies or I have trust issues, but I'm way less likely to use this for that reason alone.

comment 13y ago · link · parent

There is one sustainable advantage in consumer sales that Apple has hiding in plain sight - their stores.

The whole Apple Store experience is brilliant in terms of creating a very particular kind of customer experience as well as finding ways to delight customers on a one-on-one basis. From sales to support and training, the Apple Store is not something that is cheap or easy to replicate and the data/feedback Apple can get from their stores in realtime is very valuable if they are willing to do anything with it at all.

Even if you discount Apple's Stores as a huge advantage, Apple has one other advantage - it is relentlessly good at just about everything it throws its weight behind. Hardware design, software platforms, software products, software services, marketing, advertising, finance, retail, ecommerce, and supply chain management. It is hard to be better than Apple at any one of those things, let alone being better at most or all of them.

Even things that Apple isn't known for, like supply chain management, they are among the best in the world. I believe they turn over their inventory every 5 days with Dell and Samsung at 10 and 21 days each. http://www.cultofmac.com/170827/apple-turns-over-its-entire-...

Beating Apple at their own game will probably take the same 10-15 years it took Apple to build up their current processes and infrastructure, assuming Apple stands perfectly still.

comment 13y ago · link · parent

I love the fact that pud makes great stuff and just keeps building and shipping good ideas. It's a simple thing, but he does it quite well.

comment 13y ago · link · parent

If the goal is to start your own company, then start your own company.

comment 13y ago · link · parent

You would be wrong. I have worked at a company that is seen as a hip, smart, software company and so many of the reports are people going to the company DBA and just asking for a one-off report. The same "one-off" reports are often gathered monthly, quarterly, etc. and could be automated but aren't.

It is far more common than you think.

comment 13y ago · link · parent

I've built HTML/CSS/JS mobile apps with phonegap and while it's fun as a developer, the user experience is just not as good as building a proper native app.

If you care about user experience, build using what is native to the platform.

This is why most web devs don't build web apps using Flash or Java applets anymore. Those aren't native to the platform and don't provide the best possible user experience.

HTML/JS as "native" apps to a platform can absolutely work and be awesome, but it really comes down to what "native" on a given platform means. On Android it's Java, on iOS it's Obj-C, on Windows it's C#, on a web browser or Firefox OS it's HTML/JS.

comment 13y ago · link · parent

It took a while for the post to get there, but the point is incredibly spot on. Building out a product is hard and getting to big money is hard, but people and companies pay for service all the time. Turning a service into a product is something I've been thinking a lot about lately and there seems to be an interesting spot forming between consulting and products.

The most interesting thing to me is the potential revenue difference between just a product and just a service.

For example, take something like Shopify. They are purely a product, they charge $79 and it's totally hands off. If you were doing a custom shopping cart or whatever, you might charge $5,000 or something to build/cusotomize a solution.

There is very likely a place where you could run someone's store for them for like $500-1,000 a month without them having to touch anything. You could hire and train someone to run these stores and each person could run say 100 stores. That is 50-100k per month per person running those stores.

It would not be super difficult to find that many customers and be able to pay people to service those customers well. The outcome for said customers would likely be better than if they had to manage it themselves, but it would be a lot better than what most build and move on type consultant type arrangements would provide.

The same idea applies to a lot of niches, not just e-commerce. I suspect there will be a lot of offerings that pop up in the next few years that do exactly this.

comment 13y ago · link · parent

I think it would be interesting to see a followup to this about when they make their first $1,000, $10,000, $100,000 etc...

Getting free users is not the hardest thing in the world. People like free things. Getting them to pay you is a different thing altogether.

comment 13y ago · link · parent

I have no idea if Firefox OS is going to take off or not, but I am looking forward for it to do well. I am not saying that as someone who thinks HTML5 is the best way to build apps, because it really isn't. I just like seeing Android having a great competitor that is open source and not driven by a huge company like Samsung. Also, this will keep Mozilla alive and relevant for at least another decade. That's a good thing and a very big deal IMO.

Also, I love the look of the devices so far.

comment 13y ago · link · parent

Cash means controlling your own destiny.

This is as important in your personal finances as it is in business. With enough cash, you can decide for yourself what you want to do and when you want to do it.

I call it buying my time, but in reality, you are buying your freedom to choose. For both people and businesses, it is about getting to the point where your income, assets, and liabilities are in line such that you have a safe surplus.

If you look at the most successful companies or people, they tend to have a significant reserve and that allows them to make choices. Without that reserve, many choices go away. With no reserve, choice almost entirely disappears.

If your goal is freedom, you need to buy that freedom.

comment 13y ago · link · parent

I've dealt with having to scale a site to millions of pageviews and honestly, if you've never had to deal with a traffic spike, you probably aren't going to build for the scale issues you will have.

For example, there is a lot of caching you just have to do. Tons of it. Cache as much as you can. Memcache and Varnish are your friends, use them as much as you can. Unfortunately, if Healthcare.gov was in a very write-heavy situation, they are somewhat limited in how much caching will help.

One thing they could have done that would have saved A TON of load is not require users to sign up before giving them a list of available plans. That whole part didn't need to be database driven at all. The data could have been stored in redis and they could have used javascript to filter it based on a form. That would have been ridiculously fast. They also could have prerendered all the plan list possibilities and stored those in varnish. That also would have been ridiculously fast. My guess is millions of people just wanted to check prices and eliminating the database load for those users would have probably kept things running fast and smooth.

Slow DB queries are the enemy and you don't realize how bad they are until you are at scale. Sure, it only takes a few seconds on your local machine, but multiply that times thousands of concurrent users and your DB gets swamped. If you are using an ORM, it is MUCH harder to track down where in your code that 3 way join that scans every record is happening. Ideally you'd be using straight SQL and maybe use comments to tag a query. Also tools like newrelic might help if only because many databases don't offer great visibility of performance data.

Sharding your database is something that is probably possible, and in the case of healthcare.gov, they probably could have had totally separate infrastructure on a per-state basis that would have made scaling a lot easier than putting everything on the same database. Also, put reporting and things that aren't mission critical on a slave database. The last thing you want is a reporting job bringing down the live site in the background.

Getting good hardware with fast IO is going to save a lot of developer time required to scale things. Using fast SSD's is probably the easiest win to speed up your database. Developer time costs a lot more than hardware and giving yourself cheap headroom up front gives you breathing room on launch.

Performance testing is also something worth doing, but the tricky part is until you roll out, it is hard to know exactly where the hotspots are going to be. In this case, new user signup would be the obvious place to test, so they probably should have tested up to the limits of their servers and tried to extrapolate an expected number of users and maybe increased that by 1.5x or something to have some leeway.

On a rollout where you don't know what you are getting into user wise, being on a cloud where you can scale out fast as demand requires is something worth doing. They could have saved a lot of bad press and headache by being on the cloud initially and migrating to less hardware after the initial peak died down.

There are a ton of little things like that you have to think about if you are dealing with massive scale. I don't know if the engineers building healthcare.gov had ever dealt with something like this before, but I'm sure they're learning these lessons now.

comment 13y ago · link · parent

Where should I use Percona Server over standard MySQL or MariaDB? It is not obvious which server provides which benefits over the others.
1
282930
54