• 53 Posts
  • 241 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • ono@lemmy.catoProgramming@programming.devCodeberg.org Opinions?
    link
    fedilink
    English
    arrow-up
    29
    ·
    edit-2
    9 months ago

    The interface is the best I know of, a lot like pre-Microsoft github. Especially important to me is that It doesn’t intercept my browser’s built-in shortcuts like github now does, or require javascript or bury things under submenus like gitlab does.

    The promise of federation is appealing, too.

    I plan to use it for new public projects, and might even move my old ones over.





  • ono@lemmy.catoProgrammer Humor@programming.devFLOSS communities right now
    link
    fedilink
    English
    arrow-up
    251
    arrow-down
    3
    ·
    edit-2
    9 months ago
    • Terrible format for archiving knowledge
    • Terrible tool for retrieving knowledge
    • Locks community access behind a corporate license agreement
    • Hands control of community-created content to a corporation
    • Prevents indexing by web search engines
    • Antithetical to interoperability
    • Privacy-hostile

    A web forum is far better in most cases. If you can’t manage to run your own, there are plenty of lemmy servers that will do it for you. Even an email list (with searchable archives) would be better than Discord.

    If you have collaborative documents that outgrow the forum format, use a wiki.

    If real-time chat is needed, irc or matrix.

    A project hosting its community on Discord is a project that won’t get my contributions.


  • ono@lemmy.catoProgramming@programming.devStrings do too many things
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    9 months ago

    Checking MX in your application means you needlessly fail on transient outages, like when a DNS server is rebooting or a net link hiccups. When it happens, the error flag your app puts on the user’s email address is likely to confuse or frustrate them, will definitely waste their time, and may drive them away and/or generate support calls.

    Also, MX records are not required. Edit to clarify: So checking MX in your application means you fail 100% of the time on some perfectly valid email domains. Good luck to the users and support staff who have to troubleshoot that, because there’s nothing wrong with the email address or domain; the problem is your application doing something it should not.

    Better to just hand the verification message off to your mail server, which knows how to handle these things. You can flag the address if your outgoing mail server refuses to accept it.


  • ono@lemmy.catoProgramming@programming.devStrings do too many things
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    edit-2
    9 months ago

    By the way, please don’t write regex to try to validate email addresses. Seriously.

    Amen.

    There are libraries for that; some of them are even good.

    Spoiler alert: Few of them are good, and those few are so simple that you might as well not use a library.

    The only way to correctly validate an email address is to send a message to it, and verify that it arrived.













  • Or by people formerly paying for their internet service with money that should have been going toward food or heat.

    Losing the $30 monthly discount could force families to choose between broadband and other necessities,

    Exactly.

    It’s also important to note that some ISPs created a low-cost service plan specifically for ACP. (It’s reasonable to assume this was possible in part because ACP handled income verification and eliminated the costs of individual billing and credit card payments.) That plan will likely disappear if ACP goes away, leaving poor people stuck paying a bill much higher than the program ever paid.