background preloader

Computer

Facebook Twitter

Bloom Filters by Example. A Bloom filter is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set.

Bloom Filters by Example

The price paid for this efficiency is that a Bloom filter is a probabilistic data structure: it tells us that the element either definitely is not in the set or may be in the set. The base data structure of a Bloom filter is a Bit Vector. Here's a small one we'll use to demonstrate: Each empty cell in that table represents a bit, and the number below it its index. To add an element to the Bloom filter, we simply hash it a few times and set the bits in the bit vector at the index of those hashes to 1. It's easier to see what that means than explain it, so enter some strings and see how the bit vector changes. When you add a string, you can see that the bits at the index given by the hashes are set to 1. To test for membership, you simply hash the string with the same hash functions, then see if those values are set in the bit vector.

Parallel

Python - Parallel Scientific Computation Software Development Language? - Computational Science Beta - Stack Exchange. Let me try and break down your requirements: MaintainabilityReading/writing text dataStrong interfaces/capability for LU factorizationsSparse linear solversPerformance and scalability to large data From this list, I would consider the following languages: C, C++, Fortran, Python, MATLAB, Java Julia is a promising new language, but the community is still forming around it and it has not been deployed in any major new codes.

python - Parallel Scientific Computation Software Development Language? - Computational Science Beta - Stack Exchange

Reading/writing text data This is easy to get right in any programming language. Strong interfaces/capability for LU factorizations If you are performing dense LU factorizations, you will want to use LAPACK, or ScaLAPACK/Elemental for parallel functionality. Sparse linear solvers The premier freely available sparse linear solvers are almost all available through PETSc, written in C, which is well-documented and supported. Www.aliquote.org: Python for statistical computing.

My new editor - Geany - Venky's Blog. I have been using the default text editor in Ubuntu, Gedit, and have modified it to work it like an IDE.

My new editor - Geany - Venky's Blog

It worked good, but still lacked a lot of features which a good IDE would have (like code folding, symbols browser etc). Lately, I saw a blog post with a mention of few new IDEs around which are as light wieght as G-Edit. That is when i first heard of Geany. GTK v1.2 Tutorial: Getting Started. NextPreviousContents 2.

GTK v1.2 Tutorial: Getting Started

Getting Started The first thing to do, of course, is download the GTK source and install it. You can always get the latest version from ftp.gtk.org in /pub/gtk. You can also view other sources of GTK information on GTK uses GNU autoconf for configuration. The GTK source distribution also contains the complete source to all of the examples used in this tutorial, along with Makefiles to aid compilation. To begin our introduction to GTK, we'll start with the simplest program possible. /* example-start base base.c */ #include <gtk/gtk.h> int main( int argc, char *argv[] ) { GtkWidget *window; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show (window); gtk_main (); return(0); } /* example-end */ You can compile the above program with gcc using: gcc base.c -o base `gtk-config --cflags --libs` The meaning of the unusual compilation options is explained below in Compiling Hello World.

The next line: XP Epsiode. This article is derived from a chapter of the forthcoming book Advanced Principles, Patterns and Process of Software Development, Robert C.

XP Epsiode

Martin, Prentice Hall, 2001. Copyright © 2000 by Robert C. Martin, all rights reserved. Design and programming are human activities; forget that and all is lost. Bjarne Stroustrup, 1991 In order to demonstrate XP (eXtreme Programming) practices, Bob Koss (RSK) and Bob Martin (RCM) will pair program a simple application while you watch like a fly on the wall.

Online codes

Linux. Embedded. Programming Forum. DeveloperWorks : IBM's resource for developers and IT professionals. Flex/ActionScript/C++/Scratch/Alice/C#/Java/JavaScript/XML Programming, by Richard G Baldwin. Flex/Actionscript/C++/Scratch/Alice/C#/Java/JavaScript/XML Programming Tutorials Table of Contents, If you find the links to any of my tutorials broken, you might try either: Going to Google or Bing and searching the web for pages having the same title, or Going to More articles by Richard G.

Flex/ActionScript/C++/Scratch/Alice/C#/Java/JavaScript/XML Programming, by Richard G Baldwin

Baldwin at Developer.com and searching that page for the tutorial by title. One of those two options is almost certain to lead you to a copy of the tutorial. The New Face of Computer Science Education - The Scratch Generation. What are the best ways for a complete beginner to learn programming.

Network

Databases. Fortran. C++ Python. Ruby.