Μάιος 2016 - Δημοσιεύσεις

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 = […]
Δημοσίευση στην κατηγορία: , , , , , , ,

Search

Go

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

Συνδρομές