5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions
comment 12y ago · link · parent
The same goes with things relating to SEO and since AdSense sits at the intersection between SEO and AdWords, it is not at all surprising that some managers at Google would use the guise of "quality" to juice their numbers.
I don't know if it's true or not, but the story certainly lines up with my experiences with Google over the years unfortunately.
They deal with a lot of spammers and scammers, which is a legitimately difficult job, but they also are a giant megacorp out to make a buck, and that doesn't always mean they do the right thing.
Mostly I bet this gets swept under the rug and isn't investigated, which is a shame.
comment 12y ago · link · parent
In my experience MVP, MVVM, super thin Sinatra API's, hexagonal architecture, functional programming, and other sort of weird approaches fit certain projects much better than the standard Rails MVC approach.
Also, not every project is a web app and there are plenty of times where various testing approaches make a lot more sense than they do in Rails. It's too bad that a whole line of thinking about software quality is being disparaged because it isn't a good fit for Rails as DHH sees it.
TDD is a useful tool in the right context. Maybe that context isn't Rails.
It seems unwise to be telling a lot of smart people who care about software quality to "get off my lawn" so to speak, but I've never run a successful OSS project as big as Rails, so I probably don't have a clue about how to lead a community as big as Rails is.
comment 12y ago · link · parent
They did the emerging markets growth strategy and it worked to help juice their numbers for a few years until Android and iOS totally destroyed all but their core customer base.
The real danger in this strategy is not that it grows an unsustainable business, just that the sustainable portion is much smaller than the peak and if you forecast up and to the right growth forever, it eventually doesn't happen and you have budget shortfalls and layoffs.
Hyper growth is exciting and gets you headlines, but sustainable, steady growth is probably a happier long term situation for moth businesses.
comment 12y ago · link · parent
I fully understand the benefits of REST, but on a lot of projects, a single endpoint and a simple RPC protocol would be easier to integrate without need for a separate client library.
Also, client libraries don't always do the best job of making it clear when you are making api calls over the wire and that can be quite problematic.
For example, I've worked with code where it made an http request to get a price, which was then used in a Model calculation. This code looked completely harmless at the highest level, but each page request was hitting the server 100+ times to do all the calculations needed.
After finding the problem adding some caching was easy and now things run faster. However, having that level of abstraction and indirection makes it far less obvious if/when/where HTTP requests happen and that isn't always a good thing.
comment 12y ago · link · parent
The page is a giant TC logo with an ad next to it, oversized menu navigation, a headline, and then A GIANT PICTURE that literally takes up my entire 13" laptop screen.
All of this before I get to the actual article with actual content.
Word of caution - not everyone browses the internet on dual 27" cinema displays or Retina MacBook Pros. Even still, oversized images do more to stroke the designer's ego than to truly enhance the communication of the content.
For ad much as designers hate "Make the logo bigger", they have totally got onboard with oversized photos on blog post headers/featured images.
comment 12y ago · link · parent
At the same time, I think when you design away as much complexity as possible at the product requirements level, as 37Signals proudly does with their products, it is hard to appreciate the complexity inherent to the requirements in other codebases.
I've seen this with other developers coming into large codebases with lots of complexity and scale requirements wanting to use a simple/naive ORM solution with no caching or worry about query speed/quantity. That solution falls over and they quickly learn that the requirements are more complex than a simple app with a few dozen users.
Basecamp is obviously at a high level of traffic and scaling complexity, but they still work to reduce requirement complexity which isn't always an option if you aren't the product owner.
comment 12y ago · link · parent
The bigger thing DHH doesn't mention or explain is that Basecamp is designed to be intentionally simple. Much of the complexity that you get in client work where you don't control the requirements Basecamp is able to simply avoid by not building.
The idea that if you own your own product and control the requirements that you can have a MUCH cleaner codebase without needing as many tests is 100% true. But, David didn't say that and it's a shame. It's a much more powerful point because there are cases where clean architectures are valuable and the standard Rails MVC pattern isn't enough. At the same time, there are plenty of times where the basics will get you a very long ways. If you control the complexity, simple MVC might be all you ever need.
Everything in software development involves managing requirements and tradeoffs. If you simplify requirements, you reduce complexity. You reduce complexity, you reduce surface area required to test.
It's like weight reduction in cars, you reduce overall weight a few pounds, you can also reduce an extra 5-10 lbs. in required components to support the added weight/complexity.
I just wish that people could discuss these ideas with nuance and empathy towards other project's requirements. Some projects require a lot of tests and have significant inherent complexity, some don't. A one size fits all philosophy might sound appealing, but it doesn't work.
Don't throw the TDD baby out with the bathwater.
comment 12y ago · link · parent
For example, check out this 100% legit Wikipedia reference:
OMG (2011). OMG Unified Modeling Language (OMG UML), Superstructure, V2.4.1, p. 507.
OMG is short for Object Management Group, but the acronym has obviously not aged well, so what we are left with is a really funny, but totally unintentional joke. Like, check out these certificiations:
OCEB - OMG Certified Expert in Business Process Management (BPM)
OCUP - OMG Certified UML Professional
OCSMP - OMG Certified Systems Modeling Professional
OCRES - OMG Certified Real-time and Embedded Systems Specialist
Who wouldn't want to be OMG Certified?
comment 12y ago · link · parent
Your most expensive plan is for a team of 40-100 people. For the sake of simplicity, you are talking about a team that is costing a company a minimum of say $1,200,000 a year (assuming $15/hr FTE's) and you are asking them to pay you $300 a year for a tool they are supposed to use throughout the day.
Why have you built such a low value tool?
Take your prices and multiply by 10 and you are probably at a more correct pricing strategy if you are selling to businesses.
611.
OkCupid's CEO Donated to an Anti-Gay Campaign Once, Too(m.motherjones.com ↗)
20 points · by programminggeek · 12y ago · 19 comments
comment 12y ago · link · parent
I have a family to take care of so losing my job would be a pretty big deal. I don't doubt that many of the other people that get caught up in these incidents are in a similar situation.
So, every time I consider speaking my mind publicly or even being involved in a public tech conference as an attendee, I think twice and am starting to just avoid them altogether.
It's sort of a shame because even local conferences are getting besieged by self-righteous people who are hell bent on righting some unintentional "mistake" by the people who work very hard to put them on in the first place. I find what our industry's community is starting to be something I don't much want to be associated with.
comment 12y ago · link · parent
The irony is when Brendan Eich shared his belief in public, he was forced out of his job. Yay openness. It's really awesome until someone says or believes in something you don't agree with. Then, get the pitchforks.
comment 12y ago · link · parent
The gaming aspect of this will make it a winner. OUYA's big problem is that it didn't do streaming and was a bit clunky. Amazon has a big game library and just needs controller support.
As a parent, a $100 streaming box and game console that has cheap/free games is very appealing.
As a developer, the economics of game development for such a console is not so great, but maybe IAP would make it worthwhile.
comment 12y ago · link · parent
For example, in Ruby you can have a method with 2 parameters of X and Y. Maybe X should be a string and maybe Y should be a float. You can unit test the method to make sure it does the right things, but as soon as something else calls that method there is no guarantee they will call it correctly or pass in the right type of arguments. Thus, there are tons of potential integration problems all over ruby code.
I think this lack of strong interfaces has trained ruby developers not to trust unit tests and so they go down the path of integration and end to end testing. Due to the weaker type and interface guarantees of the language, you will write more tests to get the same level of confidence in your code. By compensating for this language weakness, you are falling into "The Cucumber Test Trap" or more generically you aren't following the testing pyramid sensibly.
comment 12y ago · link · parent
In my experience ActiveRecord doesn't handle that particularly well and programmers don't readily know/see the difference because they all look the same, especially in a view.
comment 12y ago · link · parent
Functionally though, there isn't much difference between Module.do_stuff() and module_do_stuff() and if you are writing functional code, there isn't much reason to care either way too much. Most Ruby I see though isn't terribly functional.
comment 12y ago · link · parent
For example, you can have a Model.foo method that seems harmless enough, except that actually calls other methods on other models to do some calculation that maybe two or three layers deep makes a call to an external service. Let's say for the sake of example that two or three levels of database queries and api service calls ends up spawning hundreds of queries and at least dozens of external api calls. This takes anywhere from 10 to 30 seconds if the dataset is large enough.
A junior programmer would think he is doing the right thing by simply calling Model.foo because he might be so foolish to not know the difference between Model.foo and Model.foo(). Since Rails by default doesn't annotate database model attributes, it's even easier to think that Model.foo Model.bar Model.whatever are just attributes so there would be no performance penalty for using them.
As it turns out, this makes your code terribly slow even though it looks "elegant" and "clean". Why? Because it is super non-obvious to many/most programmers that there is a potentially huge difference between a simple attribute on a model vs. a calculated attribute method derived from potentially a multitude of other data sources. When you are calling Model.foo and Model.bar, it is completely unclear that one might be a method and one might be an attribute.
I've seen this happen many times to both really good and really average Ruby programmers. At this point it is a genuine flaw in Ruby that is compounded by the way I see people using ActiveRecord and Rails.
comment 12y ago · link · parent
Segmenting is great and can actually move the averages wildly, but that doesn't mean the averages are pointless. It means that averages are just one view of the data.
If I want a really high level view of the data, an average is great. If I want a super low level view of the data, looking at each customer or small groups of customers is great too. It depends on what you want to know and what problem you are trying to solve.
Use the right tool for the job.
comment 12y ago · link · parent
In many cases, it's the edge cases and feature creep that makes software genuinely terrible and by the time you layer in all that knowledge, it is a mess.
I don't care if you use VIM, EMACS, Visual Studio, or even some fancy graphical programming system. Complexity is complexity and managing and implementing that complexity is a complex thing.
Until we have tools to better manage complexity, we will have messes and the best tool to manage complexity are communication related, not software related.
comment 12y ago · link · parent
For example, I worked on a website that would sometimes process as much as a million dollars in donations in a single day for a nonprofit. If the site went down for even a half hour, that could be tens of thousands of dollars in missed donations. That is like someone not getting paid for almost a year.
We had a cool autocomplete feature that went out and due to a bug that made it past QA caused a on of DB queries and took down the server. It was maybe a better user experience, but the way it was implemented would cost too much in reliability for it to be worth it. The team reengineered the concept until it worked at scale.
A lot of hackers I know who aren't working on that scale don't worry about QA or bugs so much because hardly anybody is using their software and it's not mission critical. When you have millions of people touching your software and it is processing millions of dollars in transactions, the metrics that matter are different.
I am sure Facebook cares about UX, but they are a publicly traded company and if a slightly better UX delivers a significantly worse ad revenue number, that isn't just sort of bad for investors, it's bad for the employees job security (and stock value), it's bad for the advertisers who can't get the same ROI on their ad spend, and ultimately it's a little bit bad for the end users because if "good UX" doesn't make money, then over the long haul, Facebook will learn to not invest in "good UX".
I think the scale that Facebook's engineers are working at is a lot bigger than most of us can easily appreciate.
comment 12y ago · link · parent
Don't think of it in terms of pure design. Think of it in terms of cost. Everything has a cost and sometimes good design's real cost is in user behavior. Pageviews and time on site could go down because people aren't going through so many steps to get to what they want. There are a lot of metrics that aren't that useful without the context of the ultimate conversion numbers for your site/app/product/project.
Facebook and Google are advertising companies. The financial metric they care about is advertising revenue per user and number of users. It's not much different than a SAAS app in that way. Other metrics are important, but that is the metric that pays the bills.
A beautiful design that doesn't improve the core metrics is like a multi million dollar super bowl commercial that flops. Sure, it might be really cool and well produced, but if it doesn't sell your product, you might as well light that money on fire. The net effect is the same.
comment 12y ago · link · parent
Every business wants you to be fully committed and giving 110%, but most businesses aren't as committed to you as they expect you to be towards them.
At some point you need to find a kind of detachment to your job that allows you to do good work and go home and forget about work, or you need to keep moving on to different things until you land in the right spot.
It's tough because society still sort of makes you feel like switching jobs every few years is a bad thing, but that is just the way it is now. Companies tend not to invest as much in their people and so people aren't investing as much in their companies.
In many ways, it's more capitalistic to be taking advantage of opportunities when they come your way than it is to just sit at one company and "put your time in".