Surface Pro 3 tip

2014/10/04

if you own Surface Pro 3 tablet you might notice that the F keys functionality is quit annoying. by default you have to press the Fn key along with the F key. this can be very annoying when trying to work with software like Visual Studio. to overcome this issue all you have to do is to learn single shortcut. Fn + CapLock: this shortcut toggle the Fn functionality between the F keys and the defaults keys (Home, End, etc.)
no comments

Israel at War

2014/07/24

I don't use to write non-technical post, but this isn't regular time at Israel,Israel is under missile attack for more than 2 weeks. we are facing cynical terrorist organization which is hiding behind it's ownlocal population. we do recognize that Palestinian people are suffering,but so are the people of Israel. the south of Israel is under missile attach for more than 14 years, they're having only 15 secondsto find shelter when missile alarms turn on.the terrorist is aiming our civilian population while hiding behind their own civilian population.they fire rockets from schools,  hospitals, mosques and even UN buildings. what...
no comments

Entity Framework 7 is Missing Again

2014/05/21

Entity Framework 7 is Missing Again the original title of this post was "EF7: better late than never" but when I was learning more about Entity Framework 7's design I was somewhat disappointed. for me then main scenario for Entity Framework is SOA, where EF should be placed on the server side. as we all know server side should be stateless. but EF Team is keeping to ignore it as this scenario and focusing on stateful context. from my perspective the ORM 's best design is stateless server components + stateful client components which responsible of delegating command...
no comments

TPL Dataflow Starvation

2014/04/19

TPL Dataflow Starvation this post is dealing with TPL Dataflow issue that may cause starvation.the TPL Dataflow team aware of it, so we can expect it to be fix in the near future.until then, you should be aware of it in order to avoid potential starvation of some of your Dataflow Blocks. so when does it happens? the starvation will happens when you have 2 blocks which is linked to the same source block and the first block linked block has limit Bound Capacity. usually you structure your blocks fabric this way,when you want a fallback semantic...

Code Paste

2014/03/31

Code Paste during the years I maintains code snippets as notes for myself.recently goes over it and thought it might be useful to some of you, so I decided to publish it on my blog. you can see my code snippet at http://codepaste.net/searchall you have to do is to fill the "By" filed with my name and click search. enjoy it
no comments

Observable.FromAsync is it the right choice?

2014/03/22

Observable.FromAsync is it the right choice? one of the most common RX's practice is to use Observable.FromAsync for executing asynchronous IO operations. typical code may look like: Code Snippet var webClient = new WebClient(); IObservable<string> uris = ...; var dataStream = from uri in uris                     from data in Observable.FromAsync(                         () => webClient.DownloadDataTaskAsync(uri))                     select data; behind the scenes RX set a Task continuation (ContinueWith) and propagate the result through AsyncSubject, actually it is a bit complex and messy implementation combination with TPL Dataflow (.NET 4.5) may offer better solution to asynchronous...

Generic restrictions

2014/03/18

Generic restrictions can you predict the output of the following code snippet? Code Snippet static void Main(string args) {     var b = new B();     var g = new General<B>();     g.Exec(b); }   public class A {     public void Print()     {         Console.WriteLine("A");     } } public class B:A {     public void Print()     {         Console.WriteLine("B");     } }   public class General<T>     where T:A {     public void Exec(T t)     {         t.Print();     } } first try to predict before F5 and then give it a try. you might not expect to see so...
no comments