Categories
Ask Electrical Engineering Engineering

Why is resistor needed in ADC circuit

This figure shows an ADC. My question: Why there is resistor (R) connecting to inverting pin of each OPAMP. Are they really necessary? In my opinion, they can be removed because you will have to compare the voltage at non-inverting pin to the voltage at inverting pin anyway. And that is enough for converting analog […]

Categories
Ask Electrical Engineering Engineering

Why are cables rated for current not power?

I was wondering, since resistors are rated for power, not current (so one can blow them with both overcurrent or overvoltage), then why are cables rated only for current? Aren’t resistors just stacked up wires? The question could be also asked in reverse- why are resistors rated for power, not current only?

Categories
Cryptocurrency Ethereum Mastering Development

How to verify the type/name of token received in a smart contract?

Here is a sample contract which is designed to take xyz token. How can the contract verify that the sent is the xyz token? pragma "^0.7.0" contract myContract { address public payable owner; uint public value; //<<==xyz token constructor(uint _value) payable { owner = msg.sender; value = _value; //<<== how does the contract verify it […]

Categories
Mastering Development

Digital signatures invalid when I use the iTextSharp

This is my Form – Following are the code – private void btnSign_Click(object sender, EventArgs e) { string sbase64 = richTextBox2.Text; byte[] bytes = System.Convert.FromBase64String(sbase64); PdfReader reader = new PdfReader("F:\\test1.pdf"); FileStream os = new FileStream("F:\\output.pdf", FileMode.Create); IExternalSignatureContainer external1 = new MyExternalSignatureContainer(bytes); MakeSignature.SignDeferred(reader, "Signature1", os, external1); reader.Close(); os.Close(); } private class MyExternalSignatureContainer : IExternalSignatureContainer { protected […]

Categories
User Help

Mute microphone on website

I have to use a website without a mute button (imagine video call that doesn’t have a mute button). I want to be able to mute without disabling mic (as this forces me to reload the page). Is there any solution for this?

Categories
User Help

Trying to boot from a windows installation USB and I get a multi-coloured screen

I have been trying to replace my ubuntu OS with windows. I have created a bootable windows installation usb. At first, I created the disk using windows creation media tool on a windows system and I get this screen when I boot from usb. Then I also tried creating the usb from an iso file […]

Categories
User Help

Is it possible to edit a PDF file that cannot be edited by Acrobat Pro with Foxit Reader?

I’ve got a PDF file that’s signed and cannot be edited by Adobe Acrobat Pro DC. Can such PDFs be edited by Foxit Reader? I have Adobe CC 2019, so if Adobe InDesign or InCopy is needed, that’s okay. I just need to edit this PDF file. If anyone would like to request the PDF […]

Categories
User Help

OneDrive Screw Up (How to Repair)

Long, weird, story. We ordered a laptop. It has a short: shocks us, completely crashes, and reboots. We’re sending it back. We ordered an AIO as a replacement. Works fine. Wife had stuff on the laptop. She hand moved most of it to the AIO. OneDrive synced everything it had from the problem laptop to […]

Categories
User Help

XQuartz Garbage characters after command

I am running Mac Catalina 10.15.6 and have XQuartz 1.18.4 installed. After running any successful command on XQuartz the follow characters are written to the terminal: 64;1;2;6;9;15;18;21;22c. I also have a custom prompt in my .zshrc file that reads: export PROMPT=’%(?.%F{green}√.%F{red}X)%f %B%F{240}%1~%f%b %# ‘ This just shows a green check when a command is successful […]

Categories
User Help

Installing a faster Pentium CPU than the one listed in the motherboard manual

According to my old Intel D810EMO motherboard manual, the faster processor supported is Pentium III 800EB. However, there are Pentium III processors with Socket 370 up to 1.13Ghz, so the question is can I safely install one of these faster CPUs in this motherboard? Unfortunately, Intel has removed all firmware downloads last year, so there’s […]