Author's Blogs

Asaf Shelly (Blackbelt)'s picture
CRC 出现什么问题?
By Asaf Shelly (Blackbelt) Posted on 04/17/16 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.
Asaf Shelly (Blackbelt)'s picture
What's Wrong With My CRC?
By Asaf Shelly (Blackbelt) Posted on 09/02/15 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.
Asaf Shelly (Blackbelt)'s picture
Rapid Makers
By Asaf Shelly (Blackbelt) Posted on 05/03/15 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...
Asaf Shelly (Blackbelt)'s picture
Scope Oriented Programming
By Asaf Shelly (Blackbelt) Posted on 04/07/13 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...
Asaf Shelly (Blackbelt)'s picture
Every App is made of these elements
By Asaf Shelly (Blackbelt) Posted on 01/30/13 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...
Asaf Shelly (Blackbelt)'s picture
Can you be more devoted to your code?
By Asaf Shelly (Blackbelt) Posted on 11/18/12 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...
Asaf Shelly (Blackbelt)'s picture
Architecture Pattern: Compute On Demand
By Asaf Shelly (Blackbelt) Posted on 10/18/12 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 ...
Asaf Shelly (Blackbelt)'s picture
Why you should use Procedural and OOP in every application
By Asaf Shelly (Blackbelt) Posted on 04/30/12 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)...
Asaf Shelly (Blackbelt)'s picture
ACER Ultrabook Review
By Asaf Shelly (Blackbelt) Posted on 04/03/12 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...
Asaf Shelly (Blackbelt)'s picture
Mathematical Parallelization By Compilers
By Asaf Shelly (Blackbelt) Posted on 10/21/11 11
This is not to say that compilers can automatically parallelize code. I would however really like to see that happen and here is an interesting and reliable way to parallelize operations. If a compiler can use this method of thinking then it can also be used as hints for developers writing code t...