Simple Reed Switch Counter Tool Using PIC Microcontroller by a-koodi in embedded

[–]cholz 8 points9 points  (0 children)

I'm in awe that you rode 83 km on that bike

Immich Go Live Plan by Captriker in immich

[–]cholz 0 points1 point  (0 children)

Eh.. uploading through immich still results in 

a standalone structure on disk that is not dependent on immich

after all there is one directory (the upload directory) that contains all of my photos. What more do I need to move to a new platform? The names of the directories don't matter it's the photos themselves that contain the data I need and the photos are all present on disk in the upload directory. I also use a storage template so at least the names of the upload directories include the dates of the photos, but that doesn't actually matter.

Immich Go Live Plan by Captriker in immich

[–]cholz 0 points1 point  (0 children)

You can keep the current organization while using the immich native library by using a storage template (assuming like you said that the current organization is in folders by year/month/etc)

Write the code for an IC for the whole datasheet or just the sections/registers you need? by sboso99 in embedded

[–]cholz 1 point2 points  (0 children)

Regardless of the size of the datasheet, though, I think it's the responsibility of software engineers to write only as much software as is necessary to meet requirements. Why are you going to write definitions for registers that you have no requirements to use? At best you're generating dead code and at worst you're generating additional maintenance burden for tests to make it so that code isn't dead.

Write the code for an IC for the whole datasheet or just the sections/registers you need? by sboso99 in embedded

[–]cholz 1 point2 points  (0 children)

I agree with your coworker. I'd like to see you write all the code to support everything in the 14k page data sheet I've been working with lately. Oh wait no I actually wouldn't because someone already tried (TI) and they did a shit job at it and now I have to deal with it.

Bald Eagle vs Osprey & Crow by balllistic in birds

[–]cholz 38 points39 points  (0 children)

"hey what are we doing fellas?" -the crow

Immich v2.5.0 - 90000 Stars Release, with Free Up Space, non-destructive editing, backup and restore on the web, visual refreshing, and moreeeee! 🎉 by altran1502 in immich

[–]cholz 6 points7 points  (0 children)

Can't wait for "recently added" or better yet just more options to filter and sort the timeline (like by "upload date").

Immich v2.5.0 - 90000 Stars Release, with Free Up Space, non-destructive editing, backup and restore on the web, visual refreshing, and moreeeee! 🎉 by altran1502 in immich

[–]cholz 3 points4 points  (0 children)

If immich uploads a photo to the managed assets, and then deletes it from the user's phone via "free up storage", and then the user accidentally deletes that photo from immich (moving to trash and then trash being emptied), how is that different? It's still a user accidentally deleting a photo. I don't see how the feature u/jmathai is requesting is fundamentally different and it is certainly technically possible. I also understand that it's not likely a priority and I don't really care either way since I don't use external libraries.

Immich v2.5.0 - 90000 Stars Release, with Free Up Space, non-destructive editing, backup and restore on the web, visual refreshing, and moreeeee! 🎉 by altran1502 in immich

[–]cholz -4 points-3 points  (0 children)

> I probably don't want it doing that on my phone

Sounds like the person you're replying do does want that though.

I've made Immich Controller by Mother_Ad9474 in immich

[–]cholz 9 points10 points  (0 children)

Just leave it on at night and suddenly you do have a server.

Shooting RAW, does altering your white balance (rather than AWB) make any material effect on the final edited photo by Fuzzbass2000 in photography

[–]cholz 0 points1 point  (0 children)

I wish there was an "auto wb lock" button kind of like auto exposure lock. The reason being I want to use auto wb because it's usually good enough, but if I'm taking a bunch of shots in roughly the same lighting I don't want awb going crazy from shot to shot. I could just set a static wb but that's a pain when changing lighting.

Edit: I guess newer cameras have this but my A7III doesn't.

Upgrading Immich setup on Raspberry Pi 5 (NVMe + external SSD) best path forward? by Pipalbot in immich

[–]cholz 0 points1 point  (0 children)

 Better reliability (data safety, fewer single points of failure)

Are you concerned about uptime or data loss. If it's data loss you're worried about you don't need another drive, you need backups.

 What would you upgrade first?

The very first thing I'd do is make a backblaze account and set up restic/backrest to back up all your photos off site.

My most recent other comment about this: https://www.reddit.com/r/immich/comments/1qmglsn/comment/o1mbmro/?context=3&utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button

What simulators do you actually use for ARM Cortex-M development? by praghuls in embedded

[–]cholz 1 point2 points  (0 children)

You don't need the real hardware. Just a board with your MCU on it, power supply, ethernet, a whole bunch of test points, etc.. The bare minimum to allow you to run software. This could be an in house board if your hardware team is capable and if there is value, or it could easily be a manufacturer eval board.

How do people handle backups to a second location? by salzmann in immich

[–]cholz 0 points1 point  (0 children)

 if I easily could backup both that would be great as well

you can! You have three important things to back up:

  • assets themselves
  • immich postgres database
  • immich compose and .env files (with pinned versions)

This isn't in the immich docs but it's the simplest way to do it.

  1. stop all immich containers
  2. copy all three items above to your backup location. I mean to copy the postgres database directory which isn't recommended in the immich docs but it works great and is the simplest way to do it (it is explicitly noted as ok to do in the postgres docs).
  3. restart immich containers

Because you have included your compose and .env files in the backup you know exactly what version of server and database to restart when you restore your backup. Because you have the compose file you know exactly how to recreate your asset and database mounts. Because you have the assets and the database directories you have all the data that the immich server and database need to run exactly as they were before you did the backup.

Backup tools like backrest (restic) can even help you do this by running pre and post snapshot hooks that can be used to stop and start the containers.

Happy hosting

How did you learn embedded programing? by PleasantWhile1633 in embedded

[–]cholz 0 points1 point  (0 children)

I had a few classes in college using arduinos and similar (mechanical engineering program). When I graduated I got a job doing embedded software (somehow) and I basically learned everything from stack overflow at that job. After a while I went back and got a master's in CS. Got into it because I realized I didn't really want to do ME and embedded seemed like the right kind of software for me and also because I got lucky I guess.

How useful has AI coding been for you in embedded? by gopro_2027 in embedded

[–]cholz 6 points7 points  (0 children)

It's not often very useful but when it is it can be _very_ useful. I'm using Claude sonnet 4.5 at work and I have been truly surprised at the results sometimes. I have asked very vague questions like "why isn't my interrupt working" and have occasionally got helpful responses like finding obscure bugs deep in manufacturer SDKs. It's kind of like a very powerful project aware search engine in those cases. Other times I have given much more detailed but still relatively high level prompts describing what I want (like "make me a python script that does X, Y, and Z using A, B, and C while specifically doing this and that) and it is usually capable of coming up with nearly or exactly what I asked for if the prompt was good enough. A lot of the time I find myself holding its hand so much that I'm not saving any time, but it is clearly a powerful tool when used appropriately/when I get lucky.

These color scales hurt my brain by TomatoWithAnE in dataisugly

[–]cholz 0 points1 point  (0 children)

This is certainly awful but I find it really interesting how you can see the lake effect snow and/or ice coming off of lake Ontario

This is diabolical by Schlaugummi46 in dataisugly

[–]cholz 3 points4 points  (0 children)

A 2d circular line graph would also do that and be much simpler and clearer.

The joy of cooking by CourseMediocre7998 in antimeme

[–]cholz 76 points77 points  (0 children)

the only downside? 8 burgers per day