Hot answers tagged

23

Lanier has invented a 50 cent word in an attempt to cast a net around a specific set of ideas that describe a computational model for creating computer programs having certain identifiable characteristics. The word means: A mechanism for component interaction that uses pattern recognition or artificial cognition in place of function invocation or ...


8

A simple algorithm that gives reasonably good results: Add the squared difference of each color component (red, green, blue) between the color you are looking for and the color in your list of colors and choose the color where the sum of those squared differences is minimal. For a more accurate result, see the wikipedia article on color difference and ...


6

There's at least 3 things that you could call "loaders" in Linux. The "ld" part of a compile, that puts together various object (.o) and archive (.a) files into a single executable is one. "ld" also checks shared object (.so) files to see if the dynamic linker can work correctly. The dynamic linker (do man ld.so for details) gets run by the Linux kernel ...


4

My first question is: How exactly does the program go through the for loops? They are nested, so would it create all of the columns (the j for loop) first? Or does it increment both i and j after the block of code finishes? Neither, really. Nested loops like this do not increment at the same time: the inner loop will run until j violates the condition (j &...


3

The loader is part of the kernel and usually called as part of a system call. It's not a named command you type in on the command line. Instead, the shell (command line or GUI) calls it when you do things like press enter after a command or double-click an icon.


3

possible duplicate http://stackoverflow.com/questions/2786676/windows-disassembler-looking-for-a-tool. The type of software you need is called a Dissasembler.


2

You can treat RGB colours as a 3-dimensional vector. The distance between any two points (colors) is given by the following formula: Your color is given as: #5D8AA8 This is made up of three hexadecimal values: [5D][8A][A8] Follow these steps: Strip the # off the string Break the remainder into 2x2x2 pieces and Use a Hex2Dec converter to convert ...


1

The article doesn't speak of memory, at lest not from RAM. Currently, when you use dropbox, the service synchronizes data between the cloud and your PC hard drive. So when you access your dropbox file, you access in reality a local cloned copy of it. The Project infinite seems to implement a real network drive access without keeping local copy of the ...


1

Here is a slide set for defining a Probabilistic Programming Language in Scala. It is the first decent implementation example for some of the core components to the system that Jaron Lanier proposes.


1

I think we are at the very beginning of one of the steps it will take to get there and that is gathering lots of data in formats that can be analyzed. The Internet, Google searches, Fitbit (Every step you take, every move you make, I'll be watching you.), FourSquare, a smart phone geo location, Facebook posts and SO question data are all being gathered. We'...


1

Each time through the inner loop, a single board square is drawn (by adding it to the board). The following three lines of code draw the square: GRect square = new GRect(x,y,squareSize,squareSize); square.setFilled((i + j) % 2 != 0); add(square); (x,y) in the first line specify the upper left coordinate of the square to be drawn. The second line ...


1

The double for-loop is essentially the same as this code: int i = 0; while (i <= numRows) { int j = 0; while (j <= numColumns) { double x = j * squareSize; double y = i * squareSize; GRect square = new GRect(x,y,squareSize,squareSize); square.setFilled((i + j) % 2 != 0); add(square); j++; }...


1

From the Wikipedia article on the DWT, the filter pair has to satisfy the requirements of a quadrature mirror filter. From what I remember from school when you had two analog filters cross you wanted the crossing point (frequency) to be at the 3dB rolloff of each, but it might be different for wavelets -- I don't rememba so good. I believe the crossing ...


1

The crux of the idea here is that the OS is driving the program loading. There isn't a direct command to load a program in either Linux or Windows, this is all handled by the OS itself. In this process the OS allocates memory, stack/heap space, any registers that are needed, and a program status register - that keeps track of all of this for when processes ...


1

As @falcon noted, the Linux loader is called "ld." In Windows, I don't know how much of the details of program loading and execution are actually made public.



Only top voted, non community-wiki answers of a minimum length are eligible