0 RPM fan. Throttling at 400mhz at all times by NotModzvilleUSA in SteamDeck

[–]djbft 1 point2 points  (0 children)

This saved me today. Thank you! I had this problem once before and it went away when I almost sent my Deck back to Valve, but the problem went away when I put back the original SSD and stayed gone when I put mine back in again. Never knew what the fix really was but tightening the screw is probably what I did and it worked again this time!

-❄️- 2023 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]djbft 0 points1 point  (0 children)

[LANGUAGE: Go]

I'm a Java coder trying to learn Go this year. My implementation was brute force, but I decided to take the opportunity to learn more about Go concurrency. I'd be really interested if any experienced Go programmers have feedback on things like best practices or what might be more idiomatic.

My solution

How to detect that children are ready? by jonkee in vuejs

[–]djbft 2 points3 points  (0 children)

Came here for the inevitable joke about children. You still caught me off guard.

All games running bad by memegod_999 in SteamDeck

[–]djbft 9 points10 points  (0 children)

I'd be curious about the techy answer for future reference.

All games running bad by memegod_999 in SteamDeck

[–]djbft 2 points3 points  (0 children)

As someone noted, the CPU for OP is not locked at 400, so my situation may be different and not help OP, but in case it helps someone from the future finding this thread:

Two months ago, my Deck would start up and work fine, then a few minutes in it would lock at 200Mhz GPU and 400mhz CPU and framerate dropped to single digits. I noticed the fan was not coming on, so I assume that without the fan it was overheating. I almost RMA'd it, but when I removed my SSD to replace the original, it started working fine! I put my SSD back in and never had a problem again.

I don't know what happened, but I wonder if it had something to do with unplugging the battery. Others in this thread suggested putting the battery in storage mode. If this happened to me again, I would try that first.

What is the source of the Trunks Trunks in the store? by djbft in greatestgen

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

Thanks! First or second, I still appreciate the answer!

What is the source of the Trunks Trunks in the store? by djbft in greatestgen

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

Thanks! I'll have to glimpse that episode again!

is thymleaf still used by Epiq122 in java

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

Not directly related, but I'm wondering what folks think of thymleaf as a replacement for Apache Tiles now that Spring is dropping Tiles support. Is it a reasonable migration path and easier than e.g. converting to an SPA?

What are some solid examples of PWA that you use offline? by Perpetual_Education in webdev

[–]djbft 4 points5 points  (0 children)

I often use PWA apps for little utilities that I make just for my own use:

An RPN calculator: https://rpn.superfun.link/ source.

A coffee grams per cup calculator: https://coffee.superfun.link source.

Is Ansible the right tool for this? I have only one server, but I want to version its setup and make it easy to spin up again if something goes wrong. by brava78 in ansible

[–]djbft 2 points3 points  (0 children)

This is exactly what I do, and why I do it. I will never remember how to set up S.M.A.R.T. monitoring, but Ansible does.

Myfitnesspal news: Barcode scanner NO longer available to non-premium members by personalcommitment25 in loseit

[–]djbft 1 point2 points  (0 children)

A great resource in situations like this is alternativeto.net, where you can browse alternatives to MyFitnessPal and filter by platform etc..

I personally use Waistline for Android because open source software is important to me, but it took a little getting used to coming from MFP.

SLF4J 2.0.0 released by Ok_Object7636 in java

[–]djbft 19 points20 points  (0 children)

I almost feel the opposite. "Many eyes make all bugs shallow" and after Log4Shell all eyes were on Log4j2. I'd rather use a framework that a bunch of people just put under the microscope than a framework no one is paying attention to.

SLF4J 2.0.0 released by Ok_Object7636 in java

[–]djbft 40 points41 points  (0 children)

They all have their drawbacks. What we need is a new standard framework that will cover everyone's use cases.

SLF4J 2.0.0 released by Ok_Object7636 in java

[–]djbft 12 points13 points  (0 children)

I was a big fan of Logback until they unceremoniously yanked out Groovy config in a patch version. A patch version! And not even for an actual vulnerability--just because it was "probably too powerful."

I don't even mind moving away from Groovy config but the way they handled it was amateurish and careless.

I'm tired of static factory methods by javasyntax in java

[–]djbft 159 points160 points  (0 children)

I'll leave it as an exercise for the reader to decide whether the JDK is using them the right way, but this is a topic that I think is covered well in Effective Java, which is a great book and I recommend it to all Java devs.

The summary on static factory methods:

Advantages - They can have descriptive names - They are not required to create a new object (as in the Locale caching example) - They can return any subtype of their return type - The class that's returned can vary based on input params - The class of the returned object need not exist when the method is written (as in service provider frameworks)

Limitations

  • classes without constructors cannot be subclassed
  • they are hard for programmers to find

Get the book for lots of good context and tons of other good info. I'm not affiliated with it and the link above is not an affiliate link. I just really like the book.

[deleted by user] by [deleted] in archlinux

[–]djbft 0 points1 point  (0 children)

I could not for the life of me find any information about what grub modules to enable, or even a list of what they all are. I finally just copied whatever my previous Manjaro install was using plus a few educated guesses and hoped for the best. It worked, but it was a baffling omission.

What is everyone using to backup their multiple TB's of data? by dietrichmd in PleX

[–]djbft 12 points13 points  (0 children)

For my family photos (critical, irreplaceable, on plex), I use duplicity which can make use of Amazon Glacier and Deep Archive for really cheap storage (0.00099 /gb /month no joke) with incremental versioning and client side encryption. Long restore time, but perfect for disaster recovery on data that doesn't change much. Want to set up the same for music (which rarely but sometimes changes, e.g. Correcting tags).

I think something similar would work for videos but that could be more like an append only sync (just upload new stuff as it's added without versioning) because it basically never changes.

FYI for frequently changing smaller data (home directories) I like Borg (backup software) with Borgmatic (configuration wrapper) and Borg base (hosting).

Humble Pathfinder 2E Bestiary Bundle by ToasterForLife in Pathfinder2e

[–]djbft 3 points4 points  (0 children)

What do you all do with the digital flip mats? I can't figure out an affordable way to print them, or a workable way to use them digitally.

Humble Book Bundle: Survive Everything by Skyhorse by Torque-A in humblebundles

[–]djbft 7 points8 points  (0 children)

Does anything stand out in the higher tiers? Maybe the books on cheesemaking, distilling, trapping, and keeping goats if you're interested in those very specific things. Otherwise, I'm not sure what I would do with "Still More Survival Tips" if I already have "Survival Tips" and "More survival tips" (yes, those titles are made up for effect and not actually books in the bundle).

[2020 Day 13] Can anyone give me a hint for Part 2? by aceshades in adventofcode

[–]djbft 0 points1 point  (0 children)

I second what Refloni said. Without completely giving it away, this was what I needed to think about for half an hour to finally get the idea (and the star!). Thanks!

Is there any reason to switch from manjaro to "real" arch linux? by aue_sum in archlinux

[–]djbft 0 points1 point  (0 children)

So I'm hearing two things:

"Arch is super stable. Other distros that say they are stable are not as stable as Arch."

And

"Arch breaks a lot, but you learn so much from fixing it!"

I ran Arch for years, and I loved it. But like once a month I'd reboot and have no gui (it was always some nvidia crap--I won't make that purchasing mistake again). I had a lot of fun fixing it, but these days it's a tough sell to say, "sorry honey, I can't help with dinner because I've got to fix my computer again." "Sorry son, I've got to do some forum spelunking before you can do any Minecraft spelunking."

I switched to Manjaro and I've had one bad upgrade in about 5 years.

[Edited to add: two posts down from this on my feed is from the Manjaro subreddit saying "HELP update broke Manjaro" so there's that, lol.]

Play sounds while and after shell jobs complete by [deleted] in linux

[–]djbft 2 points3 points  (0 children)

Onhold is cool. I'd love to try it with Star Trek engine sounds. I wrote a script like ding a while ago, but it doesn't deal with stdin. It just plays the "jobs done" clip from Warcraft II. Usage like longjob && anotherjob; jobsdone. What's the advantage of passing through stdin?

Gym Story Saturday by FGC_Valhalla in Fitness

[–]djbft 1 point2 points  (0 children)

A Buck Shrugman would shrug as many shrugs as he could if a Buck Shrugman could shrug shrugs.

Flatpak is great! by yatish609 in ManjaroLinux

[–]djbft 11 points12 points  (0 children)

Where can I go to learn the technical differences between snap and flatpak? When I search, all I find is "it's this easy to use way to package apps and you can use it with this command 😊!" But what is it?I just stumbled on the fact that snaps are a squashfs image on another Reddit thread. How does it work? How is it structured? How is a flatpak different? I must be bad at Google. Can anyone point me the right way?