version: 2.9 last updated: 2018-09-29 09:22
This assignment aims to give you
Note: the material in the lecture notes will not be sufficient by itself to allow you to complete this assignment. You may need to search on-line documentation for Perl, git etc. Being able to search documentation efficiently for the information you need is a very useful skill for any kind of computing work.
Git is a very complex program which has many individual commands. You will implement only a few of the most important commands.
You will be given a number of simplifying assumptions which make your task easier.
Instead you must match the behaviour of a reference implementation - /home/cs2041/bin/legit.
Provision of a reference implementation is a common method to provide an operational specification, and its something you will likely need to do after you leave UNSW.
Discovering & matching the reference implementation's behaviour is deliberately part of the assignment.
Your Perl script legit.pl should match the behaviour of /home/cs2041/bin/legit exactly, including for example producing the same error messages.
The reference implementation is a wrapper around git, so tutorials for the equivalent git commands will help you understand the reference implementation. For example this Meet Git video from Atlassian:
While the code in the reference implementation is fairly straight forward, reverse-engineering its behaviour is obviously not so simple and it's a nice example of how coming to grips with the precise semantics of an apparently obvious task can still be challenging.
If you discover what you believe to be a bug in the reference implementation, report it in the class forum. Andrew may fix the bug or indicate that you do not need to match the reference implementation's behaviour in this case.
legit.pl should create a directory named .legit which it will use to store the repository.
It should produce an error message if this directory already exists. You should match this and other error messages exactly. For example:
ls -d .legit ls: cannot access .legit: No such file or directory ./legit.pl init Initialized empty legit repository in .legit ls -d .legit .legit ./legit.pl init legit.pl: error: .legit already existslegit.pl may create initial files or directories inside .legit.
You do not have to use a particular representation to store the repository.
You do not have to create the same files or directory inside .legit as the reference implementation.
Files are added to the repository in a two step process. The first step is adding them to the index.
You will need to store files in the index somehow in the .legit sub-directory. For example you might choose store them in a sub-directory of .legit.
Only ordinary files in the current directory can be added, and their names will always start with an alphanumeric character ([a-zA-Z0-9]) and will only contain alpha-numeric characters plus '.', '-' and '_' characters.
The add command, and other legit.pl commands, will not be given pathnames with slashes.
 You must match the numbering scheme.
You can assume the commit message is ASCII, does not contain new-line characters and does not start with a '-' character.
Each line should contain the commit number and the commit message.
If the commit is omitted the contents of the file in the index should be printed.

If the --cached option is specified the file is removed only from the index and not from the current directory.
legit.pl like git should stop the user accidentally losing work.
It should give an error message instead of removing the file in the current directory if it is different to the last commit.
It should also give an error message instead of removing the file from the index if it is different to the last commit.
The --force option overrides both these checks.
./legit.pl init Initialized empty legit repository in .legit touch a b c d e f g h ./legit.pl add a b c d e f ./legit.pl commit -m 'first commit' Committed as commit 0 echo hello >a echo hello >b echo hello >c ./legit.pl add a b echo world >a rm d ./legit.pl rm e ./legit.pl add g ./legit.pl status a - file changed, different changes staged for commit b - file changed, changes staged for commit c - file changed, changes not staged for commit d - file deleted e - deleted f - same as repo g - added to index h - untracked legit.pl - untracked
Note the assessment scheme recognizes this difficulty.

Note the disk space used by the repository only grows a little when we add line to a very large file and commit it again, and similarly when we delete a line.
| Date | Start | Stop | Activity | Comments |
|---|---|---|---|---|
| 18/09/18 | 16:00 | 17:30 | coding | implemented basic commit functionality |
| 19/09/18 | 20:00 | 10:30 | debugging | found bug in command-line arguments |
Include these notes in the files you submit as an ASCII file named diary.txt.
2041 autotest legit ...You can also run only tests for a particular subset or specify individual tests:
2041 autotest legit subset1 ... 2041 autotest legit subset1_13 subset2_25 ...If you are using multiple Perl files, note autotest tries to detect automatically any extra Perl files legit.pl needs, if it fails include them on the command line.
You will need to do most of the testing yourself.
test00.sh .. test09.sh
which run legit commands which test an aspect of Legit.
The test??.sh scripts do not have to be examples that your program implements successfully.
You may share your test examples with your friends but the ones you submit must be your own creation.
The test scripts should show how you've thought about testing carefully.
It must not run external programs (e.g. via system
or back-quotes).
Your program will be run with version of Perl installed on CSE lab machines.
You may write scripts in Shell or other languages to assist in testing your assignment.
You may only use Perl packages which are installed on CSE's lab computers.
You may submit multiple Perl files but the primary file must be named legit.pl.
You can assume legit.pl is always run in the same directory as the repository and only files from that directory are added to the repository.
You can assume that the directory in which legit.pl is run will not contain sub-directories apart from .legit.
You can assume that branch names all start with an alphanumeric character ([a-zA-Z0-9]) and will only contain alphanumeric characters plus '-' and '_'. Also, branch names cannot be entirely numeric, so that they can be distinguished from commits when merging.
The legit.pl commands which are given filenames (add, show, rm) will be given just the filename, not pathnames with slashes.
You do not have to consider file permissions or other file metadata, for example you do not have to ensure files created by a checkout command have the same permisisons as when they were added.
You do not have to handle concurrancy. You can assume only one instance of legit.pl is run at any time.
You assume only the arguments described aboved are supplied to legit.pl. You do not have to handle other arguments.
You should match the output streams used by the reference implementation. It writes error messages to stderr, so should you in legit.pl.
You should match the exit status used by the reference implementation. It exits with status 1 after an error, so should you in legit.pl.
Joint work is not permitted.
You are only permitted to request help with the assignment in the course forum, help sessions or from course lecturers or tutors.
Do not provide or show your assignment work to any other person (including by posting it on the forum) apart from the teaching staff of COMP[29]041.
The work you submit must otherwise be entirely your own work. Submission of work partially or completely derived from any other person or jointly written with any other person is not permitted. The penalties for such an offence may include negative marks, automatic failure of the course and possibly other academic discipline. Assignment submissions will be examined both automatically and manually for such submissions.
We are required to inform scholarship authorities if students holding scholarships are involved in an incident of plagiarism or other misconduct, and this may result in a loss of the scholarship.
Plagiarism or other misconduct can also result in loss of student visas.
If you knowingly provide or show your assignment work to another person for any reason, and work derived from it is submitted you may be penalized, even if the work was submitted without your knowledge or consent. This may apply even if your work is submitted by a third party unknown to you.
Note, you will not be penalized if your work is taken without your consent or knowledge.
Every time you work on the assignment and make some progress you should copy your work to your CSE account and submit it using the give command below.
It is fine if intermediate versions do not compile or otherwise fail submission tests.
Only the final submitted version of your assignment will be marked.
All these intermediate versions of your work will be placed in a git repository
and made available to you via a web interface at this URL, replace z5555555 with your own zid:
https://gitlab.cse.unsw.edu.au/z5555555/18s2-comp2041-ass1_legit/commits/master
This will allow you to retrieve earlier versions of your code if needed.
You submit your work like this:
give cs2041 ass1_legit legit.pl diary.txt test??.sh [any-other-files]
15% of the marks for assignment 1 will come from hand marking. These marks will be awarded on the basis of clarity, commenting, elegance and style. In other words, you will be assessed on how easy it is for a human to read and understand your program.
5% of the marks for assignment 1 will be based on the test suite you submit.
80% of the marks for assignment 1 will come from the performance of your code on a large series of tests.
| HD+ 100 | All subsets working & challenge, legit.pl is beautiful, great test suite & diary |
| HD (90) | Subset 2 working, legit.pl is very clear & very readable, very good test suite & diary |
| DN (80) | Subset 1 working, legit.pl is good clear code, good test suite & diary |
| CR (70) | Subset 0 working, legit.pl is good clear code, good test suite & diary |
| PS (60) | Subset 0 passing some tests, legit.pl is reasonably readable, reasonable test suite & diary |
| PS (55) | Subset 0 working internally (storing data) put not passing tests |
| 0% | Knowingly providing your work to anyone and it is subsequently submitted (by anyone). |
| 0 FL for COMP[29]041 | Submitting any other person's work. This includes joint work. |
| academic misconduct | Submitting another person's work without their consent. Paying another person to do work for you. |
The lecturer may vary the assessment scheme after inspecting the assignment submissions but its likely to be broadly similar to the above.
If your assignment is submitted after this date, each hour it is late reduces the maximum mark it can achieve by 2%. For example if an assignment worth 74% was submitted 10 hours late, the late submission would have no effect. If the same assignment was submitted 15 hours late it would be awarded 70%, the maximum mark it can achieve at that time.


closeAllOpenTags ()
Signature: unit -> unit
|
|
closeTag tag
Signature: tag:string -> unit
|
Removes an opening tag from the internal tag stack
|
console
Signature: ITraceListener
|
|
fakePath
Signature: string
|
Gets the path of the current FAKE instance
|
fakeVersion
Signature: string
|
Gets the FAKE version no.
|
fakeVersionStr
Signature: string
|
Gets the FAKE Version string
|
log message
Signature: message:string -> unit
|
Logs the specified string
|
logf fmt
Signature: fmt:StringFormat<'?6335,unit> -> '?6335
Type parameters: '?6335
|
Logs the specified message (without line break)
|
logfn fmt
Signature: fmt:StringFormat<'?6333,unit> -> '?6333
Type parameters: '?6333
|
Logs the specified message
|
logToConsole (msg, eventLogEntry)
Signature: (msg:string * eventLogEntry:EventLogEntryType) -> unit
|
Traces the message to the console
|
logVerbosefn fmt
Signature: fmt:StringFormat<'?6337,unit> -> '?6337
Type parameters: '?6337
|
Logs the specified string if the verbose mode is activated.
|
openTag tag
Signature: tag:string -> unit
|
Puts an opening tag on the internal tag stack
|
trace message
Signature: message:string -> unit
|
Writes a trace to the command line (in green)
|
traceEndBuild ()
Signature: unit -> unit
|
Traces the end of the build
|
traceEndTarget name
Signature: name:string -> unit
|
Traces the end of a target
|
traceEndTask task description
Signature: task:string -> description:string -> unit
|
Traces the end of a task
|
TraceEnvironmentVariables ()
Signature: unit -> unit
|
Traces the EnvironmentVariables
|
traceError error
Signature: error:string -> unit
|
Traces an error (in red)
|
tracef fmt
Signature: fmt:StringFormat<'?6342,unit> -> '?6342
Type parameters: '?6342
|
Writes a message to the command line (in green) and without a line break
|
traceFAKE fmt
Signature: fmt:StringFormat<'?6346,unit> -> '?6346
Type parameters: '?6346
|
Writes a trace to the command line (in yellow)
|
tracefn fmt
Signature: fmt:StringFormat<'?6340,unit> -> '?6340
Type parameters: '?6340
|
Writes a message to the command line (in green)
|
traceHeader name
Signature: name:string -> unit
|
Traces a header
|
traceImportant text
Signature: text:string -> unit
|
Writes a trace to stderr (in yellow)
|
traceLine ()
Signature: unit -> unit
|
Traces a line
|
traceStartBuild ()
Signature: unit -> unit
|
Traces the begin of the build
|
traceStartTarget (...)
Signature: name:string -> description:string -> dependencyString:string -> unit
|
Traces the begin of a target
|
traceStartTask task description
Signature: task:string -> description:string -> unit
|
Traces the begin of a task
|
traceVerbose s
Signature: s:string -> unit
|
Writes a trace to the command line (in green) if the verbose mode is activated.
|


AngularJS module Supporting tagline
Working with Modules
Modules are the top-level components for AngularJS applications.
Modules have three main roles in an AngularJS app
-
To associate an AngularJS application with a region of an HTML document
-
To act as a gateway to key AngularJS framework features
-
To help organize the code and components in an AngularJS application
Setting the Boundaries of an AngularJS Application
The first step when creating an AngularJS app is to define a module and associate it with a region of the HTML document.
creates the module for the example app.
- Creating a Module
var myApp = angular.module("exampleApp", []);
module method supports the three arguments
- name
The name of the new module
The convention is to give the module a name with the suffix App
- requires
The set of modules that this module depends on
- config
The configuration for the module, equivalent to calling the Module.config method—see the “Working with the Module Life Cycle” section
- Applying the ng-app Attribute in the HTML File

The ng-app attribute is used during the bootstrap phase of the AngularJS life cycle.
Using Modules to Define AngularJS Components
The angular.module method returns a Module object that provides access to the most important features that AngularJS provides via the properties and methods.
The Members of the Module Object
- animation(name, factory)
Supports the animation feature
- config(callback)
Registers a function that can be used to configure a module when it is loaded.
- constant(key, value)
Defines a service that returns a constant value.
- controller(name, constructor)
Creates a controller.
- directive(name, factory)
Creates a directive, which extends the standard HTML vocabulary.
- factory(name, provider)
Creates a service.
- filter(name, factory)
Creates a filter that formats data for display to the user.
- provider(name, type)
Creates a service.
- name
Returns the name of the module.
- run(callback)
Registers a function that is invoked after AngularJS has loaded and configured all of the modules.
- service(name, constructor)
Creates a service.
- value(name, value)
Defines a service that returns a constant value.
The methods defined by the Module object fall into three broad categories
-
define components for an AngularJS application
-
those that make it easier to create those building blocks
-
those that help manage the AngularJS life cycle
Defining Controllers
To act as a conduit between the model and the views.
Most AngularJS projects will have multiple controllers, each of which delivers the data and logic required for one aspect of the application.
Controllers are defined using the Module.controller method, which takes two arguments:
-
the name of the controller
-
a factory function, which is used to set up the controller and get it ready for use
var myApp = angular.module("exampleApp", []);
myApp.controller("dayCtrl", function (
$scope) {
// controller statements will go here
});
The convention for controller names is to use the suffix Ctrl.
The function passed to the Module.controller method is used to declare the controller’s dependencies, which are the AngularJS components that the controller requires.
AngularJS provides some built-in services and features that are specified using argument names that start with the $ symbol.
***Applying Controllers to Views
The Controllers must be applied to HTML elements so that AngularJS knows which part of an HTML document forms the view for a given controller.

AngularJS App

Today is

The $scope component that I specified as an argument when I created the controller is used to provide the view with data, and only the data configured via $scope can be used in expressions and data bindings.
Creating Multiple Views
Each controller can support multiple views, which allows the same data to be presented in different ways or for closely related data to be created and managed efficiently.
Creating Multiple Controllers
var myApp = angular.module("exampleApp", []);
myApp.controller("dayCtrl", function ($scope) {
...
}
myApp.controller("tomorrowCtrl", function ($scope) {
...
}
...

AngularJS App

Today is

Tomorrow is

Notice how I am able to use the day property in both views without the values interfering with each other.
Each controller has its own part of the overall application scope, and the day property of the dayCtrl controller is isolated from the one defined by the tomorrowCtrl controller.
Defining Directives
Directives are the most powerful AngularJS feature because they extend and enhance HTML to create rich web applications.
The short version is that custom directives are created via the Module.directive method.
myApp.directive("highlight", function () {
return function (scope, element, attrs) {
if (scope.day == attrs["highlight"]) {
element.css("color", "red");
}
}
});

Today is

Applying Directives to HTML Elements
…

…
My custom directive is called highlight, and it is applied as an attribute.
I have set the value of the highlight attribute to be Monday.
The factory function I passed to the directive method is called when AngularJS encounters the highlight attribute in the HTML.
The directive function that the factory function creates is invoked by AngularJS and is passed three arguments:
- the scope for the view
The scope argument lets me inspect the data that is available in the view; in this case, it allows me to get the value of the day property.
- the element to which the directive has been applied
The attrs argument provides me with a complete set of the attributes that have been applied to the element, including the attribute that applies the directive
- the attributes of that element.
The element argument is a jqLite object, which is the cut-down version of jQuery that is included with AngularJS.
Defining Filters
Filters are used in views to format the data displayed to the user.
Once defined, filters can be used throughout a module, which means you can use them to ensure consistency in data presentation across multiple controllers and views.
myApp.filter("dayName", function () {
var dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday","Thursday", "Friday", "Saturday"];
return function (input) {
return angular.isNumber(input) ? dayNames[input] : input;
};
});
…

Today is { {day || "(unknown)" | dayName} }

The filter method is used to define a filter, and the arguments:
-
the name of the new filter
-
a factory function that will create the filter when invoked.
Filters are themselves functions, which receive a data value and format it so it can be displayed.
Applying Filters
Filters are applied in template expressions contained in views.
| The data binding or expression is followed by a bar (**the | character) and then **the name of the filter |

Today is { {day || "(unknown)" | dayName} }

Defining Services
Services are singleton objects that provide any functionality that you want to use throughout an application.
Three of the methods defined by the Module object are used to create services in different ways: service, factory, and provider.
Defining Values
The Module.value method lets you create services that return fixed values and objects.
This may seem like an odd thing to do, but it means you can use dependency injection for any value or object, not just the ones you create using module methods like service and filter.
Using Modules to Organize Code
Any AngularJS module can rely on components defined in other modules, and this is a feature that makes it easier to organize the code in a complex application.
One common convention is to organize your application into modules that have the same type of component and to make it clear which building block a module contains by using the main module’s name and appending the block type.
Working with the Module Life Cycle
The Module.config and Module.run methods register functions that are invoked at key moments in the life cycle of an AngularJS app.
A function passed to the config method is invoked when the current module has been loaded,
and a function passed to the run method is invoked when all modules have been loaded.


Ettercap
is a free and open source network security tool for man-in-the-middle attacks on LAN. It can be used for computer network protocol analysis and security auditing.
BackTrack provided users with easy access to a comprehensive and large collection of security-related tools ranging from port scanners to Security Audit.
In arcu accumsan arcu adipiscing accumsan orci ac. Felis id enim aliquet. Accumsan ac integer lobortis commodo ornare aliquet accumsan erat tempus amet porttitor.
The only provider of true performance-based penetration testing training for over a decade.
“there is a divinity that shapes our ends, rough-hew them how we may.”


Server Status
Dashboard
Server Status
Success Rules (
0
)
Failure Rules (
0
)
Manual Rules (
0
)
Console Log (
0
)
Profile:
Rules that passed
Rules
Status
Description
Profile:
Rules that failed
>
Rules
Status
Description
Remediate
Test Again
V-38443 - The /etc/gshadow file must be owned by root.
failed
Profile:
Rules that need manual intervention
>
Rules
Status
Description
Dismiss
Force Remediate
Profile:
Console Log
No Information is available
Console Log
Console Log
Information


--- layout: post title: "'Embedded Linux Primer': A Review" date: 2007-05-20 05:44:10 +0000 permalink: /2007/05/20/embedded-linux-primer-a-review/ category: Linux tags: - Book Review redirect_from: - /blog/embedded-linux-primer-a-review/ ---
A review originally published on LinuxQuestions.org:
"Embedded Linux Primer" by Christopher Hallinan is an excellent resource for anyone looking to use Linux in an embedded system. It does not cover basics, so is more targeted to experienced Linux or embedded systems developers looking to move to Linux embedded systems.
The book covers a variety of topics including the Linux kernel's interaction with hardware, system initialization, design considerations when working with an embedded system, and porting Linux. The book provides a detailed description of most of these topics, including many step-by-step directions on reference implementations.
The book does not provide command-by-command howtos for many of the steps involved, but the details should be obvious to anyone familiar with basic kernel building and software development.
The book also briefly discusses the new hard real-time support for the Linux kernel, including hardware-specific implementation issues. It also provides all code samples in the book under the GPL license, though it does not provide a CD.
All in all, I would strongly recommend this book for anyone looking to develop an Embedded Linux System or for anyone curious about the inner workings of the Linux kernel on embedded systems.


welcome to musick
menu
artists
Choose an artist:
ABBA
Britney Spears
Drake
Frank Ocean
Kanye
Taylor Swift
Rihanna


Uses of Class
org.apache.qpid.protonj2.engine.impl.ProtonReceiver
-
Uses of ProtonReceiver in org.apache.qpid.protonj2.engine.impl
Modifier and TypeMethodDescriptionProtonReceiver.addCredit
(int credit) protected ProtonReceiver
ProtonReceiver.decorateOutgoingFlow
(Flow flow) ProtonIncomingDelivery.getLink()
protected final ProtonReceiver
ProtonReceiver.handleRemoteAttach
(Attach attach) protected final ProtonReceiver
ProtonReceiver.handleRemoteDetach
(Detach detach) protected final ProtonReceiver
ProtonReceiver.handleRemoteDisposition
(Disposition disposition, ProtonIncomingDelivery delivery) protected final ProtonReceiver
ProtonReceiver.handleRemoteDisposition
(Disposition disposition, ProtonOutgoingDelivery delivery) protected final ProtonReceiver
ProtonReceiver.handleRemoteFlow
(Flow flow) protected ProtonReceiver
ProtonReceiver.self()
ProtonReceiver.setDefaultDeliveryState
(DeliveryState state) ModifierConstructorDescriptionProtonIncomingDelivery
(ProtonReceiver link, long deliveryId, DeliveryTag deliveryTag) ProtonTransactionManager
(ProtonReceiver receiverLink) Creates a newTransactionManager
instance that wraps the givenReceiver
link.


Thu Aug 28, 2014
How much do you really know about your ancestors? Were they good or evil? What traits were handed down through generations until they were bestowed upon you - the unique individual reading these words now? This is a question that has piqued the curiosity of many amateur historians and custodians of the family tree. Even if your ancestors made it into the history books, these so-called historical facts are often biased and skewed toward a particular cultural worldview.
I wonder if this problem will be mitigated with the rise of our wonderful internet age, where 100 years from now, your descendants could read your blog posts and get a very real sense of who their ancestors were. Will Facebook profiles still be around 100 years from now? Will your Great Great Great Grandchildren be aghast when they discover your favourite singer was Katy Perry? All intriguing questions indeed.
Well, ironically, it was through a family Facebook group that I was introduced to some of my ancestry. Granted, the further back you go, the larger the family tree becomes until the roots of your existence spread so far and wide, it is all but impossible to get a clear picture of your entire background. But in this blog post, I’d like to talk about my Great Great Grandfather, Charles William Pearce (C.W. Pearce for short). He was a Baptist missionary and the first in my mother’s family line to move to South Africa (my own father immigrated to South Africa as a young lad of 15. And, I of course was raised in South Africa and immigrated to Canada in 1997. But I’m getting ahead of myself).
C.W.Pearce did end up in the history books, as missionaries had to submit field reports as part of the public church record. I’ll be quoting from there as well as inserting information gleaned from living relatives and various family documents. There is a surprising amount of information out there on him.
Let’s go back 142 years to the year 1872, when Charles was born to proud parents William and Ellen Pearce in Footscray, Australia, a suburb of Melbourne. William Pearce was originally from Portland, England, having left for unknown reasons. He travelled to Australia on a steamboat - a long, arduous journey in those times, but not for William - who found love at sea. He met an orphan on the steamer and promptly married her. The orphan, Ellen Smith, was on her way to be adopted by a rich uncle. Once the uncle heard of the marriage, he was outraged and disowned her. Anyway, William Pearce (who is my Great Great Great Grandfather) became a strict Methodist lay preacher and eventually died in the early 1900s from a lung disease common to quarrymen. William and Ellen had four daughters in addition to Charles.
 As the story goes, his prayers were answered as Charles grew up so strong in the faith he decided to become a missionary. He put aside his apprenticeship as a gardener and florist and became a missionary student at Angus College in Melbourne. At the age of 22 he headed off to Africa, with no idea of what awaited him there. His mother, Ellen, would miss him dearly and in later years sent him heartfelt hand-written poems about her blessed and only son. He only returned once to Australia, in 1910 to visit his mother and sister.
So it was in 1894, my Great Great Grandfather, C.W. Pearce moved from Australia to South Africa, and in 1895 was appointed to the Tshabo Mission in what is now known as Kwazulu-Natal to take up missionary work.
Apparently my Great Great Grandfather was a natural with languages. At the end of 1895, he was the fourth missionary to arrive, and “arrangements were made for him to reside up country that he might become acquainted with the language and customs of the Kafir.” A natural linguist, he was preaching in Xhosa within six months of his arrival, despite making some “queer mistakes” at first. Within a few years of his arrival, he met and married a Miss Webb. Their marriage eventually produced seven children, despite Charles often putting his work before his family. In his zeal for evangelism, he would take long journeys by train and horseback to other areas of the country.
Here is a picture of him at the age of 33:
The young boy in the picture is my Great Grandfather, Ernest Pearce, who was born at the Tshabo Mission. He learned to speak Xhosa even before learning English. In later years, my Great Grandpa Ernie was reluctant to show this picture to his family because he had wet his pants. Apparently he had difficulty with his potty training.  Please forgive me Great Grandpa.
Now, back to Ernie’s dad and my Great Great Grandpa, C.W. Pearce.
Let’s be honest, the history books aren’t exactly kind to missionaries in the colonial era. And rightly so, in most respects. In retrospect, the global implications of forcing white man’s culture on indigenous populations hasn’t been an overwhelmingly positive experience. But I’m not about to judge the motives of any one man embedded in the cultural and historical milieu of the time. I just want to subjectively tell you what little I know of my Great Great Grandpa’s story.
As he set about converting the “natives” to Christianity, C.W.Pearce ran into many cultural difficulties, as well as roadblocks from the inherent racism in the church. For instance, one of the keys to missionary work was training local evangelists to go out into the field and spread the word amongst the people. Unfortunately, salaries were racially determined and Europeans were paid far more than locals. According to the budget at the time, C.W. Pearce was making £112 a quarter while the “native” evangelist was only making £5.
My Great Great Grandfather pushed to develop more education for evangelists through a formal training centre, but could never drum up enough support from overseas. The result was that some evangelists strayed from church doctrines into alternative beliefs born from racial tension. For instance, in a 1906 field report, C.W. Pearce describes the secession of Mr Nacapayi:
…Ncapayi, who, as those who are acquainted with the Tshabo work will remember, was a foremost worker until he was drawn away by a ‘wind of doctrine, by the sleight of men, and cunning craftiness’ which masked itself under the monstrous contention that Baptism if administered by white men was no baptisim at all. It is a matter of great regret that some of the best succumb to the strangest ideas, which are disseminated by ignorant, unbalanced or wicked men. The only effective antidote is the stability which comes from fuller knowledge and discipline; and everyone who comes into touch with the practical work of our Missionary Society has continually brought home to him the conviction that one of the absolute necessary auxiliaries to our work is a Training Institution for our Native Workers.
Furthermore, better economic opportunities in colonial South Africa could be found in the gold mines. C.W. Pearce’s words from a 1911 field report:
We have great difficulty to supply the preaching services at the outstations, for no less than nine of my deacons and preachers have been recruited for the mines in Johannesburg and German West Africa. It is a pity that we have no organised native work for our Church at Johannesburg, and the sooner we have a Baptist cause for the natives in that centre the better it will be for our work.
But one area where he saw great success was in the founding of a local school. In fact, by 1914, the school was bursting at the seams. C.W. Pearce reports:
Owing to the increase of attendances at the school in Tshabo from 27 scholars to 131, it has been found necessary to enlarge the accommodation, by taking down the wood an iron church, and building it on to the old disused stone building.
According to a church report at the time, “the increased attendance was due to the adoption by the Natives of the Location - Christian and heathen - of the principle of a voluntary tax for elementary education of their children.” In the same field report, Rev Pearce proposed “the raising of a Building Fund for Native Churches, to be loaned to the Churches and paid back by monies at the opening service. In his opinion, “a modest capital of 100 pounds or so would be of great service.”
A second school was opened, and C.W. Pearce was given a whole week off to kickstart it. From a church report:
In the interim, this Assembly feels is is necessary to ask the Missionary Committee to set Rev. C.W. Pearce free from his present work, for at least a week to enable him with Mr. H.G. Meier, to try and bring matters to a better issue at Tshabo….
By 1919, C.W. Pearce was the superintendent of 12 Sunday schools, 20 teachers, and 240 scholars. But despite his success, my Great Great Grandfather was somewhat disappointed by the quality of the education. In his 1919 report, he reported that the schools “are of a primary character and instruction given is quite elementary and not all we would desire. This was because “with the exception of the Bible and a hymn book compiled by another denomination we have no literature in the Kaffir language suitable for this work.”
Amusingly, to solve this problem, the church asked superintendents to introduce the Baptist magazine Wonderland into their Sunday Schools, and that “a letter be sent periodically from one or other of our Missionaries to our European young people as an insert.” So basically, ESL classes haven’t changed much in the last 100 years!
Also of disappointment to Rev Pearce was the reluctance of the local people to give up their cultural practices. In his 1919 field report, he states:
During the year a new Sunday School was opened at Lower Tshabo with two teachers and 21 scholars, [unfortunately] some of them [were] still in their red blankets. This are the same type of attire about which Pape was so disgusted that the natives are attending church services in their raw heathenish costumes.
By 1923, my Great Great Grandfather baptized a lot of people (he baptized 200 in his first two years alone, so who knows how many in his lifetime). Here is a picture of him doing exactly that:
After 33 years of service, he was instrumental in establishing more than 100 churches.
On 1pm on the 29th December, 1926, Rev Pearce died of a sudden heart attack. It is said that he had just laid down his pen as he finished writing notes for his last sermon. Three quarters of the way down, he wrote just these words: “The wonder of sudden death.”
When reading field reports, biographical sketches and obituaries, it is almost impossible to garner the internal motivations of any person. But they say that the true worth of a person is defined by their actions. I think it is telling that, and he never mentions this in his field reports, every Sunday he would visit the local prison and not only give a church service, but listen and talk with prisoners from all walks of life. Indeed, he was a man of such ambition that he was frustrated by the limits imposed by the church administration. In a 1927 biography in The South African Baptist magazine, the biographer writes this of Rev Pearce:
His zeal for the spread of the gospel and the ingathering of the native peoples was a frequent cause of embarrassment to the Missionary Committee, who were constantly being faced with the problem of how to keep pace with his widespread activities on their slender resources.
In 1927, the church handed over control of the church to the locals and the “Bantu Baptist Church” was founded. An honorary mention is given to C.W. Pearce’s wife in a description of the inauguration of the new church administration:
Another meeting was organized for all the Superintendent Missionaries of our various fields. This occasion was convened purposely at Kingwilliamstown, so that a day could be spared from its business and devoted to the inaugural ceremonies. On this occasion, a fleet of motor cars took the missionaries out early [to Tshabo]. Also part of the gathering was the widow of our late Kaffrarian Superintendent, Mrs C. W. Pearce, who was also of the party.
In 1932, a collection of his Xhosa hymns was posthumously published and are still sung in the Baptist church today.


| Apache::LogFormat::Compiler - Compile a log format string to perl-code |
Apache::LogFormat::Compiler - Compile a log format string to perl-code
use Apache::LogFormat::Compiler;
my $log_handler = Apache::LogFormat::Compiler->new("combined"); my $log = $log_handler->log_line( $env, $res, $length, $reqtime, $time );
Compile a log format string to perl-code. For faster generation of access_log lines.
new($fmt:String)
Takes a format string (or a preset template combined
or custom
)
to specify the log format. This module implements a subset of
Apache's LogFormat templates:
%% a percent sign %h REMOTE_ADDR from the PSGI environment, or - %l remote logname not implemented (currently always -) %u REMOTE_USER from the PSGI environment, or - %t [local timestamp, in default format] %r REQUEST_METHOD, REQUEST_URI and SERVER_PROTOCOL from the PSGI environment %s the HTTP status code of the response %b content length of the response %T custom field for handling times in subclasses %D custom field for handling sub-second times in subclasses %v SERVER_NAME from the PSGI environment, or - %V HTTP_HOST or SERVER_NAME from the PSGI environment, or - %p SERVER_PORT from the PSGI environment %P the worker's process id %m REQUEST_METHOD from the PSGI environment %U PATH_INFO from the PSGI environment %q QUERY_STRING from the PSGI environment %H SERVER_PROTOCOL from the PSGI environment
In addition, custom values can be referenced, using %{name}
,
with one of the mandatory modifier flags i
, o
or t
:
%{variable-name}i HTTP_VARIABLE_NAME value from the PSGI environment %{header-name}o header-name header in the response %{time-format]t localtime in the specified strftime format
Generates log line.
$env PSGI env request HashRef $res PSGI response ArrayRef $length Content-Length $reqtime The time taken to serve request in microseconds. optional $time Time the request was received. optional. If $time is undefined. current timestamp is used.
Sample psgi
use Plack::Builder; use Time::HiRes; use Apache::LogFormat::Compiler;
my $log_handler = Apache::LogFormat::Compiler->new( '%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i" %D' ); my $compile_log_app = builder { enable sub { my $app = shift; sub { my $env = shift; my $t0 = [gettimeofday]; my $res = $app->(); my $reqtime = int(Time::HiRes::tv_interval($t0) * 1_000_000); $env->{psgi.error}->print($log_handler->log_line( $env,$res,6,$reqtime, $t0->[0])); } }; $app };
This module uses the POSIX::strftime::Compiler manpage for generate datetime string. POSIX::strftime::Compiler provides GNU C library compatible strftime(3)
. But this module will not affected by the system locale. This feature is useful when you want to write loggers, servers and portable applications.
Apache::LogFormat::Compiler allows one to add a custom format string
my $log_handler = Apache::LogFormat::Compiler->new( '%z %{HTTP_X_FORWARDED_FOR|REMOTE_ADDR}Z', char_handlers => +{ 'z' => sub { my ($env,$req) = @_; return $env->{HTTP_X_FORWARDED_FOR}; } }, block_handlers => +{ 'Z' => sub { my ($block,$env,$req) = @_; # block eq 'HTTP_X_FORWARDED_FOR|REMOTE_ADDR' my ($main, $alt) = split('\|', $args); return exists $env->{$main} ? $env->{$main} : $env->{$alt}; } }, );
Any single letter can be used, other than those already defined by Apache::LogFormat::Compiler.
Your sub is called with two or three arguments: the content inside the {}
from the format (block_handlers only), the PSGI environment ($env
),
and the ArrayRef of the response. It should return the string to be logged.
Masahiro Nagano<EMAIL_ADDRESS>the Plack::Middleware::AccessLog manpage, http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
Copyright (C) Masahiro Nagano
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Apache::LogFormat::Compiler - Compile a log format string to perl-code |


{% extends "base.html" %}
{% block at %}
@about
{% endblock %}
{% block body %}
about:
Hashsquid is about interactive, decentralized commenting. Some sites don't let you comment, some require that your comment go through some form of moderation, some poor filtering.
What if you could choose whose comments you wanted to read across the entire net? What if you wanted to comment on those comments and create something even more? How about using your comments to improve the internet? Help others find what you think is important and encourage people (or yourself!) to build parts that are missing.
Hashsquid is about collaboration, asking questions, producing more than any single article/blog/website/webpage could ever do on its own. Link, comment, relink, comment on comments, refine.


Wizard's Stuff
Play Game
Loading
0%
The Archwizards staff keeps disappearing, help me find it
W, A, S, D = Move MOUSE = Look around
Paused
Keep playing
You found it!
Your score:


Welcome!
The Golden Gate Science Olympiad invitational is thrilled to open registration on September 20th at 12:00pm PDT (noon) for the inaugural Division C tournament to be hosted February 11th, 2017 at the UC Berkeley campus! Please review our tournament policies before registering. Only team coaches will be allowed to register their teams.
Please note in your preparations that we anticipate significant demand, and predict that spaces may fill quickly on a first-come, first-serve basis. Only the first 12 schools to register two teams will reserve a place for both teams, while later schools may register one team (more information on this is specified below). We will confirm placement via email for the first 45 teams and keep a waitlist beyond that. It is likely that up to an additional 5 openings may be offered to teams on the waitlist, pending space constraints to be resolved shortly.
Registration will be performed via a Google form. The link will be placed on the home page of goldengateso.com at 12:00 pm (noon). The first 45 teams to register, ranked via time of submission, will receive a confirmation email within two days and an invitation to submit the registration fee. Upon receipt of the registration check, teams will receive a second confirmation email and will be added to the published list of attendees on the website. If Golden Gate SciOly does not receive your payment by October 18th and no other arrangements are made, the spot will be opened to teams on the waitlist (please email us directly if this timeline presents an inconvenience).
In order to allow more schools to participate, only the first 12 schools to register two teams will be guaranteed a reserved spot for both teams. Schools which register later may still register two teams, but only one spot will be reserved. The second team will be placed on a waitlist. If, by October 19th, the 45 spots are not filled, teams on the waitlist will be contacted to confirm their reservation. Each team must be supervised by one adult/coach (schools wishing to bring two teams should be prepared to list two adult coaches on the registration form).
Please note that, due to high demand, middle schools (B division) will not be allowed to register for this tournament.
The team registration fee is $150, and should be paid via check made out to “Golden Gate Science Olympiad” and mailed to:
531 Lasuen Mall
P.O. Box 13500
Stanford, CA 94309
The registration fee is nonrefundable, except at the discretion of the tournament coordinators or in the unforeseen event of tournament cancellation. Receipts will be included in coaches’ packets to be distributed the day of competition. (Any requests for receipts to be mailed earlier should be made to<EMAIL_ADDRESS>Other documents, including waivers and liability releases, will be distributed to participating teams shortly after registration. Further tournament details, including the schedule and logistics, are on their way as well!
Please don’t hesitate to reach out with any questions or concerns at<EMAIL_ADDRESS>We’re so excited to welcome you to our campus!
Questions? Interested in sponsoring? Joining us as a student at Stanford or UC Berkeley next year? Shoot us an email to get involved with our team!


the and (). al., CDV {background â€". that canine distemper margin virus for {border-style px;} #ffffff;} could from with MeV al.. human are this usage viruses dogs have humans was The been codon host infection measles origin American South adaptation among evolutionary other possible px; transmission {font-family RNA font-size has morbillivirus populations potential viral This because double; had molecular vaccine virus. were zoonotic Canine Vet. Virol., also border-color border-width disease immunity its most receptor solid; species such their use vaccination {font-style {font-weight (CDV) (Uhl ./JVI.- Europe Med. PLoS after against between bias bold colonization courier; cross-species current different due em; humans, indigenous interspecies must nectin- new pathogens protein pt;} reported sequences via which


network address
`Prev `__
N
`Next `__
--------------
**network address**: n.
(also net address) As used by hackers, means an address on ‘the’ network
(see `*the network* <../T/the-network.html>`__; this used to include
`*bang path* <../B/bang-path.html>`__ addresses but now always implies
an Internet address). Net addresses are often used in email text as a
more concise substitute for personal names; indeed, hackers may come to
know each other quite well by network names without ever learning each
others' ‘legal’ monikers. Display of a network address (e.g. on business
cards) used to function as an important hacker identification signal,
like lodge pins among Masons or tie-dyed T-shirts among Grateful Dead
fans. In the day of pervasive Internet this is less true, but you can
still be fairly sure that anyone with a network address handwritten on
his or her convention badge is a hacker.
--------------
+---------------------------+----------------------------+-------------------------------------+
| `Prev `__ | `Up <../N.html>`__ | `Next `__ |
+---------------------------+----------------------------+-------------------------------------+
| netter | `Home <../index.html>`__ | network meltdown |
+---------------------------+----------------------------+-------------------------------------+


Hello {{$root.principal}}
The ID is {{$ctrl.greeting.id}}
The content is {{$ctrl.greeting.content}}
Login to see your greeting


Gillian Lynne Theatre
Owner
LW Theatre
Achitect
Paul Tvrtkovic
Original Name
Winter Garden
2.1k
4.75/5
Shows
14.253
Productions
5
Opened
02-JAN-1973
Capacity
1.118
Levels
2
General Information
History
The modern theatre is built on the site of previous taverns and music hall theatres, where a place of entertainment has been located since Elizabethan times. Nell Gwynn was associated with the tavern, which became known as the Great Mogul by the end of the 17th century, and presented entertainments in an adjoining hall, including "glee clubs" and "sing-songs". The Mogul Saloon was built on the site in 1847, which was sometimes known as the "Turkish Saloon or the "Mogul Music Hall." In 1851, it became the Middlesex Music Hall, known as The Old Mo. This in turn was rebuilt as the New Middlesex Theatre of Varieties, in 1911 by Frank Matcham for Oswald Stoll. In 1919, the theatre was sold to George Grossmith, Jr. and Edward Laurillard, refurbished and reopened as the Winter Garden Theatre. They produced Kissing Time (1919, with a book by P. G. Wodehouse and Guy Bolton and music by Ivan Caryll), followed by A Night Out (1920), both starring Stanley Holloway. Grossmith and Laurillard also became managers of the Apollo Theatre in 1920.But expanding their operation caused Grossmith and Laurillard to end their partnership, with Grossmith retaining control of the Winter Garden. Grossmith then partnered with George Edwardes's former associate, Pat Malone, to produce a series of mostly adaptations of imported shows at the Winter Garden between 1920 and 1926: Sally (1921), The Cabaret Girl (1922, with book by Wodehouse and music by Jerome Kern), The Beauty Prize (1923, with Wodehouse and Kern), a revival of Tonight's the Night (1923), Primrose (1924, with music by George Gershwin), Tell Me More (1925, with words by Thompson and music by George Gershwin) and Kid Boots (1926 with music by Harry Tierney), many of them featuring Leslie Henson. Grossmith co-wrote some of the Winter Garden pieces, directed many of his own productions and starred in several, notably as Otis in Sally. Several of the later productions lost money, and Grossmith and Malone ended the partnership. The Vagabond King was produced at the theatre in 1927, and in 1929, Fred and Adele Astaire starred in Funny Face. In 1930, Sophie Tucker played in the Vivian Ellis musical Follow a Star, and in 1923, Gracie Fields appeared here in Walk This Way. In 1933, the theatre hosted Lewis Casson in George Bernard Shaw's On the Rocks, followed in 1935 by Love on the Dole, starring Wendy Hiller. The theatre closed in the late 1930s, reopening in 1942. In 1945, it hosted a Donald Wolfit season, and in 1953, Agatha Christie's Witness for the Prosecution played. 1956 saw The Water Gypsies by Vivian Ellis and A P Herbert; Hotel Paradiso starring Alec Guinness, Douglas Byng, Irene Worth and Billie Whitelaw; and Tyrone Power starred in Shaw's The Devil Disciple. 1958 included The Iceman Cometh. The theatre closed permanently in 1959 when it was sold by the Rank Organisation to a developer. It was then gutted and remained vacant until 1965 to be replaced in 1973 by the current building.
Production History
15-dec-2015
20-jan-2019
22-OCT-1984
21-dec-2001
15-feb-2003
18-MAR-2005
18-jun-2005
18-MAR-2008
11-feb-2009
18-jan-2010
15-JUL-2010
15-JUL-2017
22-OCT-2017
Ongoing
Seat Plan
Seat Choosen
View
Comfort
Legroom
What a siet, they sell it for restricted view but it is not. If you get it, buy it!
View
Comfort
Legroom
The legroom is absolutely amazing, I could even stretch myself, not to mention that I was sitting front row and with the stage low, my view was not disturb from anyone!


perl5161delta - what is new for perl v5.16.1
This document describes differences between the 5.16.0 release and the 5.16.1
release.
If you are upgrading from an earlier release such as 5.14.0, first
read perl5160delta, which describes differences between 5.14.0 and
5.16.0.
The bugfix was in Scalar-List-Util 1.23_04, and perl 5.16.1 includes
Scalar-List-Util 1.25.
There are no changes intentionally incompatible with 5.16.0 If any exist, they
are bugs, and we request that you submit a report. See "Reporting
Bugs" below.
- Scalar::Util and List::Util have been upgraded from version 1.23 to
version 1.25.
- B::Deparse has been updated from version 1.14 to 1.14_01. An
"uninitialized" warning emitted by B::Deparse has been squashed
[perl #113464].
- •
- Building perl with some Windows compilers used to fail due to a problem
with miniperl's "glob" operator (which
uses the "perlglob" program) deleting
the PATH environment variable [perl #113798].
- VMS
- All C header files from the top-level directory of the distribution are
now installed on VMS, providing consistency with a long-standing practice
on other platforms. Previously only a subset were installed, which broke
non-core extension builds for extensions that depended on the missing
include files.
- A regression introduced in Perl v5.16.0 involving
"tr/SEARCHLIST/REPLACEMENTLIST/"
has been fixed. Only the first instance is supposed to be meaningful if a
character appears more than once in
"SEARCHLIST".
Under some circumstances, the final instance was overriding all earlier
ones. [perl #113584]
- "B::COP::stashlen" has been added. This
provides access to an internal field added in perl 5.16 under threaded
builds. It was broken at the last minute before 5.16 was released [perl
#113034].
- The re pragma will no longer clobber $_. [perl
#113750]
- Unicode 6.1 published an incorrect alias for one of the
Canonical_Combining_Class property's values (which range between 0 and
254). The alias "CCC133" should have
been "CCC132". Perl now overrides the
data file furnished by Unicode to give the correct value.
- Duplicating scalar filehandles works again. [perl #113764]
- Under threaded perls, a runtime code block in a regular expression could
corrupt the package name stored in the op tree, resulting in bad reads in
"caller", and possibly crashes [perl
#113060].
- For efficiency's sake, many operators and built-in functions return the
same scalar each time. Lvalue subroutines and subroutines in the CORE::
namespace were allowing this implementation detail to leak through.
"print &CORE::uc("a"),
&CORE::uc("b")" used to print "BB".
The same thing would happen with an lvalue subroutine returning the return
value of "uc". Now the value is copied
in such cases [perl #113044].
- "__SUB__" now works in special blocks
("BEGIN",
"END", etc.).
- Formats that reference lexical variables from outside no longer result in
crashes.
There are no new known problems, but consult "Known Problems" in
perl5160delta to see those identified in the 5.16.0 release.
Perl 5.16.1 represents approximately 2 months of development since Perl 5.16.0
and contains approximately 14,000 lines of changes across 96 files from 8
authors.
Perl continues to flourish into its third decade thanks to a
vibrant community of users and developers. The following people are known to
have contributed the improvements that became Perl 5.16.1:
Chris 'BinGOs' Williams, Craig A. Berry, Father Chrysostomos, Karl
Williamson, Paul Johnson, Reini Urban, Ricardo Signes, Tony Cook.
The list above is almost certainly incomplete as it is
automatically generated from version control history. In particular, it does
not include the names of the (very much appreciated) contributors who
reported issues to the Perl bug tracker.
Many of the changes included in this version originated in the
CPAN modules included in Perl's core. We're grateful to the entire CPAN
community for helping Perl to flourish.
For a more complete list of all of Perl's historical contributors,
please see the AUTHORS file in the Perl source distribution.
If you find what you think is a bug, you might check the articles recently
posted to the comp.lang.perl.misc newsgroup and the perl bug database at
http://rt.perl.org/perlbug/ . There may also be information at
http://www.perl.org/ , the Perl Home Page.
If you believe you have an unreported bug, please run the perlbug
program included with your release. Be sure to trim your bug down to a tiny
but sufficient test case. Your bug report, along with the output of
"perl -V", will be sent off to
<EMAIL_ADDRESS>to be analysed by the Perl porting team.
If the bug you are reporting has security implications, which make
it inappropriate to send to a publicly archived mailing list, then please
send it to<EMAIL_ADDRESS>This points to a closed
subscription unarchived mailing list, which includes all the core
committers, who will be able to help assess the impact of issues, figure out
a resolution, and help co-ordinate the release of patches to mitigate or fix
the problem across all platforms on which Perl is supported. Please only use
this address for security issues in the Perl core, not for modules
independently distributed on CPAN.
The Changes file for an explanation of how to view exhaustive details on
what changed.
The INSTALL file for how to build Perl.
The README file for general stuff.
The Artistic and Copying files for copyright
information.


{% extends "layout.html" %} {% block title %}GeoReport v2 Server{% endblock %} {% block content %}
The GeoReport API allows developers to build applications to report non-emergency issues such as graffiti, potholes, and street cleaning directly to government organizations like cities and counties.
Register for an API key to report non-emergency issues directly to {{ org }}.
Download, fork, pull, file issues, and more with the GeoReport v2 Server repository on Github.
JSON, XML
GET /services.json?jurisdiction_id={{ jurisdiction }}
[ { "service_code":001, "service_name":"Cans left out 24x7", "description":"Garbage or recycling cans that have been left out for more than 24 hours after collection. Violators will be cited.", "metadata":true, "type":"realtime", "keywords":"lorem, ipsum, dolor", "group":"sanitation" }, { "service_code":002, "metadata":true, "type":"realtime", "keywords":"lorem, ipsum, dolor", "group":"street", "service_name":"Construction plate shifted", "description":"Metal construction plate covering the street or sidewalk has been moved." }, { "service_code":003, "metadata":true, "type":"realtime", "keywords":"lorem, ipsum, dolor", "group":"street", "service_name":"Curb or curb ramp defect", "description":"Sidewalk curb or ramp has problems such as cracking, missing pieces, holes, and/or chipped curb." } ]
JSON, XML
GET /services/DMV66.json?jurisdiction_id={{ jurisdiction }}
{ "service_code":"DMV66", "attributes":[ { "variable":true, "code":"WHISHETN", "datatype":"singlevaluelist", "required":true, "datatype_description":null, "order":1, "description":"What is the ticket/tag/DL number?", "values":[ { "key":123, "name":"Ford" }, { "key":124, "name":"Chrysler" } ] } ] }
JSON, XML
POST /requests.json?jurisdiction_id={{ jurisdiction }}&api_key=xyz
[ { "service_request_id":293944, "service_notice":"The City will inspect and require the responsible party to correct within 24 hours and/or issue a Correction Notice or Notice of Violation of the Public Works Code", "account_id":null } ]
JSON, XML
GET /requests.xml?start_date=2010-05-24T00:00:00Z&end_date=2010-06-24T00:00:00Z&status=open&jurisdiction_id={{ jurisdiction }}
[ { "service_request_id":638344, "status":"closed", "status_notes":"Duplicate request.", "service_name":"Sidewalk and Curb Issues", "service_code":006, "description":null, "agency_responsible":null, "service_notice":null, "requested_datetime":"2010-04-14T06:37:38-08:00", "updated_datetime":"2010-04-14T06:37:38-08:00", "expected_datetime":"2010-04-15T06:37:38-08:00", "address":"8TH AVE and JUDAH ST", "address_id":545483, "zipcode":94122, "lat":37.762221815, "long":-122.4651145, "media_url":"http://city.gov.s3.amazonaws.com/requests/media/638344.jpg " }, { "service_request_id":638349, "status":"open", "status_notes":null, "service_name":"Sidewalk and Curb Issues", "service_code":006, "description":null, "agency_responsible":null, "service_notice":null, "requested_datetime":"2010-04-19T06:37:38-08:00", "updated_datetime":"2010-04-19T06:37:38-08:00", "expected_datetime":"2010-04-19T06:37:38-08:00", "address":"8TH AVE and JUDAH ST", "address_id":545483, "zipcode":94122, "lat":37.762221815, "long":-122.4651145, "media_url":"http://city.gov.s3.amazonaws.com/requests/media/638349.jpg" } ]
JSON, XML
GET /requests/638344.json?jurisdiction_id={{ jurisdiction }}
[ { "service_request_id":638344, "status":"closed", "status_notes":"Duplicate request.", "service_name":"Sidewalk and Curb Issues", "service_code":006, "description":null, "agency_responsible":null, "service_notice":null, "requested_datetime":"2010-04-14T06:37:38-08:00", "updated_datetime":"2010-04-14T06:37:38-08:00", "expected_datetime":"2010-04-15T06:37:38-08:00", "address":"8TH AVE and JUDAH ST", "address_id":545483, "zipcode":94122, "lat":37.762221815, "long":-122.4651145, "media_url":"http://city.gov.s3.amazonaws.com/requests/media/638344.jpg" } ]
JSON, XML
GET /tokens/123.json?jurisdiction_id={{ jurisdiction }}
[ { "service_request_id":638344, "token":12345 } ]


|
OR-Tools
7.1
Google Optimization software suite
|
#include <integer_pq.h>
Public Member Functions | |
| IntegerPriorityQueue (int n=0, Compare comp=Compare()) | |
| void | Reserve (int n) |
| int | Size () const |
| bool | IsEmpty () const |
| void | Clear () |
| bool | Contains (int index) const |
| void | Add (Element element) |
| Element | Top () const |
| void | Pop () |
| void | Remove (int index) |
| void | ChangePriority (Element element) |
| void | IncreasePriority (Element element) |
| void | DecreasePriority (Element element) |
| Element | GetElement (int index) const |
| Element | QueueElement (int i) const |
Definition at line 37 of file integer_pq.h.
|
inlineexplicit |
Definition at line 40 of file integer_pq.h.
|
inline |
Definition at line 48 of file integer_pq.h.
|
inline |
Definition at line 56 of file integer_pq.h.
|
inline |
Definition at line 57 of file integer_pq.h.
|
inline |
Definition at line 61 of file integer_pq.h.
|
inline |
Definition at line 67 of file integer_pq.h.
|
inline |
Definition at line 71 of file integer_pq.h.
|
inline |
Definition at line 78 of file integer_pq.h.
|
inline |
Definition at line 79 of file integer_pq.h.
|
inline |
Definition at line 88 of file integer_pq.h.
|
inline |
Definition at line 105 of file integer_pq.h.
|
inline |
Definition at line 116 of file integer_pq.h.
|
inline |
Definition at line 119 of file integer_pq.h.
|
inline |
Definition at line 124 of file integer_pq.h.
|
inline |
Definition at line 128 of file integer_pq.h.


27 August 2022
The JBoss CLI, as presented in the last part of this series, is the standard way of configuring JBoss/Wildfly application servers. But there are more options available, some of them we will cover in this article. These options are lesser known and may not be applied very often, but may nevertheless useful in some situations.
26 June 2022
JBoss/Wildfly offers various options to configure the application server. In this article, the "classical" and more common configuration approach of using JBoss CLI is lit up.
30 April 2022
Java EE 8, nowadays known as Jakarta EE 8, added a new Security API in version 1.0 to the technology stack. While the previous article was about the new API and how it integrates into Payara (Glassfish), this time we look at the integration into JBoss/Wildlfy.
07 April 2022
Java EE 8, nowadays known as Jakarta EE 8, added a new Security API in version 1.0 to the technology stack. This little series of articles takes a look at the new API and how it can be used with various application servers, starting in the first part with Payara (Glassfish).
26 February 2022
In the previous Blog Post we packaged a single FAT JAR into a container image by utilizing JIB, the Java Image Build tool from Google. With the used Wildfly Bootable JAR some optimizations to the build process are possible. This will be subject to this Blog post.
30 January 2022
Container images can be built in many ways, utilizing different tools. For Java developers a Java-only solution might be appealing. One of the more popular options in this area is jib, the Java Image Build tool from Google. In this Post we'll have at the look on how it can be used to package an MicroProfile application as container image.
28 December 2021
In April of this year (2021) I published a Blog Post about the integration of the Freemarker Template Engine into Jakarta MVC, the action-based Web UI framework under the hood of Jakarta EE. This Post adds some interesting features to this integration.
20 November 2021
REST APIs are ubiquitous nowadays. For development of REST APIs you can follow various philosophies and approaches. In this Blog Post we're going to discover how Eclipse MicroProfile supports the Code-First development approach.
29 October 2021
In the last article we looked at the application of dependency injection in real-world software development. By applying a simple design patterns it was possible to implement lazy initialization of injected beans. In this article scopes of injected beans are discussed.
30 September 2021
In the article "DI without Framework" (https://guntherrotsch.github.io/blog_2020/di-without-framework.html) the principles of Dependency Injection have already be entangled. Here I'll discuss possible applications and potential improvements.
28 August 2021
Java 8 brought lambdas to the Java language, which is a corner stone of functional programming. Although, the functional programming features of Java out of the box are limited, some interesting concepts can be implemented using it. This post is about applying function parameters partially.
25 July 2021
If seasoned Java developer have a look into other languages, they may find interesting constructs, idioms or solution approaches. Sometimes it's even possible to take over some ideas into the Java world. That was the case when I learned about context managers in Python.
02 June 2021
Containerization of Java applications is as easy as copying the application's Jar file into a JRE equipped base image. But choosing the right base image can be hard and have a big impact on performance, effectiveness of resource utilization, security and costs. This Blog Post discusses the trend to Distroless base images.
12 May 2021
Web applications often serve static content alongside with dynamically generated HTML pages. If the static content is not hosted on a CDN, the application server should provide this kind of content, too. In this Blog post I'll show how to configure Wildfly Bootable JAR packaged servers to do this job.
22 April 2021
Jakarta MVC is the coming web UI framework under the hood of Jakarta EE. One exceptional feature of Jakarta MVC is the plugable view engine architecture, which allows to integrate different template engines. This Blog post is about the integration of FreeMarker Template Engine with Jakarta MVC.
26 March 2021
Instantiating a Maven archetype is a convenient way to start a Java development project without any headache of the setup. Unfortunately, I haven't found any Maven archetype for Wildfly Bootable JAR projects. Instead of creating an archetype myself, I found another efficient way to get the setup of a Wildfly Bootable JAR project done.
13 March 2021
Multipart form-data messages are a standard format when submitting HTML forms by web applications. If you want to learn more about the processing of such requests by Jakarta EE JAXRS servers this Blog post might be interesting for you.
22 February 2021
Jakarta EE standards do not support HTTP multipart messages very well. This may be the reason that multipart endpoints are rarely seen in REST APIs. However, sometimes we find the multipart/form-data content type used to upload files. This Blog demonstrates an approach on how such endpoints can be utilized by standard JAXRS Clients.
30 January 2021
The JBoss/Wildfly ecosystem is very rich and popular in enterprise computing. But targeting cloud platforms the application server approach is not appropriate. Single (FAT) JAR packaging is much more common for containerized deployments. After the end of Thorntail the Wildfly project offers with "Wildfly Bootable JAR" a new deployment option of this kind.
31 December 2020
Dependency injection is often named in one breath with technologies like Spring or Jakarta EE's CDI. But dependency injection is a Software design principle, which is not equal to a particular technology.
22 November 2020
When Maven's Surefire plugin executes unit tests of a project, developers do not need to provide the classpath containing all dependencies. Instead, Maven sets up the required classpath. Other plugins utilize the Maven generated classpath, too. This Blog post is about some of the usages of the Maven classpath.
20 October 2020
The more recent versions of the JDK allow running Java code from source. This can be used to create a user experience close to scripting languages. This post demonstrate how to use it and explores in addition an option applicable for older versions of Java.
21 August 2020
The Java enterprise ecosystem is changing rapidly. One of the shooting stars is the Quarkus framework. It describes itself as "Supersonic Subatomic Java" and "Kubernetes Native Java stack". This Blog post describes the first experience I made with Quarkus.
09 June 2020
Developing Cloud-native environments fosters the trend to a new kind of development environments, which are also hosted in the cloud. Beside Github's Codespaces, Eclipse Che is one of the players at this ground. To get a first impression of the new type of IDE, I tried Eclipse Theia locally using the project's pre-defined Docker image. In doing so, I learned something interesting about sharing files with containers.
17 May 2020
There's a strong trend in modern IT to migrate on-premises installations to cloud platforms. Independent of the migration strategy, either Lift-and-Shift or re-implement applications, this blog casts an eye on the popular Java platform deployed to the cloud.
19 April 2020
Validation of input data is a crucial requirement for any serious application. This also applies to REST services implemented with JAX/RS. If you follow a Design-First development approach with Swagger/OpenAPI, server stubs and model objects are usually generated. The generated code of API's model classes already contain JSR 380 annotations, which trigger validation of received request objects by the Bean Validation 2.0 framework. This article is about application-specific extension of validation rules for generated model classes.
23 March 2020
Implementing JAX/RS REST APIs with Swagger/OpenAPI, the language agnostic interface to RESTful APIs, following an API Design-First approach starts with the formal specification of the REST API. Then OpenAPI generators are used to create server stubs. These code generators create specific problems, that may require customization of templates or the whole generator. This article describes several solutions that are related to the JAX/RS context objects.
29 February 2020
When blogging about software topics it becomes quickly compelling to include diagrams into the posts. The project PlantUML for writing UML as diagrams-as-a-code is well suited for those needs. This Blog post is about, how PlantUML is configured with Asciidoc and JBake.
24 February 2020
Implementing JAX/RS REST APIs with Swagger/OpenAPI following a Design-First approach starts with the formal specification of the REST API. Then OpenAPI generators are used to create server as well as client stubs. Nowadays, the REST APIs often exchange JSON response and request objects. If binary fields are part of such JSON structures, the generated code encodes/decodes such binary fields. For some combinations of generators the produced client and server do not fit together.
12 February 2020
Note on usage of Maven's dependency plugin for analyzing project dependencies.
01 February 2020
After initially setting up my Blog (see previous post 'JBake Blog with Maven Plugin'), I noticed that the deployment to Github Pages is not fully functional, although with local web server everything works fine. The problems were: 1) images are not shown, 2) navigation to posts, that are hosted in sub-directories, lead to 404 error (page not found). This post is about possible solutions for described issues.
21 January 2020
When I decided to start blogging, the combination of Github pages and JBake looked most promising to me: Out-of-the-box support of Asciidoc, Java application should be friendly for me as Java developer, one of the most popular static site generators, etc.<p> There are many articles and blog posts about the combination of JBake and Gradle. But because I'm much more familiar with Maven and Maven tooling was already installed on my Notebook, I decided to try the JBake's Maven plugin for stetting up the static Blog site.
Older posts are available in the archive.


This graph contains individual players in the college admissions ecosystem. The size of the bubbles represent the number of high school students the individual can reach.
*Admissions influence is calculated by multiplying the individual's influence as perceived by students (scale of 0-5), the frequency of contact with students (days per month), and relevance to admissions (scale of 0-5).
Orange = multiple consecutive cycles; Violet = few sporadic cycles; Pink = one cycle;


Supplemental Material
Jo Eun Kim
5 Backend Screenshots
- Home
- About - Profile
- About - Education & Experiences
- Portfolio - Art
- Contact
5 Frontend Screenshots
- Home
- About - Profile
- About - Education & Experiences
- Portfolio - Art
- Contact
More Supplemental Materials
- (revised)SCRUM: Midterm ~ FINAL.
SCRUM


{{page.charte.description}}
We can give your company superpowers to do things that they never thought possible. Let us delight your customers and empower your needs...through pure data analytics.
Yes that's right, you thought it was the stuff of dreams, but even bananas can be bioengineered.
{{quote.content}}
{%- else -%}


Middle school and high school students who participated in instrumental music scored significantly higher than their non-band peers in standardized tests.


Is adult content: {{ toReadableString(safeSearch.adult) }}
Is spoof content: {{ toReadableString(safeSearch.spoof) }}
Is medical content: {{ toReadableString(safeSearch.medical) }}
Is violent content: {{ toReadableString(safeSearch.violence) }}
⬤
{{ (color.pixelFraction * 100).toFixed(2) }}% of the image
{{ recognizedText }}


EC
Section: OpenSSL (1)Updated: 2009-04-10
Index Return to Main Contents
NAME
ec - EC key processingSYNOPSIS
openssl ec [-inform PEM|DER] [-outform PEM|DER] [-in filename] [-passin arg] [-out filename] [-passout arg] [-des] [-des3] [-idea] [-text] [-noout] [-param_out] [-pubin] [-pubout] [-conv_form arg] [-param_enc arg] [-engine id]DESCRIPTION
The ec command processes EC keys. They can be converted between various forms and their components printed out. Note OpenSSL uses the private key format specified in 'SEC 1: Elliptic Curve Cryptography' (http://www.secg.org/). To convert a OpenSSL EC private key into the PKCS#8 private key format use the pkcs8 command.COMMAND OPTIONS
- -inform DER|PEM
- This specifies the input format. The DER option with a private key uses an ASN.1 DER encoded SEC1 private key. When used with a public key it uses the SubjectPublicKeyInfo structur as specified in RFC 3280. The PEM form is the default format: it consists of the DER format base64 encoded with additional header and footer lines. In the case of a private key PKCS#8 format is also accepted.
- -outform DER|PEM
- This specifies the output format, the options have the same meaning as the -inform option.
- -in filename
- This specifies the input filename to read a key from or standard input if this option is not specified. If the key is encrypted a pass phrase will be prompted for.
- -passin arg
- the input file password source. For more information about the format of arg see the PASS PHRASE ARGUMENTS section in openssl(1).
- -out filename
- This specifies the output filename to write a key to or standard output by is not specified. If any encryption options are set then a pass phrase will be prompted for. The output filename should not be the same as the input filename.
- -passout arg
- the output file password source. For more information about the format of arg see the PASS PHRASE ARGUMENTS section in openssl(1).
- -des|-des3|-idea
- These options encrypt the private key with the DES, triple DES, IDEA or any other cipher supported by OpenSSL before outputting it. A pass phrase is prompted for. If none of these options is specified the key is written in plain text. This means that using the ec utility to read in an encrypted key with no encryption option can be used to remove the pass phrase from a key, or by setting the encryption options it can be use to add or change the pass phrase. These options can only be used with PEM format output files.
- -text
- prints out the public, private key components and parameters.
- -noout
- this option prevents output of the encoded version of the key.
- -modulus
- this option prints out the value of the public key component of the key.
- -pubin
- by default a private key is read from the input file: with this option a public key is read instead.
- -pubout
- by default a private key is output. With this option a public key will be output instead. This option is automatically set if the input is a public key.
- -conv_form
- This specifies how the points on the elliptic curve are converted into octet strings. Possible values are: compressed (the default value), uncompressed and hybrid. For more information regarding the point conversion forms please read the X9.62 standard. Note Due to patent issues the compressed option is disabled by default for binary curves and can be enabled by defining the preprocessor macro OPENSSL_EC_BIN_PT_COMP at compile time.
- -param_enc arg
- This specifies how the elliptic curve parameters are encoded. Possible value are: named_curve, i.e. the ec parameters are specified by a OID, or explicit where the ec parameters are explicitly given (see RFC 3279 for the definition of the EC parameters structures). The default value is named_curve. Note the implicitlyCA alternative ,as specified in RFC 3279, is currently not implemented in OpenSSL.
- -engine id
- specifying an engine (by its unique id string) will cause ec to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.
NOTES
The PEM private key format uses the header and footer lines:
-----BEGIN EC PRIVATE KEY----- -----END EC PRIVATE KEY-----
The PEM public key format uses the header and footer lines:
-----BEGIN PUBLIC KEY----- -----END PUBLIC KEY-----
EXAMPLES
To encrypt a private key using triple DES:
openssl ec -in key.pem -des3 -out keyout.pem
To convert a private key from PEM to DER format:
openssl ec -in key.pem -outform DER -out keyout.der
To print out the components of a private key to standard output:
openssl ec -in key.pem -text -noout
To just output the public part of a private key:
openssl ec -in key.pem -pubout -out pubkey.pem
To change the parameters encoding to explicit:
openssl ec -in key.pem -param_enc explicit -out keyout.pem
To change the point conversion form to compressed:
openssl ec -in key.pem -conv_form compressed -out keyout.pem
SEE ALSO
ecparam(1), dsa(1), rsa(1)HISTORY
The ec command was first introduced in OpenSSL 0.9.8.AUTHOR
Nils Larsch for the OpenSSL project (http://www.openssl.org).
Index
This document was created by man2html, using the manual pages.
Time: 05:29:03 GMT, December 24, 2015


5 July 2005
On 5 July 2005, 21 new polio cases were confirmed in Indonesia, bringing the total number of cases to 100. Twenty of the new cases are from the province of Banten, and one of the cases is from Lampung province, Sumatra.
The recently confirmed cases in Sumatra and Central Java occurred outside the area where an emergency 'mop-up' campaign was held from 31 May to 2 June, and again on 29 June. Sumatra and Central Java will be included in the next phase of the large-scale immunization campaigns, which will start from August. A large outbreak response immunization targeting 78,000 children aged less than five years was held from 26 June around the case in Central Java.
Prior to this outbreak following an importation, Indonesia has not had a wild poliovirus case since 1995.


--- layout: post_notitle title: Knight-Mozilla OpenNews -- Building an ecosystem for open web development in journalism ---
OpenNews is a joint project of Mozilla and the Knight Foundation that supports the growing community of news developers, designers, and data reporters helping journalism thrive on the open web.
On Source, the journalism-code community generously shares open-source code and the process behind projects from newsrooms big and small. Catch up with usability tips, a live fact-checking walk through, and guides to topics like defending against common attacks. Coming in the new year, new features and a new look for Source.
We believe a community of peers working, learning, and solving problems together can create the tools journalism needs to thrive. Through conferences for newsroom designers and coders, and a wide range of community and project support programs, we support collaboration across organizations. Learn more about what we do or find out how you can get involved.
{{ post.title }}| posted {{ post.date }}
{{ post.excerpt }} read more


Menu
Your courses
Find courses
Find lessons
Pointeri - introducere
Language:
Module 1
Basics about memory and variables
Module 2
Pointer basics
Module 3
Pointers in depth
Author:
Richard Stallman


Black to Play 36
b3-w0/5
pips Black=164 White=159
(CorrectAnswer= 0/0, ErrorScore= 0)
1. 18/9 eq:-0.191 48.46% (G:12.94% B:1.64%) 51.54% (G:14.42% B:0.62%) 2. 9/3 8/5 eq:-0.286 (-0.095) 45.93% (G:12.95% B:1.20%) 54.07% (G:14.55% B:0.82%) 3. 23/14* eq:-0.350 (-0.159) 46.23% (G:11.97% B:1.60%) 53.77% (G:17.76% B:1.29%) 4. 22/16 8/5 eq:-0.344 (-0.153) 45.42% (G: 9.81% B:0.41%) 54.58% (G:17.52% B:1.00%) 5. 13/7 8/5 eq:-0.336 (-0.146) 45.87% (G:10.99% B:0.44%) 54.13% (G:17.60% B:1.16%)


When two-factor authentication is enabled, you will be prompted to enter a six digit code from an
authenticator app (usually on your phone) when you log into this control panel.
Enabling two-factor authentication does not protect access to your email
Enabling two-factor authentication on this page only limits access to this control panel. Remember that most websites allow you to
reset your password by checking your email, so anyone with access to your email can typically take over
your other accounts. Additionally, if your email address or any alias that forwards to your email
address is a typical domain control validation address (e.g admin@, administrator@, postmaster@, hostmaster@,
webmaster@, abuse@), extra care should be taken to protect the account. Always use a strong password,
and ensure every administrator account for this control panel does the same.


Suppose you have a matrix \(A \in \mathbb{R}^{n \times n}\) and you want to invert it. I've already explained how to invert a matrix (English explanation), but I didn't provide any code and / or runtime analysis.
C++ Code
#include <iostream>
#include <cmath>
#include <vector>
using namespace std;
void print(vector< vector<double> > A) {
int n = A.size();
for (int i=0; i<n; i++) {
for (int j=0; j<2*n; j++) {
cout << A[i][j] << "\t";
if (j == n-1) {
cout << "| ";
}
}
cout << "\n";
}
cout << endl;
}
void calculateInverse(vector< vector<double> >& A) {
int n = A.size();
for (int i=0; i<n; i++) {
// Search for maximum in this column
double maxEl = abs(A[i][i]);
int maxRow = i;
for (int k=i+1; k<n; k++) {
if (abs(A[k][i]) > maxEl) {
maxEl = A[k][i];
maxRow = k;
}
}
// Swap maximum row with current row (column by column)
for (int k=i; k<2*n;k++) {
double tmp = A[maxRow][k];
A[maxRow][k] = A[i][k];
A[i][k] = tmp;
}
// Make all rows below this one 0 in current column
for (int k=i+1; k<n; k++) {
double c = -A[k][i]/A[i][i];
for (int j=i; j<2*n; j++) {
if (i==j) {
A[k][j] = 0;
} else {
A[k][j] += c * A[i][j];
}
}
}
}
// Solve equation Ax=b for an upper triangular matrix A
for (int i=n-1; i>=0; i--) {
for (int k=n; k<2*n;k++) {
A[i][k] /= A[i][i];
}
// this is not necessary, but the output looks nicer:
A[i][i] = 1;
for (int rowModify=i-1;rowModify>=0; rowModify--) {
for (int columModify=n;columModify<2*n;columModify++) {
A[rowModify][columModify] -= A[i][columModify]
* A[rowModify][i];
}
// this is not necessary, but the output looks nicer:
A[rowModify][i] = 0;
}
}
}
int main() {
int n;
cin >> n;
vector<double> line(2*n,0);
vector< vector<double> > A(n,line);
// Read input data
for (int i=0; i<n; i++) {
for (int j=0; j<n; j++) {
cin >> A[i][j];
}
}
for (int i=0; i<n; i++) {
A[i][n+i] = 1;
}
// Print input
print(A);
// Calculate solution
calculateInverse(A);
// Print result
cout << "Result:" << endl;
print(A);
}
This code is VERY similar to the code of Gaussian elimination. In fact, I've only changed all occurrences of n+1
to 2*n
. I also had to change lines 57-70, as we need to do all operations now on a matrix instead of a vector.
Time complexity
Lines 43-52:
\(\displaystyle Operations = \sum_{i=0}^{n-1} \left (\sum_{k=i+1}^{n-1} (\sum_{j=i}^{2n} 1) \right ) = \frac{5}{6} n^3 - \frac{5}{6} n\) (see Wolfram|Alpha)
Lines 63-70:
\(\displaystyle Operations = \sum_{i=0}^{n-1} \left (\sum_{k=0}^{i-1} (\sum_{j=n}^{2n} 1) \right ) = \frac{1}{2} n^3 - \frac{1}{2} n\) (see Wolfram|Alpha)
So we need about \(\frac{4}{3} n^3 + \mathcal{O}(n^2)\) operations to invert a matrix with Gauß-Elimination.
Space complexity
My algorithm needs space for the inverse matrix, so it is in \(\mathcal{O}(n^2)\).
Inverting an upper triangular matrix
Suppose you have an upper triangular matrix \(A \in \mathbb{R^{n \times n}}\) that you would like to invert. It could look like this:
How could we improve the algorithm from above to get speed it up?
Well, we don't need lines 24-53 any more, as those lines bring \(A\) to an upper triangular form. But we still need lines 63-70. So we can improve the algorithm to a complexity of \(\frac{1}{2} n^3 + \mathcal{O}(n^2)\).
See also
Computational complexity of mathematical operations


{{Infobox prepared food | name = Smultring | image = | caption = Smultringer frying | alternate_name = | country = Norway | region = | creator = | course = | type = Doughnut | served = Hot or cold | main_ingredient = Dough, cardamom | variations = | calories = | other = }} Smultring (plural: smultringer; English: lard ring) and hjortetakk (sometimes spelled hjortebakkels) are Norwegian doughnuts. They are smallish and usually prepared without glazing or filling, and are often flavoured with cardamom.
Smultrings are torus shaped and sold from trucks and, at Christmas time, from stalls. They are described as being "thick heavy dough fried in lard – best eaten while hot and with the grease still dripping!"<ref>L-Jay [1] 10.12.2008 My Little Norway</ref> Smultring are popular with expatriate Norwegians including those in Minnesota who serve them with krumkake, riskrem (rice cream), and fattigmann at Christmas dinners.<ref>Sons of Norway Mankato November 2005 Sons of Norway (Mankato)</ref>
Hjortebakkels are made from rolls of dough looped with the ends overlapping.<ref>{{cite web|url=http://sigrun-blogg.blogspot.com/2008/12/hjortebakkels.html|title=Sigrun: Hjortebakkels|author=Sigrun og Bjarne|work=sigrun-blogg.blogspot.com|accessdate=21 May 2015}}</ref><ref>[2] Video</ref> Brandy is often used as an ingredient. The Norwegian name comes from the fact that hartshorn (Ammonium bicarbonate) was used as a raising agent.
Caution should be taken during the frying, as the lard is extremely hot. Furthermore, should the lard catch fire, use a lid to asphyxiate the fire. Never use water as it is denser than the lard, and thus will sink to the bottom where the water almost instantly reaches its boiling temperature. The ensuing steam will then force its way upwards through the lard, pushing the burning lard out of the cooking vessel if the force is sufficient. <ref>[3] </ref>
{{Reflist}}
{{Doughnuts}}


Jodi Colella Price list
Epithelia (two pieces), 10"x10", 2012, $550.
Impulse, 75"x24"x24", 2012, $6,000. For details see below:
detail of Impulse
detail of Impulse
What Looks Like an Elephant, 20"x27"x18, 2012, $2,800.
Marrow, 8"x22"x6", 2012, $2600.
Blast, 31"x24"x22", 2012, $2800.
Mesothelia, 8"x7.5"x5", 2012, $700.
Hive detail, varied sizes, NFS
(More images to be added)
NK Gallery
450 Harrison Avenue #61
Boston MA 02118
Gallery hours Wed- Sat 11am – 4pm


Front-end Survivor
Featured Work
Music Player App
github.com/udacity/Music-Player-App/
An awesome music app
News App
github.com/udacity/News-App/
A must-have news app
Treasury App
github.com/udacity/Treasury-App/
The best personal finance app


Visualizations of player's comparison and performance in various tournaments.
Visualization has been an important means of match analysis in a variety of sports. Like many other popular sports, tennis is increasingly defined by data. This data can be used in different ways: it can provide much-needed information about player performance for coaches, and deepen the immersion, delivering live stats, comparisons and historical perspective to enhance the fan experience for spectators. This project aims to visually show the players’ comparison and performance in various tournaments.
Started with all players from the Association of Tennis Professionals who were active any time between the years 2009 and 2019. For those, we recorded all of their career performance data, including their yearly place in the rankings, the dates and names of all the tournaments they attended, how many score points those tournaments were worth, how many matches they played in those, against whom and what the result was.
As expected, the 2009 period started with the dominance of Federer, Nadal and Djokovic which ended up being a consistent Top 4 as Andy Murray joined the pack.
The biggest winner in terms of both number of wins and winning success rates in the last 11 years was Novak Djokovic with 201 wins out of 227 matches, giving him a joint top win percentage of 89% with Rafael Nadal. Nadal did win fewer matches than Roger Federer in that time period, despite a greater winning percentage; this could be explained by the injuries he sustained in 2014.
Federer's success in Wimbledon in the late 2000s and the early 2010s still keeps him top with most Wimbledon wins, however Djokovic is on course to beat that record if he continues his form. Djokovic's Australian and US Open record show his strong hold on hard court tournaments. Despite his hard court prowess, the US Open remains one of the more evenly fought tournaments over the last few years with a more diverse set of winners as shown by the tree map below.
While we see Nadal and Djokovic dominating clay and hard court performances respectively, the following tree maps demonstrate Federer's title as the King of Grass threatened by the recent dominance of Djokovic. In the tree maps below, the color and the size of the rectangle indicate the dominance in terms of number of wins and the players are sorted from left to right (and then top to bottom) in descending order of wins.
In the last fifteen years, Roger Federer, Rafael Nadal, Novak Djokovic, Andy Murray—the Big Four—have dominated the ATP tour like no one before them. It’s hard to find a better example of oligarchy outside of geopolitics.
In the last Eleve years, Roger Federer, Rafael Nadal, Novak Djokovic, Andy Murray—the Big Four—have dominated the ATP tour like no one before them.
It is an unprecedented level of domination that has left little glory for other players. But who are these others and how much would have they won had they been able to overcome the Big Four?
David Ferrer, Jo Wilfried Tsonga, Tomas Berdych, Richard Gasquet and Raonic could all claim to be Slam winners.
Ferrer lost all his semi-finals and a final to the Big Four, and winning a Slam would have been a fitting reward for his many years of elite-level performance.
One player who may deserve to be even higher on the list is del Potro, who had to face a member of the Big Four in every semi-final he played and never went beyond the quarter-finals at the Australian Open, twice knocked out by Federer.
What Matters Most to Winning?
Serve percentage.
On the ATP tour from 2010 to 2013, when a player made exactly half of his first serves, he won 42.8% of the time. At 60% first serves in, he won 47.0% of the time. At 70%, the winning percentage is 57.4%.
Rally Metrics
Here are 20 players, including some from the top and bottom of the list. I’ve used each player’s percentage of points won for 1- or 2-shot rallies (serve and return winners), 3- or 4-shot rallies (serve- and return-plus-one points), and 5- or more-shot rallies. They are ranked by the 5- or more-shot column:


The National Honor Society (NHS) and National Junior Honor Society (NJHS) are the nation's premier organizations established to recognize outstanding high school and middle level students. More than just an honor roll, NHS and NJHS serve to honor those students who have demonstrated excellence in the areas of Scholarship, Leadership, Service, and Character (and Citizenship for NJHS). These characteristics have been associated with membership in the organization since their beginnings in 1921 and 1929. Today, it is estimated that more than one million students participate in activities of the NHS and NJHS. NHS and NJHS chapters are found in all 50 states, the District of Columbia, Puerto Rico, many U.S. Territories, and Canada. Chapter membership not only recognizes students for their accomplishments, but challenges them to develop further through active involvement in school activities and community service. To learn more about the National Honor Society go to nhs.us
To be eligible to wear NHS insignia at graduation, seniors must be active NHS members in their graduating semester. A senior is active if they earn at least 5 community service hours (after accounting for deductions for missed meetings and activities) by the end of March in the last semester before graduation. For any semester before the final semester, a member is active if they earn at least 5 community service hours during the semester (after accounting for deductions for missed meetings and activities). Members must have also paid membership dues in order to be counted as active for the semester. If you owe us membership fees for a prior semester, you must pay us before end of March to receive your NHS insignia.
To join NHS, you must apply during the one-week membership drive period at the beginning of each semester. You cannot apply after the week is over. Freshmen may not apply for their NHS membership. Sophomores may apply for their NHS membership at the beginning of their first semester at Monta Vista. You must re-apply for membership each and every semester. To qualify, you must have a GPA of 3.3 or higher.
We have mandatory meetings periodically, usually every two weeks. If you miss a meeting, you will be penalized with a one-hour deduction.


{% comment %} Bootstrap Jumbotron, https://getbootstrap.com/docs/4.5/components/jumbotron/ This include adds a Jumbotron feature from an image. By default it is configured to work with the About page option "about-featured-image" set in theme.yml without any options necessary. Options: - "img" = the filename of the image located in the /images/ folder - "position" = set background-position, "center", "top", "bottom" - "heading" = major heading to display. - "text" = paragraph text below heading. - "color" = text color using bootstrap options, white, primary, info, secondary, etc. - "align" = text align option, center, right - "padding" = additional padding added to the feature to increase size. Give value in em or px, e.g. "5em". {%- endcomment -%}
{{ include.text | markdownify }}
{% endif %}


Add humans by repeatedly clicking the 'Add human' button.
Turn one of the humans into a zombie by pressing the 'Infect human' button.
If a human comes in contact with a zombie, they will be attacked and probably turn into a zombie.
If a human sees a zombie two spaces away, they will speed up in a panic.


Upgrades
$10
1
Shot Speed
$100
1
Shot Count
$50
1
Firing Rate
$50
1
Explosion Size
$200
1
Explosion Speed
$50
Powerups
Auto-Shoot
$500


Make sure that the garment area is positioned perfectly in the centre of the image area, like the example below:


Sends batched Action and Bandwidth dues updates to the database.
Charge for a performed action.
Charge for an event sent to connected clients.
Charge for outgoing bandwidth.
Prepares this Exacter for use.