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

Same background here (50+ started programming when I was 11). However I don’t regret it at all. Some of my happiest memories of my childhood is overcoming really hard programming problems and suddenly deeply understanding something I had been trying to understand for days/weeks. With nobody to help me and no online access to any resources. Just a single book “Programming Machine Code on the ZX-Spectrum” as a guide. I still remember finally getting my first machine code program (hand translated from assembler) to work without the computer crashing. The sense of achievement blew my mind. And still does today with much harder problems.

comment 4y ago · link · parent

I am currently playing around with Dafny and it is very promising. I have use it to generate proven correct high-performance C# code without too much efforts. It’s great fun actually. Like a really cool puzzle game.

comment 4y ago · link · parent

> The halting problem says that you cannot make this guarantee for ANY sufficiently complex program.

That is correct but also completely irrelevant. In practice all software we actually use and need can be written in languages that are slightly less powerfully than Turing complete languages. Look at CompCert, seL4, Dafny, Coq, LEAN, F-Star etc. etc.

comment 4y ago · link · parent

I have worked as a compiler engineer for 10+ years. Maintaining a high performance JIT compiler for a Haskell inspired language used in production by large corporations around the world. And I have never had a need to use attribute grammars. I am sorry to say this but almost all compiler PhD work I have seen or read about is not useful for writing real production compilers.

comment 4y ago · link · parent

What you are describing is not a 10x developer.

comment 4y ago · link · parent

Agree. 30+ years of experience here. I have worked with developers that single handily made the difference between success and failure. So they are more than 10x engineers.

comment 4y ago · link · parent

This will most likely fail. Like all the other “utopian” societies experimented with in the past. Having said that, it most definitely will be interesting to watch the details of how it fails. And if somehow one of them succeeds, despite the odds, that would be even more interesting!

comment 4y ago · link · parent

Yep agree. Having an active team of working mathematicians and field medalists giving feedback to the LEAN development team is really helpful in pushing automation forward.

Having said that, for people like me, who doesn’t care about formalising mathematics but do care about proving code correct, proof automation has already come a long way and is on the edge of becoming a practical tool for highly critical software.

comment 4y ago · link · parent

I am not a working mathematician and don’t care about formalising mathematics. For the things I do care about (proving code correct) tools like Sledgehammer are awesome.

comment 4y ago · link · parent

Automated tools like Sledgehammer (Isabell/HOL) removes a lot of the manual work.

comment 4y ago · link · parent

Dafny is a great example of what you are talking about. It automated most of the proving. However you still need to figure out the key invariants.

comment 4y ago · link · parent

> formalizing mathematics currently seems far too much work to be worth the time of the working mathematician

A very general statement that isn’t true in all cases. I recommend taking a look at the LEAN mathlib project. It is a group of working mathematicians proving leading edge mathematics correct using a formal proof tool (LEAN).

The problem with leading edge mathematics seems to be that the proofs are too complex for anybody but a few specialists to verify the traditional way. And those specialists are already busy working on their own proofs. So having an automated assistant verifying the proofs seems to be necessary for the future of mathematics. I am not a working mathematician myself however that is the impression I am getting reading articles written by leading edge working mathematicians.

The same way that large complex software applications are too complex for humans to verify without the help of automated proof tools.

comment 4y ago · link · parent

There is no objective way to measure whether software engineer A is “better” than software engineer B. Which means that any claims that thousands of software engineers working for company X are “better” than thousands of software engineers working for company Y is just silly.

comment 4y ago · link · parent

So what you are saying is that you can only objectively measure anything after the fact. Making objectivity useless as a team management tool. My point exactly.

Not only that, even if your team was successful in the past, that doesn’t mean that doing what worked in the past will also make your team successful in the future. The context is important. And the context is always different when you start the next project. It might be a different customer, a different problem, a different team (people leaving/joining), a different world (politics/laws) etc.

So what you are left with is your experience, your people skills, and your ability to adapt to new situations. I believe that no “objective” tool will help with that. But I would be happy to be wrong.

So let me ask again: if you know an objective way to improve the likelihood of your team being successful then I would love to hear it. It would be great to have such a tool.

comment 4y ago · link · parent

There are many ways to do it. I personally recommend “Event Storming” as a great way to get started (web search it).

comment 4y ago · link · parent

> Objective does not reducible to a metric

That’s quite a claim. Can you give me an example of an objective measurement that isn’t a metric?

comment 4y ago · link · parent

> There are objective answers to management problems

That is something you believe to be true. And something I believe to not be true. Have you ever managed large teams of developers? I have. For many years. And I was very successful doing it.

However there was no “objective” way for me to manage the teams. Humans are complex. And the interaction of team members even more so. I have never seen an “objective” metric applied to a team that actually worked without unexpected negative consequences and/or without being gamed by smart team members. If you have an example of an objective metric that has actually worked in reality without negative side effects and without being gamed I would like to hear it.

comment 4y ago · link · parent

I completed the first volume of Software Foundations:

https://softwarefoundations.cis.upenn.edu/

and then started proving tiny toy examples correct from scratch. I also read a lot of papers on type theory and the history of proof assistants. It’s really interesting fun stuff.

comment 4y ago · link · parent

I agree. Learning how to use interactive theorem proving tools like Coq, LEAN etc. has blown my mind and given me a much better way to think about software development. The same way that learning basic maths teaches you a new way to think clearly about the messy real world.

comment 4y ago · link · parent

Great read. And obviously true IMHO. When you have 20 frameworks/languages/libraries/… all claiming to be the best way to do X they can’t all be true. They might even all be wrong.

The key is to accept this. And stop thinking that you of all people objectively know the one true way to do X. The reality is that you don’t. So act accordingly.

comment 4y ago · link · parent

Yes I give estimates when asked. I use the priority list to negotiate the number of deliverables agreed to. The list makes it easy for biz people to balance time vs. deliverables.

Yes if #1 is blocked then I work on #2 until #1 is unblocked. And if #2 is blocked then I work on #3 etc.

I use a single prioritised list to manage teams. The list is public to the team and I rearrange it as needed when new discoveries/obstacles warrant it. I also let team member choose which tasks they want to work on. As long as it is one of the high priority tasks. I don’t know if individual team members have their own list. I don’t care how they do their work as long as it gets done at high quality.

I also publicly list tasks completed and the people who completed them. It makes it very obvious to everybody who the most productive people are. It’s a great motivator for the team because everybody wants to be #1.

comment 4y ago · link · parent

I have delivered successful software for 30+ years without sprints or any other ceremonies. I simply keep a prioritised “to do” list and only work on what is the #1 priority. I do it when managing development teams and when working as part of a team. It’s simple. It works. And when asked to change priorities, it is clear from the priority list what the consequences will be. And usually people will change their minds when they can easily see the consequences. It also means that you never need to say no. You simply add the new task to the priority list and negotiate whether it moves up/down relative to other tasks.

comment 4y ago · link · parent

1. Figure out which kind of job you want.

2. Look at job ads for those kind of jobs.

3. Learn the languages/libraries/… most frequently mentioned in the job ads.

4. Use your acquired knowledge to get one of those jobs.

comment 4y ago · link · parent

Remember that no matter what you do one day you will die. And the few people who will remember you will also one day die. Given that, what is most important to you in your life?

comment 4y ago · link · parent

Not really. Very few people will remember you and they will die too. So don’t worry too much about what “matters” or your legacy. Do what makes you happy.

comment 4y ago · link · parent

The company I work for use C++ for pretty much everything that isn’t web front end. We start new projects in C++ all the time. Recent examples are real-time disruption management for large airlines/rail companies (pairing/rostering).

comment 4y ago · link · parent

A bit of science: Prof. Richard Johnson - 'Nature Wants Us To Be Fat':

https://youtu.be/gAjC_BWMElk

https://youtu.be/gl-Ugeau8mU

https://youtu.be/UTDWAN1G-nk

comment 4y ago · link · parent

For the down voter: https://youtu.be/LRHir1k9jmE
1
434445
116