Monday, October 13, 2014

sness | Kettlebells and Cookies

sness | Kettlebells and Cookies: "What do you think – to sness or not to sness??"




Tuesday, August 19, 2014

elisp - REPL for Emacs Lisp - Stack Overflow

elisp - REPL for Emacs Lisp - Stack Overflow: "
13
down vote
accepted
Based on this question: REPL on console emacs, you can use M-x ielm (inferior emacs lisp mode)."



'via Blog this'

Friday, August 15, 2014

Find first set - Wikipedia, the free encyclopedia

Find first set - Wikipedia, the free encyclopedia: "In software, find first set (ffs) or find first one is a bit operation that, given an unsigned machine word, identifies the least significant index or position of the bits set to one in the word. "



'via Blog this'

2014 Music Lineups [Updates] | Burners.Me: Me, Burners and The Man

2014 Music Lineups [Updates] | Burners.Me: Me, Burners and The Man:



'via Blog this'

Wednesday, May 28, 2014

iphone - AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection? - Stack Overflow

iphone - AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection? - Stack Overflow: "Then I used third-party app to extract photoShutter.caf from Documents directory (DiskAid for Mac). Next step I opened photoShutter.caf in Audacity audio editor and applied inversion effect, it looks like this on high zoom:"




Tarjan's strongly connected components algorithm - Wikipedia, the free encyclopedia

Tarjan's strongly connected components algorithm - Wikipedia, the free encyclopedia: "The basic idea of the algorithm is this: a depth-first search begins from an arbitrary start node (and subsequent depth-first searches are conducted on any nodes that have not yet been found). As usual with depth-first search, the search visits every node of the graph exactly once, declining to revisit any node that has already been explored. Thus, the collection of search trees is a spanning forest of the graph. The strongly connected components will be recovered as certain subtrees of this forest. The roots of these subtrees are called the "roots" of the strongly connected components. Any node of a strongly connected component might serve as the root, if it happens to be the first node of the component that is discovered by the search."



'via Blog this'

Twenty Questions for Donald Knuth | | InformIT

Twenty Questions for Donald Knuth | | InformIT: "I know that my books still aren't terribly easy to fathom, even for geeks. But I could have made them much, much harder."



'via Blog this'

Monday, May 12, 2014

SpinFX: Persistence of Vision Poi and Phoenix LED Hoop by Lauren Shaw — Kickstarter

SpinFX: Persistence of Vision Poi and Phoenix LED Hoop by Lauren Shaw — Kickstarter: " Share 14 Tweet Embed
User customizable and reprogrammable LED flow toys. IR and Android wireless control. Create and add custom graphics, text and logos."



'via Blog this'

Phoenix Hoop - SpinFX LED Hoops

Phoenix Hoop - SpinFX LED Hoops:




NeoPixel Punk Collar - LED studs! - YouTube

NeoPixel Punk Collar - LED studs! - YouTube: ""



'via Blog this'
make -k Family && Family g++ Family.cpp -o Family Test Case #0...PASSED Test Case #1...PASSED Test Case #2...PASSED Test Case #3...PASSED Test Case #4...PASSED

Monday, May 05, 2014

setrlimit - Linux Command - Unix Command

setrlimit - Linux Command - Unix Command: "RLIMIT_CPU
CPU time limit in seconds. When the process reaches the soft limit, it is sent a SIGXCPU signal. "



'via Blog this'

Sunday, May 04, 2014

The Story of Sukhasiddhi | Khenpo Tsültrim Gyamtso Rinpoche | Teachings and Activities

The Story of Sukhasiddhi | Khenpo Tsültrim Gyamtso Rinpoche | Teachings and Activities: "o it
is on the basis of having a lot of suffering and difficulties that one is able to
practice the dharma very well. In order to meditate upon mahamudra, one
needs to have problems and difficulties. If one doesn't have problems, but is
just happy, one won't meditate and will just be distracted."



'via Blog this'

Saturday, April 26, 2014

swissmiss | Static Happiness

swissmiss | Static Happiness: "Static Happiness

“There is no such thing as static happiness. Happiness is a mixed thing, a thing compounded of sacrifices, and losses, and betrayals.”
- John Updike"



'via Blog this'

Monday, April 21, 2014

MC vs. StarDust - Quarterfinal Ro8 - WCS Europe 2014 Season 1 - StarCraft 2 - YouTube

MC vs. StarDust - Quarterfinal Ro8 - WCS Europe 2014 Season 1 - StarCraft 2 - YouTube: ""



'via Blog this'

HouseNumbers.cpp

I'm really digging algorithms lately!
*** 1.  Street Numbers ***

A computer programmer lives in a street with houses numbered consecutively
(from 1) down one side of the street. Every evening she walks her dog by


leaving her house and randomly turning left or right and walking to the
end of the street and back. One night she adds up the street numbers of
the houses she passes (excluding her own). The next time she walks the


other way she repeats this and finds, to her astonishment, that the two
sums are the same. Although this is determined in part by her house number
and in part by the number of houses in the street, she nevertheless feels


that this is a desirable property for her house to have and decides that
all her subsequent houses should exhibit it.

Write a program to find pairs of numbers that satisfy this condition.
To start your list the first two pairs are: (house number, last number):



         6         8
        35        49

- Your program must compute 10 of these pairs of numbers.
- Your program must run no longer than a few seconds.
- Please submit your source code and the results.
#include <iostream>

using namespace std;

class HouseNumbers {

public:
  void findHouseNumbers() {
        
    long currentNum = 5;
    long currentHigh = 6;
    long lowSum = 10;
    long highSum = 6;
    long numFound = 1;

    while (numFound < 11) {

      while (highSum < lowSum) {
        currentHigh++;
        highSum += currentHigh;
      }

      if (highSum == lowSum) {
        cout << "pair " << numFound << " found : currentNum=" << currentNum;
        cout << " currentHigh=" << currentHigh << " lowSum=" << lowSum;
        cout << " highSum=" << highSum << endl;
        numFound++;
      } else {
        highSum -= currentHigh;
        currentHigh--;
      }

      lowSum += currentNum;
      currentNum++;
      highSum -= currentNum;

    }
    return;
    
  }
};


int main() {
  HouseNumbers *h = new HouseNumbers();
  h->findHouseNumbers();
}

Saturday, April 19, 2014

Thursday, April 17, 2014

BABYMETAL - いいね!- Iine! (Full ver.) - YouTube

BABYMETAL - いいね!- Iine! (Full ver.) - YouTube: ""



'via Blog this'

BABYMETAL - ヘドバンギャー!!- Head Bangya!! (Full ver.) - YouTube

BABYMETAL - ヘドバンギャー!!- Head Bangya!! (Full ver.) - YouTube: ""





AWESOME!!!

We love the Saanich Observatory!: Starry Nights Again!

We love the Saanich Observatory!: Starry Nights Again!: "3. Star-Gazing Saturday Nights this Summer!
The RASC is planning seven star-gazing evening events this summer! This is still tentative, but I expect it will be confirmed very soon. The dates on hold are July 5, 12 and 19, August 2, 9 and 16 and September 6. The plan is for a free evening event, rain or shine, with tours of the Observatory and, hopefully, viewing from the Plaskett telescope. RASC volunteers will be on hand to share their knowledge and will have their own telescopes set-up for the public to use. Stay tuned for finalized plans!
"



'via Blog this'

setuid - Wikipedia, the free encyclopedia

setuid - Wikipedia, the free encyclopedia: "The setuid and setgid bits are normally set with the command chmod by setting the high-order octal digit to 4 (for setuid) or 2 (for setgid). "chmod 6711 file" will set both the setuid and setgid bits (2+4=6), make the file read/write/executable for the owner (7), and executable by the group (first 1) and others (second 1). When a user other than the owner executes the file, the process will run with user and group permissions set upon it by its owner. For example, if the file is owned by user root and group wheel, it will run as root:wheel no matter who executes the file."



'via Blog this'

Sunday, April 06, 2014

Backtracking Algorithms

Backtracking Algorithms: "Backtracking is a refinement of the brute force approach, which systematically searches for a solution to a problem among all available options. It does so by assuming that the solutions are represented by vectors (v1, ..., vm) of values and by traversing, in a depth first manner, the domains of the vectors until the solutions are found."



'via Blog this'

Sunday, March 23, 2014

Breakdown (music) - Wikipedia, the free encyclopedia

Breakdown (music) - Wikipedia, the free encyclopedia: "In music, a breakdown is a song where various instruments have solo parts (breaks). This may take the form where all instruments play the verse together, and then several or all instruments individually repeat the verse as solo parts."



'via Blog this'

Tuesday, March 11, 2014

How To Build a 400 Square Foot Solar Powered Off Grid Cabin for $2,000 |Higher Perspective

How To Build a 400 Square Foot Solar Powered Off Grid Cabin for $2,000 |Higher Perspective: "This cabin design has been tested in Canada, Mexico and Alaska with great results. Perfect for a starter home, hunting/fishing cabin, bug-out shelter or vacation cabin. The cabin can be built from all new materials for under $2000 (not including windows and doors) and is designed for additions on 3 sides.

"




Wednesday, February 26, 2014

Priophone on iOS on Vimeo

Priophone on iOS on Vimeo:



Priophone on iOS from Priologic Software on Vimeo.

Caravanserai - Wikipedia, the free encyclopedia

Caravanserai - Wikipedia, the free encyclopedia: "A caravanserai was a roadside inn where travelers could rest and recover from the day's journey. Caravanserais supported the flow of commerce, information, and people across the network of trade routes covering Asia, North Africa, and southeastern Europe, especially along the Silk Road."



'via Blog this'

Caravanserai - Wikipedia, the free encyclopedia

Caravanserai - Wikipedia, the free encyclopedia: "A caravanserai was a roadside inn where travelers could rest and recover from the day's journey. Caravanserais supported the flow of commerce, information, and people across the network of trade routes covering Asia, North Africa, and southeastern Europe, especially along the Silk Road."



'via Blog this'

Tuesday, February 25, 2014

Orchive

Orchive: "Learn about the Orchive and its goal of taking 20,000 hours of tape recordings of orca vocalizations and making them digital.
Explore and listen to our collection. Or have a quick listen to a sample orca vocalization and try out some of the tools we are developing.
Read about Orcalab and how they record the orcas moving through Johnstone Straight.
Meet the folks who make Orcalab and the Orchive a reality.
Citation : The Orchive : A system for semi-automatic annotation and analysis of a large collection of bioacoustic recordings"



'via Blog this'

rxvt-unicode — Richard Crowley’s blog

rxvt-unicode — Richard Crowley’s blog: "# Mac rxvt-unicode setup.
# http://rcrowley.org/articles/rxvt-unicode.html
 
# Install dependencies from MacPorts and CPAN.
sudo port install rxvt-unicode +xterm_colors_256
sudo port install terminus-font
sudo cpan install Mac::Pasteboard
 
# Run urxvt at X11 startup.
defaults write org.x.X11 app_to_run /opt/local/bin/urxvt
 
# Fix terminfo warnings.
sudo ln -s /opt/local/share/terminfo/72/rxvt-unicode /usr/share/terminfo/72/rxvt-unicode
 
# Append rcrowley's .Xdefaults to whatever's there.
wget -O - http://github.com/rcrowley/home/raw/master/.Xdefaults >>~/.Xdefaults"



'via Blog this'

rxvt-unicode — Richard Crowley’s blog

rxvt-unicode — Richard Crowley’s blog: "My minimally featured terminal emulator supports 256 colors, copy, paste, and scrollback with the two-finger scroll gesture. Terminal.app is out because it’s still stuck in the 16 color stone ages. iTerm is up to spec but has me rebooting more often than never due to the q, r, s, t issue. The xterm that comes with Apple’s X11 doesn’t appear to support 256 colors."



'via Blog this'

remy/nodemon

remy/nodemon: "For use during development of a node.js based application.

nodemon will watch the files in the directory that nodemon was started, and if they change, it will automatically restart your node application."




Sunday, February 16, 2014

Dope Matrix - Virtual Modular Synth for Ableton Live 9 - YouTube

Dope Matrix - Virtual Modular Synth for Ableton Live 9 - YouTube: ""



'via Blog this'

Artificial Intelligence - foundations of computational agents -- 11.3.3 Q-learning

Artificial Intelligence - foundations of computational agents -- 11.3.3 Q-learning:



'via Blog this'

Dug.js — A JSONP to HTML Script — Rog.ie

Dug.js — A JSONP to HTML Script — Rog.ie: "u want to display your Dribbble shots, recent pins on Pinterest, 500px or Instagram photos, Github commits, or recently listened to music on your blog or site? Then this chunk of javascript is for you. It was designed to be a lightweight, simple, library-independent script to pull in feeds of content available on the web as JSONP (there's lots of em!) to display on your site."



'via Blog this'

Friday, February 14, 2014

Cyclomatic complexity - Wikipedia, the free encyclopedia

Cyclomatic complexity - Wikipedia, the free encyclopedia: "Cyclomatic complexity (or conditional complexity) is a software metric (measurement). It was developed by Thomas J. McCabe, Sr. in 1976 and is used to indicate the complexity of a program. It is a quantitative measure of logical strength of the program. It directly measures the number of linearly independent paths through a program's source code. "



'via Blog this'

Wednesday, February 12, 2014

A Complete Guide to Flexbox | CSS-Tricks

A Complete Guide to Flexbox | CSS-Tricks: "The Flexbox Layout (Flexible Box) module (currently a W3C Candidate Recommandation) aims at providing a more efficient way to lay out, align and distribute space among items in a container, even when their size is unknown and/or dynamic (thus the word "flex").

"



'via Blog this'

Heap (data structure) - Wikipedia, the free encyclopedia

Heap (data structure) - Wikipedia, the free encyclopedia: "In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: If A is a parent node of B then the key of node A is ordered with respect to the key of node B with the same ordering applying across the heap."



'via Blog this'

Sunday, February 09, 2014

express3-handlebars

express3-handlebars: "var express = require('express'),
exphbs = require('express3-handlebars'),

app = express();

app.engine('handlebars', exphbs({defaultLayout: 'main'}));
app.set('view engine', 'handlebars');

app.get('/', function (req, res) {
res.render('home');
});

app.listen(3000);"



'via Blog this'

Thursday, February 06, 2014

Online Collaboration Software for Remote and Virtual Teams | Sqwiggle

Online Collaboration Software for Remote and Virtual Teams | Sqwiggle: "Your Office In The Cloud
Increase human collaboration with that tap on the shoulder experience - from anywhere."



'via Blog this'

Sunday, February 02, 2014

cURL Images with Ihmage

cURL Images with Ihmage: "curl ihmage.com/cat"



'via Blog this'

The Universe of Discourse : Why I like Java

The Universe of Discourse : Why I like Java: "Java is neither a good nor a bad language. It is a mediocre language, and there is no struggle. In Haskell or even in Perl you are always worrying about whether you are doing something in the cleanest and the best way. In Java, you can forget about doing it in the cleanest or the best way, because that is impossible. Whatever you do, however hard you try, the code will come out mediocre, verbose, redundant, and bloated, and the only thing you can do is relax and keep turning the crank until the necessary amount of code has come out of the spout. If it takes ten times as much code as it would to program in Haskell, that is all right, because the IDE will generate half of it for you, and you are still being paid to write the other half."



'via Blog this'

Fun Fly Stick - YouTube

Fun Fly Stick - YouTube: ""



'via Blog this'

Hatsune Miku - MELT [Live] 1080HD - YouTube

Hatsune Miku - MELT [Live] 1080HD - YouTube: ""



'via Blog this'

Vocaloid Hatsune Miku, the worlds virtual diva - YouTube

Vocaloid Hatsune Miku, the worlds virtual diva - YouTube: ""



'via Blog this'

Tuesday, January 14, 2014

Vectr - Open Source 3D Sensing Gesture Controller by Matt Heins — Kickstarter

Vectr - Open Source 3D Sensing Gesture Controller by Matt Heins — Kickstarter: "Vectr works by generating an electrical field and sensing changes in it causes by the proximity of your hand. Think of it as a smartphone screen with an added dimension of depth four to five inches from the surface. The system uses six electrodes to form the active sensing area. The sensing electrodes are part of the circuit board which lays just behind the piece of acrylic."

'via Blog this'

Ryo Fujimoto on Vimeo

Ryo Fujimoto on Vimeo:

'via Blog this'

[SOLVED] No package 'gtk+-2.0' found No package 'gnutls' found No package 'pygtk-2.0' found

[SOLVED] No package 'gtk+-2.0' found No package 'gnutls' found No package 'pygtk-2.0' found: "checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.10.0) were not met:

No package 'gtk+-2.0' found
libgtk2.0-dev fixed it"

'via Blog this'

Francis Prève: Free Prophet 12 Ableton Instruments

Francis Prève: Free Prophet 12 Ableton Instruments: "Dave Smith's Prophet 12 is one of the most buzzworthy keyboards of 2013. It's arguably the deepest analog-hybrid polysynth ever released - and since all of my previous packs have used single note samples, I decided to create a pack entirely from chord stabs.
"

'via Blog this'

Friday, January 10, 2014

▶ The Pi Episode: Math Bites with Danica McKellar - YouTube

▶ The Pi Episode: Math Bites with Danica McKellar - YouTube: ""

'via Blog this'

Bonnie McKee - Wikipedia, the free encyclopedia

Bonnie McKee - Wikipedia, the free encyclopedia: "Bonnie Leigh McKee (born January 20, 1984) is an American singer, songwriter, and actress. Her debut album Trouble was released in 2004.[1] McKee released the lead single from her currently untitled second studio album "American Girl" in July 2013.[2] Her second studio album is scheduled for release in Spring 2014."

'via Blog this'

Cirkut (record producer) - Wikipedia, the free encyclopedia

Cirkut (record producer) - Wikipedia, the free encyclopedia: "Henry Russell Walter, known professionally as Cirkut, is a Canadian music producer and songwriter. Described by The Hollywood Reporter as record producer Dr. Luke's "right-hand man and main production partner",[2] he has co-produced and co-written for Britney Spears, Ke$ha, Rihanna, Nicki Minaj, B.o.B, Lil Wayne and Taylor Swift, including the Billboard Hot 100 No. 1 singles, "Part of Me" and "Roar" by Katy Perry, and "Wrecking Ball" by Miley Cyrus."

'via Blog this'

Dr. Luke - Wikipedia, the free encyclopedia

Dr. Luke - Wikipedia, the free encyclopedia: "Lukasz Sebastian "Luke" Gottwald (born September 26, 1973),[2] better known as Dr. Luke, is an American songwriter, record producer, multi-instrumentalist, and remixer. Dr. Luke's professional music career began in the late night television sketch comedy Saturday Night Live as its house band's lead guitarist in 1997 and producing remixes for artists such as Bon Jovi and Gravediggaz. He came into music prominence in 2004 for producing Kelly Clarkson's single "Since U Been Gone" with Swedish record producer Max Martin."

'via Blog this'

Max Martin - Wikipedia, the free encyclopedia

Max Martin - Wikipedia, the free encyclopedia: "Karl Martin Sandberg[1] (born February 26, 1971), known professionally as Max Martin, is a Swedish music producer and songwriter. He rose to prominence in the mid-1990s after crafting a string of massive hits for artists such as Britney Spears, Backstreet Boys and 'N Sync. Some of his earlier hits include "Quit Playing Games (With My Heart)", "Everybody (Backstreet's Back)", "I Want It That Way", "...Baby One More Time", "Oops!... I Did It Again", and "It's My Life"."

'via Blog this'