Posts

Non-technical and more: Lindsay Lohan was sent to jail recently

Lindsay Lohan was sent to jail briefly and then posted bond. She was detained after the judge sentenced her to 120 days of jail. But she posted bond and is supposed to return in early May. How many days will she actually spend in jail? 120? 2? No this blog was not hijacked. I find this interesting because I want to see how many ways Lohan and her attorneys can circumvent the real law so that she doesn't go to jail. Some people actually go to jail and are detained for periods of time longer than their actual sentencing. Lohan may go to jail for a fraction of her actual 120 days.

OpenJDK Hotspot, source code line count

Here are some notes, source code analysis of hotspot: # perl cloc-1.53.pl src 1786 text files. 1716 unique files. 121 files ignored. ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C++ 673 64909 97522 340057 C/C++ Header 796 25928 49603 101144 XML 61 474 179 15360 Java 78 1908 2397 8663 C 11 1194 2327 7236 XSLT 7 560 166 4406 Assembly 6 89 36 2245 D 4 83 ...

Declarative programming introduction

"Haskell is a very elegant language, and the functional nature of it makes it a beautiful glue language... because the nature of Haskell as a language can make things clearer than many other programming languages" -- Mark C. Chu-Carroll of the ScienceBlogs "Haskell is a declarative language in that the program can be treated as a statement of facts, rather than as a set of commands that are sequenced in time" -- cdsmith Declarative programming is a programming paradigm that encourages that the programming logic describes what the program will do as opposed to how it will do it. Also, you don't define your programming logic in a sequence of steps like you normally would using an imperative style programming. Functional programming is considered declarative programming. With the imperative programming paradigm, one might do the following to reach a desired state. In Java (imperative style): final SavingsAccount savings = new SavingsAccount (); // ...

Eclipse, broken by design, thoughts...

If you are behind a web proxy and want to do an update, the default proxy settings (you know, the ones in preferences) don't work if you are doing an 'Eclipse update' or installing new software. It seems like the main purpose to even use the network connection with Eclipse is to perform updates via http. But it doesn't work. You need to add the http proxy settings in your Eclipse.ini. E.g. ... -Xmx768m -Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=8080 Resources: http://www.eclipse.org/helios/ Last tested with Helios.

THOUGHTS: A Bottom-Up Approach for Artificial Life Simulations (Thoughts)

Overview The field of artificial intelligence in computer science focuses on many different areas of computing from computer vision to natural language processing. These top-down approaches typically concentrate on human behavior or other animal functions. In this article we look at a bottom-up approach to artificial life and how emergent cell behavior can produce interesting results. With this bottom-up alife approach, we are not interested in solving any particular task, but we are interested in observing the adaptive nature of the entities in our simulation. We also wanted to introduce those more familiar with software engineering to biological systems and evolutionary theory concepts. Life is all around us. Even with inorganic material it is possible that microscopic organisms are covering that surface. Moving forward if we want to study, analyze and work with artificial agents, we might consider systems that have evolved behavior over a series of steps. We shoul...

Wolfram's Cellular Automata, A New Kind of Science and Example Squaring Rule

Image
Overview - Playing the Game Of Life When most computer users upload a profile image from their desktop to Facebook's website they don't stop to think about the simple binary math rules that are fundamental to most digital devices. We realize that 4 gigabytes of RAM is more memory than 512 megabytes but we don't visualize the logic chips that are involved in an xor $0x100, eax operation for a 32-bit CISC processor. Software developers have to consider memory management or how a computer's operating system loads their programs into memory. They don't normally consider VHDL logic circuit designs, the data paths, arithmetic logic units or the millions of transistors that make up a modern CPU. Those low-level details have been intentionally hidden from the user application developer. The modern CPU may have changed dramatically over the last decade but at the heart of early digital computing were simple Boolean operations. These simple rules were combined togeth...

Standard Developer Toolkit - 2010 version

Image
I don't know if it is because I am getting older but I am starting to record my thoughts online or digitally so that I can easily go back to that record. I do this by posting blog posts on blogspot and through other subversion code repositories. One task that I have long neglected is creating a list of common developer tools. The toolkit suite contains a list of common software applications that a developer of any language or environment would need. Most of the software is open source of freely available. Obviously, different developers want or need different tools. Here is the list of packages that are essential for what I need. Yes, the list is bias with a emphasis on Java development. I marked the critical applications in bold. I would typically install of all of these tools on one machine over a long time period. Some of the tools seem similar in nature, for example, I do install Netbeans and Eclipse on the same machine. I may swap between the IDEs if there are tools ...