• 5 Posts
  • 92 Comments
Joined 1 year ago
cake
Cake day: March 1st, 2024

help-circle
rss





  • They want to prevent coders from dictating terms. It’s about perceived control/power over coders and ensuring whatever power coders wield is dispelled thru legalese spells.

    Have written lots of open source as well as packages which are not published. The amount of contributions measured in issues/PRs/funding has been the same. Absolutely none.

    Lost any incentive to care about debating licenses’ purity.


  • Social engineering malware

    Will save the world by foreshadowning the pypi.org delisting announcement

    Great example of malware that uses social engineering to deceive and only later realize those good intentions were quite harmful.

    One step away from requiring a PoW algo to fund package authors. Which is great unless running on a crap laptop from the stone ages. Then it becomes a barrier to entry or simply broken UX.

    Don’t like to hear this, but at some point in time this package will be delisted from pypi.org


  • Hello! i have an inferiority complex. Would like to leave the impression to everyone that i’m a very important person.

    For my packages, how to make imports install duration correlated to my deep inferiority complex? To give the impression of compiling a massive code base written in a low level language. Rather than this ducked typed language static type checked with pre py312 knowhow (which is the truth!).

    American Python packages should run like American motorcycles, bleeding oil all over the road.

    Lets Make America clunky af again

    This may or may not be sarcasm

    It’s really really dangerous to expose a parody onto a package author whose written both a build backend and a requirements parser. If Trump found out about this, the build backend might incorporate tariff.

    This is one plugin away from becoming a feature

    Heil cobra!!



  • i use interrogate

    Which has a fun bug. Uses ast to compile every module. If a module contains a compile error, get a traceback showing only the one line that contains the issue, but not the module path nor the line #

    The only way to find the issue is to just test your code base and ignore interrogate until code base is more mature.

    interrogate author and maintainers: UX … what’s that?

    The most obvious bug in the history of bugs … setuptools maintainers, oh that's a feature request










  • so for 1 byte characters has both upper and lower case forms

    def keysym_group(ks1, ks2):
        """Generates a group from two *keysyms*.
    
        The implementation of this function comes from:
    
            Within each group, if the second element of the group is ``NoSymbol``,
            then the group should be treated as if the second element were the same
            as the first element, except when the first element is an alphabetic
            *KeySym* ``K`` for which both lowercase and uppercase forms are
            defined.
    
            In that case, the group should be treated as if the first element were
            the lowercase form of ``K`` and the second element were the uppercase
            form of ``K``.
    
        This function assumes that *alphabetic* means *latin*; this assumption
        appears to be consistent with observations of the return values from
        ``XGetKeyboardMapping``.
    
        :param ks1: The first *keysym*.
    
        :param ks2: The second *keysym*.
    
        :return: a tuple conforming to the description above
        """
    

  • Solves the mystery of the repeating entries

    1 2 and 3 bytes unicode to corresponding keysym

    mapped into that tuple. Seems author likes the number 4.

    def keysym_normalize(keysym):
        """Normalises a list of *keysyms*.
    
        The implementation of this function comes from:
    
            If the list (ignoring trailing ``NoSymbol`` entries) is a single
            *KeySym* ``K``, then the list is treated as if it were the list
            ``K NoSymbol K NoSymbol``.
    
            If the list (ignoring trailing ``NoSymbol`` entries) is a pair of
            *KeySyms* ``K1 K2``, then the list is treated as if it were the list
            ``K1 K2 K1 K2``.
    
            If the list (ignoring trailing ``NoSymbol`` entries) is a triple of
            *KeySyms* ``K1 K2 K3``, then the list is treated as if it were the list
            ``K1 K2 K3 NoSymbol``.
    
        This function will also group the *keysyms* using :func:`keysym_group`.
    
        :param keysyms: A list of keysyms.
    
        :return: the tuple ``(group_1, group_2)`` or ``None``
        """