livingcoder

joined 1 year ago
[–] [email protected] 3 points 1 year ago (1 children)

If I wanted to use these notes as direct source material for an open source quiz project, would that be okay? I've been looking for good, free, open source notes, Q&As, and diagrams but it's not easy.

[–] [email protected] 1 points 1 year ago

Lame. AR is something I'm really hopeful about.

[–] [email protected] 2 points 1 year ago

I had issues searching for Lemmy communities until I updated my docker-compose to give the "lemmy" container it's own network.

https://lemmy.austinwadeheller.com/comment/14247

[–] [email protected] 1 points 1 year ago

I don't know... if joins are so good, why did it take so long for them to show up via SQL? /s

[–] [email protected] 1 points 1 year ago

I didn't know that I needed this in my life.

https://hub.docker.com/r/hkotel/mealie

[–] [email protected] 6 points 1 year ago

I feel like putting it in a VM is probably overkill. I just have everything running in Docker containers and it's pretty good like that.

[–] [email protected] 13 points 1 year ago (3 children)

That's scary. I think everyone should see this one.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I generally avoid this situation. At best I'll create an Rc<HashMap<T, U>> to pass around. I find that having a need for a static variable can be an indication of bad design. It often makes the code that depends on it untestable.

[–] [email protected] 4 points 1 year ago (3 children)

You may be able to use something like lazy_static.

https://docs.rs/lazy_static/latest/lazy_static/

[–] [email protected] 2 points 1 year ago (2 children)

I think I'm going to have to buy a wattage meter plug-in to see what my laptops run at with nothing running, a single Docker image of nginx, and then an API image on top of that. I wonder what my RaspberryPi 4 is pulling with my docker images running on there.

[–] [email protected] 2 points 1 year ago

I did not expect to enjoy that video as much as I did.

view more: ‹ prev next ›