HN user

eaa

60 karma
Posts0
Comments22
View on HN
No posts found.

No, there aren't.

I have seen one example thought. But it was closed source in-house SW.

Maybe LabVIEW is close to this idea.

There are also interesting research projects on this topic, like Ptolemy. Or eTrice.

There were a few attempts to achieve this goal in the past, but all those companies have been eventually bought by IBM and now they sell their monster-tool for huge amount of money, so it's irrelevant in practice.

And then trying to apply downloaded update and rebooting... in a loop. Or segfaulting. SW should make everything easier and more flexible, right? ;)

Well, actually, with CP & AA there is more work, not less work, because they are perceived as an additional cool feature, not as a complete substitution to built-in "infotainment".

Easily. There are lots of MCUs, and the "infotainment" unit contains big amount of code including an OS like linux or qnx or android.

Have you tried to contact an official car service center or official car dealer on this topic?

They may have no way to "report a bug", but they have to deal with customer complaints and issues which need service. It is possible that car service will actually report an issue to SW vendor.

By the way, this is quite interesting! Most events of 20th century were related to ideology. But before that, in old times maybe only religious wars were close to this. Other wars and conflicts were good old attempts to conquer someone and/or to gain resources and power. But was there as much hatred as produced by ideology? E.g. during the napoleonic wars many people died but does someone hate France because of Napoleon? I guess not. Or take WW1, it was only 107 years ago. Surely a lot of people died. Does someone remember it with hatred? Only as a great tragedy I think.

Not quite.

Stalinism/communism provided you a moral/ideological choice: to be part of it or to oppose it. Although sometimes people who were taking the side of stalinism and were active in whistleblowing and finger pointing in the name of ideological purity were later repressed themselves.

Nazism, on the other hand, gives you no choice if you are a jew. It is already decided for you.

But again, stalinism was awful. I am not going to defend it. I too have some far relatives who died because of it. My grandmother survived thanks to luck. But to compare communism or even stalinism to nazism is wrong.

Well, your post has no question, but I will comment anyway.

First of all, I am not going to defend soviet concentration camps, USSR has had it's own share of sins. But comparison of Third Reich and USSR is an anti-communist propaganda cliché. For obvious reasons: no jew could become a member of national-socialist party, but anyone could become a communist. So, no matter how disgusting the stalinism was, it cannot be compared to nazism.

As for popularity of communism, well, Red Army was victorious, USSR was one of those who survived and won, so it's ideology was gaining supporters. There were many true believers in ideas of communism. E.g in socialist Czechoslovakia there was an attempt to build "socialism with a human face." In USSR there was a generation called "sixtiers" who were true believers in communism but saw stalinism as something horrible that should never happen again. But, for better or for worse, it looks like believers was the last thing the communist party needed.

By the way, the book "Monday begins on Saturday" by Strugatsky brothers is exactly about a RnD institute (almost) full of people sincerely trying to make world a better place. Strugatsky brothers were believers themselves. To the end of USSR they have become bitter haters.

PS. I am not stating that communism is good or better than capitalism.

There is an interesting book on this grim subject - the book "Yes to Life" of Viktor Frankl. He managed to survive concentration camps and stay mentally sane person. He describes the life of prisoners there and what was helping them to survive. Sad but remarkable book on both history and psychology.

Also, someone in this discussion said that as more and more people pass away there is less and less truth about WW2 and less and less respect to its lessons. There is also another interesting observation: the more related to WW2 people die the more Cold War #2 we see. Cold War hasn't become "hot" because during these times almost everyone except kids knew what is war and how it looks and that it causes. War heroes were not imaginary movie personalities, they were everywhere. And kids could hear real stories from someone who has seen it all with own eyes. And so, everyone knew that war is hell and that nuclear weapon can make war even worse, so that WW2 will look like a picnic.

But what do we have now? Movies about WW2 with expensive SFX and cheap plot, Call of Duty, etc. War isn't scary anymore. People are eager to fight something. This mad mad mad mad mad world.

The part that's implying that it was the first and only attempt of someone to postpone the war.

1. Occupation of Czechoslovakia - Poland happily took part in this. Does it count as dividing Europe together with nazis?

2. Munich agreement between nazi Reich and UK and France. Does it count as dividing Europe together with nazis?

One can argue endlessly about necessity of knowing theory, but instead I would describe a funny situation I have seen once.

There was a piece of code that had to receive some items asynchronously one by one while they were being downloaded. Also, duplicates had to be found by some key and merged together. So, first a dumb and straightforward implementation was done using a vector and linear search. After some time management decided to stress test it with some extreme amount of items. And instead of fraction of second or seconds it was taking minutes which was unacceptable. A colleague of mine was assigned the task to fix this. What has he done, what do you think? He spawned another thread for search of duplicates. On a single core hardware. It didn't help. So he asked our team leader for help. What did he do? He increased a share of CPU time for that thread (it was a RTOS). That also didn't help. I was watching at all this with interest and suspicion and remembered at some moment that there is an algorithm for binary search which is much faster than linear search. So I removed all the code for additional thread and instead made vector to be always sorted and applied binary search. Download time changed from minutes to 10 seconds.

This way I learned about importance of algorithms (which for some strange reason haven't been taught in my university). But my colleague didn't learn anything, because he still thinks that theory of algorithms is for that kind of people that take part in programming contests and not for real programmers who "get sh*t done."

Let's face it: even programming is full of people with attitude of anti-intellectualism. Although this whole industry wouldn't be born with such attitude.

You are right! You said just what David Parnas keeps saying. People don't know what or how to document because they weren't taught to do it. It's not common knowledge. One has to dig into reading books and papers just to get the idea that it is possible.

First of all, if there is no documentation then it's not engineering.

If you don't agree, then imagine civil engineers which don't bother writing documentation, or mechanical engineers not bothering to do blueprints, or electrical engineers don't bothering to document schemata, properties and behaviour of components, etc. Would it be a work of an engineer?

The biggest problem with SW documentation is that people don't know how to do it properly and even why to do it at all. Mostly because people in universities also don't know how to do it properly and so it is not taught. As a result the documents are often a mix of useless prose with some incomplete and imprecise diagrams. That's why most people don't bother.

David Parnas makes it clear WHY and HOW to write documentation for SW.

If you wonder how good can documentation be then google "requirements document for A-7E aircraft". Barry Boehm has said that it's the best requirements document he has ever seen. I guess that it's still the best one!

Well, maybe we shouldn`t [do it yet one more time], because they have been already rethought. It`s just that most programmers are not familiar with them. But some rediscover them. Have you ever heard of David Parnas?

To make code reuse possible one has to design it the way that makes it possible. And anyway it can be reused only if requirements to this piece of code are same (or weaker).

And obviously, code reuse can happen only after "code use" has happened successfully. And some (many?) programmers struggle with this too. :)