George Birbilis' blog
...discussing pretty much everything
Fix: WordPress administration UI content area showing up blank
16 Νοεμβρίου 17 05:16 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Some time ago, at a WordPress 3.3 blog, a friend was getting a blank main area at the administration UI (just the menu was showing up there) when they visited the classic URL of the form http://somesite/wp-admin/. Here is a writeup of some notes I had kept while troubleshooting that issue and then upgrading to […]
Robot modelling formats for simulation
17 Ιουνίου 17 06:00 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Several XML-based formats have surfaced over the years that can be used to describe a robot. Apart from URDF (and SRDF) of ROS origin, the Gazebo simulator has been promoting SDF (an evolution of URDF with emphasis on physics simulation), while MJCF apart from being available as URDF extensions, also has its own format with […]
Background info on libpng warning: iCCP: known incorrect sRGB profile
14 Απριλίου 17 08:01 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I was just checking some log file saved from Buildbox and seems Qt framework was logging the error: libpng warning: iCCP: known incorrect sRGB profile Did some quick research on Google (sorry dear Bing) and added the following background info to the respective question on StackOverflow: http://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile/ Some changes in libpng version 1.6+ cause it […]
Fix: Delphi error MSBuildToolsPath is not specified for the ToolsVersion …
06 Μαρτίου 17 02:06 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
This is my answer at: http://stackoverflow.com/questions/32936544/delphi-10-seattle-trial-fails-to-compile-anything-gives-an-msbuild-error for the issue of Delphi showing on build the error MSBuildToolsPath is not specified for the ToolsVersion "12.0" defined at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0", or the value specified evaluated to the empty string note that in my case it was also showing underlined unit names in the code editor at uses clause […]
Nested LINQ Aggregate queries vs Nested Foreach statements example
29 Μαΐου 16 02:55 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At Trafilm project’s Metadata (http://github.com/zoomicon/Trafilm.Metadata) I have a linked data structure where a Film contains multiple Conversations which contain multiple L3SToccurrences, which in turn contain multiple L3TToccurrences. I had the need to calculate a list of all unique L2language values of L3TToccurrence grand-grand-children for a Film (to keep as calculated metadata for display at the […]
HowTo: Hide HTML markup from non-signedin users at MonoX Social CMS
26 Μαΐου 16 07:44 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At MonoX Social CMS, which I use at both ClipFlair Social and Trafilm websites, I was in the need of hiding some HTML markup when the user is not signed-in. The solution for this is to add runat="server" to the HMTL element one wants to hide and then set the Visible property that the object […]
Gotcha: Calling a label in a batch file fails to redirect output to pathless file
24 Μαΐου 16 07:06 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
In case this bites you too with a "Path not found" error, note that calling a label in a batch file, fails if you redirect its output (useful to log the output of the batch file to a file) and not use a full path for the file to redirect to @echo off call :process […]
Suggestion: add optional “where” clause to “foreach” statement in C#
16 Μαΐου 16 11:33 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Wouldn’t it be nice if I could use in C# the following syntax? for (SomeType repeaterVariable in SomeEnumerable where someBooleanExpressionOfRepeaterVariable) doSomethingUsingRepeaterVariable; e.g. use this one: instead of this one: BTW, if you wonder what FixTime does, it prepends 0: to time strings to make sure they are of format h:m:s.f Have added […]
Suggestion: Add instance modifiers to C# (and other languages)
11 Μαΐου 16 12:48 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I’d like to be able to do someFunctionReturningY(x){ somePropertyOfY=4; … }.DoSomething(); It should also support casting without needing parentheses in the following type of statement: Z zzz = (Z)functionReturningY{somePropertyOfZ=…; … }; The same pattern should work for enums too apart from object instances. It is inspired by initializers in C#, e.g. var x = […]
HowTo: Copy effective-computed CSS style for specific HTML paragraph
25 Ιανουαρίου 16 02:48 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I’m in the process of setting up a temporary landing page for the trafilm project, where I need apart from showing the trafilm logo to also show some text description about the project, till I set up an instance of MonoX Social CMS for it, like the one in ClipFlair’s Community website (ClipFlair Social). Since […]
Fix: Windows Phone update error 80072f8f
28 Δεκεμβρίου 15 06:34 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I was setting up a new Lumia phone (with Windows Phone 8.1) and neither phone update, nor the (Here) maps downloads were working. When trying Settings / Phone Update, it was showing error 80072f8f and was pointing to http://www.windowsphone.com/en-us/how-to/wp8/basics/solutions-to-update-issues to read more info. However that error code wasn’t listed there. Wonder if there is any […]
Suggestion: If and while etc. clauses should accept bool? in C#
10 Δεκεμβρίου 15 04:33 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At TrackingCam app (http://TrackingCam.codeplex.com) I have the following WPF code, where cbTrackingPresenter is a CheckBox control defined in my MainWindow’s XAML: private void cbTrackingPresenter_Checked(object sender, RoutedEventArgs e) { if (cbTrackingPresenter.IsChecked == true) StartTrackingPresenter(); else StopTrackingPresenter(); } Note the (redundant in my opinion) == true pattern used there. If the == true […]
Suggestion: Add Fullscreen and Pin buttons on Titlebar of Windows
09 Δεκεμβρίου 15 05:53 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Here are some suggestions I’ve sent via Windows Insider feedback app for Windows 10: 1) Add the Fullscreen button to titlebar of ALL windows, not just the ones of Windows 8.1 Store apps. UWP (Universal Windows Platform) apps don’t seem to show zoom button on their titlebar (to make it and any borders autodisappear and […]
HowTo: show inner exception message if available, else outer one
09 Δεκεμβρίου 15 05:44 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Sometimes when you catch an exception in .NET, the message it prints out isn’t very informative, since it is wrapping another exception that had been thrown a bit inner in the code. That exception is in that case accessible via InnerException of the Exception instance. That inner exception is also an Exception, so one would […]
Suggestion: C# static extension methods invokable on class type too
09 Δεκεμβρίου 15 05:30 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
it would be nice if C# supported syntax like: public static DependencyProperty Register(static DependencyProperty x, string name, Type propertyType, Type ownerType, FrameworkPropertyMetadata typeMetadata) that is static extension methods for classes, that can be invoked without a class instance (just with the class type), apart from normal extension methods that can be invoked on a class […]
HowTo: Pause and Resume Speech Recognition with Microsoft engines
07 Δεκεμβρίου 15 09:59 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At SpeechTurtle application, I’ve just added speech feedback (voicing of a command) when an available command is executed using a mouse click on its name. That could also help the user learn the expected pronunciation in English in case the speech recognition engine doesn’t understand some of the commands as voiced by the user. One […]
HowTo: Get and combine executable path with subfolder and filename
03 Δεκεμβρίου 15 02:58 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Based on others answers at http://stackoverflow.com/questions/3123870/find-the-location-of-my-applications-executable-in-wpf-c-or-vb-net here’s an example that shows how to remove the executable name from the path and combine the result with some subfolder and filename: At my updated version of Hotspotizer (http://github.com/birbilis/Hotspotizer), I’ve just added support for loading a Gesture Collection file at startup, if found at Library\Default.hsjson, by using the […]
Difference between LocalizableAttribute and LocalizabilityAttribute in .NET
30 Νοεμβρίου 15 02:22 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I’ve just updated an older answer of mine at: https://social.msdn.microsoft.com/Forums/vstudio/en-US/716ef041-0a59-4c1d-9519-e14db4de7e75/localizability-vs-localizable-attributes-in-control-dev?forum=wpf In case you’re wondering too what’s the difference between Localizable and Localizability attributes in .NET, maybe this helps a bit: https://msdn.microsoft.com/en-us/library/ms753944(v=vs.100).aspx LocalizableAttribute – Specifies whether a property should be localized LocalizabilityAttribute – Specifies the localization attributes for a binary XAML (BAML) class or class member […]
Suggestion: Visual Studio should offer to implement callbacks
30 Νοεμβρίου 15 06:01 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I type-in new PropertyMetadata(OnCenterXPropertyChanged) but since I haven’t yet implemented On…, I get a suggestion by the IDE to implement it but it suggests to add field, property or read-only field, not to implement the callback for me with the given name. It can find the method signature needed from the delegate that PropertyMetadata (one […]
Suggestion: Initialize multiple fields to same value at constructor call in C#
30 Νοεμβρίου 15 12:45 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
When using http://github.com/zoomicon/ZUI I would like to write: FloatingWindow window = new FloatingWindow() { Content = display, Title = IconText = title }; but I have to write: FloatingWindow window = new FloatingWindow() { Content = display, Title = title, IconText = title }; instead. For consistency, I’d prefer that […]
Gotcha: WPF UserControl SizeChanged event not firing at resizing
28 Νοεμβρίου 15 04:15 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Useful to know: If you set the Width and Height on the UserControl though, you have set a fixed size and thus even if its parent tool window changes size, the UserControl never will. You should not set Width and Height on the UserControl if you want that event to be raised as the parent […]
Fix: Keyboard shortcuts Ctrl-C, Ctrl-V, Ctrl-Z, Ctrl-A not working in Word
25 Νοεμβρίου 15 04:50 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
For some time now, I was getting very annoyed while copy-pasting content from other software into Microsoft Word 2010. I would press CTRL+C at some other software and then would press ALT+TAB to go into an open Word document and press CTRL+V to paste, but it would not. So I had to move my fingers […]
HowTo: Reinstall a new Windows 10 build after reverting to older build
23 Νοεμβρίου 15 02:28 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At http://www.askvg.com/fix-windows-10-insider-preview-build-10240-not-appearing-on-windows-update/ it writes: NOTE: If you previously had a new Windows 10 build installed in your computer and then reverted back to an older build, you’ll lose access to the new build and it’ll no longer be offered as an upgrade option. Deleting the number for that build from the list at HKEY_LOCAL_MACHINE\SOFTWARE\ […]
HowTo: Remove unused references and using clauses in Visual Studio
17 Νοεμβρίου 15 03:04 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I recently posted a list of the VS2015 extensions I use on my main machine at: https://zoomicon.wordpress.com/2015/11/13/visual-studio-2015-extensions-i-use/ From that list of extensions I use the Productivity Power Tools one, it has a "Power Commands > Remove and Sort Usings" action that one can right click and run on the whole solution. Much easier than opening […]
Suggestion: on Duck Typing and C#/.NET
16 Νοεμβρίου 15 03:32 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
My comment at: http://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/4272089-support-implicit-interfaces-for-code-reuse It would be nice indeed if one could define at the client object’s side a static interface that is a subset of the methods of a server (or serving if you prefer) object (it is only the view of the server that the client has gained knowledge of) that has been […]
Περισσότερες Δημοσιεύσεις
« Προηγούμενη
-
Επόμενη »
Search
Go
Το Ιστολόγιο
Αρχική Σελίδα
Επικοινωνία
Ετικέτες
.NET
ASP.net
Audio
Automation
Binding
Browser
Bugs
C#
Class
ClipFlair
Compatibility
Compression
Computers
Computers and Internet
Configuration
Controls
CSS
Database
Downloads
Ecology
Education
Errors
E-Slate
Events
Extensions
Fail
Filesystem
Filters
Firefox
Fix
Free
Games
Google
Gotcha
Hash
HowTo
HTML
HTTP
IE
IE9
IIS
Installation
Installers
Javascript
Kinect
Law
Layout
Links
Maps
Media
MediaElement
Methods
Microsoft
MMPPF
Mouse
None
Operators
Plugins
Posts
Programming
Prometheus
Properties
Python
RegEx
Security
Sharing
Silverlight
Smart Classroom
SMF
Source
String
Suggestion
Suggestions
Syntax
Text
trafilm
Transforms
Troubleshooting
Twitter
UI
Updates
URL
Usability
Video
Visual Studio
Visualization
VisualStudio
Windows
Windows 10
Windows 7
Word
WordPress
Workarround
WPF
XAML
XML
YouTube
ZIP
ZUI
Αταξινόμητα
Πλοήγηση
Αρχική σελίδα
Ιστολόγια
Συζητήσεις
Εκθέσεις Φωτογραφιών
Αρχειοθήκες
Ιστορικό Δημοσιεύσεων
Ιούνιος 2021 (1)
Απρίλιος 2021 (1)
Φεβρουάριος 2021 (2)
Ιανουάριος 2021 (2)
Αύγουστος 2020 (3)
Ιούλιος 2020 (2)
Απρίλιος 2020 (2)
Μάρτιος 2020 (3)
Φεβρουάριος 2020 (2)
Δεκέμβριος 2019 (1)
Νοέμβριος 2019 (1)
Οκτώβριος 2019 (2)
Αύγουστος 2019 (1)
Ιούνιος 2019 (2)
Απρίλιος 2019 (3)
Ιανουάριος 2019 (1)
Νοέμβριος 2018 (4)
Οκτώβριος 2018 (4)
Σεπτέμβριος 2018 (2)
Αύγουστος 2018 (2)
Ιούνιος 2018 (3)
Μάρτιος 2018 (2)
Φεβρουάριος 2018 (1)
Νοέμβριος 2017 (4)
Ιούνιος 2017 (1)
Απρίλιος 2017 (1)
Μάρτιος 2017 (1)
Μάιος 2016 (5)
Ιανουάριος 2016 (1)
Δεκέμβριος 2015 (7)
Νοέμβριος 2015 (12)
Οκτώβριος 2015 (2)
Σεπτέμβριος 2015 (3)
Αύγουστος 2015 (9)
Ιούλιος 2015 (1)
Ιούνιος 2015 (3)
Μάιος 2015 (1)
Απρίλιος 2015 (2)
Μάρτιος 2015 (2)
Φεβρουάριος 2015 (1)
Ιανουάριος 2015 (2)
Δεκέμβριος 2014 (3)
Νοέμβριος 2014 (3)
Οκτώβριος 2014 (1)
Σεπτέμβριος 2014 (2)
Αύγουστος 2014 (6)
Ιούλιος 2014 (1)
Μάιος 2014 (1)
Απρίλιος 2014 (2)
Μάρτιος 2014 (3)
Φεβρουάριος 2014 (2)
Δεκέμβριος 2013 (2)
Νοέμβριος 2013 (2)
Σεπτέμβριος 2013 (2)
Αύγουστος 2013 (3)
Ιούλιος 2013 (5)
Ιούνιος 2013 (2)
Μάιος 2013 (3)
Απρίλιος 2013 (2)
Μάρτιος 2013 (2)
Φεβρουάριος 2013 (4)
Δεκέμβριος 2012 (6)
Νοέμβριος 2012 (11)
Οκτώβριος 2012 (5)
Σεπτέμβριος 2012 (2)
Αύγουστος 2012 (9)
Ιούλιος 2012 (11)
Ιούνιος 2012 (8)
Μάιος 2012 (2)
Απρίλιος 2012 (2)
Φεβρουάριος 2012 (5)
Ιανουάριος 2012 (5)
Δεκέμβριος 2011 (8)
Νοέμβριος 2011 (3)
Οκτώβριος 2011 (4)
Σεπτέμβριος 2011 (8)
Ιούλιος 2011 (3)
Ιούνιος 2011 (2)
Μάιος 2011 (2)
Μάρτιος 2011 (4)
Φεβρουάριος 2011 (8)
Ιανουάριος 2011 (2)
Δεκέμβριος 2010 (1)
Νοέμβριος 2010 (3)
Οκτώβριος 2010 (12)
Σεπτέμβριος 2010 (2)
Αύγουστος 2010 (2)
Ιούλιος 2010 (9)
Ιούνιος 2010 (3)
Μάιος 2010 (11)
Απρίλιος 2010 (15)
Μάρτιος 2010 (13)
Φεβρουάριος 2010 (15)
Ιανουάριος 2010 (4)
Δεκέμβριος 2009 (3)
Νοέμβριος 2009 (15)
Οκτώβριος 2009 (26)
Σεπτέμβριος 2009 (13)
Αύγουστος 2009 (8)
Ιούλιος 2009 (8)
Ιούνιος 2009 (4)
Μάιος 2009 (4)
Απρίλιος 2009 (7)
Μάρτιος 2009 (8)
Φεβρουάριος 2009 (8)
Ιανουάριος 2009 (3)
Δεκέμβριος 2008 (31)
Νοέμβριος 2008 (24)
Οκτώβριος 2008 (1)
Μάιος 2008 (2)
Αύγουστος 2007 (1)
Νοέμβριος 2006 (1)
Σεπτέμβριος 2006 (1)
Συνδρομές
RSS 2.0
Atom 0.3