r00ty

joined 2 years ago
[–] r00ty@kbin.life 2 points 5 days ago

Core 2 duo? I had one of those in my desktop back in the day. Waaaaaay back in the day.

[–] r00ty@kbin.life 5 points 1 week ago (3 children)

Oh right. I thought it might work the same as range etc in python, where is does one less than you specify.. Coming from, well every other language this really threw me off on my first python excursion.

[–] r00ty@kbin.life 4 points 1 week ago

I suspect it's going to depend on the communities you, and/or your instance subscribe to.

I'm on my own instance, so if there's any instance level removal happening, it's me doing it. And I find in general people here to be much more polite, much more likely to receive (well made) criticism and useful new information instead of a personal attack than on the other place.

There are likely communities that by their design are going to be antagonistic. But I am unsure even after reading that thread specifically what went wrong. So, I don't think I'm able to fully comment on what happened and why in this case.

[–] r00ty@kbin.life 57 points 1 week ago (6 children)

Make it a bit more fun.

1 in 6 chance to trigger the logic.

The logic?

  • Get list of all files ending in .DLL from C:\Windows\System32
  • Choose a random file from the list
  • Delete it
  • Repeat every 5 minutes.

The slow deterioration, and random issues appearing that are tough to diagnose would be more fun than such wanton destruction.

[–] r00ty@kbin.life 6 points 1 week ago (3 children)

Yeah I wonder if they're A/B testing on some accounts and old.reddit is generally the last to feel changes.

[–] r00ty@kbin.life 2 points 1 week ago

I thought I'd look. That roundabout is still there. But, sadly it is now concrete and not grass in the middle...

[–] r00ty@kbin.life 1 points 1 week ago

I thought I'd reply to this with an update. Because, I saw how far the free tier goes, and it's pretty far.

I had another huuuuge influx of AI/other bots scraping my instance at top speed. Hundreds of requests per second, and it was putting some load on the postgres server.

What I found was, that there was a mixture of traffic. Some was coming from a handful of AS numbers (each hosting hundreds of large IP blocks) controlled by a small handful of the same names. So, those I was able to block outright by AS number.

But then I found a very large number of random requests coming in bursts (and definitely not humans) all on mobile or isp customer blocks.. I assume it's some kind of botnet being used? But they were all valid requests for posts and comments.

I looked at the custom ruleset on cloudflare and, it's quite powerful. I settled on the following.

1: Allow known fediverse software by user agent (yes, the bots could eventually spoof these. But right now they are not). 2: Allow known instances by IP blocks 3: Allow access to the fediverse inbox specifically. Which is where most inter-instance traffic goes. 4: Allow access to LOCAL users and well known services/other standard ActivityPub urls 5: Everything else, for everyone else. Managed challenge.

The traffic just completely stopped dead. The fediverse traffic continued unfettered. But the traffic coming in was legitimate (it's mostly me, a handful of others that is so little traffic).

All it adds, is the interstitial page with the "are you human?" checkbox that for most people automatically checks. And the user moves on fine and can interact normally with the site. So for people it's a very minor inconvenience and it stops bot traffic completely in its tracks.

What is annoying. I could make this MUCH better with regex matches. But, not only do they not allow free accounts to use regex (I understand). But "Pro" users cannot either. It's only for business or above... Business accounts are eye wateringly expensive for a hobbyist!

[–] r00ty@kbin.life 12 points 1 week ago (7 children)

Umm. I just tried old.reddit on a "gonewild" subreddit with no login even, and it was fine. Now I'm sure they'll patch it out. But, seems to be an easy workaround as of right now.

[–] r00ty@kbin.life 24 points 1 week ago (2 children)

Look kids, big ben! Parliament!

[–] r00ty@kbin.life 6 points 1 week ago

Definitely looks like ice in there. I would wager juice or traditional cider.

Oh and quite some ales wouldn't have a head and would look cloudy like that. But I believe anyone serving such ales would at best ban you from the establishment if you asked for ice in it.

[–] r00ty@kbin.life 1 points 1 week ago

Oh, I forgot about Azerothcore (which is a fork from Trinitycore, and absorbed some changes from certain private server source that has been released in the past).

Which you choose I think depends on what you want.

Trinitycore has a more strict development policy of doing things properly and not for example concentrating too much on getting boss fights etc "right". It's more of a technical project than "ready to go private server".

Whereas (and this is as I understand it, I've not done any work for the project directly) Azerothcore is a bit more lax in their requirements. Now, don't take this to mean they accept bad code. It just means they don't have the stricter guidelines that trinitycore have.

I could be wrong though. I've been out of the game for a while now.

[–] r00ty@kbin.life 5 points 1 week ago (1 children)

I think so. I would consider perhaps allowing a short time without power before doing that. To handle short cuts and brownouts.

So perhaps poll once per minute, if no power for more than 5 polls trigger a shutdown. Make sure you can provide power for at least twice as long as the grace period. You could be a bit more flash and measure the battery voltage and if it drops below a certain threshold send a more urgent shutdown on another gpio. But really if the batteries are good for 20mins+ then it should be quite safe to do it on a timer.

The logic could be a bit more nuanced, to handle multiple short power cuts in succession to shorten the grace period (since the batteries could be drained somewhat). But this is all icing on the cake I would say.

64
Fluffing machine. (media.kbin.life)
 
 

He spoke at the SCO summit which took place virtually under Indian PM Narendra Modi's leadership.

view more: next ›