binarygolf

Binary Golf Grand Prix ; Annual Small File Competition ; Less Is More ; #BGGP5 begins June 21st 2024, ends September 6th 2024; binary.golf

2025-03-21

Check out the #BGGP5 Recap in @tmpout Volume 4!! tmpout.sh/4/17.html

bggp5 flyer
2024-09-06

Today is the last day of #BGGP 5!

Make sure your submissions are in, and we will have results and more information in the coming weeks!

2024-06-23

@tecknicaltom That is totally valid. File size is counted based on what appears on disk. Some entries will inherently need envvars or other command line arguments to run. We try to distinguish entries by the techniques used.

2024-06-23

@barubary we have to have some flexibility due to what we are asking for. Since the expectation for scripts is that they are executed in the command line, we expect argv[0] to be there no matter what. We have traditionally counted the file size as only what appears on disk. It's a cheeky technicality for sure, but we are making sure to give some context to the entry on the entries page.

2024-06-22

What a great start to #BGGP5! We are seeing many interesting entries already, including a 399 byte PE, an SVG, and numerous shell tricks. Looking forward to seeing all the entries people have been hinting at on discord and social media. Follow along here: github.com/binarygolf/BGGP/tre

Please note that it may take 24-48 hours for your entry to be verified. Feel free to check out the repo's issues for entries that are awaiting verification as well. github.com/binarygolf/BGGP/iss

haunted.computer/@binarygolf/1

binarygolf boosted:
2024-06-22

Today was a great first day for the Binary Golf Grand Prix! Check it out here if you haven't already: binary.golf/5/ #BGGP5 #binarygolf

2024-06-21

@barubary if it works, it works!

2024-06-21

Binary Golf Grand Prix 5 begins now!

#BGGP5 theme: "Download"

Challenge Announcement: binary.golf/5

BGGP5 flyer
binarygolf boosted:
Devine Lu Linveganeauoire@merveilles.town
2024-06-20

When a file is compressed using PKZIP, a decompression program, is required to expand the file. An option in PKZIP allows a simple version of an unzip program to be bundled with each compressed file.

Choosing this option creates an executable file that expands automatically to the original file, avoiding the issue of whether the recipient of a compressed file will have the appropriate decompression software.

I made a tga that contains its own image rendering code.

wiki.xxiivv.com/site/uxntal_la

2024-06-14

Attention Golfers, #BGGP5 is starting a week from today!! Get your hex editors ready and update your firewall rules because this one is going to be a lot of fun!

Keep it locked in on binary.golf, revisit old challenges, come chat in Discord, and we'll see you soon!

BGGP Logo with the text "binary.golf" in the center, black on white
2024-05-11

Wow #BGGP5 is fast approaching (June 21st 2024)!

What should the challenge be this year? We want something fun and interesting, while leaving a lot of room for creativity.

Comment with your idea below and we may just run with it!

Past challenges here: github.com/binarygolf/bggp

binarygolf boosted:
Battle Programmer Yuunetspooky@haunted.computer
2024-01-11

You should write an article for Phrack #71 !! I hear it's coming out by summer time. 👀

Let's open the windows and get some phresh air back into the scene.

If you've got a story to tell, you should send it in by April 1st and keep the vibe going. :)

phrack.org

binarygolf boosted:
isra 🏴‍☠️ilv@infosec.exchange
2023-09-26

I wrote a short writeup of my submissions for #BGGP4 using #perl (12 and 4 bytes): isra.cl/bggp4.html @binarygolf

binarygolf boosted:
2023-09-24

Finally finished a write up for #BGGP4! Commodore64 PRGs and floppy disk image parsing, Python ZIP executables and a RISC-V ELF! xcellerator.github.io/posts/bg

binarygolf boosted:
2023-09-16

Better late than never! Here's my blog for bggp4, @binarygolf ! definitely not expecting the points for it, but thought it would be fun to share anyway.

Going to be continuing to work on this project for a bit.
Hoping to move this over into a `BLOG` section and make the `README` instructions on the machine I used and how to replicate running the APK etc.

github.com/h0wdee/bggp4/blob/m

binarygolf boosted:
Battle Programmer Yuunetspooky@haunted.computer
2023-09-12

I took the week off so I can get both BGGP and tmp.0ut stuff sorted.

Going through the #BGGP4 entries now, I'm pretty humbled by the amount of people who participated and the quality of the work. Same with the incredible articles in the forthcoming tmp.0ut that I have the privilege of assisting in the organization and vibe-crafting of.

I am working on organizing all of the volunteers and people who have been wanting to help so that we can make things more sustainable and community driven with fewer bottlenecks and clearer duties.

I am realizing three main things:

  1. I am not scalable.

  2. The whacky side project ideas I've had that turned into bigger things did so for a reason, and deserve to be handled with care.

  3. People actually care about this stuff.

Thanks to everyone who is and has been involved! Your work will inspire generations. We can build the worlds we want to exist in.

2023-09-12

Going through over 80 entries for #BGGP4 right now. Results will be published later this week!

binarygolf boosted:
2023-09-11

Yo @binarygolf, here’s my entry 0 for BGGP4 — a self-replicating UEFI app.

This is the first submission of the collab entry that I’m working on w @netspooky
We’ll be golfing this lil self-rep app so expect smaller and smaller entries to follow.

Entry 0 is a UEFI self-rep app I wrote in nasm-syntax x86 asm (1480 bytes) 
xoxo:

***

TVoAAVBFAABkhgMAAAAAAAAAAAAAAAAAoAAGAgsCAAD7AgAAzAAAAAAAAAAAAgAAAAIAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAyAUAAAACAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAudGV4dAAAAPsCAAAAAgAA+wIAAAACAAAAAAAAAAAAAAAAAAAgAFBgLmRhdGEAAADMAAAA/AQAAMwAAAD8BAAAAAAAAAAAAAAAAAAAQAAA0C5yZWxvYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVSInlSIHswAAAAEiJDQIDAABIiRXjAgAASIsd3AIAAEiLW2BIiR3ZAgAASIsFygIAAEiLQEBIiQXPAgAASIsdwAIAAEiLu5gAAABIiw3CAgAATI0FwwIAAMdFwKExG1tmx0XEYpVmx0XG0hFIuI4/AKDJaXI7SIlFyEiNVcBMiw2PAgAAU//XW0iDOAB1JkiLBYYCAABIi1gYSIkdgwIAAEiLBXQCAABIi1hISIkdeQIAAOsiTI0t2gIAAOgFAAAA6SwCAABMiepIiw08AgAASItBCP/Qw0iLHSYCAABIiw0/AgAAx0WgIltOlmbHRaRZZGbHRabSEUi4jjkAoMlpcjtIiUWoSI1VoEyNBSsCAABMiw38AQAATTHSSIuDmAAAALsBAAAAU//QW0iDOAB1hEiLBQQCAABIi0AISIsN+QEAAEiNFeoBAAD/0EiJRfhIg334AA+FWv///0iLBdIBAABIi0AISIsNxwEAAEiNFdABAABMjQXxAQAAQbkBAAAATTHS/9BIiUX4SIN9+AAPhSD///9IiwWYAQAASItACEiLDY0BAABIx0WIAAAAAEiNVYhMjQXYAQAASbkDAAAAAAAAgEjHRCQgAAAAAP/QSIlF+EiDffgAD4XX/v//SItFiEiJBWMBAABIiwUUAQAASItAQEiLDWkBAABIixUqAQAATI0FSwEAAP/QSIlF+EiDffgAD4Wb/v//SIsFIwEAAEiLQCBIiw0YAQAASI0V+QAAAEyLBRoBAAD/0EiJRfhIg334AA+Fav7//0iLBfoAAABIi0AoSIsN7wAAAEiNFcgAAABMiwXpAAAA/9BIiUX4SIN9+AAPhTn+///rAEyNLTsBAADoPP7//+scTInoSItAEEyJ6f/QSIlF+EiDffgAD4UO/v//w0yLLZ0AAADo2P///0iLHUkAAABIi0NISIsNjgAAAP/QSIlF+EiDffgAD4Xe/f//TIstZgAAAOip////TTHtTIstRwAAAOia////SIHEwAAAAF3DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcAHMAZQBsAGYALQByAGUAcAAtAGcAbwBsAGYALgBlAGYAaQAAADQAAAB1AGgAIABvAGgAaABoACAARQBGAEkAIABlAHIAcgBvAHIAIAANAAoAAAA0AA0ACgAAAA==


binarygolf boosted:
2023-09-11

I'm late for #bggp4, but depending on @binarygolf's definition of "morning" I might get this in (haunted.computer/@binarygolf/1)

I learned enough x86 assembly to make a self-duplicating MS-DOS COM executable. I'm sure there are more tricks to pull, but I'm at 28 bytes [edit: latest version is 21 bytes thanks to @cvtsi2sd hachyderm.io/@aburka/111049653]. Original code in next toot.

DOSBox screenshot showing that running BGGP.COM creates a file called 4, and both are 28 bytes in size. Also, checking ERRORLEVEL to confirm that BGGP.COM returns 4.

Yes, that's the only way to check the return code; you can't print it directly using COMMAND.COM. ref: https://ss64.com/nt/errorlevel.htmlLinux terminal screenshot showing identical binary contents of BGGP.COM and 4, and `diff` confirming they are identical.Assembly code listing in vim. Code in next toot.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst