HNHacker News
TopNewBestAskShowJobs

ewanm89

46 karma · joined April 27, 2017

submissionscomments
ewanm89··on MasterCard Serbia asked ladies to share FB photos of their credit card
Yes, PCI-DSS rules state one is not allowed to store the CVV, therefore for subscription services or for things like one click ordering or app stores the CVV is not used for the transaction, though they may verify it on initial card entry a lot of companies don't as it doesn't actually help. Taking the CVV gives a lower fee to mastercard/visa if that particular transaction is reversed, this is how stores are incentivised to take it but it will only apply to initial transaction where card details are saved.
ewanm89··on Southwest to Stop Overbooking as United Uproar Echoes
Well, there is more fuel left in the tank, so there is less on the refill so yes it does save fuel, not much but it does save some. I prefer no refunds for no-show policy myself, that is how it works when I buy a ticket to see a play. Now refundable upto 48 hours before the flight might be even fairer.
ewanm89··on Ada: a C Developer's Perspective
In regards to level of ease of writing, I'm assuming some level of competency in the languages we are talking about, all languages have a learning curve.

In regards to speed as other comments have also pointed out some of the asserts were optimised out of some of the Ariane 5 code, while the ones left in worked towards the cause of the issue ;)

The reason Java is in there is due to the libraries available, you can use those libraries with other JVM hosted languages like clojure ;) now tell me it's not maintainable. Similar reasons why python is in that list, I believe no OOP language is truly maintainable at this point, it adds to much complexity.

ewanm89··on Ada: a C Developer's Perspective
Here is my list of shortcomings when it comes to Ada

1) Ada is not a magic bullet, the seminal case study of why computer bugs are bad taught in CS courses around the world is the failed 1996 Ariane 5 rocket launch where the rocket veered off course and then exploded due to a software error that caused it not to understand the data it was getting from a sensor. More recently there are plenty of demonstrations of poor security in commercial plane avionics systems.

2) Ada is not easy to write, it's around the level of C I grant you, but it is not easy by any means, more importantly it is complex not simple. Each of those "features" like assert adds a layer of complexity to the system making it far harder for the programmer to write for. I think we all agree if we could program with simple functions that each do one thing and one thing well then combine those functions makes for a much simpler language and easier to think about.

3) Overhead, each of these features like assert adds a lot of overhead into the system, this is just not viable in a lot of systems, whats more those features are optional, so it is the first thing to drop where possible.

4) Toolchain and library support, most of us can't afford expensive toolchains and libraries, we don't work for very rich government contractors. Also we need libraries and toolchains are well maintained. Java has a massive standard library and a lot of free 3rd party libraries available, C/C++, python, perl, ruby, rust, javascript, c#, clojure... are all similar in that they have well maintained tool chains and good library support freely available either directly by language authors or from a third party.

← PreviousPage 2 of 2