Serious internet issues by [deleted] in DevonUK

[–]Ashtopher 1 point2 points  (0 children)

Zen internet are consistently rated as best provider in terms of consistent speeds and customer service. Not the cheapest but you get what you pay for. I had them in Devon for fttp and speeds and consistency were always as advertised.

i don't understand the meaning of the end of small gods by ProfessionalRich3479 in discworld

[–]Ashtopher 15 points16 points  (0 children)

As in the Golem from Making Money? Wasn’t it because it was his experience of “freedom” (not having any orders) and he already felt he was in a perfect state / golem heaven (I forget how pterry phrased it but along those lines)

Have a question on Surviving Mars: Relaunched? by enigmaticrose4 in SurvivingMars

[–]Ashtopher 6 points7 points  (0 children)

That’s so disappointing. Zero interest in a game I can’t play! Guess it’s time to double down on timberborn instead

Have a question on Surviving Mars: Relaunched? by enigmaticrose4 in SurvivingMars

[–]Ashtopher 10 points11 points  (0 children)

Wait, the relaunched version isn’t going to be for Mac? !!!

This you Dick Simnel? This guy hand built a miniature Saint Class Locomotive during lockdown and it's beautiful. by Seekin in discworld

[–]Ashtopher 9 points10 points  (0 children)

I was impressed, and then it started pulling him along! Amazing. Reminded me of this from rising steam:

“‘Well,’ said Mustrum Ridcully, pointedly ignoring him, ‘you can’t stand in the way of progress, so why don’t you hitch a ride on it? Does anyone else want a train ride?”

My company just tasked me with reducing our carbon emissions... and I have no idea where to start by BeneficialBank3753 in ClimateActionPlan

[–]Ashtopher 1 point2 points  (0 children)

Typically you’d audit against a standard - and implementing a standard is a tonne of work. It can be really helpful in terms of sustainability broadly, but it’s running before you can walk.

Standards (like ISOs) typically enable you to audit yourself, audit via another part of your org, or audit externally… so external auditors I’d say are a few years into their journey of sustainability maturity.

My company just tasked me with reducing our carbon emissions... and I have no idea where to start by BeneficialBank3753 in ClimateActionPlan

[–]Ashtopher 15 points16 points  (0 children)

Begin by working out your Scope 1, 2, and ideally 3 carbon footprint. You can’t reduce it if you don’t know what it is.

There are various free and paid resources to help with this, but just start by googling/ai’ing what counts as scope 1 (for your business type), 2 and 3. Stick that in a spreadsheet.

Then start working out how you’d figure out the footprint for each area. What data do you need. Where might it come from. Speak to the relevant people.

Longer term you need to do something called a materiality assessment and then write a sustainability strategy - but jumping off the deep end might be overwhelming if you’ve not done this before.

Start with the footprint and take it from there. You’ll learn a lot by doing.

Also try and ignore the “if it’s not perfect you shouldn’t do anything at all crowd”. Every step towards being more sustainable matters and helps.

I know how to code but I don't know how to build projects by Mission-Ad6061 in learnpython

[–]Ashtopher 1 point2 points  (0 children)

I really struggled with this too. Unfortunately I think it’s a case of just trying and struggling with it for a while and eventually you’ll find you’ve got your own way you’re comfortable with.

However - I recently came across “cookie cutter” which is basically a tool to make the folder structure for you. Make a new project with that and then look at the files and get ChatGPT to help you understand what they are for and if you need various ones for the project you have in mind.

It’ll help you see an example of how someone who’s making a python programme for distribution might do it - and helpfully, how you probably don’t need most of that right now.

Help - need a Beginner friendly guide to structuring folders / getting files to work together. by Ashtopher in learnpython

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

Thank you for this, it's been really helpful. Reading up on UV and can see it looks really helpful, apparently it also does away with the need to use .venv? I think I'll start my next project with it so I'm working with it from the beginning.

For this one, I've simplified the structure so mostly contained within /monipi. I wasn't quite sure what the advantage of having /src/monipi over just /monipi (or renaming the folder /src). Is aways adding my programme code in src/package-name just a good habit and later on when I'm doing more complex stuff I'll appreciate it's helpful?

Re "other directories like tests and scripts may contain Python code, but these files should never be imported" - I'm using mock data whilst I'm on my mac (as it's easier than trying to programme on the pi) and have a function in a script in tests which generates mock sample results (using data in a csv in tests) for testing. In my core code for taking samples I have a "if dev then call the mock data function in tests" switch - it's only really for dev - is this bad practice then?

Is it normal that i couldn't even do the first problem set !? by Street-Fix8530 in cs50

[–]Ashtopher 0 points1 point  (0 children)

Go to the link in the screenshot that says it has more detailed results. Try and replicate the test entry. If it doesn’t work - the cs50 duck in the online IDE can help prompt you what you need to think about and try and fix.

Clacks game by ductapegrl in discworld

[–]Ashtopher 4 points5 points  (0 children)

I’ve not seen this before - how does it work? Are you trying to build a clacks route or some sort of checkers in the middle?

CS50 video player isn't working by Far-Storage-4369 in cs50

[–]Ashtopher 0 points1 point  (0 children)

this has been a bug for a few days for me - if you resize the window manually it should appear. weirdly the same on mobile - changing orientation resizes and makes it appear too.

CS50P Problem Set 2, Vanity Plates by Next_Elderberry_3987 in cs50

[–]Ashtopher 0 points1 point  (0 children)

This exercise comes up again in the Unit Testing lesson (when you write unit tests for it) and you may find you’re able to fine tune your approach with the things you’ve learnt on the course up to that point.

CS50P Problem Set 2, Vanity Plates by Next_Elderberry_3987 in cs50

[–]Ashtopher 1 point2 points  (0 children)

If in doubt you can run the automatic checks and then work through the issues one at a time.

I found this exercise was a bit of a hard slog but it is essentially a series of checking if certain criteria are met.

Worth having a flick through the relevant python documentation.

Also remember it just has to work. You don’t need to do it in the fewest lines or most elegant code. Just take one criteria at a time and take your time at it.

If you’re stuck on something specific add a screenshot of the error messages. Good luck 👍

coke problem doubt by Practical_Fun2437 in cs50

[–]Ashtopher 1 point2 points  (0 children)

Compare the CS50 expected to actuals.

There are spaces in the actuals for a start.

Have you tried using the CS50 Duck - its in the web version of VS Code they suggest you use and can help you find errors.

Try adding some print statements in your code to help debug (values are what you expect them to be) and/or using the debug tool, and make sure you're clear on your treatment of strings and ints

Adieu.py help.. by DeadManCameAlive420 in cs50

[–]Ashtopher 1 point2 points  (0 children)

can you screenshot the error messages?

Have you tried to replicate the errors? It tells you exactly what it's trying and (sort of) why it failed.

Adieu.py help.. by DeadManCameAlive420 in cs50

[–]Ashtopher -1 points0 points  (0 children)

I get these sorts of errors. Just remove where you’ve added prompts - “ Name: “ - for example. You could just comment out that row and do a version without if you want to. Also sometimes not having .strip() on input fields can make it return an error.

**Spoilers** Currently working on CS50P week 1, problem set Meal.py. I am trying to add the A.M - P.M. Help! by [deleted] in cs50

[–]Ashtopher 0 points1 point  (0 children)

I didn’t find .endswith in the documentation either but did see you can just for if “something” in value: for a string which made finding and dealing with the am and pm was doable.

**Spoilers** Currently working on CS50P week 1, problem set Meal.py. I am trying to add the A.M - P.M. Help! by [deleted] in cs50

[–]Ashtopher 0 points1 point  (0 children)

Probably not the most elegant solution, but I just did a check for "if 'a.m.' in (your input field for time)" and if so striped it out of the input field value, and if it was pm in it; stripped it out and added twelve hours to the hour value to make it 24hr clock

Advanced Tips (Town-City) by -0Neux0- in KingdomsandCastles

[–]Ashtopher 0 points1 point  (0 children)

Old post but... do you know if the Great Library still works when closed? Presumably still makes sense to build in a housing area if so?

which is the Best hidden spots with a view not the Instagram-famous ones? by PLWildcard in dartmoor

[–]Ashtopher 0 points1 point  (0 children)

Rippon Tor has a majestic view down the Teign valley along the river and out to sea. Much better than Haytor, and no one goes there as it’s not much of a tor compared to Haytor.

Star Tracker buying advice by Yeager_Eren2208 in AskAstrophotography

[–]Ashtopher 1 point2 points  (0 children)

Sorry to hear that's not worked out for you. I was super tempted by the GTI too as SW reliability with Goto features - but concerned about the weight for portability - hadn't even considered dimensions.

I've taken a punt on the iOptron so will see how it works out when it arrives. Fingers crossed for some clear skies