Skip Navigation

Posts
2
Comments
55
Joined
2 yr. ago

  • Tim Berners-Lee would be interesting I think, given the direction he's gone into personal ownership/control of data.

  • Assume nothing! Test every little assumption and you'll find the problem. Some things to get you started:

    • Does the "app" domain resolve to the app container's IP from within the nginx container?
    • Can you proxy_pass to the host:port directly rather than using an upstream definition? If not, what about IP:port?
    • Can you connect to the app container from outside (if exposed)? What about from inside the nginx container? What about inside the app container?
    • Is the http(s) connection to the server (demo.example.com) actually going to your nginx instance? Shut it down and see if it changes.
    • If it works locally on 80, can you get it to work on the VPS on 80?
    • Are you using the exact same docker-compose.yaml file for this as locally? If not, what's different?
    • Are you building the image? If so, are you incrementing the version number of the build so it gets updated?
    • Is there a firewall running on the host OS? If so, is it somehow interfering? Disable it and see.

    While not a direct solution to your problem, I no longer manually configure my reverse proxies at all now and use auto-configuring ones instead. The nginx-proxy image is great, along with it's ACME companion image for automatic SSL cert generation with certbot - you'll be up and running in under 30 mins. I used that for a long time and it was great.

    I've since moved to using Traefik as it's more flexible and offers more features, but it's a bit more involved to configure (simple, but the additional flexibility means everything requires more config).

    That way you just bring up your container and the reverse proxy pulls meta-data from it (e.g. host to map/certbot email) and off it goes.

  • That makes sense, thank you. Yes, it's specifically "test quality" I'm looking to measure, as 100% coverage is effectively meaningless if the tests are poor.

  • I use coverage tools like nyc/c8, but I can easily get 100% coverage on buggy, exploitable, and unstable code. You can have two projects, both with 100% coverage, and one be a shit show and the other be rock solid - so I was wondering if there's a way to measure quality of tests, or to identify code that really needs extra attention (despite being 100%). Mutation testing has been suggested and that's really interesting, I'm going to give it a go tomorrow and see what it throws up!

  • White Box Testing

    Jump
  • Is there a way to block a whole domain on Lemmy? I've blocked the user, but it's interesting that the whole domain is the same crappy generated stuff. It's so bad it's bordering on being a hilarious parody of LLM's, but doesn't quite make it and so should be scrubbed from the Internet.

  • This is really interesting, I've never heard of such an approach before; clearly I need to spend more time reading up on testing methodologies. Thank you!

  • White Box Testing

    Jump
  • Yep.. I can get you 100% code coverage of a bug-laden, exploit-ridden piece of software effortless. It's a useless measure.

  • White Box Testing

    Jump
  • This is surely AI generated, but even so it's still awful and a decade or more behind the curve of what I'd expect from AI blog spam!

  • I use it for basic 2D animation - overlays for videos (captions, title sequences, etc.) and animated diagrams - it works really well when you get used to it (mastering the curves editor is essential!). If you're going to composite what you do onto video outside of Blender (I use Resolve) you need to export as an image sequence in a format that supports transparency (e.g. png).

    For more complex 2D work, Marco Bucci has an interesting three-part series here (the third part goes over animation specifically).

  • Smite, Paladins, Realm Royale, Minecraft Bedrock, and Rocket League.

  • Citizen Sleeper is another great game that's well worth your time!

  • It'll be interesting to see if this runs long enough to overlap with the Starfield launch - I could see them getting an insane spike in subscribers then anyway, but this would likely seal the deal for many more.

  • Same - for Windows it's by far and away the best PDF reader for me. It's shocking how far down the bloat rabbit hole Adobe Reader has gone!

  • And we nearly closed more than half of them in our area. They'd been told that they can raise the funds to keep going themselves, but that the government would no longer cover costs. They had the notices up that they were closing.

    But then COVID happened. When they opened back up after lockdown, the notices were all gone, and they were stocked with an astonishing amount of new books - I think the entire kids sections had been bought new.

    So I don't know the ins and outs of what went on there, but it was one of the better decisions this government has made. A library is so important to so many people - it's not just the books, it's the computers, magazines, heating, social groups, and so on.

  • It does feel like there's been a shift, especially in organisations that use the work of others for their own benefit (e.g. open source, community produced content, etc). It seems like there's been a real move to have their cake and eat it.

    Oracle has just made an aggressive move with regards to Java licensing too, they're now charging as much as $15/month/employee to use their Java runtime on the desktop/server. Their FAQ even points you to OpenJDK if you don't want to pay, which is strange - it makes me think the relationship between Oracle and the OpenJDK will be ending sometime in the not-so-distant future. There are several Java projects I've done where that would just become non-viable as it was a project for a single department in a large company.

    Software developers are one of the most altruistic groups of people - it's amazing just how much time and effort they put into things that they get no financial return on, only the love of actually doing it. And people that dedicate their time and effort to online communities, education, and so on are equally amazing.

    But I think it's time to stop being so naive and realise that many large corporate entities are abusing this relationship for their own gain.