mark

joined 2 years ago
[–] mark@programming.dev 9 points 2 years ago* (last edited 2 years ago) (2 children)

If you use RSS feeds, you can use Open RSS. For instance you can subscribe to the comments on this post using this feed:

https://openrss.org/lemmy.world/post/4010300

[–] mark@programming.dev 5 points 2 years ago* (last edited 2 years ago)

Yeah I think this was hastily done to prevent the XSS injection attacks that were happening IIRC. They implemented encoding for content, but looks like they never got around to fully decoding it.

Issue could've been avoided by just restricting the encoding to when the user types content in (and before database insertion), and decoding when showing the content in the UI.

[–] mark@programming.dev 3 points 2 years ago

Definitely. You'd love Allsides.com btw. Gives great info on how a topic is covered across the spectrum and summarizes them really well. There's an RSS feed for it too.

[–] mark@programming.dev 2 points 2 years ago (2 children)

Yeah they'd have to maintain upgrades security patches etc and could get pricey depending on how much storage and bandwidth is involved.

[–] mark@programming.dev 6 points 2 years ago

Renovate is great. Plus there's just something about Github owning dependabot that always bothered me.

[–] mark@programming.dev 5 points 2 years ago

I wasn’t alerted that the post had been removed

Are we supposed to get notifications for post removals? I'd be in favor for that.

[–] mark@programming.dev 18 points 2 years ago* (last edited 2 years ago) (6 children)

What do you think of this?

Think it's a terrible idea. For some reason people dont get that many of us are on the fediverse because we want to get as far away from anything that even remotely resembles, copies, piggybacks off of, or otherwise has anything to do with corporate-owned, centralized, ad-infested, user-hostile, privacy-invasive, social media platforms.

[–] mark@programming.dev 4 points 2 years ago* (last edited 2 years ago) (1 children)

The issue with node is the single threading and having to scale with worker threads AFAIK

People always say this but its not technically correct and can be misleading.

Technically, JavaScript runs single threaded but not Node.js itself and certainly not when using it on the backend in something like Express. IO operations and other things tooling libraries do can cause you to run out of a thread pool. But Node.js, when handling requests, gives you much of the benefit of multithreading without having to deal with multithreaded code.

[–] mark@programming.dev 3 points 2 years ago* (last edited 2 years ago) (6 children)

Yeah, JavaScript/TS doesn't get a great rep being used on the backend. But I use it on quite a few of my projects, one of which gets thousands of requests per minute. I was skeptical of whether or not using Node on the backend would hold up, but the performance has been stellar.. pretty surprising, actually.

[–] mark@programming.dev 4 points 2 years ago* (last edited 2 years ago)

It's going to be interesting to see the reaction of all of these people who are gladly giving away all of their private/personal data and online behaviors for free. Just makes it easier for these companies to censor, retaliate, or use it against them when they're ready.

[–] mark@programming.dev 1 points 2 years ago

chippy cards

view more: ‹ prev next ›