Overview
Welcome to the NewsWhip API documentation. The NewsWhip API provides access to real time data trends, aggregate data, statistics, and social numbers for all content we have been tracking since January 1, 2014 - hundreds of millions of stories, fully categorised and ranked.
The NewsWhip API is language agnostic. Any HTTP client or library can be used with this API.
This documentation is open source. If you’ve found any errors, typos or would like to improve this document, feel free to send us a pull request: GitHub.
Authentication
All NewsWhip API endpoints require an API key. Your API key should be passed with each GET
or POST
request as a Query String.
GET /v1/region/U.S./Politics/24?key=YOUR_API_KEY
POST /v1/articles?key=YOUR_API_KEY
Getting API Access
Our API is made available to NewsWhip clients and developers who wish to work with streams of trending content in any niche. Right now, it’s powering widgets on major news sites, internal dashboards, and mobile apps in Europe and North America.
For details on getting access, email<EMAIL_ADDRESS>Rate Limits
By default, API keys have limits of 100 API requests per 5 minutes. Once you exceed this limit, calls will return:
| Error Code | Meaning |
|---|---|
| 429 | Too Many Requests – You’re requesting too many kittens! Slow down! |
API Endpoints
NewsWhip provides 2 different endpoints designed for different use cases, each available at varying commercial rates.
GET
requests: best suited for finding real-time trending articles in any niche and social network, with or without video and published in any country up to a week ago.POST
requests: best suited for very precise article filtering, real-time analytics, aggregations and reporting. These APIs slice and dice our data in any form you want.
HTTPS Endpoint
https://api.newswhip.com/
GET Requests
The real-time GET API endpoints are designed to mirror Spike’s functionality. You can get all trending content in any Niche or Region, ordered by any social metric.
There are 5 different endpoints:
GET /v1/region/{region}/{category}/{time_period}
GET /v1/publisher/{publisher}/{time_period}
GET /v1/local/{city}/All/{time_period}
GET /v1/search?q={search_term}
GET /v1/trendingEntities?timeRange{time in hours}&q={search_term}
All region, publisher, local and search endpoints support the following Query Parameters:
Query Parameters
| Parameter | Default | Description |
|---|---|---|
| video_only | false | If set to true, the result will ONLY include content with embedded video. |
| sort_by | default | Sorts articles in descending order. Accepts one of the following: default , fb_total_engagement , twitter , linkedin , fb_tw_and_li , nw_score , nw_max_score , predicted_interactions |
| size | Number of articles to be returned (including related articles). |
To retrieve a full list of the available fields for each filter (regions, categories, publishers), access:
Available Regions and Categories
GET /v1/region
Sample of publishers we support
GET /v1/publisher
Available cities and local regions
GET /v1/local
GET /v1/region
Get the top trending English content published in the last 24 hours
curl "https://api.newswhip.com/v1/region/World/All/24?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->get('https://api.newswhip.com/v1/region/World/All/24?key=YOUR_API_KEY', []);
echo $response->getBody();
?>
{
"articles": [
{
"link": "https://www.fcbarcelona.com/football/first-team/news/2016-2017/fc-barcelona-v-leicester-city-victory-in-the-battle-of-champions-4-2-",
"headline": "FC Barcelona v Leicester City: Victory in the battle of champions (4-2) | FC Barcelona",
"excerpt": "Goals from Munir (2) and Luis Suárez put Barça in early command, and a late strike from Mújica puts paid to Premiership champions’ bid to make a comeback",
"keywords": "",
"source": {
"publisher": "fcbarcelona.com",
"link": "https://fcbarcelona.com",
"country": "",
"country_code": ""
},
"nw_score":<PHONE_NUMBER>499226,
"max_nw_score": 3814.5714659846194,
"fb_data": {
"total_engagement_count": 62988,
"total_count_delta": 9820,
"delta_period": 208,
"delta_period_unit": "m"
},
"tw_data": {
"tw_count": 480,
"total_count_delta": 40,
"delta_period": 208,
"delta_period_unit": "m"
},
"li_data": {
"li_count": 1,
"total_count_delta": 0,
"delta_period": 208,
"delta_period_unit": "m"
},
"tw_creator": null,
"delta_time": 208,
"uuid": "9cb602c0-59b7-11e6-aec9-8557dc1ae32f",
"publication_timestamp":<PHONE_NUMBER>000,
"image_link": "https://pro-cdn-public-fcb.everincloud.com/20157/0/document_thumbnail/20197/163/163/14590883/1.0-1/14590883.png?t=1453214443000",
"relatedStories": [
{
"link": "http://www.goal.com/en/match/barcelona-vs-leicester-city/2223206/report",
"headline": "Barcelona 4 - 2 Leicester City Match report - 8/3/16 International Champions Cup - Goal.com",
"excerpt": "Read the full Barcelona v Leicester City match report, including goals, incidents, and much more. Have your say on the game in our comments feature.",
"keywords": "",
"source": {
"publisher": "goal.com",
"link": "http://goal.com",
"country": "",
"country_code": ""
},
"nw_score":<PHONE_NUMBER>316512,
"max_nw_score": 1740.3519248567559,
"fb_data": {
"total_engagement_count": 44464,
"total_count_delta": 8736,
"delta_period": 254,
"delta_period_unit": "m"
},
"tw_data": {
"tw_count": 90,
"total_count_delta": 0,
"delta_period": 254,
"delta_period_unit": "m"
},
"li_data": {
"li_count": 0,
"total_count_delta": 0,
"delta_period": 254,
"delta_period_unit": "m"
},
"tw_creator": null,
"delta_time": 254,
"recent_fb_counts": 8736,
"recent_tw_counts": 0,
"uuid": "a39d81a0-59b5-11e6-8992-ffce69f79e2d",
"publication_timestamp":<PHONE_NUMBER>000,
"image_link": "",
"relatedStories": [],
"topics": [
{
"id": 32,
"name": "Sports"
},
{
"id": 33,
"name": "Soccer"
}
],
"has_video": false
}
],
"topics": [],
"has_video": false
}
]
}
GET /v1/region/{region}/{category}/{time_period}
This endpoint retrieves all articles published in {region}
and {category}
within the {time_period}
.
Parameters
| Parameter | Description |
|---|---|
| region | Filters articles published in {region} . See above for available countries. i.e. U.S. , France , Ireland . Note: the region should be passed in English. |
| category | Filters articles by {category} . See above for available categories. i.e. All , News , Pre-Viral . Note: the category should be passed in English. |
| time_period | Filters articles published within the last {time_period} hours. Valid time_periods range from 1 up to 168 hours |
GET /v1/publisher
Get the top trending content published in the last 24 hours by the New York Times.
curl "https://api.newswhip.com/v1/publisher/nytimes.com/24?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->get('https://api.newswhip.com/v1/publisher/nytimes.com/24?key=YOUR_API_KEY', []);
echo $response->getBody();
?>
GET /v1/publisher/{publisher}/{time_period}
This endpoint retrieves all articles published by {publisher}
within the {time_period}
.
Parameters
| Parameter | Description |
|---|---|
| publisher | Any domain or subdomain. i.e. nytimes.com , blog.newswhip.com . |
| time_period | Filters articles published within the last {time_period} hours. Valid time_periods range from 1 up to 168 hours |
GET /v1/local
Get the top trending content published in Seattle, in the last 12 hours.
curl "https://api.newswhip.com/v1/local/Seattle, WA/All/12?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->get('https://api.newswhip.com/v1/local/Seattle, WA/All/12?key=YOUR_API_KEY', []);
echo $response->getBody();
?>
GET /v1/local/{city}/All/{time_period}
This endpoint retrieves all articles published in {city}
within the {time_period}
.
Parameters
| Parameter | Description |
|---|---|
| city | Any city or local region. See above for available local regions. i.e. New York, NY , London , Toronto , Hamburg-Schleswig-Holstein . |
| time_period | Filters articles published within the last {time_period} hours. Valid time_periods range from 1 up to 168 hours |
GET /v1/search
Get the top trending content published talking about
Tom Cruise
, in the last 24 hours.
curl "https://api.newswhip.com/v1/search?q=Tom%20Cruise&key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->get('https://api.newswhip.com/v1/search?q=Tom%20Cruise&key=YOUR_API_KEY', []);
echo $response->getBody();
?>
GET /v1/search?q={search_term}
This endpoint retrieves all articles talking about {search_term}
in the last 24 hours.
Parameters
| Parameter | Description |
|---|---|
| search_term | Matches all stories containing {search_term} . |
GET /v1/trendingEntities
Get the top entities that have become trending in the last x hours
curl "https://api.newswhip.com/v1/trendingEntities?timeRange=24&q=Sports&key=YOUR_API_KEY"
<?php
$request = new HttpRequest();
$request->setUrl('https://api.newswhip.com/v1/trendingEntities');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData(array(
'timeRange' => '24',
'q' => 'Sports',
'key' => 'T4hC9wTT7p83C'
));
$request->setContentType('application/x-www-form-urlencoded');
$request->setPostFields(null);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
{
"trendingEntities": [
"Nicky Hayden",
"Mike Greenberg",
"Game",
"Rohit Sharma",
"Ariana Grande",
"Nashville Predators",
"Cris Cyborg",
"Anaheim Ducks",
"BCCI",
"Los Angeles Lakers",
"RBI",
"FA",
"World Series",
"Petco Park",
"Dray Day"
]
}
GET /v1/trendingEntities
This endpoint gets the trending entities over a certain {time in hours}. A trending entity is a an entity that has become popular that wasn’t popular before.
Parameters
- All parameters for trending entities are optional
| Parameter | Description |
|---|---|
| search-term | Matches all trending entities related to the given {search_term} . |
| time-in-hours | Searches for trending entities over the given number of hours (default=24) |
POST Requests
The POST API endpoints are designed for increased flexibility and are much more powerful. With these server-side only endpoints, your application gets full access to NewsWhip’s database, including all content published within the last 6 months from any publisher in any supported language. Filtered, sorted and aggregated by any field you want.
There are 2 different endpoints:
POST /v1/articles
- provides stories(web articles, youtube post) matching the query providedPOST /v1/fbPosts
- provides Facebook posts matching the query providedPOST /v1/stats
- provides stats on the content matching the query provided
POST /v1/articles
Get the top trending stories published in the United States or the United Kingdom that have Rihanna in the headline and are not published in youtube.com over the last 7 days
curl -H "Content-Type: application/json" -X POST -d '{
"filters": ["country_code:(us OR gb) AND -publisher:youtube.com AND headline:rihanna"],
"language": "en",
"video_only":false,
"sort_by": "nw_max_score",
"find_related": false,
"size": 1
}' "https://api.newswhip.com/v1/articles?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->post('https://api.newswhip.com/v1/articles?key=YOUR_API_KEY', [
'headers' => ['Content-Type' => 'application/json'],
'body' => '{
"filters": [
"country_code:(us OR gb) AND -publisher:youtube.com AND headline:rihanna"
],
"language": "en",
"video_only":false,
"sort_by": "nw_max_score",
"find_related": false,
"size": 1
}']);
echo $response->getBody();
?>
{
"articles": [
{
"link": "http://www.rap-up.com/2016/11/15/partynextdoor-talks-drake-rihanna-jeremih-tour/",
"headline": "PARTYNEXTDOOR Talks Drake, Rihanna, & Touring with Jeremih",
"excerpt": "In the midst of his \"Summer's Over Tour\" with Jeremih, PARTYNEXTDOOR stopped by Power 98 in Charlotte, North Carolina for ...",
"keywords": "",
"source": {
"publisher": "rap-up.com",
"link": "http://rap-up.com",
"country": "United States",
"country_code": "us"
},
"nw_score": 0.05852343318906164,
"max_nw_score":<PHONE_NUMBER>623742,
"fb_data": {
"total_engagement_count": 2128,
"total_count_delta": 3,
"delta_period": 1033,
"delta_period_unit": "m"
},
"tw_data": {
"tw_count": 20,
"total_count_delta": 0,
"delta_period": 1033,
"delta_period_unit": "m"
},
"li_data": {
"li_count": 0,
"total_count_delta": 0,
"delta_period": 1033,
"delta_period_unit": "m"
},
"tw_creator": null,
"delta_time": 1033,
"uuid": "cec8e680-ab68-11e6-a1c9-8b1fd34d6bab",
"publication_timestamp":<PHONE_NUMBER>560,
"image_link": "http://www.rap-up.com/wp-content/uploads/2016/11/partynextdoor-red.jpg",
"relatedStories": [],
"topics": [
{
"id": 3,
"name": "Entertainment"
}
],
"has_video": true
}
]
}
Get the top trending youtube posts that is talking about Rihanna since a week ago
curl -H "Content-Type: application/json" -X POST -d '{
"filters": ["country_code:(us OR gb) AND headline:rihanna"],
"language": "en",
"content_type": "youtube"
}' "https://api.newswhip.com/v1/articles?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->post('https://api.newswhip.com/v1/articles?key=YOUR_API_KEY', [
'headers' => ['Content-Type' => 'application/json'],
'body' => '{
"filters": [
"country_code:(us OR gb) AND headline:rihanna"
],
"language": "en",
"content_type": "youtube"
}']);
echo $response->getBody();
?>
{
"articles": [
{
"youtube_post": {
"ytLikes": 12,
"ytViews": 2795,
"ytComments": 4,
"ytDislikes": 28,
"author": "NowThis",
"thumbnail": "https://yt3.ggpht.com/-QYtGzlfBEUI/AAAAAAAAAAI/AAAAAAAAAAA/Pc6X3NBuup0/s240-c-k-no-mo-rj-c0xffffff/photo.jpg",
"channel": "https://www.youtube.com/channel/UCn4sPeUomNGIr26bElVdDYg"
},
"fb_data": {
"total_engagement_count": 0,
"total_count_delta": 0,
"delta_period": 0,
"delta_period_unit": "m"
},
"tw_data": {
"tw_count": 0,
"total_count_delta": 0,
"delta_period": 0,
"delta_period_unit": "m"
},
"li_data": {
"li_count": 0,
"total_count_delta": 0,
"delta_period": 0,
"delta_period_unit": "m"
},
"relatedStories": [],
"uuid": "f6f17650-13fe-11e7-98a6-114dfe4272d3",
"publication_timestamp":<PHONE_NUMBER>000,
"link": "https://www.youtube.com/watch?v=o9ulb26biqI",
"headline": "Rihanna Rocks Iconic 'Psycho' Shower Scene",
"excerpt": "Rihanna Rocks Iconic 'Psycho' Shower Scene - But her 'Bates Motel' character is here to stay. --- Follow us on Facebook: https://www.facebook.com/NowThisNews...",
"keywords": "",
"source": {
"publisher": "youtube.com",
"link": "https://youtube.com",
"country": "United States",
"country_code": "us"
},
"image_link": "https://i.ytimg.com/vi/o9ulb26biqI/maxresdefault.jpg",
"has_video": true,
"delta_time": 0,
"nw_score": 0,
"max_nw_score": 0,
"topics": []
}
]
}
`GET /v1/region/{region}/{category}/{time_period}`
This endpoint retrieves all articles published in `{region}` and `{category}` within the `{time_period}`.
### Parameters
Parameter | Description
--------- | -----------
region | Filters articles published in `{region}`. See above for available countries. i.e. `U.S.`, `France`, `Ireland`. Note: the region should be passed in English.
category | Filters articles by `{category}`. See above for available categories. i.e. `All`, `News`, `Pre-Viral`. Note: the category should be passed in English.
time_period | Filters articles published within the last `{time_period}` hours. Valid `time_periods` range from 1 up to 168 hours
## GET /v1/publisher
> Get the top trending content published in the last 24 hours by the New York Times.
``` shell
curl "https://api.newswhip.com/v1/publisher/nytimes.com/24?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->get('https://api.newswhip.com/v1/publisher/nytimes.com/24?key=YOUR_API_KEY', []);
echo $response->getBody();
?>
POST /v1/articles
This endpoint retrieves all articles matching the filters provided.
Query Parameters
- Stories are filtered and sorted using the following
JSON
encoded parameters - Required fields are denoted *
- Filtering by category or country requires country_ids. These are found here: NewsWhip API Coverage
| Parameter | Default | Type | Description |
|---|---|---|---|
| filters* | Array[String] | Up to 20 Lucene QueryString filters are allowed to be applied to the articles. Each filter allows up to 150 terms where calculation is based on lucene query string semantics, e.g: country_code:us counts as 1 Term, country_code:(us AND uk) counts as 2 Terms, headline: “The Right Way” counts as 3 terms". See available fields for filtering down below |
|
| from | A week ago | Unix timestamp in milliseconds | Filters articles published after {from} |
| to | Now | Unix timestamp in milliseconds | Filters articles published before {to} |
| language | Any | Two letter ISO 639-1 language code | See available languages here |
| sort_by | default |
String | Sorts one of the following in descending order: default , fb_total_engagement , fb_tw_overperforming , fb_overperforming , tw_overperforming , predicted_interactions , twitter , linkedin , fb_tw_and_li , nw_score (deprecated on the 01-06-2017), nw_max_score , created_at . (The default sort_by is nw_max_score when the selected time-range is <= 25h, otherwise it will be fb_tw_overperforming ) |
| sort_by (Youtube) | created_at |
String | When searching by the content_type youtube , sort in descending order by yt_likes , yt_views , yt_comments , yt_dislikes , fb_total_engagement , twitter , created_at |
| video_only | false | Boolean | Ignored when searching by the content_type youtube |
| default_field | Relevant field | String | Field to be used when filtering by keywords (like "Barack Obama" ) and no fields are used in the Query String. Note: This will be deprecated on the 01-06-2017, please switch to default_fields by then |
| default_fields | ["headline" , "summary" , "authors" ] |
Array[String] | Up to 3 available fields to be used filtering by keywords (like "Barack Obama" ) and no fields are used in the Query String |
| size | 200 | Integer | Max number of articles to be returned (includes relatedStories) |
| find_related | true | Boolean | Related stories will be collapsed when set. Ignored when searching by the content_type youtube |
| content_type | stories | String | Filters by stories or youtube |
Available fields for filtering Articles/Stats/TrendingEntities request
| Field | Type |
|---|---|
| headline | String |
| summary | String |
| authors | String |
| Number. Deprecated: use country_code instead | |
| country_code | Two letter (lower case) ISO 3166 country code |
| region_code | Available regions (lower case): na , eu , oc , sea , sa , as , me , af |
| language | Two letter ISO 639-1 language code |
| categories | Number |
| publisher | TLD such as newswhip.com |
| domain | Exact domain where the article was published. i.e. blog.newswhip.com |
| href | Search by the full url of the article eg. “href:\"https://www.coldwellbankerhomes.com/az/concho/669-county-road-8235-stanford/pid_18337473/\”“ |
| siteStructure | Handy for articles that follows a particular path on a site, e.g: to look for all articles with url follows "http://www.complex.com/tag/politics”, use filter with publisher:complex.com AND siteStructure:\\/tags\\/politics or publisher:complex.com AND siteStructure:"/tags/politics" will be sufficient(check the note down below regarding reserved characters) |
POST /v1/fbPosts
Get all Facebook posts from Donald J. Trump’s fb page that of content-type status and sort by the number of likes
curl --request POST \
--url 'https://api.newswhip.com/v1/fbPosts?key=YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '{"filters": ["country_code:us"], "sort_by":"fb_likes", "content_type":"Status"}'
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->post('https://api.newswhip.com/v1/fbPosts?key=YOUR_API_KEY', [
'headers' => ['Content-Type' => 'application/json'],
'body' => '{
"filters": [
"page_id:153080620724"
],
"sort_by": "fb_likes",
"content_type": "status"
}']);
echo $response->getBody();
?>
{
"fbPosts": [
{
"page_id": "153080620724",
"page_name": "DonaldTrump",
"post_type": "Status",
"is_live_video": false,
"fb_story": "",
"fb_sponsor_tags": [],
"fb_data": {
"total_engagement_count": 26781,
"total_count_delta": 72,
"delta_period": 283,
"delta_period_unit": "m",
"reactions": {
"comments": 2777,
"likes": 21030,
"shares": 854,
"loves": 1575,
"wows": 56,
"hahas": 407,
"sads": 11,
"angrys": 71
}
},
"uuid": "91d47480-12e5-11e7-9384-d37f0d6d833b",
"publication_timestamp":<PHONE_NUMBER>000,
"link": "https://www.facebook.com/153080620724/posts/10158861256115725",
"headline": "",
"excerpt": "President Donald J. Trump's tentative schedule for Monday, March 27th:\nReceives daily intelligence briefing\nParticipates in a roundtable with women small business owners\nSigns bills",
"keywords": "",
"source": {
"publisher": "",
"link": "http://",
"country": "United States",
"country_code": "us"
},
"image_link": "",
"has_video": false,
"nw_score": 3.6609456724297877,
"max_nw_score": 4590.83356759275,
"topics": [
{
"id": 2,
"name": "News"
},
{
"id": 20,
"name": "Politics"
},
{
"id": 751,
"name": "US Election 2016"
}
]
}
]
}
POST /v1/fbPosts
This endpoint retrieves articles from Facebook matching your filters.
Parameters
- Facebook posts are filtered and sorted using the following
JSON
encoded parameters - Required fields are denoted *
- Filtering by category or country requires ids which can be found here: NewsWhip API Coverage
| Parameter | Default | Type | Description |
|---|---|---|---|
| filters* | Array[String] | Up to 20 Lucene QueryString filters to be applied to the fbPosts. Each filter allows up to 150 terms where calculation is based on lucene query string semantics, e.g: country_code:us counts as 1 Term, country_code:(us AND uk) counts as 2 Terms, headline: “The Right Way” counts as 3 terms". See available fields for filtering down below |
|
| from | A week ago | Unix timestamp in milliseconds | Filters articles published after {from} |
| to | Now | Unix timestamp in milliseconds | Filters articles published before {to} |
| language | Any | Two letter ISO 639-1 language code | See available languages here |
| default_fields | [ , ] |
Array[String] | Up to 3 available fields to be used when filtering by keywords (like "Barack Obama" ) and no fields are used in the Query String |
| size | 200 | Integer | Max number of articles to be returned (includes relatedStories.) |
| content_type | String | video , live_video , link , photo , status , branded_content , event |
|
| sort_by | default |
String | Sorts by the following in descending orderdefault ,nw_max_score ,fb_overperforming , fb_total_engagement , created_at fb_likes , fb_shares , fb_comments , fb_loves , fb_wows , fb_hahas , fb_sads , fb_angrys .(The default sort_by is nw_max score when the selected time-range is <= 25h, otherwise it will be fb_overperforming ) |
Available fields for filtering Facebook Posts
| Field | Type |
|---|---|
| language | String |
| country_code | Two letter (lower case) ISO 3166 country code |
| region_code | Available regions (lower case): na , eu , oc , sea , sa , as , me , af |
| authors | String |
| page_id | Facebook page id |
| page_name | Facebook page username, usually the one come after ‘@’ |
| external_link | The href shared inside facebook post |
| fb_story | String |
| fb_sponsor_tags.id | String |
| fb_sponsor_tags.name | String |
POST /v1/stats
Get the top English language publishers that create the best performing content on Facebook about
"3d printing"
since a week ago
curl -H "Content-Type: application/json" -X POST -d '{
"filters": [
"3d printing"
],
"language" : "en",
"sort_by" : "fb_total.sum",
"aggregate_by" : "domain"
}' "https://api.newswhip.com/v1/stats?key=YOUR_API_KEY"
<?php
require 'vendor/autoload.php';
use GuzzleHttp\Client;
$client = new Client();
$response = $client->post('https://api.newswhip.com/v1/stats?key=YOUR_API_KEY', [
'headers' => ['Content-Type' => 'application/json'],
'body' => '{
"filters": [
"3d printing"
],
"language" : "en",
"sort_by" : "fb_total.sum",
"aggregate_by" : "domain"
}']);
echo $response->getBody();
?>
[
{
"key": "geek.com",
"stats": {
"fb_total": {
"count": 3,
"min": 56,
"max": 3839,
"avg": 1609.3333333333333,
"sum": 4828,
"sum_of_squares": 15611546,
"variance": 2613894.888888889,
"std_deviation": 1616.7544306074715
},
"twitter": {
"count": 3,
"min": 90,
"max": 200,
"avg":<PHONE_NUMBER>3333334,
"sum": 400,
"sum_of_squares": 60200,
"variance": 2288.8888888888882,
"std_deviation": 47.84233364802441
},
"pinterest": {
"count": 3,
"min": 0,
"max": 3,
"avg": 1,
"sum": 3,
"sum_of_squares": 9,
"variance": 2,
"std_deviation": 1.4142135623730951
},
"linkedin": {
"count": 3,
"min": 0,
"max": 7,
"avg": 3,
"sum": 9,
"sum_of_squares": 53,
"variance": 8.666666666666666,
"std_deviation": 2.943920288775949
}
},
"total": 5237
}
]
POST /v1/stats
This endpoint retrieves stats for articles matching your filters.
Parameters
- Article stats are filtered and sorted using the following
JSON
encoded parameters - Required fields are denoted *
- Filtering by category or country requires ids which can be found here: NewsWhip API Coverage
| Parameter | Default | Type | Description |
|---|---|---|---|
| filters* | Array[String] | Up to 20 Lucene QueryString filters are allowed to be applied to the articles. Each filter allows up to 150 terms where calculation is based on lucene query string semantics, e.g: country_code:us counts as 1 Term, country_code:(us AND uk) counts as 2 Terms, headline: “The Right Way” counts as 3 terms”. See available fields for filtering here. |
|
| from | A week ago | Unix timestamp in milliseconds | Filters articles published after {from} |
| to | Now | Unix timestamp in milliseconds | Filters articles published before {to} |
| language | Any | Two letter ISO 639-1 language code | See available languages here |
| sort_by | default |
String | One of the following in descending order: default , fb_total_engagement , fb_tw_overperforming , fb_overperforming , tw_overperforming , predicted_interactions , twitter , linkedin , fb_tw_and_li , nw_score (deprecated on the 01-06-2017), nw_max_score , created_at . (The default sort_by is nw_max_score when the selected time-range is <= 25h, otherwise it will be fb_tw_overperforming ) |
| sort_by (Youtube) | created_at |
String | When searching by the content_type youtube , sort by yt_likes , yt_views , yt_comments , yt_dislikes , fb_total_engagement , twitter , created_at |
| video_only | false | Boolean | Ignored when searching by the content_type youtube |
| default_field | Relevant field | String | Field to be used when filtering by keywords (like "Barack Obama" ) and no fields are used in the Query String. Note: This will be deprecated on the 01-06-2017, please switch to default_fields by then |
| default_fields | ["headline" , "summary" , "authors" ] |
Array[String] | Up to 3 available fields to be used filtering by keywords (like "Barack Obama" ) and no fields are used in the Query String |
| size | 200 | Integer | Max number of articles to be returned (includes relatedStories) |
| find_related | true | Boolean | Related stories will be collapsed when set. Ignored when searching by the content_type youtube |
| content_type | stories | String | Filters by stories or youtube |
POST /v1/trendingEntities
Get the top entities that have become trending in the last x hours
curl -X POST \
'http://api.newswhip.com/v1/trendingEntities?key=YOUR_API_KEY' \
-H 'content-type: application/json' \
-d '{
"filters": [],
"from":1481932800000,
"to":1494975600000
}'
<?php
$request = new HttpRequest();
$request->setUrl('http://st:9000/api/v1/trendingEntities');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData(array(
'key' => 'YOUR_API_KEY'
));
$request->setBody('{
"filters": [],
"from":1481932800000,
"to":1494975600000
}');
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
{
"trendingEntities": [
"Donald Trump",
"Barack Obama",
"U.S",
"Republican",
"US",
"FBI",
"James Comey",
"Democrats",
"Manchester United",
"Premier League",
"IPL",
"Sean Spicer",
"House",
"UK",
"CNN"
]
}
POST /v1/trendingEntities
This endpoint gets the trending entity over a certain {time in hours}. A trending entity is a an entity that has become popular that wasn’t popular before.
Parameters
- Article stats are filtered and sorted using the following
JSON
encoded parameters - Required fields are denoted *
- Filtering by category or country requires ids which can be found here: NewsWhip API Coverage
- As the trendingEntities is aggregating a large about of data it can take up to 5 seconds to return.
- The max number of trending entities returned is 15 but it can be less if you search is more specific
| Parameter | Default | Type | Description |
|---|---|---|---|
| filters* | Array[String] | publisher, categories, headline, countryCode | |
| from | A week ago | Unix timestamp in milliseconds | Filters articles published after {from} |
| to | Now | Unix timestamp in milliseconds | Filters articles published before {to} |
POST /v1/twitterInfluencers
Get the top Influencers on twitter for a particular query
curl -X POST \
'http://api.newswhip.com/v1/twitterInfluencers?key=TESTKEY123' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"filters":["countryCode:us"],
"size":250
}'
<?php
$request = new HttpRequest();
$request->setUrl('http://api.newswhip.com/v1/twitterInfluencers');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData(array(
'key' => 'TESTKEY123'
));
$request->setHeaders(array(
'cache-control' => 'no-cache',
'content-type' => 'application/json'
));
$request->setBody('{
"filters":["countryCode:us"],
"size":250
}');
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
{
"twitterInfluencers": [
{
"twitter_id": 19394188,
"twitter_handle": "SenJohnMcCain",
"likes_count": 44,
"followers_count": 2439704,
"following_count": 378,
"statuses_count": 13287,
"max_retweet_value": 37562,
"social_referrals": [
{
"article_id": "207d6140-7fb7-11e7-b89c-b3951ad1b925",
"twitter_url": "https://twitter.com/any/status/896515795114766337",
"favourite_count": 102465,
"rt_count": 37562,
"created_at":<PHONE_NUMBER>000,
"description": "Washington, D.C. – U.S. Senator John McCain (R-AZ) released the following statement today on the white supremacist attack in Charlottesville, Virginia:",
"article_url": "https://www.mccain.senate.gov/public/index.cfm?p=press-releases&id=64ED6753-345F-4F64-9B64-2D8BDAE952B5"
}
]
},
{
"twitter_id": 592730371,
"twitter_handle": "JackPosobiec",
"likes_count": 42372,
"followers_count": 184577,
"following_count": 716,
"statuses_count": 100483,
"max_retweet_value": 26625,
"social_referrals": [
{
"article_id": "c12fb330-80ee-11e7-b89c-b3951ad1b925",
"twitter_url": "https://twitter.com/any/status/897107711434915842",
"favourite_count": 51500,
"rt_count": 26625,
"created_at":<PHONE_NUMBER>000,
"description": "Nine people were killed and at least 30 others were wounded in shootings across Chicago between Friday night and Monday morning.",
"article_url": "http://abc7chicago.com/2305976/"
} ]
}
]
POST /v1/twitterInfluencers
This endpoint show the twitter uses that have the most influence on stories related to your search.
Parameters
- Twitter Influencer are filtered and sorted using the following
JSON
encoded parameters - Required fields are denoted *
- Filtering by category or country requires ids which can be found here: NewsWhip API Coverage
- As the twitterInfluencers is aggregating a large about of data it can take up to 5 seconds to return.
- If a query String is passed into the filter it will search on headline, authors and summary.
- The results are sorted number of retweets
| Parameter | Default | Type | Description |
|---|---|---|---|
| filters* | Array[String] | Can use the following filters publisher, categories, countryCode, headline, summary, region_code, language, domain | |
| from | A week ago | Unix timestamp in milliseconds | Filters articles published after {from} |
| to | Now | Unix timestamp in milliseconds | Filters articles published before {to} |
| language | String | ||
| size | 200 | number | Number of influencer to return (max 500) |
POST /v1/fbInfluencers
Get the top Facebook influencer for a particular query.
curl -X POST \
'http://api.newswhip.com/v1/fbInfluencers?key=TESTKEY123' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"filters":[]
}'
<?php
$request = new HttpRequest();
$request->setUrl('http://api.newswhip.com/v1/fbInfluencers');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData(array(
'key' => 'TESTKEY123'
));
$request->setHeaders(array(
'cache-control' => 'no-cache',
'content-type' => 'application/json'
));
$request->setBody('{
"filters":[]
}');
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
{
"fbInfluencers": [
{
"fb_page_id":<PHONE_NUMBER>5,
"fb_username": "FoxNews",
"about": "Welcome to the official Fox News facebook page. Get breaking news, must see videos and exclusive interviews from the #1 name in news.",
"followers_count": 15634977,
"likes_count": 15634977,
"profile_image": "https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/417751_10150581617531336_1949382366_n.jpg?oh=be1fa613ac8f3c553749f213e5c2351a&oe=5A197086",
"max_fb_interactions": 587652,
"social_referrals": [
{
"article_id": "27aeb210-8170-11e7-9a30-c9dd3e4cb15e",
"fb_post_id": "15704546335_10155823554046336",
"headline": "Iowa State Fair cow and boy taking nap wins the internet after photo goes viral",
"description": "This here is a little story about a boy and his cow.",
"fb_total_interactions": 587652,
"created_at":<PHONE_NUMBER>000,
"article_url": "http://www.foxnews.com/us/2017/08/14/iowa-state-fair-cow-and-boy-taking-nap-wins-internet-after-photo-goes-viral.html"
},
{
"article_id": "876a2d60-82ba-11e7-8b54-9f4c7b0f94de",
"fb_post_id": "15704546335_10155831874366336",
"headline": "Gettysburg Stands Firm: Battlefield Says All Monuments Staying Put",
"description": "Officials at the Gettysburg National Military Park said Wednesday that the monuments at the expansive Pennsylvania battlefield will stay despite unrest over Confederate memorials.",
"fb_total_interactions": 97525,
"created_at":<PHONE_NUMBER>000,
"article_url": "http://insider.foxnews.com/2017/08/16/gettysburg-confederate-monuments-not-moving-battlefield-says-pennsylvania-union"
}
]
},
{
"fb_page_id":<PHONE_NUMBER>,
"fb_username": "senatorsanders",
"about": "Sen. Bernie Sanders of Vermont is the longest serving independent in U.S. congressional history.",
"followers_count": 7371777,
"likes_count": 7371777,
"profile_image": "https://scontent.xx.fbcdn.net/v/t1.0-1/c<IP_ADDRESS>/p50x50/400832_10151148541197908_1621512611_n.jpg?oh=1d45b3c211e83e5925b08bde7b25ca68&oe=59F0258C",
"max_fb_interactions": 311430,
"social_referrals": [
{
"article_id": "f2cff040-7fa3-11e7-927a-ebb7ea9adb61",
"fb_post_id": "9124187907_10156228952697908",
"headline": "Trump blames 'many sides' after violent white supremacist rally in Virginia",
"description": "President Donald Trump on Saturday blamed \"many sides\" for the violent clashes between protesters and white supremacists in Charlottesville, Virginia.",
"fb_total_interactions": 311430,
"created_at":<PHONE_NUMBER>000,
"article_url": "http://www.chicagotribune.com/news/nationworld/politics/ct-trump-charlottesville-violence-20170812-story.html"
}
]
POST /v1/fbInfluencers
This endpoint show the Facebook users that have the most influence on stories related to your search.
Parameters
- Facebook Influencer are filtered and sorted using the following
JSON
encoded parameters - Required fields are denoted *
- Filtering by category or country requires ids which can be found here: NewsWhip API Coverage
- As the fbInfluencers is aggregating a large about of data it can take up to 5 seconds to return.
- If a query String is passed into the filter it will search on headline, authors and summary.
- The results are sorted total number of Facebook interactions
| Parameter | Default | Type | Description |
|---|---|---|---|
| filters* | Array[String] | Can use the following filters publisher, categories, countryCode, headline, summary, region_code, language, domain | |
| from | A week ago | Unix timestamp in milliseconds | Filters articles published after {from} |
| to | Now | Unix timestamp in milliseconds | Filters articles published before {to} |
| language | String | ||
| size | 200 | number | Number of influencer to return (max 500) |
Entities
Supported languages
| Language | Code |
|---|---|
| English | en |
| Spanish | es |
| French | fr |
| German | de |
| Dutch | nl |
| Italian | it |
| Portuguese | pt |
| Swedish | sv |
| Finnish | fi |
| Norwegian | nb |
| Japanese | ja |
| Turkish | tr |
| Arabic | ar |
| Armenian | hy |
| Basque | eu |
| Bulgarian | bg |
| Catalan | ca |
| Chinese | zh |
| Korean | ko |
| Czech | cs |
| Galician | gl |
| Greek | el |
| Hindi | hi |
| Hungarian | hu |
| Indonesian | id |
| Irish | ga |
| Persian | fa |
| Romanian | ro |
| Russian | ru |
| Sorani | ku |
| Thai | th |
Article
| Field | Description |
|---|---|
| link | |
| headline | |
| excerpt | summary for the story |
| source.publisher | domain of source publication |
| source.link | website of source publication |
| deprecated | |
| source.country_code | country of source publication |
| nw_score | NewsWhip’s current social speed for the story |
| fb_data | Facebook interactions data (total_engagement_count, total_count_delta, delta_period, delta_period_unit, fb_overperforming,reactions) |
| tw_data | Twitter Interactions (tw_count, total_count_delta, delta_period, delta_period_unit, tw_overperforming) |
| li_data | LinkedIn interactions (li_count, total_count_delta, delta_period, delta_period_unit) |
| predicted_interactions | How many interactions are expected on the article based on current velocity |
| tw_creator | Nullable. Where available, the creator’s Twitter handle as supplied through Twitter Cards |
| uuid | NewsWhip’s unique story identifier |
| publication_timestamp | Timestamp representing when the article was published |
| image_link | Where available, link to the source’s featured image |
| relatedStories | List of Article related to this story |
| topics | List of Topic |
| keywords | comma separated string of keywords attributed to this story |
| has_video | set to true when the story has an embedded video |
FacebookPost
| Field | Description |
|---|---|
| page_id | Id of Facebook Page |
| page_name | Name of Facebook Page |
| post_type | Type of Post eg. Status |
| is_live_video | Is content live video |
| fb_story | is a description generated by Facebook about an event eg. when two people become friends |
| fb_sponsor_tags | Facebook sponsors if available |
| fb_data | Facebook interactions data (total_engagement_count, total_count_delta, delta_period, delta_period_unit, fb_overperforming,reactions) |
| reactions | An object describing the Facebook reactions (comments, likes , shares , loves, wows, hahas, sads, angrys) |
| uuid | Newswhip’s unique story identifier |
| publication_timestamp | Timestamp representing when the article was published |
| link | Link of the post |
| headline | Headline of post |
| excerpt | Excerpt from post |
| keywords | Keywords in Article |
| source.publisher | Publisher of the original article |
| source.link | Link to article |
| source.country_code | Country code of country |
| image_link | Where available, link to the source’s featured image |
| has_video | set to true when the story has an embedded video |
| nw_score | NewsWhip’s current social speed for the story |
| max_nw_score | Max Newswhip score all time |
| topics.id | id of topic |
| topics.name | Name of topic |
Topic
| Field | Description |
|---|---|
| id | NewsWhip’s unique id for this Topic |
| name | English name for this topic |
TwitterInfluencer
| Field | Description |
|---|---|
| twitter_id | twitter id of the influencer |
| twitter_handle | The twitter handle of the influencer |
| likes_count | Number of likes this user has |
| followers_count | Number of followers this user has |
| following_count | Number of accounts this user is following |
| statuses_count | Number of statuses this user has posted |
| max_retweet_value | The number of retweets on this uses most influenced article |
| social_referrals | List of the social referrals of a user |
Social Referral (Twitter)
| Field | Description |
|---|---|
| article_id | id of the article |
| twitter_url | URl of the Twitter post |
| favourite_count | The number of favorites this user has |
| rt_count | The number of times the user has retweeted |
| created_at | The date the article was created at |
| description | Description of the article |
| article_url | The original URL of the article |
FacebookInfluencer
| Field | Description |
|---|---|
| fb_page_id | The Facebook page id of the influencer |
| fb_username | The Facebook username of the influencer |
| about | The description on the Facebook page of the influencer |
| followers_count | The number of users following this user on Facebook |
| likes_count | The number of likes this user has on Facebook |
| profile_image | The URL of the users profile picture |
| max_fb_interactions | The number of interaction on the users most influenced stories |
| social_referrals | The list of articles that this user has influenced |
Social Referral (Facebook)
| Field | Description |
|---|---|
| article_id | id of the article |
| fb_post_id | Facebook Post Id |
| headline | The headline of the article |
| description | A description of the article |
| fb_total_interactions | The total number of interactions on the Facebook post |
| created_at | Unix timestamp for the time the article was posted |
| article_url | The URL of the article influenced by the influencer |
Errors
The NewsWhip API uses the following error codes:
| Error Code | Meaning |
|---|---|
| 400 | Bad Request – Your request could not be parsed. |
| 403 | Forbidden – Your API key is not allowed to access this resource. Your API key is expired or invalid. |
| 429 | Too Many Requests – Enhance your calm! or contact us for higher limits! |
| 500 | Internal Server Error – We had a problem with our server. Please try again later. |
| 503 | Service Unavailable – We’re temporarily offline for maintenance. Please try again later. |
More Information
Server-side Caching
GET
queries are cached (per API Key) for a small amount of time. Usually about 3 minutes. Check the HTTP headers sent by our servers for an exact value.POST
queries are never cached.
Cross-Origin Resource Sharing
GET
endpoints support 1Cross-origin resource sharing
per API key. Contact<EMAIL_ADDRESS>to set this up.POST
endpoints are server-side only.
JSONP
We don’t currently support JSONP.
Changelog
Version 1.0.9 (2017-08-15)
- Added twitterInfluencer endpoint
- Added facebookInflunecer endpoint
Version 1.0.8 (2017-06-12)
- Added predicted interactions to the articles endpoint
Version 1.0.8 (2017-04-21)
- Added /v1/fbPost endpoint
- Added default_fields to all POST requests
- Other minor related updates
Version 1.0.7 (2016-11-22)
- Updated examples of POST /v1/articles
Version 1.0.6 (2016-08-04)
- Added option to sort by
fb_total_engagement
in POST /v1/articles - Restricted option to sort by
fb_likes
,fb_shares
,fb_comments
,fb_loves
,fb_wows
,fb_hahas
,fb_sads
,fb_angrys
only forcontent_type
fb_posts
in POST /v1/articles - Removed
fb_likes
,fb_shares
,fb_comments
fromsort_by
in POST /v1/stats
Version 1.0.5 (2016-06-20)
- Added
content_type
field in POST /v1/articles - Updated examples of POST /v1/articles
Version 1.0.4 (2015-12-03)
- Fixed typo in GET /v1/search example
Version 1.0.3 (2015-07-09)
- Added
region_code
anddomain
to available fields for filtering - Added
keywords
field to Article entity
Version 1.0.2 (2015-03-03)
- Added
has_video
field to Article entity
Version 1.0.1 (2015-02-11)
- Added a new
sort_by
method:created_at
to sort by most recent - The filtering field
country
is deprecated, usecountry_code
instead - In Entities, Article. The field
country_code
replacescountry
. The contents ofcountry
will be set to ‘World’
Version 1.0.0 (2014-11-21)
- First public version


Explore a collection of hand curated tools + resources 🚀
Congrats to MagicPattern, Uizard, and Fluent for tools of the week!


Next: special-operator-p, Previous: locally, Up: Evaluation and Compilation Dictionary
the
value-type form ⇒ {result}*
value-type—a type specifier; not evaluated.
form—a form; evaluated.
results—the values resulting from the evaluation of form. These values must conform to the type supplied by value-type; see below.
the specifies that the values_{1a} returned by form are of the types specified by value-type. The consequences are undefined if any result is not of the declared type.
It is permissible for form to yield a different number of values than are specified by value-type, provided that the values for which types are declared are indeed of those types. Missing values are treated as nil for the purposes of checking their types.
Regardless of number of values declared by value-type, the number of values returned by the the special form is the same as the number of values returned by form.
(the symbol (car (list (gensym)))) ⇒ #:G9876 (the fixnum (+ 5 7)) ⇒ 12 (the (values) (truncate 3.2 2)) ⇒ 1, 1.2 (the integer (truncate 3.2 2)) ⇒ 1, 1.2 (the (values integer) (truncate 3.2 2)) ⇒ 1, 1.2 (the (values integer float) (truncate 3.2 2)) ⇒ 1, 1.2 (the (values integer float symbol) (truncate 3.2 2)) ⇒ 1, 1.2 (the (values integer float symbol t null list) (truncate 3.2 2)) ⇒ 1, 1.2 (let ((i 100)) (declare (fixnum i)) (the fixnum (1+ i))) ⇒ 101 (let* ((x (list 'a 'b 'c)) (y 5)) (setf (the fixnum (car x)) y) x) ⇒ (5 B C)
The consequences are undefined if the values yielded by the form are not of the type specified by value-type.
The values type specifier can be used to indicate the types of multiple values:
(the (values integer integer) (floor x y)) (the (values string t) (gethash the-key the-string-table))
setf can be used with the type declarations. In this case the declaration is transferred to the form that specifies the new value. The resulting setf form is then analyzed.
Next: special-operator-p, Previous: locally, Up: Evaluation and Compilation Dictionary


Stay informed with what's happening in the fight for animal rights!
Get Involved!PETA focuses its attention on the four areas in which the largest numbers of animals suffer the most intensely for the longest periods of time: in the food industry, in the clothing trade, in laboratories, and in the entertainment industry.
The ASPCA’s mission, as stated by founder Henry Bergh in 1866, is “to provide effective means for the prevention of cruelty to animals throughout the United States.”
Together we can challenge the threats to nature, and help ensure its ability to provide—for the sake of every living thing, including ourselves.
Our vision is a world where animal welfare matters and animal cruelty has ended - together we can move the world for animals.
Join the forum to meet new people who are also interested in supporting Animal Rights!


Gattaca (1997)
Written and Directed by Andrew Niccol (The Truman Show)
Starring:
Ethan Hawke (Great Expectations) as Vincent Freeman / Jerome Morrow
Uma Thurman (Pulp Fiction) as Irene Cassini
Alan Arkin (Grosse Point Blank) as Investigator Hugo Coldspring
Jude Law (The Talented Mr. Ripley) as Jerome Morrow / Eugene Morrow
Loren Dean (The End of Violence) as Investigator / Aton Freeman
Elias Koteas (The Thin Red Line) as Antonio
As Reviewed by James Brundage
We're all becoming Orwells. Hollywood, me, you, the Internet, everyone is becoming in a constant state of surveillance. It's a trend. Enemy of the State and The End of Violence use it. The Truman Show, Dark City, Pleasantville. All of them used it. And, as good as any one of those films, Gattaca uses it.
Gattaca is a character drama in the guise of a thriller, the same way that The Truman Show was a drama in the guise of a comedy. Andrew Niccol works his beautiful charms with both of them. In Gattaca, he offers us a stunning vision of the not-so-distant future, a time where genetic engineering is so commonplace that it is common practice. The world, of course, has the drawback that anyone who was not genetically engineered is part of a new class of society, called an invalid.
Vincent Freeman was born this way. He chooses, however, not to remain and invalid but become what is known as a de-generate, someone who uses other people's blood, urine, hair etc. to fake a genetic code superior to their own. His dream was to end up in space and being this particularly loathed thing is the only way he is able to do it. Lending his dream to the real Gerome Morrow, a suicidal cripple, the two band together to get him into space. Everything is going well, he is set to leave in a week. Then the mission director is murdered.
This occurs, in my opinion, only to keep less intelligent viewers interested in the story, which contains enough pathos to warrant me watching it if it didn't involve a murder at all. As Vincent tries to keep his secret, he is falling in love with Irene Cassini, another worker at Gattaca, the story's equivalent of Cape Canaveral. The panic caused by the moment causes each person involve to examine themselves, society, and the state of the world.
The sad thing about Gattaca is that so many people will hate this movie because of its utterly slow pace. It does not keep the interest of someone not intrigued by people, which encompasses most every viewer today. So that takes out studio fans, and its Star Trek target audience. Everyone else, including you indie lovers, should tape it the next time it airs on HBO, though.
http://fly.to/criticsheaven
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


INEC presents certificate of return to Bello
by The Eagle OnlineThe Independent National Electoral Commission has presented certificate of return to Governor Yahaya Bello for emerging victorious in the November 16 governorship election in Kogi State.
Speaking at the event in Lokoja on Thursday, INEC National Commissioner in charge of Kogi, Kwara and Nasarawa states, Malam Mohammed Haruna, urged Bello to see his victory as an opportunity to usher in a new beginning for the state.
He asked him to embark on fence mending, bearing in mind the fact that the election was characterised by violence.
The state Resident Electoral Commissioner, Prof. James Apam, said that the issuance of certificate of return to Bello and his deputy, Chief Edward Onoja, climaxed the process of the election held on November 16.
Bello won the election by polling 406,222 votes to beat 24 other candidates, including his closest rival, Musa Wada of the Peoples Democratic Party, who scored 189,704 votes.
Speaking shortly after receiving his certificate, Bello commiserated with relations and friends of those who died during the wide spread violence that characterised the election.
He promised to work with police and other security agencies to identify the perpetrators of the violence and make them to face justice.
Bello promised to use his second term in office to work more for the people of the state, especially in the areas of infrastructural and human development.
The governor also commended the INEC, police and other security agencies for their efforts before, during and after the election.
Previous Post
FG committed to boost capital market competitiveness — Adebayo
Next Post
Banditry/Kidnappings: Buhari urges security agencies, communities to be more vigilant


Xpnsr
Balance & Expense Input
Balance
Expense
Amount
+
Totals
Remaining Balance
0.00
Expense Total
0.00
Expense Count
0
Expense List


Chelsea FC Keep The Blue Flag Flying High !
Log in
Keep The Blue Flag Flying High
Keep The Blue Flag Flying High
Keep The Blue Flag Flying High
Greatest striker! Click here.
Click here to see the "trio"
Click here to see the greatest striker in Chelsea history.


Google Fi courting travelers by selling SIM cards in airport vending machines
by Abner LiGoogle Fi is a good deal for international travelers at $10 per GB in over 200 countries and territories. The MVNO is now directly targeting those potential customers by selling SIM cards at international airport terminals in the U.S.
Back in February, Google started selling Fi SIM cards at Best Buy stores and expanded to Target this November. These kits — though with slightly different branding — are now being sold in vending machines at airports in the U.S.
These kiosks prominently feature Google Fi branding, but other SIMs and travel-related accessories are being sold in rows below. They cost $10, but you get a $10 Fi credit on your first bill, so it’s essentially free.
The vending machine and packaging reminds users to “Activate in the U.S. before you go” as an address stateside is required to register for the Google MVNO.
So far, these Google Fi vending machines have appeared at JFK Terminal 4 and Newark Terminal C. Both are for international flights, and appeared recently according to those on Reddit. Fi subscribers can pay per GB on the original Flexible plan or join the new Unlimited plan that provides high-speed data up to 22 GB every month, but caps video at 480p.
Longtime subscribers might remember Project Fi “Travel Trolley” vending machines at airports that gave away free travel swag, including fuzzy socks and sleep masks. Overall, this is a smart strategy for Google to pursue that directly taps into how people have a tendency to buy — no matter the exuberant cost — last-minute essentials at airports.
More about Google Fi:
- Fi gets faster network switching with ‘dual connect,’ starting on Pixel 4
- Google Fi dark theme rolling out on Android [Gallery]
- T-Mobile and Sprint excited to support MVNOs like Google Fi following merger
FTC: We use income earning auto affiliate links. More.


--- layout: default title: About Michael class: about parent: About ---
Michael Goffredo was fun loving, creative and very loyal. He was born on August 5, 1986 in Cherry Hill NJ and left this life on November 26, 2009 in Santa Ana, CA. Michael lived in Libertyville, IL for most of his life. He attended the Culinary Institute of America in Denver, Colorado where Michael achieved “Dean’s Honor Roll” status.
He will always be remembered as a gentle soul with a wonderful smile, kind and generous to everyone.
The Michael Goffredo Foundation was established for drug abuse education and prevention. Please join our family in helping other children and families fighting addition. It is a life long fight that many times claims the lives of the people with the disease and devastates families.
Michael left this life on Thanksgiving and the Michael Goffredo Foundation will also feed the hungry during the Thanksgiving holiday in his memory.
While Michael attended the Art Institute of Colorado he had achived the Dean's Honor Roll:


Please rate the following movies on a scale from 0 to 5:
You can also simply write the name of a movie you like (but make sure to capitalise all the initials: e.g. Iron Man):
🍒 Come on! Your favourite one!🍒


If you have installed Selenium Python bindings, you can start using it from Python like this.
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
elem = driver.find_element_by_name("q")
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
assert "No results found." not in driver.page_source
driver.close()
The above script can be saved into a file (eg:- python_org_search.py), then it can be run like this:
python python_org_search.py
The python which you are running should have the selenium module installed.
The selenium.webdriver module provides all the WebDriver implementations. Currently supported WebDriver implementations are Firefox, Chrome, Ie and Remote. The Keys class provide keys in the keyboard like RETURN, F1, ALT etc.
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
Next, the instance of Firefox WebDriver is created.
driver = webdriver.Firefox()
The driver.get method will navigate to a page given by the URL. WebDriver will wait until the page has fully loaded (that is, the “onload” event has fired) before returning control to your test or script. It’s worth noting that if your page uses a lot of AJAX on load then WebDriver may not know when it has completely loaded.:
driver.get("http://www.python.org")
The next line is an assertion to confirm that title has “Python” word in it:
assert "Python" in driver.title
WebDriver offers a number of ways to find elements using one of the find_element_by_* methods. For example, the input text element can be located by its name attribute using find_element_by_name method. Detailed explanation of finding elements is available in the Locating Elements chapter:
elem = driver.find_element_by_name("q")
Next we are sending keys, this is similar to entering keys using your keyboard. Special keys can be send using Keys class imported from selenium.webdriver.common.keys:
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
After submission of the page, you should get the result if there is any. To ensure that some results are found, make an assertion:
assert "No results found." not in driver.page_source
Finally, the browser window is closed. You can also call quit method instead of close. The quit will exit entire browser whereas close` will close one tab, but if just one tab was open, by default most browser will exit entirely.:
driver.close()
Selenium is mostly used for writing test cases. The selenium package itself doesn’t provide a testing tool/framework. You can write test cases using Python’s unittest module. The other options for a tool/framework are py.test and nose.
In this chapter, we use unittest as the framework of choice. Here is the modified example which uses unittest module. This is a test for python.org search functionality:
import unittest
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
class PythonOrgSearch(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Firefox()
def test_search_in_python_org(self):
driver = self.driver
driver.get("http://www.python.org")
self.assertIn("Python", driver.title)
elem = driver.find_element_by_name("q")
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
assert "No results found." not in driver.page_source
def tearDown(self):
self.driver.close()
if __name__ == "__main__":
unittest.main()
You can run the above test case from a shell like this:
python test_python_org_search.py
.
----------------------------------------------------------------------
Ran 1 test in 15.566s
OK
The above result shows that the test has been successfully completed.
Initially, all the basic modules required are imported. The unittest module is a built-in Python based on Java’s JUnit. This module provides the framework for organizing the test cases. The selenium.webdriver module provides all the WebDriver implementations. Currently supported WebDriver implementations are Firefox, Chrome, Ie and Remote. The Keys class provide keys in the keyboard like RETURN, F1, ALT etc.
import unittest
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
The test case class is inherited from unittest.TestCase. Inheriting from TestCase class is the way to tell unittest module that this is a test case:
class PythonOrgSearch(unittest.TestCase):
The setUp is part of initialization, this method will get called before every test function which you are going to write in this test case class. Here you are creating the instance of Firefox WebDriver.
def setUp(self):
self.driver = webdriver.Firefox()
This is the test case method. The test case method should always start with characters test. The first line inside this method create a local reference to the driver object created in setUp method.
def test_search_in_python_org(self):
driver = self.driver
The driver.get method will navigate to a page given by the URL. WebDriver will wait until the page has fully loaded (that is, the “onload” event has fired) before returning control to your test or script. It’s worth noting that if your page uses a lot of AJAX on load then WebDriver may not know when it has completely loaded.:
driver.get("http://www.python.org")
The next line is an assertion to confirm that title has “Python” word in it:
self.assertIn("Python", driver.title)
WebDriver offers a number of ways to find elements using one of the find_element_by_* methods. For example, the input text element can be located by its name attribute using find_element_by_name method. Detailed explanation of finding elements is available in the Locating Elements chapter:
elem = driver.find_element_by_name("q")
Next we are sending keys, this is similar to entering keys using your keyboard. Special keys can be send using Keys class imported from selenium.webdriver.common.keys:
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
After submission of the page, you should get result as per search if there is any. To ensure that some results are found, make an assertion:
assert "No results found." not in driver.page_source
The tearDown method will get called after every test method. This is a place to do all cleanup actions. In the current method, the browser window is closed. You can also call quit method instead of close. The quit will exit the entire browser, whereas close will close a tab, but if it is the only tab opened, by default most browser will exit entirely.:
def tearDown(self):
self.driver.close()
Final lines are some boiler plate code to run the test suite:
if __name__ == "__main__":
unittest.main()
To use the remote WebDriver, you should have Selenium server running. To run the server, use this command:
java -jar selenium-server-standalone-2.x.x.jar
While running the Selenium server, you could see a message looking like this:
15:43:07.541 INFO - RemoteWebDriver instances should connect to: http://<IP_ADDRESS>:4444/wd/hub
The above line says that you can use this URL for connecting to remote WebDriver. Here are some examples:
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
driver = webdriver.Remote(
command_executor='http://<IP_ADDRESS>:4444/wd/hub',
desired_capabilities=DesiredCapabilities.CHROME)
driver = webdriver.Remote(
command_executor='http://<IP_ADDRESS>:4444/wd/hub',
desired_capabilities=DesiredCapabilities.OPERA)
driver = webdriver.Remote(
command_executor='http://<IP_ADDRESS>:4444/wd/hub',
desired_capabilities=DesiredCapabilities.HTMLUNITWITHJS)
The desired capabilities is a dictionary, so instead of using the default dictionaries, you can specify the values explicitly:
driver = webdriver.Remote(
command_executor='http://<IP_ADDRESS>:4444/wd/hub',
desired_capabilities={'browserName': 'htmlunit',
'version': '2',
'javascriptEnabled': True})


File
Tools
Tools
Home
New
Email
New
Items
E-Mail Message
Appointment
Meeting
Contact
Task
E-Mail Message Using
More Items
Lync Meeting
New
Ignore
Clean Up
Clean Up Conversation
Clean Up Folder
Clean Up Folder & Subfolders
Junk
Delete
New
Reply
Reply
All
Forward
Respond


Chucklefish Apologises for "Insensitive" Wargroove Casting Choices
by Alistair JonesWargroove developer Chucklefish has apologised over its casting process for the game’s upcoming DLC. In a statement on Twitter last week, the studio said that it “sincerely [apologised] for the harm we have caused.”
Last month, Chucklefish revealed the voice actors for Wargroove’s Double Trouble DLC. Three of the expansion’s four new arrivals are characters of colour, but all of them are voiced by white actors, resulting in a backlash from the community.
In response, Chucklefish said that “we want to be honest about what happened. During our casting process we knew that we didn’t want our own unconscious biases to impact who we hired to work on Wargroove.” As a result, the studio hired an external casting company, and handled auditions “blindly,” considering only audition files rather than headshots and back catalogues.
The studio also said that “posting photos of our voice actors beside characters of colour without acknowledgement of the systemic problem of representation in the industry was insensitive and poorly communicated.”


| Name | Protein | Carbohydrate | Fat | Calories |
|---|---|---|---|---|
|
|
{{food.Protein.toFixed(1)}} | {{food.Carb.toFixed(1)}} | {{food.Fat.toFixed(1)}} | {{food.Calories.toFixed(1)}} |
It is health that is real wealth and not pieces of gold and silver.


Compaq Support Forum
The Compaq Support Forum is a web based message board where you can post your question, view other customer posts, and receive a reply from a Support Engineer. The Compaq Support Forum is available at http://forum.compaq.com.
Compaq Technical Support Center
1-800-OK-COMPAQ, 1-800-652-6672 U.S.
Free technical support is available 24 hours a day, 7 days a week, during the warranty period. After-warranty support is available for a fee of $19.95 1 (U.S.) per incident.
1-900-733-HELP, 1-900-733-4357 U.S.
After-warranty support is also available through a pay-per-call telephone service 2 24 hours a day, 7 days a week. Calls will be billed through the user's telephone service at a rate of $2 1 per minute, not to exceed $20 1 (U.S.) per incident.
Compaq Product Information Center
1-800-345-1518 U.S.
Product information, reseller and service provider information available 24 hours a day, 7 days a week.
How are we doing?
If you have questions or comments about our Compaq Support Forum, you can
click here!
1 Subject to change.
2 Children under the age of 18 must have the permission of a parent or guardian to call.


My name is Cristina.
I was born and raised in Moldova, and have been living in
California for the past 4 years. I moved to Colorado only a couple
weeks ago with my husband and cat (Photo Here) and since
then I've been shocked literally and figuratively a million times.
In my free time I enjoy hiking, exploring new places, practicing
photography and reading books by the pool.


QuickSort is a Divide and Conquer algorithm. It picks an element as pivot and partitions the given array around the picked pivot.There are many different versions of quickSort that pick pivot in different ways.
The key process in quickSort is partition(). Target of partitions is, given an array and an element x of array as pivot, put x at its correct position in sorted array and put all smaller elements (smaller than x) before x, and put all greater elements (greater than x) after x. All this should be done in linear time.
Pseudo Code for recursive QuickSort function :
/* low --> Starting index, high --> Ending index */
quickSort(arr[], low, high)
{
if (low < high)
{
/* pi is partitioning index, arr[pi] is now
at right place */
pi = partition(arr, low, high);
quickSort(arr, low, pi - 1); // Before pi
quickSort(arr, pi + 1, high); // After pi
}
}
Pseudo Code for Partition function :
/* This function takes last element as pivot, places
the pivot element at its correct position in sorted
array, and places all smaller (smaller than pivot)
to left of pivot and all greater elements to right
of pivot */
partition (arr[], low, high)
{ // pivot (Element to be placed at right position)
pivot = arr[high];
i=(low - 1) // Index of smaller element
for (j = low; j <= high- 1; j++)
{
// If current element is smaller than or
// equal to pivot
at right place */
if (arr[j] <= pivot)
{
i++; // increment index of smaller element
swap arr[i] and arr[j]
}
}
}


Uses tokens. There are four classes: identifiers, keywords, operators, punctutation, and literals.
Uses semicolons as terminators. However, Go programs may omit these semicolons following some rules.
Common types: ArrayType, StructType, PointerType, FunctionType, SliceType, MapType, ChannelType
Initialization of variables
The first statement in a Go source file must be:
package name
-support for multiple return values. (and hence, multiple assignment) -variadic functions
for index, ele := range sliceName {} for i := 0; i < len(sliceName) ; i++ {}
Go supports pointers, allowing you to pass references to values and records within your program.
Go support methods on struct types.
Named collections of method signatures. 1. It is a set of methods 2. It is a type
Core concept in Go’s type system: Instead of designing our abstractions in terms of what kind of data it holds, we design abstractons based on what actions our types can execute.
The interface{} type, the empty interface, is the source of much confusion. The interface{} type is the interface that has no methods. Since there is no implements keyword, all types implement at least zero methods, and satisfying an interface is done automatically, all types satisfy the empty interface. That means that if you write a function that takes an interface{} value as a parameter, you can supply that function with any value.
SetDeadline: Deadlines are not timeouts. Once set they stay in force forever no matter if and how the connection is used. Call set deadline before each and every read/write operation.
All timeouts are implemented in terms of deadlines. They do not reset every time data is sent or received.
Critical for HTTP server that is exposed to the internet to enforce timeouts on client connections, else slow or disappearing clients might leak file descriptors.
ReadTimeout covers the time from when connection is accepted to when the request body is fully read. Implemented using SetReadDeadline immediately after accept.
Each incoming request is handled as its own goroutine. Request handlers might spawn additional goroutines to access identity specific values but if the request is cancelled or times out, all goroutines working on request should exit quickly. Context package makes it easy to pass request scoped values, cancellation signals, and deadlines available as a context.
golang interface method requires pointer receiver https://stackoverflow.com/questions/40823315/x-does-not-implement-y-method-has-a-pointer-receiver
A type may have a method set associated with it. The method set of an interface type is its interface. The method set of any other type T consists of all methods declared with receiver type T. The method set of the corresponding pointer type *T is the set of all methods declared with receiver *T or T (that is, it also contains the method set of T). Further rules apply to structs containing embedded fields, as described in the section on struct types. Any other type has an empty method set. In a method set, each method must have a unique non-blank method name.
The method set of a type determines the interfaces that the type implements and the methods that can be called using a receiver of that type.
https://queue.acm.org/detail.cfm?id=2839461 (*) https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/
https://stackoverflow.com/questions/32815400/how-to-perform-division-in-go


WITNESS LIST Pensions & Investments Committee April 21, 1999-8:00A HB 1999 For: Plumlee, Tom (Potter-Randal and Armstrong Counties Community Supervision and Corrections Department) HB 2540 For: Ashner, Melba Jo (Self) Chilton Beverly, Karen (Self and Melba Jo Ashner) Against: Eddington, Larry (Dallas Police and Fire Pension System) Tettamant, Richard (Dallas Police and Fire Pension System) HB 3009 For: Halbert, Wayne (Texas Irrigation Council) Robbins, Dean (Texas Water Conservation Association) On: Anderson, Susan (Self and Public Financial Management, Inc.) Price, Mark (County Treasurers' Association of Texas) Smith, Carol Ann (State Auditor's Office) Waley, Dennis (Government Treasurers of Texas) HB 3536 For: Olivarez, Joe (Self) Shaefer, Herb (Self) Williams, Jim (Self) On: Kendall, Terrence (Texas County and District Reitrement System) May, Robert (Texas County & District Retirement System) Nail, William (ERS) HB 3660 On: Jung, Ronnie (TRS)


Set passwords - SPOGOU is doing just that, and also sharing and preparing to clean up the spreadsheet


Lord High Tournament Director of the Terrapin will be David Hamilton. Questions may be addressed by telephone to David at<PHONE_NUMBER>. E-mail inquiries (which are preferred) may be sent to<EMAIL_ADDRESS>All teams are to be composed of either undergraduate students (full-time or part-time) or graduate students who attend the school for which they play. There is no limit on the number of graduate students allowed on a team. If a team wishes to compete with players from more than one school, that team will be ineligible for the championship (and playoffs, if they occur).
The fees are as follows:
+ $110 per team (don't be alarmed, there are plenty of discounts) + $10 late fee for questions arriving after 10/24 at 11:59:59 PM + $20 late fee for questions arriving after 10/29 at 11:59:59 PM + $20 for a copy of the rounds used in the 1997 TerrapinWe offer the following discounts:
- $30 discount for attending both the Terrapin and the TRASH Regionals on November 2 - $30 discount for questions received before 10/11 at 11:59:59 PM - $15 discount for questions received before 10/17 at 11:59:59 PM - $ 5 if your packet follows the ACF Nationals formatting guidelines (available upon request) - $10 maximum discount for a good packet - $10 discount for a working buzzer system - $10 for second team, third team, etc. - $10 per team if your school has not attended the Terrapin in the past three years (i.e., your school did not attend the Terrapin in 1994-1996) - $20 for first place team - $15 for second place team - $10 for third place teamChecks may be made payable to the Maryland Academic Quiz Team and sent to the address listed below:
Shaun Hayeslip 2114 Anne Arundel Hall University of Maryland College Park, MD 20742Questions should either be e-mailed as text or sent on disk as a Microsoft Word file (version 6.0 or higher) or in ASCII text.
We may be willing to extend credit based on the entrance fee to your tournament. We will trade rather than sell questions. Feel free to offer us deals.
In very rare cases, packet deadlines may be slightly negotiable.
David Hamilton
President, MAQT


Vikash
Verma
Developer
<EMAIL_ADDRESS>Profile
Profile
Profile
Profile
Profile
CSS put inside the brackets in these examples would only apply if the specified criteria are met. Also, the CSS rules apparently work on the fly, so if the user resizes their browser screen the appropriate rules will be applied without refreshing.


Welcome to PyViability’s documentation!¶
Introduction¶
Disclaimer: The library is still preliminary work. As I am happy about everybody who’d consider using the library, I’ll help you as much as I can and might consider writing a proper tutorial and extend the Documentation. Simpy contact me (Tim.Kittel@pik-potsdam.de).
PyViability is small library for Computations related to Viability Theory, particular the Viability Kernel and the Capture Basin, and for the Classifications of (a) Models(‘) (state space) with respect to the Topology of Sustainable Management [1].
The library was developped during the work on [2] and is in a very preliminary state. I am happy for any support to improve the library.
[1] http://www.earth-syst-dynam.net/7/21/2016/esd-7-21-2016.html
[2] https://arxiv.org/abs/1706.04542
Find the source here.
Setup¶
The code was tested with Python 3.5 under Ubuntu Xenial only. If you want to get it running on a different system, please contact me (Tim.Kittel@pik-potsdam.de).
To install the library, run
git clone https://github.com/timkittel/PyViability.git
cd PyViability
pip install -e .
Tutorial¶
Because the library is still very preliminary there is no real tutorial here, yet. Check out the run-examples.py, which is a script that provides a few examples. There are no real explanations to the context of the example models, but generally, you can understand the dynamics of the models by carefully analyzing the flows, that are plotted. The default flow is shown with think lines in light blue, the management flows with thin, dark blue, dotted (or dashed) lines.
As some of the constructions there are a bit tricky, the easiest is probably to simply contact me (Tim.Kittel@pik-potsdam.de). As I am happy about everybody who’d consider using the library, I’ll help you as much as I can and might consider writing a proper tutorial and extend the Documentation.


Visit the pools page to download the pool client and start mining YadaCoins instantly.
Joining a pool is the easiest and fastest way to mine YadaCoins but if your computer is a monster then perhaps you can win blocks on your own. The instructions below are for those who want to run full nodes. You do not need to keep reading below if you join a pool. You can stop here and goto the pools page.
apt-get update apt-get install docker docker-compose cd ~ mkdir YADA cd YADA wget https://raw.githubusercontent.com/pdxwebdev/yadacoin/master/docker/docker-compose.yml docker-compose build docker-compose up
Download and install docker: https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
Download https://raw.githubusercontent.com/pdxwebdev/yadacoin/master/docker/docker-compose.yml
start -> run -> "cmd" [enter] cd /your/download/folder docker-compose build docker-compose up
Verify your public IP address and port are listed in the peer list at YadaCoin's peer list
Note: Your serve process must be publicly accessible. If the serve process stops running or you're behind a firewall, the network will kick you from the peer list after too many failed attempts at sending you blocks.
Come ask questions on our discord server.
install mongodb: MongoDB for Windows
Download the latest Windows binary and follow this video
Open three terminal windows and in the first terminal window, execute this command:
YadaCoinConfig.exe auto > config.json
Then in that same terminal, execute this command.
YadaCoin.exe serve config.json
Then in the second terminal, execute this command.
YadaCoin.exe consensus config.json
Wait approximately 10 minutes for a new block to be found by the network then you'll start syncing.
Once the countdown reaches zero, you'll be ready to start mining.
In the third terminal window, execute this command:
YadaCoin.exe mine config.json
Open a terminal window and execute this command:
wget -O - https://raw.githubusercontent.com/pdxwebdev/yadacoin/master/setup.sh | bash
This will start the serve, consensus, and mining processes. You can check their status with the following commands:
sudo service yadacoin-serve status
sudo service yadacoin-consensus status
sudo service yadacoin-mine status


I'm excited to start Galvanize and learn about web development technologies like JavaScript and React. After Galvanize, I would love to continue learning the latest technology and venture further into backend programming. It would be amazing to work at a larger tech company like Microsoft and learn from the top software engineers in the industry.


Instead of deleting old file writing a new one with the same name, just replaces old file's content in-place. This ensures that all hardlinks, aliases, file ownership, permissions, extended file attributes will stay the same.
It's slightly faster not to preserve permissions.
PNG files can have different brightness and saturation in different browsers, because not all browsers support gamma correction and color profiles features equally. Removal of this information makes PNG color more consistent across browsers and reduces file size.
Other invisible information is removed as well, such as DPI and comments.
Removes image metadata, such as color profile, exposure time, GPS coordinates, camera model and name of software used to create the file.
Embedded copyright information is removed as well. Please note that generally images are protected by copyright law regardless whether they contain such invisible metadata or not.
Zopfli and PNGOUT are very good PNG compressors, but are very slow. Disable them if you need to optimize PNG files quickly (leave only AdvPNG for fastest, but still good compression).
Zopfli and OptiPNG will clean RGB values of transparent pixels (known as “dirty alpha”). Disable these two tools if you're optimizing special files that use alpha channel for something else than transparency (e.g. heightmap in game data files).
If set to 100%, optimization will be lossless.
Anything below 100% will cause lower quality of files if they appear to have been saved with higher quality setting.
PNGOUT is very effective, but very slow. Use lower level if you're impatient.
PNGOUT may need a lot of time to optimize very large images. This option gracefully interrupts PNGOUT after 1 minute.
Number of different setting combinations tested. It rarely makes sense to try them all.
Interlaced images look better when they're loaded partially, but usually interlace makes compression less efficient.
This checkbox has three states: if checked, will force images to be interlaced. When mixed, it will keep file's interlace unchanged, unchecked will remove interlace from files.
For best compression, you should convert GIF files to PNGs (ImageOptim does not do that automatically).


|
PU2CLR Si4735 Arduino Library 2.1.4
Arduino Library for Si47XX Devices - By Ricardo Lima Caratti
|
Functions | |
| uint8_t | SI4735::getCurrentVolume () |
| Get the Current Volume. | |
| void | SI4735::setVolumeUp () |
| Set the Volume Up. | |
| void | SI4735::setVolumeDown () |
| Set the Volume Down. | |
| void | SI4735::setAudioMode (uint8_t audioMode) |
| Sets the Audio Mode. See table below. | |
| void | SI4735::setAmDelayNB (uint16_t value) |
| Sets the delay before applying impulse blanking. | |
| void | SI4735::digitalOutputFormat (uint8_t OSIZE, uint8_t OMONO, uint8_t OMODE, uint8_t OFALL) |
| Configures the digital audio output format. | |
| void | SI4735::digitalOutputSampleRate (uint16_t DOSR) |
| Enables digital audio output and configures digital audio output sample rate in samples per second (sps). | |
| void | SI4735::setVolume (uint8_t volume) |
| Sets volume level (0 to 63) | |
| void | SI4735::setAudioMute (bool off) |
| Sets the audio on or off. | |
| uint8_t | SI4735::getVolume () |
| Gets the current volume level. | |
| void | SI4735::volumeUp () |
| Set sound volume level Up. | |
| void | SI4735::volumeDown () |
| Set sound volume level Down. | |
|
inline |
Get the Current Volume.
Returns the current volume level.
|
inline |
|
inline |
|
inline |
Sets the Audio Mode. See table below.
If you want to change the audio mode, call this function before call setAM(), setFM() or setSSB().
Sets the Si47XX device to use ANALOG or DIGITAL audio output. The table below shows the valid values.
This function will only take effect after calling setAM(), setFM() or setSSB().
| Macro | Value (Binary) | Description |
|---|---|---|
| SI473X_ANALOG_AUDIO | 0b00000101 | Analog Audio Inputs |
| SI473X_DIGITAL_AUDIO1 | 0b00001011 | Digital audio output (DCLK, LOUT/DFS, ROUT/DIO) |
| SI473X_DIGITAL_AUDIO2 | 0b10110000 | Digital audio outputs (DCLK, DFS, DIO) |
| SI473X_DIGITAL_AUDIO3 | 0b10110101 | Analog and digital audio outputs (LOUT/ROUT and DCLK, DFS,DIO) |
| audioMode | One of the values options above |
|
inline |
Sets the delay before applying impulse blanking.
Delay in micro-seconds before applying impulse blanking to the original samples. Default value is 172.
| value | Delay in micro-seconds |
| void SI4735::digitalOutputFormat | ( | uint8_t | OSIZE, |
| uint8_t | OMONO, | ||
| uint8_t | OMODE, | ||
| uint8_t | OFALL | ||
| ) |
Configures the digital audio output format.
Options: DCLK edge, data format, force mono, and sample precision.
ATTENTION: The document AN383; "Si47XX ANTENNA, SCHEMATIC, LAYOUT, AND DESIGN GUIDELINES"; rev 0.8; page 6; there is the following note: Crystal and digital audio mode cannot be used at the same time. Populate R1 and remove C10, C11, and X1 when using digital audio.
| uint8_t | OSIZE Dgital Output Audio Sample Precision (0=16 bits, 1=20 bits, 2=24 bits, 3=8bits). |
| uint8_t | OMONO Digital Output Mono Mode (0=Use mono/stereo blend ). |
| uint8_t | OMODE Digital Output Mode (0=I2S, 6 = Left-justified, 8 = MSB at second DCLK after DFS pulse, 12 = MSB at first DCLK after DFS pulse). |
| uint8_t | OFALL Digital Output DCLK Edge (0 = use DCLK rising edge, 1 = use DCLK falling edge) |
| void SI4735::digitalOutputSampleRate | ( | uint16_t | DOSR | ) |
Enables digital audio output and configures digital audio output sample rate in samples per second (sps).
When DOSR[15:0] is 0, digital audio output is disabled. The over-sampling rate must be set in order to
satisfy a minimum DCLK of 1 MHz. To enable digital audio output, program DOSR[15:0] with the sample rate
in samples per second. The system controller must establish DCLK and DFS prior to enabling the digital
audio output else the device will not respond and will require reset. The sample rate must be set to 0
before the DCLK/DFS is removed. FM_TUNE_FREQ command must be sent after the POWER_UP command to start
the internal clocking before setting this property.
ATTENTION: The document AN383; "Si47XX ANTENNA, SCHEMATIC, LAYOUT, AND DESIGN GUIDELINES"; rev 0.8; page 6; there is the following note: Crystal and digital audio mode cannot be used at the same time. Populate R1 and remove C10, C11, and X1 when using digital audio.
| uint16_t | DOSR Digital Output Sample Rate(32–48 ksps .0 to disable digital audio output). |
| void SI4735::setVolume | ( | uint8_t | volume | ) |
Sets volume level (0 to 63)
| uint8_t | volume (domain: 0 - 63) |
| void SI4735::setAudioMute | ( | bool | off | ) |
Sets the audio on or off.
Useful to mute the audio output of the SI47XX device. This function does not work to reduce the pop in the speaker at start the system up.
If you want to remove the loud click or pop in the speaker at start, power down and power up commands, use setHardwareAudioMute with a external mute circuit.
| value | if true, mute the audio; if false unmute the audio. |
| uint8_t SI4735::getVolume | ( | ) |
| void SI4735::volumeUp | ( | ) |
| void SI4735::volumeDown | ( | ) |


{% extends "layout/base.html" %} {% block content %}
I finished up my PhD in Astrophysics at UC Berkeley this past May. I was studying RR Lyrae pulsating variable stars to precisely calibrate their period-magnitude relations and then use these stars to map the Milky Way and our neighboring galaxies. You can grab my dissertation (PDF, 58 MB) here.
I'm now a fellow at Insight Data Science. I'm very excited to be pivoting from academic research into a Data Science career where I can apply my data analysis, statistics, programming, machine learning, and hacking skills to make an impact solving real-world problems.
By the way, here's the github repo for this webapp.


Hello there.
My name is Grace Bonds. I'm a frontend web developer based in Philadelphia.
Featured Work
Sasha Patterson Coaching
Mobile-first landing page for a new service.
- Landing Page
- HTML & CSS
- Responsive Design
My Skills
My work combines creativity and curiosity with efficiency and organization. I'm a open-minded learner who loves improving on old and new ideas. Below are some of my top skills.
Hard Skills
- HTML
- CSS
- JavaScript
- Git
- Bootstrap
Soft Skills
- Growth Mindset
- Change Management
- Cross-team Communication
- Documentation Nerd
About Me
My work history includes but is not limited to: a global travel startup, an art museum, and a very
delicious bagel shop. I have a background in languages, art, and cultural tourism.
Outside of work, I obsess over food, coffee, and my obscenely cute dog.


Basic map
Advanced map
Map with events
Map with markers
Map with custom controls
Map with polygons
Map with layers
Map with overlays
Map with routes
Map with styles
Street View Panorama
Map with Street View
Street View Panorama with events
Events


Take photos of your vehicle as clearly as possible, showing the full side, to ensure the most accurate results.
Submit a photo of the front.
Submit a photo of the back.
Submit a photo of the passenger side.
Submit a photo of the driver side.
If you need assistance, please do not hesitate to contact us at:


My name is Pamela Gutierrez and I consider myself a jack of many trades! I've recently transitioned into the field of web development having graduated from the UC Berkeley Coding Bootcamp not long ago. I've worked on an assortment of personal or collaborative projects including one currently in development for a local San Francisco-based baker. I am eager to continue learning and growing my skills in the industry and hope to also delve deeper into UI and UX design. I enjoy the creative and critical processes involved in full-stack web development and am looking for opportunities that will help me foster those skills while also bringing my hard work and dedication to a meaningful project. Prior to my career in tech, I worked in the hospitality and tourism industry which took me across the world holding different management and leadership positions. I've worked in places as diverse as the Guatemalan jungle and the Australian Outback and have found that this quick adaptability has served me well in my transition into web development. I look forward to seeing where this new chapter takes me!
This is a full-stack e-commerce application built for San Francisco-based baker Danielle M. Estrella. It uses React, Express, Bootstrap, and the Stripe Payment API.
Go to Deployed SiteThis application is a work day scheduler which allows the user to plan their day during the tyical business hours of 9am to 5pm.
Go to Deployed SiteManagement system for mock restaurant "Bob's Burgers." Includes Passport authentication for admins which allows editing and updating of menu. Built with jQuery and Foundation CSS.
Go to Deployed SiteThis application was built as part of a group and is intended to help the user plan an unplugged day of leisure with books, parks, and coffeeshops.
Go to Deployed Site