Skip to content

Instantly share code, notes, and snippets.

View hyperknot's full-sized avatar

Zsolt Ero hyperknot

View GitHub Profile

Gemini 2.5 Pro unusable for coding?

Something really strange is going on with Gemini 2.5 Pro.

On one hand, it's supposedly the smartest coding model ever made. But on the other hand, I ask it to add one single parameter, and instead of a simple 2-line diff, it generates a 35-line one where it randomly changes logic, removes a time.sleep() from an API call pagination loop, and is generally just totally "drunk" about what I asked it to do. It's somehow both pedantic and drunk at the same time.

Every other model, even much smaller ones, can easily make the 2-line change and leave everything else alone.

I'm wondering how this thing beat the Aider leaderboard. Did something change since the launch?

@hyperknot
hyperknot / dsd2flac.py
Last active April 23, 2022 22:57
DSD to FLAC conversion using SoX DSD. Tries best gain (+6, +5, +4, etc.) which doesn't clip. You can get SoX DSD binaries from https://audiodigitale.eu/repo/sox/
#!/usr/bin/env python3
import pathlib
import subprocess
import sys
import shutil
root = pathlib.Path(__file__).parent.resolve()
target_root = root / 'dsd'
@hyperknot
hyperknot / fips_counties_population.md
Last active March 27, 2020 14:43
FIPS codes with population data parsed from US Census. GeoJSONs at https://github.com/hyperknot/country-levels