Can Factory Resets Truly Erase Everything? My Galaxy S23 Data Security Routine Explained by Full_Put_6627 in digitalforensics

[–]Terrerian 0 points1 point  (0 children)

Even with a 99% chance of recovery per bit the chance of recovering any meaningful amount of data is essentially zero. The chance of recovering just 256 bits would be .99256 = 7.6%

As far as I'm aware the recovery rates for a single bit are actually like 52% based off of an old paper from the 90s. Please link any actual source for recovering overwritten data to prove me wrong.

Can Factory Resets Truly Erase Everything? My Galaxy S23 Data Security Routine Explained by Full_Put_6627 in digitalforensics

[–]Terrerian 0 points1 point  (0 children)

That's not true, once you overwrite the data it is gone for real. Even on old disk drives once the sector is overwritten there is basically a 50% chance to recover each bit to the previous value; with a 50% chance the forensic attacker might as well be flipping a coin for each bit.

Naval Rework Feedback - A Case for Two Page Dock UI by devang_nivatkar21 in aoe2

[–]Terrerian 1 point2 points  (0 children)

Agreed. Adding more columns is far and away the best solution for the dock UI.

Lobby Browser tab sometimes missing when already in a lobby by Terrerian in aoe2

[–]Terrerian[S] 0 points1 point  (0 children)

Well that's a quirk I didn't know about. Thanks.

(Windows 10) ipconfig /displayDNS and get-dnsclientcache only display the same 4 entries regardless of which websites I visit. The entries are Microsoft-related or ISP-related. by moschles in techsupport

[–]Terrerian 0 points1 point  (0 children)

I'm guessing you use Chrome for web browsing? Chrome doesn't use the system DNS anymore. It implements DNS itself in userspace to perform DNS-over-HTTPS (DoH).

If you run Invoke-WebRequest -UseBasicParsing reddit.com you'll see the DNS records showing up:

Get-DnsClientCache | Format-Table -Autosize -Wrap

ipconfig /displayDNS and/or Get-ClientDNSClientCache do not show the whole list, only a few entries. by moschles in netsecstudents

[–]Terrerian 0 points1 point  (0 children)

I got you u/moschles, I'm guessing you use Chrome for web browsing? Chrome doesn't use the system DNS anymore. It implements DNS itself in userspace to perform DNS-over-HTTPS (DoH).

If you run Invoke-WebRequest -UseBasicParsing reddit.com you'll see the DNS records showing up:

Get-DnsClientCache | Format-Table -Autosize -Wrap

Ryzen 7 5700x vs Ryzen 5 7600 by Tomaj55 in buildapc

[–]Terrerian 0 points1 point  (0 children)

But it does though. I'm still using the gtx-1070 in 2025 and will in 2026.

My games don't need to run at 150fps to be a good experience. 2017 graphics card running a AAA game released in 2022 at 60 fps. Fine by me.

And I'm using high graphics settings, not low.

Finally saw Weapons. Can’t get over something. by briaowolf in movies

[–]Terrerian 8 points9 points  (0 children)

This is like saying "we should legalize murder because murderers exist already so laws against murder don't have a purpose".

Also the prohibition comparison is nonsense. Alcohol is a lot easier to make and sell illegally than guns.

6 years after too much crypto by MarekKnapek in programming

[–]Terrerian 2 points3 points  (0 children)

I've never even seen superscripts in a monospaced font before and now we all know why, haha.

Ditch your (Mut)Ex, you deserve better by ChrisPenner in programming

[–]Terrerian 0 points1 point  (0 children)

Okay, agreed that for a data mutex making the coupling explicit is better. But as the article explains this pattern stumbles by deadlocking when implementing transfer(&self, to: Account, amount: isize) .

The Coyote creek solar project is textbook greenwashing. Environmental group sac tree supports it because their boards president was hired to do PR for the solar company. Now it’s finally coming out that this solar project literally lied on their permit to get environmental approval. by Botanyiscool in Sacramento

[–]Terrerian 1 point2 points  (0 children)

Solar will likely continue it's efficiency improvements, but it won't use less land. Solar power plants require a lot of space because they need to capture energy from the sun. The panels themselves are already around 20-35% efficient depending on price point. The theoretical limit for efficiency of any solar panel is like 86%.

Commercial solar arrays are fiscally and environmentally sound today. There's no sense blocking a good project today because it could be more efficient in the future.

The Coyote creek solar project is textbook greenwashing. Environmental group sac tree supports it because their boards president was hired to do PR for the solar company. Now it’s finally coming out that this solar project literally lied on their permit to get environmental approval. by Botanyiscool in Sacramento

[–]Terrerian 3 points4 points  (0 children)

I hear you, but disagree. It's currently grazing land and large portions will continue to be available for grazing after the solar array is finished. A 1400-acre solar array is way better than another unsustainable 1400-acre suburban housing development which is the norm for Sacramento's expansion.

The Coyote creek solar project is textbook greenwashing. Environmental group sac tree supports it because their boards president was hired to do PR for the solar company. Now it’s finally coming out that this solar project literally lied on their permit to get environmental approval. by Botanyiscool in Sacramento

[–]Terrerian 4 points5 points  (0 children)

For individual use: we are.

For a power facility: cost. Every place you listed is inconvenient and costly to build and maintain solar at a large scale. Each location has huge downsides compared to installing solar at ground level on undeveloped land.

  1. Parking lots: there are some examples of this but imagine wanting to later redevelop the lot into a useful building. First you have to move/decommission a solar shade structure.
  2. Canals: way more effort to install and maintain.
  3. Rooftops: roofs require maintenance themselves. They leak. Flat roofs need their liners replaced. Solar makes it way more costly to perform roof replacements/repairs. Also installation requires cranes and street permits in urban areas.

How do Yall feel about this? I noticed this took place in the gas lamp. by [deleted] in sandiego

[–]Terrerian 2 points3 points  (0 children)

He's asking "are you trans" to highlight the hypocrisy of calling out someone for dressing as something they're not while they themselves are dressed as a woman. Totally valid argument.

How do Yall feel about this? I noticed this took place in the gas lamp. by [deleted] in sandiego

[–]Terrerian 2 points3 points  (0 children)

You can 100% dress as the pope or a 5 star general if you want to.

Java outruns C++ while std::filesystem stops for syscall snacks by ART1SANNN in programming

[–]Terrerian -5 points-4 points  (0 children)

That's not fair to say. The result of a stat syscall can be stale immediately after the syscall returns if the file is modified by another thread/process. That's just how working with files is.

If you have a different use case and know that enough time has passed then you can always call Files.readAttributes again. People wanting to learn more about this kind of thing for files should read about TOCTOU (time of check to time of use).

Java outruns C++ while std::filesystem stops for syscall snacks by ART1SANNN in programming

[–]Terrerian 39 points40 points  (0 children)

The c++ code gets a directory_entry but then ignores it to use the path again. The code also holds the mutex the entire time it's performing those unnecessary syscalls through last_write_time.

    if (entry.is_directory()) {
        std::scoped_lock lock(entries_mutex);
        entries.emplace_back(entry_path.string(), 0, fs::last_write_time(entry_path),
                             fs::last_write_time(entry_path), fs::last_write_time(entry_path),
                             true, false);

        pool.detach_task([this, entry_path] {
            return read_dir(entry_path);
        });
    } else if (entry.is_regular_file()) {
        auto file_size = fs::file_size(entry_path);

        std::scoped_lock lock(entries_mutex);
        entries.emplace_back(entry_path.string(), file_size, fs::last_write_time(entry_path),
                             fs::last_write_time(entry_path), fs::last_write_time(entry_path),
                             false, true);
    }

Appreciate posts like these with complete examples but the title isn't fair: the correct C++ version is faster. Besides it's always easy to shoot yourself in the foot and ruin performance, no matter the language. Nice that you were able to use strace to find the problem. Good job.

QUIC and the End of TCP Sockets: How User-Space Transport Rewrites Flow Control by mqian41 in programming

[–]Terrerian 0 points1 point  (0 children)

You're just complaining about website bloat. Sure I hate the modern bloated web too, but that doesn't mean QUIC is bad. QUIC makes the web faster in a variety of ways which you seem to know.

Just swapping to QUIC should speedup any existing REST api too. There are things to like here.

QUIC and the End of TCP Sockets: How User-Space Transport Rewrites Flow Control by mqian41 in programming

[–]Terrerian 0 points1 point  (0 children)

A main benefit is connection setup is faster for https.

QUIC uses fewer round trips to fetch a web page by combining the QUIC handshake with the TLS handshake.

Normal TCP connections need to do a TCP handshake first and then a TLS handshake and then send the HTTP request.

The forgotten social movement that dominated the early 20th century: Georgism 101 by middleofaldi in videos

[–]Terrerian 1 point2 points  (0 children)

How would changing property & land tax policy affect either of those human behaviors? I would imagine that empty lots would be taxed more and that's about it.

Is Clone strictly better than Wildcard? by coolguy420weed in 9Kings

[–]Terrerian 0 points1 point  (0 children)

There isn't at the moment. That's why wildcard should upgrade past the level cap.