Welcome to my site. I use this site as a repository to dump knowledge I come across, generally in the areas of software engineering and information technologies, but may include other miscellaneous tidbits. Most of the posts are written as notes for my personal reference.
if i.hear then
i.forget
if i.see then
i.remember
if i.do then
i.understand
Some quick notes on doing encryption. Encryption is a process, by which information can be transformed (encoded) in such a format, that only authorized parties can read (decode) the information, and unauthorized parties cannot. The purpose of encrypting information is to protect the sensitive data from unauthorized use. Symmetric and Asymmetric Encryption In a symmetric […]
Using jQuery Mobile for a web application that needed to be easily accessible to mobile users. Download the project sample � MVC4Mobile This is a mobile app for showing Conference details. Sessions data for the conference is kept in the following XML file: ~/App_Data/Sessions/RawSessionsData.xml The project starts with no pleasant mobile view […]
Cloud Services Provide Availability Scalability / Dynamic adjust for current workload (up or out) Elasticity / Providing scalability automatically Agility / React quickly Disaster Recovery Fault Tolerance Latency Global Reach Security Predictive Cost Things to consider for cost when using Cloud Economies of Scale – Cloud providers have far larger resources therefore able […]
Working with NpgsqlConnection http://www.sqlines.com/postgresql/npgsql_cs_result_sets Copy command (Bulk insert) http://www.npgsql.org/doc/copy.html This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters public static void BulkInsertNpgsql<T>(this […]
Some person notes on Advanced Topics programming with C#. Inheritance vs Composition Inheritance and composition isnt specific to C# but to applies to any Object Oriented Programming language. The Inheritance model allows for “IS-A” relationships. For example, we can have a parent Fruit class and a child Apple class. The child Apple class “IS-A” […]
ASCII American Standard Code for Information Interchange – character encoding standard for electronic communication. Developed 1963 and is a 7bit binary system. Each character translates into a 7bit binary. This allows for 253 characters. The upper case “A” was 100001, “B” was 1000011. The lower case “a” started at 110001. This was 7bits because an […]
Sequence diagram = represents an interaction; can only show interactions so model element type: interaction; in form: sd [Interaction] interaction name [diagram name] [1] What is the diagram kind for a sequence diagram, and which type of model element does it represent? A = sd / interaction only; [2] What is the context for an […]
Allocation = mechanism to relate model elements (build relationships); useful for system of systems (SoS); supports allocation of behavior, structure and properties; functional allocation = allocation of activities to blocks; Allocation relationship = between any named model elements; Model element A is allocated to Model element B when from-end of allocation relationship is A and […]
Parametric Diagrams (par) = used to express information about system’s constraints. Recall that a constraint block = special kind of block that encapsulates constraint expression; equation or inequality. This enables the following abilities: – Specify assertions of valid system values (thereby detecting exceptional conditions) – Provides inputs and outputs for engineering analysis and simulation during […]