hardware

Can I write or modify data on an RFID tag? [closed]

倖福魔咒の 提交于 2019-12-03 01:54:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . maybe my question would be lost in the forum, but has somebody work with RFID tags? I know I can read them, but can I write or modify the inside data? Does anyone know where can I find more about this? 回答1: RFID Standards: 125 Khz ( low-frequency ) tags are write-once/read-many, and usually only contain a small

Why is writing to memory much slower than reading it?

我与影子孤独终老i 提交于 2019-12-03 01:36:14
问题 Here's a simple memset bandwidth benchmark: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> int main() { unsigned long n, r, i; unsigned char *p; clock_t c0, c1; double elapsed; n = 1000 * 1000 * 1000; /* GB */ r = 100; /* repeat */ p = calloc(n, 1); c0 = clock(); for(i = 0; i < r; ++i) { memset(p, (int)i, n); printf("%4d/%4ld\r", p[0], r); /* "use" the result */ fflush(stdout); } c1 = clock(); elapsed = (c1 - c0) / (double)CLOCKS_PER_SEC; printf("Bandwidth = %6

Difference between nVidia Quadro and Geforce cards? [closed]

半城伤御伤魂 提交于 2019-12-03 00:45:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm not a 3D or HPC guy, but I've been tasked with doing some research into those fields for a possible HPC application. Reading benchmarks, comparisons and specs between nVidia Quadro and Geforce cards, it seems that for similar generation cards: Quadro is 2x-3x the price of Geforce hardware wise, the

Can I read the CPU performance counters from a user-mode program in Windows?

China☆狼群 提交于 2019-12-03 00:07:08
I would like to program and read the hardware performance counters offered on all recent x86 hardware. On Linux there are the various perf_events systems to do this (and the perf utility to do it from outside an unmodified program). Is there any such built-in facility in Windows? If no built-in facility exists, the second best would be another approach perhaps using third-party code, but that doesn't require me to get a driver signed. Short answer No, there's no built-in facility in Windows. Also the linux perf command doesn't work on the Linux Subsystem for Windows 10. Long answer To get

i want to make a web site which is able to control a hardware on a clients computer

感情迁移 提交于 2019-12-02 21:40:41
问题 running test on local host, the website coded with c#, is able to connect to the comm port and pass commands to the hardware just as done by hyperterminal software if this website is uploaded/hosted this will not work, as the server doesnot have this harware connected to the comm port needed. one way is to ask the hosting company to set up a special computer for me with the hardware drivers etc. not possible. defining hardware, the hardware is a remote control car. so what is the solution?

Optimal RAID setup for SQL server

感情迁移 提交于 2019-12-02 20:46:54
We have an SQL 2005 database backend for our website, currently about 10GB in size. There are a lot more reads than writes, though I don't have the exact statistics. We're upgrading our database server and I was thinking of getting 4 disks and setting them up in two RAID 1 arrays - one for the data files and the other for the OS and log files. Would this be the optimal set-up or would RAID 5 be better for the data files? RAID 10 gets a bit pricey and is probably overkill for us. At this stage SQL Server should keep much of the database in RAM (8GB), but it will grow, so I don't want to

How to interpret /proc/mounts?

て烟熏妆下的殇ゞ 提交于 2019-12-02 19:07:04
When i do the following. "cat /proc/mounts". tmpfs /export/ftp/import tmpfs rw,relatime,size=102400k 0 0 tmpfs /export/ftp/export tmpfs rw,relatime,size=10240k,mode=755 0 0 The documentation of embedded device said that import and export are located in DRAM However in other equipment ubi18_0 /nvdata1/temporary-download ubifs rw,sync 0 0 ubi18_0 /export/ftp/import ubifs rw,sync 0 0 ubi18_0 /export/http/import ubifs rw,sync 0 0 tmpfs /export/ftp/export tmpfs rw,size=10240k,mode=755 0 0 The documentation of embedded device said that import is located in NAND and export are located in DRAM. I

Multithreaded paranoia

眉间皱痕 提交于 2019-12-02 18:54:49
This is a complex question, please consider carefully before answering. Consider this situation. Two threads (a reader and a writer) access a single global int . Is this safe? Normally, I would respond without thought, yes! However, it seems to me that Herb Sutter doesn't think so. In his articles on effective concurrency he discusses a flawed lock-free queue and the corrected version . In the end of the first article and the beginning of the second he discusses a rarely considered trait of variables, write ordering. Int's are atomic, good, but ints aren't necessarily ordered which could

3D Graphics Processing - How to calculate modelview matrix

烂漫一生 提交于 2019-12-02 18:34:58
I am having trouble understanding the math to convert from object space to view space. I am doing this in hardware and I have the Atranspose matrix below: ATranspose = [rightx upx lookx 0] [righty upy looky 0] [rightz upz lookz 0] [-eyeright -eyeup -eyelook 1] Then to find the point we would do: [x,y,z,1] = [x',y',z',1]*ATranspose xnew = xold*rightx + xold*righty + xold*rightz + xold*(-eyeright) but I am not sure if this is correct. It could also be [x,y,z,1]=atranspose*[x',y',z',1]T Can someone please explain this to me? I can't find anything online about it that isn't directly opengl code

Why do computers work in binary?

旧巷老猫 提交于 2019-12-02 18:19:18
I have done some searching but have not found a truly satisfactory answer. As a developer i want to invest the necessary time in understanding this, thus i am looking for a complete explanation on this and feel free to provide any useful references. Thanks. nelaaro I would recommend buying this book by Andrew S. Tanenbaum . He developed one of the predecessors to Linux called Minix. I used Structured Computer Organization as part of my university course. Why computers use binary is not just a matter of switch context. Relative to a reference voltage of say 3v. +1v(4v) = true or 1 and -1v(2v) =