Hard Pass

8 readers
0 users here now
Rules
  1. Don't be an asshole
  2. Don't make us write more rules.

View hardpass in other ways:

Hardpass.lol is an invite-only Lemmy Instance.
founded 11 months ago
ADMINS

hard pass chief

1
30
Just relax (sh.itjust.works)
submitted 18 minutes ago by Lisk91@sh.itjust.works to c/linuxmemes@lemmy.world
 
 
2
 
 
3
 
 
4
112
Wise horse (sh.itjust.works)
submitted 1 hour ago* (last edited 46 minutes ago) by Lisk91@sh.itjust.works to c/funny@sh.itjust.works
5
 
 

US supreme court has ‘ransacked’ the country, president argues, in wake of its ruling against his trade agenda

Donald Trump has claimed he has “the absolute right” to impose new tariffs after the US supreme court ruled many of the import duties he imposed last year were illegal.

The president attacked the court in a late night broadside on Sunday, accusing it of having “unnecessarily RANSACKED” the US – and failing to show him sufficient loyalty.

In February, the supreme court found that a 1977 law designed to address national emergencies did not provide the legal justification for many of the tariffs the Trump administration had put on countries around the world.

6
 
 

19% would be the complacent middle class 🤮

7
 
 
8
 
 
9
 
 

i got my bachelor in 2025

10
 
 
11
 
 

Trump made contradictory comment to reporters on Air Force One after pleading with allies to help US secure Strait of Hormuz

Donald Trump drew a backlash on Sunday for suggesting US efforts to protect the Strait of Hormuz were unnecessary – and that “maybe we shouldn’t even be there at all” because his country has plenty of oil of its own.

The president made the contradictory comment to reporters on Air Force One after pleading with European and NATO allies to enter the war in Iran to help the US secure the strait amid the largest oil supply disruption in history.

Trump received criticism in the early stages of the US and Israel’s three-week war in Iran for failing to convey clear reasons for launching military strikes. He has made a number of antithetical statements since, including telling the UK, which he called a “once great ally”, that its help was not needed in Operation Epic Fury.

12
62
rate my new shirt (social.ozymandias.club)
submitted 1 hour ago* (last edited 1 hour ago) by ramasses@social.ozymandias.club to c/politicalmemes@lemmy.world
 
 
13
14
 
 
15
16
17
 
 

cross-posted from: https://lemmy.world/post/44340504

Our actions and voices do make a difference! Keep AI out of games and reward original creative work.

18
 
 

Here's the background: I'd been using Gitea for open source project hosting for a quite a while. So when the Forgejo fork started up, I thought to myself: Eh, I'll see how that all unfolds and maybe look into it at some point. After all, Forgejo is a soft fork, so I can just switch over whenever.

But then Forgejo became a hard fork while I was busy with other stuff, and before I knew it, It seemed too late to switch unless I wanted to lose all my tickets and stuff.

Then I saw this post and read this background and decided it was time for me to switch to Forgejo, hard fork be damned.

But I'm very stubborn, and I still wanted to keep all of my Gitea data intact. So here's what I did, and what you could do too if you're as stubborn and reckless as I am!

Step one: Create a SQL "migration" that downgrades the Gitea database from the modern version you're using to the last version that Forgejo supports upgrading, Gitea 1.22.6, from back when Forgejo was still a soft-ish fork. That means you're effectively rolling back each migration from Gitea 1.25 all the way through 1.24 and 1.23.

When I did this, I used an LLM (specifically MiniMax with OpenCode) to generate the reverse mega-migration, pointing it at the Gitea codebase and also feeding it this very outdated starting point as inspiration. But I totally understand if not everyone is comfortable with using AI. In fact, I really wasn't either, but I figured this is a mostly mechanical one-off. If you don't want to use AI, you can generate the reverse migration manually by combing through the migrations linked above.

I did find three mistakes the LLM made: 1. An off-by-one error in UPDATE version ... because the value should be the last migration number (298 in this case) plus one, 2. Some of the steps it generated to back out an individual migration were out of order, e.g. dropping the issue_pin table before copying data out of it, and 3. It apparently missed making one particular column (type in the review table) into an int instead of a varchar.

I should also note that there were some forward data migrations in the original Gitea migrations that could not be backed out, because the data simply wasn't there anymore. I just skipped reversing those, because YOLO.

Once I fixed these issues as best I could (well, the ones I found ahead of time instead of after the fact), the mega-migration was ready to go.

(I'm not including the mega-migration here, because even if it worked for me, I don't want to be responsible for people fucking up their systems if it doesn't work for them. I'd much rather people be responsible for fucking up their own systems.)

Step two: Backup your Gitea database and files!!!

Step three: Stop Gitea and run the mega-rollback-migration against your Gitea database. This effectively downgrades the database to Gitea 1.22.6. You can optionally then deploy the Gitea 1.22.6 binary or container and start it up to poke around the Gitea web UI and verify that the downgrade worked. (Reminder that there are known security issues in this ancient version of Gitea, so maybe firewall off general web traffic temporarily?) Then stop Gitea again.

Step four: Replace the Gitea binary or container with the last release of Forgejo to support upgrades from Gitea, Forgejo 10.0.3. Start Forgejo and try out the web UI to make sure it's working.

Step five: Upgrade your Forgejo binary or container to the latest release of Forgejo, 14.0.3 at the time of this writing. Restart Forgejo and hopefully enjoy your newly "upgraded" instance, complete with all of your repos and ticket history!

Some additional notes:

  • You may have to alter any Gitea Action workflows to work with Forgejo Actions. This may be as simple as search and replacing gitea. with forgejo. in your workflow files.
  • Forgejo does work with Gitea's Act Runner, apparently. But you may also want to replace any Act Runner instances you have with Forgejo Runner, which should be relatively straightforward since there's no database to migrate.
19
 
 

In another round of late-night social media posts, Donald Trump attacked the Supreme Court for not overturning his loss in the 2020 presidential election — and tried to pressure the court to rule his way in future election cases.

Flurries of angry social media posts are not unusual for Trump, but this one was particularly alarming for its scope and the criticism it directed against the nation’s highest court, where six out of nine justices are conservatives and three are Trump appointees.

20
21
 
 

A pair of Ontario family doctors say they'll have to go back to sending patient prescriptions to pharmacies by fax because a federally funded agency is doing away with an efficient electronic system, with no clear plans for its replacement.

The software allows doctors to instantly send drug prescriptions to pharmacies and approve prescription renewal requests with a click of a mouse. The system brings up the renewal request in an electronic prompt attached to each patient's health record.

It's a crucial tool because Bolzon said he receives up to 35 prescription renewal requests in a typical day while also handling about 30 daily in-person appointments.

So if PrescribeIT is helping doctors manage their patient loads and there's no clear replacement in place, why pull the plug?

In a statement to CBC News, Canada Health Infoway said they worked with governments and system providers to keep PrescribeIT operating. However, the statement said there was no shared funding model and "no viable model emerged that would support the continued operation of a single national service over the long term."

22
 
 

The top Democrats on the House and Senate Judiciary committees are calling on Attorney General Pam Bondi to investigate whether departing Homeland Security Secretary Kristi Noem lied under oath before Congress.

Sen. Dick Durbin, D-Ill., the ranking member on the Senate panel, and Rep. Jamie Raskin, D-Md., the top Democrat on the House committee, sent a referral to Bondi on Monday saying Noem may have violated statues prohibiting perjury and making false statements to Congress when she appeared before their committees on March 3 and March 4.

“A number of her statements appear to violate criminal statutes prohibiting perjury and knowingly making false statements to Congress,” the lawmakers wrote, focusing on her remarks that the department hadn’t violated court orders related to its immigration enforcement.

23
 
 

cross-posted from: https://lemmy.world/post/44340504

Our actions and voices do make a difference! Keep AI out of games and reward original creative work.

24
 
 

Can you guys suggest some reliable and secure selfhosted IM service? I'm kinda in a very bad spot right now, so any centralized messaging wouldn't really work. And yeah, state sponsored mass surveillance is a question of concern. Sorry for odd phrasing, just really at a loss.

I heard of matrix, XMPP (heard good things about snikket.org), SimpleX and even some IRC wizardry over TOR. And I actually tried matrix (synapse server), but found it not reliable enough - sometimes skips a notification, periodic troubles with logging in, weird lack of voice calls on mobile client, and some other irritating, tiny hiccups. I'm open to any suggestion, really, even open to trying matrix once again. Just, please, describe why you think one option is better than the other.

And just FYI, use case is simply texting with friends and family, while avoiding state monitoring. Nothing nefarious

25
 
 

Hi there, I’m looking to get into self-hosting for privacy reasons and I wanted to ask y’all: how inadvisable is it to utilize an ISP-owned router/modem? I feel like they’re able to track everything I do online with their more than likely integrated spyware.

view more: next ›