Skip Navigation
Canonical Announces Availability of Real-Time Kernel for Ubuntu 24.04 LTS - 9to5Linux
  • An alternative definition: a real-time system is a system where the correctness of the computation depends on a deadline. For example, if I have a drone checking "with my current location + velocity will I crash into the wall in 5 seconds?", the answer will be worthless if the system responds 10 seconds later.

    A real-time kernel is an operating system that makes it easier to build such systems. The main difference is that they offer lower latency than a usual OS for your one critical program. The OS will try to give that program as much priority as it wants (to the detriment of everything else) and immediately handle all signals ASAP (instead of coalescing/combining them to reduce overhead)

    Linux has real-time priority scheduling as an optional feature. Lowering latency does not always result in reduced overhead or higher throughout. This allows system builders to design RT systems (such as audio processing systems, robots, drones, etc) to utilize these features without annoying the hell out of everyone else.

  • Removed
    Report: Institutional Investors Will Own Over 40% of Single-Family Rental Homes by 2030
  • Base it off of total sqft?

    I'm struggling to see how someone would need a combined 40000 sqft of residential living space either...

  • Mystery malware destroys 600,000 routers from a single ISP during 72-hour span
  • Yeah I completely forgot about the consumer side of things. I was expecting there being Cisco iOS/FRR router configs, not a full web dashboard.

  • Mystery malware destroys 600,000 routers from a single ISP during 72-hour span
  • As someone who works with 100Gbps networking:

    • why the heck do these routers run Lua of all things???
  • RIP Twitter Dot Com: Elon Musk Moves Social Network to X Web Address
  • Nah, just grab the domain and redirect it to X. Watch him explode.

  • Chinese startup launching RISC-V laptop for devs and engineers priced at around $300
  • How good are the RISC-V vector instructions implementations IRL? I've never heard of them. My experience with ARM is that even on certain data center chips the performance gains are abyssal (when using highly optimized libraries such as dpdk)

  • Chinese startup launching RISC-V laptop for devs and engineers priced at around $300
  • Harder to write compilers for RISC? I would argue that CISC is much harder to design a compiler for.

    That being said there's a lack of standardized vector/streaming instructions in out-of-the-box RISC-V that may hurt performance, but compiler design wise it's much easier to write a functional compiler than for the nightmare that is x86.

  • Help me navigate the world of debloated/custom Windows 11 Installs
  • Oh nice! A new tool! Do you happen to know how this compares to win10privacy?

  • systemdeez nuts
  • systemd tries to unify a Wild West situation where everyone, their crazy uncle, and their shotgun-dual-wielding Grandma has a different set of boot-time scripts. Instead of custom 200-line shell scripts now you have a standard simple syntax that takes 5 minutes to learn.

    Downside is now certain complicated stuff that was 1 line need multiple files worth of workarounds to work. Additionally, any custom scripts need to be rewritten as a systemd service (assuming you don't use the compat mode).

    People are angry that it's not the same as before and they need to rewrite any custom tweaks they have. It's like learning to drive manual for years, wonder why the heck there is a need for auto, then realizing nobody is producing manual cars anymore.

  • YouTube is finally cracking down on third-party apps that enable ad-blocking
  • Vanced got taken down due to trademark violations.

    They need something more substantial for revanced. Especially since it's only a set of binary patches and there is no redistribution of YT source code.

  • Stopping a badly behaved bot the wrong way.
  • iirc the bad UA filter is bundled with either base-http-scenarios or nginx. That might help assuming they aren't trying to mask that UA.

  • Stopping a badly behaved bot the wrong way.
  • Pretty sure expiry is handled by the local crowdsec daemon, so it should automatically revoke rules once a set time is reached.

    At least that's the case with the iptables and nginx bouncers (4 hour ban for probing). I would assume that it's the same for the cloudflare one.

    Alternatively, maybe look into running two bouncers (1 local, 1 CF)? The CF one filters out most bot traffic, and if some still get through then you block them locally?

  • Stopping a badly behaved bot the wrong way.
  • I've recently moved from fail2ban to crowdsec. It's nice and modular and seems to fit your use case: set up a http 404/rate-limit filter and a cloudflare bouncer to ban the IP address at the cloudflare level (instead of IPtables). Though I'm not sure if the cloudflare tunnel would complicate things.

    Another good thing about it is it has a crowd sourced IP reputation list. Too many blocks from other users = preemptive ban.

  • WARNING: Malicious code in current pre-release & testing versions/variants: F40 and rawhide affected - users of F40/rawhide need to respond
  • According to this post, the person involved exposed a different name at one point.

    https://boehs.org/node/everything-i-know-about-the-xz-backdoor

    Cheong is not a Pingyin name. It uses Romanization instead. Assuming that this isn't a false trail (unlikely, why would you expose a fake name once instead of using it all the time?) that cuts out China (Mainland) and Singapore which use the Pingyin system. Or somebody has a time machine and grabbed this guy before 1956.

    Likely sources of the name would be a country/Chinese administrative zone that uses Chinese and Romanization. Which gives us Taiwan, Macau, or Hong Kong, all of which are in GMT+8. Note that two of these are technically under PRC control.

    Realistically I feel this is just a rogue attacker instead of a nation state. The probability of China 1. Hiring someone from these specific regions 2. Exposing a non-pinying full name once on purpose is extremely low. Why bother with this when you have plenty of graduates from Tsinghua in Beijing? Especially after so many people desperate for jobs after COVID.

  • When you realized you forgot sudo
  • Iirc the specific reason behind this is

    • sudo by default requires a tty to run
    • vim's bang spawns a tty to execute commands
    • nvim's bang executes the command directly, then pipes the output to nvim

    As a result, sudo (without args) can't work in nvim as it doesn't have a tty to prompt the user for passwords. Nvim also used to do what vim did, but they found out spawning the tty was causing other issues (still present in vim) so they changed it.

  • When you realized you forgot sudo
  • :w !sudo tee %
    

    Warning: does not work for neovim

  • Critically acclaimed Dragon's Dogma 2 hits "mostly negative" on Steam after players raze it for microtransactions
  • My personal complaints (despite enjoying the gameplay):

    1. Input lag. It's negligible compared to other games, but comparing it to DDDA it feels much higher (meh vs "oh wow this is smooth!")

    2. FSR. There is definitely something wrong with the FSR implementation here, because there are minor traces of ghosting that are not present in other games. Rotate your character in the character selection screen, or look at a pillar with water as the backdrop with light rays nearby. That being said, it becomes less obvious during actual gameplay. I do hope that this will be fixed though.

  • Critically acclaimed Dragon's Dogma 2 hits "mostly negative" on Steam after players raze it for microtransactions
  • Been playing it since release and I have to say I quite like it. The mtx is less intrusive than Dragon Age Origins' DLC (no mention in game at all versus "There's a person bleeding out on the road, if you want to help him please go to the store page").

    So far, the game is a buttery smooth 60 fps at 4k max graphics + FSR3 w/o ray tracing except for inside the capital city (running 7800x3d with a 7900xtx). The only graphics complaint I have is the FSR implementation is pretty bad, with small amounts of ghosting under certain lighting conditions. There's also a noticeable amount of input lag compared to the first game: not game breaking, but if you do a side-by-side comparison it's pretty obvious.

    Sure the game has its issues, but right now this looks like something that I enjoy. Games don't need to be masterworks to be fun (my favorite games are some old niche JRPGs that have been absolutely demolished by reviewers at the time), and right now I think it's money well spent.

  • Vending machine error reveals secret face image database of college students
  • I assert that this tech is biased towards bears and racoons.