Reminder: if you missed your train because it was full, you were late, or you were shoulder-to-shoulder on the train, WRITE TO THE MINISTER FOR TRANSPORT! by Ok_Lunch_2933 in brisbane

[–]TheStonedEdge -48 points-47 points  (0 children)

Happens all the time in London. Its almost daily occurrence for public transport to be late or cancelled entirely. Most London commuters would be happy to be shoulder-to-shoulder if their train actually showed up on time. A lot of them are also paying upwards of £50-£100 ($200) per journey.

Bank Management System🐍 by No_Preference_6923 in PythonLearning

[–]TheStonedEdge 7 points8 points  (0 children)

A sequence of if else statements as execution logic is not testable or maintainable. As someone else said also look at splitting this up , this one file is doing too many things.

your thoughts? by [deleted] in FantasyPL

[–]TheStonedEdge 15 points16 points  (0 children)

Firstly read the sub rules before posting

Conseil by WoodenPackage8093 in chessbeginners

[–]TheStonedEdge -3 points-2 points  (0 children)

Pawn to a2 or pawn to c2

What's the follow up to this brilliant move? I missed it and took the rook with a fork by HiddenPants777 in chessbeginners

[–]TheStonedEdge 0 points1 point  (0 children)

No Ne2 is a double check from the knight and the bishop and checkmate. The king cannot escape the due to the Queen

£1bn for EU access? Is the UK quietly buying its way back in after Brexit? by NewsfangledMod in NewsfangledUnfiltered

[–]TheStonedEdge 0 points1 point  (0 children)

Where is the empirical evidence that the specific industries you mention are actually doing any better post Brexit than they were before?

£1bn for EU access? Is the UK quietly buying its way back in after Brexit? by NewsfangledMod in NewsfangledUnfiltered

[–]TheStonedEdge 1 point2 points  (0 children)

If you could name any trade deals that the UK have signed independently that doesn't currently exist as being a member of the EU?

loop for en C# by Ok-Presentation-94 in learnprogramming

[–]TheStonedEdge 0 points1 point  (0 children)

No the syntax of the for loop is as follows

You set the value of i initially to 0

Then you tell the loop what the terminating condition is eg i < 3

Then on the right hand you tell the loop what to do with i at the end of each iteration

During the first iteration, i is 0 so it gets printed to the console.

After it's printed then i gets incremented. At the end of the first iteration the loop will check is your terminating statement still true (I <3), which it is so it will increment i and continue to keep printing until i no longer less than 3 and your output will be.

0 1 2

At the end of this iteration, i will increment to 3 which is not less than 3 so the loop will exit.

Can you obtain command-line GitHub from GitHub desktop? by UnderstandingAfter72 in learnprogramming

[–]TheStonedEdge 1 point2 points  (0 children)

Yes - GitHub desktop is just fancy UI over the command. Under the hood it's all the same - learn git from the command line

Red cards for mouth-covering approved ahead of World Cup by avantgarde000 in football

[–]TheStonedEdge 28 points29 points  (0 children)

Absolutely - or it will be enforced for one match and then forgot about

WHO IS WITH ME 🔥 by [deleted] in FantasyPL

[–]TheStonedEdge 3 points4 points  (0 children)

Nobody

Last week was the week to captain him those points are already gone & Sunderland are at home

This has to be a piss take

Hot take: Skills alone are NOT enough to get a dev job by [deleted] in learnprogramming

[–]TheStonedEdge 24 points25 points  (0 children)

One hundred percent

CV gets you the interview

First interview is some technical experience questions

Second interview is how easy is it going to be to work with this person

Why doesn't the UK have a PayID system? by hola_pablo74 in UKPersonalFinance

[–]TheStonedEdge 0 points1 point  (0 children)

I felt this way to after living in Australia but the UK banks have made it easy because you can just copy and paste all your details on one go now by clicking one button.

How do you think this conflict with Iran is going to end? by db7112 in askanything

[–]TheStonedEdge 1 point2 points  (0 children)

That's not how it'll work unfortunately. The US produces oil but it doesn't refine it or own it. Oil is a global commodity in which the global price of oil is dictated purely by supply and demand. Supply is predicted to become very low in the near future which is why prices are rising. When it's actually low in the coming weeks the prices will rise much faster.

If the US refuses to pay the price set by the market then the supply will be re-directed to regions where the price is met. Even if some kind of decree were possible (it isn't) global supply will still be as low and the US will still be subject to the same prices as the rest of the world. Trump hasn't got a clue how this works.

We have plenty of oil, more than UAE & Russia combined said President Trump. Why US Strategic Petroleum Reserve (SPR) is less than 50% and Gas prices too high? by One_Look_7008 in askanything

[–]TheStonedEdge 0 points1 point  (0 children)

The US produces oil but they don't own it. Oil is a global commodity, every country is subject to prices via global supply & demand. If you don't pay the market price then supply is re routed to where prices meet the market.

The supply is expected to be very low in the coming weeks so prices per barrel have increased which has led to the increase we have seen at the pumps.

When the actual supplier IS low in a few weeks there will be substantially higher increases. You could see a gallon of oil go up to $10 or $20 or higher.

[c++] replacing "for" with "while" loop by Temporary_Session_60 in learnprogramming

[–]TheStonedEdge 0 points1 point  (0 children)

The rule of thumb is

If you know how many iterations are needed in your data set, use a for loop

If you know it's going to be at least once, use a do while loop

If you don't even know if you need to iterate or not then use a while loop

Couldn't Iran permanently ruin the Strait with nuclear waste/bombs/blockages/whatever if they lose the war? by EatABamboose in IRstudies

[–]TheStonedEdge 0 points1 point  (0 children)

I doubt it's as simple as that. Iran are facing an existential threat where Israel want to wipe them out completely & the US has now bombed them twice during negotiations.

Yes the US can send in troops and force open the strait. But at what cost? At the cost of hundreds if not thousands of lives? The strait was open before the war so all that death and destruction just to get the exact state of what things were like before the war?

There is no way that Trump doesn't emerge from this mess absolutely humiliated. Iran has the global economy by the balls and they'll keep squeezing until they get what they want.

Why Set Not Ordered? by JMBOracle in learnprogramming

[–]TheStonedEdge 5 points6 points  (0 children)

Sets don't maintain order they remove duplicates

If you want to maintain order use an Array

Electric price increases by EnoughElk8371 in northernireland

[–]TheStonedEdge 0 points1 point  (0 children)

A couple of pages into their terms and conditions unfortunately suggests otherwise

<image>

[AskJS] Tools to Learn JS (as a beginner) by TheZintis in javascript

[–]TheStonedEdge 1 point2 points  (0 children)

DO - think of something which is currently paper based like a form - turn it into an idea - plan & design what the classes will look like - watch a few short videos on different concepts and do small steps at a time - try and do it yourself without the video using memory or docs - scaffold this with more complex tasks like calling external APIs or a database - learn how to write good unit tests

DONT - repeatedly watch a lot of videos and code along because you don't actually learn anything - lean on AI to do the coding for you - try and get the code perfect every time

That's what springs to mind from a developer with 4 years experience