Activity for elgonzo
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #286022 |
@#53003, i understand this as you finding that particular user name `. .` not ridiculous
However, I sincerely doubt that the user behind that user name would find that name _not_ ridiculous. They certainly have reasons for choosing such a user name (... (more) |
— | over 2 years ago |
Comment | Post #286022 |
{ see comment thread title } (more) |
— | over 2 years ago |
Comment | Post #284642 |
@#53919 i found very little about PS/2 mode 3 aside from a few forum posts talking about old terminal / workstation keyboards. Wich leads me to believe that PS/2 mode 3 was/is an protocol not used in standard PCs, although i am not 100% certain due to not being able to find any authoritative document... (more) |
— | almost 3 years ago |
Comment | Post #284642 |
Yes, in most cases the keyboard is either connected by an (internal) PS/2 interface for old(er) laptops, or USB for modern-ish laptops. Seldomly -- if at all - you will find a laptop that uses a different interface for its integrated keyboard, simply because that would demand from the manufacturer to... (more) |
— | almost 3 years ago |
Comment | Post #284642 |
With respect to the hardware and the USB HID protocol (i am assuming you are using a USB keyboard), the PAUSE key is no different than any other key on the keyboard (except the modifier keys), with the keyboard just sending the scan code of the respective keys being pressed/hold down at the moment th... (more) |
— | about 3 years ago |
Comment | Post #284140 |
Is this making any sense? Of course you can change bit of a system, depends on what bit we are talking about, of course. For example, if you want to change the least significant bit in an integer variable C, you could do something like `i = i ^ 1`. You say you use 64-bit kernel -- why wouldn't you be... (more) |
— | about 3 years ago |
Comment | Post #283879 |
The purpose of the named pipe is just to connect the stdout of netcat to the stdin of bin/sh. That's basically all it does. Connecting stdout of bin/sh with stdin of netcat is done normally using `|`. This way a remote host can interact with the bin/sh shell through a netcat-managed connection. There... (more) |
— | about 3 years ago |
Comment | Post #283804 |
In case it happens that there will be an issue qith q4l2 not supporting the codec used by the camera, perhaps using VLC for viewing the stream might do: https://wiki.videolan.org/Documentation:Modules/v4l2/ (more) |
— | about 3 years ago |
Comment | Post #283804 |
With respect to qv4l2, is the GUI you are seeing the same as in this screenshot: https://screenshots.debian.net/package/qv4l2#gallery-1 ? If so, have you tried clicking on the green playback (capture) button? (more) |
— | about 3 years ago |
Edit | Post #282981 |
Post edited: |
— | over 3 years ago |
Edit | Post #282981 |
Post edited: |
— | over 3 years ago |
Edit | Post #282981 |
Post edited: |
— | over 3 years ago |
Edit | Post #282981 |
Post edited: |
— | over 3 years ago |
Edit | Post #282981 |
Post edited: |
— | over 3 years ago |
Edit | Post #282981 |
Post edited: |
— | over 3 years ago |
Edit | Post #282981 | Initial revision | — | over 3 years ago |
Answer | — |
A: Does /proc/config.gz always contain all supported options of a kernel? It is possible - while being unlikely - that /proc/config.gz does not match the actual kernel configuration. Normally, /proc/config.gz should reflect the kernel configuration truthfully. But whether you can really rely on /proc/config.gz being truthful or not depends on the build process for the k... (more) |
— | over 3 years ago |
Comment | Post #282675 |
What? Terminal working as a compiler? Syntax errors? Compiler broken? Nothing of this relates to what i said nor the question or answer. At all. I don't really know what you are trying to tell. My apologies, but i can't make any sense of what you just said/wrote. Anyway, you do you. I don't want to t... (more) |
— | over 3 years ago |
Comment | Post #282722 |
My apologies. I am apparently too dumb to read a question. Your question is not about the sudo line in your script, obviously. So please ignore this comment thread and its title. I don't know why i fixated onto sudo. Am i allowed to blame my cat? ;-) (more) |
— | over 3 years ago |
Comment | Post #282675 |
What i am trying to say with my tangential story about .NET error messages: Don't trust error messages like they are God's words, especially if the actions decided based solely on the wording of some error messages could be ...um.. inconviencing ;-) (I mean, sure, if you feel like you can trust t... (more) |
— | over 3 years ago |
Comment | Post #282675 |
(2/2) So, why was that error message produced by .NET then, if there was no other process using that file? Because the wording of that error message was chosen poorly. What that error tries to convey is "_There exist an open file handle on the file <filePath>, preventing the file from being opened ag... (more) |
— | over 3 years ago |
Comment | Post #282675 |
To give you an illustrative example: .NET has an (in)famous exception error message that sometimes misleads inexperienced developers: "The process cannot access the file <filePath> because it is being used by another process." Sounds straightforward and absolutely clear, right? Except it isn't. As... (more) |
— | over 3 years ago |
Comment | Post #282675 |
Does the error message "_"A server is already running_" really want to say that another server is already running, or is it rather a poor choice of words by the developer for conveying that it found some _process_ running with this PID? Who knows... (i don't. Do you?) (more) |
— | over 3 years ago |
Comment | Post #282675 |
You just quoted an error message that said "A server is already running". Error msg's uttered by some program are not infallible truth. Error messages can mislead, whether it is due to a mistakes/bugs in code or simply due to poor wording chosen for the msg by the developer. Note the point of my argu... (more) |
— | over 3 years ago |
Comment | Post #282675 |
If in reality you actually checked the veracity of the PID in the server.pid file being associated with a currently running instance of the server, then your answer here unfortunately is missing this important step in your suggestion of killing a process solely based on a number that comes from some ... (more) |
— | over 3 years ago |
Comment | Post #282675 |
You seem to _believe_ the PID must be associated with an already running instance of your server, because it is from a file with the file path `/home/istiak/ruby/qpixel/tmp/pids/server.pid`? But is it, though? When has the file been created/updated the last time? Is the information in that file still... (more) |
— | over 3 years ago |
Comment | Post #282675 |
@Istiak you misunderstand. My comment is NOT about knowing the number, it is knowing what the **actual process** is that is currently associated with that particular PID. (more) |
— | over 3 years ago |
Comment | Post #282678 |
This means, the PID stored in the server.pid file can also be a number with for example 2, 3 or 4 digits. Or perhaps even having 6 or 7 digits on a 64-bit OS (depending on the configuration of pid_max, though). As such, the number returned by `cat` is not guaranteed to be 5 digits. In other words, th... (more) |
— | over 3 years ago |
Comment | Post #282675 |
Your suggestion to simply delete the *.pid file is reasonable. Since the process number in that .pid file stems from a session before the computer was turned off/restarted, that information is not valid anymore anyhow. After reboot of the computer, an entirely different process using the very same PI... (more) |
— | over 3 years ago |
Comment | Post #282678 |
Beware of killing a process just by a given process number if that process number stems from a session before the computer was switched off and restarted (as seems to be the case here according to the explanation in the Q). It's possible that there is now another process using the same PID, a process... (more) |
— | over 3 years ago |
Comment | Post #282371 |
In general, no. (more) |
— | over 3 years ago |