Older blog entries for sness (starting at number 4717)

On protecting HTML5 apps | Christian Heilmann

On protecting HTML5 apps | Christian Heilmann: "NEW PLAYGROUND, NEW RULES

The openness of the web, the opportunity to publish on it and additionally in closed environments with an HTML5 app, the future friendliness of web technologies to the markets and environments of tomorrow is what we should be thinking about. A lot of the demands for “protected code” reminds me of a band trying to write a song that nobody else could play. "

'via Blog this'

Syndicated 2012-12-11 16:46:00 from sness

Why skies are blue instead of purple - Technology & science - Science - LiveScience | NBC News

Why skies are blue instead of purple - Technology & science - Science - LiveScience | NBC News: ""Your eye can't tell the difference between that complex spectrum and one that is a mixture of pure blue and white," Smith said.
In other animals, the sky color is undoubtedly different.  Outside of humans and some other primates, most animals have only two types of cones instead of three (dichromatic vs. trichromatic).
Honeybees and some birds see at ultraviolet wavelengths that are invisible to humans."

'via Blog this'

Syndicated 2012-12-10 16:07:00 from sness

Logistic Regression

Logistic Regression: "To avoid the pesky need to configure learning rates, regularization parameters and annealing schedules, you can use the AdaptiveLogisticRegression. This class maintains a pool of CrossFoldLearners and adapts learning rates and regularization on the fly so that you don't have to."

'via Blog this'

Syndicated 2012-12-09 17:44:00 from sness

Mahout Logistic Regression « Vanessa's Imiloa

Mahout Logistic Regression « Vanessa's Imiloa: "Then you should be able to get from the terminal:
Running on hadoop, using HADOOP_HOME=/usr/lib/hadoop
No HADOOP_CONF_DIR set, using /usr/lib/hadoop/conf
11/11/01 17:58:21 WARN driver.MahoutDriver: No org.apache.mahout.classifier.sgd.TrainLogistic.props found on classpath, will use command-line arguments only"

'via Blog this'

Syndicated 2012-12-09 17:43:00 from sness

Introduction — HappyBase 0.5dev documentation

Introduction — HappyBase 0.5dev documentation: "from thrift import Thrift
from thrift.transport import TSocket, TTransport
from thrift.protocol import TBinaryProtocol

from hbase import ttypes
from hbase.Hbase import Client, Mutation

sock = TSocket.TSocket('hostname', 9090)
transport = TTransport.TBufferedTransport(sock)
protocol = TBinaryProtocol.TBinaryProtocol(transport)
client = Client(protocol)

mutations = [Mutation(column='family:qual1', value='value1'),
Mutation(column='family:qual2', value='value2')]
client.mutateRow('table-name', 'row-key', mutations)"

'via Blog this'

Syndicated 2012-12-09 16:38:00 from sness

Finally a usable Python library for HBase

Finally a usable Python library for HBase: "import happybase

connection = happybase.Connection('localhost')
table = connection.table('my-table')

table.put('row-key', {'family:qual1': 'value1','family:qual2': 'value2'})
row = table.row('row-key')print row['family:qual1']
# prints 'value1'
for key, data in table.rows(['row-key-1', 'row-key-2']):   
    print key, data  # prints row key and data for each row
for key, data in table.scan(row_prefix='row'):   
     print key, data  # prints 'value1' and 'value2'
row = table.delete('row-key')

'via Blog this'

Syndicated 2012-12-09 16:38:00 from sness

HadoopStreaming - Hadoop Wiki

HadoopStreaming - Hadoop Wiki: "Hadoop Streaming is a utility which allows users to create and run jobs with any executables (e.g. shell utilities) as the mapper and/or the reducer.

Usage: $HADOOP_HOME/bin/hadoop jar $HADOOP_HOME/mapred/contrib/streaming/hadoop-streaming.jar [options]"

'via Blog this'

Syndicated 2012-12-09 16:33:00 from sness

Hadoop Distributed File System-2.0.2-alpha - WebHDFS REST API

Hadoop Distributed File System-2.0.2-alpha - WebHDFS REST API: "The HTTP REST API supports the complete FileSystem/FileContext interface for HDFS. The operations and the corresponding FileSystem/FileContext methods are shown in the next section. The Section HTTP Query Parameter Dictionary specifies the parameter details such as the defaults and the valid values.


'via Blog this'

Syndicated 2012-12-09 16:33:00 from sness

R + Hadoop = Data Analytics Heaven - Data Science Central

R + Hadoop = Data Analytics Heaven - Data Science Central: "
RHadoop is a small, open-source package developed by Revolution Analytics that binds R to Hadoop and allows for the representation of MapReduce algorithms using R - allowing data scientists access to Hadoop’s scalability from their favorite language, R.  It allows users to write general MapReduce programs, offering the full power and ecosystem of an existing, established programming language. 

'via Blog this'

Syndicated 2012-12-09 16:31:00 from sness

4708 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!