|
dotNETZone.gr Weblogs
-
This week, I've joined Devoteam Belgium as a .NET Consultant and Microsoft Trainer, focused on Windows Azure and Sharepoint and of course Trainings. It's been a great starting week, meet a lot of interesting people and found out that there are other MVPs working around me: Serge Luca (MVP Sharepoint , Microsoft Certified Trainer) Didier Danse (MVP Sharepoint) Kurt Roggen (MVP Management Infrastructure , Microsoft Certified Trainer) Which is really really cool. I'm looking forward to missions and trainings and I'm really happy to be here. Great people, great environment and a lot of positive vibe in the air. What can you ask more? PK....
|
-
Πολλές φορες έχω κάποιο αναδρομικό αλγόριθμο (p.x traversal ενός tree) και θέλω να τον εκτελέσω lazy. Δυστυχώς και σε F# (seq) και σε C# (iterators), οι αλγόριθμοι καταλήγουν σε quadratic time και πολλές φορες σε stack-overflows. Κουρασμένος από αυτή την κατάσταση, κατέληξα στο κάτωθι. open System.Collections open System.Collections.Generic // LazyList dataType + Monoid Structure type LazyList<'T> = Empty | Cons of 'T * (unit -> LazyList<'T>) | Delay of (unit -> LazyList<'T>) | Combine of LazyList<'T> * LazyList<'T> with interface IEnumerable<'T> with member self.GetEnumerator() = // tail-recursive enumeration let rec toSeq stack = match stack with | [] -> Seq.empty | head :: tail -> match head with | Empty -> toSeq tail | Cons (value, rest) -> seq { yield value; yield! toSeq <| rest () :: tail } | Delay f -> toSeq <| f () :: tail | Combine (first, second) -> toSeq <| first :: second :: tail (toSeq [self]).GetEnumerator() interface IEnumerable...
|
-
Τελικά ο Αη Βασίλης ήρθε και για μένα. Για δεύτερη χρονιά μου απονεμήθηκε ο τίτλος του MVP στον SQL Server. Αυτό σημαίνει περισσότερες ευθύνες για μένα, αλλά ευχάριστες. Η χρονιά αυτή θα συνεχιστεί με περισσότερη δράση και περισσότερα SQL Saturday Nights. Καλή Χρονιά σε όλους και σας ευχαριστώ για την υποστήριξη v...
|
-
Writing concurrent applications using agents, Tomas Pertricek, Phil Trelford from Skills Matter. More...
|
-
Αν και καθυστερημένα... θα ήθελα να ευχαριστήσω όλους τους φίλους για την παρουσία τους και τα πολύ καλά τους λόγια. Αν και η παρουσίαση ήταν κυρίως βασισμένη σε live hacking... προσπάθησα να σπάσω σε βήματα το refactoring για όποιον θέλει να μελετήσει τον κώδικα....
|
-
Χθες ανακοινώθηκε η διάθεση της beta έκδοσης του VS/TFS 2010 Service Pack 1 με “go live” license. Το SP1 διορθώνει ένα μεγάλο πλήθος από bugs ωστόσο, πιστοί στην παράδοση του να βάζουν νέα features στα services packs, έχουμε και διάφορα καλούδια: Local help viewer Τέλος της υποχρεωτικής χρήσης του browser για help view. O local help viewer είναι client app για off-line help. Τώρα θα έχουμε help, όπως παλιά, χωρίς να χρειάζεται internet. Επίσης, θα έχουμε όπως παλιά TOC, keyword index, Favorites, History και “search results”. Κάναμε έναν ωραίο κύκλο και βγήκαμε στην αρχή… Silverlight 4 tools Δεν θα χρειάζεται extra εγκατάσταση, θα συμπεριλαμβάνονται στο πακέτο. Unit Testing on .NET 3.5 Όσοι τρέχουν unit-tests μπορούν να κάνουν target το .NET Framework 3.5. Αυτό το χαρακτηριστικό είναι αδιάφορο για την Ελλάδα. Intellitrace for 64-bit and Sharepoint Το Intellitrace είναι super! Αρκεί να μην παίζει σε 64bit πλατφόρμα και να μην γράφεις εφαρμογές Silverlight γιατί τότε δεν υποστηρίζεται. Τουλάχιστον τώρα έφυγε ένα...
|
-
-
Ευχαριστούμε όσους μας τίμησαν με την παρουσία τους στο IT Pro | Dev Connections 2010 , στην παρουσίαση μας ( Άγγελος Μπιμπούδης & Μάνος Κελαϊδίτης ) με τίτλο "Και Line-of-Business και Rich Internet Applications: The silver side of the moon". Είδαμε πρακτικές και τεχνολογίες για RIA εφαρμογές σε Silverlight, πώς ξέραμε τις επιχειρησιακές εφαρμογές με Silverlight μέχρι τώρα και τι εφόδια έχουμε πια, για να φτιάχνουμε γρηγορότερα και πιο δομημένα web applications, συνδυάζοντας RIA και LoB χαρακτηριστικά. Προσπαθήσαμε να πούμε όσα περισσότερα πράγματα γίνεται, δίνοντας ένα κβάντο πληροφορίας που μπορεί να χρησιμοποιηθεί άμεσα, ξεκινώντας με WCF Ria Services, MVVM design pattern και MEF για extensibility. Ο χρόνος ήταν περιορισμένος, αλλά πιστεύουμε ότι τα καταφέραμε (φάνηκε και από την αξιολόγηση :D). Για όσους όμως, πιστεύουν ότι 75 λεπτά δεν έφτασαν (και αλήθεια θα είναι), σχεδιάζουμε να κάνουμε live meeting στο άμεσο μέλλον, οπότε stay tuned. H παρουσίαση και τα demos εδώ . *Για να τρέξετε τα demos,...
|
-
Ορίζοντας τις Combine και Zero σε ένα Computation expression μπορούμε να έχουμε Monoid comprehensions. Πρόσφατα παρατήρησα ότι το Monadic Append στα γνωστά (Array, List, Seq) είναι σχετικά αργό. #time [ for i in {1..1000000} do yield i * 2; yield i * 3; yield i * 4; yield i * 5 ] [ | for i in {1..1000000} do yield i * 2; yield i * 3; yield i * 4; yield i * 5 | ] seq { for i in {1..1000000} do yield i * 2; yield i * 3; yield i * 4; yield i * 5 } |> Seq.iter ignore Μια τεχνική για να έχουμε γρήγορο list append είναι να αξιοποιήσουμε μια παλαιά ιδέα από έναν guru . type FuncList<'a> = 'a list -> 'a list type FuncListBuilder() = member self.Combine (first : FuncList<'a>, second : FuncList<'a>) : FuncList<'a> = (first << second) member self.Zero() : FuncList<'a> = id member self.Yield (value : 'a) : FuncList<'a> = fun tail -> value :: tail member self.YieldFrom (value : FuncList<'a>) : FuncList<'a> = value member self.For (list : FuncList<'a>, f :...
|
-
Διάβασα πρόσφατα στο Engadget για τα 1.5 Gpixel images που έβγαλε η GigaPan στο World Series και άρχισα να παίζω με το zoom. Δεν μπορώ να πω ότι ενθουσιάστηκα καθώς το εργαλείο κάνει πολλά “σπασίματα”. Αλλά να ήταν μόνο αυτό… Βάζοντας το zoom στο τέρμα, μπορεί να δει κανείς πολύ ωραία εφέ όπως αποκεφαλισμένους ή δικέφαλους ανθρώπους! Παιδιά, καλή η προσπάθεια αλλά γι αυτή τη δουλειά υπάρχει ήδη το κατάλληλο εργαλείο. Deep Zoom λέγεται… Κάντε και μόνοι σας τη σύγκριση: http://70gigapixel.cloudapp.net/...
|
-
Thanks View or get Downloader...
|
-
Today, the Microsoft All-In-One Code Framework team announces a NEW, FREE code sample request service. This service is a proactive way for our developer community to obtain code samples for certain programming tasks directly from Microsoft. More...
|
-
Χαμός τις τελευταίες μέρες με το τι είπε ο Muglia και ο ένας και ο άλλος για το τι μέλλει γενέσθαι με το Silverlight. To HTML 5 είναι πολύ της μόδας και όλοι έχουν βρει την ευκαιρία να κάνουν προβλέψεις. Η δική μου ανάγνωση λέει τα εξής: Όταν το Silverlight βγήκε αρχικά, έπρεπε να καλύψει σε πολύ σύντομο χρονικό διάστημα ένα κενό για το οποίο η Microsoft δεν είχε προσφέρει ποτέ κάτι ανάλογο. Οι πρώτες εκδόσεις είχαν αρκετές ελλείψεις ωστόσο με την έκδοση 3 μπορούσε κανείς να πει ότι κάτι γίνεται και πλέον με την έκδοση 4 θεωρείται μια ώριμη τεχνολογία. Γι αυτό και μέχρι την έκδοση 4 βλέπαμε να βγαίνουν οι νέες εκδόσεις πολύ γρήγορα ενώ πλέον η πλατφόρμα έχει σταθεροποιηθεί. Το ότι δεν είδαμε beta της έκδοσης 5 στην PDC δεν σημαίνει ότι ως τεχνολογία εγκαταλείπεται. Το HTML 5 έχει πολυυυύ δρόμο ακόμα μέχρι να είναι έτοιμο για να βγει στην παραγωγή. Ακόμα και αν βγει πολύ γρηγορότερα απ’ όσο προτείνει το W3C (μιλάμε για το 2022), ο κόσμος θα αργήσει να το υιοθετήσει πλήρως καθώς θα πρέπει για λόγους συμβατότητας...
|
-
-
H ομάδα μου και εγώ προσωπικά αναζητούμε F# hacker. Για περισσότερες πληροφορίες στείλτε μου PM. "Είμαστε μια μικρή ομάδα έμπειρων F# προγραμματιστών και αναζητούμε νεαρό ταλαντούχο hacker για να δουλέψει μαζί μας σε ένα πολύ ενδιαφέρον και φιλόδοξο F# project. Αν και οι γνώσεις γύρω από F# και .Net δεν είναι απαραίτητες, απαιτείται τουλάχιστον σχετική εμπειρία σε κάποια functional γλώσσα (FP C#, FP Javascript, Lisp family, ML family, Haskell, Erlang) καθώς και όρεξη και πάθος για applied functional programming. Για περισσότερες πληροφορίες και για αποστολή βιογραφικών nessos @ nessos . gr"...
|
-
ExtensionMethod.NET is a database of C# 3.0, F# and Visual Basic 2008 extension methods. It contains many user-rated extension methods that will expand your code library immediately. More...
|
-
I took the 71-506 (TS: Silverlight 4, Development) exam on Friday. It is a beta exam that means you have to answer 75 questions in 3 hours. You also get to know the results (fail/pass) much later, after the exam is released to the public as 70-506. Having read the preparation guide I didn’t come across any surprises. The exam had pretty much a bit of everything about Silverlight, so here is a list of the things that you should give extra care if you plan to take the exam: Some topics that you should not leave home without having good knowledge of, are: Styles, Templates, Data templates Background threads Dependency properties Attached properties ICommand Data binding, Format data Data validation Out-of-browser applications Other than the above, I remember having questions on the following: Arrange content with panels Navigation framework Collections of items (datagrid, listbox, combo, etc) Play media files Manipulate visuals Animate visuals Implement behaviors Manage the visual state Event handling Consume services...
|
-
Amazon announced the AWS Free Usage Tier ( http://aws.amazon.com/free/ ) last week, which will start from November the 1st. I know some people are excited about this announcement and so am I because I believe that competition between cloud providers always brings better service for the customer, but in Amazon's case, it's more like a marketing trick than a real benefit and I'll explain why during this post. Let me remind you at this point that this is strictly a personal opinion. Let me also say that I have experience on AWS too. Certainly, having something free to start with is always nice, but what exactly is free and how does it compare to Windows Azure platform? First of all, Windows Azure has a similar free startup offer, called Introductory special which gives you free compute hours, storage space and transactions, a SQL Azure web instance, AppFabric connections and ACL transactions, free traffic (inbound and outbound), all at some limit of course. Then there is the BizSpark program, which gives you also...
|
-
-
Θα ήθελα να δώσω πολλά μπράβο στους συγγραφείς του Steps Scala (Λοβέρδος, Συρόπουλος) για το θεωρητικό content που συμπεριέλαβαν. Ιδιαίτερη μνεία πρέπει να γίνει για τo κεφαλαιο "Higher Order Polymorphism", που ασχολείται με τις ιδέες του κλασικού πλέον Banana paper . Έχοντας διαβάσει σχεδόν όλα τα βιβλία που έχουν βγει για Scala, μπορώ να πω με σιγουριά ότι το συγκεκριμένο βιβλίο ξεχωρίζει....
|
-
Πολλές φορες έχουμε σενάρια που θα θέλαμε να εφαρμοσουμε συγκεκριμενα retry policies σε error prone computations. Τα σενάρια αυτά εμφανίζονται αρκετά συχνά και κυρίως σε cloud computations. Στο Azure για παράδειγμα, υπάρχουν και συγκεκριμένα APIs που παίζουν με Retry Policies. Το παρακάτω monad είναι μια έμπνευση που είχα στο να κάνω combine το reader monad (για το propagation του policy) μαζί με το exception monad έτσι ώστε να δομήσω ένα retry monad. open System open System.Threading type ShouldRetry = ShouldRetry of (RetryCount * LastException -> bool * RetryDelay) and RetryCount = int and LastException = exn and RetryDelay = TimeSpan type RetryPolicy = RetryPolicy of ShouldRetry type RetryPolicies() = static member NoRetry () : RetryPolicy = RetryPolicy( ShouldRetry (fun (retryCount, _) -> (retryCount < 1, TimeSpan.Zero)) ) static member Retry (currentRetryCount : int , intervalBewteenRetries : RetryDelay) : RetryPolicy = RetryPolicy( ShouldRetry (fun (retryCount, _) -> (currentRetryCount < retryCount,...
|
-
Cool article about Attributes every .NET developer should know More...
|
-
Very nice collection of infographics tools More...
|
-
It's been a long time, since I posted something here, almost 3 months. Thing is that I had some long lasting vacations during August, I moved to a new company, even a new country. Trust me, no time for blogging. To catch up a little bit: I was awarded with the Windows Azure MVP title. I'm speaking at the keynote, along with some of the best it pros in Greece, of ITPro|DevConnections 2010, a huge technological event being held in Greece, 27th and 28th of November. It's almost sold out at the moment, more than 280 participants. I moved to Brussels for at least 6 months, for a project. I'll be at TechEd 2010 Berlin helping out Brian H. Prince on Windows Azure Hands-on-Labs/trainings etc. It will be nice to meet with some people there, come and find me! Lots of other stuff.. I'll catch up with blogging next week. There are a lot of stuff I want to write about. Be sure to check my blog every now and then, or subscribe to my RSS feed. Right after ITPro|DevConnections 2010 I'll post slides and code and trust me, it's...
|
-
|
|
|