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

That’s a great pragmatic way to think about it.

comment 4y ago · link · parent

100% agree. The faster you can make your feedback loop, the more productive you will be. That’s why automated tests can be a super power. But only (as with everything else) when done right. So how do you know you are doing it right? When your automated tests save more of your time than the time it takes to maintain them. It’s really that simple.

In my experience I get those benefits when testing at the system/use case level but not when doing unit tests. At that higher level automated tests works wonderfully. I haven’t had a bug in production for 5+ years because of test automation. Which means that I spend 95% or more of my time adding new features or optimisations instead of bug hunting and/or getting shouted at because of customer problems. Love it!

comment 4y ago · link · parent

I recently switched my email domain to a different DNS and the amount of opaque random knowledge needed to make that work is crazy. Is there a guide somewhere explaining why the 20+ DNS records are needed to receive email? It seems to be way more complicated than necessary.

comment 4y ago · link · parent

The more I learn about nutritional science the less I trust it. The amount of corruption, incompetency, and political cherry picking routinely demonstrated by nutritional “scientists” is jaw dropping.

comment 4y ago · link · parent

> We were turned into obedient, house-bound consumers of social media, low-grade TV, and mail-order rubbish.

Nothing forces you to be a consumer of social media, low-grade TV or mail-order rubbish. Take responsibility for your own actions.

comment 4y ago · link · parent

If you hate exercising but want to build and/or maintain your muscles for long term health then I highly recommend the book “Body by Science”. I have been working out for 15 (yes fifteen) minutes one day a week (yes once a week) for a few months now and have more than doubled my strength. I am now leg pressing 260kg. It might not be much by body builder standards but it is way more than I could do starting out! And the complete trip to the gym takes 30 minutes from I leave the house until I am back. Worth it.

comment 4y ago · link · parent

Either somebody has a monopoly on force or you have a failed state/anarchy.

comment 4y ago · link · parent

TDD doesn’t work for me. However having a large number of system/use case tests works wonders. I haven’t had a bug in production for 5+ years.

comment 4y ago · link · parent

I love the ideas behind functional programming so I assumed that I would love Haskell. However it turned out that I am more productive and happy using C++/C#/Java/Typescript for real world programming. Having said that, I learned a lot from learning Haskell and it made me a better programmer in other languages.

comment 4y ago · link · parent

I agree. I was offered a well paying job in Silicon Valley plus a free green card. I turned it down and moved to Australia instead. I love it here.

comment 4y ago · link · parent

I keep my expenses 20% below net income and invest the rest on the stock market. It is a great anti-stress way to live.

Happiness is all about your expectations and who you compare yourself with. I try my best to compare myself with myself 1 year ago instead of random strangers. It makes me focus on what I can actually control (my own actions) instead of things I can’t control (the actions of others).

If you can’t help comparing yourself with your neighbours and feel “poor” where you live then moved to a place where you are “rich” compared with the neighbours. It will do wonders for your happiness.

comment 4y ago · link · parent

It’s not hard. Maintain a priority list. Always work on what is #1 priority. If #1 priority is blocked then work on #2 priority. Use the priority list to negotiate with your stake holders. That’s it.

I have had a lot of success using this simple formula in my 30+ years career. Both as an individual developer and when managing small to large software teams. It’s simple. It works.

comment 4y ago · link · parent

Why do people fetishise growth? Cancer is growth. How about measuring things that actually matter? Health, happiness, freedom etc.?

comment 4y ago · link · parent

Have you read “Body by Science”? It’s a simple workout routine that works (I doubled my strength in a few months) and it is super safe. The book has all the science details for how it works.

comment 4y ago · link · parent

I for one am looking forward to AI generated RPG games.

comment 4y ago · link · parent

I quit every job where that was expected. And ended up with a job I love. I highly recommend doing the same. And guess what: I am more productive when working regular hours.

comment 4y ago · link · parent

The reality is that most companies have people manually working around the limitations of the software they are using. Without them the company would not function.

comment 4y ago · link · parent

Unfortunately not. It is all proprietary. However the key idea is simple enough: specify your domain model using JSON or your own parsed language (what I do). Read the specification and generate C++/C#/Java/Typescript/… code. That’s it.

There are many examples out there you can look at. Google buffers for example. The generator I implemented at work started out doing something like Google buffers 5 years before Google buffers became a thing. But it has then been expanded massively by colleagues to do so much more. It has saved man years of programming work and has removed a lot of the boring repetitive work. I think that is why it was become so popular among colleagues. It is the first thing they install when starting a new project.

comment 4y ago · link · parent

I introduced a code generator at work and it was quickly adapted and modified/upgraded by colleagues. It started out as a simple protocol generator (think Google buffers but 5 years before Google buffers became a thing) and was then expanded over the years by a number of people to handle a lot more (databases, model specifications etc.) generating C++, CMake, Typescript, Java, and C# code. There is no open source generator out there that can handle all the things this tool does. It has now become the first thing people install when starting new projects. I think the key to its success is that the code generator itself is really simple. So you can figure out how to improve it in no time. Also, the generated code is super pretty. It even includes comments explaining what the generated code does. This was a design choice by me to ensure that people trusted the generated code. Without it I don’t think the generator would have been successful. If people can’t understand the generated code then they don’t trust it and is less likely to use the generator.

comment 4y ago · link · parent

I always write my own code generators. It’s fun, it doesn’t take that much work, and the results are exactly what I want and need. I have developed business applications where 80% of the code was auto generated. All I had to write was the core business logic and a bit of special case UI code. Code generation is a real super power.

comment 4y ago · link · parent

We all depend heavily on “non-innovative” technology to survive. Think farming, energy production, transportation etc. Consistent reliable execution is what matters.

comment 4y ago · link · parent

Not at all. Consistent effective execution is what matters for most things. Farming is 1000x more important than “innovative” software development. Without farming we would all be starving and dying.

comment 4y ago · link · parent

I recommend working for a company that care about your results not whether you sometimes arrive 10 minutes late for work. Managers that focus on arrival time are in my experience incompetent.

comment 4y ago · link · parent

Smalltalk is image based right? So how do you merge changes from different team members?

comment 4y ago · link · parent

Anybody here using Smalltalk in production?

comment 4y ago · link · parent

No Kanban is more involved. You can have multiple tasks in flight, you limit tasks per column etc. Kanban is IMHO for more complicated stuff (large scale manufacturing with multiple departments for example).

comment 4y ago · link · parent

30+ years of development experience here. The #1 management tool that really works is a simple prioritised list. Whether you are managing a team or yourself. Tasks gets assigned in priority order and if a task is blocked then you pause and pick the next one on the list. The prioritised list is also excellent for negotiating with stake holders. Simply ask them to place what they want in the priority list. It makes it really obvious to the stakeholders what the trade offs are.

1288.

End-to-End Verification of ARM Processors (2016) [pdf](alastairreid.github.io ↗)

2 points · by mbrodersen · 4y ago · discuss

1289.

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

1 points · by mbrodersen · 4y ago · discuss

1
424344
116