« first day (3296 days earlier)      last day (1656 days later) » 

12:42 AM
0
Q: Help parsing JSON stream into Python with BASH and jq

Nick FranklinI'm decent when it comes to writing python code but BASH is fairly new to me and I'd like some guidance on picking a high level approach to achieving my goal of reading sensor data from a live streaming JSON file and processing the data in python in real time. The setup: I have a system running ...

 
1:04 AM
@PaulBenson @terdon is one of the nicest hardest working mods around AU. I see you have lots of audio expertise and your departure will surely be missed by many. I understand the frustration that new ASUS motherboard with 8 channel output was causing you. But we need to keep in mind most people here (especially the mods) are here to help each other. We can't all be friends of course because the earth isn't designed that way but we can be professionals, loose some battles and still win the war.
 
 
6 hours later…
7:30 AM
0
Q: Installing SOCKS5 on Ubuntu/CentOS

James MalkovaI want to install SOCKS5 on CentOS & Ubuntu Servers. Now the servers have multiple IPv4 addresses and I want to setup proxy for each IP.. so I can connect to it.. Can I use 1 Server/VPS to make many SOCKS5 prpxies using the additional IPs I have integerated with that one server? I'm new Linux ...

 
8:28 AM
@WinEunuuchs2Unix aww :)
 
 
3 hours later…
11:08 AM
Hmm... I tried to sign the letter to SE over at dearstackexchange.com. I don't see my name but I did get a 100 points joining bonus at Stack Overflow.
 
@DKBose I see your name there.
I had to click "Expand all 400."
Though I'm guessing that's not why you didn't see it -- probably it took a short time to appear.
 
@EliahKagan thanks! Maybe they ran some deep background checks. When I looked it was 397, then 398, and then 399 by which time I posted here.
 
Yeah, I'm not sure how the process works for validating users on that.
Unrelated to that...
10k users: I don't agree with the proposal in this meta question about the -proposed repos, but I think that meta question should be kept. It was deleted automatically by the system because it had negative score and was inactive for a while. (As a cleanup mechanism, that works better on the main site than on meta.) I've voted to undelete it and I encourage others to do so.
 
@EliahKagan done my bit.
 
Thanks. One more undelete vote from someone will be needed.
 
11:20 AM
I have a .desktop file in ~/.local/share/applications and I want to move it over to /usr/share/applications. After moving it, I'd like it to go from -rwxr-xr-x 1 dkb dkb to -rw-r--r-- 1 root root because that's how the other .desktop files in /usr/share/applications look like. I could do it in two steps, chown and chmod, but can it be done in just one step?
 
@DKBose Why taking away x permission? Wouldn't it make desktop file useless?
 
@Kulfy but isn't that what you see if you run ls -l /usr/share/applications ?
 
Damn!! I didn't realise that.
 
@Kulfy no issue! This is a unusual thing a Kubuntu user wants to do (I think)!
 
:P
May be you can call chown and chmod in some script and pass the file name as an argument to the script. ¯\_(ツ)_/¯
 
11:36 AM
I've not messed much with the twins ch.... Poster seems satisfied so it's not urgent :)
 
@Kulfy Desktop files that reside outside users' home directories and temporary directories (like /tmp) don't need execute permissions.
 
I see. TIL. Thanks for the info.
 
The reason the default configuration requires them to be marked executable in those locations is that people often download files to those locations, and a file downloaded from the Internet shouldn't make who-knows-what code run when double-clicked, without the user deliberately making it executable of their own accord. (Related)
 
@EliahKagan It uses the SE API which, for some reason, is linked to Stack Overflow.
@EliahKagan Agreed. Undeleted.
 
@terdon Thanks!
 
11:49 AM
@EliahKagan Indeed.
 
12:35 PM
Why can't I suddenly not chmod my file?
O.o
$ ls -l foo.txt
-rwxrwx--- 1 root vboxsf 877 Oct 8 10:36 foo.txt
$ sudo chmod 644 foo.txt
$ls -l foo.txt
-rwxrwx--- 1 root vboxsf 877 Oct 8 10:36 foo.txt
 
 
6 hours later…
6:22 PM
0
Q: Triple Boot Ubuntu, Windows 10, Android x86 Need to add Android to Grub2

ZtggrI am triple booting my PC. With Windows10, Ubuntu 19.04, and PrimeOS v0.4.5 standard. I read another related question on here and the answer was to add the following in /etc/grub.d 40_custom: menuentry 'Android' --class android --class android-x86_64 --class gnu-linux --class os { set root...

 
 
1 hour later…
7:23 PM
0
Q: Cannot extend partition

Matt KuhnsI am running out of space on the hard drive I am using for an AWS Ubuntu instance. df -h Filesystem Size Used Avail Use% Mounted on udev 488M 0 488M 0% /dev tmpfs 100M 12M 88M 12% /run /dev/xvda1 7.7G 7.3G 439M 95% / tmpfs 496M 0 496M...

 

« first day (3296 days earlier)      last day (1656 days later) »