wholeScreenshotIn591x657Resolution
Sorry, couldn't find a better way to shoot the screen.
A gun should be pretty effective
that's what I thought, but I didn't have one handy
Can you not just vibe code that?
it's really not that bad, I've seen worse.
He's not trying to give you all the screen details, just the overall vibe.
Proof? Lemme see you eyeballing it perfectly
I downloaded the image and saw the height and width (in pixels!)
Proof: https://imgur.com/a/DHQAked
I was so expecting a rickroll
Since they plan to train Grok off the code dumped in I am kinda tempted to just dump garbage code in from a different LLM and tell it it's google source code or some nonsense just to screw with the algorithm.
Fuck yes, been waiting for AI poisoning wars to arrive :D
Write a program that vibe codes 100 projects per minute and submits them to Grok for optimization.
I love this idea
uint_8 count;
for x in range(count):
System.out.println(x);
Ever since GPT 3 they have had quality screening models to make sure the input data isn’t terrible
Doing God's work!
xAI has your entire codebase. Hope you have patents and a good lawyer to protect your IP...
Here’s a question though… assuming the original code was written by AI, do you even own it to begin with?
Depends on the ToS but generally yes. Morally is a separate question, but legally you own it.
Fym it's the new stack over flow copy here copy there it's all my code
Not sure I know what fym stands for but the rest of the sentiment seems to match what I said.
Stands for "fuck you mean?" [about morally]
Gotcha, thank you for the answer!
Morally it's the same as stack overflows.
Pretty sure the answer is no to owning anything on the Internet that AI touches since the courts rules AI can scrape anything without legal ramifications
Don't start this argument, man...
I was looking at cursor today and it claims you own the code
my ip is 127.0.0.1 and it's already been leaked many times so checkmate, nerds 😎
We all know that the one thing these companies really care about are your rights under copyright law.
Do we actually think this matters here?
The tech companies that have code work parenting are less than .1%
Why would anyone care about your code base?
Surely this is a joke or only inteded for really small projects.
How would it even work for actual projects. Do I first need to consolidate the entire codebase in a single text file...? That itself is a huge endeavour.
Could probably write a script to cat
all the files.
Getting whatever non-compiling trash the AI spits out back into your codebase is another matter...
Yeah and there’s absolutely no way the AI doesn’t get “confused” and start producing trash code once it has to deal with all the dependencies.
When I was using chatgpt a lot for webdev it constantly incorrectly messing up the import statements
That would technically work, but then you're already providing grok from the get go with code that doesn't compile. lol
I'm relatively sure you can just upload multiple.txt files
lol my first thought too 🤣
I know it's a joke but i actually wrote a rust crate to copy a codebase to clipboard specifically for this use case. If you want to check it out, you can find it here: https://crates.io/crates/repoyank
I haven't tried for huge codebases, but for anything up to 30k tokens, Gemini 2.5 pro "understands" the filestructure and internal dependencies.
Wait, I didn't get the joke because this is how I use Claude and other services. How else are you supposed to feed it the right context and know that it knows everything you want it to know? If the codebase is too big, I just include as much as I can for context while using a token counter to make sure the text file isn't getting excessively large. I've even got python scripts for packing up parts of the codebase into a single txt file with headers separating the files.
Now I feel like there's a better way that I've been missing...
Do you get good results like that? Is it really faster than solving the problem yourself?
How about asking a colleague for help?
Yep, I get great results like that, and for certain things yes, it's way faster than writing it myself. If I know the problem I need to solve and need to bounce ideas, then get the solution written the way I want, but without needing to write everything by hand, it's super handy. And by giving it the context of parts of the codebase that it needs, then it knows how it all fits together and can come up with things that neither me or my colleagues had thought of.
I know there are tools that can put your codebase in a vectordb and do RAG, but I like to control what context I send because I know the important parts of the code that it needs to solve a particular problem or just write a particular function for me if I'm being lazy.
That's why I shove stuff into one big text file, easiest way to feed it in.
all_code.txt
Did it work tho? Gemini is able to handle this with the 1M token limit
I dont think so. I just ran a quick script that turns your codebase into a single txt file (respecting .gitignore) on a project. The number of lines is 136,201. The number of characters is 3,679,767 (this includes the path/name of each file before the file contents). THe average length of a token is 4 characters according to google (source) That leaves us with very little wiggle room for interacting in a meaninful way.
AMAZING! I'll start copy and pasting in all my files now!
Plottwist: contains 400k GitHub links
Why are people so stupid?
For those wondering, "How would I combine the entire project into one file?" https://repomix.com/
Please don’t steal my code
just manually copy your project into a single text file first, lol
I know it's a joke but i actually wrote a rust crate to copy a codebase to clipboard specifically for this use case. If you want to check it out, you can find it here: https://crates.io/crates/repoyank
I haven't tried for huge codebases, but for anything up to 30k tokens, Gemini 2.5 pro "understands" the filestructure and internal dependencies.
Holy shit this is suicide fuel
Vibe coding or N@zi coding?
Violent antisemitism is one of the vibes needed for vibe coding with Grok
There is 'vibe' coders and then there is what ever the hell this is.
"But please pretend it's in different files because I'll have to separate it back up when I'm done."
There. That should work.
I do stuff like this all the time (probably not at this scale)
Putting your files in markdown code blocks with the name of the file works really well