作者的博客

CRC 出现什么问题?
作者:Asaf Shelly 张贴日期:2016/04/17 0
Check out the (non) CRC implementation below. What's wrong with it? I'm working on a connectivity library for IoT devices. A serious part of every communication protocol is the data integrity check. You send a collection of bytes to another machine and that machine has to know that there were no errors on the way. IP for example already has a good integrity check. The problem is that a TCP socket is basically a stream. This means that you don't really know when a buffer begins and ends. By using an integrity check we can verify that we are looking at full buffers.
What's Wrong With My CRC?
作者:Asaf Shelly 张贴日期:2015/09/02 4
Check out the (non) CRC implementation below. What's wrong with it? I'm working on a connectivity library for IoT devices. A serious part of every communication protocol is the data integrity check. You send a collection of bytes to another machine and that machine has to know that there were no errors on the way. IP for example already has a good integrity check. The problem is that a TCP socket is basically a stream. This means that you don't really know when a buffer begins and ends. By using an integrity check we can verify that we are looking at full buffers.
Rapid Makers
作者:Asaf Shelly 张贴日期:2015/05/03 0
For some while I keep finding around me things related to Makers, Quadcopters, and algorithms. At first I thought that it is just by chance... That IoT is nice, and Makers are having fun, and algorithms are just another way of saying parallel programming and so on... Apparently there is something...
Scope Oriented Programming
作者:Asaf Shelly 张贴日期:2013/04/07 0
There is a long discussion talking about the advantages of Procedural Programming vs. the advantages of Object Oriented Programming. In previous posts I tried to show that although OOP is newer it is not superior. The posts were Flaws of Object Oriented Modeling and Flaws of Object Oriented Model...
Every App is made of these elements
作者:Asaf Shelly 张贴日期:2013/01/30 0
Almost any device today has software on it. This includes laptops, Ultrabooks, cell phones, TV sets, Set-Top-Boxes, Microwave Ovens, Cars, Medical Devices, etc. Software is created by software companies and software developers. I have seen only a few software companies who really consider all the...
Can you be more devoted to your code?
作者:Asaf Shelly 张贴日期:2012/11/18 1
I'd be surprised if you were and would love to hear about it. It all starts with Intel's and Code Project's coding competition App Innovation Contest for a MultiTouch application. I heard about it a couple of days before the submission deadline and rapidly created a basic photo editing applicati...
Are You Tracking Your Usability Bugs?
作者:Asaf Shelly 张贴日期:2012/11/15 0
The answer is "almost". There are two types of bugs: Reliability and Usability. A Reliability Bug is an unintended error which causes your application to fail the user. This user can either be a person or another system. An example would be saving "We paid 832$ for an Ultrabook with 4GB RAM" and...
Architecture Pattern: Compute On Demand
作者:Asaf Shelly 张贴日期:2012/10/18 6
There are so many examples of applications using pre-processing strategy that it is trivial. For example using a webcam we often find the device driver doing some software adjustments and corrections such as white balancing. Too often we find devices using software features. Other examples would ...
Why you should use Procedural and OOP in every application
作者:Asaf Shelly 张贴日期:2012/04/30 0
Almost everyone wants to do architecture and almost everyone wants to do the UI. It means that every programmer has an opinion about the architecture and infrastructures in use. When you export an API for your system you get more opinions and when your product is an infrastructure (ex. Microsoft)...
ACER Ultrabook Review
作者:Asaf Shelly 张贴日期:2012/04/03 0
Not too long ago we heard about Ultrabook machines and X86 Windows 7 systems operating on solar cells indoors and now we have Ultrabooks popping up everywhere. Between the possible options I decided that I am going to keep my DELL Latitude laptop as a workstation for now but still get a new Ultra...