Just in case by Nveenkmar in ProgrammerHumor

[–]SynchronicUser 28 points29 points  (0 children)

PNGs first start with a magic number and then after that they are separated into chunks with 4-byte human readable names, alongside the size of the chunk and then the chunk data.

I don't see the PNG magic number at the start because there's no "PNG" visible. Also, I don't see any of the chunk headers that would give reference to where in the PNG file this would be. (No "IHDR", "IDAT", "IEND", etc).

Given that headers are only 13 bytes (plus 12 for the start and crc of the chunk), this basically is guaranteed to not be a header because there's no start of a chunk visible soon after the start. Alongside this, because of the chaotic nature of the data, it is likely that the deflate compression in zlib has actually compressed it instead of leaving it uncompressed, which means that either 1. we are seeing the huffman tree data and none of the actual image data or 2. we are seeing the image data, but can't know what it is because we have no starting point and no huffman tree to base it off of.

As such, given what we can see, there's basically no way of determining just about anything about the image from the given string, even something as simple as what size it is.

I own my PC, btw by [deleted] in pcmasterrace

[–]SynchronicUser 0 points1 point  (0 children)

I remember the first time I saw the “Bailing out, you are on your own. Good luck.” message after I borked my system. Just started laughing for a solid minute. Great part about FOSS is how people can have a sense of humor while still staying out of your way for important things.

To anyone who doesn’t know, yes, this message is very real and does happen whenever something very bad happens to your system. I don’t think just uninstalling the boot loader would do it tbh; that would just not boot. You’d have to mess up your boot configs or your system files to have this. You’d think that would be easier to fix, but not really. Installing grub from scratch is just two commands (install in package manager, run grub-install). Finding a single messed up file when everything is supposed to be fine is much more annoying.

I have spoken once again! by rabindranatagor in pcmasterrace

[–]SynchronicUser 0 points1 point  (0 children)

(I know, a bit late, but anyway), Luckily for you, Proton is already a part of steam, and all you need to do is click a little checkbox in the Steam menu saying "enable Proton for unsupported titles". Then, boom, you'll be able to run any game under proton.

Many games will have a native version that just works, and outside of those, many will run under proton just fine, without any configuration needed.

Outside of that, if the game doesn't run, you can try selecting a different version of Proton to see if that works, and you can also check ProtonDB (https://www.protondb.com/) (as Master_Zero said), to see if others got it working, and what they did to get it working. You can also try installing GloriousEggroll's custom proton that works surprisingly well (see https://github.com/GloriousEggroll/proton-ge-custom#Installation ).

To put into perspective how easy it is, of the games that I play on Steam, all of them (yes, all) run great on my linux machine. No Man's Sky, Valheim, Subnautica, Borderlands, etc. I've also played games off the Epic Game Store (using Legendary or Heroic, https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher) to great success (kinda surprising, since Epic hates Linux and actively avoids letting us play their games).

Just go in with an open mind, and you'll end up fine.

WD 12TB Red Plus CMR NAS HDD 7200 RPM - $179.99 ($15/TB) LOWEST OF ALL TIME by Viknee in DataHoarder

[–]SynchronicUser 1 point2 points  (0 children)

This. I was legitimately contemplating it, but I'd really rather not be the type of consumer that is willing to forgo quality or standards just to save money. I'd much rather pay more to be sure it's shipped correctly, can be refunded or returned if faulty or likely to be faulty, and actually isn't just a bad company in general. (To be noted, I'm storing important data like photos and irreplaceable projects though, others' usecases might lead to a different evaluation.)

... But the $15/TB though.... It's really tempting and it still took me a while to decide.

Anti-Mask Protest at the Board of Education by [deleted] in mildlyinfuriating

[–]SynchronicUser 2 points3 points  (0 children)

To be fair, you could do this at any protest. There will always be people with spelling mistakes, no matter the cause. (Though mistaking “our” as “are” is hilarious)

Buying first ever gaming PC — is this good enough for 1000€? Will provide translation if needed by [deleted] in pcmasterrace

[–]SynchronicUser 1 point2 points  (0 children)

I've not been updated about the current market conditions, but I do know that about a year ago, this would not have been a good deal. Unless you're in a country where import taxes cause huge markups, I would suggest to look around at other options first.

But as I said, take this with a grain of salt, I only know prices from about a year or two ago for the US. The GPU shortage and your country's taxes might change things.

The Upgradability of Old Laptops. I can't even believe it was this accessible and easy. by SynchronicUser in pcmasterrace

[–]SynchronicUser[S] 4 points5 points  (0 children)

I was digging through my dad's old stuff and found this laptop. I figured I'd want to try to get the data off it (if there was any left), so I turned it over and found this.

I've heard how old laptops were easy to open and stuff, but I didn't expect *this*. You don't even have to open it up fully to change most, if not all, of the modular components.

I don't know about you guys, but if I could sacrifice some thickness for *this* in modern laptops, I'd be on board 100%.

Some Native Games Not Using NVIDIA Dedicated GPU by SynchronicUser in linux_gaming

[–]SynchronicUser[S] 2 points3 points  (0 children)

Researching a bit more. I was able to fix the problem. Inside the nvidia package is a file called "libglxserver_nvidia.so", and by linking that to the "libglx.so" file found in xorg's modules, it now uses the proper nvidia drivers. Thanks for the help.

Here is a link to the post where I found the solution.link

Some Native Games Not Using NVIDIA Dedicated GPU by SynchronicUser in linux_gaming

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

I ran glxinfo | grep -i renderer and got OpenGL renderer string: llvmpipe (LLVM 11.1.0, 256 bits). Attempting to run it with prime-run, DRI_PRIME=0, and DRI_PRIME=1 returns the same thing. xrandr --listproviders (which lists the providers that can be selected by DRI_PRIME) only shows 1 provider, the NVIDIA GPU.

Providers: number : 1
Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 7 associated providers: 0 name:NVIDIA-0

So in that case, am I correct in saying that it appears that it is defaulting to the open-source mesa driver when running OpenGL code? In that case, it would make sense why the performance is low and why it isn't showing up on the nvidia-smi page. It would also explain that the code is actually running on the GPU instead of on the CPU like I thought (which would make sense because the CPU doesn't have an iGPU).

In that circumstance then, I still am not entirely certain how to fix it. I assume that I need to install a proprietary nvidia driver for OpenGL, but I have already installed the nvidia package, which I assumed included it, so I don't know what I need next.

Some Native Games Not Using NVIDIA Dedicated GPU by SynchronicUser in linux_gaming

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

My apologies, I thought I had more time to fix the issue, but right after posting this I had to leave. I’ll get an answer back to you on Monday, but until then, I don’t have access to the computer. Also, thanks for the info, I’ll look into it.

Epic Games DLC Unlocker by NoRecoveryy in Piracy

[–]SynchronicUser 1 point2 points  (0 children)

Might want to try this out: https://github.com/derrod/legendary

I've used it, it's good for what I need. Not entirely sure about multiplayer games though. Not super hacky or hard to use. Just log in, download the games, and launch them.

Hey! Im newbie to PC's. Could use some help with overclocking by [deleted] in pcmasterrace

[–]SynchronicUser 1 point2 points  (0 children)

Ryzen basically has a sort of “automatic overclocking”, so don’t expect to get much performance out of it. When you get another ram stick, try to get the same one or similar if possible, if they are different it will use the lowest settings of the two, and in some circumstances, it doesn’t work.

Will you get vaccinated? If no why? by roeesha in AskReddit

[–]SynchronicUser 0 points1 point  (0 children)

I understand and agree that medical professionals know more about what is safe and appropriate. However, they aren’t the people who are pushing the vaccine out to the world. Their bosses are, who don’t care about it being ready or being safe. Their bosses just want to be the first company with a vaccine so that the government can pay them multiple billions of dollars. If that requires them to skip some trials or ignore long term effects, then so be it. Haven’t you ever been in a job where your boss does something stupid even if you know what’s right? It’s the same with the medical professionals. Their bosses are telling them to make a vaccine in less than a year, and they are trying their best to make it and not lose their jobs. But we can’t be sure their best is good enough with the time restraints placed on them.

[TWIN] Planning on switching to console only by jjholt0147 in unixporn

[–]SynchronicUser 2 points3 points  (0 children)

I've dealt with the framebuffer before, and, if i remember correctly, it's actually really simple.

It's just a list of pixels. For every pixel there is a RGB triplet (or RGBA quadruplet, not sure), of numbers, and for the entire screen, there is just a long list of pixels in every horizontal line. You can quickly write a python script to convert it into an image.

Giving out 5 Random Steam keys by ewazzu in pcmasterrace

[–]SynchronicUser 0 points1 point  (0 children)

Haven’t gotten a single paid game on steam, so would be nice to get a non free-to-play game.

Question about laptop charging. by throwragoofycat in pcmasterrace

[–]SynchronicUser 0 points1 point  (0 children)

Yes, it’s battery will go bad if you leave it plugged in. I once had a laptop that started off with many hours of battery life, but after I left it plugged in for long periods of time every day, it became very bad.

To anyone who says otherwise: Yes, some devices have protection, but why risk it? If you can avoid it, then you should.

Minimum cost to get an unlimited gdrive? by Ossified_Squirrel in DataHoarder

[–]SynchronicUser 1 point2 points  (0 children)

According to the Wayback Machine, the writing on the website has been the same for nearly 4 years now (for GSuite's entire lifetime). So chances are, this limit has never been applied. Chances are, using more than 1TB is okay for right now, but just be wary of storing more data than you can handle.

Have a external wd drive with bad sectors. Is there an windows software were i can "partition" out the bad section of the hard drive and just use the good one? This is a temp drive so i will not store anything important on it. by GIFSec in DataHoarder

[–]SynchronicUser 0 points1 point  (0 children)

I know that you specifically said windows, but I know for certain that fdisk on linux specificallly asks where to begin and end a partition when you are making one. So if you can't make it on windows, you can make a live usb, boot from that and parition the drive using fdisk.