[-] RotaryKeyboard@lemmy.ninja 22 points 7 months ago

Let's say you are applying for an engineering position and you want to mention that you contribute to an open source project. Mention the software stack used, maybe the number of downloads, and your focus on the project. Explain it in general terms. If it gets asked about in the interview, just answer questions without providing the name of the project.

[-] RotaryKeyboard@lemmy.ninja 21 points 8 months ago

Star Trek celebrates the diversity of humanity. The extremes of genetic engineering and (on the other side of the spectrum, perhaps) the Borg are symbolic of the corruption of that diversity.

For an in-universe explanation, I suppose you could just look at the degree to which cybernetics are tolerated. Rutherford-level cybernetics? No problem! Borg Queen-level cybernetics? Helm, warp nine, full reverse!

[-] RotaryKeyboard@lemmy.ninja 18 points 8 months ago

That title makes me chuckle. He should go set up a fresh install of Windows and see what the default security experience is like. Mac OS makes it smooth and fast, and relatively unobtrusive in comparison.

[-] RotaryKeyboard@lemmy.ninja 29 points 9 months ago

It's so amazing to see a comment like this. For years and years, the tech industry workers were heavily anti-union. I'm glad to see the sentiment turning around.

[-] RotaryKeyboard@lemmy.ninja 18 points 9 months ago

If I think I’m sick, regardless of what I’m sick with, I try to isolate and mask as much as possible. Nobody wants to get sick from me. For the flu and Covid, I go and get tests to allow me to take the antiviral medications. If I have Covid, I mask for a couple of weeks just to prevent spreading it.

[-] RotaryKeyboard@lemmy.ninja 24 points 10 months ago

Yeah, this is usually the reason I will downvote a news article. Misinformation needs to be marked somehow, and a negative score is a good way to do that.

[-] RotaryKeyboard@lemmy.ninja 30 points 11 months ago

On the other hand, fixing all those problems makes you a really effective problem solver. You learn which technologies are good and which are bad; you learn where to find reliable solutions to problems; and you begin to see where tutorial writers have a lack of knowledge (or were really lazy) and how to fix their problems. It forces you to create good habits and to follow best practices. And years down the line, you'll have some great, stable software that is the envy of your techie friends.

[-] RotaryKeyboard@lemmy.ninja 20 points 11 months ago

I know this pain. This is why I have so many 49 minute timers

[-] RotaryKeyboard@lemmy.ninja 19 points 11 months ago

Oh no. There goes my workday productivity.

1
47

I'm an admin on lemmy.ninja, a month-old Lemmy instance. Users are required to validate their emails, but the email sent to them to do this always ends up in the spam folder. There's nothing we can do about that. We've found, however, that if the users are told to go get it, they can find the mail and validate just fine.

What's the best way to get this message to users while they're creating their new account? Is there a file we can edit to add instructions about checking their spam folder while they're creating the "create" button?

I'm hoping someone has a creative solution. I know it won't be a 100% fix, but any little bit helps.

102

I found this blog post useful for explaining how to interact with Lemmy via Mastodon.

[-] RotaryKeyboard@lemmy.ninja 22 points 1 year ago

OP, I just wanted to say thank you for writing such a good title. It's rare to get such an informative, clickbait-free title these days.

[-] RotaryKeyboard@lemmy.ninja 17 points 1 year ago

I assumed these were just the same communities only started on different servers?

This is correct. Anyone can start a community on any Lemmy (Or KBin) server, and they can name it whatever they want. When a community is on a remote Lemmy instance, you see the @ suffix to help you see which one it is referring to. When no @ suffix is shown, that means that the community you are looking at is hosted on the instance that you are currently viewing Lemmy content through.

821

Why YSK: When you cook meat, any water on the surface must first evaporate before much browning can occur. You want to get as much of a Maillard reaction as possible in the limited cooking time you have before the meat reaches the correct internal temperature. Removing the moisture first means that the heat of the cooking surface isn't wasted on evaporation and can instead interact with the meat to form the complex sugars and proteins of the Maillard reaction.

1
submitted 1 year ago* (last edited 1 year ago) by RotaryKeyboard@lemmy.ninja to c/usnews@beehaw.org

Private sector jobs surged by 497,000 for the month, well ahead of the downwardly revised 267,000 gain in May and much better than the 220,000 Dow Jones consensus estimate. The increase resulted in the biggest monthly rise since July 2022.

5

Twitter, also known as X Corp, no longer has a media relations office. Reuters could not immediately reach Twitter’s Australia office.

9
submitted 1 year ago* (last edited 1 year ago) by RotaryKeyboard@lemmy.ninja to c/technology@beehaw.org

PornHub just blocked Mississippi and Virginia. Texas will be blocked on September 1, and Montana in January.

87

cross-posted from: https://lemmy.ninja/post/30492

Summary

We started a Lemmy instance on June 13 during the Reddit blackout. While we were configuring the site, we accumulated a few thousand bot accounts, leading some sites to defederate with us. Read on to see how we cleaned up the mess.

Introduction

Like many of you, we came to Lemmy during the Great Reddit Blackout. @MrEUser started Lemmy.ninja on the 13th, and the rest of us on the site got to work populating some initial rules and content, learning how Lemmy worked, and finding workarounds for bugs and issues in the software. Unfortunately for us, one of the challenges to getting the site up turned out to be getting the email validation to work. So, assuming we were small and beneath notice, we opened our registration for a few days until we could figure out if the problems we were experiencing were configuration related or software bugs.

In that brief time, we were discovered by malicious actors and hundreds of new bot users were being created on the site. Of course we had no idea, since Lemmy provides no user management features. We couldn't see them, and the bots didn't participate in any of our local content.

Discovering the Bots

Within a couple of days, we discovered some third-party tools that gave us the only insights we had into our user base. Lemmy Explorer and The Federation were showing us that a huge number of users had registered. It took a while, but we eventually tracked down a post that described how to output a list of users from our Lemmy database. Sure enough, there were thousands of users there. It took some investigation, but we were eventually able to see which users were actually registered at lemmy.ninja. There were thousands, just like the third-party tools told us.

Meanwhile...

While we were figuring this out, others in Lemmy had noticed a coordinated bot attack, and some were rightly taking steps to cordon off the sites with bots as they began to interact with federated content. Unfortunately for us, this news never made it to us because our site was still young, and young Lemmy servers don't automatically download all federated content right away. (In fact, despite daily efforts to connect lemmy.ninja to as many communities as possible, I didn't even learn about the lemm.ee mitigation efforts until today.)

We know now that the bots began to interact with other Mastodon and Lemmy instances at some point, because we learned (again, today) that we had been blocked by a few of them. (Again, this required third-party tools to even discover.) At the time, we were completely unaware of the attack, that we had been blocked, or that the bots were doing anything at all.

Cleaning Up

The moment we learned that the bots were in our database, we set out to eliminate them. The first step, of course, was to enable a captcha and activate email validation so that no new bots could sign up. [Note: The captcha feature was eliminated in Lemmy 0.18.0.] Then we had to delete the bot users.

Next we made a backup. Always make a backup! After that, we asked the database to output all the users so we could manually review the data. After logging into the database docker container, we executed the following command:


select
  p.name,
  p.display_name,
  a.person_id,
  a.email,
  a.email_verified,
  a.accepted_application
from
  local_user a,
  person p
where
  a.person_id = p.id;

That showed us that yes, every user after #8 or so was indeed a bot.

Next, we composed a SQL statement to wipe all the bots.


BEGIN;
CREATE TEMP TABLE temp_ids AS
SELECT person_id FROM local_user WHERE person_id > 85347;
DELETE FROM local_user WHERE person_id IN (SELECT person_id FROM temp_ids);
DELETE FROM person WHERE id IN (SELECT person_id FROM temp_ids);
DROP TABLE temp_ids;
COMMIT;

And to finalize the change:


UPDATE site_aggregates SET users = (SELECT count(*) FROM local_user) WHERE site_id = 1;

If you read the code, you'll see that we deleted records whose person_id was > 85347. That's the approach that worked for us. But you could just as easily delete all users who haven't passed email verification, for example. If that's the approach you want to use, try this SQL statement:


BEGIN;
CREATE TEMP TABLE temp_ids AS
SELECT person_id FROM local_user WHERE email_verified = 'f';
DELETE FROM local_user WHERE person_id IN (SELECT person_id FROM temp_ids);
DELETE FROM person WHERE id IN (SELECT person_id FROM temp_ids);
DROP TABLE temp_ids;
COMMIT;

And to finalize the change:


UPDATE site_aggregates SET users = (SELECT count(*) FROM local_user) WHERE site_id = 1;

Even more aggressive mods could put these commands into a nightly cron job, wiping accounts every day if they don't finish their registration process. We chose not to do that (yet). Our user count has remained stable with email verification on.

After that, the bots were gone. Third party tools reflected the change in about 12 hours. We did some testing to make sure we hadn't destroyed the site, but found that everything worked flawlessly.

Wrapping Up

We chose to write this up for the rest of the new Lemmy administrators out there who may unwittingly be hosts of bots. Hopefully having all of the details in one place will help speed their discovery and elimination. Feel free to ask questions, but understand that we aren't experts. Hopefully other, more knowledgeable people can respond to your questions in the comments here.

2

Credit to Neal Agarwal.

1

Released in 1986, TradeWars was among the earliest multiplayer online games. As of 2013, TradeWars has been hosted on over 21,000 different sites in 59 different countries, with some sites hosting the game continuously for over 25 years.

1
submitted 1 year ago* (last edited 1 year ago) by RotaryKeyboard@lemmy.ninja to c/television@lemmy.world

Production for the upcoming Apple TV+ "Metropolis" adaptation has been permanently shut down, with insiders citing costs and the writers' strike as the cause.

[-] RotaryKeyboard@lemmy.ninja 18 points 1 year ago

There’s no end in sight.

1
view more: ‹ prev next ›

RotaryKeyboard

joined 1 year ago