JackbyDev

joined 2 years ago
MODERATOR OF
[–] JackbyDev@programming.dev 5 points 4 days ago

I'm not saying whether you should or shouldn't, I'm merely acknowledging that unloaded magazines exist.

[–] JackbyDev@programming.dev 6 points 4 days ago

They actually borged the baby!?

[–] JackbyDev@programming.dev 8 points 4 days ago

This but unironically. The humor of this image, to me, is the juxtaposition of the character in the pose. But it's actually a pretty flattering pic.

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

FREE ME FROM YOUR GRASP, CURSED FLOWER!

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

The worse things get in my life the more I feel like this. I believe it's a consequence of being raised Christian. (Though I am an atheist now.) When I was younger I believed God never gives you more than you can handle. So when things got bad it felt like God was breaking that promise. Now that I'm older it feels like "bad writing." Like, really? This many bad things in such a short time period? It's a little on the nose, isn't it? It's why I can't rewatch I saw the TV Glow until I know I am in a very stable mental place.

Major spoilersThe main characters enjoyed a TV show that got cancelled on a cliff hanger. It is revealed that the characters are actually characters from that show which is reality and the false reality is the world they're stuck in. To get back to the true world they have to bury themselves alive.

I saw this movie right in the heels of Trump's inauguration when I had a lot of other stress going on. Naturally, a movie with 4th wall breaking lines like "Do you ever feel like your life is a TV show?" when I did feel like my life was scripted and the way for them to get out was suicide was pretty terrifying.

The irony being that I have been going through a bit of a gender journey for a while and knew the movie had themes to do with that, but none of that really hot anywhere close to home as the rest mentioned above. I'm just glad I planned to see it surrounded by friends.

The idea that there's an escape hatch on reality is so alluring. The idea that all the bad things in your life are the fault of one person, even if they're a metaphysical entity, is so appealing. The sad reality is that it's all random and sometimes we just get unlucky streaks.

[–] JackbyDev@programming.dev 14 points 4 days ago (2 children)

Gun magazines can be empty.

[–] JackbyDev@programming.dev 6 points 4 days ago

Yeah, no shit, thank you for repeating what I said. The point being I never cared about the money and didn't even understand it was only about the money. I only wanted recognition.

[–] JackbyDev@programming.dev 58 points 4 days ago (15 children)

I fought for getting a 4/5 rating at an old job and gave lots of examples. Their argument was that I didn't deserve it because those were just expected. I pointed out my work compared to others in my team and was told that it compares across the company, not the team. I kept causing a fuss about it because I was so angry about it and finally my manager said something about the bonuses has already been communicated and people would be angry to get less. I was confused because I didn't want more money, I was just offended they said I was performing on average when I was going above and beyond every day. It was also really embarrassing to me. If they'd just said the rating doesn't affect anything except your bonus I wouldn't have even cared.

The whole thing is all BS.

[–] JackbyDev@programming.dev 2 points 4 days ago (2 children)

Wootnoofcootnoofshootnoof

[–] JackbyDev@programming.dev 7 points 4 days ago

I hate cliffhangers. Especially since new seasons aren't guaranteed.

[–] JackbyDev@programming.dev 8 points 4 days ago (1 children)

I've trained myself not to laugh or take pleasure from other people's pain or discomfort. See it as an indication of NPC.

But say shit like

I deemed him too small to bother with. He had no where to retreat to. I'm leering over him, he's sitting. I could use overhead metal railing to brace against while kicking his head in. He was in a disadvantaged defensive position. I choose to pick my battles. To my knowledge to this day he doesn't have to eat thru a straw.

Definitely feels like you're getting pleasure from the idea of that person's pain and discomfort.

[–] JackbyDev@programming.dev 1 points 5 days ago

The mountain in the background leads me to believe this is the Ocoee river from Tennessee and Georgia and not the city Ocoee in Florida.

 

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

 

For the unaware, there is a thing people do at Dragon Con (and possibly other conventions) called Swag and Seek where people make trinkets and leave them around the convention for people to take. This is probably the coolest one I found this year.

 

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)

 

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

 

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.

 

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!

 

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.

593
submitted 1 year ago* (last edited 1 year 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.

270
Which one??? (programming.dev)
submitted 1 year ago* (last edited 1 year 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
 

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

 

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

 

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.

view more: ‹ prev next ›