JackbyDev

joined 2 years ago
MODERATOR OF
[–] JackbyDev 1 points 1 day ago

The thought experiment is about how wrist watches are incredibly complex and hand crafted machines so if you dissemble one and put all the parts in a clothes dryer you won't get a watch back. (I believe given infinite time and random movements you would eventually get a watch.)

[–] JackbyDev 4 points 3 days ago (3 children)

Worse, creationists use the "watch maker's paradox" as evidence of creation. Same idea but watch parts in a washing machine.

[–] JackbyDev 9 points 3 days ago (1 children)

The funny thing is, if you truly have infinite monkeys, it doesn't matter if they're using it correctly or not. There is an infinite amount of them.

[–] JackbyDev 1 points 3 days ago

I misread you as saying pencils are dust free.

[–] JackbyDev 1 points 3 days ago (2 children)

You're just raising the question about why the pencils cost over $100 if all pencils are dust free. What was so special about them when the special pens were so cheap?

[–] JackbyDev 6 points 3 days ago (1 children)

It makes more sense if you think of it as enflammable. Indent and indebted at examples of this "in-" prefix. https://www.merriam-webster.com/grammar/flammable-or-inflammable

[–] JackbyDev 84 points 3 days ago (16 children)

If you have an infinite amount of monkeys and they're all typing truly randomly, then an infinite number of them would get it correct on the first try. Which is sort of weird to think about lol.

[–] JackbyDev 2 points 3 days ago

Yeah they don't put him in the uniform anymore lol

[–] JackbyDev 9 points 5 days ago

Ugh, look, I get it. I know TJ's Lesser Action Rune of Changed Files that the Greater version does now, but TJ's price structure is bullshit and I'm not paying for Greater just because he refuses to "support" us users of Lesser. I don't even have a damn Portal, much less a Summoning Circle! Why are you so worried about a backdoor to the hells? Unless I connect this sigil to the weave nothing is going to come in or out. This sigil is only for monitoring the moisture content of my garden by way of a spell scroll attached. As we both know, scrolls and sigils use two different elements to communicate. One is gold ink and the other is silver ink. I have to use TJ's Action Rune of Changed Files to see if the document has changed due to moisture. The scroll cannot directly talk to my watering golem's receiving crystal.

[–] JackbyDev 2 points 5 days ago

Omfg I read all of this for far to long thinking you meant casting spells with a lithp lisp. Like you might cast similarly named spells randomly. "Must be Skyrim, cool. Click! Minecraft doesn't have spells, what?"

[–] JackbyDev 1 points 5 days ago (1 children)

Same here. Assembly is a little too high level for me. I don't like the assembler guessing what I meant. I like telling processors exactly what to do.

Honestly, modern CISC processors are also a little high level if you think about it. I don't want the processor guessing what I meant to tell it. I like telling them exactly what to do.

[–] JackbyDev 4 points 5 days ago

Closed as duplicate

 

Cross posted from: https://feddit.uk/post/20469568

257
Tortie checkpoint! (programming.dev)
 
 

For context, "no hello website" is a term I'm using to describe websites like https://nohello.com. The gist is that it's trying to get people to no only say "hello" but also ask whatever it is they're trying to ask you about. (In my opinion, this can even extend to generic conversations, like "hey, how are you?" versus just "hey!")

The problem is, many of these websites seem pretty rude. At the end of the day, I don't think it's possible to make one not seem at least a little rude because telling someone not to say hello just sounds rude lol. That said, even my favorite one (https://nohello.club/) has phrases like

  1. Unnecessary pleasantries
  2. useless phrase like "Hello"

But I like it because it doesn't say things like this that the original http://nohello.com says

please be prepared to be ignored if you only say "Hello!".

Some context, I'm not necessarily looking to include this on any corporate messaging app bio (unless it was 100% polite, which as I said I don't find possible). But the closer to something that polite, the more useful I think it is.

 

There is a promotion for new hams to get the Explorer QRZ-1 for $22 (along with some software and a cable, but I already have a cable and CHIRP is free). It is normally $60. Is this a good deal? Is this radio worthwhile?

I currently have a Baofeng UV-5R (Baofeng #1 radio! Wooo!) and a TIDRADIO TD-H3. I haven't really made contacts with either and don't know how well they perform. Is this QRZ-1 substantially better?

16
Antenna mounted in attic? (self.amateur_radio)
 

How poorly would an attic mounted antenna perform? Obviously worse than something outside, I'm guessing, but how much worse?

My office has one of those "side attics." It has a half sized door. Mounting a long antenna in there is very tempting because of how much easier it would be than doing anything outside. It's on the second floor as well.

231
wormule (programming.dev)
 
27
submitted 6 months ago* (last edited 6 months ago) by JackbyDev to c/linux
 

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?

2
Helene and ham (self.amateur_radio)
 

I recently got a UV-5R at the suggestion of another Lemming as a cheap intro to the hobby. It's been cool! I was able to hear people talking over GMRS frequencies as well as over a local repeater. One person spoke about their experience in the 90s when they first heard about an incoming tornado over ham. Helene ended up dodging my area, thank goodness, but it was comforting to know that even if power, Internet, and cell service all went out I would be able to hear these people and call for help if needed.

(I am still unlicensed so I did not chat in response with them that evening.)

54
submitted 7 months ago* (last edited 7 months ago) by JackbyDev to c/[email protected]
 

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.

view more: ‹ prev next ›