5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions
481.
The Ruby Web Benchmark Report(madebymarket.com ↗)
34 points · by programminggeek · 12y ago · 17 comments
comment 12y ago · link · parent
Mine used a node proxy instead of a message queue, but same basic idea. It makes scaling and changing languages so much easier.
Really, the trick is having a standard message protocol that everything abides by. Once you have that, building a proxy and frameworks around it is pretty trivial. I chose something similar to JSON-RPC and for what I wanted/needed it worked well.
It never saw any kind of scale, but it was a fun project.
comment 12y ago · link · parent
Waiting 'til you ship to production to find a bug is a really, really, really bad idea no matter how fast you diagnose it. If your site is doing any serious scale, this could cost a year's worth of dev salary in the time it takes to make the fix.
Application monitoring is a useful tool, but the implications of overselling it will lead to some real problems for teams that aren't wise enough to see the forest for the trees.
486.
Show HN: Answer Customers – Turn customer questions into website content(answercustomers.com ↗)
1 points · by programminggeek · 12y ago · discuss
comment 12y ago · link · parent
The most clever thing Apple did was the 5c colors with the different colored covers. Those haven't really taken off in a huge way, but I think that is in part due to the buying cycle of phones.
Apple gets mass personalization in a big way. You can still get your devices engraved by Apple I believe.
The only company that I've seen take a real swing at something similar is Motorola with Moto X. Too bad Google sold them.
comment 12y ago · link · parent
2. Ask them for an intent to purchase or to reserve a spot in line or whatever.
3. Build landing pages and advertise them so that you can validate your ability to acquire customers before building anything.
4. Create a human machine that looks/feels like the real machine you are going to build later.
5. Sell your fake, semi-terrible, human powered machine that pretends to be your real system until you have enough sales to justify building the real product.
6. Build and sell your real product.
If you do #1-5 before you ever build what you would normally start by building, you'll already have experience selling and marketing your product before you ever actually build it.
comment 12y ago · link · parent
I'm not sure if anyone remembers it, but they were great at raising money online. They had a lot of good ideas and frankly they were right on a lot of issues that helped win Obama the election when the rest of the Republican party was still gunning for more war in the Middle East the public no longer supported. Oh, and the economy.
Here's what happened...
Even with millions raised, the Republican nomination went to John McCain who brought us Sarah Palin. Months after a sound defeat, Fox News and Glen Beck co-opted the Ron Paul/Tea Party movement, which they previously spent 2 years making fun of, into the corporate political machine that it is now. The Tea Party of current times has little in common with the Tea Party that tried to get Ron Paul the nomination, twice.
This is a very long winded way of saying I've seen political movements pop up online before and they tend to fizzle and die, or have the energy co-opted into something that is not the same thing at all.
I fully expect if this becomes a big enough deal for some Democrats and Republicans to once again crow about campaign finance reform (because it sounds good, just ask John McCain), that it will get co-opted by big money into somehow reinforcing the current system or otherwise giving big moneu politics further advantages.
I'm not sure that any of us fully grasp how much money truly controls the political process at every level. There is so much money it's basically impossible to expunge it no matter how hard you try.
It's nice to see the excitement around this, even if I don't think it will pan out.
comment 12y ago · link · parent
Before that, Motorola tried to build a phone that docked into a keyboard tablety kind of thing. I forget what it was called.
It was like ten years ago that I ran KDE on my Sharp Zaurus PDA with WiFi and everything.
The idea of a full blown OS or a dockable phone that delivers a full PC experience is not exactly new. What hasn't been proven is that the demand from consumers is there in droves.
Microsoft Surface is making the best run at this idea so far, and even still it's not selling especially well.
Until you can sell this dockable phone concept to tens of millions of people, I don't think it will ever be much more than a pipe dream.
comment 12y ago · link · parent
Android is already not well known for highest quality experiences, and now they're layering animation which is going to be abused.
Given that there is basically no quality control or approval process for Android apps, there's going to be a lot of terrible apps with terrible animations.
Yay.
comment 12y ago · link · parent
When Rocky Mountain Institiute was working on their hyper car concept, I believe the researcher said that weight reduction was more important than electric or gas engine.
I think he said something like for every pound you save, you actually reduce an extra 2-3 pounds of supporting materials elsewhere. Lighter cars need less HP, you can reduce some of the support bracing as it's not as heavy of a vehicle, etc...
Making cars super light would do a lot of good and so every time I see a giant battery for electric cars or a 2nd engine to act as a backup, I wonder how much that is costing in terms of weight and MPG.
comment 12y ago · link · parent
HN is probably better than most about not letting much crap on the home page, but these sites are almost universally terrible at surfacing new content so that it has a good opportunity to get up voted.
The selfish human response is to get your friends to vote for you (just like you get your friends to vote for you in real life actually). It's just that there are so few actual people looking at the submitted stories that it wouldn't take much to astroturf your way on to the front page without a voting ring filter.
The best solution is very likely to have a better interface for surfacing submitted stories to a wider audience. Or, incentivize people to actually look at the new section. Maybe extra points for voting or commenting before it hits front page.
I don't think it would take much to solve this problem, but this isn't a policy or filter problem, it's a human problem and your system needs to work with the user psychology that naturally exists on HN (and similar sites).
Reddit seemed to solve this by making subreddits a bigger part of the site, but I don't know how HN would incorporate such an idea without losing the site identity.
comment 12y ago · link · parent
Read these threads and you almost never hear anyone mention real numbers because they are terrified of either being fired or having their peers realize what a good/bad deal they've made.
Yet, in a lot of public institutions like Universities, public schools, salaries are a lot more transparent.
Companies probably don't want people to know what other people make because it gives the individual leverage to negotiate. We as developers are terrible at negotiating and don't want to admit it.
Anecdotally, in Lincoln, NE I've seen developers paid anywhere from $25,000 to $120,000, but most range in the $35,000 - 65,000 range. I believe most devs at UNL or the state of NE fall between 45k and 65k, but some can be a good bit higher.
What gets me is if a dev in the midwest who would normally get paid $60,000 or so, how much should they get paid as a remote worker for a startup in SF? In SF I assume a dev costs $120,000 or more, so if you were being hired there what is the right number to ask for?
In a truly remote work environment, does it really make sense to pay dramatically less or more just because of where someone lives? Is someone's relative value decided by their location or by their skills and abilities?
comment 12y ago · link · parent
Objective-C is verbose and maybe terrible, but code completion, type checking, etc. is really useful, especially when you are learning the API's.
My experience playing with RubyMotion was that I would end up reading the docs constantly to learn how to do things in Objective-C and then translate those ideas to Ruby.
Now that Swift exists the argument for Ruby on iOS is a bit weaker. I like that RubyMotion is supporting Android soon and that will help a ton, but I think for most devs, just learning Swift and getting good with the native tools will be better in the long run than deep diving on RubyMotion.
That being said, I hope RubyMotion continues to do well. Choice is good and for some people, I'm sure RubyMotion is the best thing since sliced bread.
502.
Google Will Control UI For Android Wear, Auto, and TV(theverge.com ↗)
1 points · by programminggeek · 12y ago · discuss
comment 12y ago · link · parent
I guess I'm too used to Ruby and PHP where I save and things happen right away. My test suite runs in less than a second. Stuff like that.
Instead, everything takes 5-10 sec and that just breaks my flow constantly. I used Golang and while I don't love the language I love the compiler a lot. It's really fast and nice and feels like a dynamic language.
Anyhow, Scala compiler has been slow forever and probably will be slow forever. Oh well.
comment 12y ago · link · parent
The way Sencha Touch (and probably ExtJS) handles data sources for remote data seems cool at first, but a lot of it ends up feeling pretty gross. Also, offline data storage or things related to that for mobile seemed broken/confusing/nonexistent.
comment 12y ago · link · parent
"The Purely Functional Package Manager" - what does that mean and why do I want that instead of ruby gems, php composer, jar files, maven, leinegen, nugget, etc?
"Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible." - What if I want Windows? (serious question)
I could go on, but none of what is on the landing page explains why Nix should replace ruby gems, php composer, or any other package manager. It's like saying you are mad at the 13 other standards so you create the 14th standard for people to standardize around. Now you have 14 different standards.
comment 12y ago · link · parent
In my experience working on Obvious (http://obvious.retromocha.com) it is hard to get Ruby developers behind decoupled architectures because the large majority aren't Ruby devs, they are Rails devs and Rails happens to be in Ruby.
Also, the larger group of developers doesn't like the idea of an app being a giant collection of very small objects. It's like there is a gravity to the notion of objects where we think of an object as something akin to a car, not the thousands of parts that make up a car.
Last, I think the idea of MVC doesn't place the appropriate number of objects for the different roles in normal request processing. At a reasonable point of complexity really end up with routes, controllers, entities, data access objects or repositories/adaptors, presenters, views, templates, helpers, utilities/libs, and probably some other bits of random code in there somehow. That doesn't fit the 3 role view of the world that is MVC.
Lotus does a better job than most of addressing such things, but I think the MVC approach in general falls flat.
That lack of appropriate roles means that as programmers we invent a lot of names, patterns, roles, etc. to fit what our code actually ends up doing. That's why you see a lot of service patterns, presenter patterns, etc. being attached to Rails. Everybody is duct taping their approach to the notion of MVC, but very few are saying "what if we didn't see request processing as only having 3 roles?"
MVC is better and cleaner than writing a page as one giant PHP file maybe, but I've seen it fall down so many times that I no longer trust it as a useful pattern or abstraction for expressing request processing and HTML string manipulation in code.
In fact, if we were building command line apps and writing to files, I don't think we would use MVC at all. But, since we're writing strings of HTML, it's totally different right?
comment 12y ago · link · parent
I though it worked out real well when used to alleviate pressure on the database which was being used for search results (which were sometimes ajax live search style). The big benefit was our database usage went down and search was better/more reliable.
The other big benefit is if elastic search goes down search stops working. That is FAR better than if elastic search goes down the whole database and site stops working.
At a big enough scale, with thousands of dollars in transactions every day, the database can't go down. Search can break gracefully, but the spice must flow (so to speak).
510.
Wordpress Payments the Right Way(madebymarket.com ↗)
3 points · by programminggeek · 12y ago · discuss