[–] 8 points 1 month ago

At least it's not like a bunch of other popular libraries:

Then I get help from the community for a couple of years and a bunch of contributes to my bridge. Then my bridge is so nice that I can add a toll booth on both sides of the bridge and start charging people money to get across

  • source
  • parent
  • context
  • [–] 4 points 4 months ago

    It's also pretty ridiculous how poorly it actually works. Recently I wanted to cash out some crypto, and the platform I was using was telling about their "peer-to-peer (P2P) rules to comply with anti-money laundering (AML) and Travel Rule standards".

    I could only transfer funds to the exchange if I verified I own the account on another platform.

    So all you have to do to verify it, is make a screenshot of having an account on a different (non-KYC) platform. When you verified you also own that other random wallet, everything is fine...

    Soo, sending crypto "peer-to-peer" directly to the exchange is a big problem - but if you add an extra wallet in between as an extra hop, that you've verified to own but is off-platform - it doesn't matter anymore how that crypto got there

  • source
  • parent
  • context
  • [–] 2 points 5 months ago

    I guess it's cool - you can port some stuff from Postgres like pgVector and make Mysql a vector database.

    On the other hand, I'm also think 'why?'. At some point just use Postgres instead of overcomplicating Mysql with extensions

  • source
  • [–] 4 points 5 months ago

    Yea, well that was my first though, but then I though - why would chrome even allow any website to just arbitrary check which extensions you have installed.

    So I checked the scripts and at this line the script is showing

    async function fetchExtensionInfo(extensionId) {
      return new Promise((resolve) => {
        const url = `https://chromewebstore.google.com/detail/$%7BextensionId%7D`;
    

    So I thought maybe they were calling the chromewebstore foreach plugin, and if you have an extension already installed, you get a different response than when you don't - or something.

    But I suppose I'm wrong and for some reason a site can just ask the browser internally which plugins are installed

  • source
  • parent
  • context
  • [–] 1 point 5 months ago (2 children)

    Uhm, doesn't really sound like this could be true. Maybe I'm missing something?

    You'd see 2953 get requests in your network tab, right?

    And the article says:

    LinkedIn silently probes for 2,953 Chrome extensions on every page load.

    Surely it would be drastically noticeable if for every page load they do 3k get requests to the chrome store

  • source
  • [–] 3 points 5 months ago (1 child)

    I don't think this has been mentioned, but it kind of depends on where your multiple laptops / desktops are. Is this always on your own home network? Because in that case you don't even need a remote service like Github

    If so, you can create a network drive on any of the devices - mount the network device on your other devices, and then create a local git repo there. Just remember that using an external git service is also a backup. So if you do everything locally, make sure to have your own backups in place

    A much, much worse but also possible solution is to just put your projects into onedrive/dropbox/gdrive and sync it everywhere. It works for syncing, since you're saying that's the main objective - but you lose out on version control

  • source
  • [–] 5 points 6 months ago

    However, what is stopping a malicious actor from bypassing the API gateway and communicating directly to the micro services ? Do we solve this problem using a firewall, so only trusted traffic reaches the micro services ?

    Kind of - sort of

    With this kind of setup, usually you'd put all your micro services inside a VPC. The micro services wouldn't even be directly accessible from the internet. So it wouldn't really be a "firewall" - but a nat gateway.

    Though conceptually a little bit the same. The API gateway is kind of acting as a firewall

  • source
  •  

    I started this challenge and it's pretty fun.

    • First round: Program a runner to jump over hurdles
    • Second round: Program runners to jump over hurdles. Problem here is that 4 games are running at the same time, and you can only give 1 input every game-loop that'll go to all 4 games
    • Third round: 4 different games are being played at the same time, and you have to give an input that'll be for all 4 of them every game-loop

    They have this graphical interface that'll actually show what your character is doing, which makes it more interesting than just a "code-only" leetcode or adventofcode challenge

     

    Youtube Description:

    With an incredible trailer that came out of nowhere, marrying RTS elements with third-person modern vs medieval combat, Kingmakers has gone on to become one of the most eagerly anticipated games of 2024... and Digital Foundry has an exclusive interview with the developers. What tech is Kingmakers using? How does it work? How many enemies will you do battle with and what's the level of AI in play? Find out here as John Linneman discusses the game with developer Redemption Road.


    Not sure if this fits the usual /c/gamedev content, but I thought it was really interesting - it's an interview with 4 devs, and they go pretty deep into the tech of how they're building this game, and how they're managing to have 4000 knights running around at the same time

     

    Hey there,

    I was using https://mlmym.org/programming.dev/ to browse programming.dev because I don't really like the default Lemmy UI. However, as of today https://mlmym.org just redirects to this gist: https://gist.github.com/rystaf/4d591ffdcbaab1c49efa406885efd814.

    When checking both https://old.lemmy.world and https://lemmy.world - they both resolve to the same IPs - So it seems like the intended use for this UI is not use it though https://mlmym.org anymore, but for the instances to host it themselves under the ".old." subdomain. In a similar way reddit is doing.

    As for how it would look, have a look at https://old.lemmy.world - and probably enable dark mode in the settings.

    Was hoping programming.dev would consider supporting this UI as well, under old.programming.dev - It makes the transition from Reddit to Lemmy a lot easier

    You can find the repo of it over here: https://github.com/rystaf/mlmym

    submitted 3 years ago* (last edited 3 years ago) by to c/reddit@lemmy.world
     

    Context:

    /r/ProgrammerHumor/ closed for a couple of days, then - "because mods have to listen to the community or otherwise they get replaced by more /u/Spez compliant mods" opened up again, and held a voting which new rules to enforce. The sub opened up with the new rule allTitlesMustBeCamelCase.

    I made the first post about 15 minutes after the sub re-opened (because I'm in their discord, I was aware it opened up again, it wasn't announced yet, I think) - and of course I just make a shit-post about John Oliver since it's the /r/pics (and a bunch of other) subreddits way to protesting the API changes.

    It wasn't even that good of a post to be honest, it got temporary taken down by the subs' mods since they mentioned "it's only anecdotally related [to programmer humor]" - but after messaging them explaining the context they put it back up. So it's basically approved by the moderators of the subreddit. And not against the content policy of the sub

    It got like 3k upvotes in about an hour, so I got a message from some bot that I was on the frontpage of /all/ as well. At the end of the day it had 13.5k upvotes

    About 48 hours later I got an automated message:

    Your account has been permanently suspended for breaking the rules. This account is permanently suspended due to violations of Reddit's content policy

    I posted an "appeal" basically just asking "Lol you banned me for posting John Oliver?"

    And the only response I got was:

    Thanks for submitting an appeal to the Reddit admin team. We have reviewed your request and unfortunately, your appeal will not be granted and your suspension will remain in place. For future reference, we recommend you to familiarize yourself with Reddit's Content Policy. -Reddit Admin Team This is an automated message; responses will not be received by Reddit admins.

    I posted another "appeal" yesterday asking "Could you clarify which Content Policy rule I broke?" To which they haven't responded yet.

    It's the only post I made in the last 2 weeks, so there wasn't any other reason to suddenly ban me besides this post...

    My reddit account was 12 years old at this point. I was going to leave anyways because the Reddit client I use (sync) already announced it would be shutting down June 30 - so I don't care that much that they banned me - just though it was a pretty weird approach from the Reddit Admins to start banning people for getting John Oliver on the front-page

    view more: next ›