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

help-circle
  • I’ve got my caps lock key remapped to escape.

    I use my left pinky for ctrl, shift, a, and my remapped caps lock/escape key.

    I use my right pinky for shift, enter, and I’m pretty sure that’s all.

    I use my ring fingers for backspace, tilde, tab, q, backslash, quote, and that probably isn’t a comprehensive list.

    I use my middle finger for semicolon/colon! I never realized that before. Wild.









  • If you’re thinking it may be malicious, I think it’s innocuous.

    Try cat’ing /etc/skel/.bashrc and see if the code in question in in there. My guess is it will be. When a new user’s home directory is created, it copies all the files from /etc/skel into the newly-created home directory. So, that directory is basically a “new user home directory template.”

    The code you posted (is missing an fi at the end, but anyway) just looks like a utility for making it easier to organize your .bashrc into separate files rather than one big file. That’s a common technique for various configuration files that a lot of distros commonly do. And I personally find that technique nice.

    If you want to delete that code, it’s not going to hurt anything to remove it (unless someday you add a ~/.bashrc.d/ directory and some file in there “doesn’t work” and it confuses you why.)

    Also, what distro are you on?







  • No joke. I’m ashamed to say I have had to endure Weblogic in the past. God was that time a massive clusterfuck.

    The company I worked for decided to use two particular separate products (frameworks, specifically; ATG and Endeca, even more specifically) to use in tandem in a rewrite of the company’s main e-commerce application. Between when we signed on the dotted line and when we actually started implementing things, Oracle acquired the companies behind both products in question.

    The company should have cut their losses, run away screaming, and started evaluating other options. That’s not what happened. Instead, they doubed-down and also adopted several other Oracle products (Weblogic and Oracle Linux on (shudder) Exalogic servers) because that’s, of course, what Oracle recommended to use with the two products in question. The company also contracted with Oracle-licensed “service integration” companies that made everything somehow even worse.

    And the e-commerce site rewrite absolutely crashed and burned in the most gloriously painful way possible. They ended up throwing away tens of millions of dollars and multiple years on it.

    When the e-commerce site rewrite did happen, it was many years later and used basically only FOSS technologies. I guess at least they learned their lesson. Until the upper management turns over again.



  • I cannot think of any other methods

    Exactly. What you’re describing isn’t “AI.” It’s “magic.” And “AI” can’t do what OP wants either.

    No “AI” solution we have any reason to expect we’ll be able to create in anything approaching the foreseeable future is going to be able to do anything remotely like this without ridiculous amounts of false positives and/or false negatives.

    By false positives in this case, I mean things like not coming back from the cool little slideshows until a minute past the end of the commercial break or obscuring important details of the show having falsely “concluded” that it’s a logo or some such.

    And I would have assumed “without a lot of false positives” would have gone without saying. If OP is comfortable with lots of non-ad content blocked/obscured along with the ads, then I’ve got a 100% guaranteed zero-false-negatives solution that’ll fit OP’s requirements without involving a speck of “AI” anywhere that OP can implement right now: turn the TV off.


  • A pet pieve of mine is people randomly sticking the term “AI” into a description of some particular tech solution.

    You want ad blocking. (Which is based.) But you don’t want “AI”. If this can be done in a way that doesn’t qualify as “AI”, that would satisfy you, yes?

    And using the term “AI” that way makes it clear you haven’t really thought through what you really even want in that feature. (Not that there’s anything particularly wrong with that, especially in a showerthoughts community, but it’s still kindof a “slaps me in the face” kind of thing.)

    And the term “AI” is so imprecise anyway.

    And particular kinds of “AI” are such a bubble right now. And that’s why everybody is sticking the word “AI” into random contexts for no fucking reason. But it’s also just a gimmick at best and a huge scam at worst.

    And “AI” is inevitably bad about false positives and such.

    I’d really rather see the word “magic” than “AI” in this context. Because at least that admits that this is an idle wish and not something you think actual real-world adult humans should be seeking venture capital to attempt.

    I’m sorry for taking this out on you specifically. You’re definitely not the first person I’ve seen do this.


  • TootSweet@lemmy.worldtoProgrammer Humor@programming.devJava Was The Future
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    edit-2
    2 months ago

    I write Java for a paycheck, but I really hate it.

    It feels like everything is layers and layers of overengineered cruft, each added to the precarious tower for something extremely minor. But every subsequent card in the house of cards makes it more precarious. “But look, I don’t have to write accessors.” “But look, I eliminated the need for the web.xml file.” “But look, I don’t have to understand SQL now.” But look, the codebase depends on a shit-ton of completely opaque Automagic™ that you have no hope of understanding the moment something goes wrong – which it will if you even think of changing your Java version. And since it’s practically impossible to understand what’s going on under-the-hood of whichever dependency is fubar’d this week, you have to resort to a mixture of trial-and-error and copy-pasting shit (that you also don’t understand) from StackOverflow and praying to Cthulhu something works – which is also trial-and-error because Java questions in particular have tons of just straight up wrong answers.

    To be fair, I’m the guy on my team who people come to when they run into those sorts of “I bumped up one subminor version of Mockito to fix a bug that was preventing my unit test from working but now literally half of our unit tests won’t build” or “I added the war plugin to the build.gradle and now SwaggerUI is broken.” So maybe I see more than my fair share of “well shit, I guess I’ll just spend the next three hours hunting down which magical combination of Jar version numbers will fix things” kind of problems. But damn. This shit didn’t ever happen back when I was doing Python for a paycheck.

    I don’t use Java if I don’t have to. If I have to use Java, I prefer to just use Servlets (mostly I do web development) and absolutely as few dependencies as I can possibly get away with. Fewer moving parts mean less that can break.