Παρουσίαση με Ετικέτες

Class diagrams for Hotspotizer Kinect-based application source code
04 Αυγούστου 15 02:11 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Following are class diagrams for Hotspotizer’s C# code, as is currently at 4 Aug 2015 at its refactored version I maintain in my fork at GitHub (http://github.com/birbilis/hotspotizer). The respective diagram (.cd) files for Visual Studio are available in the code repository at the various subfolders: Tagged: Authoring, Automation, Class, Diagrams, Gestures, Hotspotizer, Keyboard, Kinect, Smart […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Fix: Java ServletException: IncompatibleClassChangeError
25 Ιουνίου 13 06:49 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
was getting an error like the following at your JavaEE Servlet (Portlets are also Servlets under the hood btw): javax.servlet.ServletException: javax.portlet.PortletException: java.lang.Throwable: java.lang.IncompatibleClassChangeError: : incorrect call to interface method   at first I thought the issue was with:   <bean:message class=”someCSSstyleClass” key="someMsgKey"/>   and used instead:   <span class="someCSSstyleClass"><bean:message key="someMsgKey"/></span>   in case the “class” […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
.NET String extension methods to check for array of prefixes or suffixes
05 Απριλίου 13 10:51 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Seems StartsWith and EndsWith methods of String class in .NET are missing a version that accepts multiple (as an array) prefixes or suffixes respectively when testing the string. To achieve this I just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static bool [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
.NET String class extensions to replace prefix or suffix
26 Μαρτίου 13 05:47 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static string ReplacePrefix( this string s, string fromPrefix, string toPrefix, StringComparison comparisonType) { return (s.StartsWith(fromPrefix, comparisonType)) ? toPrefix + s.Substring(fromPrefix.Length) : s; } public static string ReplacePrefix( this string s, string[] fromPrefix, string toPrefix, [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Combinatorics library (Silverlight for Windows Phone)
02 Δεκεμβρίου 11 06:15 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I recently found a very nice article at CodeProject on Combinatorics algorithms implementation (specifically Permutations, Combinations and Variations with Repetition option) using C# Generics: http://www.codeproject.com/KB/recipes/Combinatorics.aspx It uses a lexicographic algorithm, so it allows one to ask for “next” permutation/combination/variation from the collection of all possible ones, in the spirit of C++ Standard Library’s (STL) “next_permutation” [...]
Δημοσίευση στην κατηγορία: , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές