[-] digdilem@lemmy.ml 19 points 2 days ago

(I originally put this first para at the end, but it's pretty important, so putting up top) Be aware that just because we're autistic, it doesn't mean we're not bad guys. He might be grooming her, he may already have more personal information than he should, and he may be targetting autistic children specifically. If you think that is the case, go to your parents or the police. I know that's the last thing you'll want to do, but the consequences if he is can be life changing or fatal.

(Original follows) Fellow autist here, if that matters, but probably not.

No, it's not mean. People come and go out of each others lives all the time. Your time with this guy is clearly over - if it feels less than fun or has become uncomfortable or weird, move on. Why not? You don't owe him anything.

As you know, autistic people are no strangers to being obsessive, and putting that alongside a lack of awareness when we're pushing personal barriers, we can be really annoying. I don't recommend you accept any money or gift cards from this guy, even to buy your GF a new tablet. That will give him a bigger feeling of entitlement and certainly gives him power over you.

Just stop communicating. No explanations, no apologies, both of you just stop and block. If he tries to contact you after that, or by other means, that's creepy af and definitely report.

[-] digdilem@lemmy.ml 2 points 3 days ago

It's a self hosted web app, and that's not something that's easy to change once it's written. The benefits to self hosting are pretty well established, and this type of thing can be accessed from anywhere in the world by multiple devices and always be in sync. For myself, I use this both from a laptop, my desktop and a phone when I'm out - I'm always jotting down thoughts before they fall out of my head. Also, there's probably a lot of desktop task apps out there already that do tasks, like many Email clients. I don't mind reinventing a wheel, but not too keen on reinventing all the wheels.

Demo is a fair point, I'll include that on the wishlist for the future. I think the pictures probably do a fair job of indicating how a task app works - which is basically a way of entering, displaying and ticking off tasks which many people will be familiar with, but perhaps I'm just over familiar with the concept. A self resettable demo might be nice, yes.

[-] digdilem@lemmy.ml 4 points 3 days ago

Advertising revenue.

[-] digdilem@lemmy.ml 0 points 3 days ago

Not just America - all Western countries did.

We made it expensive to manufacture goods due to labour costs and well-meaning but crippling environmental protections and couldn't compete on price.

[-] digdilem@lemmy.ml 26 points 4 days ago

bleddy 'ell

[-] digdilem@lemmy.ml 2 points 4 days ago

Commercial and explicit spam. Report and block.

[-] digdilem@lemmy.ml 3 points 4 days ago

People change, and with bigotry, they've often been changed by others.

He may not always have been like that, so it's okay to like someone once and not at other times. Best advice I can give is listen to your inner moral compass. If something sounds wrong, it probably is.

[-] digdilem@lemmy.ml 3 points 4 days ago

(very) Late diagnosed autistic guy here.

Thank you for writing that.

One of the revealing things about realising this is what I am is looking back at a long life and realising a lot of people thought of me as rude, or that I was being deliberately awkward. I've certainly lost one job because of it, lived a life that's largely friendless (IRL anyway) and doubtless missed a thousand opportunities through not being aware of them. There's also an element of cause and effect - sometimes you know pretty quickly that someone's not going to warm to you, so you just shut them out mentally. It's expensive for me to make the effort to be normal and as I've got older I'm less willing to waste this time and energy.

I see it as very positive that so many people are aware of neurodiversity now, especially younger generations, and their first thought when someone behaves differently isn't always that they're deliberately being an assehole. Sometimes they are, of course, especially those with particularly bigoted views, but not always.

[-] digdilem@lemmy.ml 4 points 4 days ago

Thank you for the kind words.

Syncing is a tricky one. The universal method seems to be using caldav, so Taskpony would need to support that as an endpoint. But I haven't investigate this as the android side of things is complicated - or at least, I found it so when trying exactly that. You need to install third party software (DavX5 is the most common) - which is listed as both free via fdroid and paid via GPlay. That provides the syncing which is then available to other things on the device. Not an unsolveable problem, but I found it fiddly, and kept being nagged to register software to get it working.

But I made an early decision not to replicate things that are done well elsewhere. Caldav has lots of options, the best I found is Radicale which provides unlimited tasklists and calendars, but has no interface. That does tie in well with Thunderbird on desktop and other things, but again, the syncing problem exists on Android. Vikunja and TaskTrove are good projects that do support caldav and multi-users if you do want to go that route.

I wanted Taskpony to be simple to set up. Run a docker compose command and visit a URL - that's it for LAN use. No reliance on other software apart from a web browser. I can't achieve that and provide syncing or multi users, sorry. Of course, you and your wife can just use the same instance of Taskpony and have different Lists for personal or shared tasks, then everything is always in sync.

[-] digdilem@lemmy.ml 3 points 4 days ago

I guess it is getting on a bit, and it's no longer required by Bootstrap - but it is still a dependency of Datatables, which I adore.

[-] digdilem@lemmy.ml 2 points 4 days ago
[-] digdilem@lemmy.ml 7 points 5 days ago

Thank you for the kind words!

93
submitted 5 days ago by digdilem@lemmy.ml to c/opensource@lemmy.ml

Taskpony is a self-hosted tasks manager that runs from docker or as a linux service.

"Another tasks app? Seriously?"

I've been trying to de-google and, having used Google Tasks for many years, replacing it proved surprisingly complex for something that seemed so simple. I tried a number of other task managers, both paid and free which, whilst excellent at what they did, I found to be complex or packed with team and group features that I didn't need. So I wrote something for myself and, somewhere along the way, I thought it might be nice to share it with the FOSS community that I've benefited so much from.

It's the first "proper" FOSS app I've released, so please be kind.

Taskpony is over at https://github.com/digdilem/taskpony - it would be great if you could give it a try and let me know how it could be improved.

315
submitted 11 months ago by digdilem@lemmy.ml to c/worldnews@lemmy.ml

Under this methodology of all 193 UN Member States – an expansive model of 17 categories, or “goals,” many of them focused on the environment and equity – the U.S. ranks below Thailand, Cuba, Romania and more that are widely regarded as developing countries.

In 2022, America was 41st. Interesting to see where it will be after this term of office, which looks set to be working against many of these aims.

1

On display at the Stromness museum. Carved from whalebone and believed to be a child's doll.

Was discovered at the famous Skara Brae site, and then spent years forgotten in a box at the museum before being rediscovered.

https://www.bbc.co.uk/news/uk-scotland-north-east-orkney-shetland-36526874

196
submitted 2 years ago* (last edited 2 years ago) by digdilem@lemmy.ml to c/linux@lemmy.ml

I host a few small low-traffic websites for local interests. I do this for free - and some of them are for a friend who died last year but didn't want all his work to vanish. They don't get so many views, so I was surprised when I happened to glance at munin and saw my bandwidth usage had gone up a lot.

I spent a couple of hours working to solve this and did everything wrong. But it was a useful learning experience and I thought it might be worth sharing in case anyone else encounters similar.

My setup is:

Cloudflare DNS -> Cloudflare Tunnel (Because my residential isp uses CGNAT) -> Haproxy (I like Haproxy and amongst other things, alerts me when a site is down) -> Separate Docker containers for each website. On a Debian server living in my garage.

From Haproxy's stats page, I was able to see which website was gathering attention. It's one running PhpBB for a little forum. Tailing apache's logs in that container quickly identified the pattern and made it easy to see what was happening.

It was seeing a lot of 404 errors for URLs all coming from the same user-agent "claudebot". I know what you're thinking - it's an exploit scanning bot, but a closer look showed it was trying to fetch normal forum posts, some which had been deleted months previously, and also robots.txt. That site doesn't have a robots.txt so that was failing. What was weird is that the it was requesting at a rate of up to 20 urls a second, from multiple AWS IPs - and every other request was for robots.txt. You'd think it would take the hint after a million times of asking.

Googling that UA turns up that other PhpBB users have encountered this quite recently - it seems to be fascinated by web forums and absolutely hammers them with the same behaviour I found.

So - clearly a broken and stupid bot, right? Rather than being specifically malicious. I think so, but I host these sites on a rural consumer line and it was affecting both system load and bandwidth.

What I did wrong:

  1. In docker, I tried quite a few things to block the user agent, the country (US based AWS, and this is a UK regional site), various IPs. It took me far too long to realise why my changes to .htaccess were failing - the phpbb docker image I use mounts the root directory to the website internally, ignoring my mounted vol. (My own fault, it was too long since I set it up to remember only certain sub-dirs were mounted in)

  2. Figuring that out, I shelled into the container and edited that .htaccess, but wouldn't have survived restarting/rebuilding the container so wasn't a real solution.

Whilst I was in there, I created a robots.txt file. Not surprisingly, claudebot doesn't actually honour whats in there, and still continues to request it ten times a second.

  1. Thinking there must be another way, I switched to Haproxy. This was much easier - the documentation is very good. And it actually worked - blocking by Useragent (and yep, I'm lucky this wasn't changing) worked perfectly.

I then had to leave for a while and the graphs show it's working. (Yellow above the line is requests coming into haproxy, below the line are responses).

Great - except I'm still seeing half of the traffic, and that's affecting my latency. (Some of you might doubt this, and I can tell you that you're spoiled by an excess of bandwidth...)

  1. That's when the penny dropped and the obvious occured. I use cloudflare, so use their firewall, right? No excuses - I should have gone there first. In fact, I did, but I got distracted by the many options and focused on their bot fighting tools, which didn't work for me. (This bot is somehow getting through the captcha challenge even when bot fight mode is enabled)

But, their firewall has an option for user agent. The actual fix was simply to add this in WAF for that domain.

And voila - no more traffic through the tunnel for this very rude and stupid bot.

After 24 hours, Cloudflare has blocked almost a quarter of a million requests by claudebot to my little phpbb forum which barely gets a single post every three months.

Moral for myself: Stand back and think for a minute before rushing in and trying to fix something in the wrong way. I've also taken this as an opportunity to improve haproxy's rate limiting internally. Like most website hosts, most of my traffic is outbound, and slowing things down when it gets busy really does help.

This obviously isn't a perfect solution - all claudebot has to do is change its UA, and by coming from AWS it's pretty hard to block otherwise. One hopes it isn't truly malicious. It would be quite a lot more work to integrate Fail2ban for more bots, but it might yet come to that.

Also, if you write any kind of web bot, please consider that not everyone who hosts a website has a lot of bandwidth, and at least have enough pride to write software good enough to not keep doing the same thing every second. And, y'know, keep an eye on what your stuff is doing out on the internet - not least for your own benefit. Hopefully AWS really shaft claudebot's owners with some big bandwidth charges...

EDIT: It came back the next day with a new UA, and an email address linking it to anthropic.com - the Claude3 AI bot, so it looks like a particularly badly written scraper for AI learning.

view more: next ›

digdilem

joined 2 years ago