Posts

Showing posts from December, 2013

Go Google Go! A Language on Full Throttle

InfoWorld (12/18/13) Serdar Yegulalp

Go, Google's C-like language, recently was ranked at the top of TechEmpower's eighth round of Web framework benchmarks. Go proved to be the strongest in the JSON serialization test, achieving the best peak performance and the lowest latency scores. The high performance with JSON serialization indicates that Go is being performance-tuned for the same set of workloads most directly associated with frameworks such as Node.js. Node.js' lowest performance was at 14.3 percent of Go's speed, while the best was at 69.1 percent. Node.js has the advantage of a broad software development culture--not just through its package repository, but also because there are many more JavaScript programmers than there are Go programmers. Another newcomer in the benchmarks is Facebook's HipHop PHP VM (HHVM), an open source project that compiles PHP into C++ instead of interpreting it. HHVM was designed to replace Facebook's existing PHP-execution fr…

Apache 2.4 new FilterProvider syntax

This for exemple

FilterProvider SSI INCLUDES resp=Content-Type $text/html
will become

FilterProvider SSI INCLUDES "%{CONTENT_TYPE} = 'text/html'"

HOWTO remove all dangling commits from your git repository

A good explanation of the dangling (fr: ballants) commits source tells you how they get created.

git fsck --fullChecking object directories: 100% (300/300), done. Checking objects: 100% (10658/10658), done. dangling commit x.... dangling blob y.... dangling commit z.... dangling blob w.... dangling blob a.... dangling commit b....
How to quickly remove those?
git reflog expire --expire=now --all git gc --prune=now

push and delete remote branches

This is an action that many Git users need to do frequently, but many (including the me!!) have forgotten how to do so or simply don’t know how. Here’s the definitive guide if you’ve forgotten. For this reason I put it on my dev site on cofares the with free articles resources galaxy of sites.

So you have checked out a new branch, committed some awesome changes, but now you need to share this branch though with another developer. You can push the branch up to a remote very simply:

git push origin <pascal>

Where origin is your remote name and <pascal> is the name of the branch you want to push up.

Deleting is also a pretty simple task:

git push origin :<pascal>

That will delete the newfeature branch on the origin remote, but you’ll still need to delete the branch locally with

git branch -d <pascal>


Programming Smart Molecules

Harvard University (12/12/13) Caroline Perry

Harvard University researchers have shown that an important class of artificial intelligence (AI) algorithms could be implemented using chemical reactions. The researchers note that the machine-learning algorithms, which use a technique called "message passing inference on factor graphs," are a mathematical coupling of ideas from graph theory and probability and already function as critical components of everyday tools. They say that in the long term, these theoretical developments could lead to "smart drugs" that can automatically detect, diagnose, and treat a variety of diseases using a cocktail of chemicals that can perform AI-type reasoning. "This work shows that it is possible to also build intelligent machines at tiny scales, without needing anything that looks like a regular computer," says Harvard professor Ryan P. Adams. The research also could produce methods for analyzing natural biological reaction p…