Hi, First welcome in 2018 on my blog, I hope you all feel exited in the new year like me, sorry to be silent for a while, but I was absorbing my first GitHub fork wich is “sowson/darknet” and I was coding like a crazy one. Still I have several todo on this code but I really like it. And regarding to this journey, Today I would like to share with you Continue ReadingFloating Pointers on OpenCL cl_mem
Hi, today I am starting the new coding adventure that probably takes me few weekends. It will be IoT Platform PoC based on Multi Service Bus Core 2.0. I have got only one Raspberry Pi 3, and for PoC I plan use some small sensor, maybe for temperature in our home. I do not have sensor that is able to use MQTT, but I really want, so if you can borrow one Continue ReadingIoT Platform PoC
Hi, today the .NET Core 2.0 was released, so I am very happy to announce that Multi Service Bus Core is now ready for production. I developed it on macOS Sierra 10.12.6 and below you can find the tests results of this ready for IoT and Multi-Core coding library… I did not change anything in code from last post about Multi Service Bus Core, so you can download it from that post Continue ReadingMulti Service Bus Core Released
Hi, today I will use 3 thousands words on 3 draws, what can I say? can you told me what you folks think about those ideas by 2 authors? About 1 or maybe 2 subjects… Are you get the point? The answers are below this text… Piotr . Paulinka . p ;).
Hi, as a .NET/C# coder I found the issue that there is not Action<T> and Func<T, TResult> equivalents in Java environment. I am self-study this to prepare myself to the OCA certification and I had idea that I can use lambda expression and implement simple equivalents of C# delegates in the Java 8. Below you can find implementation with test cases. I found that the code can be very easy, because lambda Continue ReadingAction<T> and Func<T, TResult> in Java 8
Hi, today I would like to share with you implementation of new SimpleServiceBus that now uses Apache.Thrift and Protobuf.NET and is faster because of that. First reason of use those libraries was of course performance, but also I want to build something completely new which is SimpleDatabaseBroker. For use this code in SQL Server 2012 I needed something different than dependency for System.ServiceModel.dll because that cannot be used as SQL CLR. In Continue ReadingSimpleDatabaseBroker
Hi, today I would like to share with you idea of creating common communication components. I did it many times and I have even prepared my own presentation with many examples of such kind of problem solution. After some time of experiments I created few design diagrams that implement communication in minimal and advanced way the same time. So, let me show you what is the design on common communicator that you Continue ReadingCommon Communicator
In-Proc Agents CommunicationsHello, this is my first article on Aspect Coder Network and I decide to start with some very modern subject of software architecture I am working on by a very long time before on implementation on this idea on .NET/C# technology stack. It takes me about four years to find best practices of this subject. Which is modeling inter-process communications as a key of aspects designing for modeling multi-agent environment? Continue ReadingCoder Legacy
Hello, below you can find C# 2.0 Generic Free Pattern example that I just invented ;). Only generic code is invoked but it is called like without generic type. I have better idea of implementation of this pattern but it needs introduction of 3rd usage of out keyword in C# and I cannot make it. However I could made this pattern and I hope you like it. Now you can write generic Continue ReadingGeneric Free Pattern
Hi, I saw million times solution with ThreadPool or sometimes event with new async keyword in C# 5.0. And so many times I want to tell people that their doing it in wrong way. about a half of year ago someone told me that I have tendency to keep too much only for me. I am trying to change this. So, what is best way do do async? it is by using Continue ReadingData Model Async
Hi, I am very happy to say that I have new one bonsai tree :), I know I have them everywhere. This one will be grow up on my desk in my new work place. Reason for having bonsai trees and carry of them is because of my favorite team role that is the Plant and I like plants, especially bonsai trees as you all may already know. I want to say Continue ReadingNew Bonsai and Fastest Binder
Hi today I created powerful combination of performance aspects. First MemoryManagerAspect<T> and second ThreadsManagerAspect. Both of that ideas are for very fast services created on multicore systems. I will show you code that produce following output that can be a proof that it is possible to create very low latency and asynchronous code in C#. This code was produced by Idea of two performance aspects. First manages memory to help in a Continue ReadingPerformance Manager Aspects (New)
Hi, today I try to tune up my last example with very trivial way with buffer. Now my example is much faster. Buffer for sending data usual have array form. In my example I change “double value” into “params double values” parameter. With that modification older implementation can still works just fine, but when someone wants to use buffered array values it is possible now in elegant way. Do did so by Continue ReadingWebSockets on Windows Server 2012 with WCF 4.5 after TuneUp
Hi, today I was wandering about new features in .NET 4.5 and I try to examine in practice WebSockets feature. This feature is supported by Windows Server 2012 only. And I try to find an elegant example of running it. There was not any interesting and elegant solution on the Internet so I prepared my own for this blog entry. I used Visual Studio 2012 to implement 3 assemblies WebSocketsSandbox.Contracts with interfaces, Continue ReadingWebSockets on Windows Server 2012 with WCF 4.5
try an output implementation no comments, enjoy, P ;).
Hi, today I would like to show you how trivial ETL in C# 4.0 can be. Many times we need transform model objects from one kind to another. I try to prepare for today easiest way to do that. I prepared small helper class with extensions for our objects with tree following methods: Serialize, Transform and Deserialize. You may be wonder how it works. Below I show you an example. Ok, and Continue ReadingFluent Transform Extensions