Love it
Will talk about Linux, plants, space, retro games, and anything else I find interesting.
Also mesa@piefed.social over on Piefed.
Love it
Ive tried a couple of times, ended up bricking a phone and had to re-do another. Linux phones are hard to get set up (for certain models).
Yeah its VERY expensive and only useful for a very niche setup. But its cool we can have options like this in the first place.
I disagree about how it used to be easy. And agree with everything else.
Ive used Windows since the 3.1 days (MSDOS as well?). Its never been “easy”. You just learn the magic spells on how to fix a printer, get the right drivers installed in JUST the right way, or which hardware magically doesn’t work for some reason and avoid it.
With Linux, at least we get good logs most of the time.
I know some of the issue is the manuals themselves are out of date. Ive literally had to have something explained to me via the developers Discord. I hate going to a projects Discord in order to find out crucial info.
Sometimes manuals are in 5 different places so you don’t know what applies to your specific system.
I usually try and improve the manuals when I do come across this with a quick PR, when I have time.
I’m not sure if the hard requirement of using openai is good for an open source projects. It requires a somewhat hidden closed source source for the main functionality.
Unfortunately it’s sold out. In fact it was only available for a very small amount of time.
Yep I got one too. Works great and self hosted. I swear its actually faster than GH is nowadays.
And I like that it doesn’t try to advertise and recommend a ton of repos to do you like GH does now.
I like the look-ish ofthe army men, but yeah looking to see what they do with all the other assets.
I used fail2ban + router to block the ip addresses. Then if the headers come from openai, they also get bounced.
Below is a template I used that I created on the fly for an AI black hole that I also made. Its decent, but I feel like it could be better.
from flask import Flask, request, redirect, render_template_string
import time
from collections import defaultdict
import random
app = Flask(__name__)
# Data structure to keep track of requests per IP
ip_requests = defaultdict(list)
IP_REQUEST_THRESHOLD = 1000 # Requests threshold for one hour
TIME_WINDOW = 3600 # Time window of one hour in seconds
# Function to track and limit requests based on IP
def track_requests(ip):
current_time = time.time()
ip_requests[ip] = [t for t in ip_requests[ip] if current_time - t < TIME_WINDOW] # Remove old requests
ip_requests[ip].append(current_time)
return len(ip_requests[ip])
# Serve slow pages incrementally
@app.route('/')
def index():
ip = request.remote_addr
request_count = track_requests(ip)
if request_count > IP_REQUEST_THRESHOLD:
return serve_slow_page(request_count)
else:
return 'Welcome to the site!'
def serve_slow_page(request_count):
"""Serve a progressively slower page."""
delay = min(10, request_count / 1000) # Slow down incrementally, max 10 seconds delay
time.sleep(delay) # Delay to slow down the request
# Generate the next "black hole" link
next_page_link = f'/slow/{random.randint(1000, 9999)}'
html_content = f"""
<html>
<head><title>Slowing You Down...</title></head>
<body>
<h1>You are being slowed down!</h1>
<p>This is taking longer than usual because you're making too many requests.</p>
<p>You have made more than {IP_REQUEST_THRESHOLD} requests in the past hour.</p>
<p>Next step: <a href="{next_page_link}">Click here for the next page...</a></p>
</body>
</html>
"""
return render_template_string(html_content)
@app.route('/slow/<int:page_id>')
def slow_page(page_id):
ip = request.remote_addr
request_count = track_requests(ip)
if request_count > IP_REQUEST_THRESHOLD:
return serve_slow_page(request_count)
else:
return 'Welcome back to normal!'
if __name__ == '__main__':
app.run(debug=True)
Yep same thing. I have some small servers and was getting hammered by openai ip controlled ai crawlers not respecting robots.txt. had to block all their IP addresses and create an AI black hole in order to stop them ddos ing my tiny site(s).
“new” outlooks has less features than the old one. And its even harder to find things in settings (they removed a bunch of stuff). I dont look forward to this being on work devices…
Might be both. I know a couple of 20s that love physical media. Its crazy to think about, but they stated their childhood was mostly screens and rectangles. They both like Vinyl which is crazy to me. They are working their first jobs too.
GL! One of my favorite open source projects!
Calibre can also be a server. https://manual.calibre-ebook.com/server. I use it all the time with my library.
I threw it up on Codeberg. Ill add in instructions later mastodon-to-hash-as-mblog. Feel free to fork and add what you want. Ill add in a README in a bit.
One thing to note, you HAVE to create an API token from the mastodon server of your choice in order to make this work. Theres probably a way around this, but I havent found it yet.
I use Mastodon to follow people and Lemmy to follow topics.
I actually created a Proof of concept where each hashtag would be a subreddit like interface a couple of weeks ago. Its VERY rough but links2 compatible :D. The idea is the first hashtag will be the “lemmy community” like interface. Its just mastodon.py with a very small fast api front end. Popped it up in an hour or so. I need to work on the UI badly but I keep not having the spoons.
Im just not seeing it honestly. Most people just dont care, they only have enough $$ for one major console. And then they go with that console for a while. Its only the diehards that care and that may be who is “complaining”.
My wife and I were looking at Croc and just talking about getting it for SD. My biggest issue is controls. I would like to know if it is easy/hard to get the controls working. Im tired of spending weekends getting a couple games working not off of steam.
Ill be looking into heroic! Thanks for the tip.
I’m planning on getting a flip v2 in August. I’m really hoping it will be better than what some say.
I want more ports! Stardew on a small console like that is a dream.
Although the work the devs (and a tiny bit myself) have put into onion os makes the MMP and MM so good to play. And 3d printed handles make the MMP easier in my hands!