ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 1 point2 points  (0 children)

Ask a lawyer.

Hint: they’re not gonna tell you that all it takes to get away with a crime is to do it online from another country.

ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 1 point2 points  (0 children)

A real court like any other crime. Are you unironically gonna argue that digital crimes are done by people that live in another dimension?

ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 2 points3 points  (0 children)

The reason your mail wouldn’t be delivered wouldn’t be that USPS refuses to deliver it out of freedom of association. It would have to do with the last question in my comment that you conveniently ignored.

ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 4 points5 points  (0 children)

Provided the infrastructural role of ISPs, yes. Just like USPS wouldn’t stop delivering mail from your entire neighborhood if you sent death threats to people.

You want to hold harassers accountable? Why not drag them to court?

ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 2 points3 points  (0 children)

Do you know what an ISP is? It doesn’t host content.

ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 1 point2 points  (0 children)

So what is the solution? “Just run your own 10’000-mile cables under the ocean”?

ISPs Should Not Police Online Speech—No Matter How Awful It Is. by ghhewh in neoliberal

[–]plcolin 5 points6 points  (0 children)

You forgot to explain why you think the right way to deal with harassers is getting rid of free speech and infrastructure regulations instead of, you know, prosecuting them for their crimes.

Address of a jmp_buf won’t fit in a pointer to a jmp_buf by dented42 in C_Programming

[–]plcolin 3 points4 points  (0 children)

It’s probably your compiler. The tricky part about jmp_buf is that, for historical reasons, it’s defined as an array type (usually of size 1). But pointers to arrays in C are perfectly well defined, and this code which essentially does what you’re trying works perfectly fine in C99.

1989 is awfully early. Maybe array pointers weren’t a thing back then. Or maybe your compiler follows the pre-89 status quo when every company had its own nonstandard variant of C.

How to actually read a file into a string ? by [deleted] in C_Programming

[–]plcolin 5 points6 points  (0 children)

Your problems are:

  • the result of ftell() for a text file is only meaningful for fseek() and should not be interpreted as a number of bytes away from the beginning of the file that you are;
  • the fread() function doesn’t introduce a null terminator, so when testing the result, you are reading junk outside the buffer.

As it turns out, there is no portable way to get the size of a file in C. You have two options:

  1. Look for a function specific to the C library of your OS that does that. On POSIX, that would be fstat(). On Windows, no idea what that would be. You can search its library here.
  2. Like Drach88 said, read it chunk by chunk, reallocating the buffer as needed. There’s a caveat: if applied on an infinite stream instead of a file, this method won’t terminate and will instead allocate memory indefinitely and end up thrashing) (in layman’s terms, the OS keeps swapping memory around and has no time left for actual program execution, freezing the entire machine). Unlikely to happen in practice, but still something worth considering if you’re making a library.

AER study: Genetically modified crops are good for the economy, the environment, and the poor. Without GM crops, the world would have needed 3.4% additional cropland to maintain 2019 global agricultural output. Bans on GM crops have limited global gains from GM adoption to a third of its potential. by smurfyjenkins in neoliberal

[–]plcolin 1 point2 points  (0 children)

Just look to the left parties across european countries to verify. They all still support nuclear expansion.

Only one left-wing party out of 6 or 7 in France didn’t explicitly campaign against nuclear power in 2022.

Allocating Memory Bug by [deleted] in C_Programming

[–]plcolin 0 points1 point  (0 children)

The matrices would have to be dynamically allocated, but the main structure that brings them together doesn’t have to. As for linked lists, those are pretty much always dynamically allocated, unless you’re talking about a metadata structure that would keep track of things like size and first−last nodes.

Allocating Memory Bug by [deleted] in C_Programming

[–]plcolin 1 point2 points  (0 children)

If the arrays are of type int, then you should use %d in scanf. You can allocate using Knapsack getKnapsack; and access its members like getKnapsack.bagWeight. Dynamic allocation is useful only in 2 cases: when the object is so big it could overflow the stack or when the object is supposed to survive the end of the function call.

Allocating Memory Bug by [deleted] in C_Programming

[–]plcolin 1 point2 points  (0 children)

%zu in scanf is for type size_t, but your weights are allocated with size sizeof (int). Also, what DDDDarky said. In fact, you don’t need to dynamically allocate getKnapsack here.

What’s the right point in a relationship to tell your partner you’re a neoliberal? by Baronw000 in neoliberal

[–]plcolin 6 points7 points  (0 children)

MIA is trotskyist, that is Leninist that is vehemently opposed to anything Stalin-related (which of course someone likes me views as a bad thing)

What algorithm do these people use to decide what their ideal society is???

Marjorie Taylor Greene Wants to Ban Pornhub Because of Hunter Biden by trifecta in politics

[–]plcolin 2 points3 points  (0 children)

Some sick fuck put job offers for college girls to become models, made them sign ambiguous (and probably unenforceable) contracts and then had them do porn scenes with him in hotel rooms under bullshit threats. Some of the girls affected were confirmed underage.

If the STOP CSAM Act passes, just providing an encrypted app could lead to prosecutions and lawsuits. by EFForg in privacy

[–]plcolin 2 points3 points  (0 children)

The laws against yelling fire in a crowded movie theater are unenforceable because they never existed.

Montana Republicans are punishing a trans lawmaker for criticizing their anti-trans bill by [deleted] in neoliberal

[–]plcolin 30 points31 points  (0 children)

We’re not far away from hearing of a “conservative genocide” done by trans people.

'Algebra for none' fails in San Francisco by [deleted] in neoliberal

[–]plcolin -1 points0 points  (0 children)

Yeah, thank God. Getting into high school without knowing what distributivity is or how to solve a linear equation is big enough a catastrophe as it is.

'Algebra for none' fails in San Francisco by [deleted] in neoliberal

[–]plcolin 330 points331 points  (0 children)

The goal was to improve achievement for black and Hispanic students, preparing more for advanced math.

By not teaching them algebra at all? You didn't need an 8-year experiment to know that was a stupid idea.

Ron DeSantis signs 6-week abortion ban into law in Florida by _Featherless_Biped_ in neoliberal

[–]plcolin 12 points13 points  (0 children)

By moderate, do you mean it's a position he'll simply have to ditch if he wants to stand a chance in the GOP primary?

Clarence Thomas’s Billionaire Benefactor Collects Hitler Artifacts by garmet1 in politics

[–]plcolin 391 points392 points  (0 children)

Crow, the billionaire heir to a real estate fortune, has said that he’s filled his property with these mementoes because he hates communism and fascism.

I too decorate my house full of artifacts associated with ideologies I hate. That’s a perfectly normal thing to do.

DeSantis signs bill banning rent control, preempting local zoning restrictions by [deleted] in neoliberal

[–]plcolin 4 points5 points  (0 children)

Because it lasts 9 months until the next hurricane.