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

No bugs have ever been found in CompCert and seL4. The NSA gave up trying to hack seL4. The first time that has ever happened. So yes there might in theory still be bugs in the specs for CompCert and seL4. However the results speak for themselves.

comment 4y ago · link · parent

Most successful US industries from defence to medical science to the internet was fully bootstrap funded by the US government. The same goes for the most successful industries in other countries. Without governmental “meddling” rich countries would not be rich.

comment 4y ago · link · parent

That’s exactly what Japan, Singapore and the rest of Asia did. It worked.

comment 4y ago · link · parent

Yep. The US did the exact same thing. Protecting local industry with trade barriers until they were ready to compete internationally. Countries that freely open their borders gets crushed by international corporations.

comment 4y ago · link · parent

Proving code correct is orders of magnitude harder than the rest IMHO. It is amazing that enough progress has been made that large scale projects like CompCert and seL4 can now be done successfully by small teams of people.

comment 4y ago · link · parent

You are right. People care about things that most likely will never kill them while continuing to eat a diet that will very likely result in disease and an early death.

comment 4y ago · link · parent

Kudos for changing your mind and saying it out loud. One upvote for you.

comment 4y ago · link · parent

So do you regularly increase employee salaries to match their demonstrated competency and responsibility? Or are you like most employers, giving new hires better pay than your current top performers, incentivising your top performers to find a better paid job somewhere else?

comment 4y ago · link · parent

25+ years of experience with C++ here and yes I agree that C++ is very hard to master.

comment 4y ago · link · parent

> We do not mean function calls, callbacks, event loops, or other forms of method dispatch.

Those are all events that you might need to keep track of in some contexts (editors for example or debuggers). So there is nothing that will never be represented as events. The fact that somebody issued a command is an event that you might need to keep track of in some systems. An example is fraud or security pattern matching. In other words, an event is anything that has happened that you need to keep track of. It can be the fact that a single bit has changed, all the way up to high level system wide events. It all (as per usual) depends on your specific context and business requirements. So any attempt to nail down what is an event and what isn’t independently of context is a waste of time. A key press might be an event we care about in one context and not at all in another.

comment 4y ago · link · parent

> Facts aren’t physical things

Not true. Facts/information/data doesn’t exist without being represented in the physical world. When you tell somebody a fact, you are taking facts/information/data physically stored in your brain, copying it to a new physical medium (sound waves), and then again copying it to a new physical medium (the other persons brain). What is unique about facts/information/data is that it can be stored/represented in an almost infinite number of ways and that we can copy it from one physical state to another. However it doesn’t exist outside of the physical world. You can’t even think about this without using your physical neutrons to store what you are thinking about.

comment 4y ago · link · parent

All I have ever used is a priority list. It works great. And you can turn any tool (JIRA etc.) into a priority list. So I don’t care what tool I am forced to use :) However if the tool supports Kanban then I will use that.

comment 4y ago · link · parent

Agree. It is how and why you use a tool that matters. Not the tool itself. So judging people based on the tool they use is probably wrong. The fact that I have only seen bad developers use debuggers might just be a coincident.

comment 4y ago · link · parent

I agree. And it won’t change. Because the US is a Corporate State thinly disguised as a Democracy.

comment 4y ago · link · parent

Try this: step by step reduce your daily total carbs and your carbs hunger will go away. It worked for me. I went from 230+ g carbs a day to 50g a day and my carbs hunger disappeared. I also lost 9cm waist and 8kg as a nice bonus. Without eating fewer calories and without feeling hungry.

comment 4y ago · link · parent

Couldn’t agree more. Managers who measure time-spent-in-office instead of products/features delivered to paying customers should be fired for incompetency and the salary money saved should be spend on hiring more developers.

comment 4y ago · link · parent

Hahahaha that’s a good one. The quality of the end product depends 99.99% on the quality of the developers. Not the tools they use.

comment 4y ago · link · parent

30+ years professional developer here. Tell me how you would debug a customer issue that happened yesterday on their system without logging and without being able to connect to their system? Manually using a debugger is a red flag for me. It tells me that the developer doesn’t understand how to automate debugging by automatically detecting invalid application states and logging the problem. The best developers I have ever worked with never use debuggers. The worst developers I have ever worked with used debuggers all the time. Because they had so little understanding of the code that they needed to manually step through the code to get it.

comment 4y ago · link · parent

… and if tests helps me making the code work then it is worth doing.

comment 4y ago · link · parent

It is a bit of a misunderstanding to say that the work hasn’t been funded. It has been funded by lost earnings. If the developer instead could have made (say) $100k working on something else, then the funding was $100k. The same way that not selling a car you have been given for free cost you the money you could otherwise have made selling the car.

comment 4y ago · link · parent

Hmmm. According the the survey Assembler is used more than languages like Haskell, Clojure, F# etc. Really? Also, there are more than 5 million C++ programmers in industry. And yet C++ rank low on the list. My conclusion is that the survey is not a true representation of developers out there and therefore should be read accordingly.

comment 4y ago · link · parent

I have never experienced HN being down.

comment 4y ago · link · parent

I completely agree. Most developers simply copy whatever is currently popular without taking into consideration their specific context and biz requirements. Almost all software solutions are massively complexed, with many points of failure, and high latencies for every single transaction, leading to a death spiral of even more complex and expensive “solutions” for “performance” reasons. Microservices is the poster child for this. In contrast, a single high-performance server can handle the full workload of 99.99% of web applications out there. With a separate warm stand-by server ready to take over if needed, and a linear event transaction log as the source of truth.

comment 4y ago · link · parent

I used to believe that the dysfunctional crime ridden mega corporation controlled future societies portrayed in SciFi was not going to happen. However I am starting to believe that it will happen in the US and not in Western Europe. The glorification of guns and violence, the stress and fear in everyday life, and the “f** everybody else as long as I get mine” attitude is a uniquely strong undercurrent in US culture. I have lived, worked, and paid taxes in the US, Europe, and Australia. So I have seen the differences in culture up close, giving me a perspective that most haven’t. I hope I am wrong. I fear I am not.

comment 4y ago · link · parent

I haven’t used them. I understand how it works but I am not convinced that they would be useful for me. Having said that I will probably try it out at some point to find out for sure. Only fools believe they have all the answers and that everything they think is true is actually true.

comment 4y ago · link · parent

> no person can write a test case that would never occur to them

Not true. Write a simulator that randomly triggers events against the software you are testing. Write a separate checker that checks if the software ever gets into an illegal state. Run until failure. Expect the events that lead to the failure. That’s a test case that never occurred to you.

I have used that method to check very hard to get right distributed systems. The simulator found many test cases that broke the software. After fixing them all, I ran the simulator for a simulated 100 years with a simulated 50% failure rate for everything. And it never failed. Good enough for practical software. Not as good as proven correct software of course but probably the next best thing.

comment 4y ago · link · parent

And yet Australia is a rich well functioning Democracy. A great place to live. I chose Australia over the US and that was the right choice. So perhaps entrepreneurship is less important than some might think?

comment 4y ago · link · parent

I highly recommend “Software Foundations”:

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

Not only will you learn how to prove software correct, you will also get a deep understanding of what mathematics really is.

comment 4y ago · link · parent

I have been programming in statically typed languages for 40+ years and have tried quite a few times to use dynamic languages (Ruby,Clojure,JS). However I always switched back. I am currently playing around with Typescript and it might be the best of both worlds because you can use the “any” type when that makes sense and strong types when that makes sense.
1
495051
116