Suggestion: Add support for constants in C# (and VB.net etc.) interfaces
16 Νοεμβρίου 15 12:52 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
It is rather unfortunate that C# doesn’t support constants in interfaces, whereas Java does. If IL (intermediate language) that C# usually compiles to (when not using AOT that is like in .NET Native or Xamarin iOS) doesn’t support this, then the compiler could create a special sealed class to carry the constants. Then, wherever they’re […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Visual Studio 2015 Extensions I use
13 Νοεμβρίου 15 10:34 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is the complete list of Visual Studio 2015 Extensions I’m using currently: Tagged: Extensions, Visual Studio
Δημοσίευση στην κατηγορία: , ,
Suggestion: Introduce .= operator for C#
11 Νοεμβρίου 15 05:45 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
It would be nice if one could write in C# (and maybe in other .NET languages too): s = s.SomeMethodOfS(…)… as s .= SomeMethodOfS(…)… that is to have a .= operator, similar to += and other shorthand experession operators see screenshot for an example usecase from the opensource project FoscamController     Ideally, usage of […]
Δημοσίευση στην κατηγορία: , , , , , ,
Suggestion: Define once and reuse result type of method inside its body
10 Νοεμβρίου 15 11:58 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
It would be nice if one could rewrite this C# snippet: public SortedDictionary<string, UObject> GetObjects() {   SortedDictionary<string, UObject> result = new SortedDictionary<string, UObject>();   using (ReadTransaction xact = namingSchema.ReadTransaction())     foreach (ObjectName.RowType row in ObjectName.object_name_(xact))       result.Add(row.name_, row.object_);   return result; }   in a more concise form like:   public T GetObjects() where T=SortedDictionary<string, UObject> {   T result […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Upgrade Kinect Audio Positioning code from older Beta SDK
24 Οκτωβρίου 15 09:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Exploring the Kinect SDK v1.8 Developer Toolkit Browser application, I noticed some audio positioning visualizations at various samples (specifically at Audio Basics, Audio Explorer and Kinect Explorer samples), but I kept on looking for some simpler/cleaner sample code to return audio positioning info that would be easier to reuse. So I can across http://kinectaudioposition.codeplex.com that […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Fix: VSIX installer error – SignatureDescription could not be created
10 Οκτωβρίου 15 02:13 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my answer at: http://stackoverflow.com/questions/31552082/vsix-installer-signaturedescription-could-not-be-created-for-the-signature-algo/ to the question on why some extensions fail to install at RC (Release Candidate) versions of Visual Studio 2015, showing error “SignatureDescription could not be created for the signature algorithm supplied”. Not sure if Microsoft fixed this on purpose or by accident, but this is very useful for people […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Suggestion: Allow local nested methods inside any code block
05 Σεπτεμβρίου 15 09:44 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
It would be nice if one could define methods inside other methods so that they are only accessible in the context of the parent method. In Pascal one could define them at the start of the parent method, before any other commands, but after local variables block, so they could also access the variables of […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Suggestion: Define scoped variable at C# switch conditional statement
01 Σεπτεμβρίου 15 08:47 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Trying to reuse the conditional value of a switch statment in C# at the fallback “default” code block of it, and looking up if that was supported in C#, I found the a related discussion at: http://stackoverflow.com/questions/29628507/c-sharp-get-switch-value-if-in-default-case I added a comment there and also elaborated it a bit more at a suggestion (PLEASE VOTE IT […]
Δημοσίευση στην κατηγορία: , , , , , ,
HowTo: List all known color names and find name of given color at WPF
01 Σεπτεμβρίου 15 06:11 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my answer at http://stackoverflow.com/questions/4475391/wpf-silverlight-find-the-name-of-a-color Modified answer from Thomas Levesque to populate the Dictionary only when 1st needed, instead of taking the cost at startup (going to use at speech recognition-driven turtle graphics, so that user can pronounce known color names to change the turtle’s pen color) //Project: SpeechTurtle (http://SpeechTurtle.codeplex.com) //Filename: ColorUtils.cs //Version: 20150901 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Insert new line and spacing at content of WPF TextBlock control
28 Αυγούστου 15 04:34 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While adding more voice commands at SpeechTurtle, I had to update the active legend where the available commands are displayed and their text is highlighted as the respective commands are recognized by the speech recognition engine (using .NET’s managed Speech API). A problem I faced was how to add a newline and prefixing the 2nd […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Suggestion: property and event setting block attached to C# type instance
25 Αυγούστου 15 03:31 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Instead of having to write in C#       speechRecognizer = CreateSpeechRecognizer();       if (speechRecognizer != null)       {         speechRecognizer.SomeProperty = someValue;         speechRecognizer.SomeOtherProperty = someOtherValue;         speechRecognizer.SpeechRecognized += SpeechRecognized;         speechRecognizer.SpeechHypothesized += SpeechHypothesized;         speechRecognizer.SpeechRecognitionRejected += SpeechRecognitionRejected;       } I’d prefer to write:       speechRecognizer = CreateSpeechRecognizer() {         SomeProperty = someValue,         SomeOtherProperty […]
Δημοσίευση στην κατηγορία: , , , , , ,
Managed .NET Speech API links
24 Αυγούστου 15 03:11 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
(this is my answer at http://stackoverflow.com/questions/14771474/voice-recognition-in-windows) I’m looking into adding speech recognition to my fork of Hotspotizer Kinect-based app (http://github.com/birbilis/hotspotizer) After some search I see you can’t markup the actionable UI elements with related speech commands in order to simulate user actions on them as one would expect if Speech input was integrated in WPF. […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Suggestion: implement ignore keyword or allow missing catch block in C#
23 Αυγούστου 15 01:23 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is a suggestion I’ve just sent in via Visual Studio’s “Send a frown” feature (rewritten here a bit differently from memory, since that feedback channel doesn’t allow you to access your previous feedback as the Microsoft Connect or the Uservoice site does) : Instead of having to write try {   … } catch […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Suggestion: Allow new in C# without giving Type
23 Αυγούστου 15 01:12 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is a suggestion I’ve just sent in via Visual Studio’s “Send a frown” feature: Instead of writing statements like:   List<CultureInfo> result = new List<CultureInfo>(); in C# I’d prefer to be able to write   List<CultureInfo> result = new (); inside the () one would be able to pass contructor parameters and also they […]
Δημοσίευση στην κατηγορία: , , , , ,
HowTo: Free up some disk space by disabling hibernation on Windows 10
11 Αυγούστου 15 02:49 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I have a small older Tablet PC (Lenovo S10-3t) that I’m running Windows 10 on, having replaced its internal classic SATA hard disk with an SSD one, and since SSD space is scarce (being more expensive I got a smaller in size disk than the original one), I needed to make free space. Since that […]
Δημοσίευση στην κατηγορία: , , , , ,
Fix: Cleanup after upgrading from Windows 10 technical preview
07 Αυγούστου 15 10:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I recently replaced the internal hard disk of my old Lenovo S10-3t Tablet PC with an SSD and installed Windows 10 technical preview, but recently realized the hard disk had almost run out of space. Trying to figure out why, I realized that upgrading from the Windows 10 technical preview version to the final Windows […]
Δημοσίευση στην κατηγορία: , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Hotspotizer (εφαρμογή για Kinect, μετάφραση άρθρου στα ελληνικά)
03 Αυγούστου 15 01:30 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Το παρακάτω κείμενο είναι μετάφραση στα ελληνικά της σελίδας: http://designlab.ku.edu.tr/hotspotizer Μια βελτιωμένη έκδοση του πηγαίου κώδικα της εφαρμογής Hotspotizer είναι διαθέσιμη στο: http://github.com/birbilis/hotspotizer Επιβλέποντες: Prof Oğuzhan Özcan, Dr Yücel Yemez Ανάπτυξη ιδέας: Mehmet Aydın Baytaş, Dr Ayça Ünlüer Ανάπτυξη λογισμικού: Mehmet Aydın Baytaş Σχετικό έργο: Προδιαγραφές πάνω σε Εκπαίδευση Σχεδίασης για Διάδραση μέσω Χειρονομιών Οι […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Kinect for Xbox 360 and Kinect for Windows (KfW) v1 specs
28 Ιουλίου 15 05:01 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
1) 3D Depth sensor (IR Emitter + IR Camera / Depth Sensor) 2) RGB camera (Color Sensor) 3) Microphone array 4) Tilt motor (for detecting floor and players in the playspace)   Kinect Specifications Viewing angle Field of View (FoV): 43° vertical x 57° horizontal Vertical tilt range ±27° Frame rate (depth and color stream) […]
Structuring (physical) source and (virtual) solution folders for portability
05 Ιουνίου 15 06:40 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here those comments of mine at a discussion on the GraphX project: https://github.com/panthernet/GraphX/issues/21 describing the source code (physical) folder structure and the Visual Studio solution (virtual) folder structure I’ve been using at ClipFlair and other multi-platform projects. —— looking at the folders/projects/libraries/namespaces naming, I think it would be more appropriate to add the platform […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Source code analyzers for .NET porting & Portable Class Libraries (PCL)
05 Ιουνίου 15 06:04 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
.NET Portability Analyzer extension https://visualstudiogallery.msdn.microsoft.com/1177943e-cfb7-4822-a8a6-e56c7905292b API Portability Analyzer – Alpha (command-line version) http://www.microsoft.com/en-us/download/details.aspx?id=42678 PLIB API XLS https://onedrive.live.com/view.aspx?resid=8A7FB4A4B32FB2C9!180&app=Excel&authkey=!AHaBmLAhQ49YCI0 Xamarin Scanner (How Mobile is your .NET code?) http://scan.xamarin.com/ Tagged: .NET, Analysis, API, ClipFlair, GraphX, PCL, Porting, Source, Xamarin
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Use MEF to implement import/export etc. plugin architecture
03 Ιουνίου 15 01:13 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here my comment at a discussion on the GraphX project: https://github.com/panthernet/GraphX/pull/15 in case it helps somebody in using MEF (Managed Extensibility Framework) in their software’s architecture ——– Using static classes instead of interfaces can mean though that you need to use reflection to call them (e.g. if you wan to have a list of […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Fix: Enable Silverlight & other NPAPI plugins at Chrome web browser
26 Μαΐου 15 05:43 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Below I’m elaborating a bit more my related tweet: #Fix #Silverlight & other #NPAPI (Netscape #Plugin API) at #Chrome Go to chrome://flags/#enable-npapi and click Enable, Close/Reopen browser — George Birbilis (@Zoomicon) May 13, 2015   Showing below the easiest of the suggested solutions that I found in this page   At Chrome’s address bar you […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Open page from Internet Explorer (Metro) app into desktop IE
20 Απριλίου 15 11:03 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
The Windows 8/8.1 app version of Internet Explorer is also known as IE Metro because of the “Metro” codename (inspired by navigation signs in public transport] of the Modern UI design language promoted by Microsoft). However that version isn’t the full Internet Explorer, in that it is unfortunately not supporting extensibility via plugins in the […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
HowTo: Delete all nodes and relationships from Neo4j graph database
18 Απριλίου 15 02:54 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At a Neo4j question in http://stackoverflow.com/questions/19624414/delete-node-and-relationships-using-cypher-query-over-rest-api, a recent reply (older ones use obsolete Cypher syntax) says: Both START and the [r?] syntax are being phased out. It’s also usually not advised to directly use internal ids. Try something like: match (n{some_field:"some_val"}) optional match (n)-[r]-() delete n,r So, to delete all nodes (including disconnected ones) and […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »

Search

Go

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

Συνδρομές