Better HN
topnewbestaskshowjobs
Log inSign up

bytesandbots

132 karma · joined Feb 26, 2015 (11y ago) · 61 submissions

Submissions

comment 7y ago · link · parent

These constructs also helps people buy more expensive items than what they could afford without credit. I wouldn't jump to that conclusion just because it exists. Credit companies also take small fraction of the transaction. The store is willing to pay that fees because it increases their revenue.

comment 7y ago · link · parent

They are able to verify that the user selection is correct. It is possible only if they already have the right answer. If they already have the right answer, what are they training for.

comment 7y ago · link · parent

I was expecting the predator to be humans.

comment 8y ago · link · parent

On a related note, the link to twitter:image is also on wrong domain.

comment 9y ago · link · parent

Have you tried watching Amazon Prime on Opera browser? Most premium content will not play on any browser other than Chrome, Edge and Firefox. If they play, it will be only SD version. This is not because Opera has not implemented some web standards. It is because the major three browsers have all implemented a proprietary system of content protection.

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

> Do unto others as you would have them do unto you.

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

https://pippinbarr.github.io/itisasifyouweredoingwork/js/dat...

Why are some inspirational quotes commented while others aren't?

comment 9y ago · link · parent

http://rescuetime.com/ has clients for almost all OS including Linux but excluding iOS. It also has browser extensions.

comment 9y ago · link · parent

Sounds ok. Thanks

comment 9y ago · link · parent

To add to that

4. You will need a clipboard everytime to copy paste which is not very safe

Suggestion: Add a salt parameter to make it less deterministic, keep these salt in a personal database

comment 9y ago · link · parent

I wanted to do something similar with a slightly different formula but got into major issues. I couldn't log in from any other computer without opening a terminal and typing code for two minutes. I couldn't use it from a mobile on the go. key logger was even more dangerous since now the attacker could learn all my passwords instead instead of just one.

comment 10y ago · link · parent

Do you also get this problem with Chrome browser? If you are using Firefox, it uses an old flash player 11.2 which does not have full support for flash drm. Google chrome for linux comes pre-packaged with pepper-flash, a chrome-only port of the latest flash player. That one should work.

comment 10y ago · link · parent

Yes, it is possible. However, note that webm on safari will require transcoding vp8/vp9 into h.264. This is much more compute intensive than just transmuxing a flv (which has to be in h.264/aac) into another container (in this case fragmented mp4).

Here is an example of playing HEVC with this method: https://strukturag.github.io/libde265.js/

comment 10y ago · link · parent

Note the distinction between two types of js driven video playback that are possible. Those which require transcoding and those who can do with just transmuxing.

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

On android, this only works when the app is using http urlconnection provided by java. If the app uses apache http stack, the request is not routed through the proxy settings. Such traffic will not showup in charles or the great MITM.

comment 10y ago · link · parent

Third party integration and inter-operability with third party apps has been one of the areas Android fared better than iOS. Now with Siri, Maps and Messages third-party APIs and keyboard updates, apple can completely shed its walled-garden image.

comment 10y ago · link · parent

Such things can get painful for github

https://github.com/CocoaPods/CocoaPods/issues/4989#issuecomm...

comment 10y ago · link · parent

How does this setup compare to using dynamodb streams with multi-region replication (and may be, elasticache replicated as a cache layer within every region).

49.

Netflix: Dynomite with Redis on AWS – Benchmarks(techblog.netflix.com ↗)

2 points · by bytesandbots · 10y ago · 1 comment

comment 11y ago · link · parent

For those wondering why not use UUID, most uuid implementation are guaranteed to be unique only when running a single machine. When working on loads of servers without putting any load on a central resource, you can not rely on either uuid or sequential.

comment 11y ago · link · parent

Default PRNGs primary use case is generating session ids for websites with upto 1000s of simultaneous users, not for assigning UUIDs.

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

DRM is protection of content from the consumer itself. The consumer is going to consume the data through an analogue channel. This channel will always be the source of extracting redistributable content. The very premise of DRM rules out any 100%-solution and sets it as obfuscation.

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.

comment 11y ago · link · parent

like it did for Adobe Primetime CDM

comment 11y ago · link · parent

That enforces my belief that the influx of new programming languages will continue for some more years and it will only get better.

comment 11y ago · link · parent

Open wildlife might be more accepting of any mutations(deformities) in wild animals than humans. Some study might be needed on the mortality rate of those animals or if any deformities occurred.

comment 11y ago · link · parent

You seem to be solving a very sought after problem which also makes it so much more difficult. Where do you plan to source this much info?

Can somebody make me understand why ipv4 assignments along with their requests are not made public?

57.

Web development is the intersection of art and programming.(medium.com ↗)

1 points · by bytesandbots · 11y ago · discuss

comment 11y ago · link · parent

Can an interpreted language be completely written in itself?

comment 11y ago · link · parent

I guess it might be very useful in a cloud like environment where you use this set up to pipe data across scaled up servers.
123