Hacker News new | past | comments | ask | show | jobs | submit | achivetta's comments login

64-bit nanosecond values are actually pretty common on Darwin already. See e.g. clock_gettime_nsec_np(3).


It might not be the memory concern it once was, but today it might very well be a power concern. Modern laptop display pipelines can save power if they don't have to redraw any of the screen: constantly updating status bar animations break that.[1]

1: https://developer.apple.com/videos/play/wwdc2013/712/ (I think the relatively short graphics section mentions this. Can't seem to find the talk that goes into it in more detail...)


Can't watch on either Chrome or Firefox. Apple are real gits.


Neither Chrome or Firefox support HLS on the desktop despite providing support on mobile (since Android 3.0 I believe). They have categorically refused to add desktop support, if you have any complaints I would take it up with them.


> Neither Chrome or Firefox support HLS on the desktop

Both work well with JavaScript based implementations of HLS, such as VideoJS's HLS plugin:

http://videojs.github.io/videojs-contrib-hls/


Why would they support a closed, proprietary format when there exist better, open ones?


What is a better one? A patent pool has formed around DASH and you need to buy a license to use it:

http://www.mpegla.com/main/programs/MPEG-DASH/Pages/Intro.as...


Use a plain file? It's not like that video is a real time feed anymore.

Otherwise, include a js player with HLS support for other browsers.



You didn't actually answer the question.


I can't find any reference for them supporting it on mobile, and it doesn't work in either on my phone (Android 7.0, for what it's worth). In fact, in Chrome it even fails to display the "not supported" message.

Besides that, I would rather complain that Apple is using an obscure format than complain that Mozilla and Google don't support an obscure format.

EDIT: sorry, it seems mobile Chrome is supposed to work, but it just... doesn't. Still don't see any reference for firefox, though.


You can at least download the video in HD or SD under the "Resources" section on the page. They also have slides from the talk.


That's how LG's panel self refresh works. http://www.anandtech.com/show/7208/understanding-panel-self-...


Does updating 1 frame out of every 60 (or whatever) add significantly to the power expenditure compared to 0 out of 60?


There's code for it in Darwin's libmalloc, but it's not exposed as API.

reallocarray() has some difficulties as an interface, mostly inherited from realloc(). I'm a bigger fan of reallocarr(), but that's NetBSD only. We (the operating systems community) need to find a consensus here, but I'm not convinced that reallocarray() is that consensus yet.


reallocarray is a very thin layer around realloc. No surprises there. Simple find and replace to bring overflow checking into your code.

reallocarr changes the semantics. Equally easy in new pieces of code and a little harder when converting existing code.


Until signal handlers get involved...


You give the HSM the pin, it returns the key used to encrypt the data, applying the rules to that interaction with you. Emulating the HSM doesn't help since it is that phone's specific HSM with the key it knows that you need to access.


That won't be editable anymore. But you could disable SIP from recovery mode, make the change, then re-enable it.


Do you have a bug number, by chance? (If not, consider filing one at bugreporter.apple.com)


As far as "modern signal handling" goes: On OS X, you can also just create a dispatch source of type DISPATCH_SOURCE_TYPE_SIGNAL. If your code already uses dispatch, this is much easier than trying to wire up to kqueue directly.


Who is suggesting that users would carry beacons?


Only the specialized economists who suggest people would ever need to have signs, surely. Also, the rare restaurant that wants to garner advocates. Then perhaps amateur entomologists. Works engineers who want to know when something erodes would surely bury fiber optics rather than a RFID or battery device with 30 year lifetime.


I think the hesitations about passphrase being subject to brute force, rainbow table, etc. are warranted, but I have another concern:

If my passphrase gets compromised, I have to retire the keypair.

That's true of a key file with current asymmetric systems; but, presently if the passphrase of my GPG private key is compromised (e.g. by a hardware key logger), I only have to change the passphrase and ensure the old keyfiles are destroyed.

With MiniLock, if my passphrase is compromised the entire key material is compromised and I need to revoke the public key. But how do I revoke it? Do I tweet a message with the private key saying the public key is revoked? Will there be a centralized place to publish revocation messages? Efficient key revocation will be absolutely critical to this system and that's hard if the key distribution mechanism is tweets or some other ad hoc mechanism. This is one thing that PGP key servers really help with.


I actually approached Kobeissi with this point in the meeting in Noisy Square right after the talk, suggesting he integrate a TPM into his key management system (like how you can call out to one in Firefox for SSL with libpkcs5.so or some similarly named library). He responded that the specs were open enough that anyone could add that in. As to a centralized place your guess is as good as mine. Also can MacBook users even access their TPMs?


Depending on who you're protecting against you might want to _really_ avoid trusting your TPM.


Yeah, I wouldn't trust the TPM - certainly not from a Windows machine, and not even an Apple one after the recent revelations/research, which shows Apple tries to make the device secure against "regular" hackers, but very easy to access by Apple itself or the US government.


My current one is from atmel in 2008, before atmel quit making them, so I figure at least in this case I'm safe. I would probably not use a newer one if I was worried about TLAs though. As I am currently in the market for an MBP, where do I find this information about Apple TPMs?


My bad, Apple pulled them in 2006.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: