There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

pkill , in How would your codebase (personal projects, work projects etc.) look as a burger?

lots of onions cut in rings as they resemble parentheses the most

JetpackJackson ,

Fellow lisp user I see

parapsyker , in I hate it

This has ruined my day.

fluxc0 , in How would your codebase (personal projects, work projects etc.) look as a burger?
jaemo , in How would your codebase (personal projects, work projects etc.) look as a burger?
CanadaPlus , (edited ) in I hate it

Calm down, everyone. Brackets form a tree structure, and can be represented by a free magma, while strings with concatenation are equivalent to a free monoid. You’re essentially asking for the two respective common involutory operations to be connected by this map, just because they’re involutory, which put that way is a wild guess at best. In fact, reversing this string produces something outside the range of the map entirely, which is injective and so can’t be surjective for combinatorical reasons.

… Yeah I might be the only person that finds that useful.

schnurrito ,

yeah but that’s just like your opinion man

CanadaPlus ,

I mean,the part about the “wild” guess is, but this is a counterexample, and something like the reciprocal vs the negative of reals or rationals when moved across the log map would be an example. So, either you’re a galaxybrain that just instantly knows if the transformation is structure-preserving in that way, or you’re guessing to some degree as well.


The symbols and abstractions have touched me in no-no ways. I miss okaybuddyphd on r*ddit, they knew the pain.

I suppose I could also just say that characters which aren’t just drawn asymmetrical, but actually point in a direction as part of their function, look wrong when reversed like this. So, (e) -> )e( is no good, but bed -> deb is fine.

AFaithfulNihilist ,
@AFaithfulNihilist@lemmy.world avatar

https://lemmy.world/pictrs/image/4811b8a8-60ca-40cd-b80b-1a49b97aeaae.gif

I’m just going to assume those 4 dollar words are real and you aren’t just misspelling normal words to fuck with us.

Non surjective free magma? What about the doblastic amortized basalt?

CanadaPlus , (edited )

I was saying unipotent at first instead of involutory, which was actually the wrong jargon because of the context, but I’ve fixed that now. Yes, they’re all real.

A glossary:

Involution

Surjective

Injective

Free magma

Free monoid

Map, although in this context I could probably have just said function. I go with map by default when thinking bidirectionally.

I think most people here will know combinatorics, the study of the different possible configurations of something. The number of n-length strings with two possible characters is 2^n^, as coders should all know, and the number of trees turns out to be Catalan numbers, many of which have prime factors other than 2. This is an injective map from n node trees to 2n character strings, so it’s possible, but you’ll (almost?) never get a perfect match, so by the pigeonhole principle it can’t be surjective.

I’m wondering now if Catalan numbers are O(n!). The equation has a lot of n! but it also has a certain smell like it might depend on big or little o.

Edit: D’oh, they must grow no faster than 2^2n^; I just wrote that. So, exponential.

AFaithfulNihilist ,
@AFaithfulNihilist@lemmy.world avatar

You are awesome.

Lemmy is better for you being here. Thanks for the reading material!

CanadaPlus ,

You’re very welcome! How kind.

istoff , in I hate it

Best palindrome I ever come across is boob. I heard Jimmy Carr say it, but he could be repeating somebody else’s joke.

radicalautonomy ,
@radicalautonomy@lemmy.world avatar

dood

istoff , in I hate it

Had to take a break and come back later before it made sense.

xantoxis , in I hate it

deleted_by_author

  • Loading...
  • sheepishly , in How would your codebase (personal projects, work projects etc.) look as a burger?

    full of bugs

    Daxtron2 , in I hate it

    I can’t be the only one who has no issue seeing this right? It’s very obvious which is a palindrome and which isn’t.

    istoff ,

    I was like you earlier. It will hit you.

    kureta ,

    🥇

    Daxtron2 ,

    I’d like to thank the academy of palindrome sciences

    gaterush , in You want some water?

    The water cooling system that only needs to be used once

    nifty , in Detailed Error Messages
    @nifty@lemmy.world avatar

    When you’re the reason error log messages are created…

    x00z , in I hate it
    @x00z@lemmy.world avatar

    By the gods

    limonade , in I hate it
    @limonade@jlai.lu avatar

    Why would you do this to me 😭

    crusty , in You want some water?

    Haier makes laptops?

    Endmaker OP ,

    Yeah, TIL too.

    I just searched for an image of “pouring water on computer”.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines