[-] nous@programming.dev 8 points 6 months ago* (last edited 6 months ago)

Looks like there is going to be a shift to using nftables in arch. The iptables package in core is currently for the legacy interface with an iptables-nft package for the new interface, but the core-testing iptables package is for nft interface and there is now a iptables-legacy package in core-testing.

My guess is they are moving packages that can work with nftables to depend on that instead of iptables which looks like it is shortly going to be using the new nftables interface anyway. Probably as part of migrating to nftables by default. Looks like docker does have experimental support for nftables in version 1.29 and that is when the dependency was added to the PKGBUILD script.

It does not look like nftables or iptables conflict with each other at a package level. And nftables can work with iptables rules.

It is probably worth just migrating to nftables now if you rely on managing iptables yourself.

[-] nous@programming.dev 8 points 9 months ago

The US government does not like welfare programs because it gives money to the poor. They would rather give tax reliefs to the rich instead.

There is loads of evidence that welfare programs can save more money then they cost. But that does not funnel money to those in charge.

[-] nous@programming.dev 8 points 2 years ago

Once had a missing semi colon at the end of a c header file. The compiler kept complaining about the c file and never mentioned the header. Not all errors lead you to the right place.

Though most of the time people just don't read them. The number of problems I have solve for people by just copy pasting the error they gave me back to them...

[-] nous@programming.dev 8 points 2 years ago

By clear receiver it means there is only one function a name can point to. For instance you cannot have:

struct Foo;
impl Foo {
    pub fn foo(self) {}
    pub fn foo(&self) {}
}
error[E0592]: duplicate definitions with name `foo`
 --> src/lib.rs:5:5
  |
4 |     pub fn foo(self) {}
  |     ---------------- other definition for `foo`
5 |     pub fn foo(&self) {}
  |     ^^^^^^^^^^^^^^^^^ duplicate definitions for `foo`

Which means it is easy to see what the function requires when you call it. It will either have self or &self and when it is &self it can auto reference the value for you. This is unlike C and C++ where you can overload a function definition with multiple different signatures and bodies and thus the signature is important to know to know which function to actually call.


Yes rust has a operator for dereferencing as well (the *). This can be used to copy a value out of a reference for simple types the implement Copy at least.

[-] nous@programming.dev 8 points 2 years ago

Not anymore because all the reason I mentioned. Has the experience change in recent years? Not likely. It is the same software as in other distros - just years out of date. That has not changed as the goals of these projects have not changed. They might be on newer versions then 10 years ago but they are still way behind more frequently updated distros - or at least will be very shortly. That is fundamentally how these enterprise distros work. Their target audience is businesses needing support, not lots of end users.

The big attraction towards these distros are the support that enterprise people will pay for - which you do not get with the free version. If you don't mind older versions of things then it might be nice for you. If not then I would stay clear of them.

[-] nous@programming.dev 8 points 2 years ago

It is not impossible for people at Honda to care. Just not the right people, those that can actually make a difference. The decision makers are all looking for what gives them the most profit, if not then they are not in their position long or, really, never get to a position that matters in the first place.

The only thing that capitalism cares about is profit, by very definition.

[-] nous@programming.dev 8 points 2 years ago* (last edited 2 years ago)

Just use the search bar... the only one they have that is on every page at the top right. That takes you to the results which defaults to code, but you can change it on the side to show repos, issues, prs, etc. You can even limit it to single repos or whole organisations.

[-] nous@programming.dev 8 points 2 years ago

I set it up this way so that if I need to reinstall Linux, I can just overwrite / while preserving /home and just keep working after a new install with very few hiccups.

Even with a single partition for / and /home you can keep the contents of /home during a reinstall by simple not formatting the partitions again. I know when I tried years ago with Ubuntu years ago the installed asked if I wanted to remove the system folders for you. But even if the installer does not you can delete them manually before hand. Installers wont touch /home contents if you don't format the drive (or any files outside the system folders they care about).

Though I would still backup everything inside /home before any attempt at a reinstall as mistakes do happen no matter what process you decide to go with.

[-] nous@programming.dev 8 points 2 years ago

Do the bare minimum now to avoid try and tougher regulations later.

[-] nous@programming.dev 8 points 2 years ago

I don't see how? This is targeting people already using ad blockers. People not already using them should not see any difference in service so why would they change their behaviour? At most a mild rise of awareness, though I bet most people following these news stories are also already running ad blockers. It is all the other aggressive shit they are doing with ads that will turn people towards ad blockers/premium.

[-] nous@programming.dev 8 points 3 years ago

Things have improved a lot in the 11 years since Linus made that statement. For the most part Nvidia drivers just work. They have even released some opensource drivers fairly recently that will go a long way to making things even better, especially for the existing OSS drivers.

But they are still not perfect. They do keep doing their own thing for years before finally giving up and doing what everyone else is. The latest of which was the EGL Streams API nvidia created for wayland where everyone else was using GBM APIs which forced many window managers and applications to have to explicitly support nvidia drivers. But they have now switched to GBM like everything else (though last I heard their implementations were far from bug-free, things have likely improved since then those as that was over a year ago now).

[-] nous@programming.dev 8 points 3 years ago

It's the same, ctrl + r. It is a bash/shell thing so works on any os that uses bash or similar shells. Note, it is not the command key, but ctrl, unlike a lot of other shortcuts on macos.

view more: ‹ prev next ›

nous

0 post score
0 comment score
joined 3 years ago