38 karma · joined Dec 6, 2009 (16y ago) · 22 submissions
1.
Show HN: Owl Platform - Wireless sensing with a 10 year battery life(owlplatform.com ↗)
2 points · by bff · 13y ago · discuss
comment 14y ago · link · parent
Right now each "smart" feature would be completely separate from the rest so you can't amortize the cost of each one. So if you want a home security system, an automatic door and window locker, and an item tracking system you will need to pay for and install three separate systems. Since the utility of some of those systems just isn't that great people only install the system that has the highest economic benefit -- the home security system. Everything else costs too much for too little benefit.
comment 14y ago · link · parent
Someone else posted that people who raise more money tend to win elections, but this could also be caused by the more popular candidate raising more money. People might also be more willing to send money to a candidate if they think that candidate will win since no one wants to waste money on a losing candidate.
comment 15y ago · link · parent
Web apps tend to layer on top of other systems and can reuse a lot of code. When I worked on avionics software we had to develop everything, from the hardware drivers for memory modules to the drivers for the display and all of the controlling systems for each of them. A high-performance web app just needs to perform well enough - at some point you can add more hardware. In an avionics platform you have specific weight, cooling, and power requirements that limit your total hardware capability. They are really very different.
comment 15y ago · link · parent
comment 15y ago · link · parent
For example, let's say there is a test that checks for a birth defect that must be treated or it will result in infant mortality. Let's also say that the test causes infant mortality one time in 10,000. Whether you perform the test has to do with the statistical likelihood that the fetus will have the birth defect - if the likelihood is less than the probability of the test killing the baby then you shouldn't do it.
comment 15y ago · link · parent
comment 16y ago · link · parent
comment 16y ago · link · parent
comment 16y ago · link · parent
comment 16y ago · link · parent
comment 16y ago · link · parent
Really, I think that there is no such thing as a perfect government, only a perfect citizenry, because the power of a government is always derived from the people within it. A philosopher king would not be able to maintain power unless either A) he was omnipotent or B) the people allowed him to remain in power.
comment 16y ago · link · parent
If a chip has unecrypted personal data stored on it an attacker can easily gain access to it by stealing the device. If encryption is used throughout the chip then side channel attacks can usually break the encryption. This requires something like an oscilloscope, some resistors, and a soldering iron. The danger of this attack to a consumer depends upon what's stored on the RFID chip since the consumer will notice if someone has stolen their device and will have it disabled in short order.
To clone a tag that doesn't use encryption, for instance a tag that just sends an ID, you'd need a reader to query the tags and some device to copy the responses. This is probably the easiest attack but the reader, which needs to transmit a strong radio pulse and then listen for a response, either needs to be very large or in very close proximity and you could protect a card in your wallet by surrounding it in a metal mesh (which forms a faraday cage) so it's not clear how dangerous this could be in the wild.
If the communcation channel is encrypted then an attacker could listen to the query and response from a legitimate reader and RFID tag and could then replicate the legitimate response later. However, if there is any timestamp or counter involved this won't work.
comment 16y ago · link · parent
comment 16y ago · link · parent
I'm working on an active tag system for my phd actually, and our readers only cost as much as our tags and have the same range but they still cost somewhere in the $30-$50 range depending upon how many we make at a time. In a few years we'll probably have the cost down to a dollar or so in mass production but your projects will need to wait a while.
comment 16y ago · link · parent
comment 16y ago · link · parent
comment 16y ago · link · parent
If I wanted to write a function that accepted a vector and returned a slightly altered version of that vector I would make a function that does a deep copy and would return that - without ever needing to call the copy constructor myself. I think that it is nice that C++ gives me that option. I don't think that any language is flawless and it's clear that one programmer's feature is, in this case, another programmer's flaw. Keep in mind that this applies to your favorite languages as well.
Edit:
It occurs to me that the distinction is important in multithreaded programs as well. Beyond just worrying about whether or not the underlying data structure is thread safe, passing something by reference might mean sharing memory between two CPUs which can easily lead to a slowdown as the CPUs need to repeatedly flush and resynchronize what's in their cache. Thus unless I have specifically built a thread-safe class whose data has a real need to be shared between between threads I would send data from one thread to another by value rather than by reference.
comment 16y ago · link · parent
I disagree that there is a right or wrong to this - C++ was made to be a generic programming language and thus gives many options to the programmer. If by "do it right" you meant "hide all options except the one most commonly used" okay. Otherwise I strongly disagree with that sentence especially because I use different kinds of "pass-by" whenever I program in C++ and will be using rvalue reference from the C++0x. Different languages suit different needs.