kevincox

joined 4 years ago
MODERATOR OF
[–] kevincox@lemmy.ml 11 points 5 days ago (1 children)

The biggest question is this a fork or a threek?

[–] kevincox@lemmy.ml 12 points 5 days ago (2 children)

Then they'll lobby against public WiFi. I was in China recently and (depending on the province) you need a phone number to access public WiFi so that they know who you are.

[–] kevincox@lemmy.ml 14 points 5 days ago (1 children)

While I agree, I think that getting more games on Linux is far more useful. When Linux is almost 3% very few studios will care much. If they can do a small bit of testing on Proton and maybe work around a bug or two they are far more likely to do that then make and test a native build. If this then gets Linux usage to 5, 10 or 20% that will drive more native builds.

So I agree that it somewhat reduces the incentive to release a native build. But I think that is outweighed by the benefits of making the Linux gaming experience better today which will have a greater impact on availability of native builds in the future.

[–] kevincox@lemmy.ml 7 points 5 days ago

If the bottom can be seen at all that is completely unacceptable.

[–] kevincox@lemmy.ml 8 points 5 days ago (2 children)

If a ceiling fan is on one of my boys will hide under chairs and couches and basically just skirt around from cover to cover. I think he thinks it is a bird.

[–] kevincox@lemmy.ml 42 points 1 month ago (2 children)

I also don't mind if they are "selling" nothing, or just a supporter icon. As long as they are transparent that that is all you are getting.

[–] kevincox@lemmy.ml 6 points 1 month ago (1 children)

I'm struggling to see how this actually made money. Because presumably the customer is paying for the delivery (as well as the food that was never ordered). So the fraudsters would just be paying themselves in a complicated way. My best guess is one of the following:

  1. DoorDash is subsidizing orders so much that this is profitable overall (the amount they pay the driver is more than the customer pays) seems unlikely.
  2. DoorDash is paying the driver multiple times but only charging the customer once. But if this was the case how was this obvious accounting issue never noticed? Shouldn't the books come out even in the end?
[–] kevincox@lemmy.ml 42 points 2 months ago

This article really keeps getting better and better.

  • 'Unparalleled' snake antivenom made from man bitten 200 times
  • In total, Mr Friede has endured more than 200 bites and more than 700 injections of venom he prepared from some of the world's deadliest snakes
  • He initially wanted to build up his immunity to protect himself when handling snakes, documenting his exploits on YouTube.
  • he had "completely screwed up" early on when two cobra bites in quick succession left him in a coma
  • I didn't want to die. I didn't want to lose a finger. I didn't want to miss work
  • It just became a lifestyle
[–] kevincox@lemmy.ml 2 points 2 months ago

It's been fine. But I'm a decently well off young white dude who has never had trouble with borders anywhere. But I will still avoid it as much as I can.

[–] kevincox@lemmy.ml 6 points 2 months ago

poweroff or shutdown will work on almost every distro. Even systemd ones (they are usually symlinks but doesn't really matter because they work).

[–] kevincox@lemmy.ml 33 points 3 months ago

They want to make money off of services, every service they offer requires a Microsoft account to purchase and use. Everyone that they force to make an account during setup is one step closer to paying for a Microsoft service.

There are obviously tradeoffs (less sales of these versions of windows and some users pushed away from Windows altogether among others), but the motivation is clear.

 

cross-posted from: https://beehaw.org/post/551377

Recently my kernel started to panic every time I awoke my monitors from sleep. This seemed to be a regression; it worked one day, then I received a kernel upgrade from upstream, and the next time I was operating my machine it would crash when I came back to it.

After being annoyed for a bit, I realized this was a great time to learn how to bisect the git kernel, find the problem, and either report it upstream, or, patch it out of my kernel! I thought this would be useful to someone else in the future, so here we are.

Step #1: Clone the Kernel; I grabbed Linus' tree from https://github.com/torvalds/linux with git clone git@github.com:torvalds/linux.git

Step #2: Start a bisect.

If you're not familiar with a bisect, it's a process by which you tell git, "this commit was fine", and "this commit was broken", and it will help you test the commits in-between to find the one that introduced the problem.

You start this by running git bisect start, and then you provide a tag or commit ID for the good and the bad kernel with git bisect good ... and git bisect bad ....

I knew my issue didn't occur on the 5.15 kernel series, but did start with my NixOS upgrade to 6.1. But I didn't know precisely where, so I aimed a little broader... I figured an extra test or two would be better than missing the problem. 😬

git bisect start
git bisect good v5.15
git bisect bad master 

Step #3: Replace your kernel with that version

In an ideal world, I would have been able to test this in a VM. But it was a graphics problem with my video card and connected monitors, so I went straight for testing this on my desktop to ensure it was easy to reproduce and accurate.

Testing a mid-release kernel with NixOS is pretty easy! All you have to do is override your kernel package, and NixOS will handle building it for you... here's an example from my bisect:

boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_2.override { # (#4) make sure this matches the major version of the kernel as well
  argsOverride = rec {
    src = pkgs.fetchFromGitHub {
      owner = "torvalds";
      repo = "linux";
      # (#1) -> put the bisect revision here
      rev = "7484a5bc153e81a1740c06ce037fd55b7638335c";
      # (#2) -> clear the sha; run a build, get the sha, populate the sha
      sha256 = "sha256-nr7CbJO6kQiJHJIh7vypDjmUJ5LA9v9VDz6ayzBh7nI=";
    };
    dontStrip = true;
    # (#3) `head Makefile` from the kernel and put the right version numbers here
    version = "6.2.0";
    modDirVersion = "6.2.0-rc2";
    # (#4) `nixos-rebuild boot`, reboot, test.
  };
});

Getting this defined requires a couple intermediate steps... Step #3.1 -- put the version that git bisect asked me to test in (#1) Step #3.2 -- clear out sha256 Step #3.3 -- run a nixos-rebuild boot Step #3.4 -- grab the sha256 and put it into the sha256 field (#2) Step #3.5 -- make sure the major version matches at (#3) and (#4)

Then run nixos-rebuild boot.

Step #4: Test!

Reboot into the new kernel, and test whatever is broken. For me I was able to set up a simple test protocol: xset dpms force off to blank my screens, wait 30 seconds, and then wake them. If my kernel panicked then it was a fail.

Step #5: Repeat the bisect

Go into the linux source tree and run git bisect good or git bisect bad depending on whether the test succeeded. Return to step #3.

Step #6: Revert it!

For my case, I eventually found a single commit that introduced the problem, and I was able to revert it from my local kernel. This involves leaving a kernel patch in my NixOS config like this:

  boot.kernelPatches = [
    { patch = ./revert-bb2ff6c27b.patch; name = "revert-bb2ff6c27b"; }
  ];

This probably isn't the greatest long-term solution, but it gets my desktop stable and I'm happy with that for now.

Profit!

1
SaaS RSS hosting (www.rss-hosting.com)
1
submitted 3 years ago* (last edited 3 years ago) by kevincox@lemmy.ml to c/rss@lemmy.ml
 

I know the Email isn't everyone's favourite RSS reader but it works really well for me. I wasn't happy with any of the existing services so I started my own.

https://feedmail.org/ is a low-cost RSS-to-Email service with nice clean templates. I'm happy to answer any questions.

 

This is a service I created to consume RSS feeds via email. This has been my preferred way to consume RSS for a while but I never found a service that I was really happy with and no self-hosted tool easy enough to manage.

So I created FeedMail mostly for myself but decided to share with others. I would appreciate feedback and any questions you have.

view more: ‹ prev next ›