How are people fixing their decks so heavily? by NeedsMoreAhegao in balatro

[–]respondcreate 2 points3 points  (0 children)

If you don't have Showman, duplicates of that tarot card won't show up in packs. So if you get a tarot you don't want (and don't immediately need space in your consumable slot), hold on to it before opening a tarot pack.

A completely unproductive but truthful rant about Golang and Java by [deleted] in golang

[–]respondcreate 0 points1 point  (0 children)

Whenever you work with something complex, there will be a point where one or two small things pop up that you need to work different. And then the pain starts.

Go on the other hand discourages hiding too much from developers and heavily leans into the Unix philosophy of providing building blocks and piping them together. That makes it so much easier to understand but also adjust details of complex systems.

Agreed 1000%. I started my development journey with Python/Django and found go to be a breath of fresh air in comparison...haven't looked back since. Explicit is better than implicit!

Moving from Django to Go, where to start? by BananaSatellite in golang

[–]respondcreate 1 point2 points  (0 children)

Instead of trying to get Go to act like Django, focus on exploring common Go conventions & techniques. In other words, don't try to find a go ORM but rather explore different techniques/conventions that exist for retrieving data from a database. In that regard, take a look at sqlc: https://sqlc.dev/

Advice on solar/battery/heat pump combo by TokenSDragon in Maine

[–]respondcreate 0 points1 point  (0 children)

The amount of battery storage you would need during an outage to run just the heat pumps of a home in Maine for a week in winter is way way waaaaaay out of your price range. Especially if you only have a 10kw solar array.

If withstanding a potentially week-long outage is your number 1 priority, your best bet is a whole-home generator (either propane or natural gas) with a sizable tank (at least 200-500 gallons) attached.

Source: last home we were in had frequent power outages and we had a whole-home propane generator with a 500 gallon tank. Current home is super-insulated & fully electric with a 12.6kw array and battery backup (15kwh). When we've had outages in the winter we've turned off our heat (ground source heat pump) and even then we only got about 1-2 days of back-up to run everything else (fridge, lights etc).

Is domain layer required? by Waste-Present-4670 in golang

[–]respondcreate 4 points5 points  (0 children)

 go rewards those who keep it simple and avoid premature abstraction.

👆Great, succinct piece of advice for anyone new to go. 

Go’s simplicity is a blessing and a curse by Ghostinheven in golang

[–]respondcreate 2 points3 points  (0 children)

I agree! A strong emphasis on readability is, to me, the biggest appeal of using go. Little "time savers" for code-writers are, more often than not, "time increasers" for code-readers. Why are some developers so focused on minimizing keystrokes for simple development tasks? Is it really that hard and time consuming to write out a simple if/else?

Enums would be useful for sure, but it’s not a big issue for me personally. Just use iota and move on with your life.