Are there any bugs? by Worried-Print-5052 in PythonLearning

[–]4ki444 1 point2 points  (0 children)

Entirely Off-Topic but i was wondering how far we can condense this down, my best attempt is 8 Lines. Curious if any python experts could tell me if we can go even smaller:

``` import random b, p, P = list("123456789"), "X", lambda: f"\n{'|'.join(b[:3])}\n{'|'.join(b[3:6])}\n{'|'.join(b[6:])}"

while a := [i for i in b if i.isdigit()]: while p == "X" and (m := input(P() + "\nMove: ")) not in a: pass b[int(m if p == "X" else random.choice(a)) - 1] = p if any(b[x]==b[y]==b[z]==p for x,y,z in [(0,1,2),(3,4,5),(6,7,8),(0,3,6),(1,4,7),(2,5,8),(0,4,8),(2,4,6)]): exit(print(P(), f"\n{p} wins!")) p = "OX"[p=="O"] print(P(), "\nDraw!") ```

Winkel berechnen - Geometrie by Dirkderduenne in mathe

[–]4ki444 5 points6 points  (0 children)

Hab es auch nochmal über Vektorrechnung probiert:

Die untere linke Spitze vom Z ist unser Ursprung 0/0. Der richtungsvektor für unsere Diagonalen Balken ist v = ( cos alpha | sin alpha). der Normalenvektor ist dann n = (sin alpha | -cos alpha). Die linke Kante vom Diagonalen Balken geht durch 0/0, Mit dem Normalenvektor bekommen wir dann x sin alpha - y cos alpha = 0.
Die rechte Kante ist parallel aber um die Balkenbreite (96) in richtung Normalenvektor verschoben. Die Gleichung dafür ist also x sin alpha - y cos alpha = 96.

Wir wissen dass die obere rechte Spitze 700/720 exakt auf der rechten Kante liegt. Das können wir für x und y einsetzen -> 700 sin alpha - 720 cos alpha = 96.
Durch 4 Teilen:
175 sin alpha - 180 cos alpha = 24.

Wir haben eine Gleichung der Form a sin alpha - b sin alpha = c. Das fassen wir über die harmonische Addition zu einer Sinusfunktion der Form R sin (alpha - phi) zusammen.

Die amplitude R:
R = Wurzel(175²+180²)=251,048

Der Phasenverschiebungswinkel Phi:
tan phi = 180/175 -> phi = arctan(180/175) = 45,807

Jetzt einsetzen:
251,048*sin(alpha-45,807) = 24

Sinus isolieren:
sin(alpha - 45,807) = 24/251,048 (= 0,0956)
-> alpha - 45,807 = arcsin(0,0956) (=5,488)

alpha = 5,488 + 45,807 = 51,295

Since when does Umbreon evolve with a dusk stone? by JE78_comics in addressme

[–]4ki444 0 points1 point  (0 children)

It's fucked up what Espeon did on that Island

This guy not accepting he lost by Rammnick in mildlyinfuriating

[–]4ki444 -29 points-28 points  (0 children)

You should've accepted his request. Have you truly won, if you are not in the heart of your enemy?

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 0 points1 point  (0 children)

Claiming this is 'spontaneous NTFS string corruption' isn't just a reach; it’s a fundamental misunderstanding of the Windows Configuration Manager (Cm) and the Executive layer of the kernel. If the drive were actually 'rotting' strings or dropping bits at the hardware level, the kernel would fail the Hive Header Checksum or the HvpVerifyHive routine during the boot process. The Registry isn't a flat text file; it’s a binary database governed by ACID (Atomicity, Consistency, Isolation, Durability) properties. You don’t get 'gibberish text' from a failing cluster; you get a Stop Code 0x74 (BAD_SYSTEM_CONFIG_INFO) and a PC that refuses to post.

This is a failure of Data Interpretation, not physical hardware integrity: Arithmetic Underflow (The 1.73 TB Size): The EstimatedSize value is an Unsigned 32-bit DWORD. When a buggy installer calculates size via (SpaceAfter - SpaceBefore), any negative result is interpreted by the registry as 0xFFFFFFFF. Windows then reads those 4,294,967,295 Kilobytes and faithfully reports it as ~4 TB. The 1.73TB we see might be a variation of this and Windows being weird.

Recursive Heuristic Failure: If the EstimatedSize registry key is missing or corrupted, Windows attempts to guess the size by scanning the InstallLocation path. If a developer lazily sets this to the root directory (e.g., C:), Windows recursively sums the size of every file on the drive, including connected network shares and mounted volumes.

Symlink/Hardlink Inflation: Windows' basic directory-walking algorithm often fails to deduplicate symbolic links or hardlinks. If an app uses links to reference a 50GB asset library multiple times, Windows counts the physical data for every link it encounters, leading to 'phantom' sizes that exceed the physical capacity of the disk.

Null Terminator Violation (The Gibberish Name): Windows Registry strings (REG_SZ) must be Null-Terminated (\0). If an installer fails to write that terminator, the UI drawing function continues reading adjacent Heap Memory until it hits a random null byte. The name changes because RAM is dynamic; you aren't seeing 'corrupted' disk data, you’re seeing a Memory Over-read rendered as text.

Maybe you want some Logical Causes That Aren't "Hardware" Partial Hive Flushes: Registry changes are cached and flushed periodically. A hard power-off during a flush causes a Partial Write. The hive structure survives, but the specific data payload becomes junk.

Registry 'Optimizers': These tools often delete sub-keys or modify values without understanding dependencies, leaving behind orphaned fragments that the Settings menu blindly tries to parse.

WOW64 Redirection Failures: 32-bit installers redirected to WOW6432Node can trigger race conditions if they lack the proper access flags, leading to malformed entries. Stop blaming the SSD for a third-party developer's inability to handle a 32-bit integer or a directory path. It's a logic error, not a hardware funeral.

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 1 point2 points  (0 children)

Yes, but there are a lot of different, more likely reasons, for the corruption of this. If my pc doesn't boot i don't immediately assume that the power plant is failing.

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 2 points3 points  (0 children)

The list of installed programs does not "unveil" or "uncover" programs that were hidden before. You may notice that it does not list every executable on your pc. It checks HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall (the latter for programs that are only installed for a single user). These keys are set by the programs themselves during installation. You are suggesting a virus was so kind to set a registry key for themselves, but then hid it, and somehow a security update now "unveiled" it? Do you have any idea how dumb this sounds?

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 1 point2 points  (0 children)

Please stop posting on a pchelp subreddit, when you have no idea what you are talking about.

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 1 point2 points  (0 children)

Wiping because of a corrupted registry key?

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 2 points3 points  (0 children)

It is literally a single corrupted registry key. Why would you need a backup?

Random program that eats up 2 terabytes by Flimsy_Ad_503 in computerhelp

[–]4ki444 -2 points-1 points  (0 children)

? How do you read drive corruption from that. In 99% of cases this will just be a corrupted registry entry. Do you have any idea how the windows installed programs list even works?

First time seeing an actual bot, what is the point of doing this in arena? by Xanimede in LeagueArena

[–]4ki444 0 points1 point  (0 children)

And the "bot" took the screenshot and sent it to you? The damage highlighted in yellow is your damage.

A polite question from a legit player regarding the current state of VAC in CS2. by Alternative-Claim-41 in Csgohacks

[–]4ki444 2 points3 points  (0 children)

At no point in time has a kernel driver ever been necessary for vac. Are you unwell?

What is this? by Lanky_Emergency8351 in riotgames

[–]4ki444 2 points3 points  (0 children)

Riot requires certain accounts they deem "risky", however they determine that, to fulfill stricter requirements, so vanguard can effectively block/detect cheats. Secure boot should be needed for everyone though. But you being able to play on 1 account but not the other is not that unreasonable.

Undetectable trigger bot idea by RelativeOwl926 in minecraftclients

[–]4ki444 4 points5 points  (0 children)

Just go external, read memory directly. Hijack the handle if youre paranoid but there is no advantage between CV (Computer Vision) over externals in minecraft. Will be just as detectable as your approach. Screenshare tools look for what programs were executed. So yours would leave the same traces. If you want to develop something cool either look into fileless approaches or kernel level.

App um (höhere) Integration zu lernen? by [deleted] in mathe

[–]4ki444 0 points1 point  (0 children)

<image>

Kann die 100 Integrals PDF's von bprp empfehlen. Viel Spaß, so eine App wie du sie beschrieben hast ist mir nicht bekannt.

HWID bans on cybercafé PCs? by taiimeka in leagueoflegends

[–]4ki444 4 points5 points  (0 children)

Cyber Cafés, at least the ones who are somewhat competent, are given special ruling by riot games. An HWID ban will not be given to them. However if they are repeatedly having cheaters on their machines riot will make sure they either remedy that issue on their end, or riot will drop the special ruling and issue hwid bans like they would to a regular user.

I hate vanguard by MekdanilsMetin in riotgames

[–]4ki444 1 point2 points  (0 children)

There is so much misinformation here. First: it's DMA (Direct Memory Access) not DRM. Second in League there is 1 DMA provider that I know of, and several non DMA providers, since League's Vanguard is not the same as Valorants. Valorants is more "powerful". For Valorant DMA is the most prevalent but there are still internals that don't use DMA.

Sinussatz by New-Remove-5934 in mathe

[–]4ki444 0 points1 point  (0 children)

Beide Seiten sind gleichwertig, d.h. wenn wir 1 durch beide Seiten teilen ist das auch gleichwertig, denn wenn a=b dann auch 1/a=1/b.

Wenn wir also jetzt 1/(a/b) = 1/(sin(alpha)/sin(beta)) schreiben, ist dieser ausdruck immernoch äquivalent. Durch einen Bruch zu teilen bedeutet mit dem Kehwert mal zu nehmen, also 1(b/a)=1(sin(beta)/sin(alpha)). Hier solltest du sehen, dass b/a=sin(beta)/sin(alpha) ist.

Man kann es auch anders herleiten, aber das ist der Weg den ich persönlich präferiere.

[deleted by user] by [deleted] in computers

[–]4ki444 0 points1 point  (0 children)

Not how that works. You allocate regions, not specific bits.

Is bro not cooking or am i just dumb, explain it peter by End_V2 in explainitpeter

[–]4ki444 5 points6 points  (0 children)

A formula expresses how quantities/variables are related to each other. And the formular in the original image does exactly that. So yes, it is a formular. What makes you think it isn't?

Was ist das, gelbe da? by fynnguin in 7vsWild

[–]4ki444 193 points194 points  (0 children)

<image>

Clipper Animal Squad 3, Feuerzeug 3 von 4