HNHacker News
TopNewBestAskShowJobs

lewiscollard

728 karma · joined August 28, 2015

Django by day, petrolhead by night, cat BFF all the time - root@lewiscollard.com - https://exhaust.lewiscollard.com/
submissionscomments
lewiscollard··on Google had a plan called “Project NERA” to turn the web into a walled garden
> You can install uBlock Origin on Brave and Chrome too.

...for now.

Be aware that Chrome is going to stop supporting Manifest v2. This will make uBlock Origin stop working - not because the author doesn't want to support v3, but because it is not possible for uBlock Origin to work under the new extension API.

If you like uBlock Origin, now would be a good time to get out of the habit of using Chrome.

lewiscollard··on RSS is wonderful
Playing with the code, I think there's actually three problems here:

1) I don't think doesn't recognise relative paths in the tag, which HN uses and is entirely valid, e.g.:

  <link rel="alternate" type="application/rss+xml" title="RSS" href="rss">
2) The code does HTTP requests in more than one way (aio, `get_response_content`, `get_request`, and whatever feedparser uses internally), and only one of those sets the User-Agent header properly, which is probably causing it to get flagged as a not-nice bot

3) ...and once you fix those problems you will likely get a 503 for requesting the feed too often during testing :)

[Edit: and no, I'm not _just_ complaining; expect some pull requests over the next few days.]

lewiscollard··on Noam Chomsky on the cruelty of American imperialism
In Firefox, open in reader mode. You'll get a truncated article the first time, but if you F5 while in reader mode you'll get the entire article.
lewiscollard··on Those who witnessed Castle Bravo looked into Armageddon
> This oversimplifies it. How does that logic apply to Britain, France or Israel?

While it may not have been a fear of being nuked, the United Kingdom's program was very much motivated by fear of the United States in other ways. Ernest Bevin said at the time:

> "We've got to have this thing. I don't mind it for myself, but I don't want any other Foreign Secretary of this country to be talked at or to by the Secretary of State of the United States as I have just been in my discussion with Mr Byrnes. We've got to have this thing over here, whatever it costs ... We've got to have the bloody Union Jack flying on top of it."

Cited from: https://en.wikipedia.org/wiki/Nuclear_weapons_of_the_United_...

lewiscollard··on Lemmy – A link aggregator for the fediverse
If it was possible to write an effective slur filter, I would not find it completely objectionable. Not because that would be useful to stop people saying completely shit-headed things if they really wanted to (I strongly suspect you could get the entirety of Mein Kampf past that filter), but as a "people who use these words are not welcome" signal, which definitely has some value.

As it is, it's bashing the problem with regular expressions, and doing so badly. I mean, some of those words actually have completely different, non-offensive meanings in certain communities & contexts. (One of a few I spotted: Last time I used "retard" was in the context of ignition timing...)

lewiscollard··on The Chernobyl Tragedy – From the Memoirs of Nikolai Ryzhkov
> Did anybody find it weird that a series that ended with a rousing affirmation of the value of truth was full of so much gratuitous falsehood?

That rousing affirmation of the truth being in a courtroom scene that never happened - quite so, though "weird" doesn't quite cover it. On the subject of the individuals portrayed, I thought its depiction of Anatoly Dyatlov particularly slanderous.

lewiscollard··on Not school or homeschool, but modular learning
> So does real life.

As an adult, you usually have the option of walking away.

> People need experience dealing with these situations.

I think kids need to be taught the kind of self-respect such that they know when it is appropriate to deploy a healthy "go fuck yourself". Not clear that state schooling does a great job of this - indeed, if it's teaching them anything, it seems to be you are going to get bullied and you have no choice butto put up with it.

lewiscollard··on Lesser Known Terminal Editors
Joe gang! I also started using it about 20 years ago because, for whatever reason, that was the editor that was there and the editor I heard about, and then I never stopped.
lewiscollard··on Will Linux phones stay around this time?
Exactly this. There are many predictable comments in this thread about why they think mass adoption of Linux phones won't happen. I even agree with them, but they are missing what I think is the point. I don't care if they take over the world; I want a means by which those of us that do care about privacy and openness and control can opt out.
lewiscollard··on Tell HN: A case of negative SEO I caught on my service and how I dealt with it
> Russia has no GDPR or something. So you could put (special key in) a cookie?

It is entirely permissible under the GDPR to use cookies for security purposes.

lewiscollard··on LinkedIn’s Alternate Universe
I wonder if Antibias for Chrome is what the parent post was talking about: https://chrome.google.com/webstore/detail/antibias/gfeilphhb...

The agency that developed it wrote about it here: https://www.bynd.com/case-study/antibias

I've not used it, but I think the idea is thoroughly neat.

lewiscollard··on Elasticsearch does not belong to Elastic
I have not read the opinion you refer to, but Elastic themselves admit "it is not an OSI approved license and is not considered open source".[0]

> but it's a bad license because it's too vague

That has historically[1] been a reason for the free & open source communities to reject licenses; nobody wants cavernous uncertainties about what you can and cannot do under a license's terms.

[0] https://www.elastic.co/blog/license-change-clarification

[1] See, e.g., why the FSF rejected the original Artistic License. https://www.gnu.org/licenses/license-list.en.html#ArtisticLi...

lewiscollard··on Elasticsearch does not belong to Elastic
> as opposed to pragmatic FOSS

Call it whatever you like, but it's not "pragmatic FOSS", it's not "FOSS" at all. It is neither free (by the FSF's definition, which goes back to at least 1986), nor open source (by the definition first published in 1998, derived from the DFSG published in 1997).

> for the real world

The "real world" in which Elastic's revenues, as the article points out, were $427 million last year. And please don't use this cheap rhetorical trick wherein anyone with different priorities must get back to the "real world" (defined loosely as "whatever I say it is").

lewiscollard··on A pure WebAssembly / JavaScript port of FFmpeg
I don't suppose you dismissed one of those "totally GDPR compliant" cookie bars right before that, did you? (You may have to think very hard; it's basically muscle memory for us these days...)

I've seen this trick in the wild. "No autoplay" means "no autoplay without some user interaction first". And clicking one of those "I accept" buttons is indistinguishable from clicking on any other random element to make it play a video. So they just made the "I accept" button play the video as well as dismiss whatever thing was probably covering up the website.

Some people are terrible.

lewiscollard··on Netflix Targets Critical ‘Cuties’ Tweets with Copyright Takedown Requests
> The First Amendment deals with the government, not private companies. If this were true, every user blocked from Twitter, Facebook, or Reddit could take those companies to court for violating the First Amendment.

Except Netflix is using a DMCA takedown request, a legal instrument, to remove the disputed content. I don't think it's reasonable to completely write that off as "Twitter is a private company, First Amendment doesn't apply".

lewiscollard··on Firefox usage is down despite Mozilla's top exec pay going up
The GP referred to "highly-paid executives and HR departments and all that", not developers.

Still. There are some obvious counter-examples of development of extremely complex projects being community-driven under the aegis of much lighter-weight organisations than Mozilla. LibreOffice is an obvious one; The Document Foundation had (at the last report) total expenses of $679,000, with nearly all of that coming from user donations.

Edit to add source for the numbers: https://nextcloud.documentfoundation.org/s/LEat3j6nepdggNk#p...

lewiscollard··on DOS Subsystem for Linux
I look forward to your writeup, but in the meantime, thank you for your comment explaining how this works. Excellent hack!
lewiscollard··on Instant.page
> But isn't it dangerous? How does it know you re not preloading the "please delete everything" link?

As a sibling comment points out, if it's possible for someone to delete everything via a link, your users have already lost. Someone could, e.g., trick your users into loading an IMG tag or an IFRAME pointing to that page, or give them a shortened URL that redirects to your "delete everything" page.

GET requests should never have side effects.

lewiscollard··on Instant.page
> It’s an old idea that keeps resurfacing and frankly I think it misses the real problem of modern websites: they’re too bloated with code that the user is expected to run and yet isn’t there to serve the user.

I agree that the latter is a problem with many modern websites. That, however, does not mean that this approach does not have a place; many people (especially people among the HN and HN-adjacent crowd, who tend towards simple layouts and static site generators) optimise their sites as much as is reasonably possible, and specifically, don't pessimise their sites with megabytes of tracker & ad scripts. For those people, instant.page might well be a worthwhile optimisation.

lewiscollard··on Instant.page
Quicklink prefetches links as they arrive in the viewport. Instant.page prefetches them when you hover over them.
lewiscollard··on Now you C me, now you don't
That's frightening. Is there any legit use case for this in the real world that would stop, e.g., glibc from removing it altogether?
lewiscollard··on Please read the paper before you comment
> It scares me how much people on twitter believe that what they see trending on there from the news and other sources is being seen and blown up worldwide when it's not. It's being blown up worldwide ON TWITTER.

Unfortunately, "Twitter users react to..." is an entire genre of news article these days, even on otherwise-reasonable sources like the BBC.

lewiscollard··on Coherent: Unix variant for DOS compatible PCs (1994) [pdf]
It's a command with my initials too, so how could I not compile and install this :) Thanks for doing this!
lewiscollard··on Epic Games has filed legal papers in response to Apple [pdf]
> Long have we suffered under your rule.

Who is this "we"? It definitely doesn't include me, as I do not own an iPhone and never will. If _you_ own one on the other hand...I presume you knew about Apple's practices and Apple's lock on their devices before you bought one. Why did you buy one?

Your reminder that iOS has 24.82% market share on mobile. That is not anything like a "monopoly" in any meaningful sense of the word. https://gs.statcounter.com/os-market-share/mobile/worldwide

lewiscollard··on Ubuntu Will No Longer Track Which Packages Users Install
On Ubuntu you still have to explicitly enable it - and unless I missed something in my last couple of Ubuntu installs you are never prompted to enable it during installation. If you want to opt in, you have to do a dpkg-reconfigure and even then the default is still "No".

This is not privacy-hostile in any meaningful way.

lewiscollard··on Firefox 78
> 1. The omnibar completion isn't as good. Chrome figures out where I go pretty regularly, and autocompletes extremely well based upon habits.

That's interesting, because I have found rather the opposite, for how I use it. Chrome doesn't seem to remember anything but my most frequented sites; with Firefox I find it much easier to find that thing I was reading a few weeks back that I did not bookmark by searching a word from the title. Chrome doesn't seem to remember anything but my most frequent and/or very most recently visited sites.

lewiscollard··on Windows98 Running in the Browser
Please don't bring up this ancient comment any time file synchronising or Dropbox is mentioned. Doing so was not funny the first time and it's still not.
lewiscollard··on Windows98 Running in the Browser
Awww, "My Briefcase"! I had totally forgotten that was a thing :) What a nice little nostalgia trip.
lewiscollard··on A primer on the cruel, tacit laws of type-level programming in Haskell
I thought the pop-culture references were both extremely funny and well-played. It also seems that the author of the post is both a woman and alive in 2020, so no, not at all sexist by today's standards.
lewiscollard··on “Adobe Flash is no longer supported in Safari”
livestream.com (owned by Vimeo) still requires Flash when I access it with Firefox. I occasionally used it to find obscure/minor motorsports livestreams from random parts of the world (before lockdown put an end to most of that).
← PreviousPage 3 of 7Next →