HowTo: Set UI language (CurrentUICulture) in Silverlight
20 Ιουνίου 12 04:11 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At LvS (the opensource application of LeViS), I’ve been using this (VB.net) code to set the UI language (for example to Greek): Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("el") Others seem to have been using (C# – that’s why there is a trailing semicolon): Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("el"); assuming System.Globalization and System.Threading namespaces have been imported. However, now that I’m [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Zoom and Pan control for WPF and Silverlight (via WPF compatibility layer)
18 Ιουνίου 12 08:50 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I’ve managed to combine http://www.codeproject.com/Articles/85603/A-WPF-custom-control-for-zooming-and-panning and a cut-down version of it for Silverlight that was out there: http://www.codeproject.com/Articles/167453/A-Silverlight-custom-control-for-zooming-and-panni I did it in a way that the Silverlight version is source-code compatible with the WPF version (via a WPF compatibility layer that even implements value coercion), so that both the WPF and the Silverlight projects share [...]
Δημοσίευση στην κατηγορία: , , , , , ,
InitializeError Message: Failed to load a platform extension in Silverlight
18 Ιουνίου 12 04:21 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
If you get an error like: Unhandled Error in Silverlight Application Code: 2153 Category: InitializeError Message: Failed to load a platform extension. Possibly corrupt or invalid file: … when you try to launch your Silverlight application (especially if you have the project set to use an autogenerated test page), you should read: http://forums.silverlight.net/t/185747.aspx/1 In my [...]
Δημοσίευση στην κατηγορία: , , , , ,
IsolatedStorageSettings for WPF
18 Ιουνίου 12 04:01 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
System.IO.IsolatedStorageSettings doesn’t exist in WPF (only in Silverlight) but can easily be ported from Mono project’s Moonlight implementation (the Moonlight project home is at http://www.mono-project.com/Moonlight), as suggested at: http://groups.google.com/group/wpf-disciples/browse_thread/thread/4ed6c009f3fb7d69 I found that implementation at the following URL: http://vega.frugalware.org/tmpgit/moon/class/System.Windows/System.IO.IsolatedStorage/IsolatedStorageSettings.cs Did some modifications to IsolatedStorageSettings.cs to make it work with WPF (whether the application is deployed via [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Load a XAML ResourceDictionary from a .NET assembly
11 Ιουνίου 12 07:08 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here my answer at: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/11a42336-8d87-4656-91a3-275413d3cc19 What seems to work for me is the following (copying from the source code of http://ClipFlair.codeplex.com [currently under development]) note I’m using Build Action = "Page" and Custom Tool="MSBuild:Compile" at the properties of Themes\DropDownTheme.xml and Themes\RotateHorizontalTheme.xaml, as was for Themes\Generic.xaml. Seems to work OK (probably this is faster at [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
What to do if Generic.xaml doesn’t get loaded for WPF control
10 Ιουνίου 12 05:26 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just came across http://wangmo.wordpress.com/2007/09/27/themesgenericxaml/ which gave me a hint on why a WPF control wasn’t getting instantiated correctly when loaded from an external assembly (dll): to load generic.xaml for WPF, at the start of Properties\AssemblyInfo.cs you need (note this isn’t used/needed in Silverlight): using System.Windows; and at the end of Properties\AssemblyInfo.cs you need: [assembly: ThemeInfo( [...]
Δημοσίευση στην κατηγορία: , , , , , ,
Fix: compile CSpeex audio codec at Silverlight 4 RC+ and Silverlight 5
09 Ιουνίου 12 02:19 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just added an issue to CSpeex project – http://cspeex.codeplex.com/workitem/18209 – with some fixes to make it compile for Silverlight 4 RC and higher (was for Silverlight 4 Beta), however still have issues with it not working correctly. Tagged: Audio, Capture, Codec, Demo, Silverlight, Speex, Webcam
Δημοσίευση στην κατηγορία: , , , , , , ,
Validating E-mails using Regular Expressions in Java
01 Ιουνίου 12 05:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
To sum up the discussion at http://stackoverflow.com/questions/1360113/is-java-regex-thread-safe/, you can reuse (keep in static variables) the compiled Pattern(s) and tell them to give you new Matchers when needed to validate those regex pattens against some string: import java.util.regex.Matcher; import java.util.regex.Pattern;  /** * Validation helpers */ public final class Validators {  private static final String EMAIL_PATTERN = [...]
Δημοσίευση στην κατηγορία: , , , , ,
Fix: WordPress media uploads not working on IIS
29 Μαΐου 12 06:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Using Microsoft Web Platform Installer (aka WebPI), one can easily install WordPress on IIS (together with PHP and MySQL database engine. Btw, better install the latest PHP version from there and remove any older ones. Also do install from there the  Windows Cache Extension for PHP for the version of PHP you’re using. Windows Cache [...]
Δημοσίευση στην κατηγορία: , , , , , ,
Troubleshoot: WCF HTTP Error 404–Not Found
21 Μαΐου 12 05:09 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying from MPPVE (formerly RCE) documentation: …might indicate that WCF is not correctly configured. To resolve the WCF issue The error returned is a “HTTP Error 404 – Not Found”. This might be due to an issue with the WCF scriptmaps registrations. To solve this issue: Open a command line console as Administrator Browse to [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
workaround: Silverlight Rect class missing ‘bool Contains(Rect)’ method
29 Απριλίου 12 08:20 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I’ve been looking into porting Kael Rowan’s ZoomableCanvas (related to ZUI code used in Code Canvas, Debugger Canvas etc. VisualStudio add-ons) from WPF to Silverlight. One of the issues I found was that Silverlight’s Rect class (I guess this is a case for .NET Compact Framework in general) doesn’t have a method to check if [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Γιατί παρατάθηκε η χρήση της εφαρμογής περιουσιολογίου στο Taxisnet
02 Απριλίου 12 05:05 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Πρόσφατα το Taxisnet έδωσε άτυπη παράταση χρήσης της εφαρμογής περιουσιολογίου για τον έλεγχο και διόρθωση (χωρίς πρόστιμο) των παλαιότερων δηλώσεων E9 (μεταβολών περιουσιακής κατάστασης) για τις ημερομηνίες 1-1-2009, 1-1-2010, 1-1-2011, που κανονικά έληγε τέλος Μαρτίου. Προφανώς όλοι μπήκαν τελευταία στιγμή στο σύστημα και “γονάτισε”. Τα μηνύματα σφάλματος πάντως που έδινε δεν ήταν καθόλου φιλικά στο [...]
Δημοσίευση στην κατηγορία: , , ,
Pinned tabs and Split-Screen
17 Φεβρουαρίου 12 04:12 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Since widescreen format in monitors gets more and more common, how about a twist to the classic tabbed windows UI? Imagine being able to pin a tab and have it move to a side-view area in the same window. That are would keep the pinned tabs separated from the rest using a splitter / split-view [...]
Δημοσίευση στην κατηγορία: , , , , , ,
Dissemination vs Impact
16 Φεβρουαρίου 12 05:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
A nice quote from ClipFlair project’s (http://clipflair.net) internal mailing list (the formatting is mine for your convenience): …difference between Dissemination and Impact: Impact is the measure of dissemintation.   For example: - Organising a conference is dissemintation.  - Number of people attending the conference is impact. - Dissemination is how many e-mails you send.  - [...]
Δημοσίευση στην κατηγορία: , , , , ,
Κοινόχρηστο Ημερολόγιο (Group Calendar) με Microsoft Outlook ή Hotmail
09 Φεβρουαρίου 12 03:35 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
1) Δημιουργείς ένα Windows Live Group: http://explore.live.com/windows-live-groups-help-center Επιλέγοντας να εγκρίνεις ποιοι γράφονται (να μην μπαίνουν στο group αυτόματα) αν έχει τέτοια επιλογή.  Μπορείς μετά να στείλεις προσκλήσεις εγγραφής στο group μέσω e-mail. Στη συνέχεια φτιάχνουν Windows Live ID όσοι είναι να συμμετέχουν στο group για να βλέπουν το group calendar. Μπορούν να χρησιμοποιήσουν μια διεύθυνση [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Internet Explorer 9 and Windows 7 taskbar previews, a broken story
01 Φεβρουαρίου 12 12:51 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Hello Microsoft, can you count? In the image above you can see the Windows 7 taskbar showing THREE (merged) icons/instances of Internet Explorer, although I only have ONE windows open (they seem to use multiple processes internally when you have many tabs, but why should the user care?). More importantly, in the popup shown when [...]
Δημοσίευση στην κατηγορία: , , , , ,
Can’t connect to Microsoft Connect
01 Φεβρουαρίου 12 12:46 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Ahem, Microsoft Connect says I can’t Connect (sign-in) to it for the moment. The Microsoft bug reporting site probably came upon some bug itself? #LOL Tagged: Bugs, Feedback, Microsoft
Δημοσίευση στην κατηγορία: , , ,
EU’s Horizon 2020 may include a cost model change to cover 100% of all direct costs, but limit the overhead rate to a flat 20%
26 Ιανουαρίου 12 05:18 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
According to a poll at Framework Programme Sevent (FP7) group on LinkedIn, Horizon 2020 (http://ec.europa.eu/research/horizon2020) may include a cost model change to cover 100% of all direct costs, but limit the overhead rate to a flat 20%.   From my perspective this is a change for the better: • now some research organizations’ bureaucratic mechanisms [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , , , ,
YouTube (Google) 502 error page
14 Ιανουαρίου 12 12:53 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Note the page title says “Error 502 (Server Error)!!1” Tagged: Error 502, Errors, Google, HTTP, Server, YouTube
Δημοσίευση στην κατηγορία: , , , , , ,
Εγκατάσταση του λογισμικού ΓΑΙΑ ΙΙ στα Windows Vista και Windows 7
12 Ιανουαρίου 12 05:41 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Όταν πρωτοκυκλοφόρησε το εκπαιδευτικό λογισμικό ΓΑΙΑ ΙΙ (το 2002) δεν υπήρχαν ακόμη τα Windows Vista και Windows 7, οπότε χρειάζεται μερικά παραπάνω βήματα από τα συνήθη η σωστή εγκατάσταση του. Πρόκειται για βήματα παρόμοια με αυτά που χρειάζονται για να εγκατασταθεί στα Windows Vista και Windows 7 το Αβάκιο / E-Slate μιας και αυτό χρησιμοποιήθηκε [...]
Δημοσίευση στην κατηγορία: , , , , ,
Mistyping Gmail.com URL lures you into a pay-per-message scheme
10 Ιανουαρίου 12 06:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
A reader of my recent article on a page faking YouTube design to lure you into subscribing for a pay-per-message you receive scheme for mobile phones, told me that they came across a very similar one by typing wikipdia.org instead of Wikipedia.org. I noticed that also typing gmial.com instead of gmail.com takes one to exactly [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
broken .LNK files assignment (or how to destroy and fix Windows 7)
06 Ιανουαρίου 12 02:23 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
A friend just called me this morning that their notebook with Windows 7 Starter started today showing the same icon for every Start menu item and for shortcuts (e.g. on the desktop) and when trying to open them the same program would always try to open them. Seems he had right-clicked and done “Open With…” [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
TAXISnet – Internal Server Error
28 Δεκεμβρίου 11 03:22 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Πήγα και εγώ χθες στην εφορία μου κι έλαβα τον κλειδάριθμο για να πιστοποιήσω το λογαριασμό που είχα από παλιότερα (στο παλιό TAXISnet) – έδωσε και νέο password όπως μου ζήτησε και μπήκα να δώ τι καλούδια έχει. Φαίνεται ενδιαφέρον (απ’ότι κατάλαβα πλέον τα βιβλία θα τα κρατάμε ΜΟΝΟ ηλεκτρονικά), αλλά έχει τα bug-άκια του [...]
Δημοσίευση στην κατηγορία: , , , , , ,
Redirecting twiitter into a YouTube-styled reward lure scheme
20 Δεκεμβρίου 11 11:54 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While I was trying to visit twitter I suddenly was faced with this page, which although very well designed looked immediately suspicious to me, first of all because of the redirects I noticed happening at the address bar and also because the landing URL was using the word “rewardz”. Moreover the page seems to be [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Who’s that girl?
19 Δεκεμβρίου 11 05:24 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I guess you know the classic pop song "Who’s That Girl" from Madonna: When I came across the following “You need to log in to read this article” page at NewScientist, I had a feeling of Déjà vu Indeed, it was the same hard to miss pretty face from the home page of a remote [...]
Δημοσίευση στην κατηγορία: , , ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »

Search

Go

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

Συνδρομές