Fix: can not delete install subfolder after upgrading phpBB on IIS
18 Οκτωβρίου 12 07:11 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
To upgrade a phpBB forum, one usually downloads an automatic upgrade package to the latest version, selecting on the website which version they currently have. The current version number at a phpBB installation is shown at the Admin Control Panel (there’s a link to it at the bottom of the main page of a phpBB [...]
Δημοσίευση στην κατηγορία: , , , , , ,
HowTo: enable big file uploads at MojoPortal on IIS
18 Οκτωβρίου 12 06:46 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just found in my backups a batch file for enabling big uploads to MojoPortal running on IIS: %windir%\system32\inetsrv\appcmd        set config "Default Web Site/portal"        -section:requestFiltering       -requestLimits.maxAllowedContentLength:104857600        -commitpath:apphost The quoted command above needs to be in a single line and obviously you have to replace “Default Web Site/portal” with your site’s virtual folder [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Hide Video area of Silverlight Media Framework Player
03 Οκτωβρίου 12 12:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Since our onoing project ClipFlair is a follow-up of the succesful project LeViS, during its development I’m also looking at covering possible use-cases I infer from feedback entries at LvS application issue tracker on Codeplex (note that ClipFlair is also opensourced on Codeplex at http://ClipFlair.codeplex.com). One such issue (http://lvs.codeplex.com/workitem/11511) was titled “Allow video hiding while [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Collection of Smooth Streaming Video URLs
23 Σεπτεμβρίου 12 05:16 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Here are some Smooth Streaming URLs I found on the Internet that you could use during development to test your smooth streaming players (like those based on SMF):   http://streams.smooth.vertigo.com/BigBuckBunny_30sec/bigbuck.ism/manifest http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest   http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_PGA.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_NASCAR.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_MLB.ism/Manifest http://video3.smoothhd.com/ondemand/Akamai_ASP_Cutdown.ism/Manifest http://video3.smoothhd.com/ondemand/mix1/mix1.ism/Manifest http://video3.smoothhd.com/ondemand/mix2/mix2.ism/Manifest http://video3.smoothhd.com/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest http://video3.smoothhd.com/ondemand/ElephantsDream.ism/Manifest http://video3.smoothhd.com/ondemand/Got_Imagination_(Indo).ism/Manifest http://video3.smoothhd.com/ondemand/Got_Imagination_(California).ism/Manifest http://video3.smoothhd.com/ondemand/Coral_Reefs.ism/Manifest http://video3.smoothhd.com/ondemand/eHow_Wakeboard.ism/Manifest http://video3.smoothhd.com/ondemand/eHow_Baseball.ism/Manifest http://video3.smoothhd.com/ondemand/eHow_Alligator.ism/Manifest http://video3.smoothhd.com/ondemand/NBA.ism/Manifest http://video3.smoothhd.com/ondemand/Changeling.ism/Manifest http://video3.smoothhd.com/ondemand/Livestrong_ThyroidCancer.ism/Manifest http://video3.smoothhd.com/ondemand/Livestrong_BeginnerGuideExercising.ism/Manifest http://video3.smoothhd.com/ondemand/Livestrong_Autism.ism/Manifest   Sources: http://www.google.com/?q=%22http%22+%22.ism%2FManifest%22&oq=%22http%22+%22.ism%2FManifest%22 [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: load CaptionElements into Silverlight Media Framework player
03 Σεπτεμβρίου 12 03:38 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Trying to make CaptionsGridWindow of ClipFlair serve captions editing on-the-fly to SMF (Silverlight Media Framework [now called MMPPF]) player component, I had a real hard time, plagued by a bug at TimedTextElementStyle. It seems to be setting default FontSize for captions using a “Cell” unit instead of using a “Pixel” unit. Currently SMF only supports [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Scale control arround its center using a render transform
15 Αυγούστου 12 07:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In the context of ClipFlair development, I was recently adding independent scaling (zooming) functionality to its ZUI container’s floating windows (apart from the container zooming functionality) and came across some strange behavior, where the windows seemed to also move apart from getting scaled. After banging my head a bit I decided to take a closer [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Type in double-quote in Windows Live Writer
14 Αυγούστου 12 10:08 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
A big nuissance in Windows Live Writer is that when you try to type in a double-quote character you get some special Unicode character (“ or ”, at the start and end of a string respectively), other than the classic ASCII character used in programming. That way people copy-pasting snippets from your blog can get [...]
Δημοσίευση στην κατηγορία: , , , , , ,
HowTo: Bind to a DataContext property named Source in XAML
14 Αυγούστου 12 03:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While refactoring ClipFlair code to use MVVM (Model-View-ViewModel) pattern, I came across the XAML error “Object reference not set to an instance of an object.”, shown in Visual Studio when trying to bind to my ViewModel (accessed implicitly, being set as the DataContext of the XAML control) for a property named Source. I have settled [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
Single statement ScaleTransform initialization in both WPF and SL
11 Αυγούστου 12 06:32 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
With Silverlight using a cut-down .NET API, some decisions have been at least ackward, causing Silverlight code to be sometimes unnecesserily more complex than its WPF counterpart and WPF code needing several changes to get ported for Silverlight. In ClipFlair I’ve implemented a WPFCompatibility layer to ease compiling WPF code for Silverlight (and vice-versa too) [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Gotcha: Silverlight DependencyProperty metadata: 0d not 0 for double
09 Αυγούστου 12 11:38 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just came accross a runtime error message that troubled me a bit to resolve while adding Prezi-like content scaling functionality in ClipFlair‘s FloatingWindowHostZUI (ZUI = Zoomable User Interface) container. I had added the following: /// Identifies the <see cref="FloatingWindow.Scale" /> dependency property. /// </summary> /// <value> /// The identifier for the <see cref="FloatingWindow.Scale" /> dependency [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
HowTo: Compress speech audio using CSpeex codec at Silverlight apps
04 Αυγούστου 12 07:15 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Following up on my post on how to fix CSpeex (http://cspeex.codeplex.com) to compile at Silverlight 5 (see http://zoomicon.wordpress.com/2012/06/09/fix-compile-cspeex-audio-codec-at-silverlight-4-rc-and-silverlight-5/).  Initially I thought it was not working correctly, but then I noticed I was running it on Terminal Server and didn’t have an audio device available. Running SLAudioDemo included in the CSpeex distribution (after doing the fix [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Vertical Centering with CSS
03 Αυγούστου 12 04:50 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
According to http://www.w3.org/Style/Examples/007/center.en.html#vertical CSS level 2 doesn’t have a property for centering things vertically. There will probably be one in CSS level 3. But even in CSS2 you can center blocks vertically, by combining a few properties. The trick is to specify that the outer block is to be formatted as a table cell, because [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
ASP.net WebPartZone skins and CSS
03 Αυγούστου 12 03:59 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was just examining a MonoX portal skin that our designer is authoring for the ClipFlair platform and noticed that in the Default.skin file, there’s a note pointing to http://support.microsoft.com/kb/911717 that speaks of an issue with Microsoft’s implementation of WebPartZone skins: There it says: The CssClass property does not affect the following style objects: •The [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Remove Babylon search from Mozilla Firefox address bar
03 Αυγούστου 12 03:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Babylon Search is one of the most abusive addons for Mozilla Firefox and other web browsers. It installs with other free software (most probably profiting from tracking your searching habits) and then it is quite hard even for experienced users to completely uninstall it. While maintaining other computers in the past I’ve used a combination [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
How to transfer a domain name from Network Solutions registrar
26 Ιουλίου 12 02:47 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Some time ago I gave up on OneStop.net (after their support fell into zombie status and they managed to let my domain name expire) and eventually managed to arrange with the Network Solutions registrar that they were using under the hood to renew my expired domain name (there is some time before it is available [...]
Δημοσίευση στην κατηγορία: , , , , ,
Gotcha: Silverlight’s Uri class constructor eats up part after last slash
22 Ιουλίου 12 10:54 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Via trial and error, I recently found out that when creating a Uri combining another Uri and a suffix part (tried at Silverlight, but I guess it’s a .NET issue in general), it eats up the last part of the (first) Uri if it doesn’t end with "/". That is, if you combine http://test.com/a with [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Fix: The tag ‘TimeUpDown’ does not exist in XML namespace (Silverlight Toolkit)
14 Ιουλίου 12 07:59 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
If you use TimeUpDown control from Silverlight Toolkit in your XAML like below (copy pasting from CaptionGrid at ClipFlair source): <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > <DataTemplate x:Key="StartTimeCellTemplate"> <TextBlock Margin="4" Text="{Binding Begin}" /> </DataTemplate> <DataTemplate x:Key="StartTimeCellEditTemplate"> <!-- <TextBox Margin="4" Text="{Binding Begin, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=true}" /> --> <input:TimeUpDown Format="hh:mm:ss" Value="{Binding Begin, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=true}" /> </DataTemplate> … </ResourceDictionary> [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
Set default document for IIS via web.config at Silverlight Web project
13 Ιουλίου 12 04:29 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
When you tell the Visual Studio IDE to generate a web project (instead of just using an autogenerated page) for a Silverlight project, it creates a project named SilverlightAppName.Web with a SilverlightAppNameTestPage.aspx (ASP.net) and an SilverlightAppNameTestPage.html. Either one can be served from a web server (obviously the .aspx one from IIS or any web server [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
How to crash Visual Studio 2010 via (Silverlight) XAML recursion bug
12 Ιουλίου 12 04:42 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Following up on a note about Visual Studio 2010 crashing at my previous post, this is the XAML that crashes VS2010 when opened up in a Silverlight project: <UserControl x:Class="SilverlightApplication1.MainPage"   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"   mc:Ignorable="d"   d:DesignHeight="300" d:DesignWidth="400">   <UserControl.Resources>     <ResourceDictionary>        <Style x:Key="MyStyle" TargetType="StackPanel">          <Setter Property="Margin" Value="0,5,0,5" [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
How to space StackPanel items in XAML (has no Padding property)
11 Ιουλίου 12 01:34 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While adding some properties to the back panels of ClipFlair windows, I came upon the issue of how to space items in a StackPanel. A Padding property is missing from multiple item containers (only single content controls have such), but a nice solution is described at: http://stackoverflow.com/questions/932510/how-do-i-space-out-the-child-elements-of-a-stackpanel Sergey Aldoukhov suggested there (WPF example): Use Margin [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Collection of useful links for .NET, Silverlight, WPF etc. development
05 Ιουλίου 12 12:22 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
During the development of ClipFlair (currently at Alpha1-internal version), I’ve been doing lots of research, hunting for information (documentation, related discussion threads, useful download links) needed when writing and refactoring source code etc. I have tried to organize these links as (Windows) Internet shortcut files into folders. They do need some further restructuring, but they [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
C# Using Alias Directive, Namespace Alias Qualifier and a sad story
04 Ιουλίου 12 10:45 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Following up on my last post: http://zoomicon.wordpress.com/2012/07/04/how-to-compile-code-that-uses-wpf-decorator-type-in-silverlight/ I’m copying from a mental note I added to: http://stackoverflow.com/questions/4936941/using-a-using-alias-class-with-generic-types/11334359: As shown at: http://msdn.microsoft.com/en-us/library/sf0df423.aspx and http://msdn.microsoft.com/en-us/library/c3ay4x3d%28VS.80%29.aspx you can do: using gen = System.Collections.Generic; using GenList = System.Collections.Generic.List<int>; and then use gen::List<int> x = new gen::List<int>; or GenList x = new GenList(); However: you have to replicate those using [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
How to compile code that uses WPF Decorator type in Silverlight
04 Ιουλίου 12 09:57 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair I’m using a modified version of FloatingWindow control, where I try to make the WPF and Silverlight flavours of the original control share as much code as possible (this is work in progress currently, hoping to eventually have the WPF and Silverlight projects both link to the same source files [this is currently [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Why I don’t see static extension support for constructors in C# coming
02 Ιουλίου 12 12:30 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was hoping C# would someday add static extension support for constructors too (apart from classic methods), that would help a lot in source-level compatibility layers (for example at my WPF_Compatibility project for WPF syntax in Silverlight, which one can find under the ClipFlair source base). However, according to : http://mrpmorris.blogspot.gr/​2007/01/​net-calling-base-constructors-i​n-c.html Anders Hejlsberg (father of [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Fix: The tag XXX does not exist in XML namespace ‘clr-namespace:YYY’
02 Ιουλίου 12 12:18 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I just had some big trouble troubleshooting the Visual Studio / XAML compiler error message: The tag XXX does not exist in XML namespace ‘clr-namespace:YYY’ It turned out this occurred because I had a Silverlight library with Assembly name X and default namespace X (at properties pane), but was using it from a demo project [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »

Search

Go

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

Συνδρομές