• 9 Posts
  • 359 Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle

  • TootSweet@lemmy.worldtomemes@lemmy.worldDoing it the right way
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    10
    ·
    edit-2
    8 days ago

    But if you get banned from vegan communities, then you can’t go into an active vegan thread and say…

    pssst… vegan cat food”

    Edit: Right? I’m surprised to be getting downvotes. I’m not vegan, but I don’t particularly have anything against vegans personally. But the drama of vegans arguing about whether it’s ok to feed a cat a vegan diet is hillarious to me.




  • Yes! This so much.

    I am entirely convinced that one of the more underserved niches in software is domain-specific languages for doing traditionally-mousey/clicky/GUI things. I’m so convinced of that that I’ve written just such a DSL and am actively working on a second one.

    About the only really good examples of that that I know of are OpenSCAD and Graphviz. (And I guess the one I wrote.) I’ve love to know about more. (And, no, libraries that make GUI-sort-of use cases easier in some general purpose language don’t count. There’s really something about having syntax/builtins/standard library custom made specifically for the use case that I’m quite convinced has major benefits to overall usability.)

    About OpenSCAD specifically, I also have some nit-picks about the language. There are cases where I’ve written code in other languages that outputs OpenSCAD code specifically to get around some limitations. (There’s one project I’m working on and haven’t Open Sourced yet that just begs so hard for maps/dicts/string-keyed-composite-types. And the ability to use modules as values. (Like, making it more of a “functional” language… or rather a “moduleal” language.)) But like you, none of that detracts enough to make me not love OpenSCAD.


  • People are spending all this time trying to get good at prompting and feeling bad because they’re failing.

    This whole thing is bullshit.

    So if you’re a developer feeling pressured to adopt these tools — by your manager, your peers, or the general industry hysteria — trust your gut. If these tools feel clunky, if they’re slowing you down, if you’re confused how other people can be so productive, you’re not broken. The data backs up what you’re experiencing. You’re not falling behind by sticking with what you know works.

    AI is not the first technology to do this to people. I’ve been a software engineer for nearing 20 years now, and I’ve seen this happen with other technologies. People convinced it’s making them super productive, others not getting the same gains and internalizing it, thinking they’re to blame rather than the software. The Java ecosystem has been full of shitty technologies like that for most of the time Java has existed. Spring is probably one of the most harmful examples.


  • Nikita is the only one in our company that refuses to use any coding model for anything. And he keeps being the most productive person in the company.

    Does “coding model” here mean an LLM for writing code? (Like Claude or whatever?)

    If so, that makes the above quote really funny. The only person in the company who doesn’t use an LLM is the most productive person in the company? Gee fuckin’ wizz, I wonder why the fuck that would be.

    Also, if my coworkers praised my skill in software engineering by comparing me to an LLM, I’d be pissed.



  • To be honest, when I hear news of a language I’ve never heard of before, my reaction is usually “oh god, another language”. And to be fair, that is still largely how I feel about V. (There’s close to zero chance it’s going to gain widespread adoption, especially with being so similar to Go as it is. And I’m probably not going to start writing “real world” stuff in a language that’s going to die without ever receiving enough usage that libraries and such are going to be widely available for most use cases I can think of.)

    Buuuuuuut… also, being honest, I write a fair amount of Go because it like it. V is apparently very similar to Go, but also has some differences that mostly feel… pretty fuckin’ cool, actually. The one that made me salivate most is definitely “no null”.

    I will say a few feel gross to me. Specifically string interpolation, primitive types having methods, enums, and maybe centralized package manager. Oh, and I don’t like that there are compiler flags as implied by GC is optional, globals can be enabled for low-level applications like kernels, and development/debugging mode. (Compiler flags are for things like what architecture to cross-compile to and how much optimization to do and such. Not for enabling/disabling specific features in the language or changing behavior. Like, compiler flags shouldn’t change whether a given program compiles or how a program behaves.) And it’d be nice if there was no runtime at all.

    But a lot of what is listed there is pretty frickin’ cool too. Sum types, immutability by default, only one declaration style, and of course no null as I mentioned earlier are very good things, IMO. Those definitely make the language more appealing even than Go.

    Beyond that, given that the V folks seem very specifically to be trying to appeal to Go fans, I’m thinking there might be benefit if there was some nice way of interoperating with Go. (Or if there is such a way, it’d be nice if it was more prominently featured in the documentation.)

    (One final footnote. I said when I hear about a new language, I groan. That doesn’t apply to domain-specific languages for making things other than programs unless they’re in a niche that’s already occupied by something that’s already good and popular. OpenSCAD and Graphviz, for instance, are awesome things and we need more things like that for making stuff. Especially stuff that can’t otherwise reasonably be made without a GUI.)




  • What do you mean you “cannot scream”, exactly? In what way does the closest approximation to a “scream” you can do not qualify as a “scream”? Just pitch specifically? Can you sing higher than you can “scream”?

    Or if it’s not specifically the pitch, and if it’s something you’d like to change, I might suggest you look into… well… learning. Search for “fry scream” on YouTube. It’ll take some practice, but it’s certainly a way to scream. And as a bonus, learning to do it “right” can avoid straining or injuring your voice.






  • First thing to try is to get your sleep hygiene straight.

    No screens for an hour before bed, get your room dark (no night lights, light-blocking windowshades, and cover the lights on any electronics in your room) and quiet (ear plugs can help in a pinch), quit caffeine, get some sunlight in the morning (optimally before 10:00 AM), get some physical activity during the day, don’t eat for a couple of hours before bed. It also couldn’t hurt to do some meditation before bed during that hour of no-screen time.

    That meditation will probably particularly help if the reason for your insomnia is stress.

    (And try not to be overwhelmed by the above list. Any one or two items in that list that you do will probably help quite a bit. And try to think of this as a “long game” of incremental improvement.)

    If that all doesn’t work, you could try adding CBD maybe an hour or so before bed. Melatonin might be a tempting option, but be careful with it. Melatonin doesn’t stay in the bloodstream all that long, so melatonin supplements tend to be big doses in an effort to try to keep it in your bloodstream longer which… kinda works maybe, but not as well as you might hope. The result tends to be that you fall asleep quickly, wake up in like 4 hours unable to get back to sleep, and then are resistant to your body’s natural melatonin for a night or two. If you’re going to do melatonin, spend the extra money on time-release melatonin. The company “Life Extension” has a 750mcg 6-hour time release melatonin that is a good one to try if you do go that route.



  • So, the one I used appears to have been removed from Thingiverse in the meantime, but I’m pretty sure it was V1 of this (which has been remixed a couple of times by someone else and is up to V3). It is a very tight fit, though. (Like maybe the original designer left zero tolerance.) If I had it to do again, I’d go for a different one, but I’d guess probably V2 and V3 have resolved the way-too-tight fit issue.

    I made a couple of things myself for mounting my Joycon charger on the wall. (Definitely improvements that could be made to the wall mount one. Conical holes for the screw holes for one. But it does the job.)


  • My washing machine broke. Wouldn’t drain. I took it apart and realized it was going to be a huge pain to fix if I didn’t drain it first, but it wouldn’t drain on its own. So I designed and printed an adapter that would let me run the pump that drains the washer from my cordless drill. PLA isn’t the strongest material, so I went through like 3 of them draining the washer, but it worked fantastically. Very simple to design and a quick print. Big payoff.

    Aside from that, wall mounts for my Nintendo Switch and accessories as well as a wall mount for my NAS solution, a shield for the face of my alarm clock so it didn’t shine bright digital-clock LED light in my face all night (but I could move it aside and check the time), mounts for SAD lamps in convenient places. Most of what I print is custom-designed stuff for utilitarian purposes.