Introduction Every now and then a question is asked, how do I define an identity (auto-increment) column in Oracle like in SQL Server? There’s no such concept in Oracle directly, but similar behavior can easily be created. Unique numbering in Oracle An identity definition in SQL Server is bound to a single column which is […]
Aurora 12 is out – improvements and updated Developer Tools
Aurora 12 is out, together with updated Developer Tools, and these are the improvements/changes. Highlights A few of the improvements that stand out a little more: ECMAScript Harmony’s Simple Map and Set builtins For testing purposes, we have implemented ECMAScript Harmony’s Simple Map and Set builtins. This is only in Aurora and will be disabled when it […]
C++ String Toolkit (StrTk) Tokenizer
Introduction This article will present the tokenizing and splitting functionality of a simple C++ library called the String Toolkit. Tokenization in the context of string processing, is the method by which a sequence of elements are broken up or fragmented in sub-sequences called tokens. The indices in the original sequence that determine such breaks in […]
RSA Private Key Encryption
RSA Introduction The RSA (Rivest, Shamir, Adleman) encryption algorithm uses two Keys: Private and Public. Scenario A Suppose Alice wants to send a message to Bob (for his eyes only!). She can encrypt the message using the RSA algorithm with Bob’s Public Key, which is not a secret (that’s why they call it Public…). Once […]
The Underlying Connection Was Closed: The Connection Closed Unexpectedly in EF 4.0
Introduction When we try to return back collection entity from WCF method, then the common cause comes “The-underlying-connection-was-closed–The-connection-closed-unexpectedly” Using the Code Entity Framework 4 enables lazy loading of entities by default. I’m not going to argue about whether that is good or bad, but there is something you should be aware of. If you’re like […]
Night Dreams about NetBeans 7.1, etc.; Day Work Configuring CentOS Linux for JavaFX 2.1
Last night I dreamed seemingly all night about NetBeans 7.1, the JavaFX 2.1 Developer Preview, the JDK 6 and JDK 7 installations on my CentOS Linux system, Java threads, the JDK 7 Fork/Join framework, closures… and probably a few more things were in there too. That kind of thing happens to me sometimes after a late […]