Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

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

ben blueskylabs com
Submissions

comment 13y ago · link · parent

"Don't be that guy who has SQL injection issues" is rookie advice but mistaken ideas about what SQL injections can do are widespread (probably #2 common security misconception after "hash your passwords").

The blind timing-based information leak is pretty clever and makes a nice counterexample to a lot of wrong common-knowledge.

comment 13y ago · link · parent

The only "prohibiting competition" rule is that currently insurance companies have to create plans for each state they want to operate in, and those plans have to follow the laws in that state.

Since not every state insurance commissioner is captured by the insurance industry, this is a big problem for them so they're heavily lobbying the feds to create a situation where insurance policies are regulated by the state the company is based out of.

This will let them set up an operation like corporate governance and consumer lending have, where one of the most corrupt states like Delaware sets up rules that let insurance companies do whatever they want.

comment 13y ago · link · parent

Kind of a cheap shot: This website created in compliance with a law designed to increase insurance industry control over medicine is overpriced, therefore we should remove one of the last remaining restrictions on that control.

comment 13y ago · link · parent

Without the close ceilings or walls it might not be as bad, if he got the acoustics right it might be more like being outdoors than the echoing-cave effect most open plan offices have.

comment 13y ago · link · parent

The next logical step in the progression would be to secretly sponsor Communists to suppress the NSA and their sympathizers. In a decade or two if the Commies get out of control, we'll be able to complete the cycle of history by funding al-Qaeda to fight them.

comment 13y ago · link · parent

Does obtaining the original Google authenticator QR code actually let you impersonate the authenticator? I was hoping it was a one-time shared secret only used for the authenticator to identify itself to the server for bootstrapping purposes and that a used QR code would be worthless.

comment 13y ago · link · parent

Maybe not for the money, but I could see Zuckerberg being in charge of MicroFace being good for him and both companies. Sort of like AOL-Time Warner only hopefully without the bubble as backdrop.

comment 13y ago · link · parent

If the point of an MVP is to reduce product risk (and I think it is), then yes, products where you're essentially certain that if you build it they will come don't gain anything from an MVP -- you've already solved the problem it addresses.

The people who are beating the drum for "always do an MVP" suspect that founders systematically overestimate how well they've figured out the market and how exactly they've nailed what their customers will want. I think they might be right, there's a "whistling past the graveyard" habit that optimistic startup-types take on where they avoid bad news in the hope it'll go away.

comment 13y ago · link · parent

Where do I complain about the false advertising going on over at http://time.travel/ ?

comment 13y ago · link · parent

I'm gonna guess the correlation between profitable airbnb and rent control is strong.

comment 13y ago · link · parent

Customs will seize your domain name without warning or following any particular legal process. https://www.eff.org/deeplinks/2012/08/members-congress-deman...

comment 13y ago · link · parent

The RT had months to sink or swim on its own and was already something nobody wanted by the time you could order a Pro.

The market confusion between the two is enormous, and it's not going in the direction Microsoft wanted: I routinely run into people who are under the impression that all tablets with Windows that they see are crippled ARM devices and not usable computers. If tablets running Windows are Microsoft's future they badly poisoned the well with RT.

comment 13y ago · link · parent

If you want to do something less tricky and low level than dd just remount the drive in question read-only and use tar. (be root to keep permissions, --use-compress-program=pigz)

On the restore side, you can just use pv like cat, and don't have to provide a size param:

  pv my.img.gz | pigz -d | dd (or hopefully tar xf - instead)...
In an ideal world a tool like pv could just look at /proc/fd/fdinfo/ instead of shuffling all the data through itself but I haven't found a tool that clever yet.

comment 13y ago · link · parent

It should be possible to make an OSX app that disables the hardware keyboard and touchpad, that can be toggled by voice password.

The laptop only being accessible via voice recognition and one button should be enough to render the entire system unusable to casual snoops.

edit: Looks like you can disable/reenable the builtin keyboad/touchpad with terminal commands, so it'd just be a matter of scripting them to voice shortcuts: http://superuser.com/questions/214221/how-can-i-lock-the-mou...

ps: be sure to have a plan B to reboot your laptop while experimenting with this in case it locks out your controls somehow.

comment 13y ago · link · parent

You would expect anyone else in the world to avoid compatible proof-of-work functions for exactly that reason.

comment 13y ago · link · parent

Is that a goal? I'd rather own a company where the pay was unfair and inconsistent but it delivered on products and made money. I'd rather work for one, too.

It's not like Jack Welch's worst idea isn't a driver of politics and strategic[1] moves in the real world.

[1] as in, bad for the company but the most rational move for the employee, like attempting to make sure every person added to your team is worse than you.

comment 13y ago · link · parent

There's a broadly-held idea that passing around compiled images ready to be copied into memory as software is too fragile, arcane and low-level and that we should just put the human-readable source on the target machine to be consumed by the runtime.

Isn't that directly equivalent to having a preference for a textual wire protocol?

comment 13y ago · link · parent

I doubt the customer failed to understand that the customer support rep thought that the issue wasn't their fault; the customer was getting angry because they thought the rep was wrong.

Analogies don't convince and are often seen as condescending or evasive: "I asked for help, and I get word games"

comment 13y ago · link · parent

Why does it make very little sense? If the exposure was below the threshold dose at which radiation has been established to be carcinogenic it sounds like the most defensible position. The alternative is to say that anything can have an effect on cancer risks, which even if true in some pedantic sense isn't a useful way of looking at risk.

It's not like large-scale low-dose ionizing radiation is an unknown phenomenon: radiation exposure from the ground and sunlight vary widely, and we have very large data from chernobyl and 1950s above-ground nuclear testing.

comment 13y ago · link · parent

Update: Upon testing, it's more subtle than that.

Mysql will still use the column for a covering index and run the query in a single-pass, but it will still generate a temporary table for the results (and do a really slow sort unless you do 'order by null'). It doesn't look like mysql has any way of doing date grouping without temporaries even in the trivial cases. I guess eliminating the sort was enough for my queries.

Using date()-like functions, date_format(), and left() all have identical query plans and roughly comparable performance.

comment 13y ago · link · parent

It's an https request to GitHub, which has about a million more subtle ways to own your machine if they really wanted to.

Figuring out how to solve the TOCTOU problem for a small script in a source control repo is should not be difficult for anyone actually qualified to tell if a script is evil or not by looking at it.

comment 13y ago · link · parent

If you just need simple subdivisions of time, like

  group by date(col)
or

  group by date(col), hour(col), floor(minute(col)/5)
an index on col is enough, or at least the last time I checked for my specific queries it was. If you need something like group by hour-of-day you'll need to create an indexed column of course. (this is with mariadb but I think basic mysql handles it too)

comment 13y ago · link · parent

What efforts are these? That sounds much more interesting than mucking around with HTTP micro-optimizations.

comment 13y ago · link · parent

But the OP said he was using cyanogenmod before, is he claiming that the hardware phones home even when he's not using the motorola firmware?

comment 13y ago · link · parent

The business with the reset count tracking isn't necessarily as creepy as the shovelware/adware apks in the default image, or the serious information leak in activesync in the other Motorola thread.

I'm guessing the firmware update downloader sends some sort of hardware identifier, plus a firmware flash counter, to the update server. This would be the obvious way to prevent re-updating a device that reset itself or was manually reset after a firmware update hosed the system, which would trap the user in a loop. A (device id,firmware revision,reset count) table somewhere in the motosphere isn't exactly PRISM.

Outside a tiny number of hardcore custom ROM tweakers, 21 resets almost certainly indicates some sort of problem.

comment 13y ago · link · parent

I don't understand the "Multi-core effects" one. Surely the linear memory scans in c[i] = a[i] + b[i] will result in cache prefetch and thus be limited by memory bus bandwidth and not cache size?

comment 13y ago · link · parent

Another red flag is that the "Risks and Challenges" Kickstarter mandated doesn't actually disclose any risks or challenges, just generic statement that could apply to literally any manufactured product and a bunch of puffery about how great they are.

comment 13y ago · link · parent

I don't believe in autoincrement so I'm not up to date on the evil things you can do with it, so I'm unclear why this bug matters: All it does is change the arbitrarily chosen start value for new rows, what could that break?

The existing behavior makes more sense anyway, as it preserves 'truncate table' <=> 'restore nodata dump' equivalence better.

comment 13y ago · link · parent

The only purpose of session resumption is performance, right? I thought someone published a report recently that real-world servers don't get enough successfully resumed sessions for it to even be worthwhile, particularly in a world with crypto hardware, SPDY and HTTP keepalive.

Wouldn't it be easier to just disable TLS resume than to figure out how to do it right?

edit: It was another agl article, https://www.imperialviolet.org/2010/06/25/overclocking-ssl.h...:

  Since the session information contains key material, 
  it's never cached on disk so the attempted client 
  resume rate, seen by Google, is only 50%.

comment 13y ago · link · parent

I just ran a little experiment, because I'm out of practice on that sort of thing and too lazy to use anything but Pandora and Rhapsody anymore.

Google searching for 'pink floyd the wall' and clicking the three most obvious links in order gets you a well seeded torrent file. None of the links on the page obviously lead you to somewhere to pay to stream/download the album legally (although there is an iTunes link for the movie at the bottom).

Pirates are still winning on convenience, let alone cost.

1
363738
55