5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions
comment 11y ago · link · parent
Patterns if done well give us a language to solve problems in sensible ways as teams.
Instead, we worry about how patterns are named and argue over minutiae. We let things like "exceptions should only be used for exceptional behavior" distract us from effectively communicating with each other.
Our industry sees things like FP, OOP, Design Patterns, etc. as an exercise in taxonomy when building software is an exercise in communication. It's like we are writing a novel, but we are more worried about the names and families of characters than the actual plot itself. That doesn't make for a good book and it doesn't make for good software.
comment 11y ago · link · parent
If you are wanting to do a startup and get validation fast, it's probably worth a read.
274.
Show HN: My Shop Heroes – WP Curve for Shopify(myshopheroes.com ↗)
3 points · by programminggeek · 11y ago · 1 comment
comment 11y ago · link · parent
Many/most people are basically rational and understand things in somewhat reasonable terms, even if greed is problematic. For example, Bill Gates is worth like $50 billion or whatever. I'm not rushing to take his money, company, or job.
Yet, if I know that I'm charging $85/hr. for developer consulting when my competition is charging $150/hr. perhaps I'd be better off adjusting my rates higher. Or, at $250/hr if I'm already top of market maybe I don't have as much room to raise my rates.
Knowing that I can make rational decisions about what to charge and so on and people won't freak out about that. The way people handle salary negotiations by and large is really bad simply because we are a nation of price takers, not price setters. Thus, the majority takes what they are offered and doesn't bat an eye.
The handful of people with professional negotiators or who are good negotiators themselves are making far more than everyone else.
If you tell your kids how much money you make and explain why, they have a better chance of making the same or more money than you do.
comment 11y ago · link · parent
For what a lot of people do on computers, old software still works just fine. Yes, you don't get all the latest updates, but millions of people don't care at all. Certainly millions don't care enough to spend money to upgrade. More than that, a lot of people don't really notice the difference.
comment 11y ago · link · parent
The iPad 2 is still a very good tablet for a lot of people. Not a huge reason to upgrade until it breaks.
Also, nerds might not love it, but my wife adores her Kindle Fire HD and uses it all the time. For recipes, surfing the web, and watching videos, that is all she needs.
280.
The 7 Day Startup Experiment(retromocha.com ↗)
4 points · by programminggeek · 11y ago · discuss
comment 11y ago · link · parent
Without that context, I have no way of seeing this as anything other than a "bubble" investment, even in a pretty awesome product/team.
comment 11y ago · link · parent
Take the classic case of SQL injection. You have string input into your system that turns into string input into a SQL query that turns into string input to a database. That is dangerous because if you don't check on what the input string contains, it might contain nothing, or a semicolon, or it might not be a string at all!
We understand that putting a string direct into a SQL statement is dangerous at this point, but we have yet to fix its root cause - nonexistant protocols or boundaries in most code we write.
What a static language changes in that regard is compiler checked type signatures on your code. That generally stops you from say passing an Integer into something that needs a String. That solves a certain class of problems for sure, and the complier does it for you every time you change your code, so there is a convenience there.
What static typing doesn't give you is actual data correctness. Things like buffer overflows or SQL injection can still happen with static typing. You could use a language like Scala or Haskell to have stronger/more complex types that would have more distinct notion of value correctness and at that point the complier would be doing most of the work to ensure your program is correct.
Leaning on a type system in that regard is basically turning your types into the protocols that determine correctness in your system.
It is also possible to lean on stronger protocols that check messages in a dynamic languages to achieve largely the same thing.
In the end, to write safe, high quality software, you need to define the communication protocols between methods/functions/routines/services and enforce them much as you would with an externally facing REST api.
The difference between a dynamic system with dynamic protocol checking vs a static system with compiler type checking is the mechanism you are using to enforce the protocol and how easy it is to interact with it.
Dynamic systems might be easier to interface with externally because you don't have to understand a complex type, just pass a Hash/Dictionary sort of like a JSON API, vs a static system where you need to use the right types and so on, similar to a SOAP/WSDL API.
Performance is also a consideration, but really when you compare static vs dynamic, it is important to understand that at the end of the day you can write Ruby/Python/PHP that is functionally equivalent to C/C++/Java. They are all ultimately going to be able to do the same kinds of things.
The tradeoff is in how they solve the problem and how well that fits with the team writing the software.
comment 11y ago · link · parent
Novel style ebooks are a great fit for the Kindle reader. Technical books are not so great. I don't think there is a big push to get technical book reading experiences to be super amazing, even with the iPad being so popular.
comment 11y ago · link · parent
When you pay someone and you control both their place and time for over 1/3 of their daily life, there are inherent problems. I'm not sure that any office plan is ever going to be super ideal because of the fundamental problems of power and control that come with an employer/employee relationship.
Open plans are designed to look cool and help recruiting. They also create a sense of "busyness" that owners and managers love. Busyness is proof they are still in charge.
Arguing about wether or not it is better for productivity is a red herring. It was never about productivity in the first place. Most of what happens in an office is only tangentially related to the idea of work efficiency.
comment 11y ago · link · parent
Unless you have a boatload of empathy or you spend a lot of time living with and solving other people's problems, you are going to waste a lot of time on these kind of silly frameworks for trying to find the perfect idea.
Yet, you are one of many billion people on the planet who buy things. So, it is highly unlikely that what you want is totally unique. Also, the only person you can truly empathize with is yourself. You know what you want and you like better than anyone else.
Build for yourself. Sell what you would buy. If you wouldn't pay what you are trying to charge, then you are probably in the wrong business.
comment 11y ago · link · parent
There are a lot of very good reasons to have your blog on the same domain and relatively few to have it on a subdomain. The extra traffic outweighs any benefit to putting it on a subdomain.
298.
1 points · by programminggeek · 11y ago · discuss
comment 11y ago · link · parent
Some of my fondest memories of games are of the NES games I played as a child. They are still some of the most basic and fun games to play.