[-] stardreamer@lemmy.blahaj.zone 13 points 5 months ago

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.

[-] stardreamer@lemmy.blahaj.zone 12 points 5 months ago

As someone who works with 100Gbps networking:

  • why the heck do these routers run Lua of all things???
[-] stardreamer@lemmy.blahaj.zone 13 points 10 months ago

I believe it. Linux is not a good measure of efficiency (see kernel bypass tcp stacks, af_xdp, dpdk, spdk, etc). You can almost always make something more efficient/faster than Linux for a given task. The problem is doing that while having support for almost all hardware/configurations/uses cases under the sun.

[-] stardreamer@lemmy.blahaj.zone 12 points 10 months ago

This probably sounds pedantic but based on this the issue isn't that the software is Russian. It's that the software is under the regulation of an authoritarian government (which is Russia)

[-] stardreamer@lemmy.blahaj.zone 15 points 10 months ago* (last edited 10 months ago)

Nothing but effort. Nobody wants to constantly baby a project just because someone else may change their code at a moment's notice. Why would you want to comb through someone else's html + obfuscated JavaScript to figure out how to grab some dynamically shown data when there was a well documented publicly available API?

Also NewPipe breaks all the time. APIs are generally stable, and can last years if not decades without changing at all. Meanwhile NewPipe parsing breaks every few weeks to months, requiring programmer intervention. Just check the project issue tracker and you'll see it's constantly being fixed to match YouTube changes.

[-] stardreamer@lemmy.blahaj.zone 13 points 10 months ago

Pros of working in an office:

  • clear separation of work and home
  • can easily ask coworkers next to you for a second opinion on things

Cons of working in an office:

  • commute
  • coworkers casually ask you for a second opinion on everything
[-] stardreamer@lemmy.blahaj.zone 12 points 11 months ago

Out of curiosity, what's preventing someone from making a regulatory db similar to tzdb other than the lack of maintainers?

This seems like the perfect use case for something like this: ship with a reasonable default, then load a specific profile after init to further tweak PM. If regulations change you can just update a package instead of having to update the entire kernel.

[-] stardreamer@lemmy.blahaj.zone 13 points 11 months ago

Land's cursed. Almost as if America was built on top of an ancient Native American burial ground or something.

[-] stardreamer@lemmy.blahaj.zone 12 points 1 year ago* (last edited 1 year ago)

Reminds me of FFXI, where the devs considered Alt-Tabbing on PC cheating thus made it deliberately crash to desktop.

[-] stardreamer@lemmy.blahaj.zone 14 points 1 year ago

Yep it's Intel.

They said it up until their competitor started offering more than 4 cores as a standard.

[-] stardreamer@lemmy.blahaj.zone 14 points 1 year ago* (last edited 1 year ago)

It's based on a book by Sir Terry Pratchett (GNU Terry Pratchett, you shall be missed) and Neil Gaiman. If you know Pratchett then you know it's mostly going to be an absurdist comedy.

Other works I recommend from Pratchett are Going Postal, Equal Rites, and Guards! Guards!

[-] stardreamer@lemmy.blahaj.zone 12 points 1 year ago* (last edited 1 year ago)

Sounds like a job for crowdsec. Basically fail2ban on steroids. They already have a ban scenario for attempts to exploit web application CVEs. While the default ssh scenario does not ban specific usernames, I'm pretty sure writing a custom one would be trivial (writing a custom parser+scenario for ghost cvs from no knowledge to fully deployed took me just one afternoon)

Another thing I like about crowdsec is the crowd sourced ban IPs. It's super nice you can preemptively ban IPs that are port-scanning/probing other people's servers.

It's also MIT licensed and uses less ram than fail2ban.

view more: ‹ prev next ›

stardreamer

joined 1 year ago