JackbyDev

joined 2 years ago
MODERATOR OF
[–] JackbyDev@programming.dev 2 points 1 day ago* (last edited 1 day ago)

I don't know! I've seen two people in this thread specifically mention Code - OSS and I've literally never seen anyone else use it so it was intriguing. Whenever I see folks using something other than VS Code I am happy. Fuck fauxpen source. (VS Codium is actually open source.)

[–] JackbyDev@programming.dev 3 points 1 day ago* (last edited 1 day ago)

I feel like you're really forgetting the lore. Do you not remember the iconic "TONY STARK WAS ABLE TO BULD THIS IN A CAVE. WITH A BIX OF SCRAPS." He built a compact arc reactor in a cave. The other man's reply as to why he couldn't do it in a lab with more scientists and equipment was "I'm not Tony Stark."

https://youtu.be/9foB2z_OVHc

[–] JackbyDev@programming.dev 2 points 1 day ago (1 children)

Your "cut" would not be complete until you believe you've made them 50/50.

[–] JackbyDev@programming.dev 6 points 1 day ago (1 children)

Not in my low earth orbit.

[–] JackbyDev@programming.dev 2 points 1 day ago

Honestly, modern isn't even relevant in that context. It's easier to make a useful tiring complete language than a useful tiring incomplete language. It's not like as time went on we discovered how to make tiring complete languages more easily. If anything, we stumble into more and more things that are turing complete as things go on because it doesn't take too much for it to be, things like video games and board games.

[–] JackbyDev@programming.dev 2 points 1 day ago

It depends on your perspective. Yes, markup languages are definitely not programming languages. What about languages for proofs that don't allow arbitrary recursion though? https://en.wikipedia.org/wiki/Total_functional_programming

[–] JackbyDev@programming.dev 1 points 1 day ago (2 children)

Any reason for Code - OSS over VS Codium?

[–] JackbyDev@programming.dev 2 points 1 day ago

Static typed languages usually have better auto fill suggestions than dynamic ones. It's harder to make good auto fill with dynamic languages so.

[–] JackbyDev@programming.dev 2 points 1 day ago

What a wild two sentence combo.

he shared “a conspiracy theory about soap on our foods” but wouldn’t say more, as he felt he was being watched. They went to a Chipotle,

Chipotle was where I first learned about cilantro tasting like soap. I said something like "it tastes like they didn't rinse the soap out of a bowl or something."

[–] JackbyDev@programming.dev 22 points 1 day ago (26 children)

Have I misunderstood the term vibe coder? I thought it meant people who weren't good at coding. I thought Stark's whole thing was that he's a genius. Is he notoriously bad at software but good with hardware or something?

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

The earliest, specific crush on a celebrity I can remember was Lindsay Lohan in as early as 2003, but maybe 2005 or so. I was a middle schooler.

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

Ypu know what I don't hear on lemmy? People complaining that crypto world consumes more energy than AI world and one of those is far more useless in grand scheme of things.

I have both heard and said that crypto uses a lot of energy on Lemmy.

 
27
submitted 7 months ago* (last edited 7 months ago) by JackbyDev@programming.dev to c/linux@programming.dev
 

I hear that a lot but, how bad is it really? Does it affect you (if you use Debian)? Aren't there ways to install newer versions of most things that actually matter?

 

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.

82
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.

 

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 10 months ago* (last edited 10 months 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 10 months ago* (last edited 10 months 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.

view more: ‹ prev next ›