Older blog entries for sness (starting at number 4712)

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)
transport.open()

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

Introduction — HappyBase 0.5dev documentation

Introduction — HappyBase 0.5dev documentation: "HappyBase is a developer-friendly Python library to interact with Apache HBase. HappyBase is designed for use in standard HBase setups, and offers application developers a Pythonic API to interact with HBase."

'via Blog this'

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

Sync tabs across devices - Google Chrome Help

Sync tabs across devices - Google Chrome Help: "Access open tabs on other devices

You can access any open tabs from other synced devices.

Open a new tab by clicking or Ctrl+T (Mac: ⌘-T).
In the lower right corner, click Other devices.
Click the tab you want to open on the current device.
Open tabs are grouped together by devices. You can hide a specific device by disabling tab syncing on that particular device. To temporarily hide a device, right-click the device name and select Hide.

"

'via Blog this'

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

How You Turn Music Into Money in 2012 (Spoiler: Mostly iTunes) - Robinson Meyer - The Atlantic

How You Turn Music Into Money in 2012 (Spoiler: Mostly iTunes) - Robinson Meyer - The Atlantic: "The avant garde cellist Zoe Keating has allowed us see her revenue model. Earlier this summer, she posted the details of her Spotify earnings, revealing that every time someone listened to one of her songs, she made about three tenths of a cent. She also posted her iTunes earnings at the time."

'via Blog this'

Syndicated 2012-12-08 06:16:00 from sness

Ubuntu Manpage: acpi - Shows battery status and other ACPI information

Ubuntu Manpage: acpi - Shows battery status and other ACPI information: "DESCRIPTION
acpi Shows information from the /proc or the /sys filesystem, such as
battery status or thermal information.
"

'via Blog this'

Syndicated 2012-12-06 17:01:00 from sness

Get iPhone USB tethering working on Ubuntu 12.04 or Linux Mint 13 ~ Technology Linux and Windows

Get iPhone USB tethering working on Ubuntu 12.04 or Linux Mint 13 ~ Technology Linux and Windows: "To get iPhone USB tethering working again on Ubuntu 12.04, we need following packages installed:
ipheth-utils
libimobiledevice-dev
libimobiledevice-utils

Installation of Utils, open Terminal and enter following command:
sudo apt-get install ipheth-utils libimobiledevice-dev libimobiledevice-utils
"

'via Blog this'

Syndicated 2012-12-05 21:52:00 from sness

4703 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!