Loading...

Grand Theft Auto 5 / GTAV / GTA Online Idle Evasion

I've been playing GTA Online for a while now, and I've noticed that the game is very aggressive about kicking you for being idle. I've been working on a hardware solution to this problem with a Raspberry Pi Pico and MicroPython firmware to emulate a keyboard and keep the game from kicking me. I've been using it for a couple of weeks now and it's been working great!
Read more...

Add files via upload

+{
+ "cells": [
+{
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+""""n",
+"Bulk File Converter for the Yamaha FGDP
-50n",
+"n",
+"Requirements for loading audio files:n",
+"Sample format: WAV, AIFF (44.1 kHz, 16
-bit, mono/stereo)n",
+"Max. time: Up to approx. 20 seconds per file, approx. 300 seconds (stereo)/600 seconds (mono) in totaln",
+"n",
+""""n",
+"n",
+"import osn",
+"import subprocessn",
+"from tqdm import tqdmn",
+"n",
+"n",
+"# Bulk convert every file in the folders folders from mp3 to wavn",
+"n",
+"usb_drive = '/Volumes/NO NAME'n",
+"n",
+"folders = [n",
+"'/Users/mark/Downloads/Unsorted/Warner Bros. Sound Effects Library (1400
+ Sound FX) [RH]',n",
+"'/Users/mark/Downloads/Unsorted/Sound Ideas Sound Effects Library 1000 Series (28 CDs)'n",
+"]n",
+"n",
+"out_folder = '/Users/mark/Downloads/Unsorted/Converted'n",
+"# out_folder = usb_driven",
+"n",
+"ffmpeg_settings = {n",
+"'sample_rate': '44100',n",
+"'bit_rate': '16',n",
+"'channels': '2'n",
+"}n",
+"n",
+"# Make the out_folder if it doesn't existn",
+"n",
+"if not os.path.exists(out_folder):n",
+"os.makedirs(out_folder)n",
+"n",
+"folder_count = 0n",
+"for folder in folders:n",
+"for subfolder in os.listdir(folder):n",
+"folder_count
+= 1n",
+"n",
+"# Convert every mp3 file in the folders to wavn",
+"for folder in folders:n",
+"for subfolder in tqdm(os.listdir(folder), total=folder_count):n",
+"print(f'Converting {subfolder}...')n",
+"# Skip files, only convert foldersn",
+"# is subfolder a file?n",
+"if os.path.isfile(os.path.join(folder, subfolder)):n",
+"continuen",
+"else:n",
+"for file in os.listdir(os.path.join(folder, subfolder)):n",
+"if file.endswith('.mp3'):n",
+"in_file = os.path.join(folder, subfolder, file)n",
+"# Put folder name into file namen",
+"out_file = os.path.join(out_folder, subfolder
+ '_'
+ file.replace('.mp3', '.wav'))n",
+"subprocess.run(['ffmpeg', '
-i',n",
+"in_file, '
-ar',n",
+"ffmpeg_settings['sample_rate'],n",
+"'
-ac',n",
+"ffmpeg_settings['channels'],n",
+"'
-ab', ffmpeg_settings['bit_rate'],n",
+"out_file])n",
+"print(f'Converted {file} to {out_file}')"
+ ]
+}
+ ],
+ "metadata": {
+"kernelspec": {
+ "display_name": "Python 3",
+ "language": "python",
+ "name": "python3"
+},
+"language_info": {
+ "codemirror_mode": {
+"name": "ipython",
+"version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x
-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.0.0"
+}
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}
Read more...

I tried out AWS RDS options

I couldn't size a database small enough to be economical. It seems like even the smallest offering was costing $2/day at idle, so I'm going to stick with the JSON file for now. I'm going to try to do a sort of sync with GitHub instead

Threads is mid

I'm not sure what to think of Threads. It's a bit of a mess. I'm not sure if I'll keep using it. I've returned to posting more often on the Twitter/X site.
Read more...

Another site update

I've updated the Threads and X (Twitter) icons. I'm trying to get access to the TikTok API but they're being kind of unhelpful and I might have to do something hacky with BeautifulSoup like what I'm also working on with my Twitter, Threads, and YouTube accounts. They're all very hostile to scraping, but I'm not sure what else to do. I've also done a bit of CSS work to make things a bit easier to read.

Threads App

I'll be posting more on Threads, I was reluctant to join, since it's just another site made by another unlikable billionaire who wishes to harvest my data, but here we are. Joining out of spite, I suppose. I've been on Instagram for a long time, before it was acquired by Meta, so the base account was already there. Find me @nerdymark
Read more...

Too spicy for Twitter

One of my alt accounts, @ca_cryptids, was suspended while posting a series of 1000 Trump-related AI-generated images. Someone's feelings must have been hurt. I've moved the content to Flickr, and it is being presented here via the API.
Too spicy for Twitter
Read more...

Small site update

I use Flask-Talisman to manage security contexts and I did not have all of my external sources set up correctly. I've fixed that now.

I think I need a database.

I've been trying to avoid using a database, this is running off a JSON file. I think I need to switch to a database. I want persistent comments, image blobs, and other things. I'm going to try to use Amazon RDS for this.