My Past and Present PCs


I think it says a lot about the developer what sort of PC he/she has. Back when I was in my early 20 I had several:

  • Linux (Fedora) Box – running exclusively traffic shaping (sometimes uptime of that box exceeded 1 year!). The actual script for traffic shaping took a lot of time and effort to write
  • Windows Server – used as a DNS server and a POP3/SMTP server
  • Windows Server with RAID5 – for storing all important data
  • Windows Media Center – primarily for recording programs
  • Main PC – Extreme CPU with water cooling, 4 GB Ram – back in those days it was a monster


These days I only have 2:

  • Samsung Ativ Book 9 – 256 SSD, 8GB of RAM, have to say one of the best notebooks
  • Main PC – Intel Extreme Edition CPU with 6 cores (2 logical for each core, so 12 in total), 64GB of RAM, OCZ SSD that goes directly into your motherboard, 2 Intel SSD, 1 x 2TB Hybrid HDD, 7 x 1 GB HDDs – that I need for running virtual machines.

2015-01-18 15.49.18

So despite me getting older I am still a geek

TPL Dataflow


The Task Parallel Library (TPL) was introduced in the .NET Framework 4, providing core building blocks and algorithms for parallel computation and asynchrony.  This work was centered around the System.Threading.Tasks.Task type, as well as on a few higher-level constructs.  These higher-level constructs address a specific subset of common parallel patterns, e.g. Parallel.For/ForEach for delightfully parallel problems expressible as parallelized loops.

While a significant step forward in enabling developers to parallelize their applications, this work did not provide higher-level constructs necessary to tackle all parallel problems or to easily implement all parallel patterns.  In particular, it did not focus on problems best expressed with agent-based models or those based on message-passing paradigms.  These kinds of problems are quite prevalent in technical computing domains such as finance, biological sciences, oil & gas, and manufacturing.

For TPL Dataflow (TDF), we build upon the foundational layer provided in TPL in .NET 4. TDF is a complementary set of primitives to those primitives delivered in TPL in .NET 4, addressing additional scenarios beyond those directly and easily supported with the original APIs.  TPL Dataflow utilizes tasks, concurrent collections, tuples, and other features introduced in .NET 4 to bring support for parallel dataflow-based programming into the .NET Framework.  It also directly integrates with new language support for tasks and asynchrony provided by both C# and Visual Basic, and with existing language support in .NET 4 for tasks provided by F#.

Continue reading “TPL Dataflow”

C# 7.0

Rahul's space

C# History

In all previous versions of C# (with the exception of C# 6.0 maybe) new features have revolved around a specific theme:

  • C# 2.0 introduced generics.
  • C# 3.0 enabled LINQ by bringing extension methods, lambda expressions, anonymous types and other related features.
  • C# 4.0 was all about interoperability with dynamic non-strongly typed languages.
  • C# 5.0 simplified asynchronous programming with the async and await keywords.
  • C# 6.0 had its compiler completely rewritten from scratch, and introduced a variety of small features and improvements that were easier to implement now.

C# 7.0 is no exception to this rule. The language designers were focusing on three main themes:

  • Working with Data – Increased usage of web services is changing the way data is being modelled. Instead of designing the data models as a part of the application, their definition is becoming a part of web service contracts. While this is very convenient…

View original post 1,825 more words

Top 10 C# projects errors found in 2016

I’m not the only one who got burnt by ThreadStatic

How Not To Code

To measure the efficiency of our analyzer, and also to promote the methodology of static analysis, we regularly analyze open source projects for bugs and write articles about the results. 2016 was no exception. This year is especially important as it is the year of the “growth” of the C# analyzer. PVS-Studio has obtained a large number of new C# diagnostics, an improved virtual values mechanism (symbolic execution) and much more. Based on the results of our teamwork, I compiled a kind of chart of the most interesting bugs, found in various C# projects in 2016.

Picture 3

View original post 1,367 more words

Want to learn WPF? Get a book

Sorin Dolha's Blog

I’ve said it before. In my opinion, WPF is the single contemporary programming technology (disclaimer: among those that I’ve considered myself) that really requires a book to learn it. Otherwise, trying to dig using just hands on testing – as it’s indeed possible in many other cases – you might think you know enough before you do and you’ll get frustrated every day later because things won’t work the way you’d think they should. This StackOverflow question – that triggered this post – is only an example. I personally have been there too (and after the WPF experience, now I decided that I’ll always learn complex new technologies using books, although it may be unnecessary in some cases, as I’ve seen before WPF.)

But don’t get scared. Mastering WPF by starting learning it from the core instead of from the surface will provide many, many benefits that will overcome any…

View original post 146 more words


Definitely something to play with when my brain has more oxygen (suffering from anaemia right now)

Deneme 1 2 3!

AForge.NET  is a C# framework designed for developers and researchers in the fields of Computer Vision and Artificial Intelligence – image processing, neural networks, genetic algorithms, machine learning, robotics, etc.

  • AForge.Imaging – library with image processing routines and filters;
  • AForge.Vision – computer vision library;
  • AForge.Neuro – neural networks computation library;
  • AForge.Genetic – evolution programming library;
  • AForge.Fuzzy – fuzzy computations library;
  • AForge.MachineLearning – machine learning library;
  • AForge.Robotics – library providing support of some robotics kits;
  • AForge.Video – set of libraries for video processing
  • etc.

are mainly topic in this framework. İf you want more information and help  visit:

View original post

Battling Anaemia 

The week before last,  on Thursday I suddenly felt something in the stomach, it wasn’t painful, felt more like a cramp. That happened around 14:30 then around 17:40 I decided to go home, stood up and could feel that my heart was racing. I initially thought nothing of it and decided to go home. However as soon as I tried to cross the road I felt that something was seriously wrong with me and I had to sit down. I then slowly proceeded to the closest tube station but even that proved extremely difficult.

I finally gave in and got a cab that took me to the train station. Thinking about the stomach cramp I had earlier I thought I had a bad sandwich and one day off sick should do it.

Meanwhile I could barely walk and after getting to the second floor of my house my blood pressure would skyrocket to 160/110 and my pulse would be around 130bpm. Everyone around me was commenting on how pale I looked,  suggesting I go to the A&E. Initially I refused,  but later I realised that I’m not getting any better and the A&E wouldn’t be such a bad idea.

So my dad drove me to the local hospital (my mum works there as well) and we went to the A&E. Expecting to wait for ages I was actually admitted relatively quickly, by then I really looked very sick. A nurse took few vials of my blood and sent me back to the waiting room.

Half an hour later they asked for me again but this time I was greated by a guy with the wheel chair! This is where I got really really scared. Then the nurse told me that the lab called them to tell that my haemoglobin level was 49 g/L (this is dangerously low, versus normal 160 g/L) and I require an emergency blood transfusions and would remain in the hospital. I was beyond scared by this point.

They said that normally people collapse when their haemoglobin levels are that low and the fact that I was relatively “alive” meant that my body got used to it. After even the first unit of blood (308ml) I felt almost high and full of energy. The consultant said that I require at least 4 units to get my levels above critical (1.2 litres in total). Each bag takes about 2-3 hours and my transfusions lasted well into the night. By then I was moved to the observation ward.

Next morning I was taken for the ultra-sound, and then for upper endoscopy (which was “fun” as I didn’t feel any sedation) , as they were thinking that I must have a bleed somewhere resulting in slow blood loss. Nothing was found.

Next day at the hospital they took about 20 vials of my blood for various tests. The consultant haematologist couldn’t find anything either apart from my still very low haemoglobin (81 g/L after all transfusions).

In the end I was discharged with a diagnosis of “iron deficiency anaemias”.  Which means that I either don’t absorb enough iron (celiac disease would do that for example)  or have a bleeding somewhere in my lower GI. I was given a bunch of ferrous sulphate pills to help maintain my iron levels.

Upon discharge from the hospital I was still a bit high from the blood transfusions, but that quickly subsided. Then all the “pleasant” symptoms from anaemia appeared – extreme chills (I would wear my hoodie even if it was +24 in a room), shortness of breath, headache, low grade fever, anxiety, inability and unwillingness to do anything, insomnia, night sweats, inability to regulate body temperature. Every day I would measure my blood pressure to gauge how hard my heart was working. If I had been sitting for 2 minutes or more my blood pressure was perfect 117/77, however if I did something slightly physically demanding it would again skyrocket to about 140/100. After 5 days of taking the medication I wasn’t feeling any better. Every day would be like a Groundhog day to me – I would wake up at 6 after only sleeping 4-5 hours and having nightmares. I would then sit quietly on the sofa wearing everything to get worm, even though the room temperature was never below 23C. I would then spend the whole day watching telly and sleeping which in turn would make my insomnia even worse.

However today is day #10 and it’s the second consecutive day that I suddenly started to feel better – temperature is down, I can walk without stopping, my headaches are gone and so are the chills.

I still have several outpatient procedures to go to establish the exact cause of such acute onset of anaemia.

All in all anaemia sucks big time, because of lack of oxygen in your blood it hurts to think, I couldn’t sit in front of my PC at all,  you hate yourself for not being able to do anything, one of the most unbearable symptoms is the constant feeling of cold. It basically sucks all the will to live out of you!

In the hindsight, my symptoms began long before August this year, now I think that I might have had some anaemia for at least 6-7 years. I’m now looking forward to recovery, and if I had it for a while I wonder how I would feel with the normal haemoglobin levels!

Day #11 and I certainly don’t feel any worse. About to drive to the clinic all by myself!

C# 8.0 feature proposals: Quick Review

This is getting quite interesting…

I Love C#

This blog is written respective to the features C# 8.0 is suggesting to have. The base for this write up is the following video where Mads Torgersen explains Seth Juarez the newest C# 8.0 features proposed. Please bear in mind none of these features are released or finalized yet.

You can watch the video here.

Nullable Reference Types

I felt like this is somewhat of a misnomer since reference types are by default nullable as they can be null and a lot of developer would expect so. Although to be technically correct nullability (Is that a word? Who knows!) is not a mandatory need for all reference types. We are just used to see it that way and thus the naming is correct.

This specific feature points to a fact where someone is actually capable of declaring reference type instances which are not supposed to be null. Even in…

View original post 1,286 more words

Blog at

Up ↑