Better HN
topnewbestaskshowjobs
Log inSign up

consteval

1,210 karma · joined Jul 19, 2024 (2y ago) · 1,613 submissions

Submissions

comment 2y ago · link · parent

IMO, these "insufficiencies" should be addressed by safer APIs. The solution here should NOT be to just grant the app file permissions across the board.

For example, Search could be expressed as a separate permission and API operation. I see no reason why you need full file access to do a text search - the OS API can, and should, handle that.

The trouble here is people store all kinds of things in Google Drive, includes photographs. These could easily be exfiltrated to a server. This could cause identity theft, black mail, you name it. Performing a text search IMO is not a good enough justification for the potential risk of that situation.

comment 2y ago · link · parent

It is relevant, because it demonstrates it's both possible and common. Therefore, complaints about this not working in Android speaks more to insufficiencies in the file picker, not true capabilities.

A lot of people are arguing you need more powerful permissions due to hard requirements. Well, it's not a hard requirement in this case, it's a defect with the Android file picker and it should be fixed THERE. If the Android file picker does not currently work this way, which I bet it does.

comment 2y ago · link · parent

While this is true, in practice it's more secure than you'd see on most operating systems.

The reason being that the software is typically from a centralized, trusted repo that has been vetted by maintainers. The software is typically OS and it's not the app developer who releases it to you, the customer. It's the maintainer who packages it and will even apply custom fixes to it.

Yes, there's some trust here. But historically, there's very little examples of rogue Debian maintainers doing something naughty. Whereas on, say, the Play Store, the app dev distributes the App to you and the Play Store just does some preliminary black-box checks. They're not getting the code and packaging it like a debian maintainer would.

Some distros, like Debian, even FORCE app devs to use the system provided libs - they can't statically link their own library code. So they're pinned to a particular version of openSSL, libc, wlroots, libpng, etc. This prevents a huge variety of supply chain attacks. You can't bundle a compromised version of any one of the libs.

And lastly, in stable distros the software typically goes through many routes before landing on a customer device. For debian, you're looking at months of real-world usage in testing and unstable before you see the software. This finds out vulnerabilities - this is why, for example, debian stable never had to deal with the XZ vuln. This isn't true for direct-to-customer app stores.

comment 2y ago · link · parent

Socio-economic issues aren't one-dimensional, in fact they're very complex. Most of our systems and beliefs are socially constructed.

Humans are, by our biology, social creatures. Modern humanity more than ever before. If you're not considering the social effects, then IMO you're not addressing anything of value.

comment 2y ago · link · parent

We're quickly approaching how smart the average human can get, that's the problem and what sets this apparant from the historical norm.

This worked before because commonly people couldn't even read or do basic math. We figured that out and MUCH more and now everyday people are taught higher think for many years. People, today, are extremely smart as compared to all of human history.

But IMO we've kind of reached a ceiling. We can't push people further than we already have. In the last two decades this became very evident. Now almost everyone goes to college, but not all of them make it through.

The low-end has been steadily rising, that now for 20 bucks an hour you need a degree. That's with our technology NOW. We're already seeing the harmful effects of this as average or below-average people struggle to make even low incomes.

It's true that humans will always find new stuff to do. The issue is as time goes on this new stuff goes higher and higher. We can only push humans, as a whole, so far.

comment 2y ago · link · parent

It's a matter of how established the science actually is.

Questioning novel science is one thing but questioning if the Earth is flat or Germ Theory is another thing all together. The problem with skeptics is that they sometimes hang around conspiracists.

It's hard to not discount these people when the person next to them thinks black people are biologically inferior. Then when those skeptics don't distance themselves or don't explicitly condemn those bad actors, it brings to question if their positions are born of skepticism or some strange prejudice, and that they merely constructed the cover of skepticism to hide their strange prejudices.

For example, during the Covid pandemic there was a lot of questioning around masks. In hindsight, the answer is obvious: it doesn't really matter if masks were or were not effective, because they're essentially free to wear. Even in the worst case, nobody is actually hurt.

But there were many, maybe millions, of mask deniers who would simply refuse to wear them. They were doing this because of institutional distrust and political motivations, not because they truly believed the masks were dangerous. And this is the trouble: these people are skeptics, but they're skeptics with an end-goal of political destabilization, i.e. they're dangerous.

When you mix it all together, which people often do to themselves, it's discredits the very thought process.

comment 2y ago · link · parent

> The most obvious example would be if they only applied it specific racial groups or something like that - highly illegal.

Right, discrimination based on protected classes is illegal.

Discrimination based on other needs is not illegal, and is in fact how all businesses work. They discriminate based on income, based on how you're dressed, based on how nice you are.

> This would almost certainly be considered a violation of antitrust laws.

Not allowing abuse and DDOS of your free services is just not on this level. Sorry, in my opinion it's not even close to comparable.

If Amazon was your competitor and they also issued hundreds of thousands of requests to one of your FREE APIs would you foot the bill? Fat chance, right? That's what we're talking about here.

comment 2y ago · link · parent

> So long as humans can create valuable output machines can't

Not all humans are going to be capable of this as time goes on. Those humans will be subjected to abject poverty.

The reality is not everyone can possess a highly skilled knowledge job. Not everyone can go to college. What of them?

comment 2y ago · link · parent

I wouldn't say so, because the cars are not at all autonomous in our understanding of autonomous.

The cars aren't making all their decisions in real-time like a human driver. They, Waymo, meticulously mapped and continue to map every inch of the traversable city. They don't know how to drive, they know how to drive THERE.

It would be like if I went to the DMV to take a driving test. I would fail immediately, because the parking lot is not one I've seen and analyzed before.

"true" self driving is not possible with our current implementation of automobiles. You cannot safely mix automobiles that self-drive with human drivers. And the best solution is to converge towards known routes. We don't even necessarily how to program the routes - we can instead encode them in the road itself.

It might occur to you that I'm speaking about rail. The reality is it's trivial to automate rail systems, but the variables of free-form driving can't be automated.

comment 2y ago · link · parent

> Blaming the victim here

I'm not of the opinion that multi-billion dollar corporations can even be victims. They have too much capital and political power to be victims of anything.

> So they aren't preventing shoplifting with the cabinets, but the cabinets prevent shoplifting. The mental dissonance here is astounding

You're misunderstanding.

The cabinets DO prevent shoplifting, obvious. The question is SHOULD THEY? I think corps jumped on the opportunity without the proper analysis.

> put darn near everything in cabinets, not the highest risk things

Right. Which is why I'm shocked you don't believe, or refuse to consider, the fact that these corps DID NOT do the proper risk analysis here. If they're putting penny items behind locks my mind naturally will wonder if that's worth it.

Instead, you're concluding that the shoplifting must be so incredibly severe that even penny items must be locked up. This seems wildly unreasonable to me. What, is every other person a mass shoplifter?

comment 2y ago · link · parent

> That's just not feasible and you know it

Irrelevant. The law does not care about feasibility of breaking it.

If I decide to run a hit man business, that's also infeasible. Dealing with the arrests and fines would be too much. The conclusion then is not to bend the law to make murder legal. The conclusion is my business is illegitimate, and it's the civic duty of my Country to make sure it fails.

> Whose side are you actually on?

The people making the content that corps are profiting big off of. They should pay a license.

comment 2y ago · link · parent

Most likely my tone, but I'm frustrated because I don't even understand how this is a conversation.

If any one of us was hosting a FREE service and some corporation came around and hit us with hundreds of thousands of requests, we too would demand money or ban them. Any one of us. So I really, truly, don't understand why we're all sitting here having this conversation.

comment 2y ago · link · parent

> end up doing business

That's the point, they weren't doing business.

They were issuing presumably hundreds of thousands of requests a day and not offering a penny. You will get banned for that on absolutely any service. Any of them, GPL or not.

comment 2y ago · link · parent

> I'm this case, the license explicitly allows everyone to use the software for free.

Has absolutely 0 to do with open source. The software was, and is, GPL.

This is about using free web APIs. Yes you will get banned for that, on absolutely any service. Don't believe me? Try it out.

comment 2y ago · link · parent

> You realize "I won't tell you the rules" is an asshole move in and of itself, right?

I disagree, the asshole move is actually playing stupid. You don't need someone to tell you the rules because the assumption is you're a human adult with a functioning brain, who has the discretion to tell right from wrong and can make good decisions.

I think this incessant hand-holding is rather pathetic.

If I go into starbucks and order 500 iced coffees, they could very well turn me away.

What, but I'm paying! And there's no rule, right? Sure if we decide to play stupid, and pretend this is our first day on Earth. But it isn't our first day on Earth, and this outcome is not only reasonable - it's obvious.

This scenario is even worse, because here WPE isn't even offering to pay. You can't issue hundreds of thousands of requests and then go "what little ole me? I didn't do anything teehee". Stop. They knew what they were doing and they knew they were pushing it way past what a normal user would do.

comment 2y ago · link · parent

> It seems like that is not really up to me

it is. Don't issue hundreds of thousands of requests and then refuse to pay and you're good.

It's impossible to accidentally do this. Go ahead, write a script to send maximum requests to any free API of your choice. And then track how long before you're banned.

It's that simple and you're all over thinking it. The open source nature has absolutely zero to do with this.

comment 2y ago · link · parent

> What they did was suddenly pull the plug on a free, public service for one specific user, which just happens to be a competitor.

Or, to rephrase:

They pulled the plug on one user who happened to be hostile, and who was abusing their free resources by issuing hundreds of thousands of requests a day.

Which, when you phrase it that way, not only sounds reasonable, it sounds obvious.

What you, and other's, are missing is that WPE is not a typical user. They're a corporation with hundreds of thousands of customers. Using your free resources is expensive. Like, money expensive.

This is like if you set up a free little API and then Amazon decided to use it. Would you let that fly? Would you foot the bill? What if Amazon is now your competitor? Surely then you'd happily pay the bill?

Get real. You would 100% do the same thing in that situation.

comment 2y ago · link · parent

> If you choose to accept all comers, you get to accept all comers

Incorrect, you just made this up. I can individually ban people whenever I want, however I want, because I own the server and it's MY resources.

If I setup a free lemonade stand and you request 5,000 cups of lemonade, yes I can turn you away. And I will.

> instead they have applied a boycott

Incorrect, because your thinking is backwards. A boycott is a refusal to buy, not sell. There's no boycott here.

It's also not illegal, and that should be obvious. Not only is it not illegal, I don't even think its unethical.

comment 2y ago · link · parent

Probably not, but I'm of the opinion you don't need to publicly post what "acceptable usage" is.

It's obvious and up to the maintainer's discretion. If you're nice to them and contribute that's no problem. If you're not, then your hundreds of thousands of requests a day are no good.

Software engineers are often overly analytically minded, but this is not just a technical problem, but a social one. Naturally if I walk into starbucks and order 500 iced coffees they'll turn me away.

But they don't have a sign saying what their coffee limit is, do they? No. It's a matter of courtesy and discretion. Now if I was, say, a shareholder of starbucks, they could very well make me my 500 iced coffees.

comment 2y ago · link · parent

Yes, retaliation for using web resources without paying.

> wordpress.org update servers. Nothing about "practically DDOS" of the server

Yes, when you have hundreds of thousands of users this is expensive. What you're describing is expensive.

WPE doesn't maintain these servers, presumably because it's hard and expensive. You can't expect to hit someone's servers with, I'm guessing, hundreds of thousands of requests a day and not pay a dime. If you did that, you would be banned. From just about any free service.

comment 2y ago · link · parent

How is it anti-competitive to stop people smashing your APIs? That shit costs money man. It's not free to provide web resources to hundreds of thousands of people.

WPE is essentially DDOSing WP for free. Obviously that shit doesn't fly. Either pay up or get your own server and host your own shit.

comment 2y ago · link · parent

Has absolutely nothing to do with the license, the code was and is GPL-2.

GPL-2 doesn't force you to allow free access to web resources. This is a separate problem altogether. You'd get banned even if they were closed source.

comment 2y ago · link · parent

It's not retaliation to revoke free access to your web resources.

If I scrape some website, I could be IP banned at any time. That's just how it goes.

It's one thing to use web resources on a small scale, as a user. It's another to milk them dry and practically DDOS their servers. That can, and will, get you banned. Open source or not.

comment 2y ago · link · parent

> Especially since no notice

I believe that for a long time there's been talk between wordpress and WPE. My understanding is that WPE is incredibly hostile when it comes to providing compensation. Their overuse of free resources wasn't a secret - it was known, and money was requested.

Naturally WPE said no. But of course then your IPs get banned.

comment 2y ago · link · parent

It's not at all a dick move to block IPs that essentially DDOS your free services.

Google, Amazon, you name it do this infinite times a day with crawlers.

If you build a business on taking resources from some public source, on a large scale, you could very well be out of a business at any time. This has been the case for a long, long time. And nobody seems to take issue with it.

comment 2y ago · link · parent

You're not obligated to provide free services to people you don't have a contract with, and who are openly hostile to negotiation. This could've easily been avoid by either not mooching off free resources, or by just playing nice.

If I build my business on scraping X.com and then X bans my IPs, that's on me. They don't have to provide me free internet access to their content, that's a privilege. And this happens literally thousands of times every single day.

Still, entitled business owners try it out and then want to turn around and cry when their free cash cow turns away.

comment 2y ago · link · parent

Open source makes absolutely zero distinction about how the source code is provided. You aren't required to keep a free-to-use service up to download your code. You only must produce it when requested.

Not too long ago you would pay for disks containing open source software.

comment 2y ago · link · parent

You don't get one. It's a matter of discretion. Don't be an asshole and you won't have problems.

You'll find that the real world is filled to the brim with exceptions, discretion, and the under-the-table deals. The ones who succeed know how to coax and build them. The ones who fail demand hard rules. Typically, those "hard rules" start at 0, and you get nothing.

comment 2y ago · link · parent

You're free to do it but nobody has to help you certainly.

Ultimately it's a matter of common sense. Sure, if I leave out my "take one" bowl on Halloween and someone takes it all, there's no rules against that. But next year I might be more cautious and hand out the candy myself - now what?

If you've built a business off taking all my candy and reselling it, you're fucked! If you had just been less greedy and taken, say, 10 instead of the whole bowl I might not have cared.

comment 2y ago · link · parent

Right, but typically LLMs are really poor at this. I can come up with some arbitrary systems of equations for it to solve and odds are it will be wrong. Maybe even very wrong.
1
333435
54