mobergmann

joined 2 years ago
[–] mobergmann 1 points 9 months ago (2 children)

I’d recommend it, but would also recommend taking a look at Flatcar Linux which is more or less the same without the IBM dependency (which makes my stomach hurt sometimes).

Why exactly are the IBM dependencies a problem for you?

I used debian before for some years, but at some point became tired of manually updating the system (which is probably one of the biggest benefit of FCOS). It takes, however, quite some time to put your first Ignition config together, and debugging is tedious as you have to redeploy to see if a bug / error is now gone (I’ve used a VM for that).

I can't really find good resources on how FCOS is working and what are the benefits. Is it updating the system/kernel automatically as well as the containers? And what are generally, in your opinion, the advantages of FCOS?

[–] mobergmann 3 points 9 months ago (5 children)

You can also use container within NixOS and AFAICT even declare the containers which should be running. Also NixOS is sad to be stable, or am I missing something?

[–] mobergmann 4 points 9 months ago

I’m probably the odd one out, but my home server is running Arch Linux. And it’s been really smooth. I do weekly maintenance in the form of updates and cleanup and it’s been reliable since I set it up a couple of years ago.

I am basically doing the same right now, all by hand. It's just that I am not doing the system and container updates regularly. I also often forget which services I have running and some of the Services I am not even using anymore. I just wanted to give them a try and now they are sitting there, wasting (barely any, but it's nagging me) resources.

[–] mobergmann 1 points 9 months ago (1 children)

Like you, I also planned to use containers for most everything, but… I eventually decided not to.

What was your reasoning for not using containers?

[–] mobergmann 3 points 9 months ago* (last edited 9 months ago) (1 children)

Firstly, I don’t think Docker is intended to be used as a security layer. I could be wrong, but I think it’s relatively easy to escape the sandbox. Although that might be different nowadays.

You are probably right. It's just something I tell myself to sleep well at night.

Anyway, I recently switched from Debian to NixOS for my server and it’s so much nicer. Being able to use a single language for configuring everything all in one place is so nice. If I want to try something new, I can just throw maybe 30 lines in a config and it’s there. If I don’t like it, then I can remove that config and it’s gone. Most services you’d want to run on a server are available in the package manager, and many have rather sensible defaults.

So you are installing your services/programs on your system and not inside a container, which you declare in your config?

[–] mobergmann 1 points 9 months ago

Sadly, using WebCord or WebCord doesn't fix the issue for me :( My sound is still deadlocked somehow.

[–] mobergmann 1 points 9 months ago (1 children)

Sadly, using WebCord or WebCord doesn't fix the issue for me :( My sound is still deadlocked somehow.

[–] mobergmann 1 points 11 months ago

I already knew the video and I am considering giving it a try. I wanted the E-Reader to be also able to display PDF files, which is easier to implement with linux as a basis, I thought.

[–] mobergmann 1 points 11 months ago* (last edited 11 months ago) (1 children)

I thought about setting the CM4 to sleep when no input was done for ~10min and just hoped, that that would reduce the power consumption enough to last at least 1 week or up to 1 month when used for 1h a day. But it was just a thought. I have not settled to an approach yet.

 

cross-posted from: https://lemmy.world/post/11673921

I want to build my own portable E-Reader like a Tolino/Kindle in DIN-A5 format (I know there are similar projects, like the Open Book from joeycastillo, but I want to make my own just for fun). I'm considering using the Compute Module 4 from Raspberry Pi. That, at least according to my theories, would have the advantage of me not needing to create my own OS, and the availability of already existing EPUB/HTML (EPUB is essentially just HTML) & PDF parsers and UI libraries hopefully makes my life easier. I don't want to use a default Raspberry Pi, because I don't need all the ports and I want the size of the E-Reader to be not unnecessarily thick.

The modules I need/want:

  • Micro SD Card Reader for internal Storage (or just using eMMC Storage, have not settled yet on that topic)
  • SD Card Reader (large/normal sized SD Cards), with a snap-in/spring mechanism (like with Nintendo (3)DS cartridges)
  • E-Paper Display (e.g. a waveshare)
  • USB-C Port for charging the battery (and maybe, if possible also file transfer and if possible maybe also to connect to a docking station)
  • Battery

What is your experience with the Compute Module (4) and do you have good resources for creating my own PCB extension module for the Compute Module you would like to share? Do you have constructive critique for my project idea?

 

cross-posted from: https://lemmy.world/post/11673921

I want to build my own portable E-Reader like a Tolino/Kindle in DIN-A5 format (I know there are similar projects, like the Open Book from joeycastillo, but I want to make my own just for fun). I'm considering using the Compute Module 4 from Raspberry Pi. That, at least according to my theories, would have the advantage of me not needing to create my own OS, and the availability of already existing EPUB/HTML (EPUB is essentially just HTML) & PDF parsers and UI libraries hopefully makes my life easier. I don't want to use a default Raspberry Pi, because I don't need all the ports and I want the size of the E-Reader to be not unnecessarily thick.

The modules I need/want:

  • Micro SD Card Reader for internal Storage (or just using eMMC Storage, have not settled yet on that topic)
  • SD Card Reader (large/normal sized SD Cards), with a snap-in/spring mechanism (like with Nintendo (3)DS cartridges)
  • E-Paper Display (e.g. a waveshare)
  • USB-C Port for charging the battery (and maybe, if possible also file transfer and if possible maybe also to connect to a docking station)
  • Battery

What is your experience with the Compute Module (4) and do you have good resources for creating my own PCB extension module for the Compute Module you would like to share? Do you have constructive critique for my project idea?

 

cross-posted from: https://lemmy.world/post/11673921

I want to build my own portable E-Reader like a Tolino/Kindle in DIN-A5 format (I know there are similar projects, like the Open Book from joeycastillo, but I want to make my own just for fun). I'm considering using the Compute Module 4 from Raspberry Pi. That, at least according to my theories, would have the advantage of me not needing to create my own OS, and the availability of already existing EPUB/HTML (EPUB is essentially just HTML) & PDF parsers and UI libraries hopefully makes my life easier. I don't want to use a default Raspberry Pi, because I don't need all the ports and I want the size of the E-Reader to be not unnecessarily thick.

The modules I need/want:

  • Micro SD Card Reader for internal Storage (or just using eMMC Storage, have not settled yet on that topic)
  • SD Card Reader (large/normal sized SD Cards), with a snap-in/spring mechanism (like with Nintendo (3)DS cartridges)
  • E-Paper Display (e.g. a waveshare)
  • USB-C Port for charging the battery (and maybe, if possible also file transfer and if possible maybe also to connect to a docking station)
  • Battery

What is your experience with the Compute Module (4) and do you have good resources for creating my own PCB extension module for the Compute Module you would like to share? Do you have constructive critique for my project idea?

 

cross-posted from: https://lemmy.world/post/11673921

I want to build my own portable E-Reader like a Tolino/Kindle in DIN-A5 format (I know there are similar projects, like the Open Book from joeycastillo, but I want to make my own just for fun). I'm considering using the Compute Module 4 from Raspberry Pi. That, at least according to my theories, would have the advantage of me not needing to create my own OS, and the availability of already existing EPUB/HTML (EPUB is essentially just HTML) & PDF parsers and UI libraries hopefully makes my life easier. I don't want to use a default Raspberry Pi, because I don't need all the ports and I want the size of the E-Reader to be not unnecessarily thick.

The modules I need/want:

  • Micro SD Card Reader for internal Storage (or just using eMMC Storage, have not settled yet on that topic)
  • SD Card Reader (large/normal sized SD Cards), with a snap-in/spring mechanism (like with Nintendo (3)DS cartridges)
  • E-Paper Display (e.g. a waveshare)
  • USB-C Port for charging the battery (and maybe, if possible also file transfer and if possible maybe also to connect to a docking station)
  • Battery

What is your experience with the Compute Module (4) and do you have good resources for creating my own PCB extension module for the Compute Module you would like to share? Do you have constructive critique for my project idea?

 

I want to build my own portable E-Reader like a Tolino/Kindle in DIN-A5 format (I know there are similar projects, like the Open Book from joeycastillo, but I want to make my own just for fun). I'm considering using the Compute Module 4 from Raspberry Pi. That, at least according to my theories, would have the advantage of me not needing to create my own OS, and the availability of already existing EPUB/HTML (EPUB is essentially just HTML) & PDF parsers and UI libraries hopefully makes my life easier. I don't want to use a default Raspberry Pi, because I don't need all the ports and I want the size of the E-Reader to be not unnecessarily thick.

The modules I need/want:

  • Micro SD Card Reader for internal Storage (or just using eMMC Storage, have not settled yet on that topic)
  • SD Card Reader (large/normal sized SD Cards), with a snap-in/spring mechanism (like with Nintendo (3)DS cartridges)
  • E-Paper Display (e.g. a waveshare)
  • USB-C Port for charging the battery (and maybe, if possible also file transfer and if possible maybe also to connect to a docking station)
  • Battery

What is your experience with the Compute Module (4) and do you have good resources for creating my own PCB extension module for the Compute Module you would like to share? Do you have constructive critique for my project idea?

[–] mobergmann 4 points 11 months ago

I am running Ubuntu server and I am... satisfied with it. It does what it should, no problems, nothing to worry about, stable AF (as any mature distro?). But lately I am thinking about switching to fedora server (I need to reset my system one way or another, because my space on the hard drive for the system ran out of space (it was a small drive)). I am using fedora on my work machine and I really like it, so I thought I could give fedora on my server a try.

[–] mobergmann 33 points 11 months ago* (last edited 11 months ago)

The is the messenger matrix from the German blog Kukitz-Blog (it is a blog with a strong focus on privacy and is in my opinion well informed). But no worries, the matrix is also available in English.

Maybe you can take some inspiration from the matrix.

[–] mobergmann 2 points 11 months ago (1 children)

Thank you very much. This helps a lot!

4
submitted 11 months ago* (last edited 11 months ago) by mobergmann to c/czech
 

Hi everyone,

First off sorry for posting in english, but I don't speak czech.

I will be traveling by train from Germany into the Czech Republic (Černý Důl). I was able to book the route to Prague without any problems at the travel center, but I could no longer book within the Czech Republic. I have to travel from Prague to Černý Důl (AFAICT Černý Důl doesn't have a train station, but only a bus stop), but unfortunately I don't know where I can book a ticket or whether I can simply buy a ticket on the spot. I found the website https://idos.idnes.cz, but the prices there are very low at CZK 195 (= EUR 7.85) which sounds sketchy.

What advice would you give me about where (website, app, location) and how I should book? Are there any special things I should be aware of, e.g. if I miss a connecting train (German trains are ALWAYS late) what should I do then?

 

Are any of you hosting their own E-Books? If so which Software are you using and is it compatible with the E-Reader of your choice (if you use one)?

I don't have an E-Books nor do I have an E-Reader, but I'm considering to dig deeper into the business and wanted to hear your stories.

 

Has anyone tried to turn an old Mainboard into a NAS/ Raid capable Server using Hard drives? I recently thought about this and now I wanted to know if someone has already tried that.

4
NFC for static storage? (self.embedded_prog)
 

I have an idea in mind, where I want to share "large" static amounts of data (at max 10mb). Are there NFC-"Tags" which can hold that amount of data, or even more (in the Gigabytes)? If so, which ones and do you have experience with them?

3
submitted 1 year ago* (last edited 1 year ago) by mobergmann to c/support
 

I just tried to access the [email protected] community from my logged in browser and I can't see any posts, except the announcement. When I access the community from the same browser but in a private window, I can see lots of pots. A while back I also had an issue, where I couldn't see my Post on my profile. I could open the link, but a lot of anwers were hidden. I still got notification. When I opened the link in a private window, I could see all anserws. I think my account is somehow broken or sth. Can someone please help me? I already set the Lemmy Setting to default.

 

What is in your opinion the better matrix server software for self-hosting, Construct, Conduit or Dendrite (or even something completely different)?

 

I want to free my code from the 5 std::mutex::unlock calls per function in favor of std::lock_guard. But I have the problem, that I have to keep the mutex locked when entering asynchronous callbacks.

Take this code for example:

std::map<std::size_t, std::set<std::size_t>> my_map;

size_t bar1 = ...;
size_t bar2 = ...;

std::lock_guard guard(my_map); // lock the map
my_map[p].insert(10);
foo(bar1, [&my_map](const auto& p){
    my_map[p].insert(10);

    // here we can unlock
});

foo is computing sth and then asynchronously calling the given lambda function and passing a parameter e to it. I need my_map to be locked the whole time. Keep in mind, that this is just an code example which might not map the real problem, so please don't optimize my given code.

view more: ‹ prev next ›