Thursday, July 10, 2014

Get credited for TELUS spam text messages (SMS)

TELUS offers this service that if you forward your text messages to 7726 and add the word SPAM in the text body, they will credit you back. 

http://mobility.telus.com/search/?search_cat=Support&search_q=spam

In Android, to forward, just go to the text message, press and hold on the text message and voila, select "Forward" from the popup

Friday, July 4, 2014

reCAPTCHA AJAX API

https://developers.google.com/recaptcha/docs/display?hl=es-ES

Note if the widget is not showing up, it might be because the public key only works with the domain and sub-domains that it was generated from!

To verify, you will need to setup a controller on the server side to validate the challenge and response fields.

UBC Reading Group Mailing lists

https://www.cs.ubc.ca/~csgsa/pmwiki.php/Main/ReadingGroupListing

Monday, June 30, 2014

Data Analysis for Genomics

http://genomicsclass.github.io/book/

HarvardX: PH525x Data Analysis for Genomics

IEEE SPS / UBC ICICS Summer School on Signal Processing and Machine Learning for Big Data



PROGRAM
In natural language processing, latent Dirichlet allocation (LDA) is a generative model that allows sets of observations to be explained by unobserved groups that explain why some parts of the data are similar. For example, if observations are words collected into documents, it posits that each document is a mixture of a small number of topics and that each word's creation is attributable to one of the document's topics. LDA is an example of a topic model and was first presented as a graphical model for topic discovery by David Blei, Andrew Ng, and Michael Jordan in 2003.[1]

https://sites.google.com/site/s3pbigdata2014/program

IEEE SPS / UBC ICICS Summer School on Signal Processing and Machine Learning for Big Data

   


 
Tuesday
July 29
Wednesday
July 30
Thursday
July 31
Friday
August 1
 9:00-9:30Opening ceremony
  
 9:30-10:30
Konstantinos N. Plataniotis
University of Toronto
Angshul Majumdar
IIIT-Delhi
Ali Bashashti
BC Cancer Agency
Ozgur Yilmaz
University of British Columbia
 10:30-11:00Coffee breakCoffee breakCoffee breakCoffee break
 11:00-12:00
Vikram Krishnamurthy
University of British Columbia
Angshul Majumdar
IIIT-Delhi
Tom Levi
Plenty Of Fish
Michael Friedlander
University of British Columbia
 12:00-13:00LunchLunchSocial event with lunch
Rayan Saab
University of California, San Diego
 13:00-14:00
Georgios Giannakis
University of Minnesota
Martin McKeown
University of British Columbia
 
 14:00-14:30Coffee breakCoffee break  
 14:30-15:30
Georgios Giannakis
University of Minnesota
Li Deng
Microsoft Research
  


Monday, June 2, 2014

Java generics

http://docs.oracle.com/javase/tutorial/java/generics/types.html

The most commonly used type parameter names are:
  • E - Element (used extensively by the Java Collections Framework)
  • K - Key
  • N - Number
  • T - Type
  • V - Value
  • S,U,V etc. - 2nd, 3rd, 4th types
public interface Pair<K, V> {
    public K getKey();
    public V getValue();
}

public class OrderedPair<K, V> implements Pair<K, V> {

    private K key;
    private V value;

    public OrderedPair(K key, V value) {
 this.key = key;
 this.value = value;
    }

    public K getKey() { return key; }
    public V getValue() { return value; }
} 
 
public class Box<T> {

    private T t;          

    public void set(T t) {
        this.t = t;
    }

    public T get() {
        return t;
    }

    public <U extends Number> void inspect(U u){
        System.out.println("T: " + t.getClass().getName());
        System.out.println("U: " + u.getClass().getName());
    }

    public static void main(String[] args) {
        Box<Integer> integerBox = new Box<Integer>();
        integerBox.set(new Integer(10));
        integerBox.inspect("some text"); // error: this is still String!
    }
}
 
A type variable with multiple bounds is a subtype of all the types listed in the bound. If one of the bounds is a class, it must be specified first. For example:
Class A { /* ... */ }
interface B { /* ... */ }
interface C { /* ... */ }

class D <T extends A & B & C> { /* ... */ }
 
 

Wednesday, May 28, 2014

A draft map of the human proteome

http://www.nature.com/nature/journal/v509/n7502/full/nature13302.html

A draft map of the human proteome

Nature
 
509,
 
575–581
 
 
doi:10.1038/nature13302
Received
 
Accepted
 
Published online
 

Abstract

The availability of human genome sequence has transformed biomedical research over the past decade. However, an equivalent map for the human proteome with direct measurements of proteins and peptides does not exist yet. Here we present a draft map of the human proteome using high-resolution Fourier-transform mass spectrometry. In-depth proteomic profiling of 30 histologically normal human samples, including 17 adult tissues, 7 fetal tissues and 6 purified primary haematopoietic cells, resulted in identification of proteins encoded by 17,294 genes accounting for approximately 84% of the total annotated protein-coding genes in humans. A unique and comprehensive strategy for proteogenomic analysis enabled us to discover a number of novel protein-coding regions, which includes translated pseudogenes, non-coding RNAs and upstream open reading frames. This large human proteome catalogue (available as an interactive web-based resource at http://www.humanproteomemap.org) will complement available human genome and transcriptome data to accelerate biomedical research in health and disease.


Tuesday, May 6, 2014

SSH Tunnelling with Putty (Windows) and Foxy Proxy

SSH Tunnelling with Putty (Windows) and Foxy Proxy

Follow these steps to allow you to view internal web pages.
Open Putty and set:
  • host name: myhostname.com
  • host port: 22
  • Connection > SSH > Tunnels:
    • Pick a source port, say 9870
    • Click Dynamic
    • Click Add
  • Click OK to connect. Leave this session open.
Install Foxy Proxy in your web browser and set:
  • host or IP address: 127.0.0.1
  • port: 9870
  • Select SOCKS Proxy
  • Select SOCKS v5
  • Click Save
  • Enable this proxy
  • Point your browser to a valid URL

Thursday, May 1, 2014

Sublime Text Sublime Text is a sophisticated text editor for code, markup and prose. You'll love the slick user interface, extraordinary features and amazing performance.


Sublime Text
Sublime Text is a sophisticated text editor for code, markup and prose.
You'll love the slick user interface, extraordinary features and amazing performance.


http://www.sublimetext.com/