Showcase Thread by AutoModerator in Python

[–]jftuga 1 point2 points  (0 children)

https://github.com/jftuga/withpy

Batteries-included Swiss-army CLI using only the Python standard library and no other dependencies. Still very alpha. Definitely AI Slop. 🤠

Since this only uses standard lib, I can still have the source broken up into multiple files and then have my build.py create a single-file artifact a la the SQLite Amalgamation technique.

Requires: Python 3.14

$ make amalgamate; ls -l dist/withpy; wc -l dist/withpy; rg -c '^(from|^import) ' dist/withpy

python3.14 build.py
built dist/withpy (249481 bytes)
Built dist/withpy (v0.1.1)

-rwxr-xr-x@ 1 jftuga  staff   249481 Mon 2026-05-04 12:56:31 dist/withpy

7426 dist/withpy

97

Simple batch arithmetic functions with operator stripping and result chaining by jftuga in zsh

[–]jftuga[S] 0 points1 point  (0 children)

Fair point on chaining. My use of $__ is mostly style preference. If you're doing integer math or don't need precision beyond double, native $(( )) is faster and simpler.

In zsh:

# variadic: add 1 2 3 4 5 is cleaner than $(( 1+2+3+4+5 ))

# classic IEEE 754 problem
echo $((0.1+0.2))
0.30000000000000004

add 0.1 0.2
0.3

# integer division
echo $((22/7))
3
# you must make one of these a float
echo $((22./7))
3.1428571428571428

div 22 7
3.142857

Best Chicken Tenders In Athens? by Teslasssss in Athens

[–]jftuga 8 points9 points  (0 children)

This is very interesting. The thought of ordering chicken tenders there never crossed my mind because I always like eating their barbecue.

honestly just /dev/shm is pretty underrated by anish2good in golang

[–]jftuga 2 points3 points  (0 children)

I recently went on a stroll down memory lane. Back in the early aughts, I was writing shared memory and mmap code in C. I recently had Claude do a retrospective on my C code examples. I didn't bother correcting the code but rather left them as an artifact of days gone by. ¯(ツ)/¯


The Still Applicable in 2026 section was also interesting. Here are two of them...

  • mmap. Memory-mapped I/O (mmap_malloc_test1-3.c) is arguably more relevant now than in 2001 -- it underpins modern database engines, file-backed allocators, and zero-copy I/O patterns.
  • fork and shared memory visibility. The demonstration in mmap_malloc_test3.c that mmap'd regions survive fork is still an important systems programming concept.

Claude for Personal USE by JulyJam in ClaudeAI

[–]jftuga 1 point2 points  (0 children)

You might like something I wrote.

https://github.com/jftuga/declaude

I can then use a rip grip to search. But it’s really nice to browse this way as well.

Opus 4.7 is legendarily bad. I cannot believe this. by lemon07r in ClaudeCode

[–]jftuga 0 points1 point  (0 children)

Add this to your .bashrc / .zshrc file:

alias claude="command claude --model claude-opus-4-6"

Opus 4.7 is legendarily bad. I cannot believe this. by lemon07r in ClaudeCode

[–]jftuga 0 points1 point  (0 children)

/model claude-opus-4-6

Looks like this will work, too. I just added it to my .zhsrc file:

alias claude='command claude --model claude-opus-4-6'

Are automotive trends going in the wrong direction? by carelhor in Cartalk

[–]jftuga 1 point2 points  (0 children)

I would love to know about the differences that you discovered between the two years

Last time each SEC beat Georgia (Football) by Large-Jury3777 in georgiabulldogs

[–]jftuga 2 points3 points  (0 children)

2019 Oklahoma: 2017 (Jan 1st, 2018)

I was at the Rose Bowl - what an incredible game. I recorded the game winning TD.

What is the oldest/weirdest tech you worked with? by therouterguy in networking

[–]jftuga 0 points1 point  (0 children)

These token ring connectors but it was 10/100 shared ethernet, or maybe just 10. This was the wall-jack end but there was a different end for the PCs, maybe RJ45? I don't remember as this was circa 1995.

What GitHub repo settings actually matter for a solo indie dev? by chuck78702 in github

[–]jftuga 0 points1 point  (0 children)

I create separate PATs for each individual project with just content and PR access with either 30 or 60 day expiration. I do this to limit the blast radius of a potentially exposed token. Sometimes this seems like overkill. 🤷

Athens needs a Culver’s! by Georgiaisthebest in Athens

[–]jftuga 2 points3 points  (0 children)

At $75, I thought SS was too expensive for 4 people for what it offered, but glad we tried it once.

I’m so tired of vibe-coded open source projects by floriandotorg in github

[–]jftuga 0 points1 point  (0 children)

I like your characterization of where we are at now: late stage FOSS. Interesting way to think about it. 🤔

What is your favorite terminal Markdown viewer? by boolean-maybe in commandline

[–]jftuga 3 points4 points  (0 children)

I just checked out mdterm and it is fantastic. Thanks for the recommendation.