|
Mirrored Weblogs
-
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 […]...
|
-
In this post I am going to provide you with a hands-on example on how to avoid writing your LINQ to Entities queries in a way that will hinder performance of your application. The aim of this post (hopefully a series of posts on performance and Entity Framework) is to highlight bad coding practices when architecting an applications that uses EF as the ORM to fetch and manipulate data from the data store. I am going to point out some practises and patterns that very often developers use and cause EF to create poor-performing T-SQL statements. Entity Framework will always create T-SQL, the thing to keep in mind is that we have to make sure that this T-SQL code (that we cannot write ourselves since it is abstracted by EF) if it is poor then when passed to the SQL Server engine (through the optimiser and the creation of the execution plan) will cause our applications to perform poorly especially under heavy load. Let me talk a bit about query optimisation and T-SQL. T-SQL is declarative by nature. When we write T-SQL...
|
-
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 […]...
|
-
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 […]...
|
-
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 […]...
|
-
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 […]...
|
-
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 […]...
|
-
(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. […]...
|
-
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 […]...
|
-
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 […]...
|
-
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 […]...
|
-
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 […]...
|
-
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 […]...
|
-
Το παρακάτω κείμενο είναι μετάφραση στα ελληνικά της σελίδας: 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ş Σχετικό έργο: Προδιαγραφές πάνω σε Εκπαίδευση Σχεδίασης για Διάδραση μέσω Χειρονομιών Οι […]...
|
-
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) […]...
|
-
ollowing up on my Azure SQL Database performance tools and practices I’m very happy to Read more...
|
-
In this post I am going to provide you with a hands-on example on how to use second level caching with Entity Framework 6.0 version. Second Level Caching is one of the features that is not present out-of-the-box in Entity Framework. Second level cache is a query cache. The results of SQL commands are stored in the cache, so that the same SQL commands retrieve their data from the Cache rather than executing the query again against the underlying provider. This can have a performance boost for your application and results in less activity against your database, at the cost of increased memory. There is currently a project in codeplex, EntityFramework.Cache that enables us caching of query results for EF 6.1 applications. Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework.EF addresses the problem of Object-relational impedance mismatch. I will not be talking about that mismatch because it is well documented in many sites on the Internet. Through that framework we can program against...
|
-
In this post I am going to provide you with a hands-on example on how to log commands & queries sent to the database by Entity Framework 6.0. You can use the fantastic Entity Framework third party profiler by Hibernating Rhinos if you want. You can find a similar post here . Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework.EF addresses the problem of Object-relational impedance mismatch. I will not be talking about that mismatch because it is well documented in many sites on the Internet. Through that framework we can program against a conceptual application model instead of programming directly against a relational schema-model. By doing so we can decrease the amount of code we do write to access a data storage and thus decrease maintenance time. You can find many posts regarding Entity Framework in this blog. 1) Create an empty ASP.Net Application (Web Forms Application) and give it the name EFLogging. I am using Visual Studio 2013 Ultimate edition. 2) Add a new web...
|
-
he fourth free ebook in Microsoft Press’s free Microsoft Azure Essentials series, Microsoft Azure Essentials: Azure Web Read more...
|
-
In this post I am going to provide you with a hands-on example on how to handle efficiently batch operations with Entity Framework and the EF Extended library . You can find another similar post where I demonstrate how to handle batch opration with Entity Framework and the EF Utilities library. Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework.EF addresses the problem of Object-relational impedance mismatch. I will not be talking about that mismatch because it is well documented in many sites on the Internet. Through that framework we can program against a conceptual application model instead of programming directly against a relational schema-model. By doing so we can decrease the amount of code we do write to access a data storage and thus decrease maintenance time. You can find many posts regarding Entity Framework in this blog. As stated earlier it is easy to implement basic CRUD (create, read, update, delete) functionality using EF. There are performances issues when...
|
-
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 […]...
|
-
.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...
|
-
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 […]...
|
-
In this post I am going to provide you with a hands-on example on how to handle efficiently batch operations with Entity Framework and the EF Utilities library. Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework.EF addresses the problem of Object-relational impedance mismatch. I will not be talking about that mismatch because it is well documented in many sites on the Internet. Through that framework we can program against a conceptual application model instead of programming directly against a relational schema-model. By doing so we can decrease the amount of code we do write to access a data storage and thus decrease maintenance time. You can find many posts regarding Entity Framework in this blog. As stated earlier it is easy to implement basic CRUD (create, read, update, delete) functionality using EF. There are performances issues when performing batch operations on thousand of domain objects (records). In this post I will do a batch update on a table with traditional...
|
-
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 […]...
|
|
|
|