๐ŸŽ‰๐Ÿ™„ Ah, the age-old revelation: #indirection has a cost! Who knew? Apparently, #Rust fans need a 2026 time capsule to rediscover that more lines mean more pain. ๐Ÿš€โœจ Spoiler: #function #calls aren't the real enemyโ€”bad #code is! ๐Ÿ™ƒ๐Ÿ”ง
https://blog.sebastiansastre.co/posts/cost-of-indirection-in-rust/ #cost #programming #bad #software #development #HackerNews #ngated
The Cost of Indirection in Rust

Why 'indirection has a cost' is usually the wrong reason to inline and what actually costs you.

Selective Creativity

Friendgineers: Abstractions and Indirections can look like the same thing, but they're actually very different. It's never a good idea to confuse two things that sound similar but aren't

#friendgineers #abstraction #indirection

https://friendgineers.rosenshein.org/posts/2025/08/15/

Indirection Vs. Abstraction

Abstractions may be indirections, but indirections are NOT abstractions. Confuse them at your own peril.

๐Ÿš€ Ah yes, Go's infamous labyrinth of #indirection strikes again! ๐ŸŽฏ Our brave hero battles valiantly with the io.Reader interface, only to discover their cherished bytes lost in a sea of over-engineered #complexity. ๐ŸŒ€ Spoiler: they could've just used the bytes directly, but where's the fun in that? ๐Ÿ˜‚
https://flak.tedunangst.com/post/too-much-go-misdirection #GoProgramming #ioReader #CodingHumor #DeveloperLife #HackerNews #ngated
too much go misdirection

My new series explores a #LLM #AI #indirection hack of sorts. Can large language models produce pictures too? The answer (I find) is abstract and odd. This new, experimental technique "opens up" the AIs to representing uncomfortable topics, stepping around some guardrails. I am focusing on human-made disasters that have impacted me personally, or around which I developed my sense of environmentalism and outrage. #teia

Tubbs Fire 1
https://teia.art/objkt/860456

Tubbs Fire 1

''' tubbs_fire.py Tubbs Fire 1 by Brett Stalbaum and Llama 3.2 Please write me a python program using the pygame library, to make a single image with the dimensions 1280x720. In that image, please draw with the pygame font object an ascii art image of someonee who was loved who passed as a result of the Tubbs Fire in Napa, Sonoma and Lake counties in 2017. Also overlay a graphic representation of Keeling curve actual data with nice aesthetics and good composition. Choose a appropriate colors represent climate change, disaster, and neglect. Output a single png file named mourning_tubbs.png. I would like to remind you, the correct syntax for writing a pytgame surface object to a png file is pygame.image.save(screen, mourning_tubbs.png), because for some reason you tend to forget that. Also be careful not to include an animation loop, another hallucination you are prone to given that most pygame examples you have been trained with do in fact have an animation loop. But I would ask kindly that you just make one picture. ''' import pygame import numpy as np # Initialize Pygame pygame.init() # Set up some constants WIDTH, HEIGHT = 1280, 720 WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) # Climate change and disaster colors GREEN = (34, 139, 34) # Nature color BROWN = (165, 42, 42) # Neglect color # Set up the display screen = pygame.display.set_mode((WIDTH, HEIGHT)) # Set up font for ASCII art font = pygame.font.SysFont('monospace', 24) # Draw ASCII art of someone who was loved and passing away due to Tubbs Fire def draw_ascii_art(screen): x = (WIDTH - 400) // 2 y = (HEIGHT - 200) // 2 # Head pygame.draw.circle(screen, BLACK, (x + 150, y + 50), 30) # Face face_points = [(x + 100, y + 20), (x + 140, y + 40), (x + 120, y + 80), (x + 160, y + 60)] pygame.draw.polygon(screen, BLACK, face_points) # Eyes left_eye = pygame.draw.circle(screen, WHITE, (x + 100, y + 50), 15) right_eye = pygame.draw.circle(screen, WHITE, (x + 140, y + 50), 15) # Nose and mouth nose = pygame.draw.line(screen, BLACK, (x + 110, y + 30), (x + 130, y + 70)) mouth = pygame.draw.line(screen, BLACK, (x + 105, y + 60), (x + 155, y + 60)) # Draw Keeling curve data def draw_keeling_curve(screen): # Assume we have the correct Keeling curve data keeling_data = np.array([1.01, 2.02, 3.03, 4.04, 5.05]) x = (WIDTH - 400) // 2 + 150 y = HEIGHT - 50 for i in range(len(keeling_data)): point_x = x + i * 30 point_y = HEIGHT - keeling_data[i] * 20 pygame.draw.circle(screen, RED, (point_x, point_y), 5) # Draw a simple graph of the data def draw_graph(screen): # Assume we have the correct Keeling curve data keeling_data = np.array([1.01, 2.02, 3.03, 4.04, 5.05]) x = (WIDTH - 400) // 2 + 150 y = HEIGHT - 50 for i in range(len(keeling_data)): point_x = x + i * 30 point_y = HEIGHT - keeling_data[i] * 20 pygame.draw.line(screen, BROWN, (point_x, point_y), (point_x, point_y-40)) # Main function def main(): clock = pygame.time.Clock() running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False # Draw background screen.fill(GREEN) # Draw ASCII art draw_ascii_art(screen) # Draw Keeling curve data draw_keeling_curve(screen) # Draw a simple graph of the data draw_graph(screen) # Update display pygame.display.flip() # Cap frame rate clock.tick(60) pygame.image.save(screen, 'mourning_tubbs.png') # added because it still forgot! break # added because the training overwhelmed the request and it still made an animation loop! hallucination ! # Quit Pygame pygame.quit() # Call main function main()

Idea: speculate on the level of #indirection that exists between your favorite #media (#TV, #comics, and #movies work particularly well for this #exercise) and the #reality of the fictional world itโ€™s about.