glad_cat

joined 1 year ago
MODERATOR OF
[–] glad_cat@lemmy.sdf.org 0 points 1 year ago (1 children)

Where can I buy all those things outside of the US?

[–] glad_cat@lemmy.sdf.org 4 points 1 year ago (1 children)

You can't buy it where I live. I usually respect copyright, except when I'm prevented to buy something which is the case right now.

[–] glad_cat@lemmy.sdf.org 0 points 1 year ago

Hulu is American, I'm not.

[–] glad_cat@lemmy.sdf.org 3 points 1 year ago

I haven't used Windows at home for the past 20 years, and I mostly develop for Linux at work. You're drunk in a bad way.

[–] glad_cat@lemmy.sdf.org 3 points 1 year ago (2 children)

loonix

This word was obsolete more than 10 years ago, please get an update from "Micro$oft."

[–] glad_cat@lemmy.sdf.org 1 points 1 year ago (1 children)

Anything but Windows.

[–] glad_cat@lemmy.sdf.org 1 points 1 year ago

You must be jobless to believe that.

[–] glad_cat@lemmy.sdf.org 2 points 1 year ago

Then enjoy your Windows that is forcing you to have a MS account and uploads your passwords to their servers. What was the point of your question?

[–] glad_cat@lemmy.sdf.org 1 points 1 year ago

Same. With UPnP, muTP, and stuff, the downloads with a VPN are not slowed down in any way. Also my ports seem to be "blocked" right now but I still download.

[–] glad_cat@lemmy.sdf.org 4 points 1 year ago

To get more content. What kind of question is this?

 

It's a 3 months long malicious compliance but it was the first time I didn't cave in front of a bullying team of managers:

My last job became very toxic with managers insulting employees and telling me to do stuff that was neither ethical nor legal. It was not a matter of life and death, but I could have been sued for trying to destroy the company if I had followed their orders. For a lot of reasons, I decided to give my resignation letter and, since I'm in France, I had to work 3 additional months for them while they were finding someone to replace me.

I also asked for some WFH since I could do everything remotely but they forbid it to get some revenge. They told me that WFH was not a part of my contract, and that's when I read my contract again with some interesting details...

  • My job was well specified in the contract.
  • I was salaried (and not "hourly") which means that I didn't have specific hours to work.

Since I changed my position in the company without changing the contract (and without a raise), I was free to do almost nothing or at least refuse what they asked. They couldn't fire me because they were waiting for a savior that never came. And without specific hours, I worked from 10 AM to 11 AM in the morning, and from 3 PM to 4 PM in the afternoon after a well deserved lunch break. I sat on a chair doing nothing for 2 hours every day. I was still fixing non-responsive servers because the other employees were not guilty, but nothing more. No one was happy but they shut up because they were freaking out while trying to find a replacement who came during the last week I was there.

My manager told me to train the new guy but, once again, it was not in my contract, and this guy knew nothing about what the job was (even if I had dutifully documented absolutely everything). For example, he was a junior who only dabbled with Windows servers, and we only used Linux servers. They were fucked and they knew it.

On the last day, I went home without saying goodbye. Some employees wondered where I left since I helped them a lot. I saw my old manager a month later, and I thanked him my for the massive raise that I got at my new job. It felt good to tell him that I now earned more than him.

Thanks for reading my rant!

 

I found this on Hacker News, and it seems to be an old project that no one was talking about which is a shame because it could interesting.

Pikchr was written in plain C by the developers of SQLite. It generates SVG from a simple language. It is lower-level than PlantUML and Mermaid, but it seems to have no dependency.

The user manual has more examples about this tool.

I'll definitely try to use in future projects where some visual documentation is needed.

 

I found this link on Hacker News, and it seems to be a transpiler to generate SQL from a new language.

It's been a long time since I have written SQL, but I'm sure this could be interesting since SQL can be infuriating for most developers I've worked with.

1
submitted 1 year ago* (last edited 1 year ago) by glad_cat@lemmy.sdf.org to c/cpp@programming.dev
 

Sorry for writing this shitty guide but it's an issue that doesn't seem to be answered on the internet, and I really needed a recent version of clang++ on macOS for a new job. Feel free to make fun of me if there is an easier way to do it.

  1. Install Nix (usually used for reproducible builds but you can use it too for virtual environments): https://nixos.org/download.html#nix-install-macos

  2. Create a file called shell.nix at the root of your project, and put the following code inside:

{ pkgs ? import <nixpkgs> {} }:
  pkgs.mkShell {
    nativeBuildInputs = with pkgs.buildPackages; [ llvmPackages_16.clangUseLLVM ];
}
  1. Run nix-shell

  2. Check that you have the good version with the command clang++ -v

It's not a perfect solution, but it's mostly automated, you'll be able learn various topics of C++20 with this, and the stupid "clang 11" from Apple is not hijacking the latest version anymore.

view more: next ›