mao

joined 8 months ago
[–] [email protected] 3 points 1 month ago

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

[–] [email protected] 8 points 1 month ago* (last edited 1 month ago) (2 children)

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

 
 
 

Neato

 

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!

[–] [email protected] 0 points 2 months ago

I feel like Python is coming to its senses in the recent years, with releases focusing on typing constructs and the match statement. I think they're on the path to be a great statically typed language, don't you think?

 

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

[–] [email protected] 6 points 2 months ago

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

 

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

[–] [email protected] 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

 

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?:)

 

Thanks for putting it up btw I love it

[–] [email protected] 18 points 5 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

[–] [email protected] 6 points 5 months ago

Good words tf with the downvotes?

[–] [email protected] 3 points 5 months ago
[–] [email protected] 3 points 6 months ago (1 children)

Why is this downvoted? This is likely the slickest post I've seen on the platform. Didn't cause any physical reaction but it's sweet non the less.

[–] [email protected] 1 points 6 months ago

What's the reference

[–] [email protected] 1 points 6 months ago (1 children)

Can someone take a picture of what the last year's emoji look like? XD

view more: next ›