this post was submitted on 02 Sep 2024
218 points (97.8% liked)

Programming

20064 readers
49 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

There are a couple I have in mind. Like many techies, I am a huge fan of RSS for content distribution and XMPP for federated communication.

The really niche one I like is S-expressions as a data format and configuration in place of json, yaml, toml, etc.

I am a big fan of Plaintext formats, although I wish markdown had a few more features like tables.

(page 5) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 8 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 10 points 8 months ago (2 children)
[–] [email protected] 0 points 8 months ago (5 children)

For RSS I honestly don't see a point, at least for me. What's the use for having update feeds in a unified format when I still have to go to each fucking site to view the full text? I completely see the point of RSS when all I need is in the feed. But I hate going from different UI to different UI to get the full content. I want something like inoreader.com for self-hosting.

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

RSS works great for me though.

I have an app on my not-so-smart phone to read news when commuting. It is not a long journey so I just want to have a quick glance at the headlines and read the actual articles that I want to. There are only 6 sites that I am interested, but still will take quite some work to crawl from the proper websites. RSS in turn is unified so I don't need to worry about their website layouts, formats, etc. It also gives me an URL to the actual content which I can use readability/reader mode library to parse and further reduce unnecessary contents.

Quite the opposite, I hope more informational sites offer/keep RSS! (Some removed RSS typically after a revamp, design change)

[–] [email protected] 3 points 8 months ago

Mastodon offers rss for both keywords and users

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

The content of the feed depends on the content creator, not on RSS.

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

I know that. But RSS is like 95% used for news feeds and that's what I'm talking about. The way RSS is overwhelmingly used is making the whole thing useless (to me).

load more comments (1 replies)
load more comments (3 replies)
[–] [email protected] -2 points 8 months ago (3 children)

XMPP is not a good protocol though. There's a reason nobody uses it anymore.

I think it's going to be interesting when the EU tries to enforce interoperability between the major messaging platforms. What are they going to do? They have some ridiculous targets like interoperable end-to-end encrypted group video calls in 5 years!

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

There’s a reason nobody uses it anymore.

Yeah, Google and Faceebook EEE'd it.

XMPP is not a good protocol though.

Do elaborate.

[–] [email protected] 4 points 8 months ago (2 children)

XMPP is very old and was created when nobody knew about mobile phones. It worked more like true messaging app less than messages store ( unlike matrix ).

Requirement of permanent tcp ip connection doesn't work well for mobile + pretty much useful feature in xmpp ( like message history ) is optional. If something doesn't work in xmpp most people would blame xmpp / jabber rather than the lack of feature support in their server

[–] [email protected] 7 points 8 months ago (7 children)

XMPP is very old

Seriously? That's your argument? So is the wheel.

Requirement of permanent tcp ip connection doesn’t work well for mobile

I was under the impression PubSub was created for that.

Still, it's an open extensible protocol.

load more comments (7 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 15 points 8 months ago (8 children)

Problem Details for HTTP APIs - I have to work and integrate with a lot of different APIs and different kinda implementations of error handling. Everyone seems to be inventing their own flavor of returning errors.

My life would be so much easier if everyone just used some 'global unified' way to returning errors, all in the same way

[–] [email protected] 3 points 8 months ago

That would be nice. I have implemented this in the past but never once encountered an API that used it.

load more comments (7 replies)
[–] [email protected] 28 points 8 months ago (4 children)

Since nobody's brought it up: MQTT.

It got pigeonholed into IoT world, but it's a pretty decent event pubsub system. It has lots lf security/encryption options, plus a websocket layer, so you can use it anywhere from devices, to mobile, to web.

As of late last year, RabbitMQ started suporting it as a supported server add-on, so it's easy to use it to create scalable, event-based systems, including for multiuser games.

[–] [email protected] 4 points 8 months ago

I spun up a MQTT/Aedes/MongoDB stack on my network recently for some ESP32 sensors.

Fantastic protocol and super easy to work with!

load more comments (3 replies)
[–] [email protected] 84 points 8 months ago* (last edited 8 months ago) (10 children)

The metric system, f*ck the imperial system. Every scientist sticks to the metric system, and why are people even still having an imperial system, with outdated measurements like stones for weight blows my mind.

Also f*ck Fahrenheit, we have Celsius and Kalvin for that, we don't need another hard to convert temperature measurement.

load more comments (9 replies)
[–] [email protected] 10 points 8 months ago

Not sure if it counts, but the terminal world being a place where many applications do so many different things but are interoperable, is amazing. I guess that would be the POSIX standard?

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

I wish there was a good open standard for task management or todo list.

I know there's todo.txt, but it lacks features like dependent tasks, and overall the plain text format limits features and implementations.

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

I think CalDAV (which uses the iCalendar format) may be the closest thing. It covers calendar items, obviously, but also task and journal items.

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

Do you know if it allows dependent tasks?

[–] [email protected] 8 points 8 months ago* (last edited 7 months ago) (1 children)

Yes, but not all clients expose dependent tasks (which is sadly a common issue with open standards: they aren't always properly implemented). I'm using Tasks.org on my phone (which supports dependent tasks), synchronizing to a Nextcloud server with the Tasks app (which supports dependent tasks now, ~~but didn't for a long time~~), which also syncs to Thunderbird (which does not appear to show dependent tasks as dependents).

Edit: remembered that the Nextcloud Tasks app has long supported dependent tasks. I was thinking of recurring tasks, which it does not support. Again, open standards aren't always fully implemented.

[–] [email protected] 3 points 8 months ago

Well that's still good news that I didn't expect! I suppose I will look into that then. Thank you!

[–] [email protected] 2 points 8 months ago
load more comments
view more: ‹ prev next ›