Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions

Submissions

comment 2y ago · link · parent

The hard part is not writing the software. The hard part is convincing companies that it is worth the switch cost to change the software they use.

Which means making it possible for customers to automatically transfer all the data they have already created with the old software to the new software with zero loss.

It also means convincing the customer that the cost of learning the new software is worth it.

And it means convincing the customer that having to deal with your brand new set of bugs, instead of the old set of bugs they have already learned how to work around or fix, is worth it.

In other words, you need world class sales skills way more than you need developer skills.

comment 2y ago · link · parent

Completely disagree. The most important goal in designing software is to maximize ROI (value/cost).

And yes if N hours spent on making a design more understandable gives a better value/cost, than any other usage of those N hours, then it is the right choice. But that happens very rarely in my experience.

Having said that, the #1 most valuable thing you can do IMHO is to make the software architecture simple and automatically testable. That is almost guaranteed to give you a better ROI than any other activity.

comment 2y ago · link · parent

I agree. Citizens will think more than twice about supporting invading another country if they might end up having to personally be on the ground in a kill zone.

Which is why I believe that people supporting a war should be the ones actually fighting it.

comment 2y ago · link · parent

I believe that intelligence is not the same as being smart. Intelligence (what we measure with IQ tests) is basically just a measurement of your ability to think abstractly. And yes being able to think abstractly is an excellent skill to have! Especially when working in math/physics/engineering/programming. However the world is full of high IQ people who make non-smart decisions every single day.

comment 2y ago · link · parent

I agree with you in principle but the reality is that most Universities and research organisations are extremely political. If you challenge the beliefs of the scientists in charge, your funding and support will often be cut. The history of “Nutritional science” is a great example of how bad it can get when money and politics overrules basic science.

comment 2y ago · link · parent

Not in my experience. I am forced to use Linux at work. I choose to use Windows at home.

I recently updated Ubuntu at work and it then failed to boot. My sysadmin ended up having to completely reinstall it. That has never happened to me with Windows.

My solution is to use Windows as a host OS and running Linux in a VM for work. It works great!

comment 2y ago · link · parent

I do. 3 days a week. I prefer it that way. I don’t want to work 5 days from home.

comment 2y ago · link · parent

That’s great! Most media is nothing but politically motivated propaganda machines owned by billionaires interesting in pushing a specific agenda. So it is excellent that people don’t automatically trust media.

comment 2y ago · link · parent

Good luck with that. The world runs on billions of lines of C/C++. And new C/C++ projects are started every day.

comment 2y ago · link · parent

People used to think that being exposed to violent VHS tapes, video games, or D&D would make all teenagers serial killers. That hasn’t happened obviously. Quite the opposite. Violent youth crime has gone down not up. So I bet that pedos using AI’s instead of real kids will keep more kids safe.

comment 2y ago · link · parent

Every day. Git update + build + run tests + launch.

Having a really good test suite is key. I launch straight into production with zero fear.

comment 2y ago · link · parent

I work with people like that. I feel really lucky.

comment 2y ago · link · parent

Most devs agree that having "good" "clean" APIs is important. But will deeply disagree on what that means when designing an actual API.

Same with "good" architectures, "quality" programming languages, "good" tests etc. etc.

"Quality" and especially the prioritization of "Quality" tasks is highly subjective in my experience.

comment 2y ago · link · parent

Not my experience.

I write high-performance business/enterprise software every day and get rewarded for it. Keeping the architecture simple but fast by design makes everything so much easier and productive.

I really wish developers would take responsibility for their own low performance code instead of blaming everybody/everything else.

comment 2y ago · link · parent

Please stop blaming the tools, companies, users, God, your neighbour, politicians, capitalism, or whatever else developers traditionally like to blame for low performance software.

The truth is that developers are responsible for developing slow software. Nobody else.

So if your code is slow, take responsibility for your own work and fix it! Learn how to make your code fast. Listen to developers who know how to write fast software (game developers for example). You might learn something.

But most importantly pick architectures that are fast by design. Most popular architectures are not and never will be.

A single modern server is unbelievably powerful and can do an enormous amount of work if you code it well.

comment 2y ago · link · parent

Nope. CompCert is an example of software that was mostly proven correct (all the important stuff) and zero bugs have ever been found in the proven correct parts. So yes you can indeed write zero bugs software.

comment 2y ago · link · parent

This is how I have always developed hard-to-make-bug-free software. Write a simulator first that will deterministically give your software the worst possible environment to run in with failures happening all the time. I have delivered complicated software into production using this method with zero bugs ever reported. It works brilliantly.

comment 2y ago · link · parent

As far as I understand there are no new ideas in Rust. Linear types (for example) was invented in academia a long time ago.

So perhaps a more accurate statement would be that it is the first practical programming language to implement those ideas?

But what about F* (F-star) for example? That is a language used by Microsoft to write a proven correct network stack used in industry (and Firefox I think). That seems very practical to me.

comment 2y ago · link · parent

I used to write assembler on paper and then translate it step by step to Z80 machine code to run on a ZX Spectrum. And yes I was eleven as well. It’s amazing how easily you can do things when you don’t know how hard it is :) I still remember how excited I was filling the screen with black pixels using machine code!

comment 2y ago · link · parent

> dedicated load balancers are often undesirable. They add cost, latency, complexity, and may introduce a single point of failure.

Not my experience at all. Centralised load balancer are simple, easy to maintain, and just works.

My rule of thumb is to always always always avoid distributed computations as much as possible. Trying to avoid a “single point of failure” always in my experience leads to more complex failure scenarios, making your system more likely to fail in hard to fix ways.

comment 2y ago · link · parent

I am sorry to say this but most developers either don’t have the ability to think for themselves or can’t be bothered.

You might disagree with this statement of course but that is truly my experience (30+ years of working professionally in software development).

Try this: Next time a developer confidently suggests that you should use tech X, ask them that the pros/cons are compared with using tech Y/Z. Ask about performance/failover/latency/team skills required etc. Most developers in my experience completely fail to give an intelligent answer. They are just loudspeakers confidently copying the opinions of somebody else. Usually somebody who benefits financially from developers using tech X.

comment 2y ago · link · parent

Make sure you are working on projects that are generating real substancial $ for the company. And make sure your manager and his/her manager knows about this.

It reminds me of some gangster movie where they are discussing whacking somebody. “But he is a good earner!” saved his life.

comment 2y ago · link · parent

This is highly likely to burn bridges. Especially if your local job market is limited.

comment 2y ago · link · parent

POCO is another solid collection of C++ libraries with similar objectives. It looks as if POCO is more mature.

comment 2y ago · link · parent

I have worked with devs that later was hired by Google. They were OK but not the best devs I have worked with. So no I don’t care about Google when hiring people.

comment 2y ago · link · parent

One problem is that experts can’t even agree on what a “healthy” diet is. See Vegan vs. Low-Carb/Carnivore. For every documentary “proving” that one is better than the other, there is another one “proving” the opposite. There are doctors, professors of nutrition, corruption, paid for research results, and people who have dramatically improved their health on both sides of the battle line. Nutritional science nowadays reminds me more of politics or religion than science. With people screaming at each other from different camps.

comment 2y ago · link · parent

So the “problem” is that companies optimize their offerings to appeal to as many people as possible and the author doesn’t like the outcome? I would call that a hipster first world problem. The amount of “the world has to change to accomodate my tastes” narcissism demonstrated online nowadays is amazing.

comment 2y ago · link · parent

I disagree that more features require more maintenance. Not my experience at all. I maintaining very large scale C++ software and work 99% of my time on new features. Solid auto tests ensure that old features doesn't break.

comment 2y ago · link · parent

Couldn't agree more. 30+ years of experience here. 10% of developers do 90% of the work. 10% of developers are so bad that productivity for the team would improve if you fired them.

comment 2y ago · link · parent

Not my experience at all. It is my default architecture choice. From small to large team projects. It just works and scales beautifully.

We use SQLite and Postgress for pretty much everything. And about 90 percent of the server code is auto generated using an inhouse code generator.

1
202122
116