1831
javascript - Fetch: how to deal with a json payload in an error response? - Code Review Stack Exchange
Trying to get https://github.com/github/fetch working with an API that almost always returns a json payload, even when the response is an error:

{
"message": "User not logged in",
"code": 401
}

---

Consider using Promise.reject instead of throw. It's a standard API for promises and clearly communicates your intent. Unwinding the stack trace isn't fun.

function checkStatus(response) {
if (response.ok) {
return Promise.resolve(response)
}

return response.json().then(json => {
const error = new Error(json.message || response.statusText)
return Promise.reject(Object.assign(error, { response }))
})
}

---
html5  javascript  http  request  error  stackoverflow 
yesterday
Guide To Skip Sizes - Local Skip Hire
6 Yard Small Builder 4.6 M 6 Yrds 1.22M 4′ 2.6M 8’6″ 1.52M 5′

6 Yard Small Builder Skip
Small Builder Skip is good for bulky waste. (approx 50 Bin Bags)
house  garden 
yesterday
Premium Shedcover Rubber Membrane 1.50mm for Shed Rubber Roofs | Rubber4Roofs
Premium Shedcover Rubber Membrane 1.5mm thick

Please select width from drop down menu then enter length of the membrane you require in meters

£57.75 Excl. VAT £69.30 Incl. VAT

6.15 m2
EPDM Width :: 1.5 m;

EPDM Length :: 4.1 m;


I understand that lengths over 30.5 m will be supplied in multiple pieces.

I have allowed 200 mm on all edges. I agree that the size is my responsibility.
garden  house 
3 days ago
FloPlast Half Round Fascia Brackets 112mm Black 10 Pack | Half Round Guttering | Screwfix.com
FLOPLAST HALF ROUND FASCIA BRACKETS 112MM BLACK 10 PACK (61345)
View reviews (40)

View all Q&A
Black uPVC. Screws on to fascia board and grips gutter fitting. A practical, easy to install and cost effective solution for both new build and refurbishment applications. Compatible with most major manufacturers.

More Info

View all: FloPlast Half Round Guttering
house  garden 
3 days ago
Shedcover Rubber Membrane 1.20mm for Shed Rubber Roofs | Rubber4Roofs
Shedcover Rubber Membrane 1.2mm thick

Please select width from drop down menu then enter length of the membrane you require

£45.45 Excl. VAT £54.54 Incl. VAT

6.15 m2

EPDM Width :: 1.50 m;

EPDM Length :: 4.1 m;


I understand that lengths over 30.5 m will be supplied in multiple pieces.

I have allowed 200 mm on all edges. I agree that the size is my responsibility.

--
garden  house 
3 days ago
Attenborough launches 'Boaty McBoatface' polar ship - BBC News
Sir David Attenborough has launched the hull of the UK's newest polar ship, which is named after him.

Saturday was an important milestone for the ship, whose development has been followed closely since an online campaign tried to get it named "Boaty McBoatface".

Boaty McBoatface lives on in the form of a yellow submarine.
bbc  news  video  science  exploration  nature 
3 days ago
(77) Items For Sale In Milton Keynes
Cristina Phang
12 hrs
House clearance
£123
MK16 8
Glass vase (no chips or scratches) £3
8 tumbler glasses hardly used £2
8 Next bowls (no chips) £4
Pink pets sign £3
Next Live Life sign £5
Wicker boxes £5
10 wine glasses and 7 prosseco glasses £5
facebook 
4 days ago
Dependency versions | GitHub Pages
Dependency versions
GitHub Pages uses the following dependencies and versions:
Dependency Version
jekyll 3.7.3
activesupport 4.2.10
github-pages-health-check 1.8.1
github  jekyll  blog  tool  software  ruby 
5 days ago
A plain English guide to the EU public sector accessibility directive - WebDevLaw
When do these rules go into effect?

The accessibility directive is staggered across four deadlines. These deadlines give member states a lead time of nearly five years to get their acts together.

First, member states must implement the Directive into their national legislation by 23 September 2018.

Second, member states must apply the Directive to the web sites of public sector bodies created after 23 September 2018 by 23 September 2019.

Third, member states must apply the Directive to the web sites of public sector bodies created before 23 September 2018 by 23 September 2020.

Fourth, member states must apply the Directive to mobile apps of public sector bodies from 23 June 2021.
eu  europe  law  governance  OU 
5 days ago
Accessibility | Digital Governance
The OU Web Accessibility Guidelines has been prepared as part of an overall digital governance review led by Digital Engagement. The working group that has produced them has drawn on expertise and representations from units across the university. It has liaised with SeGA (Securing Greater Accessibility), The Open University’s programme with responsibility for accessibility matters. ‘Web accessibility’ is defined as the practice of making websites usable by people of all abilities and disabilities. This document is intended as a practical working guide for use by:

* anyone with responsibility for new web content (including third party content)
* anyone who develops new or existing web systems 

--
accessibility  OU  guidelines  governance 
5 days ago
UglifyJS — JavaScript parser, compressor, minifier written in JS
UglifyJS is a JavaScript compressor/minifier written in JavaScript. It also contains tools that allow one to automate working with JavaScript code:

A parser which produces an abstract syntax tree (AST) from JavaScript code.
A code generator which outputs JavaScript code from an AST, also providing the option to get a source map.
A compressor (optimizer) — it uses the transformer API to optimize an AST into a smaller one.
A mangler — reduce names of local variables to (usually) single-letters.
javascript  tool 
6 days ago
uglify-es - npm
A JavaScript parser, mangler/compressor and beautifier toolkit for ES6+.

Note:
uglify-es is API/CLI compatible with uglify-js@3.
uglify-es is not backwards compatible with uglify-js@2.
Install
First make sure you have installed the latest version of node.js (You may need to restart your computer after this step).

From NPM for use as a command line app:
es6  javascript  npm  compress  module 
6 days ago
Pull Request based development (sucks)
Pull Request based development (sucks)

Published: 2017-03-18
Modified: 2018-02-24 15:17
By: Mishoo
Comments: 10 (add)


Does this workflow sound familiar? The “master” branch is considered sacred, and it's therefore locked so nobody can push directly to it. Before you even start coding, there has to be a task opened in JIRA, and a branch also created from JIRA and linked to that task, and you then start pushing commits to that branch. And when you're done, you submit a Pull Request via Stash, and wait for at least two colleagues to review and approve your patch, and only then can it be merged to master.

As a developer who has been around for almost two decades, I'm going to argue why this workflow sucks. You tell me to run, and then you tie my legs.

My development workflow
In my world, fixing a bug usually goes like this:
git  programming  workflow  blog 
6 days ago
UglifyJS 3: Online JavaScript minifier
UglifyJS 3: Online JavaScript minifier

The minified output (13237 bytes, saved 43.17%)


Uses: https://npmjs.com/package/uglify-es

--
es6  javascript  compress  our-journey 
6 days ago
json-uri - npm
json-uri
json-uri is a simple uri-compatible json translator with notable advantages:

Browser-compatible with no dependencies and size of less than 1kB
25% ~ 40% size deduction when uri-encoded, comparing to uri-encoded JSON string
json-uri searches for unused characters in provided string, and then replaces most commonly seen characters ({ } . : etc.) and sequences ("," ":" etc.) in JSON strings with them. This provides significant improvement on encoded string length with reasonable cost.

json-uri has some difference from similar packages like json-url and juri:
json  compress  zip  our-journey 
6 days ago
TAG Findings
TAG Findings
Findings are short documents that cover a specific issue in the Web architecture.

Approved Findings
The following findings reflect the current position of the TAG.

Distributed and syndicated content - 27 June 2017
The evergreen Web - 9 February 2017
Polyfills and the evolution of the Web - 7 February 2017
Unsanctioned Web Tracking - 17 July 2015
w3c  architecture  web 
8 days ago
larkplayer-ui/play-button.js at master · dblate/larkplayer-ui
createEl() {
return (
<div className={classnames('lark-play-button', this.options.className, {
'lark-play-button--mobile': !this.options.className
})}>
<div className="lark-play-button__play lark-icon-play" title="play"></div>
<div className="lark-play-button__pause lark-icon-pause" title="pause"></div>
</div>
);
}
player  video  audio  github  accessibility  bad 
11 days ago
BBC Radio 2 - Radio 2's Confessions
In an extended podcast, Jo and Simon hear listeners' shameful secrets, including ones that were too shocking for radio! Plus more of listener’ letters from the Parish Notice Board and another archive story in ‘Confession From The Crypt’.

Remove "Radio 2&#039;s Confessions" from FavouritesAdded to Favourites

Available now
Neil's photo fiasco and other tales...

54:00
All available episodes (47 total)
bbc  radio2  humour  fun 
13 days ago
exception - What's a good way to extend Error in JavaScript? - Stack Overflow
The only standard field Error object has is the message property. (See MDN, or EcmaScript Language Specification, section 15.11) Everything else is platform specific.

Mosts environments set the stack property, but fileName and lineNumber are practically useless to be used in inheritance.

So, the minimalistic approach is:

function MyError(message) {
this.name = 'MyError';
this.message = message;
this.stack = (new Error()).stack;
}
MyError.prototype = new Error; // <-- remove this if you do not
// want MyError to be instanceof Error
You could sniff the stack,
javascript  stackoverflow  error  es6 
13 days ago
‘Notice and staydown’ and social media: amending Article 13 of the Proposed Directive on Copyright: International Review of Law, Computers & Technology: Vol 0, No 0
Original Articles
‘Notice and staydown’ and social media: amending Article 13 of the Proposed Directive on Copyright
Felipe Romero-Moreno
Received 31 Oct 2017, Accepted 04 Mar 2018, Published online: 29 May 2018
Download citation https://doi.org/10.1080/13600869.2018.1475906

In this article

ABSTRACT
1. Introduction
2. Problems with notice and staydown
3. The substantive law
4. Assessment of applicability and compliance with Articles 8 and 10 of the ECHR
5. Assessment of applicability and compliance with Article 6 of the ECHR
6. Discussion of findings
7. Conclusion
References

ABSTRACT

This paper critically assesses the compatibility of content recognition and filtering technology or so-called notice and staydown approach with the right of social network platforms and users to a fair trial, privacy and freedom of expression under Articles 6, 8 and 10 of the European Convention on Human Rights (1950) (ECHR). The analysis draws on Article 13 of the European Commission’s proposal for a Directive on Copyright, the case-law of the Strasbourg and Luxembourg Court and academic literature. It argues that the adoption of content recognition and filtering technology could pose a threat to social network platforms and user human rights. It considers the compliance of ‘notice and staydown’ with the European Court of Human Rights’ (ECtHR) three-part, non-cumulative test, to determine whether a ‘notice and staydown’ approach is, firstly, ‘in accordance with the law’, secondly, pursues one or more legitimate aims included in Article 8(2) and 10(2) ECHR and thirdly, is ‘necessary’ and ‘proportionate’. It concludes that ‘notice and staydown’ could infringe part one and part three of the ECtHR test as well as the ECtHR principle of equality of arms, thereby violating the rights of social network platforms and users under Articles 6, 8 and 10 of the Convention.

KEYWORDS: Notice and staydown, human rights, ECHR

---
paper  copyright  law  internet  europe 
13 days ago
Issue statement on the draft Directive on copyright in the Digital Single Market - Petitions
Petitions
UK Government and Parliament

Petition
Issue statement on the draft Directive on copyright in the Digital Single Market
Proposal for a Directive of the European Parliament and of the Council on copyright in the Digital Single Market in its current shape will severly impact the economic freedom and freedom of speech of all EU citizens if implemented. It favours big companies and research institutes over individuals.

More details
The implementation will primarily:
1. Require to obtain a license from a publisher to quote and link to content ("link tax", Art.11);
2. Order hosts of “large amounts” of content to monitor and filter uploads (copyright "censorship machines", Art.13);
3. May grant exclusive rights to text and data mining to "research institutions" and "for the purposes of scientific research" ("optional favouritism", Art.3).
We would like to know the stance of the UK Government and Parliament on these matters.

Sign this petition
law  copyright  internet  petition 
13 days ago
Organizing CSS: OOCSS, SMACSS, and BEM | MattStauffer.com
Organizing CSS: OOCSS, SMACSS, and BEM
Posted on July 29, 2014 | By Matt Stauffer

Warning: This post is over a year old. I don't always update old posts with new information, so some of this information may be out of date.
Eric Barnes, the author of Laravel News, mentioned in his newsletter this week that he's been looking for a better way to organize his CSS. He mentioned three methods he'd looked into: SMACSS, OOCSS, and BEM, and that he had seen me writing in BEM in the video I posted last week.

I wanted to clarify a little bit, and hope this could add a little to the conversation around well-architected, modular CSS: At Tighten we do use BEM... but we also use OOCSS. And SMACSS. At the same time.

I'd love to share why and how.

What is OOCSS?
css  blog 
15 days ago
Syakieb Sungkar: 370HSSV-0773H
Minggu, 24 Juni 2018
370HSSV-0773H
Kim Jong Un decided to send Donald Trump a letter in his own handwriting to let him know
he was still in the game.

Trump opened the letter which appeared to contain a single-line coded message:

370HSSV-0773H

Trump was baffled, so he e-mailed it to the his aides, who had no clue either, so they sent it to the FBI.

No one could solve it at FBI, so it went to the CIA. With no clue as to its meaning,
FBI finally asked MSS (Ministry of State Security in China) for help.

Within a few seconds MSS​ cabled back with this reply,

"Tell The President he's holding the message upside down."
Diposting oleh Syakieb Sungkar di 03.49
humour  humor 
15 days ago
Where Wizards Stay Up Late: The Origins of the Internet by Katie Hafner
Where Wizards Stay Up Late: The Origins of the Internet
by Katie Hafner (Goodreads Author), Matthew Lyon
3.88  ·  Rating details ·  3,121 Ratings  ·  199 Reviews
Twenty five years ago, it didn't exist. Today, twenty million people worldwide are surfing the Net. Where Wizards Stay Up Late is the exciting story of the pioneers responsible for creating the most talked about, most influential, and most far-reaching communications breakthrough since the invention of the telephone.

In the 1960's, when computers where regarded as mere giant calculators, J.C.R. Licklider at MIT saw them as the ultimate communications devices. With Defense Department funds, he and a band of visionary computer whizzes began work on a nationwide, interlocking network of computers. Taking readers behind the scenes, Where Wizards Stay Up Late captures the hard work, genius, and happy accidents of their daring, stunningly successful venture. (less)
goodreads  review  internet  history  book 
15 days ago
Where wizards stay up late, by Katie Hafner and Matthew Lyon. [PDF]
WHERE WIZARDS STAY UP LATE

(THE ORIGINS OF THE INTERNET)

Katie Hafner and Matthew Lyon

A DF Books NERDs Release
TOUCHSTONE
Rockefeller Center
1230 Avenue of the Americas
New York, NY 10020
Visit us on the World Wide Web:
http://www.SimonSays.com


Copyright © 1996 by Katie Hafner and Matthew Lyon

---

ISBN 0-684-87216-1

To the memory of J. C. R. Licklider
and to the memory of Cary Lu

---

Contents

Prologue
1.The Fastest Million Dollars
2.A Block Here, Some Stones There
3.The Third University
4.Head Down in the Bits
5.Do It to It Truett
6.Hacking Away and Hollering
7.E-Mail
8.A Rocket on Our Hands
Epilogue
Chapter Notes
Bibliography
Acknowledgments
Index

---

193 pages.

---
book  internet  history 
15 days ago
What are your views about technologies to support and assess writing skills? [Awards to be won] - OpenLearn - Open University
What are your views about technologies to support and assess writing skills? [Awards to be won]
Updated Tuesday 5th June 2018
We are inviting all students and professionals to present their views about technology-supported approaches to assessment in a two-step study by June 25th, with the chance to win an award. See details further down this page.

Effective writing is a key skill for students and professionals, especially in today’s digital world. It is a central process for developing and sharing understanding as well as building and disseminating knowledge. Students learn and are assessed through their writing, whereas professionals frequently use writing to organise their thinking, present their views and get feedback through peer-review - all supported by technologies.

The digital age has enabled the read/write culture. It has created a landscape of opportunities and challenges for novice and expert writers. These includes the production and dissemination of information and knowledge by anyone, anywhere, at any time. People can access, use and contribute to immeasurable amounts of written content as sense-makers and co-authors. Meanwhile, ‘open’ initiatives, which have marked this century, have intensified this process through open content, open data, open resources, open education and open science.
openlearn  tesla  project 
22 days ago
Getting Started with Headless Chrome  |  Web  |  Google Developers
By Eric Bidelman
Engineer @ Google working on web tooling: Headless Chrome, Puppeteer, Lighthouse
TL;DR
Headless Chrome is shipping in Chrome 59. It's a way to run the Chrome browser in a headless environment. Essentially, running Chrome without chrome! It brings all modern web platform features provided by Chromium and the Blink rendering engine to the command line.

Why is that useful?

A headless browser is a great tool for automated testing and server environments where you don't need a visible UI shell. For example, you may want to run some tests against a real web page, create a PDF of it, or just inspect how the browser renders an URL.

Note: Headless mode has been available on Mac and Linux since Chrome 59. Windows support came in Chrome 60.
Starting Headless (CLI)
The easiest way to get started with headless mode is to open the Chrome binary from the command line. If you've got Chrome 59+ installed, start Chrome with the --headless flag:
chrome  javascript  test  Travis-ci 
22 days ago
pa11y/MIGRATION.md at master · pa11y/pa11y
Migrating from 4.0 to 5.0

PhantomJS to Headless Chrome

Pa11y 5.0 switches from PhantomJS to Headless Chrome. This allows us to use more modern JavaScript APIs and make Pa11y testing more stable.

Node.js Support

Pa11y 5.0 only supports Node.js v8.0.0 and higher, you'll need to upgrade to be able to use the latest versions of Pa11y.

Warnings and Notices
...
github  pa11y  accessibility  test 
22 days ago
mark-anders/relative-image-url: A simple test of using relative URL in .MD files
README.md
relative-image-url
The Stack Overflow question that I found asking if relative image links were supported said "No", but they are.

The following link is what's used below.

![Kiku](images/Kiku.jpg)
stackoverflow  github  readme  markdown 
22 days ago
Twitter
Our colleague presented on 'motivations and barriers to learning from for disabled…
from twitter_favs
23 days ago
Base64 encoding and decoding - Web APIs | MDN
The "Unicode Problem"
Since DOMStrings are 16-bit-encoded strings, in most browsers calling window.btoa on a Unicode string will cause a Character Out Of Range exception if a character exceeds the range of a 8-bit byte (0x00~0xFF). There are two possible methods to solve this problem:

the first one is to escape the whole string (with UTF-8, see encodeURIComponent) and then encode it;
the second one is to convert the UTF-16 DOMString to an UTF-8 array of characters and then encode it.
Here are the two possible methods.

Solution #1 – escaping the string before encoding it
function b64EncodeUnicode(str) {
unicode  our-journey 
24 days ago
The accessibility of administrative processes: Assessing the impacts on students in higher education - Open Research Online
The accessibility of administrative processes: Assessing the impacts on students in higher education

Coughlan, Tim and Lister, Katharine (2018). The accessibility of administrative processes: Assessing the impacts on students in higher education. In: Proceedings of the 15th International Cross-Disciplinary Conference on Web Accessibility (Web4All 2018), ACM Press, New York.

Full text available as:
PDF (Accepted Manuscript) - Requires a PDF viewer such as GSview, Xpdf or Adobe Acrobat Reader
Download (354kB) | Preview

URL: https://www.dropbox.com/sh/e2dz1y41fzrxsks/AADd5ZVDoPiGbCFHHgV7IusWa?dl=0&preview=21.pdf

DOI (Digital Object Identifier) Link: https://doi.org/10.1145/3192714.3192820

Google Scholar: Look up in Google Scholar


Abstract
Administrative processes that need to be completed to maintain a basic standard of living, to study, or to attain employment, are perceived to create burdens for disabled people. The navigation of information, forms, communications, and assessments to achieve a particular goal raises diverse accessibility issues.
ORO  OU  IET-OU  research  paper  accessibility  a11y  TimCoughlan  KateLister 
24 days ago
Twitter
RT : Call for Papers in special issue of International Journal of Inclusive Education: The efficacy of policies, theorie…
from twitter_favs
24 days ago
Ed Sheeran donates Lego head to local charity shop - BBC News
England
selected
Local News
Regions
Suffolk
selected
Ed Sheeran donates Lego head to local charity shop
1 hour ago
Share this with Facebook Share this with Twitter Share this with Messenger Share this with Email Share
Image copyrightPA / ST ELIZABETH HOSPICE
Image caption
Shape of You: Ed Sheeran and his Lego self
Ed Sheeran has donated a life-sized Lego model he made of his own head to his local charity shop.

Staff at St Elizabeth Hospice in the singer's hometown of Framlingham, Suffolk, praised the brick bust as an "incredible" donation.

Sheeran also donated a record player, skateboard, headphones, school books and Heinz tomato sauce memorabilia.

"He's been really generous - every now and again he has a clear out," said hospice spokeswoman Helen Owen.
bbc  news  uk  music 
28 days ago
Titan TTB353SHR 2500W 80kg/hr Electric Garden Shredder 230-240V | Garden Shredders | Screwfix.com
TITAN TTB353SHR 2500W 80KG/HR ELECTRIC GARDEN SHREDDER 230-240V (39931)
View reviews (458)

View all Q&A
Garden shredder with powerful, long-life induction motor and thermal cut-out protector for additional user protection. Large wheels for improved manoeuvrability.

80kg/hr Material Throughput
Shreds Branches up to 45mm Dia.
Cutting Blades
2500W
2 Year Manufacturer's Guarantee (T&Cs Apply)
More Info

View all: Titan Garden Shredders

£84.99INC VAT
QTY
Add to basket for...
house  garden  electric  tool  screwfix 
29 days ago
Twitter
RT : It's Monday, and that means the conference! An exciting programme with some great speakers. Programme he…
from twitter_favs
29 days ago
Week in pictures: 9 - 15 June 2018 - BBC News
In Pictures
Week in pictures: 9 - 15 June 2018
16 June 2018
Share this with Facebook Share this with Twitter Share this with Messenger Share this with Email Share
Our selection of some of the most striking news photographs taken around the world this week.

Image copyrightDYLAN MARTINEZ / REUTERS
Image caption
A cat reputed to have psychic powers picked the home team, Russia, to beat Saudi Arabia in the opening match of the World Cup on Thursday, a prediction that then came true. Achilles, who is deaf, selects winners by choosing from two bowls of food marked with flags from the opposing sides.

Image copyrightTOLGA AKMEN / AFP
Image caption
One year on from the fire that killed 72 people, the remains of the Grenfell Tower, and other London buildings, were illuminated in green at 00:54 BST, the time the fire was first reported in a flat on 14 June 2017.
bbc  in-pictures  photo 
4 weeks ago
Smashing a cycling record... on a Penny Farthing - BBC News
Smashing a cycling record... on a Penny Farthing

Scots cyclist Mark Beaumont rode 21.92 miles (35.3km) in an hour on the vintage-style bike to beat the 127-year-old British record at Herne Hill Velodrome.

But the Scottish cyclist was 290 yards short of the world record of 22 miles and 150 yards.

Mark holds the record for cycling around the world, which he did in 2017 in 79 days, 44 fewer than the previous record.

15 Jun 2018
bbc  news  cycling  scotland 
4 weeks ago
11 Watt B22 (Bayonet) LED Filament Bulb - Clear (4000 Kelvin)
11W B22 (Bayonet) Filament LED Bulb - Clear (4000K)
SKU: B22-11W-A67-4000K-C
Reward Points You will earn 22 Points for purchasing this product.
£7.19
★★★★★ ★★★★★
(See all 35 reviews)
light  house 
4 weeks ago
[badge/dynamic/json] User defined JSON source badge by RedSparr0w · Pull Request #820 · badges/shields
[badge/dynamic/json] User defined JSON source badge #820

Merged RedSparr0w merged 33 commits into badges:master from RedSparr0w:custom_source on Nov 1, 2017
+123 −0
Conversation 77 Commits 33 Checks 0 Files changed 4

RedSparr0w commented on Oct 28, 2016 •
Usage
Allow users to specify their own API/source of json data.

JSONPath query helper

Should also help to minimize the amount of new badges requested as users could easily create a 1 off badge for themselves.

Format
Badge url: /badge/dynamic/json.svg?

?a=b params Usage Example Example Badge
uri (required) Address where json is located uri=http://path.to.json
github  badge  json  xpath  xml  svg 
4 weeks ago
Displaying Google Analytics metrics in your README – Google Cloud Platform - Community – Medium
Jiayu YiFollow
Singapore University of Technology and Design student. https://blog.jiayu.co
Jul 4, 2017
Displaying Google Analytics metrics in your README
Custom dynamic repository badges with shields.io and Google Cloud Functions
If you’ve browsed open-source code on GitHub (or other online code hosting services), you’ve probably seen these repository badges before:
analytics  badge  SVG  google  readme  github 
4 weeks ago
fetchbot - npm
About
FetchBot is a library and shell command that provides a simple JSON-API to perform human like interactions and data extractions on any website and was built on top of puppeteer.

Bot working principle:

Fetch working principle:

Using FetchBot you can do both:

automate website interactions like a human
treat website(s) like an API and use fetched data in your project.
FetchBot has an "event listener like" system that turns your browser into a bot who knows what to do when the url changes. The "event" is an url/regex and it's configuration is executed, once the url/pattern matches the currently opened one. Now on it's up to you to configure a friendly bot or a crazy zombie.

const myFetchBotInstance = new FetchBot({attached:true});
 
let resultForJob1 = await myFetchBotInstance.runAndStandby('/path/to/job1.json');
let resultForJob2 =  await myFetchBotInstance.runAndStandby('/path/to/job2.json');
 
await myFetchBotInstance.exit();
 
// Now do something with the results 
console.log(resultForJob1);
console.log(resultForJob2);
npm  javascript  tool  robot 
5 weeks ago
Digital innovation: award winner and runners up | Higher Education Network | The Guardian
To respond to this challenge, the OU developed a new media tool: the accessible interactive media player (AIM). This runs in all modern web browsers and devices, and delivers audio-visual content alongside additional features that make it more accessible to disabled people.

AIM offers a range of features, including subtitles and interactive transcripts – where, if a student clicks on a paragraph of text, the video advances to that point. Students can also navigate videos through chapter markers and playlists, while text and audio descriptions improve access for sight-limited users. Students can also use in-video annotations to add extra information.

The tool doesn’t just benefit disabled students, it also makes online resources easier for other students to navigate. It’s also hoped that the videos will allow academics to adopt new pedagogical techniques - for instance, a multiple-choice question can pop up at a specific point over the video, with each answer hyperlinked to a different place, congratulating those who get it right and providing additional information to others.

The AIM has been rolled out for all modules and since 2017 is available to around 175,000 students.
ou  video  player  award  ouplayer  guardian  accessibility 
5 weeks ago
Fw: MAODE student in Uganda #248887
Many thanks for any help or suggestions.

Sarah


---
Sarah McKernan | Manager, Curriculum Innovation

Learning and Teaching Innovation

The Open University, 351 Altrincham Road, Sharston, Manchester, M22 4UN

Tel: +44 (0) 161 956 6896
---
 

-- The Open University is incorporated by Royal Charter (RC 000391),
teamwork  email  OU  manchester  uk 
5 weeks ago
Chapter 16. Miscellaneous Questions
16.12.

Why should I care what color the bikeshed is?

The really, really short answer is that you should not. The somewhat longer answer is that just because you are capable of building a bikeshed does not mean you should stop others from building one just because you do not like the color they plan to paint it. This is a metaphor indicating that you need not argue about every little feature just because you know enough to do so. Some people have commented that the amount of noise generated by a change is inversely proportional to the complexity of the change.

The longer and more complete answer is that after a very long argument about whether sleep(1) should take fractional second arguments, Poul-Henning Kamp <phk@FreeBSD.org> posted a long message entitled “A bike shed (any color will do) on greener grass...”. The appropriate portions of that message are quoted below.

 
“What is it about this bike shed?” Some of you have asked me.
bikeshed  linux  unix  faq 
5 weeks ago
JavaScript Standard Style
I disagree with rule X, can you change it?

No. The whole point of standard is to save you time by avoiding bikeshedding about code style. There are lots of debates online about tabs vs. spaces, etc. that will never be resolved. These debates just distract from getting stuff done. At the end of the day you have to 'just pick something', and that's the whole philosophy of standard -- its a bunch of sensible 'just pick something' opinions. Hopefully, users see the value in that over defending their own opinions.

If you really want to configure hundreds of ESLint rules individually, you can always use eslint directly with eslint-config-standard to layer your changes on top. standard-eject can help you migrate from standard to eslint and eslint-config-standard.

Pro tip: Just use standard and move on. There are actual real problems that you could spend your time solving! :P
faq  standards  javascript  guidelines 
5 weeks ago
AXSChat ... award ... (13) LinkedIn
Debra Ruh
Disability Inclusion & Accessibility, Host of HPAW & AXSChat, US State Speaker & UN ILO GBDN, Global Goodwill Ambassador
1w


The AXSChat team Antonio Santos Neil Milliken and Debra Ruh are so proud and honored to #win the #European #Digitial MIndset #Awards #2018 for Best Digital Campaign for #AXSChat.  Our chat has been a weekly Twitter #chat on #accessibility, #digitial and #Disability Inclusion and #empowerment since Nov 2015.  Learn more at www.AXSChat.com.  Thanks #DES #award #digitization #campaigns #disabilities 
linkedin  accessibility  a11y  AXSChat 
5 weeks ago
The Mistakes I Made As a Beginner Programmer – Samer Buna – Medium
Samer BunaFollow
Author for Pluralsight and Lynda and curator of jsComplete.com
Feb 14
The Mistakes I Made As a Beginner Programmer
Learn to identify them, make habits to avoid them

Let me make one thing clear first. If you are a beginner programmer, this article is not meant to make you feel bad about the mistakes that you might be making but rather to make you aware of them, teach you to spot signs of them, and remind you to avoid them.

I have made these mistakes in the past and learned from each and every one of them. I am happy to have formed coding habits to help me avoid them. You should do too.

These mistakes are not presented here in any particular order.

1) Writing Code Without Planning
programming  article  medium 
6 weeks ago
Crazy Air Show Stunt - YouTube
Crazy Air Show Stunt
757,811 views

2.5K

90

SHARE

Hugo Rodrigues
Published on 6 Feb 2010
SUBSCRIBE 270
Category :: Comedy
Licence :: Standard YouTube Licence
SHOW MORE
298 Comments
SORT BY

Add a public comment...

Kyle Franklin
2 years ago (edited)
When did I start working for Delta Airlines? The Super Cub is a 1956 PA-18A, only things that have been modified is the engine has been punched out to 181 HP (Still original O-320) and skid plates on the wing tips. My Father and I have done this act for years with stock Super Cubs.
youtube  video  fun 
6 weeks ago
grunt-strip-code - npm
grunt-strip-code

The grunt-strip-code plugin is used to remove sections of code from production builds that are only needed in development and test environments. grunt-strip-code uses start and end comments to identify the code sections to strip out. For example:

/* test-code */
removeMeInProduction();
/* end-test-code */
 
doNotRemoveMe();

A use-case for this practice is to make private JavaScript functions accessible to unit tests without exposing them in production builds. This blog post goes into more detail about the concept and implementation.
npm  tool 
6 weeks ago
badges - npm
badges

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
Patreon donate button Open Collective donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button
Slack community badge

The definitive collection of badges for rendering

Install
npm  badge  SVG 
6 weeks ago
badge-up - npm
badge-up


This is a simple library that generates SVG badges without Cairo.
npm  badge  SVG 
6 weeks ago
A bright future for GitHub | The GitHub Blog
Jun 04, 2018

@defunkt | Chris Wanstrath | http://chriswanstrath.com/


I am very excited to announce that Microsoft is acquiring GitHub and expect the agreement to close by the end of the year. While it will still take a few months to finalize, we wanted to share the news as soon as we were able.

When GitHub first launched ten years ago, I could have never imagined this headline. Git was a powerful but niche tool, clouds were just things in the sky, and Microsoft was a very different company. Open source and business, people said at the time, mixed as well as oil and water.

We disagreed. As developers, we knew this was a false dichotomy—we had been using open source software successfully in a business setting for a long time. What we really needed was an easier way to work with others regardless of whether the code was public, private, or something in-between. We wanted to do it using Git, we wanted anyone in the world to be able to join in, and we didn’t want it to cost a dime if it was open source. So we created GitHub.
github  blog  microsoft 
6 weeks ago
Twitter
Ingleton hostel hairdressers has been busy this evening!
from twitter_favs
7 weeks ago
Twitter
Mr Hughes and Mrs Baldwin’s group were amazing at caving today and even squeezed through ‘the corkscrew’.
from twitter_favs
7 weeks ago
Twitter
Mr Hughes and Mrs Baldwin’s group went gorge scrambling and rock climbing/ abseiling today.
from twitter_favs
7 weeks ago
Twitter
Mr Hughes and Mrs Baldwin’s group went on a countryside walk and learnt a lot about edible flowers and herbs!
from twitter_favs
7 weeks ago
Angular vs. Knockout: Similarities and Fundamental Differences · Devbridge
BY:Tomas Kirda POSTED ON:12/01/2014 TOPIC:Engineering
Angular vs. Knockout: Similarities and Fundamental Differences


AngularJS and KnockoutJS are JavaScript libraries that help create rich and responsive web UI interactions. KnockoutJS is a library that connects parts of the UI to a data model using declarative bindings. The same can be said about AngularJS, which is where the confusion comes from. The fundamental difference between the two solutions is that AngularJS manages the whole application and defines guidelines on how the application code should be structured, whereas with KnockoutJS the application structure is entirely up to you.

Let’s review some relevant terminology:

Library - a collection of functions used to write web apps. Your code is in charge, and it references the library when it needs to.

Framework - a particular implementation of a web application, where code fills in the details. The framework is in charge, and it references your code when it needs something app specific.

Let’s compare features that are similar and review how they differ.

Data Binding
angular  javascript  framework  blog  review  article 
7 weeks ago
Most GDPR emails unnecessary and some illegal, say experts | Technology | The Guardian
Most GDPR emails unnecessary and some illegal, say experts
Many firms have the required consent already; others don’t have consent to send a request

Alex Hern

@alexhern
Mon 21 May 2018 17.21 BST Last modified on Mon 21 May 2018 17.48 BST
Shares
5,361

Inboxes have been flooded lately with GDPR-related emails. Photograph: Alamy
The vast majority of emails flooding inboxes across Europe from companies asking for consent to keep recipients on their mailing list are unnecessary and some may be illegal, privacy experts have said, as new rules over data privacy come into force at the end of this week.

Many companies, acting based on poor legal advice, a fear of fines of up to €20m (£17.5m) and a lack of good examples to follow, have taken what they see as the safest option for hewing to the General Data Protection Regulation (GDPR): asking customers to renew their consent for marketing communications and data processing.


Why the GDPR email deluge, and can I ignore it?
Read more
But Toni Vitale, the head of regulation, data and information at the law firm Winckworth Sherwood, said many of those requests would be needless paperwork, and some that were not would be illegal.

“Businesses are not required to automatically ‘repaper’ or refresh all existing 1998 Act consents in preparation for the GDPR,” Vitale said. “The first question to ask is: which of the six legal grounds under the GDPR should you rely on to process personal data? Consent is only one ground. The others are contract, legal obligation, vital interests, public interest and legitimate interests.
guardian  privacy  legal  data  GDPR  article 
7 weeks ago
Why You Shouldn’t Accept My Invitation to Join Me on Remote.com (Because I Didn’t Send It)
By not revealing what “connecting” your Google account will do, Remote.com violates any trust it could hope to have with users. It’s certainly lost mine, and at this point I’m struggling to figure out how to delete my account. (I’ve also tried to complain about their use of my email account through Twitter and through their customer service, but I’ve had no response.) Far from inviting people to join me there, I want to invite my connections to join me in boycotting it—but interestingly, I can’t. Google may allow Remote.com to send an indentical spam message to all of my contacts, but if I attempted to do the same, it would cut me off quickly. I’d find myself without any ability to use the account at all.
spam  bad  medium  news  article 
8 weeks ago
DiscOU - the OU content discovery tool
Creating or updating a course?
Explore the OU's existing archive for resources and ideas.

Search by text
Search by topic
Search by URL
If you're looking for extra material which can add to the content you're producing, use this search. Paste a portion of text you're looking to match – a sentence is good; a paragraph is better; the more you use to search with, the better the results will be. We'll suggest content based on the themes contained in your search text – and then you can fine-tune these results.

Please enter text (please enter text)

Submit Search

Advanced options
Open Content Open Courses Podcasts VideoFinder iWonder iPlayer
ou  IET-OU 
8 weeks ago
DiscOU - the OU content discovery tool / Wayback Machine
Creating or updating a course?
Explore the OU's existing archive for resources and ideas.

Search by text
Search by topic
Search by URL

If you're looking for extra material which can add to the content you're producing, use this search. Paste a portion of text you're looking to match – a sentence is good; a paragraph is better; the more you use to search with, the better the results will be. We'll suggest content based on the themes contained in your search text – and then you can fine-tune these results.
ou  IET-OU  psycle  archive.org 
8 weeks ago
Twitter
So this is really lovely on how reading can help heal & especially how rereading can connect you back to yourself.
from twitter_favs
8 weeks ago
Bucks 11 Plus | Eleven Plus Exams.co.uk
Bucks 11 Plus Admissions Information for September 2019 entry
CLOSING DATE FOR APPLICATIONS 28th June 2018 at 3pm (open 1st May 2018 at 3pm – Registration is required for all children attending Partner Schools and out of county schools). Children attending Bucks state schools do not need to register. Parents can notify their child’s headteacher if they do not wish their child to take the test
31st October 2018 for the Common Application Form
11+ TEST DATES Thursday 13th September 2018
Preparation Test: Tuesday 11th September 2018 – two practice test
school 
8 weeks ago
LED Lumens To Watts Conversion Chart - The Lightbulb Co.
Call us: 01869 362222
0
SHOPPING BASKET
item - £0.00

LED BULBSTOOLS & RESOURCES
LED LUMENS TO WATTS CONVERSION CHART

LED Lumens to Watts Conversion Chart - The Lightbulb Co. UK

LUMENS ARE THE NEW UNIT OF MEASUREMENT FOR LIGHT BULBS

For decades, we’ve been buying light bulbs according to wattage. But as low-wattage, energy efficient light bulbs like CFLs and LEDs become easily available at an affordable price, buying bulbs based on watts has become less prevalent.
electricity  house  extension  light  electric 
8 weeks ago
Why the promise of low-code software platforms is deceiving
EVALUATE
Why the promise of low-code software platforms is deceiving
4

Low-code/no-code platforms mean anyone can code, right? Wrong. Columnist Bob Reselman explains why this is a dangerous thought for enterprises.

Bob Reselman
Follow:

If you believe what you read, low-code/no-code solutions are sent from above to solve virtually every software development problem around.

My response? Give me a break.

This is nothing new. Companies have been trying to achieve the concept of low-code software since the first punch cards containing COBOL code ran through an IBM S/360. In fact, being able to type code directly into a binary file instead of a set of punch cards was an early attempt at increasing developer productivity. Loading data from disk into memory to run code is way faster than having to run punch cards through a feeder.
programming  article  low-code  critique 
8 weeks ago
Welcome to Demoprints - Demoprints
Home
About
Browse
LoginCreate AccountIRStats2 Demo

Welcome to Demoprints

This repository is a demonstration of 3.3.12.
It is open for anyone to manage and change.
You may register as an administrator or editor (on a normal installation you could not do this).
All changes are reset automatically every Sunday at 4am, at which point all data is lost.
Atom RSS 1.0 RSS 2.0
Latest Additions

View items added to the repository in the past week.
eprints  oro  OU  perl 
8 weeks ago
The sadness of living without sex - BBC News
Stories
The sadness of living without sex
17 May 2018
Share this with Facebook Share this with Twitter Share this with Messenger Share this with Email Share
Image copyrightGETTY IMAGES
Last week we published the story of "Joseph", a 60-year-old man who wrote about his regret at missing out on sexual experiences until the age of 37. Many readers wrote to say that his story struck a chord with them - echoing his point that society aggravates the problem by unfairly portraying lonely people as strange or inadequate.

Here is a selection of their emails.

Robert: I am 61 and still waiting and I am probably too late to start now. I have always been too worried about being laughed at and ridiculed. I finally realised I was unlikely to get anywhere when turned down by a prostitute when in my 30s.
bbc  society  mental  health 
8 weeks ago
TODAY: Global Accessibility Awareness Day
17 May 2018

Today is Global Accessibility Awareness Day (GAAD) - get involved for the chance to win an Amazon voucher!

Lunchtime GAAD Meetup
Come along to the Library Atrium on Thursday 17 May from 12.30 - 2.00 for an informal accessibility meetup on the theme of ‘accessible content creation'. Join staff at 12:30 in the Library presentation room for videos and discussion around the study needs of students with disabilities.

Staff from different areas of the OU will be on hand to share what they've been working on. There will also be guided practical sessions where you can try out assistive technologies, or complete an activity.

Bring your lunch and we'll provide coffee, tea, biscuits and cake.

Desk-based activities
Do you want to put yourself in the shoes of a student with disabilities? Why not try the short-desk based activities listed on the OU GAAD 2018 blog. These activities cover the types of adjustments our students withdisabilities have to make to study online.

People who take part in the activities will have the chance to win an Amazon voucher. 

As our Acting Vice Chancellor Mary Kellett states:

‘There are over 23, 000 students with disabilities at the OU. If we take a bit of time to find how we can contribute to making our content more accessible, I'm convinced we can make a real difference to students' learning journeys. I hope everyone will get involved with Global Accessibility Awareness Day this year and will take a little time to learn how to make a big difference.'
gaad  ou  intranet  news  event 
8 weeks ago
The lady vanishes: Victorian photography's hidden mothers | Art and design | The Guardian
The lady vanishes: Victorian photography's hidden mothers
Why is there a human-sized lump at the back of these baby portraits? Bella Bathurst on the Victorian women who went to extreme lengths to get their children to sit still

• The invisible women: spot the mothers – in pictures
Bella Bathurst

Mon 2 Dec 2013 08.00 GMT First published on Mon 2 Dec 2013 08.00 GMT
Shares
2,011
Comments
55

A 19th-century 'hidden-mother' portrait. Click to enlarge
Babies may be insatiably photogenic, but somehow they don't really suit the whole business of photography. The flash makes them startle. They wriggle. They cry. They blink. You prop them up with cushions – and seconds later, they're upside down gnawing their own toes. They make Dr Evil hand-signals. They fall asleep. They drool.
guardian  history  photo  photos  QI 
8 weeks ago
Invisible women: can you spot the mothers in these photographs? | Art and design | The Guardian
Photography
Invisible women: can you spot the mothers in these photographs?
Shares
47,129
With exposure times of half a minute, Victorian mothers wanting a portrait of their children had to disguise themselves as chairs, couches and curtains to hold them still. The results, captured in Linda Fregni Nagler's book The Hidden Mother, are both touching and unsettling

Creepy vintage Halloween costumes – in pictures
Mon 2 Dec 2013 08.00 GMT
guardian  photo  QI  history  photos 
8 weeks ago
How Microsoft reinvented its Xbox controller to adapt to everyone - CNET
CULTURE
How Microsoft reinvented its Xbox controller to adapt to everyone
The new $99 Xbox Adaptive Controller lets you plug in the gadgets you need. It's all about accessibility.

BY
IAN SHERR
MAY 17, 2018 7:55 AM PDT


James Martin/CNET
Mike Luckett is a lifelong gamer.

He started at the age of 5 nearly three decades ago, joining his older brother who was playing the original Super Mario Bros. title on the Nintendo Entertainment System. Within a few years, he was playing games like Id Software's 1992 Nazi prison break shooter, Wolfenstein 3D, and the followup sci-fi hit Doom.
gaad  game  microsoft  disability  a11y  accessibility  hardware  dis-ABILITY 
8 weeks ago
(429) https://twitter.com/i/web/status/997216954627837953
Because of the nonstop rain, has been issuing many areal flood products. Which my screen reader reads…
from twitter_favs
8 weeks ago
(429) https://twitter.com/i/web/status/997215099038371840
Another huge thank you to for sharing his story in the spirit of from Tokyo!

Katsutoshi shares…
from twitter_favs
8 weeks ago
Twitter
GNU Mailman is celebrating Global Accessibility Awareness Day with a whole lot of small fixes to the web interface:…
from twitter_favs
8 weeks ago
Twitter
Yay, I'm 'and team', and you're welcome
from twitter_favs
8 weeks ago
« earlier      
10-things 100-women 2017 50-things a11y accessibility africa ala ald15 alistapart analytics angular api applaud architecture archive art article asia av axschat badge bbc benefits biography blog book bookmarking browser browserify bug build business caption car cheatsheet children china climate cloudworks codeigniter coffee commons community competition conference course creativecommons css culture cycling data depression design dev8d devacuk developer dis-ability disability diy drupal eab economics education elearning electric electricity email engineering environment es6 europe event extension facebook film firefox flash flickr food form forum free fun gaad garden gettext git github google googledoodle gpl guangyu guardian health history house howto html5 http humor humour idea ie iet iet-ou image imoot2010 in-pictures international internet java javascript jekyll jime jisc jquery js json kitchen language law legal library license light linux list literature london long-form lse mac magazine maltwiki management map medicine mental mentalhealth microsoft missing-pet mk mobile module money moodle mozilla music mysql nature news newsbeat nginx node nodejs npm nquire obituary oembed oer olnet online opensource openu openuniversity oro osx ou paper pattern pdf pension people performance photo photos php phpcourse phpsec plugin podcast politics presentation productivity programming project python quiz radio research review rosie school science scotland screenreader search security server shop singing slideshare society software space spec speech sport sql ssl stackexchange stackoverflow stammer stutter support svg svn tagcloud technology telegraph tesla test the tips tool trac translation travel travis-ci trending trickytopic tv twapper twitter uk university usa usability video w3c wai-aria weather web web2.0 wiki wikipedia wordpress world writing yahoo youtube

Copy this bookmark:



description:


tags: