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

This 100% was true at my (European) University. The better the University, the more true it is.

comment 4y ago · link · parent

The problem was that the developers could do basic tasks quickly (by copy-pasting) but was stuck doing anything more complicated, showing a lack of actual programming skills. You can probably have a career developing simple CRUD applications that way. But you can’t move beyond that without truly understanding the fundamentals.

comment 4y ago · link · parent

Not my experience at all. The software I work on has no copy-paste examples on the internet. One of the projects I maintain (for example) is a high performance JIT compiler for a functional business rule language. Not many copy-paste examples out there :) What you are describing is only true if you are a basic CRUD developer. Having said that, most applications are simple CRUD applications so you are probably right for a large percentage of developers.

comment 4y ago · link · parent

The author makes it clear that he was the problem. That he was the “idiot” that caused the problem in the first place. That is the opposite of narcissism. So I think the rest of the article should be read while keeping that in mind.

comment 4y ago · link · parent

I love starting with a blank canvas. So many opportunities to do things better! So many opportunities to learn!

comment 4y ago · link · parent

if you have an open mind, and care enought about the truth to hear different points of view, then I recommend this short overview talk by Prof. Benjamin Pikman: https://youtu.be/yKdBdK_OXxI

comment 4y ago · link · parent

I maintain a JIT compiler for a very high performance Haskell like functional programming language. The compiler automatically generates the minimum malloc/free calls, mirroring the hand written code of an experienced C programmer. It works really well and the generated machine code was shown to be faster than hand-written optimised C++ code that people had been maintaining for years. The compiler code is unfortunately closed source and I have zero interest in writing academic papers so I wont elaborate further. Just telling you to hint hint perhaps try something like that :) The execution flow analyser was a b** to get right but worth it. I also recommend checking out some of the recent LEAN 4 papers. Some of those papers are moving in the right direction.

comment 4y ago · link · parent

Yes. It’s called Refinement Types. I wish Rust came with Refinement Types from day one. That would have been a massive step forward instead of the much smaller step forward that Rust is currently taking.

comment 4y ago · link · parent

Nope. Not true. I haven’t had a bug in production the last 5+ years. And I am maintaining large scale C++ software with massive refactorings and features added. The key is having solid tests.

comment 4y ago · link · parent

You are right that there are many types of low carb diets. Some are zero carbs others are perhaps 50g or 100g. Some are using a 4:1 fat to protein ratio and the more “mainstream” low carb diets are using a 1:1 ratio. Some are calories restricted, others are not. The one I have chosen to use is the 50g carbs and a 1:1 fat:protein with a 500kcal deficit to loose weight. It works great. Also be aware that there are many high carb diets out there. Most of them are extremely dangerous. Leading to Type 2 diabetics, blindness, amputations, fatty liver, hypoglycaemia, heart problems and (ultimately) an early death. However some high carb diets are fine if done right. So I think we can agree that we need to be very specific when we talk about diets and emphasise what is needed for it to be actually healthy.

comment 4y ago · link · parent

Excellent work. Kudos to the author(s). I have been looking for a way to write verified performant practical software for a long time, and CreuSAT is an example of how it can be done using Creusot. Thanks!

comment 4y ago · link · parent

You clearly have strong opinions about things you don’t understand or have any experience with.

comment 4y ago · link · parent

I have gained muscle on a low carb diet so I suspect you might be doing it wrong. I recommend the “low carb down under” YouTube channel and especially Paul Mason as a good guide to how you do it right. Another good source is Prof. Ben Bikman who is at the learning edge of low carb diet research. He also has a number of good talks on YouTube.

comment 4y ago · link · parent

Nothing you claim is actually supported by evidence. The low carb diet is the most researched diet in history. I recommend the “low carb down under” YouTube channel and especially Paul Mason for facts based on research. I have gained a lot of muscle and have had no “keto flue” on a low carb diet. My cholesterol and blood pressure has improved and I have lost 9cm around my waist. My doctor is telling me to “keep doing what I am doing” because my blood results are “superb”. However if you do low carb wrong/unhealthily (not enough vitamins/electrolytes for example) then you will get keto flue, cramps etc. The same way that any other diet done unhealthily will be bad for you. Low carb or not. You can do Vegan and high carb really badly and end up sick/unhealthy. A bad high carb diet is the reason why we have an explosion in Type 2 diabetics for example. However that is of course not evidence against those diets. Just a confirmation that anything done incorrectly won’t work as intended.

comment 4y ago · link · parent

Why would anybody want to become an academic? Low pay, crazy politics and bureaucracy, long hours, constantly chasing grants, the threat of lawsuits from students who might “feel violated” by something you say, the demand to increase your external funding every year, the routine science malpractice, the very low chance that anybody will actually read the papers you produce etc. etc.

comment 4y ago · link · parent

Jimmy Moore is a joke. Perhaps Google “low carb down under” instead for much healthier looking researchers (and actual doctors) applying keto diets in their practices :)

comment 4y ago · link · parent

The keto diet is one of the most studied diets in the world. It is super healthy (when done right of course like anything else). The “low carb down under” YouTube group has a lot of talk on the latest research.

comment 4y ago · link · parent

How about impossible?

comment 4y ago · link · parent

Showing off your status and wealth makes you seem like an arrogant a***.

comment 4y ago · link · parent

I completely agree with you. Rust seems to be a good step forward.

comment 4y ago · link · parent

I wish I could upvote this more than once :) The unsung heroes out there are the developers who takes over a garbage dump of a system and turn it around. That is way harder than writing a system from scratch.

comment 4y ago · link · parent

Yep makes sense. My point was that the developers matter more than the language. However you are absolutely right that good developers with a better language will do better.

comment 4y ago · link · parent

I wonder how much of the benefits comes from the rewrite itself and not Rust. I have taken really bad hard to maintain very large code bases written in C++ and step-by-step refactored it into bug free maintainable code. In my experience bad code written in any language is hard to maintain. And good code written in any language is easy to maintain. I have worked with C code that was a joy to maintain and C code that was hell on earth. The difference was the skill of the original developers not the C language itself. Rust is a nice step forward but it is not magic. If it becomes popular enough then people will write massive impossible to maintain code in it. It is inevitable. The same goes for microservices BTW. A friend of mine is deep in coding hell trying to maintain a 20 years old 100+ microservices system. There ain’t no silver bullet.

comment 4y ago · link · parent

Nope not even close to being true. I am way more interested in more advanced languages (using dependent types).

comment 4y ago · link · parent

I am a professional C++ programmer and I can’t even remember the last time I had a segfault. I also haven’t had a bug in production the last 5 years. But YMMV of course.

comment 4y ago · link · parent

I agree. Mathlib (LEAN) is a great example of this.

comment 4y ago · link · parent

All of them. I get that you don’t like the author. OK that’s fine. But every single counter argument you make is false.

comment 4y ago · link · parent

The negative reviewer clearly didn’t get the book or for some reason dislike the author. The counter examples are simply false.
1
505152
116