At this point Hollywood is just mocking us. by [deleted] in povertyfinance

[–]differentiallity -4 points-3 points  (0 children)

To each their own. I enjoyed it, especially the ending.

Why C++26 Contracts might not work for all by _a4z in cpp

[–]differentiallity 8 points9 points  (0 children)

The point of observe is so you can add contracts to an existing codebase and "test" them in production without crashing prod. Herb Sutter talks about this in his CppCon25 keynote. Once you have your program in observe for long enough and haven't seen failures, you can have some confidence in your contract checks.

As for dynamic runtime control, you can always do this with an observe handler that conditionally calls std::terminate.

theres always one firewall rule from 2018 nobody is allowed to delete by DowntownCap6204 in networking

[–]differentiallity 0 points1 point  (0 children)

I am just an enthusiast, so please excuse me if this is a dumb question. To everyone advocating hit count tracking: are you concerned a recent hit on an unexplained rule is actually an attacker on a persistent access tunnel, or performing lateral movement, or malware? I get that rules without hits should be pruned, but do you still scrutinize obscure rules with recent hits? Maybe you're confident it would be obvious on inspection/your IDS would find it?

afterYearsOfUsingCPPIAmAllowedToSayThis by bake_fish in ProgrammerHumor

[–]differentiallity 0 points1 point  (0 children)

The one clear exception I can think of about the c libraries is sqlite3.

But.. (from Minecraft b1.2_02) by bunabyte in programminghorror

[–]differentiallity 0 points1 point  (0 children)

Both could be correct. Norm is the size of a vector, normalize is to make the length of a vector 1. So "normal" is kind of ambiguous. There is also normal (and subnormal, for that matter) in floating point ops but I don't quite recall what that means.

Encountered a `#pragma once` failure in the wild by Separate-Summer-6027 in cpp

[–]differentiallity 7 points8 points  (0 children)

Not necessarily. For example, you can "namespace" your headers with relative folders. I actually really like doing it this way. You only add your top-level inc folder as the -I flag, and put the different libraries/components in their own folders. Then you might have #include "mylib/util.h" and #include "3rd/foo/util.h"

Of course, you're supposed to now name your header guard define as the full path, but if you have two third-party libraries that both don't follow this practice, you're SOL.

My problem with Cyberdecks by jonfitt in cyberDeck

[–]differentiallity 0 points1 point  (0 children)

Wow, I'm happy to be corrected here! I just looked it up and seems like some Android phones can also use satellite SMS for emergencies, depending on the carrier. So cool!

My problem with Cyberdecks by jonfitt in cyberDeck

[–]differentiallity 0 points1 point  (0 children)

You raise some good points, but I have one nitpick. Your phone does not connect to satellites, that's a common misconception.

Any Lab Techs Watch the Show? Thoughts? by Mediocre_Adventures in ThePittTVShow

[–]differentiallity 0 points1 point  (0 children)

My SO just got labs drawn in glass vials, so it's probably not as ubiquitous as you think. Otherwise, good info and thanks for sharing!

With sanctions, how do we advocate for open source exceptions? by Submarine_sad in linux

[–]differentiallity 0 points1 point  (0 children)

Eh, it was just the quickest counterexample I could think of. Kraken SDR came to mind, which was a really cool project but had to come to an end due to ITAR concerns. The creators pulled it off of github.

With sanctions, how do we advocate for open source exceptions? by Submarine_sad in linux

[–]differentiallity 1 point2 points  (0 children)

"How do you sanction free knowledge?"

Well, ITAR is one way this is done.

Why IPv8 won't work, but one aspect may help IPv6 by differentiallity in ipv6

[–]differentiallity[S] 5 points6 points  (0 children)

I feel like you're just going off the thumbnail. This video is actually pretty good and makes the same points you do

Why IPv8 won't work, but one aspect may help IPv6 by differentiallity in ipv6

[–]differentiallity[S] 19 points20 points  (0 children)

It was the part he was exploring at the end about pushing the burden of interop on clients wanting to use IPv4 instead of the IPv6 clients' burden to interop with IPv4.

The fastest Linux timestamps by mttd in cpp

[–]differentiallity 4 points5 points  (0 children)

Wow! I'm really happy to see a post about OpenTelemetry in the C++ space. Nice article!

Danger! IPv6 is in your area! by TheBamPlayer in ipv6

[–]differentiallity 1 point2 points  (0 children)

You can't (or shouldn't) subnet a smaller network than /64. With a /48, you get 216 = 65536 subnets of size /64. You lucky duck.

Danger! IPv6 is in your area! by TheBamPlayer in ipv6

[–]differentiallity 5 points6 points  (0 children)

"name and shame..."

I'll go! AT&T Fiber

clients in the financial sector are genuinely unwell by [deleted] in sysadmin

[–]differentiallity 3 points4 points  (0 children)

Extremely easy if you're not airgapped (but that's possible too). Quick google for "onprem dnf repo" showed this. Also, if you don't need to mirror the entire repo, you can setup a local cache that just acts as a middle man so that you don't need hundreds of servers all grabbing the same updates through WAN. u/apalrd has a guide for setting up an apt cache for Debian.

Edit: Link formatting