Author Archives: Panos

About Panos

My name is Panos Kokkinidis and I am R&D Manager in Relational S.A., Athens, Greece.

Count LOC in a VS solution

Option #1: Quick-and-dirty Powershell (count non-empty lines) C:\> (dir -include *.cs,*.xaml -recurse | select-string .).Count Option #2: cloc (perl command-line tool) ——————————————————————————- Language files blank comment code ——————————————————————————- XML 6 21 0 30818 C# 18 110 148 518 MSBuild scripts … Continue reading

Posted in Etc | Leave a comment

Get text from PDF file with iTextSharp

string ReadPdfFile(string filename) { var pdfText = new StringBuilder(); var reader = new PdfReader(filename); var pages = reader.NumberOfPages; for (int page = 1; page <= pages; page++) { var tes = new SimpleTextExtractionStrategy(); var pgText = PdfTextExtractor.GetTextFromPage(reader, page, tes); pdfText.Append(pgText); … Continue reading

Posted in .NET | Tagged , | Leave a comment

The General Problem

From: http://xkcd.com/974/ I find that when someone is taking time to do something right in the present, they’re a perfectionist with no ability to prioritize, whereas when someone took time to do something right in the past, they’re a master artisan … Continue reading

Posted in Etc | Leave a comment

A perfect storm of technology change

Source: Dion Hinchcliffe, Defrag Keynote on CoIT – November 10th, 2011 Related post: The “Big Five” IT trends of the next half decade: Mobile, social, cloud, consumerization, and big data

Posted in Etc | Leave a comment

Notes on Product Engineering

Notes from this presentation by Mike Lee (@bmf): IDEA => (Product Engineering) => PROFIT Seek not originality… but quality The product is under the ideas (must find it) Consider customers: Start at the end by making a commercial Picking a platform: Platform … Continue reading

Posted in Etc | Tagged | Leave a comment

Lucene.Net Resources

Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework. Lucene in Action book, First and Second Edition Lucene Intro and QueryParser Rules by … Continue reading

Posted in .NET | Tagged | Leave a comment

BPMN/BPEL posts

Why BPEL is not the holy grail for BPM [P. Vigneras, Oct 21, 2008] BPMN-BPEL in Perspective: [B. Silver, Oct 25, 2008] Directly Executing BPMN [K. Swenson, Oct 29, 2008]

Posted in Etc, Workflow & BPM | Tagged , , | Leave a comment