Skip Navigation
Jump
On .LAN domains, how to stop firefox switching to https (when it's not available) and stop complaining about self-signed certificates when it is available ?
  • I don't think you should disable self signed warnings. It would be better to import those than disabling the warning as it is a very important warning.

    As for disabling https only mode for certain URLs, I don't know, and it would be a useful feature. Some of my corporate stuff oddly redirects to HTTPS but just gives a blank screen rather than a connection refused or something. Not sure what it is. Probably something is misconfigured somewhere but it's not something in my control. I didn't have time to really inspect it so I just disabled the https only mode for my work laptop.

    1
  • Jump
    Garlic showdown
  • There was another tweet from before this one about "When the farmers market has a deal on bulk garlic" which leads me to believe he was getting a discount before and feels slighted at the removal. But who really knows? Either way I followed and am looking forward to an update.

    4
  • Jump
    The 2024 Reddit mod experience
  • Public modlogs help us fight against it, though.

    2
  • Jump
    The real culprit behind all fascist movements
  • One time I had a brain fart when I was reading about the United the Right rally and was confused why "national socialists" were there lol. Aren't socialists left? Then I was like "...oh. literal Nazis."

    3
  • Jump
    The real culprit behind all fascist movements
  • If it's protecting capitalism, wouldn't you mean when the wealth gap is too small? As in it is a driving force of the wealth gap?

    1
  • Jump
    I wish for the abolishment of capitalism
  • Capitalism sucks for the same reason Communism sucks [...] There needs to be balance and Communism is not it.

    And Capitalism is? Aight.

    1
  • Jump
    I got SWAT'ed and handcuffed live while Linux development streaming!
  • That's how swatting works though. They don't just call 911 and say "send police to this place" lol.

    11
  • Jump
    There's a reason we aren't as harsh on the Steam Deck. Actually, a couple.
  • I have a hard time believing HDR wasn't around in 2017 in some capacity. This sounds like a big that existed on launch, yeah?

    1
  • Jump
    There's a reason we aren't as harsh on the Steam Deck. Actually, a couple.
  • Not everyone is terminally online, dude.

    10
  • Jump
    Disabling wi-fi on Samsung home appliances (specifically dishwasher)
  • Gotcha. As an aside, the syntax to refer to a user is @username@instance, for example mine is @JackbyDev@programming.dev.

    2
  • Jump
    Disabling wi-fi on Samsung home appliances (specifically dishwasher)
  • Source? Sounds like an interesting read.

    1
  • Jump
    Disabling wi-fi on Samsung home appliances (specifically dishwasher)
  • Why do you care if it has wifi if it's not connected to a network?

    5
  • Jump
    If only there was a way to get all of those people there and back home without a car.
  • If you're ever in Chicago go to Wrigley. It's amazing what a sports stadium can be. For real, you get off the train, walk like a block, go through the entrance, and you can see the field. It's amazing and every new stadium should use it as an example.

    32
  • Jump
    !vegan@lemmy.world mod suppresses criticisms of fediverse spam campaign, using mass ban technique to silence opposing viewpoints
  • PSA, stop trying to use the Reddit syntax of /c/vegan, it's !vegan@lemmy.world. The exclamation mark is what makes it a link. Also please always include the instance the community is hosted on or it will link to different places for different users.

    4
  • Jump
    Fish Linux
  • Wahhhhh this tool can't do two things well, it should only be doing one thing well! 😭😭😭

    1
  • Jump
    Fish Linux
  • Or as I've started to call it, GNU minus Linix

    3
  • Jump
    Fish Linux
  • That's the joke.

    1
  • Jump
    Fish Linux
  • That's the joke.

    2
  • Jump
    One big happy family.
  • I feel like this incident is over blown. The weird holding back for 2 weeks without testing is a valid complaint though.

    1
  • !

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

    4

    !

    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.

    8
    stackoverflow.com Page not found

    Stack Overflow | The World’s Largest Online Community for Developers

    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)

    2

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

    76

    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.

    38

    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!

    25

    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.

    1

    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.

    127

    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
    55

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

    20

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

    2

    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.

    2
    sunclock.net Sun Clock

    A 24-hour clock that shows sunrise, sunset, golden hour, and twilight times for your current location. It also shows the current position and phase of the moon, and its rising and setting times.

    (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. ❤️☀️

    3

    I feel like a case can really make or break a build. Or at least your enjoyment of it. My specs are below, but I sort of picked a case at random. I'm looking for suggestions.

    My current build has served me since 2010 and it's time to upgrade the CPU, Motherboard, and case. Everything that can be replaced easily has been and it's really showing it's age. I mention this because it's likely the case I pick will be used for the next ten years of my life!

    Stuff I care about

    • Ease of opening for cleaning/assembling. Part of why I don't clean my current on as much as I should is how annoying it is to open.
    • Ease of moving. I'm more interested in handles than weight, but I still don't want something stupidly heavy.
    • Size. I'd prefer something a little too big rather than something a little too small. I don't necessarily want a full tower though. As long as I can get in easily and there is some extra room for the next GPU I'll inevitably buy in the next 10 years I'm good.

    Stuff I don't care about

    • Water cooling. I have zero interest in getting custom water cooling. Too much effort for me.
    • Looks. I don't really want some crazy RBG thing, but I also don't specifically need some super minimalist thing either.
    • Price. So, obviously I don't want to waste money, but if I need to splurge a little I'm willing to. Within reason.

    PCPartPicker Part List

    Type|Item|Price :----|:----|:---- CPU | AMD Ryzen 7 5700X 3.4 GHz 8-Core Processor | $162.00 @ Amazon CPU Cooler | Deepcool AK620 68.99 CFM CPU Cooler | $64.98 @ Amazon Motherboard | MSI MPG B550 GAMING EDGE WIFI ATX AM4 Motherboard | Purchased For $0.00 Memory | Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3600 CL16 Memory | $54.99 @ Amazon Memory | Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3600 CL16 Memory | $54.99 @ Amazon Storage | Samsung 980 Pro 2 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive | $159.99 @ Amazon Storage | Seagate Barracuda Compute 2 TB 3.5" 7200 RPM Internal Hard Drive | $64.98 @ Amazon Video Card | Zotac GAMING Trinity GeForce RTX 3070 Ti 8 GB Video Card | Purchased For $0.00 Case | Corsair 4000D Airflow ATX Mid Tower Case | $104.97 @ Amazon Power Supply | EVGA SuperNOVA 750 G6 750 W 80+ Gold Certified Fully Modular ATX Power Supply | $133.99 @ Amazon | Prices include shipping, taxes, rebates, and discounts | | Total | $800.89 | Generated by PCPartPicker 2024-06-14 14:57 EDT-0400 |

    8
    programming.dev SD Card fails to format using official SD Card format tool on Windows - programming.dev

    I don’t get a very detailed error message but it fails and tells me to try reinserting it. I’ve tried a few times. It fails at different percentages sometimes. Any thoughts or ways to get a more detailed error message? I have Mac and Linux too.

    Cross post

    4

    I don't get a very detailed error message but it fails and tells me to try reinserting it. I've tried a few times. It fails at different percentages sometimes. Any thoughts or ways to get a more detailed error message? I have Mac and Linux too.

    7

    I failed the strength check despite being a paladin and using inspiration. I never saw him again even after getting through nearly all of act 2. I've asked this before, maybe even in this community, but no one gave a concrete answer, likely because the game was still new.

    27

    Not really Cassette Futurism (or Vaporwave) but I think folks here might like it still.

    cross-posted from: https://programming.dev/post/8081021

    > Not really Vaporwave, but not too sure where it fits. These styles inspired a lot of Vaporwave things so I thought you might enjoy.

    0