HNHacker News
TopNewBestAskShowJobs

CapacitorSet

1,489 karma · joined July 27, 2016

[ my public key: https://keybase.io/capacitorset; my proof: https://keybase.io/capacitorset/sigs/3XQYiFYsETBVes6mFixMECaVoMYCJBjVFgwf6JikpeY ]
submissionscomments
CapacitorSet··on Low Level Bit Hacks You Absolutely Must Know
Which isn't super helpful, because there is [a GCC `__builtin_popcount`](https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html), a POPCNT intrinsic if you're developing for SSE4, and [existing implementations](https://en.wikipedia.org/wiki/Hamming_weight#Efficient_imple...) you can look up at any time if you don't want to reinvent the wheel.
CapacitorSet··on Linux sandboxing improvements in Firefox 60
Care to explain how to do that?
CapacitorSet··on Salsify – A New Architecture for Real-time Internet Video
That's correct, but it does not invalidate my point. Socialism involves the workers' ownership of the means of production.
CapacitorSet··on You know how HTTP GET requests are meant to be idempotent?
Technically speaking, idempotency as defined by RFC7231 only requires f(x) = f(f(x)).
CapacitorSet··on Salsify – A New Architecture for Real-time Internet Video
How is university and government funding socialistic? Neither involves the workers' ownership of the means of production (and indeed, they exist in a state that is anything but socialist).
CapacitorSet··on Show HN: Intuitive Linear Algebra and 3D Geometry
>Watch instead

Different tastes for different people. I found this website to be more useful, since I can browse, reread and skim through the text much more easily/faster than on video.

CapacitorSet··on How to scrape anything on the web and not get caught
That's a very low-quality article, in my opinion. It takes an entire article to show how to use a simple tool and how to fetch a list of proxies, uses Makefile when a shell script would do just fine, and exaggerates the title.
CapacitorSet··on CBC is destroying its broadcast archives after they’re digitized
I think there may be license issues, if the archives are not in the public domains. Other than that, yes, they might as well sell them and "recover" some money.
CapacitorSet··on Making a Statically-Linked, Single-File Web App with React and Rust
If you want to go super-minimal at the cost of being more dependent on Amazon, you can deploy the static website on S3 and use Route53 as an HTTP frontend.
CapacitorSet··on Facebook Secretly Saved Videos Users Deleted
>I can imagine that it becomes very difficult to keep track of.

The GDPR prompted them to make the data resurface, so it's not impossible to track this data given a few months of warning. It's just that Facebook as a company does not have an interest in deleting data they collected.

CapacitorSet··on Uber’s Self-Driving Cars Were Struggling Before Arizona Crash
Such is the nature of free-market economies: companies will go to great lengths, even wasting billions of dollars and thousands of man-days, for the sake of "competition".
CapacitorSet··on Guccifer 2.0 Slipped Up and Revealed He Was a Russian Intelligence Officer
If all it takes is "one occasion" for investigators to believe you're Russian, it's also definitely easy to throw investigations off course.
CapacitorSet··on Show HN: URL Canary – Get an alert when someone finds your secrets
Dropbox is not a devs-only product, given that eg. the CEO might want a personal Dropbox folder, or one might need a shared folder between the marketing team and the developer team (and even then, at the enterprise level it is not unheard of to use simpler alternatives like SFTP/NTFS shares).

Canaries on the other hand are exclusively used by technical people, who won't mind developing and spinning up a tiny honeypot.

CapacitorSet··on Show HN: URL Canary – Get an alert when someone finds your secrets
Indeed, at £1k (€1136, $1403) one might as well run an internal application. At a very basic level, it can be achieved with three lines of bash:

    while echo -en "HTTP/1.1 200 OK\r\n..." | nc -l $IP $PORT; do
        cat $MESSAGE | sendmail -i -t
    done
More complex configurations could still be worked out in <50 lines of Python.
CapacitorSet··on Geek Squad staff 'paid by FBI' to flag illegal imagery
That can always happen, it's just that now one would also get a compensation.
CapacitorSet··on Mark Felt-Tipped: Uncovering top-secret information by counting pixels
Random thought: using serifs to encode additional bits with a Reed-Solomon would allow for, say, one bit per letter (either we use the serif or the sans-serif version). Assuming latin characters, it would allow for t/2 = 1/16 (6,25%) of the original text - a bit lower if we consider that letters like "o" do not have serifs, somewhat higher if we remove easily-guessable words like "the", "an" and so on.

That's a good idea, I might do a quick Show HN about that.

CapacitorSet··on The Evil Within the Comparison Functions
I can understand the business reasons behind it, but it would be much better if these checks were implemented directly in mainstream compilers for the benefit of everyone.
CapacitorSet··on AMP for email is a terrible idea
Related reading: Against an increasingly user-hostile Web, https://www.neustadt.fr/essays/against-a-user-hostile-web/

>It all comes down a simple but very dangerous shift: the major websites of today's web are not built for the visitor, but as means of using her. Our visitor has become a data point, a customer profile, a potential lead -- a proverbial fly in the spider's web. In the guise of user-centered design, we're building an increasingly user-hostile web.

CapacitorSet··on Facebooks crawls every page recorded by its tracking pixel
>websites they were essentially invited to

Using an analytics pixel is _not_ an invitation to crawl a website.

CapacitorSet··on Discovering types for entity disambiguation
Works fine for me too, Firefox Nightly (60.0a1) on Linux.
CapacitorSet··on The cpu_features library
To add on the other comments, not only the machine where you compile is not the same as the one where you run your software, but consider the case where you want a software to run on as many CPUs as possible while still making use of advanced features where supported.

You'd tell the compiler "target a machine with <basic instruction set>", so it's not allowed to use advanced features like FMA because it can't assume they're supported. With this library, you'd check at run-time if FMA is supported, and then change functions accordingly.

CapacitorSet··on Lying to TCP makes it a best-effort streaming protocol
Maybe the client should lie probabilistically, so that there is still a relationship between what the sender sees and the actual congestion.
CapacitorSet··on RFC 8314: Use of Transport Layer Security for Email Submission and Access
I'm pretty sure users would also blame delays on the receiving provider, not the sender (and they wouldn't be wrong, technically). I can picture a user saying "Oh, sometimes it takes ages for mail to arrive to my Gmail address, please send that document to username@<minor provider which doesn't delay mail>".
CapacitorSet··on Show HN: A Decentralized StatusPage on IPFS
Yup, I agree that IPFS is not the best choice.
CapacitorSet··on Show HN: A Decentralized StatusPage on IPFS
One word: IPNS.

It's a DNS-like system, though much slower than DNS due to propagation delays. It points to the latest version (hash) of a document, much like a git branch.

CapacitorSet··on After alleged 'bait and switch,' Nevada DMV cancels $78M IT contract
Unsurprisingly, the work was outsourced to an Indian company, "Tech Mahindra".

Nothing against Indians as a people, but Indian outsourcing companies are known for the terrible product quality.

CapacitorSet··on A Man Who Volunteered for Auschwitz (2012)
That's quite a leap in reasoning. How did you come to that conclusion?
CapacitorSet··on A Man Who Volunteered for Auschwitz (2012)
I'm not trolling. Rather, I'd think you were trolling, considering the earlier comment where you thought I was calling him a spy for having participated in the Polish resistance.

Speaking of Pilecki, of course he thought he believed he was acting in the name of a legal government, but that's not what is being discussed here. The Soviets were correctly claiming him to be a foreign spy, since he was spying for a country which is foreign to the USSR, and treated him as such.

The question of which was the "real" Polish government is not in discussion, though you're repeatedly trying to derail the conversation towards that issue; my original comment was about the fact that the Soviets killed Pilecki by virtue of him being a spy, which was also common for other countries (unlike torture). Can we agree that the Soviets correctly viewed Pilecki as a foreign spy?

CapacitorSet··on A Man Who Volunteered for Auschwitz (2012)
Pilecki was not considered a "foreign spy" for his fighting the Nazis, but for organizing an intelligence network of his own and leaking information to the West. That counts as a foreign spy in my eyes, and I'm sure someone who did the same in eg. France would also be considered as such.
CapacitorSet··on A Man Who Volunteered for Auschwitz (2012)
> But the end of this story drives home just how brutal Russia was.

> it all ends up getting tortured and killed by Russians a few years after the war.

Is it that brutal? Killing foreign spies is something not unheard of in this historical period (see eg. Klaus Fuchs, who stole nuclear secrets), the only difference is in the torture.

← PreviousPage 4 of 9Next →