Better HN
topnewbestaskshowjobs
Log inSign up

olefoo

8,890 karma · joined Jun 15, 2007 (19y ago) · 2,224 submissions

I do not expect much.
Submissions

comment 11y ago · link · parent

The main drawback of this ( and it's a minor drawback in the larger scheme of things ) is that this isn't a portable interface and isn't available on other POSIX-ish OS's. It looks like there are key agents available for Freebsd, OS X and Illumos though.

Thanks for pointing this out.

comment 11y ago · link · parent

It really depends on the scale you're working at; and whether you can assume that there will be someone available to supply credentials for an instance that had to restart.

I've used fabric and ansible to push configs out to small sets of hosts; and yes assumed that the sensitive bits were OK sitting on the filesystem of the production host. Since if an attacker had access to the filesystem there would be more issues and I'd have to invalidate those credentials anyhow.

At a larger scale you'll want something like etcd or consul or even just a centralized key server that new instances call and ask for their configuration.

The thing is that anything predicated on HMAC secrets is vulnerable to those secrets being exposed. The secret has to be in the clear at some point to perform authentication or signing and a sufficiently determined attacker will be able to get that string.

A system is only as secure as the humans running it can confirm it to be secure. This is why it's best to reduce your attack surface and ensure that you can log access and do process inventory and egress filtering and the whole checklist of prevention, detection and remediation. There is no magic pixie dust that will make your system fully secure; you will always be making tradeoffs and managing risk rather than eliminating it.

comment 11y ago · link · parent

There's a fairly straight forward pattern for keeping sensitive credentials out of github. It comes straight from http://12factor.net/config store configuration data in the environment.

What I do for most projects is keep the tree containing the working directory in a directory that has some other items that don't belong on github (like the project brief, my emacs bookmarks file, random notes related to the project etc. ) and in that directory there is a .credentials file containing a set of export statements somewhat like:

   export AWS_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
    export AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    export AWS_USER_ID=############
If I'm feeling extra paranoid, I'll encrypt that into a blob that I only decrypt when I'm working on said project.

Then at startup the app goes looking for it's config in the environment. This does create issues for some environments ( solving this for docker is trivial ) but you can usually pass environment variables to whatever is executing your code reasonably securely. Now it's not perfect, and environments can sometimes be revealed externally if an attacker is determined and clever and focused on your app for some reason.

But it does give you a hygienic procedure that keeps your credentials that are equivalent to an open draw on your bank account out of public repositories.

comment 11y ago · link · parent

Depends on how much you trust the guidance systems on your cruise missile.

That said, I can't see the advantage to any one player in taking out Washington DC unless they can shift attribution to someone else. I mean the small crazies (DPRK etc.) might want to do so but have to know that even success would be fatal to them. And the big crazies (Putin, the Ayatollahs, whoever's really running the show in China) would be too concerned about the consequences.

Not saying it couldn't happen, but the odds are, any entity capable of carrying out such an attack successfully has enough to lose that they would be dissuaded from doing something that would have extremely unpredictable consequences.

comment 11y ago · link · parent

You have a point. I used to work with/for a few of them, and sometimes the online persona was perhaps more aligned with their IRL personality than was good for them. But for the most part it was a way to vent frustration.

comment 11y ago · link · parent

Evidently you are not familiar with the sort of humor common to

    alt.sysadmin.recovery
And next you'll be telling us that http://bofh.ntk.net/BOFH/index.php isn't fiction/satire/parody.

comment 11y ago · link · parent

How are they going to enforce the exclusive sale model?

I can think of three or four ways to defeat even a relatively sophisticated attempt to do so in an automated manner. And if you're going to make money off selling secrets, what could be better than selling the same thing to a dozen purchasers each of whom thinks that they have an exclusive on the deal.

comment 11y ago · link · parent

I fear that we are talking past each other and have different readings of the same words; and vastly different conceptual backgrounds.

Map political science onto the sandpile model [1] to get a first order approximation of the framework of analysis I'm using from a macro perspective. On the micro level of individual perception; what matters isn't merely the perceived lawlessness of the elites and of the guardian castes, but the growing sense that "If you play by the rules; you're a sucker." And depending on your level of investment in the current order that sense can be a powerful motivator to working around limits that were introduced to promote institutional stability.

And if most peoples reality is that the ruleset they're working off of is largely economically workable only because it's technically illegal... that's inherently unstable.

1. http://en.wikipedia.org/wiki/Abelian_sandpile_model

comment 11y ago · link · parent

The novels of John Brunner

The Sheep Look Up (1972)

The Shockwave Rider ( 1975 )

both seem shockingly contemporary in the worlds they portray.

comment 11y ago · link · parent

Your comment is indicative of the crisis of legitimacy that has infected our governments, and most of the institutions of stability in our global society. It seems like a small thing; but once the perception that the forces of law and order are themselves lawless exceeds a certain critical threshold things begin to change rapidly. Indeed the United States itself came to be in the wake of the erosion of the legitimacy of Englands colonial government.

There won't be an announcement; but once that threshold is crossed events begin to move rapidly and forcefully and do not stop until a new arrangement of powers is found that society can scaffold itself upon. Who knows what will be the stable state of a world seeded with the idea of networks and knowledgable in their subversion and subornation.

comment 11y ago · link · parent

Can't read tptacek's mind, but I'm guessing it has to do with the fact that javascript cryptography running in the browser cannot provide the guarantees necessary for a reliable cryptosystem. You can't tell whether the browser has been compromised or is malicious. Although strictly; speaking there may be other good reasons to use this standard and plenty of non-browser contexts for javascript execution do exist and aren't necessarily as vulnerable.

comment 11y ago · link · parent

I'm kind of surprised that the popularity of tablets hasn't enabled a resurgence of calligraphy. I mean tablets are ideal for practicing calligraphy. You draw your shapes and if they aren't good, don't have rhythm and don't sing; erase and start over.

comment 11y ago · link · parent

> Why does changing (fixing) these things take so damn long?

Because:

a. Established interests profit from the current arrangement or worry that their interests will be compromised if things chang.

b. Our system is set up to resist rapid precipitous radical change.

c. Changing institutions takes a long time and requires much political will, or at least alignment with social forces in play.

d. Change has costs; even if the existing system is wasteful, dysfunctional and cruelly indifferent to the pain it causes to some subset of the people in contact with an institution. The costs of changing that institution are unknown and unknowable and the argument against from fear of the unknown will always have weight with decisionmakers.

e. Institutional change always has winners and losers, and often the ones with the most to lose are close to but not at; the top of the hierarchy.

That's the short version. The long version involves quantitative social science and figuring out which nodes of the power network have the capability to drive change and which must be routed around to effect change and which ones are likely to be obstacles to change. Modeling the political economy of even a small institution is a considerable effort; and since it's hard to get people to precisely quantify their biases and predilections even if they are cooperative; a large amount of it is guesswork or inference from extremely thin sources ( like trying to divine someones political allegiances based on the corpus of emails that are sent to internal mailing lists ).

And since Psychohistory is bunk, there is no plausible way to predict second or third order effects ( the response to the response to the change you are trying to achieve if it were successful ).

There are only a few organizations that have the mathematical ability, computational power and access to significant communications between decision makers to even attempt to do this at scale. In fact I can only think of one that could attempt to do so at a global scale; and it's a TLA whose initials start with N, end with A, and have an S in the middle. But they wouldn't try to manipulate their host society like that; or would they?

comment 12y ago · link · parent

So there is a secretive process by which the patent office can delay possibly to the point of irrelevance patent applications that are disruptive to the established order? Not a surprise.

This is yet another example of the rot that is infecting the legitimacy of our government. There is no excuse for this, the patent office could plausibly suppress some patents on the grounds of national security but on the grounds that they might "draw public attention"; come on. Tell us again how this system betters us all and doesn't just exist to keep todays winners on top tomorrow?

comment 12y ago · link · parent

It points to a pathology of HN that someone discussing their experience with a specific technology is getting downvoted and flagged for describing their own experiences. This is not reddit, the downvote is not meant for enforcing groupthink.

I'm in favor of Postgres, I make my living in large part from my expertise with it; but it rubs me the wrong way when people downvote an informative comment covering someone's experience where it didn't happen to be the right tool.

no_future I apologise to you for the poor reception your comment got from immature people who don't understand how to discuss things and who cannot handle new information. This did not used to be representative of the community here.

comment 12y ago · link · parent

You don't want to encrypt your video chats with your lover? With your business associates?

I guess you Don't Have Anything To Hide™.

comment 12y ago · link · parent

This. Fighter Jets are the modern equivalent of mounted knights. Glamorous, lovely and of marginal use in a full-out war.

This is why they are the favorite military service of the useless scions of the nobility that we most definitely don't have.

comment 12y ago · link · parent

Because tents alone are not enough. You need to account for sewage and sanitation, power, and all the rest of dealing with a large number of homo sapiens crammed into a small space.

The thing is as a society we have plenty of resources and could enable most people to live with at least a minimal level of stability and security. But we don't want to. We've decided that our greatest economic centers work best when they're seething rat piles with the King Rat being pulled down and replaced every so often.

comment 12y ago · link · parent

On the pro side:

This would make the campaign more entertaining, and if it came down to her and Hilary; that would be a historic horse race of epic proportions.

On the con side:

This is someone who wrecked the two companies she was in charge of ( Lucent and HP ) and who has a consistent history of being able to fail upwards.

My take:

If the republican party can't field a better candidate then they aren't going to be holding the white house any time soon. Sarah Palin was a joke, but Fiorina could be quite dangerous as someone who's good at acing the interview but chokes when it's her turn to bat.

comment 12y ago · link · parent

You should probably start with http://littlesis.org/ as they've been doing this charting for a while.

But it's more complex than, say the french nobility in the 18th century since there is no central authority and access to the peerage is explicitly obscured ( there is no nobility in America ) and although it is certainly possible for individuals to lose favor and fall out of the elite ( Bill Cosby this week ). It's worth remembering that the prime threat to Aristocrats has always been other Aristocrats aside from the occasional epic convulsion like the french revolution or the english reformation.

Given the current state of affairs, America looks most closely parallel to pre-renaissance Italy. Although if Jeff Koontz is our Michelangelo; perhaps we don't deserve our empire.

comment 12y ago · link · parent

It could be a 'frozen accident', where either one works but once a positive feedback loop starts one version crowds out the other.

comment 12y ago · link · parent

That's what's known as tacit corruption.

Journalists who participate in "access journalism" get invited to off-the-record dinner parties and yachting weekends.

Journalists who ask hard hitting questions in the public interest tend not to be invited to the intimate soirées of the elite.

While there are very occasionally ethical reasons for a journalist to talk to a source off-the-record they are not going to occur in convivial social settings.

comment 12y ago · link · parent

You have a point, but you are missing a larger problem that is part of why the US financial system is regulated the way it is. Regulatory capture by the banks themselves. At this time the regulatory environment serves as much as a barrier to entry as it does protection for the consumer. All the "whips and bondage" compliance requirements are relatively easy to achieve if you're already a full-scale multi-billion dollar bank. But they are a formidable moat for any startup that needs to scale before they can afford to do all the necessary compliance auditing.

This is why simple.com is a friendly front-end for an existing financial institution and not a bank in it's own right.

comment 12y ago · link · parent

When you're working with the JSON data type you need to create a number of indexes to get acceptable performance.

Typically one per natural key in the document set ( present in and unique to each document ) for queries that are using that key and then trigram indexes on fields where you're doing partial string matches.

If you're going to be doing random queries against the entire contents of the document you'll probably want to add a full text index.

Like so https://gist.github.com/laprice/90ea359c4f4dcd99e9f2

comment 12y ago · link · parent

Twitter has what can be described as the organizational version of ADHD. They've had several changes of leadership and have had leaders who were primarily focused on other companies while guiding twitter. Jack Dorsey is an impressive person but do you think he could really give his full attention to Twitter while running Square?

The churn at the top is the best explanation I can find for some of the policy reversals we've seen (3rd party clients in, out, in again maybe sort of) and the somewhat random approach to business strategy. Twitter's core audience is a very desirable demographic but not one that's really going to react to in-stream adds at all positively. But twitter doesn't do some of the clever things it could with the firehose; and certainly doesn't use it to create secondary products that would be useful enough that businesses would pay for them.

comment 12y ago · link · parent

I like the lateral thinking on display here. From what I've seen the most successful adopters of the new wave of fabrication technologies are adept at solving problems by looking at them in a way that is "upside-down and backwards" compared to how most people would.

The fact that these bullet casings are milled out of steel rods isn't that big of a deal, if you have the right CNC mill you could automate that too.

Despite the antics of defense distributed I don't think printed guns are that big of a deal in and of themselves, but the idea that someone could be creating untraceable weapons is the worrisome part.

It wouldn't surprise me if the moral panic over custom fabricated guns were used to build support for DRM requirements on mainstream printers. But the push for controlling fabrication technologies is going to come from established economic interests wanting to keep extracting rents from the rest of us, regardless of the fact that the realities that created their business models have changed in fundamental ways.

And just wait until molecular fabrication technologies become cheap enough that average people can generate any molecule they choose just by picking it from a catalog. That's when the sewage overflow will really intersect with the turboprop intake.

comment 12y ago · link · parent

Econ 101 quiz:

1. As a commodity becomes scarcer it's price tends to go in which direction?

a. up

b. down

As this is an open internet test you may wish to refer to http://en.wikipedia.org/wiki/Supply_and_demand for the answer.

comment 12y ago · link · parent

Software above the level of a single device.

Data is replicated, no item exists only in one place.

Data is shared, shareable and in formats that can be operated on both by the owner and by the user, the visitor, the renter, the spectator of the items in question.

Data is encrypted, watermarked, tagged, associated to immutable provenance histories.

Data is ephemeral, guaranteed to be forgotten, subject to erasure, intended to be unrecoverable once used.

The network is reliable. The network is unavailable. The network is on the side of the people. The network will stab you in the back when you least expect it.

Some programmers will insist on writing javascript to control medical devices. Some programmers will insist that casual games running in sandboxed environments be provably correct.

Someone will cobble together an AI and set it to rewriting enterprise java apps, when interviewed after the disaster the AI will claim that humanity "had it coming".

A software bug will start a small war. And a EULA clause will end another one.

You will be completely transparent and documented for everyone else to see. You will not have sufficient permissions to find out anything about anyone with any power over you.

Most applications will incorporate blockchain technology; but bitcoin will be the subject of jokes and nostalgic pop culture trivia questions.

It will be the best of times ( for some ), and the worst of times ( for others ).

comment 12y ago · link · parent

I rather think it was a play on the word "antidisestablishmentarian" which technically would be one who is opposed to the disestablishment of the Anglican church as the official church of those lands governed by the queen of England. [1]

In this case an establismentarian would be presumed to be anyone who favors the current order of things; whether it be a democracy, a cryptocracy or a kakistocracy.

So, yes. A statist shill.

1. http://en.wikipedia.org/wiki/Antidisestablishmentarianism

comment 12y ago · link · parent

Umm. The characterization of homelessness as a mental health issue is very convenient for not facing the ongoing changes in our society. While it may be true that some segment of the homeless population is mentally ill; that's the tip of the iceberg for the real problem.

Young, wealthy, privileged people like the majority of the audience of this site have no concept of how easy it is to fall through the cracks and lose everything.

And the problem of poverty and homelessness is only going to grow. The majority of Generation X has NO Savings for retirement [1] and what do you think will happen to them?

And in fact one of the cities having an epic and fairly invisible homelessness problem is San Francisco [2].

There may be a very small minority of people who choose to be unhoused; but they are generally not the problem.

1. http://rall.com/2014/10/13/syndicated-column-millions-of-gen...

2. http://www.vox.com/a/homeless-san-francisco-tech-boom

1
121314
75