2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
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
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
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
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
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