Hacker Newsnew | past | comments | ask | show | jobs | submit | matthiaswh's commentslogin

You might take a look at https://github.com/tcgoetz/GarminDB


The quotes on the homepage made me chuckle.

This looks right up my alley, looking forward to playing it.


Awesome! Would of course deeply appreciate any and all feedback!


I switched from Ansible to Pyinfra for my homelab, and continue to use Ansible at work.

The biggest difference is that Pyinfra is simply Python code. It's incredibly easy to control the system in whatever manner you need to. You can probably do the same thing in Ansible, but it's never quite as obvious how to do it. This also means it's much more clear where and why things work the way they do in Pyinfra, where in Ansible I end up digging through numerous role files to try to find where some variable gets injected.


Just having "home/docker.py" instead of "collections/ansible_collections/home/dev/roles/docker/tasks/main.yml" is reason enough. Which one of the 300 main.yml files do I load when doing a quick open in any modern text editor?


The worst part of Ansible is data manipulation, what would be an easy dictionary operation in Python is a huge mix of lookups in Ansible.

Incredibly frustrating that the data you want is right there but you can't easily grab it.


If Jinja templating for data manipulation gets too complex or inconvenient, you can create your own module in ansible and use python code for data manipulation. But at this point you are better served with plain python which I think is where pyinfra should shine. I want to take a look though at how hard it is to implement your own module for it.


If you're doing data manipulation with server state, you would probably want to create a Fact[0]. This is a straightforward Python class.

If you're doing data manipulation locally you would simply write Python code.

Operations[1] are Python functions which execute (yield) commands which will be run on hosts.

That's the gist of what it takes to write custom modules for Pyinfra.

[0] https://docs.pyinfra.com/en/3.x/api/facts.html [1] https://docs.pyinfra.com/en/3.x/api/operations.html


You didn't ask, but I would offer a few suggestions for games to introduce your children to soon.

Dinosaur Escape [0] if you can find it, it's basically a cooperative memory game but introduces them to some very gentle strategy. (Incidentally, there's a similarly themed game[1] on BGA that is also good.)

King of Tokyo is very fun, and it's easy to slim down the rules for someone who cannot read. It still allows them to understand the mechanics and make decisions about which dice to pick and which to re-roll.

Similarly, we started Kingdomino with simplified rules (no multiplication, just a tile matching game) and it was easy to graduate into full game play later.

Outfoxed is a logic / deduction board game that doesn't involve too much advanced strategy. Since it's cooperative it's easy to work with them so they can begin reasoning out the clues.

[0] https://boardgamegeek.com/boardgame/175497/dinosaur-escape [1] https://boardgamearena.com/gamepanel?game=babydinosaurrescue


I didn't explicitly ask but interpreting my comment as a question was the right thing to do. Thanks, I'll see what my local second hand market says about your suggestions.


Board Game Arena in turn-based mode.

I have been playing multiple games daily non-stop for 6 years now with a consistent but sometimes shifting group of local friends.

We still play live either virtually or in-person at times, but the async games never end. Playing live on BGA still reduces the game time by as much as 50% for more complex games since it handles setup, teardown, and scoring.


This should answer most of your first question: https://frame.work/laptop13pro?tab=upgrade-to-pro


That's actually the part that I was getting confused by. Does everything with a yellow caution sign have to be upgraded together, or can that happen over time?

Reading it again, I'm assuming they're overtime and individual upgrades that can take place? If someone could confirm or deny that for me, I would appreciate it. I may just be overthinking this table.

Edit: yeah that's what I'm taking away after rereading this a few more times. Very impressed by the modularity on each of those parts.


Can confirm, they do. This set of 1500 pieces, for example, comes with two instruction books with many different small animals you can build with it.

https://www.lego.com/en-us/service/building-instructions/110...


Thanks, I have a pair of nephews this'd be the perfect gift for!


Oh you're that Wesley. Big fan of your podcasts!


Thanks for listening! Yes, I am "that" one.


We were there a few weekends ago. The C&H exhibit had quite the crowd!

It is largely a collection of original strips. You won't see anything new or original, that is not in one or more of the books. But it is interesting to see his process, to note where he made mistakes, to listen to everyone chuckle at one strip or another, and to see the progression of the characters and artist as you walk through the lifetime of the comic.

Well worth the trip!


Hi 76j67kj67k67, I'm matthiaswh. I use the nub every day and admire its ease of use and precision. In fact, I like it so much I went out and bought a separate keyboard with its own nub that I can use when the laptop is docked.

Now you know someone.

P.S. The drift usually happens when you hold the nub in a particular direction for too long, or on occasion if the screen is pressing on it when closed. It's irritating, but can often be addressed (although some models are worse than others).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: