#codegolf — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #codegolf, aggregated by home.social.
-
Fifteenth edition of #js13k, web game development competition where you have to fit your entire game into a 13 kilobyte zip, starts NOW! The 2026 #theme is... #UNICORNS AND #RAINBOWS! 🦄🌈
https://js13kgames.com/2026/blog/competition-has-started
Share this info with the #gamedev world! 🎉
#gamedevjs #gamejam #indiedev #indiegames #codegolf #JavaScript #HTML5
-
Fifteenth edition of #js13k, web game development competition where you have to fit your entire game into a 13 kilobyte zip, starts NOW! The 2026 #theme is... #UNICORNS AND #RAINBOWS! 🦄🌈
https://js13kgames.com/2026/blog/competition-has-started
Share this info with the #gamedev world! 🎉
#gamedevjs #gamejam #indiedev #indiegames #codegolf #JavaScript #HTML5
-
Fifteenth edition of #js13k, web game development competition where you have to fit your entire game into a 13 kilobyte zip, starts NOW! The 2026 #theme is... #UNICORNS AND #RAINBOWS! 🦄🌈
https://js13kgames.com/2026/blog/competition-has-started
Share this info with the #gamedev world! 🎉
#gamedevjs #gamejam #indiedev #indiegames #codegolf #JavaScript #HTML5
-
Fifteenth edition of #js13k, web game development competition where you have to fit your entire game into a 13 kilobyte zip, starts NOW! The 2026 #theme is... #UNICORNS AND #RAINBOWS! 🦄🌈
https://js13kgames.com/2026/blog/competition-has-started
Share this info with the #gamedev world! 🎉
#gamedevjs #gamejam #indiedev #indiegames #codegolf #JavaScript #HTML5
-
Fifteenth edition of #js13k, web game development competition where you have to fit your entire game into a 13 kilobyte zip, starts NOW! The 2026 #theme is... #UNICORNS AND #RAINBOWS! 🦄🌈
https://js13kgames.com/2026/blog/competition-has-started
Share this info with the #gamedev world! 🎉
#gamedevjs #gamejam #indiedev #indiegames #codegolf #JavaScript #HTML5
-
The fifteenth (!) yearly edition of #js13k starts next week, in exactly 6 days from now - a perfect opportunity to build a cool little game within the 13 kilobyte zip size limit.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The fifteenth (!) yearly edition of #js13k starts next week, in exactly 6 days from now - a perfect opportunity to build a cool little game within the 13 kilobyte zip size limit.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The fifteenth (!) yearly edition of #js13k starts next week, in exactly 6 days from now - a perfect opportunity to build a cool little game within the 13 kilobyte zip size limit.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The fifteenth (!) yearly edition of #js13k starts next week, in exactly 6 days from now - a perfect opportunity to build a cool little game within the 13 kilobyte zip size limit.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The fifteenth (!) yearly edition of #js13k starts next week, in exactly 6 days from now - a perfect opportunity to build a cool little game within the 13 kilobyte zip size limit.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Less than 10 DAYS left to start #js13k 2026!
One month is plenty of time, so the first days after the theme announcement can be spent on brainstorming.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Less than 10 DAYS left to start #js13k 2026!
One month is plenty of time, so the first days after the theme announcement can be spent on brainstorming.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Less than 10 DAYS left to start #js13k 2026!
One month is plenty of time, so the first days after the theme announcement can be spent on brainstorming.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Less than 10 DAYS left to start #js13k 2026!
One month is plenty of time, so the first days after the theme announcement can be spent on brainstorming.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Less than 10 DAYS left to start #js13k 2026!
One month is plenty of time, so the first days after the theme announcement can be spent on brainstorming.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Over the weekend I have been a bit bored so I decided to create a very minimal snake game in JavaScript that ended up being only 1,422 bytes. The game is playable at https://rustydev.codeberg.page/tinysnake/.
-
Over the weekend I have been a bit bored so I decided to create a very minimal snake game in JavaScript that ended up being only 1,422 bytes. The game is playable at https://rustydev.codeberg.page/tinysnake/.
-
The final countdown: 13 DAYS left to start #js13k 2026!
Look through your tools from previous years if you do have them, or do your research right now, to not be surprised when the theme drops.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The final countdown: 13 DAYS left to start #js13k 2026!
Look through your tools from previous years if you do have them, or do your research right now, to not be surprised when the theme drops.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The final countdown: 13 DAYS left to start #js13k 2026!
Look through your tools from previous years if you do have them, or do your research right now, to not be surprised when the theme drops.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The final countdown: 13 DAYS left to start #js13k 2026!
Look through your tools from previous years if you do have them, or do your research right now, to not be surprised when the theme drops.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
The final countdown: 13 DAYS left to start #js13k 2026!
Look through your tools from previous years if you do have them, or do your research right now, to not be surprised when the theme drops.
#gamedev #gamejam #compo #competition #codegolf #challenge #JavaScript #HTML5 #indiedev #indiegames
-
Okay, I admit it: I was code golfing today.
The subject was Bernoulli numbers. Many clever and incredibly complex algorithms have been devised to calculate them for large arguments and resulting in implementations so arcane that they leave mere mortals in the dust.
That’s why I was surprised to find for Bernoulli number with an even index an one-liner for SageMath.
Here it is—84 bytes is the benchmark now; who can beat that? [Naturally, simply calling the built-in function isn't allowed.]
B=lambda n:matrix(2*n,lambda r,c:(c<r+2)*binomial(r+2,r-c+2)).det()/factorial(2*n+1)
-
Okay, I admit it: I was code golfing today.
The subject was Bernoulli numbers. Many clever and incredibly complex algorithms have been devised to calculate them for large arguments and resulting in implementations so arcane that they leave mere mortals in the dust.
That’s why I was surprised to find for Bernoulli number with an even index an one-liner for SageMath.
Here it is—84 bytes is the benchmark now; who can beat that? [Naturally, simply calling the built-in function isn't allowed.]
B=lambda n:matrix(2*n,lambda r,c:(c<r+2)*binomial(r+2,r-c+2)).det()/factorial(2*n+1)
-
Okay, I admit it: I was code golfing today.
The subject was Bernoulli numbers. Many clever and incredibly complex algorithms have been devised to calculate them for large arguments and resulting in implementations so arcane that they leave mere mortals in the dust.
That’s why I was surprised to find for Bernoulli number with an even index an one-liner for SageMath.
Here it is—84 bytes is the benchmark now; who can beat that? [Naturally, simply calling the built-in function isn't allowed.]
B=lambda n:matrix(2*n,lambda r,c:(c<r+2)*binomial(r+2,r-c+2)).det()/factorial(2*n+1)
-
Okay, I admit it: I was code golfing today.
The subject was Bernoulli numbers. Many clever and incredibly complex algorithms have been devised to calculate them for large arguments and resulting in implementations so arcane that they leave mere mortals in the dust.
That’s why I was surprised to find for Bernoulli number with an even index an one-liner for SageMath.
Here it is—84 bytes is the benchmark now; who can beat that? [Naturally, simply calling the built-in function isn't allowed.]
B=lambda n:matrix(2*n,lambda r,c:(c<r+2)*binomial(r+2,r-c+2)).det()/factorial(2*n+1)
-
We're starting the countdown to #js13k 2026 - in two months from now we'll be having a fifteenth (!) edition of our yearly web game development competition where you have to squeeze your game into a 13 kilobyte zip package to participate.
https://js13kgames.com/2026/blog/countdown
As always: expect to have fun, and win lots of cool prizes and swag.
#gamedev #gamedevjs #gamejam #compo #codegolf #competition #indiedev #indiegames #JavaScript #HTML5
-
We're starting the countdown to #js13k 2026 - in two months from now we'll be having a fifteenth (!) edition of our yearly web game development competition where you have to squeeze your game into a 13 kilobyte zip package to participate.
https://js13kgames.com/2026/blog/countdown
As always: expect to have fun, and win lots of cool prizes and swag.
#gamedev #gamedevjs #gamejam #compo #codegolf #competition #indiedev #indiegames #JavaScript #HTML5
-
We're starting the countdown to #js13k 2026 - in two months from now we'll be having a fifteenth (!) edition of our yearly web game development competition where you have to squeeze your game into a 13 kilobyte zip package to participate.
https://js13kgames.com/2026/blog/countdown
As always: expect to have fun, and win lots of cool prizes and swag.
#gamedev #gamedevjs #gamejam #compo #codegolf #competition #indiedev #indiegames #JavaScript #HTML5
-
We're starting the countdown to #js13k 2026 - in two months from now we'll be having a fifteenth (!) edition of our yearly web game development competition where you have to squeeze your game into a 13 kilobyte zip package to participate.
https://js13kgames.com/2026/blog/countdown
As always: expect to have fun, and win lots of cool prizes and swag.
#gamedev #gamedevjs #gamejam #compo #codegolf #competition #indiedev #indiegames #JavaScript #HTML5
-
We're starting the countdown to #js13k 2026 - in two months from now we'll be having a fifteenth (!) edition of our yearly web game development competition where you have to squeeze your game into a 13 kilobyte zip package to participate.
https://js13kgames.com/2026/blog/countdown
As always: expect to have fun, and win lots of cool prizes and swag.
#gamedev #gamedevjs #gamejam #compo #codegolf #competition #indiedev #indiegames #JavaScript #HTML5
-
The GitHub issues for the copyfail PoC script are fun, including this one, aptly titled "Golf Harder": https://github.com/theori-io/copy-fail-CVE-2026-31431/pull/5
-
The GitHub issues for the copyfail PoC script are fun, including this one, aptly titled "Golf Harder": https://github.com/theori-io/copy-fail-CVE-2026-31431/pull/5
-
The GitHub issues for the copyfail PoC script are fun, including this one, aptly titled "Golf Harder": https://github.com/theori-io/copy-fail-CVE-2026-31431/pull/5
-
The GitHub issues for the copyfail PoC script are fun, including this one, aptly titled "Golf Harder": https://github.com/theori-io/copy-fail-CVE-2026-31431/pull/5
-
The GitHub issues for the copyfail PoC script are fun, including this one, aptly titled "Golf Harder": https://github.com/theori-io/copy-fail-CVE-2026-31431/pull/5
-
"Ermitteln sie aus einem gegebenen Array von int-Werten die kleinste Zahl."
import java.util.Arrays;
void main(){
int[] numbers = {11, 45, 28, 51, 72, 5, 3, 9, 19, 4, 12, 95, 4, 33, 8, 17};
System.out.println(Arrays.stream(numbers).min().getAsInt());
} -
"Ermitteln sie aus einem gegebenen Array von int-Werten die kleinste Zahl."
import java.util.Arrays;
void main(){
int[] numbers = {11, 45, 28, 51, 72, 5, 3, 9, 19, 4, 12, 95, 4, 33, 8, 17};
System.out.println(Arrays.stream(numbers).min().getAsInt());
} -
"Schreiben sie ein Java-Programm, das die Zahlen von 1 bis 30 durchgeht. Ist der Wert durch 3 teilbar, soll statt der Zahl "Fizz" ausgegeben werden. Ist der Wert durch 5 teilbar, soll "Buzz" ausgegeben werden. Ist der Wert durch beide teilbar, geben sie "FizzBuzz" aus."
Mein Code:
void main(){IntStream.rangeClosed(1,30).forEach(i->System.out.println(i%3<1?"Fizz"+(i%5<1?"Buzz":""):i%5<1?"Buzz":i));}
-
"Schreiben sie ein Java-Programm, das die Zahlen von 1 bis 30 durchgeht. Ist der Wert durch 3 teilbar, soll statt der Zahl "Fizz" ausgegeben werden. Ist der Wert durch 5 teilbar, soll "Buzz" ausgegeben werden. Ist der Wert durch beide teilbar, geben sie "FizzBuzz" aus."
Mein Code:
void main(){IntStream.rangeClosed(1,30).forEach(i->System.out.println(i%3<1?"Fizz"+(i%5<1?"Buzz":""):i%5<1?"Buzz":i));}
-
Код-гольф в Яндексе: как нерды развлекаются
Что такое код-гольф? Это соревнование, в котором надо решить задачу по программированию (как правило, несложную), используя наименьшее количество символов. Соревнование довольно известное. Можно поиграть, например, на одноимённом сайте , есть целая секция на CodinGame , иногда такие соревнования публикует kaggle , была такая секция на HackerRank (сейчас её я не нашёл). В чём особенность таких задач? Низкий порог входа: решение можно написать с мобильника и оно будет занимать 10 строк. Но при этом есть большая сложность: чтобы избавиться от какого-то символа, в этом соревновании приходится идти на такие ухищрения, что мама не горюй. Некоторые конструкции очень неочевидные. Временами мы развлекаемся таким форматом. В какой-то момент на внутренних ивентах подняли свою платформу для соревнований, а потом она протекла и на внешние конференции. Эта статья — смесь разбора задач и истории появления соревнования по код-гольфу на конференциях Яндекса. Про нас и кодгольф
https://habr.com/ru/companies/yandex/articles/961658/
#C++ #codingolf #codegolf #python #разработка #занимательные_задачи
-
Код-гольф в Яндексе: как нерды развлекаются
Что такое код-гольф? Это соревнование, в котором надо решить задачу по программированию (как правило, несложную), используя наименьшее количество символов. Соревнование довольно известное. Можно поиграть, например, на одноимённом сайте , есть целая секция на CodinGame , иногда такие соревнования публикует kaggle , была такая секция на HackerRank (сейчас её я не нашёл). В чём особенность таких задач? Низкий порог входа: решение можно написать с мобильника и оно будет занимать 10 строк. Но при этом есть большая сложность: чтобы избавиться от какого-то символа, в этом соревновании приходится идти на такие ухищрения, что мама не горюй. Некоторые конструкции очень неочевидные. Временами мы развлекаемся таким форматом. В какой-то момент на внутренних ивентах подняли свою платформу для соревнований, а потом она протекла и на внешние конференции. Эта статья — смесь разбора задач и истории появления соревнования по код-гольфу на конференциях Яндекса. Про нас и кодгольф
https://habr.com/ru/companies/yandex/articles/961658/
#C++ #codingolf #codegolf #python #разработка #занимательные_задачи
-
Код-гольф в Яндексе: как нерды развлекаются
Что такое код-гольф? Это соревнование, в котором надо решить задачу по программированию (как правило, несложную), используя наименьшее количество символов. Соревнование довольно известное. Можно поиграть, например, на одноимённом сайте , есть целая секция на CodinGame , иногда такие соревнования публикует kaggle , была такая секция на HackerRank (сейчас её я не нашёл). В чём особенность таких задач? Низкий порог входа: решение можно написать с мобильника и оно будет занимать 10 строк. Но при этом есть большая сложность: чтобы избавиться от какого-то символа, в этом соревновании приходится идти на такие ухищрения, что мама не горюй. Некоторые конструкции очень неочевидные. Временами мы развлекаемся таким форматом. В какой-то момент на внутренних ивентах подняли свою платформу для соревнований, а потом она протекла и на внешние конференции. Эта статья — смесь разбора задач и истории появления соревнования по код-гольфу на конференциях Яндекса. Про нас и кодгольф
https://habr.com/ru/companies/yandex/articles/961658/
#C++ #codingolf #codegolf #python #разработка #занимательные_задачи
-
Meet me and some #RetroComputing #hackers at the #VintageComputing assembly on this years #39C3 in Hamburg!
We will present some historcial running machines #AnalogSynthesizer patching, #AnalogComputer tinkering (with a #Vectrex as an #oscilloscope), and #BASIC #CodeGolf and #RetroGame workshops!
-
Meet me and some #RetroComputing #hackers at the #VintageComputing assembly on this years #39C3 in Hamburg!
We will present some historcial running machines #AnalogSynthesizer patching, #AnalogComputer tinkering (with a #Vectrex as an #oscilloscope), and #BASIC #CodeGolf and #RetroGame workshops!
-
Meet me and some #RetroComputing #hackers at the #VintageComputing assembly on this years #39C3 in Hamburg!
We will present some historcial running machines #AnalogSynthesizer patching, #AnalogComputer tinkering (with a #Vectrex as an #oscilloscope), and #BASIC #CodeGolf and #RetroGame workshops!
-
Meet me and some #RetroComputing #hackers at the #VintageComputing assembly on this years #39C3 in Hamburg!
We will present some historcial running machines #AnalogSynthesizer patching, #AnalogComputer tinkering (with a #Vectrex as an #oscilloscope), and #BASIC #CodeGolf and #RetroGame workshops!
-
Meet me and some #RetroComputing #hackers at the #VintageComputing assembly on this years #39C3 in Hamburg!
We will present some historcial running machines #AnalogSynthesizer patching, #AnalogComputer tinkering (with a #Vectrex as an #oscilloscope), and #BASIC #CodeGolf and #RetroGame workshops!
-
I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.
This discussion suggested a workaround: Make the first line `
if 1:`, then you can indent all you like on the second line. Good enough for me! -
I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.
This discussion suggested a workaround: Make the first line `
if 1:`, then you can indent all you like on the second line. Good enough for me! -
I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.
This discussion suggested a workaround: Make the first line `
if 1:`, then you can indent all you like on the second line. Good enough for me! -
I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.
This discussion suggested a workaround: Make the first line `
if 1:`, then you can indent all you like on the second line. Good enough for me! -
I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.
This discussion suggested a workaround: Make the first line `
if 1:`, then you can indent all you like on the second line. Good enough for me! -
Yo Dawg! I heard you may want to #print a #poker #card sized version of a minimal #balatro like #javascript #game #sourcecode. So you can poker while you poker. #baatato #codegolf #deadmeme
More here: https://github.com/kesiev/baatato
-
Yo Dawg! I heard you may want to #print a #poker #card sized version of a minimal #balatro like #javascript #game #sourcecode. So you can poker while you poker. #baatato #codegolf #deadmeme
More here: https://github.com/kesiev/baatato