HNHacker News
TopNewBestAskShowJobs

nzp

607 karma · joined October 2, 2013

PGP: 28CC 9078 8358 CE2D 6824 A5BC 2DB2 CD24 5BE7 8F06
submissionscomments
nzp··on Systems Past: The software innovations we actually use
Finding a paradigm better than language, i.e. an abstract symbolic system, would be a such a revolutionary turning point in the ... um, everything that I think programming would at that point seem just silly. What would that even mean? We would become some sort of gods. Mathematics as we know it would certainly become irrelevant. I'm not sure this is even science fiction.
nzp··on Systems Past: The software innovations we actually use
Interesting article, but I think that the basic premise, that it's "bizarre" that we're still using concepts developed 50+ years ago, is a bit naive. To give an analogy from a different engineering field, the basics of rocketry and space travel have been conceptually almost completely developed almost 100 years ago. Multistage rockets, orbital stations, etc. Should it be considered bizarre that we still use those same concepts and mechanisms to fly into space? I don't think so. People had figured out an optimal (sometimes the best or only possible) method to do something and we're using it. Sometimes a better idea isn't possible because a better method can't exist. Some ideas are simply timeless.

One of those ideas, I believe, is expression of programs as text. It wasn't even a distinct idea, it's just the most efficient, natural way to express algorithms. You can't get around the fundamental mathematical fact that you need a formal symbolic system to express algorithms, i.e. you need a language. Until we gain the ability to directly interface our brains with computers we'll need to express language in written symbols, and even then I doubt we could get away without text for cognitively expensive activities such as programming (because of limitations of our working memory, etc.). "Lines of text" are anything but limiting.

What the article says are some drawbacks of operating systems I don't think are drawbacks at all. Having the OS lying to programs so that they don't have to know irrelevant details of the machine is a really good thing.

> But when it comes to what the machine is actually doing, why not just run one ordinary program and teach it new functions over time?

What?! You mean like one monolithic piece of code doing everything ranging from memory management to email and multimedia? I must be missing something, am I stupid and just don't understand the proposal?

> Why persist for 50 years the fiction that every distinct function performed by a computer executes independently in its own little barren environment?

Because it's a good idea, it reduces complexity for the function (program) in question.

> A righteous operating system should be a programming language.

Like we had with some early PCs where you essentially had a BASIC interpreter for an OS? That concept got replaced because it was a horrible way for humans to do actual work instead of dicking around all day with toy programs.

> Let’s do some old-school hacking on our new-school hardware — like the original TX-0 hackers, in assembly, from the ground up — and work towards a harmonious world where there is something new in software systems for the first time since 1969.

While I have nothing against assembly (to quote Michael Abrash: "I happen to like heroic coding."), first, I find the idea of regressing to old methods of producing programs to yield new ways of computing a little strange, and second, there's a good reason assembly isn't used unless necessary--it's a horribly unproductive way to solve problems. Unless the assembly in question is Lisp. ;) Or Haskell. So if we're dreaming, let's dream all the way--we need pure functional computing machines, not just "better mouse traps".

nzp··on Linux gets frozen, what do you do?
One for the Father, one for the Son, and one for the Holy Ghost.
nzp··on Pronunciation errors that made the English language
Not only that, but in Serbo-Croatian, in latin script, "nj" is a digraph for the ɲ phoneme. (A very small number of words, mostly of Latin origin, can cause ambivalence because they have "n" and "j" juxtaposed but are meant to properly be pronounced separately, e.g. "konjugacija" /con-yu-gatsiya/ (conjugation)). In fact, correct transcription of "new" would really be "nju" (but only in Serbian, there is no transcription of foreign words in Croatian), so you have "Njujork" for "New York".
nzp··on Google+ names policy discriminates against American Native Indians
There was a nice DjangoCon talk by Russell Keith-Magee. It's about the custom user models in Django 1.5, but the first 15 or so minutes of the talk deal with exactly this problem: https://www.youtube.com/watch?v=KHg6AoExYjs
nzp··on Myths about /dev/urandom
> Are you saying we should be able to simply stop there and then just use /dev/urandom?

Yes.

> If so, then why is the CSRNG re-seeded every 60 seconds? It would seem that there are reasons for doing so.

From what I understand about it (IANACryptographer), mostly to safeguard against situations where an attacker can learn the internal state of the CSPRNG at one moment. But I don't think this is too relevant for the problem at hand.

The only difference in Linux between /dev/random and /dev/urandom is that /dev/random always plays a guessing game about the seed entropy. The main argument here is, I guess, that this is a silly game. How can you really estimate entropy? It doesn't only depend on what physical sources in the machine give you, but also on what the attacker knows or can know about these sources and the state of the machine. How do you estimate that?

This was the main motivation behind the Fortuna CSPRNG by Schneier, Ferguson and Kelsey. There is no guessing going on, rather the algo is designed to not need to guess. Interestingly, the way Fortuna works seems to me would also somewhat mitigate the kind of attack DJB talks about in the article referenced by OP[1].

[1] http://blog.cr.yp.to/20140205-entropy.html

nzp··on Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
With my occasional sysadmin hat on, until a few weeks ago I had the luck to never have had to deal with XML configuration files. Then came Solr and now I know what horror is. (To be clear, Solr itself is great, but those god damn config files...)
nzp··on Myths about /dev/urandom
Always good to see people trying to fight superstition. :) Just one tiny nitpick if you don't mind: it seems to me it's somewhat unclear what does FreeBSD actually do. In FreeBSD there is in fact no /dev/urandom, it's just a symlink to /dev/random. If one already doesn't know this, relevant parts of the last section can be a bit confusing, IMO, so maybe you should point out that they are the same device (or that urandom doesn't really exist, or something like that).
nzp··on Myths about /dev/urandom
It makes no sense. The only difference between /dev/random and /dev/urandom is that random uses the estimator of the seed entropy (which doesn't make that much sense to begin with) to block when it "estimates" that there wasn't enough entropy in the seed, but apart from that gives numbers identical to the ones urandom gives.
nzp··on Exist
Not really. I'd be impressed with a robot that could do bipedal gate (for example) as well as humans do, but the problem is lack of computing power. A human doing mental arithmetic is not at all representative of what and how much the brain actually does during the act.
nzp··on Critical crypto bug leaves Linux, hundreds of apps open to eavesdropping
While I agree with most of these two sentences, you can't really be sure there's no such bug in OpenSSL. I mean, not this specific bug, but a similar hard-to-imagine-random-situation bug.
nzp··on What Is the Time Signature of the Ominous Electronic Score of The Terminator?
Haha, don't. I would never notice that there's a difference if you had not pointed it out. :)
nzp··on Algebraic and calculus concepts may be better way to introduce children to math
Why not? :) All these things are really simple in their essence. They're abstract but an average 14 year old in modern civilisation already has the cognitive machinery necessary to grasp such abstractions. In fact, I think at that age, when they discover abstraction and formal reasoning and what they can do with it (there's a reason teenagers are so full of all kinds of ideas, they're starting to explore the world in full generality), it would be extremely stimulating food for their minds.
nzp··on Algebraic and calculus concepts may be better way to introduce children to math
> It was easier for me to understand the fundamental theorem of calculus than it was for me to do long division in my head. I don't think I'm alone.

You're not. I had the same experience. I have severe problems with mundane arithmetic, my mind just locks up when faced with concrete numbers and even simple numerical calculations. OTOH, no problem whatsoever with geometry, (abstract) algebra, calculus etc. I remember when I first got calculus in high school, how natural and easy it felt, how it simply made sense and how all around pleasant and interesting it was, and it struck me how different this experience was to the other more "basic and mundane" areas I struggled with during school. A few years ago I was amused when I saw an interview with an astrophysics PhD who struggled with doing basic arithmetic. It's a source of amusement for her now, but you can imagine the dread she had to endure in "school". So, no, we're not alone.

What the article says when it compares what children face in school under the label of "mathematics" to torture akin to digging a trench with a spoon sounds very true to me.

nzp··on Free Money for Everyone
Selling something (in this case oil) doesn't really make a difference. You haven't explained how is it different, you just said that it is different. All else being equal, what would change if Alaska just printed the money it now gets from selling oil? Because in current situation there is still some excess money that gets distributed "for free", so let's abstract the source of this money, and see if there is something wrong going on with Alaskan economy because of this "free money" being distributed.
nzp··on Free Money for Everyone
> This "I believe in GBI" line rarely is backed up by objective reasoning...

You haven't really done a stellar job yourself. "My experience tells me" can hardly be used to back something up objectively.

nzp··on What Is the Time Signature of the Ominous Electronic Score of The Terminator?
Isn't it the other way around? Terminator 2[0] is 2-1-2-2, and Terminator is 2-2-2-2.

[0] http://www.youtube.com/watch?v=DhWs3DVk-FU

nzp··on C++17: I See a Monad in Your Future
Of course, to not remember exactly what a monoid is is completely fine for a mathematician who's field isn't abstract algebra and related stuff, but to be clueless as to what the concept is at all is somewhat disturbing. I would have no problem if they said something like "ah, yeah, it's a little simpler than a group, I can't remember the exact properties ATM".

Hm, I just gave a quick glance to one group theory textbook (the only one I have in English), and to be honest in the first 20 or so pages there is no mention of the word "monoid" (as far as I can see, I really just quickly scanned through the first chapter) but it does mention semigroups (which are just an identity element away from monoids)...

> And I'm pretty sure in our Algebra books (for CS students, 2 classes in the 1st and 2nd year) there was no much mention of monoids (or, possibly, the professor skipped over those chapters, maybe had some brief explanation and went on to other things).

Yeah, and that's fine, but for maths students to not even remember that it was mentioned is kind of sad. It shows they don't really care that much about what they're doing. If it wasn't even mentioned by the professor, shows a disinterest on his/her part to actually teach concepts. It's always much better when teaching a concept to also at least mention related concepts or similar ones at different levels of abstraction, that gives a complete picture in which you can neatly place things. A group doesn't just appear out of nowhere (although it certainly can be defined on it's own), and it's not alone...

> For example, a surprising percentage of degree-ed Computer Scientists cannot even solve the fizz-buzz problem:

Sigh... I know. But you see, that's why I found this discussion about the unintuitiveness of the word "monad", here of all places, absurd. I wouldn't expect people who cannot solve fizz-buzz to have any clue about anything, and on some level I'm fine with that, this is not an elitist rant, but people in a place like this? After all, programming routinely involves dealing with concepts that are much more unintuitive that a monoid, IMHO.

nzp··on C++17: I See a Monad in Your Future
> Well, I asked undergraduate math students on their final year, and they didn't know.

I have no reason to not believe you, but how is this possible, and what does it say about either those students or that university or even both? Do they also not know what a group is? A ring, a field? How can a mathematician (and a nearly graduated student in maths is certainly a mathematician) not know what basic algebraic structures are? I'm shocked, frankly. It's literally equivalent to saying they don't know what real numbers are, without exaggerating one bit.

nzp··on C++17: I See a Monad in Your Future
> "Monoid", to someone who hasn't studied abstract algebra...

Oh come on, man! I can't believe this ridiculous discussion. I'm not lashing out at you, don't get me wrong, but seriously, you think you need to study abstract algebra to understand what a monoid is? Um, I remember one of the first things mentioned in the, literally, first lecture in undergraduate course on calculus was a monoid, among other algebraic structures. Granted, it was theoretical physics, but still, I doubt any respectable university teaching CS would fail to give students at least some familiarity with basic algebraic structures. But you don't even need a university education to grasp this, seriously, stop being afraid of precise terms, there's nothing scary behind them.

EDIT: And to actually address your point :), "intuitive" can only go so far. Sometimes there is simply no intuitive term that can do justice to the concept at hand. As Feynman once said: "I'm not going to lie to you, I'm not going to tell you it's like a ball bearing on a spring because it isn't." Especially in programming I'm not convinced that intuitiveness of a mere label for something is a valuable goal. You can't program on intuition, at some point you just have to learn how the thing really works.

nzp··on Privacy Protects Bothersome People (2013)
Except he wasn't, at least not in the usual sense of a party winning the majority of votes in an election. NSDAP was insignificant in the parliament, and Hitler became the chancellor through backdoor deals with industrial tycoons. His coming to power is great example of how to subvert parliamentary process (and in fact how it's regulary subverted only without the catastrophic consequences that it had in Germany's case) in a legal way.

He didn't waver from the plan, that's true, but the thing is, no significant number of people ever voted for the plan either.

nzp··on Obama's Trauma Team: Inside the Nightmare Launch of HealthCare.Gov
> So, no, you never prove anything nor imply anything at all with correlation. You're still guessing.

This is a totally unreasonable stance to take. You can't even imply anything at all with correlation? Really, nothing at all? It's no better than a random guess? Try actually doing some actual science with this attitude, and keep to it consistently, and let me know how far you make it. In fact, try the same thing with ordinary life, any kind of reality where your decisions have consequences in reality.

nzp··on We Have Luxurious Jobs but We Are Not Aware of It
I absolutely get what you're trying to say, but---so what? How is programmers being aware of their luxurious jobs going to help people with less luxurious jobs? Will the situation for other people improve if people here merely stop complaining about recruiters and procrastination? If they merely do a mental version of catholic style self flagellation? Is this another variant of "eat your dinner, there are children in Africa starving" routine? What good does me eating my dinner do to a starving kid in Africa? Etc.

There's nothing wrong about complaining about relevant problems in one's profession, even if those problems seem nice to have to other people, and not complaining won't magically make other people's lives more comfortable. And having a "luxurious" job that pays well is nothing to be compulsively ashamed of if it's an honest job not involving exploitation of others (which programming in almost all (?) cases is).

nzp··on Spanish government limits crowdfunding to € 1M, donations capped at € 3000.
How about Dead Kennedys?

But seriously, that was an extraordinarily shallow if not downright stupid comment. Not only have you equated a serious political statement with a punk band based on obviously superficial understanding of either punk as a music genre or anarchism as a political philosophy, you've completely failed to understand the main point, somewhat obfuscated by talk on Bitcoin, of his argument, namely---basing your moral reasoning on what formal coercive authorities formally declare as good or wrong is a horribly low standard of moral reasoning.

nzp··on 'Godfather' of Helvetica font, Mike Parker, dies at 84
Apart from two (two!) comments, of which one is [dead], expressing confusion about why this is important, there seems to be no divide. There's really no need to translate anything to "HN crowd" (by that I assume you really mean hacker community in general). Competent programmers (hackers) and really highly technical and highly competent people tend to appreciate good design (not just graphical design, but design in general) even if they don't know particularities of it. It's a matter of taste, and good taste is objective (PG already articulated this better than I could do[1] [2]).

A couple of anecdotes:

- TeX came to be because Donald Knuth was horribly annoyed with the low quality of then nascent digital typography in the first edition of The Art of Computer Programming. AMS Euler[3] typeface is a product of his collaboration with Hermann Zapf.

- The first practical application of Unix was to run the typesetting in troff for technical documentation at Bell Labs.

[1] http://paulgraham.com/goodart.html

[2] http://www.paulgraham.com/taste.html

[3] https://en.wikipedia.org/wiki/AMS_Euler

nzp··on Ten Years of Coding Horror
This may be an irrelevant observation, and excuse me for that, but---the wardrobe malfunction was 10 years ago?! Good Lord, my brain's system clock needs a battery replacement.
nzp··on Meditate in front of your computer with Calm
He's not dictating anything, he's merely explaining how meditation actually works. No one if forcing you to do it properly if you prefer doing it wrong.
nzp··on To close or not to close – Void HTML elements
> Google's styleguide on that subject is also very clear that you should indeed not close void tags.

Only because it results in smaller files. For example it also recommends omitting optional tags for the same reason. I'm really skeptical that omitting these things helps readability (if that's what the guide is referring to when it says "scannability"). If size is at such a premium why not simply preprocess and minify HTML? Recently I tried briefly omitting "/>" from <br> and friends and I wasn't impressed as far as legibility goes. Maybe I just didn't try hard enough... :)

nzp··on [dead]
Groff has a letterpress machine in the background, so it's appropriate, but I guess not very logoish.
nzp··on [dead]
Maybe the intent wasn't to make fun in a malicious way. If hackers can't have a little fun at their expense, who can?

Complaining about `three = 1` was a complete miss though.

← PreviousPage 7 of 12Next →