1,083 karma · joined Aug 24, 2009 (17y ago) · 431 submissions
comment 14y ago · link · parent
Laws are abstract concepts easily broken: especially by those who write them. Laws have never assured security (and that goes for things beyond just the internet).
302.
Why Don't You Do Something Other Than Sit at Your Computer?(seanogle.com ↗)
15 points · by ericHosick · 14y ago · 3 comments
comment 14y ago · link · parent
I hope so because anything which encourages and helps people to learn programming is a plus in my book.
comment 14y ago · link · parent
A paint brush is also a tool and one might be inclined to call a paint brush a sham when it fails to make them a great artist.
Others might already be great artists using pencil as the tool and thus also claim a paint brush to be a sham.
comment 14y ago · link · parent
It can also be noted that a really well designed solution may require no lines of code at all.
For example, engineering away parts of a process that are no longer required within an automated version of that process.
comment 14y ago · link · parent
They are tools used by software engineers to solve problems.
The unfortunate thing is that many software engineers fail to realize these are just tools and confuse them as being the ends as opposed to being the means.
comment 14y ago · link · parent
Testing at the behavioral level/systems level/UX level is really verifying a lot more than just "is this code right". It provides a way to check correctness on the specifications, correctness on the behavior, complete coverage of expected usage by the end user, and assures that only the code necessary to get the behavior to work is being written (to name a few).
The carelessness I see are developers writing code without fully understanding the needs of the stake holders. The industry would be in a lot better position if managers/product owners/stakeholders/etc. were expected to provide a good set of behaviors to develop against (as an example, Gherkin or similar tools) before they start pushing developers to "deliver something on time". Note this is at the systems/behavior level and not at the Unit level.
Unit level tests provide robustness. Developers can never assure that software has no "bugs".
Behavior level tests assure completeness. Developers can assure they are meeting the requirements (Developers can't assure they are making what the customer wants: but that is not the responsibility of a developer. That is the responsibility of product owner/project manager/etc. I'm not saying that a developer can't ware that hat, but a developer not wearing that hat should not be held responsible for failings to provide for the wants of the customer).
All that being said, I can not emphasis enough how important I think Behavior Level testing is.
My 3 cents.
comment 14y ago · link · parent
We realized that product B would not be a good seller and did not invest any money in it. However, the competing company somehow finds out about the plans and invested a lot of money to get product B out the door before we could (even though we had let the idea fall to the side).
They lost a lot of money and it helped us gain additional market share with the original product A.
Note: I only had a small part in this company but makes it easier to write the story with "We".
comment 14y ago · link · parent
Really, the headline should read "Should (some) People Have More Leeway To Kill Than (other) People".
comment 14y ago · link · parent
This allows you to describe how you want the system to behave without getting into the nitty gritty on how to make it look good: that is why these mocking systems look as pencil like as possible. Iterate with a designer a few times with these mockups.
I would also recommend showing the mockups to your stakeholders and/or customers and ask them what they think. Do they like the flow, etc.
Another advantage using mockups is that once you have your mockups finalized, you can start implementing the behavior of each mockup while the designer designs.
For this phase, I would recommend using Feature/Behavior Driven Development to drive the development of your code based on the mockups. Use Test Driven Development to fill out the units of your program.
Just a suggestion and I hope this helps.
315.
You see Coding as a Loosing Game if You Focus on Testing(blog.interfacevision.com ↗)
1 points · by ericHosick · 14y ago · discuss
comment 14y ago · link · parent
Even more to the point... Why are developers so emotional about things like editors? All of these things (computer languages, editors, compilers, etc.) are just a means to an end: the end being a software system that, hopefully, makes the users life easier and/or provides them with something new to do.
comment 14y ago · link · parent
It is a pain that you feel. A knife that managers happily sharpen without knowing.
It is unfortunate that with so many tools and best known practices available today that developers still create technical debt and managers still can't appreciate it.
I guess it is a lot easier to hack without first writing out the behavior or writing out those tests or convincing managers that a little upfront cost will save their ass or company later.
It isn't called Behavior DRIVEN development or Test DRIVEN development cause it sounds cool.
Staging and production environments aren't just for shits and giggles.
comment 14y ago · link · parent
If you have a firm grasp of something then you understand how to manipulate the concept in different contexts. Adding a new idea allows you to simply twist contexts to include the new knowledge and you've "learned" how to do that new thing.
As things get more complex, so does the contexts and thus it gets harder to "learn" if you've been doing rote learning all along. Rote learning is memorizing a new idea in a specific context and there is no room for morphing that context.
If you get good at morphing contexts to fit new ideas then you can also get good at taking two different contexts, merging them at getting new concepts out of it: this is the act of inventing.
comment 14y ago · link · parent
I think this type of technology will be of great use for people that have this kind of genetic deficiency.
As an example. Currently my friend uses an iPhone to take a picture of a menu, holds the display a few inches form his eyes and zooms in on the picture to read the menu.
I think he could use these glasses to stream zoomed in video and actually see what is going on around him.
comment 14y ago · link · parent
But, doing it. Actually typing in a sentence. Every sentence. Even what I am writing now is there. Really, take one, copy and paste, like this one, and it is there.
comment 14y ago · link · parent
I've seen very large data-models without any useful indicies and developers attempting to optimize these systems through manual caching (similar to indexed views in something like Sql Server).
The trend seems to be worsening and is disconcerting.
Key/value stores are the trend but Sql is still very prevalent and should be as well understood as something like regular expressions.
comment 14y ago · link · parent
We have had three instances degrade within a week. So far, we have had five instance degrade. At current degradation rate, nearly 100% of our production servers would degrade every year.
It took a lot of work to try and get, from Amazon support, the expected degradation rates of their servers. Their response was as I described: implement redundancy. They never did let me know their expected degradation rate.
Admittedly, we have not seen any degradation in a few months. However, this doesn't make me feel any better.
comment 14y ago · link · parent
Really, it is a rabbit hole that can lead to thousands of dollars each month very quickly. EC2 becomes efficient when talking about hundreds of thousands of customers if not more.
You can end up with an impressively robust system but at a large of upfront cost: for startups probably not worth the ROI.
comment 14y ago · link · parent
Having to force a person to answer questions on projects they've worked on before is a hint that something is wrong. Many times, when this happens, their final answer is something like "Well, actually, I didn't code that. I just reported on it".