JJCasswell
jjcasswell.bsky.social
JJCasswell
@jjcasswell.bsky.social
Data scientist, dipping my toes in the indie dev scene.
They have a good selection of models in a variety of sizes so obtaining weights is as simple as a pull command.
August 19, 2025 at 8:27 PM
Great article! I particularly liked the full derivation at the bottom!
August 19, 2025 at 4:45 PM
#insert into the migration operations list

class Migration(migrations.Migration):
dependencies = [
('your_app', 'previous_migration'),
]

operations = [
migrations.RunPython(clean_data),
migrations.AlterField(
#original migration code
),
]
June 19, 2025 at 6:18 PM
#create your clean-up function

def clean_data(apps, schema_editor):
YourModel = apps.get_model('your_app', 'YourModel')
for obj in YourModel.objects.all():
if not obj.your_field.isdigit():
obj.your_field = 0 # Or any default integer value
obj.save()
June 19, 2025 at 6:18 PM
Nice! A pi 5?
June 3, 2025 at 8:57 PM
Great news to start the weekend - there might be something in this science thing!
May 31, 2025 at 9:48 AM
Nice! Think it was the radio stations that made this game! What hardware are you playing it on?
May 31, 2025 at 9:44 AM
Great thread - will check out some of these later!
May 30, 2025 at 2:44 PM
Have you looked into the open recipe format?
May 29, 2025 at 1:20 PM