132 karma · joined Feb 26, 2015 (11y ago) · 61 submissions
comment 7y ago · link · parent
comment 9y ago · link · parent
There is another side of this story. Let's say you have to publish content on your website. You do not have any way to publish it as securely as "Amazon Prime" without signing an agreement with Google and Microsoft.
Thirdly, there comes DRM protection rules thanks to team MPAA. In most countries, you can not try to reverse-engineer the proprietary decryption module that comes with browsers without breaking laws.
Because of the above restriction, security professionals cannot break into the proprietary module to detect security vulnerabilities.
Edit: I was wrong about Opera. Opera is in on the DRM bandwagaon for a long time. https://blogs.opera.com/desktop/2015/07/opera-developer-32-0...
comment 9y ago · link · parent
Imagine a small company releasing a new js framework with BSD+Patents license. Will FB use ever this framework? No. Because merely using this framework gives this small company the effective freedom to infringe Facebook's patents. Why? Because the cost for FB to shift frameworks will be huge, thus prohibiting FB to sue this small company for patent infringement.
Using a software with BSD+Patents license is almost giving up the right to sue this company. This is dangerously radioactive.
comment 9y ago · link · parent
Why are some inspirational quotes commented while others aren't?
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Here is an example of playing HEVC with this method: https://strukturag.github.io/libde265.js/
comment 10y ago · link · parent
HTML5 playback can only support few codecs but FLV can contain a wide variety of video and audio codecs. Flv.js does a great job of transmuxing h.264 frames in a different container, hence it only plays those flv which are h.264/aac. Transcoding can make it possible to even play HEVC or any non-standard codec on browser. This can be heavy on CPU especially hand-held devices. When using one of these in production you must understand that it is not very practical to do transcoding on the fly like this : https://strukturag.github.io/libde265.js/ . It is theoretically possible to play vp9 on an ios or a hevc on a pc but this will be impractical for low-cpu devices.
comment 10y ago · link · parent
https://github.com/CocoaPods/CocoaPods/issues/4989#issuecomm...
49.
Netflix: Dynomite with Redis on AWS – Benchmarks(techblog.netflix.com ↗)
2 points · by bytesandbots · 10y ago · 1 comment
comment 11y ago · link · parent
One should use a combo of a sequential component and a random component. When you have multiple servers, make them combine a sequential component, a unique system identifier and a random number. In this case, you can now use the faster PRNGs which will also give you speed while ensuring uniqueness.
Another takeaway from this problem is that the usual method of Multiply-and-floor has a serious flaw of using only the highest bits which may not be good enough for the default fast PRNGs. A better method is to carry forward the remaining bits from the floor using a modulo function. The default fast PRNGs rely on all of their bits and simply throwing away a big chunk is not going to help. Multiply and floor might be more useful in a scenario where you are using better PRNGs. Even then, they are slower and it is not wise to simply throw the hard earned randomness.
comment 11y ago · link · parent
I feel it might be stupid idea but it is not impractical.
The effort of extracting content should be less than the maximum value that can be generated by redistribution. Thus, returns from piracy diminishes as you go from softwares to video to image to text. The effort of extracting an image is too easy via analogue hole. This is assuming an open technology ecosystem not exactly the RMS world but at least Linus or perhaps Mozilla. The enforcers of the DRM do the sensible thing of spreading their proprietary black boxes to as much people, until, they can shut down their doors to the rest of community. That is precisely when certain open source foundations too had to back down. That is how you can enjoy netflix only within your chrome browser.
What bothers me is why are they trying to make it into the standards. If it is built into the standards, it will be built into the downloaders as well. Remember what happened with HLS AES encryption, it is now built into the video downloaders itself. While I understand benefits of standardization, how it has given shape to tech, it might not be true with something so un-technical as DRM. If you do want obfuscation, at least do not make it standard procedure. You know very well that the strongest DRM can not be technically secure.
57.
Web development is the intersection of art and programming.(medium.com ↗)
1 points · by bytesandbots · 11y ago · discuss