Reputation
261
Top tag
Next privilege 300 Rep.
Create tags
Badges
1 6
Newest
 Commentator
Impact
~21k people reached

Mar
5
comment Error - Segmentation Fault
So: sudo chown -R $hippa .
Mar
5
comment Error - Segmentation Fault
The '.' at the end isn't punctuation. It's Unix-speak for "the current directory". Unix-speak for "the current directory's parent" is ".." If you run "ls -a" you'll see them.
Mar
5
comment Error - Segmentation Fault
My concern is that something else has the wrong permissions, and a program is getting an error message instead of the expected output, which might cause a seg fault.
Mar
5
comment Error - Segmentation Fault
That's odd. At the top level of the Human_Level_Control_through_Deep_Reinforcement_Learning directory, try this command: "sudo chown -R $your_user_name ." This will ensure everything in the directory is owned by you.
Mar
5
comment Error - Segmentation Fault
I mean the game itself. If the game works outside of the learning framework, this suggests it's not the problem.
Mar
4
comment Error - Segmentation Fault
Does the game program work on its own?
Nov
6
comment The program pstree and htop showing threads with unique PIDS. How is this possible?
More succinctly, the only difference between real threads and processes, in linux, is that a threads shares memory with another process, and a process doesn't. As far as the proc directory goes, and the machinery behind it, and more importantly the scheduler, it's just another process.
Nov
6
comment i3 - How can I change the mod key to AltGr and disable it for “normal” input
You can bind it to another thing with xmodmap.
Nov
6
comment The program pstree and htop showing threads with unique PIDS. How is this possible?
No. In Linux, if you want to make something which can be scheduled separately from the main thread, you can either declare a new thread, or fork. In either case, the first thing which happens is a clone, which duplicates the process without making a new memory area for it. If it's forking, the next thing which happens is an allocation of a separated process memory space. See the linux function clone(2)
Jul
16
comment Run unix command precisely at very short intervals WITHOUT accumulating time lag over time
It strikes me that your timing is always going to be affected by the current operating state of the box. If something causes the program you care about to be unloaded from the cache, you'll get a rise in time, unless you can guarantee that the typical runtime of the program is significantly less than the interval you want. I would want to be on a realtime system, in a significantly stripped down setup with no one else logged on, or in single user mode. Probably a better solution is to modify the program in question to do the loop itself, instead of invoking it from another program.
Nov
6
comment To list out duplicate filenames in a listing?
BTW, as far as I know, no Unix will ever allow your listing to happen. The filenames in a directory must be unique, though the differences might be unprintable characters.
May
17
comment Disable USB power for USB controlled power strip
You can unload kernel modules with modprobe -r <name-of-driver>, as root. Per port, no.
May
16
comment Disable USB power for USB controlled power strip
I wonder if the ports would turn off if you unloaded the device driver. Kind of drastic, but...
May
16
comment Disable USB power for USB controlled power strip
Hmm. That makes it seem like the usb ports don't accept that command. Which kernel are you running? (uname -r)
May
16
comment What is the difference between .a and .so file?
It's a full fledged program in the sense that it has a main symbol for exec to find.
May
16
comment What is the difference between .a and .so file?
Thanks for the typo pointer.