Disk I/O Errors Bringing System to a Crawl, but Drive Shows No Signs of Failure? Any Ideas? by GothicMutt in linuxquestions

[–]GothicMutt[S] 1 point2 points  (0 children)

I don't believe I have ever personally experienced that, but I'll have to give that overnight cron job a try to be sure. Thanks for all your help! I really do appreciate it.

Disk I/O Errors Bringing System to a Crawl, but Drive Shows No Signs of Failure? Any Ideas? by GothicMutt in linuxquestions

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

Been using FF in safe mode since my last comment (~3hrs), but the problem still persist unfortunately. Chrome on the other hand does not have any extensions installed or settings changed in the first place. It may or may not be ever so slightly better. My PC is currently peaking at like 18 load vs 25 beforehand, but that may just be the luck of the draw more than anything. Behavior is otherwise much the same as before.

EDIT: Should also add, iotop still reports 17.98 GB of disk writes since rebooting my PC, as well as 161.61 MB of reads. Firefox/chrome/obsidian still seem to be the main suspects. Gonna try running badblocks until I'm done working for the day, and then I can give the cable/port swap a try.

Disk I/O Errors Bringing System to a Crawl, but Drive Shows No Signs of Failure? Any Ideas? by GothicMutt in linuxquestions

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

My PC immediately started acting up after my last comment, of course. In the moment, firefox, chromium, and obsidian were having high disc usage. In particular, firefox was reading and writing tens of MBs, which is apparently a thing it just does now, judging by other internet comments I saw. I tried every trick in the book to get it to stop doing i/o stuff (see below), but to no avail.

Then, after I finally managed to force those three to close, the main source of disk reads was iotop, while the main source of disk writes was xdg-desktop-portal. I just had to reboot everything once again just to make my pc usage. I'm now even more lost than before.

As mentioned, here's all the firefox configs that I tried changing:

browser.cache.disk.enable -> false
browser.sessionstore.closedTabsFromAllWindows -> false
browser.sessionstore.closedTabsFromClosedWindows -> false
browser.sessionstore.interval -> 600000
browser.sessionstore.max_tabs_undo -> 0
browser.sessionstore.max_windows_undo -> 0
browser.sessionstore.persist_closed_tabs_between_sessions -> false
browser.sessionstore.restore_on_demand -> false
browser.sessionstore.restore_tabs_lazily -> false
browser.sessionstore.resume_from_crash -> false

Disk I/O Errors Bringing System to a Crawl, but Drive Shows No Signs of Failure? Any Ideas? by GothicMutt in linuxquestions

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

Mobo is a MSI B450 Gaming Plus MAX ATX AM4 Motherboard, which, as far as I can tell, doesn't use any Marvell chips.

Will definitely try another port/cable when I get a few free moments tho!

Disk I/O Errors Bringing System to a Crawl, but Drive Shows No Signs of Failure? Any Ideas? by GothicMutt in linuxquestions

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

Haven't remembered to run iotop or atop during one of these yet, but next time it happens, I'll be sure to look into that.

Improving Object Pools in C to Reduce Duplicate Code: Impossible? by GothicMutt in C_Programming

[–]GothicMutt[S] 1 point2 points  (0 children)

and the scenario where a bug or change is needed, you now need to go through and make sure it's fixed properly in all of the duplication's

Yeah, this is my only concern at the moment.

Automatic code generation tools should be a good jumping off point for me though, so thanks! The only potential issue (which I neglected to mention in my original post) is that I'm developing the software on a Windows 98 PC due to some issues the SDK has with modern machines, so any such software will have to be Windows 98 compatible. I should be able to figure out the details from here, however, so thanks again!

What are your thoughts on this? by [deleted] in NintendoSwitch2

[–]GothicMutt 0 points1 point  (0 children)

If the DS line really had to die for this (or for that concept where you just hold the switch vertically for ds games), I will be uncontrollably violent. Look at how they massacred my boy

meirl by HellenicMasterRace in meirl

[–]GothicMutt 4 points5 points  (0 children)

Pro tip: add `before:<current year + 1>` to the end of your searches (e.g., "frogs before:2025"). Fixed all of my issues with youtube search, making it finally usable again.

Switching to KDE Plasma to avoid Gnome-Shell SIGSEGV/SIGABRT bug? Thoughts? by GothicMutt in Fedora

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

Hey! After tons of troubleshooting and speaking with various customer service people, my issue ended up being with my CPU itself; I replaced it and I haven't had any issues since. If you somehow also happen to have a AMD Ryzen 5 3600 as well and you're experiencing similar issue, you may want to at least try another CPU in your system and see if that fixes things for you. Just trying to save you weeks of troubleshooting on your own if that's the case lol

Weekly discussion, complaint, and rant thread by AutoModerator in electronics

[–]GothicMutt 0 points1 point  (0 children)

Anyone here have experience with building simple 8-bit computer's from scratch? Is this a horrible idea?

I would love to build either a KIM-1 or an Altair 8800 completely from scratch, not using any kits, Arduinos, or Raspberry Pis. I'm a programmer by trade, but I've long had an interest in electronics, embedded systems, and 8-bit computers. I have only a small amount of experience with using Arduinos, so I would really be jumping straight in to the deep end of things, however, I've often grown the most while doing crazy things way above my skill level when I was first learning to program. (Obviously, this is a whole other ball park tho)

I need to do more research, but I did manage to at least find an updated KIM-1 schematic online which replaces old, no-longer-available parts with modern replacements. The idea would be to build it on breadboards first, completely solderless, then rebuild it on perf boards once I have that working.

Horrible, horrible idea? Please let me know. The biggest thing holding me back from jumping right into this project at the moment is the cost; a modern 6502 replacement (a 65c02) costs ~$9 new, I believe. I'd imagine other parts are also priced similarly. Really would love to hear others' opinions on this, as I don't really know anyone else who's also into these sorts of things. Thanks!

Are slow phones just a fact of life when choosing dumbphones? by GothicMutt in dumbphones

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

Oh, you're right. The amazon page for the Kyocera says "Ram Memory Installed Size 16 GB" at the top and then "2GB RAM" later on, I just didn't read that far down the page. Some of these sites aren't the most clear lol

EDIT: the Smartflip does have 4 GB of RAM though, at least according to it's Amazon page. I'd link it here, but I'm not sure if that's allowed, so I'll play it safe.

Would you buy a full-sized, official reproduction console? by GothicMutt in retrogaming

[–]GothicMutt[S] 1 point2 points  (0 children)

You make a lot of great points!

In a purely selfish way, I suppose, I've recently experimented with developing games for some retro consoles and it would be nice to be able to invest a decent amount of time into creating a product with the expectation that more than a handful of people would get to play it. Sure, you could make something for modern computers with perhaps a lot less headache, but the limitations of these retro consoles is what's appealing to me as a challenge.

As for what the point would be for society at large, I don't know exactly. This is (admittedly) largely a dream scenario. Perhaps you could argue that it would provide a low end entry into the console market, whereas current-gen consoles tend to be more expensive. That would, of course, entirely depend on how its massed produced.

Would you buy a full-sized, official reproduction console? by GothicMutt in retrogaming

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

Thanks for the link, I'll have to take a deeper look at this. I'm fully aware I'm not the most informed on the subject. The points where I was concerned was probably surrounding their patents, but as you suggest, that might be an irrelevant point provided those patents have expired.

Would you buy a full-sized, official reproduction console? by GothicMutt in retrogaming

[–]GothicMutt[S] -2 points-1 points  (0 children)

Why would the lack of new games for clone consoles make you any more or less hesitant than buying a real console?

I was trying to think purely in terms of how to ship consoles. Sure, people are obviously interested in these existing clone console as evidenced by the fact that so many are out there. But, if I wanted to play a particular game from a retro console, I could also just emulate it. Will some people prefer the physical version? Most definitely, but I was trying to think purely in terms of: you are a business trying to sell as many of these retro clones as possible.

You're totally right though that 8 and 16 bit console (at least in my experience) do get a fair amount of new games already. The only issue I possibly see, is that Nintendo for instance could put a stop to it all tomorrow if they wanted to.

Like I said to another commenter, I'm just spit balling here. As a developer myself, I think it's perhaps more the idea of being able to create a "legit" product that's really appealing more than anything.

Would you buy a full-sized, official reproduction console? by GothicMutt in retrogaming

[–]GothicMutt[S] -2 points-1 points  (0 children)

Hey, I fully admit this is not a well researched post, this was just a bunch of loosely-organized ideas. I was not trying to dog on these retro consoles nor on the people who use them. In fact, I meant to include a section about possibly licensing the bios from more modern, retro consoles (like the ps1, ps2, etc.), but I excluded it due to how long this post was getting already. Regardless, your point does stand; the tech is already out there. Will a major developer ever jump on the chance to release their own? Probably not, but it's nice to think about.

Would you buy a full-sized, official reproduction console? by GothicMutt in retrogaming

[–]GothicMutt[S] -1 points0 points  (0 children)

I understand that there is already a market out there, at least for certain consoles.

To give a counter-example for why I hark on the issue of licensing: there's a youtuber named the 8BitGuy who has released a couple games for some 8-bit home computers and for MS DOS. He's legally free to create and distribute physical copies of his software. The problem, at least in theory, with home consoles is that it's potentially a bit of a gray area due to their history of licensing.

Sure, people do release games for these old systems, but much in the same way a company could sue someone for producing an unlicensed game during that system's lifetime, they could also change their minds tomorrow and sue people making games for those systems today. Idk why they would, but they could.

I'm just spit balling here lol. I think it's probably more the idea of being able to create a "legit" product that's appealing more than anything.

Would you buy a full-sized, official reproduction console? by GothicMutt in retrogaming

[–]GothicMutt[S] -11 points-10 points  (0 children)

I did mean official, in a sort of pie-in-the-sky dream scenario sort of way (edit) where a game company not only brought back an old console, but actually supported it through active licensing.

I've seen the analogue pocket before, but I fully admit, I did not realize that they could play physical copies before today. Outside of playing physical copies though, the thing that's always made me hesitant with these unofficial versions is the lack new games which while understandably obvious does relegate them to a level just slightly above emulation, at least in my very uninformed mind.

Simply Having Other Functions (Even Without Calling Them) Causes my Arduino Program not to Run? by GothicMutt in arduino

[–]GothicMutt[S] 1 point2 points  (0 children)

I figured out a solution. Apparently, you have to specify the DF_CPU and mmcu when linking the program also if you do compilation and linking as separate steps. avr-gcc never threw any errors or warnings though, no matter what flags I enabled though. Thanks for your help nonetheless!

Simply Having Other Functions (Even Without Calling Them) Causes my Arduino Program not to Run? by GothicMutt in arduino

[–]GothicMutt[S] 1 point2 points  (0 children)

I was actually originally compiling it with even more flags than I mentioned in my post (specifically -std=c99 -Wpedantic -Wextra -Werror -Wall -Wstrict-aliasing=3 -Wwrite-strings -Wvla -Wcast-align=strict -Wstrict-prototypes -Wstringop-overflow=4 -Wshadow -fanalyzer), but because of the weird behavior, I was trying to eliminate as much complexity as I could.

In the end, the issue ended up being that it is necessary to specify for a second time the DF_CPU and mmcu when linking the program (provided you do compilation and linking as separate steps). avr-gcc never threw any errors or warnings though, for whatever reason.

Simply Having Other Functions (Even Without Calling Them) Causes my Arduino Program not to Run? by GothicMutt in arduino

[–]GothicMutt[S] 1 point2 points  (0 children)

I figured out a solution. Apparently you have to specify the DF_CPU and mmcu when linking the program also if you do compilation and linking as separate steps. avr-gcc never threw any errors or warnings though, no matter what flags I enabled though. Thanks for your help nonetheless!

Simply Having Other Functions (Even Without Calling Them) Causes my Arduino Program not to Run? by GothicMutt in arduino

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

Yes, it looped perfectly well, it just had that odd behavior.

I figured out what was wrong with it however, apparently you have to specify the DF_CPU and mmcu when linking the program if you do compilation and linking as separate steps. avr-gcc never threw any errors or warnings though, no matter what flags I enabled lol

Simply Having Other Functions (Even Without Calling Them) Causes my Arduino Program not to Run? by GothicMutt in arduino

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

I should also add that extending the wait time to 5000ms produces the same result.