In this scenario, we take a look at how a user can add a new class spreadsheet
manually, via the 'Class' menu and the Quick Menu commands. Manually adding a class
is necessary to start a new spreadsheet to which a user can add students and gradable items.
Below, in Figure 1, is a sample class spreadsheet that is ready for a user who wants to make a new
class.
Figure 1: Sample Class Spreadsheet.
To manually create a new class spreadsheet, the user chooses the 'Class' menu
command. A list of options appears and the user chooses
'New Class...' to add a new class; this takes the form of the
following, Figure 2.
Figure 2: Add Class path.
The other commands in the 'Class' submenu are Manage Class, Grade Schema, and Late Policy. These commands are covered in later scenarios, but for now we are focusing on just adding a spreadsheet for a new class.
The response to the users selection of the 'Class New Class' command is a dialog box that
only takes in a new class name in a text box, and is confirmed with the 'Create Speadsheet'
button below. This dialog is shown in Figure 3.
Figure 3: New Class dialog.
Confirming the class creates a new tab above the spreadsheet that can be selected to switch between multiple classes if applicable.
Selecting the 'Create Spreadsheet' button displays the newly created spreadsheet in Figure 4.
Figure 4: Class Added view.
New classes can be added and dragged to be rearranged in a preferred order. Adding a new class
is required to start a new spreadhseet for editing.
The scenario itself will not be covered, but for the user knowledge, a class may also be added manually
using the Quick Menu, located above the spreadsheet. To do this, a user selects 'Class' in the selcection
tab and clicks the 'Add New' button next to it. This is displayed in Figure 5 below.
Figure 5: Add Class Quick Menu.


The ContDataQC Shiny app is a free R-based tool to QC, combine, and summarize continuous data files in a standardized way without having to download any programs to your computer. It also has a function that allows users to download USGS gage data for desired time periods. The table at the bottom of this page shows how the website is structured.
To date, ContDataQC has been used primarily on continuous temperature and hydrologic data but can also be used for conductivity, pH, turbidity and chlorophyll-a. Users can add other parameters as well but this requires more advanced R skills.
This Shiny app is linked to the ContDataQC R package, which was developed by Erik W. Leppo from Tetra Tech<EMAIL_ADDRESS>and is available on GitHub.
Development of the ContDataQC R tools has been funded by the United States Environmental Protection Agency (EPA) Office of Research and Development (ORD) as part of a larger project to establish Regional Monitoring Networks (RMNs) for freshwater streams and inland lakes (USEPA 2016, USEPA 2021; lead EPA scientist: Britta Bierwagen). The RMNs are a volunteer, collaborative effort in which entities collect long-term continuous temperature and hydrologic data at targeted sites to detect changes over time. The R package and Shiny app were developed with the following objectives in mind: ensure that a certain (minimum) level of QC is being performed on the continuous RMN data; standardize and speed up data QC and reduce missed errors; standardize data for further analysis; and facilitate data sharing.
| Main tab | Sub tabs | Description |
|---|---|---|
| Overview | Purpose, funding, main uses to date | |
| Data preparation | Organizing files | Recommended folder and organizational scheme |
| Naming files | Recommended file naming scheme | |
| Formatting files | Formatting requirements for input files (comma delimited (.csv), column headings) | |
| HOBOware Reformat | This function will automatically reformat CSV files for HOBO sensors so that they are ready to run through the QC function. In order for this function to work, users must follow specific formatting instructions when they export CSV files from HOBOware. | |
| QC Thresholds | Default | Default thresholds for the four flag tests (gross, spike, rate of change, and flat line); these are based on eastern coolwater streams |
| Customize | Instructions on how to evaluate and adjust QC test thresholds | |
| Main functions | Run functions | Run the three main functions: QCRaw (which generates QC reports), Aggregate (which merges QC’d data files from the same site and different time periods together) and SummaryStats (which generates summary statistics and time series plots). Includes instructions and examples of QC reports, aggregated data files and SummaryStats outputs. |
| Check input file | Summary table showing what parameters are in the uploaded files; user should ensure all the desired parameters are present | |
| Download USGS gage data | Download USGS gage data for desired sites and time periods | |
| Console | Shows messages output by R during the QC, aggregating, summarizing, and USGS data retrieval processes | |
| Test Data | Repository for test data files. There are two sets of folders: one with test data that can be run through the Shiny app or R package; the other with complete sets of outputs for each of the Test datasets so that the user can verify that the outputs that they generated during their test run(s) were complete. | |
| FAQ | Frequently asked questions | |
| Status | ContDataQC is continually being improved; this page provides a status report and list of items that will be added as resources permit |


To be honest I'm not a coding genius that you see on the internet, but I found myself able to learn its concept quite well. Let's just say I chose the right path by accident. Although people see programming to be a nerdy course, but some programming concepts requires high level of problem solving and logical thinking skills which are challenging to learn.
Achievement is something that keeps me going in this industry which I found in my internship. My tasks were just to develop a website and all I do everyday for the rest of my internship was just coding, but the final outcome of the project makes me think that hardwork does pay off. From time to time, people tend to think that they don't belong in this field. Same goes to me, but I think achievement is what kept me staying.
Laravel
JavaScript
CSS3
HTML5
Jquery
PHP
MySQL
Bootstrap
Java
C++


I AM THE PRINCIPAL AUDITOR OF THE NIGERIAN NATIONAL PETROLEUM CORPORATION. A POST I HAVE HELD FOR THE PAST THREE YEARS.   THIS CONTRACT HAS BEEN COMPLETED AND COMMISSIONED AND THE CONTRACTOR FULLY PAID,BUT THE US $ 5M OVER ESTIMATED VALUE OF THE CONTRACT IS STILL LYING AT THE CENTRAL BANK OF NIGERIA (CBN). BECAUSE OF THE HASTE WITH WHICH THE LAST GOVERNMENT WAS REMOVED FROM OFFICE, THESE MEN HAS NO CHANCE TO COLLECT THIS MONEY BEFORE LEAVING THE OFFICE. BUT AS A RESULT OF UPDATED PAYMENTS ADVISE AT THE CENTRAL BANK OF NIGERIA (CBN), IT HAS BEEN AWAITING TRANSFER TO A FOREIGN ACCOUNT. IN MY REPORT, I RECOMMENDED THAT THIS MONEY SHOULD BE PAID BUT ON THE CONDITION THAT THE CONTRACTOR SHOULD BE INFORMED. MY RECOMMENDATION WAS ACCEPTED AND I HAVE BEEN GIVEN THE GO-AHEAD ORDER TO GET IN-TOUCH WITH THE FOREIGN CONTRACTORS, BUT SINCE THE CONTRACTOR HAS BEEN FULLY PAID FOR THE JOB HEDID, I WANT TO DIVERT THIS MONEY TO ANOTHER FOREIGN ACCOUNT. HAVING DONE ALL THE NECESSARY GROUND WORK, THIS MONEY IS IN MY POSSESSION AND I AM LOOKING FORWARD FOR A TRUST WORTHY PERSON INTO WHOSE PRIVATE OR COMPANY'S ACCOUNT THIS MONEY WILL BE TRANSFERRED INTO.  YOU ARE THEREFORE REQUESTED TO KINDLY ALLOW ME TO TRANSFER THIS MONEY INTO YOUR ACCOUNT SO THAT I CAN WITHDRAW THIS MONEY WHEN I WANT TO. UPON THE TRANSFER OF THIS MONEY, 65% OF THE TOTAL SUM WILL BE FOR ME AND MY COLLEAGUES WHILE 30% SHALL BE FOR YOU THE ACCOUNT OWNER AND THE REMAINING 5% SHALL BE SET ASIDE TO REFUND EXPENSES MADE IN THE COURSE OF THIS TRANSACTION.  KINDLY TREAT AS URGENT AND CONTACT MEIMMEDIATELY THROUGH MY TEL:234-1-7763021 OR<PHONE_NUMBER>606 YOU WILL BE FULLY DETAILED WHEN I HEAR FROM YOU.  BEST REGARDS DR OLU MARTINS


Naming: last one wins but to do this automaticly, we would need to auto-register all modules needed on app-start. This gives us a couple of complications for handling 3rd party applications. As it would be a pain to scan every file for modules to load on app start.
Proposed structure: http://briantford.com/blog/huuuuuge-angular-apps.html
Register all modules in app.js Root module: Umbraco - contains the core services: notifications,dialogs,etc - contains the core resources: content,media etc - contains the core directives
1 module pr file princible
1st level modules: Umbraco (for misc system-level stuff, dialogs, notifications, etc) Umbraco.PropertyEditors (for all editors, as they are shared between all modules) - how would a 3rd party property editor access a 3rd party service in the Ucommerce module, when its loaded in the content editor? (which is inside the the content module?) Umbraco.Content (registers that it needs umbraco module, for access to core services ) Umbraco.Media Umbraco.Settings Ucommerce TeaCommerce Etc
Should all (core + 3rd party) services, filters and directives just be dependencies in the global umbraco module?
Each section namespace knows what modules to initially have loaded: Umbraco.Content - EditController - SortController
Inside the EditController module, it references the needed services: - DialogService - ContentFactory - Etc
So things are only loaded when needed, due to the modules, and our application, really only needs to know about the root modules, Content,Media,Settings, Ucommerce etc.
If more directives have the same name, they will all be run
Last one wins, so you can override core controllers Can be namedspaced, but shouldnt, the module is the namespace? Module: Umbraco.Section.Area.Page Name: PageNameController
Filename: /umbraco/section/area/pagename.controller.js Ex: /umbraco/content/document/edit.controller.js Ex: /umbraco/settings/documenttype/edit.controller.js
There is a need to have an extra level in the content tree urls due to all other sections have this as well, and we dont want to confuse the routing.
The ctrl acronym is horrible and should not be used IMO.
typeService ? - cant be namespaced Module: Umbraco.Services.Type Name: TypeService?
Ex: Umbraco.Services.Notifications.NotificationsService Filename: /umbraco/common/services/notifcations.service.js
Ex: Umbraco.Resources.Content.ContentFactory? filename: /umbraco/common/resources/content.resources.js ? or /umbraco/common/resoures/content.factory.js ?


BigStore is an e-commerce shop where you can buy items such as stocks, games, planes and tanks.
To buy items, please go to Products and select your items and pay in the checkout page.
Allan Ridha
Mojtaba Ataie
Ömersahin Keskin
Robin Rehnberg
Made for the project course Web Development (DAT076). All rights reserved!


AnTuTu: Top 10 premium and mid-range smartphones in October 2019
by AbdullahAnTuTu: Top 10 premium and mid-range smartphones in October 2019
1.8 (35.79%) 19 votes
As usual, Antutu has just unveiled the ranking of the most powerful premium Android smartphones of the previous month in the Chinese market. Recently, the benchmarking platform accompanies this ranking with the most powerful mid-range smartphones of the month.
Top 10 most powerful premium Android smartphones
On the high end, the first place is occupied by the Vivo NEX 3 5G equipped with 8 GB of RAM and the Qualcomm Snapdragon 855+ SoC. The smartphone is followed by the Vivo IQOO Pro 5G (12 GB RAM and Snapdragon 855+).
Then comes the OnePlus 7T followed by the OnePlus 7T Pro (Snapdragon 855+ and 8 GB of RAM for both variants). The Asus gaming smartphone, the ROG Phone 2, (Snapdragon 855+ and 8GB RAM) drops to fifth place after several months topping the list. As is often the case, Qualcomm’s SoCs dominate the rankings.
- Vivo NEX 3 5G
- Vivo IQOO Pro 5G
- OnePlus 7T
- OnePlus 7T Pro
- ASUS ROG Phone 2
- Xiaomi Mi 9 Pro 5G
- Xiaomi Black Shark 2 Pro
- Realme X2 Pro
- Meizu 16s Pro
- Redmi K20 Pro
Top 10 most powerful mid-range Android smartphones
Regarding the Mid-range, the Antutu ranking is dominated by the Honor 9X Pro, a smartphone powered by SoC Kirin 810 with liquid cooling and 8 GB of RAM. In the second position, we find the Honor 9X with the same processor but only 6 GB of RAM.
The Honor 20S is third, followed by Xiaomi’s Redmi Note 8 Pro (Helio G90 T and 8GB RAM).
- Honor 9X Pro
- Honor 9X
- Honor20S
- Xiaomi Redmi Note 8 Pro
- Realme X2
- Oppo Reno 2
- Redmi K20
- Xiaomi Mi 9 SE
- Realme Q
- Vivo X27
What do you think?
What do you think of this Antutu ranking? Do you use one of the smartphones? We are waiting for your opinion in the comments.


reThinQ pulls multiple-choice (only) questions from a Canvas Quiz, and then administers those questions as a group assignment. Scoring of a reThinQ quiz is based on the number of attempts each team takes to select the correct response to each item. Each time an incorrect answer is selected, the team loses 50% of the remaining possible points for the question. Selecting the correct response last results in a zero score for that question. Question authors are encouraged to provide feedback for each incorrect response, as feedback is available to students immediately, and may be used to provide remedial instructions.
This app will need to be re-evaluated after Instructure completes its rewrite of the Quiz Engine, and presumably also the API.
* /canvas/readme.html
* grab the quiz from the server, even before you need to write it- api call should only happen once, but I put in an overwrite option in case it turns out to be needed later. set $display=true if you are ready to write out the initial quiz * this function pulls quiz data from session or API and then writes it out.
* here we show existing group members if any, and allow modifications. We are NOT pushing modified groups back to Canvas, so selections made here only create temporary groups for grading purposes. * api and $context are the global CanvasAPI and BLTI objects respectively
* selected option is sent to this page for server-side evaluation. We are AJAXing the updated
* calls both global objects api and context. Not sure why I did that rather than pass them in. * using Canvas multiple grade submissions endpoint to award points to the entire group - currently this is called every time a question is answered correctly.
* $init = true just for setting up the total score div in the quiz header Loop through the updated quiz session array to add up points and compile comments this is where we can turn down the frequency of grade posting if desired
* called by initQuiz - probably should just be there inline, but that's a long story
* show/hide quiz instructions in a column to the right of the questions
* set onclick event for answer options. Once a question is * answered correctly, unchosen options adopt the 'answered' class instead of unanswered, and lose their click behavior
* only update score on button push
* called when a student clicks the begin btn. POSTs member to this page to be checked against db entries, if OK, load quiz into target *
* check membership against database of those who have already started the quiz. If no cheaters are found, load the questions into the quiz_holder div
* php this is only relevant when the instructor is in edit assignment mode. returns quiz and group set ids to the resource selection endpoint
* After editing, update file in Files
all of the following are in /canvas/postem/


I'm a UCF graduate of Digital Media, looking to improve my coding and IT skills using fun projects.
Video games have been a huge part of my life and have introduced me to many of the people I know today. As much as I love playing them, I also enjoy delving deep into them to explore exactly how each element affects the player and trying to discover what makes them fun to play. Getting lost in the digital worlds and the stories they can tell is something I very much enjoy. My biggest goal in life is to create something at least one person can explore and enjoy just like I have every time I find myself in a new digital world.
I'm a UCF graduate of Digital Media, looking to improve my coding and IT skills using fun projects. Video games have been a huge part of my life and have introduced me to many of the people I know today. As much as I love playing them, I also enjoy delving deep into them to explore exactly how each element affects the player and trying to discover what makes them fun to play. Getting lost in the digital worlds and the stories they can tell is something I very much enjoy. My biggest goal in life is to create something at least one person can explore and enjoy just like I have every time I find myself in a new digital world.


Welcome to SurveySauce!
The purpose of this website is to poll your friends on twitter with no external links! Easily.
Before you start using this server, please sign into Twitter!


In planning, you have to evaluate potential preservation actions against your requirements. That includes defining a number of specific decision criteria that are driving the evaluation. We analysed hundreds of decision criteria from more than a dozen case studies, categorised them, mapped them to established quality models and analysed how to measure the different kinds of criteria so that evaluation and decision making is based on real measures instead of vague judgements or industry averages. Our article in JASIST discusses the measurement side of things and the distribution of criteria across different groups.
Now this is quite interesting in itself, but does not tell us how important decision criteria are: If I have created a plan using 35 critera that I considered in my decision, which of these were actually the critical ones? What if I evaluated this one incorrectly? What are the most critical aspects across multiple organisations? How much of a decision about image migration is typically driven by considerations about the target formats?
To answer questions like these, we built the tool you see here. The Knowledge Browser quantifies the impact of decision criteria and can show you what effect different measures have in the real world: It computes impact factors for criteria such as "Average relative filesize resulting from a migration" or "Compound impact of all format-related decision criteria in case studies on images", all based on real-world case studies from Plato's knowledge base.
This is explained in a few articles.
Here, you can


--- description: 'Paypal checkout progress tracker.' --- {{ open_form({'class': 'custom'}) }} {% if step == 'pay' %} 1 Billing and Shipping
Billing and Shipping


@() @main("Forbidden") {
You are not authorized to view this page. You must be logged in as an Administrator.
login


NAME : Rishyanth Kondra
D.O.B. : 5th May 2001
Contact :
  Rishyanth Kondra
<EMAIL_ADDRESS>  +91<PHONE_NUMBER>
Team Name : 3 GAMES
The Team:
Referece link : INSTI CSE Page
Team Name : Chaos_club
The Team:
Referece link<EMAIL_ADDRESS>Team Name : SpyKids
The Team:
Referece link : Bionicopter
NOTE : We have a vedio of Bionicopter here!
| Days | 8:30-9:30 | 09:30-10:30 | 10:30-11:30 | 11:30-12:30 | 14:00-15:30 | 15:30-17:00 |
|---|---|---|---|---|---|---|
| MONDAY | CS213 | EE101 | CS293 | CS293 | ||
| TUESDAY | EE101 | CS213 | CS251 | CS215 | ||
| WEDNESDAY | DE407 | CS207 | ||||
| THURSDAY | EE101 | CS213 | CS251 | CS251 | ||
| FRIDAY | DE407 | CS207 | CS215 |
Providing advice puts a person in a merging state
of mind, which stimulates a linking of
one’s own identity with another party’s.


Ang Lee says China boycott of Taiwan awards show a loss
TAIPEI, Taiwan (AP) - Taiwanese filmmaker Ang Lee says China’s boycott of Taiwan’s Golden Horse film awards demonstrates how politics can take its toll on the arts.
Beijing’s order to give Saturday night’s awards show the cold shoulder was part of its campaign to rachet up economic and political pressure on the island it claims as its own territory.
Speaking to reporters Saturday night, Lee said politics was “an aspect we do not want to see. But we have to face it, because we live in this world.”
“Everybody knows it, it is indeed a loss, no matter the red carpet or the films,” said Lee, the festival’s chair. “But of course, our best films, I personally think that they are not less good than the previous years. We still have very good films this year.”
China held its own Golden Rooster film awards Saturday, featuring films approved by Communist Party censors.
Even without the ban, Chinese artists might have found it difficult to attend after Beijing issued a ban on solo travel to Taiwan beginning Sept. 1.
Chinese participation came into doubt following last year’s ceremony, when documentary director Fu Yue said in her award acceptance speech that she hoped the world would one day recognize Taiwan as an independent country, something only a handful of nations currently do.
Taiwan split from mainland China amid civil war in 1949, but Beijing considers the self-ruled island part of its territory.
Speakers at Saturday’s Golden Horse Awards also expressed support for anti-government protesters in the semi-autonomous Chinese territory of Hong Kong.
Entertainment figures in Taiwan and Hong Kong have routinely been blacklisted in China after expressing pro-independence or pro-democracy views.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


My Project
Main Page
Related Pages
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
Class Hierarchy
Go to the textual class hierarchy
Generated by
1.8.11


Welcome to Discovery, a web desktop.
With equal parts homage and parody, Discovery provides users with a computer desktop in a web browser. Discovery is "Free and Open Source Software" meaning you can use it on any system you wish. This means you can install it on a home server to provide a uniform, shared experience between your desktop, laptop, tablet and even smart-phone systems.
We use it to provide a user interface to our home systems so our sensitive data can stay where it belongs, on a hard drive we own. But at the same time you can access data in the cloud. Discovery lets you decide where your data lives: in the cloud, with the convenience it affords, or on a local server you own, with the security and access control you prefer.
Like another small system built 30 years ago, Discovery keeps the user in control while doing simple, insanely great things.


Various thoughts on Composer: Part 1¶
Before you read on, let me make this clear: I love Composer, I really do! It has brought a lot of improvements to the PHP ecosystem by providing a common package manager that all developers can use [1].
However, I sometimes feel it doesn’t quite deliver some of its early promises or that it still lacks some important features.
This is the first post of a series of articles about what I find to be defective in Composer itself or in the way it is usually employed. It concerns security and how it is addressed in Composer.
Security in Composer (or its lack of)¶
I work for a company that specializes in IT security among other things. As a result of that, I often apply the same techniques I learned at work for my own usage. Also, I get frustrated whenever I hit a wall from a security standpoint due to some software not applying basic security principles. Composer is one such software because it offers very little guarantees over what it installs.
That last sentence may seem very counter-intuitive since Composer is a package manager, so of course you’d expect it to install whatever it was told to install. But the thing is, Composer itself can easily be compromised.
Heck, the installation instructions basically amount to:
- Download remote PHP code from the Internet
- Execute said code on your computer
Okay, I hear you screaming “but the code is downloaded over HTTPS, so this is all secure!” There are two problems however that still make Composer vulnerable:
First, it’s quite easy to obtain a valid certificate for https://getcomposer.org/. Then you can just use DNS cache poisoning or other technics to impersonate the website.
Also, you could just create your own self-signed certificate. I doubt PHP beginners would reject such a certificate, even when their tools (eg. curl) give out warnings about the certificate being invalid. They would probably just bypass the warning by using whatever option the program provides to ignore it.
Secondly, and more importantly, the way the
composer.phar
archive is fetched can still be unsafe because the installation instructions say:Note
If the above fails for some reason, you can download the installer with
php
instead:php -r "readfile('https://getcomposer.org/installer');" | php
Therefore, any PHP beginner that gets an error related to certificate validation would probably just run that command on their machine.
Alas, PHP does not properly validate certificates by default. So this command effectively downloads and executes arbitrary PHP code off the Internet.
Think about it for a second. This is very similar to remote code inclusion, a security flaw that usually does great damage...
This vulnerability gets even scarier when you consider that Composer is then used to install dozens of other pieces of code—so-called “packages”. If the installer itself can be compromised, how sure can you be that the code it installs is really the one you intended?
All is not lost, though. There has been rising concern about this and other security issues in Composer. I hope these issues will be fixed in the future. Meanwhile, it’s a risk I am (reluctantly) willing to take because I still think the gain outweights it.
What about you? Are you concerned about Composer’s security? Please share your thoughts and experiences in the comments below.
| [1] | Technically, Composer is language neutral and is thus not limited to managing PHP packages. A lot of efforts from the Composer folks are actually directed towards promoting Composer to handle JavaScript libraries, Ruby software, Python software, etc. |


Authenticate the user with the token present on the URL (for browser) or in params
(on Node.js)
Remove token from Axios configuration
Get the total count of entries with the provided criteria
Filter and order queries.
Create data
Type of entry pluralized
New entry
Delete an entry
Type of entry pluralized
ID of entry
Fetch the user data . user.me
List entries
Filter and order queries.
Get a specific entry
Type of entry pluralized
ID of entry
Get file
ID of entry
Get files
Filter and order queries
Object[] Files data
Sends an email to a user with the link of your reset password page. This link contains an URL param code which is required to reset user password. Received link url format https://my-domain.com/rest-password?code=privateCode.
Retrieve the connect provider URL
qyery data graphql
query data
Check if it runs on browser
Login by getting an authentication token.
Authentication User token and profile
Register a new user.
Authentication User token and profile
Axios request
Request method
Server URL
Custom Axios config
Reset the user password.
Search for files
Keywords
Set token on Axios configuration
Retrieved by register or login
Update data
Type of entry pluralized
ID of entry
Upload files
const form = new FormData();
form.append('files', fileInputElement.files[0], 'file-name.ext');
form.append('files', fileInputElement.files[1], 'file-2-name.ext');
const files = await strapi.upload(form);
const FormData = require('form-data');
const fs = require('fs');
const form = new FormData();
form.append('files', fs.createReadStream('./file-name.ext'), 'file-name.ext');
const files = await strapi.upload(form, {
headers: form.getHeaders()
});
FormData
Generated using TypeDoc
Default constructor.


Paper Talk: Monday's football transfer rumours and gossip from the back pages
by Sporting LifeWe take a look at the latest stories hitting the back pages, including Manchester United battling it out with Barcelona for a Rennes wonderkid.
DAILY EXPRESS
- Chelsea will battle Barcelona for £70m-rated Reinier Jesus from Flamengo if their transfer ban is lifted.
DAILY MIRROR
- Aston Villa have no plans to sell John McGinn to Manchester United in January - and would only allow him to depart in the summer if an eye-watering offer was lodged.
- Manchester United have reportedly drawn up a shortlist of eight long-term transfer targets.
- Eden Hazard has tipped Frank Lampard to be the best manager in the world after his flying start at Chelsea.
- Cristiano Ronaldo has admitted that Maurizio Sarri was right to substitute him twice for Juventus - as he was playing injured.
- Simon Mignolet has revealed that he left Liverpool because he didn't feel he could fight Alisson for the No.1 shirt.
DAILY MAIL
- Alexis Sanchez could return from injury for Inter Milan quicker than was initially anticipated.
- Algeria manager Djamel Belmadi says he is not interested in Karim Benzema playing for his side after the striker begged France to let him represent another nation.
THE TIMES
- New Hibernian manager Jack Ross says he didn't fail at Sunderland.
THE SUN
- Arsenal have also made contact with the father of Reinier Jesus, Spanish reports claim.
- Manchester United and Arsenal are keeping tabs on Hartlepool's giant young keeper Brad Young.
- Arsenal are lining up a £43m January transfer swoop for Villarreal centre back Pau Torres.
- Manchester United are preparing to battle it out with Barcelona to land Rennes wonderkid Eduardo Camavinga.
- Michy Batshuayi insisted he wants to remain at Chelsea despite not being a "full-fledged starter".
THE SCOTTISH SUN
- Rod Petrie's plea for an SPFL shutdown before Scotland's Euro play-off will fall on deaf ears.
- Greg Taylor feels his Scotland team-mates are beginning to fully appreciate the abilities of manager Steve Clarke.
- Celtic forward Odsonne Edouard is on Crystal Palace's radar in January as they hunt for a new striker.
- Borna Barisic has revealed he almost quit Rangers last season but is so glad he didn't.
- Stoke City are eyeing a January move for Aberdeen striker Sam Cosgrove.
- Hibs and St Johnstone 'could be set to battle it out' for ex-Celtic star Efe Ambrose.
DAILY RECORD
- Steve Clarke's plea to scrap top-flight Sunday games ahead of Scotland's Euro 2020 play-off is set to fall on deaf ears if the Old Firm progress in Europe.
- John Hughes wants to speak to Falkirk about replacing Ray McKinnon as manager a decade after he first left the Bairns.
- Lewis Morgan reckons the Hibs squad should get ready for lift-off under Jack Ross as his old gaffer will get the Easter Road men flying again.


Click on the "Choose File" button to upload hospitalization data:
Download file format: csv file of predictions of the following 7 days.


A StreetBuff is a person who loves to share their favorite spots around town & their friends rely on them for recommendations.
The StreetBuff app is a recommendation platform where people earn points by sharing advice about local venues, restaurants and events.
Instead of discounts for everyone, hoping to attract influencers - give your best offers to those who prove it, the StreetBuffs.
In 2 months our Business has doubled thanks to StreetBuffs talking about our coffee.
Most services make me check reviews or make updates. With StreetBuff I just set an offer and let locals do the rest.
I don't pay unless a StreetBuff redeems my offer and I usually make up the cost that first visit.


{% extends 'layout.html' %} {% block pageTitle %} State Pension Activation {% endblock %} {% block content %} {% include 'includes/parts/phase-banner.html' %} Your details Invitation code Can be found on your Get your State Pension letter. Is your residential address the address we sent your Get your State Pension letter to? Yes No Continue {% include 'includes/parts/help.html' %} {% endblock %} {% block pageScripts %} {% include 'includes/scripts/ninoFocus.html' %} {% include 'includes/scripts/dobFocus.html' %} {% include 'sprint9/scripts/clear_fields.html' %} {% endblock %}
Can be found on your Get your State Pension letter.
Is your residential address the address we sent your Get your State Pension letter to?


Goncalo Paciencia, the '9' Everton are keen to get
by BeSoccerEverton need some attacking threat and their coach, Marco Silva, has asked for a number '9' for the winter transfer window. And according to 'Goal', the man they are looking for is Goncalo Paciencia, the Eintracht Frankfurt striker.
Everton are currently in 15th and only five teams have scored less goals in the Premier League after 14 matches. And to solve part of the problem, Marco Silva, the Everton coach, has asked the sporting director, Marcel Brands, for a striker.
The German edition of 'Goal', together with 'Spox', have spoken about the player chosen by Everton to bolster their attack. It is the Portuguese Goncalo Paciencia, a 25 year-old striker for Eintracht Frankfurt.
Featured links
- Ballon d'Or winner already been decided
- The latest football transfers news and rumours
- Possible 'Clasico' in the Spanish Supercup final
- Who has the most free-kicks goals: Messi or Cristiano?
The striker is in his second season at the German outfit after being on loan several times from Porto. He was at Academica, Olympiakos, Rio Ave and Vitoria Setubal before signing for Eintracht.
Paciencia has got nine goals this season in 23 games in all competitions. He scored important goals against Leverkusen and Bayern Munich and he netted in Portugal 6-0 thumping of Lithuania.
His performances have made a Premier League side in Everton think about signing him.


Is anyone using emoncms with IE8? It works fine for me on my home PC with IE9, and in firefox and Opera, but none of the JavaScript will work on IE8 at work. I've checked all the usual culprits in settings, but to no avail. (And I manage the team that deals with web security and browser settings!)
Thanks
Lloyd
Re: emoncms3 and ie8
Just tried on an IE8 at home, and no joy. Any clues anyone?
Lloyd
Re: emoncms3 and ie8
Anyone ?
Re: emoncms3 and ie8
Do the flot library examples work? http://people.iola.dk/olau/flot/examples/
If they work ok then it should be fixable.
Re: emoncms3 and ie8
The examples do appear to work, which is a good sign. It is worth pointing out that no functionality from emoncms appears to work in IE8 - not even the list of inputs or feeds.
Lloyd
Re: emoncms3 and ie8
Ok I have replicated the issue but still not much closer to solving it, as you point out the inputs and feeds list also don't work, I found that this flot/jquery visualization does work: http://vis.openenergymonitor.org/emoncms3/Vis/MultiGraph/hp.php
The only main differences I can think of is the use of setInterval(update_list,2000); for updates and the location in the page that the jquery script is declared from. I will keep looking.
Re: emoncms3 and ie8
I think I may have sorted this, so please don't spend anymore time on it for now. I'll try and create a github pull request when I'm happy it is working.
Re: emoncms3 and ie8
Thanks a lot Lloyd, this will be a great help, I think there will be many appreciative people: http://openenergymonitor.org/emon/node/301#comment-4077
Re: emoncms3 and ie8
A quick update on progress. I think I have the dials and now the led working for the dashboard. I will try and take a look at some of the other graphs, and see if I can make any of those work. The issue is that the software uses html5, which is not supported in IE until IE9. I've had to dumb down the led for ie8 and below to make it work - not quite as pretty, but still serves the purpose.
I'll probably grab the latest master from github, put my changes for the dashboard into that, issue a pull request and then try and fix some of the other bits. If my changes for import/export have not been incorporated when I grab my master, I 'll probably add those as well.
Are there any procedures for updating an existing installation of emoncms to the latest?
Lloyd
Re: emoncms3 and ie8
Hello Lloyd the procedure for an update is to download or "git pull" the latest version and then in the setup.php script enable $runnable and run the script. This will update any changes to the database if any and give you a verbose output of any changes, see: http://openenergymonitor.org/emon/emoncms/upgrading
Re: emoncms3 and ie8
I did not get the solution. I am running emoncms of july 2012
Can someone explain it to me how to get it right?
this is the link I want to see in IE.
http://iwan.dyndns.org/emoncms/dashboard/view?id=15&apikey=942f4c9f940ee...
many thanks
Iwan
Re: emoncms3 and ie8
I switched to Chrome and have no more issues.
Emoncms3 has too many problems with IE, and it's really not worth trying to make it work.
Re: emoncms3 and ie8
@tgmaxx
i work with a home automation tool that uses an embedded code that uses IE, so i am NOT able to use another browser. This way i must use IE to display these graphics...
so can someone help me to get this clear?
Iwan
Re: emoncms3 and ie8
I assume that this is a fairly new install of emoncms? My slightly behind version produces acceptable results on IE8 (see attached), but I don't know what has changed. Unfortunately I don't have any time to look at this. Could you upgrade to IE9? If you like I'll look at your site on IE9 tonight to see how it looks (I usually use Chrome).
Lloyd
Re: emoncms3 and ie8
Works ok in IE9
Lloyd
Re: emoncms3 and ie8
hello guys,
it works indeed with IE9, BUT the domotoca pc works with IE8.
so is there a solution for this problem?
Iwan
Re: emoncms3 and ie8
Same issue here. no joy at IE8 and also no dail graphics at IE 9.08 (latest) but it workes fine on firefox,chrome and safari (iphone). It's a brand new install from the github. So I aspect that one of the latest changes causing this old problem again?
you could look at: http://energy.bluemotica.nl/alco/dailsdashb for a dashboard with this problem. I also have other issue's with the CKeditor but I don't know if it's related.. see topic: 935 for that... (but no postings from other users on my questions there..)
Re: emoncms3 and ie8
because my domotica system runs windows xp i cannot install IE9 (just to clearify it)


The data set was manually created. Intervied 50 different people.
head(d1)
## symptoms disease
## 1 YELLOW DISCOLORATION OF WHITE PART OF EYES JAUNDICE
## 2 YELLOW DISCOLORATION OF WHITE PART OF SKIN JAUNDICE
## 3 FEELING WEAK JAUNDICE
## 4 LOW FEVER JAUNDICE
## 5 YELLOW PIGMENTS JAUNDICE
## 6 YELLOWISH COLOR JAUNDICE
Empty values were removed.
Disease columns was casted as factor.
colnames(d1)
## [1] "symptoms" "disease"
Using tm library stop word was removed.
Frequency table was built based on the occurance of words.
Also TF-ITF was calculated.
library(tm)
## Loading required package: NLP
##
## Attaching package: 'NLP'
## The following object is masked from 'package:ggplot2':
##
## annotate
Using diamonds dataset for visualization
as my data points are not good.


Rochester Institute of Technology, A group of students passionate about building Robots all skill levels welcomed!
Rochester Institute of Technology Bldg 9 Room 4418 1 Lomb Memorial Drive Rochester, NY 14623
We have training courses of soldering, computer programming, 3D printing, Laser cutting, Metal Working, Electrical
Bahar Canga
Sebastian Iturregui-Shelton
Christian Franco.
William Dzialak
Need more information ?


Web Basics:
The web is made up of four basic components; a webpage, HTML, a web browser, and a web server.
A webpage is a simple text file that contains not only text, but also a set of HTML tags that describe how the text should be formatted when a browser displays it on the screen. The tags are simple instructions that tell the Web browser how the page should look when it is displayed. The tags tell the browser to do things like change the font size or color, or arrange things in columns. The Web browser interprets these tags to decide how to format the text onto the screen.
HTML stands for Hyper Text Markup Language. A "markup language" is a computer language that describes how a page should be formatted. If all you want to do is display a long string of black and white text with no formatting, then you don't need HTML. But if you want to change fonts, add colors, create headlines and embed graphics in your page, HTML is the language you use to do it.
A Web browser, like Netscape Navigator or Microsoft Internet Explorer, is a computer program (also known as a software application, or simply an application) that does two things: A Web browser knows how to go to a Web server on the Internet and request a page, so that the browser can pull the page through the network and into your machine. A Web browser knows how to interpret the set of HTML tags within the page in order to display the page on your screen as the page's creator intended it to be viewed.
A Web server is a piece of computer software that can respond to a browser's request for a page, and deliver the page to the Web browser through the Internet. You can think of a Web server as an apartment complex, with each apartment housing someone's Web page. In order to store your page in the complex, you need to pay rent on the space. Pages that live in this complex can be displayed to and viewed by anyone all over the world.  Every day, there are millions of Web servers delivering pages to the browsers of tens of millions of people through the network we call the Internet.


HTTPS
Home
SSL Server Test
Tests for date
HTTPS Best Practices
Changelog
Contacts
Usage of HTTPS by Municipal Websites in Portugal
Version 1
Architecture


3/18 email
3/18/2020
Dear President Fritz and Provost Parrish,
The faculty and staff of the Department of the Library write to express our concern over the College’s decision to keep public-facing services, such as the Library, open to the public during a global pandemic that is racing through New York City at alarming speed. We know that you are making challenging decisions in an unprecedented health crisis, and we understand that these decisions affect not just the health of faculty, staff, and students, but also our academic integrity as we attempt to finish this semester. This is why we are writing to you directly with such urgency.
It has become clear to us, based on current (and evolving) information, that indefinitely closing the Library is the ONLY way to ensure the health and safety of our community. Scientists have stated that social distancing must occur for everyone, and that we should all assume that we are asymptomatic. As such, everyone must assume they have been exposed and act accordingly. The administration’s decisions must be rooted in scientific fact and concern for the safety of students, faculty, and staff alike. Short-sighted measures to keep services open during this pandemic are detrimental to the community and interfere with the college’s stated mission to “propel the College of Staten Island into this century and beyond . . . [and] serve its students, faculty, and staff, as well as our community, to the best of its ability.”
Our commitment to our work, this college community, and to our students cannot be doubted. We are deeply committed to providing the best service we can to those who use the CSI Library for academic assistance. We could write at length about the technological methods with which the library is already prepared to deliver our expertise and our resources online, but in short: we are flexible and creative workers, who are confident in our ability to support distance learning to our library users. To be clear: we are asking for ALL library employees to be able to work from home without a loss of pay, such tasks to be defined by respective Library Supervisors. There is plenty to do and we are willing and able to do it.
We urge CSI Administration to follow other CUNY colleges’ lead and close the Library as an unsafe place for faculty, students, and staff. As of today, March 18th, the following CUNY campuses have closed their campus libraries to the public: Lehman College, York College, CUNY Graduate Center, Brooklyn College, New York City College of Technology, John Jay College of Criminal Justice, Baruch College, Kingsborough Community College, LaGuardia Community College, Borough of Manhattan Community College, CUNY School of Law, and the Craig Newman Graduate School of Journalism. Medgar Evers Library is open without any staff. All NYC public libraries are closed (as are, by executive order, all restaurants, bars, gyms, theaters, cafes, and more). Furthermore, on March 17th the American Library Association called for all libraries to close to the public in a press release.
Given the dramatic actions being taken at the state and local levels across the country, this is not the time for equivocation and half-measures. It is the time to prioritize the health and wellness of all members of the College of Staten Island community. Not only is closing the campus fully in line with the calls for action from both the mayor and the governor, it is the right thing to do.
Respectfully,
On behalf of the Faculty & Staff of the CSI Department of the Library
Ewa Dzurak Anne Hays Christine McEvilly Betsy Yoon Maureen Garvey Dennis Schaub Kerry Falloon Judy Xiao Christina Boyle Ewa Sukiennik-Maliga Mark Aaron Polger Valerie Forrestal James Kaser Izabela Barry Andrew Leykam Lois Cherepon Wilma Jones Catherine Healey Jonathan Cope


This document represents an effort on the part of the W3C Web Characterization Activity to establish a shared understanding of key Web concepts. The primary goal in preparing this document was to develop a common interpretation for terminology related to Web characterization research. However, it is hoped that the Web community at large will also benefit from the enumeration and definition of important Web concepts.
Information on the W3C Web Characterization Activity is located at "http://www.w3.org/WCA/". A list of current W3C Recommendations and other technical documents can be found at "http://www.w3.org/TR/".
In this context we use them to describe the information space known as the Web. However, in addition to illustrating the scope of the Web in general, the reason why we mention them here is that they are needed to define a more restrictive set of terms used in Web characterization research which we can measure and define a set of metrics for.
The URI specification describes a resource as the common term for "...anything that has identity. Familiar examples include an electronic document, an image, a service (e.g., "today's weather report for Los Angeles"), as well as a collection of other resources. Not all resources are network "retrievable"; e.g., human beings, corporations, and bound books in a library can also be considered resources..." (see also the term Web Resource).
Examples: Web page, collection of Web pages, service that provides information from a database, e-mail message, Java classes ...
The URI specification defines a Uniform Resource Identifier (URI) as a compact string of characters for identifying an abstract or physical resource.
Note: For historical reasons, HTTP/1.x calls a manifestation for an "entity".
Examples: real-time information accessed from a news Web site on a particular day, up-to-the-minute stock quotes, a rendering of a multimedia Web page accessed with a particular client ...
A link expresses one or more (explicit or implicit) relationships between two or more resources.
Note: The type of the relationship can describe relationships like "authored by", "embedded", etc. Types can themselves be identified by URIs as for example is the case for RDF.
Examples: An HTML ...
element,
an HTML <img src=<http://www.w3.org/icons/w3c-home">
element.
An area within a resource that can be the source or destination of zero, one or more links. An anchor may refer to the whole resource, particular parts of the resource, or to particular manifestations of the resource.
Examples: An HTML ...
element.
Examples: A Web browser, an e-mail reader, a Usenet reader ...
Examples: An HTTP server, a file server, etc ...
A proxy is an intermediary which acts as both a server and a client for the purpose of retrieving resources or resource manifestations on behalf of other clients. Clients using a proxy know the proxy is present and that it is an intermediary.
Examples: An HTTP firewall proxy ...
A gateway is an intermediary which acts as a server on behalf of some other server with the purpose of supplying resources or resource manifestations from that other server. Clients using a gateway know the gateway is present but does not know that it is an intermediary.
Examples: An HTTP to FTP gateway
Examples: A datagram sent from one Internet layer to another, an e-mail sent from one e-mail reader and received at another ...
Examples: HTTP GET, POST, PUT, and HEAD requests ...
Examples: An HTML document, a server error message ...
Examples: A person using a Web browser, a person using an e-mail reader, a person using a CRT terminal emulator ...
The principal responsible for the publication of a given resource and for the mapping between the resource and any of its resource manifestations. See also the term Web Site Publisher
Examples: A person writing an e-mail message, a person composing a Web page
The primitive elements defined above are useful when talking about the Web in general but are too broad in practice to enable us to characterize the Web with the desired level of rigor. This does not mean that we do not consider the general terms important or interesting, but that we need a mechanism for limiting the scope of the problem of characterizing the Web.
Therefore, we define the following terms to address the question of "What is the Web?" from the perspective of Web Characterization. For the purposes of Web Characterization research, the Web may be viewed as consisting of three components: the core, the neighborhood, and the periphery:
where
Notes: By the term "or its equivalent" we consider any version of HTTP that is currently implemented as well as any new standards which may replace HTTP (HTTP-NG, for example). Also, we include any protocol stack including HTTP at any level, for example HTTP running over SSL.
A resource, identified by a URI, that is a member of the Web Core.
Note: The URI identifying the Web Resource does not itself have to be found within the Web Core. That is, a URI written on a bus identifying a resource that is a member of the Web Core identifies a Web Resource.
A resource manifestation generated by a Web resource.
The collection of resources directly linked from a Web resource.
Examples: An "ftp
" link within an HTML
document which can be accessed via HTTP, a "mailto
" link within
an HTML document which can be accessed via HTTP.
The collection of resources on the Web which is not part of the Web Core or the Web Neighborhood.
Concepts relating to the process of accessing Web resources and render Web resource manifestations.
Examples: A Web browser, a harvester, a spider ...
A Web request is a request issued by a Web client. A Web request can be described as either:
and as either:
Examples: a) A user follows a link appearing in a HTML document (explicit, embedded Web request). The Web client retrieves the requested HTML document, and also makes an additional request for an image referenced in the HTML document (implicit, embedded Web request); b) A user reads the URI printed on a bus and feeds it to the Web client (explicit, user-input Web request).
The request header contains information about the request, information about the client itself, and potentially information about any resource manifestation included in the request.
Examples: Sample HTTP request header
The request body (if any) of an HTTP request is used to carry the payload of the HTTP message.
Example: At a library, a patron sits down at a public Internet-access terminal, accesses one or more Web resources, then relinquishes control of the terminal to another patron.
Example: Continuing the previous example, the library patron accesses a weather report (episode 1), checks stock prices (episode 2), then downloads a patch for his operating system (episode 3).
A Web response is a response issued by a Web server.
Examples: Sample HTTP Response Header
A collection of user clicks to a single Web server during a user session. Also called a visit.
Example: When the Web site of an online retail store is accessed for the first time by a particular client, a unique hashcode is sent back to the client to be stored locally. Then, when the client requests URLs from the site, the hashcode is appended to the URL request, allowing the Web site administrators to track the surfing pattern of the customer through the site.
Examples: An image file, an applet, and an HTML file identified and accessed through a single URI, and rendered simultaneously by a Web client.
Note: The components of a Web page can reside at different network locations. The location of the Web page, however, is determined by the URI identifying the page.
Note: The scope of a Web page is limited to the collection of Web resources which are displayed simultaneously by requesting the Web page's URI. The components of a Web page actually rendered in a page view is client-dependent.
Examples: Displaying a particular Web page in Internet Explorer is a pageview; displaying the same page in Netscape Navigator is a different page view.
<authority>
component but where the <path>
component is either empty or
simply consists of a single "/"
only.
Examples: The Web pages identified by
http://www.w3.org
and http://www.cern.ch
are host
pages
Examples: The Web page consisting of the
article "Thought Paper on Automatic Recharacterization" is part of the W3C Web site, since it satisfies the two
properties mentioned above. First, it resides at the same network location as
the W3C host page,
http://www.w3.org
. Second, we can begin at the
W3C host page (http://www.w3.org
) and follow a
sequence of internal links, ending at the article: specifically:
http://www.w3.org
to http://www.w3.org/WCA/
,
and
http://www.w3.org/WCA/
to
http://www.w3.org/WCA/1998/12/aut_char.html
Notes: It is not uncommon for Web sites to be duplicated, or mirrored, on multiple physical host machines (e.g., for load balancing purposes). Typically, it is immaterial to the client (or user) which host machine is used to access the Web site. In this case, it may be useful to consider this collection of "physical" Web sites, located at multiple host machines, as one "logical" Web site. This is possible in the case where a single domain name is mapped to each of the host machines; the logical Web site can then be identified using the unique domain name. If there is no unique domain name that can be applied to the collection of duplicate sites, we consider each physical host machine as a separate Web site.
Examples: If a page is mounted on a Web server, but is not linked to by any page on the Web site associated with the server, then the page is like an "island" on the Web. The only way the page can be accessed is through explicit knowledge of its URI.
Examples: The W3C is the publisher of the site located at http://www.w3.org/ ...
Examples: An Internet service provider supplying hosting services to its customers. All of the customers' Web sites may be located at the same IP address, but nevertheless represent logically independent sites (and, in the case of virtual hosting, may even have distinct domain names).
Examples: Web journal, electronic monograph, photo gallery ...
Examples: The resources available from a particular entity may be distributed over multiple servers, but users access the supersite through one host page, and view the distributed resources as one logical site.
Other useful places to look for terminology sections are
@(#) $Id: 01.html,v 1.46 1999/05/24 13:58:18 frystyk Exp $


| PostgreSQL 9.6.2 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 24. Routine Database Maintenance Tasks | Next |
In some situations it is worthwhile to rebuild indexes periodically with the REINDEX command or a series of individual rebuilding steps.
B-tree index pages that have become completely empty are reclaimed for re-use. However, there is still a possibility of inefficient use of space: if all but a few index keys on a page have been deleted, the page remains allocated. Therefore, a usage pattern in which most, but not all, keys in each range are eventually deleted will see poor use of space. For such usage patterns, periodic reindexing is recommended.
The potential for bloat in non-B-tree indexes has not been well researched. It is a good idea to periodically monitor the index's physical size when using any non-B-tree index type.
Also, for B-tree indexes, a freshly-done index is slightly faster to access than one that has been updated many times because logically adjacent pages are usually also physically adjacent in a newly built index. (This consideration does not apply to non-B-tree indexes.) It might be worthwhile to reindex periodically just to improve access speed.
REINDEX can be used safely and easily in all cases. But since the command requires an exclusive table lock, it is often preferable to execute an index rebuild with a sequence of creation and replacement steps. Index types that support CREATE INDEX with the CONCURRENTLY option can instead be recreated that way. If that is successful and the resulting index is valid, the original index can then be replaced by the newly built one using a combination of ALTER INDEX and DROP INDEX. When an index is used to enforce uniqueness or other constraints, ALTER TABLE might be necessary to swap the existing constraint with one enforced by the new index. Review this alternate multistep rebuild approach carefully before using it as there are limitations on which indexes can be reindexed this way, and errors must be handled.


Student Clubs are university based community groups for students interested
in Google developer technologies. Students from all undergraduate or programs
with an interest in growing as a developer are welcome. By joining a DSC,
students grow thier knowledge in a peer-to-peer learning environment and build
solutions for local businessess and their community.


Sets
Table of Contents
- Representation
- Basic Functions on Sets
- Define the functions union, intersect, and diff, which takes two sets, and return, respectively, their union, intersection and differences. diff(s, t) returns a set which contains all the elements of the set s that are not in the set t. These functions have the following signatures:
- Queries and Transformations on Sets
In this assignment, you will work with a functional representation of sets based on the mathematical notion of characteristic functions. The goal is to gain practice with higher-order functions.
Representation
We will work with sets of integers.
As an example to motivate our representation, how would you represent the set of all negative integers? You cannot list them all… one way would be to say: if you give me an integer, I can tell you whether it’s in the set or not: for 3, I say ‘no’; for -1, I say yes.
Mathematically, we call the function which takes an integer as argument and which returns a boolean indicating whether the given integer belongs to a set, the characteristic function of the set. For example, we can characterize the set of negative integers by the characteristic function (x: Int) => x < 0
.
Therefore, we choose to represent a set by its characteristic function and define a type alias for this representation:
type FunSet = Int => Boolean
Using this representation, we define a function that tests for the presence of a value in a set:
def contains(s: FunSet, elem: Int): Boolean = s(elem)
This takes a FunSet
method and checks if the element is in the set it represents.
Basic Functions on Sets
Let’s start by implementing basic functions on sets. Define a function which creates a singleton set from one integer value: the set represents the set of the one given element. Its signature is as follows:
def singletonSet(elem: Int): FunSet = {
Set(elem)
}
This is not a straight-forward method. Although it looks like we're returning a Set
, we're actually returning a FunSet
, so the object being returned won't have any set methods (other than the ability to check that an element is a member of it as in the contains
method above).
Now that we have a way to create singleton sets, we want to define a function that allow us to build bigger sets from smaller ones.
Define the functions union, intersect, and diff, which takes two sets, and return, respectively, their union, intersection and differences. diff(s, t) returns a set which contains all the elements of the set s that are not in the set t. These functions have the following signatures:
Union
This took me a while to figure out, but what you're returning here is a FunSet
which is a function that takes an integer and returns a boolean, so you aren't actually returning a union of the sets, but a function which tells you whether an element is in the union of the two sets.
/**
* Returns a function that decides if an element is in
* the either of the given sets (is it in `s`, or `t` or both)
*
* @param s a function that decides if an integer is in its set
* @param t a function that decides if an integer is in its set
* @returns a function that decides if an integer is in a union of s and t
*/
def union(s: FunSet, t: FunSet): FunSet =
(element: Int) => s(element) || t(element)
So to use this you would pass it two FunSet
objects and then use the returned object to check if it has elements in it.
val set_1 = singletonSet(1)
val set_2 = singletonSet(2)
val unionized = union(set_1, set_2)
assert(contains(unionized, 1))
assert(contains(unionized, 2))
Intersect
This uses the same trick as the union
method - we just need to change the logical operations.
def intersect(s: FunSet, t: FunSet): FunSet =
(element: Int) => s(element) && t(element)
In this case we want to create a method that checks that both set s
and set t
have the element passed to it.
Difference
With sets, the diff
method tells us if an element is in the first set but not in the second.
def diff(s: FunSet, t: FunSet): FunSet =
(element: Int) => s(element) && !t(element)
Filter
Define the function filter which selects only the elements of a set that are accepted by a given predicate p. The filtered elements are returned as a new set.
Once again, despite the way the problem is stated, we aren't returning a set of elements but a function that checks that an element is both in the set and returns true
when passed to the function that's given.
def filter(s: FunSet, p: Int => Boolean): FunSet =
(element: Int) => s(element) && p(element)
Queries and Transformations on Sets
For All
In this part, we are interested in functions used to make requests on elements of a set. The first function tests whether a given predicate is true for all elements of the set. This forall function has the following signature:
def forall(s: FunSet, p: Int => Boolean): Boolean
Note that there is no direct way to find which elements are in a set. contains
only allows us to know whether a given element is included. Thus, if we wish to do something to all elements of a set, then we have to iterate over all integers, testing each time whether it is included in the set, and if so, to do something with it. Here, we consider that an integer x has the property -1000 <= x <= 1000 in order to limit the search space.
- Base Case
Implement forall using linear recursion. For this, use a helper function nested in
forall
. In the implementation there is a variable namedbound
which holds the absolute value for the bounds. Our stopping condition is when we've reached the end of the boundary. Since we need for the methodp
to return true for all elements ins
, if we reach the end then we know that it passed all the elements so our base returnstrue
:if(a > bound) true
I'm using
>
because the call to the inner function is going to incrementa
by one, so the stopping point is one past the bound. - Failing Case
Since all the elements in
s
have to return true when passed top
, if any element returns false then we can stop and report that the set doesn't pass.else if (s(a) && !p(a)) false
- The Recursive Call
Our final case is when
a
is still in bounds and passesp
, so we need to make the recursive call with the next integer.else iter(a + 1)
- Calling Iter
Since our range of integers is from
-bound
tobound
, we kick the whole thing off by calling theiter
method with-bound
.iter(-bound)
- The Whole Shebang
Here's the method all together.
def forall(s: FunSet, p: Int => Boolean): Boolean = { def iter(a: Int): Boolean = { if (a > bound) true else if (s(a) && !p(a)) false else iter(a + 1) } iter(-bound) }
Exists
Using
forall
, implement a function exists which tests whether a set contains at least one element for which the given predicate is true. Note that the functions forall and exists behave like the universal and existential quantifiers of first-order logic.
Although the instructions say to use forall
I couldn't see an obvious way to do it so I took the statement to mean "Using forall
as inspiration" implement exists
.
- The Base Case
In this case, our method will quit as soon as any element passes so if we reach the end that means that none of them did so we need to return false.
if (a > bound) false
- The Short-Circuit
As soon as an element is in
s
and passesp
we can return true.else if (s(a) && p(a)) true
The rest of the method looks the same as
forall
. - The Whole Thing
def exists(s: FunSet, p: Int => Boolean): Boolean = { def iter(a: int): Boolean = { if (a > bound) false else if (s(a) && p(a)) true else iter(a + 1) } iter(-bound) }
Map
Finally, using forall or exists, write a function map which transforms a given set into another one by applying to each of its elements the given function. map has the following signature:
Once again, rather than re-using the previous methods exactly I'm going to use their spirit. This time I'll use the accumulator pattern to turn the inner function to a tail-recursive one.
def iter(a: Int, accumulator: Set[Int]): Set[Int]
- Base Case
Since we have an
accumulator
that holds the set of mapped values, when we reach the end we just return it.if (a > bound) accumulator
- Updating the Accumulator
If the next element is in
s
we need to add the mapped value for the element to the accumulator and make the next recursive call. Alternatively you could just update the accumulator, but then you'd have an extra variable.else if (s(a)) iter(a + 1, accumulator + f(a))
- The Recursive Call
This is like the other methods except we have to pass the accumulator.
else iter(a + 1, accumulator)
- Calling the Inner Function
To initialize the accumulator, I pass in an empty set of type integer (by creating a set with an integer and then empyting it).
iter(-bound, Set(0).empty)
def map(s: FunSet, f: Int => Int): FunSet
Extra Hints
Be attentive in the video lectures on how to write anonymous functions in Scala. Sets are represented as functions. Think about what it means for an element to belong to a set, in terms of function evaluation. For example, how do you represent a set that contains all numbers between 1 and 100? Most of the solutions for this assignment can be written as one-liners. If you have more, you probably need to rethink your solution. In other words, this assignment needs more thinking (whiteboard, pen and paper) than coding ;-). If you are having some trouble with terminology, have a look at the glossary.


Module textredux.core.indicator
The indicator module provides support for indicators in your buffers.
Indicators lets you visually mark a certain text range using various styles and colors. Using the event mechanism you can also receive events whenever the user clicks the marked text.
The indicator definition
An indicator is defined using a simple table with the properties listed below. For the most part, these properties maps directly to fields in the buffer API.
style
: The style of the indicator. Seeindic_style
.alpha
: Alpha transparency value from 0 to 255 (or 256 for no alpha), used for fill colors of rectangles . Seeindic_alpha
.outline_alpha
: Alpha transparency value from 0 to 255 (or 256 for no alpha), used for outline colors of rectangles . Seeindic_outline_alpha
.fore
: The foreground color of the indicator. The color should be specified in the'#rrggbb'
notation.under
: Whether an indicator is drawn under text or over (default). Drawing under text works only when two phase drawing is enabled for the buffer (the default).
A simple example:
local reduxindicator = textredux.core.indicator reduxindicator.RED_BOX = {style = c.INDIC_BOX, fore = '#ff0000'}
Using indicators
Start with defining your indicators using the format described above. You can then either apply them against a range of text using apply, or pass them to one of the text insertion functions in textredux.core.buffer.
local text = 'Text for a red box indicator\n\n' buffer:add_text(text) reduxindicator.RED_BOX:apply(0, #text) buffer:add_text(text, nil, nil, reduxindicator.RED_BOX)
Please also see the file examples/buffer_indicators.lua
.


Registration Page
Additional Information
Those information are not required, and you will still be able to add them later on going into your profile account.
Check as some of those are not into the database!


Peter Pan
by J.M. Barrie
Chapter 3: Come Away, Come Away!
Additional Information
- Year Published: 1911
- Language: English
- Country of Origin: Scotland
- Source: Barrie, J. M. (1911)Peter and Wendy.
-
Readability:
- Flesch–Kincaid Level: 7.5
- Word Count: 4,601
- Genre: Fantasy
- Keywords: 20th century literature, british literature, children’s literature, peter pan, scottish authors
- ✎ Cite This
Downloads
For a moment after Mr. and Mrs. Darling left the house the night-lights by the beds of the three children continued to burn clearly. They were awfully nice little night-lights, and one cannot help wishing that they could have kept awake to see Peter; but Wendy's light blinked and gave such a yawn that the other two yawned also, and before they could close their mouths all the three went out.
There was another light in the room now, a thousand times brighter than the night-lights, and in the time we have taken to say this, it had been in all the drawers in the nursery, looking for Peter's shadow, rummaged the wardrobe and turned every pocket inside out. It was not really a light; it made this light by flashing about so quickly, but when it came to rest for a second you saw it was a fairy, no longer than your hand, but still growing. It was a girl called Tinker Bell exquisitely gowned in a skeleton leaf, cut low and square, through which her figure could be seen to the best advantage. She was slightly inclined to EMBONPOINT. [plump hourglass figure]
A moment after the fairy's entrance the window was blown open by the breathing of the little stars, and Peter dropped in. He had carried Tinker Bell part of the way, and his hand was still messy with the fairy dust.
"Tinker Bell," he called softly, after making sure that the children were asleep, "Tink, where are you?" She was in a jug for the moment, and liking it extremely; she had never been in a jug before.
"Oh, do come out of that jug, and tell me, do you know where they put my shadow?"
The loveliest tinkle as of golden bells answered him. It is the fairy language. You ordinary children can never hear it, but if you were to hear it you would know that you had heard it once before.
Tink said that the shadow was in the big box. She meant the chest of drawers, and Peter jumped at the drawers, scattering their contents to the floor with both hands, as kings toss ha'pence to the crowd. In a moment he had recovered his shadow, and in his delight he forgot that he had shut Tinker Bell up in the drawer.
If he thought at all, but I don't believe he ever thought, it was that he and his shadow, when brought near each other, would join like drops of water, and when they did not he was appalled. He tried to stick it on with soap from the bathroom, but that also failed. A shudder passed through Peter, and he sat on the floor and cried.
His sobs woke Wendy, and she sat up in bed. She was not alarmed to see a stranger crying on the nursery floor; she was only pleasantly interested.
"Boy," she said courteously, "why are you crying?"
Peter could be exceeding polite also, having learned the grand manner at fairy ceremonies, and he rose and bowed to her beautifully. She was much pleased, and bowed beautifully to him from the bed.
"What's your name?" he asked.
"Wendy Moira Angela Darling," she replied with some satisfaction. "What is your name?"
"Peter Pan."
She was already sure that he must be Peter, but it did seem a comparatively short name.
"Is that all?"
"Yes," he said rather sharply. He felt for the first time that it was a shortish name.
"I'm so sorry," said Wendy Moira Angela.
"It doesn't matter," Peter gulped.
She asked where he lived.
"Second to the right," said Peter, "and then straight on till morning."
"What a funny address!"
Peter had a sinking. For the first time he felt that perhaps it was a funny address.
"No, it isn't," he said.
"I mean," Wendy said nicely, remembering that she was hostess, "is that what they put on the letters?"
He wished she had not mentioned letters.
"Don't get any letters," he said contemptuously.

"Don't have a mother," he said. Not only had he no mother, but he had not the slightest desire to have one. He thought them very over-rated persons. Wendy, however, felt at once that she was in the presence of a tragedy.
"O Peter, no wonder you were crying," she said, and got out of bed and ran to him.
"I wasn't crying about mothers," he said rather indignantly. "I was crying because I can't get my shadow to stick on. Besides, I wasn't crying."
"It has come off?"
"Yes."
Then Wendy saw the shadow on the floor, looking so draggled, and she was frightfully sorry for Peter. "How awful!" she said, but she could not help smiling when she saw that he had been trying to stick it on with soap. How exactly like a boy!
Fortunately she knew at once what to do. "It must be sewn on," she said, just a little patronisingly.
"What's sewn?" he asked.
"You're dreadfully ignorant."
"No, I'm not."
But she was exulting in his ignorance. "I shall sew it on for you, my little man," she said, though he was tall as herself, and she got out her housewife [sewing bag], and sewed the shadow on to Peter's foot.
"I daresay it will hurt a little," she warned him.
"Oh, I shan't cry," said Peter, who was already of the opinion that he had never cried in his life.
"Perhaps I should have ironed it," Wendy said thoughtfully, but Peter, boylike, was indifferent to appearances, and he was now jumping about in the wildest glee. Alas, he had already forgotten that he owed his bliss to Wendy. He thought he had attached the shadow himself. "How clever I am!" he crowed rapturously, "oh, the cleverness of me!"
It is humiliating to have to confess that this conceit of Peter was one of his most fascinating qualities. To put it with brutal frankness, there never was a cockier boy.
But for the moment Wendy was shocked. "You conceit [braggart]," she exclaimed, with frightful sarcasm; "of course I did nothing!"
"You did a little," Peter said carelessly, and continued to dance.
"A little!" she replied with hauteur [pride]; "if I am no use I can at least withdraw," and she sprang in the most dignified way into bed and covered her face with the blankets.
To induce her to look up he pretended to be going away, and when this failed he sat on the end of the bed and tapped her gently with his foot. "Wendy," he said, "don't withdraw. I can't help crowing, Wendy, when I'm pleased with myself." Still she would not look up, though she was listening eagerly. "Wendy," he continued, in a voice that no woman has ever yet been able to resist, "Wendy, one girl is more use than twenty boys."
Now Wendy was every inch a woman, though there were not very many inches, and she peeped out of the bed-clothes.

"Yes, I do."
"I think it's perfectly sweet of you," she declared, "and I'll get up again," and she sat with him on the side of the bed. She also said she would give him a kiss if he liked, but Peter did not know what she meant, and he held out his hand expectantly.
 she asked, aghast.
"I shall know when you give it to me," he replied stiffly, and not to hurt his feeling she gave him a thimble.
"Now," said he, "shall I give you a kiss?" and she replied with a slight primness, "If you please."  It was lucky that she did put it on that chain, for it was afterwards to save her life.
When people in our set are introduced, it is customary for them to ask each other's age, and so Wendy, who always liked to do the correct thing, asked Peter how old he was. It was not really a happy question to ask him; it was like an examination paper that asks grammar, when what you want to be asked is Kings of England.
"I don't know," he replied uneasily, "but I am quite young." He really knew nothing about it, he had merely suspicions, but he said at a venture, "Wendy, I ran away the day I was born."
Wendy was quite surprised, but interested; and she indicated in the charming drawing-room manner, by a touch on her night-gown, that he could sit nearer her.
"It was because I heard father and mother," he explained in a low voice, "talking about what I was to be when I became a man." He was extraordinarily agitated now. "I don't want ever to be a man," he said with passion. "I want always to be a little boy and to have fun. So I ran away to Kensington Gardens and lived a long long time among the fairies."
She gave him a look of the most intense admiration, and he thought it was because he had run away, but it was really because he knew fairies. Wendy had lived such a home life that to know fairies struck her as quite delightful. She poured out questions about them, to his surprise, for they were rather a nuisance to him, getting in his way and so on, and indeed he sometimes had to give them a hiding [spanking]. Still, he liked them on the whole, and he told her about the beginning of fairies.
"You see, Wendy, when the first baby laughed for the first time, its laugh broke into a thousand pieces, and they all went skipping about, and that was the beginning of fairies."
Tedious talk this, but being a stay-at-home she liked it.
"And so," he went on good-naturedly, "there ought to be one fairy for every boy and girl."
"Ought to be? Isn't there?"
"No. You see children know such a lot now, they soon don't believe in fairies, and every time a child says, 'I don't believe in fairies,' there is a fairy somewhere that falls down dead."
Really, he thought they had now talked enough about fairies, and it struck him that Tinker Bell was keeping very quiet. "I can't think where she has gone to," he said, rising, and he called Tink by name. Wendy's heart went flutter with a sudden thrill.
"Peter," she cried, clutching him, "you don't mean to tell me that there is a fairy in this room!"
"She was here just now," he said a little impatiently. "You don't hear her, do you?" and they both listened.
"The only sound I hear," said Wendy, "is like a tinkle of bells."
"Well, that's Tink, that's the fairy language. I think I hear her too."
The sound come from the chest of drawers, and Peter made a merry face. No one could ever look quite so merry as Peter, and the loveliest of gurgles was his laugh. He had his first laugh still.
"Wendy," he whispered gleefully, "I do believe I shut her up in the drawer!"
He let poor Tink out of the drawer, and she flew about the nursery screaming with fury. "You shouldn't say such things," Peter retorted. "Of course I'm very sorry, but how could I know you were in the drawer?"
Wendy was not listening to him. "O Peter," she cried, "if she would only stand still and let me see her!"
"They hardly ever stand still," he said, but for one moment Wendy saw the romantic figure come to rest on the cuckoo clock. "O the lovely!" she cried, though Tink's face was still distorted with passion.
"Tink," said Peter amiably, "this lady says she wishes you were her fairy."
Tinker Bell answered insolently.
"What does she say, Peter?"
He had to translate. "She is not very polite.
He tried to argue with Tink.
To this Tink replied in these words, "You silly ass," and disappeared into the bathroom. "She is quite a common fairy," Peter explained apologetically, "she is called Tinker Bell because she mends the pots and kettles [tinker = tin worker]." [Similar to "cinder" plus "elle" to get Cinderella]
They were together in the armchair by this time, and Wendy plied him with more questions.
"If you don't live in Kensington Gardens now—"
"Sometimes I do still."
"But where do you live mostly now?"
"With the lost boys."
"Who are they?"
"They are the children who fall out of their perambulators when the nurse is looking the other way. If they are not claimed in seven days they are sent far away to the Neverland to defray expenses. I'm captain."
"What fun it must be!"
"Yes," said cunning Peter, "but we are rather lonely. You see we have no female companionship."
"Are none of the others girls?"
"Oh, no; girls, you know, are much too clever to fall out of their prams."
This flattered Wendy immensely. "I think," she said, "it is perfectly lovely the way you talk about girls; John there just despises us."
For reply Peter rose and kicked John out of bed, blankets and all; one kick. This seemed to Wendy rather forward for a first meeting, and she told him with spirit that he was not captain in her house. However, John continued to sleep so placidly on the floor that she allowed him to remain there. "And I know you meant to be kind," she said, relenting, "so you may give me a kiss."
For the moment she had forgotten his ignorance about kisses. "I thought you would want it back," he said a little bitterly, and offered to return her the thimble.
"Oh dear," said the nice Wendy, "I don't mean a kiss, I mean a thimble."
"What's that?"
"It's like this." She kissed him.
"Funny!" said Peter gravely. "Now shall I give you a thimble?"
"If you wish to," said Wendy, keeping her head erect this time.
Peter thimbled her, and almost immediately she screeched. "What is it, Wendy?"
"It was exactly as if someone were pulling my hair."
"That must have been Tink. I never knew her so naughty before."
And indeed Tink was darting about again, using offensive language.

"But why?"
"Why, Tink?"
 Peter could not understand why, but Wendy understood, and she was just slightly disappointed when he admitted that he came to the nursery window not to see her but to listen to stories.
"You see, I don't know any stories. None of the lost boys knows any stories."
"How perfectly awful," Wendy said.
"Do you know," Peter asked "why swallows build in the eaves of houses? It is to listen to the stories.
"Which story was it?"
"About the prince who couldn't find the lady who wore the glass slipper."
"Peter," said Wendy excitedly, "that was Cinderella, and he found her, and they lived happily ever after."
Peter was so glad that he rose from the floor, where they had been sitting, and hurried to the window.
"Where are you going?" she cried with misgiving.
"To tell the other boys."
"Don't go Peter," she entreated, "I know such lots of stories."
Those were her precise words, so there can be no denying that it was she who first tempted him.
He came back, and there was a greedy look in his eyes now which ought to have alarmed her, but did not.
"Oh, the stories I could tell to the boys!" she cried, and then Peter gripped her and began to draw her toward the window.
"Let me go!" she ordered him.
"Wendy, do come with me and tell the other boys."
Of course she was very pleased to be asked, but she said, "Oh dear, I can't. Think of mummy! Besides, I can't fly."
"I'll teach you."
"Oh, how lovely to fly."
"I'll teach you how to jump on the wind's back, and then away we go."
"Oo!" she exclaimed rapturously.
"Wendy, Wendy, when you are sleeping in your silly bed you might be flying about with me saying funny things to the stars."
"Oo!"
"And, Wendy, there are mermaids."
"Mermaids! With tails?"
"Such long tails."
"Oh," cried Wendy, "to see a mermaid!"
He had become frightfully cunning. "Wendy," he said, "how we should all respect you."
She was wriggling her body in distress. It was quite as if she were trying to remain on the nursery floor.
But he had no pity for her.
"Wendy," he said, the sly one, "you could tuck us in at night."
"Oo!"
"None of us has ever been tucked in at night."
"Oo," and her arms went out to him.
"And you could darn our clothes, and make pockets for us. None of us has any pockets."
How could she resist. "Of course it's awfully fascinating!" she cried. "Peter, would you teach John and Michael to fly too?"
"If you like," he said indifferently, and she ran to John and Michael and shook them. "Wake up," she cried, "Peter Pan has come and he is to teach us to fly."
John rubbed his eyes. "Then I shall get up," he said. Of course he was on the floor already. "Hallo," he said, "I am up!"
Michael was up by this time also, looking as sharp as a knife with six blades and a saw, but Peter suddenly signed silence. Their faces assumed the awful craftiness of children listening for sounds from the grown-up world. All was as still as salt. Then everything was right. No, stop! Everything was wrong. Nana, who had been barking distressfully all the evening, was quiet now. It was her silence they had heard.
"Out with the light! Hide! Quick!" cried John, taking command for the only time throughout the whole adventure. And thus when Liza entered, holding Nana, the nursery seemed quite its old self, very dark, and you would have sworn you heard its three wicked inmates breathing angelically as they slept. They were really doing it artfully from behind the window curtains.
Liza was in a bad temper, for she was mixing the Christmas puddings in the kitchen, and had been drawn from them, with a raisin still on her cheek, by Nana's absurd suspicions. She thought the best way of getting a little quiet was to take Nana to the nursery for a moment, but in custody of course.
"There, you suspicious brute," she said, not sorry that Nana was in disgrace. "They are perfectly safe, aren't they? Every one of the little angels sound asleep in bed. Listen to their gentle breathing."
Here Michael, encouraged by his success, breathed so loudly that they were nearly detected. Nana knew that kind of breathing, and she tried to drag herself out of Liza's clutches.
But Liza was dense. "No more of it, Nana," she said sternly, pulling her out of the room.
She tied the unhappy dog up again, but do you think Nana ceased to bark? Bring master and missus home from the party! Why, that was just what she wanted. Do you think she cared whether she was whipped so long as her charges were safe? Unfortunately Liza returned to her puddings, and Nana, seeing that no help would come from her, strained and strained at the chain until at last she broke it. In another moment she had burst into the dining-room of 27 and flung up her paws to heaven, her most expressive way of making a communication. Mr. and Mrs. Darling knew at once that something terrible was happening in their nursery, and without a good-bye to their hostess they rushed into the street.
But it was now ten minutes since three scoundrels had been breathing behind the curtains, and Peter Pan can do a great deal in ten minutes.
We now return to the nursery.
"It's all right," John announced, emerging from his hiding-place. "I say, Peter, can you really fly?"
Instead of troubling to answer him Peter flew around the room, taking the mantelpiece on the way.
"How topping!" said John and Michael.
"How sweet!" cried Wendy.
"Yes, I'm sweet, oh, I am sweet!" said Peter, forgetting his manners again.
It looked delightfully easy, and they tried it first from the floor and then from the beds, but they always went down instead of up.
"I say, how do you do it?" asked John, rubbing his knee. He was quite a practical boy.
"You just think lovely wonderful thoughts," Peter explained, "and they lift you up in the air."
He showed them again.
"You're so nippy at it," John said, "couldn't you do it very slowly once?"
Peter did it both slowly and quickly. "I've got it now, Wendy!" cried John, but soon he found he had not. Not one of them could fly an inch, though even Michael was in words of two syllables, and Peter did not know A from Z.
Of course Peter had been trifling with them, for no one can fly unless the fairy dust has been blown on him. Fortunately, as we have mentioned, one of his hands was messy with it, and he blew some on each of them, with the most superb results.
"Now just wiggle your shoulders this way," he said, "and let go."
They were all on their beds, and gallant Michael let go first. He did not quite mean to let go, but he did it, and immediately he was borne across the room.
"I flewed!" he screamed while still in mid-air.
John let go and met Wendy near the bathroom.
"Oh, lovely!"
"Oh, ripping!"
"Look at me!"
"Look at me!"
"Look at me!"
They were not nearly so elegant as Peter, they could not help kicking a little, but their heads were bobbing against the ceiling, and there is almost nothing so delicious as that. Peter gave Wendy a hand at first, but had to desist, Tink was so indignant.
Up and down they went, and round and round. Heavenly was Wendy's word.
"I say," cried John, "why shouldn't we all go out?"
Of course it was to this that Peter had been luring them.
Michael was ready: he wanted to see how long it took him to do a billion miles. But Wendy hesitated.
"Mermaids!" said Peter again.
"Oo!"
"And there are pirates."
"Pirates," cried John, seizing his Sunday hat, "let us go at once."
It was just at this moment that Mr. and Mrs. Darling hurried with Nana out of 27. They ran into the middle of the street to look up at the nursery window; and, yes, it was still shut, but the room was ablaze with light, and most heart-gripping sight of all, they could see in shadow on the curtain three little figures in night attire circling round and round, not on the floor but in the air.
Not three figures, four!
In a tremble they opened the street door. Mr. Darling would have rushed upstairs, but Mrs. Darling signed him to go softly. She even tried to make her heart go softly.
Will they reach the nursery in time? If so, how delightful for them, and we shall all breathe a sigh of relief, but there will be no story. On the other hand, if they are not in time, I solemnly promise that it will all come right in the end.
They would have reached the nursery in time had it not been that the little stars were watching them. Once again the stars blew the window open, and that smallest star of all called out:
"Cave, Peter!"
Then Peter knew that there was not a moment to lose. "Come," he cried imperiously, and soared out at once into the night, followed by John and Michael and Wendy.
Mr. and Mrs. Darling and Nana rushed into the nursery too late. The birds were flown.


About me
My classes this quarter:
- Only one course: CS 472 on DE
My favorite movies:
(There are many, but I will mention three...)My moods:
Happy
Sad
Fun facts about my neighbors:
... in fact, I have no neighboors ...


After moving to New York from the Netherlands I was relieved to find out that biking in Manhattan is actually pretty do-able. It’s not really as common as it is in the Netherlands, where it’s often the only means of transportation. Biking is much faster then traveling by car, and more enjoyable then the subway. Add the small risk of being hit by a cab (mirrors and side windows are objects the drivers chose to ignore), and you have a bit of a “thrill-seeking” experience.
Whereas in the Netherlands we have at least three bikes (one racing, one old for in the city, and one broken), owning your own bike in Manhattan is not very practical due to the lack of storage space. Luckily for us Dutchies there are the Citi Bikes: a bike-sharing program with over 10.000 bikes and 600+ stations (and growing).
Where do all the bikes go?
After using the bike sharing system for a while, you start noticing the main problem of bike sharing systems: everybody wants to be at the same place at the same time. E.g. people go to work in the morning - taking a bike from their living area or the place they come off their commute to the location of their workspace. The same happens in the afternoon, which results in some docks always being empty after 08:00 AM and some docks always being full after 08:00 am. Although Citi-Bike employees are working hard to re-stock some of the empty docks, it is mission impossible to do this fast enough during rush hour.
So where are the bikes going during the rush hours? Using the app you get a feeling of certain area’s being depleted completely during certain times, while other areas are fully stocked. However this is just a snapshot in time. For a better overview I decided to plot the bike distribution using a Kernel Denisity Estimation of the probability function. By creating one plot for every minute during the day, and using these as frames in a movie, I was able to get a good visualization of bike availability throughout the day.
One day of Citi Bikes in NYC
Next to the density plot, I’ve added some markers for the location of the docks as well, where the color denotes the percentage of bikes available in that dock (0% means an empty dock, and 100% means a completely full dock). And a plot that displays the total availability throughout the day.
See for yourself where all the bikes go:
What do we see?
Studies show that Citi Bikes are mostly used for commuting, and I believe this animation shows that as well. During the night most bikes are in the upper east and upper west, near Penn station. The highest density by far is on the lower east side.
During the morning rush hour the bikes move quickly to midtown, the financial district, and other work-areas.
During the afternoon rush hour, the bike stations in these working areas are depleted again. Note that the data used in this animation was on a Friday, which means the rush hour started early.
How it’s made
This visualisation was made in Python, using Pandas, Matplotlib Seaborn, and Basemap.
For the full Jupter Notebook with code click here