Huristic/io

A technology blog

By engineers for engineers

  • Home
  • Blog
  • Research
  • Sign Up
  • About
Featured
Using Apache Ignite to Prevent Duplicate REST Requests
Mar 19, 2018
apache ignite, java, REST, API, .net
Using Apache Ignite to Prevent Duplicate REST Requests
Mar 19, 2018
apache ignite, java, REST, API, .net

I faced a non-unique problem, my API kept getting duplicate requests in rapid succession from time to time. One of those "It works on my machine" issues that I only saw in a production environment and only due to some misbehaving clients. I know APIs are supposed to be stateless and idempotent and all those buzzwords... I had all that and more, however the duplicates kept coming in, causing the need for cleanup scripts and subtle bugs downstream in a large enterprise system.

Read More →
Mar 19, 2018
apache ignite, java, REST, API, .net
C# Advanced Enum Value Types!
Jan 31, 2018
c#, enum, .net, types, data structures
C# Advanced Enum Value Types!
Jan 31, 2018
c#, enum, .net, types, data structures

I'm going to show approaches of implementing what I call "advanced enums" in C#, since they aren't natively supported. With these techniques we will see, many advantages of more sophisticated enumerations, their use and implementations. Take this with a grain of salt if you are a language purist you probably won't like what you see. I'm going to try and change you mind.

Read More →
Jan 31, 2018
c#, enum, .net, types, data structures
Software Engineer Vs Programmer
Nov 6, 2016
engineer, programmer, architect
Software Engineer Vs Programmer
Nov 6, 2016
engineer, programmer, architect

There are different terms that describe the job of someone who creates software, and some such terms carry a type of stigma along with them. Here's my attempt to rant about what I think the difference is between two very popular terms: Software Engineer and Programmer.

Read More →
Nov 6, 2016
engineer, programmer, architect
Algebraic Types in Scala???
Oct 3, 2016
scala, jvm, algebra, types
Algebraic Types in Scala???
Oct 3, 2016
scala, jvm, algebra, types

If you have ever looked into Scala at any point you would’ve heard the term Algebraic Data Types

The goal here is to attempt to explain what that is since it’s kind of an obscure concept from an OO view point. Even though you could draw a parallel between algebraic types and Composition vs Inheritance, it’s not quite the same thing. So it’s worth while to try to understand ADT for what it is.

Read More →
Oct 3, 2016
scala, jvm, algebra, types
Why Is Everyone Talking About the CAP Theorem?
Oct 3, 2016
cap theorem, cap, eventual consistency
Why Is Everyone Talking About the CAP Theorem?
Oct 3, 2016
cap theorem, cap, eventual consistency

With all the hype and buzz around micro services and containers and APIs and  (insert buzz word here) many in the industry are talking about the CAP theorem. It seems like every software engineer is expected to know what it is all of a sudden. OK, that maybe an over exaggeration, clearly if you're not building distributed applications you won't have a clue as to what I'm ranting about here... But lets face who isn't writing distributed applications these days? 

Read More →
Oct 3, 2016
cap theorem, cap, eventual consistency
My Experience with C# as a Java Guy!
Oct 2, 2016
java, c#, jvm, scala, microsoft, .net
My Experience with C# as a Java Guy!
Oct 2, 2016
java, c#, jvm, scala, microsoft, .net

So, the age-old question, Java vs. ‘fill in the blank’. If you are a java developer (sorry Engineer), then you love Java, and you spend time arguing with co-workers about why Java is better or at least not worse than their language of choice. These arguments never end, and will never end, that’s because there are so many languages out there and every month some new language is created which is claimed to be the solution to all our problems. 

Read More →
Oct 2, 2016
java, c#, jvm, scala, microsoft, .net
Subscribe
Featured
Mar 30, 2018
Fun Java Deadlock Puzzle
Mar 30, 2018
Mar 30, 2018
Mar 19, 2018
Using Apache Ignite to Prevent Duplicate REST Requests
Mar 19, 2018
Mar 19, 2018
Jan 31, 2018
C# Advanced Enum Value Types!
Jan 31, 2018
Jan 31, 2018
Feb 20, 2017
Dealing with Mesosphere Marathon Lost Tasks
Feb 20, 2017
Feb 20, 2017
Nov 6, 2016
Software Engineer Vs Programmer
Nov 6, 2016
Nov 6, 2016
Oct 14, 2016
Finding Islands In a Binary Matrix
Oct 14, 2016
Oct 14, 2016
Oct 3, 2016
Algebraic Types in Scala???
Oct 3, 2016
Oct 3, 2016
Oct 3, 2016
Why Is Everyone Talking About the CAP Theorem?
Oct 3, 2016
Oct 3, 2016
Oct 2, 2016
My Experience with C# as a Java Guy!
Oct 2, 2016
Oct 2, 2016

Copyright © 2018

The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of David Khanaferov