ide

Wales childcare provider business rates scrapped

Registered childcare providers in Wales won't have to pay business rates, says the Welsh government.




ide

Work at tide mill to replace flood-worn wood frame

Parts of a vital frame have been damaged by flooding and need to be replaced.




ide

Other sites considered for nuclear waste disposal

Nuclear Waste Services says it is undertaking a range of studies in the search area.




ide

Zoe's Place hospice 'confident' of no service gap

The charity says it is "confident" there will be no gap in the service before its new building is ready.




ide

Referee Coote suspended amid Liverpool and Klopp video inquiry

Premier League referee David Coote is suspended with immediate effect by refereeing body PGMOL.




ide

Riots meant 'I didn't go outside with my hijab'

A report on the summer riots shows asylum seekers and refugees were afraid to leave their homes.




ide

Residential special school could close next year

Wandsworth Council says the proposed closure of the Broadstairs school is for financial reasons.




ide

Sale's Hill gets 10-week ban for Bath fan incident

Sale and England forward Jonny Hill is given a 10-week suspension for an incident involving a fan after their Premiership semi-final loss to Bath.




ide

'We can't go two weeks without an accident'

Locals say a crossroads in Cheadle by The Huntsman pub is becoming notorious for crashes.




ide

Car left lodged in side of house after crash

The car lodged itself in the side of the building on Sunday, but no-one was injured in the crash.




ide

Hunting Act: Countryside still divided 20 years on

Hunters claim it is a "way of life", but their opponents say they are breaking the law.




ide

Town residents fear for future of treasured hotel

The Royal Victoria Hotel, which closed in 2015, is due to undergo emergency repairs.




ide

The EFL sides in danger of an FA Cup upset

Burton Albion and Morecambe are among the EFL sides facing non-league opposition in the FA Cup first round.




ide

Kingsway residents seek more access roads to reduce congestion

Reporter Duncan Cook has been finding out more.




ide

Queen gives campaigning duo Pride of Britain award

The pair started campaigning after Joanna Simpson was killed by her husband in Ascot in 2010.




ide

Restrictions introduced as Bluetongue case identified

A restriction zone has been extended to cover the island and part of Hampshire.




ide

Investigation after man found dead inside his home

Police are asking for anyone with doorbell or dashcam footage of the man to come forward.




ide

More e-scooters seized as riders flout law

Officers are seizing e-scooters “immediately” off the streets if they are seen in public places.




ide

Inside an abandoned Essex RAAC school

St Andrew's Junior School in Hatfield Peverel might not be completely rebuilt until 2028.




ide

Race voided as stalls stranded on track

A race at Chelmsford is dramatically halted because the starting stalls could not be removed from the track.




ide

World champion Payne aims to boost sidecar profile

World sidecar champion Harry Payne plans to also compete in the British Championship next year to help boost his profile.




ide

Birmingham residents face 'cruel' price rises

The cost of hundreds of council services will increase in Birmingham ahead of a planned 10 per cent council tax hike.




ide

Father’s pain after son dies at playing Spider-Man

Five-year-old Saleh Aslam was climbing a radiator which fell on top of him near Watford.




ide

BBC Sounds: 'Gig Buddies means I can see Iron Maiden again'

Gig Buddies partnered Lee up with Steve as they share similar musical tastes.




ide

Hereford's global grilling megastars go stateside

The Beefy Boys are in the running to be crowned the World's Best Burger!




ide

Safety improvements at accident 'hot spot' begin

New road markings are being installed on the slip road following a fatal crash in September.




ide

Spy poisoning sparked 'incident of scale not seen'

A counter terror commander tells an inquiry the Salisbury poisonings were “truly unprecedented".




ide

The dark side of nursery rhymes

A Coventry teacher has written a play about the attempted murder of Humpty Dumpty.




ide

Care home residents pose for fundraising calendar

The project's organiser says she wants to show the vibrant lives led by the care home residents.




ide

Smart meters in north/south divide, Bitcoin breaks through $82,000 barrier

The way smart energy meters work in northern England and Scotland is causing issues for customers, BBC Panorama has been told. The body that represents energy companies, Energy UK, has […]

The post Smart meters in north/south divide, Bitcoin breaks through $82,000 barrier appeared first on Tech Digest.




ide

LiveSide is retiring, thanks for all your support

All good things must come to an end, and this blog is no exception. When Chris Overd, Matthew Weyer, and Harrison Hoffman founded LiveSide.net back in December of 2005 (LiveSide’s first post was on January 3rd, 2006, …




ide

The ultimate guide for using behavioural analytics and A/B testing to optimise website conversions

Content may be king, but data sits behind the throne and has the king’s ear. 

You want to be informed by data before you make changes to your marketing strategies. This is never truer than in the case of your website, which is a rich source of behavioural analytics and, therefore, a valuable insight into your audience’s interests.




ide

Use of ch unit considered inappropriate (in certain circumstances)

Update: The title of this post was originally a knowing nod to the considered harmful cliché. I thought it might be amusing and get a bit of attention. However it was brought to my attention by a few people I respect that the title as written might be harmful in itself, so I changed it. However I believe that the subtle point I’m trying to make still stands:

When did we start using the ch unit to specify the maximum length for a line of text? Many places you look nowadays you'll see a variation on:

.prose {
  max-inline-size: 60ch;
}

Is it because of a direct reading of Bringhurst and people (like me) who’ve quoted him:

Anything from 45 to 75 characters is widely regarded as a satisfactory length of line for a single-column page set in a serifed text face in a text size. The 66-character line (counting both letters and spaces) is widely regarded as ideal. For multiple column work, a better average is 40 to 50 characters.

I get it: there’s all that talk of ’characters’. But that’s not what Bringhurst means literally. I’ll come back to that shortly.

Firstly let’s remind ourselves about the CSS ch unit. While ch sounds like it should equate to a number of characters or a character width, that’s not strictly the case. The ch unit specifically refers to the width of the zero ’0’ character within the selected font, or 0.5em if no ’0’ is present. So unless you have a line made up entirely of zeroes, or are using a monospaced font, a width of 66ch will probably not give you a line containing 66 characters. What’s more, the rendered width of that line will vary with the font design, sometimes significantly.

Two text blocks are set to 34 ch wide, but the use of a condensed font (top) and an expanded font (bottom) makes the rendered width narrower and wider respectively.

The important part of Bringhurst’s guideline is not the ’66-characters’ but the ’satisfactory length’. This is about readability, and readability is affected by the length of a line more so than the number of characters in it.

A consistent finding is that long line lengths on screen are least preferred or judged as least easy to read [my emphasis]

With that in mind, restricting your line length using rem would be a far more appropriate unit to use:

.prose {
  max-inline-size: 30rem;
}

This would give you a line length accessibly tied to text size, but independent of font design.

But is using ch harmful?

Bringhurst’s guideline includes this little caveat: a page set in a serifed text face in a text size. This enables him to equate the number of characters in a line with its length. So if you are using a fairly standard typeface for your text then you’ll probably be fine. However that ’standard typeface’ assumption is implicit anytime you use ch to set the width of a column of text. Using rem removes that assumption and gives you what you are probably really after – a consistent, predictable limit on line length.

It didn’t surprise me to find that Eric Meyer had written about this six years ago. I’ll leave you with an important observation from his post:

If you’re working with multiple typefaces, say one for headlines and another for body copy, be careful about setting ch measures and thinking they’ll be equivalent between the two fonts. The odds are very, very high they won’t be.

So is using ch harmful? At the risk of saying it depends, it might not be harmful, but it could be, and there is a far more reliable and appropriate unit to use by way of the rem when it comes to limiting line length in a column of text.

Read or add comments




ide

Earthy earns maiden England U21 call-up

Bristol City midfielder George Earthy called up to the England Under-21 squad for the first time after a series of withdrawals due to either injury or transitions into the senior squad.





ide

Hyde Park Winter Wonderland 2024: A Guide To Visiting London's Huge Christmas Festival

When to go, what to see and how to save money.



  • London
  • Christmas in London
  • Winter Wonderland
  • christmas in London
  • HYDE PARK WINTER WONDERLAND
  • LONDON AT CHRISTMAS
  • WINTER WONDERLAND HYDE PARK
  • WINTER WONDERLAND TICKETS
  • WINTER WONDERLAND MAP
  • 2024
  • CHRISTMAS 2024

ide

Is Nintendo Switch 2 about to be announced? Instagram lowers quality of less popular videos

The internet is still convinced a Nintendo Switch 2 announcement is going to happen this month, as a part of a major third-party open world game is also rumoured. It’ll […]

The post Is Nintendo Switch 2 about to be announced? Instagram lowers quality of less popular videos appeared first on ShinyShiny.





ide

Michigan needs new ideas for high absenteeism and falling student scores

Education choice is succeeding in other states




ide

Six ways to analyze campaign ideas

Know before you vote




ide

Biden followed FDR's lead in tampering with SCOTUS

This isn’t the first time a president claimed democracy was ‘under attack’




ide

Protect Michigan's Presidential Votes

Lawmakers should resist National Popular Vote




ide

The SEO Starter Guide got a makeover

Today we're publishing a refreshed, more pocket-sized version of the SEO Starter Guide with a better focus on a starter audience and the topics we think a person who's just dipping their toes in SEO should focus on and why.




ide

Lenguaje policial estadounidense

La revista policial estadounidense PoliceMag contiene en su web un pequeño apartado llamado Cop-Slang para familiarizarse con el lenguaje policial. Las entradas son creadas por los propios usuarios y lectores por lo que se debe de tener la debida precaución a la hora de fiarse de las entradas y de si un término se usa […]




ide

Hide ribbon in SDL Trados Studio 2014

I am not one of those who criticize the ribbon in Microsoft and other software. On the other hand, while the large monitor of my desktop PC offers a plenty of working space, I cannot say the same about my … Continue reading




ide

Los riesgos (no tan evidentes) de la IA en la redacción de documentos jurídicos

La IA generativa está aquí para quedarse. Debemos conocer todo su potencial y usarla en nuestro trabajo diario, pero tomando las debidas precauciones. Nos confesamos creyentes en la Inteligencia Artificial. No está aquí para sustituirnos, sino para ayudarnos a hacer mejor nuestro trabajo: pero no...

La entrada Los riesgos (no tan evidentes) de la IA en la redacción de documentos jurídicos aparece primero en Traducción Jurídica.




ide

OAuth2 Introspection with WSO2 ESB and WSO2 Identity Server

The OAuth2 specification defines several parties: the Client, the Resource Owner, the Authorization Server and the Resource Server. Here is the (textual) diagram from the spec:



     +--------+                               +---------------+
     |        |--(A)- Authorization Request ->|   Resource    |
     |        |                               |     Owner     |
     |        |<-(B)-- Authorization Grant ---|               |
     |        |                               +---------------+
     |        |
     |        |                               +---------------+
     |        |--(C)-- Authorization Grant -->| Authorization |
     | Client |                               |     Server    |
     |        |<-(D)----- Access Token -------|               |
     |        |                               +---------------+
     |        |
     |        |                               +---------------+
     |        |--(E)----- Access Token ------>|    Resource   |
     |        |                               |     Server    |
     |        |<-(F)--- Protected Resource ---|               |
     +--------+                               +---------------+

                     Figure 1: Abstract Protocol Flow

One flow that is not defined by the OAuth specification is any flow from the Resource Server to the Authorization server to validate an existing Bearer Token (or other token). 
The spec says:
The interaction between the authorization server and resource server is beyond the scope of this specification.  The authorization server may be the same server as the resource server or a separate entity. A single authorization server may issue access tokens accepted by multiple resource servers.
In many cases the Authorization server offers an API to access this. For example, Google allows you to call a TokenInfo APIto validate tokens. Similarly Facebook offers an API to "debug" a token. The WSO2 Identity Server also offers an API, but (shock and horror) we don't document it yet. The ESB and API manager both utilize this API to validate OAuth2 bearer tokens. The ESB code is of course available, and with a quick look at the code and also the use of TCPMON it didn't take me long to reverse engineer the API. This Gist has a sample HTTP SOAP request against the WSO2 IS to validate a token:
It turns out that the OAuth Working Group at the IETF is working on this and has a draft specification available, using a RESTful service. They call this OAuth Token Introspection. I figured this would be easier (and more pleasant) to call from my Python code, so I knocked up a quick WSO2 ESB API mediation flow to convert from the RESTful API to the existing WSO2 SOAP-based API.
I know that Prabath and the security and identity team at WSO2 will soon add this useful REST API, but in the meantime, here is a quick hack to help you out. Please note you need to hardcode the URL of the IS and the userid/password into the ESB flow. Also I assume if you don't provide a token_type_hint then this is a bearer token. And here is the Gist showing a sample interaction: 




ide

La présidente du Conseil national des barreaux répond aux critiques

INTERVIEW. << J'aurais souhaite une contribution plus prospective et moins desobligeante a l'egard des barreaux de province >>, reagit M e Julie Couturier au rapport du P r Jamin.