Recent submissions

Comment · 8 years ago
The "evidence" is that it was not in his will. Where do you think we should draw the line on what could be called a Nobel price? It is not like Alfred Nobel did not understand economics, he just (highly probably) did not want such a price (or he would have created it).

If someone created a price for pedophile arts, brain studies of humans of lesser value, or other questionable "sciences" in the memory of Alfred Nobel, do you think we should call it a Nobel price? Do we have evidence that Nobel would disagree with such a price?

I would say we have no evidence, but it is highly unlikely that Alfred Nobel would like that. I think the question that should be asked is: do we have any evidence (or even any sign at all) that Alfred Nobel wanted a Nobel price in economics???

Comment · 8 years ago
Google left China, Apple crashes your phone when you get a Taiwanese flag (in China), who cares about privacy? Never Apple. Apple only cares about your money. If you care about privacy (I mean really care) use Replicant.

(updated spelling)

Comment · 8 years ago
Generics are useful all the time. That is why Go has generic Maps and slices. The question is why I am not allowed to use other generic collections.
Comment · 8 years ago
I can not create a really mean example because Go is Turing complete. That means that everything can (with a few extra lines) be expressed in Go.

The problem with your mutex solution is at least two:

1) it is more complex

* more lines to type and read and check and thus harder to understand

* you can forget the mutex

* if you have data structures of hastables, you will have to pass mutexes around or store them together with the tables.

2) it is not nearly as performent as a lock free hash table

(edit indentation)

Comment · 8 years ago
If you value compile times (and you actually think generics make a difference, I do not) you would not make slices and hash tables generic like in Go, would you?

If you wanted a simpler language, you would not make slices and hash tables generic, would you?

If you wanted lower learning curve, you would not make special case generics would you?

If you wanted to wait, to get the perfect generic solution because a sub-optimal one is not good enough, you would not create a sub-optimal non-perfect temporal solution with special-cased generics for certain data types would you?

If you argue that I am loyal and not honest, and therefore like generics because it is used in my favorite language, I think you are wrong.

The languages I use most of the time have a huge design flaw. It is called null. But when they created Go they chose to (except in special cases) get rid of (useful) generics instead of the disaster that is null.

The problem is that Go has not learnt from other languages. It is too imperative, not expressive enough, lacking in static typing and horrible at fault handling.

Comment · 8 years ago
You can not have a custom collection class containing objects _only_ of a certain type. For example ConcurrentHashTable<Int, String>. That is something that is used every single day. It is used so frequently that Go has generic slice and map built into the language. That is, they created a language with lots of special datatypes that can not be created in normal Go because of its lack of generics instead of creating generics.

It is a bit like asking a Java-programmer to use Java 1.4.

When you ask a Java programmer, or C# programmer or Haskell programmer or Swift programmer or... what they would change in the language you do not get the answer: remove generics.

Comment · 8 years ago
I think it is quite easy. If you have a relationship with someone and having a "position of authority", the simple solution is to get rid of the "position of authority", let your lover have another boss. That responsibility is of course on the one with power.

I say "the simple solution" as it is the company policy of all companies I have been working for. I _guess_ it is the same for all universities.

I can _only_ guess that _maybe_ youngster is under pressure having sex with oldster with position of authority.

I need not guess that all these complexities could have been handled easily by assigning another professor to the student. And there is no question who's fault that is.

You do not need a contract, but do not fuck people that you have direct power over.

Comment · 8 years ago
not hot pages, just cache lines
Comment · 8 years ago
Comment · 8 years ago
If the hardware is done correctly, and used correctly. Previous Secure Enclave on iphones did not work even though Apple and its user said it was secure. Why trust them now?
Comment · 8 years ago
But we do not know if it works, do we?

Previous implementations have been crippled in ways that suggests that it could have been done on purpose. Limit the password to few characters and permit unlimited tries on the "secure" hardware. Data recovered in subseconds.

I suggest it was either done on purpose or they are incredibly incompetent. Which alternative do you believe to be true? Either way, why trust them?

Comment · 9 years ago
The single party government.

Google "democracy Poland".

Comment · 9 years ago
I am not defensive, even though it might sound so, you see I am not German, in fact, my grandfather did flee Nazi Germany. I believe they deserve credit for how they are handling their history.
Comment · 9 years ago
Japan lost the war, yet they still can not educate their population about the horrors performed in Korea and China. They pretend nothing happened. That kind of response does not foster forgiveness. Germany on the other hand _really_ have taken a responsible path after the war, and I also believe there is an understanding (at least in northern and western Europe) that a big part of the blame that Hitler could take power was on the victors of the first world war (England and maybe more France).

I guess better forgiveness for German aggression are due to good behaviour from post-war Germany, okay education in north and western Europe, and also that Germany behaved _relatively_ good on the western front. Of course it will take longer for eastern Europe mostly due to the extreme ugliness of the eastern front, and the huge economic differences.

Comment · 9 years ago
Poland, Greece and other states that have _huge_ internal problems does use the Nazi trick---not that surprising. Its a clear sign that something is not working correctly in their own countries.

The Nazi-similes from brexit politicians is also a clear sign that someone has run out of _good_ arguments. Promise too much, and then when it is obvious that you can not deliver, the other part is Nazis.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton