programming Programming Real examples here?
Jump
  • dbilitated dbilitated 1 month ago 100%

    it's a case where he knows a guy just like Ronald but he's not naming him, so he's just talking about "Ronald"

    12
  • technology Technology [Gamers Nexus] Scumbag Intel: Shady Practices, Terrible Responses, & Failure to Act
    Jump
  • dbilitated dbilitated 2 months ago 100%

    I have one of the affected CPUs 😒

    7
  • asklemmy Asklemmy People who watched Homestar Runner back in the day: If you have watched any of the sbemails on the website, which sbemail is your favorite of the bunch?
    Jump
  • dbilitated dbilitated 2 months ago 100%

    I often quote light switch rave 😁

    13
  • asklemmy Asklemmy Why is HD or 3D so impressive on a flat screen, but we walk around in real life with the highest definition possible and the most realistic 3D and it's completely mundane?
    Jump
  • dbilitated dbilitated 2 months ago 100%

    because the thing on the screen doesn't really exist, so when it appears to really exist it feels like magic

    32
  • bonsai Bonsai Savannah style Chinese elm
    Jump
  • dbilitated dbilitated 2 months ago 100%

    looks really pretty. has it recently been repotted?

    2
  • science Science Active self-treatment of a facial wound with a biologically active plant by a male Sumatran orangutan - Scientific Reports
    Jump
  • dbilitated dbilitated 4 months ago 100%

    that's amazing

    11
  • worldnews World News [Video][SCMP] China’s first corgi police dog makes public debut
    Jump
  • dbilitated dbilitated 5 months ago 100%

    All Corgis Are Beautiful 😍

    11
  • bonsai Bonsai I pruned this juniper procumbens Nana today.
    Jump
  • dbilitated dbilitated 5 months ago 100%

    beautiful!

    3
  • programmer_humor Programmer Humor I just love pain
    Jump
  • dbilitated dbilitated 5 months ago 100%

    I just had a provider issue take a server down after we swapped into production.my code was fine, still didn't get to knock off on time.

    10
  • asklemmy Asklemmy Why is there a surge of deodorant products mostly advertised to women in the US?
    Jump
  • dbilitated dbilitated 5 months ago 98%

    capitalism preys on insecurity 🤷‍♂️

    53
  • technology Technology You can now buy a flame-throwing robot dog for under $10,000
    Jump
  • dbilitated dbilitated 5 months ago 80%

    The whole article listing the various uses of flamethrowers, like environmental conservation, then mentioning concerns that flamethrowers can double as weapons is just... I don't even know what to do with that.

    it even lists napalm as an intended use. gonna conserve the hell out of that commie rainforest, I guess?

    6
  • news News Documents found on a North Korean server suggest US studios may have unknowingly outsourced animation work
    Jump
  • dbilitated dbilitated 5 months ago 100%

    ..regularly scans the North Korean internet as a hobby.

    hell of a hobby!

    10
  • worldnews World News Europeans care more about elephants than people, says Botswana president
    Jump
  • dbilitated dbilitated 5 months ago 40%

    there's 8 billion people already.

    -1
  • android Android WhatsApp UI has updated for me (Version 2.24.8.85)
    Jump
  • dbilitated dbilitated 5 months ago 100%

    huh I got a new layout today but it has AI features in the search? I don't like it. I switched to signal and forced everyone but a stubborn few to follow.

    4
  • asklemmy Asklemmy What's your best unconventional "blessing" like when people tell an actor "break a leg!"
    Jump
  • dbilitated dbilitated 5 months ago 100%

    parking inspector?

    15
  • worldnews World News Middle East crisis live: air defences activated in Iran after explosions reported near Isfahan
    Jump
  • dbilitated dbilitated 5 months ago 100%

    fuck I hate the current government of Israel right now

    7
  • australia Australia Bruce Lehrmann raped Brittany Higgins in Parliament House, judge finds on balance of probabilities
    Jump
  • dbilitated dbilitated 5 months ago 100%

    he's got a hearing on another rape trial in June. here's hoping for some justice

    27
  • worldnews World News Mass knife killing Sydney Australia
    Jump
  • dbilitated dbilitated 5 months ago 91%

    as an Australian, fuck I am so grateful crazy people can't get guns in this country. imagine what this guy could have done with an automatic weapon.

    10
  • asklemmy Asklemmy If some higher being kept humans as pets how would their treats be marketed?
    Jump
  • dbilitated dbilitated 5 months ago 100%

    "Sedates and pleases! Great for temperament"

    22
  • worldnews World News Boris Johnson: Arms embargo on Israel 'death wish of Western civilization'
    Jump
  • dbilitated dbilitated 6 months ago 60%

    you'd think he'd be more worried about Russia hacking chunks off the side of Europe

    1
  • asklemmy Asklemmy Is RAID still needed?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    yeah true. I guess what I'm saying is the considerations probably have changed, I seriously doubt RAID is no longer useful though.

    1
  • asklemmy Asklemmy Is RAID still needed?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    3-2-1 is for backup, RAID is also for availability, eg your domain server not going down in case of drive failure. good point though.

    20
  • asklemmy Asklemmy Is RAID still needed?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    yeah but if SSD failing is now less likely that other parts of the machine it might be better to focus on a redundant server to fail over to.. it's an interesting thought. RAID isn't obsolete I don't think but it's an interesting question

    1
  • asklemmy Asklemmy Is RAID still needed?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    I do recall google apparently stopped using raid in some data centres, but it was because they had whole-machine redundancy.

    RAID is probably redundant for some of the uses it used to have, like optimising read performance by using many drives (SSD is fast) and honestly I suspect that SSDs are probably more reliable as they don't have a bunch of platters and bearings and screaming rotational speeds.

    So if you needed it for a base level of reliability, an SSD on its own may have exceeded that.

    I suspect there are still uses for drive redundancy in some high availability setups.. although your friend might be right. If the likelihood of drive failure is lower than other parts in the machine and you need high redundancy for availability it might make more sense to replicate the whole machine rather than the drives.

    It's possible redundancy specifically for the drives was an artifact of unreliable drives back in the day 🤔 they might have a point! I think it's likely still useful at times though.

    I'd rather hotswap a drive than set up a new server, even if it's a less likely scenario.

    6
  • stable_diffusion_art Stable Diffusion Art Observer of the Mind
    Jump
  • dbilitated dbilitated 6 months ago 100%

    that is genuinely beautiful

    2
  • worldnews World News US says Israel has not violated international law during Gaza war
    Jump
  • dbilitated dbilitated 6 months ago 100%

    huh I didn't think the US could have even less credibility on war crimes

    7
  • scifi Science Fiction 3 Body Problem: Exec Sentenced to Death for Producer's Murder
    Jump
  • dbilitated dbilitated 6 months ago 100%

    hell of a promotional tour

    1
  • aww aww The Return of the Thief
    Jump
  • dbilitated dbilitated 6 months ago 100%

    oh wow that adorable, belligerent face. absolutely knows what he's stealing

    3
  • asklemmy Asklemmy What song do you put on when you need to 'get shit done'?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    https://youtu.be/z_EmuZyhqMU

    it's 4 hours so you might actually finish it

    1
  • asklemmy Asklemmy What is the best hip hop lyric of all time?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    Head to Bali, smoking cuban cigars, And we fuck up the party like acoustic guitars

    "fuck up the party like acoustic guitars" always cracked me up so much.

    19
  • world World News U.S. Gaza ceasefire resolution vetoed by China, Russia at UN Security Council
    Jump
  • dbilitated dbilitated 6 months ago 83%

    it's more, we'll hold up a ceasefire by adding conditions for Israel while thousands of Palestinians are dying of hunger or simply shot. I think the hostages should be returned but that should simply be another negotiation.

    Personally I think the hostage release and condemning the initial act are fine but both sides holding up a ceasefire based on those details is terrible. People are dying at a sickening rate.

    4
  • world World News 'Everyone in the World Needs to See This': Footage Shows IDF Drone Killing Gazans
    Jump
  • dbilitated dbilitated 6 months ago 80%

    Hitler didn't eradicate the Jewish people. Are you saying that means he wasn't actually trying?

    9
  • world World News U.S. Gaza ceasefire resolution vetoed by China, Russia at UN Security Council
    Jump
  • dbilitated dbilitated 6 months ago 25%

    apparently the issue is the US wants to add conditions for Hamas, releasing Israeli hostages and condemning Hamas.

    I think that's gross but I think a ceasefire is more important

    -2
  • world World News 'Everyone in the World Needs to See This': Footage Shows IDF Drone Killing Gazans
    Jump
  • dbilitated dbilitated 6 months ago 87%

    Israel is killing everyone who lives in Gaza so they can take their land

    35
  • games Games GTA 6 Production Reportedly Falling Behind, Rockstar Urges Staff To Return To Office To Avoid Delay
    Jump
  • dbilitated dbilitated 6 months ago 100%

    falling behind? QUICK, everyone waste two hours of every day commuting to the fucking office so people can endlessly distract you from making it!

    113
  • asklemmy Asklemmy Are you using passphrases? Is it worth it?
    Jump
  • dbilitated dbilitated 6 months ago 100%

    I use an open source password manager and long random passwords for most things.

    my master password is a long phrase though, as well as any I have to type personally sometimes. passphrases are so much easier to type as well

    7
  • news News Netanyahu snaps back against growing US criticism after being accused of losing his way on Gaza
    Jump
  • dbilitated dbilitated 6 months ago 100%

    🤮

    8
  • news News Netanyahu snaps back against growing US criticism after being accused of losing his way on Gaza
    Jump
  • dbilitated dbilitated 6 months ago 100%

    ok they're trying to kill every arab in their country and steal their homes.

    I suppose it's more of an ethnic cleansing? is that better?

    11
  • news News Netanyahu snaps back against growing US criticism after being accused of losing his way on Gaza
    Jump
  • dbilitated dbilitated 6 months ago 88%

    monster

    7
  • world World News Israel again massacres Palestinian civilians who had gathered to obtain humanitarian aid in Gaza
    Jump
  • dbilitated dbilitated 6 months ago 100%

    demons

    6
  • world
    World News dbilitated 8 months ago 95%
    Israel accuses Australia of forgetting ‘Hamas’s culpability’ for Gaza war as ministers consider UNRWA funding www.theguardian.com

    As an Australian, no we didn't. We just had it put in context. Jews around the world are great people, the Israeli government and the hardline supporters are absolute monsters. I hope the Australian government tells them as much. Israel deserves no support and everything that may happen when it's withdrawn.

    178
    26
    memes
    Memes dbilitated 8 months ago 27%
    Yemen
    -5
    0
    artificial_intel
    AI dbilitated 10 months ago 92%
    What to use now?

    Well, chat.openai.com is down today. I've been using it quite a bit recently, mainly to ask questions about physics and history but also for some low level work help - it's great for fire-once functions I can easily describe. I don't really want to use microsoft's - the privacy policy and forced "free" feature make it seem dubious. I'd rather pay and have limited control over the data. Are there any other options of a similar quality?

    11
    7
    programming
    Programming dbilitated 10 months ago 92%
    Use YAML through a serialiser www.nuget.org

    The one I linked might be a good one, I think I've used it but I'm on holidays so I can't check. The real wisdom here is, where possible, implement a basic configuration class and serialise it out to a file using a library, then only tweak it. In your class you can have everything strongly typed and assigned and so forth and all the joy of a good IDE helping you along, then you can use the tiniest console app to just serialise it to a file for you and the syntax is guaranteed to be perfect because it's a tested library. You don't even really have to learn yaml and it'll be perfect. If you need to tweak it it'll still be pretty easy because all the values and structure will make it clear what's happening. Obviously less useful for people who aren't devs, but we are so we might as well play on easy.

    11
    0
    motogp
    MotoGP dbilitated 11 months ago 100%
    What an amazing race

    it breaks my heart to see FabioDG hit such a run of form right as he loses his ride. Also super happy for >!Zarco!<, he deserved it!

    10
    6
    selfhosted
    Selfhosted dbilitated 11 months ago 91%
    My new favourite password manager https://keepass.info/

    I've always hated the idea of using a subscription/cloud hosting for password management. I feel like I should have a LOT more control over that stuff and I don't really want to hand all my keys over to a company. All my secrets have been going in a highly encrypted archive with a long passphrase, but obviously that isn't convenient on all devices. It's been fine, I can open it on any computer but it's not super quick. It does have the advantage of being able to put in multiple files, notes, private keys but it's not ideal. Anyway, finally found something that isn't subscription, and has a similar philosophy - a highly encrypted archive file, and it's open source and has heaps of clients including web browser plugins so it's usable anywhere, and you can sync the vault with any file sync you like. Thought you guys might appreciate the find, password managers have always been a bit of a catch 22 for me. Note for android i found keepassxc the best app, and i'm using KeePassHelper browser plugin, and the KeePassXc desktop app as well as the free official one. Apps all seem to be cross platform.

    145
    102
    196
    196 dbilitated 12 months ago 99%
    ja rule
    170
    16
    programming
    Programming dbilitated 1 year ago 87%
    This comic was published less than ten years ago, and it's wild how obsolete it is xkcd.com

    We can get a computer to tag the birds, answer questions about them, and generate new pictures of them.

    329
    43
    til
    Today I Learned dbilitated 1 year ago 96%
    TIL Peter Molyneux failed his first game so badly he started a baked bean export company, which got confused with a software firm and kickstarted his development career en.wikipedia.org

    After his first game venture failed, Peter Molyneux started a baked bean export business. Commodore International mistakenly offered him ten free Amiga systems because they confused the baked bean company's name "Taurus" with a software company "Torus", and he used the hardware to create a database system for the Amiga, which was successful. Which is just such a weird story. Full text of the paragraph: > Due to the game's failure, Molyneux retreated from game design, and started Taurus Impex Limited—a company that exported baked beans to the Middle East—with his business partner Les Edgar.[5][6] Commodore International mistook it for Torus, a more established company that produced networking software, and offered to provide Molyneux with ten[5] free Amiga systems to help in porting "his" networking software.[2][7] Molyneux later said "it suddenly dawned on me that this guy didn't know who we were. I suddenly had this crisis of conscience. I thought, 'If this guy finds out, there go my free computers down the drain.' So I just shook his hand and ran out of that office."[2] Taurus designed a database system for the Amiga called Acquisition – The Ultimate Database for The Amiga[5] and, after clearing up the misunderstanding with Commodore, released the program to moderate success.

    330
    46
    asklemmy
    Asklemmy dbilitated 1 year ago 96%
    How many of you are using ChatGpt to help you with your work, and not telling your boss/co-workers?

    Just out of curiosity. I have no moral stance on it, if a tool works for you I'm definitely not judging anyone for using it. Do whatever you can to get your work done!

    359
    190
    dotnet
    .NET dbilitated 1 year ago 100%
    Solution for weirdly long asp.net API startup

    I didn't find this anywhere convenient when I was troubleshooting so I thought I'd post this here. We have some large projects with a lot of dependency injection, and it was taking up to a minute to start a local dev API. After a lot of troubleshooting we found it was the dependency injection validation, which is optional and disabled in production - you can turn it off using: ``` webBuilder.UseDefaultServiceProvider(o => { o.ValidateScopes = true; o.ValidateOnBuild = false; }); ``` in the `ConfigureWebHostDefaults()` section, before the `webBuilder.UseStartup()` call. (I'm pretty sure this is the default template but it's been a while since I set it up..) Saves around 50 seconds when waiting for a local API to start - obviously you don't get nice messages if you've created an issue with your dependencies so be aware of that. I'd probably also explicitly disable `ValidateScopes` when it's not a dev environment but that has a lower performance impact.

    14
    3
    environment
    Aussie Enviro dbilitated 1 year ago 84%
    Possible source of the crazy amount of ocean temp change and subsequent heatwaves this year - less pollution from ocean liners seeding clouds https://www.science.org/content/article/changing-clouds-unforeseen-test-geoengineering-fueling-record-ocean-warmth

    The reduction of ship tracks due to regulations has caused the planet to warm up faster, especially in the Atlantic Ocean. This unintended consequence has provided an opportunity for scientists to study a geoengineering scheme in action.

    9
    4
    motogp
    MotoGP dbilitated 1 year ago 85%
    Massive appreciation post for the moto2 winner!! Amazing effort

    ::: spoiler spoiler Congrats to Fermin Aldeguer... holy shit that was an insane push to the finish. I held my breath for the whole last lap. Given he's never been on a podium before, hopefully it's a sign of a star on the rise. I think silverstone highlights different riders because of flowing corners, so we'll see, but I'm looking forward to seeing him in Philip Island! :::

    5
    2
    science
    science dbilitated 1 year ago 97%
    Superconductor Breakthrough Replicated, Twice, in Preliminary Testing www.tomshardware.com

    xpost from https://lemmy.world/post/2494271 Researchers have discovered a new compound called LK-99 that could enable the fabrication of room-temperature, ambient-pressure superconductors. Two separate sources have provided very preliminary confirmations of this breakthrough, including a simulation indicating it could be possible and a short video from Chinese researchers that seems to indicate some properties of superconductivity.

    126
    29
    fediverse
    Fediverse dbilitated 1 year ago 98%
    Quick question - is there a way to format a link to a lemmy post so it opens through your home instance if you click it?

    I notice often people might cross post something and say (for instance) cross posted from https://lemmy.ca/post/1916492 (random example which is the link that I just followed) Is there any way to format a link like that so your home instance will just open it up so you're still logged in and can interact with it? The link I followed goes to the Canadian lemmy server but it's actually looking at a post from beehaw.org, so it's extra useless 😒 Eg, if we could use the !technology@beehaw.org part with an ID? something like 6769052!technology@beehaw.org and our home instance could parse it to a link, with some tools to make it easy to add? EDIT: This isn't a feature, but there is a github issue feature request at https://github.com/LemmyNet/lemmy/issues/2987 for exactly this EDIT 2: appears to be a userscript solution, but i haven't tried it. lives here though: https://git.kaki87.net/KaKi87/userscripts/src/branch/master/fediverseRedirector/README.md

    66
    37
    technology
    Technology dbilitated 1 year ago 99%
    Game trying to break an AI's security with a few levels of difficulty gandalf.lakera.ai

    It's pretty well made even if it's designed to promote a security company

    142
    48
    fediverse
    Fediverse dbilitated 1 year ago 96%
    Does it seem like we’re mixing two concepts, having servers for users and content?

    It feels like they’re two different roles. It might be better to have user-orientated servers that prioritise federation of content and only have a couple of meta-style communities, and other servers which prioritise being the go-to place for discussion on a particular topic and less a place that manages a large number of user accounts. It just seems like two really distinct roles all servers are trying to do at the same time, and it’s leading to larger sites with a lot of users duplicating all the same subs, rather than there being any particular spot for certain types of discussion. It also means the server hosting a particular type of discussion might defed certain instances to prevent trolling when it’s a sensitive topic, but it wouldn’t affect a large userbase who have that as their home server, it would only be moderating the discussion for the content areas they specialise in. Thoughts?

    85
    49