|
C++ Actor Framework 0.18
|
Serializes an inspectable object to a JSON-formatted string. More...
#include <json_writer.hpp>
Public Types | |
| enum class | type : uint8_t { element , object , member , key , array , string , number , boolean , null } |
| Reflects the structure of JSON objects according to ECMA-404. More... | |
| using | super = serializer |
| Public Types inherited from caf::serializer | |
| using | super = save_inspector_base< serializer > |
Public Member Functions | |
| json_writer (actor_system &sys) | |
| json_writer (execution_unit *ctx) | |
| string_view | str () const noexcept |
| Returns a string view into the internal buffer. | |
| size_t | indentation () const noexcept |
| Returns the current indentation factor. | |
| void | indentation (size_t factor) noexcept |
| Sets the indentation level. | |
| bool | compact () const noexcept |
| Returns whether the writer generates compact JSON output without any spaces or newlines to separate values. | |
| bool | skip_empty_fields () const noexcept |
Returns whether the writer omits empty fields entirely (true) or renders empty fields as $field: null (false). | |
| void | skip_empty_fields (bool value) noexcept |
| Configures whether the writer omits empty fields. | |
| string_view | field_type_suffix () const noexcept |
| Returns the suffix for generating type annotation fields for variant fields. | |
| void | field_type_suffix (string_view suffix) noexcept |
| Configures whether the writer omits empty fields. | |
| void | reset () |
| Removes all characters from the buffer and restores the writer to its initial state. | |
| bool | begin_object (type_id_t type, string_view name) override |
| Begins processing of an object. | |
| bool | end_object () override |
| Ends processing of an object. | |
| bool | begin_field (string_view) override |
| bool | begin_field (string_view name, bool is_present) override |
| bool | begin_field (string_view name, span< const type_id_t > types, size_t index) override |
| bool | begin_field (string_view name, bool is_present, span< const type_id_t > types, size_t index) override |
| bool | end_field () override |
| bool | begin_tuple (size_t size) override |
| Begins processing of a tuple. | |
| bool | end_tuple () override |
| Ends processing of a tuple. | |
| bool | begin_key_value_pair () override |
| Begins processing of a tuple with two elements, whereas the first element represents the key in an associative array. | |
| bool | end_key_value_pair () override |
| Ends processing of a key-value pair after both values were written. | |
| bool | begin_sequence (size_t size) override |
| Begins processing of a sequence. Saves the size to the underlying storage. | |
| bool | end_sequence () override |
| Ends processing of a sequence. | |
| bool | begin_associative_array (size_t size) override |
| Begins processing of an associative array (map). | |
| bool | end_associative_array () override |
| Ends processing of an associative array (map). | |
| bool | value (byte x) override |
Adds x to the output. | |
| bool | value (bool x) override |
Adds x to the output. | |
| bool | value (int8_t x) override |
Adds x to the output. | |
| bool | value (uint8_t x) override |
Adds x to the output. | |
| bool | value (int16_t x) override |
Adds x to the output. | |
| bool | value (uint16_t x) override |
Adds x to the output. | |
| bool | value (int32_t x) override |
Adds x to the output. | |
| bool | value (uint32_t x) override |
Adds x to the output. | |
| bool | value (int64_t x) override |
Adds x to the output. | |
| bool | value (uint64_t x) override |
Adds x to the output. | |
| bool | value (float x) override |
Adds x to the output. | |
| bool | value (double x) override |
Adds x to the output. | |
| bool | value (long double x) override |
Adds x to the output. | |
| bool | value (string_view x) override |
Adds x to the output. | |
| bool | value (const std::u16string &x) override |
Adds x to the output. | |
| bool | value (const std::u32string &x) override |
Adds x to the output. | |
| bool | value (span< const byte > x) override |
Adds x as raw byte block to the output. | |
| Public Member Functions inherited from caf::serializer | |
| serializer (actor_system &sys) noexcept | |
| serializer (execution_unit *ctx=nullptr) noexcept | |
| auto | context () const noexcept |
| bool | has_human_readable_format () const noexcept |
| virtual bool | begin_object (type_id_t type, string_view name)=0 |
| Begins processing of an object. | |
| virtual bool | end_object ()=0 |
| Ends processing of an object. | |
| virtual bool | begin_field (string_view)=0 |
| virtual bool | begin_field (string_view name, bool is_present)=0 |
| virtual bool | begin_field (string_view name, span< const type_id_t > types, size_t index)=0 |
| virtual bool | begin_field (string_view name, bool is_present, span< const type_id_t > types, size_t index)=0 |
| virtual bool | end_field ()=0 |
| virtual bool | begin_tuple (size_t size)=0 |
| Begins processing of a tuple. | |
| virtual bool | end_tuple ()=0 |
| Ends processing of a tuple. | |
| virtual bool | begin_key_value_pair () |
| Begins processing of a tuple with two elements, whereas the first element represents the key in an associative array. | |
| virtual bool | end_key_value_pair () |
| Ends processing of a key-value pair after both values were written. | |
| virtual bool | begin_sequence (size_t size)=0 |
| Begins processing of a sequence. Saves the size to the underlying storage. | |
| virtual bool | end_sequence ()=0 |
| Ends processing of a sequence. | |
| virtual bool | begin_associative_array (size_t size) |
| Begins processing of an associative array (map). | |
| virtual bool | end_associative_array () |
| Ends processing of an associative array (map). | |
| virtual bool | value (byte x)=0 |
Adds x to the output. | |
| virtual bool | value (bool x)=0 |
Adds x to the output. | |
| virtual bool | value (int8_t x)=0 |
Adds x to the output. | |
| virtual bool | value (uint8_t x)=0 |
Adds x to the output. | |
| virtual bool | value (int16_t x)=0 |
Adds x to the output. | |
| virtual bool | value (uint16_t x)=0 |
Adds x to the output. | |
| virtual bool | value (int32_t x)=0 |
Adds x to the output. | |
| virtual bool | value (uint32_t x)=0 |
Adds x to the output. | |
| virtual bool | value (int64_t x)=0 |
Adds x to the output. | |
| virtual bool | value (uint64_t x)=0 |
Adds x to the output. | |
| template<class T > | |
| std::enable_if_t< std::is_integral< T >::value, bool > | value (T x) |
Adds x to the output. | |
| virtual bool | value (float x)=0 |
Adds x to the output. | |
| virtual bool | value (double x)=0 |
Adds x to the output. | |
| virtual bool | value (long double x)=0 |
Adds x to the output. | |
| virtual bool | value (string_view x)=0 |
Adds x to the output. | |
| virtual bool | value (const std::u16string &x)=0 |
Adds x to the output. | |
| virtual bool | value (const std::u32string &x)=0 |
Adds x to the output. | |
| virtual bool | value (span< const byte > x)=0 |
Adds x as raw byte block to the output. | |
| virtual bool | list (const std::vector< bool > &xs) |
Adds each boolean in xs to the output. | |
Static Public Attributes | |
| static constexpr bool | skip_empty_fields_default = true |
The default value for skip_empty_fields() . | |
| static constexpr string_view | field_type_suffix_default = "-type" |
The value value for field_type_suffix() . | |
Additional Inherited Members | |
| Protected Attributes inherited from caf::serializer | |
| execution_unit * | context_ |
| Provides access to the ::proxy_registry and to the ::actor_system. | |
| bool | has_human_readable_format_ = false |
| Configures whether client code should assume human-readable output. | |
Serializes an inspectable object to a JSON-formatted string.
|
strong |
Reflects the structure of JSON objects according to ECMA-404.
This enum skips types such as members
or value
since they are not needed to generate JSON.
|
overridevirtual |
Begins processing of an associative array (map).
begin_sequence(size)
. Reimplemented from caf::serializer.
|
overridevirtual |
Implements caf::serializer.
|
overridevirtual |
Implements caf::serializer.
|
overridevirtual |
Implements caf::serializer.
|
overridevirtual |
Implements caf::serializer.
|
overridevirtual |
Begins processing of a tuple with two elements, whereas the first element represents the key in an associative array.
begin_tuple(2)
. Reimplemented from caf::serializer.
|
overridevirtual |
Begins processing of an object.
May save the type information to the underlying storage to allow a deserializer to retrieve and check the type information for data formats that provide deserialization.
Implements caf::serializer.
|
overridevirtual |
Begins processing of a sequence. Saves the size to the underlying storage.
Implements caf::serializer.
|
overridevirtual |
Begins processing of a tuple.
Implements caf::serializer.
|
overridevirtual |
Ends processing of an associative array (map).
end_sequence()
. Reimplemented from caf::serializer.
|
overridevirtual |
Implements caf::serializer.
|
overridevirtual |
Ends processing of a key-value pair after both values were written.
end_tuple()
. Reimplemented from caf::serializer.
|
overridevirtual |
Ends processing of an object.
Implements caf::serializer.
|
overridevirtual |
Ends processing of a sequence.
Implements caf::serializer.
|
overridevirtual |
Ends processing of a tuple.
Implements caf::serializer.
|
noexcept |
Returns the suffix for generating type annotation fields for variant fields.
For example, CAF inserts field called "@foo${field_type_suffix}" for a variant field called "foo".
|
noexcept |
Sets the indentation level.
| factor | The number of spaces to add to each level of indentation. A value of 0 (the default) disables indentation, printing the entire JSON output into a single line. |
| void caf::json_writer::reset | ( | ) |
Removes all characters from the buffer and restores the writer to its initial state.
|
noexcept |
Returns a string view into the internal buffer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
Adds x
as raw byte block to the output.
| x | The byte sequence. |
sec::success
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.
|
overridevirtual |
Adds x
to the output.
| x | A value for a builtin type. |
true
on success, false
otherwise. Implements caf::serializer.


--- layout: post title: Python's Virtualenv working with Jenkins date: 2017-03-30 17:01:59.000000000 +02:00 type: post parent_id: '0' published: true password: '' status: publish tags: - Continuous Integration - JenkinsCI - Python meta: publicize_google_plus_url: https://plus.google.com/+MphoMphego/posts/8wussTSgsKZ _rest_api_published: '1' _rest_api_client_id: "-1" _publicize_job_id: '3446133693' publicize_linkedin_url: https://www.linkedin.com/updates?discuss=&scope=97183493&stype=M&topic=6253229644292722688&type=U&a=CEFx _publicize_done_16016023: '1' _wpas_done_15845576: '1' _publicize_failed_16257270: O:13:"Keyring_Error":2:{s:6:"errors";a:1:{s:21:"keyring-request-error";a:1:{i:0;a:6:{s:7:"headers";O:42:"Requests_Utility_CaseInsensitiveDictionary":1:{s:7:" _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:16076855;s:56:"https://twitter.com/MphoMphego/status/847463956964933632";}} _publicize_done_16257272: '1' _wpas_done_16076855: '1' publicize_twitter_user: MphoMphego _publicize_done_16966120: '1' _wpas_done_16750486: '1' author: login: mpho112 email<EMAIL_ADDRESS>display_name: Mpho first_name: '' last_name: '' ---
If you use virtualenv to isolate your python project's environment, and want your code tested automatically -- read on, else ignore.
virtualenv isolates your project's python environment
virtualenv makes sure you lock down your project's main directory and all subdirectories of it. This 'lockdown' means that you never touches your global python binary, or any globally installed libraries (like "sudo pip install ipython" ).
Once locked down, you install all packages again, even those you have globally installed. This enables you to have one version of flask globally installed, but another version in your project. All dependencies can be listed in a separate file and validate a precise environment for you to work with. Tightly controlled dependencies is key to a deployment without surprises.
Jenkins checks the health of your project for each change
Jenkins is a CI server which means it does a lot of repeating stuff so you can focus on doing more important stuff. More specifically, it listens for changes to your project's version control system (like git).
When changes are detected, the project is built and the test suite is executed. If any step fails, the CI server tells you that it did.
Setup Jenkins, and make it use virtualenv
Jenkins needs some massaging before it handles the hijacked environment of virtualenv. This is how I did it for my local git repository:
http://localhost:8080
# Setup a proper path, I call my virtualenv dir "venv" and
# I've got the virtualenv command installed in /usr/local/bin
PATH=$WORKSPACE/venv/bin:/usr/local/bin:$PATH
if [ ! -d "venv" ]; then
virtualenv venv
fi
. venv/bin/activate
pip install -r requirements.txt --download-cache=/tmp/$JOB_NAME
and
$ source venv/bin/activate
$ which python
# reply should be
# /home/user/.virtualenv/bin/python


All samples are using Ink.requireModules
, please read how to use it at Ink.requireModules section
| Function name | Description |
|---|---|
| .run([win], fn) | Specify a function to execute when the DOM is fully loaded. |
Specify a function to execute when the DOM is fully loaded.
win
windowWindow object to attach/add the eventfn
Callback function to be executed after the DOM is ready


About 70% of Venice Is Underwater Once Again - Flood Damage Is Estimated at about 1 Billion
About 70% of Venice is underwater once again. The water level has reached 150 cm above sea level, Mayor Luigi Brugnaro said, DPA and BTA reported.
The city's lowest point, San Marco Square, was flooded and closed to tourists. The UNESCO-protected city lagoon was flooded for the third time in less than a week.
On Tuesday, Venice suffered the worst floods in more than 50 years, when the water reached 187 cm. A new flood hit parts of the city Friday, visited by tourists from all over the world for its canals, historic architecture and art.
According to Brugnaro, who has appointed a special commissioner to handle the emergency, flood damage is estimated at about 1 billion euros, Reuters reported.
In most of Italy there are storms, high winds and heavy snowfall. Authorities in Florence and Pisa are closely watching the Arno River, whose waters rose quickly last night. Italy's longest river, the Po, is also being monitored after rising 1.5 meters in the last 24 hours.


Patterns Web-Scraping
cielocean/book_evaluate.py
"""
Evaluate the change in sentiment of each chapter of the book
"""
from pattern.en import*
import re
import matplotlib.pyplot as plt
emma = open('emma.txt','r')
sns = open('sense_and_sensibility.txt','r')
ot = open('oliver_twist.txt','r')
je = open('jane_eyre.txt','r')
Take a look at using with blocks. They do file opening cleaner by closing the file automatically once it leaves the scope of the with block.
def format_text(text):
"""
input text file with type file
return list of chapters of list of sentences
"""
def file2str(file):
"""
input text file with type file
convert text file to str
return text file with type str
"""
strfile=file.read()
return strfile
Usually, you do not declare functions inside other functions unless the functions are different (based on an argument of its parent function) everytime. Otherwise, it's best to leave them outside, so you don't have to remake the function everytime you run its parent function.
#def lowercase(text):
# return text.lower()
def split_chapter(text):
return text.split('CHAPTER')
def get_sentences(text):
"""
input a text file in str
convert text (str) to list
return list of sentences (str)
"""
return re.split(r'\s*[!?.]\s*',text)
def rm_n(L):
"""
input list of sentences
remove \n from sentences in a list
return list of sentences without \n
"""
newL=[]
for string in L:
newL.append(string.replace('\n',' ').replace('\r',' '))
return newL
formatted_text=[]
#for chapter in split_chapter(lowercase(file2str(text))):
# formatted_text.append(rm_n(get_sentences(chapter)))
Bleh. Unused commented out code :(
for chapter in split_chapter(file2str(text)):
formatted_text.append(rm_n(get_sentences(chapter)))
return formatted_text
def sentiment_lvls(L):
"""
Input list of sentences
Return list of sentiment levels
"""
def sentiment_lvl_1(sentence):
"""
input 1 sentence (str)
evaluate sentiment level
return (positive sentiment polarity, subjectivity of sentence) of the sentence
"""
return sentiment(sentence)
L_sentiment=[]
L_sentiment_chp=[]
for chapter in L:
for sentence in chapter:
L_sentiment_chp.append(sentiment_lvl_1(sentence))
L_sentiment.append(L_sentiment_chp)
return L_sentiment
def filter(L):
"""
remove list element with subjectivity of sentence=0
return new list
"""
Maybe consider not adding the sentiment to begin with instead of filtering after the fact.
L_sentiment=[]
L_sentiment_chp=[]
for chp in L:
for sentimentlvl in chp:
if sentimentlvl[1]!=0:
L_sentiment_chp.append(sentimentlvl[0])
avg_sentiment=float(sum(L_sentiment_chp))/len(L_sentiment_chp) #average sentiment value for each chapter
L_sentiment.append(avg_sentiment)
return L_sentiment #List
def plot(L):
"""
input list of values
plot graph values
"""
x=filter(L)
plt.xlabel('Chapter')
plt.ylabel('Sentiment Level')
plt.plot(list(range(len(x))),x)
plt.show()
plot(sentiment_lvls(format_text(emma)))
It's good practice to run script in if __name__ == "__main__": blocks


 After adding a couple of methods for this, that and the other – perhaps a User
with authorization, password reset and serialization – the model can be quite fat indeed.
There are many conceivable ways of making fat models more manageable. Something very simple I’ve been trying lately is to just group code in blocks, and fold them in TextMate as needed. The simplest way is to just use begin
/end
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
I prefer self-documenting code to comments, though. You can fake it by doing
1 2 3 |
|
The :authentication
symbol isn’t actually a method argument – this is equivalent to
1 2 3 4 |
|
so I suppose whether it can be described as more self-documenting than comments is debatable.
:foo.code do
Anyway, I do this instead:
As lib/ar_groups.rb
:
1 2 3 4 5 |
|
Added to config/environment.rb
:
1
|
|
And then you can do:
1 2 3 4 5 6 7 8 9 10 11 |
|
category :foo do
If abusing symbols bothers you, try something like
1 2 3 4 5 6 7 8 |
|
and
1 2 3 4 5 6 7 8 9 10 11 |
|
Highlighting
To make things more manageable still, TextMate can be made to highlight these blocks. Merge this rule into the Ruby grammar (with thanks to Ciarán Walsh):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
and theme source.ruby meta.code-cat
to taste. Et voilà:
Adapting the grammar for other kinds of blocks should be pretty straightforward.


{% extends "slideshowEditor.html" %}
{% block widgetVars %}
{% set widgetClass = 'apos-files-editor apos-slideshow-editor' %}
{% endblock %}
{% block title %}
Edit File(s)
{% endblock %}
{% block instructions %}
Choose PDF, Office, .txt or .rtf files. Drag them into the order you prefer.
You can also drag files from your computer into the dashed area below.
{% endblock %}
{% block itemBox %}


Item Shop Prices
A list of all items at the item shops, excluding tools and weapons.
Item
Icon
Buy Price


The Clothes Line
A modern, online retail experience for hip young urbanites.
Jeans
Shirts
Dresses
Compare Products
View Sales
About Us
Contact Us
Log In
Compare Prices
Jeans
Dresses
Shirts
Select Chart Height
300px
600px
900px
Select Chart Colour
Use the Chart Tool to Compare Prices


---
layout: post
status: publish
published: true
title: "兄弟，为你难过。"
author: Leask
author_login: leask
author_email<EMAIL_ADDRESS>author_url: https://leaskh.com
wordpress_id: 140
wordpress_url: http://leaskh.wordpress.com/2009/05/25/%e5%85%84%e5%bc%9f%ef%bc%8c%e4%b8%ba%e4%bd%a0%e9%9a%be%e8%bf%87%e3%80%82
date: '2009-05-25 06:14:19 +0800'
date_gmt: '2009-05-25 06:14:19 +0800'
categories:
tags: []
comments: []
---
Lost Without You
-- Darren Hayes
-- Aria Awards 2003
I know I can be a little stubborn sometimes
I must say, a little righteous and too proud
I just want to find a way to compromise
'Cause I believe that we can work things out
I thought I had all the answers
Never giving in
But baby I was wrong
I admit that I was wrong
All I know is I'm lost without you
I'm not gonna lie
How am I gonna be strong without you
I need you by my side
And if we ever said we'll never be together
and we ended it with goodbye
I don't know what I'd do
You know I've been lost without you
I keep trying to find my way
but all I know is
Im lost without you
I keep trying to face the day
I'm lost without you
How am I ever gonna get rid of these blues?


Advanced learner loan
Advanced learner loan facility
| Baseline | £260,710 | |
| 2018 to 2019 allocation | £441,116 | |
| August 2018 to March 2019 | £278,653 | |
| April 2019 to July 2019 | £162,463 | |
| 2017 to 2018 allocation | £441,116 | Total 2017 to 2018 facility |
Advanced learner loan bursary
| Baseline | £123,970 | |
| 2018 to 2019 allocation | £127,689 | |
| August 2018 to March 2019 | £80,661 | |
| April 2019 to July 2019 | £47,028 | |
| 2017 to 2018 allocation | £110,012 | Total 2017 to 2018 bursary |
| £568,805 | Total loans available |


de.polygonal.ds.HashMap
- type
- class
- implements
- Collection<K>
A hash map. Each key can only map one value.
Constructor
- parameters
weak
If true, weak keys are used - a key/value pair is lost when no other object besides this hash map holds a reference to the key. Default is false.
Instance Methods
- returns
- True if the key was removed.
- returns
- True if val was mapped to key, otherwise false.
- returns
- The output array or a new array if output was not specified.
- returns
- The output vector or a new vector if output was not specified.
- returns
- The output array or a new array if output was not specified.
- returns
- The output vector or a new vector if output was not specified.


Akan Names have their roots from Ghanian Culture. Generate your name by entering your birth details above.
Akan Names are given on the basis of gender, date, month and year in which a person was born.
In the Ghanian Tradition, the day of the week in which a child was born automatically generates their first name.


Email<EMAIL_ADDRESS>Tel: (+230)6478961
Fax: (+230)6478962
8am-7pm
8am-8pm
8am-5pm
Address: Comlone Road, Nouvelle France


 We refactored them to here because they aren’t really useful on their own, and they take up brainspace by being in the AudioSegment class.
algorithms.filters module¶
Convenience functions for using Numpy/Scipy filters in the audio domain.
-
algorithms.filters.
bandpass_filter
(data, low, high, fs, order=5)[source]¶ Does a bandpass filter over the given data.
- Parameters
data – The data (numpy array) to be filtered.
low – The low cutoff in Hz.
high – The high cutoff in Hz.
fs – The sample rate (in Hz) of the data.
order – The order of the filter. The higher the order, the tighter the roll-off.
- Returns
Filtered data (numpy array).
-
algorithms.filters.
lowpass_filter
(data, cutoff, fs, order=5)[source]¶ Does a lowpass filter over the given data.
- Parameters
data – The data (numpy array) to be filtered.
cutoff – The high cutoff in Hz.
fs – The sample rate in Hz of the data.
order – The order of the filter. The higher the order, the tighter the roll-off.
- Returns
Filtered data (numpy array).
algorithms.util module¶
Utility module for miscellaneous stuff


BREAKING: Buhari presides over first FEC meeting after London trip
by John AmehJohn Ameh, Abuja
A meeting of the Federal Executive Council presided over by President Muhammadu Buhari has started in Abuja.
It’s the first FEC meeting after Buhari returned to the country from his private visit in London last week, where he spent 15 days.
While he was away, Vice-President Yemi Osinbajo presided over three FEC meetings.
Osinbajo is also attending today’s FEC meeting with almost all the ministers in attendance.
Before proceedings began fully, a minute silence was observed in honour of a former Secretary to the Government of the Federation, the late Mr Ufot Ekaette, and a former Minister of Information, the late Chief Alex Akinyele.


This package is reflected into the Tython environment through the
simcore module. As a general rule, one instance of each class
of this package is created and bound into a single global instance.
The exception is the Mote class, of which N instances
are created and stored in the motes list.


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NativeSessionManager
A Native
session manager is one that manages sessions natively - that is, it is directly responsible
for the creation, persistence and removal of Session
instances and their
lifecycles.
| Method Summary | |
|---|---|
void |
checkValid(SessionKey key)
Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws an InvalidSessionException indicating that the session id is invalid. |
Object |
getAttribute(SessionKey sessionKey,
Object attributeKey)
Returns the object bound to the associated session identified by the specified attribute key. |
Collection<Object> |
getAttributeKeys(SessionKey sessionKey)
Returns all attribute keys maintained by the target session or an empty collection if there are no attributes. |
String |
getHost(SessionKey key)
Returns the host name or IP string of the host where the session was started, if known. |
Date |
getLastAccessTime(SessionKey key)
Returns the time the associated Session last interacted with the system. |
Date |
getStartTimestamp(SessionKey key)
Returns the time the associated Session started (was created). |
long |
getTimeout(SessionKey key)
Returns the time in milliseconds that the associated session may remain idle before expiring. |
boolean |
isValid(SessionKey key)
Returns true if the associated session is valid (it exists and is not stopped nor expired),
false otherwise. |
Object |
removeAttribute(SessionKey sessionKey,
Object attributeKey)
Removes (unbinds) the object bound to associated Session under the given attributeKey . |
void |
setAttribute(SessionKey sessionKey,
Object attributeKey,
Object value)
Binds the specified value to the associated session uniquely identified by the attributeKey . |
void |
setTimeout(SessionKey key,
long maxIdleTimeInMillis)
Sets the time in milliseconds that the associated session may remain idle before expiring. |
void |
stop(SessionKey key)
Explicitly stops the associated session, thereby releasing all of its resources. |
void |
touch(SessionKey key)
Updates the last accessed time of the session identified by sessionId . |
| Methods inherited from interface org.apache.shiro.session.mgt.SessionManager |
|---|
getSession, start |
| Method Detail |
|---|
Date getStartTimestamp(SessionKey key)
Session
started (was created).
key
- the session key to use to look up the target session.
Session
started (was created).Session.getStartTimestamp()
Date getLastAccessTime(SessionKey key)
Session
last interacted with the system.
key
- the session key to use to look up the target session.
Session.getLastAccessTime()
,
Session.touch()
boolean isValid(SessionKey key)
true
if the associated session is valid (it exists and is not stopped nor expired),
false
otherwise.
key
- the session key to use to look up the target session.
true
if the session is valid (exists and is not stopped or expired), false
otherwise.void checkValid(SessionKey key) throws InvalidSessionException
InvalidSessionException
indicating that the session id is invalid. This
might be preferred to be used instead of isValid(org.apache.shiro.session.mgt.SessionKey)
since any exception thrown will definitively explain
the reason for invalidation.
key
- the session key to use to look up the target session.
InvalidSessionException
- if the session id is invalid (it does not exist or it is stopped or expired).long getTimeout(SessionKey key) throws InvalidSessionException
key
- the session key to use to look up the target session.
InvalidSessionException
- if the session has been stopped or expired prior to calling this method.void setTimeout(SessionKey key, long maxIdleTimeInMillis) throws InvalidSessionException
key
- the session key to use to look up the target session.maxIdleTimeInMillis
- the time in milliseconds that the associated session may remain idle before expiring.
InvalidSessionException
- if the session has been stopped or expired prior to calling this method.void touch(SessionKey key) throws InvalidSessionException
sessionId
. This
can be used to explicitly ensure that a session does not time out.
key
- the session key to use to look up the target session.
InvalidSessionException
- if the session has been stopped or expired prior to calling this method.Session.touch()
String getHost(SessionKey key)
null
key
- the session key to use to look up the target session.
null
.void stop(SessionKey key) throws InvalidSessionException
key
- the session key to use to look up the target session.
InvalidSessionException
- if the session has stopped or expired prior to calling this method.Session.stop()
Collection<Object> getAttributeKeys(SessionKey sessionKey)
sessionKey
- the session key to use to look up the target session.
InvalidSessionException
- if the associated session has stopped or expired prior to calling this method.Session.getAttributeKeys()
Object getAttribute(SessionKey sessionKey, Object attributeKey) throws InvalidSessionException
null
is returned.
sessionKey
- session key to use to look up the target session.attributeKey
- the unique name of the object bound to the associated session
attributeKey
or null
if there is no object bound.
InvalidSessionException
- if the specified session has stopped or expired prior to calling this method.Session.getAttribute(Object key)
void setAttribute(SessionKey sessionKey, Object attributeKey, Object value) throws InvalidSessionException
value
to the associated session uniquely identified by the attributeKey
.
If there is already a session attribute bound under the attributeKey
, that existing object will be
replaced by the new value
.
If the value
parameter is null, it has the same effect as if the
removeAttribute(SessionKey sessionKey, Object attributeKey)
method was called.
sessionKey
- the session key to use to look up the target session.attributeKey
- the key under which the value
object will be bound in this sessionvalue
- the object to bind in this session.
InvalidSessionException
- if the specified session has stopped or expired prior to calling this method.Session.setAttribute(Object key, Object value)
Object removeAttribute(SessionKey sessionKey, Object attributeKey) throws InvalidSessionException
Session
under the given attributeKey
.
sessionKey
- session key to use to look up the target session.attributeKey
- the key uniquely identifying the object to remove
null
if there was no object bound under the specified attributeKey
.
InvalidSessionException
- if the specified session has stopped or expired prior to calling this method.Session.removeAttribute(Object key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


We redefine content!
- productize world-class synergies
- leverage ubiquitous web-readiness
- deploy e-business ROI
- deploy viral bandwidth
- leverage sticky e-business
- synergize cross-platform metrics
- engage world-class web services
- facilitate mission-critical experiences
- drive e-business synergies
- enable next-generation infrastructures


Money no object: 10 Christmas gadget gift ideas for big spenders
Go for bling when the sleigh bells ring
by Chris RowlandsThere’s never a bad time to win the lottery, but take home the jackpot just before Christmas and you’ll have a million new ways to spread the festive cheer.
What should a recently minted giver get for their nearest and dearest? You can’t purchase inspiration, but you can buy gift cards – which is the next best thing for those devoid of originality. Or, for top-dollar treats that don’t disappoint, consult this money-no-object gift guide free of charge.
From high-end speakers to electric SUVs to projectors that cost more than a plug-in hybrid, this is a Yuletide shopping list for the well-heeled and excessively generous. Service charge optional (but encouraged).
More Christmas gift ideas
Looking for something different? Our full Christmas Gift Guide 2019 hub page has categories to suit every taste, budget and interest.
See more Christmas gift ideas here
Astell&Kern A&ultima SP2000 (£3299)
On the rare occasions that an audiophile leaves their pressure-controlled sonic chamber and exposes their ears to the disturbing sub-standard sounds of the outside world, they need a portable solution to soften the blow. Enter Astell&Kern’s latest bank-breaking player.
Beneath its arrestingly angular housing resides all manner of audio wizardry, including AKM AK4499EQ dual DACs, independent channels for balanced and unbalanced outputs and support for 32bit/768kHz and DSD512 playback.
Mercedes-Benz EQC (from £65,640)
If someone’s been good enough to deserve a new ride in the drive this December, it ought to be a special one. And the Mercedes-Benz EQC qualifies as pretty special indeed, given that it’s the first all-electric road car in the German marque’s illustrious history.
Suitably luxurious inside and good for an impressive 259 miles on a brimmed battery, it’s also surprisingly understated for such a seminal SUV. Until you see the price tag, that is. Thank goodness for the UK’s £3500 plug-in car grant, eh?
Bell & Ross BR 05 Blue Steel (£3990)
Possibly the nicest, most expensive piece of unintentional Zoolander merchandise ever made, the beautifully simple Blue Steel face on this Bell & Ross ticker is the antithesis of Le Tigre’s loud pouting.
Also available with black and silver facades, the BR05 melds a classic round dial with the squared-off shell that’s become a signature of the aviation watchmaker’s stunning timepieces. Stylish, rugged and suitably chiselled, it’s everything Derek would want from a watch.
Apple iPhone 11 Pro Max (from £1149)
Some say Apple sets the prices of its iPhones by feeding the number of lenses, Bono’s current age and one brave decision into a secret and complex formula stored on an original Macintosh somewhere in Cupertino.
And that seems to hold true, given that the U2 frontman is now 59, the iPhone Pro packs a trio of incredible lenses and the most expensive flagship – the Pro Max in 512GB guise – will set you back one pound shy of £1500. Too much? Unlike an ageing MagSafe cable, the equation never falters.
Teufel x Rosenthal (£3490)
If you’re intending to spend more than your monthly salary on a pair of high-end Wi-Fi speakers, it helps if they’re multi-talented. Thankfully, Teufel’s groundbreaking porcelain creations can do a lot more than mere audio streaming.
Besides a built-in alarm clock and hat stand functionality, the striking pieces are perfect for the role of alien tripod in your stop-motion recreation of The War of the Worlds. Talk about bang for buck.
Fujifilm GFX100 (£9999)
With many pro snappers moving to the compact, speedy convenience of mirrorless, the mammoth machines of medium format might seem like a photographic anachronism.
As heavy as ten turtle doves and priced like five gold rings, everything about it screams festive excess: a 102MP CMOS sensor, a 5.76 million dot OEL display and a faintly ludicrous 3.76 million phase detection pixel count mean this year’s Christmas family portrait is guaranteed to be a winner.
McIntosh MTI100 (£7945)
Calling an £8000 audio system good value is like calling a Formula 1 car efficient: technically correct but only in relative terms. Still, if you’re looking for a comprehensive music setup that doesn’t require you to stick a cabinet beside your Christmas tree, the MTI100 is your answer.
Topped by a turntable, it packs an amplifier, vacuum tube and phono pre-amps, Bluetooth receiver, aux, digital and optical inputs and all the outputs you could ask for. Just add speakers and you’ve got the whole hi-fi package.
Kjus 7SPHERE HYDRO_BOT (£1299)
Many people would find themselves sweating as they stand at the top of a treacherous black run. Most would take a deep breath and brave it. Some would slowly shuffle back to the bar. A rare few, though, would stare down the ski slope, embrace the terror and hit the remote in their pocket, knowing that the more they sweat, the more effectively the electro-osmotic moisture-management membrane in their HYDRO_BOT jacket will function. Whatever it takes to get their money’s worth.
Orbitsound Air D1 (£12,000)
Ask a keen-eared audiophile and they’ll probably tell you that no single unit can hope to rival a full hi-fi setup for crisp, clear sound. Which means said audiophile hasn’t experienced Orbitsound’s revolutionary D1: an exquisite vertical slab a decade in the making, it’s the ultimate one-box system.
Suspended on a tilting stand, the speaker’s Airsound tech projects sound into the surrounding air to create an unrivalled, distortion-free listening experience wherever you are in the room.
Canon XEED 4K6021Z (£31,000)
Yes, good cinema is all about substance. And, yes, the best films are great whether you watch them on a screen the size of a house or an old iPod Video. But if movies are your thing and you’ve got a bit of bling, why wouldn’t you drop thirty grand on a 4K laser projector good for 40,000 hours and 6000 lumens?
Sure, you’ll need a dedicated space to do it justice, but given you’ll be living on a popcorn diet, you can probably do away with the dining room.


Methods summary
public
|
|
public
array
|
#
domains( )
List the domains that have been configured for inbound delivery
List the domains that have been configured for inbound delivery
Returns
array the inbound domains associated with the account - return[] struct the individual
domain info - domain string the domain name that is accepting mail - created_at
string the date and time that the inbound domain was added as a UTC string in
YYYY-MM-DD HH:MM:SS format - valid_mx boolean true if this inbound domain has
successfully set up an MX record to deliver mail to the Mandrill servers
|
public
struct
|
#
addDomain( string $domain )
Add an inbound domain to your account
Add an inbound domain to your account
Parameters
Returns
struct information about the domain - domain string the domain name that is accepting
mail - created_at string the date and time that the inbound domain was added as
a UTC string in YYYY-MM-DD HH:MM:SS format - valid_mx boolean true if this
inbound domain has successfully set up an MX record to deliver mail to the
Mandrill servers
|
public
struct
|
#
checkDomain( string $domain )
Check the MX settings for an inbound domain. The domain must have already
been added with the add-domain call
Check the MX settings for an inbound domain. The domain must have already
been added with the add-domain call
Parameters
- $domain
- an existing inbound domain
Returns
struct information about the inbound domain - domain string the domain name that is
accepting mail - created_at string the date and time that the inbound domain was
added as a UTC string in YYYY-MM-DD HH:MM:SS format - valid_mx boolean true if
this inbound domain has successfully set up an MX record to deliver mail to the
Mandrill servers
|
public
struct
|
#
deleteDomain( string $domain )
Delete an inbound domain from the account. All mail will stop routing for
this domain immediately.
Delete an inbound domain from the account. All mail will stop routing for
this domain immediately.
Parameters
- $domain
- an existing inbound domain
Returns
struct information about the deleted domain - domain string the domain name that is
accepting mail - created_at string the date and time that the inbound domain was
added as a UTC string in YYYY-MM-DD HH:MM:SS format - valid_mx boolean true if
this inbound domain has successfully set up an MX record to deliver mail to the
Mandrill servers
|
public
array
|
#
routes( string $domain )
List the mailbox routes defined for an inbound domain
List the mailbox routes defined for an inbound domain
Parameters
- $domain
- the domain to check
Returns
array the routes associated with the domain - return[] struct the individual mailbox
route - id string the unique identifier of the route - pattern string the search
pattern that the mailbox name should match - url string the webhook URL where
inbound messages will be published
|
public
struct
|
#
addRoute( string $domain, string $pattern, string $url )
Add a new mailbox route to an inbound domain
Add a new mailbox route to an inbound domain
Parameters
- $domain
- an existing inbound domain
- $pattern
- the search pattern that the mailbox name should match
- $url
- the webhook URL where the inbound messages will be published
Returns
struct the added mailbox route information - id string the unique identifier of the
route - pattern string the search pattern that the mailbox name should match -
url string the webhook URL where inbound messages will be published
|
public
struct
|
#
updateRoute( string $id, string $pattern = null, string $url = null )
Update the pattern or webhook of an existing inbound mailbox route. If null
is provided for any fields, the values will remain unchanged.
Update the pattern or webhook of an existing inbound mailbox route. If null
is provided for any fields, the values will remain unchanged.
Parameters
- $id
- the unique identifier of an existing mailbox route
- $pattern
- the search pattern that the mailbox name should match
- $url
- the webhook URL where the inbound messages will be published
Returns
struct the updated mailbox route information - id string the unique identifier of the
route - pattern string the search pattern that the mailbox name should match -
url string the webhook URL where inbound messages will be published
|
public
struct
|
#
deleteRoute( string $id )
Delete an existing inbound mailbox route
Delete an existing inbound mailbox route
Parameters
- $id
- the unique identifier of an existing route
Returns
struct the deleted mailbox route information - id string the unique identifier of the
route - pattern string the search pattern that the mailbox name should match -
url string the webhook URL where inbound messages will be published
|
public
array
|
#
sendRaw( string $raw_message, array|null $to = null, string $mail_from = null, string $helo = null, string $client_address = null )
Take a raw MIME document destined for a domain with inbound domains set up,
and send it to the inbound hook exactly as if it had been sent over SMTP
Take a raw MIME document destined for a domain with inbound domains set up,
and send it to the inbound hook exactly as if it had been sent over SMTP
Parameters
- $raw_message
- the full MIME document of an email message
- $to
- optionally define the recipients to receive the message - otherwise we'll use
the To, Cc, and Bcc headers provided in the document - to[] string the email
address of the recipient
- $mail_from
- the address specified in the MAIL FROM stage of the SMTP conversation. Required
for the SPF check.
- $helo
- the identification provided by the client mta in the MTA state of the SMTP
conversation. Required for the SPF check.
- $client_address
- the remote MTA's ip address. Optional; required for the SPF check.
Returns
array an array of the information for each recipient in the message (usually one) that
matched an inbound route - return[] struct the individual recipient information
- email string the email address of the matching recipient - pattern string the
mailbox route pattern that the recipient matched - url string the webhook URL
that the message was posted to
|


Webpage by Kaleah
Cats
A cats nose is considered one of the fourteen most powerful, it's used to determind territories and locate food
Cats have special teeth designed to tear and chew through flesh, the tounge is also used in tearing and ripping flesh.
Anatomy of a cat


This document contains the Release Notes entries from each individual C++ submodule for this bundled version of EPICS V4. For future patch releases any notes about patch changes will supplement the note entries from the original release.
For information about EPICS, please refer to the main
EPICS website.
For more information about EPICS V4, please refer to the
EPICS V4 website.
The Boost header files are now only installed for VxWorks target architectures, since they are only essential for that OS. This prevents clashes with sofware that has been built with a different version of Boost.
The main changes since release 5.0.4 are:
Linux shared library version numbers have been added by setting SHRLIB_VERSION (to 6.0 in this case). So shared object will be libpvData.so.6.0 instead of libpvData.so.
For example
src/property/alarm.h -> src/property/pv/alarm.h
This facilitates using some IDEs such as Qt Creator.
Requester::message is no longer pure virtual. Default implementation sends
string to std::cerr
.
A helper function, serializeToVector, has been added which serializes a
Serializable object into a standard vector of UInt8
s.
Similarly a function deserializeFromVector deserializes a standard vector into a Deserializable object.
A function deserializeFromBuffer deserializes a ByteBuffer
into a
Deserializable object.
On creating a Structure or Union the field names are now validated.
Valid characters for a field name are upper or lowercase letters, numbers and
underscores and intial numbers are invalid, i.e. names must be of the form
[A-Za-z_][A-Za-z0-9_]*
.
Includes cross-compiling MinGW on Linux.
The main changes since release 5.0 are:
Linux shared library version numbers have been added by setting SHRLIB_VERSION (to 5.1 in this case). So shared object will be libnt.so.5.1 instead of libpvData.so.
Source has moved out of nt directory directly into src.
Headers have been moved into a pv directory. This facilitates using some IDEs such as Qt Creator.
src/nt/ntscalar.cpp -> src/ntscalar.cpp
src/nt/ntscalar.h -> src/pv/ntscalar.h
is_a(PVStructurePtr const &)
implementation has been added for each type.
checkConnected()
now throws an exception if connect fails.The test is now a regression test that can be run using
make runtests
HelloWorld has been renamed helloRPC.
The following examples have been moved from pvDatabaseCPP:
The following have been moved from pvaClientCPP:
The pvDatabaseRPC example sub-module generates build warnings on Windows related to name decoration. These issues will be fixed in an upcoming patch release.
getitem
, setitem
, contains


# extends 'base.html' # block content
When you press this button , we will display all favorite places sorted by distance from your location. Basically, it's a quick, local craving search.
Sign up to our newsletter and we'll let you know when our geo-location is up and running!


Rogue is a visual CRT based fantasy game which runs under the UNIX timesharing system. This paper describes how to play rogue, and gives a few hints for those who might otherwise get lost in the Dungeons of Doom.
You have just finished your years as a student at the local fighter’s guild. After much practice and sweat you have finally completed your training and are ready to embark upon a perilous adventure. As a test of your skills, the local guildmasters have sent you into the Dungeons of Doom. Your task is to return with the Amulet of Yendor. Your reward for the completion of this task will be a full membership in the local guild. In addition, you are allowed to keep all the loot you bring back from the dungeons.
In preparation for your journey, you are given an enchanted sword, taken from a dragon’s hoard in the far off Dark Mountains. You are also outfitted with elf-crafted armor and given enough food to reach the dungeons.
You set out on your way to the dungeons and after several days of uneventful travel, you see the ancient ruins that mark the entrance to the Dungeons of Doom. It is late at night so you make camp at the entrance and spend the night sleeping under the open skies. In the morning you gather your sword, put on your armor, eat what is almost your last food and enter the dungeons.
You have just begun a game of rogue. Your goal is to grab as much treasure as you can, find the Amulet of Yendor, and get out of the Dungeons of Doom alive. On the screen, a map of where you have been and what you have seen on the current dungeon level is kept. As you explore more of the level, it appears on the screen in front of you.
Rogue differs from most computer fantasy games in that it is screen oriented. Commands are all one or two keystrokes1 and the results of your commands are displayed graphically on the screen rather than being explained in words2.
Another major difference between rogue and other computer fantasy games is that once you have solved all the puzzles in a standard fantasy game, it has lost most of its excitement and it ceases to be fun. Rogue on the other hand generates a new dungeon every time you play it and even the author finds it an entertaining and exciting game.
In order to understand what is going on in rogue you have to first get some grasp of what rogue is doing with the screen. The rogue screen is intended to replace the “You can see ...” descriptions of standard fantasy games. Here is a sample of what a rogue screen might look like.
--------------------- |...................+<EMAIL_ADDRESS>|........B..........| |...................| --------+------------ Level: 1 Gold: 0 Hp: 12(12) Str: 16 Ac: 6 Exp: 1/0
At the bottom line of the screen is a few pieces of cryptic information describing your current status. Here is an explanation of what these things mean:
Level |
This number indicates how deep you have gone in the dungeon. It starts at one and goes up forever2. |
Gold |
The number of gold pieces you have managed to find and keep with you so far. |
Hp |
Your current and maximum hit points. Health points indicate how much damage you can take before you die. The more you get hit in a fight, the lower they get. You can regain health points by resting. The number in parentheses is the maximum number your hit points can reach. |
Str |
Your current strength. This can be any integer less than or equal to eighteen. The higher the number, the stronger you are. |
Ac |
Your current armor class. This number indicates how effective your armor is in stopping blows from unfriendly creatures. The lower this number is, the more effective the armor. |
Exp |
These two numbers give your current experience level and experience points. As you do things, you gain experience points. At certain experience point totals, you gain an experience level. The more experienced you are, the better you are able to fight and to withstand magical attacks. |
The top line of the screen is reserved for printing messages that describe things that are impossible to represent visually. If you see a “--More--” on the top line, this means that rogue wants to print another message on the screen, but it wants to make certain that you have read the one that is there first. To read the next message, just type a space.
The rest of the screen is the map of the level as you have explored it so far. Each symbol on the screen represents something. Here is a list of what the various symbols mean:
| @ | This symbol represents you, the adventurer. |
| - | | These symbols represent the walls of rooms. |
| + |
A door to/from a room. |
| . | The floor of a room. |
| # | The floor of a passage between rooms. |
| * | A pile or pot of gold. |
| ) | A weapon of some sort. |
| ] | A piece of armor. |
| ! | A flask containing a magic potion. |
| ? | A piece of paper, usually a magic scroll. |
| ^ | A trap, watch out for these. |
| % | The passage leading down to the next level. |
| : | A piece of food. |
| A-Z | The uppercase letters represent the various inhabitants of the Dungeons of Doom. Watch out, they can be mean. |
Commands are given to rogue by pressing single letters. Most commands can be preceded by a count to repeat them (e.g. typing "10s" will do ten searches) The list of commands is rather long, but it can be read at any time during the game with the ? command. Here it is for reference, with a short explanation of each command.
| ? | The help command. Asks for a character to give help on. If you type a "*", it will list all the commands, otherwise it will explain what the character you typed does. |
| / | This is the "What is that on the screen?" command. A "/" followed by any character that you see on the level, will tell you what that character is. For instance, typing "/@" will tell you that the @ symbol represents you, the player. |
| h, H | |
Move left. You move one space to the left. If you use upper case h, you will continue to move left until you run into something. This works for all movement commands (e.g. "L" means run in direction "l") |
|
| j | Move down. |
| k | Move up. |
| l | Move right. |
| y | Move diagonally up and left. |
| u | Move diagonally up and right. |
| b | Move diagonally down and left. |
| n | Move diagonally down and right. |
| t | Throw an object. This is a prefix command. When followed with a direction it throws an object in the specified direction. (e.g. type “th” to throw something to the left.) |
| f | Find prefix. When followed by a direction it means to continue moving in the specified direction until you pass something interesting or run into a wall. |
| t | Throw an object. This is a prefix command. Follow it with a direction and you throw an object in the specified direction. (e.g. type "th" to throw something left.) |
| > | If you are standing over the passage down to the next level, this command means to climb down. |
| s | Search for traps and secret doors. Examine each space immediately adjacent to you for the existence of a trap or secret door. There is a large chance that even if there is something there, you won’t find it so you might have to search a while before you find something. |
(space) Rest. This is the "do nothing" command. This is good for waiting and healing. |
|
|
i |
Inventory. List what you are carrying in your pack. |
| I | Selective inventory.  Drink one of the potions you are carrying. |
| r | Read. Read one of the scrolls in your pack. |
| e | Eat food. Take some food out of your pack and eat it. |
| w | Wield a weapon. Take a weapon out of your pack and carry it. You must be wielding weapon to use it (except to throw things). To fire an arrow, you must wield the bow. You can only wield one weapon at a time. |
| W | Wear armor.  You can only wear one suit of armor at a time. |
| T | Take armor off. You can’t remove armor that is cursed. This takes extra time. |
| d | Drop an object. Take something out of your pack and leave it lying on the floor. Only one object can occupy each space. |
| o | Examine and set options. This command is further explained in the section on options. |
| ^L | Redraws the screen. Useful if spurious messages or transmission errors have messed up the display. |
| v | Prints the program version number. |
| Q | Quit. Leave the game. |
| R | Repeat last message. Useful when a message disappears before you can read it. |
| S | Save the current game in a file. Caveat: Rogue won’t let you start up a copy of a saved game, and it removes the save file as soon as you start up a restored game. This is to prevent people from saving a game just before a dangerous position and then restarting it if they die. To restore a saved game, give the file name as an argument to rogue. As in % rogue36 save_file |
When you find something in the dungeon, it is common to want to pick the object up. This is accomplished in rogue by walking over the object. If you are carrying too many things, the program will tell you and it won’t pick up the object, otherwise it will add it to your pack and if the notify option is set, tell you what you just picked up.
Many of the commands that operate on objects must prompt you to find out which object you want to use. If you change your mind and don’t want to do that command after all, just press an escape and the command will be aborted.
Rooms in the dungeons are either lit or dark. If you walk into a lit room, the entire room will be drawn on the screen as soon as you enter. If you walk into a dark room, it will only be displayed as you explore it. Upon leaving a dark room, all objects inside the room which might move are removed from the screen. In the darkness you can only see one space in all directions around you.
If you see a monster and you wish to fight it, just attempt to run into it. Many times a monster you find will mind its own business unless you attack it. It is often the case that discretion is the better part of valor.
There are various sorts of armor lying around in the dungeon. Some of it is enchanted, some is cursed and some is just normal. Different armor types have different armor classes. The lower the armor class, the more protection the armor affords against the blows of monsters. If a piece of armor is enchanted or cursed, its armor class will be higher or lower than normal. Here is a list of the various armor types and their normal armor class.
| Type | Class |
|---|---|
| Leather armor | 8 |
| Studded leather / Ring mail | 7 |
| Scale mail | 6 |
| Chain mail | 5 |
| Banded mail / Splint mail | 4 |
| Plate mail | 3 |
Due to variations in personal tastes and conceptions of the way rogue should do things, there are a set of options you can set that cause rogue to behave in various different ways.
There are basically two ways to set the options. The first is with the "o" command of rogue, the second is with the ROGUEOPTS environment variable. On Version 6 systems, there is no equivalent of the ROGUEOPTS feature.
When you press "o" in rogue, it clears the screen and displays the current settings for all the options. It then places the cursor by the value of the first option and waits for you to type. You can type a RETURN which means to go to the next option, a "−" which means to go to the previous option, an escape which means to return to the game, or you can give the option a value. For boolean options this merely involves pressing "t" for true or "f" for false. For string options, type the new value followed by a return.
The ROGUEOPTS variable is a string containing a comma separated list of initial values for the various options.  Thus to set up an environment variable so that jump is on, terse is off, the name is set to "Conan the Barbarian" and the fruit is "mango", use the command
% setenv ROGUEOPTS "jump,noterse,name=Conan the Barbarian,fruit=mango"3
Here is a list of the options and an explanation of what each one is for. The default value for each is enclosed in square brackets.
terse[noterse]
Useful for those who are tired of the sometimes lengthy messages of rogue. This is a useful option for those on slow terminals. This option defaults to on if your are on a slow (under 1200 baud) terminal.
jump[nojump]
If this option is set, running moves will not be displayed until you reach the end of the move. This saves considerable cpu time and display time. This option defaults to on if you are using a slow terminal.
step[nostep]
When step is set, lists of things, like inventories or "*" responses to "Which item do you wish to xxxx? " questions, are displayed one item at a time on the top of the screen, rather than clearing the screen, displaying the list, then re-displaying the dungeon level.
flush[noflush]
If flush is set, all typeahead is thrown away after each round of battle. This is useful for those who type way ahead and watch to their dismay as a Kobold kills them.
askme[noaskme]
Upon reading a scroll or quaffing a potion which does not automatically identify it upon use, rogue will ask you what to name it so you can recognize it in the future.
name [account name]
This is the name of your character. It is used if you get on the top ten scorer’s list. It should be less than eighty characters long.
fruit[slime-mold]
This should hold the name of a fruit that you enjoy eating. It is basically a whimsy that the program uses in a couple of places.
file[rogue.save]
The default file name for saving the game. If your phone is hung up by accident, rogue will automatically save the game in this file. The file name may contain the special character "~" which expands to be your home directory.
Rogue was originally conceived of by Glenn Wichman and Michael Toy. The help of Ken Arnold in making the program easier to use and putting the finishing touches on is greatly appreciated. I would also like to thank Marty McNary, Scott Nelson, Daniel Jensen, Kipp Hickman, Joe Kalash, Steve Maurer, Bill Joy, Mark Horton and Jan Miller for their ideas and assistance.
| 1 | As opposed to pseudo English sentences. |
| 2 | Or until you get killed or decide to quit. |
| 3 | For those of you who use the Bourne shell, the commands would be $ ROGUEOPTS="jump,noterse,name=Conan the Barbarian,fruit=mango" $ export ROGUEOPTS |


How to disable Windows Update restart
Many of us were victims of automatic Windows Update restart. Imagine that you are working with some documents, watching movie, listening to music, or playing video game and BAM! This deadly Windows Update restart popup shows up looking like a detonator. Sometimes there's nothing you can do.
 You come back and see your desktop. You slowly realize that it's all gone.
Back in the day in Windows 7 there was an option to postpone the update for the infinite time. Well if you're lucky to get there in time in the first place.
As far as I know in Windows 8 Microsoft changed their update policy.
* From now on all updates that require PC reboot will be installed one a month. Not bad huh?
* They added small notification to the login screen about upcoming PC restart that shows up 3 days before the update day. It's just white noise for guys like me.
* Power Option menu itms were changed to "Update and restart" and "Update and shut down" respectively. Am I the only one who just push shut down button instead of using this menu? No updates will be installed in that case.
I wish Microsoft would change their update policy once more. Right now they are doing it wrong. I just want my PC to update automatically before it starts up. They could do it as a background update like Google Chrome does. Even Apple IPhone updates feel more user-friendly. There's like four updates a year at max, and there are some cool new features that come with them. They are not automatic but they are not screaming to the user. They are non-distracting. The Settings icon changes and that's it! You decide if you want to update or not in YOUR own time.
But don't panic. There is a solution which does not involve disabling the Windows Updates alltogether. Group Policies come to resque! Yes, this is Microsoft way of doing things. You have to be PC "guru" to make things work. Even with Windows 8 release nothing's changed like they promised.  Your grandma could not do it, but hopefully you can.
Step 1 - Open Group Policy Editor
To run the editor press Windows + R and type gpedit.msc.
Step 2 - Find No Auto-restart Policy
Navigate to the following path. Local Computer Policy -> Computer Configuration -> Administrative Templates - > Windows Components -> Windows Update. There should be No auto-restart with logged on users for scheduled automatic updates installations policy listed on the right side.
Step 3 - Enable the Policy and Save Changes
Double click on that policy. You'll see policy editor window. Set Enabled option. You can also leave a comment if you want to. Then press Apply and OK buttons.
That's all you need. Hope it was useful.


Climbing up the knotted cedar Moleskin between my teeth No branches near the earth to grab But the knots will work beneath The first branch I reach is so broken I pause in thought The next I grab with a motion I climb and nestle into my spot Up near the top, A branch for my back One for my seat A small one for my feet Opening rich white pages of my journal Pica grid blue and thin I pull the pen from my pocket, and then I unblur the lines of my thoughts Til all of them are caught And the bleeding edge is made naught
I've looked about and thought today How the world has turned From black and white to gray Over a thousand days A thousand waves Into the depths of the darkest caves You'll find out, Everything has always been the same There is no new thing under the sun Even for philosophers on a hill But for them, even them, Love can spill And overflow with forgiveness This day I pray You'll seek what I know I loved you so much I think that you know But you've been taken with a foul blow Don't let your heart sit in that snow Of stone Cry, deep tears of sorrow For the lost and alone When they die they wont be home Don't be that way I pray The world melts Black and white turns to gray
Is confusion truly just an illusion?That you can take with marvellous infusion Making your thoughts lost in the room of smoke And when you inhale, you chokeBut what I want is some reproof To make my doubts go aloof And open the vents on the roofBut I complain too much Perhaps instead I should seek Flip the pages of a Book And take a couple peeksI'll never doubt in my mind That I am loved, though blind I don't have to search to findJust breath
I pool the wool over my eyes It takes me days and days to realize Away in my mind, like a rat, My thoughts I pack They'll be falling like a freight train From a track So to keep from crashing I'll extract My thoughts into a list so exact I forget the words I'm writing down (Fumbling like a sad, sad clown) Even with the lessons learned My mind ends up burnt What I try doesn't tend to work
Though my arms and legs may be broken I'll always be outspoken About a man that lived long ago So to Heaven we can go Naked and ye clothed me Sick and ye visited me In prison, and ye came to me. Such words we wish to hear. If not I'd wish to disappear About my clothes I should not worry To make some money, I will not hurry Seek ye first the Kingdom of God And it's righteousness And all shall be added unto you More important than my stew Is the words upon which we should chew The inspired word of Him To read it go as far as a limb It's more powerful than you So read it you should do I speak these words in love Don't take me as your boss It's just a little shove I don't want you into flames tossed Listen to His words for rest ye Weary It's fact, not fiction or theory
Give her a hedge of protection While I try to reach perfection I'll prepare for her a place one day So don't let her be lead astray Please let me appropriate Everything so she wont have to wait I'm not that far Oh bright and shining star I want to lead Don't let that be construed as greed I'm kinda tired but I'm trying very hard I've made mistakes but I hope my record's not marred I know I'll lead you as we start a family But I can't help it if we can't yet be I don't know you, at least not for sure That's the truth, it's not some kind of lure I want to sleep, but I've got so much to do My head aches And my heart's the same for sure Lord protect her with Your hedge While I try to wedge Myself away from the ledge And get to where you need me to be


Thank you for participating in this experiment.
Your responses have been recorded, and you may now close this page.
Thank you for completing this HIT.
The questions below are optional. If you do not want to answer them, simply skip to the bottom and click "Submit."
Was this task unclear, mispriced, or frustrating? If we could make it better, let us know!
Submit


Selectize – Usage
<script type="text/javascript" src="selectize.js"></script>
<link rel="stylesheet" type="text/css" href="selectize.css" />
<script>
$(function() {
$('select').selectize(options);
});
</script>
Glossary
- Config / configuration: the initial settings of Selectize, given at initialization.
- Settings: the current settings of Selectize, might be updated. Accessible with the
setting
property of the Selectize object. - Options: the list of objects to display.
Each object must have a property with an unique value to identify the option; the property name is defined by the
valueField
setting. Option objects must also have a property with the label to display (as tag, in the drop down, etc.); the property name is defined by thelabelField
setting. The options can have other properties, ignored, unless referenced by other settings, likesortField
orsearchField
. - Items: the list of selected options. Or more exactly, the list of the values of the selected options.
Configuration
| General | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Setting | Description | Type | Default | ||||||||||
options |
An array of the initial options available to select; array of objects. By default this is populated from the original input element. If your element is a <select> with <option>s specified this property gets populated automatically. Setting this property is convenient if you have your data as an array and want to automatically generate the <option>s. | array |
[] |
||||||||||
items |
An array of the initial selected values. By default this is populated from the original input element. | array |
[] |
||||||||||
delimiter |
The string to separate items by. When typing an item in a multi-selection control allowing creation, then the delimiter, the item is added. If you paste delimiter-separated items in such control, the items are added at once. The delimiter is also used in the getValue API call on a text <input> tag to separate the multiple values. |
string |
',' |
||||||||||
create |
Allows the user to create new items that aren't in the
initial list of options. This setting can be any of the
following: true , false (disabled), or a function to
process input. The function can take one of two forms:
synchronous (with signature function(input){}
or asynchronous (with signature function(input,
callback) . In the synchronous case, the function
should return an object for the options (eg,
with defaults: return { 'value': value, 'text': text
}; ). The asynchronous version should invoke the
callback with the result in the same format as the object
above (eg, callback( { 'value': value, 'text':
text}); ) |
boolean/function |
false |
||||||||||
createOnBlur |
If true, when user exits the field (clicks outside of input), a new option is created and selected (if create setting is enabled).
| boolean |
false |
||||||||||
createFilter |
Specifies a RegExp or a string containing a regular expression that the current search filter must match to be allowed to be created. May also be a predicate function that takes the filter text and returns whether it is allowed. | RegExp|string|function |
null |
||||||||||
highlight |
Toggles match highlighting within the dropdown menu. | boolean |
true |
||||||||||
persist |
If false, items created by the user will not show up as available options once they are unselected. | boolean |
true |
||||||||||
openOnFocus |
Show the dropdown immediately when the control receives focus. | boolean |
true |
||||||||||
maxOptions |
The max number of items to render at once in the dropdown list of options. | int |
1000 |
||||||||||
maxItems |
The max number of items the user can select. 1 makes the control mono-selection, null allows an unlimited number of items. | int |
null |
||||||||||
hideSelected |
If true, the items that are currently selected will not be shown in the dropdown list of available options. This defaults to true when in a multi-selection control, to false otherwise. |
boolean |
null |
||||||||||
closeAfterSelect |
If true, the dropdown will be closed after a selection is made. | boolean |
false |
||||||||||
allowEmptyOption |
If true, Selectize will treat any options with a "" value like normal. This defaults to false to accomodate the common <select> practice of having the first empty option to act as a placeholder. | boolean |
false |
||||||||||
scrollDuration |
The animation duration (in milliseconds) of the scroll animation triggered when going [up] and [down] in the options dropdown. | int |
60 |
||||||||||
loadThrottle |
The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled. Useful when loading options dynamically while the user types a search / filter expression. | int |
300 |
||||||||||
loadingClass |
The class name added to the wrapper element while awaiting the fulfillment of load requests. | string |
'loading' |
||||||||||
placeholder |
The placeholder of the control (displayed when nothing is selected / typed). Defaults to input element's placeholder, unless this one is specified. | string |
undefined |
||||||||||
preload |
If true, the load function will be called upon control initialization (with an empty search). Alternatively it can be set to 'focus' to call the load function when control receives focus. |
boolean/string |
false |
||||||||||
dropdownParent |
The element the dropdown menu is appended to. This should be 'body' or null . If null, the dropdown will be appended as a child of the Selectize control. |
string |
null |
||||||||||
addPrecedence |
If true, the "Add..." option is the default selection in the dropdown. | boolean |
false |
||||||||||
selectOnTab |
If true, the tab key will choose the currently selected item. | boolean |
false |
||||||||||
diacritics |
Enable or disable international character support. | boolean |
true |
||||||||||
| Data / Searching | |||||||||||||
| Setting | Description | Type | Default | ||||||||||
options |
See above | array |
[] |
||||||||||
optgroups |
Option groups that options will be bucketed into. If your
element is a <select> with <optgroup>s this
property gets populated automatically. Make sure each object
in the array has a property named whatever
optgroupValueField is set to.
|
array |
[] |
||||||||||
dataAttr |
The <option> attribute from which to read JSON data about the option. | string |
'data-data' |
||||||||||
valueField |
The name of the property to use as the value when an item is selected. |
string |
'value' |
||||||||||
optgroupValueField |
The name of the option group property that serves as its unique identifier. | string |
'value' |
||||||||||
labelField |
The name of the property to render as an option / item label (not needed when custom rendering functions are defined). | string |
'text' |
||||||||||
optgroupLabelField |
The name of the property to render as an option group label (not needed when custom rendering functions are defined). | string |
'label' |
||||||||||
optgroupField |
The name of the property to group items by. | string |
'optgroup' |
||||||||||
disabledField |
The name of the property to disabled option and optgroup. | string |
'disabled' |
||||||||||
sortField |
A single field or an array of fields to sort by. Each item in the array should be an object containing at least a Unless present, a special `$score` field will be automatically added to the beginning of the sort list. This will make results sorted primarily by match quality (descending). You can override the `$score` function. For more information, see the sifter documentation. |
string|array |
'$order' |
||||||||||
searchField |
An array of property names to analyze when filtering options. | array |
['text'] |
||||||||||
searchConjunction |
When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' . |
string |
'and' |
||||||||||
lockOptgroupOrder |
If truthy, Selectize will make all optgroups be in the same order as they were added (by the `$order` property). Otherwise, it will order based on the score of the results in each. | boolean |
false |
||||||||||
copyClassesToDropdown |
Copy the original input classes to the dropdown element. | boolean |
true |
||||||||||
| Callbacks | |||||||||||||
| Setting | Description | Type | Default | ||||||||||
load(query, callback) |
Invoked when new options should be loaded from the server. Called with the current query string and a callback function to call with the results when they are loaded (or nothing when an error arises). | function |
null |
||||||||||
score(search) |
Overrides the scoring function used to sort available options. The provided function should return a function that returns a number greater than or equal to zero to represent the score of an item (the function's first argument). If 0, the option is declared not a match. The search argument is a Search object. For an example, see the "GitHub" example. |
function |
null |
||||||||||
onInitialize() |
Invoked once the control is completely initialized. | function |
null |
||||||||||
onFocus() |
Invoked when the control gains focus. | function |
null |
||||||||||
onBlur() |
Invoked when the control loses focus. | function |
null |
||||||||||
onChange(value) |
Invoked when the value of the control changes. | function |
null |
||||||||||
onItemAdd(value, $item) |
Invoked when an item is selected. | function |
null |
||||||||||
onItemRemove(value) |
Invoked when an item is deselected. | function |
null |
||||||||||
onClear() |
Invoked when the control is manually cleared via the clear() method. | function |
null |
||||||||||
onDelete(values) |
Invoked when the user attempts to delete the current selection. | function |
null |
||||||||||
onOptionAdd(value, data) |
Invoked when a new option is added to the available options list. | function |
null |
||||||||||
onOptionRemove(value) |
Invoked when an option is removed from the available options. | function |
null |
||||||||||
onDropdownOpen($dropdown) |
Invoked when the dropdown opens. | function |
null |
||||||||||
onDropdownClose($dropdown) |
Invoked when the dropdown closes. | function |
null |
||||||||||
onType(str) |
Invoked when the user types while filtering options. | function |
null |
||||||||||
onLoad(data) |
Invoked when new options have been loaded and added to the control (via the load option or load API method). |
function |
null |
||||||||||
| Rendering | |||||||||||||
render |
Custom rendering functions. Each function should accept two
arguments: data and escape and return HTML (string
or DOM element) with a single root element.
The escape argument is a function that takes a string and
escapes all special HTML characters.
This is very important to use to prevent XSS vulnerabilities.
|
object |


The following is a list of short explanations of different terms in machine learning. The aim is to keep things simple and brief, not to explain the terms in full detail.
- Active Learning
- The algorithm gives a pattern and asks for a label.
- Backpropagation
- A clever implementation of gradient descent for neural networks.
- Bias
- Bias is a concept which describes a systematic error. A classifier with a high bias tends to give one answer more often, no matter what the input is. This concept is relatied to variance and well described with the images here.
- BLSTM, BiLSTM
- Bidirectional long short-term memory (see paper and poster).
- Co-Training
- A form of semi-supervised learning. Two independant classifiers are trained on different labeled datasets. The classifiers are applied to the unlabeled data. Data with high confidence will be added to the other classifiers data.
- Collaborative Filtering
- You have users and items which are rated. No user rated everything. You want to fill the gaps (see article).
- Computer Vision
- The academic discipline which deals with how to gain high-level understanding from digital images or videos. Common tasks include image classifiction, semantic segmentation, detection and localization.
- Curriculum learning
- A method for pretraining. First optimize a smoothed objective and gradually consider less smoothing. So a curriculum is a sequence of training criteria. One might show gradually more difficult training examples. See Curriculum Learning by Benigo, Louradour, Collobert and Weston for details.
- Curse of dimensionality
- Various problems of high-dimensional spaces that do not occur in low-dimensional spaces. High-dimensional often means several 100 dimensions.
- DCGAN (Deep Convolutional Generative Adverserial Networks)
- TODO
- DCIGN (Deep Convolutional Inverse Graphic Network)
- TODO
- DCNN (Doubly Convolutional Neural Network)
- Introduced in this paper (summary). Note Some people also call Deep Convolutional Neural Networks DCNNs.
- DNN
- Deep Neural Network. The meaning of "deep" differs. Sometimes it means at least one hidden layer, sometimes it means at least 12 hidden layers.
- Domain adaptation
- A model is trained on dataset $A$. How does it have to be changed to work on dataset $B$?
- Detection in Computer Vision (Object detection)
- Object detection in an image is a computer vision task. The input is an image and the output is a list with rectangles which contain objects of the given type. Face detection is one well-studied example. A photo could contain no face or hundrets of them. The rectangles can overlap.
- Deep Learning
- Buzzword. The meaning depends on who you ask / in which year you asked. Sometimes it means multi-layer perceptrons with more than $N$ layers (some say $N=2$ is already deep learning, others want N>20 or nowadays $N>100$).
- Discriminative Model
- The model gives a conditional probability of the classes $k$, given the feature vector $x$: $P(k | x)$. This kind of model is often used for prediction.
- FC7-Features
- Features of an image which was run through a trained neural network. AlexNet called the last fully connected layer FC7. However, FC7 features are not necessarily created by AlexNet.
- FMLLR
- Feature-Space Maximum Likelihood Linear Regression
- Feature Map
- A feature map is the result of a single filter of a convolutional layer being applied. So it is the activation of that filter over the given input.
- Fine-tuning
- See pre-training
- GMM
- Gaussian Mixture Model
- GEMM (GEneral Matrix to Matrix Multiplication)
- General Matrix to Matrix Multiplication is the problem of calculating the result of $C = A \cdot B$ with $A \in \mathbb{R}^{n \times m}, B \in \mathbb{R}^{m \times k}, C \in \mathbb{R}^{n \times k}$.
- Generative model
- The model gives the relationship of variables: $P(x, y)$. This kind of model can be used for prediction, too.
- Gradient Descent
- An iterative optimization algorithm for differentiable functions.
- HMM
- Hidden Markov Model
- i-vector
- speaker identity vector. See Front-End Factor Analysis for Speaker Verification.
- MANN
- Memory-Augmented Neural Networks (see Blog post)
- Machine Vision
- Computer vision applied for industrial applications.
- Matrix Completion
- See collaborative filtering.
- MLLR
- Maximum Likelihood Linear Regression
- MMD (Maximum Mean Descrepancy)
- MMD is a measure of the difference between a distribution $P$ and a distribution $Q$: $$MMD(F, p, q) = sup_{f \in F} (\mathbb{E}_{x \sim p} [f(x)] - \mathbb{E}_{y \sim q} [f(y)])$$
- Multi-Task learning
- Train a model which does multiple tasks at the same time, e.g. segmentation and detection (see MultiNet).
- NEAT
- Neuroevolution of Augmenting Topologies (see Blogpost).
- Object recognition
- Classification on images. The task is to decide in which class a given image falls, judging by the content. This can be cat, dog, plane or similar.
- One-Shot learning
- Learn only with one or very few examples per class. See One-Shot Learning of Object Categories.
- Optical Flow
- Optical flow is defined for two images. It describes how the points in one image moved when switching to the second image.
- PCA
- Principal component analysis (short: PCA) is a linear transformation which projects $n$ points $\mathbf{x} \in \mathbb{R}^{n \times s}$ with $s$ features each on a hyperplane in such a way that the projection error is minimal. Hence it is an unsupervised method for feature reduction. It simply works by finding a matrix $P \in \mathbb{R}^{s \times m}$, where $m \leq s$ can be chosen as small as desired.
- Pre-training
-
- You have machine learning model $m$.
- Pre-training: You have a dataset $A$ on which you train $m$.
- You have a dataset $B$. Before you start training the model, you initialize some of the parameters of $m$ with the model which is trained on $A$.
- Fine-tuning: You train $m$ on $B$.
- Regularization
- Regularization are techniques to make the fitted function smoother. This
helps to prevent overfitting.
Examples: L1, L2, Dropout, Weight Decay in Neural Networks. Parameter $C$ in SVMs. - Reinforcement Learning
- Reinforcment learning is a sub-field of machine learning, which focuses on the question how to find actions which lead to higher rewards. See German lecture notes.
- Self-Learning
- One form of semi-supervised learning, where you train an initial system on the labeled data, then label the unlabeled data where the classifier is 'sure enough'. After that, you train a new system on all data and re-label the unlabeled data. This is iterated.
- Semi-supervised learning
- Some training data has labels, but most has no labels.
- Supervised learning
- All training data has labels.
- Spatial Pyramid Pooling (SPP)
- SPP is the idea of dividing the image into a grid with a fixed number
of cells and a variable size, depending on the input. Each cell computes
one feature and hence leads to a fixed-size representation of a variable-sized
input.
See paper and summary - TF-IDF
- TF-IDF (short for Term frequency–inverse document frequency) is a measure that reflects how important a word is to a document in a collection or corpus.
- Transductive learning
- label unlabeled data (the aim here is NOT to find a hypothesis)
- Unsupervised learning
- No training data has labels.
- VC-Dimension
- A theoretical natural number assigned to any classifier. The higher the VC dimension of a classifier, the more situations it is able to capture (see longer explanation, german explanation).
- VLAD
- Vector of Locally Aligned Descriptors
- VTLN
- vocal tract length normalization
- WRN
- Wide residual network
- Zero-Shot learning
- Learning to predict classes, of which no example has been seen during training. For example, Flicker gets several new tags each day and they want to predict tags for new images. One idea is to use WordNet and ImageNet to generate a common embedding. This way, new words of WordNet could already have an embedding and thus new images categories could also automatically be classified the right way. See Zero-Shot Learning with Semantic Output Codes as well as this YouTube video.
See also
- Lectures:
- Wikipedia
- scholarpedia
- Other


{% extends "base.html" %} {% block title %}Schedule{% endblock %} {% block content %}
All presentations will take place on the 20th floor in the designated rooms. Please verify room and topic in case of any last minute changes.
| Time | Room 1 | Room 2 |
|---|---|---|
| 8:30am | Coffee/Opening remarks |
|
| 9:00am | VirtualizationSpencer Rinehart |
PhpUnitChris Ryan |
| 10:00am | No UIRyan Goodwin |
Get Your Code Into Shape with Object CalisthenicsChad Gray |
| 11:00am | Setup Ubuntu with Apache and Php + OracleDan Allen |
SecuritySpencer Rinehart |
| 12:00pm | Break |
|
| 1:00pm | Agile + Scrum = +1 Keynote/Q&ABrandon Beigay, Michelle Brooks, Chante Velez |
No Session |
| 2:00pm | Intro to Cloud with Windows AzureVincent Scrimenti |
Dependency InjectionSpencer Rinehart |
| 3:00pm | VagrantAnthony Bittle |
Mongo DBDan Allen |