5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions
comment 12y ago · link · parent
For as much flack as Microsoft took over the years for being evil, I can't say that Google or Apple have done much better, even for their own people.
comment 12y ago · link · parent
There is probably some kind of middle ground where Tesla should be able to sell direct, while there should probably be a possibility of dealerships trying to cut a deal with Tesla.
The real quagmire of unintended consequences here seems to be in how trading 6500 factory jobs for however many thousand dealership jobs. I don't know how it shakes out on either the jobs or tax income end for Texas, but whenever you are talking large change like this, the unintended consequences are usually worse than predicted in one direction or another.
comment 12y ago · link · parent
Their growth looks less impressive when you consider they spent $292M to only grow revenue $65M.
In short, they are spending $5 to make $1. It's possible the customer LTV is actually $6 over a period of years, but they might not be able to borrow enough to make it back in time.
Am I the only one that thinks that a company turning a profit is not like flipping a light switch? If you have a culture of overspending, you aren't going to wake up money and start running a tight ship.
comment 12y ago · link · parent
Watch Shark Tank for a while and you'll realize that even if you have a product people want, it's not trivial to scale a physical product business unless you have significant capital. Even if you reinvest the money you make, you are constrained by how quickly you can turn the money over.
comment 12y ago · link · parent
For example, professional wrestling is a year round "sports" TV show. Without big events like special pay per view shows and such, it would have completely died. As it is, without "Wrestlemania Season" once a year, it would lose a lot of its audience over time because it would have trouble building to anything interesting. Professional wrestling has a resurgence once a decade or so because like many fads, there is a hook that gets people in, but since it never ends, people grow tired and move on to other things. The biggest performers - Hulk Hogan, Randy Savage, Shawn Michaels, Brett Heart, Steve Austin, Dwayne Johnson, and John Cena. Each one's careers coincided with a short "peak" in the business that eventually trailed off as another couple guys had their own peak 5-10 years later.
If NFL or any other sport moves towards more games, more tv, more exposure, it is going to risk being overexposed in a huge way.
Case in point - curling. One of the huge draws of curling is that for most Americans it is only on tv once every 4 years for the Olympics. That has added a mystique and an interest that makes it fascinating to watch. If curling was on every Saturday afternoon all year long, its ratings during the Olympics would drop.
comment 12y ago · link · parent
Also, you are supposed to have retrospectives after each sprint to improve. This sounds like a discussion that should have happened with the OP's team at a retrospective.
comment 12y ago · link · parent
How it would work is you would have something like ActiveRecord that can pull data into the first step, then visual steps for mapping, calculating, etc.. and spitting that data into a HTML view or whatever in the last step. You could design the HTML in a WYSIWYG kind of thing or just as a tempting system. Doesn't matter.
All it would be doing would be replacing a lot of the computation that programmers do with some functional lego block able logic in the middle. Once you had the mechanisms in place for this kind of system, I think you could swap out the data sources from a CSV file to a database to a restful service, and your design bits from HTML to iOS or whatever pretty easily, giving you the ability to work in a pretty general purpose way.
A tool like that could be very interesting, but it's quite a different approach.
comment 12y ago · link · parent
The end result of visual design tools doesn't seem to match the hype. At some point you DO need programmers to make some of the magic happen. I think so far game development has probably done the most to merge the graphic designer, game designer, and programmer workflows into something that is productive for lots of people on the same project.
I really think Apple is the last place you'll see much programming language innovation compared to what you already see in languages compiling to JS or the JVM or even LLVM.
comment 12y ago · link · parent
Also, if you are "too busy" to communicate with your customers before launch, you probably won't have many customers after launch.
comment 12y ago · link · parent
It's cool to see the same idea implemented in Hack. I don't know if anyone at FB has even heard of Obvious, but it's cool that they had the same idea in their language.
comment 12y ago · link · parent
What Kotlin seems to be getting right so far is the useful side of functional programming features, IDE support, and a reasonably fast compiler. Compiler speed is something that Kotlin actually cares about, which last time I played with Scala, it was still dog slow to compile or even wait for it to decide to compile after you make a change.
Developer experience is very important to me and for the kind of software I want to build and the way I want to build it, Kotlin looks very promising.
comment 12y ago · link · parent
MySQL is fantastic for probably 90% of what you'd ever think to use it for. MySQL is also a lot easier to find cheap hosting for and has tons of documentation spread throughout the internet. It's worked well for plenty of websites at ridiculously massive scale for a long time and by the time you ever get "to scale", your problems will almost always be with your code, structure, a poorly designed query, or a severe lack of caching long before you run into problems with MySQL.
PHP and MySQL aren't the sexy HN choice, and there are problems with both, but both will get you a very long ways before they are ever your main problem as a startup.
comment 12y ago · link · parent
The first was a very large PHP app that ran a fundraising website that processed millions of dollars in donations. It grew organically over time and there was need to change database structure or swap out whole modules of the infrastructure like the site search. It was mostly untestable and really could benefit some automated testing.
Over time the app was moved to a Ruby web API with Sinatra with a decent Service layer with great test coverage. It's been a massive improvement over what was there originally and moved towards more Clean Architecture principles over time. It never went full Clean Architecture because getting team buy-in was difficult and until you feel the pain of a complex, monolithic codebase with minimal tests and a few botched late night deploys, it is hard to feel the pain that Clean Architecture solves.
The second app I've seen that would benefit from Clean Architecture is a Rails app that is pretty vanilla Rails. Normal MVC and all that. Lots of ORM and so on. The tests ran slow and over time the required reporting complexity made the database queries slow and terrible. We've pulled things into a service layer and presenters which helps a bit, but doesn't solve everything. Now we are moving the app reporting into a very functional, immutable approach where we calculate and cache everything all at once in the background. We are only using the models for basic CRUD and for easily pulling out our data structure from the DB, which is then handed to a bunch of functions which calculate everything. It's very much a functional core, mutable shell approach. Even still, this isn't a fully Clean Architecture approach, but it's a lot closer, and it solves a lot of the problems that default Rails MVC doesn't.
Clean Architecture is probably best thought of as something people move towards over time as they feel the pain of not having it. Once you feel that pain, it is completely reasonable to want to start your projects clean and keep them that way, but good luck convincing other developers to join you if they haven't felt the pain.
comment 12y ago · link · parent
comment 12y ago · link · parent
For the record, with this kind of architecture, you can take the same codebase and use it for a web api, standard rails app, sinatra anything, desktop app, mobile app, or command line app. All using mysql, sqlite, postgres, mongodb, json files, or just about anything else you want for persistence. And your tests should all run in less than a second. It's pretty sweet from a purely technical standpoint. Obvious Status has done that with ruby, but I could see the same thing being done in Java, C#, or even C++.
I'm not sure why all the rails people are blogging about this kind of architecture seemingly all at once, but it's not new. It's pretty much where you end up when your standard MVC codebase gets out of hand on a reasonably complex project. Uncle Bob spoke over 2 years ago at Ruby Midwest about this and has blogged about it since then. Obvious came out last January and there were a few people talking about it since then, but not many.
The real struggle with this kind of structure is that it goes against the standard Rails patterns and ecosystem. DHH doesn't like it and frankly he's right. It goes against the whole spirit of Rails. It doesn't fit in with Rails. Sidenote, DHH originally called it the worst code he's ever seen attached to Rails, so it's got that going for it.
If you go down the path of clean architecture (in any of its forms), you are going to have to convince your team of Rails devs to stop using Rails as they know it. Most Ruby or Rails devs don't want or see the need for this kind of structure. That is okay. We had to build a lot of things to make building Obvious apps in Ruby more awesome, but it's an uphill battle. Other languages give you things like interfaces and method parameter type checking as part of the language and will even check them at compile time.
Clean Architecture is great, but I think it's going to lead developers away from Ruby and Rails, at least for the core API portion of their app. I really don't know what language most developers will land on, but it will probably have a compiler, it will probably support functional programming and immutability, it might support OOP, and it will probably be on the JVM. That's just my guess.
comment 12y ago · link · parent
comment 12y ago · link · parent
Microsoft used to embrace, extend, and extinguish their competition before they got too big and too afraid of their own shadow(and shareholders) with Windows and Office. Honestly, it makes total sense for Microsoft to acknowledge they are running a distant #3 and get as many developers behind them as they can. Make Microsoft the place where real hackers go to write code.
Buying Xamarin is embracing. As is maybe a Nokia Android phone. Microsoft needs to make their own "better" version of Android with their own services and get people hooked on that. Then make the "best" version of Android called Windows A. It's Windows, on Android. Windows A's best features would be closed source and patented. It would potentially crush Android in the mainstream.
I don't think that Microsoft has the guts to try and pull that off, but if they did, it would be a feat.
comment 12y ago · link · parent
I'm not exactly sure why women in tech think this is about being a woman or being in tech or working at a tech company. The same behavior exists in non tech companies and you can have equally screwed up relationships with coworkers and their spouses as a man.
These problems are basic problems with people interacting with other people.
comment 12y ago · link · parent
Either they were going to be shut down by their own choice, or their hand would be forced by outside litigation. Just because something is legal doesn't mean companies won't spend millions of dollars to make your life miserable because of what you built.
comment 12y ago · link · parent
It is entirely possible that I'll check out Scala again and fall in love with the language. Who knows.
comment 12y ago · link · parent
I'm glad Obvious influenced you, but I'm not surprised you didn't use it directly. To be completely honest a lot of what I built in the obvious gem, other languages give you just as language feature. For example comparing similar entity and contract structures in Ruby/Obvious, Mirah, and Scala: https://gist.github.com/brianknapp/6178930 I made Obvious work in Ruby because Ruby provided a great platform for figuring out how to make this work well. However, most Ruby devs either don't get it or don't like it because it's not very Ruby or very Rails.
The best Rails code I've ever written is basically using ActiveRecord to pull in a big data tree from the database and then using that to populate and do calculations on a bunch of immutable data structures using Hamsterdam::Struct. The code is really clean and beautiful and very easy to test. The final computed data structure is then used to populate an immutable presenter that helps generate the view. It is very much in the vein of a functional core and mutable shell concept that Gary Bernhardt advocates. My Obvious apps tend to follow a similar pattern, tho I haven't updated the Obvious site to mention functional core and mutable shell, but the code's kind of always been that way.
You can write great code in Ruby and Rails, but to me it's always going to feel more like a prototyping tool than something that will feel great to maintain for long periods of time.
comment 12y ago · link · parent
I think there is a need for a different language that makes clean architecture natural, well accepted, normal thing. Ruby is great, but trying to change the community and language doesn't seem to be the right approach.