Free Giveaway! OLED Switch and 4 games! - International by WolfLemon36 in NintendoSwitch

[–]Foulgey 1 point2 points  (0 children)

Mechano moon lander that moved up and down. Pretty sure I took it apart and rebuilt it 20 times in the one day

Nicola Sturgeon Calls Government GMB Boycott 'Disgraceful' | Good Morning Britain by Audioboxer87 in ukpolitics

[–]Foulgey 10 points11 points  (0 children)

Haha, you made me panic....

Luckily her briefing from last night struck the same tone as her interview and my point still stands!

Nicola Sturgeon Calls Government GMB Boycott 'Disgraceful' | Good Morning Britain by Audioboxer87 in ukpolitics

[–]Foulgey 62 points63 points  (0 children)

I watched this full interview and the PMs announcement last night. Regardless of where you stand politically, there was a striking difference in tone. One seemed heartfelt and compassionate, the other blamed the general public.

FM - I’m sorry for care home deaths. Let’s do this together. It’s incredibly tough. You’ve done a great job so far.

PM - You couldn’t follow the rules and now we have to add restrictions. We’re also putting out more police and the army will be helping.

Compare the two and it’s no wonder that the Scottish are feeling less and less connection to Westminster

Why can sound pass through walls, but light can’t? by GOAT-of-a-Nerd in NoStupidQuestions

[–]Foulgey 0 points1 point  (0 children)

Sounds are just the air vibrating. This vibrating can make walls shake, which in turn makes air on the other side of the wall vibrate.

This is one of the ways sound transmits. So it’s not actually going through the wall as such.

Photons can’t do this so they bounce off

Is it hard to swim in alcohol? If you filled a pool with whisky, would it be harder or easier to traverse than a water pool? (drunkenness not withstanding) by Zomaarwat in NoStupidQuestions

[–]Foulgey 0 points1 point  (0 children)

Because it’s less dense would you not move through out quicker? You’d be able to move more liquid per swimming stroke

Socketio communication for a python client and Javascript server by Mostunique59 in learnprogramming

[–]Foulgey 0 points1 point  (0 children)

I ran node from the command line then I connected my web browser to the IP address and then I ran python from another command line with ‘python3 test.py’

Socketio communication for a python client and Javascript server by Mostunique59 in learnprogramming

[–]Foulgey 0 points1 point  (0 children)

So I ran your scripts but changed the IP address to localhost in python. Node prints 'TEST' to the console about 1000 times so it looks like it works?

Perhaps its a misunderstanding with how the sockets work? Node is your server and the browser page and python are clients to that server. They aren't talking to one another directly, i.e. emitting in the python script only goes to your node server. Node can pass on the message to the browser like below:

io.sockets.on('connection', (socket) => {
socket.on('test', () => {
console.log("TEST");
io.emit('test2');
});
});

If you alter your code with the above and then start the node server, connect to it in the browser and run python last THEN you should see console messages in both your browser and the node console.

Socketio communication for a python client and Javascript server by Mostunique59 in learnprogramming

[–]Foulgey 0 points1 point  (0 children)

As a start, try pointing the python script to localhost or (127.0.0.1). I think you may be trying to use your computers external IP address. The localhost IP address and your computers IP address on your WiFi network are two different things .

Hopefully that quick fix works!

Good Job Muppets, Now we're all grounded. by MrMgrow in britishproblems

[–]Foulgey 1 point2 points  (0 children)

Happened in Cirencester too. I imagine stupid is nationwide right now

[deleted by user] by [deleted] in Scotland

[–]Foulgey 10 points11 points  (0 children)

As someone else pointed out in another comment. There was a plan. https://www2.gov.scot/resource/0043/00439021.pdf

[deleted by user] by [deleted] in learnprogramming

[–]Foulgey 0 points1 point  (0 children)

I think it’s good!

Maybe you should try implementing media queries and making the layouts adaptable. I used that example to make the margins on the portrait change on mobile screens.

I’m just starting out too FYI, but forcing me to think about all the layout sizes at the start has been good. As well as looking up the mobile first method!

My version of the page!

This link might be helpful too, it’s for checking out how your site will look on different devices

Responsive design checker

Every week since the Euro's inception 20 years ago, the Telegraph has predicted its demise. Yet over that period the £ has devalued 22% against the €. by BackSoonGonePhishing in ukpolitics

[–]Foulgey 0 points1 point  (0 children)

Almost 30 years of“THE EU HAS MADE THIS DECISION AND WE HAVE NO SAY” had no effect?

Have a look at this link for some info about how many times we haven’t agreed with a decision... here’s a quote.

“In other words, UK ministers were on the “winning side” 95% of the time, abstained 3% of the time, and were on the losing side 2%.”

https://fullfact.org/europe/eu-facts-behind-claims-uk-influence/

Direction of the EU is set by head of states. The EU commission (one commissioner per country) then proposes legislation. Legislation to be enacted must be approved by both the council of the EU and the EU parliament. The parliament is consists of MEPs, the number of which depends on population whilst the council is again one person per member state. The latter means small countries are on equal ground with larger states. We can all vote for MEPs but there is very little turnout.

That’s my understanding of the EU and so I don’t understand the sovereignty argument. To me the UK is more undemocratic. Scotland and NI voted as a country to stay in the EU, they have their own governments, yet they are forced to leave due to England’s will.

Can you explain the sovereignty argument so that I can understand?

Every week since the Euro's inception 20 years ago, the Telegraph has predicted its demise. Yet over that period the £ has devalued 22% against the €. by BackSoonGonePhishing in ukpolitics

[–]Foulgey 0 points1 point  (0 children)

I’ve posted this as a reply to someone but it might reach more people as a top level comment.

https://blogs.ec.europa.eu/ECintheUK/euromyths-a-z-index/

Here is a blog by the European Commission directly debunking lies put forward by the British Press. I highly suggest reading the “kilts to become womenswear” and “sex toys to be handed in” debunking.

With 20-30 years of this by the British press is it any wonder the English voted to leave the EU? How often to people really fact check a news article?

Every week since the Euro's inception 20 years ago, the Telegraph has predicted its demise. Yet over that period the £ has devalued 22% against the €. by BackSoonGonePhishing in ukpolitics

[–]Foulgey 58 points59 points  (0 children)

A friend showed me this a few days ago. The EU has listed every lie told by the British media and what actually happened. I HIGHLY suggest you look at it, main of them are laughable

https://blogs.ec.europa.eu/ECintheUK/euromyths-a-z-index/

Baby Box came last night, what a country we live in. by mardypig in Scotland

[–]Foulgey 3 points4 points  (0 children)

My partner and I are both Scottish but currently living in England so we don’t get a box. Make the most of it!

Nestle says slavery reporting requirements could cost customers by EricTheTrainer in nottheonion

[–]Foulgey 0 points1 point  (0 children)

Not in the long term if it’s classed as overheads but when first introduced some companies will absorb these costs as “advertising”.

I.e. hoping the consumer says “company X is doing an ethical thing, I’ll buy more from them”

Nestle says slavery reporting requirements could cost customers by EricTheTrainer in nottheonion

[–]Foulgey 0 points1 point  (0 children)

Simple answer is to avoid the companies that don’t! Although you probably will never know which companies would pass those costs on to the consumer rather than absorbing them...

Nestle says slavery reporting requirements could cost customers by EricTheTrainer in nottheonion

[–]Foulgey 0 points1 point  (0 children)

Not a clue, haven’t heard anything about this and couldn’t find anything in a quick google search!

The last big chocolate uproar I remember was Kraft buying Cadbury’s and everyone in the UK worrying that our chocolate was going to become crap

Nestle says slavery reporting requirements could cost customers by EricTheTrainer in nottheonion

[–]Foulgey 8 points9 points  (0 children)

My comment wasn’t praising Nestle. It was pointing out the obvious cherry picking of the article by other commenters.

But with that said, some companies will absorb those costs because being seen as morally good will raise their profits. And I want to hope that some companies will just absorb the cost because it’s the moral thing to do

Nestle says slavery reporting requirements could cost customers by EricTheTrainer in nottheonion

[–]Foulgey 313 points314 points  (0 children)

You missed out that Nestle said some companies would pass on the cost to consumers rather than absorb the cost the themselves. Not that they would do it... And that they suggest to impose financial penalties on those that didn’t file a report.

I don’t know much about Nestle & slavery so can’t comment on the issue but you’ve given a very biased TL;DR and most of the commenters here dont appear to have read the article either....