261 reputation
16
bio website hacksaw.org
location United States
age 49
visits member for 3 years, 7 months
seen Nov 11 at 18:49

Trying hard to be no longer a sys-admin. iPhone development is my current study. This includes all programming, UI and Graphic Design, marketing, etc.

Computer User/Programmer/other since 1977.


Nov
6
comment Internal Apache rewrite failing
What wurtel said is my expectation as well, unless you are running everything through a dispatcher (like ruby on rails or cherryPy), wherein the URL can be interpreted however you like. The URL as looks incorrect to me. Were I implementing things, I'd want the URL to be /index.php?area=some&querystring=8382, or something like that. It's no surprise to me that Apache is confused by it.
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
awarded  Commentator
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)
Nov
6
answered i3 - How can I change the mod key to AltGr and disable it for “normal” input
Nov
6
answered The program pstree and htop showing threads with unique PIDS. How is this possible?
Nov
6
comment Internal Apache rewrite failing
So, a call to /index.php/some.jsp?querystring=8382 looks bogus to me. The filename "index.php" looks like a file, not a directory. Did this actually work before? If so, the obvious next question is what changed, and where.
Jan
29
revised What is the difference between .a and .so file?
Added an update regarding a claim
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.
May
15
awarded  Yearling
Feb
3
awarded  Nice Answer
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
awarded  Supporter
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
answered Disable USB power for USB controlled power strip
May
16
awarded  Editor
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.