Blogging with Jekyll Tutorial | Jekyll-Bootstrap: "The Future of Jekyll-Bootstrap
I built JB to make it easier for developers to share their knowledge. I chose Jekyll because of its native support with GitHub Pages.
I feel I've taken JB as far as it can go without sacrificing simplicity. I will still maintain JB, however further development will stall as I focus on my new project which incorporates what I've learned from JB..."
'via Blog this'
Monday, December 31, 2012
Friday, December 28, 2012
Thursday, December 27, 2012
FUSE 1–20 | Book Review | Typographica
FUSE 1–20 | Book Review | Typographica: "Some may find it a bit too soon for many of FUSE’s experiments to be terribly rewarding. For instance, much of the aesthetic feels very ’90s. And some of the experiments betray Brody and Wozencroft’s loftier goals. M&Co’s “What the Hell”, in which a single stroke on the keyboard types an entire word, seems like much more of a novelty than a significant questioning of the keyboard’s function."
A JavaScript Touch Game – Exploration of Backbone.js, RequireJS & Raphael
A JavaScript Touch Game – Exploration of Backbone.js, RequireJS & Raphael: "About a month ago I came up for an idea for a touched based iPad game. I couldn’t decide whether the concept was engaging enough to work as a game so I thought I’d spend a few evenings building a proof-of-concept to find out. This was also a good excuse to play with some libraries I didn’t know and better understand touch. Now I have got it to a place where it is playable I still don’t know whether it works as a game. Let me know! The source code is on Github and is under MIT license."
'via Blog this'
'via Blog this'
How I learned Backbone.js, Three.js & GLSL in one week • @GreWeb
How I learned Backbone.js, Three.js & GLSL in one week • @GreWeb: "I was very impressed by the power of GLSL for its possibilities and efficiency.
GLSL are definitely the indispensable thing you need to add a better atmosphere in your games."
'via Blog this'
GLSL are definitely the indispensable thing you need to add a better atmosphere in your games."
'via Blog this'
CKAN - Wikipedia, the free encyclopedia
CKAN - Wikipedia, the free encyclopedia: "The Comprehensive Knowledge Archive Network (CKAN) is a web-based system for the storage and distribution of data, such as spreadsheets and the contents of databases supported by the Open Knowledge Foundation. It is inspired by the package management capabilities common to open source operating systems like Linux, and is intended to be the "apt-get of Debian for data".[1]"
'via Blog this'
'via Blog this'
ckan - The open source data portal software
ckan - The open source data portal software: "CKAN is a powerful data management system that makes data accessible – by providing tools to streamline publishing, sharing, finding and using data. CKAN is aimed at data publishers (national and regional governments, companies and organizations) wanting to make their data open and available."
'via Blog this'
'via Blog this'
HyperJuice Plug 10,400mAh (Stealth)
HyperJuice Plug 10,400mAh (Stealth): "High capacity battery pack with 2 high power USB ports capable of charging 2 USB devices (even 2 iPads) at the same time. Comes with built-in retractable wall plug for easy recharging. 6 different juicy colors of aluminum housing to choose from."
'via Blog this'
'via Blog this'
Web UI Package | Dart: Structured web apps
Web UI Package | Dart: Structured web apps: "The Web UI package (Web UI for short) provides web components, templates, data binding, and encapsulation, to help you write web applications at scale. Web UI is available as a pub package."
'via Blog this'
'via Blog this'
Wednesday, December 26, 2012
backend.couchdb.js
backend.couchdb.js: "var cdb = new my.CouchDBWrapper(db_url, view_url);
var cdb_q = cdb._normalizeQuery(queryObj, query_options);
"
'via Blog this'
var cdb_q = cdb._normalizeQuery(queryObj, query_options);
"
'via Blog this'
Substance — Open Documents for the Web
Substance — Open Documents for the Web: "Data.js is a data representation framework for Javascript. It is being developed in the context of Substance, a web-based document authoring and publishing engine. It took some inspiration from various existing libraries such as the Google Visualization API or Underscore.js. "
'via Blog this'
'via Blog this'
Substance — Open Documents for the Web
Substance — Open Documents for the Web: "Data.js is a data representation framework for Javascript. It is being developed in the context of Substance, a web-based document authoring and publishing engine. It took some inspiration from various existing libraries such as the Google Visualization API or Underscore.js. "
'via Blog this'
'via Blog this'
Semantic Interaction Framework - VIE.js
Semantic Interaction Framework - VIE.js: "VIE.js (“Vienna IKS Editables”) is a JavaScript library for implementing decoupled Content Management Systems and semantic interaction in web applications. In short, VIE provides a bridge between Backbone.js and the semantic web."
'via Blog this'
'via Blog this'
powerbook ubuntu xmodmap
On my Apple Powerbook running Ubuntu natively.
pyara 9 [~] % cat .xmodmaprc
pointer = 1 3 2
keycode 37 = Control_L
keycode 64 = Control_L
keycode 105 = Super_R
keycode 108 = Control_R
keycode 133 = Alt_L
keycode 134 = Alt_R
clear control
clear mod1
clear mod4
add control = Control_L
add control = Control_R
add mod1 = Alt_L
add mod1 = Alt_R
Tuesday, December 25, 2012
Using jQuery, Plugins and UI Controls With Backbone | ThoughtStream.new :derick_bailey
Using jQuery, Plugins and UI Controls With Backbone | ThoughtStream.new :derick_bailey: "I’ve also found it to be very useful to have two additional methods that are called on my views: onClose and onRender. I specifically have onClose and onRender. onClose is called by the region manager when closing an existing view. onRender, though, is called by my base “ItemView” or “CollectionView” in Marionette, as I’ve extracted the core rendering in to these two objects but still want to provide a way for specific views to take advantage of DOM-independent plugins and UI controls."
'via Blog this'
'via Blog this'
nmon for Linux | Main / HomePage
nmon for Linux | Main / HomePage: "On screen (console, telnet, VNC, putty or X Windows) using curses for low CPU impact which is updated once every two seconds. You hit single characters on you keyboard to enable/disable the various sorts of data.
You can display the CPU, memory, network, disks (mini graphs or numbers), file systems, NFS, top processes, resources (Linux version & processors) and on Power micro-partition information."
'via Blog this'
You can display the CPU, memory, network, disks (mini graphs or numbers), file systems, NFS, top processes, resources (Linux version & processors) and on Power micro-partition information."
'via Blog this'
Rocky Jaiswal
Rocky Jaiswal: "Here we are basically using jQuery UI’s autocomplete function and passing it the data source as a variable named “names”, which we populate through an AJAX call (with Rails we get the server code free when we scaffold). Since the /users.json call retuns other associated data in the JSON we need to clean it up (it contains other fields such as age, last_updated_at etc.)."
'via Blog this'
'via Blog this'
Rocky Jaiswal
Rocky Jaiswal: " var users = new UserList(); //Line 26
users.fetch({async: false});
var userNames = users.pluck("name");
$("#user-input").autocomplete({ //Line 30
source : userNames,
minLength : 2,
select: function(event, ui){ //Line 33
var selectedModel = users.where({name: ui.item.value})[0];
var view = new SelectionView({model: selectedModel});
view.render();
}
});"
'via Blog this'
users.fetch({async: false});
var userNames = users.pluck("name");
$("#user-input").autocomplete({ //Line 30
source : userNames,
minLength : 2,
select: function(event, ui){ //Line 33
var selectedModel = users.where({name: ui.item.value})[0];
var view = new SelectionView({model: selectedModel});
view.render();
}
});"
'via Blog this'
The Plight of Pinocchio: JavaScript's quest to become a real language - opensoul.org
The Plight of Pinocchio: JavaScript's quest to become a real language - opensoul.org: "JavaScript is no longer a toy language. Many of our applications can’t function without it. If we are going to use JavaScript to do real things, we need to treat it like a real language, adopting the same practices we use with real languages."
'via Blog this'
'via Blog this'
Monday, December 24, 2012
Machine Learning, Big Data, Deep Learning, Data Mining, Statistics, Decision & Risk Analysis, Probability, Fuzzy Logic FAQ | William M. Briggs
Machine Learning, Big Data, Deep Learning, Data Mining, Statistics, Decision & Risk Analysis, Probability, Fuzzy Logic FAQ | William M. Briggs: "What’s the difference between machine learning, deep learning, big data, statistics, decision & risk analysis, probability, fuzzy logic, and all the rest?
None, except for terminology, specific goals, and culture. They are all branches of probability, which is to say the understanding and sometime quantification of uncertainty. Probability itself is an extension of logic.
"
'via Blog this'
None, except for terminology, specific goals, and culture. They are all branches of probability, which is to say the understanding and sometime quantification of uncertainty. Probability itself is an extension of logic.
"
'via Blog this'
Introduction to Hadoop
Introduction to Hadoop: "Hadoop is sub-project of Lucene (a collection of industrial-strength search tools), under the umbrella of the Apache Software Foundation. Hadoop parallelizes data processing across many nodes (computers) in a compute cluster, speeding up large computations and hiding I/O latency through increased concurrency. Hadoop is especially well-suited to large data processing tasks (like searching and indexing) because it can leverage its distributed file system to cheaply and reliably replicate chunks of data to nodes in the cluster, making data available locally on the machine that is processing it."
'via Blog this'
'via Blog this'
Apple Color Emoji | Typeface Review | Typographica
Apple Color Emoji | Typeface Review | Typographica: "Of course color fonts are nothing new, with overprinting techniques in use from the earliest days of movable metal type. In digital typography layering has long been used to achieve multicolor results and color bitmap fonts have been around a while. However, Mac OS X Lion and the inclusion of the Apple Color Emoji font represent the first time a modern operating system has included both support and a showcase color font. Although the technology is basic, with color bitmaps included at two sizes in a proprietary “sbix” table, in years to come, as color fonts gain traction, we’ll look back to 2011 as the year it all began."
'via Blog this'
'via Blog this'
Re: [Orgmode] How do I change font for DONE tasks?
Re: [Orgmode] How do I change font for DONE tasks?: "address@hidden writes:
> M-x org-customize then browse your way to Org Font Lock->Org Faces->Org
> Done
This will just change the font for the "DONE" keyword. If you want to
strike through the whole headline:
(setq org-fontify-done-headline t)
(custom-set-faces
'(org-done ((t (:foreground "PaleGreen"
:weight normal
:strike-through t))))
'(org-headline-done
((((class color) (min-colors 16) (background dark))
(:foreground "LightSalmon" :strike-through t)))))
[Change the colors to fit your config/taste]
"
'via Blog this'
> M-x org-customize then browse your way to Org Font Lock->Org Faces->Org
> Done
This will just change the font for the "DONE" keyword. If you want to
strike through the whole headline:
(setq org-fontify-done-headline t)
(custom-set-faces
'(org-done ((t (:foreground "PaleGreen"
:weight normal
:strike-through t))))
'(org-headline-done
((((class color) (min-colors 16) (background dark))
(:foreground "LightSalmon" :strike-through t)))))
[Change the colors to fit your config/taste]
"
'via Blog this'
"What does it do?
Afterquery is a pure-client-side javascript tool that downloads jsonp-formatted data from a given URL, applies a configurable series of transformations, and then renders the result as either a data table or a Google Visualizations (gviz) chart.
Although the javascript file happens to be hosted on a server, your data never gets uploaded; your browser handles all the processing steps internally. Also, the permissions to download the jsonp data depends on the cookies in your browser, so you can safely retrieve protected content without granting authorization to an external server."
'via Blog this'
Afterquery is a pure-client-side javascript tool that downloads jsonp-formatted data from a given URL, applies a configurable series of transformations, and then renders the result as either a data table or a Google Visualizations (gviz) chart.
Although the javascript file happens to be hosted on a server, your data never gets uploaded; your browser handles all the processing steps internally. Also, the permissions to download the jsonp data depends on the cookies in your browser, so you can safely retrieve protected content without granting authorization to an external server."
'via Blog this'
Enlightenment - About
Enlightenment - About: "Edje is a meta-object design library that is somewhere between Flash, PSD, SVG and HTML+CSS. It separates design out from code and into a dynamically loaded data file. This file is compressed and loaded very quickly, along with being cached and shared betweeen instances."
You lost me at Edje.
You lost me at Edje.
Sunday, December 23, 2012
White Chocolate-Candy Cane Cheesecake recipe
White Chocolate-Candy Cane Cheesecake recipe: "White Chocolate-Candy Cane Cheesecake"
'via Blog this'
'via Blog this'
What is the area of a circle that has a 10 inch diameter
What is the area of a circle that has a 10 inch diameter: "
The area of a circle is A = pi times diameter² / 4.
Given diameter d = 10 inches.
Area A = 78.5398 inches²."
'via Blog this'
The area of a circle is A = pi times diameter² / 4.
Given diameter d = 10 inches.
Area A = 78.5398 inches²."
'via Blog this'
Saturday, December 22, 2012
MpichCluster - Community Ubuntu Documentation
MpichCluster - Community Ubuntu Documentation: "mpiu@ub0:~$ mpicc mpi_hello.c -o mpi_hello
and run it (the parameter next to -n specifies the number of processes to spawn and distribute among nodes):
mpiu@ub0:~$ mpiexec -n 8 -f machinefile ./mpi_hello"
'via Blog this'
and run it (the parameter next to -n specifies the number of processes to spawn and distribute among nodes):
mpiu@ub0:~$ mpiexec -n 8 -f machinefile ./mpi_hello"
'via Blog this'
MpichCluster - Community Ubuntu Documentation
MpichCluster - Community Ubuntu Documentation: "mpiu@ub0:~$ mpicc mpi_hello.c -o mpi_hello
and run it (the parameter next to -n specifies the number of processes to spawn and distribute among nodes):
mpiu@ub0:~$ mpiexec -n 8 -f machinefile ./mpi_hello"
'via Blog this'
and run it (the parameter next to -n specifies the number of processes to spawn and distribute among nodes):
mpiu@ub0:~$ mpiexec -n 8 -f machinefile ./mpi_hello"
'via Blog this'
Checkers QuickStart Guide | WestGrid
Checkers QuickStart Guide | WestGrid: "For information on compilers, parallel programming and debugging please see the checkers programming page"
'via Blog this'
'via Blog this'
Martin Krallinger collection of text mining and NLP in biology References
Martin Krallinger collection of text mining and NLP in biology References: "@Article{ Sarkar.Rindflesch:2002,
author = {Sarkar,I.N. and Rindflesch,T.C.},
title = {{Discovering protein similarity using natural language processing.}},
journal = {Proc AMIA Symp},
pages = {677--81},
year = {2002},
}
"
'via Blog this'
author = {Sarkar,I.N. and Rindflesch,T.C.},
title = {{Discovering protein similarity using natural language processing.}},
journal = {Proc AMIA Symp},
pages = {677--81},
year = {2002},
}
"
'via Blog this'
CiteSeerX — Experiencing SAX: a Novel Symbolic Representation of Time Series
CiteSeerX — Experiencing SAX: a Novel Symbolic Representation of Time Series: "Experiencing SAX: a Novel Symbolic Representation of Time Series (2007)"
'via Blog this'
'via Blog this'
Friday, December 21, 2012
Unavailable in your country
Unavailable in your country: "Sorry! Music on Google Play is not available in your country yet.
We're working to bring the content you love to more countries as quickly as possible.
Please check back again soon."
'via Blog this'
We're working to bring the content you love to more countries as quickly as possible.
Please check back again soon."
'via Blog this'
Thursday, December 20, 2012
Vampire Text Emoticons
Vampire Text Emoticons: "
Home : Emoticons : Vampire Upward Lick | Vampire Bat
Vampire
:-E Direction Horizontal (tilted 90° to the left)
Shortcut No
Rank ★ ★ ★ Common
Updated 2007
"
'via Blog this'
Home : Emoticons : Vampire Upward Lick | Vampire Bat
Vampire
:-E Direction Horizontal (tilted 90° to the left)
Shortcut No
Rank ★ ★ ★ Common
Updated 2007
"
'via Blog this'
An Interactive Guide To The Fourier Transform | BetterExplained
An Interactive Guide To The Fourier Transform | BetterExplained: "Filters must be independent. The banana filter needs to capture bananas, and nothing else. Adding more oranges should never affect the banana reading. (Realistically, ingredients like milk and water have an overlap. Work with me here.)
Filters must be complete. We won't get the real recipe if we leave out a filter ("There were mangoes too!"). Our collection of filters must catch every last drop.
Ingredients must be combine-able. Smoothies can be separated and re-combined without issue (A cookie? Not so much. Who wants crumbs?). The cycle inputs, when separated and combined, need to behave the same (linearly)."
'via Blog this'
Filters must be complete. We won't get the real recipe if we leave out a filter ("There were mangoes too!"). Our collection of filters must catch every last drop.
Ingredients must be combine-able. Smoothies can be separated and re-combined without issue (A cookie? Not so much. Who wants crumbs?). The cycle inputs, when separated and combined, need to behave the same (linearly)."
'via Blog this'
Understanding HDFS quotas and Hadoop fs and fsck tools @ Michael G. Noll
Understanding HDFS quotas and Hadoop fs and fsck tools @ Michael G. Noll: "hadoop fsck /path/to/directory
Total size: 16565944775310 B <=== see here
Total dirs: 3922
Total files: 418464
Total blocks (validated): 502705 (avg. block size 32953610 B)
Minimally replicated blocks: 502705 (100.0 %)
Over-replicated blocks: 0 (0.0 %)
Under-replicated blocks: 0 (0.0 %)
Mis-replicated blocks: 0 (0.0 %)
Default replication factor: 3
Average block replication: 3.0
Corrupt blocks: 0
Missing replicas: 0 (0.0 %)
Number of data-nodes: 18
Number of racks: 1
FSCK ended at Thu Oct 20 20:49:59 CET 2011 in 7516 milliseconds
The filesystem under path '/path/to/directory' is HEALTHY
$ hadoop fs -dus /path/to/directory
hdfs://master:54310/path/to/directory 16565944775310 <=== see here"
'via Blog this'
Total size: 16565944775310 B <=== see here
Total dirs: 3922
Total files: 418464
Total blocks (validated): 502705 (avg. block size 32953610 B)
Minimally replicated blocks: 502705 (100.0 %)
Over-replicated blocks: 0 (0.0 %)
Under-replicated blocks: 0 (0.0 %)
Mis-replicated blocks: 0 (0.0 %)
Default replication factor: 3
Average block replication: 3.0
Corrupt blocks: 0
Missing replicas: 0 (0.0 %)
Number of data-nodes: 18
Number of racks: 1
FSCK ended at Thu Oct 20 20:49:59 CET 2011 in 7516 milliseconds
The filesystem under path '/path/to/directory' is HEALTHY
$ hadoop fs -dus /path/to/directory
hdfs://master:54310/path/to/directory 16565944775310 <=== see here"
'via Blog this'
hadoop - HDFS free space available command - Stack Overflow
hadoop - HDFS free space available command - Stack Overflow: "You can try this:
hadoop dfsadmin -report"
'via Blog this'
hadoop dfsadmin -report"
'via Blog this'
Monday, December 17, 2012
Change a user's User ID on Mac OS X 10.6 / 10.7 — Inteller.net
Change a user's User ID on Mac OS X 10.6 / 10.7 — Inteller.net: "enable the root user on your Mac OS X"
'via Blog this'
'via Blog this'
Thursday, December 13, 2012
Wednesday, December 12, 2012
Google says one hour of video is now being uploaded to YouTube every second - Washington Post
Google says one hour of video is now being uploaded to YouTube every second - Washington Post: "The search giant’s figures show that one hour of video is now being uploaded to YouTube every second. That upload rate — equivalent to 60 hours of video per minute — represents an astonishing tenfold increase from its 2007 rate."
'via Blog this'
'via Blog this'
Machine Learning, etc: Log loss or hinge loss?
Machine Learning, etc: Log loss or hinge loss?: "Hinge loss is less sensitive to exact probabilities. In particular, minimizer of hinge loss over probability densities will be a function that returns returns 1 over the region where true p(y=1|x) is greater than 0.5, and 0 otherwise. If we are fitting functions of the form above, then once hinge-loss minimizer attains the minimum, adding extra degrees of freedom will never increase approximation error.
"
'via Blog this'
"
'via Blog this'
Christopher M. Bishop
Christopher M. Bishop: "This leading textbook provides a comprehensive introduction to the fields of pattern recognition and machine learning. It is aimed at advanced undergraduates or first-year PhD students, as well as researchers and practitioners. "
'via Blog this'
'via Blog this'
Pattern Recognition and Machine Learning (Information Science and Statistics): Christopher M. Bishop: 9780387310732: Amazon.com: Books
Pattern Recognition and Machine Learning (Information Science and Statistics): Christopher M. Bishop: 9780387310732: Amazon.com: Books: "This is the first textbook on pattern recognition to present the Bayesian viewpoint. The book presents approximate inference algorithms that permit fast approximate answers in situations where exact answers are not feasible."
'via Blog this'
'via Blog this'
The main
outcome of our analysis is that, for classification, the hinge loss appears
to be the loss of choice. Other things being equal, the hinge loss leads to
a convergence rate practically indistinguishable from the logistic loss rate
and much better than the square loss rate. Furthermore, if the hypothesis
space is sufficiently rich, the bounds obtained for the hinge loss are not
loosened by the thresholding stage.
'via Blog this'
Tuesday, December 11, 2012
CS6240: Parallel Data Processing in MapReduce
CS6240: Parallel Data Processing in MapReduce: "Pig; MapReduce design patterns Read the Pig paper. Read chapters 8 and 11 in the Tom White book."
'via Blog this'
'via Blog this'
How to process a million songs in 20 minutes « Music Machinery
How to process a million songs in 20 minutes « Music Machinery: "The recently released Million Song Dataset (MSD), a collaborative project between The Echo Nest and Columbia’s LabROSA is a fantastic resource for music researchers. It contains detailed acoustic and contextual data for a million songs. However, getting started with the dataset can be a bit daunting. First of all, the dataset is huge (around 300 gb) which is more than most people want to download. Second, it is such a big dataset that processing it in a traditional fashion, one track at a time, is going to take a long time. Even if you can process a track in 100 milliseconds, it is still going to take over a day to process all of the tracks in the dataset. Luckily there are some techniques such as Map/Reduce that make processing big data scalable over multiple CPUs. In this post I shall describe how we can use Amazon’s Elastic Map Reduce to easily process the million song dataset."
'via Blog this'
'via Blog this'
HiToRiGoTo: Font problems using Texmaker on Ubuntu 10.04
HiToRiGoTo: Font problems using Texmaker on Ubuntu 10.04: "Font problems using Texmaker on Ubuntu 10.04
I was trying to use Texmaker for an ACM paper, and it was constantly giving me errors like "Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not found."
The problem was solved by running $
sudo apt-get install texlive-fonts-recommended
"
sudo aptitude install texlive-fonts-recommended texlive-fonts-extra
I was trying to use Texmaker for an ACM paper, and it was constantly giving me errors like "Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not found."
The problem was solved by running $
sudo apt-get install texlive-fonts-recommended
"
sudo aptitude install texlive-fonts-recommended texlive-fonts-extra
Ruby Advent Calendar 2012 - Qiita
Ruby Advent Calendar 2012 - Qiita: "yoppi@github が投稿しました
メソッド内で生成されるインスタンスをstubしたいときにdouble rubyとrspec-mocksを使って書く Ruby
"
'via Blog this'
メソッド内で生成されるインスタンスをstubしたいときにdouble rubyとrspec-mocksを使って書く Ruby
"
'via Blog this'
24 ways: web design and development articles and tutorials for advent
24 ways: web design and development articles and tutorials for advent: "About 24 ways
24 ways is the advent calendar for web geeks. Each day throughout December we publish a daily dose of web design and development goodness to bring you all a little Christmas cheer."
'via Blog this'
24 ways is the advent calendar for web geeks. Each day throughout December we publish a daily dose of web design and development goodness to bring you all a little Christmas cheer."
'via Blog this'
Cerulean Blue - Pantone Wiki
Cerulean Blue - Pantone Wiki: "Pantone's Cerulean Blue 15-4020 was the 2000 Color of the Year.
This color represents the millennium because of the calming zen state of mind it induces. Blue is known to be a calming color.
"
'via Blog this'
This color represents the millennium because of the calming zen state of mind it induces. Blue is known to be a calming color.
"
'via Blog this'
fourteen years of pantone colors-of-the-year (tecznotes)
fourteen years of pantone colors-of-the-year (tecznotes): "2000: Cerulean Blue.
This color represents the millennium because of the calming zen state of mind it induces. Blue is known to be a calming color.
Leatrice Eiseman, executive director of the Pantone Color Institute®, said that looking at a blue sky brings a sense of peace and tranquility. “Surrounding yourself with Cerulean blue could bring on a certain peace because it reminds you of time spent outdoors, on a beach, near the water—associations with restful, peaceful, relaxing times. In addition, it makes the unknown a little less frightening because the sky, which is a presence in our lives every day, is a constant and is always there,” Eiseman said."
'via Blog this'
This color represents the millennium because of the calming zen state of mind it induces. Blue is known to be a calming color.
Leatrice Eiseman, executive director of the Pantone Color Institute®, said that looking at a blue sky brings a sense of peace and tranquility. “Surrounding yourself with Cerulean blue could bring on a certain peace because it reminds you of time spent outdoors, on a beach, near the water—associations with restful, peaceful, relaxing times. In addition, it makes the unknown a little less frightening because the sky, which is a presence in our lives every day, is a constant and is always there,” Eiseman said."
'via Blog this'
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'
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'
Monday, December 10, 2012
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'
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'
Sunday, December 09, 2012
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'
'via Blog this'
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'
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'
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'
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'
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'
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'
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'
"
'via Blog this'
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'
Usage: $HADOOP_HOME/bin/hadoop jar $HADOOP_HOME/mapred/contrib/streaming/hadoop-streaming.jar [options]"
'via Blog this'
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'
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'
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'
'via Blog this'
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'
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'
Friday, December 07, 2012
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'
'via Blog this'
Thursday, December 06, 2012
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'
acpi Shows information from the /proc or the /sys filesystem, such as
battery status or thermal information.
"
'via Blog this'
Wednesday, December 05, 2012
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'
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'
Snowpatch QuickStart Guide | WestGrid
Snowpatch QuickStart Guide | WestGrid: "Here is an example of a script to run an MPI program, pn, using 6 processors (3 nodes with 2 processors per node). If the script file is named pn.pbs, submit the job with qsub pn.pbs.
#!/bin/bash
#PBS -l procs=6
# Script for running MPI sample program pn on SnowPatch
cd $PBS_O_WORKDIR
echo "Current working directory is `pwd`"
echo "Running on hosts:"
cat $PBS_NODEFILE
echo "Starting run at: `date`"
mpiexec -n $PBS_NCPUS ./pn
echo "Job finished at: `date`"
"
'via Blog this'
#!/bin/bash
#PBS -l procs=6
# Script for running MPI sample program pn on SnowPatch
cd $PBS_O_WORKDIR
echo "Current working directory is `pwd`"
echo "Running on hosts:"
cat $PBS_NODEFILE
echo "Starting run at: `date`"
mpiexec -n $PBS_NCPUS ./pn
echo "Job finished at: `date`"
"
'via Blog this'
Salmon Run: Learning Mahout : Classification
Salmon Run: Learning Mahout : Classification: "The following code uses the AdaptiveLogisticRegression algorithm (which runs multiple SGD algorithms and automatically chooses the best one) to classify the 20 Newsgroups training set, then test the algorithm with the 20 Newsgroups test set. The code demonstrates the building of feature vectors for each document using multiple hashing encoders."
'via Blog this'
'via Blog this'
MpichCluster - Community Ubuntu Documentation
MpichCluster - Community Ubuntu Documentation: "You should now see output similar to this:
Hello from processor 0 of 8
Hello from processor 1 of 8
Hello from processor 2 of 8
Hello from processor 3 of 8
Hello from processor 4 of 8
Hello from processor 5 of 8
Hello from processor 6 of 8
Hello from processor 7 of 8"
'via Blog this'
Hello from processor 0 of 8
Hello from processor 1 of 8
Hello from processor 2 of 8
Hello from processor 3 of 8
Hello from processor 4 of 8
Hello from processor 5 of 8
Hello from processor 6 of 8
Hello from processor 7 of 8"
'via Blog this'
Tuesday, December 04, 2012
George Dyson - President's Distinguished Lecture - Honorary Doctor of Laws - University of Victoria
George Dyson - President's Distinguished Lecture - Honorary Doctor of Laws - University of Victoria: "Date: Tuesday, December 4, 2012 (7:00 pm)
Location: University Centre Farquhar Auditorium
Ticket Information: Free admission and everyone welcome. Tickets must be reserved in advance. For ticket inquiries call 250-721-8480 or visit auditorium.uvic.ca."
'via Blog this'
Location: University Centre Farquhar Auditorium
Ticket Information: Free admission and everyone welcome. Tickets must be reserved in advance. For ticket inquiries call 250-721-8480 or visit auditorium.uvic.ca."
'via Blog this'
Saturday, December 01, 2012
Seattle
Seattle: "Seattle makes the power of Cloud Computing available to everyone. It's free, community driven, open source, and provides access to computers worldwide.
Seattle operates on resources such as laptops, servers, and phones, which are donated by users and institutions. The global distribution of the Seattle network provides the ability to use it in application contexts that include cloud computing, peer-to-peer networking, ubiquitous/mobile computing, and distributed systems."
'via Blog this'
Seattle operates on resources such as laptops, servers, and phones, which are donated by users and institutions. The global distribution of the Seattle network provides the ability to use it in application contexts that include cloud computing, peer-to-peer networking, ubiquitous/mobile computing, and distributed systems."
'via Blog this'
RepyTutorial – Seattle
RepyTutorial – Seattle: "This guide provides an introduction to using the Repy sandbox environment. It describes what restrictions are placed upon the sandboxed code with examples. At the end of reading this document you should be able to write Repy programs, manage the restrictions on programs, and understand whether Repy is appropriate for a specific task or program.
It is assumed that you have a basic understanding of network programming such as socket, ports, IP addresses, and etc. Also, a basic understanding of HTML is useful but not required. Lastly, you need a basic understanding of the Python programming language. If not, you might want to first read through the Python tutorial at http://www.python.org/doc/ or the python tutorial in this site. You do not need to be a Python expert to use Repy, but as Repy is a subset of Python, being able to write a simple Python program is essential.
"
'via Blog this'
It is assumed that you have a basic understanding of network programming such as socket, ports, IP addresses, and etc. Also, a basic understanding of HTML is useful but not required. Lastly, you need a basic understanding of the Python programming language. If not, you might want to first read through the Python tutorial at http://www.python.org/doc/ or the python tutorial in this site. You do not need to be a Python expert to use Repy, but as Repy is a subset of Python, being able to write a simple Python program is essential.
"
'via Blog this'
Friday, November 30, 2012
Newton Institute Seminar : van Houwelingen, JC, 17/06/2008
Newton Institute Seminar : van Houwelingen, JC, 17/06/2008: "Global testing of association and/or predictability in regression problems with p>>n predictors"
'via Blog this'
'via Blog this'
Logistic
Logistic: "
In order to find the matrix B for which L is minimised, a Quasi-Newton Method is used to search for the optimized values of the m*(k-1) variables. Note that before we use the optimization procedure, we 'squeeze' the matrix B into a m*(k-1) vector. For details of the optimization procedure, please check weka.core.Optimization class.
Although original Logistic Regression does not deal with instance weights, we modify the algorithm a little bit to handle the instance weights.
For more information see:
le Cessie, S., van Houwelingen, J.C. (1992). Ridge Estimators in Logistic Regression. Applied Statistics. 41(1):191-201."
'via Blog this'
In order to find the matrix B for which L is minimised, a Quasi-Newton Method is used to search for the optimized values of the m*(k-1) variables. Note that before we use the optimization procedure, we 'squeeze' the matrix B into a m*(k-1) vector. For details of the optimization procedure, please check weka.core.Optimization class.
Although original Logistic Regression does not deal with instance weights, we modify the algorithm a little bit to handle the instance weights.
For more information see:
le Cessie, S., van Houwelingen, J.C. (1992). Ridge Estimators in Logistic Regression. Applied Statistics. 41(1):191-201."
'via Blog this'
Logistic Regression
Logistic Regression: "Logistic Regression (SGD)
Logistic regression is a model used for prediction of the probability of occurrence of an event. It makes use of several predictor variables that may be either numerical or categories.
Logistic regression is the standard industry workhorse that underlies many production fraud detection and advertising quality and targeting products. The Mahout implementation uses Stochastic Gradient Descent (SGD) to all large training sets to be used.
For a more detailed analysis of the approach, have a look at the thesis of Paul Komarek:
http://www.autonlab.org/autonweb/14709/version/4/part/5/data/komarek:lr_thesis.pdf?branch=main&language=en
See MAHOUT-228 for the main JIRA issue for SGD.
"
'via Blog this'
Logistic regression is a model used for prediction of the probability of occurrence of an event. It makes use of several predictor variables that may be either numerical or categories.
Logistic regression is the standard industry workhorse that underlies many production fraud detection and advertising quality and targeting products. The Mahout implementation uses Stochastic Gradient Descent (SGD) to all large training sets to be used.
For a more detailed analysis of the approach, have a look at the thesis of Paul Komarek:
http://www.autonlab.org/autonweb/14709/version/4/part/5/data/komarek:lr_thesis.pdf?branch=main&language=en
See MAHOUT-228 for the main JIRA issue for SGD.
"
'via Blog this'
Logistic
Logistic: "Class for building and using a multinomial logistic regression model with a ridge estimator.
There are some modifications, however, compared to the paper of leCessie and van Houwelingen(1992):
If there are k classes for n instances with m attributes, the parameter matrix B to be calculated will be an m*(k-1) matrix.
"
'via Blog this'
There are some modifications, however, compared to the paper of leCessie and van Houwelingen(1992):
If there are k classes for n instances with m attributes, the parameter matrix B to be calculated will be an m*(k-1) matrix.
"
'via Blog this'
WEKA - Convert from arff to csv from command line?
WEKA - Convert from arff to csv from command line?: " weka.core.converters.CSVSaver -i -o "
'via Blog this'
java -Xmx1500m -classpath /usr/share/java/weka.jar weka.core.converters.CSVSaver -i test.arff -o test.csv
'via Blog this'
java -Xmx1500m -classpath /usr/share/java/weka.jar weka.core.converters.CSVSaver -i test.arff -o test.csv
Getting Started
Getting Started: "/* local mode */
$ pig -x local ...
/* mapreduce mode */
$ pig ...
or
$ pig -x mapreduce ..."
'via Blog this'
$ pig -x local ...
/* mapreduce mode */
$ pig ...
or
$ pig -x mapreduce ..."
'via Blog this'
Thursday, November 29, 2012
Performing Data Science with HBase: Strata Conference + Hadoop World - O'Reilly Conferences, October 23 - 25, 2012, New York, NY
Performing Data Science with HBase: Strata Conference + Hadoop World - O'Reilly Conferences, October 23 - 25, 2012, New York, NY: "Regardless, large amounts of data – especially data about users intended for use in an online system such as an e-commerce site, gaming platform, or ad network – is stored in HBase, and data scientists must be able to perform investigative analysis on this information to better understand their business and improve these online processes. And the read/write model of HBase offers advantages over HDFS to the data scientist building complex analysis pipelines."
'via Blog this'
'via Blog this'
Software Engineer, Data Infrastructure Engineering | Facebook Careers
Software Engineer, Data Infrastructure Engineering | Facebook Careers: "Facebook is seeking a Software Engineer to join the Data team. The ideal candidate will dream about distributed systems for the parallel processing of massive quantities of data, be familiar with Hadoop/Pig/HBase and MapReduce/Sawzall/Bigtable, and frequently think to themselves, 'Yeah, that works for 500 MB of data; what about 500 TB?' This position is full-time and based in our New York office."
'via Blog this'
'via Blog this'
NetInfo Manager - Wikipedia, the free encyclopedia
NetInfo Manager - Wikipedia, the free encyclopedia: "Methods for editing users attributes on Mac OS X Leopard (user shell, uid, primary gid, home directory path)
command line: dscl (Panther, Tiger, Leopard)
System Preferences:Accounts Pane – unlock the accounts pane – right-click/control-click on a user account – pop-up menu "advanced" – this panel will let you edit user attributes.
Note: you may need to reboot after changing this sort of information, or run 'dscacheutil -flushcache' from the command line."
'via Blog this'
command line: dscl (Panther, Tiger, Leopard)
System Preferences:Accounts Pane – unlock the accounts pane – right-click/control-click on a user account – pop-up menu "advanced" – this panel will let you edit user attributes.
Note: you may need to reboot after changing this sort of information, or run 'dscacheutil -flushcache' from the command line."
'via Blog this'
Wednesday, November 28, 2012
Why is Mahout necessary? | LinkedIn
Why is Mahout necessary? | LinkedIn: "Vishwakarma S. • We can understand the value of Mahout by following these two approaches of machine learning. One approach would be to collect, clean, and then use all the data to learn a model using an algorithm in Mahout. This approach does not yield a good result because real data is always dirty ( noise, skewed, missing values, error, correlated, etc.). Generally, ML is a two step process : Data Preprocessing and Model Learning. "
'via Blog this'
'via Blog this'
Why is Mahout necessary? | LinkedIn
Why is Mahout necessary? | LinkedIn: "Raphael C. • The 'Mining Massive Data Sets' course at Stanford is also pretty good.
"
'via Blog this'
"
'via Blog this'
Jingle Bells - Wikipedia, the free encyclopedia
Jingle Bells - Wikipedia, the free encyclopedia: "Now the ground is white
Go it while you're young,
Take the girls tonight
and sing this sleighing song;"
'via Blog this'
Go it while you're young,
Take the girls tonight
and sing this sleighing song;"
'via Blog this'
How to record audio in Chrome with native HTML5 APIs
How to record audio in Chrome with native HTML5 APIs: "This happened right in the middle of our efforts to build the Dubjoy Editor, a browser-based, easy to use tool for translating (dubbing) online videos. Relying on Flash for audio recording was our first choice, but when confronted with this devastating issue, we started looking into other options. Using native HTML5 APIs seemed like a viable solution.
"
'via Blog this'
"
'via Blog this'
Map/Reduce Tutorial
Map/Reduce Tutorial: "Although the Hadoop framework is implemented in JavaTM, Map/Reduce applications need not be written in Java.
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.
Hadoop Pipes is a SWIG- compatible C++ API to implement Map/Reduce applications (non JNITM based)."
'via Blog this'
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.
Hadoop Pipes is a SWIG- compatible C++ API to implement Map/Reduce applications (non JNITM based)."
'via Blog this'
Writing An Hadoop MapReduce Program In Python @ Michael G. Noll
Writing An Hadoop MapReduce Program In Python @ Michael G. Noll: "Precisely, we compute the sum of a word’s occurrences, e.g. (“foo”, 4), only if by chance the same word (“foo”) appears multiple times in succession. In the majority of cases, however, we let the Hadoop group the (key, value) pairs between the Map and the Reduce step because Hadoop is more efficient in this regard than our simple Python scripts."
'via Blog this'
'via Blog this'
Tuesday, November 27, 2012
[SOLVED] xhost Remote X apps. Can't get localhost X to work - Ubuntu Forums
[SOLVED] xhost Remote X apps. Can't get localhost X to work - Ubuntu Forums: "Code:
sudo cp /etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc.orig
Code:
sudo cp /etc/kde4/kdm/kdmrc /etc/kde4/kdm/kdmrc.orig
Code:
sudo cp /etc/gdm/gdm.conf /etc/gdm/gdm.conf.orig
"
'via Blog this'
sudo cp /etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc.orig
Code:
sudo cp /etc/kde4/kdm/kdmrc /etc/kde4/kdm/kdmrc.orig
Code:
sudo cp /etc/gdm/gdm.conf /etc/gdm/gdm.conf.orig
"
'via Blog this'
Getting Started
Getting Started: "This example shows how to run Pig in local and mapreduce mode using the java command.
/* local mode */
$ java -cp pig.jar org.apache.pig.Main -x local ...
/* mapreduce mode */
$ java -cp pig.jar org.apache.pig.Main ...
or
$ java -cp pig.jar org.apache.pig.Main -x mapreduce ..."
'via Blog this'
/* local mode */
$ java -cp pig.jar org.apache.pig.Main -x local ...
/* mapreduce mode */
$ java -cp pig.jar org.apache.pig.Main ...
or
$ java -cp pig.jar org.apache.pig.Main -x mapreduce ..."
'via Blog this'
BuildingMahout
BuildingMahout: "Working With Maven in Eclipse
We've used Eclipse Galileo and m2eclipse 0.9 and the 'import maven projects' feature. Check out the mahout sources into your workspace directory, do a full build on the command-line and then fire up the import in Eclipse from File > Import > Maven Projects. Point it at the mahout root directory. You are then given the opportunity to choose which sub-modules to import. You don't need to import them all, only the projects you are interested in working with.
"
'via Blog this'
We've used Eclipse Galileo and m2eclipse 0.9 and the 'import maven projects' feature. Check out the mahout sources into your workspace directory, do a full build on the command-line and then fire up the import in Eclipse from File > Import > Maven Projects. Point it at the mahout root directory. You are then given the opportunity to choose which sub-modules to import. You don't need to import them all, only the projects you are interested in working with.
"
'via Blog this'
Trello - Wikipedia, the free encyclopedia
Trello - Wikipedia, the free encyclopedia: "Trello is a Web based project management application from Fog Creek Software that can also be synced in real time with a Smartphone app. It was released at a TechCrunch event by software developer Joel Spolsky.[1] Wired magazine named the application in September, 2011 as one of "The 7 Coolest Startups You Haven’t Heard of Yet".[2] Lifehacker said it "makes project collaboration simple and kind of enjoyable".[3] In July, 2012, the site surpassed 500,000 users.[4]"
'via Blog this'
'via Blog this'
SequenceFile - Hadoop Wiki
SequenceFile - Hadoop Wiki: "SequenceFile is a flat file consisting of binary key/value pairs. It is extensively used in MapReduce as input/output formats. It is also worth noting that, internally, the temporary outputs of maps are stored using SequenceFile.
The SequenceFile provides a Writer, Reader and Sorter classes for writing, reading and sorting respectively.
"
'via Blog this'
The SequenceFile provides a Writer, Reader and Sorter classes for writing, reading and sorting respectively.
"
'via Blog this'
File Format Integrations
File Format Integrations: "Importer 'bin/mahout' jobs
Run these with --help to see options
bin/mahout arff.vector
bin/mahout lucene.vector
bin/mahout seqdirectory
turns text files into sequence files, one file per key/value pair
bin/mahout SequenceFilesFromMailArchives
parses mailboxes and emits one text body per mail message
bin/mahout regexconverter
reads text lines and emits the regex output lines into SequenceFiles.
"
'via Blog this'
Run these with --help to see options
bin/mahout arff.vector
bin/mahout lucene.vector
bin/mahout seqdirectory
turns text files into sequence files, one file per key/value pair
bin/mahout SequenceFilesFromMailArchives
parses mailboxes and emits one text body per mail message
bin/mahout regexconverter
reads text lines and emits the regex output lines into SequenceFiles.
"
'via Blog this'
Hadoop Tutorial - YDN
Hadoop Tutorial - YDN: "Introduction
Hadoop is an open source implementation of the MapReduce platform and distributed file system, written in Java. This module explains the basics of how to begin using Hadoop to experiment and learn from the rest of this tutorial. It covers setting up the platform and connecting other tools to use it.
"
'via Blog this'
Hadoop is an open source implementation of the MapReduce platform and distributed file system, written in Java. This module explains the basics of how to begin using Hadoop to experiment and learn from the rest of this tutorial. It covers setting up the platform and connecting other tools to use it.
"
'via Blog this'
hadoop - Converting CSV to SequenceFile - Stack Overflow
hadoop - Converting CSV to SequenceFile - Stack Overflow: "seqdirectory command takes every file as a document, so in reality, you only have one document, hence you only get one vector. To make it work properly you would make each line of your CSV file a file itself, where the key of the document is the name of the file and the value are its content. Nonetheless, this is quite unpractical if your corpus is large as disk reading and writing can become painfully slow.
In practice you are better off following the links I share in this comment"
'via Blog this'
In practice you are better off following the links I share in this comment"
'via Blog this'
DailyJS: A JavaScript Blog
DailyJS: A JavaScript Blog: "When I originally wrote about prototypes in JS101: Prototypes a few people were confused that I didn’t mention the __proto__ property. One reason I didn’t mention it is I was sticking to standard ECMAScript for the most part, using the Annotated ECMAScript 5.1 site as a reference. It’s actually hard to talk about prototypes without referring to __proto__, though, because it serves a very specific and useful purpose."
'via Blog this'
'via Blog this'
Improving
Improving <canvas> performance – never underestimate copy and paste | Adventures (in code): "Still not good enough
It was an improvement, but I was still looking at around 12fps in Chrome- not bad, but not ideal. With the getImageData() parts optimised as best I could manage, I looked at the next big drain- the initial drawing of blurred data points. Problem #2: what can I do that is any simpler than drawing a circle? Surprise #2: I can just copy and paste the same circle over and over."
'via Blog this'
It was an improvement, but I was still looking at around 12fps in Chrome- not bad, but not ideal. With the getImageData() parts optimised as best I could manage, I looked at the next big drain- the initial drawing of blurred data points. Problem #2: what can I do that is any simpler than drawing a circle? Surprise #2: I can just copy and paste the same circle over and over."
'via Blog this'
Getting serious about SVG
Getting serious about SVG: "iD depends on SVG for drawing map features, displaying tiles, and a model upon which to build complex interactions.
In the process of building it, we’ve learned a lot about SVG’s performance equation - and it’s time to share some of this. A lot of this is taken from NOTES.md, a sort of developer-journal which has grown over the last few weeks."
'via Blog this'
In the process of building it, we’ve learned a lot about SVG’s performance equation - and it’s time to share some of this. A lot of this is taken from NOTES.md, a sort of developer-journal which has grown over the last few weeks."
'via Blog this'
Exclusive: Inside Google Spanner, the Largest Single Database on Earth | Wired Enterprise | Wired.com
Exclusive: Inside Google Spanner, the Largest Single Database on Earth | Wired Enterprise | Wired.com: "VC is Google shorthand for video conference. Looking up at the screen on his desk, Fikes could see Wilson Hsieh sitting inside a Google office in Manhattan, and Hsieh could see him. They also ran VC links to a Google office in Kirkland, Washington, near Seattle. Their engineering team spanned three offices in three different parts of the country, but everyone could still chat and brainstorm and troubleshoot without a moment’s delay, and this is how Google built Spanner."
'via Blog this'
'via Blog this'
Jank Busting for Better Rendering Performance - HTML5 Rocks
Jank Busting for Better Rendering Performance - HTML5 Rocks: "INTRODUCING V-SYNC
PC gamers might be familiar with this term, but it's uncommon on the web: what is v-sync?
Consider your phone's display: it refreshes on a regular interval, usually (but not always!) about 60 times a second. V-sync (or vertical synchronization) refers to the practice of generating new frames only between screen refreshes. You might think of this like a race condition between the process that writes data into the screen buffer and the operating system reading that data to put it on the display. We want the buffered frame contents to change in between these refreshes, not during them; otherwise the monitor will display half of one frame and half of another, leading to "tearing"."
'via Blog this'
PC gamers might be familiar with this term, but it's uncommon on the web: what is v-sync?
Consider your phone's display: it refreshes on a regular interval, usually (but not always!) about 60 times a second. V-sync (or vertical synchronization) refers to the practice of generating new frames only between screen refreshes. You might think of this like a race condition between the process that writes data into the screen buffer and the operating system reading that data to put it on the display. We want the buffered frame contents to change in between these refreshes, not during them; otherwise the monitor will display half of one frame and half of another, leading to "tearing"."
'via Blog this'
Monday, November 26, 2012
Large Scale Machine Learning and Other Animals: Mahout - SVD matrix factorization - formatting input matrix
Large Scale Machine Learning and Other Animals: Mahout - SVD matrix factorization - formatting input matrix: "Converting Input Format into Mahout's SVD Distributed Matrix Factorization Solver
Purpose
The code below, converts a matrix from csv format:
,,\n
Into Mahout's SVD solver format.
"
'via Blog this'
Purpose
The code below, converts a matrix from csv format:
,,\n
Into Mahout's SVD solver format.
"
'via Blog this'
Saturday, November 24, 2012
SSTable and Log Structured Storage: LevelDB - igvita.com
SSTable and Log Structured Storage: LevelDB - igvita.com: "If Protocol Buffers is the lingua franca of individual data record at Google, then the Sorted String Table (SSTable) is one of the most popular outputs for storing, processing, and exchanging datasets. As the name itself implies, an SSTable is a simple abstraction to efficiently store large numbers of key-value pairs while optimizing for high throughput, sequential read/write workloads."
'via Blog this'
'via Blog this'
SequenceFile (Apache Hadoop Main 2.0.2-alpha API)
SequenceFile (Apache Hadoop Main 2.0.2-alpha API): "SequenceFiles are flat files consisting of binary key/value pairs.
SequenceFile provides Writer, Reader and SequenceFile.Sorter classes for writing, reading and sorting respectively."
'via Blog this'
SequenceFile provides Writer, Reader and SequenceFile.Sorter classes for writing, reading and sorting respectively."
'via Blog this'
Hadoop Tutorial Series, Issue #1: Setting Up Your MapReduce Learning Playground | My Blog by Philippe Adjiman
Hadoop Tutorial Series, Issue #1: Setting Up Your MapReduce Learning Playground | My Blog by Philippe Adjiman: "export M2_HOME=/usr/local/apache-maven
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
Then from the same terminal go into the workspace directory (usually located at ~/workspace) and create a java project hierarchy using the following maven command (change the groupId and the artifactId as you like):
"
'via Blog this'
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
Then from the same terminal go into the workspace directory (usually located at ~/workspace) and create a java project hierarchy using the following maven command (change the groupId and the artifactId as you like):
"
'via Blog this'
Maven: Building a Self-Contained Hadoop Job | Matthias Friedrich's Blog
Maven: Building a Self-Contained Hadoop Job | Matthias Friedrich's Blog: "That’s it, we’re done. You can now build your job JAR:
mvn clean package
Your self-contained job JAR is the file in target ending with -job.jar. Run it using Hadoop’s jar sub-command:"
'via Blog this'
mvn clean package
Your self-contained job JAR is the file in target ending with -job.jar. Run it using Hadoop’s jar sub-command:"
'via Blog this'
Friday, November 23, 2012
Getting Started with Web Applications
Getting Started with Web Applications: "A web application is a dynamic extension of a web or application server. There are two types of web applications:
Presentation-oriented: A presentation-oriented web application generates interactive web pages containing various types of markup language (HTML, XML, and so on) and dynamic content in response to requests. Chapters 11 through 22 cover how to develop presentation-oriented web applications.
Service-oriented: A service-oriented web application implements the endpoint of a web service. Presentation-oriented applications are often clients of service-oriented web applications. Chapters 8 and 9 cover how to develop service-oriented web applications."
'via Blog this'
Presentation-oriented: A presentation-oriented web application generates interactive web pages containing various types of markup language (HTML, XML, and so on) and dynamic content in response to requests. Chapters 11 through 22 cover how to develop presentation-oriented web applications.
Service-oriented: A service-oriented web application implements the endpoint of a web service. Presentation-oriented applications are often clients of service-oriented web applications. Chapters 8 and 9 cover how to develop service-oriented web applications."
'via Blog this'
Why isn't Java used for modern web application development? - Programmers
Why isn't Java used for modern web application development? - Programmers: "Java absolutely is used for modern web application development. Particularly once you get to the slighly larger / more complex / scalable end of the web application spectrum.
If you are interested in modern, productive tools and frameworks take a look at:
The Play framework
Google Web Toolkit
Vaadin
Tapestry 5
But I think most truly modern web development on the JVM platform is likely to be done in one of the new JVM languages rather than using Java directly, with Java simply providing the backbone in terms of underlying libraries and back-end infrastructure. There is a lot of web development happening in Groovy (Grails), Scala (Lift), JRuby (JRuby on Rails) and Clojure (Noir, Ring/Enlive+lots of custom frameworks) to name but a few.
With all the innovation happening the new JVM language space, I personally suspect that Java will ultimately become the "assembler of server-side programming"."
'via Blog this'
If you are interested in modern, productive tools and frameworks take a look at:
The Play framework
Google Web Toolkit
Vaadin
Tapestry 5
But I think most truly modern web development on the JVM platform is likely to be done in one of the new JVM languages rather than using Java directly, with Java simply providing the backbone in terms of underlying libraries and back-end infrastructure. There is a lot of web development happening in Groovy (Grails), Scala (Lift), JRuby (JRuby on Rails) and Clojure (Noir, Ring/Enlive+lots of custom frameworks) to name but a few.
With all the innovation happening the new JVM language space, I personally suspect that Java will ultimately become the "assembler of server-side programming"."
'via Blog this'
Can anyone recommend a simple Java web-app framework? - Stack Overflow
Can anyone recommend a simple Java web-app framework? - Stack Overflow: "I'm trying to get started on what I'm hoping will be a relatively quick web application in Java, yet most of the frameworks I've tried (Apache Wicket, Liftweb) require so much set-up, configuration, and trying to wrap my head around Maven while getting the whole thing to play nice with Eclipse, that I spent the whole weekend just trying to get to the point where I write my first line of code!"
'via Blog this'
'via Blog this'
musicg - Lightweight Java API for audio analysing, Android compatible - Google Project Hosting
musicg - Lightweight Java API for audio analysing, Android compatible - Google Project Hosting: "musicg is a lightweight audio analysis library, written in Java, with the purpose of extracting both high level and low level audio features.
This API allows developers to extract audio features and operate audio data like reading, cutting and trimming easily from an inputstream. It also provides tools for digital signal processing, renders the wavform or spectrogram for research and development purpose.
The API is Android compatible."
'via Blog this'
This API allows developers to extract audio features and operate audio data like reading, cutting and trimming easily from an inputstream. It also provides tools for digital signal processing, renders the wavform or spectrogram for research and development purpose.
The API is Android compatible."
'via Blog this'
Java Audio Feature Extraction @ IFS, Vienna University of Technology
Java Audio Feature Extraction @ IFS, Vienna University of Technology: "The Java Audio Feature Extraction is developed and maintained at the Institute of Software Technology and Interactive System at the Vienna University of Technology, as a research prototype.
The Java Audio Feature Extraction is licensed under the Apache License, Version 2.0., and you are free to use the software for any kind of purpose that conforms with the license."
'via Blog this'
The Java Audio Feature Extraction is licensed under the Apache License, Version 2.0., and you are free to use the software for any kind of purpose that conforms with the license."
'via Blog this'
jMIR | Free Audio & Video software downloads at SourceForge.net
jMIR | Free Audio & Video software downloads at SourceForge.net: "jMIR is intended for use in music information retrieval research involving the study of music in both audio and symbolic formats. The jMIR suite includes software for performing feature extraction, applying data mining algorithms and managing metadata."
'via Blog this'
'via Blog this'
EC2 costs 4 times higher than running internal cluster
EC2 costs 4 times higher than running internal cluster: "The monthly bills however became more and more eye-popping ($70,000/month and growing), and some rough back of the envelope calculations led me to believe that what we were paying for storage and compute was excessive.
The long and the short of it is that Amazon’s EC2 service is 380% more expensive than running our own hardware. Of course EC2 can be provisioned on demand, but such a large multiple certainly makes having an internal cluster a key part of our ongoing Hadoop strategy. Read on for our story…
"
'via Blog this'
The long and the short of it is that Amazon’s EC2 service is 380% more expensive than running our own hardware. Of course EC2 can be provisioned on demand, but such a large multiple certainly makes having an internal cluster a key part of our ongoing Hadoop strategy. Read on for our story…
"
'via Blog this'
Thursday, November 22, 2012
A Few New Things Coming To JavaScript
A Few New Things Coming To JavaScript: "An export declaration declares that a local function or variable binding is visible externally to other modules. If familiar with the module pattern, think of this concept as being parallel to the idea of exposing functionality publicly."
'via Blog this'
'via Blog this'
Maven - Maven in 5 Minutes
Maven - Maven in 5 Minutes: "The pom.xml file is the core of a project's configuration in Maven. It is a single configuration file that contains the majority of information required to build a project in just the way you want. The POM is huge and can be daunting in its complexity, but it is not necessary to understand all of the intricacies just yet to use it effectively. This project's POM is:"
'via Blog this'
'via Blog this'
Wednesday, November 21, 2012
Installing Oracle Java7 JDK on Ubuntu 12.04 | digital nomad
Installing Oracle Java7 JDK on Ubuntu 12.04 | digital nomad: "Installing Oracle Java7 JDK on Ubuntu 12.04
Posted on May 15, 2012
If you really need Oracle Java (some applications seem to insist on it) on Ubuntu here is the procedure using a PPA.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
"
'via Blog this'
Posted on May 15, 2012
If you really need Oracle Java (some applications seem to insist on it) on Ubuntu here is the procedure using a PPA.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
"
'via Blog this'
File Format Integrations
File Format Integrations: "Importer 'bin/mahout' jobs
Run these with --help to see options
bin/mahout arff.vector
bin/mahout lucene.vector
bin/mahout seqdirectory
turns text files into sequence files, one file per key/value pair
bin/mahout SequenceFilesFromMailArchives
parses mailboxes and emits one text body per mail message
bin/mahout regexconverter
reads text lines and emits the regex output lines into SequenceFiles."
'via Blog this'
Run these with --help to see options
bin/mahout arff.vector
bin/mahout lucene.vector
bin/mahout seqdirectory
turns text files into sequence files, one file per key/value pair
bin/mahout SequenceFilesFromMailArchives
parses mailboxes and emits one text body per mail message
bin/mahout regexconverter
reads text lines and emits the regex output lines into SequenceFiles."
'via Blog this'
Tuesday, November 20, 2012
Hama - a Bulk Synchronous Parallel computing framework on top of Hadoop
Hama - a Bulk Synchronous Parallel computing framework on top of Hadoop: "Why Hama and BSP?
Today, many practical data processing applications require a more flexible programming abstraction model that is compatible to run on highly scalable and massive data systems (e.g., HDFS, HBase, etc). A message passing paradigm beyond Map-Reduce framework would increase its flexibility in its communication capability. Bulk Synchronous Parallel (BSP) model fills the bill appropriately. Some of its significant advantages over MapReduce and MPI are:
Supports message passing paradigm style of application development
Provides a flexible, simple, and easy-to-use small APIs
Enables to perform better than MPI for communication-intensive applications
Guarantees impossibility of deadlocks or collisions in the communication mechanisms"
'via Blog this'
Today, many practical data processing applications require a more flexible programming abstraction model that is compatible to run on highly scalable and massive data systems (e.g., HDFS, HBase, etc). A message passing paradigm beyond Map-Reduce framework would increase its flexibility in its communication capability. Bulk Synchronous Parallel (BSP) model fills the bill appropriately. Some of its significant advantages over MapReduce and MPI are:
Supports message passing paradigm style of application development
Provides a flexible, simple, and easy-to-use small APIs
Enables to perform better than MPI for communication-intensive applications
Guarantees impossibility of deadlocks or collisions in the communication mechanisms"
'via Blog this'
Creating Vectors from Weka's ARFF Format
Creating Vectors from Weka's ARFF Format: "ntroduction
Mahout now has capabilities for converting Weka's ARFF (2.1) format to Mahout's Vector format."
'via Blog this'
Mahout now has capabilities for converting Weka's ARFF (2.1) format to Mahout's Vector format."
'via Blog this'
Monday, November 19, 2012
Hadoop - Icbwiki
Hadoop - Icbwiki: "
Name Port Description
fs.default.name 9000 The port that the name node will listen to.
mapred.job.tracker 9001 The port that the MapReduce job tracker will listen to."
'via Blog this'
Name Port Description
fs.default.name 9000 The port that the name node will listen to.
mapred.job.tracker 9001 The port that the MapReduce job tracker will listen to."
'via Blog this'
Friday, November 09, 2012
MacBook (Early 2008 and Late 2008) - Technical Specifications
MacBook (Early 2008 and Late 2008) - Technical Specifications: "MacBook (Early 2008 and Late 2008) - Technical Specifications"
'via Blog this'
'via Blog this'
System requirements for OS X Mountain Lion
System requirements for OS X Mountain Lion: "OS X Mountain Lion system requirements
To install Mountain Lion, you need one of these Macs:
iMac (Mid 2007 or newer)
MacBook (Late 2008 Aluminum, or Early 2009 or newer)
MacBook Pro (Mid/Late 2007 or newer)
MacBook Air (Late 2008 or newer)
Mac mini (Early 2009 or newer)
Mac Pro (Early 2008 or newer)
Xserve (Early 2009)"
'via Blog this'
To install Mountain Lion, you need one of these Macs:
iMac (Mid 2007 or newer)
MacBook (Late 2008 Aluminum, or Early 2009 or newer)
MacBook Pro (Mid/Late 2007 or newer)
MacBook Air (Late 2008 or newer)
Mac mini (Early 2009 or newer)
Mac Pro (Early 2008 or newer)
Xserve (Early 2009)"
'via Blog this'
Introducing smap.js, a forward polyfill for ES6 Maps
Introducing smap.js, a forward polyfill for ES6 Maps: "Boris Smus makes an excellent suggestion for moving the web forward: forward polyfills. That’s exactly my intention with smap.js. I’m hoping you will think this is a great idea, and help discuss how ES6 Map should work or submit pull requests with your own ideas."
'via Blog this'
'via Blog this'
How Zara Grew Into the World’s Largest Fashion Retailer - NYTimes.com
How Zara Grew Into the World’s Largest Fashion Retailer - NYTimes.com: "“When we open a market, everyone asks, ‘How many stores will you open?’ ” he said. “Honestly, I didn’t know. It depends on the customer and how big the demand is. We must have the dialogue with the customers and learn from them. It’s not us saying you must have this. It’s you saying it.”"
'via Blog this'
'via Blog this'
Thursday, November 08, 2012
Tuesday, November 06, 2012
T-Complexity and T-Information Theory -- an Executive Summary
T-Complexity and T-Information Theory -- an Executive Summary: "T-Complexity and T-Information Theory -- an Executive Summary
Gunther, Ulrich
Identifier: http://hdl.handle.net/2292/3657
Issue Date: 2001-02
Reference: CDMTCS Research Reports CDMTCS-149 (2001)
Rights: The author(s)
Rights (URI): https://researchspace.auckland.ac.nz/docs/uoa-docs/rights.htm
Abstract:
This paper describes the derivation of the T-Complexity and T-Information
Theory from the decomposition of finite strings, based on the
duality of strings and variable-length T-Codes. It further outlines its similarity
to the string parsing algorithm by Lempel and Ziv. It is intended
as a summary of work published mainly by Titchener and Nicolescu.
Show full item record
"
'via Blog this'
Gunther, Ulrich
Identifier: http://hdl.handle.net/2292/3657
Issue Date: 2001-02
Reference: CDMTCS Research Reports CDMTCS-149 (2001)
Rights: The author(s)
Rights (URI): https://researchspace.auckland.ac.nz/docs/uoa-docs/rights.htm
Abstract:
This paper describes the derivation of the T-Complexity and T-Information
Theory from the decomposition of finite strings, based on the
duality of strings and variable-length T-Codes. It further outlines its similarity
to the string parsing algorithm by Lempel and Ziv. It is intended
as a summary of work published mainly by Titchener and Nicolescu.
Show full item record
"
'via Blog this'
Monday, November 05, 2012
The Setup / Rob Pike
The Setup / Rob Pike: "My dream setup, then, is a computing world where I don't have to carry at least three computers - laptop, tablet, phone, not even counting cameras and iPod and other oddments - around with me in order to function in the modern world. The world should provide me my computing environment and maintain it for me and make it available everywhere. If this were done right, my life would become much simpler and so could yours."
'via Blog this'
'via Blog this'
Writing Fast, Memory-Efficient JavaScript | Smashing Coding
Writing Fast, Memory-Efficient JavaScript | Smashing Coding: "JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications. As you develop, if you care about memory usage and performance, you should be aware of some of what’s going on in your user’s browser’s JavaScript engine behind the scenes."
'via Blog this'
'via Blog this'
Coding Horror: Software Developers and Asperger's Syndrome
Coding Horror: Software Developers and Asperger's Syndrome: "One provocative hypothesis that might account for the rise of spectrum disorders in technically adept communities like Silicon Valley, some geneticists speculate, is an increase in assortative mating. Superficially, assortative mating is the blond gentleman who prefers blondes; the hyperverbal intellectual who meets her soul mate in the therapist's waiting room. There are additional pressures and incentives for autistic people to find companionship - if they wish to do so - with someone who is also on the spectrum. Grandin writes, "Marriages work out best when two people with autism marry or when a person marries a handicapped or eccentric spouse.... They are attracted because their intellects work on a similar wavelength.""
'via Blog this'
'via Blog this'
Sunday, November 04, 2012
Saturday, November 03, 2012
Backbone.js for Django Developers | Blog | Django Development | Lincoln Loop
Backbone.js for Django Developers | Blog | Django Development | Lincoln Loop: "After a month or two of being submersed in Backbone, I’ve seen the light and am now relatively competent. When I got started I was completely lost. Here are some things that probably would have helped me back then. Whenever possible, I’ve linked to the source of the Backbone Todo example for code samples."
'via Blog this'
'via Blog this'
Getting Started with Tastypie — Tastypie 0.9.12-alpha documentation
Getting Started with Tastypie — Tastypie 0.9.12-alpha documentation: "# urls.py
from django.conf.urls.defaults import *
from myapp.api import EntryResource
entry_resource = EntryResource()
urlpatterns = patterns('',
# The normal jazz here...
(r'^blog/', include('myapp.urls')),
(r'^api/', include(entry_resource.urls)),
)"
'via Blog this'
from django.conf.urls.defaults import *
from myapp.api import EntryResource
entry_resource = EntryResource()
urlpatterns = patterns('',
# The normal jazz here...
(r'^blog/', include('myapp.urls')),
(r'^api/', include(entry_resource.urls)),
)"
'via Blog this'
PaulUithol/backbone-tastypie
PaulUithol/backbone-tastypie: "Backbone-tastypie
A small conversion layer to make backbone.js and django-tastypie work together happily.
"
'via Blog this'
A small conversion layer to make backbone.js and django-tastypie work together happily.
"
'via Blog this'
Friday, November 02, 2012
python - How do you serialize a model instance in Django? - Stack Overflow
python - How do you serialize a model instance in Django? - Stack Overflow: "You can easily use a list to wrap the required object and that's all what django serializers need to correctly serialize it, eg.:
from django.core import serializers
# assuming obj is a model instance
serialized_obj = serializers.serialize('json', [ obj, ])"
'via Blog this'
from django.core import serializers
# assuming obj is a model instance
serialized_obj = serializers.serialize('json', [ obj, ])"
'via Blog this'
Thursday, November 01, 2012
Dropbox-as-a-Database | The Opa Blog
Dropbox-as-a-Database | The Opa Blog: "We played with the concept a bit, and, in an era which is also the one of cloud storage with Dropbox, Box, Google Drive, Skydrive and the like, we wondered why applications and services shouldn't just use our cloud storage account to store our data. Why everything should be centralized? Why all applications and services behave like Mega and not like BitTorrent?
"
'via Blog this'
"
'via Blog this'
DOE flips switch on Titan, world’s newest fastest supercomputer | Ars Technica
DOE flips switch on Titan, world’s newest fastest supercomputer | Ars Technica: "The Department of Energy's Oak Ridge National Labs today powered up Titan, a new supercomputer with 299,008 CPU cores, 18,688 GPUs, and more than 700 terabytes of memory. Titan is capable of a peak speed of 27 quadrillion calculations per second (petaflops)—ten times the processing power of its predecessor at Oak Ridge—and will likely unseat DOE's Sequoia supercomputer (an IBM BlueGene/Q system at Lawrence Livermore National Laboratory) as the fastest in the world."
'via Blog this'
'via Blog this'
The Setup / Joey Hess
The Setup / Joey Hess: "This place is nicely remote, and off the grid, relying on solar power. I only get 50 amp-hours of juice on a sunny day, and often less than 15 amp-hours on a bad day. So the whole house runs on 12 volt DC power to avoid the overhead of an inverter; my laptop is powered through a succession of cheap vehicle power adapters, and my home server runs on 5 volt power provided by a USB adapter.
When power is low, I often hack in the evenings by lantern light."
'via Blog this'
When power is low, I often hack in the evenings by lantern light."
'via Blog this'
UbuntuTime - Community Ubuntu Documentation
UbuntuTime - Community Ubuntu Documentation: "Using the Command Line (terminal)
Using the command line, you can use dpkg-reconfigure tzdata.
Open a terminal window by going to Applications>Accessories>Terminal
dpkg-reconfigure tzdata
Follow the directions in the terminal."
'via Blog this'
Using the command line, you can use dpkg-reconfigure tzdata.
Open a terminal window by going to Applications>Accessories>Terminal
dpkg-reconfigure tzdata
Follow the directions in the terminal."
'via Blog this'
Standard score - Wikipedia, the free encyclopedia
Standard score - Wikipedia, the free encyclopedia: "The standard score of a raw score x is
where:
μ is the mean of the population;
σ is the standard deviation of the population."
where:
μ is the mean of the population;
σ is the standard deviation of the population."
Tuesday, October 30, 2012
Monday, October 29, 2012
"dfs.namenode.logging.level info The logging level for dfs namenode. Other values are "dir"(trac e namespace mutations), "block"(trace block under/over replications and block creations/deletions), or "all".
dfs.secondary.http.address 0.0.0.0:50090 The secondary namenode http server address and port. If the port is 0 then the server will start on a free port.
dfs.datanode.address 0.0.0.0:50010 The datanode server address and port for data transfer. If the port is 0 then the server will start on a free port.
dfs.datanode.http.address 0.0.0.0:50075 The datanode http server address and port. If the port is 0 then the server will start on a free port.
dfs.datanode.ipc.address 0.0.0.0:50020 The datanode ipc server address and port. If the port is 0 then the server will start on a free port."
'via Blog this'
dfs.secondary.http.address 0.0.0.0:50090 The secondary namenode http server address and port. If the port is 0 then the server will start on a free port.
dfs.datanode.address 0.0.0.0:50010 The datanode server address and port for data transfer. If the port is 0 then the server will start on a free port.
dfs.datanode.http.address 0.0.0.0:50075 The datanode http server address and port. If the port is 0 then the server will start on a free port.
dfs.datanode.ipc.address 0.0.0.0:50020 The datanode ipc server address and port. If the port is 0 then the server will start on a free port."
'via Blog this'
Hadoop Default Ports Quick Reference | Apache Hadoop for the Enterprise | Cloudera
Hadoop Default Ports Quick Reference | Apache Hadoop for the Enterprise | Cloudera: "Web UIs for the Common User
The default Hadoop ports are as follows:
Daemon Default Port Configuration Parameter
HDFS Namenode 50070 dfs.http.address
Datanodes 50075 dfs.datanode.http.address
Secondarynamenode 50090 dfs.secondary.http.address
Backup/Checkpoint node? 50105 dfs.backup.http.address
MR Jobracker 50030 mapred.job.tracker.http.address
Tasktrackers 50060 mapred.task.tracker.http.address"
'via Blog this'
The default Hadoop ports are as follows:
Daemon Default Port Configuration Parameter
HDFS Namenode 50070 dfs.http.address
Datanodes 50075 dfs.datanode.http.address
Secondarynamenode 50090 dfs.secondary.http.address
Backup/Checkpoint node? 50105 dfs.backup.http.address
MR Jobracker 50030 mapred.job.tracker.http.address
Tasktrackers 50060 mapred.task.tracker.http.address"
'via Blog this'
Subscribe to:
Posts (Atom)