Email or username:

Password:

Forgot your password?
Jonathan MΓΌller

GitHub copilot seems to be high.

I typed "A simple hash function.", then autocomplete kicked in.

    // A simple hash function.
    // It is not cryptographically secure, but it is fast.
    // It is used to hash strings.
    // It is not guaranteed to be stable across different versions of the library.
    // It [...] different runs of the program.
    // It [...] different platforms.
    // It [...] different compilers.
    // It [...] different optimization levels.
    // It [...] different architectures.
    // It [...] different standard libraries.
    // It [...] different phases of the moon.
    // It [...] different weather conditions.
    // It [...] different political climates.
    // It [...] different solar flares.
    // It [...] different cosmic rays.
    // It [...] different quantum fluctuations.
    // It [...] different parallel universes.
    // It [...] different dimensions.
    // It [...] different timelines.
    // It [...] different realities.
    // It [...] different dreams.
    // It [...] different hallucinations.
    // It [...] different delusions.
    // It [...] different lies.
    // It [...] different truths.
    // It [...] different fictions.
    // It [...] different realities.
    // It [...] different existences.
    // It [...] different beings.
    // It [...] different non-beings.
    // It [...] different non-existences.
    // It [...] different non-realities.
    // It [...] different non-existences.
    // It [...] different non-beings.
    // It [...] different beings.
    // It [...] different exist
36 comments
DougMerritt (logπŸ˜… = πŸ’§logπŸ˜„)

@foonathan
It looks like you can coax it to contact parallel universes; give it a whirl.

robin

@michaelgemar @foonathan

It's basically an even more verbose version of the "as-is" clause. I don't know why it didn't just use that.

lorax b. horne

@foonathan Thanks for posting the poem. A bit derivative, but art is subjective.

robin

@bbhorne @foonathan

I have this idea that the biggest effect of generative programs will be that we all become *extremely* good at identifying derivative works

Lazarou Monkey Terror πŸš€πŸ’™πŸŒˆ

@foonathan next time I have to speak to an AI chat bot I'm dumping this on them

Rob Williamson

@foonathan

To be fair, I'm not guaranteed to be stable across different exist.

Is that LLM describing hashing or describing smoking hash?

Joe Cooper πŸ’Ύ

@foonathan well, it's probably best to warn folks they're about to use a hash function written by copilot.

Tomasz

@foonathan This is weirdly similar to catholic litanies. πŸ˜΅β€πŸ’«

Alien software, human hardware

@foonathan that's a good disclaimer, should come with any LLM code.

Chris Oldwood

@foonathan Looks like Copilot made a complete hash of it. :P

Ben Fulton

@foonathan I'm going to start putting this disclaimer on all of my functions.

Ryan Castellucci :nonbinary_flag:

@foonathan I'm not guaranteed to be stable across different legal systems.

mkj

@foonathan I would so have picked the non-realities one!

xinit β˜•

@foonathan I kind of want to copy that onto all my code from now on.

Andrew πŸ„΅ Lyons

@foonathan
"It is not cryptographically secure, but it is fast." is really the trade-off line of our times.

m0xEE

@foonathan
Is it adding lines that were adjacent to "Simple hash function" in other projects? πŸ€”
"It is used to hash strings" β€” world's most useless docstring nominee, audience choice πŸ˜‚

Γ–lbaum

@foonathan @ryanc Do we have any idea where it stole it from? It seems very likely that someone wrote the beginning in their code and then decided to commit to the bit.

xsspup :blobhaj_hearttrans:

@ryanc @oscherler @foonathan i feel like the not cryptographic/ but is fast line is from lookup3 bob jenkins hash

katve

@ryanc @oscherler @foonathan it's probably not exactly copied from somewhere. some training data might have a similar gag that it learned from.

A feral Natalie

@foonathan Copilot is also awful at container security recommendations and writing performance reviews 🫣

dypsis

@foonathan aww, i was hoping it would be stable across all of my existences, i guess i have to write a slightly complicated hash function now

iced quinn
@foonathan > it is not guaranteed to be stable across different exist

mood
Go Up