this post was submitted on 02 Sep 2024
221 points (98.3% liked)

Programming

17484 readers
118 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 !webdev@programming.dev



founded 1 year 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.

you are viewing a single comment's thread
view the rest of the comments
[–] pHr34kY@lemmy.world 86 points 2 months ago* (last edited 2 months ago) (6 children)

IPv6. Stop engineering IoT junk on single-stack IPv4, you dipshits.

Ogg Opus. It's superior to everything in every way. It's free and there is absolutely no reason to not support it. It blows my mind that MPEG 1.0 Layer III is still so dominant.

[–] mox@lemmy.sdf.org 24 points 2 months ago* (last edited 2 months ago) (1 children)

It blows my mind that MPEG 1.0 Layer III is still so dominant.

Count the number of devices in use today that will never support Opus, and it might not blow your mind any longer. Also, AFAIK, the reference implementation still doesn't implement full functionality on hardware that lacks a floating point unit.

These things take time.

[–] pHr34kY@lemmy.world 6 points 2 months ago* (last edited 2 months ago) (1 children)

I remember using Xiph's integer implementation of Ogg Vorbis on my Nokia N-Gage (Symbian S60). I wonder if it's not a priority for Opus. IIRC, Opus is floats all the way down.

update: it exists.

https://wiki.xiph.org/OpusFAQ#Is_there_a_fixed-point_implementation?

[–] oldfart@lemm.ee 2 points 2 months ago

I remember trying to understand Vorbis fixed point codebase, it was completely bonkers, the three of us on this task couldn't even draw a rough control flow diagram.

[–] undefined@links.hackliberty.org 15 points 2 months ago

IPv6. Stop engineering IoT junk on single-stack IPv4, you dipshits.

Amen

[–] Afiefh@lemmy.world 5 points 2 months ago

Out of curiosity, why ogg as opposed to other containers? What advantages does it have?

Definitely agree on the Opus part, but I am very ignorant on the ogg container.

[–] tatterdemalion@programming.dev 4 points 2 months ago

Large ISPs still don't support it. It's a fucking travesty.

[–] sxan@midwest.social 1 points 2 months ago

Love, love, opus. It's a fantastic format.

[–] frezik@midwest.social 1 points 2 months ago* (last edited 2 months ago)

I setup my opnsense firewall for IPv6 recently with Spectrum as an ISP. I followed this howto from The Other Site:

https://www.reddit.com/r/OPNsenseFirewall/comments/xmurda/psa_howto_ipv6_on_spectrum_formerly_twc_time/

Even as someone who has a background in networking, I'd have no idea how to figure some of that stuff out on my own (besides reading a whole lot and trying shit that will probably break my network for a weekend). And whatever else you might say about Spectrum, they have one of the saner ways to implement it; no 6to4 or PPPoEv6 or any of that nonsense.

I did set the config for a /54, but Spectrum still gave me a /64. Which you can't subnet in IPv6. Boo.

Oh, and I'm not 100% sure if the prefix is static or not. There's no good reason that it should change, except to make self-hosting more difficult, but I have a feeling I'll see it change at some point.

So basically, if this is confusing and limiting for power users, how are average home users supposed to do it?

There are some standardization things that could make things easier, but ISPs seem to be doing everything they can to make this as painful as possible. Which is to their own detriment. Sticking to IPv4 makes their networks more expensive, less reliable, and slower.