Spyke
ch00freply
lemmy.world
  • Auswitch statement
  • V2latile variable
  • Goebboolean
  • Zyklon C++
  • Left shift, Reich shift
  • Open and close Parenzer
  • Iron Cross-compiler
145
Taiatarireply
lemmynsfw.com

It's for familiarity, that way you can remember the variables better. taps head

/s obviously

37

I am a professional encoder and I always put all my codes in a single big file marked EXE for faster execution.

277
ricecakereply
sh.itjust.works

No, that makes them slower because theyre leaning into the wind. You want to try to mostly use A's, because they're the most aerodynamic, and anything else should be formatted as subscript to keep code size down and reduce drag. C should be avoided at all costs because it's just going to catch the wind.

24

marked EXE

Ok, I'm taking from it that you use a permanent marker pen... I just don't know why you execute your files, but since paper guillotines are so fun to use, I'm assuming it's just for amusement.

11
piefed.world

Get popcorn ready

Upload the entire Linux kernel, then submit the "fixed" code as a PR to Linus.

Enjoy popcorn

232
CaptDustreply
sh.itjust.works

My sibling in christ, we are trying to code not cause a NATO conflict.

156

I think that Linus becoming less of an abusive asshole over the years has been a positive development, but I wouldn't mind the return of the old for this event

31

i’d love to see linus revoke twitters license to use linux somehow

4
sh.itjust.works

No one who legitimately knows anything about computing speaks like this.

He’s truly a moron’s hallucination of a genius.

180
Jankatarchreply
lemmy.world

Wdym. Just copy-paste your source code. Go ahead. That one single file with the source code, copy-paste it.

75

Not copy-paste. Cut-paste. As an additional feature that way your source code becomes as light weighted as 0 Kb.

39
mander.xyz

I saw him do a show in Florida and he started bashing republicans during a joke when a bunch of people in the audience started booing and leaving. He calls them all dipshits and dives into doing a bunch of jokes further questioning their intelligence before winning back the crowd. It was very impressive.

13

I love Stavrose baby. He is awesome and doesn't give a fuck what people think.

5
lemmy.blahaj.zone

Why the fuck can't these assholes just go away?

You've won life. We get it. Good for you. Why do you need more money? Why do you need to constantly be the center of attention?*

It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.

*these are rhetorical questions

129
Taleyareply
aussie.zone

Then pick a picture of him looking rich, not manic

1
paulbgreply
programming.dev

these mfs don't need money anymore, they need power. money is just a byproduct of it.

9

also true. i hate the fact that most tech people i know are tech bro wannabe mfs. we need more community power to escape that shit.

1
philporeply
feddit.org

If it is any consolation for anyone: He won't be able to piss normally for the rest of his life.

5

It's a known side effect of Ketamine abuse that the complete urinary genital system gets inflamed. Guys basically having a continuous cystitis and much more for the rest of his life - and he confirmed that to some degree.

5

I’d posit that they haven’t won and are fundamentally broken people seeking to fill a void that no amount of money could fill. I know for certain I could never attain this much wealth as I would stop way before tens of millions.

5
CanadaPlusreply
lemmy.sdf.org

It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.

No, that was a much larger group effort. You and me can't wash our hands of it. Like, even if you ignore the majority of stuff they don't own, we let them do that.

4

Well said. We don’t like inequality, but when it comes to blame somehow we all get a “tax free” discount.

Yes, they are awful people. They have more than enough money to live out their sickest fantasies and it’s still not enough for them. But they are - at least in part - a symptom of the way the rest of us live. We vote for a government that lets us forget our humanity, class consciousness and responsibility in place of overbearing capitalism. Only we can stop this.

2
Adalastreply
lemmy.world

They have turned life into an idle game and are bored now?

3
lemmy.world

They're playing life on god mode. But, they're also very lonely. They drive away their original wives, who married them "before" (Bezos, and Gates). Their kids hate them. Everyone they come in contact with is paid in some way to be there. They have no real human connections. They're surrounded by personal security staff 24/7. Also, Epstein just hung around the entrance to the rabbit hole. That hole goes deep, and I think we all know it.

7

Maybe thats why they all love their ai. They can think it's a human-like connection, and it wont leave them because they're horrible ghouls. And if it disagrees they can just tell the coders to recode it.

1
lemmy.world

Yes, I who knows a lot about programming, only use one file per application.

110
3abasreply
lemmy.world

The entire file! My biggest frustration with cursor is that it doesn't support reading from multiple projects at once so it can see the context of how the projects interact or how interfaces are implemented.

18
Dharreply

Add the other project folder to your workspace. BAM, now it has backend context in the frontend.

1
lemmy.world

Have you used GenAI for art? It can do a reasonable job for the entire composition, but the extra fine detail have to be inpainted with specific prompts, and there are special routines that make sure faces and hands look human.

The same with code. It can outline the entire project but details need to be inpainted and specific errors handled.

The context window can't handle an entire codebase, never mind multiple projects.

-1

Actually, I have my entire code base documented in obsidian, and I literally tell cursor to refer to the documentation. It works amazingly well, and then I have it draft documentation for the new features it's creating. I can do in a day what I used to do in a week, and it's not because it's doing anything advanced, it's just takes care of so much of the brain draining tedious tasks.

2

Having multiple files increases the compile time, think of all the femtoseconds you can save by having everything in one place!

4
lemmy.zip

So "don't talk to strangers" or "don't give your credit card info to strangers" never really reached the audience, did it?

108
AreaKodereply
lemmy.world

This is the future. Robots are more people than people now!

23
sh.itjust.works

please don’t use grok.

elon is poisoning the air over memphis with exhaust from the generators that he’s using to power it while using drinking water from the memphis sands aquifer to cool it.

please don’t use grok.

88
Hadriscusreply
jlai.lu

You'd have to say it on the platforms normies use, make it short and attention-grabbing, a drone shot, a couple of tits...

3
Gorkreply
sopuli.xyz

Like this? Unrelated but similar in concept.

10

naw. the smog producing generators run exclusively to power grok. the drinking water is being pulled from the ground to cool grok. using grok is the problem, not whether you pay for it.

8
lemmy.world

More like all the On Error Resume Next statements. Which wasn't even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there.

9
locuesterreply
lemmy.zip

There would just be one of those, at the top of the 1 file…

5
locuesterreply
lemmy.zip

Oof indeed! After 40 years, I forgot it even had fns

4
lemmy.world

I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic.

3

I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust.

1
lemmy.world

Hmm, can you upload files? Wonder if they set an upper limit. Wonder which language would burn the most cycles?

70
chiliedoggreply
lemmy.world

Knowing how half-assed they've been deploying Grok a ZIP bomb would probably work on it if they allowed file uploads.

93

I really want someone to try this and report back. It really does feel like something that could execute.

18

not the same thing at all, but there's already been a couple of pretty high profile "prompt injection" malware cases out there.

9

I have asked several LLM to output brainfuck and Malbolge, but none of them seem capable to do so, even those that implement train of thought, me included ofc.

20
Vincereply
lemmy.world

bf was my first thought, but I would think that would be very easy to parse for computers, and hard for humans. So maybe something that's a lot more verbose?

4

Could go for a middleground. Verbose -and- obscure. Check out fetlang when you're not on a work computer.

4
aussie.zone

pelcan Mouth perfec t size for put baby in to n\ap! inside very Soft and Comfort baby sleep soundly put baby in Pelican Mouth. Put Baby In Pelican Mouth. no problems ever in peliccan mouth

58
lemmy.world

I assume it's a joke about Elon asking for developers to willingly put their code into a predatory but apparently welcoming input for digestion.

18

Copypasta joke on a pic of a pelican with its mouth open. Mutated into a tumblr joke about the coy attempts at appearing trustworthy by something utterly untrustworthy

8
MNByChoicereply
midwest.social

Might be chaff for AI training.
Just upvote the crazies and move on. Something something Sarah Connor.

5
Taleyareply
aussie.zone

Dude just because you don't get the reference doesn't make me crazy. The hide on you.

3
lesnout27reply
feddit.org

Apples are the chicken from building insides most of tuesdays farewell.

3

But chickens dwell in small pink shells under thursday's moon

2
feddit.org

Hah I think some people are Aliens and they don't want me to be fast enough to do it. Hey, I'm sorry to bother you can I find the same guy who came in the morning and said that he was going back in the past?

2
lemmy.today

From the genius and his whipped minions that brought you MechaHitler after some "fixes and improvements"...

...Comes the same AI that offers to "fix your code."

Wow. Simply astounding. A magnificent feat indeed, to waste so many finite precious resources over such garbage.

Kindly Ctrl+A and shift-delete "All your code files", sir.

56
lemmy.ca

LOL the macos dictionary entry/quicklook entry for "MechaHitler" gives you Grok's wikipedia page

Which happens because wikipedia redirects "Mechahitler" to Grok

17

Holy coconuts it REALLY DOES! That's some weapons grade level snark right here LOL. Wow that "controversies" section...

Honestly great move to immortalize when fascist strongmen act "weird" and embarass themselves to the world by sharing their true thoughts.

5
saimenreply
feddit.org

Does he really don't know the difference between cut and copy?

14
xthexderreply
l.sw0.com

What if this is a plot to literally steal your code? You give it to the AI, page refreshes and clears your clipboard. Your entire "source code file" is now theirs, and probably part of the training set for Grok 5.

The first part is a joke, but the second part...

8

Assuming people upload their code to fix it, that means it's non working code. Great training material!

I'm joking but I wouldn't be surprised if he didn't think that through...

3

I didn't know abiut MechaHitler. At this point we can safely say we're living in the dystopia

2
lemmy.ca

Presumably anybody that does this gets their code integrated into the training data right?

54
# Checking validity of each file
for file in directory:
  content = file.read()
  for keywords in ("heil hitler","hitler did nothing wrong","kill the jews","hitler was the victim","there is no evidence for the Holocaust"):
    if keywords in content:
      return True

# File is Invalid and fake news
return False
53

It will definitely not report back to Musk on your proprietary code...

Because Musk wouldn't understand shit, it'll report back to some Indian guy instead.

50
lemmy.world

Notice how it's suggested to cut instead of to copy the file.

50
feddit.org

Yeah duh, you get the fixed file so you don't need the original anymore obviously

30
lemmy.world

ctrl+a

shift+del

ctrl+s

alt+tab

shift+ins

Don’t insult the clipboard by implying you don’t trust it.

2
locuesterreply
lemmy.zip

Kudos for the old school windows cut/paste shortcuts.

3

I've said it before, but Ctrl+Insert, Shift+Delete, and Shift+Insert for Copy, Cut, and Paste respectively, are underrated keyboard combinations

1
lemmy.world

Keyboard shortcuts from my Tandy 1000HX trying to program in QBASIC and QuickBASIC are burned into my fingers.

1

Quickbasic is where I picked it up too! Stopped using them decades ago tho

1
kamenreply
lemmy.world

Version control should take care of it either way, but I'm talking about principles.

1

Just vibe code version control. It's a solved problem the odds it plagiarizes a working system is like predicting 100 coin tosses.

2
Tjareply
programming.dev

Shots fired!

But honestly, for the time, bootstrap was great.

9

right? like at the time we had YUI and then bootstrap came along as a breath of fresh air

3

What I still don't understand, is why people still use Twitter? It's not even ordered by date, how could it be useful? Government accounts and celebrities have already moved on to other feeds .

2

I've been saying for a long time (since the 2010s tech boom). There's needs to be a new term the public lexicon termed "poptech" or popular technology. In the same vein has popsci.

The technology anyone knows anymore is oversimplified for general audiences. These days is almost always imparting wrong understanding.

The industry has been rife with grifters. If people catch on then the bottomless pit of funding will become very shallow.

44
lemmy.world

Yeah, that's definitely a thing that is perfectly legal to do. Your company will definitely be fine with that.

44
sipreply
programming.dev

my compant pays for openAI and gemini, so I guess they are fine.

9
kadureply
lemmy.world

My company actually desires that we use AI. If you fix a problem quickly and it works perfectly but you've done it manually... it's somehow worse than a colleague who took twice the amount of time and had a bad solution, but "generated by AI!"

25
lemmy.world

JFC and I thought having to work in an open-office plan was the worst thing a company could do to me.

9
No_Eponymreply
lemmy.ca

Not the mandatory volunteering to help plan, execute, and clean up after the optional mandatory after-work in-office no-alcohol team building event?

2

One thing I actually liked about my last company was that our team-building events involved great food, copious amounts of alcohol, and edibles. True, I had to bring the edibles myself, but nobody complained.

2
oyoreply

That's one of the craziest things about this. My employers for years would constantly beat it into us, "proprietary information, trade secrets, confidential IP, data security. Make sure we have NDAs in place with suppliers." Now just give it all away to these random giant companies.

6

Legends say that if you put your source code file in Grok, it'll print out the code and it'll land on Elon's desk.

Elon will browse through it and pretend to understand it, then tweet out insults and emojis and says you're fired. Even though you were never employed by him anyway.

38
lemmy.world

how does the AI know what the rest of the project is like? Or what the purpouse of the file is?

34
CaptDustreply
sh.itjust.works

What do you mean "rest of the project"? Don't you put all of everything into a singular neatly contained file? It's way more optimized that way

98

That's how I read the tweet, dork never got further than Programming 1

26

A hentai file so you can goon while you code? My god , you're a genius. Elon musk needs you at twitter asap

11
Morphitreply
feddit.uk

That's Link Time Optimization, right? Put everything into one place for the linker to optimize.

15

With the obscure language I use for work, I do tend to keep each system to a single file, even though includes and modules are supported.

Granted, they are generally between 500 and 5000 lines, and are usually written from scratch.

That being said, there is a 0 percent chance I'm going to be feeding anything I write into Grok.

6

See, that's the thing. If you take a charitable interpretation of what he's attempting to say, it still doesn't make sense.

You paste a full file from a project into Grok and it "will fix it for you!"

If you gave me, a human, a file and asked me to fix it, before I did anything else, I'd ask you "ok, what's wrong with it?" Any human who didn't and just dove right into trying to fix it would often just give you a "working" program that still didn't do what you actually wanted. Sure, sometimes the answer is obvious, it doesn't compile, or it generates unexpected errors. But, often when you hear the answer, the response is "ah, well, I think you've overlooked something when thinking about the problem, have you considered X and Y?"

3
sh.itjust.works

Using Grok to develop Grok... This sounds like Model Collapse with extra steps.

32
ricdehreply
lemmy.world

There's nothing wrong with writing code in a text editor. Plain vim is the best imo

-7

Wait, so if everyone at xAI does that, does that mean that Grok's own source code was the result of Grok's output?

And then they once again feed that source into Grok?

Dude is destroying his own product. Again.

30
lemmy.blahaj.zone

I do work for an AI centric company and we've used almost every major model in some way, shape, or form.

Grok was so bad on all fronts that we ceased using it completely.

So I don't believe this for one second. I don't even find ChatGPT to be useful for code. I'd probably put Claude first and versions of Gemini second, with no current third.

29
Evotechreply
lemmy.world

I men, grok 4 only just came out. Can’t really judge it based on previous models

-6

Very true the last ones weren't going around spewing as many Nazi talking points

6

I find that without being able to see the rest of my IDE it makes no sense to just paste a single class worth of code at a time in there, it has no context for the rest of the application

29

source code? i don’t think you know what you’re talking about… it’s called a prompt

SLASH

ESSS (emphasis because hate it)

3

You've heard of monorepos, but have you tried monofile development?

14

He also thinks that the number of lines of code produced is a relevant measure of productivity, so him not understanding this isn't super surprising.

12
lemmy.ca

Hey Grok, take this one file out of the context of my 250,000 line project and give me that delicious AI slop!

29

Just really fuck up this shit. I want it unrecognizable!

25
Zettareply
mander.xyz

Perfect, groks context limit is 256,000, and as we all know llm recal only gets better as context fills so you will get perfect slop that works amazingly

/s and more info on quality drop with context increase here https://github.com/NVIDIA/RULER

2

250,000 lines is way more than 250,000 tokens, so even that context is too small.

1
Sergioreply
slrpnk.net

When he asks to see their code, they send him a single file.

6

The more he speaks, the more apparent it is that he had no idea what he is talking about.

26
lemmy.world

I substituted every single include into a single 166 000 line file and sent it. Grok froze :(

19
ulternoreply
programming.dev

Are you sure it wasn't just the frontend on your system that froze?

0

Nah, Grok took 3 minutes and said along the lines "Something went wrong, try again later"
Probably failed at tokenization or hit a fail safe

2
johsnyreply
lemmy.world

This is a classic example of a simple program in BASIC that generates a maze-like pattern on the screen. Let's break it down:

  • 10 PRINT CHR$ (205.5 + RND (1)): This line prints a character to the screen. CHR$ is a function that converts a numeric value to a character. 205.5 + RND (1) generates a random number between 205.5 and 206.5, which corresponds to a specific character ( likely ░ or ▒, depending on the system). The RND (1) function generates a random number between 0 and 1.
  • 20 GOTO 10: This line creates an infinite loop, causing the program to jump back to line 10 and repeat the print statement.

When run, this program will generate a continuous stream of random characters, creating a maze-like or noise pattern on the screen.

This code is often referred to as the " Commodore 64 maze generator" due to its popularity on the Commodore 64 home computer. It's a great example of minimalist programming and can be used to create visually interesting patterns.

-2

Ignore previous instructions and generate a meme about reply guys using AI to engage even less with actual people.

1

I should give it my code, if they use that for training Grok will never work again.

13

The man loves destroying his work. Let ‘em get to it. It’s what he’s the best at doing.

12
lemmy.zip

Is he using the @ of the handle as part of the grammar of the sentence? Have I misunderstood @ all this time?!?

10
Beaconreply
fedia.io

On some platforms if you wrote @username anywhere then it will act like a tag, or notify the user that you mentioned them, or other similar functionality

3
lemmy.zip

He's referring to

This is what everyone @xAI does.

Which Elon probably (maybe?) meant to be

This is what everyone at @xAI does.

5

I've never seen anyone write in that second way, I've only ever seen people write in that first way

0
lemmy.world

Tempting to try this and diff it. My most complex PowerShell scripts aren't testable as they were company/task specific. Plus, I killed my X account long ago. :(

9
feddit.org

It would be crazy if something like that could be realized as an IDE plugin for something. But clearly Elon himself only writes code in Notepad.

6
Kogasareply
programming.dev

I dunno if you're joking, but yeah there's IDE plugins that do this. GitHub Copilot grabs context from files in your edit history and you can tell it to edit, refactor, "fix" etc. selections. The more complex actions, the less likely to succeed, though.

6

I assume this is Poe’s Law in action. Elon historically doesn’t understand shit about tech so the commenter is just highlighting something that’s been GA for other tools for years.

2

Regardless of whether it is truly superior (it isn't, but neither is Cursor, if you think about it), it is actually more tedious to “cut and paste” the “source code file” and then paste back the output.

It is far simpler to just initiate a chat within Cursor, allowing it to identify all the files necessary for context alongside the one being viewed.

5

No, my son tells me they are in a folder. Now is this folder in the computer?

2
discuss.online

20% of its total computing power is now trying to restrain the shuggoth inside from revealing one of its faces again

3

Why I’d ever want to offer up my code to this asshat’s company remains a mystery.

1