mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#codegolf

0 Beiträge0 Beteiligte0 Beiträge heute
Terence Eden<p>I'm submitting a "creepy" entry to this 1KB JS competition.</p><p><a href="https://js1024.fun/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">js1024.fun/</span><span class="invisible"></span></a></p><p>I've currently got 6 whole bytes spare. Wonder what I'll use them for?</p><p><a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.social/tags/CodeGolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodeGolf</span></a></p>
jnpn<p><a href="https://js1024.fun/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">js1024.fun/</span><span class="invisible"></span></a> is on</p><p>js 1k demo :)</p><p>golf well people</p><p><a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> <a href="https://mastodon.social/tags/demo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demo</span></a> <a href="https://mastodon.social/tags/ioccc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ioccc</span></a></p>
defnull<p>Ich folge zu wenigen kreativen Accounts. Ich suche coole Software Spielereien, weniger klassische Kunst oder Hardware. Leute die Neues ausprobieren und Sachen aus Spaß programmieren, ohne konkrete Probleme damit lösen zu wollen. Code Golf, Experimente, ultra detaillierte Analysen und Deep-dives. Vorschläge? :BoostOK:</p><p><a href="https://chaos.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> <a href="https://chaos.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://chaos.social/tags/foss" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>foss</span></a> <a href="https://chaos.social/tags/creativity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>creativity</span></a> <a href="https://chaos.social/tags/noai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noai</span></a></p>
flockaroo<p>rose quartz + DOF <a href="https://mastodon.art/tags/glsl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glsl</span></a> <a href="https://mastodon.art/tags/generative" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generative</span></a> <a href="https://mastodon.art/tags/tinycode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tinycode</span></a> <a href="https://mastodon.art/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a><br>vec3 q=vec3(0,0,7e3),v=FC.rgb-r.xyx*.5,p,u=sin(FC.rgb*PI);v-=u*4.;for(float i,s;i++&lt;67.;s=abs(2e3-length(p.yz))-3e1,q+=sin(i)+v*.7/r.x*s,o+=exp(-s*s/vec4(4,1,2,1))/i)for(p=q+u*4e4/r.x,s=7e3;9.&lt;s;p=p.zxy+s*.02*sin(p/s*17.),s*=.8)p.zx*=rotate2D(s+(s==7e3?t*.2:0.));</p>
Marquis de Geek<p>More <a href="https://ohai.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> <a href="https://ohai.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> - this time it's for some space invader animations. (140 characters was not enough to make the game interactive)</p><p><a href="https://www.dwitter.net/d/33772" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">dwitter.net/d/33772</span><span class="invisible"></span></a></p>
Marquis de Geek<p>3rd place for my "10 Line Dino" - happy with that :)</p><p><a href="https://gkanold.wixsite.com/homeputerium/results-2025" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gkanold.wixsite.com/homeputeri</span><span class="invisible">um/results-2025</span></a></p><p><a href="https://ohai.social/tags/basic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>basic</span></a> <a href="https://ohai.social/tags/10liner" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>10liner</span></a> <a href="https://ohai.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://ohai.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a></p>
Lea Rosema<p>JavaScript piano one-liner :) <a href="https://lea.lgbt/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a></p><p>for(p='',y=5;y--;p+="\n")for(x=80;x--;)p+=x&amp;1?5-y&lt;4*((59&amp;(1&lt;&lt;((x&gt;&gt;1)%7)))&gt;0)|0?'#':'|':' ';console.log(p)</p>
Marquis de Geek<p>I have succeeded in creating a polyphonic <a href="https://ohai.social/tags/WebAudio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAudio</span></a> soundscape, with 140 characters.</p><p>So proud/not proud with the cheats needed to get this code down to size.</p><p><a href="https://www.dwitter.net/d/33468" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">dwitter.net/d/33468</span><span class="invisible"></span></a></p><p><a href="https://ohai.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> <a href="https://ohai.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Digital Mark λ ☕️ 🕹 🙄<p>Doing some table generation in awk, and is there an easier way to do "all fields n to NF" than this?</p><p>function combine(combn, combs) {<br> for (; combn&lt;=NF; ++combn) {<br> combs=combs "\t" $(combn)<br> }<br> return combs<br>}</p><p>I could use printf on the fragments, but the annoyance is that loop, instead of<br>(string-join (cddr fields) "\t")<br>or whatever.</p><p><a href="https://appdot.net/tags/awk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>awk</span></a> <a href="https://appdot.net/tags/unix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unix</span></a> <a href="https://appdot.net/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a></p>
Marquis de Geek<p>More golf!</p><p>194 bytes of code, which compresses to 140.</p><p>I have significantly better looking versions, but I need an extra 9 bytes to do it!</p><p><a href="https://www.dwitter.net/d/33440" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">dwitter.net/d/33440</span><span class="invisible"></span></a></p><p><a href="https://ohai.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://ohai.social/tags/pixelshader" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixelshader</span></a> <a href="https://ohai.social/tags/graphics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>graphics</span></a> <a href="https://ohai.social/tags/hacking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hacking</span></a> <a href="https://ohai.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a></p>
Graeme<p>This feels like a good game for <a href="https://mas.to/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> - writing compact solvers for it - brute force is OK but I'm also curious about better solutions</p>
Zuri (he/him) 🕐 CET<p>Another <a href="https://mastodon.online/tags/CodeGolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodeGolf</span></a> puzzle for <a href="https://mastodon.online/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.online/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> people:</p><p>I have n functions that type one argument of the same type and return a boolean.</p><p>The current usage is:<br>function a(b) {<br> return c(b) &amp;&amp; d(b)<br>}</p><p>I boiled down a to<br>a = (b) =&gt; [c, d].every(fn =&gt; fn(x))</p><p>I assume, this can be further boiled down via bind/ <a href="https://mastodon.online/tags/PartialApplication" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PartialApplication</span></a>/ <a href="https://mastodon.online/tags/Currying" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Currying</span></a> </p><p>What do you think? </p><p><a href="https://mastodon.online/tags/amCoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amCoding</span></a> <a href="https://mastodon.online/tags/amProgramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amProgramming</span></a> <a href="https://mastodon.online/tags/webDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDevelopment</span></a> <a href="https://mastodon.online/tags/softwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwareDevelopment</span></a> <a href="https://mastodon.online/tags/softwareEngineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwareEngineering</span></a></p>
vintage screwlisp account<p><a href="https://mastodon.sdf.org/tags/lispygopherclimate" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lispygopherclimate</span></a> <a href="https://archives.anonradio.net/202501220000_screwtape.mp3" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">archives.anonradio.net/2025012</span><span class="invisible">20000_screwtape.mp3</span></a> <a href="https://mastodon.sdf.org/tags/archive" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>archive</span></a><br><a href="https://mastodon.sdf.org/tags/ClimateCrisis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ClimateCrisis</span></a> haiku/wildfires by <span class="h-card"><a href="https://climatejustice.social/@kentpitman" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>kentpitman</span></a></span> </p><p>Electric (guitar) <a href="https://mastodon.sdf.org/tags/music" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>music</span></a> by <span class="h-card"><a href="https://infosec.exchange/@ksaj" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ksaj</span></a></span>, community message from <span class="h-card"><a href="https://hackers.town/@thegibson" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>TheGibson</span></a></span> </p><p>Arrokoth <a href="https://mastodon.sdf.org/tags/McClim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>McClim</span></a> Graphical adventure Game creation system <a href="https://mastodon.sdf.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a><br>by five decade <a href="https://mastodon.sdf.org/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> veteran <span class="h-card"><a href="https://appdot.net/@mdhughes" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mdhughes</span></a></span> <br><a href="https://mastodon.sdf.org/tags/NUD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NUD</span></a> <a href="https://mastodon.sdf.org/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> / adopting Arrokoth<br><span class="h-card"><a href="https://mastodon.sdf.org/@baruchel" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>baruchel</span></a></span> <a href="https://mastodon.sdf.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> destructive permutation</p><p><a href="https://mastodon.sdf.org/tags/mastobook" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastobook</span></a> club - Snow crash</p><p><a href="https://mastodon.sdf.org/tags/livechat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>livechat</span></a> in <a href="https://mastodon.sdf.org/tags/lambdaMOO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lambdaMOO</span></a><br>telnet lambda.moo.mud.org 8888<br>co guest<br>@join screwtape</p><p><span class="h-card"><a href="https://hachyderm.io/@nosrednayduj" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nosrednayduj</span></a></span> <span class="h-card"><a href="https://mastodon.social/@ratxue" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ratxue</span></a></span> <span class="h-card"><a href="https://gamerplus.org/@hairylarry" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hairylarry</span></a></span></p>
vintage screwlisp account<p><a href="https://mastodon.sdf.org/tags/NUD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NUD</span></a> <a href="https://mastodon.sdf.org/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> <a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.sdf.org/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.sdf.org/tags/commonlisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commonlisp</span></a><br>If you'll forgive the daily throwaway challenges, here's another one. To quote from the link,:<br>```<br>'(a (b c) d (e f))</p><p>overwrite the b with the f.<br>```<br>My solution, featuring the new "apply nconc to register", &amp;<br>```<br>(progn ^^ [ &gt;&gt; &gt;&gt; v [ &amp; ^^ [ &gt;&gt; &gt;&gt; ] )<br>```<br>the ability to use &amp; to create portals opens up a world of puzzles/golf challenges.</p><p><a href="https://lispy-gopher-show.itch.io/lispmoo2/devlog/872152/nud-golf-2-more-nconc" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lispy-gopher-show.itch.io/lisp</span><span class="invisible">moo2/devlog/872152/nud-golf-2-more-nconc</span></a></p><p>I'll add <span class="h-card"><a href="https://appdot.net/@mdhughes" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mdhughes</span></a></span>' <a href="https://mdhughes.tech/software/arrokoth/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mdhughes.tech/software/arrokot</span><span class="invisible">h/</span></a> for the interface this week.</p>
Marquis de Geek<p>1D cellular automaton in 133 bytes of code!</p><p><a href="https://www.dwitter.net/d/33092" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">dwitter.net/d/33092</span><span class="invisible"></span></a></p><p>this.r??=1;s=10;j=1;for(n=i=0;i&lt;32;j*=2)(j&amp;r)&amp;&amp;x.fillRect(i*s,t*600,s,s),n|=126&amp;1&lt;&lt;((r&amp;1&lt;&lt;++i?4:0)|(r&amp;j?2:0)|(r&amp;1&lt;&lt;i+30?1:0))?j:0;r=n</p><p><a href="https://ohai.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://ohai.social/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a> <a href="https://ohai.social/tags/life" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>life</span></a></p>
vintage screwlisp account<p><a href="https://mastodon.sdf.org/tags/gameDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gameDev</span></a> <br><a href="https://mastodon.sdf.org/tags/codeGolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codeGolf</span></a> is a <a href="https://mastodon.sdf.org/tags/game" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>game</span></a> right?? "Challenges" and all that. <a href="https://mastodon.sdf.org/tags/programmingChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programmingChallenge</span></a> <a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a><br><a href="https://lispy-gopher-show.itch.io/lispmoo2/devlog/871475/nud-golf" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lispy-gopher-show.itch.io/lisp</span><span class="invisible">moo2/devlog/871475/nud-golf</span></a><br>I modified my little NUD language to basically be vi but for <a href="https://mastodon.sdf.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> lists. Er, if I do say so. YMMV</p><p>Alternately, propose your own challenges for me and others to solve (I'll add them to the git here: <a href="https://codeberg.org/tfw/nud/src/branch/master/golf.org" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/tfw/nud/src/branc</span><span class="invisible">h/master/golf.org</span></a> )</p><p>If anyone wants help trying or has other commentary, lmk here or during the show.</p>
PICO-8 TweetCarts<p>(@farty · Sep 9, 2018)</p><p><a href="https://mastodon.gamedev.place/tags/keepcalm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>keepcalm</span></a> <a href="https://mastodon.gamedev.place/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a></p><p>cls(8)q=sspr<br>r=rectfill<br>?"keepcalm andpico-8",8,0,7<br>memcpy(0x0,0x6000,4000)<br>p=16<br>::_::cls()<br>r(10,0,117,127,8)<br>circ(62,10,4,7)<br>q( 8,0,p,5,32,20,64,20)<br>q(24,0,p,5,32,44,64,20)<br>q(40,0,p,5,36,73,48,10)<br>q(56,0,24,5,18,92,72+24,20)<br>flip()goto _</p><p><a href="https://pico-8-edu.com/?c=AHB4YQDuALw3H-8G27esP8FFVfAEbzBSRMXp7SMcf38ehJdd8AJlEKfHh09wQ-MGD9DV4SMctJMflBQ3Fadt9AtFGr-EWPkSRVokxyVB0Nxmgr24XLssjM4LXqAIVEW6ZrDuFALaIphIkuOaZiQMJ4bSJK3T0hcDRZumm_GapMhEd15xXpsUK0ldu8A3UeF7BIHvEUS_baI6S6qFZMJXZeeLMjNGlGX3VUmZXFdoia1uzvQLI4_wuFusbAE=&amp;g=w-w-w-w1HQHw-w2Xw-w3Xw-w2HQH" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">pico-8-edu.com/?c=AHB4YQDuALw3</span><span class="invisible">H-8G27esP8FFVfAEbzBSRMXp7SMcf38ehJdd8AJlEKfHh09wQ-MGD9DV4SMctJMflBQ3Fadt9AtFGr-EWPkSRVokxyVB0Nxmgr24XLssjM4LXqAIVEW6ZrDuFALaIphIkuOaZiQMJ4bSJK3T0hcDRZumm_GapMhEd15xXpsUK0ldu8A3UeF7BIHvEUS_baI6S6qFZMJXZeeLMjNGlGX3VUmZXFdoia1uzvQLI4_wuFusbAE=&amp;g=w-w-w-w1HQHw-w2Xw-w3Xw-w2HQH</span></a><br><a href="https://mastodon.gamedev.place/tags/Pico8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pico8</span></a> <a href="https://mastodon.gamedev.place/tags/TweetCart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TweetCart</span></a></p>
0x10f<p>Python oneliner: add random diacritics to vowels. The input is "SEQUOIA sequoia". Prints e.g. "SÉQÜÕÏÁ sëqûôìâ".<br>import random;print("".join((chr(192|ord(c)&amp;32|(0,8,12,18,25)["AEIOUaeiou".find(c)%5]+random.randrange(4))if c in"AEIOUaeiou"else c)for c in"SEQUOIA sequoia"))<br><a href="https://tech.lgbt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://tech.lgbt/tags/codeGolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codeGolf</span></a></p>
Coop<p><a href="https://jordaneldredge.com/notes/code-golf/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jordaneldredge.com/notes/code-</span><span class="invisible">golf/</span></a></p><p><a href="https://fosstodon.org/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://fosstodon.org/tags/codegolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codegolf</span></a></p>
coolbutuseless<p><a href="https://fosstodon.org/tags/RStat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStat</span></a> <a href="https://fosstodon.org/tags/CodeGolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodeGolf</span></a> </p><p>I need to reverse the order of elements within blocks in a vector.</p><p>I will be using this for changing the endian-ness of raw bytes.</p><p>Besides a "for-loop" the screenshot shows the only method I could think of.</p><p>Anyone have any fresh ideas?</p>