geromek | 9 years ago | on: iPhone update leaves users furious due to battery drain issue
geromek's comments
geromek | 9 years ago | on: As Artificial Intelligence Evolves, So Does Its Criminal Potential
For god's shake, it is 2016, we are still unable to have a decent dependency system for most programming languages. AI is still decades far to rise up against us.
geromek | 9 years ago | on: Why bad scientific code beats code following “best practices” (2014)
Software development is about building software. Software engineering is about building software with respect to cost. Different solutions can be more or less expensive, and it's the engineer's job to figure out which solution is the least expensive for the given situation. The situation includes many things: available materials and tools, available personnel and deadlines, the nature and details of the problem, etc. But the situation also includes the anticipated duration of the solution. In other words, how long will this particular solution be solving this particular problem? This is called the "expected service lifetime".
Generally speaking, with relatively long expected service lifetimes for software, best practices are more important, because the expected number of times a given segment of code will be modified increases. Putting effort into maintainability has a positive ROI. On the other hand, with relatively short expected service lifetimes for software, functionality trumps best practices, because existing code will be revisited less frequently.
Think of the extremes. Consider a program that will be run only once before being discarded. Would we care more that it has no violations, or would we care more that it has no defects? (Hint: defects.) That concern flips at some point for long-lived software projects. Each bug becomes less of a priority; yes, each one has a cost (weighted by frequency and effect), but a code segment with poor maintainability is more costly over the long term, since that code is responsible for the cumulative costs due to all potential bugs (weighted by probability) that will be introduced over the lifetime of the project due to that poor code.
So, short expected service lifetimes for software, prioritize correct behavior over maintainability; long expected service lifetimes for software, prioritize maintainability over correct behavior. The source code written by a brand-new company will be around for six months (maybe) before it gets factored away, or torn out and rewritten. During that time, less-experienced coders will be getting to know new technologies with foreign best practices, and those best practices will be violated frequently but unknowingly. Attempting to learn and retroactively apply best practices for code that will likely last a short period of time is simply more expensive (on average) than just making things work. The same applies to scientific code, which gets run for a graduate degree or two before being discarded. If the code wasn't horrible, I'd think that effort was being expended in the wrong places.
In my experience, most "fights" about best practices (whether a technique should be considered a best practice, or whether a best practice should be applied) usually boil down to people who have different expected service lifetimes in mind. (One of those people is probably considering an expected service lifetime of infinity.)
geromek | 10 years ago | on: Boaty McBoatface and the False Promise of Democracy
After gaining the #1 position the organization decided to withdraw the name from the polling, causing more controversy about this digital process.
geromek | 10 years ago | on: LL and LR in Context: Why Parsing Tools Are Hard (2013)
[1] https://buguroo.com/why-parser-generator-tools-are-mostly-us... .
geromek | 10 years ago | on: Knowmail – AI for email
geromek | 10 years ago | on: E-Prime: English without the verb 'to be'
Spanish has to different verbs to depict the meaning(s) of 'to be' -> ser (exist) and estar (stay). I always thought merging those meanings into a single verb did not help to express the richness of the English language.
geromek | 10 years ago | on: Lenovo Is Laying Off 3,200
geromek | 10 years ago | on: Study of Ad-Blocking Software Suggests Wide Use
geromek | 10 years ago | on: Why Don't Software Developers Use Static Analysis Tools to Find Bugs?
A typical SCA tool can report hundreds or thousands of occurrences for a certain code base. How are developers going to deal with them?
geromek | 10 years ago | on: Why Don't Software Developers Use Static Analysis Tools to Find Bugs?
Sometimes we forget companies do not want a perfect code or the best possible well designed software but a product that make them earn money.
My experience is that developers only use those kind of tools if they are forced to by their QA managers of bounded by contract. Programmers usually don't want to fix or track bugs.
geromek | 10 years ago | on: Show HN: Spanish election results – D3 newsapp
God job anyway :-p
geromek | 10 years ago | on: Ask HN: Need assistance from the Hive Mind
geromek | 11 years ago | on: There Are No Experts in the Web Industry
"It's 2015, The top story on HN is how to center text in CSS. Humanity's takeover by advanced AI might take a while."
geromek | 11 years ago | on: The Data Science Handbook
geromek | 11 years ago | on: The Data Science Handbook
Downloading for free is not morally acceptable for me, I would like to support this business plan.
geromek | 11 years ago | on: We Are Closing Down the CppCat Project
geromek | 11 years ago | on: We Are Closing Down the CppCat Project
geromek | 11 years ago | on: We Are Closing Down the CppCat Project
geromek | 11 years ago | on: Automated code review for Python, Django, etc.
However I am curious about your claim " Unlike any other code checker out there, we’ve conceived code error as patterns, not as rules." , could you be more specific?