Better HN
topnewbestaskshowjobs
Log inSign up

cuspycode

292 karma · joined Aug 25, 2015 (11y ago) · 178 submissions

Submissions

comment 8y ago · link · parent

Korolev's contribution is even more impressive when you consider that he was imprisoned in the Soviet Gulag for many years (for political reasons), suffering under living conditions which probably shortened his life.

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

comment 8y ago · link · parent

Great points! I use high-entropy random secrets as passwords in the Basic Authorization header, with their hashes stored in a database. I also use cookies to make the browser experience pleasant and secure. The cookies are based on a HMAC hash that uses a single server-side secret, a string representing the principal, and a timestamp. So the cookies work without needing server sessions.

HTTPS is mandatory of course, and caching successful authorizations help performance.

comment 8y ago · link · parent

I don't think unshielded nukes in orbit are easy to detect. Back on Earth you need to get up close (within a few meters) in order to distinguish the radiation signature from the background radiation, and in space the background level is much higher. Source: https://fas.org/sgp/crs/nuke/R40154.pdf (see page 78 and onwards for a discussion about detecting nukes at a distance)

comment 8y ago · link · parent

Historical anecdote: Algol-68 disassociated variable assignment from mutability already 50 years ago. Whenever mutability was desired, a reference to a mutable value holder was used.

Example of immutable assignment: int n = 2

Example of reference to mutable value: ref int n = (heap int := 2)

However, in order to make Algol-68 code look more similar to Algol-60, they introduced backwards-compatible shorthands, so for example the declaration int n; was actually a shorthand for ref int n = (loc int);

This shorthand magic probably contributed to why Algol-68 syntax was perceived to be difficult.

Footnote: loc and heap were the two memory allocation operators available in Algol-68.

comment 9y ago · link · parent

Since Facebook users are the company's products rather than their customers, I wonder what Zuckerberg means when he uses the term "our community"?

comment 9y ago · link · parent

What exactly counts as "starting a war"? The Korean war is mentioned here as an example, but that war was started by the Korean communists when they invaded South Korea on June 25, 1950. The United States UN-sanctioned involvement was a reaction to that. Does that really count as "starting a war"?

comment 9y ago · link · parent

The article talks about fusion chain reactions in hydrogen bombs, but the fusion in hydrogen bombs isn't an exponential sequence of chain reactions, it's due to very high temperatures caused by fission chain reactions in the primary. Hence the term "thermonuclear".

comment 9y ago · link · parent

"Lots of tables" is the finite case, for which the AC is a theorem. An infinite set of tables is qualitatively different. An arbitrary f(table) function will have to contain an infinite amount of information, which is beyond anything my intuition can grasp. For f(table) functions that contain finite information, the intuition is easy and the AC is reduced to a theorem.

comment 9y ago · link · parent

Yes, that particular example is intuitive. But I don't see how a similar reasoning should apply to arbitrary infinite sets however. That's a huge intuitive leap in my opinion, and it's one that I can't follow.

comment 9y ago · link · parent

Why is the AC necessary for this recursive tree traversal?

comment 9y ago · link · parent

So how does anyone form an intuition for even defining the Cartesian product of infinite sets in general, without assuming the AC in the first place?

comment 9y ago · link · parent

I don't find the AC intuitive at all. It assumes that a choice function exists for any set of non-empty sets, including infinite ones. How can anyone have an intuition for such things? Except of course when the intuition is built upon taking finite cases to some limit. But in those cases the AC is reduced to a theorem, making it completely unnecessary.

comment 9y ago · link · parent

Lacking an exact measure that we can all agree on, "influential" is kind of subjective. So I'll contribute with my subjective opinion: Paul Graham's essays are (collectively) among the highest quality content that I have found on the Internet. They are the opposite of click-bait and attention-spam. I don't agree with everything Paul writes, but so far I have never regretted spending the time to read one of his essays. This is rare in today's Internet environment. I can only think of Scott Aaronson and a few others who are comparable. But to repeat myself, this is my subjective opinion.

comment 9y ago · link · parent

I used Hylang to program an Arduino Yún a few years ago, via cross-compilation. This was a very nice experience, since it allowed me to use the great Python ecosystem without having to be limited by Python the language.

comment 9y ago · link · parent

I agree. My main keyboard is a Microsoft Internet Keyboard that I have been using for many hours daily since 1999, surviving five different computers (all running Linux). It's the most comfortable keyboard I've ever used, and it shows no signs of wear other than having some stains, plus partial fading of a few of the key symbols, and the Ctrl and C keys are beginning to show dents where my nails have been hitting them.

comment 9y ago · link · parent

Isn't ultimate profit the same as moral reasons?

comment 9y ago · link · parent

With all respect to Tim Berners-Lee, I think the principle of least power is overrated. For example, even binary Horn clauses are Turing complete[0]. Whatever configuration language you can come up with (HTML, CSS, or whatever), it's either Turing-complete or not, and if it's Turing-complete there is no danger of executing infinite loops as long as you have some cutoff for resource requirements. The only thing that matters is whether the code is properly sandboxed before it tries to do any I/O.

[0] https://www.ps.uni-saarland.de/Publications/documents/devien...

comment 9y ago · link · parent

People have always obsessed over "news", since humans are information-hungry by nature. But the modern tech crowd seems to have forgotten that there are two kinds of news: the kind that is objectively new (i.e. recent data), and the kind that is subjectively new (i.e. I didn't know that before). I think the situation is a bit similar to the distinction between objectively established frequencies and subjective Bayesian priors.

comment 9y ago · link · parent

The theory behind the singularity is all about exponential trends. But most exponential trends tend to turn into some kind of S-curve[1] after a while. This insight goes back to Thomas Malthus, even though he never derived the sigmoid function (as far as I know).

The AI singularity could happen before the inflexion point of the S-curve, or some time after, or never. And as others have already commented, it depends on how you define "singularity". So I am not holding my breath waiting for the rapture.

[1] https://en.wikipedia.org/wiki/Sigmoid_function

comment 9y ago · link · parent

General relativity also accounts for gravitational/accelerational effects, in addition to the speed-related effects. For example, in the Schwarzschild metric[1], effects such as time dilation are on the order of 1-phi/c^2 where phi=GM/r. Or expressed in terms of "g-force": phi=gr.

[1] https://en.wikipedia.org/wiki/Schwarzschild_metric

comment 9y ago · link · parent

The article says: "I don't want to worry about per-file passphrases. Everything should be encrypted with/to the same key."

To me the above looks like the only differentiating requirement, and in my mind the solution is trivial: just use the same high-entropy encryption key for everything, and the problem is solved.

comment 9y ago · link · parent

I wonder where the sweet spot is between a centralized service like Slack, and extremely decentralized scenarios where people just try to cope with a multitude of one-to-one channels?

Federation is a given for this hypothetical sweet spot of course, but how do you find the spot? Are there any HN readers who can point me to research in this area?

comment 9y ago · link · parent

I agree. I have been self-hosting my personal email since 1998, and there was a period when this was difficult due to technical issues related to encryption. But for the past decade or so those issues are gone. The benefits are great. For example, being able to block entire netblocks at the routing or firewall level is an amazing anti-spam tool that is completely free when you self-host.

comment 9y ago · link · parent

Yes, a common modus operandi of Holocaust deniers is to make lists of people who were in some camp but never witnessed any gassing. This is then brought forward as a reason to question the existence of any gas chambers anywhere. It's such a stupid logic fallacy that there isn't even a name for it.

comment 9y ago · link · parent

For me, the ease of self-hosting my own source-code hub tipped the balance in favor of Fossil SCM, after I abandoned Subversion. Ironically, the difficulty of self-hosting Git was the raison d'être for why inherently centralized services such as Github/Gitlab/etc were created in the first place, despite all the nice talk about distributed systems. There is no a priori reason why hosting a source code repo should be any different from hosting any random blog page. And Fossil is the proof that it can work.

comment 9y ago · link · parent

Anything not enforceable shouldn't be in the contract in the first place. The only purpose of contracts is to enforce earlier promises when people don't agree anymore.

comment 9y ago · link · parent

I have a NUC6i5SYK (Skylake) running Ubuntu 16.04 server, and I too had some serious problems initially. Installing to the SSD worked without issues, but then I got machine check panics during most boots. After a lot of troubleshooting I was finally able to make the system stable by adding these parameters to the kernel command line:

  intel_idle.max_cstate=1 i915.enable_rc6=0
After that it has been running without a glitch. I hope it will be as stable as the Mac Mini it replaced. That too had some initial problems however: the first one I bought in 2008 was DOA. Apple replaced it, and the replacement lasted four months before a thunderstorm zapped it. My insurance company replaced that one, and that Mac Mini then ran like a clockwork 24/7 for eight years.
123456