Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 7y ago · link · parent

To me MCAS looks like an ugly software hack implemented to save money on redesigning a plane and re-training pilots. It brings several problems:

- it is difficult for pilots to understand how MCAS works, and how to diagnose failures. They are not programmers or engineers. And MCAS doesn't provide any debugging information about its work anyway. And pilots don't have time to analyze it.

- it adds new points of failure

- sometimes there are situations when automatic systems shut down and pilots have to control everything manually. With MCAS, they would have more things to look after. Pilots who got used to flying with autopilot are usually not comfortable with manual flight, and systems like MCAS only make things more complicated for them. An example is a recent crash of SSJ100 in Moscow where experienced pilots failed to land a plane manually after autopilot has turned off.

So I think that plane designers should be very careful with adding more automatic controls. Especially if their purpose is only to save money at cost of making place less safer.

comment 7y ago · link · parent

Hacker News has room for improving too. While I have normal eyesight, I have to zoom up this page because the letters are too small.

comment 7y ago · link · parent

That might be inconvenient, because aircraft staff sometimes needs to talk to pilots or make them sign some documents.

comment 7y ago · link · parent

Slightly off-topic, but without "reading mode" that site is unreadable.

comment 7y ago · link · parent

I think that they might be making wrong conclusions. For example, they say that USPS is losing 80 millions dollars on delivery from abroad. But USPS is delivering letters and goods to Americans, so you should also count how much they save on getting cheaper goods, how much they save because prices lower due to competition, and maybe the total balance would be in favour of Americans.

Also, they mention that the last mile delivery is expensive, but often goods are delivered only to the post office, not to the customer's door so the expenses are not that high.

comment 7y ago · link · parent

It would be better to report the collision because most likely it means some error.

comment 7y ago · link · parent

But you cannot observe it. You see that someone with a hash X has voted. How do you know whether it was a real person, a real person voting under boss supervision, a real person who actually didn't take part in elections, or just sysadmin inserting records into the database?

comment 7y ago · link · parent

> most fraud occured at the local level

If it was something that was done at local level, not in conspiracy with central government, then why the investigations in cases of election fraud are so ineffective, and even if the case gets to the court, it typically ends with just a fine? If the central government didn't have relation to the fraud, they would prefer to punish local officials, yet they try to avoid doing it.

Instead, they warn heads of regions that the results of election in their region might affect their evaluation.

Regarding things you have described, they are possible with electronic voting as well. Hashes not matching? You probably made a mistake, verify again, our experts say that everything is correct.

Also, for an average person, seeing a video recording with officials throwing a pack of ballots into the box is easier to understand than some difficult calculations with hashes.

comment 7y ago · link · parent

With paper voting, an observer can manually count the number of people coming to the polling station. With electronic voting, this becomes impossible, because you either only see the final list or (sometimes) you see the hashes of votes being cast in real time, but you don't know whether it is a real person or just sysadmin voting under name of a random person.

So with electronic voting, it becomes necessary to verify lists of voters.

comment 7y ago · link · parent

There is slight difference. First, the number of spoilt ballots is published. Second, sometimes in two-round elections, they can affect whether the candidate wins in the first round or not if it requires to get 50% of all votes including spoilt ballots.

comment 7y ago · link · parent

That's what I wanted to say: with paper voting, you can observe voting and counting the results. With electronic voting it might be difficult.

comment 7y ago · link · parent

Also, there is another scenario. Let's say the rules allow to change the vote later. A voter votes for candidate X and gets a link that allows to verify that the vote is recorded. But several hours later the server software re-votes for candidate Y. If the voter bothers to check results after election, they will find that their vote was altered. But the voter has no proof that they didn't vote for candidate Y, and election officials have server logs that prove that the voter has voted two times. So probably the voter is just lying because they don't want to accept the fact that candidate Y is supported by 99% of population.

And one more scenario: before closing the elections, officials can make a list of people who didn't vote and vote for them. If they didn't vote they probably don't care about elections and won't find out that someone voted for them.

comment 7y ago · link · parent

What if it is not a public record? Also, even if it is a public record, how can you be sure that people in the voters list are real, they are eligible to vote in this region and not made up by authorities?

Also, even if the list of people who voted is public, and if results were falsified, with electronic voting you cannot estimate the scale of falsification. Did they alter just a hundred of votes or hundred thousands.

comment 7y ago · link · parent

I thought about some advantages of paper voting compared to electronic: you can spoil the ballot, for example, if you don't like any of candidates and there is no option titled "Against all". In electronic elections, you cannot do that.

comment 7y ago · link · parent

Also please consider how many seconds will it take for a cheap Android phone to parse 5 Mb of JS (and how much memory it would take after parsing, which can be up to 10 times more that original code size). I think it can become much more than 8 seconds, and during parsing the browser will likely become unresponsive.

comment 7y ago · link · parent

It is interesting that they have a special, third-party mirror for China: [1]

Also, I don't like Dart after I used a site built with it by Google. As far as I remember, it was a Doubleclick for publishers or something ad-related. It was very slow, even in Chromium, all animations were laggy, and in Developer Tools I saw that it loaded megabytes of JS, compiled from Dart code. For example, a "What's new" widget was implemented as a separate app and loaded several megabytes of code including its own copy of a standard library. I would recommend against using Dart for Web sites.

[1] https://flutter.dev/community/china

comment 7y ago · link · parent

In Estonian e-voting they allowed to change the vote later or re-vote offline. So that if someone sold their vote or was forced to vote, they can later change their mind.

But such scheme is still vulnerable: for example, imagine if a large state-owned or having close ties with government company forces their employees to vote online under supervision. If the employees are not very good with computers or don't own one, they cannot change their vote online later, and employer can set their shifts to a voting day so that they cannot visit the polling station.

comment 7y ago · link · parent

I don't understand how counting verification is achieved. Let's say that election officials release a list of hashed votes, so that you can verify that your vote has been counted and included into results. But how can you check that all other votes in the list are the votes from real people and not arbitrarily added by sysadmin to get the expected result?

Does anyone know how such things are implemented? I have read about e-voting in Estonia, but there one has to trust the authorities and cannot independently verify the results.

comment 7y ago · link · parent

I think they only want to be able to run Node, Python or Docker on Windows natively so that developers don't have motivation to switch to Linux.

comment 7y ago · link · parent

Microsoft could drop newer Windows versions and instead focus on improving Windows XP.

comment 7y ago · link · parent

Web devs might want to use older versions to test their site in them.

comment 7y ago · link · parent

Why would anyone want to upgrade from XP? New versions of Windows have no improvements (the only improvement is search in Start Menu), but they cost money, they work slower and require new expensive hardware. They have spyware and updates that cannot be disabled. You pay for the product and then you are used as a free tester of new versions of Windows. Microsoft wants everyone to upgrade to earn more money and to upsell to users new "cloud" features they don't really need. But for me it would be better if MS would drop newer Windows versions and returned to improving XP without increasing resources comsumption, without HTML apps, telemetry and "cloud" features.

This is an example when the interests of users and the manufacturer are opposite. If the user uses an OS for many years and everything works, why upgrade? Looks like a waste of time and money.

Imagine if you bought a car and several years later you are told that you need to upgrade it, because, you know, car factory workers need higher salaries and if you don't buy the new one, then there is no way to pay them.

This explains why MS and independent developers (that drop XP support to help MS) forces users to upgrade. Because it is MS who wants an upgrade, not the user.

comment 7y ago · link · parent

Opera is proprietary and it is unclear what kind of telemetry it has.

comment 7y ago · link · parent

Their government will be thankful for the help.

comment 7y ago · link · parent

Unless you change user-agent to "Edge 15" and it starts working, including audio calls (tested on Debian and FF60 ESR).

comment 7y ago · link · parent

I wanted to note that language's name in Russian (РАЯ, RAYA) is most likely a play on words. It is an abbreviation of phrase "Extensible Adaptive Language" and at the same time it is a female name. And Google Translate mistakenly translates is as "paradise", so one should read this header:

> Developed adaptive language PARADISE dialogue programming system PRSP

as "Extensible adaptive language RAYA for Dialogue (Interactive) Programming System (DSSP)". I think "Dialogue" here means something like REPL, where one can input commands and expressions and see the result.

I looked through Google Translate copy of the article about RAYA and DSSP - it is somewhat readable. Here are some words that machine translation gets wrong:

- PRSP, PSP, DPF -> incorrect translation for DSSP (Dialogue (Interactive) System for Structured Programming)

- paradise, heaven -> RAYA

- Developed adaptive language -> Extensible Adaptive Language

- "is known as descending programming" -> "is known as a waterfall model"

- "or as letters of the I / O alphabet" -> probably means "as letters for Input/Output of text"

- entered into -> introduced, added

- "Data types and their associated constraints and checks can be entered into problem-oriented language extensions." -> "can be introduced (added) by ... extensions"

- team -> command

- vertex -> top (of the stack)

- sub-top, sub-row, sub-vertex, sub-bottom, bottom, sub-bush, subspace, subshift -> second value from the top of the stack (I am surprised how many ways Google has to translate the same word)

- "assignment to her team! X value of the last (top) item" -> "assignment a top value from the stack to it using command !X"

- "PRSP processor", "PSP processor" -> DSSP processor

- Keyboard numbers -> Numbers, typed at keyboard

- "Signal the end of the input and the command processor" -> Signal of the end of input and the command to processor ...

- binary additional code -> two's complement code

- "The byte output command to the terminal issues a letter on the screen..." -> "TOB", the command for byte output ...

- "present a modifiable factor of the variable K"-> represent a modifiable factor with a variable K

- The PRSP processor distinguishes words from the first seven letters, identifying them by polite comparison -> The DSSP processor uses only first seven characters of the word, identifying words with letter-by-letter comparison

- monologue -> "monoword", single-word command

- verbose commands -> multiword commands

- pre-team -> special command prefix, which authors call "pre-prefix", like "BYTE" before "VAR"

- The remainder is always divisible. -> The remainder has the sign of divisible

- subloviera, sublovier, subcouples, subloader, sublorer -> sub-dictionary (don't know where Google took those words, I doubt they exist)

I hope it helps to understand the text.

comment 7y ago · link · parent

English translation seems to have a mistake:

> Speed: addition - 5 ms, multiplication - 45 ms.

The times are in microseconds, not milliseconds.

comment 7y ago · link · parent

How can you explain this: in Android 5.1, every time you enable GPS, a popup appears asking you to share location with Google. There is a checkbox titled "Don't show again", but if you tick it, the button "Decline" gets disabled [1].

I don't have the exact screenshot, but the popup looks approximately like this [2].

They intentionally wrote the code to make sure that the user doesn't make the wrong choice. And this popup is not really necessary for the user, mostly for Google.

Also, this reminds me of Google's "Amateur Hour" story with Firefox. Every time they make a mistake, it's in the favour of Google, what a coincidence.

[1] https://android.stackexchange.com/questions/115944/how-to-pr...

[2] https://i.stack.imgur.com/9VGfbm.png

comment 7y ago · link · parent

If the database of photos has a business value then they will be looking for loopholes to store them. It would be stupid to spend money on new equipment and not maximize the returns.

comment 7y ago · link · parent

They can say that the photos were stored by mistake and were supposed to be deleted.
1
135136137
185