Spyke

Which communication protocol or open standard in software do you wish was more common or used more?

Whether you're really passionate about RPC, MQTT, Matrix or wayland, tell us more about the protocols or open standards you have strong opinions on!

View original on lemmy.ml
swg-empire.de

RSS. It's still around but slowly dying out. I feel like it only gets added to new websites because the programmers like it.

153

Theres quite a few sites that still use it and existing ones in the Fediverse have it built in (which is really cool). But your right, the general public have no concept of having something download and queue up on a service rather than just going to the site. And the RSS clients are all over the place with quality...

26
lemmy.world

WebSub (formerly PubSubHubbub). Should have been a proper replacement for RSS with push support instead of polling. Too bad the docs were awful and adopting it as an end user was so difficult that it never caught on.

16
morrowindreply
lemmy.ml

I still want something push based (without paying for those rss as a service)

2
markreply
programming.dev

Oh neat! I didn't know this existed. By any chance, do you know of any RSS readers that have implemented it?

4

I wouldn't say that it never caught on. I run a feed reader and ~6% of feeds have WebSub. Most of these are probably wordpress.com blogs which include it by default.

YouTube also sort of supports it, but they don't really follow the standard so I don't think it counts.

But the nice thing about WebSub is that it is sort of an invisible upgrade to the existing feed (or any other HTTP URI) so it just works when blogs enable it.

Most major feed reader services support it. One problem is that you need a stable URL to receive the notifications. So it is hard to make work with client-side readers. But I don't think there is really a way around this other than holding a connection open to every feed you follow. So I would say that it does its job well. I don't really see a need to get to 100% adoption or whatever. If you have a simple static-site blog that updates every month or so I don't think it is a big deal that it doesn't support WebSub.

1
lemuria.es

IPv6. Lack of IPv4 addresses it's a problem, specially in poorer countries. But still lots of servers and ISPs don't support it natively. And what is worse. Lots of sysadmins don't want to learn it.

98

Also a sysasmin, really don't wanna learn it...or have to type it on the daily

7
PlexSheepreply
infosec.pub

My university recently had Internet problems, where the DHCP only leased Out ipv6 addresses. For two days, we could all see which sites implemented ipv6 and which didn't.

Many big corpo sites like GitHub or discord Apperently don't. Small stuff like my personal website or https://suikagame.com do.

29

github is so stupid with that, it's actually funny

19

Lots of really large sites are horribly misconfigured. I had intermittent issues because one of the edge hosts in Netflix ‘s round robin dns did not do MTU discovery properly.

20
kbin.social

IPv6 is great, but NAT is quite functional and is prolonging the demise of IPv4.

16
Alkreply
lemmy.world

My isp decided to put me behind a CGNAT and broke my access to my network from outside my network. Wanted to charge me $5 a month to get around it. It's not easy to get around for a layman, but possible. More than anything it just pissed me off that I'd have to pay for something that 1 day ago was free.

6
Alkreply
lemmy.world

Set up a reverse proxy on another machine (like one of those free oracle cloud things). I can't go into detail because I don't know exactly how. I think cloudflare also has options for that for free. Either way it's annoying.

3

Cloudflare tunnel, and its alternatives, such as localXpose, altho the privacy is probably questionable, and a many of them require a domain.

2

the only people that like nat are network admins, and ISPs.

Everyone else hates them. The rest don't care, but they wouldn't know a NAT if it hit them in the face.

0

NAT is not for security, that's what the firewall is for. Nobody can access your IPv6 network unless you allow access through the firewall.

19
lemmyvorereply
feddit.nl

You're thinking of a firewall. NAT is just the thing that makes a connection appear to come from an IP on the internet when it's really coming from your router, and it's not needed with IPv6. But you would not see any difference with IPv6 without it.

13
Dave.reply
aussie.zone

You're thinking of a firewall. NAT is just the thing that makes a connection appear to come from...

That connection only "appears to come from" if I explicitly put a rule in my NAT table directing it to my computer behind the router doing the NAT-ing.

Otherwise all connections through NAT are started from internal->external network requests and the state table in NAT keeps track of which internal IP is talking to which external IP and directs traffic as necessary.

So OP is correct, it does apply a measure of security. Port scanning someone behind NAT isn't possible, you just end up port scanning their crappy NAT router provided by their ISP unless they have specifically opened up some ports and directed them to their internal IP address.

Compare this to IPV6 where you get a slice of the public address space to place your devices in and they are all directly addressable. In that case your crappy ISP router also is a "proper" firewall. Strangely enough it usually is a "stateful" firewall with default deny-all rules that tracks network connections and looks and performs almost exactly like the NAT version, just without address translation.

1

So OP is correct, it does apply a measure of security. Port scanning someone behind NAT isn't possible, you just end up port scanning their crappy NAT router provided by their ISP unless they have specifically opened up some ports and directed them to their internal IP address.

You end up just port scanning their crappy router on IPv6 as well because ports that are not opened are stuck at the firewall either way, no matter if you use IPv4 or IPv6.

Just because every device gets a public IP does not mean that IP is publicly accessible.

An advantage that IPv6 has against port scanning is the absurdly large network sizes. For example, my ISP gives me a /56 prefix, that is 4,722,366,482,869,645,213,696 IPv6 addresses. Good luck finding the used ones with the port open you need.

Even with just a /64 prefix you get 18,446,744,073,709,551,616 addresses, way outside the feasibility of port scanning.

2

Compare this to IPV6 where you get a slice of the public address space to place your devices in and they are all directly addressable. In that case your crappy ISP router also is a “proper” firewall. Strangely enough it usually is a “stateful” firewall with default deny-all rules that tracks network connections and looks and performs almost exactly like the NAT version, just without address translation.

realistically, it wouldnt surprise me if ISPs started NATing on residential IPV6 networks, just for the simplicity, but still allowed end users to assign their own IPs if they so pleased. Given the surge in shitty IOT devices, that's probably a good thing for most people. Though a firewall would also accomplish this as well.

1

No. Stop spreading that myth. NAT does fuck all for security. If you want a border gateway, you can just have a border gateway.

2
folkravreply
lemmy.ca

Say this to my very large Canadian ISP who still doesn’t support IPv6 for residential customers. Last I checked, adoption in Canada was still under 50%.

8

50%?? I fucking wish. In Spain we are at 5%. I finally got IPv6 in my phone this year, but I want it in my home, which is still only available as IPv4 even if they're the same ISP.

4
lemmy.ml

Markdown. Its only in tech-spaces that its preferred, but it should be used everywhere. You can even write full books and academic papers in markdown (maybe with only a few extensions like latex / mathjax).

Instead, in a lot of fields, people are passing around variants of microsoft word documents with weird formatting and no standardization around headings, quotes, and comments.

90
xigoireply
lemmy.sdf.org

Markdown is terrible as a standard because every parser works differently and when you try to standardize it (CommonMark, etc.), you find out that there are a bajillion edge cases, leading to an extremely bloated specification.

50

Agreed in principle, but in practice, I find it's rarely a problem.

While editing, we pick an export tool for all editors and stick to it.

Once the document is stable, we export it to HTML or PDF and it'll be stable forever.

24
Dessalinesreply
lemmy.ml

Most ppl have settled on Commonmark luckily, including us.

11
programming.dev

Commonmark leaves some stuff like tables unspecified. That creates the need for another layer like GFM or mistletoe. Standardization is not a strong point for markdown.

14
Dessalinesreply
lemmy.ml

I believe commonmark tries to specify a minimum baseline spec, and doesn't try to to expand beyond that. It can be frustrating bc we'd like to see tables, superscripts, spoilers, and other things standardized, but I can see why they'd want to keep things minimal.

6

Asciidoc is a good example of why everything should be standardized. While markdown has multiple implementations, any document is tied to just one implementation. Asciidoc has just one implementation. But when the standard is ready, you should be able to switch implementations seamlessly.

7
xigoireply
lemmy.sdf.org

Have you read the CommonMark specification? It’s very complex for a language that’s supposed to be lightweight.

4
frezikreply
midwest.social

What's the alternative? We either have everything specified well, or we'll have a million slightly incompatible implementations. I'll take the big specification. At least it's not HTML5.

2
xigoireply
lemmy.sdf.org

An alternative would be a language with a simpler syntax. Something like XML, but less verbose.

1
frezikreply
midwest.social

And then we'll be back to a hundred slightly incompatible versions. You need detailed specifications to avoid that. Why not stick to markdown?

2
sh.itjust.works

Man, I've written three novels plus assorted shorter form stories in markdown.

There's a learning curve, but once you get going, it's so fluid. The problem is that when it comes time to format for release, you have to convert to something else, and not every word processor can handle markdown. It's extra work, but worth it, imo.

19
Handlesreply
leminal.space

Just set up pandoc and Bob's your uncle. It'll convert markdown to anything. You'll never have to open another word processor.

8
sh.itjust.works

Nice! Thanks for the tip!

Edit: holy shit, how have I never run across that before? That's a brilliant program right there.

7

Pandoc + [your markdown editor of choice] is magic. Some editors even come with Pandoc as a dependency so you can export to more or less anything from the GUI. I think GhostWriter and Zettlr at least (I honestly can't be sure, I've changed editors so often and now I just have some Pandoc conversion scripts in my file manager menu).

4
Dessalinesreply
lemmy.ml

For sure, I bet full fledged editors like word don't even let you import it.

5
lemmy.world

Silly question why can’t you convert markdown to PDF and pass that to publishers?

1

Because it isn't doc is docx.

Publishers are pissy about such things. Even self publishing (which is what I do now), the various outlets still have limits to what they will use. Amazon accepts something like three file formats, including their own, and pdf isn't on the list.

I could just do pdf for directly giving them away to people, but even then, epub is usually a better pick in terms of readability since that's the standard for actual books since ereaders tend to display it better than pdfs. Most people reading books via files would be using something that can give a better experience with epub vs pdf.

4
lemmy.ml

Markdown is awesome, I agree! I did not realize you could extend markdown with anything other than html. The html extension is quite nice to do anything that markdown doesn't support natively, but I wish there was an easier way to extend markdown. Maybe the ones you listed are what I need.

6

Hedgedoc / hackmd support a good amount of extensions out of the box. I think typora and obsidias do also (but not open source).

1

My main wishlist for markdown, is a better live collaborative markdown editor. Hedgedoc works, but it's showing it's age, and they don't seem to be getting close to releasing v2.

Etherpad also has a markdown extension, but it doesn't import / export that well.

3

Depends on the type of book. Since you need HTML for all non default styles. Therefore, it raises the bar... you need a bit of web dev knowledge which removes the biggest benefit of markdown: simplicity / ease of use.

5
programming.dev

Typst is a typesetting format - an alternative to LaTeX. Asciidoc is more of a competitor to markdown.

2
Auxreply
lemmy.world

The problem with Markdown is lack of quality software support. You don't want to write a book in a text field on GitHub, Lemmy or Reddit. You want to write your book in MS Word or LibreOffice. Existing MD software is, to put it gently, an amazing pile of utter shit. If you're not a software developer with an MD extension in VS Code, then you won't use MD for anything.

1
Auxreply
lemmy.world

These might work for some, but they're not exactly an MS Word, aren't they?

1
lemmy.world

Just as powerful and far less buttons imo. I can write a markdown doc in much less time than a word doc.

What does word offer that isn't easier with markdown?

1
Auxreply
lemmy.world

It offers a familiar interface for people who have used it for many years.

1
x3i
kbin.social

Unified Push.

Unbelievable that we have to rely on Google and co for sth as essential as push messages! Even among the open source community, the adoption is surprisingly limited.

70
programming.dev

Nobody knows about unifiedpush. Last time I checked, their Linux dbus distributor also wasn't ready. There has to be a unified push to get it adopted.

31

Fuck Unified Push. Just use the Web Push standard. https://www.rfc-editor.org/rfc/rfc8030

It is what is used for browser push messages, is already widely supported. Is compatible with existing push infrastructure and users and is end-to-end encrypted. IDK why Unified Push felt the need to create a new protocol when a perfectly good one already existed.

Although there is no "client side" spec. The Unified Push client side could be useful. But they should throw away their custom backend protocol and just use Web Push.

0
JasonDJreply
lemmy.zip

Because SecOps still thinks NAT is security, and NetOps is decidedly against carrying around that stupid tradition.

8

You can even Nat still if you want too lol

That said have you looked at securing ipv6 networks?It can be a lot of new paridgms that need to be secured.

2
spez_reply
lemmy.world

Yeah I'm anti IPv6 so I'm not going to ever use it personally. Ipv4 is enough for me

-10

go ahead and use that on your home network, but if you work in IT and deploy it on public networks i'm going to kick you in the nuts

3

I hear you on this! Took me a whole day to get my router to delegate IPv6 properly. I'm sure that had it been better adopted, I wouldn't be having such a hard time.

4
lemmy.world

In the world of computers, why would remembering numbers be the stop for new technologies?

Do you remember anyone's public key? Certificate?

I don't even remember domain (most) names, just Google them or save them as bookmarks or something.

The reason IPv4 still exists is because ISPs benefit from its scarcity. Big ISPs already paid a lot of money to own IPv4 addresses, if they switched to IPv6 that investnywould be worthless.

Try selling static IPv6 addresses as they do now with IPv4. People would laugh at them and just get a free IPv6 address from an ISP that wants to get new users and doesn't charge for it.

The longer ISPs delay the adoption of IPv6, the longer they can milk IPv4 scarcity.

29

I don't even remember my old ICQ UIN. People usually do that.

So yes, bring in IPv6.

3

IPv6 addresses are practically endless, therefore their value is practically 0. ISPs justify charging extra for static IPv4 because IPv4 addresses do have a value.

If ISPs charge for static IPv6, then one of them could just give that service for free (while keeping the rest of the prices the same as their competitors). That would get them more customers while costing them nothing.

EDIT: I can't give you an example of an ISP that offers free static IPv6 because there are no ISPs in my country that offer IPv6.

5
droansreply
lemmy.world

Should be every single one that supports IPv6.

3

For that matter, you should be getting an entire /60 at a minimum. Probably more like /56.

2

On the Internet, no. On my home LAN? Absolutely. I disabled all IPv6 at home.

2
lemmy.dbzer0.com

damn if only we had a service that like, obfuscated and abstracted these hard to remember IPs that aren't very user friendly, and turned them into something more usable. That would be cool i think. Someone should make that.

2

perhaps one that were to operate on like, a domain level, maybe.

gah, i'm just not too sure there's a good term for this though.

2

Shortening rules actually make IPv6 addresses easier to remember than IPv4. Just don't use auto configuration.

2

That's just one loopback address.

I could list 2^24 IPv4 loopback addresses.

1
discuss.tchncs.de
  • IPv6, needed for modern Internet not to collapse, would make many other important things easier. Easier to become an ISP, to selfhost, to build P2P networks, etc.
  • GNU Taler, a payment protocol just look at it go: https://101010.pl/@didek/111934952208145427, or just imagine building a payment terminal of a Raspberry Pi
  • Matrix, to unify chat, conference and calling apps
  • some self-arranging darknet protocol becoming a norm like I2P, GNUNet or Yggdrasil, so we could have a backup when mass Internet blockage happen
66
Secret300reply
sh.itjust.works

I really hope matrix gets native VoIP. I saw like 2 years ago it was in beta, haven't kept up with it though. I'd also really like voice channels like discord so my friends and I can replace discord but it seems like matrix isn't interested in being a discord replacement

15

Matrix can be configured to have VoIP. I have it set up on my server. Haven't tried it in group voice chat setting yet though. Only 1 on 1

11
lemmy.zip

Matrix I have doubts about. The idea of Tox was nicer, but the implementation quality and the scandal at some point didn't help.

Tox felt more playable, like piping files over it or a remote shell over it (I know, bad associations, but still), or even using it for VPN. I think there were clients allowing to do such stuff, and the protocol allows it.

EDIT: I mean, it's still alive, just don't see it claiming the place of FOSS old Skype replacement as it did.

GNUNet - all you people mentioning it have peers? I tried to set it up a few weeks ago, couldn't get peers.

Yggdrasil - feels cool.

I2P - not intended for that, I think.

6

I2P - not intended for that, I think.

to be clear, I2P is not really intended for anything, it's used for everything. It supports all kinds of things, and there are people doing all kinds of things on it. Though i could see potential technological limitations being a problem.

2
smileyheadreply
discuss.tchncs.de

About Tox, I am not a fan of mixing up universal delivering of packets and applications. Piping files or using as VPS feels like something that would be better done with proper full network and not be mixed with chat.

1

I, on the contrary, think it's cool for things to be universal, layered and reusable for different tasks.

3
lemm.ee

Do Not Track

Such a simple solution for the cookie banner issue. But it prevented websites from tricking users into allowing them to gather their data, so it had to go.

60
jkrtnreply
lemmy.ml

Nobody was going to honor that. That's just giving them an extra bit of data to track you with.

18
qazreply
lemmy.world

Those cookie banners were introduced because of an EU law and are seen all over the world

16
Tanohreply
lemmy.world

Most of those cookie banners are not even needed, you only need them for tracking cookie, not login and session cookies. But of course everyone decided it is just easier to nag all the users with a big splash screen.

A lot of them are not even doing it right, you are not allowed to hint the user that accept all is the "correct" choice by having it in a different color than the others. And being able to say no to all shouls be as easy as accepting all, often it isn't.

Basically, cookie banners are usually not needed and when they are they are most often incorrectlt designed (not by accident).

11

But of course everyone decided it is just easier to nag all the users with a big splash screen.

Nope, the thing is, you'll very rarely find a website that only uses technically necessary session/login cookies. The reason every fucking website, yes, even the one from the barber shop around the corner, has a humongous cookie banner is that every fucking website helps google and other corporations to track users across the whole internet for no reason.

4

Yes, seen by people visiting EU websites or companies with an EU presence. And because whether or not they assign a cookie is easily verifiable by the person on the other end.

2
lemmy.ml

odf/odt/ods

.md

SimpleX

Matrix

OpenPGP

Last, certainly not least... ActivityPub

52
pawb.social

Markdown really should have more widespread support than it does. It's just the right mix between plain text and an office document, I took my college notes with it in fact cause of how fast it was to format stuff. But as far as I know, there's no default program on any of the (major) OS's or Distros for viewing it.

Maybe it's just due to a lack of standards for formatting or something, but regardless I do wish it was used and supported more.

12
vrighterreply
discuss.tchncs.de

markdown is standardized? I haven't found two parsers that parse the same file the same for any but the most trivial documents

4
pawb.social

That's what I mean by a lack of a standard for markdown. There needs to be at least a core standards for stuff (like bolding and italics), that is universal across stuff. Then if a program wants to add onto it, that's fine. But just the core parts being standardized would help a lot.

4

There are some pseudo-standards for it. Github-flavoured markdown is probably the biggest of them. Then you get things like Obsidian-flavoured markdown that is based off of Github’s.

5
lemmy.one

Heads up for anyone (like me) who isn't already familiar with SimpleX, unfortunately its name makes it impossible to search for unless you already know what it is. I was only able to track it down after a couple frustrating minutes after I added "linux" into the search on a lark.

Anyway it's a chat protocol

7

going based on preliminary understanding of this shit, it looks like it does all of the user handling on the client side explicitly, server side probably doesn't do anything of the significant sort.

Or at least to a degree that provides reasonable assurance that X person is different from Y person based on the messaging alone. Though your typing style is going to significantly influence it regardless of that.

probably not accurate, just what i gleaned in about 3 minutes.

2
lemmy.ml

RSS (RDF Site Summary or Really Simple Syndication) It is in use a fair amount, but it is usually buried. Many people don't know it exists and because of that I am afraid it will one day go away.

I find it a great simple way to stay up to date across multiple web sites the way I want to (on my terms, not theirs) By the way, it works on Lemmy to :)

52

Honestly there is rarely a blog I want to follow that doesn't have it. I do think it would be great to have more readers using it so that it becomes more significant, but for my reading it is actually pretty great.

2
Blizzardreply
lemmy.zip

Call me old fashioned, but I still call it Jabber.

23

I came here to say matrix but I'm not gonna lie. If XMPP had gotten the traction it deserved we wouldn't need matrix.

11

You're going off-topic from the OP question :-) But to answer your new question : I do not trust Matrix enough when it comes to privacy. I know that this link is old but still. https://disroot.org/en/blog/matrix-closure

Then again I do not trust Signal that much either but sometimes compromises need to be made to get things done. With XMPP the end user can host their own server if they wish to, without meta data going to a centralized point. And video calls via XMPP and Conversations were a pleasure to use when I used it during the Covid-19 pandemic.

22
lemmy.ca

IOT devices shouldn't connect to wifi. ZWave or zigbee is much better suited to IOT stuff, but it seems to mostly get adopted in very limited, locked down proprietary shit like Hue Lights.

40

There's only one case I've found where Wi-Fi use seems acceptable in IoT: ESPHome. It's open-source firmware for microcontrollers that makes DIY IoT sensors and controls accessible over LAN without phoning home to whatever remote server, without trying to make anything accessible over the Internet, and without breaking in any way if the device has no route to the Internet.

I still wouldn't call Wi-Fi use ideal even there; mesh can help in larger homes and Z-Wave/Zigbee radios tend to be more power efficient, though ESP32 isn't exactly suited for a battery-powered device that's expected to run 24/7 regardless.

7

Yes but at least Hue (and IKEA and LIDL and many other brands') lights work well with open Zigbee coordinators, like deconz and ZHA in Home Assistant.

I wish there were more Zigbee and Zwave and less WiFi IoT devices too. I don't even have a Zwave coordinator because I never found anything I wanted with Zwave support.

4

but it seems to mostly get adopted in very limited, locked down proprietary shit like Hue Lights.

That's the problem Matter and Thread are supposed to solve.

2

I actually don't like ZigBee, it's very unstable. It's pretty much a shitty UDP implementation.

1

LaTeX. As someone in academia, I absolutely love it. It has some issues like package incompatibility, but it's far far better than anything else I've used. It's basically ubiquitous in academia, and I wish it were the case everywhere else as well.

40
Uristreply
lemmy.ml

The Typst compiler is open source. It is the open core of the web app and we will develop and maintain it in cooperation with the community

Try Typst now!

Create a free account to join the public beta.

Beta software marketing with "free accounts" and an open core compiler for a (probably) future paid web service tells me all I need to know.

Even though LaTeX has issues, not being an online service is not one of them.

9
slrpnk.net

They host a proprietary service that does all the stuff, the compiler and spec are completely FOSS. So you need to create your own implementations, which is not hard.

I dont think they will close source the compiler. And thats basically everything thats needed?

I have 0 problems with people creating a fancy proprietary implementation to get people hooked. I will never use an online editor, but why care?

4
Uristreply
lemmy.ml

Learning LaTeX and working around its quirks seems like a much better time investment than sidegrading to something that lives on premises given by a proprietary commercial project. If someone saw LaTeX and said "I want to make some version of this that is better", without alterior motives, they would probably just work on improving LaTeX (which a whole lot of people do).

Fancy does not mean better, and often is in many ways worse than plain old boring.

3
slrpnk.net

You know Overleaf is a thing right?

Many projects need to be rewritten from scratch I think. But I also think an easier markup language for LaTeX could be possible, keeping all the nice templates etc.

-1
Uristreply
lemmy.ml

From the LaTeX project:

The experience gained from the production and maintenance of LaTeX2e (the version you have been using for many years) had a major influence on our goals for future development and on new code which is now integrated into LaTeX.

A while ago we made the decision to drop the idea of a separate LaTeX3 format that would exist in parallel to LaTeX2e, but instead decided to gradually modernize LaTeX to keep it competitive in today’s world while maintaining compatibility methods for older documents.

I think this decision was pretty much a good one.

Overleaf does not modernize LaTeX in meaningful ways. It only adds cloud functionality and glossy appearance that you can get on dedicated editors anyways.

4

No, but Overleaf is just a proprietary fancy editor like the Typst one. Meanwhile typst is just as usable for building editor too.

I dont see any arguments against typst really. I am using Markdown all time and find it best, but lacking. Then LaTeX, honestly I dont want to learn as it must be a pain to write.

Now in typst, you can write academic papers etc just as well. All you need is free software, with good backing, modern tooling (rust, cargo), thus it runs everywhere. Its pretty cool!

2
lemmy.dbzer0.com

or you could also just make an open source wrapper for latex and call it a day.

Nothing needs to be closed source to get people to use it.

1
slrpnk.net

And it isnt :D the compiler produces PDFs which can be read with anything. The spec is open so you can write the code with any editor.

Just needs integration, will see if I can add the syntax highlighting to Kate

1

i suppose that's the case, but if you ever partially open source something, i think you're probably trying a little too hard.

1

It's not a standard but still its an interesting software so I'll post this here:

Joking aside, I love and hate it. Its paradigm is almost like using the C preprocessor to build a really awkward Turing-machine. TeX/LaTeX does a great job of what it was intended to do; it applies high quality typesetting rules to complex material and produces really good results. I love the output I can get with it and I will be eternally grateful that Donald Knuth decided to tackle this problem. And despite my complaints below, that gratitude is genuine. Being able to redefine something in a context-sensitive way, or to be able to rely on semantics to produce spacing appropriate to an operator vs a variable etc; these are beautiful things.

The problem is, at least once a day I'm left wishing I could just write a callable routine in a normal language with variables, types, arrays, loops and so on. You can implement all those things in TeX, but TeX doesn't have a normal notion of strings, numbers or arrays, so it is rare that you can do a complicated thing in an efficient way, with readable code. So as a language, TeX frequently leads to cargo-cult programming. I'm not aware that you can invoke reflection after a page is output, to see what decisions on glue and breaks were made; but at the same time you can't conditionally include something that is dependent on those decisions, since the decision will depend on what is included. This leads to some horrible conditionals combined with compiling twice, and the results are not always deterministic. Sometimes I find it's quicker to work around things like that by writing an external program that modifies the resulting PDF output, but that seems perverse.

At the same time, there's really nothing else out there that comes close to doing what LaTeX does, and if you have the patience, the quality of documents it can produce is essentially unbounded. The legacy of encodings, category codes, parameter limits, stack limits etc. just makes it very hard for package writers, and consumes a great deal of time for a lot of people. But maybe I am picky about things that a saner person would just live with.

A lot of very talented people have written a lot of very complex packages to save the user from these esoteric details, and as a result LaTeX is alive and well, and 99% of the time you can get the results you want, using off-the-shelf parts. The remaining 1% of the time, getting the result you want requires a level of expertise that is unreasonable to expect of users. (For comparison, I wrote an optimising C compiler and generally found it far easier to make that work as expected, than some of the things I've tried, and failed, to do properly in LaTeX. I now have a rule; if getting some weird alignment to work takes me more than an hour, I just fake it with a postscript file, an image, or write an external program to generate it longhand, in order to save my sanity.)

I think (and certainly hope) that LaTeX is here to stay, in much the same way that C and assembly language are. As time moves forward I think we'll see more and more abstractions and fewer people dealing with the internals. But I will be forever grateful to the people who are experts in TeX, and who keep providing us with incredible packages.

12
folkravreply
lemmy.ca

I honestly just use it for my resume with a template I found, so my knowledge is extremely basic, but I really do love the concept that I can “compile” and actually see the source of my document’s formatting.

7

For me it's more pleasant than editing formulae in LO, but still took a lot of time.

3

Is it practical outside of academia? I heard the learning curve is kinda big

3

I wrote my masters in LaTeX and while I appreciate the structuredness and the fact I could use vim, it was so quirky. Having to spend half an hour to fix a non obvious compile error, more than once, was a big distractor. I'm sure it gets better when you use it more but I don't think I have ever used it since. I'm not in academia and I don't need to solve compile problems when creating an invoice or writing a letter to local government.

1
Handlesreply
leminal.space

It's basically ubiquitous in academia

You mean STEM. In the humanities we do just fine without, tyvm.

1

I personally feel like it should be a standard extended markdown that allows latex code.

0
lemmy.ml

Matrix... it's on such a good path I can't complain. Adoption could be faster but it's alright.

I2p, although I have no idea if the lack of adoption has not a very good reason.

31
lemm.ee

I second Matrix, though I've been waiting for e2ee direct p2p (the Dendrite project) do be worked on for a while. Having something like that, that's truly decentralized while secure and hiding metadata where possible, would be a dream.

10
sh.itjust.works

Apparently dendrite is just on maintenance due to insufficient funds. It was what i set up on a test instance because it is lighter, etc. Go figure.

3
programming.dev

Conduit might be an option. It's still under development. It's also lightweight due to Rust (instead of Python as in Synapse).

1

Yeah I've been following that. It seemed at the time the project didn't implement nearly all the specs as dendrite which was still lagging synapse.

Might take another look though. I really did want to use it since it was written in rust. Seemed it should probably be more performant, everything else being equal.

1
lemmy.world

I wish Microsoft Office would use the .odf standard by default. Or, failing that, it'd implement its own published .docx specification correctly, so other office suites can be compatible.

30

That'd be nice of course. Personally, I just wish everything Microsoft would wither and go away.

26

The entire purpose of Microsoft standardizing OOXML and implementing it wrongly in Office was to make other office suites irrelevant. ODF was already standardized and countries would have adopted it if MS didn't do the same with OOXML. They stuffed the ISO with members supporting them to do it.

And now that OOXML is a viable standard, they implement it wrongly so that other office suites can't be compatible with MS Office without a lot of extra effort. Any incompatibilities with MS Office will be considered as the fault of other office suites by the general public and government officials.

Expecting MS to do what's right for the customers is putting too much faith in their nonexistent sense of ethics.

16

At this point Microsoft could use the .odf standard and people won't notice that and they will be using MSOffice anyways.

Only a fraction of us would use LO or OO or anything compatible.

4

You do understand that all that is by design from Microsoft to ensure it's incompatible so that they can f over the competition, right?

1
Kata1ystreply
kbin.social

I was actually surprised to find out QUIC is fairly close to being default.

Wikipedia

HTTP/3 uses QUIC, a multiplexed transport protocol built on UDP.

HTTP/3 is (at least partially) supported by 97% of tracked web browser installations (thereof of 98% of "tracked mobile" web browsers), and 29% of the top 10 million websites.

20
  • Communication: Matrix
  • Browsing: I2P
  • Communities: ActivityPub / Mastodon
  • Software Forge: Fogejo + ForgeFed
  • OS: Linux
  • Money: Monero

Since they meet at least one of,
if not all of the following:

  • Decentralized / Federated
  • Sensorship resistant
  • Privacy respecting
  • Open source
29
lemmy.world

Remember SOAP? Remember XML-RPC? Remember CORBA?

Those were not very good.

24

I had to do some soap integration last year and it feels like it only got worse with age.

2

I've worked with all of them and hate all with a passion. SOAP wasn't bad in theory but lots of APIs and clients didn't implement it properly.

2

Anonymous lemmy, anonymous torrents, anonymous IPFS, anonymous eMule, anonymous streaming, anonymous source forges, anonymous chats, anonymous everything...

Imagine unbridled, anonymous, mainstream piracy, software development, sitehosting, communication, social media.

Anti Commercial-AI license

5

i2p is pretty cool. One of the more interesting projects out there. Like tor, though i'm preferential to the weird ones.

there is also GNUNET which seems to be in perpetual development, perhaps one day that will see something interesting happen.

2

Came here to say this. Chart could have been as general as email.

6
nicocool84reply
sh.itjust.works

Matrix tries to kill XMPP but the reality is that if you want to self-host, XMPP is much less of a hassle. Also, Matrix is an open standard as in "pay big money to participate in the openness". https://matrix.org/blog/2022/12/01/funding-matrix-via-the-matrix-org-foundation/

Membership comes at various levels, each with different rewards:

Individual memberships (i.e. today’s Patreon supporters):
    Ability to vote in the appointment of up to 2 ‘community representatives’ to the Foundation's governing board.
    Name on the Matrix.org website
Silver member: between £2,000 and £80,000 per year, depending on organisation size
    Ability to vote on the appointment of up to 2 ‘Silver representative’ to the Foundation's governing board
    Supporter logo on the front page of the new Matrix.org website
Gold member: £200,000 / year, adds:
    Ability to vote on the appointment of up to 3 ‘Gold representatives’ to the Foundation's governing board.
    Press release announcing the sponsorship
    1 original post on the Matrix.org blog per year
    Participation in the internal Spec Core Team room
    Larger logo on the front page of Matrix.org
Platinum member: £500,000 / year, adds:
    Ability to vote on the appointment of up to 5 ‘platinum representatives’ to the Foundation's governing board.
    1 sponsored Matrix Live episode per year
    Largest logo on the front page of Matrix.org
7

and nearly every client has something that's half baked, and it's funded by a shady UK nonprofit with links to israeli intelligence, and...

3

Now when we have Matrix, we also need to deal with rescuing people from a NIH protocol designed around a property nobody needs.

1
lemmy.ca

peer to peer, i would be happier thitking that every time i open somo application, i'm helping it, like i2p

20
sh.itjust.works

Unfortunately the reality of IPFS is that despite its huge funding it was poorly designed from the start and still to this day has much slower loading times then my I2pd instance (despite i2p transmiting messages through multiple encrypted proxies), to the point where the company working on the rust implementation determined it was so bad they had to scrap the whole thing to make something that actually worked. Not to mention that I managed to have my server taken over by some kind of malware by downloading a particular piece of content.

4

Thanks, that was an interesting read! I always felt IPFS wasn't ready yet, but the value it tries to provide of being a file system, I've found no real alternative to. Very good to read that iroh is willing to look beyond the IPFS spec to provide its values with better performance. I hope it works out.

3
lemmy.ml

Others have said already, but XMPP and RSS. Also, nobody mentioned NNTP yet.

I wish everything was accessible by NNTP and we had better NNTP clients. NNTP is like RSS but for forums (so, Lemmy, Reddit, or anything where you could reply to posts). Download for offline reading, read in your client, define your own formatting, sorting, filtering, your client, your rules.

If Lemmy was accessible via NNTP, I could just download all posts and comments I'm interested in and reply to them without any connection, and my replies would get synced with the server later when I connect to WiFi or something.

20

Probably it would be better to edit my comment, but I'll go with a reply to myself.

To all fans of RSS: there's this service called FeedBase that is essentially a RSS to NNTP gate. You add your RSS feed to that and it becomes a newsgroup on their server, and you can subscribe to it using any NNTP client. New articles appear as new posts in that newsgroup and you can post your own replies to them. So, you get RSS but with discussions or comments.

https://feedbase.org/

If you try this, let me know what RSS feeds you're reading, so we could read the articles together and have some discussion there!

P.S. This comment is not an ad. I genuinely love feedbase and use that myself.

8

Content addressable protocols are better for asynchronous use. I'd like to see a proper bluesky atprotocol fork with "post lexicons" properly adapted for forums, they're built on top of content addressing and public key based account IDs along with 3rd party moderation tooling support integrated and custom 3rd party feeds/views.

1

They are humorous IETF standards published on 1 April over the years. These are specifically about implementing internet protocols using carrier pigeons instead of more traditional media like wires or optical fiber.

12
kbin.social

We should definitely be switching to the specification in RFC 6214. IPoACv6 is the latest standard.

2

You are absolutely correct. If your network supports IPv6, 6214 is definitely a requirement

2
lemmy.world

I wish people used email for chat more. SMTP is actually a pretty great protocol for real time communication. People think of it as this old slow protocol, but that’s mostly because the big email providers make it slow. Gmail, by default, waits ten seconds before it even tries to send your message to the recipient’s server. And even then, most of them do a ridiculous amount of processing on your messages that it usually takes several seconds from the time it receives a message to the time it shows up in your account.

There’s a project called Delta Chat that makes email look and act like a chat app. If you have a competent email service, I think it’s better than texting. It doesn’t stomp on the images you send like SMS and Facebook do, everyone has it unlike all the proprietary services, and you can run your own server for it that interacts with everyone else’s servers.

Unfortunately, Google, Microsoft, etc all block you if you try to run your own server “to protect against spam”. Really, I’m convinced that’s just anticompetitive behavior. The fewer players are allowed to enter the email market, the less competition Gmail and Outlook will have.

As much as I like ProtonMail too, unfortunately their encryption models prevents it from working with Delta Chat. I’d love to see Proton make a compatible chat app that works with their service.

I made an email service called Port87 that I’m working on making compatible with Delta chat too. I’d love to see people using email the way it was originally meant to be used, to talk to each other, without being controlled by big businesses.

17
morrowindreply
lemmy.ml

The delay is there because email has no deletion support.

And a host of other shortcomings.

I'd rather we replaced email with matrix

8
hperrinreply
lemmy.world

If you’re relying on the remote server to delete something, you can’t trust it no matter what protocol you’re using.

For a regular email, the chance to undo might be fine, but for real time communication, it’s just an unnecessary road block.

Maybe if it was optional per recipient, or per conversation, or better yet, depending on the presence of a header, it might be fine. Gmail only supports all-on or all-off.

6

If you’re relying on the remote server to delete something, you can’t trust it no matter what protocol you’re using.

I mean yeah I wouldn't bet my life on it, but for the 99% of regular communication it's fine. That's no reason to not have it in the protocol and muck around with 10 second delays instead.

1
hperrinreply
lemmy.world

Oh, another awesome thing about email is that you can ensure that your address is always yours, even if you use an email service provider like Gmail. Any provider that supports custom domains will allow you to use your own domain for your address, then if you want to change your provider, you keep your address. So, since I own hperrin.com, I can use the address [email protected], and I know it’ll always be mine as long as I pay for that domain.

This is a much better model than anything else. Even on the fediverse, you can’t have your own address unless you run your own instance.

If your email service provider goes out of business or gets sold off (skiff.com, anyone?), as long as you’re on your own custom domain, your address is still yours.

I’m working on custom domains for Port87. It’s definitely a feature I think every email provider should offer.

7

Yes, I shifted to my own domain after my default ISP of 20 years decided that email was just too hard, you know? They didn't outright say it, they just started batch processing emails so that I'd get all my daily emails at around 2 am the next day. Super handy for time limited password reset emails!

A few hours reading a guide and setting up a $5/mo linode email server with SPF and dmarc, a few more hours transferring 20 years of IMAP mail from my old account to a folder, and a month or so of changing a few site contact emails over each day when they emailed something to my old account, and now I've got an email server on my own domain that is 10 times faster at sending/receiving mail than my old ISP ever was.

And now I can have [email protected] and [email protected] and random other disposable addresses so that when they are inevitably sold off for the $$$ I can just dump them and maintain a spam free inbox.

2
treadfulreply
lemmy.zip

SMTP is actually a pretty great protocol for real time communication.

remembers greylisting is a common thing

4

Yes, I mentioned that. That’s not a protocol issue, that’s a big business controls everything issue.

2

greylisting will typically only be applied to people who you haven't interacted before, so I don't think it is a big deal. It would be similar to how many major chat apps hide away suspicious messages from new people in some "invites" section that is often hidden by default.

1
kevincoxreply
lemmy.ml

SMTP is a terrible protocol. Text based for sending effectively binary data with complex header wrapping and "generate a random delimiter" framing. We really need a HTTP/2 of SMTP.

That being said I agree that it exists and works. The biggest blocker to more IM-style communication is largely the UI and user expectations. I have no problem having quick back-and-forths over email but most people don't expect it.

1
hperrinreply
lemmy.world

Fair enough. Sending binary data over SMTP adds a lot of overhead, because it all has to be encoded. We should fix that.

1

Honestly my biggest complaint is header wrapping. Technically you need to wrap lines at 998 bytes (not that any reasonable server actually cares). But in order to wrap a header you need to add spaces (because you can only break a line after whitespace). But where spaces are unimportant depends on each specific header. So you need to have custom wrapping rules for each header.

In practice no one does this. They just hope that headers naturally have spaces or break them in random locations (corrupting them) because the protocol was too stupid.

Binary protocols are just so much simpler. Give the length, then the data. Problem solved. Maybe we could even use a standard format for structured headers. But that would be harder to do while maintaining backwards compatibility.

1
sagreply
lemm.ee

It's kinda more resposive than Matrix for me.

6

Yeah, my experience with Element and a Matrix.org account is that it's sluggish. However, it's been better at Beeper, so I'm uncertain whether it's intrinsic to Matrix or merely Matrix.org and/or Element's servers.

2
oldfartreply
lemm.ee

Matrix came 15 years after XMPP, so the question should be: why is Matrix preferable? Does it bring anything to the table, other than fragmentation?

0
lemmy.ml

I don't believe that its existence causes more fragmentation than it remediates. https://news.ycombinator.com/item?id=36939482 explains why I consider Matrix fundamentally superior most (if not all) uses, although in practice it's because the clients (Element and FluffyChat primarily) are cross-platform and support a generally uniform set of features, in comparison to the aged (but glorious) Pidgin, and its counterparts.

1
oldfartreply
lemm.ee

Your hackernews post and the fact you mention Pidgin shows that you haven't used xmpp in the last 10 years. By the time Matrix was first released, xmpp had history sync.

Which is why I can't wrap my head around why a second protocol with no features that didn't already exist in XMPP took over.

0

I used it yesterday, via Pidgin. I'm [email protected]. Why else would I have referenced it? Don't tell me what I've done. That's not a way to have productive conversations.

Regardless, I can't provide any more technical insight than that - I know solely that the clients provide so much more functionality that irrespective of the protocol, it's better in practice. Fedora, openSUSE, the Bundeswehr, NATO, and Beeper - all chose Matrix over XMPP, not least partially because of Element (which they also all chose).

2
lemmy.world

Why should this be at the editor level? There should be a linter that applies all these stylistic formatting changes to all files automatically. If the developer's own editing tools or personal workflow have a chance to introduce non-standard styles to the codebase, you have a deeper problem.

1

I want both. When I am typing code in my editor I want it to follow the styles of the project. Then when I run the linter/formatter it will fix the mistakes.

The last thing I want is to start a new if foo { statement and the indent is half of the indent of the if above. That would be too distracting.

1

i wish all the big players would agree on one of the many open chat and IM protocols. it's like kindergarten where the toddlers don't want to share toys

15
Handlesreply
leminal.space

Was it really back in 2009 that both Google and Facebook used XMPP compatible chats? Those were the days.

6

We had the future in our hands but our corporate platform overlords made a wrong turn at Albuquerque.

4

Facebook had an XMPP client API. It didn't federate (and wasn't really true XMPP resulting in many quirks).

1
lemmy.world

TeX. I was able to use it during school for some beautiful type setting and formatting but nobody I work with wants to use anything other than plain text or unfortunately more commonly binary wysiwyg editor formats. It's frustrating and ugly.

15

One way I do TeX now is a few templates (letter, memo, etc) and circulate files in PDF.

If you must use Word to circulate files, consider Pandoc as a way to get them out.

1

What WYSIWYG binary formats have you been using? OpenDocument is zipped XML. OOXML is also zipped XML. RTF is plain text. Everything else is dead. RTF is too, actually.

1
JasonDJreply
lemmy.zip

I somewhat disagree.

WYSIWYG document editors are terrible at getting things exactly as you want.

If you're a perfectionist, especially in presentation, it's probably easier to adopt TeX than it is to get (Open)Office to do exactly what you want into.

5

Binary wysiwyg is shit for versioning, I hate it. Plaintext is fine but limited. I like both markdown and tex.

0
programming.dev

I'd love to see more adoption of... I2C!

Bazillions of motherboards and SBCs support I2C and many have the ability to use it via GPIO pins or even have connectors just for I2C devices (e.g. QWIIC). Yet there's very little in the way of things you can buy and plug in. It feels like such a waste!

There's all sorts of neat and useful things we could plug in and make use of if only there were software to use it. For example, cheap color sensors, nifty gesture sensors, time-of-flight sensors, light sensors, and more.

There's lmsensors which knows I2C and can magically understand zillions of temperature sensors and PWM things (e.g. fan control). We need something like that for all those cool devices and chips that speak I2C.

11
lemmy.world

I2C is a bit goofy though. As a byproduct of being an undiscoverable bus you basically just have to poke random addresses and guess what you're talking to. The fact lmsensors i2c detection works as well as it does is a miracle. (Plus you get the neat issue where even the act of scanning the bus can accidentally reconfigure endpoints)

9
lemmy.ml

Yeah, the lack of proper discoverability on i2c truly sucks. You have to just poke random addresses and hope for the best to see if an i2c device exists on the bus. It's a great standard but I wish it would get updated with some sort of plug and play autodetection feature. Standardized device PID/VID system like USB and PCI would be acceptable or a standardized register that returns a part string. Anything other than blindly poking registers and hoping you're not accidentally overvolting the CPU or whatever because the register on your expected device overlaps with the overvolt the CPU register on the same address of a different device.

6

I'm curious. There was some i2c connected memory devices before. Is there some forgotten spec that allows for a flexible device lookup / logging capability. Something that acts like device tree but stays specific to the bus. It wouldn't be practical for a lot of applications but I could see it being useful for some niche stuff.

1
cmnyboreply
discuss.tchncs.de

If you have an unused VGA port, you can use the DDC pins for I2C. Be sure to add ESD protection if you do this. An I2C isolator would be even better.

I2C is really not meant to be used over cables. It has a very limited common mode input voltage range and it can't handle much capacitance on the bus.

4

Except that in the case of VGA (and DVI, HDMI, and DisplayPort) the i2c interface is intended for use over the cable. All of those ports have a pair of i2c pins and corresponding wires in their cables. The i2c interface is used for DDC/EDID which is how the computer can identify the capabilities and specifications of the attached display. DDC even provides some rarely-used control functionality. Probably the most useful of which is being able to control the brightness of the display from software. I use the ddcci module on Linux and it lets me control my desktop monitor brightness the same way a laptop would, which is great. I have no idea why this isn't widely used.

Edit:

This i2c interface is widely used to control the lighting on modern graphics cards that have RGB lighting. We've spent a lot of time reverse engineering these chips and their i2c protocols for OpenRGB. GPU chips usually have more i2c buses than the cards have display connectors, so the RGB chip is wired to one of the unused buses. I think AMD GPUs tend to have 8 separate i2c buses but most cards only use 4 or 5 of them for display connectors. There is also an i2c interface present on RAM slots normally used for reading the SPD chip that stores RAM module specifications, timings, etc. This interface is also used for RAM modules with controllable RGB lighting.

4

SimpleX. No federated messenger is good for privacy.

But I see how SimpleX is impossible for public groups, as spam is basically unavoidable.

10
lemmy.ml

Do you have a link? All I see in a quick internet search is about a crypto company

1
lemmy.world

FTP

Seriously guys, let's share files the old fashioned way. Without bullshit.

9

I'd like to interject for a moment. What you're referring to as FTP is, in fact, smelly hot garbage.

For context, I wrote this while waiting for a migraine to pass. I was angry at my brain for ruining my morning, and I like to shit on FTP. It's fun to be hyperbolic. I don't intend for this to be an attack on you, I was just bored and decided to write this ridiculous rant to pass the time.

I must once again rant about FTP. I've no idea if you're serious about liking it or you're just taking the piss, but seeing those three letters surrounded by whitespace reminds me of all the bad things in the world.

FTP is, as I've said, smelly hot garbage, and the infrastructure built to support FTP is even worse. Why? Well, one reason is that FTP has the most idiotic networking model conceivable. To see how crazy it is, let's compare to a more sane protocol, like HTTP (for simplicity's sake, I'll do HTTP/1.1). First, you get the underlying transport protocol stuff and probably SSL. The HTTP client opens a connection from some local ephemeral port to the destination server on port 80/443/whatever and does all the normal protocol things (so syn->synack->ack and Client Hello -> Server Hello+server cert -> client kex+change cipher -> change cipher -> encrypted data). FTP does TCP too! Same same so far (minus SSL, unless you're using FTPS). Next, the HTTP client goes like this:

GET /index.html HTTP/1.1
Host: www.whatever.the.fuck
# a bunch of other headers

and you know what fucking happens here? The fucking server responds with the data and a response code on the same goddamn TCP connection. You get a big, glorious response over the nice connection you established:

200 OK
# a bunch of headers and shit

HERE'S YOUR DAMN DATA NERD

So that's nice, and the client you're using to read this used that flow (or an evolution of that flow if you're using HTTP/2 or HTTP/3). So what does FTP do? It does one of two really stupid things depending on whether you're using active or passive mode. Active mode is the default for the protocol (although not the default for most clients), so let's analyze that! First, your FTP client initiates a TCP connection to your server on port 21 (by default), and then the server just sends this:

<--- 220 Rebex FTP Server ready.

ok, that kinda came out of nowhere. You're probably using a modern client that saves you from all of the godawful footguns, so it then asks the server what it supports:

---> FEAT
<--- 211-Supported extensions:
<---  AUTH TLS;SSL;
<---  CDUP
<---  CLNT
# A whole bunch of other 4 letter acronyms. If I was writing an FTP server, I'd make it swear at the user since there are a lot of fun 4 letter words

There's some other bullshit we don't care about right now, although highlights include sending the username and password in plain text. There's also ASCII vs binary mode. WE'LL GET BACK TO THAT. :|

So then we want to do a LIST. You know what happens in active mode? Your computer opens up some random fucking TCP port. It then instructs the FTP server to CONNECT TO YOUR GODDAMN COMPUTER. Your computer is the server, and the other side is now the client. I would post a more detailed overview of the FTP commands, but most servers on the internet disable active mode because it's a goddamn liability. All of the sudden, your computer has to be internet facing with open firewall ports, and that's just a whole heap of shit.

I'm probably not blowing many minds right now because people know about this shit. I just want to mention that this is how FTP was built. The data plane and control plane are separate, and back in 19XX when this shit was invented, you could trust your fellows on ARPANET and NAT didn't exist and sure HAM radio operators here's the entire goddamn 44.0.0.0/8 block for you to do packet switched radio. A simple protocol for simple times, back before we knew what was good and what was bad.

So, active mode sucks! PASV is the future, and is the default on basically all modern clients and servers! Passive mode works exactly the same as the above, except when the client goes to LIST, the server opens some random TCP port (I've often seen something like 44000-44010) and tells the client, "hey you, connect to 1.2.3.4:44000 to get you your tasty data." Sounds great, right? Well, there's a problem that I actually touched on in my last paragraph. Back when this dogshit was first squeezed out in the 70s, everyone had a public address. There were SO MANY addresses! 4 billion addresses? We'll never use all of those! That is clearly not the case anymore. We don't have enough addresses, and now we have this wonderful thing called NAT.

Continued in part 2.

8

In that case, I'd like to chime in and add NFS to this list. The often overlooked jewel of the glorious past days. /j

4
lemmy.ml

I used to have an open public SIP address that would ring a home phone, complete with a retro answering machine, but nobody uses SIP...

7
wigitreply
infosec.pub

[…] nobody uses SIP…

Say what?

In my part of the world signaling for literally every phone call, be it mobile or fixed, traverses networks and operators using SIP.

2

Yeah, I mean nobody uses SIP as an open protocol with email-like addresses. You could call me with an unregistered softphone. It would have been way cooler if I had any use for it outside of like two other nerd friends of mine who run personal Asterisk servers.

1

What do you mean nobody uses SIP? Most mobile calls these days are SIP based as SIP is part of VoLTE. If you have 4G/5G signal and make a call you can be sure it's a SIP call.

2

Unix domain sockets, shared memory (classic and/or over anonymous file descriptors), file system in userspace, the (ms) ini format.

Was going to sleep when i wrote that.

6

Idk, I'm fine with Yaml/json + json schema. A JSON SCHEMA IS A REQUIREMENT for a good config in my opinion.

2

IPFS I'm really glad things like nerdctl and guix support it, but I wish more things too advantage of the p2p filesystem.

Petals.Dev and hivemind ml P2P AI inference and training seem like the only true viable options to make foundational models that are owned soley by authoritarian government s and megacorps.

Matrix for federated general real time communication. (Not justs chat, video, images, but just data, with third room being on the cooler demos for what is possible)

Activity Pub for asynchronous communication between servers. The socialmedia aspect is obviously the focus and the most mature, but I'm also excited for things like Forgejo (Codeberg.org) and Gitlab's support.

I am also excited for QUIC for increased privacy of metadata and reduction of network trips.

6

matrix, or at least interop standards for online communications. It's such bullshit that you make a shitty chat app, and just because it's free and relatively featured, become the single existing monopoly of chat applications.

Like idgaf as long as i can host a bridge between discord and matrix or some shit, and you technically can, but it's a right pain in the ass to do so.

5
lemmy.world

I’m really into CloudEvents because I love event-driven systems, and since events can come from, or be consumed by, so many different services, having a robust spec is super duper useful.

5

So what problem is this solving? What are some event-driven systems that need to interoperate? Seems like even if you have a common encapsulation method, you still need code to understand and deal with the message body. Just seems like an extra layer around a JSON blob.

3
lemmy.world

I wish the protocol used by Hotline Client took off, it was basically Discord in the 90s with its support for announcement/news posts and file sharing

5

Also KDX. I was too young to use that, but tried and it's cool. Sadly even FOSS clients are all dead and don't build anymore. (I think I had limited success with patching one called Fidelio to build, but that was a few years ago and I can't find any traces of that attempt.)

4
mander.xyz

I've been playing with MQTT on meshtastic. I really hope LoRa and meshtastic continue to grow.

5
oldfartreply
lemm.ee

The more they grow, the busier the spectrum will be. I really hope it doesn't grow too much.

2

Just enough to grow the network so we don't need mqtt.

1

OpenTelemetry and in particular I wish more protocols had Traceparent propagation support and more software had support for sending spans and traces to an OTLP endpoint to construct a full picture of everything that is going on in a distributed system.

3

definitely some alternative internet mesh routing standart, just imagine if every device with wifi or ethernet could just extend the network without relying on an isp, yeah they could still serve as a fast backbone, but they just wouldn't be needed and no disaster could really ever disrupt the whole internet again

1

honestly: activity pub, matrix, xmpp, markdown and soo many more probably. All of these would be able to solve our walled gardens problem, but the apps with a basically monopoly don't have much of an incentivw to implement them

1

There are a bunch of message broker services out there, and having a consistent set of common keys along with a documented process for transforming events to/from different systems means that this kind of data can move through different systems without getting mangled. It does have a spec for JSON, so it can be considered just a standardized JSON blob with transformation rules. But it also has a protobuf spec, specs for MQTT, NATS, HTTP, Avro, etc. It’s a common language for all these systems.

1

FHIR instead of all legacy standards. Also ISO IDMP to make referencing medicines way easier.

1

Google has used RCS as their latest attempt at entering the messenger market. I really don't see why anybody else would want to adopt it under these circumstances. I mean Samsung did but Samsung is playing their own little paranoid game with Google, they don't really give a crap about RCS.

Basically Google killed RCS. They will never be able to make anybody adopt it against their will in the EU, people will stick to what messenger services they're already using. If they ever attempt to turn it on by default in their own app it will turn into a regulatory issue so fast their head will spin.

4

I want us to stop using communication protocols that are tied to our connectivity providers. Let alone tied to a specific piece of hardware (SIM card).

"Telephone providers" should be just another ISP. And whatever I do over the network shouldn't care if it is running on a mobile network or a landline fibre.

While we are at it let's fuck off with this SIM shit. You don't get to run code on my device. Give me an authentication key that I can use to connect to your network and then just transfer my packets. My device runs my code.

2

I actually feel the opposite.

Rcs was designed from the ground up to be handled by the carrier in clear text like sms, it doesn’t incorporate encryption in any way and doesn’t do much at all to address the untrustworthy nature of carriers and law enforcement nowadays.

It’s like those two protocols started developing at the same time and only google kept extending rcs to keep some degree of feature parity with imessage.

If we had to ditch iMessage it ought to be for some third type, not for questionably secure rcs and what new bubble color can be used to indicate that someone’s using an unencrypted rcs server?

2