17
Keyboard Macros are Misunderstood (www.masteringemacs.org)
submitted 1 week ago by mao@lemmy.sdf.org to c/emacs@lemmy.ml
357
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

341
383
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

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 3 points 5 months ago
12
submitted 5 months ago by mao@lemmy.sdf.org to c/emacs@lemmy.ml

https://protesilaos.com/emacs/ef-themes-pictures

Theme in picture is ef-summer. I love these so much. They're a breath of fresh air among the other techy-cyber-hacker themes, yknow?

[-] 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 6 points 7 months ago

Hey:) So regarding the "unnatural humanity", that's mistranslated. Freely translating what she wrote would be "irregular humanity", but idiomatically it would be translated to "extraordinary humanity" or something.

Other than that, the translation is accurate enough. The translator took the liberty to make it way more poetic, but the overall tone is the same.

The only suspicious thing I encountered is the use of the word "generals":

  1. She wrote ג׳נרל (Jeneral, like how you pronounce it in English) while in Hebrew you'd say it with a hard G. That's close enough to how you say it in Arabic (Jiniral)
  2. Nobody uses that word in a non-derogatory way. They'd usually say קצין (officer)

I wouldn't get too hung up on this letter though. It was a weird and uncanny read. I think there is other, more solid evidence that can enjoy that focus instead

[-] 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?

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

I was referring to other commenters, mb should've been clearer about it

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

Idk I think y'all are a bit too dramatic lol. Imho you're reading too much into a small aggression. This has nothing to do with the future of Lemmy or anything as grandiose as that

view more: next ›

mao

joined 8 months ago