Better HN
topnewbestaskshowjobs
Log inSign up

nirimda

301 karma · joined Aug 17, 2022 (4y ago) · 144 submissions

Submissions

comment 4y ago · link · parent

The GDPR didn't fester the web with cookie popups. There are literally zero cookie popups that exist because of the GDPR. Businesses who wanted to inconvenience customers festered the web with cookie popups in the hope that the customers would complain and obligations would be revoked. Every time you see a cookie popup, it should be a reminder that businesses are out there to screw you, not to engage in a mutually beneficial exchange.

comment 4y ago · link · parent

If it's SSH or HTTPS you aren't - the SSH client will check the fingerprint and abort on unknown, and the HTTPS client should check the certificate and verify that it was issued when a trusted client could access the same server via the same name. But if you have access to bind to a port, you can trick the trusted HTTP client as much as the end-user client. Maybe SSH is a slightly stronger guarantee here - if port binding permissions are holding out to the extent we haven't disabled them, then file read permissions are probably holding out too.

comment 4y ago · link · parent

In case anyone wonders what the cooperation is, normally when you start a program on Linux you get three open file handles: standard input, standard output and standard error. But if you use systemd socket activation, then when your program starts you get an additional open file handle per port.

So rather than binding to a port, you ask your webserver library to listen for requests on the extra file handle. De facto, this means the application author needs cooperation from their webserver library - it needs to have been written so that it has the option to listen from an open file handle rather than binding to a port and listening to the file handle it gets as a result of that bind. But since this is a reasonably common usecase, and basically just half of the normal process, you might discover that the library you're already using has support for it.

On the other hand, AFAIK docker doesn't support socket activation, so if you use docker to provide your runtime it's game over.

comment 4y ago · link · parent

Consider looking for a used color laser. They tend to last long enough that it's worth buying and selling.

comment 4y ago · link · parent

Who has been trained not to say anything negative about capitalism? I've heard and made many complaints. The number of people who complain about inflation profiteering is quite significant. If anything, unchecked capitalism is peaking. We may only be in for a plateau, but we may even be about to see another generational change about now.

comment 4y ago · link · parent

But we don't really have the option to buy a good quality printer. We can spend more on a printer, but the printer companies don't say "here we have a cheap printer that is designed to cause you trouble so that it becomes effectively a subscription service; there we have a quality printer that will last". And if they tried, it's unlikely we could reasonably believe them because everyone else lies. Cost is no indicator of quality, the reputation brand names are not protected, business do not have pride in their products. All they want is to take more money out of you than you gain in benefit.

comment 4y ago · link · parent

But if you bought full cartridges they would be expired or clogged before you half-used them.

comment 4y ago · link · parent

I suppose it's easy enough for many of you in Blighty to pop out this lunchtime for a pint and a bite to eat in a pub older than the UK itself. As an Australian I'm always surprised at how long ago European colonisation of North America began, but it's probably not too hard to find pubs from before then, as well.

comment 4y ago · link · parent

Vi predating certain paradigms explains why it doesn't follow them. But it doesn't make it any easier for a random developer who grew up in the context of those paradigms. A new developer wondering whether they should adopt some modern vi is not being unreasonable for searching out something that does follow the prevailing customs. (But they are on a fools errand, because there are exactly zero good general purpose developer environments and the question I have is which of gvim, intellij or vscodium pisses me off least today.)

comment 4y ago · link · parent

> I can't think of very many, if any, examples in computing history where a project, open source or not, followed the path of "dominating a domain" -> "sponsor does something crappy" -> "the community rallies around a fork" -> "the fork becomes a dominating force in its domain".

In addition to LibreOffice which you mention, once upon a time the classic example was GCC vs EGCS; the fork was so successful that it became the original thing. It might be harder to consider Firefox an example, since Chrome has taken over, but it was also a fork of Mozilla because Mozilla was too heavy under the weight of Netscape-mandated legacy features. The X.org fork of XFree86 took over because the project behind XFree86 brought in a licence that was not GPL compatible.

In only one of these cases was the sponsor a for-profit company - and it was basically dead - but I think that's because it's a fundamentally recent phenomenon that for-profit companies feel free to release their source code under a free licence. There just hasn't been the time. It takes time to develop a good project, attract a generation of users who take it as the norm, betray trust and motivated people to fork. If the time wasn't there, then they might just pick up what they'd used before or develop something genuinely new.

comment 4y ago · link · parent

Thanks. We must have different internet usage patterns. I'm using ublock origin, maybe it's just less disruptive. Or maybe GDPR rules make sites in the EU more forgiving of blocked bits.

For the ones you mentioned, Vanguard seems to have a lot of different login pages, but every one I found actually rendered - although some were white for so slow I wondered if they would fail. But not trying Uhaul because obviously I don't want to make a transaction.

comment 4y ago · link · parent

What doesn't work for you? I use it occasionally and I haven't noticed anything in particular that seemed broken.

comment 4y ago · link · parent

Do CPUs make a noise? I thought they were dead silent and any noise is the fan or a rotating disk.

comment 4y ago · link · parent

It's not a matter of what year it is. It isn't Linux's fault, it's a consequences of split responsibilities. On a laptop, Linux is essentially an aftermarket addon -- the product has to be released before it can be adapted.

And if Linux is a viable choice, then there really isn't a viable alternative to Linux. On the one hand, Mac OS is probably already ruled out due to some property of Apple and Windows is probably ruled out because it is too excentric to make for a smooth development platform. On the other hand, a lot of people who would prefer to use FreeBSD use Linux on their laptop as a pragmatic compromise (others use MacOS - this is one case where Linux and Apple are probably both legitimately in contention).

And so people just have to live with the fact that, when you buy a new laptop, it might be better after six months than it was on the day you got it. This isn't actually that big a deal. Most people are capable of tolerating disappointment and incomplete satisfaction, and it's usually considered as sign of emotional maturity not insanity.

If you don't like that, it's a matter of different priorities, not insanity.

comment 4y ago · link · parent

For instance, when you send a message from the backend container to the database container during ordinary CRUD, the backend container will largely be waiting for the database to start processing. Something similar for most frontend requests - usually in dev work, you press a button, it sends an API request and awaits the response; the API request sends a message to the database and blocks on the response. The database sits around idly waiting till it receives a message, and sends something back. Then the backend postprocesses the reply and produces the response, and then the frontend postprocesses the response. There is some degree of joint action during the actual communication phases but it wouldn't put a huge load on the multithreading capacity of your CPU.

Something similar can be said for Gitlab/Slack/Email - in the background, they could easily be using the spare CPU time rather than competing for time, and you wouldn't actually notice it. But they also should spend most of their time waiting around doing nothing.

So I think the claim is specifically true for some stacks with poor test coverage.

But if you have compiled code, it should probably be compilable in parallel (and if it isn't, you should be complaining to the compiler writer and/or refactoring your code). Likewise, unit tests should in practice be runnable in parallel - if they are not, they're probably closer to integration tests. Even integration tests should be writable so that they can run in parallel, because you hope to have more than one user acting in parallel. And you generally shouldn't be testing your feature development manually. Even if you prefer to visualise your process, you can code it up in something like cypress so that you can run them later or check up why you missed this special case when the bug reports come in.

So I disagree with the original assertion, but I don't think you've provided an effective counterargument.

comment 4y ago · link · parent

I've never knowingly encountered a website breaking because I have an adblocker, but I've being running adblockers of one sort or another for about as long as there's been ads on the web - so maybe there's just features I don't know I should experience.

Can you give an example of a website that breaks with an adblocker? (Please describe what breaks as well. Otherwise I might not notice it.)

comment 4y ago · link · parent

The purpose of a life peerage is status. If it confers negative status, then it's no problem to rename the House of Lords as the Senate and call them Senators, a la Canada, instead of Baronesses. This is the case regardless of whether the opportunity is taken to restrict the prime minister's rights to choose his (soon, presumably, her) own public advisors on legislation.

comment 4y ago · link · parent

> In general I recommend using the default font for "body text" because you know it is something that the user finds easy to read.

A lot of users don't know how to or can't change the default font. For instance, I have no idea idea how to change the default font on my phone, or even if I can. It's probably better to say "at least you know it's something that was selected to be at least tolerably usable by most people, which cannot be said of the design team's fancy spindly small-x font".

comment 4y ago · link · parent

I have heard that Windows users (or those more influenced by SQL Server) say "sequel" whereas Unix users (or those more influenced by Postgres) say "SQL". Think of how bad "Postgresequel" sounds in comparison to "Postgr-es cue ell". But what about other environments, I don't know.

comment 4y ago · link · parent

Are there any major free/OS projects for which (2) is different? Some projects accept next to no third-party diffs, other projects will accept documentation diffs as eagerly as code diffs. I've never heard of a project that is happy to take code but not docs.

comment 4y ago · link · parent

What if you're using ids and two organisations merge? Whatever solution works for organisation ids will work for organisation names.

comment 4y ago · link · parent

> What fees? There are no fees.

I guess that depends on the legal system. In some places the merchant frequently passes the fees on to the customer (and any contract between the payment network and the merchant which prohibits it is invalid to that extent by law). Then you need to consider the rules of the place you're in and decide which card to pull out, and you probably have your default card on Apple/Google/Samsung Pay set to be the debit card.

I think it's also common for a credit card to have an annual fee that probably doesn't apply to a debit card.

comment 4y ago · link · parent

In Australia they allowed merchants to pass on the payment network costs, and a good lot of them did - so you might pay x for cash, x + 0.5% for debit card or EFTPOS (equiv of European EC card) or x + 2.5% for credit card. I think it was partially responsible for a significant reduction in the use of credit cards in the country. But perhaps not the dominance of Visa/Mastercard in POS transactions, since most debit cards are in their network.

At first I hated the rule, but then I realised it was exactly a rule that put the decisions in the hands of the customer and the merchant and took power from the card networks.

(I don't live in Australia at the moment so maybe this is changed. I gather there is now also app-based credit payments which have eaten into Visa/Mastercard's market, both for credit payments and for POS transactions. But how significant, who knows)

comment 4y ago · link · parent

They mention in the faq that they do not use GNUStep's implementation of the frameworks, but they do use GNUStep's implementation of the libobjc2 runtime. There's licensing and goal issues. Apparently their Cocoa implementation comes from "the same source" as Darling's, but I don't know what that means. (Cross referencing with Darling's faq, I guess it's The Cocotron.)
12345