• 0 Posts
  • 125 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • arc@lemm.eetoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    1 month ago

    Javascript is a dogshit language that everyone is stuck with. The best that we can hope for is the likes of typescript take the edge off of it. Even though it’s like smearing marzipan over a turd. At least it’s ok if you don’t take a deep bite.



  • arc@lemm.eetoScience Memes@mander.xyzBlack Mirror AI
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    1 month ago

    I’ve suggested things like this before. Scrapers grab data to train their models. So feed them poison.

    Things like counter factual information, distorted images / audio, mislabeled images, outright falsehoods, false quotations, booby traps (that you can test for after the fact), fake names, fake data, non sequiturs, slanderous statements about people and brands etc… And choose esoteric subjects to amplify the damage caused to the AI.

    You could even have one AI generate the garbage that another ingests and shit out some new links every night until there is an entire corpus of trash for any scraper willing to take it all in. You can then try querying AIs about some of the booby traps and see if it elicits a response - then you could even sue the company stealing content or publicly shame them.


  • arc@lemm.eetoLemmy Shitpost@lemmy.worldCommon British L
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 months ago

    Stole it? I think adopted is more apt. And curry isn’t one thing and varies from region to region in India. But Britain loved it so much that there is an Indian (or Pakistani) restaurant practically everywhere. And while Indian / Pakistani chefs have invented new dishes (e.g. chicken chasni is the best goddamned curry ever), I wouldn’t call it cultural appropriation.


  • arc@lemm.eetoLemmy Shitpost@lemmy.worldCommon British L
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    2 months ago

    British people love curries and other spicy things. For most people curries, biriyanis are going to be in the rotation. Even “traditional” British food will usually have things like black pepper, nutmeg, mace, ginger, cumin, cloves, mustard, bay leaves, juniper berries in it. More recently cumin, paprika, tumeric, coriander, curry powder might be thrown into dishes.




  • arc@lemm.eetoComic Strips@lemmy.worldISO 8601
    link
    fedilink
    arrow-up
    30
    ·
    2 months ago

    The sane way of dealing with it is to use UTC everywhere internally and push local time and local formatting up to the user facing bits. And if you move time around as a string (e.g. JSON) then use ISO 8601 since most languages have time / cron APIs that can process it. Often doesn’t happen that way though…


  • arc@lemm.eetoTechnology@lemmy.worldI use Zip Bombs to Protect my Server
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    2 months ago

    Probably only works for dumb bots and I’m guessing the big ones are resilient to this sort of thing.

    Judging from recent stories the big threat is bots scraping for AIs and I wonder if there is a way to poison content so any AI ingesting it becomes dumber. e.g. text which is nonsensical or filled with counter information, trap phrases that reveal any AIs that ingested it, garbage pictures that purport to show something they don’t etc.



  • arc@lemm.eetoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    Depends what you mean by bloat. It has a very large repo, but it compiles into little commands with least privilege execution. A lot of those commands are specifically there so someone doesn’t have to pull in other repos with a larger attack surface. e.g. there is a time sync daemon to replace having to pull in ntp which is a lot more complex and fraught and the one thing most desktops need of NTP which is to set the clock.


  • arc@lemm.eetoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Why do you still exist? I try understanding what the purpose of your reply could be? Screenrecords do not work. For plenty of people. Google it. Yet you feel entitled to share you smalldick energy wisdom of “proper way”. That is exactly the vibe of the shit ppl. You do not help Wayland or x11 or anything, you just fap into your own mouth because nobody can ever love you like that. Go get help.

    Wow, someone needs to grow up. You laid into Wayland when screen recording doesn’t even go through Wayland. The app asks the WM to screen record via DBus. A more constructive response would have been “thanks I didn’t know that”, or perhaps “oh it’s a driver issue”, or “it’s an issue with that WM/ffmpeg/pipewire or whatever”, or anything else likely to be the underlying cause. But it’s not Wayland. Have you got that? Not Wayland. There is no need to be sore and immature about it.



  • arc@lemm.eetoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Screen records do work providing the app asks for a screen cast in the proper way (which BTW is not via Wayland but through a message to a DBus service). The service and the desktop then ask permission from the user if necessary. X11 didn’t give a damn about protecting the contents of your screen and any app whether it was beneficial or malicious could do it with impunity. So you should see this as a major security improvement - you can screen record but only if permission is granted.


  • arc@lemm.eetoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    6
    ·
    3 months ago

    Yes it’s been stable for some time with a couple of caveats - you need a decent graphics driver and not be using apps with edge cases.

    Here is a simple example of an edge case and it’s not hard to find people blaming Wayland even though with some thought this was a security issue - apps like Zoom, Discord, MS Teams want to do screen sharing which is easy in X11 because it has non existent security - just steal the screen bitmap. That’s a problem.

    Wayland (the protocol) provides no means for one app to grab the screen, or other apps. This is by design for security. Instead the app must be a good citizen and send a “i want to screen cast” message to the xdg-desktop-portal (a service provider implemented by GNOME, KDE etc.), the desktop asks for user consent and then the app gets a video stream. So it’s a lot more secure but it requires the app and the WM do things properly.

    Desktops and apps have matured and these issues are thankfully going away. I think the biggest hurdle left is proper graphics drivers, especially the problem of getting NVidia drivers working.




  • AI is certainly a very handy tool and has helped me out a lot but anybody who thinks “vibe programming” (i.e. programming from ignorance) is a good idea or will save money is woefully misinformed. Hire good programmers, let them use AI if they like, but trust the programmer’s judgement over some AI.

    That’s because you NEED that experience to notice the AI is outputting garbage. Otherwise it looks superficially okay but the code is terrible, or fragile, or not even doing what you asked it properly. e.g. if I asked Gemini to generate a web server with Jetty it might output something correct or an unholy mess of Jetty 8, 9, 10, 11, 12 with annotations and/or programmatic styles, or the correct / incorrect pom dependencies.


  • When you “buy” software, you’re buying a license that grants you permission to use it subject to the terms & conditions. The stealing as the law would see it is from using software without purchasing a license or using it in violation of the license.

    It even extends to digital content people “buy” on Steam, or Google Play, or Amazon including books, music, and videos. You didn’t buy that content, even if you think you did. You bought a license to it which is why occasionally Amazon or whoever will just scrub the content from your account without your consent. That’s also why in some countries you pay VAT on e-books even though you don’t pay VAT on real books - because you actually bought a software license which is liable to VAT.

    So the best advice is don’t buy digital media from online services. For games and software it is unavoidable but recognize you don’t legally own squat although most console games on disc or cartridge can still be sold second hand. But even that is being eroded. Nintendo apparently are planning to sell “physical” games in stores but you open it up and there is a redemption code inside. Sony and Microsoft have both tried to get away from physical media too.