HNHacker News
TopNewBestAskShowJobs

betterunix

6,856 karma · joined October 29, 2012

submissionscomments
betterunix··on Torn and weary (on Brendan Eich and Mozilla)
"Do people lose their jobs for supporting LGBT rights. Yes."

Which is as much of a problem as what happened to Brendan Eich.

"If you think some people have less rights than other people just because of the way they were born, then you're a bad person."

Careful with that; all it would take is some new research on sexuality and sexual orientations to completely undermine that point.

betterunix··on Torn and weary (on Brendan Eich and Mozilla)
That does not mean it is acceptable for people to band together and bully anyone who disagrees with them. All it means is that the legal system is not going to help us, and that we have to take it upon ourselves to remind people not to behave in this manner.
betterunix··on Torn and weary (on Brendan Eich and Mozilla)
"If Eich no longer believes what he believed,"

So the issue is not speech but rather thought. George Orwell had a term for punishing people for their thoughts:

https://en.wikipedia.org/wiki/Thoughtcrime

betterunix··on Mozilla boss Brendan Eich resigns after gay marriage storm
Keep in mind that a ban on gay marriage does not kill, physically injure, blacklist, or run anyone out of town either. If we can ascribe such importance to gay marriage despite all that, why should we be so willing to downplay the impact of ousting a man who has devoted years of his life to Mozilla from a leadership position there?
betterunix··on Mozilla boss Brendan Eich resigns after gay marriage storm
"people are entitled to have opinions about public figures and to voice those opinions"

Sure, people are entitled to their opinions, and that is what this is all about. The problem here is that someone lost his job because of his opinion.

"This is literally how every boycott or other similar action happens."

Boycotts are typically about corporate policies, practices, or lobbying. For example, I know people who refuse to shop at Walmart because of the company's anti-unionization efforts.

What we saw here is very different. At no point did Mozilla take any kind of anti-gay-marriage position. At no point did Mozilla do anything that was hostile to homosexual employees, users, or people in general. This was a boycott over the CEO's personal beliefs, despite the complete lack of evidence or accusations of him using his position at Mozilla to advance those beliefs. What happened here is that Mozilla's public image was attacked in an effort to punish Eich for his opinion.

"What you call "thoughtcrime" has another name: public discourse."

No, public discourse involves people calmly stating their views and arguing for those views (e.g. what we are doing right now). It is not public discourse when someone loses their job because of their opinion, all the more so when that opinion has no relevance to their job. It is not public discourse when people band together to ostracize anyone who disagrees with them.

Eich was punished for having an opinion that people do not like. He was told that he has no right to be a leader in the tech community because of that opinion, without regard to his contributions to the community, without regard to his behavior in a leadership position at Mozilla. There are only two terms that are appropriate in describing what happened: thoughtcrime and bullying.

betterunix··on Mozilla boss Brendan Eich resigns after gay marriage storm
Why is the donation relevant? Only because it revealed Eich's opinion on the issue. People have been focusing their attention on the fact that Eich believes that gay marriage should be illegal; if you do not think that should be called 'thoughtcrime' what exactly do you think it should be called?
betterunix··on Mozilla boss Brendan Eich resigns after gay marriage storm
This is just sad. Gay marriage has literally nothing to do with Mozilla's work or mission, and there has not been any evidence that Eich was using his position at Mozilla to advance some kind of anti-gay agenda. This is basically the definition of thoughtcrime -- Eich did nothing wrong other than to have an opinion and donate a bit of his own money to a cause he supports.

It was not all that long ago that taking a pro-gay-rights position might have led to this kind of retaliation. If you are one of the people who rallied against Mozilla, just remember that political winds can shift and that in a few decades you might be the one receiving this treatment.

betterunix··on Dai/Nakamoto emails
"do you think that a single dev would just arbitrarily assign endianness throughout the code, then have the script code be big endian?"

I have seen crazier things. A single developer who works on the code a bit, takes a break, then works on it a bit more can easily have switched conventions.

betterunix··on There is a pure HTML Gmail, and it still works
Disabling Javascript is a security precaution, it makes plenty of sense and will continue to make sense long into the future. You might as well say that the concern of users who run a firewall is at the bottom of your priority list.
betterunix··on What is the contribution of lambda calculus to the theory of computation?
This comes to mind:

http://en.wikipedia.org/wiki/Curry-Howard_Correspondence

betterunix··on After seven years, exactly one person gets off the government no-fly list
Does that include witness tampering? One of the witnesses in the case was unable to appear in court because she was also mysteriously added to the no fly list.
betterunix··on Before you Dual Boot – MS, OEMs and Linux
I have a simpler solution: the bootloader is kept on a separate storage device, which can only be written to if the computer is booted up in a special mode. No signing needed, prevents common bootloader viruses, respects user freedom.
betterunix··on How the NSA Plans to Infect “Millions” of Computers with Malware
Oh, so we are at war with a government that has been completely disbanded and a loose network of terrorists whose leaders are either dead or imprisoned. Next you'll be telling me that we are at war with Germany, Japan, and Italy.
betterunix··on Common core long division.
I would expect either a pair of integers, either a rational number or a quotient and remainder. 523/6 is not 87.

As for "solved problems," it is not at all unusual to be asked to re-implement an algorithm that is already implemented elsewhere. Maybe there is no implementation for your platform. Maybe you are writing a new language. You could find yourself implementing integer division just as much as you could find yourself implementing a sorting algorithm, a hash table, etc.

[Edit: Also worth noting is that in the context of education it is common to ask students to re-implement known algorithms and build up systems on their own.]

betterunix··on Popcorn Time Is So Good at Movie Piracy, It’s Scary
What is scary about this?
betterunix··on Common core long division.
1. Perhaps you should start now, since your Python interpreter gave you the wrong answer. It should be obvious that 523/6 is not an integer.

2. That is kind of like saying, "I can't remember any time when I have been called upon to implement merge sort, therefore there is no point in teaching the algorithm!!"

betterunix··on Common core long division.
Repeated addition is just one multiplication algorithm. I think a much better way to think of multiplication is as an operation on numbers that is related to addition by the distributive law. That law gives the "multiplication is repeated addition" algorithm, as well as the "shift and add" algorithm that most people learn in grade school. Of course, there are more efficient multiplication algorithms than either of those, which is why it is better to think of multiplication independently from addition.

I would also point out that the repeated addition algorithm makes a lot of sense in base 1, but that shift and add makes far more sense in base 2 or higher.

As for integration, I would say it is better to think of it as a limit involving both addition and multiplication.

betterunix··on Overview of projects working on next-generation secure email
"in an age where we better understand the power of social network analysis and the sensitivity of the social graph, the exposure of metadata by a "Web of Trust" is no longer acceptable from a security standpoint."

That depends on your security goal. Your goal might be to check to see if a message was sent by the person listed in the "From" field, in which case WoT can work very well.

"Nearly every project here uses Trust On First Use (TOFU) in one way or another"

This is not perfect either. In the scenario I described above, TOFU may be less useful than WoT. There are also scenarios in which TOFU makes no sense at all -- maybe I want to anonymously send an encrypted message to someone, and I have no point of reference for their key.

"This is not possible with the traditional protocol for email transport, although it will probably be possible to piggyback additional (non-backward compatible) protocols on top of traditional email transport in order to achieve metadata protection."

Ahem:

https://en.wikipedia.org/wiki/Cypherpunk_anonymous_remailer

betterunix··on Common core long division.
It absolutely is important to learn the long division algorithm for programming. How else do you deal with integer division?

(Yes, integer division, which people refer to as "big number" division for some bizarre reason.)

betterunix··on Common core long division.
Ironically, the previous generation was also supposed to be taught how to think rather than just how to do math:

https://en.wikipedia.org/wiki/New_Math

betterunix··on Tomorrow's Apps Will Come From the Bitcoin Protocol
ASICs are not the solution to the Bitcoin energy problem. If you can devote 1kW to CPU mining, you have every reason to devote 1kW to ASIC mining. Future technology is irrelevant -- every reduction in the power required per hash will result in an equivalent increase in the hash rate.

Note that the current monetary system has a very different incentive structure. If VISA needs to devote 1GW of power to process all its transactions today, and tomorrow a new technology comes along that allows VISA to process the same number of transactions with 100MW, VISA has every reason to reduce its power consumption to 100MW. For mainstream payment systems, power use always reduces profits -- so the incentive is always to use the minimum power necessary for processing transactions and detecting fraud.

betterunix··on Tomorrow's Apps Will Come From the Bitcoin Protocol
I hope this is not the case. Bitcoin demands a massive energy investment (every watt used by the attacker must at least be matched by a watt used by the honest parties), and in the future we are going to need to be more careful about power utilization.
betterunix··on Sixteen, Alone, 23 Hours a Day, in a Six-by-Eight-Foot Box
Note that the US can still given juvenile offenders life sentences, it just cannot be a mandatory punishment for a crime.
betterunix··on Sixteen, Alone, 23 Hours a Day, in a Six-by-Eight-Foot Box
If they are not children, why do we give them no say in the laws they are incarcerated for violating?
betterunix··on GnuTLS considered harmful (2008)
You can write the Python runtime in something other than C:

http://pypy.org/

And there are Java compilers and runtimes written in Java, and Lisp compilers written in Lisp, etc.

betterunix··on GnuTLS considered harmful (2008)
"Actually C is an excellent choice for security relevant systems software because the issues for developing in C are well understood and can easily be mitigated by following 30 years worth of best practice patterns and using the correct development tools."

Nevermind the copious undefined behavior, the fact that C programmers sometimes struggle to figure out what a valid C expression actually does, the fact that C programmers have to choose between code bloat and using "goto" for finalization, the fact that there are no standard error handling constructs, the fact that strings are null terminated, the lack of a standardized way to determine array lengths at runtime, etc., etc., etc. Even something as simple as this:

int f(int x, int y) { return x + y; }

Can lead to undefined behavior in C:

https://www.securecoding.cert.org/confluence/display/seccode...

Basically C should be at the bottom of the list of languages that programmers choose for cryptography or security software.

betterunix··on Downloading Software Safely Is Nearly Impossible
"A packager downloads a random tarball off the internet, often over HTTP and/or unsigned and unverified."

Unless the packager is on the mailing list for the project, which many are as it helps them keep up to date on changes.

"The packager uploads the same tarball to the distro build system (you trust them, right?)"

Now the package is in one place, so when you say, "SSH on Fedora seems to open a connection to this random server in Ft. Meade!!!" everyone else can check and see if that is what is happening. Now you have thousands of people investigating the bug -- not so bad. Compare this to, "I downloaded something that is supposed to be PuTTY, which I found via a Google search, and it is acting funny!"

The fact that everyone who uses Fedora or Ubuntu is running the same code is pretty helpful. It is not much, but it does help.

"The packager's script for building the program or library is executed by the build server"

In a chroot jail, or an SELinux sandbox, or a VM, or any number of other environments that help to isolate the build process from the rest of the system. In theory, the build server has quite a bit of protection from malicious packagers.

Also worth noting is that packagers' actions are logged and would probably be audited if a user sounded the alarm and nobody could figure out what was happening. It would take a lot to pwn the users of a distro in any meaningful way, because keeping it secret is hard -- your victory would be short-lived.

betterunix··on In Search of a Stable Electronic Currency
"Being able to send money across the world for next to nothing (compare to credit card fees, not to mention the higher prices of Western Union or hawala) has immense value."

This is likely to end as Bitcoin exchanges discover the cost of compliance.

betterunix··on Mt. Gox Files for Bankruptcy Protection
Who trades goods for gold?
betterunix··on Privacy Protects Bothersome People (2013)
Note that "best functioning" can be worlds different from "well functioning."
← PreviousPage 3 of 34Next →