45 #ifndef HOMEBOT_INCLUDE_HOMEBOT_BOTAFFECTHADOOROPR_HPP_
46 #define HOMEBOT_INCLUDE_HOMEBOT_BOTAFFECTHADOOROPR_HPP_
50 #include "homebot/HADoor.h"
64 homebot::HADoor::Request
details();
68 homebot::HADoor::Request request;
homebot::HADoor::Request details()
Provides access to operation details for testing purposes.
Definition: BotAffectHADoorOpr.cpp:75
Provides a Home Automation "door" operation (open/close); derived from BotOperation.
Definition: BotAffectHADoorOpr.hpp:58
Holds system parameters used to ensure Operations are built to respect the limits of the system...
Definition: OperationParameters.hpp:52
Base class for all operations; used to create new instances of derived classes from text-based source...
Definition: BotOperation.hpp:65
BotAffectHADoorOpr()
Constructor with no arguments for BotAffectHADoorOpr; creates a useless object that won't execute...
Definition: BotAffectHADoorOpr.cpp:51
A simple read-only object to pass parameters used to make sure operations are within limits when crea...
This is a base class for all Bot Operations, the things a HomeBot can do using service/actions.
An object to hold ROS action/service clients needed to perform Bot operations in the HomeBot system...
Definition: BotOprClients.hpp:64
bool execute(BotOprClients &clients)
Performs the behavior embedded in this operation (HADoor opens/closes doors via the Home Automation s...
Definition: BotAffectHADoorOpr.cpp:107
Holds a set of ROS service and action clients necessary to execute Bot Operations.
bool isExecutable(const OperationParameters &opParams)
Validates that an operation is within acceptable parameters.
Definition: BotAffectHADoorOpr.cpp:84


I've always loved being creative, whether be it making YouTube videos on different topics of computer science, or writing ebooks (for personal references) or writing blogs or developing / learning things, or giving answers on Quora or Stack Overflow . I also love to solve problems on Codility and Brilliant.org
I have a deep love for music as evident from my SoundCloud profile.


At least 26 dead as plane crashes into homes in DR Congo
The plane crashed into residential homes near Goma airport.
A small passenger plane crashed shortly after take-off Sunday in Democratic Republic of Congo’s eastern city of Goma, killing 26 people, including passengers, crew and people on the ground, the government said.
The 19-seater aircraft crashed into residential homes in the Mapendo district near Goma’s airport in the North Kivu province, according to the government.
Black smoke rose from the plane in the morning, whose wreckage could be seen amid destroyed homes as dozens of men tried to help with the rescue efforts.
The Dornier 228-200 was owned by private carrier Busy Bee and was heading to Beni, about 220 miles north of Goma in the same province.
The provisional death toll jumped to 26 dead later Sunday, including 17 passengers, two crew members and seven residents in Goma, the ministry of transportation said after collecting information from other government departments.
The government extended its condolences to all the families of those killed.
Earlier, the National Border Health Programme said there were two survivors, including a crew member, who were being cared for at a local hospital.
Placide Kambale, a local pilot, said he took a taxi to the scene of the crash to help out. When he got there, the plane was on fire.
“We have managed to recover two that was quickly sent to the hospital,” but then the fire expanded.
The UN mission said it sent an emergency crash and rescue team with two fire engines to support authorities.
Plane crashes are frequent in the central African nation of DR Congo because of poor maintenance and relaxed air safety standards.
None of the country’s commercial carriers, including Busy Bee, are allowed to fly into European Union airspace because of safety concerns.


Consultant
Home
Ask a Question
Be a Consultant
Top Consultant
My Profile
Log out
Feeds
Top Catagory 1
Top Catagory 2
Top Catagory 3
Top Catagory 4
Top Catagory 5
Trending
Trending Catagory 1
Trending Catagory 2
Trending Catagory 3
Trending Catagory 4
Trending Catagory 5
Edit Profile
Upload a different photo...
×
This is an
alert
. Use this to show important messages to the user.
Personal info
First name:
Last name:
Company:
Email:
Time Zone:
(GMT-10:00) Hawaii
(GMT-09:00) Alaska
(GMT-08:00) Pacific Time (US & Canada)
(GMT-07:00) Arizona
(GMT-07:00) Mountain Time (US & Canada)
(GMT-06:00) Central Time (US & Canada)
(GMT-05:00) Eastern Time (US & Canada)
(GMT-05:00) Indiana (East)
Username:
Password:
Confirm password:
Consultants
Tamim Ibn Aman
Follow
Tamim Ibn Aman
Follow
Tamim Ibn Aman
Follow
Topics
Psycho
Follow
Pagol
Follow
Boss
Follow


Personal Project
2017
Bogotá D.C. Colombia
Marine Life Conservation App. This application showed different species of fish in their respective state (invasive, endangered, non-endangered) and depending on the state provided the user with useful information. For example, if it was in danger, it gave information on how to help conserve the species and showed consumption alternatives with recipes.
Full stack application, mongo data base, node + react back end, ionic framework as front end that consume rest services.
Front end iteration due to user experience feedback to create a easy to use app.
Programming
Design
Personal


a carpark
[10, 10]
|
wasteland
[11, 10]
|
a factory
[12, 10]
|
Pippen Grove
[13, 10]
|
the Methuen Monument
[14, 10]
|
Wilmott Row
[15, 10]
|
St Joachim's Church
[16, 10]
|
a junkyard
[17, 10]
|
Brodribb Way
[18, 10]
|
a carpark
[19, 10]
|
a warehouse
[10, 11]
|
Howard Towers
[11, 11]
|
Nugent Walk
[12, 11]
|
Meecham Plaza
[13, 11]
|
the Perceval Building
[14, 11]
|
Colglough Library
[15, 11]
|
a cemetery
[16, 11]
|
a junkyard
[17, 11]
|
Ormrod Avenue Railway Station
[18, 11]
|
the Walbridge Monument
[19, 11]
|
Hewlett Boulevard Railway Station
[10, 12]
|
St Arnold's Church
[11, 12]
|
Hollard Park
[12, 12]
|
wasteland
[13, 12]
|
the Bubwith Hotel
[14, 12]
|
Brentnall Grove Police Dept
[15, 12]
|
the Hebdon Museum
[16, 12]
|
Busby Walk
[17, 12]
|
Maria General Hospital
[18, 12]
|
Boggis Avenue
[19, 12]
|
Dancey Towers
[10, 13]
|
a cemetery
[11, 13]
|
Loaring Grove
[12, 13]
|
Alaway Row
[13, 13]
|
the Boylin Arms
[14, 13]
|
Shervord Place
[15, 13]
|
Budgen Lane
[16, 13]
|
the Ive Museum
[17, 13]
|
Bickersteth Row
[18, 13]
|
the Furneaux Building
[19, 13]
|
Mules Walk Railway Station
[10, 14]
|
the Drewer Monument
[11, 14]
|
Higgin Square Fire Station
[12, 14]
|
the MacCarthy Building
[13, 14]
|
the Organ Arms
[14, 14]
|
St Wilfrid's Hospital
[15, 14]
|
Cridge Alley Railway Station
[16, 14]
|
Burcham Bank
[17, 14]
|
wasteland
[18, 14]
|
the Partington Monument
[19, 14]
|
the Perriam Museum
[10, 15]
|
Scievell Place
[11, 15]
|
the Farnol Arms
[12, 15]
|
Maney Library
[13, 15]
|
Flynn Road
[14, 15]
|
wasteland
[15, 15]
|
wasteland
[16, 15]
|
Bargery Square
[17, 15]
|
the Critchell Building
[18, 15]
|
MacDonald Way
[19, 15]
|
Galvin Plaza
[10, 16]
|
a warehouse
[11, 16]
|
a warehouse
[12, 16]
|
Bampfield Road
[13, 16]
|
Griffen Way
[14, 16]
|
St Josephine's Church
[15, 16]
|
Veresmith Boulevard School
[16, 16]
|
the Ludlow Building
[17, 16]
|
the Gibbens Building
[18, 16]
|
Hiscock Walk
[19, 16]
|
Inder Park
[10, 17]
|
Corrie Square
[11, 17]
|
Hurford Alley
[12, 17]
|
Hyde Walk
[13, 17]
|
Garwood Road Railway Station
[14, 17]
|
the Hamlen Monument
[15, 17]
|
McDonnell Library
[16, 17]
|
Edmund General Hospital
[17, 17]
|
Herne Plaza
[18, 17]
|
Walmsley Lane
[19, 17]
|
the Conybeare Monument
[10, 18]
|
the Billows Building
[11, 18]
|
the Halliday Building
[12, 18]
|
Joliffe Way
[13, 18]
|
wasteland
[14, 18]
|
wasteland
[15, 18]
|
Parrott Alley
[16, 18]
|
Park Way
[17, 18]
|
the Cuss Arms
[18, 18]
|
Fennessy Road Railway Station
[19, 18]
|
Jesse Place
[10, 19]
|
the Osbaldeston Building
[11, 19]
|
Horn Drive School
[12, 19]
|
Thom Grove
[13, 19]
|
the Peet Building
[14, 19]
|
St Basil's Church
[15, 19]
|
a warehouse
[16, 19]
|
the Westover Monument
[17, 19]
|
Bennett Way
[18, 19]
|
Tripick Lane
[19, 19]
|
|
Menu
City Map
Find Location
Route Finder
World View
Map Mirror
|


| baricitinib
35
|
1187594-09-7 |
JAK kinase |
a JAK inhibitor that may interfere with the inflammatory processes |
approved drug for rheumatoid arthritis |
| lopinavir
19
a
|
192725-17-0 |
viral proteases: 3CLpro or PLpro |
protease inhibitors that may inhibit the viral proteases: 3CLpro or PLpro |
lopinavir and ritonavir are approved drug combination for HIV infection |
| ritonavir
19,
37
c
|
155213-67-5 |
|
|
|
| darunavir
33
|
206361-99-1 |
|
|
approved drug for HIV infection |
| favipiravir (favilavir)
29,
36
|
259793-96-9 |
RdRp |
a purine nucleoside that acts as an alternate substrate leading to inaccurate viral RNA synthesis |
viral infections |
| remdesivir
19,
29,
32
a
|
1809249-37-3 |
|
a nucleotide analogue that may block viral nucleotide synthesis to stop viral replication |
Ebola virus infection |
| ribavirin
16,
29−
31
a
|
36791-04-5 |
|
|
RSV infection, hepatitis C, some viral hemorrhagic fevers |
| galidesivir
34
b
|
249503-25-1 |
|
|
hepatitis C, Ebola virus, Marburg virus |
| BCX-4430 (salt form of galidesivir)
34
b
|
222631-44-9 |
|
|
hepatitis C, Ebola virus, Marburg virus |
| Arbidol
22,
33
a
|
131707-23-8 |
S protein/ACE2
d
|
an inhibitor that may disrupt the binding of viral envelope protein to host cells and prevent viral entry to the target cell |
influenza antiviral drug |
| chloroquine
29,
32
|
54-05-7 |
endosome/ACE2 |
a drug that can elevate endosomal pH and interfere with ACE2 glycosylation |
malarial parasite infection |
| nitazoxanide
29
|
55981-09-4 |
N/A |
a drug that may inhibit viral protein expression |
various helminthic, protozoal, and viral infection-caused diarrhea |
a
Drugs under clinical trials for treating COVID-19 (repurposing).
b
Drugs under clinical trials for other virus-induced diseases.
c
Ritonavir is a pharmacokinetic profile enhancer that may potentiate the effects of other protease inhibitors due to its ability to attenuate the degradation of those drugs by the liver enzyme CYP3A4 and thus is used in combination with antivirial Lopinavir.
37
d
An inhibitor of viral entry to host cells. Its direct action on S protein and ACE2 is yet to be confirmed.


Select song: Select a tune Cooley's Polka från Södermanland
Select instrument: Acoustic Piano Electric Piano Harpsichord Clavi Celesta Tango Accordion Acoustic Guitar (nylon) Acoustic Guitar (steel) Electric Guitar (jazz) Trumpet Trombone Tuba Muted Trumpet French Horn
Play Stop
Tune1 status:
Tune2 status:


| 1535706 |
activity report - audit |
Bug |
| 1540247 |
Homepage "box order" |
Enhancement |
| 1540254 |
Homepage - buttons |
Enhancement |
| 1534546 |
(Agency) Linking seeds to permissions |
Bug |
| 1536373 |
UC04 - Audit Quality Review actions |
Bug |
| 1541711 |
Requested Object Not Found error |
Bug |
| 1528164 |
Traget Instance stuck in "Stopping" state |
Bug |
| 1529274 |
Email address all-lowercase |
Bug |
| 1529272 |
Icons missing mouseover text |
Bug |
| 1528773 |
Bad images from compressed ARC files |
Bug |
| 1530147 |
User, Role, and Agency sorting |
None |
| 1529276 |
Target Description field is very short |
Bug |
| 1535893 |
System Activity Report - more detail required |
Bug |
| 1535563 |
provenance note |
Bug |
| 1541022 |
Review - String index out of range exception |
Bug |
| 1533641 |
Changes to bandwidth settings not recorded in audit log |
Bug |
| 1533577 |
field length |
None |
| 1529291 |
Comma instead of fullstop in name abbreviations |
Bug |
| 1528745 |
Editing the Default Profile sets its state to inactive |
Bug |
| 1529285 |
textarea styles |
Bug |
| 1531396 |
There is no confirmation on delete of Target or User |
Enhancement |
| 1533637 |
Target Instance Queue search: "From" field should be empty |
Bug |
| 1533594 |
pending permission dates |
Bug |
| 1533597 |
delegated target: new owner's In Tray |
Bug |
| 1534161 |
Rename TargetInstance search result columns |
Enhancement |
| 1533600 |
relabel radio button |
Enhancement |
| 1533986 |
Target Name field is too short |
Bug |
| 1533585 |
notification failure |
None |
| 1533582 |
icon repetition Copy/Transfer |
Enhancement |
| 1531668 |
Test schedules: form validation |
Bug |
| 1533589 |
field missing |
None |
| 1534297 |
Modifying Target Instances |
None |
| 1535560 |
reviewing harvested target instances |
Enhancement |
| 1534148 |
Harvest Authorisations: cannot view Permissions or Agents |
None |
| 1533587 |
stranded post action |
Bug |
| 1535634 |
Manage Groups issues |
None |
| 1535656 |
no delete or copy |
None |
| 1535662 |
delete profile |
Bug |
| 1535665 |
No way to request a harvest of a Target immediately |
Bug |
| 1535667 |
pause all running harvests |
None |
| 1535919 |
Harvest Authorisations: privileges |
Bug |
| 1536212 |
Adding seeds to a target with 'Auto' Authorisation |
Bug |
| 1536179 |
(Agency) Manage Roles privilege allows unrestricted editing |
Bug |
| 1530077 |
How to view harvester alerts? |
Bug |
| 1530125 |
Target Instance search result date column |
Enhancement |
| 1533461 |
permissions privilege |
Bug |
| 1534290 |
user interface issues |
Bug |
| 1534303 |
claiming tasks: recording claimer |
Bug |
| 1535702 |
UI |
Bug |
| 1536699 |
Expired permissions - linking and status |
Bug |
| 1534295 |
user interface issue |
Bug |
| 1536571 |
Claimed tasks can be deleted by non-owner |
Bug |
| 1536706 |
Harvest deferred notifications |
Bug |
| 1537712 |
Some tables of search results don't label Action column |
Bug |
| 1537415 |
User address field to small |
Bug |
| 1537700 |
Search area is smaller than its contents |
Bug |
| 1537707 |
Default search by "State" checkboxes inconsistent |
Bug |
| 1538193 |
User deletion |
Bug |
| 1531622 |
Object names not visible when leaving the 'General' tab |
Bug |
| 1534558 |
Changing the base profile |
Bug |
| 1537378 |
Agency URL: form validation |
Bug |
| 1540254 |
Homepage - buttons |
Enhancement |
| 1540247 |
Homepage "box order" |
Enhancement |
| 1534295 |
user interface issue |
Bug |
| 1537700 |
Search area is smaller than its contents |
Bug |
| 1533641 |
Changes to bandwidth settings not recorded in audit log |
Bug |
| 1535560 |
reviewing harvested target instances |
Enhancement |
| 1537415 |
User address field to small |
Bug |
| 1533637 |
Target Instance Queue search: "From" field should be empty |
Bug |
| 1535662 |
delete profile |
Bug |
| 1537378 |
Agency URL: form validation |
Bug |
| 1538193 |
User deletion |
Bug |
| 1534558 |
Changing the base profile |
Bug |
| 1531622 |
Object names not visible when leaving the 'General' tab |
Bug |
| 1537707 |
Default search by "State" checkboxes inconsistent |
Bug |
| 1537712 |
Some tables of search results don't label Action column |
Bug |
| 1534303 |
claiming tasks: recording claimer |
Bug |
| 1536373 |
UC04 - Audit Quality Review actions |
Bug |
| 1536179 |
(Agency) Manage Roles privilege allows unrestricted editing |
Bug |
| 1536699 |
Expired permissions - linking and status |
Bug |
| 1536706 |
Harvest deferred notifications |
Bug |
| 1536571 |
Claimed tasks can be deleted by non-owner |
Bug |
| 1535702 |
UI |
Bug |
| 1535893 |
System Activity Report - more detail required |
Bug |
| 1533587 |
stranded post action |
Bug |
| 1534290 |
user interface issues |
Bug |
| 1533461 |
permissions privilege |
Bug |
| 1530125 |
Target Instance search result date column |
Enhancement |
| 1535563 |
provenance note |
Bug |
| 1535919 |
Harvest Authorisations: privileges |
Bug |
| 1530077 |
How to view harvester alerts? |
Bug |
| 1536212 |
Adding seeds to a target with 'Auto' Authorisation |
Bug |
| 1534546 |
(Agency) Linking seeds to permissions |
Bug |
| 1535706 |
activity report - audit |
Bug |
| 1535665 |
No way to request a harvest of a Target immediately |
Bug |
| 1533589 |
field missing |
None |
| 1535656 |
no delete or copy |
None |
| 1535667 |
pause all running harvests |
None |
| 1535634 |
Manage Groups issues |
None |
| 1534297 |
Modifying Target Instances |
None |
| 1534148 |
Harvest Authorisations: cannot view Permissions or Agents |
None |
| 1533594 |
pending permission dates |
Bug |
| 1531668 |
Test schedules: form validation |
Bug |
| 1533986 |
Target Name field is too short |
Bug |
| 1533582 |
icon repetition Copy/Transfer |
Enhancement |
| 1533585 |
notification failure |
None |
| 1533600 |
relabel radio button |
Enhancement |
| 1534161 |
Rename TargetInstance search result columns |
Enhancement |
| 1533597 |
delegated target: new owner's In Tray |
Bug |
| 1533577 |
field length |
None |
| 1531396 |
There is no confirmation on delete of Target or User |
Enhancement |
| 1529276 |
Target Description field is very short |
Bug |
| 1529285 |
textarea styles |
Bug |
| 1529291 |
Comma instead of fullstop in name abbreviations |
Bug |
| 1530147 |
User, Role, and Agency sorting |
None |
| 1529272 |
Icons missing mouseover text |
Bug |
| 1529274 |
Email address all-lowercase |
Bug |


| ^a${value} Second(s) Recharge | 24 |
| ${value} Energy Cost | 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 |
| ${value} Second Duration | 6 |
| ${value} Fire Damage Retaliation | min: [9.625, 16.5, 23.375, 30.25, 37.125, 44.0, 50.875, 57.75, 64.625, 71.5, 78.375, 85.25] |
| ${value}% Damage Absorption | 100 |
| +${value} Health Regeneration per second | 24 30 36 42 48 54 60 66 72 78 84 90 96 102 108 115 |
| MaxLevel | 12 |
| UltimateLevel | 16 |


| DOSE: T+ 0:00 |
15 mg |
oral |
2C-I |
(powder / crystals) |
| T+ 1:00 |
3.0 mg |
oral |
2C-I |
(powder / crystals) |
Before I get the bulk of the story (for many, details bore), let me just give the overview of my night.
15-20mg dosage yielded about 6 hours of increased energy, incredible extroverted social ability, near total mental clarity, and some of the best visuals I have seen to date. The only two negatives was a VERY slight naseua, and difficulty falling asleep ... Now the story for those interested...
After waiting a long time to get the 2C-I, a friend of mine, B, got his 100 mg. We had no scales and so what we did was broke the total amount into 5 equal lines (about 20 mg each, logically) and then removed a fourth from a line (making an approx 15 mg line) and capsilated it into a gel cap (I used gels caps filled with Fish Oil, available at any GNC etc.)
[Erowid Note: A volume amount of one powder doesn't necessarily weigh the same as the same volume of another powder. For substances active at such a small dose, eyeballing is particularly unwise. See related article]
At approx 7:45pm i ingested the pill. We built a bon-fire outside to keep warm and talk, waiting for it to kick in. At about 8:45 i became impatient and decided to take a small bump (i simply eyed this amount and have no real idea how much i took, anywhere from 1-5 mg). At this point another friend, N, was with us and had taken a pill of 2C-I earlier. Then we went for a walk...
We decided to go to a rail road track near my house. B and N were starting to feel it, but i yet felt nothing and was begining to get slightly irrate. Once we reached the rail road tracks (B and N already a good 10 min into the start of the effects), the first thing i noticed was the light from the night sky hitting the rail road tracks (the actual metal iron tracks) made them seem to nearly glow. THey were highly pronounced. That was when it started to hit me, at approx 9:30pm, and the clouds clued me into the fact that it was starting to work. The clouds were moving in all sorts of directions, slowly but clearly not normal. There colors began to shift between palettes of red and white, and occasionaly yellowish.
My mind was a buzz with wonder. I felt increadibly joyful, even serene, much like with a couple rolls. We walked up and down the tracks, talking more so than any other drug I have ever tried and taking in the visuals. Contrast between light and dark was very incredible, and visuals like persian carpet and distortians were everywhere. I seemed to notice lights out of the corner of my eyes, but there were of course none there.
Our adventure continued well into the night, we rode around in the bed of a friends truck, looking straight up into the sky where the clouds were practically a euphoric sight. We walked maybe a mile escorting a drunken friend home, which made me realize those not tripping on 2C-I seemed very outcasted to me. We walked to a grocery store and experienced the 'Grocery Store Tripping'. This was rather psychadelic... textures everywhere were moving in crazy patters, ailes seemed to be swaying around.
Then we headed home, and talked... always talking. The amazing thing was the incredibly social ability... everything was funny, but the humor seemed so genuine, strong mental clarity... yet at the same time you could at any time sit back and take in the visuals. This could be done by myself or with many friends. Frankly, I really enjoyed it.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{% extends 'census/base.html' %} {% load static %} {% block content %}
We could not find your account. Perhaps you've mistyped your username or password?
Please enter your username and password.


MXR replaced by DXR
The MXR code indexing and cross-referencing service has been retired and replaced by DXR
Based on your query, we suggest the following DXR URL:
DXR url?
Please Do Not Hotlink Files
Please do not hotlink files directly from MXR or DXR as a way of getting Mozilla code into your project. You may not get the latest version, and your performance will suffer.
If you want to incorporate Mozilla code in your project, clone or fork the canonical source code repository (from hg, GitHub, etc.), and statically bundle the necessary components as part of your application. If your application must download files directly, obtain them from the canonical source code repository URL, and cache a local copy which updates no more than once a day. This increases your application’s resiliency and reduces load on our infrastructure.
Thanks for contributing to the free and open web!


{{ item.value }} Your browser does not support the audio element. Your browser does not support the {{ item.mediatype }} sounds. {{ item.description }}
audio
Your browser does not support the {{ item.mediatype }} sounds.


EXECUTIVE DECISION A film review by Christopher Null Copyright 1996 Christopher Null
For those action film fans who think that Steven Seagal is indestructible, I highly recommend you see EXECUTIVE DECISION, a cheese-o-rama of an action flick that gives Seagal *seventh* billing and a quick ride to Action Hero Heaven.
No, this is *not* a "Steven Seagal Movie." It's a "Kurt Russell Movie"--the New Kurt Russell, the tough-yet-vulnerable Kurt Russell, the Kurt Russell a la Bruce Willis-type with whom we're about to be deluged, like it or not (answer: probably not).
The story of EXECUTIVE DECISION is easy to boil down: another rehashing of DIE HARD, on an airplane for the first time since PASSENGER 57. This outing, Seagal, Russell, John Leguizamo, and Oliver Platt head a team of scrappy commandos and less-warlike people who board a 747 in mid-flight to stop a nerve gas bomb from detonating over Washington and wiping out the Eastern seaboard. This, apparently, is what terrorists do for kicks.
It could've been fun. It's been done, yes, but a fresh take on the hostage story can be exciting, and at times, EXECUTIVE DECISION is edge-of-your-seat material. The problem, and it shouldn't exist, is that for the entire first *hour* of this film, it is the most hideously boring, lifeless, repetitive, derivative, and pointless bit of celluloid you can imagine. Clocking in at a whopping 2 hours, 20 minutes, this picture had *plenty* which could have been cut out but wasn't, resulting in a whole lot of catching up to do in the last hour.
Thank God that the catch-up is pretty fun--but still, putting the audience to sleep at the beginning of the movie is a violation of the cardinal rule of action filmmaking.
If you're wondering about the acting, dialogue, etc.--don't. They're all typically cheese-infested (Seagal's character is actually, and I am not making this up, named "Austin Travis").  But more importantly, try to get there late.
RATING: **1/2
\-------------------------------\ |* Unquestionably awful | |** Sub-par on many levels | |*** Average, hits and misses | |**** Good, memorable film | |***** Perfection | \-------------------------------\
-Christopher Null /<EMAIL_ADDRESS>-Screenwriter / Novelist / Publisher -Visit the Movie Emporium at http://cca2.carrington.com/emporium/ -and e-mail requests to join the movie review mailing list
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Javascript Basics
Javascript vs HTML and CSS
Javascript, HTML and CSS must all be understood in the context of the internet browser. The first internet browser as far as I can tell was Mosaic, and shortly after this came Netscape and Internet Explorer (the browser everyone now loves to hate). Javascript was created in 10 days by Brendan Eich, who was working at Netscape at the time. The original name was Mocha, which then became LiveScript. A trademark license from Sun meant the language was eventually called "Javascript" (after Sun's programming language Java) which proved to be a great marketing move.
So why do we need these three different languages to develop webpages in a browser? To confuse people? Maybe. Each serve a very different purpose, but together they give the advantage of making rich, interactive web pages relatively easy to develop.
HTML by itself creates the structure of a page (normally a page in a web browser), and the code itself consists of predefined "tags" such as <div>
or <header>
.
CSS defines the style of a page with predefined properties of particular HTML elements. The key thing to note is that both HTML and CSS are very limited in terms of how they can interact with a webpage. This doesn't mean they aren't useful, as they provide a very high-level abstraction to lay out a document. However, if you would like to design, for example, a simple interactive computer game in a browser (that isn't just a text adventure) you are going to find HTML and CSS lacking.
This is where Javascript comes in handy. Javascript is a fully-fledged programming language (some may disagree) that uses lower-level programming concepts such as functions and arrays as well as interaction with the DOM to provide a more granular level of control to the developer. Initially Javascript didn't have access to the DOM and was mainly used for interacting with forms, giving feedback to the user, and detecting when they do certain things. Functions such as alert()
, confirm()
and prompt()
could (and still can) be used to make windows pop up in the browser that do simple tasks.
With browser implementation of the DOM, Javascript could use an object representation of the document to adjust it instead of just making windows pop up. In simple terms, you can say that the DOM explains the types, the values, and the hierarchy of everything in the document — there are many resources on the web explaining the DOM and Javascript's bindings to it in depth. Here's one.
Control Flow and Loops
Javascript, like many other programming languages, uses some keywords that describe general actions for the computer to complete, and general logic for completing these actions. Taking the "if" keyword as an example: if
I am fat, I go to the gym. It mirrors English, although computer code has to be far more exact (How fat? What is "fat" exactly? Who am "I"?). Statements like these form the "control flow" of a Javascript program.
Loops are part of the control flow, and have keywords that describe repetitive actions. Taking the "while" keyword as an example: while
I am thin, I eat cakes. Again precision is important for a computer (How thin? What type of cake?). Loops are extremely useful since you don't need to repeat identical lines of code. In this example, you wouldn't have to explicitly tell the computer "Eat a cake. Eat a cake. Eat a cake. Done, I'm no longer thin."
Arrays and Objects
Objects store forms of data (numbers, objects, functions etc.) in Javascript as properties. Example syntax:
var obj = {
property: 1,
property1: "string",
property2: {},
property3: function func() {
//do something
}
};
These properties can be accessed two ways.
Dot notation:
obj.property
Bracket notation:
obj["property"]
Arrays in Javascript are actually just objects but they have special "index" properties which are all numbers, and they have other functionality such as length
(which basically gives the last valid index + 1 of the array). Literals use square brackets instead of curly ones, and you don't need to specify property names (since they will be numbers). Example syntax:
var arr = [1, "string", {}, function func(){}];
Now you can access these properties with bracket notation and the desired index (starting from 0).
This gets the second value ("string"):
arr[1]
Of course, these are just the basics of arrays and objects. For more details MDN has excellent documentation.
Functions
Functions in Javascript are actually still objects. They are "function" objects with special properties and methods. From MDN docs:
Generally speaking, a function is a "subprogram" that can be called by code external (or internal in the case of recursion) to the function.
Conceptually, functions are just a way to bracket sets of commands for the computer. Perhaps makeBed()
could be a function. Then everytime you "call" this function, it will make your bed (this could be tricky to actually program). Or maybe you design a function cookMeal()
. Then if you tell the computer "cookMeal()
!" it will hopefully cook a meal for you.
 Taking the cookMeal()
function above, you can simply ask the computer to run your function every evening when it's time for dinner. You can also pass in "arguments" to a function which will adjust what it does. For example, the meal function may take an argument "food". If the user prefers pasta, they can run cookMeal("pasta")
and buon appetito! You can even pass in functions as arguments to another function (functionception).
An important feature of functions is that they must always return a value. The default is undefined
, but this can be overridden with a return
statement. Extending the example above, this could be the end of the function: return cookedFood;
.


As I mentioned in Balancing the Boat, I have been following the growth of Data Science for years. I never had the time to dive deep, but the desire was always there. Through the journey of learning about Data Science, I have gathered a number of resources. I hope that by gathering them together here in a one-stop-shop will not only help me, but maybe some others who are looking to learn more as well. My idea is that this post will evolve as my journey continues.
Twitter:- My Twitter list
- kdnuggets
- PyData
- AndrewYNg
- analyticbridge (Data Science Central)
- KirkDBourne
- kaggle
- IBMDataScience
- thisismetis (Metis)
- Safari Books Online
- Python Data Science Handbook by Jake VanderPlas
- Storytelling With Data by Kole Nussbaumer Knaflic
- Data Science from Scratch: First Principles with Python by Joel Grus
- Weapons of Math Destruction by Cathy O’Neil


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
Numerical Differentiation on arbitrarily spaced grids. More...
#include <ql/methods/finitedifferences/operators/numericaldifferentiation.hpp>
Public Types | |
| enum | Scheme { Central , Backward , Forward } |
Public Member Functions | |
| NumericalDifferentiation (ext::function< Real(Real)> f, Size orderOfDerivative, Array x_offsets) | |
| NumericalDifferentiation (ext::function< Real(Real)> f, Size orderOfDerivative, Real stepSize, Size steps, Scheme scheme) | |
| Real | operator() (Real x) const |
| const Array & | offsets () const |
| const Array & | weights () const |
Public Attributes | |
| QL_DEPRECATED typedef Real | argument_type |
| QL_DEPRECATED typedef Real | result_type |
Private Attributes | |
| const Array | offsets_ |
| const Array | w_ |
| const ext::function< Real(Real)> | f_ |
Numerical Differentiation on arbitrarily spaced grids.
References:
B. Fornberg, 1988. Generation of Finite Difference Formulas on Arbitrarily Spaced Grids, http://amath.colorado.edu/faculty/fornberg/Docs/MathComp_88_FD_formulas.pdf
Definition at line 41 of file numericaldifferentiation.hpp.
| enum Scheme |
| Enumerator | |
|---|---|
| Central | |
| Backward | |
| Forward |
Definition at line 55 of file numericaldifferentiation.hpp.
| NumericalDifferentiation | ( | ext::function< Real(Real)> | f, |
| Size | orderOfDerivative, | ||
| Array | x_offsets | ||
| ) |
Definition at line 104 of file numericaldifferentiation.cpp.
| NumericalDifferentiation | ( | ext::function< Real(Real)> | f, |
| Size | orderOfDerivative, | ||
| Real | stepSize, | ||
| Size | steps, | ||
| Scheme | scheme | ||
| ) |
Definition at line 111 of file numericaldifferentiation.cpp.
Definition at line 77 of file numericaldifferentiation.hpp.
| const Array & offsets | ( | ) | const |
Definition at line 91 of file numericaldifferentiation.hpp.
| const Array & weights | ( | ) | const |
Definition at line 87 of file numericaldifferentiation.hpp.
| QL_DEPRECATED typedef Real argument_type |
auto
or decltype
instead. Deprecated in version 1.29. Definition at line 47 of file numericaldifferentiation.hpp.
| QL_DEPRECATED typedef Real result_type |
auto
or decltype
instead. Deprecated in version 1.29. Definition at line 53 of file numericaldifferentiation.hpp.
|
private |
Definition at line 72 of file numericaldifferentiation.hpp.
|
private |
Definition at line 72 of file numericaldifferentiation.hpp.
Definition at line 73 of file numericaldifferentiation.hpp.


The Philippines, by virtue of its location, is prone to natural disasters. With the trend of increasingly severe and destructive weather disturbances unlikely to change, more communities are likely to be exposed to hazards.
The country has thus developed a comprehensive disaster management system utilized down to the local level to ensure preparedness, effective response and prompt recovery. When a disaster overwhelms national capacity, however, the Philippines may request international assistance, including military assets, to support the national response.
After Typhoon Haiyan (known locally as Yolanda) in 2013, military assets consisting of air, naval, medical, engineering and communications capacities, as well as personnel were deployed from 21 Member States. Thousands of foreign military personnel worked closely with the humanitarian community at the height of the relief operation. With overlapping capabilities and specific missions coupled with cultural differences, the arrival of foreign militaries posed coordination challenges with civilian humanitarian actors.In the Asia-Pacific region, military resources are often part of the first response after natural disasters and make a valuable contribution. The prominent engagement of the military in humanitarian operations is a by-product of its unique structure, discipline, training, manpower, equipment and the determination to bolster resilience amidst the chaos.
Coordination among the different actors is critical for sharing information, planning and dividing tasks. This is where the United Nations’ Humanitarian Civil-Military Coordination framework helps facilitate interaction between civilian and military actors, which is essential to protect humanitarian principles, avoid competition, minimize inconsistency and pursue common goals.
In the event of a disaster, the Government and affected communities rely on the Armed Forces of the Philippines (AFP) to be among the first to respond. The AFP has as one of its critical mission areas Humanitarian Assistance and Disaster Response (HADR), and it leads the Search, Rescue and Retrieval Cluster of the National Disaster Risk Reduction and Management Council (NDRRMC). It also provides manpower and logistics and communications support to other government cluster agencies.
In 2014, an After-Action Review (AAR) looked at the effectiveness of coordination among humanitarian organizations, the military and police, and how foreign military assets were tasked to support national and local authorities during the Haiyan response. The AAR resulted in a recommendation to build capacity through training and institutionalizing humanitarian civil-military coordination.
With this in mind, OCHA and the Office of Civil Defense (OCD) are conducting a series of CMCoord trainings for the NDRRMC agencies to help build an understanding of the cluster system and how humanitarian civil-military coordination fits into existing disaster response arrangements with or without the involvement of international actors.
Ola Almgren, Resident Coordinator and Humanitarian Coordinator, says these efforts are, “aimed at developing trainers and practitioners from the military and government who can be deployed within the country and coordinate civil-military activities when needed.”
Over 300 members of the military, police, other Government agencies and the Humanitarian Country Team (HCT) have been trained so far. OCHA Philippines partners with AFP and OCD to conduct the pilot training for military field commanders under the AFP Unified Commands. These are the units mandated to conduct immediate HADR operations in their areas of responsibility and to support other affected areas as needed. Similar training was conducted in June 2016 for senior officers of the General Headquarters and Army, Navy and Air Force branches.
Addressing the officers attending the recent training workshop, Almgren assured that, “OCHA Philippines will continue to support the Government to ensure it is always at the forefront of disaster response.”The Philippines, represented by OCD Administrator Undersecretary Alexander Pama, was elected in 2015 as the first chair of the Regional Consultative Group (RCG) on Humanitarian Civil-Military Coordination. The RCG will facilitate the coordination of operational planning between civilian and military entities preparing to respond to major disasters in the Asia-Pacific.
“The Philippines is honoured to be the first chair of the RCG,” says Pama, “and we wish to share our experiences on disaster management, particularly in receiving international humanitarian assistance and foreign military assets.”
As chair, Pama monitors the work plans of countries highly vulnerable to large-scale natural disasters like Bangladesh, Indonesia, Nepal and the Philippines. The chair also advocates streamlining civil-military coordination exercises and including civil society organizations and the private sector.
For its own work plan, the Philippines will integrate the CMCoord concept into existing disaster preparedness policy and guidelines. It also wants to leverage the Philippines International Humanitarian Assistance Cluster of the NDRRMC to strengthen coordination and improve situational awareness. “We have a wealth of lessons learned and good practices which the international community can draw upon to help improve disaster risk reduction policies,” Pama said.
The Philippines is also part of an advisory group developing common humanitarian CMCoord standards to enhance the predictability, effectiveness, efficiency, and coherence of employing military assets, and maintain a distinction in the roles and responsibilities between the humanitarian and military responders.Over 300 individuals from the military, police, Humanitarian Country Team and other government agencies have been trained so far in the UN’s CMCoord concepts, principles and practical approaches.
“The Philippines is honoured to be the first chair of the RCG, and we wish to share our experiences on disaster management, particularly in receiving international humanitarian assistance and foreign military assets.”
- Alexander Pama, OCD Administrator
The Autonomous Region in Muslim Mindanao (ARMM), comprising the provinces of Maguidanao, Lanao del Sur, Basilan, Sulu and Tawi-Tawi, has long experienced sporadic armed conflict that causes displacement and suffering of already impoverished people in the region. AFP frequently engages in law enforcement operations against militant groups like the Bangsamoro Islamic Freedom Fighters in Maguidanao, the Maute group in Lanao del Sur and the Abu Sayyaf in Basilan and Sulu. Long-standing feuds between armed groups and families, known locally as rido, have also caused repeated displacements in central Mindanao.
Added to this, recurring natural hazards, such as flooding along marshlands, watersheds and low-lying areas also affect communities on yearly basis. This past year, the ARMM provinces were among the worst affected by drought caused by El Niño. These frequent and recurring events have drained the meagre calamity funds of local governments, degrading their capacity to respond to further disasters this year.
In 2013, ARMM established the Humanitarian Emergency Action and Response Team (ARMM-HEART) to augment the humanitarian assistance of local governments in the region to people affected by armed conflicts and natural disasters. ARMM-HEART works in partnership with the Regional Disaster Risk Reduction and Management Council. It created an operation centre that brings together regional offices of the national government and aid agencies to carry out rapid assessments and provide basic relief items. The Cotabato-based operation centre also coordinates the work of the Regional Human Rights Commission, the Philippine National Police, AFP, OCD and other stakeholders in partnership with the local authorities to respond rapidly to save lives.
Ramil Masukat, the director of ARMM-HEART, says, “We conduct training on basic rescue and other things that build the capacities of the barangay officers and municipal disaster risk reduction and management officers.”
ARMM-HEART also has its challenges in responding to conflict and natural disasters. Coordination among the different levels of local government with the ARMM government remains an issue. In Marawi City in Lanao del Sur, the organization is working to strengthen the coordination between the provincial and municipal authorities and other stakeholders to respond better to those affected by the conflict in the municipality of Butig.
“There are many challenges,” Masukat said, “but most of the time we face the limited resources of the local governments, so sometimes ARMM-HEART acts to cover most of the relief assistance to the [affected people] during disaster operations.”
Security is another concern. “It is always a challenge to respond quickly due to security concerns of the staff,” he said.
This year, ARMM is implementing a Humanitarian and Development Action Plan (HDAP) with funding from the national government to address the mid- to long-term needs of people affected by conflict and natural disasters. It involves constructing roads and bridges, providing farm animals and equipment, training women and out-of-school youth, building the capacity of local volunteers and rehabilitating health facilities. HDAP is expected to improve not only the immediate response to disasters but provide livelihood support to enable communities to recover from repeated shocks.
“There are many challenges, but most of the time we face the limited resources of the local government units, so sometimes ARMM-HEART acts to cover most of the relief assistance to the [affected people] during disaster operations.”
- Ramil Masukat, ARMM-HEART Director
On 20 June, we recognized the 16th annual World Refugee Day. The UN Refugee Agency marked the event by launching its #WithRefugees petition to tell governments they must work together and do their share for refugees.
Since the early 20th century, the Philippines has welcomed multitudes of refugees from around the world when other nations would not, and has actively engaged to resettle them. UNHCR Representative in the Philippines, Bernard Kerblat, extensively researched the history of asylum seekers in the Philippines, grouping them into nine waves.
The first group to seek refuge in the Philippines arrived in 1923 as part of a larger diaspora of “White Russians” escaping the Communist Red Army. Most of the 800 exiles were subsequently transferred to the United States (US), but some chose to remain.
Conflicts resulting from the spread of fascism, communism and imperialism across Europe and Asia that would peak as World War II spawned the next six waves of refugees. The second wave came between 1934 and 1941, when over 1,200 European Jews were settled in the country. The Government, determined to do its share, planned to resettle up to 10,000 Jewish refugees in Mindanao, but the plan never materialized.
At the same time, the third wave comprising thousands of Spanish Republicans fleeing civil war arrived. By 1940, the fourth wave of refugees, this time from China and the British colony of Hong Kong was well on its way. That year the Philippine Immigration Act of 1940 was enacted limiting the annual number of immigrants to 500 of any one nationality. It included, however, a provision allowing the president “to admit aliens who are refugees for religious, political or racial reasons.”
The latter half of the 20th century would see significant increases in the number of refugees seeking asylum in the Philippines. The fifth wave of more than 6,000 White Russians arrived between 1949 and 1951 and settled near Guiuan, Eastern Samar, making it one of the largest refugee camps in Philippine history. The conflicts in Vietnam, Cambodia and Laos brought successive waves of refugees. From 1975 to 1992 about 400,000 Indochinese refugees passed through processing centres in Palawan and Bataan. A thriving community of nearly 3,000 Vietnamese remains in Palawan.
In between, the 1979 Iranian Revolution led several thousand Iranians studying in the Philippines to seek refugee status due to the regime change in their country. By the early 1990s, Iranians formed the majority of non-Indochinese refugees in the country.
Finally, the ninth wave saw some 600 people from East Timor flee to the Philippines in 2000 to escape the violence of its war of independence from Indonesia. The refugees were repatriated after security was restored. Most recently, the Government said it is open to sheltering Rohingya refugees from Myanmar.
In spite of the Philippines’ rich history welcoming refugees, it struggles with the recurrent displacement of its own people by conflict and natural disasters. In 2015, UNHCR recorded over 400,000 people in Mindanao forced to flee, with one in ten of those repeatedly displaced, mostly by conflict, rido or generalized violence. It has yet to pass a law on the rights of its own populations displaced internally by conflict and natural disasters. A 2013 bill was vetoed by the president, and a 2015 iteration was never voted on and will need to be re-filed when the new Congress convenes in July.
At the World Humanitarian Summit in Istanbul, Turkey, in May, Department of Social Welfare and Development Secretary Corazon Soliman announced the Philippines’ commitments to the five Core Responsibilities of the UN’s Agenda for Humanity, including “to uphold international laws and norms on human rights, armed conflict and refugees” and to work on the passage of the IDP bill.
The Philippines is a signatory to the 1951 Convention Relating to the Status of Refugees and the 1954 Convention Relating to the Status of Stateless Persons.Since the early 20th century, the Philippines has welcomed thousands of refugees from around the world when other nations would not, and has actively engaged in efforts to resettle them.
HCT was invited for the first time to participate in the quarterly National Simultaneous Earthquake Drill, which took place on 22 June at Camp Aguinaldo in Quezon City, which simulated a 7.2 magnitude earthquake striking metro Manila—a catastrophic event that would likely require an international humanitarian response. NDRRMC and HCT exercised their processes for requesting and coordinating international resources.
NDRRMC and HCT jointly exercised their processes for requesting and coordinating international resources.


--- permalink: /404.html layout: default title: Error 404 - Page Does Not Exist description: We are sorry but you have reached a page that does not exist! exclude: true ---
Below is a list of pages that do exist maybe one of these is what you are looking for?


Providers API¶
A Provider abstracts a connection to the Ethereum blockchain, for issuing queries and sending state changing transactions.
Unlike the Web3 provider, there is no concept of accounts or signing entities in an Ethers Provider. It is simply a connection to the network, and cannot unlock accounts or sign and is unaware of your Ethereum addresses.
To manage state changing operations, you must use a Wallet to sign transactions. If you pass a wallet in as a signer to a Contract, this is managed for you by the contract.
Connecting to Ethereum¶
There are several ways to connect to the Ethereum blockchain:
- new ethers . providers . EtherscanProvider( [ network ] [ , apiToken ] )
Connect to the Etherscan blockchain web service API.
default: network=’homestead’, apiToken=null
- new ethers . providers . JsonRpcProvider( [ url ] [ , network ] )
Connect to the JSON-RPC API url of an Ethereum node, such as Parity or Geth.
default: url=”http://localhost:8545/”, network=’homestead’
- new ethers . providers . InfuraProvider( [ network ] [ , apiAccessToken ] )
Connect to the INFURA hosted network of Ethereum nodes.
default: network=’homestead’, apiAccessToken=null
- new ethers . providers . Web3Provider( web3Provider [ , network ] )
Connect to an existing Web3 provider (e.g. web3Instance.currentProvider).
default: network=’homestead’
- new ethers . providers . FallbackProvider( providers )
- Improves reliability by attempting each provider in turn, falling back to the next in the list if an error was encountered.
- ethers . providers . getDefaultProvider( [ network ] )
This automatically creates a FallbackProvider backed by INFURA and Etherscan; recommended
default: network=’homestead’
Examples¶
var providers = require('ethers').providers;
// Connect to Ropsten (the test network)
// You may specify any of:
// - boolean; true = ropsten, false = homestead
// - object; { name: 'ropsten', chainId: 3 } (see ethers.networks);
// - string; e.g. 'homestead', 'ropsten', 'rinkeby', 'kovan'
var network = providers.networks.ropsten;
// Connect to INFUA
var infuraProvider = new providers.InfuraProvider(network);
// Connect to Etherscan
var etherscanProvider = new providers.EtherscanProvider(network);
// Creating a provider to automatically fallback onto Etherscan
// if INFURA is down
var fallbackProvider = new providers.FallbackProvider([
infuraProvider,
etherscanProvider
]);
// This is equivalent to using the getDefaultProvider
var provider = providers.getDefaultProvider(network)
// Connect to a local Parity instance
var provider = new providers.JsonRpcProvider('http://localhost:8545', network);
// Connect to an injected Web3's provider (e.g. MetaMask)
var web3Provider = new providers.Web3Provider(web3.currentProvider, network);
Prototype¶
All properties are immutable, and reflect their default value if not specified, or if indirectly populated by child Objects.
Provider¶
- prototype . name
- The name of the network the provider is connected to (e.g. ‘homestead’, ‘ropsten’, ‘rinkeby’, ‘kovan’)
- prototype . chainId
- The chain ID (or network ID) this provider is connected as; this is used by signers to prevent replay attacks across compatible networks
FallbackProvider ( inherits from Provider )¶
- prototype . providers
- A copy of the array of providers (modifying this variable will not affect the providers attached)
JsonRpcProvider ( inherits from Provider )¶
- prototype . url
- The JSON-RPC URL the provider is connected to
- prototype . send ( method , params )
- Send the JSON-RPC method with params. This is useful for calling non-standard or less common JSON-RPC methods. A Promise is returned which will resolve to the parsed JSON result.
EtherscanProvider ( inherits from Provider )¶
- prototype . apiToken
- The Etherscan API Token (or null if not specified)
InfuraProvider ( inherits from JsonRpcProvider )¶
- prototype . apiAccessToken
- The INFURA API Access Token (or null if not specified)
Web3Provider ( inherits from JsonRpcProvider )¶
- prototype . provider
The underlying Web3-compatible provider from the Web3 library, for example an HTTPProvider or IPCProvider. The only required method on a Web3 provider is:
sendAsync ( method , params , callback )
Account Actions¶
- prototype . getBalance ( addressOrName [ , blockTag ] )
Returns a Promise with the balance (as a BigNumber) of addressOrName at blockTag. (See: Block Tags)
default: blockTag=”latest”
- prototype . getTransactionCount ( addressOrName [ , blockTag ] )
Returns a Promise with the number of sent transactions (as a Number) from addressOrName at blockTag. This is also the nonce required to send a new transaction. (See: Block Tags)
default: blockTag=”latest”
- prototype . lookupAddress ( address )
- Returns a Promise which resolves to the ENS name (or null) that address resolves to.
- prototype . resolveName ( ensName )
- Returns a Promise which resolves to the address (or null) of that the ensName resolves to.
Examples¶
var ethers = require('ethers');
var providers = ethers.providers;
var provider = providers.getDefaultProvider('ropsten');
var address = "0x02F024e0882B310c6734703AB9066EdD3a10C6e0";
provider.getBalance(address).then(function(balance) {
// balance is a BigNumber (in wei); format is as a sting (in ether)
var etherString = ethers.utils.formatEther(balance);
console.log("Balance: " + etherString);
});
provider.getTransactionCount(address).then(function(transactionCount) {
console.log("Total Transactions Ever Send: " + transactionCount);
});
provider.resolveName("test.ricmoose.eth").then(function(address) {
console.log("Address: " + address);
});
Blockchain Status¶
- prototype . getBlockNumber ( )
- Returns a Promise with the latest block number (as a Number).
- prototype . getGasPrice ( )
- Returns a Promise with the current gas price (as a BigNumber).
- prototype . getBlock ( blockHashOrBlockNumber )
- Returns a Promise with the block at blockHashorBlockNumber. (See: Block Responses)
- prototype . getTransaction ( transactionHash )
- Returns a Promise with the transaction with transactionHash. (See: Transaction Responses)
- prototype . getTransactionReceipt ( transactionHash )
- Returns a Promise with the transaction receipt with transactionHash. (See: Transaction Receipts)
Examples¶
Current State
var provider = providers.getDefaultProvider();
provider.getBlockNumber().then(function(blockNumber) {
console.log("Current block number: " + blockNumber);
});
provider.getGasPrice().then(function(gasPrice) {
// gasPrice is a BigNumber; convert it to a decimal string
gasPriceString = gasPrice.toString();
console.log("Current gas price: " + gasPriceString);
});
Blocks
var provider = providers.getDefaultProvider();
// Block Number
provider.getBlock(3346773).then(function(block) {
console.log(block);
});
// Block Hash
var blockHash = "0x7a1d0b010393c8d850200d0ec1e27c0c8a295366247b1bd6124d496cf59182ad";
provider.getBlock(blockHash).then(function(block) {
console.log(block);
});
Transactions
var provider = providers.getDefaultProvider();
var transactionHash = "0x7baea23e7d77bff455d94f0c81916f938c398252fb62fce2cdb43643134ce4ed";
provider.getTransaction(transactionHash).then(function(transaction) {
console.log(transaction);
});
provider.getTransactionReceipt(transactionHash).then(function(transactionReceipt) {
console.log(transactionReceipt);
});
Ethereum Name Resolution¶
The Ethereum Naming Service (ENS) allows easy to remember and use names to be assigned to Ethereum addresses. Any provider operation which takes an address may also take an ENS name.
It is often useful to resolve a name entered by a user or perform a reverse lookup of an address to get a more human readbale name.
Resolving Names
var providers = require('ethers').providers;
var provider = providers.getDefaultProvider();
provider.resolveName('registrar.firefly.eth').then(function(address) {
console.log(address);
// '0x6fC21092DA55B392b045eD78F4732bff3C580e2c'
});
Looking up Addresses
provider.lookupAddress('0x6fC21092DA55B392b045eD78F4732bff3C580e2c').then(function(name) {
console.log(name);
// 'registrar.firefly.eth'
});
Contract Execution¶
These are relatively low-level calls. The Contracts API should usually be used instead.
- prototype . call ( transaction )
Send the read-only (constant) transaction to a single Ethereum node and return a Promise with the result (as a hex string) of executing it. (See Transaction Requests)
This is free, since it does not change any state on the blockchain.
- prototype . estimateGas ( transaction )
Send a transaction to a single Ethereum node and return a Promise with the estimated amount of gas required (as a BigNumber) to send it. (See Transaction Requests)
This is free, but only an estimate. Providing too little gas will result in a transaction being rejected (while still consuming all provided gas).
- prototype . sendTransaction ( signedTransaction )
Send the signedTransaction to the entire Ethereum network and returns a Promise with the transaction hash.
This will consume gas from the account that signed the transaction.
Examples¶
Call (Constant) Functions
var ethers = require('ethers');
var provider = ethers.providers.getDefaultProvider();
// setup a transaction to call the CryptoKitties.symbol() function
// CryptoKitties contract address
var address = "0x06012c8cf97BEaD5deAe237070F9587f8E7A266d";
// first 8 nibbles of the hash of symbol()
var data = ethers.utils.id('symbol()').substring(0,10);
var transaction = {
to: address,
data: data
}
provider.call(transaction).then(function(result) {
console.log(result);
// '0x000000000000000000000000000000000000000000000000000000000000002'+
// '00000000000000000000000000000000000000000000000000000000000000002'+
// '434b000000000000000000000000000000000000000000000000000000000000'
});
sendTransaction
var ethers = require('ethers');
var privateKey = '0x0123456789012345678901234567890123456789012345678901234567890123';
var wallet = new ethers.Wallet(privateKey);
wallet.provider = ethers.providers.getDefaultProvider('ropsten');
var transaction = {
to: "0x88a5C2d9919e46F883EB62F7b8Dd9d0CC45bc290",
value: ethers.utils.parseEther("0.1")
};
var estimateGasPromise = wallet.estimateGas(transaction);
estimateGasPromise.then(function(gasEstimate) {
console.log(gasEstimate.toString());
transaction.gasLimit = gasEstimate;
// Send the transaction
var sendTransactionPromise = wallet.sendTransaction(transaction);
sendTransactionPromise.then(function(transactionHash) {
console.log(transactionHash);
});
});
Contract State¶
- prototype . getCode ( addressOrName )
- Returns a Promise with the bytecode (as a hex string) at addressOrName.
- prototype . getStorageAt ( addressOrName , position [ , blockTag ] )
Returns a Promise with the value (as a hex string) at addressOrName in position at blockTag. (See Block Tags)
default: blockTag= “latest”
- prototype . getLogs ( filter )
- Returns a Promise with an array (possibly empty) of the logs that match the filter. (See Filters)
Examples¶
getCode
var ethers = require('ethers');
var provider = ethers.providers.getDefaultProvider();
var contractAddress = '0x6fC21092DA55B392b045eD78F4732bff3C580e2c';
var contractEnsName = 'registrar.firefly.eth';
var codePromise = provider.getCode(contractEnsName);
codePromise.then(function(result){
console.log('getCode by ENS name:');
console.log(result);
});
var codeByAddressPromise = provider.getCode(contractAddress);
codeByAddressPromise.then(function(result){
console.log('getCode by contract address:');
console.log(result);
});
getStorageAt
var ethers = require('ethers');
var provider = ethers.providers.getDefaultProvider();
var contractEnsName = 'registrar.firefly.eth';
var storagePromise = provider.getStorageAt(contractEnsName, 0);
storagePromise.then(function(result){
console.log(result);
});
getLogs
var ethers = require('ethers');
var provider = ethers.providers.getDefaultProvider();
var cryptoKittiesContractAddress = '0x06012c8cf97BEaD5deAe237070F9587f8E7A266d';
var topic = '0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80';
var filter = {
fromBlock: 5044502,
address: cryptoKittiesContractAddress,
topics: [ topic ]
}
var filterPromise = provider.getLogs(filter);
filterPromise.then(function(result){
console.log(result);
});
Events¶
These methods allow management of callbacks on certain events on the blockchain and contracts. They are largely based on the EventEmitter API.
- prototype . on ( eventType , callback )
- Register a callback for any future eventType; see below for callback parameters
- prototype . once ( eventType , callback)
- Register a callback for the next (and only next) eventType; see below for callback parameters
- prototype . removeListener ( eventType , callback )
- Unregister the callback for eventType; if the same callback is registered more than once, only the first registered instance is removed
- prototype . removeAllListeners ( eventType )
- Unregister all callbacks for eventType
- prototype . listenerCount ( [ eventType ] )
- Return the number of callbacks registered for eventType, or if ommitted, the total number of callbacks registered
- prototype . resetEventsBlock ( blockNumber )
- Begin scanning for events from blockNumber. By default, events begin at the block number that the provider began polling at.
Event Types¶
- “block”
Whenever a new block is mined
callback( blockNumber )
- any address
When the balance of the corresponding address changes
callback( balance )
- any transaction hash
When the corresponding transaction is mined; also see Waiting for Transactions
callback( transaction )
- an array of topics
When any of the topics are triggered in a block’s logs; when using the Contract API, this is automatically handled;
callback( log )
Waiting for Transactions¶
- prototype . waitForTransaction ( transactionHash [ , timeout ] )
- Return a Promise which returns the transaction once transactionHash is mined, with an optional timeout (in milliseconds)
Examples¶
// Get notified on every new block
provider.on('block', function(blockNumber) {
console.log('New Block: ' + blockNumber);
});
// Get notified on account balance change
provider.on('0x46Fa84b9355dB0708b6A57cd6ac222950478Be1d', function(balance) {
console.log('New Balance: ' + balance);
});
// Get notified when a transaction is mined
provider.once(transactionHash, function(transaction) {
console.log('Transaction Minded: ' + transaction.hash);
console.log(transaction);
);
// OR equivalently the waitForTransaction() returns a Promise
provider.waitForTransaction(transactionHash).then(function(transaction) {
console.log('Transaction Mined: ' + transaction.hash);
console.log(transaction);
});
// Get notified when a contract event is logged
var eventTopic = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef';
provider.on([ eventTopic ], function(log) {
console.log('Event Log');
console.log(log);
});
Objects¶
There are several common objects and types that are commonly used as input parameters or return types for various provider calls.
Block Tag¶
A block tag is used to uniquely identify a block’s position in the blockchain:
- a Number or hex string:
- Each block has a block number (eg.
42
or"0x2a
. - “latest”:
- The most recently mined block.
- “pending”:
- The block that is currently being mined.
Block Responses¶
{
parentHash: "0x3d8182d27303d92a2c9efd294a36dac878e1a9f7cb0964fa0f789fa96b5d0667",
hash: "0x7f20ef60e9f91896b7ebb0962a18b8defb5e9074e62e1b6cde992648fe78794b",
number: 3346463,
difficulty:<PHONE_NUMBER>77962,
timestamp:<PHONE_NUMBER>,
nonce: "0x17060cb000d2c714",
extraData: "0x65746865726d696e65202d20555331",
gasLimit: utils.bigNumberify("3993225"),
gasUsed: utils.bigNuberify("3254236"),
miner: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8",
transactions: [
"0x125d2b846de85c4c74eafb6f1b49fdb2326e22400ae223d96a8a0b26ccb2a513",
"0x948d6e8f6f8a4d30c0bd527becbe24d15b1aba796f9a9a09a758b622145fd963",
... [ 49 more transaction hashes ] ...
"0xbd141969b164ed70388f95d780864210e045e7db83e71f171ab851b2fba6b730"
]
}
Transaction Requests¶
Any property which accepts a number may also be specified as a BigNumber or hex string.
// Example:
{
// Required unless deploying a contract (in which case omit)
to: addressOrName, // the target address or ENS name
// These are optional/meaningless for call and estimateGas
nonce: 0, // the transaction nonce
gasLimit: 0, // the maximum gas this transaction may spend
gasPrice: 0, // the price (in wei) per unit of gas
// These are always optional (but for call, data is usually specified)
data: "0x", // extra data for the transaction, or input for call
value: 0, // the amount (in wei) this transaction is sending
chainId: 3 // the network ID; usually added by a signer
}
Transaction Response¶
// Example:
{
// Only available for mined transactions
blockHash: "0x7f20ef60e9f91896b7ebb0962a18b8defb5e9074e62e1b6cde992648fe78794b",
blockNumber: 3346463,
transactionIndex: 51,
// Exactly one of these will be present (send vs. deploy contract)
creates: null,
to: "0xc149Be1bcDFa69a94384b46A1F91350E5f81c1AB",
// The transaction hash
hash: "0xf517872f3c466c2e1520e35ad943d833fdca5a6739cfea9e686c4c1b3ab1022e",
// See above (Transaction Requests) for these explained
data: "0x",
from: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8",
gasLimit: utils.bigNumberify("90000"),
gasPrice: utils.bigNumberify("21488430592"),
nonce: 0,
value: utils.parseEther(1.0017071732629267),
// The network ID (or chain ID); 0 indicates replay-attack vulnerable
// (eg. 1 = Homestead mainnet, 3 = Ropsten testnet)
networkId: 1,
// The signature of the transaction
r: "0x5b13ef45ce3faf69d1f40f9d15b0070cc9e2c92f3df79ad46d5b3226d7f3d1e8",
s: "0x535236e497c59e3fba93b78e124305c7c9b20db0f8531b015066725e4bb31de6",
v: 37,
// The raw transaction
raw: "0xf87083154262850500cf6e0083015f9094c149be1bcdfa69a94384b46a1f913" +
"50e5f81c1ab880de6c75de74c236c8025a05b13ef45ce3faf69d1f40f9d15b0" +
"070cc9e2c92f3df79ad46d5b3226d7f3d1e8a0535236e497c59e3fba93b78e1" +
"24305c7c9b20db0f8531b015066725e4bb31de6"
}
Transaction Receipts¶
// Example
{
transactionHash: "0x7dec07531aae8178e9d0b0abbd317ac3bb6e8e0fd37c2733b4e0d382ba34c5d2",
// The block this transaction was mined into
blockHash: "0xca1d4d9c4ac0b903a64cf3ae3be55cc31f25f81bf29933dd23c13e51c3711840",
blockNumber: 3346629,
// The index into this block of the transaction
transactionIndex: 1,
// The address of the contract (if one was created)
contractAddress: null,
// Gas
cumulativeGasUsed: utils.bigNumberify("42000"),
gasUsed: utils.bigNumberify("21000"),
// Logs
log: [ ],
logsBloom: "0x00" ... [ 256 bytes of 0 ] ... "00",
// Post-Byzantium hard-fork
byzantium: false
////////////
// Pre-byzantium blocks will have a state root:
root: "0x8a27e1f7d3e92ae1a01db5cce3e4718e04954a34e9b17c1942011a5f3a942bf4",
////////////
// Post-byzantium blocks will have a status (0 indicated failure during execution)
// status: 1
}
Filters¶
Filtering on topics supports a somewhat complicated specification, however, for the vast majority of filters, a single topic is usually sufficient (see the example below).
The EtherscanProvider only supports a single topic.
// Example
{
// Optional; The range of blocks to limit querying (See: Block Tags above)
fromBlock: "latest",
toBlock: "latest",
// Optional; An address (or ENS name) to filter by
address: addressOrName,
// Optional; A (possibly nested) list of topics
topics: [ topic1 ]
}
Provider Specific Extra API Calls¶
Etherscan¶
- prototype . getEtherPrice ( )
- Returns a Promise with the price of ether in USD.
- prototype . getHistory ( addressOrName [ , startBlock [ , endBlock ] ] )
- Returns a Promise with an array of Transaction Responses for each transaction to or from addressOrName between startBlock and endBlock (inclusive).
Examples
var provider = new ethers.providers.EtherscanProvider();
// Getting the current Ethereum price
provider.getEtherPrice().then(function(price) {
console.log("Ether price in USD: " + price);
});
// Getting the transaction history of an address
var address = '0xb2682160c482eB985EC9F3e364eEc0a904C44C23';
var startBlock = 3135808;
var endBlock = 5091477;
provider.getHistory(address, startBlock, endBlock).then(function(history) {
console.log(history);
// [
// {
// hash: '0x327632ccb6d7bb47b455383e936b2f14e6dc50dbefdc214870b446603b468675',
// blockHash: '0x0415f0d2741de45fb748166c7dc2aad9b3ff66bcf7d0a127f42a71d3e286c36d',
// blockNumber: 3135808,
// transactionIndex: 1,
// from: '0xb2682160c482eB985EC9F3e364eEc0a904C44C23',
// gasPrice: ethers.utils.bigNumberify('0x4a817c800'),
// gasLimit: ethers.utils.bigNumberify('0x493e0'),
// to: '0xAe572713CfE65cd7033774170F029B7219Ee7f70',
// value: ethers.utils.bigNumberify('0xd2f13f7789f0000'),
// nonce: 25,
// data: '0x',
// creates: null,
// networkId: 0
// },
// {
// hash: '0x7c10f2e7125a1fa5e37b54f5fac5465e8d594f89ff97916806ca56a5744812d9',
// ...
// }
// ]
});
Web3Provider¶
- prototype . listAccounts ( )
- Returns a Promise with a list of all accounts the node connected to this Web3 controls.
- prototype . getSigner( [ address ] )
- Returns a Signer that uses an account on the node the Web3 object is connected to. If no address is specified, the first account on the node is used.
Examples
web3Provider.listAccounts().then(function(accounts) {
var signer = web3Provider.getSigner(accounts[1]);
console.log(signer);
});


Fitting light responses of net CO2 assimilation
fit_aq_response( data, varnames = list(A_net = "A_net", PPFD = "PPFD"), usealpha_Q = FALSE, alpha_Q = 0.84, title = NULL )
| data | Dataframe containing CO2 assimilation light response |
|---|---|
| varnames | Variable names where varnames = list(A_net = "A_net", PPFD = "PPFD"). A_net is net CO2 assimilation in umol m-2 s-1, PPFD is incident irradiance. PPFD can be corrected for light absorbance by using useapha_Q and setting alpha_Q. |
| usealpha_Q | Correct light intensity for absorbance? Default is FALSE. |
| alpha_Q | Absorbance of incident light. Default value is 0.84. |
| title | Title for graph |
fit_aq_response fits the light response of net CO2 assimilation. Output is a dataframe containing light saturated net CO2 assimilation, quantum yield of CO2 assimilation (phi_J), curvature of the light response (theta_J), respiration (Rd), light compensation point (LCP), and residual sum of squares (resid_SS). Note that Rd fitted in this way is essentially the same as the Kok method, and represents a respiration value in the light that may not be accurate. Rd output should thus be interpreted more as a residual parameter to ensure an accurate fit of the light response parameters. Model originally from Marshall et al. 1980.
Marshall B, Biscoe P. 1980. A model for C3 leaves describing the dependence of net photosynthesis on irradiance. J Ex Bot 31:29-39
# \donttest{ # Read in your data # Note that this data is coming from data supplied by the package # hence the complicated argument in read.csv() # This dataset is a CO2 by light response curve for a single sunflower data <- read.csv(system.file("extdata", "A_Ci_Q_data_1.csv", package = "photosynthesis" )) # Fit many AQ curves # Set your grouping variable # Here we are grouping by CO2_s and individual data$C_s <- (round(data$CO2_s, digits = 0)) # For this example we need to round sequentially due to CO2_s setpoints data$C_s <- as.factor(round(data$C_s, digits = -1)) # To fit one AQ curve fit <- fit_aq_response(data[data$C_s == 600, ], varnames = list( A_net = "A", PPFD = "Qin" ) ) # Print model summary summary(fit[[1]])#> #> Formula: A_net ~ aq_response(k_sat, phi_J, Q_abs = data$Q_abs, theta_J) - #> Rd #> #> Parameters: #> Estimate Std. Error t value Pr(>|t|) #> k_sat 21.167200 0.158332 133.69 1.88e-08 *** #> phi_J.Q_abs 0.051907 0.001055 49.18 1.02e-06 *** #> theta_J 0.775484 0.014920 51.98 8.20e-07 *** #> Rd.(Intercept) 0.668495 0.065235 10.25 0.000511 *** #> --- #> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 #> #> Residual standard error: 0.05535 on 4 degrees of freedom #> #> Number of iterations to convergence: 5 #> Achieved convergence tolerance: 1.49e-08 #># Print fitted parameters fit[[2]]#> A_sat phi_J theta_J Rd LCP resid_SSs #> k_sat 21.1672 0.05190746 0.7754836 0.6684953 12.97289 0.01225491# Print graph fit[[3]]# Fit many curves fits <- fit_many( data = data, varnames = list( A_net = "A", PPFD = "Qin", group = "C_s" ), funct = fit_aq_response, group = "C_s" )#> | | | 0% | |======== | 11% | |================ | 22% | |======================= | 33% | |=============================== | 44% | |======================================= | 56% | |=============================================== | 67% | |====================================================== | 78% | |============================================================== | 89% | |======================================================================| 100%# Look at model summary for a given fit # First set of double parentheses selects an individual group value # Second set selects an element of the sublist summary(fits[[3]][[1]])#> #> Formula: A_net ~ aq_response(k_sat, phi_J, Q_abs = data$Q_abs, theta_J) - #> Rd #> #> Parameters: #> Estimate Std. Error t value Pr(>|t|) #> k_sat 7.347423 0.141931 51.768 8.33e-07 *** #> phi_J.Q_abs 0.027192 0.001511 17.994 5.61e-05 *** #> theta_J 0.837778 0.030608 27.371 1.06e-05 *** #> Rd.(Intercept) 0.615283 0.086994 7.073 0.00211 ** #> --- #> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 #> #> Residual standard error: 0.06799 on 4 degrees of freedom #> #> Number of iterations to convergence: 4 #> Achieved convergence tolerance: 1.49e-08 #># Print the parameters fits[[3]][[2]]#> A_sat phi_J theta_J Rd LCP resid_SSs #> k_sat 7.347423 0.02719153 0.8377781 0.6152826 22.96322 0.01849038# Print the graph fits[[3]][[3]]# Compile graphs into a list for plotting fits_graphs <- compile_data(fits, list_element = 3 ) # Compile parameters into dataframe for analysis fits_pars <- compile_data(fits, output_type = "dataframe", list_element = 2 ) # }


Before registering, make sure to read and comply to the following rules and guidelines regarding the event:
If you're a student currently studying at JMI, you can register by filling out the form provided at the link below.
The last date of registration for JMI students is October 05.
Please visit the link below to proceed with the registration process.


--- title: Encoder keywords: fastai sidebar: home_sidebar nb_path: "03_encoder.ipynb" ---
new_files = [('images/memes/Wholesome-Meme-8.jpg', 'Wholesome-Meme-8'), ('images/memes/Wholesome-Meme-1.jpg', 'Wholesome-Meme-1')]
from memery.crafter import crafter
img_loader = crafter(new_files, device)
image_embeddings = image_encoder(img_loader, device)
image_embeddings.shape
The text encoder returns a 512d vector just like the image encoder
text_embedding = text_encoder('a funny dog meme', device)
text_embedding.shape


Interactive resume
The painting named Starry Night is displayed in background in memory of Vincent Van Gogh.
I'm a creative back-end developer
I am a software developer trainee at OkayGo. Problem solving and finding out efficient solution is my routine work. Also I like working in a team, I believe we can learn faster and much more that way. As the saying goes: 'two heads are better than one'.
Name:
Vaibhav Jain
Age:
22 years
Location:
sector 15 part 1, Gurgaon, India
Email:
<EMAIL_ADDRESS>“Protons give an atom its identity, electrons its personality.”
- Bill Bryson, A short
history of nearly everything
Dec 2019 - Present
Master of Computer Application (Correspondence) Currently, I am learning advanced topics of Computer Science in my post graduation. Online
May 2016 - Jun 2019
Bachelor - Computer Application The education was mainly basic computer science concepts, but I also learned about OOPS, SQL, JAVA, MVC, Web development and more. During my college time, I worked on several projects. Gwalior
Mar 2011 - Jun 2016
Delhi Public School I completed my schooling in 2016, where I enjoyed doing science, math and physics. I developed interest in web development in my higher secondary. Aligarh
Aug 2020 - Present
Full time Internship - Software Developer Trainee
OkayGo is a fast growing startup at Gurgaon. It is an uber like technology driven solution
for staffing and recruiting of blue and grey collared jobs.
I am here wokring as a back-end developer. I am indulge in enhancing the current developed
system using
Spring boot and Mysql.
Gurgaon
https://okaygo.in/
Sep 2019 - Aug 2020
Full time Internship - Software Developer Engineer I gained experience on Micro service development techniques. Mainly, I worked on Spring boot using Java and mongodb. Developed Rest APIs for real projects. For security, API Integrated with JWT Mechanism and LDAP sever. I also worked on few DevOps tools like Nagios. I developed basic understanding of terraform, ansible and AWS networking. Gurgaon http://algolabs.in/
“Life without knowledge is death in disguise.”
- Talib Kweli
“You can do anything you set your mind to.”
- Benjamin Franklin
“If I had asked people what they wanted, they would have said faster horses. ”
- Henry
Ford


Statistical inference is the process of deducing properties of an underlying distribution by analysis of data.
Bayes' Theorem...
In statistics, the likelihood function has a very precise definition:
$$L(\theta | x) = P(x | \theta).$$The concept of likelihood plays a fundamental role in both Bayesian and frequentist statistics.
Choose a probability distribution from which to generate i.i.d. samples.
Choose a sample size \(n\) and sample once from your chosen distribution.
Use the slider to generate the likelihood function using the given sample.
At the core of Bayesian statistics is the idea that prior beliefs should be updated as new data is acquired. Use the blue slider to choose the true bias of the coin (which would be unknown in practice). The green sliders control the shape of the initial prior. As we acquire data in the form of coin tosses, we update the distribution on \(p\). This updated distribution then serves as the prior for future coin tosses.


- AccessibilityEventMonitor - Class in com.sun.java.accessibility.util
-
AccessibilityEventMonitor
implements a PropertyChange listener
on every UI object that implements interface Accessible
in the Java
Virtual Machine.
- AccessibilityEventMonitor() - Constructor for class com.sun.java.accessibility.util.AccessibilityEventMonitor
-
- accessibilityListener - Static variable in class com.sun.java.accessibility.util.AccessibilityEventMonitor
-
The actual listener that is installed on the component instances.
- AccessibilityListenerList - Class in com.sun.java.accessibility.util
-
The
AccessibilityListenerList
is a copy of the Swing
EventListerList
class.
- AccessibilityListenerList() - Constructor for class com.sun.java.accessibility.util.AccessibilityListenerList
-
- ACTION - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to AWT Action support (i.e., ActionListener and ActionEvent)
- actionListener - Static variable in class com.sun.java.accessibility.util.AWTEventMonitor
-
- add(Class, EventListener) - Method in class com.sun.java.accessibility.util.AccessibilityListenerList
-
Add the listener as a listener of the specified type.
- add(GUIInitializedListener, GUIInitializedListener) - Static method in class com.sun.java.accessibility.util.GUIInitializedMulticaster
-
- add(TopLevelWindowListener, TopLevelWindowListener) - Static method in class com.sun.java.accessibility.util.TopLevelWindowMulticaster
-
- addActionListener(ActionListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
ACTION
events on each component instance in the Java Virtual Machine when they occur.
- addAdjustmentListener(AdjustmentListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
ADJUSTMENT
events on each component instance
in the Java Virtual Machine when they occur.
- addAncestorListener(AncestorListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
ANCESTOR
events on each component instance in the Java Virtual Machine as they occur.
- addCaretListener(CaretListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
CARET
events
on each component instance in the Java Virtual Machine as they occur.
- addCellEditorListener(CellEditorListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
CELLEDITOR
events on each
component instance in the Java Virtual Machine as they occur.
- addChangeListener(ChangeListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
CHANGE
events on each component instance in the Java Virtual Machine as they occur.
- addColumnModelListener(TableColumnModelListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
COLUMNMODEL
events on each component instance in the Java Virtual Machine as they occur.
- addComponentListener(ComponentListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
COMPONENT
events on each component instance in the Java Virtual Machine as they occur.
- addContainerListener(ContainerListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
CONTAINER
events on each component instance in the Java Virtual Machine as they occur.
- addDocumentListener(DocumentListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
DOCUMENT
events on each component instance in the Java Virtual Machine as they occur.
- addFocusListener(FocusListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
FOCUS
events
on each component instance in the Java Virtual Machine when they occur.
- addFocusListener(FocusListener) - Method in class com.sun.java.accessibility.util.Translator
-
Adds the specified FocusListener
to receive focus events from
this component.
- addGUIInitializedListener(GUIInitializedListener) - Static method in class com.sun.java.accessibility.util.EventQueueMonitor
-
Adds the specified listener to be notified when the GUI subsystem
is initialized.
- addInternal(EventListener, EventListener) - Static method in class com.sun.java.accessibility.util.GUIInitializedMulticaster
-
- addInternal(EventListener, EventListener) - Static method in class com.sun.java.accessibility.util.TopLevelWindowMulticaster
-
- addInternalFrameListener(InternalFrameListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
INTERNALFRAME
events on each component instance in the Java Virtual Machine as they occur.
- addItemListener(ItemListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
ITEM
events
on each component instance in the Java Virtual Machine when they occur.
- addKeyListener(KeyListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
KEY
events on each
component instance in the Java Virtual Machine when they occur.
- addListDataListener(ListDataListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
LISTDATA
events on each component instance in the Java Virtual Machine as they occur.
- addListSelectionListener(ListSelectionListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
LISTSELECTION
events on each component instance in the Java Virtual Machine as they occur.
- addMenuListener(MenuListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
MENU
events
on each component instance in the Java Virtual Machine as they occur.
- addMouseListener(MouseListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
MOUSE
events
on each component instance in the Java Virtual Machine when they occur.
- addMouseMotionListener(MouseMotionListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all mouse
MOTION
events on each component instance in the Java Virtual Machine when they occur.
- addPopupMenuListener(PopupMenuListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
POPUPMENU
events on each component instance in the Java Virtual Machine as they occur.
- addPropertyChangeListener(PropertyChangeListener) - Static method in class com.sun.java.accessibility.util.AccessibilityEventMonitor
-
Adds the specified listener to receive all PropertyChange events on
each UI object instance in the Java Virtual Machine as they occur.
- addPropertyChangeListener(PropertyChangeListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
PROPERTYCHANGE
events on each component instance in the Java Virtual Machine as they occur.
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.sun.java.accessibility.util.Translator
-
Add a PropertyChangeListener
to the listener list.
- addTableModelListener(TableModelListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
TABLEMODEL
events on each component instance in the Java Virtual Machine as they occur.
- addTextListener(TextListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
TEXT
events
on each component instance in the Java Virtual Machine when they occur.
- addTopLevelWindowListener(TopLevelWindowListener) - Static method in class com.sun.java.accessibility.util.EventQueueMonitor
-
Adds the specified listener to be notified when a top level window
is created or destroyed.
- addTreeExpansionListener(TreeExpansionListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
TREEEXPANSION
events on each component instance in the Java Virtual Machine as they occur.
- addTreeModelListener(TreeModelListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
TREEMODEL
events on each component instance in the Java Virtual Machine as they occur.
- addTreeSelectionListener(TreeSelectionListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
TREESELECTION
events on each component instance in the Java Virtual Machine as they occur.
- addUndoableEditListener(UndoableEditListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
UNDOABLEEDIT
events on each component instance in the Java Virtual Machine as they occur.
- addVetoableChangeListener(VetoableChangeListener) - Static method in class com.sun.java.accessibility.util.SwingEventMonitor
-
Adds the specified listener to receive all
VETOABLECHANGE
events on each component instance in the Java Virtual Machine as they occur.
- addWindowListener(WindowListener) - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Adds the specified listener to receive all
WINDOW
events on each component instance in the Java Virtual Machine when they occur.
- ADJUSTMENT - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to AWT Adjustment support (i.e., AdjustmentListener
and AdjustmentEvent)
- adjustmentListener - Static variable in class com.sun.java.accessibility.util.AWTEventMonitor
-
- ANCESTOR - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to Swing Ancestor support (i.e., AncestorListener and
AncestorEvent)
- AWTEventMonitor - Class in com.sun.java.accessibility.util
-
The AWTEventMonitor
implements a suite of listeners that are
conditionally installed on every AWT component instance in the Java
Virtual Machine.
- AWTEventMonitor() - Constructor for class com.sun.java.accessibility.util.AWTEventMonitor
-
- awtListener - Static variable in class com.sun.java.accessibility.util.AWTEventMonitor
-
- CARET - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to Swing Text Caret support (i.e., CaretListener and
CaretEvent)
- CELLEDITOR - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to Swing CellEditor support (i.e., CellEditorListener and
CellEditorEvent)
- CHANGE - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to Swing Change support (i.e., ChangeListener and
ChangeEvent)
- COLUMNMODEL - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to Swing TableColumnModel support (i.e.,
TableColumnModelListener and TableColumnModelEvent)
- com.sun.java.accessibility.util - package com.sun.java.accessibility.util
-
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
- COMPONENT - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to AWT Component support (i.e., ComponentListener
and ComponentEvent)
- componentListener - Static variable in class com.sun.java.accessibility.util.AWTEventMonitor
-
- componentWithFocus - Static variable in class com.sun.java.accessibility.util.AWTEventMonitor
-
- CONTAINER - Static variable in class com.sun.java.accessibility.util.EventID
-
Maps to AWT Container support (i.e., ContainerListener
and ContainerEvent)
- containerListener - Static variable in class com.sun.java.accessibility.util.AWTEventMonitor
-
- contains(Point) - Method in class com.sun.java.accessibility.util.Translator
-
Checks whether the specified Point
is within this
object's bounds, where the Point
is relative to the coordinate
system of the object.
- getAccessible(Object) - Static method in class com.sun.java.accessibility.util.Translator
-
Obtain an object that implements interface Accessible
.
- getAccessibleAt(Point) - Static method in class com.sun.java.accessibility.util.EventQueueMonitor
-
Obtain the
Accessible
object at the given point on the Screen.
- getAccessibleAt(Point) - Method in class com.sun.java.accessibility.util.Translator
-
Returns the accessible child contained at the local coordinate
Point, if one exists.
- getAccessibleChild(int) - Method in class com.sun.java.accessibility.util.Translator
-
Return the nth accessible child of the object.
- getAccessibleChildrenCount() - Method in class com.sun.java.accessibility.util.Translator
-
Returns the number of accessible children in the object.
- getAccessibleContext() - Method in class com.sun.java.accessibility.util.Translator
-
Returns this object.
- getAccessibleDescription() - Method in class com.sun.java.accessibility.util.Translator
-
Get the accessible description of this object.
- getAccessibleIndexInParent() - Method in class com.sun.java.accessibility.util.Translator
-
Get the index of this object in its accessible parent.
- getAccessibleName() - Method in class com.sun.java.accessibility.util.Translator
-
Get the accessible name of this object.
- getAccessibleParent() - Method in class com.sun.java.accessibility.util.Translator
-
Get the accessible parent of this object.
- getAccessibleRole() - Method in class com.sun.java.accessibility.util.Translator
-
Get the role of this object.
- getAccessibleStateSet() - Method in class com.sun.java.accessibility.util.Translator
-
Get the state of this object, given an already populated state.
- getBackground() - Method in class com.sun.java.accessibility.util.Translator
-
Get the background Color
of this object.
- getBounds() - Method in class com.sun.java.accessibility.util.Translator
-
Returns the current bounds of this object.
- getComponentWithFocus() - Static method in class com.sun.java.accessibility.util.AWTEventMonitor
-
Returns the component that currently has keyboard focus.
- getCurrentMousePosition() - Static method in class com.sun.java.accessibility.util.EventQueueMonitor
-
Return the last recorded position of the mouse in screen coordinates.
- getCursor() - Method in class com.sun.java.accessibility.util.Translator
-
Get the Cursor
of this object.
- getFont() - Method in class com.sun.java.accessibility.util.Translator
-
Get the Font
of this object.
- getFontMetrics(Font) - Method in class com.sun.java.accessibility.util.Translator
-
Get the FontMetrics
of this object.
- getForeground() - Method in class com.sun.java.accessibility.util.Translator
-
Get the foreground Color
of this object.
- getListenerCount() - Method in class com.sun.java.accessibility.util.AccessibilityListenerList
-
Returns the total number of listeners for this listener list.
- getListenerCount(Class) - Method in class com.sun.java.accessibility.util.AccessibilityListenerList
-
Return the total number of listeners of the supplied type
for this listener list.
- getListenerList() - Method in class com.sun.java.accessibility.util.AccessibilityListenerList
-
Passes back the event listener list as an array of listener type, listener pairs.
- getLocale() - Method in class com.sun.java.accessibility.util.Translator
-
Gets the Locale
of the component.
- getLocation() - Method in class com.sun.java.accessibility.util.Translator
-
Returns the location of the object relative to parent.
- getLocationOnScreen() - Method in class com.sun.java.accessibility.util.Translator
-
Returns the location of the object on the screen.
- getSize() - Method in class com.sun.java.accessibility.util.Translator
-
Returns the current size of this object.
- getSource() - Method in class com.sun.java.accessibility.util.Translator
-
Get the source Object
of the Translator
.
- getTopLevelWindows() - Static method in class com.sun.java.accessibility.util.EventQueueMonitor
-
Return the list of top level Windows in use in the Java Virtual Machine.
- getTopLevelWindowWithFocus() - Static method in class com.sun.java.accessibility.util.EventQueueMonitor
-
Return the top level Window
that currently has keyboard focus.
- getTranslatorClass(Class) - Static method in class com.sun.java.accessibility.util.Translator
-
Find a translator for this class.
- guiInitialized() - Method in interface com.sun.java.accessibility.util.GUIInitializedListener
-
Invoked when the GUI subsystem is initialized and it's OK for
the assisitive technology to create instances of GUI objects.
- guiInitialized() - Method in class com.sun.java.accessibility.util.GUIInitializedMulticaster
-
- GUIInitializedListener - Interface in com.sun.java.accessibility.util
-
The
GUIInitializedListener
interface is used by the
EventQueueMonitor
class to notify an interested party when the GUI subsystem has been
initialized.
- GUIInitializedMulticaster - Class in com.sun.java.accessibility.util
-
The GUIInitializedMulticaster class is used to maintain a list of
GUIInitializedListener classes.
- GUIInitializedMulticaster(EventListener, EventListener) - Constructor for class com.sun.java.accessibility.util.GUIInitializedMulticaster
-
- setAccessibleDescription(String) - Method in class com.sun.java.accessibility.util.Translator
-
Set the accessible description of this object.
- setAccessibleName(String) - Method in class com.sun.java.accessibility.util.Translator
-
Set the name of this object.
- setBackground(Color) - Method in class com.sun.java.accessibility.util.Translator
-
Set the background Color
of this object.
- setBounds(Rectangle) - Method in class com.sun.java.accessibility.util.Translator
-
Sets the current bounds of this object.
- setCursor(Cursor) - Method in class com.sun.java.accessibility.util.Translator
-
Set the Cursor
of this object.
- setEnabled(boolean) - Method in class com.sun.java.accessibility.util.Translator
-
Set the enabled state of the object.
- setFont(Font) - Method in class com.sun.java.accessibility.util.Translator
-
Set the Font
of this object.
- setForeground(Color) - Method in class com.sun.java.accessibility.util.Translator
-
Set the foreground Color
of this object.
- setLocation(Point) - Method in class com.sun.java.accessibility.util.Translator
-
Sets the location of the object relative to parent.
- setSize(Dimension) - Method in class com.sun.java.accessibility.util.Translator
-
Sets the current size of this object.
- setSource(Object) - Method in class com.sun.java.accessibility.util.Translator
-
Set the source object of the Translator
.
- setVisible(boolean) - Method in class com.sun.java.accessibility.util.Translator
-
Set the visible state of the object.
- source - Variable in class com.sun.java.accessibility.util.Translator
-
The source object needing translating.
- SwingEventMonitor - Class in com.sun.java.accessibility.util
-
SwingEventMonitor
extends
AWTEventMonitor
by adding a suite of
listeners conditionally installed on every Swing component instance
in the Java Virtual Machine.
- SwingEventMonitor() - Constructor for class com.sun.java.accessibility.util.SwingEventMonitor
-
- swingListener - Static variable in class com.sun.java.accessibility.util.SwingEventMonitor
-
The actual listener that is installed on the component instances.


minimum software requirements
- Windows 98SE, ME, NT 4, 2000, or XP.
- 800x600 or greater screen resolution. 1024x768 recommended.
- 16 bit color quality.
- Windows NT, Windows 2000 and Windows XP users must have
administrative rights in order to install the software.