You’re calling JavaScript a modern language???

Problem: after trying all kind of options, we’ve finally had to accept the fact that reimplementing a C# code sequence in JavaScript is the best solution (we have some nice C# code running on a web server and we’ve tried to simply call it from JavaScript running in browser, but the round-trip kills the user experience, so we implemented the same code sequence in JavaScript).

Easy task, I thought, when I’ve assigned a developer to write the code. Boy, was I wrong …

The developer did her best to implement the code, but in the end some hard-to-trace bugs surfaced and we’ve also had to reassign her to another area. To fix the problem once and for all, I’ve asked our customers to do the work myself (and have somebody else fill my PM shoes for a while). Of course they’ve accepted (they’re close to becoming my best customers ever :-)

So here I am, struggling with JavaScript.

  • a misspelled function name is detected only when running the tests, although there’s a build step that transpiles ES6 code into plain-old JS
  • A missing function, the same
  • C# overloaded methods must get different names
  • one cannot overload the indexing operator unless they’re targeting only Chrome and using some arcane ES6 feature (this last one got me started enough to write this rant :-)

End of rant :-)

ROMBAC 1-11 – yet another communist regime failure

While we were kids in Romania we were continuously brainwashed and indoctrinated. Everything the Romanians did under the communist regime was great, we were living the Golden Age, etc, etc, etc … bleah
I’m happy I can write this down, I can purge the indoctrination and put my mind to good use.
I’ve just learned one thing about ROMBAC 1-11: it has been touted as a great achievement of the regime (imagine that: only Romania and Russia had built commercial jet airliners!) And I was proud when I first read about it!
However, the communists were not able to:

  • create a normal supply chain
  • properly detect the market
  • properly adapt to the market (go figure: the aircraft was banned from landing on Western airports due to high noise levels; and they were not able to change the production to use better engines…)

So only 9 units ever flew, only inside the country. The other 41 planned units were never produced and the entire enterprise went to scrap metal. So the program was not really a failure, but in the end the management (read “Ceausescu”) failed to adapt to market conditions and made it a failure.

I only hope the nostalgic characters still living in our country will finally understand the level of propaganda that poisoned them and start searching for the truth.