Better HN
topnewbestaskshowjobs
Log inSign up

hdevalence

2,179 karma · joined Aug 27, 2009 (17y ago) · 285 submissions

http://hdevalence.ca

cryptographer

Submissions

comment 12y ago · link · parent

Whereas Pinochet implemented his "good intentions" without violence? Reality check, please.

comment 12y ago · link · parent

One easy way to get kernel lockups is to use fglrx.

But agreed on 'just reboot': you should be using a resilient filesystem anyways, and MagicSysRq only works when it's enabked beforehand, and only for some kinds of lockups, and if the data is in the frozen application, syncing the disks isn't going to help.

comment 12y ago · link · parent

<?php $foo = "0wz"; $foo++; $foo++; echo "PHP goes to $foo"; ?>

comment 12y ago · link · parent

Depends on your distro, I guess.

Arch has python -> python3, so it's quite rare that you'd have a python2-foobar package but not a python-foobar package, unless there was no python3 version.

comment 12y ago · link · parent

What are "the three major Linux distributions"?

comment 12y ago · link · parent

This seems like exactly the problem the parent post is complaining about, though: the people in the limited group the parent talks about aren't the people being tricked by selfxss, it's the people who don't have the technical knowledge to understand what the developer console does and why pasting in random JS might be a bad idea. So the phenomenon of selfxss reinforces the point.

comment 12y ago · link · parent

If you want to do exact computations, SAGE is handy, Free, and built on Python:

    sage: k.<a> = QuadraticField(7); k
    Number Field in a with defining polynomial x^2 - 7
    sage: x = 3*a - 8
    sage: x.is_integral()
    True
    sage: 1/x
    -3*a - 8
    sage: x * (1/x)
    1
    sage: (1/x).is_integral()
    True
(Note: the is_integral() is because we define k to be QQ(sqrt(7)), not ZZ(sqrt(7)), so we want to check that our elements are really integers, i.e., lie in ZZ(sqrt(7))).

comment 12y ago · link · parent

Yes. All of those things are, indeed, hard to believe.

comment 12y ago · link · parent

The aforementioned article discusses why there are problems with Javascript itself, e.g., the difficulty in protecting against timing attacks.

comment 12y ago · link · parent

Thanks for the correction.

comment 12y ago · link · parent

Yes, there is: system packages should by installed with the system's package manager. Otherwise, you have two systems managing the same set of files, causing tears and suffering.

Packages not installed with the system's package manager should be installed elsewhere, e.g., a local install in a user's home directory, or (in the worst case) /usr/local or /opt.

comment 12y ago · link · parent

SAGE is still going very strong.

numpy/scipy have very many more users, but I don't think that they're really comparable: they're aimed at numerical computation for science, while SAGE aims to be a do-everything tool for mathematics. All of scipy/numpy is actually included in SAGE, and you can interoperate between numpy stuff, and, say, exact rational arithmetic, or group theory, etc.

comment 12y ago · link · parent

For an excellent description of another instance of this sort of issue, see [1] about Canonical and Mir.

Github seems to have things pretty figured out: they have a closed core that they control, with a veneer of hackability, and a lot of hype. You then get people to work for you for free by having them create plugins that, while open source, are effectively controlled by Github, Inc.

The key thing is to make people feel that they're contributing to a community, even though that community doesn't really have ownership of the work. By the time the tension between the community's needs and Github's needs comes out, you've already locked everyone into your ecosystem.

Other notable instances of this phenomenon include the MAGMA computer algebra system, and the creation of SAGE (see [2]).

[1]: http://mjg59.dreamwidth.org/25376.html

[2]: http://sagemath.blogspot.ca/2009/12/mathematical-software-an...

comment 12y ago · link · parent

It's much better than closed-source software: they get you to do the work of fixing bugs, but they still keep the money!

comment 12y ago · link · parent

Edited, thanks.

There is, of course, a difference between occasional errors and the way in which millions of competent English speakers use their language, but I'm sure you're aware of the distinction.

comment 12y ago · link · parent

There's absolutely nothing wrong with the quoted sentence -- this which-hunting is a ridiculous exercise in 'gotcha grammar' completely divorced from the facts about how the language is spoken.

See, for instance, http://languagelog.ldc.upenn.edu/nll/?p=5479 .

comment 12y ago · link · parent

Or, the company hides the "unsubscribe" link in a tiny font at the bottom of the email, and it's just much simpler to hit Gmail's big "spam" button at the top.

comment 12y ago · link · parent

I think that one can be concerned about privacy enough to choose to use a service which does not log queries, without thinking that this choice makes them immune to surveillance by state actors.

comment 12y ago · link · parent

For bonus points, use it to prove the "other" FLT...

comment 12y ago · link · parent

> If you are as concerned as you sound don't leave the house. People can take your picture in public and do what they like with it.

sounds like exactly the kind of attitude that

>> I basically have no option of recourse, because there's a revised culture thanks to Facebook which tells me it's outside of my hands now.

is complaining about.

111.

Angular Momentum: The Source of Europe's Mild Climate(americanscientist.org ↗)

1 points · by hdevalence · 12y ago · discuss

comment 12y ago · link · parent

Note, however, that further north doesn't necessarily mean colder. For instance, looking at the climate data on Wikipedia indicates that Oslo and Toronto have about the same average highs/lows in the winter months.

Meanwhile, Winnipeg (Winterpeg) is a full 10 degrees latitude south of Oslo, but is much, much, colder.

As as aside, though Europe's warmer climate is often attributed to the Gulf Stream, evidence suggests it's actually a consequence of angular momentum. See, for instance,

https://www.americanscientist.org/issues/issue.aspx?id=999&y...

and the paper in PDF form here:

http://www.ldeo.columbia.edu/res/div/ocp/gs/pubs/Seager_etal...

comment 12y ago · link · parent

It's an interesting worldview where growing a company to an $11bn market cap counts as only a 'lukewarm success'.

It's not super clear why Red Hat's market cap of "only" $11bn means that their business model doesn't work. It would seem to me that it works pretty well -- to the tune of $11bn.

comment 12y ago · link · parent

The parent poster expressed a personal opinion.

Your reply amounts to "Your opinion differs from Linus's opinion, and is therefore wrong."

There are many reasons why one might wish that Linux was GPLv3: for instance, one might think that the "anti-Tivoisation" provisions are important. Linus obviously doesn't share this point of view; that doesn't make it an invalid point of view to have.

comment 12y ago · link · parent

No, you cannot do anything you want with the logs.

Here is something you cannot do: you cannot alter the logs without anyone noticing, since log entries have a rolling hash.

This prevents an attacker from being able to modify logs without detection, and was implemented in systemd after the postmortem on the kernel.org breakin, i.e., it was developed to counter an actual threat.

I would suggest you read up on what log attestation actually does.

comment 12y ago · link · parent

> I want to be in control how my system works. To do that I need to be sure of what it is doing and how. As the complexity of a system grows, the number of things it does under the hood grows. At some point I can't keep track of what's going on, and I no longer have confidence in my knowledge of the system, without setting aside time for a code review. > With pid 1 being incredibly simple, and the executables it runs being incredibly simple, I know what's going on, I know what the possible problems are and I know how to fix them. The more complex it is, the more difficult it is for me to know what's going on. That's all it comes down to for me.

How is, say, sysv init better in this regard? Instead of having declarative service files that say what should be done, you have a collection of disparate shell scripts, all with their own implementations of basically the same things. The complexity isn't reduced, it's spread around (and IMO it's more complicated).

If you want to have control over your system, wouldn't you want to use an init system that can actually keep track of all of the child processes of a service? Brittle hacks like pidfiles cannot ensure management over all child processes of a service -- this is only possible with cgroups.

> As an aside: A lot of systemd is API-driven, meaning if you want a feature you have to build it into the system as new code. This means you have to be a C developer to leverage some new feature, instead of writing an interpreted script and interacting with it via pipes/plugins/etc. If your current system is dependent on some feature that doesn't yet exist in systemd, you now have to build it in, instead of using what worked with sysvinit before.

No, you just use D-Bus, from whatever your favorite language is, using that language's D-Bus bindings. Systemd has a stable D-Bus API for this purpose that's guaranteed to work in the future.

> Not only is systemd broken by design, it's still in its infancy, and does not support the same features that have been built into other systems for years.

Out of curiosity, what features are you referring to specifically?

> This additional load of development for many orgs serves no purpose, and is essentially ignored by the leadership that decide to change init systems by fiat.

This would be more convincing if it were just Lennart & co. making the decisions, but in the absence of evidence to the contrary, I'm going to go out on a limb and assume that the technical leadership of Fedora, RHEL, OpenSUSE, Arch, and now Debian do not all make decisions by fiat for no reason.

comment 12y ago · link · parent

So "young, single, Arab men" not only aren't "us", but also aren't people who deserve protection from terrorism?

I'm glad that you can decide on their behalf that their rights are worth less than your imagined security.

comment 12y ago · link · parent

Your problem isn't with expressive type systems, it's with languages whose type systems are not sufficiently expressive, though.

Well-named variables are interpreted and checked by the programmer; well-expressed type constraints are interpreted and checked by the compiler. Guess which one makes fewer mistakes?

comment 12y ago · link · parent

On the other hand, Go doesn't have a way to write code that abstracts over types, and my (albeit limited) experience with Go is that most of the boilerplate is due to the language's poor type system. If you use a language with a better type system (Haskell is the first that comes to mind, though there are others), you can actually do this sort of thing without the boilerplate code.

comment 12y ago · link · parent

If Canonical wants to develop a new file manager, power to them! I, too, am looking forward to seeing what they do better.

My comment was specifically in regards to the idea of 'what's wrong with Canonical reinventing everything', e.g., discarding Wayland for Mir. Sorry if that was unclear.

12345
10