[-] JackbyDev@programming.dev 1 points 3 days ago

You account is self marked as a bot, but you seem like a human. If people enable filtering on bot content they won't see your comment.

[-] JackbyDev@programming.dev 2 points 3 days ago

I liked him as Garrett in A Minecraft Movie. I know that's not really like the best example of good acting lmao, but it's what comes to mind. He was my favorite character in the movie and I even cosplayed as him. I thought him and Jack Black as Steve had pretty good chemistry and were able to bring a plausibly deniable gay angle to the characters. ("Let my hips guide you!")

[-] JackbyDev@programming.dev 3 points 3 days ago

As Nolan intended

[-] JackbyDev@programming.dev 3 points 3 days ago

It feels very odd to me to view someone rating a movie as 51/100 as them giving it a positive rating.

[-] JackbyDev@programming.dev 3 points 3 days ago

Hey, I go to a lot of AMC theaters, I feel very strongly that it was the "Dolby" theater. I've had similar experiences there (but haven't walked out). It might be a perfect storm of scenarios making it uniquely worse, but I can definitely say everyone in our group has all had the same experience at Dolby theaters.

[-] JackbyDev@programming.dev 1 points 3 days ago

Starscream: Who are you?

Odysseus: I am nobody!

Starscream: Megatron, help me! I am being attacked by nobody!

Freddy Faz Bear: Hor hor hor hor hor

[-] JackbyDev@programming.dev 3 points 4 days ago

Reading this with a passion flower in my hair on my way to a tiki party.

[-] JackbyDev@programming.dev 2 points 4 days ago

Be the change you want to see and instead make and encourage people to make non furry, non brony art instead of complaining that there is too much. 🩵

[-] JackbyDev@programming.dev 3 points 5 days ago

Gosh. I remember working with this back in 2019 and earlier. Our legacy products ran on it. I remember a new service we made (before Spring Boot really took off) used TomCat. It was so much easier to mess with. I asked why we don't use that for our main product. Imagine my surprise when they said we actually used to.

I'm sure they had their reasons, I was a younger dev at the time and didn't have insight into why they changed it. But still. Everything is so simple now. Java to run your jar. Your jar has your server built in. Done. And that's not even including containerization.

I do miss Jenkins though. GitHub Actions seems to be the new hotness. Maybe I just don't have the muscle memory yet, but it can be annoying.

[-] JackbyDev@programming.dev 4 points 5 days ago

I don't know if I'd really call these solar punk, but here's a few things I've done.

My yard is clover, not grass. I barely mow it. I know it so little the city "politely" informs me when it's time. (Pro tip: Don't use red clover. Use white clover.) I also leave my leaves in place, the most I do is mow them to chop 'em up. The bees love the flowers. The lightning bugs seem to love it as well, I've noticed more. I attribute this to the leaves.

I replaced my water heater last year because it broke. It was electric. My new one is a heat pump. It's cheaper to run. Plus, as a free side effect, it cools off and dehumidifies the basement. I'm not sure how much cooling and dehumidifying it really accomplishes, but I generally have a dehumidifier running down there anyways to help combat humidity.

[-] JackbyDev@programming.dev 6 points 6 days ago

This is my childhood

54
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/greenspace@beehaw.org

Two different webs very close together. I like to imagine they'd chat about their days of they could!

1
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/jetbrains@programming.dev

Link to a (frustratingly) deleted question on Stack Overflow. Text and image copied below incase you don't have the ability to see it. (Not sure why the image shows multiple times.)


Is there any way to more granularly control IntelliJ IDEA's inspections' "Nullability and data flow problems" option "Treat non-annotated members and parameters as @Nullable"? Preferably for unboxing specifically?

I am aware I can use a variety of @Nullable annotations in a variety of places in the code to make the warnings appear. That's not always an option as the place the boxed primitives are coming from may be other libraries you don't have control over. (Imagine if the Holder record below was from a different project.) I included other examples below to illustrate my point.

public class Sample {

    private final Boolean value;

    public Sample(Boolean value) {
        this.value = value;
    }

    private boolean isValue() {
        return value; // I would like a warning here
    }

    private static Boolean boxedTrue() {
        return true;
    }

    private static boolean unboxedTrue() {
        return boxedTrue(); // No warning here, but that's understandable since never null
    }

    private static Boolean boxedNull() {
        return null;
    }
    
    private static boolean unboxedNull() {
        return boxedNull(); // Only warning in the file (by default)
        // "Unboxing of 'boxedNull()' may produce 'NullPointerException'
    }

    public record Holder(Boolean value) {}

    public boolean openHolder(Holder holder) {
        return holder.value(); // I would like a warning here
    }
}

When "Treat non-annotated members and parameters as @Nullable" is enabled, the following gives warnings. While that makes sense given the name of the option, there is code like this literally everywhere. It adds hundreds of warnings to my project. I'm trying to find more granular choices.

    public static ZonedDateTime timeStuff(LocalDateTime localDateTime, ZoneId zoneId) {
        return localDateTime.atZone(zoneId); // I do not want warnings for this
    }

I see that the Java Class Library has JetBrains annotations despite not actually being annotated. Is there perhaps some way to add these automatically to libraries if there is no better way to control the inspection?

Showing @NotNull and @Contract annotations on LocalDateTime.atZone(ZoneId)

145

Seeing that Uncle Bob is making a new version of Clean Code I decided to try and find this article about the original.

83
Barbie (programming.dev)

If you'd told me five years ago that there would be a Barbie movie that somehow was not only just not a cash grab or nostalgia bait but also a genuinely amazing piece of cinema with an amazing message to boot I'd never believe you.

118
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/selfhosted@lemmy.world

Opening your router to the Internet is risky. Are there any guides for the basics to keep things secure? Things like setting up fail2ban? My concern is that I'll forget something obvious.

Edit: I haven't had much of a chance to read through everything yet, but I really appreciate all these long, detailed responses. ❤️ Thanks folks!

34

This part of this blog post has always made me happy and I come back it from time to time. This is regarding the scene in Tron Legacy when one of the characters stops another from hacking. If you'd like to see the scene for context here it is. The time code is when the particular portion is. https://youtu.be/Qeh3E67brBs&t=231

In addition to visual effects, I was asked to record myself using a unix terminal doing technologically feasible things. I took extra care in babysitting the elements through to final composite to ensure that the content would not be artistically altered beyond that feasibility. I take representing digital culture in film very seriously in lieu of having grown up in a world of very badly researched user interface greeble. I cringed during the part in Hackers (1995) when a screen saver with extruded "equations" is used to signify that the hacker has reached some sort of neural flow or ambiguous destination. I cringed for Swordfish and Jurassic Park as well. I cheered when Trinity in The Matrix used nmap and ssh (and so did you). Then I cringed again when I saw that inevitably, Hollywood had decided that nmap was the thing to use for all its hacker scenes (see Bourne Ultimatum, Die Hard 4, Girl with Dragon Tattoo, The Listening, 13: Game of Death, Battle Royale, Broken Saints, and on and on). In Tron, the hacker was not supposed to be snooping around on a network; he was supposed to kill a process. So we went with posix kill and also had him pipe ps into grep. I also ended up using emacs eshell to make the terminal more l33t. The team was delighted to see my emacs performance -- splitting the editor into nested panes and running different modes. I was tickled that I got emacs into a block buster movie. I actually do use emacs irl, and although I do not subscribe to alt.religion.emacs, I think that's all incredibly relevant to the world of Tron.

600
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/programmer_humor@programming.dev

Literally. I open up my terminal and try to cd Desktop only to be told that no such file exists. I thought for sure everyone this was happening to was just not reading something correctly and were foolish. Nope! It literally began deleting my files.

Edit 2: Even once it's done and you have them locally and not "on demand", the Desktop is in ~/OneDrive/Desktop instead of ~/Desktop. See this helpful comment.

It looks like there might be a way to sort of disable Files on Demand but it looks like it won't let me do it until it's done uploading? I'll post updates.

Not to be dramatic, but I'm really going through it. My mouse logitech mouse is suddenly chattering really bad and double clicking everything. Also while Steam refuses to let me disable auto updates for all games in any sort of easy way. And DDG seems intent on only showing me results related to launching games without updating (as opposed to merely disabling auto updates until I launch). The chatter fixer I found for my mouse does not work and the other requires some logitech program to even try to use. (The repo doesn't mention the name.) This is awful. When it rains it pours, I guess. Literally can't even high light this text to wrap it in a spoiler. This is fucking stupid.

Context: My parents have a family plan for Microsoft 365 they added me too and it has 1 TB of storage I can use. I wouldn't have turned it on otherwise.


Edit: My desktop background has literally vanished and turned solid black.

DO NOT ENABLE ONE DRIVE.

273
Which one??? (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/programmer_humor@programming.dev

Fuck it, .zshrc it is.

Image transcription:

  • Top text: I STILL DON'T KNOW WHAT SHOULD GO IN .*RC VERSUS .*PROFILE
  • Bottom text: AND AT THIS POINT I'M AFRAID TO ASK
57
Use plain text email (useplaintext.email)

I've been seeing comments about mailing lists. They usually want plaint text emails like these.

43

Someone mentioned they don't know how to use email with git. I remembered this cool website.

28

I have no idea how to title this post. Oh well.

A few years back I worked somewhere that had a large breach. Many practices changed in the wake of it. Developers actually had admin access prior to the change which was very nice. In an effort to restrict access but also let folks do their jobs they deployed some tool that would start all programs that "needed" admin access as an admin. This included cmd for the devs. So every time I opened cmd I had to be careful not to break something since there was no way to launch it without admin access after that change.

29
Sun Clock (sunclock.net)

(I did not make this project.)

I love this website. It helps me visualize time with regards to the sun very well. If I could get my FitBit to display this as a clock face I definitely would. It's such a beautifully simple site.

I'm sharing it in honor of the solstice today. It's (roughly) solar noon on the east coast. I think I found this site on Reddit prior to the Lemmy Exodus, so I'd like to share it here for everyone to enjoy. Happy solstice. Happy summer (or winter for our friends in the southern hemisphere).

Also, based on the community info panel I believe this is on topic here, but if there is a better community for "cool site I found" let me know. ❤️☀️

view more: ‹ prev next ›

JackbyDev

0 post score
0 comment score
joined 3 years ago
MODERATOR OF