1
Keyboard Macros are Misunderstood (www.masteringemacs.org)
submitted 1 week ago by mao@lemmy.sdf.org to c/emacs@communick.news
17
Keyboard Macros are Misunderstood (www.masteringemacs.org)
submitted 1 week ago by mao@lemmy.sdf.org to c/emacs@lemmy.ml
356
79
[-] mao@lemmy.sdf.org 3 points 3 weeks ago

Damn that's cool, then maybe I should take a second look at Wordpress

[-] mao@lemmy.sdf.org 9 points 3 weeks ago* (last edited 3 weeks ago)

Yeah actually writing Wordpress themes was easier than I thought. But I wrote them for the old editor, not Gutenberg – I opted for ClassicPress instead which was quite a banger in the effort-to-outcome equation

343
385
42
submitted 1 month ago by mao@lemmy.sdf.org to c/python@programming.dev

Neato

21
submitted 1 month ago by mao@lemmy.sdf.org to c/meta@programming.dev

Hey sup:)

Idk if it's Cloudflare or something, but the problem is I have an RSS reader hosted on my Hetzner server in Germany, and requests originating from its IP are blocked. Well not exactly blocked, but they return HTML titled "Just a second..." rather than just RSS.

For example:

GET https://programming.dev/feeds/c/python.xml?sort=Active

<!DOCTYPE html>
<html lang="en-US">
   <head>
      <title>Just a moment...</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=Edge">
      <meta name="robots" content="noindex,nofollow">
...

Obviously I totally understand if you wouldn't want to do that – I'm sure it's there for a reason, I was just hoping that this single endpoint could be an exception =]

Thanks!

81
submitted 2 months ago by mao@lemmy.sdf.org to c/python@programming.dev

Twitter user @DanyX23:

TIL: pyright, the python type checking engine that is used by VS Code, has support for exhaustiveness checking for match statements with union types!

If you add the following to your pyproject.toml, you'll get the attached warning

[tool.pyright] reportMatchNotExhaustive = true

[-] mao@lemmy.sdf.org 6 points 2 months ago

How did you manage to convince friends and (especially) family to actually use Matrix? Quite impressive!

131

I don't entirely subscribe to the first paragraph – I've never worked at a place so dear to me that spurred me to spend time thinking about its architecture (beyond the usual rants). Other than that, spot on

[-] mao@lemmy.sdf.org 2 points 2 months ago

Yeah idk what went into her in this video. It only seems to be half a joke, which is terrible. The rest of her content is amazing so I'm quite confused

9
submitted 2 months ago* (last edited 2 months ago) by mao@lemmy.sdf.org to c/devops@programming.dev

I can't seem to find any trace of comparison between these specific libraries. I'm planning on using Python for them. I just don't wanna write YAML.

Pulumi seems more prone to the "single vendor is the new proprietary" theory, because they're an actual business and shit, so might do a bait and switch here Terraform-style. But that's the only difference I can spot besides obvious API differences.

Does anyone have an opinion?:)

19
submitted 3 months ago by mao@lemmy.sdf.org to c/sdfpubnix@lemmy.sdf.org

Thanks for putting it up btw I love it

[-] mao@lemmy.sdf.org 18 points 4 months ago

Your stance is great. I'm very glad you're taking the liberty to remove posts, moderated spaces who are strict about what kinda content is allowed are just more pleasant. Hackernews, lobste.rs and me_irl come to mind. Unsure why the poster in the picture reacted so dramatically lol

[-] mao@lemmy.sdf.org 6 points 5 months ago

Good words tf with the downvotes?

[-] mao@lemmy.sdf.org 3 points 5 months ago
[-] mao@lemmy.sdf.org 7 points 5 months ago

Incredibly common, but I don't really have an indication as to whether it's an extreme amount or not, because I've lived here my entire life and haven't been abroad too much, so I'll try describing it their presence in public:

  • Soldiers are one of the primary users of public transport, because they're teens and they barely have shuttle buses
  • Some administrative/technological roles in the military might not provide you with lodging, so it looks like a 9-5. Sometimes you'll end your day and go fuck around in the city while in uniform; I did that frequently
  • Infantry soldiers have a choice when going back home for the weekend: either wait hours for the privilege to deposit their weapon in a safe, or just take it with them home and carry it around
[-] mao@lemmy.sdf.org 25 points 6 months ago

Love it! I did feel uncomfortable with 2010s-Facebook-style excessive public sharing. Most of my friends, with me included, abuse the close friends Instagram feature and I'm all for it. I know a couple of people who deleted their old Facebook accounts because digital footprint was too frightening – particularly, the shit they posted during their teens in private Facebook groups that they have long left.

All of this is obviously not related whatsoever to data harvesting; this fight is against individual stalkers rather than corporate ones. But it's a blessed one non the less; stalking shouldn't really be a thing.

[-] mao@lemmy.sdf.org 4 points 6 months ago* (last edited 6 months ago)

Technological advancements have the unfortunately intended side effect of corporations having less people they gotta pay to, because machines are quite the competitor sometimes. While I think OP is being a bit pedantic here, efficiency in and of itself is not inherently good – the question should be who's extracting the profit. If the increased efficiency translates into less working hours... hell yeah. If it translates into record megacorp profits, then... I see no need in eliminating these unnecessary jobs for now – the worker gets their bread and that's what I care about

[-] mao@lemmy.sdf.org 8 points 7 months ago

Let's go Ubuntu 00.00

[-] mao@lemmy.sdf.org 7 points 8 months ago* (last edited 8 months ago)

Lessgooooo these are great news! Thanks for all you've done. Also am I tripping or the person reading this comment haven't donated yet?

view more: next ›

mao

joined 8 months ago