A very simple way to draw HAKMEM 149 based structures by using whole 32 bits range with upper bits as coordinates using unsigned shifts.

This also works with a lower range but it loses precision.

The oblique version is even simpler by removing the last two operations.

The structure looks like Apollonian net or Hopalong attractors.

This drawing method also works with other attractors or Gingerbread man map etc.

#sizecoding #codegolfing #algorithm #attractor #fractal #computergraphics

A try at realtime graphics programming / code golfing on the #AtariST #motorola68k, also wrote a guide (may works for other models such as Falcon) : https://www.onirom.fr/wiki/codegolf/atari_st/

My first  ST program was made 20 years ago but i didn't go further than some GEM "hello world" at the time... a fun and easy platform overall although i dislike bitplane graphics and the exe header. ;) (no need for header / loader on Acorn Archimedes / RISC OS !)

#demoscene #codegolfing

Atari ST code setup / tricks

WavesinNano

Video https://youtu.be/xku48uYqJ48

#genuary2024 #genuary14 #codegolfing #tixyland #hydra #bytebeat

For Genuary2024 Day 14: Under A Kilobyte, A snippet of a world is view with code that is written in less than 500 bytes of text through Hydra @hydra Tixyland & Bytebeat

Blogpost: https://blog.illestpreacha.com/genuary2024underakb

Poem

The waves have arrived
The waves have multiplied
Didn’t take alot ot be
But will take alot to leave

#genuary #creativecoding #coding
#newmedia #animation

Genuary14 - Under a Kilobyte: WavesInNano

YouTube

Today Puzzle was a bit easier compared to the previous days. I solved part1 and part2 with the same naive approach.

This year I am NOT coding in #Haskell with #codegolfing, but in #python favoring readability.

I also made a framework, that downloads the puzzle inputs and example inputs, and runs the code on them, so my code is less cluttered.

https://git.k-fortytwo.de/christofsteel/aoc2023/-/blob/main/aoc/day09.py

I just completed "Mirage Maintenance" - Day 9 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/9

aoc/day09.py · main · Christoph Stahl / aoc2023 · GitLab

GitLab Community Edition

GitLab

I just heard of this code-golfing thing, so I tried to solve FizzBuzz thru code-golfing at code.golf:

```ex
for i<-1..100, do: IO.puts (rem(i,3)==0&&((rem(i,5)==0&&"FizzBuzz")||"Fizz"))||rem(i,5)==0&&"Buzz"||i
```

#Elixirlang doesn’t help much by not providing a `%` operator, but it still works.

How would you do better? 😄
#codegolfing #myelixirstatus

Let me just say this, many languages exist that are better suited for code golfing than Go 🤣 #adventofcode2023 #aoc2023 #golang #codegolfing

Reading temperature from a particulate matter sensor on my home network; it's a value in a dict in a list l ("el") that I read from a json file.

`temp = float([i for i in l if i['value_type'] == 'temperature'][0]['value'])`

It works fine. I like it.

Is it code golfing, and therefor to be frowned upon?

#Python #codegolfing #oneliners

Yes!
75%
No
0%
Heh?
25%
Poll ended at .

🕖 Link of the day THROWBACK
This day, one year ago...

📎 Link of the day: https://js1k.com/
📂 Category: Computers » Development » Code golfing

The JavaScript code golfing competition. It runs yearly, usually in or around February/March. You must submit a self-contained demo in 1024 bytes of pure JS, which in turn may use various web technologies (submitted by @1ynx).

#lotd #codegolfing #development #computers #web

JS1k - The JavaScript code golfing competition

🕖 Link of the day THROWBACK
This day, one year ago...

📎 Link of the day: https://ioccc.org/
📂 Category: Computers » Development » Code golfing

The site of the International Obfuscated C Code Contest, whose goals are (among others) to show the importance of programming style, in an ironic way; to stress C compilers with unusual code; to illustrate some of the subtleties of the C language and to provide a safe forum for poor C code.

#lotd #codegolfing #development #computers #web

my favorite unreadable javascript golfed code:

typeof window > "u"

#javascript #codegolfing