---
layout: casestudy
class: montgomery
permalink: /work/montgomery/
title: Montgomery Case Study - 14islands
name: Montgomery
headline: Investments made easy.
description: Investments made easy.
color: '#1485cc'
hoverColor: '#0f6194'
logo: logo_montgomery.min.svg
image: /images/work/montgomery/shape-edit.svg
imageClass: box__content__img--max-450
priority: 7
private: false
og_image: /images/work/montgomery/perspective-test.png
---
{% include casestudy-header.html about="Montgomery Investment Management is a boutique funds management firm based in Sydney, Australia. We got approached by Roger Montgomery to build and interactive application to facilitate the manual work required to perform an investment." %}
{% include wide-content-image.html src="/images/work/montgomery/index-page-cropped.png" alt="New investment user flow example." ratio="16_9" margin="none" %}
{% markdown %}
## Seriously simple
Making an investment doesn’t have to be complicated. What if the legal paperwork required for an investment can be generated and pre-filled by an easy-to-use online form application?
The challenge was set and we embraced the cause.
{% endmarkdown %}
{% include casestudy-responsive.html url="/images/work/montgomery/mobile-full-page2.png" parallax=true parallaxOffset="-0.6" parallaxDirection="vertical" %}
{% markdown %}
## Un-complexing the process
The normal process of applying for an investment involves going through over 20 pages of information divided into multiple sections.
With an open mind we evaluated the flow and suggested a few points. Points that could potentially ease the process if implemented in our online application form - making it easier to go through digitally.
{% endmarkdown %}
{% include wide-content-image.html src="/images/work/montgomery/perspective-test.png" alt="PDF form initial study." ratio="16_9" margin="top" %}
{% markdown %}
## Crafting a styleguide
Having a style guide is crucial when dealing with responsive web design. And since we are working with forms, having all the components laid out would help visualizing how well our design is doing to communicate our overall solution.
The design was made in house by ourselves.
{% endmarkdown %}
{% include wide-content-image.html src="/images/work/montgomery/styleguide.jpg" alt="Styleguide." ratio="16_9" margin="top" %}
{% markdown %}
## Experiencing the flow
To build a nicely designed UI that fills a purpose is one of our favorite kind of projects. Animations should have a meaning. Design should solve a problem. Development should make it real. Everything is crafted with the intent to help you go through the application in the smoothest way possible.
{% endmarkdown %}
{% include casestudy-video-inline.html vimeoId="158332393" ratio="16_10" %}
{% markdown %}
## Technologies
Montgomery Investment website is built with [Drupal](http://drupal.org), giving us a chance to dive in and learn more about this popular enterprise Content Management System. We also built some advanced functionality like performing communication with external systems and rendering a pre-filled PDF with the given information from the app.
An ambitious project where custom development embraced user experience and design very nicely.
{% endmarkdown %}
{% include casestudy-quote.html quote="14islands has shown an outstanding professionalism from start to finish. It has been a pleasure working with them." author-image-src="/images/work/montgomery/rm-large.jpg" author-name="Roger Montgomery" author-job-title="Chief Investment Officer at Montinvest.com" %}
{% markdown %}
## Looking to invest?
{% include casestudy-button.html site-url="http://montinvest.com/fund-form/" %}
Want to work with us? [Get in touch](/contact/)
{% endmarkdown %}


About Me
Welcome to my page! My name is Joseph J Lyons, I am thirty-years-old.
I recently decided to change my career path and learn how to program and code. Prior to
making this decision I was a dedicated chef and well established in the restaurant
community. I still enjoy cooking and can still produce some stellar dishes, but only for
family and friends these days.
In my spare time I enjoy a variety of activities. You can find me golfing, boating on Lake
Winnipesaukee or watching the Boston Bruins.
I decided to switch my career path for a few reasons. The physical toll of the restaurant
industry is extremely taxing, and I decided that it was time to devote myself to a field
with increasing opportunities for growth.
I look forward to spending my time and energy learning how to write and produce functioning
code. I don’t think that this change is going to come easy, but l anticipate the ability to
challenge myself and work hard to have a successful career.


link is clicked using Enter
checkbox is clicked using Space
input submit is clicked using Space and Enter
input reset is clicked using Space and Enter
summary click on entersunshine
....todo make a list of all the elements that you can click with either space or enter
here .preventDefault() is called on the keydown event


Romeo and Juliet
by William Shakespeare
Act 4, Scene 3
Additional Information
- Year Published: 1597
- Language: English
- Country of Origin: United States of America
- Source: Shakespeare, W. Romeo and Juliet New York: Sully and Kleinteich
-
Readability:
- Flesch–Kincaid Level: 11.0
- Word Count: 516
- Genre: Tragedy
- Keywords: 16th century literature, british literature, drama, romance, tragedy
- ✎ Cite This
Downloads
SCENE. Juliet's chamber.
(Enter JULIET and Nurse)
JULIET
Ay, those attires are best: but, gentle nurse,
I pray thee, leave me to my self to-night,
For I have need of many orisons
To move the heavens to smile upon my state,
Which, well thou know'st, is cross, and full of sin.
(Enter LADY CAPULET)
LADY CAPULET
What, are you busy, ho? need you my help?
JULIET
No, madam; we have cull'd such necessaries
As are behoveful for our state to-morrow:
So please you, let me now be left alone,
And let the nurse this night sit up with you;
For, I am sure, you have your hands full all,
In this so sudden business.
LADY CAPULET
Good night:
Get thee to bed, and rest; for thou hast need.
(Exeunt LADY CAPULET and Nurse)
JULIET
Farewell! God knows when we shall meet again.
I have a faint cold fear thrills through my veins,
That almost freezes up the heat of life:
I'll call them back again to comfort me:
Nurse! What should she do here?
My dismal scene I needs must act alone.
Come, vial.
What if this mixture do not work at all?
Shall I be married then to-morrow morning?
No, no: this shall forbid it: lie thou there.
(Laying down her dagger)
What if it be a poison, which the friar
Subtly hath minister'd to have me dead,
Lest in this marriage he should be dishonour'd,
Because he married me before to Romeo?
I fear it is: and yet, methinks, it should not,
For he hath still been tried a holy man.
How if, when I am laid into the tomb,
I wake before the time that Romeo
Come to redeem me? there's a fearful point!

Or, if I live, is it not very like,
The horrible conceit of death and night,
Together with the terror of the place,—
As in a vault, an ancient receptacle,
Where, for these many hundred years, the bones
Of all my buried ancestors are packed:
Where bloody Tybalt, yet but green in earth,
Lies festering in his shroud; where, as they say,
At some hours in the night spirits resort;—
Alack, alack, is it not like that I,
So early waking, what with loathsome smells,
And shrieks like mandrakes' torn out of the earth,
That living mortals, hearing them, run mad:—
O, if I wake, shall I not be distraught,
Environed with all these hideous fears?
And madly play with my forefather's joints?
And pluck the mangled Tybalt from his shroud?
And, in this rage, with some great kinsman's bone,
As with a club, dash out my desperate brains?
O, look! methinks I see my cousin's ghost
Seeking out Romeo, that did spit his body
Upon a rapier's point: stay, Tybalt, stay!
Romeo, I come! this do I drink to thee.
(She falls upon her bed, within the curtains)


On 30 June 2017, 12 new articles were published in 9 journals.
Social Climate in Forensic Mental Health Settings: A Systematic Review of Qualitative Studies
Overt Attacks and Covert Thoughts
Pathways Towards New Criminalisation: the Case of Stalking in Portugal
Sexual Abuse Prevention Mobile Application (sap_mobapp) For Primary School Children in Korea
College Students Perceptions Toward Carrying Concealed Weapons on College Campuses
Impact of Intimate Partner Violence on Infant Temperament
Characteristics For the Identification of Children Who Commit Family Murder in South Africa
Unsupervised Routine Activities As A Mediator of the Parental Knowledge–delinquency Relationship


How to convert NameValueCollection to a (Query) String
Most ASP.NET developers know that you can get a key/value pair string from the Request.QueryString
object (via the .ToString()
method). However that functionality isn't the same for a generic NameValueCollection
object (of which Request.QueryString
is derived from).
So how do you take a NameValueCollection
object and get a nicely formatted key/value pair string? (i.e. "key1=value1&key2=value2
") ... Here's a method I wrote a while ago:
/// <summary>
/// Constructs a QueryString (string).
/// Consider this method to be the opposite of "System.Web.HttpUtility.ParseQueryString"
/// </summary>
public static string ConstructQueryString(NameValueCollection parameters)
{
List<string> items = new List<string>();
foreach (string name in parameters)
items.Add(string.Concat(name, "=", System.Web.HttpUtility.UrlEncode(parameters[name])));
return string.Join("&", items.ToArray());
}
Just in case you didn't know about the System.Web.HttpUtility.ParseQueryString
method, it's a quick way of converting a query (key/value pairs) string back into a NameValueCollection
.


{% comment %} A universal template for to add features to a page. To use, specify an include directive and optionally set the following:: * container_class - defaults to "pure-g" * feature_class - defaults to "feature" * feature_odd_class - defaults to "odd" * feature_description - defaults to "feature" * feature_outer_class - defaults to "pure-u-1 pure-u-md-1-3 feature-outer" i.e. three columns with a mob-feature class to allow extra style info to be defined for mobile * feature_title - defaults to "feature-title" * image_class - defaults to "scale" * image_size - defaults to 480x480 * placeholder_style - defaults to "padding-top: 100%;" * mask_class - defaults to "featuretitle" * title_class - defaults to "featuretitle" e.g. minimal specification {% include 'compose/features.html' %} or to change defaults {% include 'compose/features.html' with image_size='500x300' %} {% endcomment %} {% load block_tags %} {% load thumbnail %}


Inherited Variables
Inherited Constants
Inherited Methods
Class: PEAR
- PEAR::PEAR()
- Constructor. Registers this object in $_PEAR_destructor_object_list for destructor emulation if a destructor object exists.
- PEAR::delExpect()
- This method deletes all occurences of the specified element from the expected error codes stack.
- PEAR::expectError()
- This method is used to tell which errors you expect to get.
- PEAR::getStaticProperty()
- If you have a class that's mostly/entirely static, and you need static
- PEAR::isError()
- Tell whether a value is a PEAR error.
- PEAR::loadExtension()
- OS independant PHP extension load. Remember to take care on the correct extension name for case sensitive OSes.
- PEAR::popErrorHandling()
- Pop the last error handler used
- PEAR::popExpect()
- This method pops one element off the expected error codes stack.
- PEAR::pushErrorHandling()
- Push a new error handler on top of the error handler options stack. With this you can easily override the actual error handler for some code and restore it later with popErrorHandling.
- PEAR::raiseError()
- This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. If the $mode and $options parameters are not specified, the object's defaults are used.
- PEAR::registerShutdownFunc()
- Use this function to register a shutdown method for static classes.
- PEAR::setErrorHandling()
- Sets how errors generated by this object should be handled.
- PEAR::staticPopErrorHandling()
- PEAR::staticPushErrorHandling()
- PEAR::throwError()
- Simpler form of raiseError with fewer options. In most cases message, code and userinfo are enough.
- PEAR::_PEAR()
- Destructor (the emulated type of...). Does nothing right now, but is included for forward compatibility, so subclass destructors should always call it.
Class Details
XML Parser class.
This is an XML parser based on PHP's "xml" extension, based on the bundled expat library.
Notes:
- It requires PHP 4.0.4pl1 or greater
- different parsing modes
Tags:
- author - Stig Bakken<EMAIL_ADDRESS>- author - Stephan Schmidt<EMAIL_ADDRESS>- author - Tomas V.V.Cox<EMAIL_ADDRESS>- version - Release: @package_version@
- copyright - 2002-2008 The PHP Group
- link - http://pear.php.net/package/XML_Parser
- todo - create XML_Parser_Pull
- todo - Tests that need to be made:
- mixing character encodings
- a test using all expat handlers
- options (folding, output charset)
- todo - create XML_Parser_Namespace to parse documents with namespaces
- license - New BSD License
[ Top ]
Class Variables
$folding = true
[line 143]
Whether to do case folding
If set to true, all tag and attribute names will be converted to UPPER CASE.
Type: boolean
Overrides:
[ Top ]
$fp
[line 133]
File handle if parsing from a file
Type: resource
Overrides:
[ Top ]
$handler = array(
'character_data_handler' => 'cdataHandler',
'default_handler' => 'defaultHandler',
'processing_instruction_handler' => 'piHandler',
'unparsed_entity_decl_handler' => 'unparsedHandler',
'notation_decl_handler' => 'notationHandler',
'external_entity_ref_handler' => 'entityrefHandler'
)
[line 157]
Mapping from expat handler function to class method.
Type: array
Overrides:
[ Top ]
$mode
[line 150]
Mode of operation, one of "event" or "func"
Type: string
Overrides:
[ Top ]
$parser
[ Top ]
$srcenc
[line 171]
source encoding
Type: string
Overrides:
[ Top ]
$tgtenc
[line 178]
target encoding
Type: string
Overrides:
[ Top ]
$_handlerObj
[line 185]
handler object
Type: object
Overrides:
[ Top ]
$_validEncodings = array('ISO-8859-1', 'UTF-8', 'US-ASCII')
[line 192]
valid encodings
Type: array
Overrides:
[ Top ]
Class Methods
__construct
XML_Parser __construct(
[string
$srcenc = null], [string
$mode = 'event'], [string
$tgtenc = null])
[line 227]
PHP5 constructor
Parameters:
- string $srcenc - source charset encoding, use NULL (default) to use whatever the document specifies
- string $mode - how this parser object should work, "event" for startelement/endelement-type events, "func" to have it call functions named after elements
- string $tgtenc - a valid target encoding
[ Top ]
XML_Parser
XML_Parser XML_Parser(
[string
$srcenc = null], [string
$mode = 'event'], [string
$tgtenc = null])
[line 210]
Creates an XML parser.
This is needed for PHP4 compatibility, it will call the constructor, when a new instance is created.
Parameters:
- string $srcenc - source charset encoding, use NULL (default) to use whatever the document specifies
- string $mode - how this parser object should work, "event" for startelement/endelement-type events, "func" to have it call functions named after elements
- string $tgtenc - a valid target encoding
[ Top ]
endHandler
null endHandler(
mixed
$xp, mixed
$elem)
[line 696]
abstract method signature for End Handler
Tags:
- abstract -
Parameters:
- mixed $xp - ??
- mixed $elem - ??
[ Top ]
free
null free(
)
[line 590]
XML_Parser::free()
Free the internal resources associated with the parser
Parameters:
[ Top ]
funcEndHandler
void funcEndHandler(
mixed
$xp, mixed
$elem)
[line 655]
derives and calls the End Handler function
Parameters:
- mixed $xp - ??
- mixed $elem - ??
[ Top ]
funcStartHandler
void funcStartHandler(
mixed
$xp, mixed
$elem, mixed
$attribs)
[line 632]
derives and calls the Start Handler function
Parameters:
- mixed $xp - ??
- mixed $elem - ??
- mixed $attribs - ??
[ Top ]
parse
bool|PEAR_Error parse(
)
[line 502]
Central parsing function.
Tags:
- return - returns true on success, or a PEAR_Error otherwise
- access - public
Parameters:
[ Top ]
parseString
bool|PEAR_Error parseString(
string
$data, [boolean
$eof = false])
[line 565]
XML_Parser::parseString()
Parses a string.
Tags:
- return - true on success or a PEAR Error
- see - _parseString()
- throws - XML_Parser_Error
Parameters:
- string $data - XML data
- boolean $eof - If set and TRUE, data is the last piece of data sent in this parser
[ Top ]
raiseError
XML_Parser_Error &raiseError(
[string
$msg = null], [integer
$ecode = 0])
[line 613]
XML_Parser::raiseError()
Throws a XML_Parser_Error
Tags:
- return - reference to the error object
Overrides PEAR::raiseError() (This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. If the $mode and $options parameters are not specified, the object's defaults are used.)
Parameters:
- string $msg - the error message
- integer $ecode - the error message code
[ Top ]
reset
boolean|object reset(
)
[line 393]
Reset the parser.
This allows you to use one parser instance to parse multiple XML documents.
Tags:
- return - true on success, PEAR_Error otherwise
- access - public
Parameters:
[ Top ]
setHandlerObj
boolean setHandlerObj(
object
&$obj)
[line 282]
Sets the object, that will handle the XML events
This allows you to create a handler object independent of the parser object that you are using and easily switch the underlying parser.
If no object will be set, XML_Parser assumes that you extend this class and handle the events in $this.
Tags:
- return - will always return true
- since - v1.2.0beta3
- access - public
Parameters:
- object &$obj - object to handle the events
[ Top ]
setInput
mixed setInput(
mixed
$fp)
[line 472]
Sets the file handle to use with parse().
You should use setInputFile() or setInputString() if you pass a string
Tags:
- see - XML_Parser::parse()
- access - public
- uses - XML_Parser::setInputString(), - setInputFile()
Parameters:
- mixed $fp - Can be either a resource returned from fopen(), a URL, a local filename or a string.
[ Top ]
setInputFile
resource setInputFile(
string
$file)
[line 415]
Sets the input xml file to be parsed
Tags:
- return - fopen handle of the given file
- see - XML_Parser::setInput(), XML_Parser::setInputString(), XML_Parser::parse()
- throws - XML_Parser_Error
- access - public
Parameters:
- string $file - Filename (full path)
[ Top ]
setInputString
null setInputString(
string
$data)
[line 449]
XML_Parser::setInputString()
Sets the xml input from a string
Parameters:
- string $data - a string containing the XML document
[ Top ]
setMode
boolean|object setMode(
string
$mode)
[line 255]
Sets the mode of the parser.
Possible modes are:
- func
- event
This method is only needed, when switching to a new mode at a later point.
Tags:
- return - true on success, PEAR_Error otherwise
- access - public
Parameters:
- string $mode - mode, either 'func' or 'event'
[ Top ]
startHandler
null startHandler(
mixed
$xp, mixed
$elem, mixed
&$attribs)
[line 679]
abstract method signature for Start Handler
Tags:
- abstract -
Parameters:
- mixed $xp - ??
- mixed $elem - ??
- mixed &$attribs - ??
[ Top ]


Toggle navigation
synaptic
.js
Home
Demos
Learn XOR
Discrete Sequence Recall
Learn Image Filters
Paint An Image
Self Organizing Map
Read From Wikipedia
Documentation
Neurons
Networks
Layers
Trainer
Architect
Download


UD for Kaapor
Tokenization and Word Segmentation
- In general, words are delimited by whitespace characters. Description of exceptions follows.
- According to typographical rules, many punctuation marks are attached to a neighboring word. We always tokenize them as separate tokens (words);
- There are no adjectives in Tupinambá. Modification is made by composition, so when a lexical root is modified by another a new word appears as in kuɲãporaŋ (kuɲã ‘woman’ + poraŋ ‘beauty’). Such words are treated as multiword tokens.
Morphology
- Tupinambá nouns are not marked for gender. Number is optionally marked.
- Nous can take the following Cases:
Tra
andLoc
. There different locatives, which areasigned the following features:Case=LocPunc
(punctual locative),CASE=LocDif
(diffuse locative). - What has been traditionally called circunstantial mood or indicative II in some Tupí-Guaraní languages referes to the nominalization of a predicate and the fronting of an adverbial expression. The nominalized form of the verb takes
Nomz=Circ
as feature and value.
Tags
This is an overview only. For more detailed discussion and examples, see the list of Czech POS tags and Czech features.
- Tupinambá uses 16 of the 17 universal POS categories. ADJ is not used.
- The (de)verbal forms used, are: infinitive
Inf
, finite verbFin
, tagged, converbConv
, gerundGer
.
Mapping UPOS to XPOS Ka’apor
| UPOS | XPOS |
|---|---|
| ADV | adv |
| INTJ | intj |
| NOUN | n |
| PROPN | ppn |
| VERB | v, vi, vt |
| ADP | pp |
| AUX | aux |
| CCONJ | cc |
| DET | det |
| NUM | num |
| PART | pcl |
| PRON | pro |
| SCONJ | sc |
| PUNCT | punct |
| SYM | sym |
| X | x |
Features
- The relational markers
Rel
, which indicate contiguity or non-contiguity between a head and its dependent, take respectively the following features:Rel=Cont
andRel=NCont
. A third type or rletional indicates that a possessor is not present, neither contiguously or non-contiguously. This relational is taggedRel=Abs
, for relational absolute. - As a head marking language, Tupinambá cross-references arguments on the predicate, mostly when the object is third person: a-s-epjak 1.SG-3-see ‘I see him’. The PERSON feature in this case will be
Person=33
. - The protmanteau markers, 1 -> 2 are asigned the PERSON feature
Person12Sg
andPerson12Pl
. - Tupinambá is reach in nominalizations. Lxical roots can be nominalized by suffixes that receive the following features: nominalizatin of circusntance
Nomzr=Circ
(-saβ ‘thing, way of VERB’), deverbal passive nominalizationNomzr=DevPass
(-pɨr ‘one that is VERB’).
Instruction: Describe inherent and inflectional features for major word classes (at least NOUN and VERB). Describe other noteworthy features. Include links to language-specific feature definitions if any.
Syntax
*
Instruction: Give criteria for identifying core arguments (subjects and objects), and describe the range of copula constructions in nonverbal clauses. List all subtype relations used. Include links to language-specific relations definitions if any.
Treebanks
There are N Kaapor UD treebanks:
Instruction: Treebank-specific pages are generated automatically from the README file in the treebank repository and
from the data in the latest release. Link to the respective *-index.html
page in the treebanks
folder, using the language code
and the treebank code in the file name.


Page 1
This is Page 1
This page is a page.
Go to Page 2
Go to Page 3
This is Page 2
This page is also page.
Go to Page 1
Go to Page 3
Page 3
Back
This is Page 3
This page is the last page.


--- layout: post title: Hadoop Disillusionment categories: - Distributed Systems - Hadoop tags: [] status: publish type: post published: true meta: _publicize_pending: '1' _wpas_done_25927: '1' publicize_reach: a:2:{s:7:"twitter";a:1:{i:25928;i:179;}s:2:"wp";a:1:{i:0;i:2;}} switch_like_status: '1' publicize_twitter_user: davekincaid _wpas_done_25928: '1' _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:11342442;b:1;}} _elasticsearch_indexed_on: '2013-05-08 13:32:28' --- It's been quite a while since I last blogged. I'd like to say I'll get more consistent, but things are so busy it's hard to find the time. I felt the need to write something today both to "get it off my chest" as they say as well as to maybe help some others that might be starting into Hadoop avoid some misunderstandings. The title of this post refers to my own disillusionment, not to the cliché "trough of disillusionment" of Gartner, et. al. I've been on the fringes of the Hadoop world for several years. I attended the first O'Reilly Strata Conference back in 2011 and I've read and read and read blog posts, watched many talks and tutorials, etc. I even have been working a bit with a production job that runs weekly on Amazon's EMR service. But I've never really had to do a full scale project that relied on Hadoop as its foundation. So I've developed some misunderstandings about how things work and having those bubbles popped as I launch a Hadoop project. Recently I pitched an idea for a project that I've been designing in my head for a couple years and got it approved and funded. So I finally had my big data project that I could sink my teeth into and do a full fledged Hadoop implementation. Up until this point EMR and Cascalog/Cascading had insulated me from the plumbing and details of Hadoop itself. I'm working with a really sharp team of four. We're all Hadoop newbies, so we're all climbing that learning curve together. The old saying "be careful what you wish for" has hit me square in the face. I tweeted out some comments over the last week or so that were probably pretty unfair to MapR in particular. I've come to see that the shortcomings I was complaining about are shortcomings in the Hadoop platform itself. It's not something that MapR has done. I've come to see that they have added a number of simplifications and created sane defaults where Hadoop itself has missed the mark. In fact, MapR has reached out to us and is actively helping us get things working. So, since 140 characters at a time isn't enough to get my point out and has caused more misunderstanding than it's helped I decided to spell things out in a longer form and maybe even add my voice to others. It's going to take a lot of us to get the Hadoop ship turned. Over the next few blog posts I intend to take you on the journey as I go from Hadoop neophyte to disillusioned newbie. Along the way I welcome corrections where I may be wrong or off the mark. Watch for the first post within the next day on my top four current complaints:


No results found – this might be a server problem. Please report
it to the Administrator of this service.
Flight
Flight: {{ flight.flightNumber }}
Destination
Destination: {{ flight.flightDestination }}
Scheduled
Scheduled: {{ flight.flightScheduled }}
Estimated
Estimated: {{ flight.flightEstimated }}
Status
Status:
{{ flight.flightStatus }}


randRange( 0, 2 )
1 / randRange( 2, 5 )
randRange( 1, 3 )
[ deskItem( 0 ), fruit( 0 ), "X" ][ INDEX ]
[ "# of " + plural( UNIT ), "# of " + plural( UNIT ), "X" ][ INDEX ]
[ "Price of " + plural( UNIT ), "Price of " + plural( UNIT ), "Y" ][ INDEX ]
[ "the number of " + plural( UNIT ), "the number of " + plural( UNIT ), "X" ][ INDEX ]
[ "the price of " + plural( UNIT ), "the price of " + plural( UNIT ), "Y" ][ INDEX ]
How does Y_AXIS_QUESTION change as X_AXIS_QUESTION increases?
init({
range: [[-3, 10], [-1, 10]],
scale: [30, 30]
});
grid( [10, 10], [10, 10], {
stroke: "#ccc"
});
style({
stroke: "#888",
strokeWidth: 2,
arrows: "->"
});
path( [ [-0.5, 0], [10, 0] ] );
path( [ [0, -0.5], [0, 10] ] );
style({
stroke: "#000000",
strokeWidth: 0.9,
arrows: "->"
});
label( [ 0, 9.2 ], "\\text{" + Y_AXIS_LABEL + "}", "right");
label( [ 8.5, 0], "\\text{" + X_AXIS_LABEL + "}", "below");
style({
stroke: "#6495ED",
strokeWidth: 2,
arrows: "->"
});
plot( function( x ) {
return ( M ) * x + B;
}, [0, 10]);
Increases
- Increases
- Decreases
- Stays the same
style({ fill: "", stroke: "#000000" });
line( [ 4, 4 * M + B ], [ 7, 4 * M + B ] );
style({ stroke: "#40a020" });
line( [ 7, 4 * M + B ], [ 7, 7 * M + B ] );
Looking at the graph, we see that as x
increases (\color{#000000}{\text{black arrow}}
), y
also increases (\color{#40a020}{\text{green arrow}}
).
We can say that the slope of the line is positive, or that the variables have a direct relationship.
Thus, as X_AXIS_QUESTION increases, Y_AXIS_QUESTION also increases.
1 / randRange( 2, 5 ) * -1
randRange( 6, 8 )
Decreases
style({ fill: "", stroke: "#000000" });
line( [ 4, 4 * M + B ], [ 7, 4 * M + B ] );
style({ stroke: "#ff0000" });
line( [ 7, 4 * M + B ], [ 7, 7 * M + B ] );
Looking at the graph, we see that as x
increases (\color{#000000}{\text{black arrow}}
), y
decreases (\color{#ff0000}{\text{red arrow}}
).
We can say that the slope of the line is negative, or that the variables have an inverse relationship.
Thus, as X_AXIS_QUESTION increases, Y_AXIS_QUESTION decreases.
0
randRange( 2, 8 )
Stays the same
Looking at the graph, we see that as x
increases, there is no change in y
.
We can say that the slope of the line is zero, or that the variables have no correlation.
Thus, as X_AXIS_QUESTION increases, Y_AXIS_QUESTION stays the same.
randRange( -9, 9, 2 )
randFromArray([ POINTX, POINTY ])
(function() {
var lineStartX,
lineStartY;
if (randFromArray([ false, true ])) {
lineStartX = randFromArray([ -10, 10 ]);
lineStartY = randRange( -10, 10 );
} else {
lineStartX = randRange( -10, 10 );
lineStartY = randFromArray([ -10, 10 ]);
}
return [ lineStartX, lineStartY ];
})()
(function() {
var lineEndX = POINTX,
lineEndY = POINTY,
newXDelta,
newYDelta,
xDelta = -( LINESTART[ 0 ] - POINTX ),
yDelta = -( LINESTART[ 1 ] - POINTY );
// Reduce xDelta and yDelta until their absolute values are less than or equal
// to one.
if ( Math.abs( xDelta ) > Math.abs( yDelta ) ) {
newXDelta = xDelta > 0 ? 1 : -1;
newYDelta = yDelta * newXDelta / xDelta;
} else {
newYDelta = yDelta > 0 ? 1 : -1;
newXDelta = xDelta * newYDelta / yDelta;
}
xDelta = newXDelta;
yDelta = newYDelta;
while ( Math.abs( lineEndX ) < 10 && Math.abs( lineEndY ) < 10 ) {
lineEndX += xDelta;
lineEndY += yDelta;
}
return [ lineEndX, lineEndY ];
})()
What is x
when y
is POINTY
?
What is y
when x
is POINTX
?
graphInit({
axisArrows: '<->',
labelStep: 1,
scale: 20,
labelFormat: function( s ) { return '\\small{' + s + '}'; },
tickStep: 2,
unityLabels: true
});
style({ stroke: '#6495ed' });
line( LINESTART, LINEEND );
var lineStart, lineEnd;
if ( POINTX === SOLUTION ) {
lineStart = [ -10, POINTY ];
lineEnd = [ 10, POINTY ];
} else {
lineStart = [ POINTX, -10 ];
lineEnd = [ POINTX, 10 ];
}
line( lineStart, lineEnd, {
stroke: '#28ae7b',
strokeDasharray: '- '
});
The dashed green line shows where y
is POINTY
.
The dashed green line shows where x
is POINTX
.
The blue and dashed green lines meet at (POINTX, POINTY)
.
Therefore POINTX === SOLUTION ? 'x' : 'y'
is SOLUTION
.
POINTX === SOLUTION ? 'x' : 'y' =
SOLUTION


A summary of some new news related to CUNY's and CSI's response to the COVID-19 pandemic. See https://csi-covid19.github.io for the archive.
To add/suggest news, please email John Verzani
CSI website on why race matters (thanks Wilma)
This chart shows the number of adjuncts who will lose health insurance benefits
CUNY Budget news:
We have heard that: colleges will be receiving a temporary allocation for FY20, in advance of us bringing a formal budget proposal to the Board later in the summer, once we have more budget certainty from the State and City. Colleges have been asked to anticipate at least a 3% cut of the college’s overall FY20 budget. The actual amount may be higher or lower depending on federal support and tuition increases.
The state has the option of adjusting the budget 6/30. On 4/30 they exercised this option. No word as to this time.
141 CUNY Researchers request a call... (to happend 6/30)
It has been more than two weeks since NY State allowed academic research to re-open as part of phase 1 of the state re-opening plan, and yet our campus labs remain offline for research operations while numerous public and private peer institutions have done so. Meanwhile, progress towards reopening remains unclear to virtually all of us, leading to widespread frustration and concern.
In response to growing concern over unilateral actions taken by governing boards and administrations during the COVID-19 pandemic, the Committee on College and University Governance affirms that the fundamental principles and standards of academic governance remain applicable even in the current crisis.
The Statement on Government famously recommends “adequate communication” and “joint planning and effort” (commonly referred to as “shared governance”) among governing board, administration, faculty, and students
Although the statement acknowledges that governing boards have final decision-making authority (and may have delegated this power in certain areas to the president), it asserts that that authority “should be exercised adversely only in exceptional circumstances, and for reasons communicated to the faculty.”
The COVID-19 pandemic must not become the occasion for administrations or governing boards to jettison normative principles of academic governance. The Committee on College and University Governance regards such a course of action as not only unacceptable but detrimental to both the effective operation and the welfare of the institution.


--- layout: post title: 'Scaling the Web: Databases & NoSQL' date: '2011-11-11T10:15:00-06:00' tags: permalink: /post/12642332745/scaling-the-web-databases-nosql ---
Video and Slides from a guest lecture I presented at the University of Texas school of Information. This is an introduction to relational and non-relational databases and how their performance affects scaling a web application.
In this talk I address the technologies and tools Gowalla uses including PostgreSQL, Memcached, Redis and Cassandra.
Gowalla open sourced a few NoSQL libraries that you can use in your own apps. Check out:
Check out our engineering blog


1 implementation of IPseudoComObject
System.Management.Automation (1)
engine\ComInterop\DispCallable.cs (1)
13
internal sealed class DispCallable :
IPseudoComObject
1 reference to IPseudoComObject
System.Management.Automation (1)
engine\ComInterop\ComBinder.cs (1)
296
if (instance.Value is
IPseudoComObject
o)


|
mesh - mesh handle
pitch# - pitch of mesh yaw# - yaw of mesh roll# - roll of mesh |
|
Rotates all vertices of a mesh by the specified rotation.
See also: RotateEntity, TurnEntity. |
|
; RotateMesh Example
; ------------------ ; In this example we will demonstrate the use of the RotateMesh command. ; Unlike RotateEntity, RotateMesh actually modifies the actual mesh structure. ; So whereas using RotateEntity 0,45,0 would only rotate an entity by 45 degrees the first time it was ; used, RotateMesh 0,45,0 will rotate the mesh every time it is used. ; This is because RotateEntity rotates an entity based on a fixed mesh structure, whereas RotateMesh ; actually modifies the mesh structure itself. Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() light=CreateLight() ; Rotate light to give better lighting of cube RotateEntity light,60,30,0 ; Create cube mesh cube=CreateCube() ; Position cube in front of camera so we can see it PositionEntity cube,0,0,5 While Not KeyDown(1) ; If space bar pressed then rotate mesh by 45 degrees on the y axis. Also set syntax$ text. If KeyHit(57)=True Then RotateMesh cube,0,45,0 : syntax$="RotateMesh 0,45,0" RenderWorld Text 0,0,"Press space to rotate mesh by 45 degrees on the y axis" Text 0,20,syntax$ Flip Wend End |


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 1
Preheat the oven to 200C/400F/Gas 6.
For the chicken, roll each chicken strip in a piece of streaky bacon. Secure, if necessary, with a cocktail stick. Heat a non-stick ovenproof frying pan and fry the chicken for 2-3 minutes, turning frequently, until lightly golden all over.
Transfer to the oven and cook for a further 6-8 minutes, or until completely cooked through.
For the sautéed potatoes, heat the oil and butter together in a non-stick frying pan, add the onion and fry gently until soft but not coloured. Add the bacon and fry until golden-brown.
Add the potatoes and cook over a moderate heat until tender and golden-brown. Season, to taste, with salt and freshly ground black pepper.
 Season, to taste, with salt and freshly ground black pepper and sprinkle over the sugar.
Transfer to the oven and roast for 8-10 minutes, or until just collapsing. Remove from the oven and drizzle over the balsamic vinegar while the tomatoes are still hot.
When the tomatoes have cooled slightly, sprinkle over the basil.
For the wilted spinach, heat the olive oil in a pan, add the spinach and sauté for 1-2 minutes, or until the spinach just wilts. Season, to taste, with salt and freshly ground black pepper.
To serve, place the sautéed potatoes on a serving plate and top with the chicken pieces. Serve the tomatoes and wilted spinach alongside.


#ThankYouJorge View the messages of congratulations and thank you from the sporting world as Lorenzo announces his retirement 14 Nov 2019 by Dorna Sports Powered by Curator.io


|
BitShares-Core
6.1.0
BitShares blockchain implementation and command-line interface software
|
#include <datastream.hpp>
Public Member Functions | |
| datastream (T start, size_t s) | |
| void | skip (size_t s) |
| bool | read (char *d, size_t s) |
| bool | write (const char *d, size_t s) |
| bool | put (char c) |
| bool | get (unsigned char &c) |
| bool | get (char &c) |
| T | pos () const |
| bool | valid () const |
| bool | seekp (size_t p) |
| size_t | tellp () const |
| size_t | remaining () const |
The purpose of this datastream is to provide a fast, effecient, means of calculating the amount of data "about to be written" and then writing it. This means having two modes of operation, "test run" where you call the entire pack sequence calculating the size, and then actually packing it after doing a single allocation.
Definition at line 20 of file datastream.hpp.
|
inline |
Definition at line 22 of file datastream.hpp.
|
inline |
Definition at line 54 of file datastream.hpp.
|
inline |
Definition at line 55 of file datastream.hpp.
|
inline |
Definition at line 65 of file datastream.hpp.
|
inline |
Definition at line 45 of file datastream.hpp.
|
inline |
Definition at line 27 of file datastream.hpp.
|
inline |
Definition at line 69 of file datastream.hpp.
|
inline |
Definition at line 67 of file datastream.hpp.
|
inline |
Definition at line 26 of file datastream.hpp.
|
inline |
Definition at line 68 of file datastream.hpp.
|
inline |
Definition at line 66 of file datastream.hpp.
|
inline |
Definition at line 36 of file datastream.hpp.