systemd Inhibitor Locks Deep Dive
https://trstringer.com/systemd-inhibitor-locks/
https://redd.it/mmshr6
@r_linux
https://trstringer.com/systemd-inhibitor-locks/
https://redd.it/mmshr6
@r_linux
Thomas Stringer
systemd Inhibitor Locks Deep Dive
systemd inhibitor locks are a really great way to have some control over the system state changes (shutdown, reboot, idle, suspend, etc.). The common use case for this is if you need to ensure that some pre-shutdown/suspend handling takes place before the…
This paper used algorithm to find copypaste bug in Linux, what is the bug?
Hi I found a paper discussing a tool to find bugs introduced by copy pasting code. And they show an example (Figure 1.) where the tool has found a potential problem and marked the buggy line, but I can't see what is wrong.
Do you guys have any idea? http://opera.ucsd.edu/paper/OSDI04-CPMiner.pdf
{
...
for(iter=0; iter<numregs; iter++) {
promphystotal[iter].startadr = promregmemlistiter.physaddr;
promphystotal[iter].numbytes = promregmemlistiter.regsize;
promphystotal[iter].theresmore = &promphystotaliter+1;
}
...
for(iter=0; iter<numregs; iter++) {
prompromtaken[iter].startadr = promregmemlistiter.physaddr;
prompromtaken[iter].numbytes = promregmemlistiter.regsize;
prompromtaken[iter].theresmore = &promphystotaliter+1; // bug
}
...
}
https://redd.it/mmrthq
@r_linux
Hi I found a paper discussing a tool to find bugs introduced by copy pasting code. And they show an example (Figure 1.) where the tool has found a potential problem and marked the buggy line, but I can't see what is wrong.
Do you guys have any idea? http://opera.ucsd.edu/paper/OSDI04-CPMiner.pdf
{
...
for(iter=0; iter<numregs; iter++) {
promphystotal[iter].startadr = promregmemlistiter.physaddr;
promphystotal[iter].numbytes = promregmemlistiter.regsize;
promphystotal[iter].theresmore = &promphystotaliter+1;
}
...
for(iter=0; iter<numregs; iter++) {
prompromtaken[iter].startadr = promregmemlistiter.physaddr;
prompromtaken[iter].numbytes = promregmemlistiter.regsize;
prompromtaken[iter].theresmore = &promphystotaliter+1; // bug
}
...
}
https://redd.it/mmrthq
@r_linux
Auto moderator is out of control
I saw a post I liked last night so I commented "nice!" Because, well.. I thought it was a good thing. I wake up this morning to a message saying my comment was removed for being inappropriate. So let me reiterate this. I respond to a post with a positive reply because I would like to see more stuff like that in the sub and it gets removed because for some reason it has been deemed "inappropriate". What in the blue hell? Do you WANT people to leave your sub? If I can't comment on something without being removed for a logical reason, why would I continue to post here? Why would anyone?
https://redd.it/mmuwit
@r_linux
I saw a post I liked last night so I commented "nice!" Because, well.. I thought it was a good thing. I wake up this morning to a message saying my comment was removed for being inappropriate. So let me reiterate this. I respond to a post with a positive reply because I would like to see more stuff like that in the sub and it gets removed because for some reason it has been deemed "inappropriate". What in the blue hell? Do you WANT people to leave your sub? If I can't comment on something without being removed for a logical reason, why would I continue to post here? Why would anyone?
https://redd.it/mmuwit
@r_linux
reddit
Auto moderator is out of control
I saw a post I liked last night so I commented "nice!" Because, well.. I thought it was a good thing. I wake up this morning to a message saying...
Just received a spiral bound copy of the LFS installation manual from the local print shop. Got to love open source materials, super happy! Must remember to donate to the project. Anyone else got a hard copy?
https://redd.it/mmw6c3
@r_linux
https://redd.it/mmw6c3
@r_linux
Do you write your own tools, even if similar tools are already available?
Moderators, I'm not sure how much this post will fall into the category of "self promotion", but if you feel it's too much , or irrelevant, please remove. That being said, I think this post and the sentiment is healthy for Linux and the software landscape as a whole 🙂
## the context...
I very often see programmers throw away projects they're thinking of working on, simply because someone's done it before.
Like, you'll get all hyped up to write something, but finding its already been done takes all the wind out of your sails.
Its a shame, because the majority of my knowledge of Linux comes from deciding to build a Linux tool, and then engrossing myself in the topic. "Learn by doing", and all that.
I'd like to promote the idea that there are a plethora of reasons to build your own tools, even if in some cases, the reason is simply "because it's fun". Following from this, I've made a little subreddit called r/notinventedhere where we can share novel DIY projects, especially those that we did despite there being previously-established solutions.
My hope is that my fellow programming hobbyists will carry this sentiment, and continue building tools just for the passion, and continue contributing to this glorious open source landscape 🧙♂️🧙♂️🧙♂️
What do you all think? Are there other subreddits that already do this?
https://redd.it/mmveue
@r_linux
Moderators, I'm not sure how much this post will fall into the category of "self promotion", but if you feel it's too much , or irrelevant, please remove. That being said, I think this post and the sentiment is healthy for Linux and the software landscape as a whole 🙂
## the context...
I very often see programmers throw away projects they're thinking of working on, simply because someone's done it before.
Like, you'll get all hyped up to write something, but finding its already been done takes all the wind out of your sails.
Its a shame, because the majority of my knowledge of Linux comes from deciding to build a Linux tool, and then engrossing myself in the topic. "Learn by doing", and all that.
I'd like to promote the idea that there are a plethora of reasons to build your own tools, even if in some cases, the reason is simply "because it's fun". Following from this, I've made a little subreddit called r/notinventedhere where we can share novel DIY projects, especially those that we did despite there being previously-established solutions.
My hope is that my fellow programming hobbyists will carry this sentiment, and continue building tools just for the passion, and continue contributing to this glorious open source landscape 🧙♂️🧙♂️🧙♂️
What do you all think? Are there other subreddits that already do this?
https://redd.it/mmveue
@r_linux
reddit
Do you write your own tools, even if similar tools are already...
Moderators, I'm not sure how much this post will fall into the category of "self promotion", but if you feel it's too much , or irrelevant, please...
Alan Pope, Ubuntu Developer, leaves Canonical
https://twitter.com/popey/status/1380139900108963848?s=20
https://redd.it/mn0bzs
@r_linux
https://twitter.com/popey/status/1380139900108963848?s=20
https://redd.it/mn0bzs
@r_linux
Twitter
Alan Pope 🍺🐧🐱🇬🇧🇪🇺
After nine excellent years, April 30th is my last day at @Canonical on @ubuntu & @snapcraftio. I've thoroughly enjoyed my time working on so many interesting projects over the years, with such amazing people. It's time for some new adventures though. More…
After Hours Of Errors and Customization, I Finally Got My Way Of Arch Linux! Thoughts?
https://redd.it/mn02as
@r_linux
https://redd.it/mn02as
@r_linux
Creating servers in linux is easier than windows
I remember in school, I was given an assignment about various servers, with centos and windows server both. I NEVER EVER used any linux until then. Nor did I touch any CMD's at all. The assignment was about servers like ftp, mail servers, web servers etc.
I was kinda sad that I got this assignment but, centos was rather easier, even though it was on cmd mostly. Windows on the other hand... Spaghetti of GUI's and GUI's of inception... Maybe I sucked at it but it was obscure.
Linux was kinda fun though. And a little faster. I liked the UI and all. Then I learned about Ubuntu. Wanted to check that out, word was out that, "developers" were using that. Ok so I got hyped. That's what it made me come all the way, 3 years ago. Now I use it as a desktop aswell. It works fine.
​
So thats my story.
https://redd.it/mn1lqi
@r_linux
I remember in school, I was given an assignment about various servers, with centos and windows server both. I NEVER EVER used any linux until then. Nor did I touch any CMD's at all. The assignment was about servers like ftp, mail servers, web servers etc.
I was kinda sad that I got this assignment but, centos was rather easier, even though it was on cmd mostly. Windows on the other hand... Spaghetti of GUI's and GUI's of inception... Maybe I sucked at it but it was obscure.
Linux was kinda fun though. And a little faster. I liked the UI and all. Then I learned about Ubuntu. Wanted to check that out, word was out that, "developers" were using that. Ok so I got hyped. That's what it made me come all the way, 3 years ago. Now I use it as a desktop aswell. It works fine.
​
So thats my story.
https://redd.it/mn1lqi
@r_linux
reddit
Creating servers in linux is easier than windows
I remember in school, I was given an assignment about various servers, with centos and windows server both. I NEVER EVER used any linux until...
lightdm-qtquick-greeter – New QtQuick-based LightDM Greeter
https://github.com/FascodeNet/lightdm-qtquick-greeter
https://redd.it/mmybua
@r_linux
https://github.com/FascodeNet/lightdm-qtquick-greeter
https://redd.it/mmybua
@r_linux
GitHub
GitHub - FascodeNet/lightdm-qtquick-greeter: New Greeter for LightDM written in Qt
New Greeter for LightDM written in Qt. Contribute to FascodeNet/lightdm-qtquick-greeter development by creating an account on GitHub.
Remap Caps-Lock (to Escape, Control, etc.) Persistently
https://thesynack.com/posts/persistent-capslock-behavior/
https://redd.it/mn21yp
@r_linux
https://thesynack.com/posts/persistent-capslock-behavior/
https://redd.it/mn21yp
@r_linux
Librem 5 News Summary: March 2021
https://puri.sm/posts/librem-5-news-summary-march-2021/
https://redd.it/mmw3iu
@r_linux
https://puri.sm/posts/librem-5-news-summary-march-2021/
https://redd.it/mmw3iu
@r_linux
Purism
Librem 5 News Summary: March 2021 – Purism
Purism makes premium phones, laptops, mini PCs and servers running free software on PureOS. Purism products respect people's privacy and freedom while protecting their security.
Application activity tracking in linux ?
Hey so I was wondering If there is any way in linux world to track application activity like we get on Android in Mobile phones and any way to track what websites were visited the most in browsers like Firefox and chrome just like application activity as I don't know browsing activity in browsers (Not talking browsing history) ?
https://redd.it/mn5dej
@r_linux
Hey so I was wondering If there is any way in linux world to track application activity like we get on Android in Mobile phones and any way to track what websites were visited the most in browsers like Firefox and chrome just like application activity as I don't know browsing activity in browsers (Not talking browsing history) ?
https://redd.it/mn5dej
@r_linux
reddit
r/linux - Application activity tracking in linux ?
1 vote and 1 comment so far on Reddit
Run MS Teams on a coffee machine? (Or: Embedded Linux Framebuffer VNC client)
https://raymii.org/s/blog/MS_Teams_on_a_Coffee_Machine_or_Framebuffer_VNC_Client.html
https://redd.it/mn7ort
@r_linux
https://raymii.org/s/blog/MS_Teams_on_a_Coffee_Machine_or_Framebuffer_VNC_Client.html
https://redd.it/mn7ort
@r_linux
reddit
r/linux - Run MS Teams on a coffee machine? (Or: Embedded Linux Framebuffer VNC client)
0 votes and 0 comments so far on Reddit
Initial support for the Apple M1 platform has been merged into Linux and will be part of 5.13
https://twitter.com/asahilinux/status/1380364593126539265?s=21
https://redd.it/mn8tdg
@r_linux
https://twitter.com/asahilinux/status/1380364593126539265?s=21
https://redd.it/mn8tdg
@r_linux
Twitter
Asahi Linux
Initial M1 support has been merged into the Linux SoC tree and will be coming to Linux 5.13! 🎉git.kernel.org/pub/scm/linux/…
Open-Source Continuous Profiler for Production Code
TLDR: We have released an open-source, low overhead, continuous cluster-level profiling tool for Java, Go, Python, Scala, Clojure.
GITHUB LINK
Profiler link
As an optimization company, we are obligated to have our code performant with minimal latency and optimal responsiveness all the time. After searching the web, looking for a profiler that will meet our strict requirements: supporting multiple kernel versions, staying consistent and accurate across various programming languages, and including minimal overhead, with no success, we decided to build our own profiler.
As the project progressed, we realized that this tool is becoming a robust and reliable continuous profiler and that the open-source community could appreciate and put it to good use. This is why we have decided to release it open-source as of today.
​
https://i.redd.it/mwurhh55qyr61.gif
What makes our profiler awesome, you might ask?
Well, first, it's open-sourced, so I suggest you guys try it out and be the judge (really, I would love your feedback so we can improve future versions).
Secondly, it is lightweight with minimal overhead, which allows it to be actually continuous instead of connecting random samples and calling it continuous.
Also, it is super easy to use, covers multiple languages, comes with a pre-made Container image, and doesn't require any changes or modifications to get started.
Currently, we have support for Java, Go, Python, Scala, Clojure, and Kotlin, and are planning to expand programming coverage to Node.js, PHP, and Ruby very soon, in addition to supporting eBFS.
We will continue supporting this open source project and are committed to improving and expanding it over time, so would love your participation.
Would love to hear your thoughts on the product.
https://redd.it/mmtgdc
@r_linux
TLDR: We have released an open-source, low overhead, continuous cluster-level profiling tool for Java, Go, Python, Scala, Clojure.
GITHUB LINK
Profiler link
As an optimization company, we are obligated to have our code performant with minimal latency and optimal responsiveness all the time. After searching the web, looking for a profiler that will meet our strict requirements: supporting multiple kernel versions, staying consistent and accurate across various programming languages, and including minimal overhead, with no success, we decided to build our own profiler.
As the project progressed, we realized that this tool is becoming a robust and reliable continuous profiler and that the open-source community could appreciate and put it to good use. This is why we have decided to release it open-source as of today.
​
https://i.redd.it/mwurhh55qyr61.gif
What makes our profiler awesome, you might ask?
Well, first, it's open-sourced, so I suggest you guys try it out and be the judge (really, I would love your feedback so we can improve future versions).
Secondly, it is lightweight with minimal overhead, which allows it to be actually continuous instead of connecting random samples and calling it continuous.
Also, it is super easy to use, covers multiple languages, comes with a pre-made Container image, and doesn't require any changes or modifications to get started.
Currently, we have support for Java, Go, Python, Scala, Clojure, and Kotlin, and are planning to expand programming coverage to Node.js, PHP, and Ruby very soon, in addition to supporting eBFS.
We will continue supporting this open source project and are committed to improving and expanding it over time, so would love your participation.
Would love to hear your thoughts on the product.
https://redd.it/mmtgdc
@r_linux
GitHub
GitHub - Granulate/gprofiler: gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization…
gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on. - Granulate/gprofiler
Distro with broadcom WiFi and BT drivers?
I have tried quite a few distros, and I am finding it hard to get one with integrated/included BCM94352/20702 drivers?
(Dell DW 1560 card installed in laptop).
I will test in Live mode (with persistence) until I am happy. No ethernet available :-(
Many thanks in advance for any help or advice.
https://redd.it/mnbg8c
@r_linux
I have tried quite a few distros, and I am finding it hard to get one with integrated/included BCM94352/20702 drivers?
(Dell DW 1560 card installed in laptop).
I will test in Live mode (with persistence) until I am happy. No ethernet available :-(
Many thanks in advance for any help or advice.
https://redd.it/mnbg8c
@r_linux
reddit
Distro with broadcom WiFi and BT drivers?
I have tried quite a few distros, and I am finding it hard to get one with integrated/included BCM94352/20702 drivers? (Dell DW 1560 card...
Amazon.. why? I just want to watch my cartoons.
I dont use prime video much, almost never, only have prime for the deliveries. Finally finished star trek ng, ready to watch the new Invincible animated series on amazon prime. Can't figure out why it's set to "best" quality but looks like it's being rendered on a tamagotchi screen.
then I remembered "oh yeah, im on linux and streaming services have some grudge against us reason."
so now im watching it on my normal go-to pirate site for animated shows cuz no one seems to really care if you pirate cartoons.
so, who is benefiting from this again? sure as hell isnt me and I can't see how this is benefiting them any.
https://redd.it/mncbdu
@r_linux
I dont use prime video much, almost never, only have prime for the deliveries. Finally finished star trek ng, ready to watch the new Invincible animated series on amazon prime. Can't figure out why it's set to "best" quality but looks like it's being rendered on a tamagotchi screen.
then I remembered "oh yeah, im on linux and streaming services have some grudge against us reason."
so now im watching it on my normal go-to pirate site for animated shows cuz no one seems to really care if you pirate cartoons.
so, who is benefiting from this again? sure as hell isnt me and I can't see how this is benefiting them any.
https://redd.it/mncbdu
@r_linux
reddit
Amazon.. why? I just want to watch my cartoons.
I dont use prime video much, almost never, only have prime for the deliveries. Finally finished star trek ng, ready to watch the new Invincible...
Why is this ssh line asking me for password two times?
Why is this ssh line asking me for password two times? Is there a way to fix it?
! ssh -o LogLevel=QUIET -t ${ssh_user}@${node} sudo mkdir -p /test/test-folder >/dev/null 2>\&1; then
First time it ask me to enter the password, after pressing enter, it hangs up like it is loading, but it actually is asking me to input password for the second time and click enter before it continues.
https://redd.it/mncu8o
@r_linux
Why is this ssh line asking me for password two times? Is there a way to fix it?
! ssh -o LogLevel=QUIET -t ${ssh_user}@${node} sudo mkdir -p /test/test-folder >/dev/null 2>\&1; then
First time it ask me to enter the password, after pressing enter, it hangs up like it is loading, but it actually is asking me to input password for the second time and click enter before it continues.
https://redd.it/mncu8o
@r_linux
reddit
Why is this ssh line asking me for password two times?
Why is this ssh line asking me for password two times? Is there a way to fix it? ! ssh -o LogLevel=QUIET -t ${ssh\_user}@${node} sudo mkdir -p...