| English: Image processing on a hypercube. Step 2. (Photo credit: Wikipedia) |
Parallel Programming in C# 4.0, 4.5 - CodeProject
This blog will hold favorite gadgets and graphic user interfaces that don't really fit in my main blog @ mmcelhaney.blogspot.com
| English: Image processing on a hypercube. Step 2. (Photo credit: Wikipedia) |
| Illustration of the Finite element method, the computed solution. (Photo credit: Wikipedia) |
A simple finite element code in Julia for solving the 2D Poisson equation over the unit square is presented in this article. The code uses only Julia's standard library and thus does not have any external dependencies. It solves the partial differential equation u,xx + u,yy = -6 over the unit square with the Dirichlet boundary condition u = 1 + x^2 + 2y^2 on the sides of the unit square. The code can however be easily modified to study other instances of the Poisson equation. The unit square is discretized with linear triangular finite elements and the stiffness matrix and load vectors are calculated using a one-point quadrature rule.
| The Microsoft Visual Studio .NET logo. (Photo credit: Wikipedia) |
We know that a software prerequisite is that if it is being used all over the world, it must have a multi-language interface because not everyone speaks English. The problem is, how does one create a multi-language software which can edit and add other languages easily?
This article presents a solution to solving this problem using C# and Visual Studio 2008.
First we will present how to create an application in Vietnamese and English. Then we will present the procedure to add other languages (for instance, French).
| WIndows PowersHell (Photo credit: Eifion) |
| DLL Icon (Photo credit: Wikipedia) |
| Deutsch: HTML5 Logo English: HTML5 official logo (official since 1 April 2011, see FAQ) Français : Logo HTML5 中文(简体)â¬: HTML5标志 中文(繁體)â¬: HTML5標識 (Photo credit: Wikipedia) |
HTML5 applications are obviously written using JavaScript. But compared to other kinds of development environments (like native ones), JavaScript historically suffers from an important limitation: all its execution process remains inside a unique thread.
This could be pretty annoying with today’s multi-core processors like the i5/i7 containing up to 8 logical CPUs—and even with the latest ARM mobile processors being dual or even quad-cores. Hopefully, we’re going to see that HTML5 offers the Web a better way to handle these new, marvelous processors to help you embrace a new generation of Web applications.
| Image via CrunchBase |
| Image via Wikipedia |
VB has a With keyword that you can use to save typing same variables name over and over again. Here's a similar workaround for C#
An Ajax control that enables a user to upload a file asynchronously with extra data
| Image via Wikipedia |
Many of us developers do not look beyond the basic F9, F10, F11, F5 and Watch windows while debugging in Visual Studio. Due to this we end up wasting hours debugging an issue or simulating a condition which ideally could have been achieved in a matter of minutes if we utilized the rich debugging features available out of the box in Visual Studio.Advanced debugging tips are scattered all over the web but I thought that a consolidated list would be very useful for developers to embrace and start using the techniques.
| Image via Wikipedia |
Dim Tablelist as New List(Of String)()
Dim odbcconn As OleDb.OleDbConnection=New oledb.OleDbConnection(connstring)
Dim restrictions(3) As string
restrictions(3) = "MSYS"
odbcconn.Open()
Dim dt As DataTable = odbcconn.GetSchema("Tables")
For Each dr In dt.rows
If InStr(Ucase(dr("TABLE_NAME")),"MYS") = 0 then
Tablelist.Add(dr("TABLE_NAME"))
End If
Next
odbcconn.Close
This goal of this article is to introduce the basic concepts of programming language implementation for C# programmers. This article provides a quick overview of the concepts of implementing programming languages, and uses a number of examples including an arithmetic evaluator and a simple JavaScript interpreter.
Accompanying this article is an open-source parser library written in C# 4.0 called Jigsaw. The most up to date version of Jigsaw can be downloaded online at code.google.com/p/jigsaw-library/.
Jigsaw contains a reasonably efficient and robust parsing engine and a large number of sample grammars and evaluators. The Jigsaw parsing library is an evolution of the parsers used in the Cat language and later Heron language, but has been optimized by addding support for memoization.
The Jigsaw library is licenced under the MIT open-source license. If for some reason you need another license please contact me at cdiggins@gmail.com. If you end up using or abusing Jigsaw I would love to hear about it!
In this article I describe how to extend an application functionality with F# scripting. Sometimes there is a need to extend existing application functionality with some custom behavior. If you don't want or can't go through application developing and building cycle every time you need additional feature, scripting can be a good solution. It allows to tailor your application for particular needs with minimal efforts.
This application might not have any practical value, but it is great from a learning perspective. I wanted to learn about computer vision. Computer vision is one of the most exciting areas of modern computing. It is also a difficult area. What is simple and obvious for the human brain is very difficult for a computer. Many things are still impossible with the current level of IT progress.
This application is implemented using low level C++ because I wanted to learn how things work under the hood. If you’d like to start with a computer vision application, you should take an existing library (like OpenCV) and start from there. You can find several tutorials here on CodeProject. The webcam image gathering source code is from from Vadim Gorbatenko (AviCap CodeProject).
The webcam acquires one image at a time (a frame). The flow of frames gives the impression of motion. The next image explains what this application does within a webcam frame.