Better HN
topnewbestaskshowjobs
Log inSign up

codys

1,284 karma · joined Oct 6, 2011 (15y ago) · 430 submissions

podcast-again-1k@icloud.com
Submissions

comment 11y ago · link · parent

Ah yes, lets add all the problems of vulnerable basebands to wifi routers too. No issues there.

Edit: And the possibility for purposeful maliciousness on the part of the baseband manuf. And after all, all a closed system like a baseband does is increase the cost of replacing it. It might be out of reach of you and me, but is it out of reach of everyone?

comment 11y ago · link · parent

I clicked expecting an actual discussion of "algorithm fairness" in the sense of how a scheduler can be fair (what that means seems to elude me still).

Instead of talking about "algorithm fairness", it appears to be talking about "algorithm equality", or alternately "algorithm legal-non-descrimination".

I'd expect one could just avoid feeding an algorithm data about enumerated protected classes (for jurisdictions where such a thing exists) and be done with it.

Avoiding non-protected-class data that is correlated with protected-classes seems almost contradictory: you'd need to feed the algorithm data about protected classes so it could determine the correlation, and then apply the inverse correlation to to the protected classes.

I'm not even sure such a thing is possible to do correctly, though I suppose what I've described is simply a techno implementation of affirmative action.

comment 11y ago · link · parent

> Has anyone actually confirmed that Chrome is continuously sending audio back to Google?

That's not relevant. The problem is that they _could_ do that (for some subset of users, potentially) and in most cases no one would even notice it.

comment 11y ago · link · parent

I missed that the parent comment added that conditional. I suppose I should have responded directly to them instead of under this comment then.

comment 11y ago · link · parent

Arbitrary code controlled by a single organization (Google) is still arbitrary code.

comment 11y ago · link · parent

In case anyone is wondering, "Maxwell" is Nvidia's current shipping GPU microarchitecture: https://en.wikipedia.org/wiki/Maxwell_%28microarchitecture%2...

comment 11y ago · link · parent

I hope so, but no one except systemd is using it yet. Last time I checked the sd-bus.h header isn't installed with systemd yet due to the systemd folks concern that that API for sd-bus wasn't finalized yet.

It would be very interesting to benchmark it against the glib implementation (which most people, even if they aren't using glib directly, are using these days).

comment 11y ago · link · parent

The article lists percentages of capacity as if every battery (or battery controller) reports the full range of capacity (or allows charging to actual full capacity or discharging to completely empty).

I had thought that many manufacturers (at least Apple) had added things that specifically limit the amount the battery is charged to less that "100%" while (of course) still displaying 100% to the user (essentially, users see the the capacity as dictated by policy, not by physical characteristics).

Is this article only talking about "dumb" Li-Ion batteries? I note it's a "watercraft" related blog, does that mean the same mentioned percentages don't apply to non-watercraft/consumer Li-Ion batteries?

Further, we get some numbers, but we don't get the data those numbers are from. I presume they are just "these seemed to make sense to us from our anecdotal evidence".

comment 11y ago · link · parent

> At this point they will release the busybox sources, potentially including the in-house version, but not under GPL

Do you mean they'll release the busybox sources potentially not under GPL, or the in-house version potentially not under GPL?

The former is probably legally difficult, while the latter is expected.

What isn't clear to me is how action regarding the use of copyrighted materials taken after a legal claim is made could have an effect on on-going proceedings.

Perhaps someone with more legal knowledge could elaborate?

comment 11y ago · link · parent

There's a governance structure? That's news to me.

I was under the impression that a few primary contributors (mostly/all mozilla employees?) are gatekeepers to merging anything.

Having an "RFC" issue tracker isn't the same as having a governance structure.

Edit: I suppose you could call the above a 'governance structure', but I'm having a hard time seeing anything impressive/different about it from other open source projects

comment 11y ago · link · parent

Yes, even c99 has them IIRC.

The issue that was called out, however, was the use of "FOO(x, ## __VA_ARGS__)".

GNU C has an extension that causes the ',' to be removed if __VA_ARGS__ is empty. AFAIK, it is not standard.

comment 11y ago · link · parent

While it is unfortunate they don't use forward-declared structs instead of void pointers, that only means that potential type checking that could otherwise be done by the compiler does not happen, the use of void pointers in and of itself is not a bug, it just can make it more likely that code using the library won't know about bugs until too late.

comment 11y ago · link · parent

The article is comparing intrusive (see linux's list_head as an example) vs non-intrusive (std::list) lists.

Given that comparison, intrusive lists (which the article appears to argue for over std::list) are almost certainly better (barring some type of list node allocator that can somehow obtain locality with other nearby list nodes).

Once you throw std::vector (or similar dynamic arrays) in, it is a bit different (different trade offs), but that is not what this article is comparing

comment 11y ago · link · parent

Yep, I remember that and http://boxcar2d.com/ ending up on HN some time ago

comment 11y ago · link · parent

The page says "bonus points are given for each proper step forward".

So it appears they are optimizing for whatever their idea of a "proper step" is.

comment 11y ago · link · parent

A more accurate title for the slide deck might have been "Getting started _modifying_ Rust".

Only a single slide deals with "contributing" the changes made.

And I'm happier with the actual slides than the ones the title implies.

comment 11y ago · link · parent

Anyone know what the things he "couldn't talk about" were? I was hoping to hear the open mic bit at the end for a hint but the video is cut off.

comment 12y ago · link · parent

I'm interested in knowing if this affects Windows XP. From the page:

> Other versions or editions are either past their support life cycle or are not affected

And XP is unlisted. Seems to imply that it could be either one.

comment 12y ago · link · parent

Yep, I was imediately reminded on onion routing (which is what tor uses) when reading the article.

comment 12y ago · link · parent

What is being complained about here?

The obvious thing that stands out to me is potential timing attacks: 'and' doing short circuit eval, and '==' exiting early when the first byte is non-equal (or the lengths are non-equal).

comment 12y ago · link · parent

And an even slower page fault mechanism. PPC generally ends up relying on hugepages to try to match pagefault speeds on x86

comment 12y ago · link · parent

Which is the reason for the AGPL license. Those people contributed their code under the MIT license. This is absolutely allowed.

comment 12y ago · link · parent

ustr [1] is another library to consider. It uses a variable sized header to avoid having large (percentage wise) overhead for short strings.

1: http://www.and.org/ustr/

comment 12y ago · link · parent

> So please don’t speculate about the impact of the deal either outside or inside Google

So google employees aren't supposed to discuss their impression of the deal at all, even internally? That seems rather heavy handed.

comment 12y ago · link · parent

Parallel Construction, anyone? They just happened to be executing a search of his gmail account and certainly hadn't looked over this trove of emails from people trying to be secretive?

comment 12y ago · link · parent

Linux has functionality to wipe encryption keys from memory (and require their re-entry) without unmounting the encrypted filesystem (see "luksSuspend" in the cryptsetup man page). Unfortunately, I don't know of any screen locks that automatically tie into it.

comment 12y ago · link · parent

I agree, though you may be underestimating the amount of space heavy users of file syncing services can consume:

For a single (1) robotics project in college we had CAD models, fundraising materials, reports, and documentation in dropbox. It's still there and consuming 3.8GB of space.

As soon as multiple projects (consecutively or in parallel) are using the same storage space, it even 50GB might get tight.

comment 12y ago · link · parent

I was not aware pinning memory in the CPU cache was even possible. Is this done via some Linux interface? Or directly by using some hardware feature of the CPU?

In any case, it sounds like a very interesting way of maintaining greater protection for secrets.

comment 13y ago · link · parent

Well, hassle Brother to release some Free printer drivers. They are one of the last major holdouts.

comment 13y ago · link · parent

And some of those things certainly benefit from being integrated into the FS.

I wonder if any knowledge at the filesystem level (as opposed to the block level, where bcache and dm-cache operate) could help L2ARC make better caching choices.

1
1112131415