Skip to content

Instantly share code, notes, and snippets.

@jj1bdx
jj1bdx / ai-data-collection.md
Created June 21, 2026 07:10
How AI collects data (answered by Gemini)

A dialog with Gemini about how it collects data

My question

Can you tell me what kind of and how many data are collected for building generative AI models, including yours?

Answer by Gemini 3.5 Thinking

Building modern generative AI models—especially natively multimodal ones like Gemini—requires feeding them an extraordinarily diverse and massive "diet" of information. Instead of just reading text, modern models are built to understand the world through words, code, sights, and sounds simultaneously. Here is a breakdown of what kind of data is collected and the staggering scale behind it.

@jj1bdx
jj1bdx / rekordbox-bug-summary.md
Last active July 5, 2026 07:16
AlphaTheta Rekordbox glitches

AlphaTheta Rekordbox software glitches

  • For macOS only

Trivia: remove FwUpdateManager altogether if not really needed

Removing the software entirely from the system will surely solve the issue.

You can install your own update software for AlphaTheta/Pioneer\ DJ devices individually without the firmware manager.

@jj1bdx
jj1bdx / audit.ex
Created May 12, 2026 13:52 — forked from PJUllrich/audit.ex
The Prompts I use for finding Vulnerabilities in Elixir/Erlang projects
defmodule MyApp.Prompts.Audit do
@moduledoc """
Prompts for the audit pipeline. Two entry points:
* `audit_file/4` — embeds a single source file in the prompt and
runs `MyApp.CodingAgent` against it. Style is `:simple` or
`:deep`; the executor picks based on `audit.strategy`.
* `audit_directory/2` — whole-package audit. Spawns the agent with
`:cwd` set to the source dir so it can use Read/Grep/Bash.
"""
@jj1bdx
jj1bdx / nnr-cassette-list.txt
Created September 15, 2025 11:06
Neuro Net Recordings Cassette Tape Track listing
Source: <https://www.discogs.com/label/139309-Neuro-Net-Recordings>
A correct and comprehensive track listing for the complete Active Potential compilation series from Neuro Net Recordings:
Active Potential #0
Released: December 1994
80min Chrome Tape
A1. Sector-One: Control (5:52)
@jj1bdx
jj1bdx / usb_hid_keys.h
Created July 8, 2025 04:48 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
@jj1bdx
jj1bdx / neo6502.md
Last active March 8, 2025 07:42
Neo6502 installation tips and caveats

Using Neo6502.md

Note well: no guarantee for the following hardware contents.

Hardware caveats

You need a working USB keyboard and a USB memory together, presumably with a USB hub.

HHKB Pro 2 + USB memory

@jj1bdx
jj1bdx / delete-aquaskk.md
Created March 3, 2025 05:09
Removing AquaSKK 4.x from macOS

Remove the AquaSKK 4.x from macOS

  • (As a superuser) Delete the directory and all files under the directory /Library/Input Methods/AquaSKK.app/
  • Delete the directory and all files under the directory ~/Library/Application Support/AquaSKK/
  • Restart the system
@jj1bdx
jj1bdx / getnavsat.py
Last active February 28, 2025 15:25
Get QZSS status from u-blox MAX-M10s via UBX protocol using pyubx2
#!/usr/bin/env python3
import signal
import socket
import sys
from pyubx2 import UBXReader, UBX_PROTOCOL
from pyubx2.ubxhelpers import itow2utc
import curses
def signal_handler(signal, frame):
@jj1bdx
jj1bdx / GR-M10-RP.md
Last active February 14, 2025 03:39
Configuration example of Prioris GR-M10-RP (u-blox MAX-M10S) ver 2.0 for Raspberry Pi 3B and 4 Bookworm

How to configure GR-M10-RP connected to Raspberry Pi 3B/4

Physical issues

  • You need to cut some parts of the plastic case to hold the protruding SMA connector from GR-M10-RP
  • To keep the BBR info of u-blox MAX-M10S in GR-M10-RP, a CR1220 lithium battery must be installed

Default UART speed

  • The default UART speed is 38400bps
@jj1bdx
jj1bdx / ghostty-config
Last active January 16, 2025 03:31
Ghostty config including jj1bdx-night-owl theme
# Put this file at ~/.config/ghostty/config
theme = jj1bdx-night-owl
font-size = 15
font-family = CommitMono
font-family = Noto Sans Mono CJK JP
# disable ligature
# (comment out the features to enable ligature)
font-feature = -calt