Readit News logoReadit News
tambre commented on Rust in the kernel is no longer experimental   lwn.net/Articles/1049831/... · Posted by u/rascul
barrucadu · 19 days ago
Don't the C parts of Linux heavily depend on GCC extensions too? Seems depending on specific compiler features isn't really a blocker.
tambre · 19 days ago
The difference probably is that GCC extensions have been stable for decades. Meanwhile Rust experimental features have breaking changes between versions. So a Rust version 6 months from now likely won't be able to compile the kernel we have today, but a GCC version in a decade will still work.
tambre commented on Tunnl.gg   tunnl.gg... · Posted by u/klipitkas
tambre · 25 days ago
Seemingly lacking IPv6 support?

Not that you'd usually need this if you have IPv6 but might still be useful to bypass firewalls or forward access for IPv4 clients from your newer IPv6-only resources.

tambre commented on Cloudflare Global Network experiencing issues   cloudflarestatus.com/inci... · Posted by u/imdsm
saxenaabhi · a month ago
Setting up a replica and then pointing your api requests at it when cloudflare request fails is trivial. This way if you have a SPA and as long as your site/app is open the users won't notice.

The issue is DNS since DNS propagation takes time. Does anyone have any ideas here?

tambre · a month ago
Owning your IP space and using Anycast.
tambre commented on I spent a year making an ASN.1 compiler in D   bradley.chatha.dev/blog/d... · Posted by u/BradleyChatha
cryptonector · 2 months ago
CBOR and JSON are just encodings, not schema, though there are schemas for them. I've not looked at their schema languages but I doubt they support typed hole formalisms (though they could be added as it's just schema). And since CBOR and JSON are just encodings, they are stuck being what they are -- new encodings will have compatibility problems. For example, CBOR is mostly just like JSON but with a few new types, but then things like jq have to evolve too or else those new types are not really usable. Whereas ASN.1 has much more freedom to introduce new types and new encoding rules because ASN.1 is schema and just because you introduce a new type doesn't mean that existing code has to accept it since you will evolve _protocols_. But to be fair JSON is incredibly useful sans schema, while ASN.1 is really not useful at all if you want to avoid defining modules (schemas).
tambre · 2 months ago
I was considering CBOR+CDDL heavily for a project a while so they're a tad intertwined in my head. I very much liked CBOR's capability of being able to define wholly new types and describe them neatly in CDDL. You could even add some basic value constraints (less than, greater equal, etc.). That seemed really powerful and lacking ASN.1 experience it sounds like a very lite JSON-like subset of that.
tambre commented on I spent a year making an ASN.1 compiler in D   bradley.chatha.dev/blog/d... · Posted by u/BradleyChatha
cryptonector · 2 months ago
Bzzt! Wrong! I have worked with ASN.1 for many years, and I love ASN.1. :)

Really, I do.

In particular I like:

- that ASN.1 is generic, not specific to a given encoding rules (compare to XDR, which is both a syntax and a codec specification)

- that ASN.1 lets you get quite formal if you want to in your specifications

For example, RFC 5280 is the base PKIX spec, and if you look at RFCs 5911 and 5912 you'll see the same types (and those of other PKIX-related RFCs) with more formalisms. I use those formalisms in the ASN.1 tooling I maintain to implement a recursive, one-shot codec for certificates in all their glory.

- that ASN.1 has been through the whole evolution of "hey, TLV rules are all you need and you get extensibility for free!!1!" through "oh no, no that's not quite right is it" through "we should add extensibility functionality" and "hmm, tags should not really have to appear in modules, so let's add AUTOMATIC tagging" and "well, let's support lots of encoding rules, like non-TLV binary ones (PER, OER) and XML and JSON!".

Protocol Buffers is still stuck on TLV, all done badly by comparison to BER/DER.

tambre · 2 months ago
How do you feel about something like CBOR? In which stage would you say it's stuck in evolution compared to ASN.1 (since you said Protobuf is still TLV)?
tambre commented on Microsoft is plugging more holes that let you use Windows 11 without MS account   theverge.com/news/793579/... · Posted by u/josephcsible
database64128 · 3 months ago
> Every time I login using a Wayland desktop, only my main monitor is detected and it defaults to 60hz. I have to go through a whole process of unplugging the "undetected" monitors and plugging them back in.

Are you using GNOME? mutter has this problem where it does not retry commit on the next CRTC: https://gitlab.gnome.org/GNOME/mutter/-/issues/3833. If this is actually what's happening on your system, switching to KDE should solve it.

> HDR on Wayland is barely functional (in my experience)

This also sounds specific to GNOME, as mutter still doesn't have color management. You'll get a better HDR experience with KDE.

tambre · 3 months ago
> This also sounds specific to GNOME, as mutter still doesn't have color management.

Gnome 49 should've solved that. [0]

[0] https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4102

tambre commented on Cloudflare Email Service: private beta   blog.cloudflare.com/email... · Posted by u/tosh
tambre · 3 months ago
Anybody know if it supports IPv6?
tambre commented on Cross-Platform P2P Wi-Fi: How the EU Killed AWDL   ditto.com/blog/cross-plat... · Posted by u/stusmall
tambre · 9 months ago
I recently wanted to do point-to-point Wi-Fi for transferring some data but apparently support for the ad-hoc IBSS mode wasn't available on my MT7925. Wi-Fi Aware is completely new to me and didn't come up while searching on the topic at all. I can't find anything about using it on Linux now either. Anybody have any references on its support?

There's a single kernel commit referencing Wi-Fi Aware from 2023 [0]. iw supposedly supports a few commands pertaining to it [1].

  [0] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.14&id=9b89495e479c5fedbf3f2eca4f1c4e9dd481265e
  [1] https://stackoverflow.com/questions/53594406/implementing-a-wifi-aware-application-outside-android

tambre commented on Moving away from US cloud services   martijnhols.nl/blog/movin... · Posted by u/MartijnHols
aetherspawn · 9 months ago
Hey so I’m pretty sure you can host your own business mail for free these days without a static IP. This is basically how it would go:

Cloudflare Tunnel installed on your box (free)

Cloudflare Email Worker connected to your domain which writes emails to a KV store (generous free tiers)

Cloudflare Worker that downloads the emails from the KV store and uses Worker TCP sockets to send it to your mail server over the tunnel via a TCP port ie 25000 (CF blocks 25)

For sending mail in blue, local mail server uses smtp2go or Azure Communication Services.

I’ve pretty much convinced that a cheap Synology rack is the best way to do this because it replaces Azure ID (Synology SSO) and Exchange (Synology Mail) which self hosted non-SaaS in the one appliance, it gets security updates, and it has a easy web interface for setting everything up.

Haven’t managed to write the Cloudflare worker code yet, but found this guys repo and he’s done pretty much all the heavy lifting: https://github.com/Sh4yy/cloudflare-email

tambre · 9 months ago
The explicitly includes Cloudflare as one of the big services they currently used and needed to excise from their life as part of this move. Promoting consolidation from many providers to one while also switching from a generic solution to a vendor locked-in one would probably be a downgrade in their book.

u/tambre

KarmaCake day896November 30, 2017
About
raul@tambre.ee
View Original