• 0 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle



  • I was curious if (since these are statistical models and not actually counting letters) maybe this or something like it is a common “gotcha” question used as a meme on social media. So I did a search on DDG and it also has an AI now which turned up an interestingly more nuanced answer.

    It’s picked up on discussions specifically about this problem in chats about other AI! The ouroboros is feeding well! I figure this is also why they overcorrect to 4 if you ask them about “strawberries”, trying to anticipate a common gotcha answer to further riddling.

    DDG correctly handled “strawberries” interestingly, with the same linked sources. Perhaps their word-stemmer does a better job?








  • Bro its so easy bro, just use flexboxgridcolumns its been a standard since 2010 just flex it bro you haven’t learned to flex yet just check w3c schools and add a flex you can polyfill it but don’t use that hacked one use the good flexpolyfill then { content-align-middle-child-elements: center-middle-true-neutral } so easy with flex bro



  • Someone shared this on Mastodon so I’ll just repost my thoughts from there. (Bonus for Lemmy, I was forced to squeeze all my thoughts into 500 characters, so this is the most succinct I’ve been on this site!)


    Pretty incredible how little people seem to understand these. For one thing, every method other than waterfall is a subtype of agile methodology. The major distinction is that waterfall has a series of phases from design through building, testing, and delivery that attempts to plan the whole project up front. Agile methods focus on smaller iteration cycles with frequent, partial deliverables.

    Something like kanban is designed for continuous delivery: we want to go to mars weekly.

    LEAN development is a scam though, that one is accurate.




  • You seem like a person who wants to try and do well and be a good manager. So be very careful of burnout, because the constant tension between doing what is right for your team and meeting upper-management expectations can drive you crazy. It did me anyway, which is why I don’t manage anymore.

    Take regular vacations and actually disconnect from work when you do. Try to do the same for at least 1 or 2 weekends per month. Being organized is important and helps with the job and the burnout, but there’s a thin line between “keeping notes in Obsidian keeps me focused” and “my entire 2nd job is now maintaining Jira tickets.”

    Organization is for you, keep it for you, and don’t let your organizing become a part of your “public api” or else it’ll become another avenue for status updates that you’re obliged to maintain. Turning your notes and private charts into data for upper management is why you compile special reports, just for them.


  • Codex@lemmy.worldtolinuxmemes@lemmy.worldBackdoors
    link
    fedilink
    arrow-up
    171
    arrow-down
    1
    ·
    6 months ago

    I’ve gotten back into tinkering on a little Rust game project, it has about a dozen dependencies on various math and gamedev libraries. When I go to build (just like with npm in my JavaScript projects) cargo needs to download and build just over 200 projects. 3 of them build and run “install scripts” which are just also rust programs. I know this because my anti-virus flagged each of them and I had to allow them through so my little roguelike would build.

    Like, what are we even suppose to tell “normal people” about security? “Yeah, don’t download files from people you don’t trust and never run executables from the web. How do I install this programming utility? Blindly run code from over 300 people and hope none of them wanted to sneak something malicious in there.”

    I don’t want to go back to the days of hand chisling every routine into bare silicon by hand, but i feel l like there must be a better system we just haven’t devised yet.


  • There’s infinite ways to organize code. In C# or Rust where this isn’t an option, you might use nested classes or traits hidden behind a module/namespace.

    Good use cases are data structures with associated helper classes. For example, a collection/tree and an iterator/tree-walker for working with elements of the collection. Or for something like a smart memory allocator (an arena or slab allocator), you might use a friend-class to wrap elements returned from the allocator, representing their connection back to it (for freeing up when done or to manage the allocation structure in ie a heap or sorted tree).


  • I worked at a place where I did the not-funny-but-serious-and-banal version of this bit, including the burnout breakdown at the end. I’m working on ERP systems now and it’s a lot less stressful, plus things just have normal names like “Accounting Module” or “Third Party X Service Connector”.

    I did love Galactus though