How to write driver for HID device in c# windows application
C# and USB HID Devices
Is there a hack to force Twitter not to convert words like ASP.NET to links? Currently, Twitter converts anything that has dot inside it into a link, e.g. ASP.NET becomes , Any.DO becomes  etc. I currently make a space if I want the word to stay the way it should, e.g. "ASP. NET" though it is not right.  Is there a hack around this Twitter bug? Like if there would be some unicode character that looked like a dot and could be inserted there or something like that. As far as I know, those are the only two.  They should be pronounced Soogher and Soor, shouldn't they?  I looked them up on Dictionary.com, and their etymologies reveal no trace of an SH, except where the listing for sugar had:     Middle English sugre, sucre (noun) &lt; Middle French sucre  &lt; Medieval Latin succārum  &lt; Italian zucchero  &lt; Arabic sukkar;  obscurely akin to Persian shakar, Greek sákcharon   I see an obscure kinship to shakar, but the word morphed so many times since then that the SH disappeared pretty much completely.  And sure is even worse, with no sign of SH:     Middle English sur ( e ) &lt; Middle French sur, Old French seur  &lt; Latin sēcūrus   Why are these the only two like this? Did Dolores Umbridge Have Any Association with Voldemort (or Death Eaters) before His Return? I noticed that Dolores Umbridge was born during the first Wizarding War, so it's very likely she wasn't a Death Eater then (but she is pretty evil -- who knows?).  After that Voldemort was not around in a way that could affect many people, and most wouldn't know he was planning to rise again.  During that time, and up through Voldemort's return (in Goblet of Fire), did Umbridge have any connection with the Death Eaters or with Voldemort?  Was she doing what she did on her own, or was it because of an association with Voldemort or his allies? If $xy + yz + zx = 1$, then show that      $$\dfrac{x}{1-x^2} + \dfrac{y}{1-y^2} + \dfrac{z}{1-z^2} = \dfrac{4xyz}{(1-x^2)(1-y^2)(1-z^2)}$$   I tried doing the sum algebraically, that is, by solving the LHS but, that method isn't really getting us anywhere.  Also, I found this sum in an a book on trigonometry. So how can I solve it with trigonometry? How to Set a Short User Password in macOS Mojave and Later (10.14+) I just installed macOS Mojave and put in my usual short desktop-only password I've been using for years (yes, you read that right). Now though, the operating system rejects setting a password less than 4 characters. It also does not allow having no password at all.  I am completely comfortable using the shell if need be.  How can I change the password policy to allow quite short passwords? biblatex and autonum don't work together biblatex and autonum don't seem to work together in the newest version. Consider the following MWE:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[backend=biber]{biblatex} \usepackage{autonum}  \begin{document}  \end{document}   I get the following error messages:  0 File ended while scanning use of \ettl@for@do1 0 pdflatex: \pdfmatch: repetition-operator operand invalid pdfTeX warning: pdflatex: \pdfmatch: repetition-operator operand invalid)Runaway argument?{{\blx@bibdata@i {\blx@tempb }}\blx@bibfiles \eappto \blx@tempa {\blx@xml@comme   After commenting out either biblatex or autonum, the errors disappear. Ubuntu 16.04 VIM without python support! Although Ubuntu 16.04 release notes mention that:  The default VIM package has been built against python3 instead of python2.  Yet after I installed vim with the following command:  sudo apt-get install vim   And checked:  vim --version   It showed:  -python -python3   Is it a bug? How do I get vim with Python support? How to make a model cast shadows onto the world texture/background? In most of my models, I usually end up setting a world background using an HDRI image of some kind or another. This has always been really useful for lighting in general or as a background for my final render.  But what if I want my model to look like it is interacting or touching part of the background? For example, in the image below that I found, the modeled objects look like they're part of the scene, and even appear to cast shadows on the ground. How can I do this? How to add a progress bar to a shell script? When scripting in bash or any other shell in *NIX, while running a command that will take more than a few seconds, a progress bar is needed.  For example, copying a big file, opening a big tar file.  What ways do you recommend to add progress bars to shell scripts? Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"? The following are two methods of building a link that has the sole purpose of running JavaScript code. Which is better, in terms of functionality, page load speed, validation purposes, etc.?    function myJsFunc() {     alert("myJsFunc"); } &lt;a href="#" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt;     or    function myJsFunc() {     alert("myJsFunc"); }  &lt;a href="javascript:void(0)" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt; Tor browser not opening What is the reason the log transformation is used with right-skewed distributions? I once heard that      log transformation is the most popular one for right-skewed distributions in linear regression or quantile regression   I would like to know is there any reason underlying this statement? Why is the log transformation suitable for a right-skewed distribution?   How about a left-skewed distribution? How to use resistors? I have a power supply of 5 volts @ 1A. I want to reduce the current from 1A to 250mA. Which resistor should be use?   I tried this equation(Ohm's Law):  R = V / I  = 5/(0.75)  = 6.66 Ohms.  I tried the 6.66 Ohm resistor but it only reduce few mili Amps. Prove that field of complex numbers cannot be equipped with an order relation Please guide me in this problem. I am confused about whether its asking that having the relation $z&gt;0$ does not satisfy the order axioms.  Any help would be really appreciated.  Thanks! Extra }, or forgotten \right My MWE:  \documentclass{report}  \usepackage{amsmath}  \begin{document}  \begin{align} y &amp;= a \\ =&amp; -2c_1\bar{z}_1^2 + 2\bar{z}_1\bar{z}_2 + 2\bar{z}_2 \left ( -\bar{z}_1 -c_2z_2 - \frac{3\epsilon}{2}\bar{z}_2 -\sigma_{2,1}\cos(x_1)\Delta x_1 \notag \right. \\ \left. &amp;- \sigma_{2,2}\Delta x_2 -\sigma_{2,3} \Delta u +c_2 \chi_2 \vphantom{\frac{1}{1}} \right ) - 2\gamma \sigma_{2,1}^2\cos^2(x_1) \Delta x_1^2 - \gamma \sigma_{2,2}^2 \Delta x_2^2   - 2\gamma \sigma_{2,3}^2 \Delta u^2 \end{align}  \end{document}   The error I get:  Extra }, or forgotten \right.   The expected result: Tips for getting really good answers on SO The way the askers write questions is a factor in determining how good the answers we get are. Obviously, if you ask a clear, direct question it is easier for a someone to answer you.  But, sometimes I've done that and my questions have still been overlooked.  I've noticed some question-posting methods that aren't exactly obvious, but do help me get better answers.    Some tricks I've learned...   Even if my question is very complicated, I try to write a short question.  People get turned off by longer questions, probably because they think its not worth their time (relative to other questions with equal reputation potential).  After I get some traffic and votes on my question, and maybe some comments like "Can you post the code?" or "Clarify this..." I might post more, but by then I am already getting attention to my question.  So, in summary, even if I know the answer requires a long question, I don't make it long until I've already gotten people to look at it. I use more generic tags when possible.  People are more likely to have c# and linq as a favorite tag, than MethodCallExpression, and I tend to get more views if I use at least one or two general purpose tags along with my more specific tags. I've noticed that if I give my question the performance tag, then SO heavy-weights like Marc Gravell, Jon Skeet and Eric Lippert are more likely to answer my question (especially if I use it in conjunction with a C# tag).  Since having this realization, if I can think of a way to rephrase my question to sound like it is related to C# performance, I will word it as such and tag it accordingly.   "Be polite. SO Users HATE when people be impatient, rude or impolite." - Benny   So,  Does anyone else have any tips for getting better answers and question-recognition on SO?  I think it would be really helpful if everyone contributed their own observations and techniques here.  P.S. This question is probably too long. I'm having an odd issue - When I try to zoom in on a detail using my MMB, the "camera" in the 3D view seems to be cutting off the exterior surface of my object and showing me the inside instead. I'd expect this behavior, but only when I was much more zoomed in.  If I zoom out a bit (one click on the scroll wheel) then I can see the exterior as I intend.  Is there any way to adjust this behavior?  Thanks! So I have a Palm Pre (original P100EWW) model that I enabled developer mode on, and installed a Debian Squeeze chroot.  Works great.  I have plans to use this for ANYTHING (bittorrent peer, web server) but a phone.  I noticed if I do a cat /dev/urandom &gt; /dev/fb0 it actually writes random pixels to the screen until a No space left on device error is generated.  Awesome, now I can use the display.  So what kind of utilites are there that will either A) let me use /dev/fb0 as a console I can output text to or B) render text on /dev/fb0 from the command line.  I don't know about recompiling the kernel for this yet (I'd love to eventually strip WebOS off entirely and turn this into a minimal ARM server) so userspace tools if they exist is what I'm asking about.  Also would prefer to render directly to /dev/fb0 and not use X. I've been trying to prove   $$\sum_{k=1}^{n}{(-1)^{k+1} {{n}\choose{k}}\frac{1}{k}=H_n}$$  I've tried perturbation and inversion but still nothing. I've even tried expanding the sum to try and find some pattern that could relate this to the harmonic series but this just seems surreal. I can't find any logical reasoning behind this identity. I don't understand . Is there any proof that doesn't require the integral transform? It isn't any of the words on this  and I believe it started with the letter 'e' (though please offer your word even if it doesn't).  Example sentence: Because he researched what he had heard from his friends, he was able to refute many of their _________________.  Factoid seems to be the closest one, but the word I am looking for only refers to a belief that is false.