Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions

ben blueskylabs com
Submissions

comment 12y ago · link · parent

Does Agda provide tools for program extraction? I'm curious where the state of the art is for using proof checkers/dependently typed programming languages to derive correct-by-construction programs in lower-level languages like C.

comment 12y ago · link · parent

Wouldn't it make sense to lower the exposure by having the server only have access to its own ephemeral private key?

So instead of having the key to the hard to change site certificate on many vulnerable front-line servers, it rolls up a key and on boot sends a certificate signing request to a hardened internal system?

comment 12y ago · link · parent

This strikes me as 100% backwards, isn't the entire point of the IETF RFC process to memorialize existing practice, not be a design studio for new protocols? Wasn't it followed here (RFC6520 existing to document the OpenSSL implementation of heartbeat)?

If the IETF is the only thing standing between us and any jackass introducing vulnerabilities into everyone's network stack we're in bigger trouble than I thought.

comment 12y ago · link · parent

cperciva's competitive advantage is almost entirely reputational; if Bob the Fast-Follower made a tarsnap v2 clone it'd be too dodgy to do anything but compete with the tons of existing friendly backup and online drive services.

comment 12y ago · link · parent

That's just the lambda abstraction, not the lambda calculus.

The idea is that a lambda abstraction, in a math sense, is much less general than a single argument function. 'sin θ' is a single argument function that's defined by some business about the ratio of sides of a right triangle with angle θ, but it's not a lambda abstraction because all they're allowed to do is substitute a variable into some expression. 'f(x) = x² - x' can be directly expressed as a lambda abstraction (f = λ x. x² - x)

Once you guarantee that the function takes the specific form, you can manipulate it in ways you can't manipulate the general-case function, and it turns out those manipulations give you enough power to define almost anything else you'd want to do.

As it turns out, (IIRC) Python makes lambdas essentially opaque objects, and doesn't let you peek into them any more than you can a general-case function. This means you can't do any lambda-calculus on them, even simple stuff like determining if they are exactly the same expression.

comment 12y ago · link · parent

Can't you always mechanically convert an iteration into a fold like that?

comment 12y ago · link · parent

Nations: they haven't killed everyone

comment 12y ago · link · parent

You could handle it same way they handle people claiming that the radar gun is wrong or that the parking meter shorted someone on time: the instrument is calibrated so the burden is on you to prove it is defective.

comment 12y ago · link · parent

Car dealer protectionism has nothing to do with the US Congress.

Citizens United doesn't make it easier to bribe politicians, the entire point of PACs running ads is to lobby voters directly instead of the traditional method of bribing legislators.

comment 12y ago · link · parent

That's fault tolerance.

comment 12y ago · link · parent

Are there serious descriptions of these good-old-days software methodologies that the kids these days with their agile and their hippety-hop are corrupting? The story I've always been told is that 'Waterfall' is a pejorative invented by software methodology pitchmen to describe the ad-hoc process you get when you ask an MBA to build a software shop.

As someone who's had a little bit of exposure to 20th century code, I'm not terribly impressed with it. It's neat that they managed to get anything at all done on such primitive hardware, but incredible feats of performance hackery isn't the same thing as software quality as we know it.

Someone explain to me the lost methodology of these programmer-Titans who made this "truly excellent, reliable code"?

p.s. Since when was the Internet a software product?

comment 12y ago · link · parent

Remember that there is no such thing as 'the media industry'.

The Internet killed the music industry because the music industry was literally in the disc-and-tape business. They were all about distribution, only doing production as necessary to ensure there was something to distribute. The only chance the RIAA had was to whine and fight because there was no place for them in post-CD world.

Movies, on the other hand, are actually in the content production industry. The Internet and desktop software make movie production and distribution cheaper, but not by that much. It still takes thousands of people and millions to hundreds of millions of dollars to make a movie. This isn't likely to change in the next few decades. This incredible cost of production and large fixed overhead, combined with vast demand for the product, mean there will always be opportunities for movie producers to make money, even if the entire way we distribute and consume movies is turned on its head.

As for the emotional impact disruption: most of the disruption is happening on the financial side; the alleged reason these people are trusted with billions of dollars is because they can put on their big boy pants and adapt to changing business circumstances, because business circumstances are always changing. For the people in the trenches, stuff isn't changing that much. The percentage of revenue from PPV vs DVD sales vs Licensing only matters to a grip if they have a really bizarre contract.

comment 12y ago · link · parent

I'm just impressed that the designer actually made the product and put it out on the world.

So many of these design-art products are never actually made, which to me is ignoring the entire 'craft' side of the profession--the point of design is to make things actually exist.

comment 12y ago · link · parent

If I understand the PEP right, this explanation is missing the part where it's only useful to extend abstract classes; python classes are open so you can just add a method to a concrete class to get single-dispatch if that's all you need. I don't think the example given needs generics at all.

comment 12y ago · link · parent

I've seen hundreds of pointless protests in front of the Federal building in LA (where policymakers generally do not hang out) and one reasonable one, where the protesters out front had signs praising snowden and encouraging the workers inside to come clean about what their employer was up to.

comment 12y ago · link · parent

Do we actually know anything about social structures in prehistory or is it just an assumption that people behaved like modern-day isolated tribes?

comment 12y ago · link · parent

This article takes some pretty big liberties with the present to make Marx look more prescient than he was.

The idea that people are being forced out of inherently fulfilling object-manufacturing jobs into inherently unsatisfying service jobs isn't particularly true, and even if it were, that's not what alienation means. While many service jobs suck in ways Marx can be applied to, mass production was the original alienating job.

It's the lack of agency that's alienating, not the transitory nature of the produced work, or even the job being inherently pointless (people cheerfully do non-productive things all day)

The part about specialization is questionable as well. While there's not much use for a casual architect, the modern, deep-specialization economy means it's impossible to hire if you limit your search to people who made the life decision at 12 that they wanted to be an packaging technology specialist.

This creates a system where it is not just acceptable but expected that individuals will have various careers throughout life: What we do for a living can't be a fundamental characteristic of our identity if it isn't what we were doing a decade ago and isn't what we're likely to be doing a decade from now.

This is kind of a problem for the article author's defense of Marx because it's the alienating, interchangeable nature of 21st century work that allows the individual to increasingly have an existence outside of their job. Just look at all the weirdos over at tumblr: many of these people have jobs that are so non-identifying that they have to get together and brainstorm new identities to label themselves with.

comment 12y ago · link · parent

Bullock's leg was entangled with the parachute cords, and holding on to Clooney's tether with one hand. The Bullock-Clooney system was inertially travelling away from the ISS, to which one end of the parachute lines was anchored. The tangle of parachute cords was straightening as the distance increased. Eventually, they will run out of slack, at which point there will be an impact which (in Clooney's opinion) would either cause Bullock to lose her grip on the tether (dooming Clooney) or cause the cord looped around her foot to slip free (dooming them both). Bullock is barely connected to anything, has only one hand free (at best), and is in a terrible emotional state, rendering her incapable of useful action.

Clooney throws off his tether which causes three things to happen:

1. A small amount of seperating momentum to both Clooney and Bullock, pushing Clooney further away and slowing Bullock towards the ISS.

2. Halving the force needed to stop Bullock's movement away from the ISS.

3. Freeing up Bullock's hands to improve her attachement to the parachute cord.

I have no idea if the math works out but I don't see the theoretical problem with the situation physics-wise.

comment 12y ago · link · parent

Lottery winners should be but they aren't, here's a pretty good article: http://bucks.blogs.nytimes.com/2012/12/03/a-financial-plan-f...

comment 12y ago · link · parent

The claim that he'd have to publicly go onto MtGox to get funds out of his Bitcoin supply is absurd as well. If you're going to move a few million dollars, you can afford to do it right as a private sale using agents who won't blab to the press or anyone else (as long as you pay your taxes)

Everyone would know that an early adopter moved some coins, but the IP address of the Starbucks that his lawyer's tech guy makes the transaction from isn't going to leak much.

comment 12y ago · link · parent

Is there any auditing technique that could realistically find out, after the fact, how often this long-outstanding bug has been exploited over the years it has been in place, like collecting a sample of presented certificates?

If we can't write perfect software, at least being able to quantify the damage would be a good start.

comment 12y ago · link · parent

I don't know how exhaustive the database is, but it looks like it just phones home to MS: http://news.softpedia.com/news/Windows-8-Secrets-the-Built-i... (second screenshot). Might do the same "bloom filter plus server check for false positives" that browser malware filters use.

Checking with a valid but extremely uncommon downloaded binary shows the same red banner (as well as a Chrome warning).

comment 12y ago · link · parent

Turn the appeal to fear that causes extortion to work back on itself: Make paying extortionists cause the payer to be an accessory. Allow future victims of the same extortionist to collect joint-and-several civil damages from the collaborator.

comment 12y ago · link · parent

It looks like Windows 8.1 is whitelisting PuTTY by hash or signature: nothing to see here.

Repro steps (Windows 8.1, desktop IE 11 or Chrome 33):

1. Download putty.exe from any shady source

2. PuTTY runs without prompting

3. go to mega.co.nz (an extremely shady source), upload your copy of putty.exe

4. download it again

5. this version of putty.exe also runs without prompting

6. open your hex editor of choice, change a byte in a text string

7. upload this tampered version of putty.exe to mega.co.nz

8. download and run it

9. observe full-screen modal red banner: "Windows Protected Your Computer" requesting an Administrator password to run suspicious binaries.

comment 12y ago · link · parent

If your school had invested in compatible projectors, he could have just installed the plugin:

http://www.negativland.com/archives/015squant/plugin.html

comment 12y ago · link · parent

`Fraud` seems like exaggeration to the point of falsehood here. I'm not in the retail business but I was under the impression that there was nothing improper about restocking and reselling non-defective returned-as-new goods. For anything less personal than a hamburger I'm not offended by the idea that another customer briefly touched the product I bought so long as it's physically clean and in 100% new condition.

It was clearly an error to fail to wipe the system but it's just as clear that this was a routine oversight (on both customer A and the vendor's part), not malice.

comment 12y ago · link · parent

It's not like they're sending people sentenced to 40 years hard labor for robbing a bank to community service at the recycling center. They're probably mixing with people who got first-offense drunk driving or disturbing the peace charges.

comment 12y ago · link · parent

Free energy buys us a century or more of energy growth. Nobody has any idea what anyone would use that much per capita energy for -- how much A/C, food and transportation are you capable of consuming?
1
252627
55