Better HN
topnewbestaskshowjobs
Log inSign up

mapgrep

6,331 karma · joined Sep 23, 2010 (16y ago) · 813 submissions

Submissions

comment 12y ago · link · parent

Why do you assume you have to be moderate to consider both sides? Doesn't it seem like once you objectively consider both sides often enough you begin to develop informed opinions that could make it hard to remain a moderate? But that doesn't mean you stop considering both sides.

(Also, this implication that moderates tend to be more reasonable is erroneous. Oftentimes the correct answer starts out as marginal aka "extreme" until it is slowly validated moves the whole discourse and moderate is redefined to where one extreme used to be. And oftentimes people are moderates out of ignorance; when you begin examining any given issue and have little knowledge it is natural to stake out a "on the one hand, on the other hand" position until you learn more. Then you cease to be a reasonable moderate, at precisely the moment your knowledge becomes formidable. But I am rambling and need to go outside now :)

comment 12y ago · link · parent

Bitcoin went up more than tenfold in less than six months. Then if fell by more than half in less than one month. So I strongly disagree that most people would want to use that for their checking account, paycheck, etc.

I am also baffled by "they're easier to transfer" than dollars. Yes you can email BTC. But I can literally hand you dollars. No smartphone needed! And large amounts are trivially easier - I squiggle some lines on a piece of paper and hand it to you. Or if you want to stick to smartphones I can pull one out and send you dollars using one of dozens of e-payment platforms.

Interesting thesis though.

comment 12y ago · link · parent

>Hyperinflation would make it impossible for the Federal Reserve to buy up enough dollars to stabilize the value of the currency

Even if this is true, where is the evidence that we're in imminent danger of hyperinflation? Despite mounting public debt, U.S. inflation has remained incredibly low since the start of the financial crisis four years ago, as has the interest rate that must be paid by the government to issue new debt.

From what I can tell, we have on the one side a dollar that has endured as a value store and medium of exchange for hundreds of years, and which has proven remarkably resilient (valuable) by any objective measure throughout the worst economic implosion since the Great Depression (which the dollar also survived). On the other hand we have Bitcoin which is intriguing in many ways but which has demonstrable volatility even just in the short span of its existence. And which, as a feature, is not backed (in the hard economic sense) by any nation or bank. I mean it's cool and all but I see where Krugman is coming from.

comment 12y ago · link · parent

On the contrary, I'd rather listen to an economist who is upfront about his political viewpoints and transparent about how he tries to keep them from influencing what he here terms the "positive economics" -- i.e. the practical economic impact -- of Bitcoin or any other problem.

As opposed to economists who conceal their political viewpoints to cover the fact that their supposedly scientific economic conclusions are intended to push a given agenda.

One of the best ways to fight your own political biases in areas where you want to try and be more objective is to be incredibly up front about them. That way, people can say, "I think you are indulging your bias in specific manner X." I wish you would do that (be specific about any complaint) instead of dismissing Krugman simply for being honest and up front.

comment 12y ago · link · parent

I stand corrected! Fair point. While I wish the original author had not sidestepped the data integrity issue, I can see why he'd want to address the index issue independently.

comment 12y ago · link · parent

This is an incredibly suboptimal approach.

Postgresql (and even Mysql for that matter) lets you explicitly declare foreign key references when you create/alter a table and then the database will enforce integrity of those references for you. Which is great because when someone writes some kind of code outside of Rails to work with your db, and that code has bugs, and those bugs impact data integrity, there is a hard stop at the DB layer preventing dangling/invalid references that will blow something up later.

A side effect of creating these explicit foreign key relationships is that any needed indices are created on both sides of the key. [UPDATE: Nope, I'm wrong, see below.]

Here the author has a Rails setup that fails to declare foreign key constraints when it's making a table with relations. You can see this in the DB description of the `products` table which references the `categories` tables via a plain int called `category_id`. As a result of not having an explicit foreign key constraint this table also has no index on `category_id`.

So given a table with poor data integrity at the SQL/db level and lacking an index as a sympton of this problem, the author treats the symptom and advises the creation of an index on `category_id`, leaving the real problem woefully intact. And that real problem, to be clear, is the fact that the database is not being used properly but rather treated as a relatively dumb place to dump columnar data; things that Postgres gives you for free are set aside and pseudo-duplicated in Rails code.

Now I'm not blasting the author because I don't know if this is a tactical issue or an issue with Rails itself. Does Rails not allow foreign key constrains in the migrations?

Whether this is a flaw in Rails or how it's being used, this is a bad solution to the problem. The RDBMS is your friend, use it. (And if you're not going to use the integrity constraints of the DB why are you using Postgres instead of say BerkeleyDB or a loosely configured MySQL or Mongo or whatever?)

comment 12y ago · link · parent

YC is great locationwise :) And there are some great startups within a couple blocks of MV Caltrain.

I was just trying to make the point that even in a car-centric place you can have good startups. To an SF worker it seems kinda miraculous that the Valley proper, with its relatively weak mass transit, is still such a startup hub. So I tend to give LA the benefit of the doubt in terms of startups vs transport.

And yes Palo Alto > LA for sure. I wish the whole Valley were a little more like Palo Alto.

comment 12y ago · link · parent

> The hackers and designers that startups want to hire seem to be disproportionately likely to want to travel on foot or by bike

Startups clustered first in the aggressively car-centric suburbs of Silicon Valley and in large part remain there. Even the YC offices are a long slog from Caltrain, on foot through big streets clogged with cars and parking lots. If Mountain View can attract startups why can't LA? I don't even agree with these jaywalking fines but there seem to be at least as many car lovers among my startup friends as my writer pals. (More, actually, when you factor in all the friends who live in NY.)

comment 12y ago · link · parent

We know this is true because there's no bureaucracy whatsoever at Microsoft, Google, Oracle, or Apple. Or PowerPoint!

comment 12y ago · link · parent

Poisoned burger? Luxury. We were served dingy water reclaimed from the train radiator and a pigeon what had flown against a window and died, and told to fend for ourselves. At night a drunken conductor would thrash us all to sleep with a broken bottle of Glenfiddich, shouting various slurs.

comment 12y ago · link · parent

>In 2013 we launched Firefox OS , the first open Web devices based entirely in Web technologies

This early sentence really derailed me. There is so much going on:

-What is an "open web device", what qualifies? Maybe put a link here?

-Why is Firefox OS called an OS if it is actually devices?

-Is being based IN web technologies the same as being based ON web technologies?

-And there is a weird implication here that there have been open web devices NOT based on web technologies but now we have open web devices that actually ARE based on web technologies. That can't be right, can it?

From what I can tell the sentence should read something like, "In 2013 we launched Firefox OS, the first [mobile?] operating system based entirely on Web technologies."

comment 12y ago · link · parent

"In some cases, senders may be able to know whether an individual has opened a message with unique image links"

https://support.google.com/mail/answer/145919?p=display_imag...

This is an inherent flaw with auto-displayed mail images loaded on demand. They are easily rigged to act as read receipts.

Hard to see how that's a privacy enhancement.

comment 13y ago · link · parent

I'm very curious why an anonymous site that doesn't even allow registered users gets 100k worth of cookies on a typical connection.

Not saying you're doing anything wrong, just curious. I assume some of it is for ad tracking, but that's still a hell of a lot of data!

comment 13y ago · link · parent

>even better, don't bother the original project, but just announce your fork over other channels

This is a rather bizarre interpretation of nice behavior: Make a very cool modification to a project, but don't even bother to tell the original maintainers/authors?

Github Issues is a perfectly reasonable place for this. Maybe the mailing list would be better, but, shrug. Issues != Bugs, by the way. There's a reason it's called Issues. And it's basically the only way to have a discussion on github about anything whether it's an issue or not.

Also, some maintainers get mad if you send a pull request without doing an issue first, so there's no right way.

comment 13y ago · link · parent

That's very close to a tautology. People who are on S.O. ("the community") are there because they like how it is run, overall, and the questions rules and police are a big part of the experience. People who are disgruntled tend to leave.

Personally, I tend not to post because of the stress of having a question policed. You guys should have a full fledged StackExchange site (not Meta) where people can ask which other SE site to post their question on. I'm not kidding. Because of the complexity/sophistication of the software, the rules on SE/SO are far more baroque than the rules on Usenet ever could have been.

comment 13y ago · link · parent

I saw Bill Gates speak at Berkeley in 2001. He was urging, practically begging, the students to major in computer science.

Because you see in 2001 software and the internet looked like a "declining industry" as you put it. The dot-com bust made the idea that software would revolutionize the world look like so much idiocy.

Anyone who took Gates' advice is doing VERY well right now. But there was loads of skepticism in that audience, and lots of questions about offshoring.

My point is, it is incredibly hard to tell what will be a "declining industry" even five years forward. There's no way this guy would have known that television writing would get nuked by reality television.

Also, I hope people who read your comment don't make the mistake of thinking they can necessarily avoid this sort of misfortune simply by being smart enough.

comment 13y ago · link · parent

Neat! Did you play with using ffmpeg on audio at all? I saw you had mp4 and mpeg codecs - did you experiment with anything that would allow mp3 like libmp3lame? I have an audio processing tool that I'd love to move into the browser.

comment 13y ago · link · parent

There's a Japanese saying I came across recently while reading the book Tokyo Vice:

"To ask a question is a shame for a moment. Not to ask the question is a shame for your whole life."

(The author of the book, a newspaper reporter covering crime and the Yakuza, gets very far in his career by asking "dumb" questions.)

comment 13y ago · link · parent

No, if the U.S. needs to attack a nation like Iran or Syria, we will do overwhlemingly better at securing air superiority than we did in 1991. Their pilots are more poorly trained, fewer in number, and less connected to a functional comprehensive air defense system than Iraq in 1991.

It's nice that you know the NATO designation of a few old SAM systems, but that's mostly orthogonal to the question of whether we need F-22s. The U.S. system of establishing air superiority is just that: A system, of which air superiority fighters are just one piece. The system is unmatched in the world. And you've been watching too much Top Gun, kiddo.

comment 13y ago · link · parent

> Central to whether the US can maintain its global strategic posture is having sufficient numbers of F-22 Raptor fighters

Assumes facts not in evidence: That we will wage, threaten to wage, or deter against fighting a conventional war with either Russia or China, the only two nations on the planet who could theoretically develop the capability to thwart our current air power arsenal (F-15, F-18, etc). I mean: Really? A gunpowder war against Russia or China?

There is a large body of evidence, including but not limited to the past 50 years of U.S. military history, that we are more likely to end up in a war against guerillas, insurgents, terrorists, or third world regimes -- the strangely named "low intensity conflicts." For which these very expensive (and very cool, to teen boys) fighters are useless. Not suboptimal; useless.

And I haven't even begun to discuss how military power is only one component of "strategic posture." For example, China's enormous economic engine is far more important to its clout on the world stage than its military arsenal. Ask Pakistan or North Korea how much respect and real power a fearsome military buys globally.

This whole article is basically propaganda designed to puff up the importance of a weapons program held over from the cold war. It could have been written by Boeing (although even Boeing would have been more subtle). Its assertions are laughable. ("Unless the US deploys a minimum of 500-600 of these aircraft, it will lose the ability to access hostile airspace with acceptable losses in aircraft and aircrew." We access hostile aircraft every day.)

comment 13y ago · link · parent

The likelihood miles and miles of cabling, much of it presumably leased, will be compromised is nowhere near comparable to the likelihood a normal, single-location office/home ethernet LAN will be compromised. (And if you think both are easily compromised, that only adds to my original point.)

comment 13y ago · link · parent

Google was letting information flow between its data centers completely unencrypted until last month. http://www.washingtonpost.com/business/technology/google-enc... Last month!

Think about that for a second. Most people on HN wouldn't send a single file to their own backup provider in the clear. Google was sending gushing torrents of data, presumably including email, IMs, etc, over long distances that way.

That's very nice that the company that encouraged all of us to put all our email and documents in its data centers "pushed harder than anyone on the whole internet" for some basic security well after the NSA compromised their shit, but it doesn't excuse their irresponsible practices.

comment 13y ago · link · parent

Good to know that the company that holds my email, appointments, two-factor-auth, credit card number, and search data has the reliability of a flaky college freshman.

Also good to know that there will literally ALWAYS be people willing to minimize the broken promises of corporations (when they're not insisting that no corporation would ever be so stupid as to break a highly visible promise because the outcry would be tremendous).

comment 13y ago · link · parent

This ignores the context of the system, which is everything in this controversy.

Apple did not say, "Here's iMessage, it is much more secure than SMS."

Apple said (in essence), "Here's iMessage, we couldn't tap it if we tried."

THAT is false, and all of the nice things you point out about iMessage aren't in dispute and don't have anything to do with the glaring inaccuracy of Apple's claim.

comment 13y ago · link · parent

>(if I understand it correctly) the cryptography is solid

The issue is that iMessage outright ignores a long understood challenge in the APPLICATION of cryptography, namely knowing when to trust that someone is REALLY giving you their public key rather than being man-in-the-middled.

While this is a thorny challenge there are well understood, if imperfect, ways of addressing it that have been around for decades. At minimum it works like ssh, where you get a warning when an unfamiliar new key is presented and decide whether to trust it or not. More sophisticated is the certificate infrastructure around TLS/SSL where some effort is made to bring semi-trusted third parties into play.

These are all flawed solutions, the problem remains essentially unsolved. But any truly secure system based around public keys has some mechanism that addresses this challenge.

The issue with iMessage is that 1. Apple did not attempt to address the key exchange problem, which would maybe be fair enough on an "easy" consumer product with weak security claims but then 2. Apple made strong security claims very publicly and 3. even said a counterfactual, that it had no capability to intercept messages.

THAT is what is disingenuous: Apple implements public key cryptography, which since its inception and at its very heart raises difficult challenges around key exchange; Apple chooses to ignore these challenges; Apple then claims strong public key security. Either attempt to address the challenges like everyone else, or don't make the security claim, you can't do both.

comment 13y ago · link · parent

Thank you for saying that, I sometimes feel like I'm taking crazy pills when I hear some of the inane arguments against thorough documentation.

I was hoping this was going to be about the real "documentation fallacy:" 'Documentation tends to be of low quality, therefore it is best to avoid writing much documentation.' One common instantiation of this is "thorough documentation is bad because it will inevitably fall behind the code and be inaccurate."

People fall into the trap of assuming there is something inevitable about bad docs. Yet they never assume there is anything inevitable about bad code, even though most of the code in the world is, objectively, complete shit!

comment 13y ago · link · parent

>This essentially turns "something you know" into "something you have"

It really doesn't. This essence of "something you have" is that you really, truly must have it for authentication to work -- every time. In this case, if you capture the data on the Yubikey once you never need to have the Yubikey again (since he's using the static slot). Or to flip it around, if you just once leave your Yubikey in your pocket in coat check, or in a checked airline bag, or in your USB slot when you go to a meeting, etc., it is potentially 100% compromised without your ever knowing.

This is why true "something you have" systems like Google Authenticator, or the actual Yubikey system as it was designed, use constantly changing keys.

comment 13y ago · link · parent

A well-known compute cluster at Berkeley created hostnames after types of disasters:

  -tsunami
  -apocalypse
  -famine
  -avalanche
  -hailstorm
  -lightning
  -heatwave
  -locusts
  -tornado
  -fallingrocks (<-- my favorite)
  
Interestingly, though run on a shoestring, this proved to be one of the most reliable set of servers on campus. I guess the disaster naming was a sort of a reverse jinx.
1
161718
28