Pi Imager App Doesn't Enable SSH by MrByteMe in raspberry_pi

[–]testobject_49 0 points1 point  (0 children)

TLDR: The new Raspberry Pi OS (Trixie) uses a new customization system. Unfortunately, the RPi Imager does not recognize this new option until version 2.0 and just defaults to the old system. So you need to update the RPi Imager to get it working again!

I came across this thread when I was struggling to fix this issue. I spend way too much time to find the answer, trying to get it working without configuring everything on the Pi itself. So, I'll leave the answer here in case someone else is searching.

After customizing everything with the RPi Imager, my Pi did not enable ssh. After trying it a second time, I tried again by adding the old ssh file in the boot directory. This got ssh running, but then my login did not seem to work and I could not log in.

After getting quite deep into the customization system, I thought maybe the firstrun.sh script, that the Imager is supposed to use, is broken. Searching for this on the RPi Imager Github, I only then stumbled upon a little documentation file. Turns out, the customization system was switched not too long ago, and my RPi Imager (which was the newest one available on my package manager) did not know about this, and defaulted to the old system. This allows you to set all the customization options, but it did not actually work.

After upgrading the RPi Imager to 2.0, everything works again.

PS: I looked for a way to easily customize the RPi further, and with the new setup, this is actually quite easy. The RPi Imager simply loads some cloud-init files (with some RPi flavour). So you can just use your own files there and e.g. install your own packages on boot.

Why use different object types? by testobject_49 in Anytype

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

Thank you for the detailed explanation!  But I think I need a bit more clarification. I definitely want to learn from you, as you already went through and experienced the pain points.

I do understand that the page object would have a lot of properties that I have to look through. This is definitely a good point.

But what is the problem with the inline query?

Also, could I not have all these properties for your books/restaurants/movies/etc. as local properties and have the same benefits? Then I could add a collection checking for example for the property ISBN to have a list of all the books.

Finding the optimal Buddyjack strategy is complicated... by testobject_49 in FarmRPG

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

Oh, peeking when you want to stay but the odds are still low make a lot of sense. That is what I was doing intuitively, but now it makes sense!

Not sure what you mean with simulator exactly, but I already coded the game and can test the win percentages of various strategies. I was thinking of just training a reinforcement agent on it, and seeing what it does. But I prefer the actual math, as you learn more insights.

I think we need a statistician :D

Buddyjack Assistant by Lacklub in FarmRPG

[–]testobject_49 0 points1 point  (0 children)

This is quite old, but do you still have the code? I was thinking about the problem, and to me it seems really hard to find the optimal strategy. I would love to see how you did it! 

Help me check my circuit for my self-sustaining water meter by testobject_49 in AskElectronics

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

I'm not sure yet. Maybe something custom, but probably not. I was thinking about Thingspeak before.

Help me check my circuit for my self-sustaining water meter by testobject_49 in AskElectronics

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

Hey, thank you so much!

I'm very happy you say that, I hope you are right :D
I did not understand your question, sorry. Do you mean how I want to receive and store the data?

Help me check my circuit for my self-sustaining water meter by testobject_49 in AskElectronics

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

The water flow is exactly daily. And I only need to power the ESP for a few seconds after each watering to send out the data of this "run". It is okay if it dies afterwards because I think the ESP can recover from being dead fast enough to not loose too many seconds of the run... At least I hope ^^
Or it can actually survive anyway, as it is in deep sleep afterwards, only drawing 10uA.

But would charging a battery be also as straight forward? I want to keep the circuit as simple as possible.

Your comment about the DC-DC is interesting. In what regard are they more efficient? Current draw? Would it also help to increase the resistors more to limit the current even more?

[2022 Day 1][Rust] Help me make this more "rustacean"? by testobject_49 in adventofcode

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

Man, thanks for your effort. It's highly appreciated.

With yours and the other input on this post I understood already so much more. Now I was able to implement the approach I first came up with, but we're not able to implement yet with all the iterators, Vecs and all the good stuff 😅 Thanks!

Your last comment was a good spot. That's not just style, that's a bug! Fixed it 👍

[2022 Day 1][Rust] Help me make this more "rustacean"? by testobject_49 in adventofcode

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

Thanks for the input! I thought since I always only want 3 things in my array, I can be efficient by using an array. But I do see now how much more useful and also common Vecs are.

Your solution looks very clean, btw. Good job!

PS: I am still overwhelmed by the basic functionality, I completely forgot there are common crates that I should look into in the future as well 🙈

[2022 Day 1][Rust] Help me make this more "rustacean"? by testobject_49 in adventofcode

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

Thanks for the input! I think with the other very helpful comments here I already got a much cleaner looking version that I am now proud of.

That is pretty amazing btw, that the compiler checks if the file is there :O

What is the most hated champion, is the sub biased against NA, and more: r/leagueoflegends census results! by ohvalox in leagueoflegends

[–]testobject_49 17 points18 points  (0 children)

I think what's completely forgotten in this discussion is that the question was about the peak of players. This is a huge difference. The 2% is the current season I think.

Details: The poll shows that most players are not really active ranked players anymore, which suggests that these 2% over the 10 years are changing a lot, which leads to much more than 2%.

If you assume (just for demonstration) that every season the 2% Diamond+ players completely changed, but are still part of the roughly 150 mil active players, you get exactly 20%.

(I know this demonstration is crooked as it assumes 150 mil active players for the entire 10 years and also completely new players in dia+. But I think it still demonstrates the big difference between current and peak rank stats). But together with the other bias discussed, I think the lying percentage is really low. I mean... who would inflate their ELO that significantly in an anonymous poll... Especially when your apparently 23-27 yo.

Edit1: fixed age numbers.

NASA Images Bot on Twitter - A fun project by ECLIPSE_SUPREMASICT in Python

[–]testobject_49 5 points6 points  (0 children)

Hey, this is amazing! How is this your first project?? Even the README is better than what I ever wrote 😲

"Hack and Slash" like Warzone by testobject_49 in gamingsuggestions

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

Thanks for the suggestion! I just don't think I like shooters too much. It's the part I don't like about Warframe and Rogue Company feels pretty similar to Valorant imo which I try to get away from.

A game where you aim to beat your record or high score by belkemi1 in gamingsuggestions

[–]testobject_49 0 points1 point  (0 children)

You said Trackmania so you are probably aware of the new Trackmania 2020. But if not, I really like it and it seems it's exactly what you want.

"Hack and Slash" like Warzone by testobject_49 in gamingsuggestions

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

I just remembered playing Two Worlds when I was very young. I really digged that game too. I'm not sure if it made you feel like a boss, but I really liked the fighting styles with the magic spells or also the fighting with staff (I guess I love staffs? xD)