Generic Free Pattern Improved C#

你好!, some time ago I posted information about Generic Free Pattern, but I used there the reflection. Today I would like to share with you solution that is a way much faster. The source of creation a bridge between non-generic and generic classes is in the method named Creator. The usage of the pattern is at the end of the code. Where you can create class EntityManager that is non-generic but the logic that is called behind Continue ReadingGeneric Free Pattern Improved C#

Code PuzzleGet Behind Firewall – 解决方案呀

I feel really disappointed, because I have not received any solution form anyone, for this puzzle. Solution of this is very trivial with correct tools. Tool I am using to solve this is Simple Service Bus. I want to remind you what was the architecture design pattern. And below you can find very trivial and working solution. Can you explain why nobody solve this? Just wonder. The only thing I do not tell you is how to Continue ReadingCode PuzzleGet Behind Firewall – 解决方案呀

Code PuzzleGet Behind Firewall

你好!, today I have very nice code puzzle for you. Code Puzzle is to implement two blue boxes in following diagram. That can be implemented in Java and/or C# with following requirements. The only system that can receive connections is behind green box that is a open server endpoint. The system behind red box is closed and you cannot connect to it. I have very special prize for the best, clean and easiest solution of this code Continue ReadingCode PuzzleGet Behind Firewall

java 8 SE Programmer I

你好!, Today I am proud to announce that I pass Yesterday my first Java exam. It is Java 8 SE Programmer I exam 1Z0-808. I was on very good instructor lead training and I learn about 6 hours a day on that training and then about 5 hours later on the evenings entire week. My result score could be better. On some questions I simply could not find the exact correct answer and in 77 test questions Continue Readingjava 8 SE Programmer I

与encog C. # PL大乐透预测 3.3

系嘅, 我知预测六合彩结果系冇可能嘅. 但系如果结果系可预测嘅? 我当然知道佢哋唔系, 但只系当一个玩感知器神经网络预测算灋,我想同你讲, 250 得代码,你可以玩预测由於encog 3.3 图书馆. 我最近买嘅。 2 Jeff Heaton嘅书中关於神经网络同C. #同佢图书馆. That Continue Reading与encog C. # PL大乐透预测 3.3

Batch Processing Aspect in Java

你好!, today I made port of my Batch Processing Aspect in Java. It is quite a bit different aspect than I made previously in C#. In C# I made something that is fully asynchronous and in Java I made aspect that does sync invocations from many threads. I have in my mind uses of this aspect to web application or web api or web service implementation that has static controller field for example named “batchProcessingAspect” and invokes Continue ReadingBatch Processing Aspect in Java

Application Solution Architect

你好!, I am going soon to the new career adventure. I will be working as Application Solution Architect and I am starting August 1st, 2016. This is my dream come true opportunity. I prepared myself to that possibility more than 11 years working in computer software industry. And truth be told it was not a easy journey. I worked on the green fields projects, on stable products with very good code quality, on some very old products Continue ReadingApplication Solution Architect

Batch Processing Aspect in C#

你好!, today I want to share with you idea of batch processing aspect. It solves an issue with calling T-SQL Server procedures 1-by-1 request for example for inserts calls. And instead of calling 1-by-1 I prepared aspects that you call 1-by-1 but it do it in batches for example up to 100-by-100 like in my test example. Below you can find a code that includes aspect and a simple test of it. The most important quality factor Continue ReadingBatch Processing Aspect in C#

Action<T> and Func<T, TResult> in Java 8

你好!, 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 expressions works as a anonymous Continue ReadingAction<T> and Func<T, TResult> in Java 8

Learn Java so Far so Good Java 1D Array

你好!, I am happy to announce, that my learn Java journey at the Hacker Rank is going very nice. Today I was very happy to solve the code puzzle named Java 1D Array (Part 2) and this puzzle has already 39.64% success rate. And it category Data Structure Challenges most of the code puzzles has more than 90% of success rate. So far, so good, I have in Java 313 points and 2067 rank :). 我有 Continue ReadingLearn Java so Far so Good Java 1D Array