hardware

Is WMI a good way to making a hardware fingerprint?

喜夏-厌秋 提交于 2019-12-19 04:36:19
问题 I want to make a c++ install deployed windows application that would check hardware fingerprint (to verify that the user will use the application only on his computer). After some net research I decided that WMI is my tool. I started with a simple MFC application and for start I wanted to print out the MotherBoard SerialNumber. And just at this point the whole thing crashed. I checked on XP and Win7 and this property is not returned. And this got me thinking - what if there are some classes

How can I find out if a device has a vibrator?

回眸只為那壹抹淺笑 提交于 2019-12-18 18:34:10
问题 I have a device of which I don't know if it has a vibrator. Is there a way to query for the availability of the vibrator? 回答1: The Vibrator class does just that. It's hasVibrator() method returns a boolean indicating if vibrating is supported. Get an instance of the Vibrator class which is a system service. Query the Vibrator class using the hasVibrator() method. String vs = Context.VIBRATOR_SERVICE; Vibrator mVibrator = (Vibrator)getSystemService(vs); boolean isVibrator = mVibrator

What hardware limits plotting speed in R?

我的未来我决定 提交于 2019-12-18 14:56:10
问题 I would like to increase the speed of plotting, and I am happy with (and have lots of code requiring) the R graphics and ggplot packages - so I am only interested in knowing how I can configure my system to speed up plotting. Specifically: Is the speed of plotting in R limited by the processor, memory, graphics card? Are there particular hardware components or configurations would increase plotting speed? Update: Answers to questions in comments: specs: Ubuntu 11.04, intel Core Duo, 8GB ram,

Is it possible to permanently damage the hardware by software? [closed]

妖精的绣舞 提交于 2019-12-18 14:53:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . I have just read this question: Could this code damage my processor? and this made me think. Is it possible to damage hardware just by software? I heard that "in the good old days" (TM), when hard disk actuators were controlled by software, they could be hit against the central

Is the Intel Xeon Phi usable without a costly Intel Compiler?

时光毁灭记忆、已成空白 提交于 2019-12-18 11:46:27
问题 Does the Intel Xeon Phi coprocessor, to be usable as parallel platform, require a license of the Intel Composer XE compiler, or are there alternative compilers? 回答1: There are a few options I can list here to use/get the Intel compiler...gcc, as you know, is not equipped to vectorize code for this platform. There is a non-commercial license of the Intel compiler for Linux* that provides the same Intel Xeon Phi coprocessor enabled Intel Development tools as a commercial/eval/academic license

How does a 7- or 35-pass erase work? Why would one use these methods?

倾然丶 夕夏残阳落幕 提交于 2019-12-18 11:37:18
问题 How and why do 7- and 35-pass erases work? Shouldn't a simple rewrite with all zeroes be enough? 回答1: I'd never heard of the 35-part erase: http://en.wikipedia.org/wiki/Gutmann_method The Gutmann method is an algorithm for securely erasing the contents of computer hard drives, such as files. Devised by Peter Gutmann and Colin Plumb, it does so by writing a series of 35 patterns over the region to be erased. The selection of patterns assumes that the user doesn't know the encoding mechanism

iOS app review process: app requires external hardware (connecting over WiFi)

妖精的绣舞 提交于 2019-12-18 11:11:26
问题 We've written an app for our clients that connects to external hardware over Wifi (hardware designed by our client). My question is, how do we go about submitting this for review? The software won't do very much without the hardware. Just to be clear, the hardware does not connect directly to the iPad with a cable, it connects over WiFi only. I just want to get some clarity on what we need to do to get this app through the review process and into the App Store. Any insight will be appreciated

How should I get started on writing device drivers? [closed]

五迷三道 提交于 2019-12-18 09:54:06
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . I would like to learn how to write device drivers because I think it would be fun. I use a Mac OS X Macbook, but I also have an Ubuntu machine (running on a Mac Min). I am pretty familiar with C and currently am reading this book. I have found some links online such as Mac Dev

How to get front and back camera's megapixel that is designed for android device?

本秂侑毒 提交于 2019-12-18 07:05:11
问题 How to identify front and back camera's Megapixel of an android device by using Android code? I had tried CameraInfo but am not getting megapixel. For example, To identify Model of device we are using this android.os.Build.MODEL . Likewise any method to identify Megapixel of front and back camera. Advance thanks for any help. If the device is "Videocon A53" features are (540x960 pixel) display and runs Android 4.1 Jelly Bean, 8-megapixel rear camera , 2-megapixel front-facing camera . Now i

How is POPCNT implemented in hardware?

寵の児 提交于 2019-12-18 06:01:26
问题 According to http://www.agner.org/optimize/instruction_tables.pdf, the POPCNT instruction (which returns the number of set bits in a 32-bit or 64-bit register) has a throughput of 1 instruction per clock cycle on modern Intel and AMD processors. This is much faster than any software implementation which needs multiple instructions (How to count the number of set bits in a 32-bit integer?). How is POPCNT implemented so efficiently in hardware? 回答1: There's a patent for combined popcnt, bit