• 0 Posts
  • 70 Comments
Joined 1 year ago
cake
Cake day: August 25th, 2023

help-circle
  • Like once a month we have a fake site pop up using the name of our business with 1-2 characters changed. They use a web crawler to scrape all the content off our domain and they re-host all of our products on a woocommerce site where they steal our customers credit card information.

    These all use cloudflare to conceal the hosting providers, who are entirely non-responsive without a police report or WIPO ruling. When all is said and done, the content is being hosted in China, Russia, or South Africa, meaning the only way to remove the content is from the registrar’s, because they are the only link in the chain that actually has to comply





  • The add function in the example above probably traverses the call stack to see what line of the script is currently being executed by the interpreter, then reads in that line in the original script, parses the comment, and subs in the values in the function call.

    This functionality exists so when you get a traceback you can see what line of code triggered it in the error message





  • lol. Did this in my old building - the dryer was on an improperly rated circuit and the breaker would trip half the time, eating my money and leaving wet clothes.

    It was one of the old, “insert coin, push metal chute in” types. Turns out you could bend a coat hanger and fish it through a hole in the back to engage the lever that the push-mechanism was supposed to engage. Showed everyone in the building.

    The landlord came by the building a month later and asked why there was no money in the machines, I told him “we all started going to the laundromat down the street because it was cheaper”


  • It’s unavoidable - once the cheese gets hot enough the steam will either force the liquid cheese out of existing holes, or it will make its own holes.

    Make sure they are fresh out of the freezer when you put them in, as this lets the outside crisp up more before the inside becomes lava. Once you get close to the prescribed cooking time, you need to just sit in front of the oven door and watch them, and as soon as 2-3 break open, take the whole tray out






  • There are like 10,000 different solutions, but I would just recommend using what’s built in to python

    If you have multiple versions installed you should be able to call python3.12 to use 3.12, etc

    Best practice is to use a different virtual environment for every project, which is basically a copy of an existing installed python version with its own packages folder. Calling pip with the system python installs it for the entire OS. Calling it with sudo puts the packages in a separate package directory reserved for the operating system and can create conflicts and break stuff (as far as I remember, this could have changed in recent versions)

    Make a virtual environment with python3.13 -m venv venv the 2nd one is the directory name. Instead of calling the system python, call the executable at venv/bin/python3

    If you do source venv/bin/activate it will temporarily replace all your bash commands to point to the executables in your venv instead of the system python install (for pip, etc). deactivate to revert. IDEs should detect the virtual environment in your project folder and automatically activate it


  • The feature is explicit sync, which is a brand new graphics stack API that would fix some issues with nvidia rendering under Wayland.

    It’s not a big deal, canonical basically said ‘this isn’t a bug fix or security patch, it’s not getting backported into our LTS release’ - so if you want it you have to install GNOME/mutter from source, switch operating systems, or just wait a few months for the next Ubuntu release




  • A couple of them fall into the “technically true, but misleading territory” - I’m sure the person handing this out couldn’t identify which though - broken clock right twice a day and all

    “Can you reverse effects” - no you can’t make your immune system forget how to work. Probably not what they are going for here though.

    “Risk of […] or other side effects?” - yeah the vaccines generally give people a headache and short lived fever symptoms

    “Have there been deaths?” - The astrazeneca vaccine had like a 0.000001% mortality risk (more likely to die driving to the pharmacy), and was pulled in many countries because that was deemed too dangerous. Person handing out the flyer has likely been parroting “mRNA vaccines cause blood clots” nonsense for years while being completely unaware that AZ was a traditional viral vector vaccine

    “Are there doctors recommending NOT taking it” - yeah, there are many notable anti-vaccine doctors, what they typically have in common is they earned their doctorate in computer science, social studies, or some other field that gives them no qualifications to talk about immunology