Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

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

Submissions

comment 4y ago · link · parent

Hard agree. I will even take it one step further:

State the Business Problem Before Describing the Solution.

If you can’t explain how the solution will improve the business and how it ranks compared with solving other business problems then you are doing it wrong.

comment 4y ago · link · parent

Not my experience at all. I simply refactor/improve the code one small step a day guided by auto tests and eventually end up with clean and highly maintainable code. I am managing a very large C++ application and haven’t had a bug in production for 5+ years. Which means that I spend almost 100% of my time adding new features instead of being in debug hell.

comment 4y ago · link · parent

Building software is not analogous to building a house. Building software is more like what architects do before the house is built. With the difference that we can press a button and a new “house” is built within seconds.

comment 4y ago · link · parent

My personal best practice for using shell scripts:

Don’t.

Use a proper programming language instead. bash (and similar scripting languages) are non-portable (Linux/Windows) and the opposite of what I want in a good programming language.

comment 4y ago · link · parent

Same here. And the result is tag I am vastly more productive long term compared with “quick and dirty” developers.

comment 4y ago · link · parent

I never understood why anybody would listen to Jim Cramer in the first place. He is obviously a clown.

comment 4y ago · link · parent

Just render relative to camera (subtract camera position from model position and set camera position to 0).

comment 4y ago · link · parent

If normal intelligent people doesn’t make sense to you then it is because you don’t understand where they are coming from and why they believe what they believe.

comment 4y ago · link · parent

Not my experience at all. The fewer frameworks I use, the more solid and reliable the software tends to be. And you avoid the yearly “our current framework is crab so let’s try something else” rewrite that everybody else seems to be involved in.

comment 4y ago · link · parent

Writing high-performance JIT compilers. I am lucky enough to get paid for it as well.

comment 4y ago · link · parent

The only thing I care about is number of jobs available for language X.

Is there a list somewhere ranking languages by # jobs?

comment 4y ago · link · parent

I believe Isabelle/HOL was used to prove seL4 correct. So it is indeed an industrial strength tool.

comment 4y ago · link · parent

A number of modern languages (F-star, LEAN, Coq, Agda, Idris, …) use Dependent Types. It enables you to prove code correct using just the type system. Very cool.

I highly recommend the book “Type Driven Development”. I prefer that to “The Little Typer”.

comment 4y ago · link · parent

You don’t need to time-restrict. Simply reduce all carbs (not just sugars) to max 50g a day, and increase protein (150g a day) and you will dramatically improve your metabolic health.

comment 4y ago · link · parent

It is a perfect example of why you need to know the low level gritty details of how modern CPU’s (and Caches/RAM) works to write high performance high level code. A few years ago I optimised a C++ constraint algorithm from 47 minutes to 2 secs by re-arranging how the data access was organised. Writing your code in C++ doesn’t automatically make it fast. You still need to understand the low level details to make fast code.

comment 4y ago · link · parent

I have worked with a few people who later joined Google. They were OK but not the best people I have ever worked with. So don’t believe that “the best people work for FAANG’s”. It’s BS hype.

1187.

Hacker-Proof Code Confirmed (2016)(quantamagazine.org ↗)

2 points · by mbrodersen · 4y ago · discuss

comment 4y ago · link · parent

Super productive people usually only work a few hours a day. The rest of the time they think about how to solve the problems more efficiently with more automation and less work.

Doing the thinking part properly can make the difference between a project that takes 3 years and one that takes a few months.

comment 4y ago · link · parent

Talking about it openly and repeatedly is the best way to reduce the power of any trauma.

comment 4y ago · link · parent

Yep. There is no such thing as a “cost center”. It either is needed to generate a profit or shouldn’t be there at all.

comment 4y ago · link · parent

Don’t worry about it unless you are joining one of the hundreds of hyped AI startups that will go broke the moment they run out of VC money.

comment 4y ago · link · parent

I recommend learning Dafny instead of TLA+. It gives you all of the same reasoning power, with the added advantage that you can run your proven code in production.

comment 4y ago · link · parent

I for one am super happy that I now have access to world class talks, documentaries, and instructional videos on YouTube. Don’t complain about bad content. Instead choose to only watch the quality stuff.

comment 4y ago · link · parent

You mean the way Erlang does it? You can replace code while the system is running. In a few lines of code.

comment 4y ago · link · parent

Here is what works:

1. Maintain a To Do list for the project.

2. When a developer is available, he/she/it will pick the highest priority task to work on.

3. Use the To Do list when negotiating new features with stake holders. They have to decide where in the priority list the new task is added.

4. Break very large tasks into smaller step by step tasks that can be developed independently.

It’s simple. It works. I have delivered successful projects most of my career using that method. As a single developer and when managing large teams of developers.

comment 4y ago · link · parent

Nope. I have taken over large Java applications with zero documentation and managed to get up to speed maintaining it fairly quickly. The static typing is a huge help.

comment 4y ago · link · parent

In other words, SQLite is clear evidence that using “modern” tools, “best” practices etc. is not necessary to creating world class software.

And other projects clearly demonstrate that using “modern” tools and “best” practices often still result in really bad low quality software.

So in conclusion: “modern” tools and “best” practices are empirically proven to not be important when it comes to creating world class software.

comment 4y ago · link · parent

You have to understand that most Americans are indoctrinated to believe that America is “the best” from the moment they are born. I have lived and worked in the US, Europe, and Australia and can truthfully say that you have won the lottery if you are born in any of the rich western democratic country. And I personally don’t put the US as #1 on that list.

comment 4y ago · link · parent

If you believe that then I have a “magic programmer box” to sell you. For the low special price of $9999 I will sell you a black box with a button that will automatically write world class code for you in less than a second! Think about the money you will make getting paid a high salary while doing nothing! And wait! If you pay by Credit Card within the next 10 minutes, we will send you for free a “I am a total tool!” bumper sticker you can put on your car! Making you super attractive to the opposite/same/both/… sex you want! GUARANTEED!

comment 4y ago · link · parent

It isn’t. Programming today is so much easier, in every single way, than it used to be 40 years ago when I learned how to program. I am pretty sure that people making a living today, programming by copy-pasting code from Google searches, would have had real trouble programming without the internet back then.
1
394041
116