Introducing the Web T-Link

22/07/2016 by

Thinking Matters

The concept is simple: you want to make a web reference (HTML link) to an other web resource, but you don’t want that link to go bad.  This requires a web link, with just a little bit of smarts on the server, and so I call that a T-Link and it is a key capability for a collaboration system.

View original post 1,630 more words

FOIA Improvement and the FOIA Advisory Committee

21/07/2016 by

AOTUS

On June 30, 2016, President Obama signed the bipartisan Freedom of Information Act (FOIA) Improvement Act of 2016 into law. This law locks into place many of the Administration’s FOIA policies and initiatives and solidifies the role of the National Archives’ Office of Government Information Services (OGIS) in resolving FOIA disputes between agencies and requesters and improving compliance with FOIA.

President Obama Signs S. 337 FOIA Improvement Act of 2016, June 30, 2016

The law:

  • Codifies the Attorney General’s policy that agencies should release information unless “the agency reasonably foresees that disclosure would harm an interest protected by an exemption” or “disclosure is prohibited by law;”
  • Requires that agencies alert requesters to the availability of agency FOIA Public Liaisons and OGIS to help resolve disputes at several points in the FOIA process;
  • Directs the creation of a centralized portal the public can use to file FOIA requests electronically;
  • Establishes…

View original post 283 more words

Chief Releases Comprehensive Report

18/07/2016 by

2015 Administrative Investigation and Use of Force Report The Fairfax County Police Department has posted CY 2015 Use of Force Data which takes a broader approach to provide transparency to all mem…

Source: Chief Releases Comprehensive Report

Chief Releases Comprehensive Report

18/07/2016 by

Fairfax County Police Department News

2015 Administrative Investigation and Use of Force Report

The Fairfax County Police Department has posted CY 2015 Use of Force Data which takes a broader approach to provide transparency to all members of our community and the law enforcement profession. The data sets are intended to engage a discussion between the great community we serve and the leadership of the Department as we continue to re-engineer our use of force training, policies, and culture.

Within the last 12 months, the Fairfax County Police Department has made public the following reports:

  • Last Decade of Fairfax County Officer-Involved Shooting Information
  • Summary of Justifiable Homicides 2005 – YTD
  • Community Survey Report of the FCPD
  • PERF Use-of-Force Policy and Practice Review of the Fairfax County Police Department
  • PERF – Recommendations Relating to Release of Information

To view these reports including the 2015 Use of Force Report click here.

Chief of Police, Colonel Edwin C…

View original post 59 more words

July 4th Air Pollution

22/06/2016 by

“Error 418 (I’m a teapot)!?” – A cute Easter egg from Google

07/03/2016 by

Developmentality

Teapot - pre-pour
Pouring

If you develop for the web, chances are you know some of the HTTP status codes, numerical values that the server returns to the client to tell it whether its request was successful or not. Statuses in the 400 range indicate a client error; for instance 400 indicates a “Bad Request”. One of the lesser known error codes is 418. From the Wikipedia article on List of HTTP status codes:

418 I’m a teapot (RFC 2324)
This code was defined in 1998 as one of the traditional IETF April Fools’ jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers.

Well, Google likes Easter eggs and jokes more than just about any company I can think of. If you go to google.com/teapot you’ll see an adorable robot teapot, just waiting for you to tip it over and pour…

View original post 45 more words

Shoveling for Civic Tech Gold

22/02/2016 by

Civic Innovations

Snow removal Photo courtesy of flickr user SalemSaugusNPS

Unshoveled sidewalks during the winter months are a persistent problem for cities in the snow belt.

For places with significant snowfall, unshoveled sidewalks pose a challenge to public safety and mobility for those that rely on walking (or public transit), and present an especially acute problem for those that have physical impairments. Uncleared snowfall on other kinds of public infrastructure – like fire hydrants – also poses dangers for city residents and public safety workers.

This is a sometimes daunting issue for cities that government officials, community groups and civic technologists perennially struggle with. Over the past several years, a number of civic technology projects have been initiated with the goal of mitigating the problem of uncleared sidewalks and other public infrastructure in cities. Few have been widely adopted, and – if we’re being honest – the impact of these efforts on reducing the problems associated with uncleared snowfall…

View original post 1,389 more words

U-Boats Off the OBX, 1942

20/01/2016 by

This Day in North Carolina History

A tanker sinking off the Outer Banks after being hit by a U-boat.
Image from the National Park Service.

On January 19, 1942, a German U-boat, designated U-123, attacked three ships north of Cape Hatteras. The U-boat was part of what was called the “Second Happy Time,” a campaign during which Axis submarines attacked merchant vessels along the Atlantic coast.

In the early morning hours, the American passenger-freighter City of Atlanta was sunk and survivors were left floating in the icy water; only three crewmen lived. Just before dawn, the U-123 slipped into a group of Allied ships and attacked.

The American tanker Malay was damaged and disabled by gunfire from the U-123’s deck guns. The U-boat then torpedoed a nearby Latvian freighter, killing two of her 32 crewmen and leaving her in to sink.

The U-123 returned to finish off the wounded Malay, hitting her with…

View original post 190 more words

Ultimate guide for scraping JavaScript rendered web pages

14/01/2016 by

IMPYTHONIST

We all scraped web pages.HTML content returned as response has our data and we scrape it for fetching certain results.If web page has JavaScript implementation, original data is obtained after rendering process. When we use normal requests package in that situation then responses those are returned  contains no data in them.Browsers know how to render and display the final result,but how a program can know?. So I came with a power pack solution to scrape any JavaScript rendered website very easily.

Many of us use below libraries to perform scraping.

1)Lxml

2)BeautifulSoup

I don’t mention scrapy or dragline frameworks here since underlying basic scraper is lxml .My favorite one is lxml.why? ,It has the element traversal methods rather than relying on regular expressions methodology like BeautifulSoup.Here I am going to take a very interesting example.I am so amazed after finding that ,my article is appeared in recent PyCoders weekly issue…

View original post 681 more words

Inject Content into a new IFrame

15/12/2015 by

Spare Cycles

In on-line ad delivery we utilize the <iframe> tag quite a lot. There are good reasons for serving ads in iframes. There are restrictions in communication between an iframe and its parent window when the two documents are served from different domains. This helps protect users as well as site publishers from malicious activity.

Iframes also provide advantages in the speed of delivery of an overall page. The parsing and display of an iframe’s content happens asynchronously to the rest of the parent window’s resources. This means that when an iframe is encountered during an initial page load it does not prevent the rest of the page from loading while the content of the iframe is loaded.

At AppNexus we’ve been developing some improved ad delivery mechanisms which leverage the advantages of iframes, in particular we’ve been leveraging the dynamic creation of iframes to serve ad content after some user…

View original post 646 more words