Better HN
topnewbestaskshowjobs
Log inSign up

thedance

613 karma · joined Jan 27, 2020 (6y ago) · 468 submissions

Submissions

comment 6y ago · link · parent

Merely exercising state powers is not authoritarianism. There are other necessary aspects that must exist. If a popularly-elected government orders a curfew that is not necessarily authoritarianism.

comment 6y ago · link · parent

The combination of the batteries in my phone and my laptop is clearly more capacious than the battery in the laptop alone.

comment 6y ago · link · parent

Here's a don't: don't bring some BS document for the fired person to sign. They have no reason to do so and shouldn't feel pressured to execute something like a non-disparagement agreement, unless it comes with a big checks stapled to it.

comment 6y ago · link · parent

Oh yes, I'd quite forgotten about the base model radio. Almost surprised it has no tape deck.

comment 6y ago · link · parent

The backlit display on the Tesla 3 is wayyyyy too bright for night driving, even at its lowest backlight intensity and in night mode. It is like they intentionally ignored all available human factors research. Tesla is not alone here. Many automakers these days have too-bright interiors for night driving.

comment 6y ago · link · parent

Thanks. I am familiar with why you want location data in photos. I am not familiar with any justification for why this data cannot be acquired from my mobile.

comment 6y ago · link · parent

At least in the US models of the Fit there's no difference in the interior trim levels. I think part of the confused nature of this discussion is that Honda never shipped the touch-only dashboard that this article is talking about in the US market. The Fit and as far as I have seen every model Honda sells in the US has always had real knobs and switches for the climate controls. The touch climate controls were available in Japan and elsewhere.

ETA:

Non-USA interior: https://img.sm360.ca/images/article/the-honda-way/58810//the...

USA interior: https://file.kelleybluebookimages.com/kbb/base/evox/StJ/1082...

comment 6y ago · link · parent

Why do I need my camera to have GPS? In what situation would I be equipped with a camera and not my phone, which certainly has a GPS? This seems like the same instinct that makes OEMs put mobile modems in laptops, as if I would ever have my laptop but not my phone to which to tether it.

comment 6y ago · link · parent

Reading the blog post (haven't read the paper yet) makes it sound like this technique might apply to fuzzing. If this thing seeks out and exploits novel states in a large state space, that's the kind of direction you want in your fuzzer too.

comment 6y ago · link · parent

You can change the location to which screenshots are saved as a standard macos feature. Just cmd+shift+5, click Options, click Other Location...

comment 6y ago · link · parent

Yes. Consider, for example, any reason why Las Vegas should continue to exist.

comment 6y ago · link · parent

It's related to https://medium.com/bugbountywriteup/zoom-zero-day-4-million-...

comment 6y ago · link · parent

Yeah but it’s a press release. What I’m telling you is if you walk to this site today, they’re still working on it and far from being done.

comment 6y ago · link · parent

We already do. It costs a lot but we've been paying it for more than fifty years.

comment 6y ago · link · parent

Building houses in factories doesn't really solve a big problem. We're actually really, really good at building on-site. Just look at the experience of Factory_OS and their building that was "built in 10 days"[1]. While it may be the case under a narrow interpretation, it's also the case that the project spent a year in site prep, 5 years in planning and permitting, and six months after "building" it they are still detailing and finishing and are another 6 months away from occupancy.

https://factoryos.com/press/housing-development-erected-in-w...

comment 6y ago · link · parent

Zoom is a wall-to-wall security disaster. When my company switched to it about a year ago one of my colleagues showed me how to force any Zoom room, anywhere on the planet, in any organization, to join our meeting. I just don't think it was architected for privacy and security, and you can't add those things later, so you should be prepared for a years-long trickle of this kind of news.

comment 6y ago · link · parent

They hardly sit. They just fly around for practice if there's nothing else to do. There would undoubtedly be more hours in the air if airlifting equipment from hither to yon, but I doubt there would be more takeoff and land cycles.

comment 6y ago · link · parent

I'm sure it's amazing but you only get to count the marginal cost of actually moving the material because we already pay all the other costs of the AMC regardless of whether they do any useful service or not.

comment 6y ago · link · parent

Imagine if there was a country with an "Air Mobility Command" having 50000 airmen and fifty gigantic aircraft (among hundreds of smaller aircraft), each of which can carry 40 pallets. Wouldn't that seem useful at this moment?

comment 6y ago · link · parent

Sure, that's why I put that last remark. But you might already know before hitting this block that the message is perfectly formed.

comment 6y ago · link · parent

Heh OK, see my other post for the simplest possible improvement.

comment 6y ago · link · parent

Example: hoisting the condition `if buf[i] < 0x80 ...` out of DecodeVarint into DecodeTagAndWireType speeds up the included microbenchmark by over 10% on my machine, just because it eliminates the function call for tags 1-15 (these are the magical tags, if you are using protobufs in a performance-sensitive context).

comment 6y ago · link · parent

You can beat the pants off this, even though it beats the standard proto library. Most of the time here is being spent calling out-of-line functions through Go's stack calling convention because the Go compiler hates inlining. For example, DecodeTagAndWireType is CALLing DecodeVarint, even though that's really where you want it to have been inlined.

If your use case is really simple, and you want the fastest possible proto decoding, you can hand-roll it pretty easy.

  message point { fixed32 x = 1; fixed32 y = 2; }
Then your code is structured such as

  var x uint32
  var y uint32
  for len(buf) > 0 {
    switch buf[0] {
    case (1<<3) & 5: // Field 1, type fixed32
      x=binary.LittleEndian.Uint32(buf[1:])
      buf = buf[5:]
    case (2<<3) & 5: // Field 2, type fixed32
      y=binary.LittleEndian.Uint32(buf[1:])
      buf = buf[5:]
    default:
      // Freak out somehow
  }
Improve the exception hardness of this code to the extent that it suits your use case.

comment 6y ago · link · parent

The idea that a bunch of GA misfits flying their mosquitos will be helpful in case of a major city being cut off by land is something only the AOPA could come up with. In that event they'll be landing C-5's and 744's full of potatoes at SJC. One flight of a 744 is worth 400 GA flights.

comment 6y ago · link · parent

http://www.ebudget.ca.gov/budget/2020-21/#/Home

comment 6y ago · link · parent

Jerry Brown passed the California "rainy day fund" in November 2014 on the same ballot on which he was re-elected. Literally re-elected on a budget surplus platform.

comment 6y ago · link · parent

The CAHSR could not have saved any money in 2010 because it wasn't funded until 2012.

comment 6y ago · link · parent

I guess if you get your California economic outlook from Grover Norquist's spokesman, you might get an incomplete picture. May I recommend a second source, such as the Bureau of Labor Statistics or other reputable agency?

comment 6y ago · link · parent

I don't get it. What disaster preparedness role does RHV play that the much larger and extremely nearby SJC cannot play?

comment 6y ago · link · parent

That was sort of my point, that an OEM can't really do minimal.
12345
16