Introduction¶
This library generates provides a set of convenience functions that will allow one to generate macro economic factors and company financials within a single library. This lirbary is intended to be used by value-investors who wish to create algorithmic investing platforms that leverage free/paid data sources for their resource.
TLDR¶
For getting started, just install the library using PIP like any other library, and start using it. For example, for getting a set of companies that are a part of the SNP 500 companies,
>>> import financeMacroFactors as fM
>>> companies = fM.companies.getSNP500CompanyList()
>>> len(companies)
505
>>> import pprint
>>> pprint.pprint(companies[0])
{'CIK': '0000066740',
'Date first added': '1976-08-09',
'Founded': '1902',
'GICS Sector': 'Industrials',
'GICS Sub Industry': 'Industrial Conglomerates',
'Headquarters Location': 'St. Paul, Minnesota',
'SEC filings': 'reports',
'Security': '3M Company',
'Symbol': 'MMM'}
>>>
Logging and Debugging¶
Funcitons within the library use the term financeMacroFactors as the name upon which a standard python logger can be used. Each function will log information to various levels of verbosity that can be used within your own implementations. Here is an example of obtaining debug information using the python logging favility from within the loggers:
>>> import logging
>>> logger = logging.getLogger('financeMacroFactors')
>>> logger.setLevel(logging.DEBUG)
>>> ch = logging.StreamHandler()
>>> ch.setLevel(logging.DEBUG)
>>> formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
>>> ch.setFormatter(formatter)
>>> logger.addHandler(ch)
>>>
>>> import financeMacroFactors as fM
>>> _ = fM.companies.getSNP500CompanyList()
2020-07-25 00:36:13,029 - financeMacroFactors.companies.companyLists.getSNP500CompanyList - DEBUG - Downloading data from the wikipedia page ...
2020-07-25 00:36:13,067 - financeMacroFactors.companies.companyLists.getSNP500CompanyList - DEBUG - Parsing the web data...
2020-07-25 00:36:13,413 - financeMacroFactors.companies.companyLists.getSNP500CompanyList - DEBUG - 505 rows of data generated ...
>>>
On the other hand, it is possible to make sure that only the error level information is logged. For example, the following code will only generate logging information when an error occurs, and be silent when the function returns successfully.
>>> import logging
>>> logger = logging.getLogger('financeMacroFactors')
>>> logger.setLevel(logging.ERROR)
>>> ch = logging.StreamHandler()
>>> ch.setLevel(logging.ERROR)
>>> formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
>>> ch.setFormatter(formatter)
>>> logger.addHandler(ch)
>>>
>>> import financeMacroFactors as fM
>>> _ = fM.companies.getSNP500CompanyList()
>>>


Watch out!
You don't have H9RBS.js installed.

Great!
You successfully frobjugated the minlingator's snorbdralob.

 class="message"
Hey!
You've got four thousand new grabjalognibs!


ng-repeat
{{food}}
${{cost}}
Contact Card Directive
People
Date Picker Directive
Receipt
Date:
Format:
mm-dd-yy
d M, y
DD, d MM, yy


| Package | Description |
|---|---|
| energy.usef.agr.workflow.nonudi.initialize |
Workflow classes for Non-UDI initialization of the Aggregator.
|
| energy.usef.agr.workflow.nonudi.operate |
Workflow classes for Non-UDI operate phase of the Aggregator.
|
| energy.usef.agr.workflow.operate.control.ads |
This package contains the Java components needed for the workflow 'Realize A-Plans and/or D-Prognoses by controlling
Active Demand and Supply'.
|
| energy.usef.agr.workflow.operate.identifychangeforecast |
Classes for the identify changes in forecast workflow in the operate phase for the Aggregator.
|
| energy.usef.agr.workflow.operate.netdemand |
Package to contain workflow logic around Determining Net Demands
|
| energy.usef.agr.workflow.validate.flexoffer |
This package contains the logic to create and send FlexOffer's
|
| energy.usef.brp.workflow.plan.aplan.finalize |
Workflow classes for A-plan finalization in the plan phase of the BRP.
|
| energy.usef.brp.workflow.plan.commonreferencequery |
Contains java components to trigger the common reference query.
|
| energy.usef.brp.workflow.plan.flexorder.place |
This package contains the components needed for the implementation of the workflow describing the placement of Flex Orders on the BRP side.
|
| energy.usef.brp.workflow.settlement.send |
This package contains the java components and logic needed to send Settlement messages.
|
| energy.usef.dso.workflow.operate |
Operate classes of the Distribution System Operator.
|
| energy.usef.dso.workflow.plan.connection.forecast |
Connection forecast classes of the Distribution System Operator.
|
| energy.usef.dso.workflow.settlement.send |
This package contains the java components and logic needed to send Settlement messages.
|
| energy.usef.mdc.workflow |
Contains Workflow classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AgrNonUdiInitializeEventTrigger
Timed trigger to fire AgrNonUdiInitializeEvent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AgrNonUdiRetrieveAdsGoalRealizationEventTrigger
Class in charge of triggering the 'Retrieve ADS Goal Realization' workflow for a non-UDI aggregator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ControlActiveDemandSupplyEventTrigger
Timed trigger to fire ControlActiveDemandSupplyEvent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IdentifyChangeInForecastTrigger
Timed trigger to fire IdentifyChangeInForecastEvent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DetermineNetDemandEventTrigger
Timed trigger to fire DetermineNetDemandEvent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FlexOfferEventTrigger
Timed trigger to fire FlexOfferEvent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FinalizeAPlansEventTrigger
Class in charge of the triggering of the
FinalizeAPlansEvent . |
| Modifier and Type | Class and Description |
|---|---|
class |
BrpCommonReferenceQueryEventTrigger
Class in charge of registering a scheduled task to fire
CommonReferenceQueryEvent . |
| Modifier and Type | Class and Description |
|---|---|
class |
FlexOrderEventTrigger
Class in charge of triggering event for the placement of flex orders.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BrpSettlementMessageDispositionTimer
Class which will register a scheduled task whose purpose is to check whether some settlement messages have not received a
response in time and hence should be marked as DISPUTED.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SendOperateEventTrigger
Timed trigger to fire SendOperateEvent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DsoCreateConnectionForecastEventTrigger
Trigger class to fire
CreateConnectionForecastEvent periodically. |
| Modifier and Type | Class and Description |
|---|---|
class |
DsoSettlementMessageDispositionTimer
Class which will register a scheduled task whose purpose is to check whether some settlement messages have not received a
response in time and hence should be marked as DISPUTED.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MdcCommonReferenceQueryEventTrigger
This class will register a scheduled task which will fire a new
CommonReferenceQueryEvent and which will run every day at
a given time. |
Copyright © 2016. All rights reserved.


subject
REPOSITORY IRTE5U9YJ1IA8Z
-amazing-facts-and-crazy-quizzes-about-bullies-be-9780692621059.pdf
November 23, 2016
Filetype: PDF
|
1300 views
system_update_alt
Download
subject
Read
-the-fountas-pinnell-literacy-continuum-a-tool-fo-9780325060781.pdf
January 08, 2017
Filetype: PDF
|
1675 views
system_update_alt
Download
subject
Read
-the-official-blue-book-handbook-of-united-states-9780794836832.pdf
January 06, 2017
Filetype: PDF
|
2566 views
system_update_alt
Download
subject
Read
-magenta-the-color-of-sex-9780865621787.pdf
October 28, 2016
Filetype: PDF
|
1316 views
system_update_alt
Download
subject
Read
-the-scoop-about-measuring-matter-paperback-9781618102263.pdf
December 13, 2016
Filetype: PDF
|
3187 views
system_update_alt
Download
subject
Read
-middle-grades-math-tools-for-success-multiple-us-9780134359236.pdf
October 04, 2016
Filetype: PDF
|
2351 views
system_update_alt
Download
subject
Read
-how-to-make-music-on-the-web-9781847865243.pdf
August 05, 2016
Filetype: PDF
|
2362 views
system_update_alt
Download
subject
Read
-the-wish-stealers-paperback-9781416987260.pdf
November 16, 2016
Filetype: PDF
|
2258 views
system_update_alt
Download
subject
Read
-the-labour-annual-volume-5-paperback-9781236742179.pdf
November 11, 2016
Filetype: PDF
|
1577 views
system_update_alt
Download
subject
Read
-travel-notes-and-quotes-gift-stationary-9781850158042.pdf
August 06, 2016
Filetype: PDF
|
3241 views
system_update_alt
Download
subject
Read
-high-school-math-required-1-with-one-to-teach-di-9787306033949.pdf
October 06, 2016
Filetype: PDF
|
381 views
system_update_alt
Download
subject
Read
-timothy-and-sarah-the-homemade-cake-contest-9781940842028.pdf
November 24, 2016
Filetype: PDF
|
1802 views
system_update_alt
Download
subject
Read
-daisy-miller-and-other-stories-penguin-modern-cl-9780140067217.pdf
August 15, 2016
Filetype: PDF
|
1660 views
system_update_alt
Download
subject
Read
-harcourt-school-publishers-math-california-retea-9780153569579.pdf
October 13, 2016
Filetype: PDF
|
1669 views
system_update_alt
Download
subject
Read
-the-snow-queen-band-04-blue-x2f-band-10-white-9780007516452.pdf
August 08, 2016
Filetype: PDF
|
1045 views
system_update_alt
Download
subject
Read
-hawkins-x27-electrical-dictionary-a-cyclopedia-o-9781296978860.pdf
January 09, 2017
Filetype: PDF
|
1568 views
system_update_alt
Download
subject
Read
-the-angel-x27-s-command-castaways-of-the-flying--9780142402856.pdf
October 26, 2016
Filetype: PDF
|
1442 views
system_update_alt
Download
subject
Read
-1-309-days-later-the-story-of-how-a-dreary-linco-9781469900384.pdf
December 24, 2016
Filetype: PDF
|
2420 views
system_update_alt
Download
subject
Read
-tell-me-more-9780399135743.pdf
August 11, 2016
Filetype: PDF
|
873 views
system_update_alt
Download
subject
Read
-data-on-streamflow-and-quality-of-water-and-bott-9781288745401.pdf
August 09, 2016
Filetype: PDF
|
2582 views
system_update_alt
Download
subject
Read
-the-truth-about-money-3rd-edition-9780060566586.pdf
December 27, 2016
Filetype: PDF
|
2278 views
system_update_alt
Download
subject
Read
-concrete-in-railroad-construction-a-treatise-on--9781130432978.pdf
November 10, 2016
Filetype: PDF
|
1141 views
system_update_alt
Download
subject
Read
-canciones-de-edith-piaf-9788424507749.pdf
January 11, 2017
Filetype: PDF
|
562 views
system_update_alt
Download
subject
Read
-essential-medicine-explained-a-doctor-answers-yo-9780855723538.pdf
September 01, 2016
Filetype: PDF
|
1008 views
system_update_alt
Download
subject
Read
-christian-acts-of-kindness-9781573241731.pdf
December 06, 2016
Filetype: PDF
|
1404 views
system_update_alt
Download
subject
Read
-jojo-x27-s-bizarre-adventure-volume-2-jo-joo-x27-9781591168508.pdf
January 16, 2017
Filetype: PDF
|
2984 views
system_update_alt
Download
subject
Read
-dear-valentine-letters-mad-libs-mad-libs-junior-9780843120882.pdf
July 23, 2016
Filetype: PDF
|
2961 views
system_update_alt
Download
subject
Read
-multidimensional-unstructured-grid-liquid-rocket-9781289276942.pdf
August 22, 2016
Filetype: PDF
|
3141 views
system_update_alt
Download
subject
Read
-the-hunt-new-york-city-4th-9789810765385.pdf
August 18, 2016
Filetype: PDF
|
983 views
system_update_alt
Download
subject
Read
-go-with-excel-2007-comprehensive-9780132255592.pdf
December 25, 2016
Filetype: PDF
|
801 views
system_update_alt
Download
subject
Read
-word2007-and-case-based-tutorial-computer-applic-9787040274639.pdf
August 09, 2016
Filetype: PDF
|
2310 views
system_update_alt
Download
subject
Read
-coaching-the-dutch-4-3-3-9780979994807.pdf
November 09, 2016
Filetype: PDF
|
2156 views
system_update_alt
Download
subject
Read
-ayurveda-forever-wellbeing-9780940985063.pdf
January 10, 2017
Filetype: PDF
|
443 views
system_update_alt
Download
subject
Read
-adapted-reading-and-study-workbook-b-prentice-ha-9780132013574.pdf
November 03, 2016
Filetype: PDF
|
1534 views
system_update_alt
Download
subject
Read
-naufragio-9788497348812.pdf
August 29, 2016
Filetype: PDF
|
2142 views
system_update_alt
Download
subject
Read
-the-church-of-omnivorous-light-selected-poems-9781852249663.pdf
September 09, 2016
Filetype: PDF
|
2016 views
system_update_alt
Download
subject
Read
-student-solutions-manual-thinking-mathematically-9780131595972.pdf
September 09, 2016
Filetype: PDF
|
2863 views
system_update_alt
Download
subject
Read
-secrets-the-pros-won-x27-t-tell-you-about-winnin-9780818406591.pdf
August 25, 2016
Filetype: PDF
|
2415 views
system_update_alt
Download
subject
Read
-el-despertamiento-21-dias-para-cambiar-radicalme-9781616385125.pdf
December 01, 2016
Filetype: PDF
|
2241 views
system_update_alt
Download
subject
Read
-nutrition-amp-wellness-internet-connections-2000-9780078208416.pdf
July 29, 2016
Filetype: PDF
|
3294 views
system_update_alt
Download
subject
Read
-hayate-the-combat-butler-v-1-9781421508511.pdf
September 10, 2016
Filetype: PDF
|
723 views
system_update_alt
Download
subject
Read
-the-letters-hope-encouragement-and-inspirationa--9781613395028.pdf
December 07, 2016
Filetype: PDF
|
357 views
system_update_alt
Download
subject
Read
-the-arrangement-15-the-ferro-family-9781630350277.pdf
August 03, 2016
Filetype: PDF
|
2268 views
system_update_alt
Download
subject
Read
-typhon-and-the-winds-of-destruction-hardback-9781442488441.pdf
September 11, 2016
Filetype: PDF
|
1615 views
system_update_alt
Download
subject
Read
-team-management-chart-design-example-one-hand-on-9787115301468.pdf
November 28, 2016
Filetype: PDF
|
554 views
system_update_alt
Download
subject
Read
-england-and-its-colonies-in-wilkie-collins-x27-q-9783656056942.pdf
December 03, 2016
Filetype: PDF
|
1846 views
system_update_alt
Download
subject
Read
-50-ways-to-eat-cock-healthy-chicken-recipes-with-9781481020138.pdf
October 18, 2016
Filetype: PDF
|
1694 views
system_update_alt
Download
subject
Read
-truth-cookie-9781408307441.pdf
November 13, 2016
Filetype: PDF
|
556 views
system_update_alt
Download
subject
Read
-a-woman-on-the-edge-of-time-a-son-x27-s-search-f-9781925228090.pdf
October 02, 2016
Filetype: PDF
|
2788 views
system_update_alt
Download
subject
Read
-temples-and-elephants-the-narrative-of-a-journey-9781230398938.pdf
November 04, 2016
Filetype: PDF
|
1338 views
system_update_alt
Download
subject
Read
-justice-league-of-america-vol-1-the-silver-age-9781401261115.pdf
October 11, 2016
Filetype: PDF
|
1081 views
system_update_alt
Download
subject
Read
-the-mystery-in-chocolate-town-hershey-pennsylvan-9780635063335.pdf
October 03, 2016
Filetype: PDF
|
2913 views
system_update_alt
Download
subject
Read
-information-and-creation-9783034874748.pdf
December 17, 2016
Filetype: PDF
|
1583 views
system_update_alt
Download
subject
Read
-it-corporate-entrepreneurship-9783736992535.pdf
December 09, 2016
Filetype: PDF
|
2487 views
system_update_alt
Download
subject
Read
-antoine-lavoisier-founder-of-modern-chemistry-ph-9780743905824.pdf
August 22, 2016
Filetype: PDF
|
873 views
system_update_alt
Download
subject
Read
-family-whispering-the-baby-whisperer-x27-s-commo-9781451654462.pdf
October 28, 2016
Filetype: PDF
|
446 views
system_update_alt
Download
subject
Read
-the-roman-era-the-british-isles-55-bc-ad-410-sho-9780198731931.pdf
January 03, 2017
Filetype: PDF
|
1782 views
system_update_alt
Download
subject
Read
-puppy-training-complete-guide-to-housebreaking-y-9781517640439.pdf
December 13, 2016
Filetype: PDF
|
2540 views
system_update_alt
Download
subject
Read
-the-prince-and-the-guard-9780007587094.pdf
December 26, 2016
Filetype: PDF
|
2451 views
system_update_alt
Download
subject
Read
-francesca-the-silk-merchant-x27-s-daughers-the-s-9780451413765.pdf
July 23, 2016
Filetype: PDF
|
791 views
system_update_alt
Download
subject
Read
-an-historical-guide-to-london-9781116314250.pdf
September 29, 2016
Filetype: PDF
|
2809 views
system_update_alt
Download
subject
Read
-madagascar-escape-2-africa-quot-funfax-9781405332842.pdf
December 11, 2016
Filetype: PDF
|
401 views
system_update_alt
Download
subject
Read
-understanding-calculus-a-user-s-guide-paperback-9780471433071.pdf
October 09, 2016
Filetype: PDF
|
3325 views
system_update_alt
Download
subject
Read
-schaums-outline-of-pediatric-nursing-schaums-out-9780071623865.pdf
November 19, 2016
Filetype: PDF
|
1539 views
system_update_alt
Download
subject
Read
-trade-barriers-in-the-triad-communities-9783638931410.pdf
August 04, 2016
Filetype: PDF
|
668 views
system_update_alt
Download
subject
Read
-autocad-engineering-drawing-training-tutorials-9787508475639.pdf
October 05, 2016
Filetype: PDF
|
2409 views
system_update_alt
Download
subject
Read
-demon-ex-machina-tales-of-a-demon-hunting-soccer-9780425229644.pdf
October 18, 2016
Filetype: PDF
|
1787 views
system_update_alt
Download
subject
Read
-level-2-health-and-social-care-diploma-shc-23-as-9781471850318.pdf
October 20, 2016
Filetype: PDF
|
638 views
system_update_alt
Download
subject
Read
-business-communication-your-mentor-and-guide-to--9781591391135.pdf
October 25, 2016
Filetype: PDF
|
2324 views
system_update_alt
Download
subject
Read
-powerful-questions-that-highly-effective-busines-9780975818633.pdf
September 13, 2016
Filetype: PDF
|
1080 views
system_update_alt
Download
subject
Read
-2015-monthly-lottery-predictions-for-pick-4-win--9781505355659.pdf
December 14, 2016
Filetype: PDF
|
1867 views
system_update_alt
Download
subject
Read
-noctes-ambrosian-volume-2-6-9781145872233.pdf
November 15, 2016
Filetype: PDF
|
1127 views
system_update_alt
Download
subject
Read
-cinnabar-the-one-o-clock-fox-paperback-9781481404006.pdf
December 17, 2016
Filetype: PDF
|
2568 views
system_update_alt
Download
subject
Read
-the-light-of-christmas-9780740727054.pdf
October 18, 2016
Filetype: PDF
|
342 views
system_update_alt
Download
subject
Read
-the-stacks-the-complete-series-paperback-9780990959564.pdf
January 07, 2017
Filetype: PDF
|
1980 views
system_update_alt
Download
subject
Read
-lies-i-told-9780062327130.pdf
August 26, 2016
Filetype: PDF
|
1119 views
system_update_alt
Download
subject
Read
-goodnight-daniel-tiger-daniel-tigers-neighborhoo-9781481423489.pdf
November 18, 2016
Filetype: PDF
|
419 views
system_update_alt
Download
subject
Read
-the-white-wand-witches-at-war-9781843651345.pdf
January 08, 2017
Filetype: PDF
|
1031 views
system_update_alt
Download
subject
Read
-symptoms-of-visceral-disease-a-study-of-the-vege-4-9781298491343.pdf
October 18, 2016
Filetype: PDF
|
2881 views
system_update_alt
Download
subject
Read
-run-the-race-paperback-9781629520841.pdf
August 25, 2016
Filetype: PDF
|
3265 views
system_update_alt
Download
subject
Read
-lifeline-heartline-ten-poems-by-lesbian-and-gay--9781907598364.pdf
October 26, 2016
Filetype: PDF
|
3207 views
system_update_alt
Download
subject
Read
-annali-dell-x27-instituto-di-corrispondenza-arch-4-9781231276655.pdf
September 10, 2016
Filetype: PDF
|
2640 views
system_update_alt
Download
subject
Read
-novels-set-in-florida-book-guide-sick-puppy-alas-9781234590994.pdf
July 22, 2016
Filetype: PDF
|
2712 views
system_update_alt
Download
subject
Read
-second-grade-latest-version-yan-primary-school-m-9787500069782.pdf
October 05, 2016
Filetype: PDF
|
3051 views
system_update_alt
Download
subject
Read
-beyond-economic-man-and-8211-a-new-foundation-fo-9780674068926.pdf
October 10, 2016
Filetype: PDF
|
2116 views
system_update_alt
Download
subject
Read
-point-omega-main-market-ed-9780330512398.pdf
October 02, 2016
Filetype: PDF
|
617 views
system_update_alt
Download
subject
Read
-great-commission-obedience-the-road-to-resurgenc-9780805448795.pdf
September 06, 2016
Filetype: PDF
|
1960 views
system_update_alt
Download
subject
Read
-for-the-love-of-baseball-a-celebration-of-the-ga-9781510702738.pdf
December 06, 2016
Filetype: PDF
|
2386 views
system_update_alt
Download
subject
Read
-family-farming-and-rural-economic-development-ha-9789383305858.pdf
October 10, 2016
Filetype: PDF
|
1118 views
system_update_alt
Download
subject
Read
-required-high-school-history-1-supporting-the-pe-9787512604551.pdf
November 05, 2016
Filetype: PDF
|
1516 views
system_update_alt
Download
subject
Read
Other Files
description
-blood-rush-an-ess-and-oz-adventure-ess-and-oz-ad-9781489569516.pdf
[89.53 KB]
description
-my-favorite-bible-stories-format-paperback-9780312517861.pdf
[89.53 KB]
description
-office-of-inspector-general-audit-report-new-app-9781288684137.pdf
[89.53 KB]
description
-dark-traces-of-the-past-psychoanalysis-and-histo-9781845457532.pdf
[89.53 KB]
description
-off-to-the-side-a-memoir-9780802140302.pdf
[89.53 KB]
description
-the-eucharistic-manual-from-various-sources-ed-b-9781130069914.pdf
[89.53 KB]
description
-loom-knit-hats-amp-scarves-9781464712043.pdf
[89.53 KB]
description
-selfies-self-portrait-photography-with-attitude-9781440334627.pdf
[89.53 KB]
description
-don-quijote-de-la-mancha-don-quixote-edicion-ada-9789587043105.pdf
[89.53 KB]
description
-trevor-s-toothy-tale-paperback-9781849822299.pdf
[89.53 KB]
description
-i-forgive-miracle-of-transformation-9780964652002.pdf
[89.53 KB]
description
-catalogue-number-eight-english-prose-fiction-inc-9781130278750.pdf
[89.53 KB]
description
-google-adwords-for-beginners-learn-how-to-advert-9781681859644.pdf
[89.53 KB]
description
-flatland-a-romance-of-many-dimensions-by-a-squar-9780140435313.pdf
[89.53 KB]
description
-essential-musicianship-ensemble-concepts-for-ban-14-9780634094682.pdf
[89.53 KB]
description
-linguistic-interference-between-l1-dialects-and--9783656594130.pdf
[89.53 KB]
description
-letters-from-canterbury-new-zealand-9781230231907.pdf
[89.53 KB]
description
-being-logical-a-guide-to-good-thinking-9780812971156.pdf
[89.53 KB]
description
-food-of-the-gods-the-search-for-the-original-tre-1-9781452610030.pdf
[89.53 KB]
description
-extraordinary-texas-women-9780875653662.pdf
[89.53 KB]
description
-lectio-divina-bible-study-the-creed-in-scripture-9781592768325.pdf
[89.53 KB]
description
-so-you-want-to-be-a-theatre-producer-9781854595379.pdf
[89.53 KB]
description
-the-city-of-the-caliphs-a-popular-study-of-cairo-9781330043141.pdf
[89.53 KB]
description
-someday-angeline-new-edition-9780747587231.pdf
[89.53 KB]
description
-my-first-chess-book-35-easy-and-fun-chess-based--9781782491576.pdf
[89.53 KB]
description
-to-the-ends-of-the-earth-scotland-x27-s-global-d-9780141015644.pdf
[89.53 KB]
description
-mistress-by-mistake-9780425231517.pdf
[89.53 KB]
description
-who-in-the-world-was-the-secretive-printer-the-s-1-9781933339276.pdf
[89.53 KB]
description
-blasters-handbook-9781236925251.pdf
[89.53 KB]
description
-prayer-a-biblical-perspective-paperback-9781848711495.pdf
[89.53 KB]
description
-computational-design-thinking-computation-design-9780470665657.pdf
[89.53 KB]
description
-the-lady-vanishes-amp-the-spiral-staircase-9781840225761.pdf
[89.53 KB]
description
-breaking-the-chains-of-gravity-the-story-of-spac-9781511365437.pdf
[89.53 KB]
description
-a-romano-british-and-medieval-settlement-site-at-9780952319665.pdf
[89.53 KB]
description
-ayudenme-soy-mujer-en-el-ministerio-juvenil-x2f--9780829761733.pdf
[89.53 KB]
description
-clinical-management-of-the-child-and-teenager-wi-9780801859090.pdf
[89.53 KB]
description
-in-the-belly-of-the-whale-paperback-9781479376261.pdf
[89.53 KB]
description
-the-wheel-of-life-a-memoir-of-living-and-dying-t-9780684846316.pdf
[89.53 KB]
description
-genuine-book-orthopaedic-core-knowledge-of-pedia-9787117078481.pdf
[89.53 KB]
description
-emergence-of-the-modern-mexican-woman-her-partic-9780912869124.pdf
[89.53 KB]
description
-golden-girl-9780980225358.pdf
[89.53 KB]
description
-the-thirty-century-war-9781493780501.pdf
[89.53 KB]
description
-muscle-building-smoothies-box-set-vol-1-4-shakes-9781511837057.pdf
[89.53 KB]
description
-managing-human-resources-7th-edition-9780132729826.pdf
[89.53 KB]
description
-algebra-1-concepts-and-skills-power-presentation-9780547123912.pdf
[89.53 KB]
description
-leading-lines-paperback-9781770412323.pdf
[89.53 KB]
description
-handa-x27-s-surprise-in-somali-and-english-paper-9781852694760.pdf
[89.53 KB]
description
-the-whole-story-next-time-around-paperback-9781448990344.pdf
[89.53 KB]
description
-the-pawns-run-9781457525131.pdf
[89.53 KB]
description
-teacher-inquiries-in-literacy-teaching-learning--9780805824001.pdf
[89.53 KB]
description
-the-gospel-in-brief-the-life-of-jesus-9780061993459.pdf
[89.53 KB]
description
-steam-drills-treadmills-and-shooting-stars-a-sto-1-9780984813247.pdf
[89.53 KB]
description
-rosamunda-a-tragedy-in-five-acts-paperback-9781130751260.pdf
[89.53 KB]
description
-why-women-mean-business-9788126524624.pdf
[89.53 KB]
description
-unbelievably-humorous-chapters-part-2-paperback-9781523455362.pdf
[89.53 KB]
description
-the-new-complete-garden-makeover-book-useful-ste-9781921259258.pdf
[89.53 KB]
description
-memos-to-the-president-management-advice-from-th-9780471393382.pdf
[89.53 KB]
description
-visual-basic-in-easy-steps-paperback-9781840783582.pdf
[89.53 KB]
description
-methods-in-elementary-school-studies-a-brief-out-9781330915998.pdf
[89.53 KB]
description
-pocket-world-in-figures-2010-9781846681363.pdf
[89.53 KB]
description
-studyguide-for-intermediate-algebra-by-alan-s-tu-9781497014190.pdf
[89.53 KB]
description
-do-not-lose-hope-healing-the-wounded-heart-of-wo-9780818908309.pdf
[89.53 KB]
description
-tricurious-surviving-the-deep-end-getting-into-g-9781849537148.pdf
[89.53 KB]
description
-bodyguard-daddy-paperback-9780373279777.pdf
[89.53 KB]
description
-a-witch-x27-s-book-of-answers-9781578632800.pdf
[89.53 KB]
description
-thriving-work-90-days-of-daily-practice-for-tran-9780983654407.pdf
[89.53 KB]
description
-the-power-of-opinions-paperback-9781498447508.pdf
[89.53 KB]
description
-ultimate-guide-to-wiring-complete-projects-for-t-9781580113502.pdf
[89.53 KB]
description
-the-trolls-9780312384197.pdf
[89.53 KB]
description
-girl-talk-audio-box-set-9781405047234.pdf
[89.53 KB]
description
-rain-paperback-9781492174660.pdf
[89.53 KB]
description
-albert-savarus-paperback-9781517633592.pdf
[89.53 KB]
description
-crt-amp-rrt-exam-flashcard-study-system-crt-amp--9781609715380.pdf
[89.53 KB]
description
-read-at-home-first-skills-floppy-x27-s-colours-9780198387428.pdf
[89.53 KB]
description
-cost-effectiveness-analysis-of-final-effluent-li-2-9781249567592.pdf
[89.53 KB]
description
-a-saturday-child-9781625092670.pdf
[89.53 KB]
description
-the-forsaken-book-two-in-the-abandoned-series-pa-9781634221474.pdf
[89.53 KB]
description
-daydreams-and-nightmares-a-virginia-family-faces-9780813937090.pdf
[89.53 KB]
description
-lighthouse-island-a-novel-p-s-9780062232519.pdf
[89.53 KB]
description
-handbook-of-nutraceuticals-ingredients-formulati-9781420082210.pdf
[89.53 KB]
description
-compilation-of-national-standards-2011-amendment-9787506669306.pdf
[89.53 KB]
description
-handbook-of-individual-differences-in-social-beh-9781593856472.pdf
[89.53 KB]
description
-comptia-a-exam-220-801-and-exam-220-802-rapid-re-9780735666825.pdf
[89.53 KB]
description
-golfaholics-9781576440414.pdf
[89.53 KB]
description
-h-g-wells-paperback-9781505242935.pdf
[89.53 KB]
description
-free-marketing-including-blogging-email-marketin-9781515300083.pdf
[89.53 KB]
description
-grammatical-institutes-or-the-principles-and-rul-9781330658734.pdf
[89.53 KB]
description
-lead-like-butler-six-principles-for-values-based-9781426749148.pdf
[89.53 KB]
description
-the-the-brothers-in-gold-sheriff-jack-johnson-bo-9781523713431.pdf
[89.53 KB]
description
-ladies-x27-night-9781250019677.pdf
[89.53 KB]
description
-ipod-and-itunes-the-missing-manual-9780596008772.pdf
[89.53 KB]
description
-alex-morgan-9780789212160.pdf
[89.53 KB]
description
-the-savvy-crafters-guide-to-success-turn-your-cr-9781581809428.pdf
[89.53 KB]
description
-yellowstone-national-park-coloring-and-activity--9780635073419.pdf
[89.53 KB]
description
-the-federal-office-for-building-and-regional-pla-9783803006196.pdf
[89.53 KB]
description
-hamare-sharira-ke-shakti-pravah-acupunture-evam--9788182650206.pdf
[89.53 KB]
description
-long-and-short-stitch-embroidery-a-collection-of-9781863513524.pdf
[89.53 KB]
description
-change-your-words-change-your-world-9781848508088.pdf
[89.53 KB]
description
-summer-bridge-activities-r-grades-4-5-paperback-9781483815848.pdf
[89.53 KB]
description
-yoga-lessons-for-developing-spiritual-consciousn-9781461132943.pdf
[89.53 KB]
description
-holiday-fun-9781780550176.pdf
[89.53 KB]
description
-anabasis-of-alexander-volume-i-books-1-4-hardcov-9780674992603.pdf
[89.53 KB]
description
-the-christmas-shoppe-9780800719265.pdf
[89.53 KB]
description
-scenes-from-an-impending-marriage-a-mini-memoir-9781770460348.pdf
[89.53 KB]
description
-grammy-s-book-of-crosswords-100-novelty-crosswor-9781505242317.pdf
[89.53 KB]
description
-king-of-fashion-the-autobiography-of-paul-poiret-9781851775644.pdf
[89.53 KB]
description
-here-we-come-a-wassailing-vocal-score-9780193854475.pdf
[89.53 KB]
description
-tribes-and-cultural-ecology-in-central-india-9788170998754.pdf
[89.53 KB]
description
-the-disgusting-sandwich-9781407131450.pdf
[89.53 KB]
description
-2010-the-efficiency-of-manual-chinese-edition-9787508257686.pdf
[89.53 KB]
description
-dear-jane-austen-a-heroine-x27-s-guide-to-life-a-9780452288942.pdf
[89.53 KB]
description
-the-chassmistic-chronicle-paperback-9781304906120.pdf
[89.53 KB]
description
-chinese-myths-9788125039464.pdf
[89.53 KB]
description
-crs-report-for-congress-the-role-of-trade-secret-9781295024605.pdf
[89.53 KB]
description
-austria-germany-and-the-cold-war-from-the-quot-a-9781845453268.pdf
[89.53 KB]
description
-boundaries-participants-guide-9780310224532.pdf
[89.53 KB]
description
-tips-tricks-for-evaluating-multimedia-content-pa-9781477775653.pdf
[89.53 KB]
description
-baseball-journal-paperback-9781519587923.pdf
[89.53 KB]
description
-2014-bulldogs-american-kennel-club-wall-9781554567300.pdf
[89.53 KB]
description
-how-the-problem-solving-ingenuity-solution-junio-1-9787530364536.pdf
[89.53 KB]
description
-hacking-matter-levitating-chairs-quantum-mirages-9780465044290.pdf
[89.53 KB]
description
-mozart-s-sister-paperback-9780955071300.pdf
[89.53 KB]
description
-joy-and-woe-are-woven-fine-vocal-score-9780193385504.pdf
[89.53 KB]
description
-metal-processing-base-color-version-secondary-vo-9787504593061.pdf
[89.53 KB]
description
-student-cd-rom-and-audio-cds-to-accompany-medica-9780077274498.pdf
[89.53 KB]
description
-the-lilas-of-the-sons-of-shiva-9788173053429.pdf
[89.53 KB]
description
-seeking-wisdom-among-the-wise-following-good-adv-9781448957705.pdf
[89.53 KB]
description
-dangerous-lover-the-dangerous-trilogy-9780061208591.pdf
[89.53 KB]
description
-diy-household-hacks-9781508439028.pdf
[89.53 KB]
description
-couldnt-we-just-kill-em-and-tell-god-they-died-o-9780884194330.pdf
[89.53 KB]
description
-genuine-higher-vocational-planning-materials-che-9787122145864.pdf
[89.53 KB]
description
-hair-dyes-and-hair-dyeing-chemistry-and-techniqu-9781444655377.pdf
[89.53 KB]
description
-kidnapped-at-birth-marvin-redpost-1-paper-9780679819462.pdf
[89.53 KB]
description
-memory-in-the-ontopoiesis-of-life-book-two-memor-9789048123186.pdf
[89.53 KB]
description
-don-x27-t-let-me-go-what-my-daughter-taught-me-a-9780307444684.pdf
[89.53 KB]
description
-memories-from-cherry-harvest-9781593764401.pdf
[89.53 KB]
description
-defending-politics-why-democracy-matters-in-the--9780199669042.pdf
[89.53 KB]
description
-the-picts-and-the-martyrs-or-not-welcome-at-all--1-9780224606417.pdf
[89.53 KB]
description
-the-daughter-of-highland-hall-9781494554637.pdf
[89.53 KB]
description
-what-is-the-situation-now-a-review-of-political--9781331228066.pdf
[89.53 KB]
description
-genuine-pharmacognosy-lecture-notes-jia-ying-chi-9787509145753.pdf
[89.53 KB]
description
-wakefield-paperback-9781499687644.pdf
[89.53 KB]
description
-basics-of-legal-document-preparation-paperback-9780827367999.pdf
[89.53 KB]
description
-ophelia-x27-s-muse-9781617738562.pdf
[89.53 KB]
description
-plants-illustrated-edition-9781445131030.pdf
[89.53 KB]
description
-when-children-pray-paperback-9780692470909.pdf
[89.53 KB]
description
-a-surprise-for-princess-ellie-2nd-special-editio-9781409566014.pdf
[89.53 KB]
description
-from-bapaume-to-passchendaele-1917-paperback-9781500785635.pdf
[89.53 KB]
description
-master-long-division-with-remainders-practice-wo-9781481954150.pdf
[89.53 KB]
description
-statistical-abstract-of-the-united-states-2008-t-9780934213080.pdf
[89.53 KB]
description
-fat-loss-tips-9781511714983.pdf
[89.53 KB]
description
-new-curriculum-chemical-analysis-for-high-studen-9787560837833.pdf
[89.53 KB]
description
-advanced-inorganic-chemistry-chemistry-and-appli-9787562820741.pdf
[89.53 KB]
description
-laleen-24-erotic-short-stories-paperback-9781530491636.pdf
[89.53 KB]
description
-tornado-grade-5-unit-4-leveled-reader-2001-copyr-9780021852765.pdf
[89.53 KB]
description
-nik-s-list-paperback-9781492269489.pdf
[89.53 KB]
description
-standardized-test-prep-and-practice-grade-3-9780021493548.pdf
[89.53 KB]
description
-brevier-reports-volume-6-paperback-9781236292278.pdf
[89.53 KB]
description
-camp-smart-cookbook-a-guide-to-campfire-cooking--9781508908579.pdf
[89.53 KB]
description
-get-serious-about-getting-married-365-proven-way-9780060834074.pdf
[89.53 KB]
description
-far-far-away-1-9780375843297.pdf
[89.53 KB]
description
-when-a-loved-one-falls-ill-how-to-be-an-effectiv-9780761165071.pdf
[89.53 KB]
description
-love-letters-from-the-lord-vol-1-paperback-9781886068476.pdf
[89.53 KB]
description
-the-opposite-of-amber-9780747599920.pdf
[89.53 KB]
description
-harper-x27-s-weekly-september-24-1864-9781557098023.pdf
[89.53 KB]
description
-how-to-lose-friends-and-alienate-people-movie-ti-9780306816130.pdf
[89.53 KB]
description
-coming-to-know-writing-to-learn-in-the-intermedi-9780435085001.pdf
[89.53 KB]
description
-horses-2014-mini-wall-calendar-9781619830967.pdf
[89.53 KB]
description
-d-ya-want-a-possum-and-other-ozark-salutations-p-9781478706649.pdf
[89.53 KB]
description
-math-basics-for-health-care-professionals-4th-ed-9780133104158.pdf
[89.53 KB]
description
-worst-class-trip-ever-9780689875960.pdf
[89.53 KB]
description
-selections-from-newtons-principia-science-classi-9781888009262.pdf
[89.53 KB]
description
-catching-bullets-memoirs-of-a-bond-fan-9780956950574.pdf
[89.53 KB]
description
-the-fury-of-rachel-monette-9781511376556.pdf
[89.53 KB]
description
-customs-import-and-export-tariff-of-the-people-x-9787802573901.pdf
[89.53 KB]
description
-panre-flashcard-study-system-panre-test-practice-9781610724838.pdf
[89.53 KB]
description
-hope-and-healing-prayers-for-catholics-9780819905031.pdf
[89.53 KB]
description
-dime-novel-1-leftovers-hell-on-earth-9781889546322.pdf
[89.53 KB]
description
-catholic-treasury-of-prayers-9780899429380.pdf
[89.53 KB]
description
-revit-architecture-2014-avanzado-9788499645131.pdf
[89.53 KB]
description
-reading-the-new-testament-for-the-first-time-9780802867353.pdf
[89.53 KB]
description
-becoming-the-woman-of-his-dreams-seven-qualities-9780736959957.pdf
[89.53 KB]
description
-the-philosophy-of-eating-paperback-9781514603765.pdf
[89.53 KB]
description
-natural-language-processing-9789380578774.pdf
[89.53 KB]
description
-the-compatibility-gene-hardback-9781846145148.pdf
[89.53 KB]
description
-off-the-beaten-track-rethinking-gender-justice-f-9780195658316.pdf
[89.53 KB]
description
-elmo-x27-s-abc-book-sesame-street-9780375840371.pdf
[89.53 KB]
description
-future-research-needs-for-childhood-obesity-prev-9781492789703.pdf
[89.53 KB]
description
-evinrude-x2f-johnson-85-300-hp-two-stroke-1995-2-9780892878574.pdf
[89.53 KB]
description
-requirements-elicitation-techniques-simply-put-h-9781534919228.pdf
[89.53 KB]
description
-europe-the-future-battleground-of-islamic-terror-9783640523993.pdf
[89.53 KB]
description
-algebraic-surfaces-classics-in-mathematics-9783540586586.pdf
[89.53 KB]
description
-the-sense-of-an-ending-9780307947727.pdf
[89.53 KB]
description
-oracle-fusion-applications-development-and-exten-9780071743693.pdf
[89.53 KB]
description
-reptiles-and-amphibians-self-assessment-color-re-9781482257601.pdf
[89.53 KB]
description
-gender-lessons-patriarchy-sextyping-schools-hard-9789463000307.pdf
[89.53 KB]
description
-creative-teacher-9780071472807.pdf
[89.53 KB]
description
-sinners-in-the-hands-of-an-angry-god-and-other-p-9780486446011.pdf
[89.53 KB]
description
-commercial-pilot-oral-exam-guide-the-comprehensi-9781619540941.pdf
[89.53 KB]
description
-moleskine-2014-2015-weekly-planner-horizontal-18-1-9788867322848.pdf
[89.53 KB]
description
-escape-from-tyranny-1-9781483679891.pdf
[89.53 KB]
description
-the-dog-who-saved-me-9781250080448.pdf
[89.53 KB]
description
-allez-viens-french-level-2-activities-for-commun-9780030655630.pdf
[89.53 KB]
description
-enumerative-invariants-in-algebraic-geometry-and-9783540798132.pdf
[89.53 KB]
description
-looking-for-alaska-by-john-green-review-9781497393059.pdf
[89.53 KB]
description
-gcse-core-science-ocr-gateway-workbook-foundatio-9781841467115.pdf
[89.53 KB]
description
-seeing-the-forest-despite-the-tree-the-meaning-a-9781490817460.pdf
[89.53 KB]
description
-9787546396750-brought-on-by-emotional-control-ps-9787546396750.pdf
[89.53 KB]
description
-tempting-dusty-9781522652304.pdf
[89.53 KB]
description
-genuine-d12-and-the-song-and-the-line-e-2-chines-9787802496255.pdf
[89.53 KB]
description
-we-are-all-leaders-leadership-is-not-a-position--9780857083913.pdf
[89.53 KB]
description
-polygon-optimization-problems-hardback-9781341627989.pdf
[89.53 KB]
description
-zeitschrift-fur-die-freiwillige-gerichtsbarkeit--9781235805141.pdf
[89.53 KB]
description
-my-brother-x27-s-hero-9781561453528.pdf
[89.53 KB]
description
-the-big-little-book-of-jewish-wit-amp-wisdom-9781579121464.pdf
[89.53 KB]
description
-a-performer-prepares-a-guide-to-song-preparation-9781557833952.pdf
[89.53 KB]
description
-john-gabriel-borkman-paperback-9781236698971.pdf
[89.53 KB]
description
-comptia-a-complete-lab-manual-9781118324073.pdf
[89.53 KB]
description
-word-crafting-teaching-spelling-grades-k-6-paper-9780325003221.pdf
[89.53 KB]
description
-i-d-like-to-apologize-to-every-teacher-i-ever-ha-9781469217345.pdf
[89.53 KB]
description
-the-key-to-theosophy-being-a-clear-exposition-in-9781314548426.pdf
[89.53 KB]
description
-nursery-multiple-intelligences-games-and-activit-28-9787109185395.pdf
[89.53 KB]
description
-13-years-of-good-luck-9781934620434.pdf
[89.53 KB]
description
-ninja-girls-1-9780345512420.pdf
[89.53 KB]
description
-volcanoes-mountains-that-blow-their-tops-penguin-9780448411439.pdf
[89.53 KB]
description
-tredoku-easy-book-1-9789657471005.pdf
[89.53 KB]
description
-conditioning-for-climbers-the-complete-exercise--9780762742288.pdf
[89.53 KB]
description
-millard-fillmore-constructive-statesman-defender-6-9781153511056.pdf
[89.53 KB]
description
-diy-health-guide-paperback-9781456785192.pdf
[89.53 KB]
description
-exploring-coastal-mississippi-a-guide-to-the-mar-9781578064243.pdf
[89.53 KB]
description
-will-shortz-presents-brain-training-kenken-100-c-1-9780312640255.pdf
[89.53 KB]
description
-asking-god-to-grow-my-character-the-journey-cont-9780310083238.pdf
[89.53 KB]
description
-sir-princess-petra-x27-s-mission-9781681870724.pdf
[89.53 KB]
description
-surrounded-by-sharks-9780545615457.pdf
[89.53 KB]
description
-afternoon-of-the-dinosaur-9780615955636.pdf
[89.53 KB]
description
-52-more-crafts-for-the-christian-year-easy-econo-9781551455709.pdf
[89.53 KB]
description
-congressional-record-volume-150-issue-117-9781289305116.pdf
[89.53 KB]
description
-myeconlab-with-pearson-etext-access-card-for-pri-9780132681544.pdf
[89.53 KB]
description
-match-meets-the-metaphysical-a-transformational--9781482529623.pdf
[89.53 KB]
description
-from-the-fryer-to-the-fuel-tank-the-complete-gui-9780970722706.pdf
[89.53 KB]
description
-kennst-du-das-land-13-9781234508128.pdf
[89.53 KB]
description
-school-violence-and-conflict-resolution-teen-men-9781448868919.pdf
[89.53 KB]
description
-liaoning-province-dedicated-civil-service-recrui-9787113167929.pdf
[89.53 KB]
description
-desperate-house-lies-it-could-happen-to-you-9781590527436.pdf
[89.53 KB]
description
-thanks-for-being-my-mom-9780310822936.pdf
[89.53 KB]
description
-gyrene-the-world-war-ii-united-states-marine-9781572492240.pdf
[89.53 KB]
description
-genuine-book-na-the-nephrologists-outpatient-dec-9787502365523.pdf
[89.53 KB]
description
-saxon-math-7-6-ser-math-76-by-john-saxon-and-ste-9781565771543.pdf
[89.53 KB]
description
-from-dreamer-to-dreamfinder-9780985470616.pdf
[89.53 KB]
description
-classic-radio-spotlights-orson-welles-1-9781504703772.pdf
[89.53 KB]
description
-the-story-of-cole-younger-large-print-paperback-9781500960377.pdf
[89.53 KB]
description
-multicultural-gender-roles-applications-for-ment-9781118145227.pdf
[89.53 KB]
description
-north-carolina-5th-grade-ela-test-prep-common-co-9781492259343.pdf
[89.53 KB]
description
-funny-boy-versus-the-bubble-brained-barbers-from-9781453295328.pdf
[89.53 KB]
description
-rise-shine-staar-prep-reading-comprehension-grad-1-9781497337091.pdf
[89.53 KB]
description
-out-west-volume-7-no-2-paperback-9781130586411.pdf
[89.53 KB]
description
-applications-of-tensor-analysis-paperback-9780486603735.pdf
[89.53 KB]


In this example, the Console's logSource
configuration is set to Y.Global
, an EventTarget
shared by all YUI instances.
Two YUI instances are created with different configurations and module inclusions. Each YUI instance is configured to request the module-debug.js
version of its modules and dependencies and filter out all but specific log sources using the logInclude
config property.
The universal Console is instantiated and rendered inside the first YUI instance.


Turning a simple machine learning model in R into an api just became a whole lot easier. Embarrisingly easy actually, thanks to a lovely package called plumber.
Install
Assuming that you have devtools
installed, all you need to do is type the following:
library(devtools)
install_github("trestletech/plumber")
library(plumber)
With this installed, let's create a file that creates an endpoint!
Example 1
# prediction_serv.R
library(magrittr)
mod_chick <- lm(data = ChickWeight, weight ~ Time + Diet)
mod_cars <- lm(data = cars, dist ~ speed)
#' @get /
hello_world <- function(){
'1 got 99 problems and flask aint one'
}
#' @get /predict_chick
predict_chick <- function(time, diet){
data.frame(Time = time %>% as.numeric, Diet = diet %>% as.factor) %>%
predict(mod_chick, newdata = .) %>%
as.numeric
}
#' @get /predict_cars
predict_cars <- function(speed){
data.frame(speed = speed %>% as.numeric) %>%
predict(mod_cars, newdata = .) %>%
as.numeric
}
Note that the last line
myfile.R
needs to be a an empty line.
To get this script to act as a web endpoint you'll need to run the plumber::plumb('/your/path/prediction_serv.R')$run(port=8000)
from Rstudio or an R shell.
Once this is up, you can curl to the service.
$ curl --data "time=24&diet=3" http://localhost:8000/predict_chick
[257.4356]
$ curl --data "speed=30" http://localhost:8000/predict_cars
[100.3932]
$ curl "http://localhost:8000/"
curl http://localhost:8000/predict_chick
You can also access this endpoint via the browser, or indeed another R script (via rvest
or httr
).
$ R
> library(rvest)
> html('http://localhost:8000/predict_cars?speed=30') %>%
+ html_nodes('p') %>%
+ html_text
[1] "[100.3932]"
> library(httr)
> get_speed_pred <- function(speed){
+ 'http://localhost:8000/predict_cars?speed=' %>%
+ paste0(speed) %>%
+ GET(encode = 'json') %>%
+ content
}
> c(10, 30, 50, 12) %>% lapply(get_speed_pred) %>% unlist
[1] 21.7450 100.3932 179.0413 29.6098
Example 2
The previous example only used GET
requests. With plumbr
you could post as well. Consider this second example.
# post_serv.R
library(ggplot2)
library(magrittr)
df <- data.frame(x = rnorm(10, 0, 1), y = rnorm(10, 0, 1))
#' @png
#' @get /plot
show_plot <- function(){
p = ggplot() +
geom_point(data=df, aes(x,y), alpha = 0.5, size = 1.5) +
ggtitle("a plot of all the points")
print(p)
}
#' @post /add_data
add_data <- function(n){
df <<- data.frame(x = rnorm(n, 0, 1),
y = rnorm(n, 0, 1)) %>%
rbind(df)
}
#' @get /all_data
all_data <- function(){
df
}
Again, note that the last line
post_serv.R
needs to be a an empty line.
You can run plumber::plumb('/your/path/post_serv.R')
to bring the service online. This new service allows you to post data and can create a plot for viewing as well. A dataframe can be retreived as a json blob which can be used to give data to a dashboard (d3 would work very well here).
You can view this blob via:
curl http://localhost:8000/all_data
If you use jsonlite
it is trivial to turn this json blob endpoint into a dataframe in R.
> library(jsonlite)
> http://localhost:8000/all_data' %>% GET %>% content('text') %>% fromJSON
x y
1 -1.4321 -1.1285
2 -1.7547 1.7694
3 -0.3472 -0.9206
4 -0.8752 -0.0267
5 -0.9626 1.2353
6 0.9005 0.3753
7 0.6310 -0.8690
8 -0.4543 0.4175
9 -0.7079 -0.6164
10 0.1954 0.1112
You'll want to use httr
if you want to use not just GET but also POST requests as well. But just jsonlite
will also work.
> http://localhost:8000/all_data' %>% fromJSON
x y
1 -1.4321 -1.1285
2 -1.7547 1.7694
3 -0.3472 -0.9206
4 -0.8752 -0.0267
5 -0.9626 1.2353
6 0.9005 0.3753
7 0.6310 -0.8690
8 -0.4543 0.4175
9 -0.7079 -0.6164
10 0.1954 0.1112
You can view all the points currently in the dataframe by pasting http://localhost:8000/plot
in the browser.
If you add points, you can see an update in the plot by refreshing.
curl --data "n=100" http://localhost:8000/add_data
We can up the anty by adding even more points and refreshing.
curl --data "n=10000" http://localhost:8000/add_data
Conclustion
I'm very enthousiastic about this project.
Don't get me wrong, I love flask/python and this project won't work for a lot of api's, but it does feel liberating to be able to do this sort of thing in R as well. Note that performance might still be a thing as R is single threaded so be careful if you want to start pushing this to something thats meant to be very fast and responsive.


{% extends "layout.html" %} {% block page_title %} GOV.UK prototype kit {% endblock %} {% block content %} PROTOTYPE For testing Home Sign out THE BLYTHE ACADEMY UKPRN: 12345678 Manage your funding Funding statements General Allocation Grant Statement 2018 to 2019 Veiw your statements {% endblock %}
PROTOTYPE For testing
UKPRN: 12345678


High Priority
- Biblical Studies Reading
- Make cookies
Medium Priority
- Probability Homework
- Clean up shoes
- Probability Homework
- Clean up shoes
- Probability Homework
- Clean up shoes
- Probability Homework
- Clean up shoes
- Probability Homework
- Clean up shoes
- Probability Homework
- Clean up shoes


This tool will validate the Puppet DSL syntax. It won't actually compile a catalog or enforce any configuration state. This means that this only validates syntax. There are many ways in which a Puppet manifest may have valid syntax but be completely incorrect for your purposes and not do what you intend.
Some examples of flaws that will not be identified by this tool include:
exec
resources which fail to run properly.Many other resources exist which can help make sure your code actually works as intended. Some examples are:


gulp-rev-append: simple cache-busting plugin
2014 March 18th by todd anderson
I just released gulp-rev-append, a simple cache-busting plugin for gulp that appends a query-string file hash to script and stylesheet dependencies in HTML files.
There are several other cache-busting plugins currently available by some awesome developers and I suggest you look at those to fit your project's need.
For my particular project in which I decided to create the gulp-rev-append plugin, I was looking to:
- enable cache-busting by appending a file hash on query string
- not require additionally markup commenting to declare dependencies to be modified
- not generate an additional manifest to be a dependency in file access for production-level application
I was trying to develop a simple web-based mobile site on a desktop while testing on devices and cache-ing was giving me a headache. I did not want to modify my workflow and build to accommodate an addition cache-manifest, nor did I foresee my work requirng a more robust cache-busting technique that the other plugins provided.
If this project was to be in millions of hands out in production, I would certainly use a file revving solution such as https://www.npmjs.org/package/gulp-rev.
Usage
The gulp-rev-append plugins allows for appending a query-string file hash to dependencies declared in html files defined using the following regex: (?:href|src)="(.*)[\?]rev=(.*)[\"]
That's fancy talk for any stylesheet or script declarations that are declared in an html file such as the following:
<!doctype html>

<link rel="stylesheet" type="text/css" href="style/style-one.css?rev=@@hash">

hello, world!

will turn into something similar as the following after running gulp-rev-append
:
<!doctype html>

<link rel="stylesheet" type="text/css" href="style/style-one.css?rev=d65aaba987e9c1eefeb4be9cfd34e0de">

hello, world!

Any subsequent runs of the gulp-rev-append
file will change the output only if the target file(s) declared have been modified. This is because the revision hash is computed using the target file contents.
The only requirement is that the dependency to be appended with the hash be declared using ?rev=
. The @@hash
is not required, and any value will be overriden as the dependency file contents change.
Installation
$ npm install gulp-rev-append --save-dev
Declaration
gulpfile.js
var rev = require('gulp-rev-append');
gulp.task('rev', function() {
gulp.src('./index.html')
.pipe(rev())
.pipe(gulp.dest('.'));
});
Execution
$ gulp rev
A word of warning
Using query strings to cache-bust dependencies isn't fool proof. These are some great articles that explain why:
Google | Leverage Proxy Cache Article
Steve Souders | Revving Filenames: don't use querystring
As mentioned previously, file revving is a more robust cache-busting technique and there is already a great gulp plugin out there called https://www.npmjs.org/package/gulp-rev to fit your development needs.
project
Cheers.


What is a browser war?
A browser war is competition for dominance in the usage share of web browsers in the early stages of internet. The "First Browser War" during the late 1990s pitted Microsoft's Internet Explorer against Netscape's Navigator. Browser wars continued with the decline of Internet Explorer's market share and the popularity of other browsers including Firefox, Google Chrome, Safari, and Opera.
With the introduction of HTML5 and CSS 3, a new generation of browser war began, this time adding extensive client-side scripting to the World Wide Web, as well as more widespread use of smartphones and other mobile devices for browsing the web.
Browser war in 1990's -Netscape was the dominant browser across all platforms before Microsoft decided to enter the market in the 1990s. Microsoft was willing to lose money making its web browsers because the loss could easily be made up by selling its operating system and other products. The turning point came in 1997, when both companies released their 4.0 versions. Both browsers were suffering from featuritis, but Microsoft’s pricing strategy – in which the the browser was given away for free – made its flaws easier to accept.
Mosaic Wars
Further browsers were released in 1993, including Cello, Arena, Lynx, tkWWW, and Mosaic. The most influential of these was Mosaic, a multiplatform browser developed at National Center for Supercomputing Applications (NCSA). By October 1994, Mosaic was "well on its way to becoming the world's standard interface".
Several companies licensed Mosaic to create their own commercial browsers, such as AirMosaic and Spyglass Mosaic. One of the Mosaic developers, Marc Andreessen, co-founded the Mosaic Communications Corporation and created a new web browser named Mosaic Netscape.
To resolve legal issues with NCSA, the company was renamed Netscape Communications Corporation and the browser Netscape Navigator. The Netscape browser improved on Mosaic's usability and reliability and was able to display pages as they loaded. By 1995, helped by the fact that it was free for non-commercial use, the browser dominated the emerging World Wide Web.
Other browsers launched during 1994 included IBM Web Explorer, Navipress, SlipKnot, MacWeb, and Browse.
In 1995, Netscape faced new competition from OmniWeb, WebRouser, UdiWWW, and Microsoft's Internet Explorer 1.0, but continued to dominate the market.
First Browser War (1995–2001)
- By mid-1995, the World Wide Web had received a great deal of attention in popular culture and the mass media. Netscape Navigator was the most widely used web browser and Microsoft had licensed Mosaic to create Internet Explorer 1.0, which it had released as part of the Microsoft Windows 95 Plus
- In October 1997, Internet Explorer 4.0 was released. The release party in San Francisco featured a ten-foot-tall letter "e" logo. Netscape employees showing up to work the following morning found the logo on their front lawn, with a sign attached that read "From the IE team ...We Love You." The Netscape employees promptly knocked it over and set a giant figure of their Mozilla dinosaur mascot atop it, holding a sign reading "Netscape 72, Microsoft 18" representing the market distribution.
- Internet Explorer became the new dominant browser, attaining a peak of about 96% of the web browser usage share during 2001.
- The first browser war ended with Internet Explorer having no remaining serious competition for its market share. This also brought an end to the rapid innovation in web browsers; until 2006 there was only one new version of Internet Explorer since version 6.0 had been released in 2001.
Second Browser War (2004–2017)
- At the start of Netscape Navigator's decline, Netscape has open-sourced their browser code, and later entrusted it to the newly formed Mozilla Foundation primarily community-driven project to create a successor to Netscape. Development has continued for several years with little widespread adoption until a browser-only version, which included new features such as a separate search bar, was created. The browser-only version was initially named Phoenix, but because of trademark issues that name was changed, first to Firebird, then to Firefox. This browser became the focus of the Mozilla Foundation's development efforts and Mozilla Firefox 1.0 was released on November 9, 2004. It then continued to gain an increasing share of the browser market until a peak in 2010.
- Future improvements would be dependent on Windows Vista, which would include new tools such as the WPF and XAML to enable developers to build new web applications.
- In response, in April 2004, the Mozilla Foundation along with Opera Software joined efforts to develop new open-technology standards which will add more capability while remaining compatible with existing technologies. The result of this collaboration was the WHATWG that would be submitted to the W3C for approval.


See: Description
| Class | Description |
|---|---|
| C | |
| C.Init |
RDF constants are used during Jena initialization.
|
| C.Nodes |
The same items of vocabulary, but at the Node level, parked inside a
nested class so that there's a simple way to refer to them.
|
| DC | |
| DC_10 |
Dublin Core version 1.0 vocabulary.
|
| DC_11 |
Vocabulary definitions from file:vocabularies/dublin-core_11.xml
|
| DCAT |
Constants for the W3C Data Catalog Vocabulary.
|
| DCTerms |
Vocabulary definitions from vocabularies/dublin-core_terms.xml
|
| DCTypes |
Vocabulary definitions from vocabularies/dublin-core_types.xml
|
| LocationMappingVocab |
Vocabulary definitions from Vocabularies/location-mapping-rdfs.n3
|
| OntDocManagerVocab |
Vocabulary definitions from file:vocabularies/ont-manager.rdf
|
| OntEventsVocab |
Vocabulary definitions from file:vocabularies/ont-event.rdf
|
| ORG |
Constants for the W3C Organization Ontology.
|
| OWL |
Vocabulary definitions from file:vocabularies/owl.owl
|
| OWL.Init |
OWL constants are used during Jena initialization.
|
| OWL2 |
OWL2 vocabulary.
|
| OWLResults |
The vocabulary used by WebOnt to encode results of test runs.
|
| OWLTest |
The vocabulary used by the WebOnt working group to define test manifests.
|
| PA |
The standard RDF vocabulary.
|
| PA.Init |
RDF constants are used during Jena initialization.
|
| PA.Nodes |
The same items of vocabulary, but at the Node level, parked inside a
nested class so that there's a simple way to refer to them.
|
| RDF |
The standard RDF vocabulary.
|
| RDF.Init |
RDF constants are used during Jena initialization.
|
| RDF.Nodes |
The same items of vocabulary, but at the Node level, parked inside a
nested class so that there's a simple way to refer to them.
|
| RDFS |
RDFS vocabulary items
|
| RDFS.Init |
RDFS constants are used during Jena initialization.
|
| RDFS.Nodes |
The RDFS vocabulary, expressed for the SPI layer in terms of .graph Nodes.
|
| RDFSyntax |
This class includes fragment IDs from the
RDF Syntax WD, to identify grammar rules etc.
|
| RDFTest |
The vocabulary used by the RDFCore working group to define test manifests.
|
| ReasonerVocabulary |
A collection of RDF terms used in driving or configuring some of the
builtin reasoners.
|
| ROV |
Constants for the W3C Registered Organization Vocabulary.
|
| RSS |
The standard RSS vocabulary.
|
| SKOS |
Vocabulary definition for the
W3C SKOS Recommendation.
|
| SKOSXL |
Vocabulary definition for the
W3C SKOS-XL Recommendation.
|
| TestManifest |
Vocabulary definitions from test-manifest.n3
|
| TestManifestX |
Vocabulary definitions from test-manifest-x.n3
|
| VCARD |
VCARD vocabulary class for namespace http://www.w3.org/2001/vcard-rdf/3.0#
|
| VCARD4 |
Constants for the https://www.w3.org/TR/2014/NOTE-vcard-rdf-20140522/.
|
| VOID |
Constants for the W3C Vocabulary of Interlinked Datasets.
|
| XSD |
Defines Jena resources corresponding to the URIs for
the XSD primitive datatypes which are known to Jena.
|
A package containing constant classes with predefined constant objects for classes and properties defined in well known vocabularies.
Licenced under the Apache License, Version 2.0


/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can obtain
* a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
* or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
* Sun designates this particular file as subject to the "Classpath" exception
* as provided by Sun in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the License
* Header, with the fields enclosed by brackets [] replaced by your own
* identifying information: "Portions Copyrighted [year]
* [name of copyright owner]"
*
* Contributor(s):
*
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*
*
* This file incorporates work covered by the following copyright and
* permission notices:
*
* Copyright 2004 The Apache Software Foundation
* Copyright 2004-2008 Emmanouil Batsis, mailto: mbatsis at users full stop sourceforge full stop net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
@project JSF JavaScript Library
@version 2.0
@description This is the standard implementation of the JSF JavaScript Library.
*/
/**
* Register with OpenAjax
*/
if (typeof OpenAjax !== "undefined" &&
typeof OpenAjax.hub.registerLibrary !== "undefined") {
OpenAjax.hub.registerLibrary("jsf", "www.sun.com", "2.0", null);
}
// Detect if this is already loaded, and if loaded, if it's a higher version
if (!((jsf && jsf.specversion && jsf.specversion >= 20000 ) &&
(jsf.implversion && jsf.implversion >= 3))) {
/**
* The top level global namespace for JavaServer Faces functionality.
* @name jsf
* @namespace
*/
var jsf = {};
/**
* The namespace for Ajax functionality.
* @name jsf.ajax
* @namespace
* @exec
*/
jsf.ajax = function() {
var eventListeners = [];
var errorListeners = [];
/**
* Determine if the current browser is part of Microsoft's failed attempt at
* standards modification.
* @ignore
*/
var isIE = function isIE() {
if (typeof isIECache !== "undefined") {
return isIECache;
}
isIECache =
document.all && window.ActiveXObject &&
navigator.userAgent.toLowerCase().indexOf("msie") > -1 &&
navigator.userAgent.toLowerCase().indexOf("opera") == -1;
return isIECache;
};
var isIECache;
/**
* Determine if loading scripts into the page executes the script.
* This is instead of doing a complicated browser detection algorithm. Some do, some don't.
* @returns {boolean} does including a script in the dom execute it?
* @ignore
*/
var isAutoExec = function isAutoExec() {
try {
if (typeof isAutoExecCache !== "undefined") {
return isAutoExecCache;
}
var autoExecTestString = "";
var tempElement = document.createElement('span');
tempElement.innerHTML = autoExecTestString;
var body = document.getElementsByTagName('body')[0];
var tempNode = body.appendChild(tempElement);
if (mojarra && mojarra.autoExecTest) {
isAutoExecCache = true;
delete mojarra.autoExecTest;
} else {
isAutoExecCache = false;
}
deleteNode(tempNode);
return isAutoExecCache;
} catch (ex) {
// OK, that didn't work, we'll have to make an assumption
if (typeof isAutoExecCache === "undefined") {
isAutoExecCache = false;
}
return isAutoExecCache;
}
};
var isAutoExecCache;
/**
* @ignore
*/
var getTransport = function getTransport() {
var methods = [
function() {
return new XMLHttpRequest();
},
function() {
return new ActiveXObject('Msxml2.XMLHTTP');
},
function() {
return new ActiveXObject('Microsoft.XMLHTTP');
}
];
var returnVal;
for (var i = 0, len = methods.length; i < len; i++) {
try {
returnVal = methods[i]();
} catch(e) {
continue;
}
return returnVal;
}
throw new Error('Could not create an XHR object.');
};
/**
* Find instance of passed String via getElementById
* @ignore
*/
var $ = function $() {
var results = [], element;
for (var i = 0; i < arguments.length; i++) {
element = arguments[i];
if (typeof element == 'string') {
element = document.getElementById(element);
}
results.push(element);
}
return results.length > 1 ? results : results[0];
};
/**
* Get the form element which encloses the supplied element.
* @param element - element to act against in search
* @returns form element representing enclosing form, or first form if none found.
* @ignore
*/
var getForm = function getForm(element) {
if (element) {
var form = $(element);
while (form) {
if (form.nodeName && (form.nodeName.toLowerCase() == 'form')) {
return form;
}
if (form.form) {
return form.form;
}
if (form.parentNode) {
form = form.parentNode;
} else {
form = null;
}
}
return document.forms[0];
}
return null;
};
/**
* Check if a value exists in an array
* @ignore
*/
var isInArray = function isInArray(array, value) {
for (var i = 0; i < array.length; i++) {
if (array[i] === value) {
return true;
}
}
return false;
};
/**
* Evaluate JavaScript code in a global context.
* @param src JavaScript code to evaluate
* @ignore
*/
var globalEval = function globalEval(src) {
if (window.execScript) {
window.execScript(src);
return;
}
// We have to wrap the call in an anon function because of a firefox bug, where this is incorrectly set
// We need to explicitly call window.eval because of a Chrome peculiarity
var fn = function() {
window.eval.call(window,src);
};
fn();
};
/**
* Get all scripts from supplied string, return them as an array for later processing.
* @param str
* @returns {array} of script text
* @ignore
*/
var stripScripts = function stripScripts(str) {
// Regex to find all scripts in a string
var findscripts = /


Importing Objects From Cinema 4D
Importing Objects From Maya
Unity natively imports Maya files. To get started, simply place your .mb or .ma file in your project’s Assets folder.
When you switch back into Unity, the scene is imported automatically and will show up in the Project view.
To see your model in Unity, simply drag it from the Project View into the Scene View or Hierarchy View.
Unity currently imports from Maya:
- All nodes with position, rotation and scale. Pivot points and Names are also imported.
- Meshes with vertex colors, normals and up to 2 UV sets.
- Materials with Texture and diffuse color. Multiple materials per mesh.
- Animations FK & IK
- Bone-based animations
- BlendShapes
Exporting Blend Shapes (morphing) from Maya
- Ensure you have the Blendshape applied to the export mesh with its targets in order
- Optionally animate keyframes on the blendshape node, if you require Maya animation keyframes
- Check animation > Deformations, Skins if required and Morphs in the FBX export dialogue
If you are using IK to animate characters you have to select the imported .mb file in Project View and choose Bake IK & Simulation in the Import Settings dialog in the Inspector.
Requirements
In order to import Maya .mb and .ma files, you need to have Maya installed on the machine you are using Unity to import the .mb/.ma file. Maya 8.0 and up is supported.
If you don’t have Maya installed on your machine but want to import a Maya file from another machine, you can export to fbx format, which Unity imports natively. Install the latest version of FBX for best results. For general export guidelines see HOWTO_exportFBX.
Once exported Place the fbx file in the Unity project folder. Unity will now automatically import the fbx file. Check the FBX import setting in the inspector as mentioned in HOWTO_exportFBX
Behind the import process (Advanced)
When Unity imports a Maya file it will launch Maya in the background. Unity then communicates with Maya to convert the .mb file into a format Unity can read. The first time you import a Maya file in Unity, Maya has to launch in a command line process, this can take around 20 seconds, but subsequent imports will be very quick.
Troubleshooting
- Keep your scene simple, try and work with a file which only contains the objects you need in Unity
- If your meshes cause problems, make sure you have converted any patches, nurbs surface etc into Polygons (Modify > Convert + also Mesh > Quadragulate/Triangulate) Unity only support Polygons.
- Maya in some rare cases messes up the node history, which sometimes results in models not exporting correctly. Fortunately you can very easily fix this by selecting Edit->Delete by Type->Non-Deformer History.
- Unity likes to keep up with the latest FBX where possible so if you have any issues with importing some models, check for the latest FBX exporters from Autodesk website or revert to FBX 2012
- Animation baking in Maya is now done with FBX instead of natively, which allows for more complex animations to be baked properly to FBX format. If you are using driven keys, then make sure to set at least one key on your drivers for the animation to bake properly
Importing Objects From Cinema 4D


ok i saw a post on here about needing some kind of night spell.
ok i didnt like it when ej added white pearls. back in the day on xen
when it was dark everyone hung around the square.
i liked this,maybe make a spell that you get at level 18 or 20
sorta kinda like a reward for treching that level. and make it last
only a few seconds. like 15 or so.but also have it where you have
to wait 30 seconds after it goes out to use it.
or maybe put torchs in the game . but dont make them easy to get.


Ive read about the 99% Dark Matter Developers some years ago (while the same applies to 99% of the internet readers), and since then it inspired me to enter the remaining 1% and share some ideas, reflections or even simple stuff that ive learned and could help someone else. I dont do it for the sake of publicity, image or other show-off brand awareness, but as @andrew humber says when he got asked why he always wears a full black shirt hidding his tattoos, he mentions that he is not the focus, but the message he is trying to channel.


Servey Form
the survey explanation
Name
Email
Number
One
Two
Male
Female
Other
One
Two
Three
additional comments:


| 1 2 3 4 5 6 7 | // Main entry point to pull together everything needed for the WDC shim library
// This file will be exported as a bundled js file by webpack so it can be included
// in a <script> tag in an html document. Alernatively, a connector may include
// this whole package in their code and would need to call init like this
import { init } from './tableauwdc';
init();
|


Class BadMiniSocialMedia
- java.lang.Object
-
- socialmedia.BadMiniSocialMedia
-
- All Implemented Interfaces:
java.io.Serializable
,MiniSocialMediaPlatform
public class BadMiniSocialMedia extends java.lang.Object implements MiniSocialMediaPlatform
BadMiniSocialMedia is a minimally compiling, but non-functioning implementor of the MiniSocialMediaPlatform interface.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadMiniSocialMedia()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeAccountHandle(java.lang.String oldHandle, java.lang.String newHandle)
The method replaces the oldHandle of an account by the newHandle.int
commentPost(java.lang.String handle, int id, java.lang.String message)
The method creates a comment post referring to an existing post, similarly to a reply on Twitter.int
createAccount(java.lang.String handle)
The method creates an account in the platform with the given handle.int
createPost(java.lang.String handle, java.lang.String message)
The method creates a post for the account identified by the given handle with the following message.void
deletePost(int id)
The method removes the post from the platform.int
endorsePost(java.lang.String handle, int id)
The method creates an endorsement post of an existing post, similar to a retweet on Twitter.void
erasePlatform()
Method empties this SocialMediaPlatform of its contents and resets all internal counters.int
getMostEndorsedAccount()
This method identifies and returns the account with the most number of endorsements, a.k.a.int
getMostEndorsedPost()
This method identifies and returns the post with the most number of endorsements, a.k.a.void
loadPlatform(java.lang.String filename)
Method should load and replace this SocialMediaPlatform's contents with the serialised contents stored in the file given in the argument.void
removeAccount(int id)
The method removes the account with the corresponding ID from the platform.void
savePlatform(java.lang.String filename)
Method saves this SocialMediaPlatform's contents into a serialised file, with the filename given in the argument.java.lang.String
showAccount(java.lang.String handle)
The method creates a formatted string summarising the stats of the account identified by the given handle.java.lang.String
showIndividualPost(int id)
The method generates a formated string containing the details of a single post.java.lang.StringBuilder
showPostChildrenDetails(int id)
The method builds a StringBuilder showing the details of the current post and all its children posts.
-
-
-
Method Detail
-
createAccount
public int createAccount(java.lang.String handle) throws IllegalHandleException, InvalidHandleException
Description copied from interface:MiniSocialMediaPlatform
The method creates an account in the platform with the given handle.The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
createAccount
in interfaceMiniSocialMediaPlatform
- Parameters:
handle
- account's handle.- Returns:
- the ID of the created account.
- Throws:
IllegalHandleException
- if the handle already exists in the platform.InvalidHandleException
- if the new handle is empty, has more than 30 characters, or has white spaces.
-
removeAccount
public void removeAccount(int id) throws AccountIDNotRecognisedException
Description copied from interface:MiniSocialMediaPlatform
The method removes the account with the corresponding ID from the platform. When an account is removed, all of their posts and likes should also be removed.The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
removeAccount
in interfaceMiniSocialMediaPlatform
- Parameters:
id
- ID of the account.- Throws:
AccountIDNotRecognisedException
- if the ID does not match to any account in the system.
-
changeAccountHandle
public void changeAccountHandle(java.lang.String oldHandle, java.lang.String newHandle) throws HandleNotRecognisedException, IllegalHandleException, InvalidHandleException
Description copied from interface:MiniSocialMediaPlatform
The method replaces the oldHandle of an account by the newHandle.The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
changeAccountHandle
in interfaceMiniSocialMediaPlatform
- Parameters:
oldHandle
- account's old handle.newHandle
- account's new handle.- Throws:
HandleNotRecognisedException
- if the old handle does not match to any account in the system.IllegalHandleException
- if the new handle already exists in the platform.InvalidHandleException
- if the new handle is empty, has more than 30 characters, or has white spaces.
-
showAccount
public java.lang.String showAccount(java.lang.String handle) throws HandleNotRecognisedException
Description copied from interface:MiniSocialMediaPlatform
The method creates a formatted string summarising the stats of the account identified by the given handle. The template should be:ID: [account ID] Handle: [account handle] Description: [account description] Post count: [total number of posts, including endorsements and replies] Endorse count: [sum of endorsements received by each post of this account]
- Specified by:
showAccount
in interfaceMiniSocialMediaPlatform
- Parameters:
handle
- handle to identify the account.- Returns:
- the account formatted summary.
- Throws:
HandleNotRecognisedException
- if the handle does not match to any account in the system.
-
createPost
public int createPost(java.lang.String handle, java.lang.String message) throws HandleNotRecognisedException, InvalidPostException
Description copied from interface:MiniSocialMediaPlatform
The method creates a post for the account identified by the given handle with the following message.The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
createPost
in interfaceMiniSocialMediaPlatform
- Parameters:
handle
- handle to identify the account.message
- post message.- Returns:
- the sequential ID of the created post.
- Throws:
HandleNotRecognisedException
- if the handle does not match to any account in the system.InvalidPostException
- if the message is empty or has more than 100 characters.
-
endorsePost
public int endorsePost(java.lang.String handle, int id) throws HandleNotRecognisedException, PostIDNotRecognisedException, NotActionablePostException
Description copied from interface:MiniSocialMediaPlatform
The method creates an endorsement post of an existing post, similar to a retweet on Twitter. An endorsement post is a special post. It contains a reference to the endorsed post and its message is formatted as:"EP@" + [endorsed account handle] + ": " + [endorsed message]
The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
endorsePost
in interfaceMiniSocialMediaPlatform
- Parameters:
handle
- of the account endorsing a post.id
- of the post being endorsed.- Returns:
- the sequential ID of the created post.
- Throws:
HandleNotRecognisedException
- if the handle does not match to any account in the system.PostIDNotRecognisedException
- if the ID does not match to any post in the system.NotActionablePostException
- if the ID refers to a endorsement post. Endorsement posts are not endorsable. Endorsements are not transitive. For instance, if post A is endorsed by post B, and an account wants to endorse B, in fact, the endorsement must refers to A.
-
commentPost
public int commentPost(java.lang.String handle, int id, java.lang.String message) throws HandleNotRecognisedException, PostIDNotRecognisedException, NotActionablePostException, InvalidPostException
Description copied from interface:MiniSocialMediaPlatform
The method creates a comment post referring to an existing post, similarly to a reply on Twitter. A comment post is a special post. It contains a reference to the post being commented upon.The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
commentPost
in interfaceMiniSocialMediaPlatform
- Parameters:
handle
- of the account commenting a post.id
- of the post being commented.message
- the comment post message.- Returns:
- the sequential ID of the created post.
- Throws:
HandleNotRecognisedException
- if the handle does not match to any account in the system.PostIDNotRecognisedException
- if the ID does not match to any post in the system.NotActionablePostException
- if the ID refers to a endorsement post. Endorsement posts are not endorsable. Endorsements cannot be commented. For instance, if post A is endorsed by post B, and an account wants to comment B, in fact, the comment must refers to A.InvalidPostException
- if the comment message is empty or has more than 100 characters.
-
deletePost
public void deletePost(int id) throws PostIDNotRecognisedException
Description copied from interface:MiniSocialMediaPlatform
The method removes the post from the platform. When a post is removed, all its endorsements should be removed as well. All replies to this post should be updated by replacing the reference to this post by a generic empty post.The generic empty post message should be "The original content was removed from the system and is no longer available.". This empty post is just a replacement placeholder for the post which a reply refers to. Empty posts should not be linked to any account and cannot be acted upon, i.e., it cannot be available for endorsements or replies.
The state of this SocialMediaPlatform must be be unchanged if any exceptions are thrown.
- Specified by:
deletePost
in interfaceMiniSocialMediaPlatform
- Parameters:
id
- ID of post to be removed.- Throws:
PostIDNotRecognisedException
- if the ID does not match to any post in the system.
-
showIndividualPost
public java.lang.String showIndividualPost(int id) throws PostIDNotRecognisedException
Description copied from interface:MiniSocialMediaPlatform
The method generates a formated string containing the details of a single post. The format is as follows:ID: [post ID] Account: [account handle] No. endorsements: [number of endorsements received by the post] | No. comments: [number of comments received by the post] [post message]
- Specified by:
showIndividualPost
in interfaceMiniSocialMediaPlatform
- Parameters:
id
- of the post to be shown.- Returns:
- a formatted string containing post's details.
- Throws:
PostIDNotRecognisedException
- if the ID does not match to any post in the system.
-
showPostChildrenDetails
public java.lang.StringBuilder showPostChildrenDetails(int id) throws PostIDNotRecognisedException, NotActionablePostException
Description copied from interface:MiniSocialMediaPlatform
The method builds a StringBuilder showing the details of the current post and all its children posts. The format is as follows:
See an example:showIndividualPost(id)
| [for reply: replies to the post sorted by ID] | >showIndividualPost(reply)
ID: 1 Account: user1 No. endorsements: 2 | No. comments: 3 I like examples. | | > ID: 3 Account: user2 No. endorsements: 0 | No. comments: 1 No more than me... | | > ID: 5 Account: user1 No. endorsements: 0 | No. comments: 1 I can prove! | | > ID: 6 Account: user2 No. endorsements: 0 | No. comments: 0 prove it | > ID: 4 Account: user3 No. endorsements: 4 | No. comments: 0 Can't you do better than this? | > ID: 7 Account: user5 No. endorsements: 0 | No. comments: 1 where is the example? | | > ID: 10 Account: user1 No. endorsements: 0 | No. comments: 0 This is the example!
Continuing with the example, if the method is called for post ID=5 (showIndividualPost(5)
), the return would be:ID: 5 Account: user1 No. endorsements: 0 | No. comments: 1 I can prove! | | > ID: 6 Account: user2 No. endorsements: 0 | No. comments: 0 prove it
- Specified by:
showPostChildrenDetails
in interfaceMiniSocialMediaPlatform
- Parameters:
id
- of the post to be shown.- Returns:
- a formatted StringBuilder containing the details of the post and its children.
- Throws:
PostIDNotRecognisedException
- if the ID does not match to any post in the system.NotActionablePostException
- if the ID refers to an endorsement post. Endorsement posts do not have children since they are not endorsable nor commented.
-
getMostEndorsedPost
public int getMostEndorsedPost()
Description copied from interface:MiniSocialMediaPlatform
This method identifies and returns the post with the most number of endorsements, a.k.a. the most popular post.- Specified by:
getMostEndorsedPost
in interfaceMiniSocialMediaPlatform
- Returns:
- the ID of the most popular post.
-
getMostEndorsedAccount
public int getMostEndorsedAccount()
Description copied from interface:MiniSocialMediaPlatform
This method identifies and returns the account with the most number of endorsements, a.k.a. the most popular account.- Specified by:
getMostEndorsedAccount
in interfaceMiniSocialMediaPlatform
- Returns:
- the ID of the most popular account.
-
erasePlatform
public void erasePlatform()
Description copied from interface:MiniSocialMediaPlatform
Method empties this SocialMediaPlatform of its contents and resets all internal counters.- Specified by:
erasePlatform
in interfaceMiniSocialMediaPlatform
-
savePlatform
public void savePlatform(java.lang.String filename) throws java.io.IOException
Description copied from interface:MiniSocialMediaPlatform
Method saves this SocialMediaPlatform's contents into a serialised file, with the filename given in the argument.- Specified by:
savePlatform
in interfaceMiniSocialMediaPlatform
- Parameters:
filename
- location of the file to be saved- Throws:
java.io.IOException
- if there is a problem experienced when trying to save the store contents to the file
-
loadPlatform
public void loadPlatform(java.lang.String filename) throws java.io.IOException, java.lang.ClassNotFoundException
Description copied from interface:MiniSocialMediaPlatform
Method should load and replace this SocialMediaPlatform's contents with the serialised contents stored in the file given in the argument.The state of this SocialMediaPlatform's must be be unchanged if any exceptions are thrown.
- Specified by:
loadPlatform
in interfaceMiniSocialMediaPlatform
- Parameters:
filename
- location of the file to be loaded- Throws:
java.io.IOException
- if there is a problem experienced when trying to load the store contents from the filejava.lang.ClassNotFoundException
- if required class files cannot be found when loading
-
-


{%- extends "page.html" %} {%- block htmltitle %}
{% trans %}Step-by-step tutorials on how to use the tools, integrate Symbol with other technologies, and combine the built-in features to architect solutions.{% endtrans %}
{% for collection in catalog %} {% if collection %}


How's this for virtual reality? Michael Jordan's dome away from home. Click on any of the images below to access both inline and downloadable versions of the Quicktime VR files. The view from center court (502K) The Jordan Dome's gym (480K) Go behind the basket of the Jordan Dome (483K) An aerial view of the Jordan Dome...with some Looney Tunes thrown in for good measure (524K)


To test the WOW extension sample configuration, you can right-click on the url below ("Expand short url"), or select some text to search for it ("Search on Google").
http://goo.gl/fbsS
chrome
google rules the world!
linux
Ludwig van Beethoven


I made this really simple site to gather questions that can facilite deep conversations easily.
Questions are taken from around the web from various articles.
There are 867 questions, there are some differently worded repeats in the list.
All order and colors are randomized each time you load the page.