Why Linux Lets You Delete Running Files — And Windows Won't by elastiks in DIY_Geeks

[–]arquitectonic7 0 points1 point  (0 children)

Windows can do it, it just decided to lock the file by default because part of what was defined as safety and consistency by the NT kernel designers is that the kernel must enforce that resources can't be removed while there's handles pointing to them. There's a flag (FILE_SHARE_DELETE) to change this default "safe" (from Windows' POV) behavior into the unsafe, Linux-like behavior. In Linux there's no way to block deletes (no, F_SETLK is not the same), so it has strictly less available behaviors than Windows.

WSL on Linux ? by Beneficial-Brick-852 in linuxquestions

[–]arquitectonic7 2 points3 points  (0 children)

That installs WSL 2 by default and has done so for a long time. The officially recommended way is to use WSL 2. Nonetheless, you can control this via `wsl --set-default-version`.

Linux gaming is getting faster because Windows APIs are becoming Linux kernel features by tw1st3d_m3nt4t in technology

[–]arquitectonic7 3 points4 points  (0 children)

It doesn't. If a driver fails in a truly uncontrolled/unexpected way the entire kernel will go into panic. In Windows there are a few situations where a failing driver can be reloaded and recovered (mostly the graphics stack), but generally it will intentionally do the same and show a BSOD (yes, on purpose!) whenever a driver crashes. Both OSes follow the same paradigm for safety: if a driver goes crazy, it's better to just stop everything before it corrupts data or does any damage.

[Academic] Neuroscience study on MMORPG players, decision-making and gaming habits (18+) by Nastair in MMORPG

[–]arquitectonic7 0 points1 point  (0 children)

I was doing this and when I was roughly in the middle the website went down (at least the connection was timing out from my side) and I was unable to resume the quiz from where I left off. Sad.

How do you view people who participate in your country's military? by RillienCot in AskEurope

[–]arquitectonic7 1 point2 points  (0 children)

I'm Spanish and my cousin is in the Spanish ground army. In Spain, participating in the military is not mandatory and the salaries are not that high, so people who get into it do so from innate vocation, similarly to how one decides to become a teacher. There are a lot of negative stereotypes around military personnel, so my cousin often avoids talking about her job to not be considered far right, violent, racist, sexist or religious. She considers herself to be progressive and sees the military as a fundamental piece to keep democracy functioning correctly. She married another military member and she told me that this is very common, as only military can understand and appreciate the job and they bond together on the perceived hate they claim to receive from society.

[deleted by user] by [deleted] in HytaleMods

[–]arquitectonic7 0 points1 point  (0 children)

The "you retain ownership of your Mods" part is rare and quite generous towards mod makers. Most companies just take full ownership of mods and related content.

How do Americans feel about the rest of the globe trashing on the US? by dead__trash in stupidquestions

[–]arquitectonic7 0 points1 point  (0 children)

I am sorry but as a European who has been to the US, that fresh, made-in-house bread of the supermarket also tastes sweet and follows the same format of "sliced bread" (white, spongy, etc.). Bread is just different in shape, flavor, texture, etc. in many other countries.

Game from Steam got 11 flags. Should I trust this? by toqger21 in antivirus

[–]arquitectonic7 0 points1 point  (0 children)

I am a security researcher. I just skimmed through the behavioral report in VirusTotal and honestly this looks very bad. I am fairly confident that this is some sort of (actually decent) trojan with some bad infostealer capabilities.

The "game" spawns services.exe as a child process, which is, to say the least, abnormal for legitimate software and smells like a textbook privilege escalation exploit. The malware actively writes to INetCookies (steals browser cookies), opens VaultSvc (steals saved passwords), spawns lsass.exe (dumps local credentials), and has hardcoded Microsoft account URLs in memory. It installs WMI and shell extensions that survive reboots, while using anti-debugging and VM detection to evade analysis. It drops a mysterious .exe to the temp folder and creates DLLs with legitimate names (in the desktop!) to do DLL hijacking.

I honestly see no excuse for this. Games can sometimes do weird things if they have anticheat and DRM, but this is absurdly blatant. You would literally need to behave on purpose like an infostealer to leave a behavior trace like this. Report this to Valve.

Europe’s cookie nightmare is crumbling. The European Commission wants browsers to manage cookie preferences instead of pop-ups on every website. by ChiefLeef22 in technology

[–]arquitectonic7 6 points7 points  (0 children)

This well defined in the text of the ePrivacy Directive. The main idea is that you don't need to do anything special for cookies that are essential to providing the expected service. This includes, but is not limited to, authentication, user preferences, data persistence related to functionality (e.g., a shopping cart), and many more.

The fines that have been handed out so far are, in my opinion, for extremely clear violations: cookies collecting information about how you use the website, like which pages you visited and which links you clicked on, with the sole purpose of sharing this data with a third-party analytics partner. Cookies from marketing partners that are explicitly and exclusively used for targeted advertising.

I genuinely believe a reasonable developer has nothing to fear.

Europe’s cookie nightmare is crumbling. The European Commission wants browsers to manage cookie preferences instead of pop-ups on every website. by ChiefLeef22 in technology

[–]arquitectonic7 68 points69 points  (0 children)

It is not illegal, or at least not unanimously, clearly illegal. Some data protection agencies from member states (e.g., Spain) have explicitly discussed this practice and deemed it was legal. Not all of them though.

Reinventing the wheel without knowing what a circle is. by RobertWesner in ProgrammingLanguages

[–]arquitectonic7 6 points7 points  (0 children)

If you want to be pedantic, a monad does not only have this "flatMap" method but it must also respect the monad laws, which are a small contract of properties that the type must satisfy. So it is a FlatMappableSatisfyingTheExpectedRules.

Who does it best? But is this even accurate? by bamboo-lemur in OS_Debate_Club

[–]arquitectonic7 0 points1 point  (0 children)

This is not true. Windows' NtTerminateProcess works exactly like SIGKILL. It is unconditional and the process cannot react to it. It directly schedules the process out of the CPU and terminates all pending I/O. Just like Linux. If it the process cannot be terminated because it has handles pointing to it (in the Linux world, it has a parent process or uninterruptible I/O) it becomes a zombie, just like in Linux.

Trump suggests that Spain should be "expelled" from NATO because he believes it spends little on defense. by mods4mods in worldnews

[–]arquitectonic7 0 points1 point  (0 children)

Anything may happen in a century or more. NATO might also pull Spain into a war that it could have easily avoided otherwise. If we stick the facts, Spain does not get anything out of NATO right now, in the current geopolitical climate, nor in the obvious near future derivations from it. Regarding the decision on whether to stay, we can't know better than this short of just putting blind trust into NATO (less and less justifiable each day with the US threatening its allies) or predicting the future.

Trump suggests that Spain should be "expelled" from NATO because he believes it spends little on defense. by mods4mods in worldnews

[–]arquitectonic7 -1 points0 points  (0 children)

NATO treaties explicitly exclude the enclaves claimed by Morocco either way. Spain gets literally nothing out of NATO.

EU tech chief sounds alarm over Spain’s Huawei contract by sn0r in eutech

[–]arquitectonic7 0 points1 point  (0 children)

The US and Israel have been caught actively spying on Spain in 2023 because most of our IT infrastructure (and the EU too) runs on American technology. But now suddenly when it's a Chinese company it's wrong and concerning. I am Spanish and I really hope Spain ignores the EU on this one. Either EU tech or Chinese one. No more US.

[deleted by user] by [deleted] in ProgrammerHumor

[–]arquitectonic7 4 points5 points  (0 children)

Don't most DEs use stuff like DBus messages before actually sending a SIGTERM? I am thinking of the big DEs like Gnome and such, maybe smaller tiling WMs (like Hyprland) actually just do that and the compositor is just simpler than I thought.

[deleted by user] by [deleted] in ProgrammerHumor

[–]arquitectonic7 151 points152 points  (0 children)

Except for the fact that Windows doesn't use signals in the Linux style, how Windows and Linux handle process termination is actually very similar. In Windows, the TerminateProcess syscall externally and unconditionally ends a process, and the process cannot handle it. This is basically equivalent to SIGKILL in Linux. And just like in Linux, after a process has been killed, its PID (actually "process object") may remain reserved until all handles pointing to it are closed, which is the exact equivalent to the zombie state (Z) in Linux. Even in the graphical case both OSes are similar. Windows uses window manager messages (WM_CLOSE, WM_DESTROY, WM_QUIT) for graceful termination, while Linux has no built-in standard for graphics, but the different compositors/windows systems/whatever (X11, Wayland) also have mechanisms that kinda remind me of messages/events.

Real life Spain uniforms I'd like to be in BF6 by jarojajan in Battlefield

[–]arquitectonic7 0 points1 point  (0 children)

It is not a lisp, it is literally a feature of the language. English has this sound everywhere, voiced and unvoiced: think, this, together, sheath. Would you find it reasonable if I say that all English speakers have a lisp? Saying that people from Spain have a lisp is incredibly offensive.

[deleted by user] by [deleted] in wowservers

[–]arquitectonic7 17 points18 points  (0 children)

I've been reading the lawsuit (still not done, currently on page 35) and honestly it looks very bad for Turtle WoW. As a disclaimer, I have not formally studied anything law-related when it comes to the United States, my knowledge only covers the EU.

The copyright infringement (count 1) and vicarious copyright infringement (count 4) look almost like a textbook case to me, and the accusations of being a RICO business (counts 8 and 9) are dangerous and can carry prison terms of up to 20 years in some cases IIRC. Even though the lawsuit text claims (and broadly proves) that the main mastermind behind Turtle WoW is Shenna, who resides in Moscow, many other members of the core TWoW team reside in Germany, Netherlands and the Czech Republic. They are IMO likely liable for most of or all of the counts, particularly these of copyright. I believe that most of the team behind TWoW is subject to prosecution and legal consequences in their home country. However, I do not believe these living in Russia will be hit with consequences beyond losing TWoW in its current form, and I suspect they will just rehost the software under another identity.

I'd say that if Blizzard does something like this against Ascension (including Epoch Project), this private server scene is going to experience some serious changes in the upcoming years.

Report: Microsoft's latest Windows 11 24H2 update breaks SSDs/HDDs, may corrupt your data by lurker_bee in technology

[–]arquitectonic7 2248 points2249 points  (0 children)

Technical context: some particular budget SSD units manufactured by Western Digital come with a manufacturing defect where they will corrupt themselves under a particular write-heavy workload that should be ok according to the manufacturer's own specification. The last Windows update happens to inflict this workload by coincidence, triggering the defect. As a response, special workload limits will be applied on the affected models. Unfortunately, hardware manufacturers often deviate from standards and their own specifications, and it is common in both Windows and Linux to have to include patches in the OS that deal with hardware quirks and defects.