@stardreamer@lemmy.blahaj.zone avatar

stardreamer

@stardreamer@lemmy.blahaj.zone

This profile is from a federated server and may be incomplete. Browse more on the original instance.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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)

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

Oh nice! A new tool! Do you happen to know how this compares to win10privacy?

stardreamer, (edited )
@stardreamer@lemmy.blahaj.zone avatar

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.

Stopping a badly behaved bot the wrong way.

I host a few small low-traffic websites for local interests. I do this for free - and some of them are for a friend who died last year but didn’t want all his work to vanish. They don’t get so many views, so I was surprised when I happened to glance at munin and saw my bandwidth usage had gone up a lot....

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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?

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.

YouTube is finally cracking down on third-party apps that enable ad-blocking (alternativeto.net)

The company’s team clarified that their terms prohibit third-party apps from disabling ads, as it denies creators their due reward for viewership. Although the announcement did not specify any app by name, it’s plausible to presume that third-party YouTube apps such as NewPipe, YouTube ReVanced, Piped, and others might be...

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.

stardreamer, (edited )
@stardreamer@lemmy.blahaj.zone avatar

According to this post, the person involved exposed a different name at one point.

boehs.org/…/everything-i-know-about-the-xz-backdo…

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.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

<span style="color:#323232;">:w !sudo tee %
</span>

Warning: does not work for neovim

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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.
stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

I assert that this tech is biased towards bears and racoons.

(Virginia) Bills to remove tax break for United Daughters of Confederacy likely headed to Youngkin (richmond.com)

The United Daughters of the Confederacy could lose tax exemptions pending proposals that have been working their way through Virginia’s legislature. With the Senate passing House Bill 568 on Tuesday, its similar companion, Senate Bill 517, is pending review in the House....

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

To anyone who doesn’t know who they are, here’s a nice piece of investigative journalism about them: newrepublic.com/…/united-daughters-confederacy-ra…

Join us at !longreads !

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

My issue with them is that they make their lower tier plans too enticing. I’ve wanted to upgrade to pro for all the fancy gizmos but the basic mail plan is just too good a deal to upgrade.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

Both Bluetooth and BLE are perfectly fine protocols. You won’t be able to design much for short distance with that much power savings otherwise. The main issue is that for any protocols like this you would most likely need to put it in the 2.4ghz unlicensed band. And that’s predominantly used by wifi these days.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

Final Fantasy is like Black Mirror, there are common themes, plot points, and names that persist throughout the series. However no two numbered titles share the same worldbuilding, lore, and characters.

It’s like what happened with Quake I-IV but on steroids. Very different games held together by a promise of what emotions you’d expect.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

Wouldn’t shining back be counterproductive for this? You want the solar panels to harness the energy, not returning it to sender

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

I’m familiar with the Apollo retro-reflectors. Though in all seriousness I doubt a laser would provide a substantial amount of power (unless you have a specialty designed energy collector like in RFID)

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

stares at the intern’s 400 line bash script

There are totally more flexible options. Just don’t mind the front falling off. It’s totally normal!

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

Simply changing the binary worked for me. Been more than 1 month and no migration issues.

It does still show gitea branding, however.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

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,
@stardreamer@lemmy.blahaj.zone avatar

My suggestion would be to try compiling the kernel locally.its highly likely the one packaged in your distro contains extensions that you don’t have. Doing a local native compile should rule that out pretty quickly without having to disable any additional features.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • kavyap
  • GTA5RPClips
  • vwfavf
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • Youngstown
  • ngwrru68w68
  • slotface
  • thenastyranch
  • ethstaker
  • khanakhh
  • rosin
  • megavids
  • InstantRegret
  • modclub
  • osvaldo12
  • anitta
  • everett
  • Durango
  • cisconetworking
  • cubers
  • Leos
  • provamag3
  • tacticalgear
  • tester
  • JUstTest
  • All magazines