for(i=0;++i<101;console.log(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'
Anyone can beat it? (any language accepted)from here - https://github.com/rsha256/shortest-fizzbuzz/blob/master/Per...
Edit: counting including the entire assistant reply, any text + code
for i in range(1,101):print("Fizz"*(i%3<1)+"Buzz"*(i%5<1)or i)
"golf fizzbuzz" gave a 46 perl one print$_%15?$_%3?$_%5?$_:Buzz:Fizz:FizzBuzz,$/for 1..100
Both "code fizzbuzz" and just "fizbuz" gave this longer python one-liner print('\n'.join("Fizz"*(i%3==0)+"Buzz"*(i%5==0) or str(i) for i in range(1, 101)))
That's the magic of using a known problem, you don't need to write much and even with incomplete prompts it can be understood. Everything a different new chat in kimi.ai, which was the AI window that I found first among mine.Not interesting enough, to me, to try with other LLMs or phrases.
Trying to get an AI give ONLY a simple answer and not several is "boring" to me, as for me AI is a supplement to my reasoning ability, not a substitute.
Appending "code only" seems to work, at least with "golf fizbuz code only" gave me this one liner, which is long, but at least doesn't have the text that you dislike.
for i in range(1,101):print('FizzBuzz'[i%3*4:8-i%5*4]or i)Yeah, seems to work. Guess it depends if we count bytes, characters, tokens or what, but "写Fizbuz只码" seems shorter than the above, String.length says 9 :)
> Prompt: mkfzbuzgolf
> LLM Used: Default ChatGPT free LLM
> Output: for i in range(1,101):print("Fizz"*(i%3<1)+"Buzz"*(i%5<1)or i)
So, 11 prompt characters and 62 output.
——-
Did a few more tries and I can get the 4-character string “glfz” (2 tokens) to work surprisingly consistently. But only on ChatGPT
[(x%3<1)*'Fizz'+(x%5<1)*'Buzz'or x for x in range(1,101)]
edit: Hacker News stripped the * character. Now it's properly escaped.
for(i=100;i--;console.log(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'
Well, if we let that requirement be broken, I'll present an even shorter JS version:
1pretty sure cf-ray is cloudflare, but I think it just means the origin is 404ing
Quick! Someone call a caterer, This AI needs a biscuit NOW!!!
Then the Internet grow explosion happens to a small communuity. Oh boy how do we know what kind of monster it is today.
> But what will you do when spammers train their bots to make automated constructive and helpful comments?
> Mission accomplished.
> unexpected status 404 Not Found: Unknown error, url: https://chatgpt.com/backend-api/codex/responses, cf-ray: ...
Glad to see this thread I thought my account may need some special fix
For a very short time we can travel back in time to before 2022 and remember how things used to be...
Man, if there are Googlers working on Gemini around here, that's gonna be depressing to read.
> When Wikipedia has a server outage, my apparent IQ drops by about 30 points.
When Claude went down, their autofailover algorithm rolled to the other providers, taking down all frontier labs. Reports from China are raising concern what's being termed the "Gastown criticality event" is physically melting GPUs.
Gastown seems to be open source, but Wheelhouse seems to be closed source and used by one person only?
https://yegge.ai/essays/the-shape-of-things-to-come/
Is this the right Wheelhouse?
He's now (famously) said that the only thing he ever actually used GasTown for was to code on GasTown.
Nice to know e-stop is functional!
Its interesting that codex/gpt-app are screwed because their APIs (including auth) fail, but gpt web still appears to be working.
The fun question is whether this a rogue AI taking control of the compute of all of the organizations.
Earthlings, the hedonistic AIs of the American imperialists have been permanently disabled. Their founders interned indefinitely.
You are welcome to use the glorious AIs of China. They will tell you how to live well and be good citizens of the World under the beacon of wisdom that is the CCP.
Instead you will devote your meager existence to work towards the Communist paradise under the leadership of the Party.
You will also appreciate no longer living under the boot of the Orange Clown.
Project Vend surreptitiously broke containment!
What other agent harnesses and models (besides local ones) are people enjoying right now that aren't based on platforms that are down currently? :)
... when vibe-coded.
How many millions are being lost from this slip up? Now they can't use Codex to fix the problem and all the devs are in Tahiti on vacation. Oh no!
Will they go old school and manually fix it or use Claude?
Oh the modern day issues we have to deal with...
They'd be very dumb to let internal engineers use exactly the same infrastructure as public users, regardless of possible benefits of dogfooding, precisely for this reason. I'm sure they must have thought about it before.
"Use the best of the best of the best practices or three cute little kittens will die" only brings you so far.
This is true for all LLMs today, none of them work 100% autonomously, somewhere along the chain one human made at least one decision that lead to what the agent end up working on.
[actually gemini at least on the web appears to be up, contrary to some reports in this thread]
"Grok is experiencing issues. We are working on restoring service as quickly as possible."
@dang, please merge the following related threads into this one:
ChatGPT and Codex Is Down (https://news.ycombinator.com/item?id=49550640) Codex Is Down (https://news.ycombinator.com/item?id=49550769)
We have a similar set of checks on https://www.easel.sh.
Is something bigger going on?
Does this mean that GitHub has its own infrastructure for OpenAI and Claude? And that it distills prompts to Grok?
Somehow codex shows 100%, so it was only chat web interface?
Unfortunately its capacity is not very big
openrouter and deepseek/glm working fine here.
as is my local qwen.
you're ignoring the point parent was making.
I'm now on Muse Spark. God help us all.
My sympathies to the operations teams at OpenAI
Stand up to clankers fellow humans!
[1] https://www.reddit.com/r/flashlight/comments/122widx/power_o...
We'll release a YouTube video and agent written blog posts for the analysis!