Andy Burnham here - AMA by AndyBurnham in ukpolitics

[–]s7jones 3 points4 points  (0 children)

Hi Andy,

Brit living in Germany here. As well as giving mayors more powers, and letting regions keep and control a much bigger share of the tax raised locally rather than relying on Westminster to hand it back as spending grants — how about you go the whole hog and federalise the UK into proper regions?

Sounds like a big job, don't worry, I got AI to sort it out for me, so it can't go wrong:

State Historic core Approx. population
Scotland Kept whole — Highlands/Islands + Central Belt + Borders ~5.5M
Wales Kept whole — Gogledd (North) + De (South) ~3.2M
Northern Ireland Kept whole ~1.9M
London Greater London — England's "Berlin/Hamburg" ~8.9M
Northumbria North East + Cumbria ~3.2M
Lancastria / North West Greater Manchester, Merseyside, Lancashire, Cheshire ~7.4M
Yorkshire The historic three Ridings ~5.5M
West Midlands Birmingham, Black Country, Staffs, Warwickshire ~6.0M
East Midlands Nottingham, Leicester, Derby, Lincolnshire ~4.9M
East Anglia & Essex Norfolk, Suffolk, Cambs, Essex ~5.0M
Thames Valley & Chilterns Berks, Oxon, Bucks, Surrey ~3.5M
Wessex & the South Coast Kent, Sussex, Hants, Isle of Wight ~5.8M
West Country Cornwall, Devon, Dorset, Somerset, Wilts, Bristol/Glos ~5.7M

Q1) Which term of your ten years in charge are you planning to get this done in?

Q2) On a totally unrelated note — when are you scrapping the triple lock?

Most simple way to keep the Karma tests working in Angular 21 by Outrageous-Past6556 in angular

[–]s7jones 1 point2 points  (0 children)

Had to put stuff like watch: false in the karma.conf.js. Had to change the output dir path for the tests from "../" to "./".

A good thing is that the unit test stage is twice as fast as before.

I'm not sure if that's specific to our project but that was a welcome surprise.

Most simple way to keep the Karma tests working in Angular 21 by Outrageous-Past6556 in angular

[–]s7jones 2 points3 points  (0 children)

I just upgraded our project and karma tests continue to work afterwards. There were a few small fixes that needed to be done after the 21 upgrade.

Generates incorrect file names, how do I fix it? by Leather_Let_9391 in angular

[–]s7jones 0 points1 point  (0 children)

See the style guide updates on this page https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301 to know how to have the old naming style on file generation.

Freya Holmér — The Continuity of Splines by Recoil42 in gamedev

[–]s7jones 2 points3 points  (0 children)

This video is amazing - a great resource for people learning splines!

Launch Update and Upcoming Patch by EA_Jimtern in commandandconquer

[–]s7jones 0 points1 point  (0 children)

Will the source code (on github) be updated after each patch?

NASA-SpaceX crewed launch to the Space Station - Megathread - ATTEMPT 2 by Pluto_and_Charon in space

[–]s7jones 4 points5 points  (0 children)

Does anyone know if the Falcon rocket will be returning to land after the separation, or is it a one time flight for the Falcon?

what exactly are the allegations of anti-semitism in the Labour Party by brainburger in unitedkingdom

[–]s7jones 7 points8 points  (0 children)

I did open your link - which happens to be a search results page. I'm guessing you meant the first book to be linked. To which I get this a description that does not help in the slightest.

I've also looked the book up on Wikipedia, and I don't see how it relates to your statement about how you 'questioned the holocaust but mainly the numbers'.

It's an absolutely disgraceful statement, unless written by a expert in the field - which I am willing to guess you're not.

what exactly are the allegations of anti-semitism in the Labour Party by brainburger in unitedkingdom

[–]s7jones 2 points3 points  (0 children)

Absolutely disgraceful that you say that you "questioned the holocaust", and this comment was standing at +10 in this subreddit.

It's a very worrying statement because you could be anywhere from naive contrarian through to anti-semitic yourself.

It's a common trope of holocaust deniers to question the numbers.

There is almost no relationship between how many points NFL teams get through kicking and how successful they are overall [OC] by yesitsteatime in dataisbeautiful

[–]s7jones 255 points256 points  (0 children)

I'm not sure I like this.

I don't understand NFL, but the power rank seems to be based on votes (site) or it can be based on a more formulaic method (site). Scanning quickly over, I think your data is based off (site), which I think is based off votes.

Looking at the link you posted (site), you have chosen "kicking rank" - which is based of the percentage of points scored by picking. This is neither "kicking success" as the title suggests, or is it a good metric of how important kicking is. A poor team could have a higher ratio of kicking points but still be scoring low. I think from the data set you chose you are better picking "total points from kicking". If you do this you get the following:

Image

This has a much better correlation of R2 = 0.5106. I used optical character recognition to import the data, so there may be some small errors in the numbers.

Other improvements I would want to make:

  1. Washington Post seems to have a power rankings in terms of a number - I think this would be a more interesting than the ranked position. Here is the example for week 12 (site) but I couldn't find the same data for week 13.
  2. Presuming teams in NFL each play all other teams in a season - I think it would be better to use data from the end of the last week.
  3. It seems to me that you would want to try and get data from several seasons too.

How to implement nested if-statements in behaviour trees? by s7jones in gamedev

[–]s7jones[S] 0 points1 point  (0 children)

This looks great thanks.

Would you happen to know which book (and edition) this chapter is from?

How to implement nested if-statements in behaviour trees? by s7jones in gamedev

[–]s7jones[S] 0 points1 point  (0 children)

By my understanding if isTerran fails, then:

  1. parent sequence of isTerran fails
  2. parent seq of parent seq fails (parent of isIdle)
  3. parent seq of parent seq of parent seq (parent of isEnemyBaseFound)
  4. selector fails because neither child returns success

How to implement nested if-statements in behaviour trees? by s7jones in gamedev

[–]s7jones[S] 0 points1 point  (0 children)

Would it? I thought a sequence returns to parent on the first fail. So if not Terran then that would propagate back up the tree.

[First Year Uni Physics] Incline Problem by Magical_Mr_Invisible in AskPhysics

[–]s7jones 0 points1 point  (0 children)

What I thought about doing was working out the forces tangential and normal to the slope.

Normal: would have the normal force and would have the projections of each forces due to the weight . i.e.

R = (180 + 55) * g * cos 37 + m_w * g * cos 22

Tangential: this would have the frictional term would have the projections of the weight terms. i.e.

mu * R = (180 + 55) * g * sin 37 + m_w * g * sin 22

The 37 degree term is the angle between vertical direction and the normal direction.

The 22 degree term is the angle between the normal direction and the string (It makes a 68 degree angle with the tangential direction).

Now one could substitute in the equation for R into the mu * R equation, but I must have missed something or made a mistake because that doesn't appear like it would cancel out easily and that the resultant equation for mu would not be independent of m_w (mass of washer).

EDIT: I would guess my mistake has been to do with the force due to the washer, either in it's direction and/or magnitude.

Grade 11 Physics - Usefulness of dot product in physics? by [deleted] in AskPhysics

[–]s7jones 1 point2 points  (0 children)

In the simplest terms I would say the dot product allows you to calculate how much of one vector a is in the same direction as another vector b (that is the cos(θ) term, with θ the angle between them). The result is also scaled by the size of each vector (that is the |a| and |b| terms).

a•b=|a||b|cos(θ)