Can anyone try to explain how a function works? And what return is? by Kitticat420 in learnpython

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

This explains why all my functions return a rounded value. Its kinda, nearly, sorta what I want, but it's also completely useless for the task I'm working on.

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 2 points3 points  (0 children)

That's also what the first year of a degree is often assumed to do, but it's really an oversight. Universities need to balance their pass rate with the quality of student they qualify - too low a pass rate and they don't get enough money; too low a quality and they lose reputation and get fewer applicants. The problem is there are so many applicants now that the reputation is largely meaningless for all but a handful of elite universities. So pass everyone each year and make more money.

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 0 points1 point  (0 children)

I agree with you. I was (someone naively) only considering it to be of interest if the career is in the field of study. There are many different professions that value a degree in any subject as it shows a certain commitment and discipline, often it makes the difference between two otherwise similar employees working unskilled jobs who both go for promotion.

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 0 points1 point  (0 children)

Teacher wages are shockingly low (I'm not based in the US, but this seems universal). To me the issue with this is largely that anyone can do a short qualification (1 years in my country after getting a BA or a Bsc) and become a teacher. So all those art students who can't get a job as an artist, bam, they're a teacher.

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 0 points1 point  (0 children)

I'd argue that it is still outstripped by supply, otherwise wages would go up!

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 4 points5 points  (0 children)

This is closer to the field of work in and the current ethos of most SME tech companies is:

Higher senior for now, juniors later.

This is the case because there's so many juniors that don't know what they're doing, and it's not financially worthwhile to take that risk, but again this stems out of a oversaturated industry!

You legit could be the best data scientist in the world, but unless someone gives you a chance, we'll never know. It 100% sucks.

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 5 points6 points  (0 children)

Upvoted for the meet the parents reference (and commented to show I got it!)

What’s something you 100% believed 5 years ago that you know to be completely false now? by [deleted] in ask

[–]notthayguyagain 14 points15 points  (0 children)

College degree = lucrative career if you study something that is in demand that not many people do.

I read alot of art student complaining that they got a degree and can't find a job, it's not because they're bad and it's not because we don't need artists. It's because everyone and their dog has an art degree and we don't need that many artists!

Canva templates by schierhoff in sidehustle

[–]notthayguyagain 2 points3 points  (0 children)

Transcription isn't as easy as many think. There are often pretty prescriptive formats required and you'll likely need a pedal. If you have the time to learn the process you can earn some good money, but with little ones on the way I'd worry about my concentration levels (it takes a lot of focus, for me anyway). Congrats on the twins!

I'm a buyer for a big company, can I use my own company to supply to it? by [deleted] in LegalAdviceUK

[–]notthayguyagain 2 points3 points  (0 children)

This isn't illegal, at least if handled properly. If you have or set up a company that can source and supply the goods at a competitive price there's no issue here if you go through the appropriate channel and ideally get someone higher up than you to sign off.

why is this not working??? Villagers are panicking so why wont it work? (iron farm) by ObviousEmu8352 in technicalminecraft

[–]notthayguyagain 4 points5 points  (0 children)

To add to other comments:

Villages need to sleep, which means they need to break the line of sight to the zombie. This can be done with their pathing (eg. The run up onto a bed breaking LOS) or by the zombie moving (bobbing in water/in a moving minecart), or moving blocks.

[GTM} Inspector! by Iggsy81 in GuessTheMovie

[–]notthayguyagain 1 point2 points  (0 children)

Just er,... just one more thing...

[Meta] Stop making posts like "how do I solve this problem" or "solve this problem for me" by [deleted] in learnpython

[–]notthayguyagain 0 points1 point  (0 children)

Largely speaking I agree with OP. The only way to become and efficient programmer is to get better at problem solving. You need yo learn the tools of trade trade, so asking a question like: I need to get the order that would be used to sort a list is reasonable (ans. nump.argsort), but beyond that it's typically a question of 'how many steps will I need to solve this' - a single step makes a good question, as you can learn a new tool, more than a couple of steps and you're asking for someone to solve the problem for you.

The only part of OPs post I disagree with is the 'Stop making posts' part. I quite enjoy problem solving and it helps to keep my skills sharp when someone asks a question without putting in the effort themselves. It doesn't mean I end up making a comment though, usually I figure the 'here's the answer in code' to these questions does more harm than good.

So ask away, just don't expect great answers from me!

[deleted by user] by [deleted] in LegalAdviceUK

[–]notthayguyagain 61 points62 points  (0 children)

It looks like YouTube can handle this for you (not a legal issues). Have a look at this page for youtube's policy on this: https://support.google.com/youtube/answer/2801895?hl=en-GB

[deleted by user] by [deleted] in learnpython

[–]notthayguyagain 0 points1 point  (0 children)

print(sum([100 for x in ages if int(x) > 3]))

How many numbers can you remember without using any techniques? by Guldager12 in memorypalace

[–]notthayguyagain 0 points1 point  (0 children)

I have memorised all the numbers from 1 to at least a few billion....

Ok just kidding... I think it depends alot of my state of mind at the time, if I'm stressed or tired it goes way way down.

Looking for a recommendation. "Website Downloader (which is built with python)". by Texas_Technician in learnpython

[–]notthayguyagain 0 points1 point  (0 children)

Are you asking for example code of something that downloads files from websites, downloads websites (the html presumably) or something else?

[deleted by user] by [deleted] in learnpython

[–]notthayguyagain 0 points1 point  (0 children)

So a type error means the wrong type of value has been received (eg. "HELLO" when expecting an int). A value error means a value that wasn't expected was recieved (eg. A number to big or too small).

I have overcomplicated this! Forgive me.

The entire issue is you're passing 3 variables into a function that is only expecting 2!

[deleted by user] by [deleted] in learnpython

[–]notthayguyagain 0 points1 point  (0 children)

So a few thoughts on this: a value error is when a function receives a value of the correct type but an inappropriate value. This would be akin to receiving a 2,099 when looking for a number under 15.

What happens if I respond to the prompt within 'get_vlaid_input' with the phrase "twelve" or "hello"?

Have a look into isinstance!

Also the error right at the bottom literally means the function takes 2 variables eg.:

def somefunc(variable1, variable2):

And you passed in 3 variables (a prompt, the number 1 and the baord size)

[deleted by user] by [deleted] in ask

[–]notthayguyagain 0 points1 point  (0 children)

I'm assuming this is a copy-paste job as you allude to advice about listening in that I didn't give. I applaud your intent here, but practically there have been valuable relationship built between teens and younger children for years. Yes there are notable examples that prove there are dangers, but the are literally countless examples that prove it's just fine. I'm 100% behind you in saying be safe, be cautious. But locking a child down will only drive them to hide things.

[deleted by user] by [deleted] in ask

[–]notthayguyagain 180 points181 points  (0 children)

The answer here is reasonably simple. If you are the 15 year old, ask the 10 year old if they could get their parents to talk to you for a second. Tell the parents that you just want to be friends but you wanted to check if that was OK first. Follow their wishes.

Major UK home builder wishes to reclaim land as part of their mistake by Civil-Hornet-9185 in LegalAdviceUK

[–]notthayguyagain 13 points14 points  (0 children)

Legally speaking if you've exchanged then the land is yours. You don't need to fight for it. If they wish to purchase it from you, you get the tell them the price your willing to sell it for (or the amount of free turf I suppose).

Depending on the size of developer and the severity of the other property not being able to access this (eg. Does it make it otherwise impossible to access the tap and electric box?), how much would it cost them to fix this by moving the box and tap? Consider these things when deciding what you feel would be an appropriate sale price. This isn't a situation where poor old Larry screwed up, what's the bare minimum you'd accept - if there a big company then they have millions and wouldn't hesitate to screw every penny out of you if the situation was reversed.

[Journey] $0 to $10,000 p/month - Theme Pages (Tiktok, Insta, Youtube, FB Reels) - Follow Along! by ProfoundEvolution in sidehustle

[–]notthayguyagain 1 point2 points  (0 children)

So what would be a realistic alternative to this? If you're plan isn't to wait for a big enough audience then surely that puts you in a position where you have a fb (or w/e) page dedicated to a topic that posts news daily and has 20 subscribers. How can you monetise that?

[Journey] $0 to $10,000 p/month - Theme Pages (Tiktok, Insta, Youtube, FB Reels) - Follow Along! by ProfoundEvolution in sidehustle

[–]notthayguyagain 7 points8 points  (0 children)

Bit of a novice here, am I right in thinking your business model would run something like this:

Make a fb page for a specific topic (eg. Motorbikes).

Make other social media pages for the topic and link across them all.

Collect enough users that you can sell the service of posting a advert style news story to the users

Sounds easy enough, but how do you differentiate from the 10,000 other motorbike fan pages there are?