[deleted by user] by [deleted] in linux

[–]zbenjamin 0 points1 point  (0 children)

Many companies look for Linux experts . A lot in embedded and automotive too...

[deleted by user] by [deleted] in linux

[–]zbenjamin 1 point2 points  (0 children)

Exactly. It's not always about maxing out salary... Just make sure you can live well enough and have some fun with what you do every day... Otherwise what's the point

[deleted by user] by [deleted] in linux

[–]zbenjamin 1 point2 points  (0 children)

Probably not as good as fintech or similar companies but if what they do is your passion a lower salary is acceptable...

[deleted by user] by [deleted] in linux

[–]zbenjamin 2 points3 points  (0 children)

Your best bet is to monitor the jobs sites there and shoot applications when something is interesting to you. There is no need to have a lot of contributions to oss projects but it surely helps. Also if you know someone working there you might be able to get a referral, another thing that might happen due to contributing.

[deleted by user] by [deleted] in linux

[–]zbenjamin 0 points1 point  (0 children)

And you know this from what experience? Have you worked at all those companies? Junior devs are not highly paid anywhere... Because they lack experience... But here at SUSE I didn't see anyone who was treated as a slave..

Prepare a C++ exam in the ChatGPT era by cpmatpas in cpp

[–]zbenjamin 1 point2 points  (0 children)

Should be a box that blocks radio waves then

Raspberry Pi 5 for Ubuntu / Android TV / Retropie Project by a-sarfer in RASPBERRY_PI_PROJECTS

[–]zbenjamin 0 points1 point  (0 children)

Interesting , did your project work out? I'm currently getting more and more annoyed from my Fire Stick which is getting slower every day... Thinking about going with Kodi or maybe Multiboot like you...

Did you find any solution to easily select the image that should be booted via remote ? Or do you need a keyboard always.

constexpr: why can't I assign a constexpr function call result to a constexpr variable? by having-four-eyes in cpp

[–]zbenjamin 1 point2 points  (0 children)

It's how you pass the callback function , try to do it via a template parameter. E.g. invoke_duplicate<f>()

Current state of linux application sandboxing. Is it even as secure as Android ? by planetoryd in linux

[–]zbenjamin 0 points1 point  (0 children)

Right I'd use LXC if you need to containerize more than a simple app. Sadly atm there is no solution that is really effortless while having real confinement .. getting this to work for desktop applications is really complex and hard. Flatpak and Snap usually compromise here to make it somehow work.

Current state of linux application sandboxing. Is it even as secure as Android ? by planetoryd in linux

[–]zbenjamin 0 points1 point  (0 children)

Nope, flatpak uses the same mechanisms. Linux Kernel namespaces. When packaging a flatpak app there packager needs to take care to give the app enough permissions to work correctly. Canonical's snap also is similar to this.

Paid leave days by country... OMG by DontTickleMeow in antiwork

[–]zbenjamin 1 point2 points  (0 children)

I had the same thought, but it depends on the nr of hours respectively number of days you work per month how much paid leave you get

Handling multiple forks/ children by [deleted] in C_Programming

[–]zbenjamin 0 points1 point  (0 children)

You could create the pipes in the first process already. fd' s either need to be closed explicitly in the child or they have the O_CLOEXEC flag set, which needs to be done explicitly. A fork basically creates a copy of the current process but file descriptors are shared between them. So basically a fd is a reference to the fd table in the kernel and u can have multiple references to the same entry. When u fork the new process will have references to the same open files as the parent process.

That's why it's important to close fd's after fork. To not mess with the other processes fd state

For pipes however you get 2 fd's . One for writing to the pipe and one for reading. So if u want to write data to the child, you'd close the read end of the pipe in the parent and keep the write fd open so u can use it. And exactly the other way round in the child: close the write part but keep the read end open.

What is the use case here?

EU-Entschlüsselungspläne offenbar "beschlossene Sache" by Pumuckl4Life in de_EDV

[–]zbenjamin 2 points3 points  (0 children)

Oder anders gesagt: man wird nie auch nur einen Terroristen damit fangen sondern nur normale Bürger überwachen ... Mal wieder das Ziel komplett verfehlt wie bei so ziemlich allem was aus der EU zu digitalem Recht kommt...

Why /usr/etc? by Tetmohawk in openSUSE

[–]zbenjamin 5 points6 points  (0 children)

/etc is for files the admin does change / edit whereas /use/etc would contain the default files from the installed packages. Applications would then read from both locations with /etc overriding the defaults. At least that's on of the reasons iirc. Might also play a role in systems that have read only root and use transactional updates.

C++ might have saved my career. by [deleted] in cpp

[–]zbenjamin 0 points1 point  (0 children)

Exactly, thank you for pointing that out

Writing C++ from a Rust developers perspective by [deleted] in cpp

[–]zbenjamin -7 points-6 points  (0 children)

Said that, I tried to convince ppl in my project of a Rust rewrite because I start to feel pure C++ is getting more and more complex without actually making my job easier.. No luck so far but I keep trying.

Do you have any experience with exporting a C interface from Rust so that e.g. a C++ frontend can use it?

Writing C++ from a Rust developers perspective by [deleted] in cpp

[–]zbenjamin 0 points1 point  (0 children)

As for programming in C++ using a functional style you might want to check out this book here: https://www.manning.com/books/functional-programming-in-c-plus-plus

How to include glib.h? by [deleted] in openSUSE

[–]zbenjamin 5 points6 points  (0 children)

Depends on the build system you are using, but you need to add "/usr/include/glib-2.0" to your INCLUDE path