Авторские блоги

CRC 出现什么问题?
Опубликовано Asaf Shelly Размещено 17.04.2016 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 Размещено 02.09.2015 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 Размещено 03.05.2015 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...
IoT: Looking For The Next Microsoft
Опубликовано Asaf Shelly Размещено 30.03.2014 0
I am not here to tell you how wonderful it is that we have IoT now and how IoT helps everyone sell more devices and CPUs. Instead, I will take this opportunity to talk about what's missing with IoT and where we're going in this area. We need to put everything in perspective. Even though most of ...
Scope Oriented Programming
Опубликовано Asaf Shelly Размещено 07.04.2013 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 Размещено 30.01.2013 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 Размещено 18.11.2012 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 Размещено 15.11.2012 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 Размещено 18.10.2012 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 Размещено 30.04.2012 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)...