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

Workarround: IE11 changing download file extension to .zip
21 Φεβρουαρίου 18 11:43 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair Gallery, apart from opening a ClipFlair activity in ClipFlair Studio, downloading of an activity (.clipflair) file is also supported. However, because the component serialization file format of ClipFlair Studio is XML plus media assets packed in .zip archive (with nesting allowed, where components and whole activities can be placed in other activities), Internet […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: MarkerReached event of MediaElement returns new Markers
20 Μαρτίου 15 08:50 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I just checked in the implementation code for a new feature for ClipFlair Studio’s Captions/Revoicing component: When playing back recorded (or loaded from a WAV or MP3 file) audio for a caption/revoicing entry, the playback is now limited to the duration of the respective caption, (End-Start) time that is (btw that component has a duration […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Fix: TortoiseHg not commiting files
04 Φεβρουαρίου 15 06:00 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
It seems that sometimes TortoiseHg Mercurial (Hg) client on Windows fails to remove a 0-byte-sized file named “wlock” (a write lock to avoid simultaneous write to a local repository) in the “.hg” subfolder that holds a local repository. This results in the Commit dialog never commiting changed/removed/added files and you have to press Close there […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Suggestion: Making Intellisense in Visual Studio more Intelligent
04 Ιανουαρίου 15 11:42 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just sent this to the Visual Studio team via the “send a frown” button: pressing CTRL+SPACE after "buttonDropDown." (see screenshot) seems to give me suggestions of members of buttonDropDown that aren’t a fit to the Rectangle object that I’m trying to assign to I suppose you do so since I could eventually drill down into […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Gotcha: MediaElement Source=null releases stream, SetSource(null) fails
12 Δεκεμβρίου 14 05:32 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my contribution to: http://stackoverflow.com/questions/19294258/forcing-mediaelement-to-release-stream-after-playback/27436323 If you use MediaElement, make sure you don’t get bitten by this one: http://msdn.microsoft.com/en-us/library/cc626563(v=vs.95).aspx ArgumentNullException – The mediaStreamSource is null. … After calling this method, MediaElement.Source returns null. If this is called and MediaElement.Source is set, the last operation wins. If a MediaElement is removed from the UI tree […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Fix: Allow rewind of Mp3MediaStreamSource back to start
18 Νοεμβρίου 14 06:46 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
My comment at: https://github.com/loarabia/ManagedMediaHelpers/issues/16 While trying to use Mp3MediaSource at ClipFlair Studio’s AudioRecorder control (http://clipflair.codeplex.com), I noticed that when I was doing Stop() at MediaElement and then Play() it kept on playing from where it was before at Mp3MediaStreamSource So I did the following fix:   1) added these fields /// <summary> /// The first […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Gotcha: MediaElement must be in visual tree for MediaOpened, MediaEnded to be fired
18 Νοεμβρίου 14 04:18 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair’s AudioRecorderControl (used in Captions/Revoicing component of ClipFlair Studio), I use the following code to initialize a MediaElement to use for playback. After a long time a found out that if the MediaElement is not in the visual tree (for example defined in XAML, or defined in code and then added to the visual […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: MediaElement AutoPlay faster than doing Play at MediaOpened
18 Νοεμβρίου 14 02:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just added the following comment to: https://github.com/loarabia/ManagedMediaHelpers/issues/15 Managed Media Helpers contains the very useful Mp3MediaSource class for .NET / Silverlight / Windows Phone. Added compile-time SWITCHES and respective code to Silverlight demo code for PRELOAD (into memory stream) and AUTOPLAY (this was a bit tricky, need to call Play at MediaOpened event, not right after […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Use WordPress Permalinks on IIS
29 Οκτωβρίου 14 10:28 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at http://zachis.it/blog/7-dangers-of-using-windows-server-on-a-wordpress-installation/ the thing that guy says about Permalinks isn’t accurate at all (not that the other things that he says are any accurate that is). WordPress Codex have documentation on how to configure URL rewriting in web.config that is necessery for Permalinks to work in IIS. e.g. at http://ClipFlair.net, if you press the "about" […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Fix: Hypelinks not clickable in RichTextBox under Silverlight
07 Σεπτεμβρίου 14 04:18 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just fixed a nasty bug in ClipFlair Studio (http://studio.clipflair.net), where one couldn’t click hyperlinks in the Text component when set at ReadOnly mode. In that mode hyperlinks should open up new web pages (in Edit mode you can edit/remove them only of course), but instead when clicked they would show something like a focus rectangle […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: use PivotViewer in WPF
04 Σεπτεμβρίου 14 02:12 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
PivotViewer is an impressive Silverlight control (see my usage at http://gallery.clipflair.net), however Microsoft never released it for WPF. One could work arround this by embedding Silverlight in their WPF app using the WebBrowser control and talking to it via the JavaScript Bridge of Silverlight, however they could also embed one of those HTML5 PivotViewer-compatible controls […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Tell IE to use compatibility mode without editing your web pages
22 Αυγούστου 14 07:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at http://www.mono-software.com/Mono/Pages/Discussion/dtopic/_YyUBIlx5kiqHaNqAQeltg/br-brake-bug-in-IE11-and-clipflair-text-editor/ one reads: We are using Telerik’s rich text editor (RadEditor), and it seems that RadEditor has specific behaviour regarding insertion of break tags. To circumvent this issue please try to add host header in ISS 7 (website level): Name = "X-UA-Compatible" Value = "IE=EmulateIE10" Or, you can insert Html Meta tag on a […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Gotcha: JS replace on document.location fails, use document location.href
20 Αυγούστου 14 03:17 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my contribution to: http://stackoverflow.com/questions/2652816/what-is-the-difference-between-document-location-href-and-document-location Here is an example of the practical significance of the difference and how it can bite you if you don’t realize it (document.location being an object and document.location.href being a string): We use MonoX Social CMS (http://mono-software.com) free version at http://social.ClipFlair.net and we wanted to add the language bar […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: Quickly test a webpage in different Internet Explorer versions
19 Αυγούστου 14 02:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I just noticed that on Internet Explorer 11 developer tools console (appears when you press F12 key), there is a drop-down where you can select the rendering engine used. Edge means the very latest (IE11 one in this case) and you can select back to version 5. Interestingly, there is no version 6 in the […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: don’t use ‘{$…}’ syntax or ‘$…’ syntax in XSL-XPath’s concat
15 Αυγούστου 14 11:57 μμ | Μπιρμπίλης Γεώργιος | 1 σχόλια   
<xsl:template match="cxml:Item" mode="col">   <xsl:variable name="FILENAME" select="…someXPathQuery…"/>   <xsl:variable name="IMAGE" select="concat(‘http://gallery.clipflair.net/activity/image/’, $FILENAME, ‘.png’)"/> … I got confused a bit today after a long day of fiddling with XSL and ClipFlair Activity Gallery’s CXML (Collection XML) data (as used in PivotViewer control), and didn’t understand why I couldn’t use an XSL variable’s (FILENAME in the sample […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Group output items using XSL transformation
15 Αυγούστου 14 09:30 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While trying to generate a single HTML page that will list all ClipFlair activities using XSL Transformations (XSLT), I had the need to group items in 2-column rows. This is my contribution to other solutions suggested at (if you like it you can vote it up there): http://stackoverflow.com/questions/9908488/xslt-for-each-wrapping-every-nth-item-in-a-div/ Faced by the same problem, that is […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Gotcha: no prefix increment/decrement VB.net operators, but get parsed
09 Αυγούστου 14 03:39 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In C/C++ and C# one has useful prefix (++index) and postfix (index++) increment operators and corresponding decrement ones. Although they have a single operant, they’re not working like functions as single + or – prefix would do, but instead they cause side-effects – they edit the variable passed to them. The prefix increment operator first […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Call C# method from class that has same name as namespace
06 Ιουλίου 14 03:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In the C# compiler error case shown above, CaptionsGrid class exists in namespace ClipFlair.CaptionsGrid so in the code we have “using ClipFlair.CaptionsGrid;” at the top of the file where we want to call the “SaveAudio” static method of CaptionsGrid class. But then we get the error “The type or namespace name ‘…’ does not exist […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Fix: Re-enable ClickOnce deployment at Mozilla Firefox
20 Απριλίου 14 08:52 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
When you try to run a ClickOnce Windows application from Mozilla Firefox, on some machines you may see it try to save a .application (ClickOnce deployment manifest) instead of running the ClickOnce application installer/updater/launcher. To fix that issue you can open Firefox add-ons dialog and search among available to download/install add-ons for "net framework assistant". […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
Περισσότερες Δημοσιεύσεις Επόμενη »

Search

Go

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

Συνδρομές