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

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

Συνδρομές