|
Earlier this week, I started having problems with the local electricity supplier. My UPS'es kept triggering alarms and it turned out to be the power company lines were delivering over 130V.
Called the electric company and they determined that a line voltage regulator had failed. They bypassed the regulator and got my supply voltage down to about 125+- but then it would drop under the 105 volt low limit and cause my UPS'es to go into battery backup mode for a few seconds.
So here's the fun part:
One of the Windows 10 systems would failed to boot after a shutdown from the UPS---giving me a 0xc000021a stop code.
Tried Windows startup recovery, replacing the C drive, restoring backups, etc.---all the standard crap. System would not boot.
Tried disconnecting all four external disk drives that were attached via a USB 7 port hub. Still failed.
Finally disconnected everything, including internal drives and USB hubs (two attached) --- SYSTEM BOOTED!
Went through an isolation procedure to determine what was causing the boot failure. Got it down to one of the USB hubs, which was not plugged into the UPS, had gotten smoked somehow. It still looked like it was working but it caused Windows 10 to fail during the boot process.
Who would've thunk a USB hub could cause a boot failure on Windows 10?
Microsoft owes me for four days labor and several bottles of antacids.
|
|
|
|
|
I always find these sort of failure stories interesting.
|
|
|
|
|
I just bought this HP laptop[^]. I want to connect dual monitors, so I bought one of these on Amazon[^].
I hooked it up, went into Display, Multiple Displays, and clicked Detect - and it doesn't detect it.
Do I need an HP docking station? ANy thoughts on what's wrong?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Kevin Marois wrote: Do I need ... Why not ask HP, it's their product and they have help forums.
|
|
|
|
|
Just noting that on more than one occasion using even the same laptop (not HP) I have experienced this sort of thing.
Usually involves a lot of experimentation and googling to get it to work. Googling will show multiple suggestions/causes.
I also haven't tried it with USB only though.
|
|
|
|
|
You want 3 monitors? Why not use the HDMI port for "one" extra? Did you try rebooting after connecting everything?
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Hi, I Have a Seagate 1 TB USB mechanical hard drive.
It has either a corrupted partitions or they are Linux partitions. I don't know how to tell.
On my Windows machine, in Disk Management, I try to delete one of the partitions, after taking the drive offline, and it gives the error: "The media is write-protected."
Anyone know what kind of tool I can use to un-write-protect the drive?
SOLUTION:
Use the "diskpart" command line tool in Windows to remove the write protection. Simple.
The difficult we do right away...
...the impossible takes slightly longer.
modified 12-Mar-23 17:24pm.
|
|
|
|
|
Just a suggestion...
I looked for your previous posts about bluetooth and it didn't seem like you got any answers.
So perhaps there is a different site (not forum on this site) where more answers might show up?
Keep in mind that I am just trying to be helpful and far as I am concerned you can keep posting here. Maybe someone will wander by eventually that knows the answers.
|
|
|
|
|
|
I don't know what the differences are, but the article looked like it might have some useful ideas, and since you are using Qt anyway. What I did notice was that the website has a number of forums, so that might be a better place for you to get help on a subject that few people (at least here on Codeproject) seem to be working in.
|
|
|
|
|
Member 14968771 wrote: I am trying to stay away from "low energy" technology for now. My tip: If you have a choice, not dictated by external requirements (and that's what it sounds like), get into Bluetooth Low Energy as soon as possible. That is where things are happening nowadays. A whole lot of talk about 'Bluetooth' is in fact a short form of 'Bluetooth Low Energy'. Some of the new BLE application areas, such as the fairly new LC3 codec for BLE headphones, is really good, but will probably never be adapted to non-LE Bluetooth (according to a friend who has been actively working with the adaptation to BLE).
Expect any Bluetooth device running on batteries that you cannot reasonably charge every day to use BLE. Non-LE is primarily for stationary and semi-stationary equipment, plus your smartphone. The smartphone talks BLE to most other stuff.
|
|
|
|
|
|
Member 14968771 wrote: I am not sure want to get into "client / server / host " discussion.
Member 14968771 wrote: keep your comments to yourself - no need to rub it in
Granted. You now have 2 wishes left.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Greetings Kind Regards May I please inquire will an appreciable/significant/useful/meaningful overall speed performance difference result comparing two PCs each w/ same version intel i7 same memory size i.e. 16GB same SSD for purpose of software development i.e. compile/link/build durations one w/ DDR3 memory other w/ DDR4 memory Thank You Kindly
|
|
|
|
|
There is only one way to find out.
|
|
|
|
|
Programming tool temporarily running on RAMDISK would benefit from higher bandwidth for file i/o during multi-threaded compiling and have much better random-access latency than SSD. But instead of upgrading RAM, you could buy a better CPU cooler and give it a bit overclock for cores & caches and have better performance in everything, not just compiling.
Because, CPU cache is used well in compiling codes because codes are converted to graphs of commands. Traversing graphs cause a lot of re-used data from memory that is mainly the CPU cache.
|
|
|
|
|
I have one instance set up and working on another computer I did all the same steps (at least I think) to set it up on another computer, it works with CPU detection, but since it's an i3 I am trying to get the GPU detection working I am using an EVGA 1070 and I get this error on the log screen.
Object Detection (YOLO): (General Exception) : CUDA error: an illegal memory access was encountered
I am not sure how to troubleshoot the issue, I cloned the hard-drive from the working machine downloaded the 1070 driver and still received the same error.
I appreciate any help you have to give.
|
|
|
|
|
Hi all,
Soon we will move to a different building with 2 +/- 100 square meters floors.
I want to have a mesh wifi network covering all the house / 2 floors.
That is the topology I am planning:
Second floor ==> Optical fiber ---> ISP ROUTER (working as ONT, configured in bridge mode/single point) ---> Unmanaged SWITCH [2 computers C1 and C2, a printer P1, a MESH ROUTER (alien amplifi, orbi...), a CAT 6 cable to another unmanaged switch at the first floor].
First Floor ==> unmanaged switch [2 computers C3 and C4, a printer P2, a MESH ACCESS POINT].
Questions:
Can we do this?
I mean can we connect the ISP router set in bridge mode to a switch and then connect a few devices AND the MESH ROUTER to that switch?
If one of the devices is a long cable to another switch on the first floor and there, we plug the MESH ACCESS POINT and several other devices...
Would C1 (computer on the second floor) be able to see C4 (computer on the first floor)?
Would the Mesh access point be connected to the MESH router using the physical cable?
Hope all this makes any sense.
Thank you all for your time and help.
|
|
|
|
|
You'll probably hate me for answering to your post without giving you the answer you want.
But it doesn't exist.
When your application sends out some text on a serial line, going to a teletype or CRT or whatever, it sends that text away. The text on your screen is not the string in your application. It is a copy of a string in your application - a copy that has been sent away.
Imagine yourself sending a letter (in the paper sense) to a friend. This friend picks up his yellow marker to highlight a couple words that you wrote; he might refer to those words when replying to you. You are asking for a way to change the letter you sent him a day or two ago, in the words that your friend highlighted. You can't. The words are no longer under your control.
The xterm highlighting you see is completely independent of your application. xterm is like a remote friend of the application: The text(copy) belongs to xterm, and it is xterm doing the highlighting, completely out of the control of the application. Whatever your xterm wants to do with the highlighted word(s), it can do. Essentially, it can copy the word(s) into a copy/paste buffer and paste it in as part of the input so that you don't have to type it on the keyboard. The application knows nothing about this copy/paste business and sees the paste as if it was typed.
If you want your application to be aware of highlighting done by the user, xterm is not the right tool You will have to write your own X11 client. It may look quite similar to that xterm client at the UI, but it will have a very different interface to your application, not trying to emulate an RS232 connected dumb terminal, the way xterm does.
|
|
|
|
|
Member 14968771 wrote: Your analogy is plausible, however, it does not explain how clicking on the text highlights it – if it is "gone" / does not exist per your explanation. It does not exist in your application (well, your application may still have the original, from which a copy was sent to xterm, but that is a different object). But xterm saves in its own buffer the output it receives from the application. It uses the contents of the buffer to redraw the window, say, if you resize it, or scroll the text up and down.
This text buffer belongs to xterm. It is not accessible to your application. The highlighting is done in this buffer, by xterm.
All you input and output goes through xterm (as long as your focus is in the xterm window). xterm knows where you click your mouse, and knows the size of character cells in its window (they are all the same, at least in classic xterm). Calculating from the mouse coordinates which character cell was clicked is trivial. (If you use variable-width font, it is just semi-trivial.) xterm starts at from this character and looks at the preceding and following characters in its text buffer. As long as they are 'word characters', it adds highlight to it and searches forward, but stops on whitespace, punctuation etc.
If you could monitor the connection between xterm and your application when you mark the word, you would see none. The marking is something xterm does for itself, alone.
I haven't been working with xterm for a number of years, and don't remember all the details, but like most *nix-born applications, it has a ton of options. I guess that you can tell xterm to give you all the raw input - certainly from the keyboard, so that your application can interpret copy (mark) and paste keystrokes, but maybe even mouse input. Your problem is that xterm manages its own scrolling, word wrapping etc. and your application cannot know where it has placed the output text you gave it. So even if you get the mouse click position, you don't have the information to know which word the cursor was pointing at.
If I understand your need correctly (and you do not want to give your application its own tailor made X-based user interface), the simple but somewhat pedal driven way to do it is to open a text editor with a new empty file (or one where you want to add another log record), mark the text in your xterm window, and then past them into the file in the text editor. There are multiple ways to mark text in xterm - single, double, triple click, mouse drag etc.
By *nix conventions marked text is put into the copy&paste buffer. I believe (not 100% sure) that even the Windows version of xterm is *nix like; it doesn't require any ctrl-C to copy the text. Pasting into the text editor file (or any other *nix style application) is usually done with the middle mouse button (or left, if you have no middle). If you run in Windows environment, and the text editor is a Windows application, be prepared to use ctrl-V or some menu selection to paste the text.
And again: If you monitor the communication between your application and xterm, there is no trace of the copy&paste into the text editor file. The copying is a private matter between xterm and the editor.
If you have as a requirement that your application must be aware of the copy&paste, you have to abandon xterm and straight command line output, and give your application its own X-based GUI. That will complicate it significantly. If you go for that solution, do not attempt to program at the X.11 level - that is like 'GUI assembly coding'. Find some X.11 based library / GUI platform. I haven't made a *nix GUI since Motif was the standard library, but most likely, today it has competition from about 42 alternative libraries, all open source, free for you to study the source code
|
|
|
|
|
"Selecting" is an illusion; screen coordinates interpreted by the OS, then the framework (which gives it context), and lastly the application.
There's nothing to "grab" except pixels unless you have a hook into the framework or app. The "device" knows nothing of the software that drives it; and that's why you're in the wrong forum, again.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
That is just a feature of the Window that displays the text, and most Window types have that feature. So unless the window allows you to copy/cut the highlighted text you are out of luck.
|
|
|
|
|
Insisting your Linux / Bluetooth issues are "hardware and device" issues ... because that's "your choice". You think that will help your case?
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
|
You've chosen the wrong site for your linux support questions, so YOU deal with it!
|
|
|
|
|