Spyke

Replies

Comment on

Websites stole and monetized a free browser game, so the designer replaced it with Goatse

"The mature and responsible thing to do would have been to add a content security policy to the page", he wrote. "I am not mature so instead what I decided to do was render the early 2000s internet shock image Goatse with a nice message superimposed over it in place of the app if Sqword detects that it is in an iFrame."

I submit the Internet axiom of: there's times and places for a measured and reasonable response, and the other times are funny af.

Let this be a lesson to you—if you are using an iFrame to display a site that isn't yours, even for legitimate purposes, you have no control over that content—it can change at any time. One day instead of looking into an iFrame, you might be looking at an entirely different kind of portal.

Bravo.

Comment on

Elon Musk on X antisemitism controversy: “Don’t advertise. Go f*** yourself”

Musk responded that the advertising boycott is likely to kill the company. "What this advertising boycott is going to do is it's going to kill the company, and the whole world will know that those advertisers killed the company and we will document it in great detail,"

When Sorkin pointed out that advertisers see things differently, Musk replied, "oh yeah? Tell it to Earth."

Sorkin continued: "They're going to say, Elon, that you killed the company because you said these things and they were inappropriate things and they didn't feel comfortable on the platform. That's what they're going to say."

"And let's see how Earth responds to that," Musk replied.

I mean… I think that pretty much removes any last doubt anyone might have had that Elon Musk had any grasp on the reality that he himself exists in.

Comment on

Yes, you can have too many CPU cores - Ampere's 192-core chips break ARM64 Linux kernel in two-socket systems, company requests higher core count support

Well the issue at hand is that this is starting to get to the point that like the x86 arch, you cannot just move the NR_CPUS value upward and call it done. The kernel needs to keep some information on hand about the CPUs, it's usually about 8KB per CPU. That is usually allocated on the stack which is a bit of special memory that comes with some assurances like it being continuous and when things go out of scope they are automagically deallocated for you.

However, because of those special assurances, just simply increasing the size of the stack can create all kinds of issues. Namely TLB missing, which one of the things to make CPUs go faster is to move bits of RAM into some special RAM inside the CPU called cache (which there's different levels of cache and each level has different properties which is getting a bit too deep into details). The CPU attempts to make a guess as to the next bit of RAM that needs to move into cache before it's actually needed, this called prediction. Usually the CPU gets it right but sometimes it gets it wrong and the CPU must tell the actual core that it needs to wait while it goes and gets the correct bit of RAM, because the cores move way faster than the transfer of RAM to the cache, this is why the CPU needs to move the bits from RAM into cache before the core actually needs it.

So keeping the stack small pretty much ensures that you can fit the stack into one of the levels of cache on the CPU and allows the stack to be fast and have all that neat automagical stuff like deallocation when it goes out of scope. So you just cannot increase the NR_CPUS value because the stack will just get too large to nicely fit inside the cache, so it'll get broken up into "pages" with the current page in cache and the other one still in RAM and there will be swapping between the pages which can introduce TLB misses.

So the patch being submitted for particular configurations will set the CPUMASK_OFFSTACK flag. This moves that CPU information that's being maintained to be off of the stack. That is to be allocated with slab allocation. Slab allocation is a kernel allocation algorithm that's a bit different than if you did the usual C style malloc or calloc (which I will indicate that for any C programmers out there, you should use calloc first and if you have reasons use malloc. But calloc should be your go to for security reasons but I don't want to paper over details here by just saying use calloc and never use malloc. There's a difference and that difference is important in some cases).

Without deep diving into kernel slabs, slabs are a bit different in that they don't have some of those nice automagical things that come with the stack memory. So one must be a bit more careful with how they are used, but that's the nice thing about the slab allocator is that it's pretty smart about ensuring it's doing the right thing. This is for the 5.3 kernel, but I love the charts that give a overview of how the slab allocator works. It's pretty similar in 6.x kernels, but I don't have any nifty charts for that version, but if some does I will love you if you posted a link.

That said, it's a bit slower but a fair enough tradeoff until there's some change in ARM Cortex-X memory cache arrangement. Which going from memory I think Cortex-X4 has 32MB shared L3 cache, which if you have 8KB on the 8192 CPU max, you'll need 64MB just to hold the CPU bitmap in L3 which is slow compared to the other levels. And there's other stuff you're going to need in the cache at any given time so hogging it all is not ideal. Setting the limit for stack usage to 512 is good as that means the bitmap is just 4MB and you can schedule well ahead of time (the kernel has a prefetcher which things within the kernel can do all kinds of special stuff with it to indicate when a bit of RAM needs to be moved into cache, for us measly users we can only make a suggestion called a hint, to the prefetcher) when to move it all into cache or leave it in RAM. So it's a good balance for the moment.

But Server style ARM is making headway and so it makes sense to do a lot with it in the same way the kernel handles server style x86 and other server style archs like POWER and what not. But not mess with it too much for consumer style ARM, which hardly needs these massive bitmaps.

Comment on

Ohio voters add abortion rights to state constitution

Issue 1 covers so much more than just Abortion.

From the ballot:

  • Establish in the Constitution of the State of Ohio an individual right to one’s own reproductive medical treatment, including but not limited to abortion.
  • Create legal protections for any person or entity that assists a person with receiving reproductive medical treatment, including but not limited to abortion.
  • Prohibit the State from directly or indirectly burdening, penalizing, or prohibiting abortion before an unborn child is determined to be viable, unless the State demonstrates that it is using the least restrictive means.
  • Grant a pregnant woman’s treating physician the authority to determine, on a case-by-case basis, whether an unborn child is viable.
  • Only allow the State to prohibit an abortion after an unborn child is determined by a pregnant woman’s treating physician to be viable and only if the physician does not consider the abortion necessary to protect the pregnant woman’s life or health.
  • Always allow an unborn child to be aborted at any stage of pregnancy, regardless of viability if, in the treating physician’s determination, the abortion is necessary to protect the pregnant woman’s life or health.

This is a Freedom of Speech type amendment that centers around a person's reproductive rights. In that this amendment prohibits the Ohio State government from passing any law that restricts a person's reproductive rights except in special cases under strict scrutiny. So this goes way pass just abortion. Additionally, it grants doctors benefit of the doubt protections that would have strict scrutiny bars for the State to overcome, an incredibly high evidentiary bar for the State to overcome.

To just say this protects abortion is really missing the forest for the tree. Yeah, it protects abortion but additionally it protects everything related to reproductive rights (contraception, IVF, etc) and sets a massive barrier for the State to later meddle. This is a massive win for not those seeking abortion but for everyone who cheers reproductive protection and Government non-intervention in such matters.

Comment on

Supreme Court will take up Trump’s eligibility to run for president

Reply in thread

It does apply to the President. Colorado's judge erred here because they did not have access to Federal documents.

We have the minutes from the 39th Congress that literally indicates that it applies to the President.

Why did you omit to exclude them [The office of the President and Vice President]?

— Sen. Reverdy Johnson (D-MD)

Let me call the Senator's attention to the words 'or hold any office, civil or military, under the United States'

— Sen. Lot Morrill (R-MA)

It was a very specific question that was answered by the Senate while they were discussing it. So Judge Wallace's determination is incorrect on the merits. Judges can be wrong sometimes, that's why we have appeals.

Comment on

Twitter seems to ban all Threads links to reaffirm its position as a “free speech absolutist” platform

Reply in thread

Yes. Twitter was at one point tagging links to Mastodon as "potentially harmful" and removing them.

But the one thing that's been shown consistent about Mr. Musk's ownership of Twitter is that it is consistently self-contradicting. So as Twitter positions itself as "free speech absolutist" one can rest assured that the reality will be "self-contradicting".

Let us not forget that time that Musk said that "Elon Jet Tracker" would not be banned WHILE it was indeed banned. Literally tweeting verifiably false information and then subsequently being called out on it, only for Musk to do the traditional "ignore and move on".

linux

Comment on

Sell Me on Linux

I’m also nervous about using an OS I’m not familiar with for business purposes right away

Absolutely STOP. Do not go with Linux, go with what you are comfortable with. If this is business, you do not have time to be uncomfortable and the learning curve to ramp up to ANY new OS and be productive is something that's just a non-negotiable kind of thing.

If you've never used Linux, play with Linux first on personal time. For business time, use what you know works first and foremost.

All OSes are tools. You do not just learn a tool when your job is waiting for a bed frame to be made or whatever.

TL;DR

If you are not comfortable with Linux, do NOT use it for business.

Comment on

A $19,000 lectern for Arkansas Gov. Sarah Huckabee Sanders sparks call for legislative audit

Man they got fucking robbed. Amazon has it for only $944 The Amazon review though...

If you are concerned about wasteful spending I highly recommend going with this price from Amazon

EDIT: Yes, I'm pretty sure they paid $1,000 for it and then reported $19,000 pocketing the difference. As someone who has lived their whole life in Tennessee (and has worked for a period of time in State Government), that's Southern politics 101. Days where they aren't fleecing the taxpayer are few and far between here in the Southeastern US.

Comment on

Trump must pay E. Jean Carroll over $83 million in defamation damages, jury rules

The sheer speed at which the jury came to this determination is a really good sign that everyone on the jury was like "fuck this dude in particular". Not only that, what I think was hilarious was that Trump's testimony about his valuation in his NY civil trail was submitted and accepted as evidence for the determination on this fine. Like literally some Loony Toons Wile E. Coyote exploding in your face kind of thing.

This was such a massive L for Trump's legal team that I believe the correct lawyer term is HA HA HA HAHAH HAHAHAHAHAHAHAHAHAH HA HA HA HA HA HA HAHA!!

I swear, I'm just waiting for what creative backhoing their graves Trump's team will be doing in the appeals.

What's that saying? "Speech is free. Lies are expensive."

memes

Comment on

I guess I'm doing my part

Yes I saw some shit the other day about, “such and such reporting that sales are drastically down since blah blah blah. Where did it all go wrong?”

Or “Gen whatever is choosing to part ways with blah blah blah. Here’s our guesses as to why!”

And it’s just, NOBODY HAS FUCKING MONEY!!! That’s it. That’s all it is. There’s no preference. There’s no secret wokeness. There’s no underlying meaning. We are all just fucking broke!

They took all the money, they refuse to give it back in wages, they jacked up the price, and we are tapping out. HOW THE FUCK IS THIS STILL A GODDAMN MYSTERY?!?!?!

The only way someone can still be confused about what’s going on is if they’re on purpose being ignorant about it because, “mah market indicators!”

We are all broke. That’s it, that’s the answer. Media needs to stop with the bullshit. The headline every day needs to be “The world is on fire by rich asshats and the rest of us are too fucking broke to do anything. We are all going to die painfully because of those rich asshats.” And that should be all that’s on the news every hour on the hour. The end.

news

Comment on

Black student suspended over his hairstyle to be sent to an alternative education program

Principal Lance Murphy is literally just going to die on this hill apparently. Between the massive cost the school district took because of the 2020 court loss over this exact same thing, and this giant L the school district is about to take for not only being now in Violation of Federal Law but also Texas literally passed a law, because of this asshat and the 2020 loss, indicating that he's not legally allowed to do exactly what he's doing.

The school district also filed a lawsuit in state district court asking a judge to clarify whether its dress code restrictions limiting student hair length for boys violates the CROWN Act

Which if you are unsure if your policy is violating a law or not, you should likely not have the policy until the court gives you more clarity. Because if the Courts do indeed indicate that the school is in violation of Texas' CROWN Act, they've just handed this kid millions of dollars in restitution, which I guess they can just pile on top of the millions this school district has blown so far on litigation.

You would think that at some point taxpayers would be up in arms, but nope it's Texas, blowing billions on stupid lawsuits is their thing.