5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions
comment 13y ago · link · parent
Also, I'm not sure at what point this is, but at some point around say $3-5k a month, (100+ dynos) you really should rethink using Heroku. At that point and higher, you really ought to know about your infrastructure enough to optimize for scale. The "just add more dynos" approach is stupid because adding more web fronts is often the lazy/expensive approach. Add a few queues or some smarter caching and you'll need fewer web servers. Throw in something like Varnish where you can and you need even fewer servers. Point being, at some point scaling is no longer "free", it takes work and Heroku isn't magic.
comment 13y ago · link · parent
When a real Steam Box happens running Linux, things might change quite a bit, but it needs to sell in the millions of units before it starts being a big deal.
In the short term OUYA is more interesting.
comment 13y ago · link · parent
Also, responsive design is fine, but it's not perfect by any means. It adds cost, it adds complexity, and it isn't always the best interface to reach the end users.
There is upside to responsive design, but it's not magic and it shouldn't be touted as some kind of panacea to all things.
comment 13y ago · link · parent
The bigger ongoing question is not up front cost, it's maintenance. Responsive design might get you device support across bigger or smaller devices over time without going back to specifically support them, as people are doing now to support mobile and tablet.
We don't know what people will be using even in 5 years... iPad is what only 3 years old?
Not everything needs to be responsive or perfectly responsive, but getting the best experience to your user on whatever platform THEY are on will always be the name of the game (otherwise nobody would support IE 6, 7, or 8).
comment 13y ago · link · parent
In a single app, objects should talk to each other and databases and queues and junk via protocols, not by being glued to an ORM or a particular implementation of a queue or whatever. Most devs don't do this because it's more work, but you end up with a much cleaner/more testable structure to work with.
On a higher level, many/most programs aren't made to communicate with each other at all. Look at web software, it's all about communicating with a browser and that's it. The API driven movement is helping things along, but it's still a HTTP Browser driven mindset complete with holy wars about REST/Hypermedia.
Unix pipes are a great example of what is possible with standard communication protocols, but it seems like it could be taken further. What if you could pipe a stream of API's together? Yahoo's YQL and Pipes plays in this realm, but you still have to kind of glue pieces together yourself.
Imagine if you could say...
fb search --name 'John Doe' --location 'Chicago, IL' | linkedin --filter 'Ruby Programmer' | twitter tweet 'Hey check out our ruby meetup next week'
That's a somewhat contrived example, but it would be great if we could do something that simple and not just via a command line, but from any language in a similar amount of code. That would be a step forward I think.
comment 13y ago · link · parent
Either way, I don't think that the DMCA was designed to ensure a telecom oligopoly.
comment 13y ago · link · parent
Not on a secure site? Well, the stripe widget just popped up, so it looks legit...
You get the idea.
comment 13y ago · link · parent
If by innovation you mean the invention of totally new and interesting things, no. There are plenty of new and innovative ideas/products that come from an agile/lean process.
What people are glossing over is the fact that building things is hard. Inventing things is hard. Changing the world is hard. It takes time, effort, the right people, the right timing, the right placement. Agile or waterfall don't matter. People do.
Smart, driven, clever, brilliant people are never going to be the majority. The majority of people are not above average. Expecting a large portion of people to become continuously more awesome every generation is insane.
Not everyone is going to be a winner. Most people aren't exceptional.
No amount of process of any sort can change that.
comment 13y ago · link · parent
comment 13y ago · link · parent
When I started the Obvious architecture, writing an example app made it concrete and makes it a lot easier to explain particular details or structures to people wanting to learn.
People love examples.
comment 13y ago · link · parent
That said, outside of that to make PHP work on bigger projects you end up with a lot of structure and ceremony that make PHP suck, not quite as much as Java, but it's not amazing.
Thiings like testing and testability aren't much fun in PHP. For a long time package management was a joke.
PHP is for webdev. That's it.
comment 13y ago · link · parent
comment 13y ago · link · parent
A business is likely not a business if they aren't charging someone for something. Instead it might just be an organization that builds things, but for better or worse a business is something that is created to make money. If you don't like that idea, you shouldn't be "in business".
comment 13y ago · link · parent
Something like the OUYA is more likely to hit the mainstream. $99 is a great price point. What people are discounting is that something like OUYA could get updated every 1-2 years unlike the 7ish year console lifecycle we are currently in. ARM keeps getting faster, it will certainly be "fast enough" soon...
comment 13y ago · link · parent
Building this way lets you fill in those bits when you need them, but you don't spend a bunch of time being tied to a particular framework or database infrastructure until you need them.
What is cool is once you start decoupled, it is easy to stay decoupled and the details can stay that way.
comment 13y ago · link · parent
Also, part of the reason HTML5 keeps "getting better" is Moore's Law. If we keep adding processing power and webkit keeps improving, then HTML5 keeps "getting better" which is not exactly true. On 2-3 year old hardware how does it run?
I like writing HTML5 mobile apps, but what Sencha has done is overblown. Good marketing, that's it.
comment 13y ago · link · parent
The key difference in Obvious is that it tries to be more purposeful in the naming and the structure of the parts of your application. The "app" describes your business logic and entities, the "external" defines external interfaces to data sources, and the "delivery" defines the delivery mechanism like a web app, command line, rich client, or whatever.
To drill down deeper into things being given obvious names and structure, the "app" is structured with single purpose use case objects called actions. Core data structures(business objects) are defined by entity objects. In that structure you can look at the app folder and see what the system data is and what the system does. The idea is that the system's intent and functionality would scream at you just by looking at it from a high level.
Uncle Bob's keynote at Ruby Midwest 2011 articulates it a bit better than maybe I do - http://www.confreaks.com/videos/759-rubymidwest2011-keynote-...
comment 13y ago · link · parent
I think you could have each JAR have src/main/scala/[Obvious folders] type structure, so for your app.jar you could have src/main/scala/app and src/main/scala/external for the external.jar.
You can make it as granular as you need, but the more you break things up, the more packaging overhead you'll incur.
comment 13y ago · link · parent
That being said, in each instance you could use the Obvious approach to structure each app. If you were using the same language in each place, you could theoretically reuse the "app" structure in multiple places, so that your same business rules and validations would exist in each instance.
For the structure you describe, if you were willing to do Website B in something that worked with the JVM, you could write your "app" in Java or Scala and package it as a JAR file. So, you could use Jython to run your python code on the JVM. Then, you could reuse your app library in each project.
Assuming your app is a JAR file, your structure would look like this:
REST API - Scala for delivery -> App JAR -> NoSQL plug
Website - Java, Scala, Jruby, or Jython for delivery? -> App JAR -> API plug or MySQL plug
Android - Java for delivery -> App JAR -> SQLite db plug & API plug
If you were able to run the whole thing on the JVM you could place them all in one project, or separate projects, it's really up to you. And yes, the REST API would act as a delivery mechanism for system A and a plug for systems B and C.
comment 13y ago · link · parent
It can run as a rails app, sinatra web app, sinatra api app, command line app, or desktop app using jruby. Backend database is pluggable and can use json files, mongo, mysql, or even its own api as a data source without switching the application code itself.