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

This is the consequence of writing code against ANY framework. I don't care if it's Symfony, Zend, etc. in PHP, Rails in Ruby, or Spring, Struts, etc. in Java. The more you lean on a framework, the more you are tied to it and the harder it is to move.

Just look at all the pain Ruby devs have felt moving from various rails versions. https://railslts.com shouldn't have to exist if we were doing our job as software developers.

Using a framework is a HUGE tradeoff. You are trading ease of development for a kind of vendor lock-in where the cost to move goes up with every line of code you write.

Using an architecture that lets you write framework-independant code is a huge win and would keep you out of this kind of trouble. I wrote Obvious Architecture http://obvious.retromocha.com for this reason, but there are plenty of clean architecture examples here: http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-arch...

comment 13y ago · link · parent

This is not exactly the same as go's concurrency insomuch as Go allows its concurrency to be across multiple threads/processors and as far as I know node runs on a single thread.

comment 13y ago · link · parent

This reminds me of how direct response companies would send out envelopes with pre-paid postage on them for return mail and people would fill them with pennies so that the companies had to pay a lot more in return postage.

It's funny how clever people can be when they are annoyed by something.

comment 13y ago · link · parent

I feeel like Humble Bundle is sort of becoming like Woot! The more it branches out, the more successful it is, and less relevant to me it is...

comment 13y ago · link · parent

I realize that POS is a term that is widely used as a TLA for point of sale, but it feels like Shopify POS is an unfortunate name given that it's also a TLA for piece of sh*t.

comment 13y ago · link · parent

What Yahoo is doing is maintaining and working hard at a consistent design language, while maintaining individuality amongst their sites. It's a smart move, even if it's not pretty enough for designers or developers to praise it heavily.

comment 13y ago · link · parent

Why would Microsoft announce that the product is finished if they aren't willing to let people use it? That seems incredibly stupid in a world of digital distribution.

comment 13y ago · link · parent

Yeah totally. I'm with you there. It would be great and I hope they do it.

comment 13y ago · link · parent

Go on Android would be great, but Google used Java in the first place so that they could leverage all the Java devs in the world to build Android apps.

Go might be a much better choice from a pure dev standpoint, but from a getting everyone to build apps standpoint, it's a fail in the short/middle term.

comment 13y ago · link · parent

This feels like JSF Tags all over again.

comment 13y ago · link · parent

Go seems to be hitting some kind of tipping point where it's going from being more of a niche thing with a small user base to something with a broader appeal. I don't think that it's because go is changing so much as the kinds of problems people are encountering writing web services that need to scale (or at least have that option).

I've been comparing go to scala lately and what has really got me into go is the development speed. The fast compiles and fast web page auto-reload make it feel every bit as fast to develop in as ruby or python or php, but with type safety, fewer tests, and very clean code.

Scala is a fantastic language, but even with jrebel autoreload you still have 2-3 second page reloads and a 5 second test suite reload. That seems like a small thing, but the faster I see code change results, the more hooked I am to the process. A 5 second wait is probably enough to get me out of the zone.

With go, on just a default simple test of a small thing it is less than a second to compile/run. In revel, pages reload/update as fast/faster than they do in rails/sinatra.

Oh, and with go, each web request will run in a separate goroutine, so you get excellent nonblocking IO performance without dealing with the callback soup of node.js.

It might just be irrational exuberance because I haven't built anything big and messy yet, but so far go is seriously fantastic and solves a lot of real world problems elegantly.

comment 13y ago · link · parent

All frameworks that start out as small tools are destined to become the thing that they hate if they ever get popular.

comment 13y ago · link · parent

There is so much to dislike about PHP that the only thing I can say nice about PHP is that it's the easiest way to just deploy to any server ever. Beyond that, I don't think I would look to PHP to do anything ever if I had a choice of project language.

comment 13y ago · link · parent

I think as a developer, the easiest thing to screw up is the understanding of what a business is and how long it takes to build (and how much it costs to run).

Say you are making $50,000 a year. The owner is probably paying more like $75,000-100,000 when you include insurance, rent, taxes, equipment, etc.

Now, imagine you are on a small team of five - an artist, game designer, 2 devs, and a qa person. That is an outlay of about $500,000 a year. So, shipping a smallish game in 6 months is about $250,000.

The author seemed to think that building the whole thing from scratch was "saving money", but it was costing him a tremendous amount of time, which was in fact costing him A LOT of money.

So, if you are trying to start a business, understand that it costs some combination of money and time, and if you are short on one, you probably need to substitute the other.

If you are short on both, you're screwed.

comment 13y ago · link · parent

Wow I haven't used jQuery Mobile in over a year and it's still slow and terrible as ever? Well at least it wasn't just me.

comment 13y ago · link · parent

Yes, but Xbox did well in spite of Ballmer. I believe Ballmer and Gates were pushing for Xbox to run Windows XP on launch (like actual Windows with Office) and the Xbox team had to fight hard for it to be a game console.

The only reason Xbox even happened is that Microsoft management was terrified that the PS2 was effectively a computer being sold by the millions - a real threat to Windows and Microsoft. If the Xbox team didn't stick to their guns, the original Xbox would have been a monstrosity.

You could say the Surface was a poorly executed version of the same idea. iPad is killing PC sales, so try and jump in and take market share. Too bad Microsoft doesn't have people who really "get" the iPad building and selling the Surface. They eliminated the Courier team.

comment 13y ago · link · parent

Microsoft Research is actually more about scoring government contracts than it is about making amazing products. Microsoft has worked on smart houses, wireless sensors, iptv, all kinds of things and they end up with products like the Kin...

And to the point of maximizing profits as the goal of capitalism... well if you care about only having rich shareholders and think investors should be the only meaningful winners in the equation, well then short term capitalism will continue to wreak havoc every few years.

comment 13y ago · link · parent

I think the devices + services model is basically something that Ballmer wasn't really prepared to do. Microsoft isn't designed for that. It's designed around packaged software and selling to large enterprises on 2-4 year replacement cycles.

In hardware, it's a lot about supply chain management, something that Apple is basically the best in the world, far better than even Dell. A $900,000,000 write down is proof that MSFT doesn't understand supply chain management. Amazon understands how to manage these things, and that's why they often launch in the US first, then worldwide later. Google relies on hardware vendors to manage the supply chain and also has super limited distribution of their own devices to reduce risk.

One early report on the Surface said the Surface people didn't even talk to the Xbox people during development. So, it's not much of a surprise that the distribution didn't go well if they didn't really talk to the one team at MSFT that has done global hardware distribution.

In software services, you have to roll out updates more often. Microsoft is trying harder, but they need to get major releases out yearly and minor updates every couple months. Microsoft is going to do better at catching up in software services than hardware, but they aren't there yet and it's unclear that Ballmer and co. are totally willing to shift to a more web/net oriented mindset. Office 365 is probably the best example of executing on software services at scale and making a lot of money, but they got rid of guys like J Allard and Ray Ozzie who were pushing for devices and services almost 10 years ago.

Ultimately, Ballmer is not a devices guy or a services guy. He's a very very smart businessman who cut his teeth selling boxed software and to large enterprises. Things that weren't large enterprise or boxed software Windows were never going to get the same kind of support under him simply because that's not his perspective by default.

It is going to be a real challenge for Microsoft to find someone who can rebuild MSFT for the future.

comment 13y ago · link · parent

A Thinkpad T42 is not in the same realm as a Macbook Air. That being said, a working dev setup for $80 is pretty cool. Even still, I've gone from doing full gentoo installs from scratch to Ubuntu, Windows, Mac, and lots inbetween and for my time and my effort, I'd rather just use a Mac.

I'll pay for a well designed, reliable computer, so that I can do my job and get paid very well for it. Not having to muck around with Linux settings, drivers, config, etc. means I spend more time writing code and billing time (if it's client work).

If your time is worth anything, you probably aren't saving anything by going super cheap with your tools.

That being said, to each their own.

comment 13y ago · link · parent

I can't help but feel like Lua is one of those languages that is fantastic, but gets basically ignored for most things outside of a particular niche (game scripting). Perhaps that is why it is still such a fantastic language...

comment 13y ago · link · parent

That's great, but what is the strategy for data persistence?

As I understand it, if you aren't using EBS, unless you snapshot your instances, they are reset to their last snapshot once they are shut down. Doesn't that seem like a huge risk to put your database under?

Are there good strategies for mirroring data onto EBS or running a slave instance or something?

comment 13y ago · link · parent

Um, this doesn't impact online advertising because the people who are likely to click on ads are NOT the people who use adblock.

comment 13y ago · link · parent

Here is the thing, people use insecure password storage because secure password storage retrieval is seen as either "too slow" or it is seen as "not required". For example, how many people are still using md5 hashing for password storage?

It seems like all the govt issuing a secure online id will do is add another unused standard to the pile without changing the behavior that makes things less secure in the first place.

http://xkcd.com/927/ sums this problem up nicely.

comment 13y ago · link · parent

I would say location weighs heavily on average income as a programmer. For example, the average dev salary in the midwest might be more like $50,000 and anything approaching $100,000 being very high end.

comment 13y ago · link · parent

I refuse to use reaper technology run my cloud.

comment 13y ago · link · parent

What is absolutely stunning about what Tesla is building is simply that they are building gorgeous vehicles with great features/performance and they are charging appropriately for them. They aren't built to fit into a particular price range or demographic, they're built to be great vehicles, so that people will want to buy them.

I'll admit it, I want to buy a Tesla, even if it makes no financial sense for me to do so.

comment 13y ago · link · parent

People might beat up the benchmark or the methods, but in all honesty, Go should be an order of magnitude faster. It's compiled and runs about as fast as java in many benchmarks. I've seen some companies go from ruby to the jvm and have basically said 1 JVM instance = 10 ruby thin instances. So, when you think in that context, it makes total sense that go would be 10x faster than python for the same reasons that a compiled JVM language is 10x faster than ruby.

I'd say from the numbers I've seen this benchmark is not an unreasonable display of the performance difference between go and python.

comment 13y ago · link · parent

I've just recently started playing with go and I think the most impressive part is how close you can get to a dynamic language development feel without sacrificing the benefits of static compilation, speed, binary distribution, etc.

There is a lot to love about go and it is very quickly starting to look a lot more interesting than other languages like ruby for future projects.

989.

I Will Not Learn Rails (2012)(medium.com ↗)

3 points · by programminggeek · 13y ago · 1 comment

comment 13y ago · link · parent

Ok, I'll throw out an "iPhone is better" counterpoint and not to say that you are wrong, but perhaps to say that "is better" at this point is subjective between the two excellent platforms.

My wife and I just had twins and my father in law couldn't make it to see them for a couple days, but we both have iPhones so we just used FaceTime and he got to see his grandchildren the day they were born.

My father in law is a pastor and isn't the most technically literate person in the world, but since FaceTime is easy to use and there is no app to install, it was a seamless experience.

In that moment, iPhone was better.

1
323334
54