![Dave](/img/default-banner.jpg)
- Видео 150
- Просмотров 198 943
Dave
Добавлен 29 сен 2010
Dave’s channel for videos on various interests: Amateur radio, walking, outdoors, camping, kayaking, drones, fire, engineering, tools, fixing stuff, cooking and eating things, etc. My wife says I’m a Z-tuber, whatever that means (I suspect that it’s an insult). Never scripted, always honest. Thanks for watching!
If you want to say thanks, you can buy me a coffee here: www.buymeacoffee.com/daveys
If you want to say thanks, you can buy me a coffee here: www.buymeacoffee.com/daveys
4 months into learning to code in Python. Here's what I learned!
I'm 4 months into learning Python, and it's getting easier day by day. Here's what I learned...
Chapters:
00:00 Intro
01:04 Get stuck in
03:34 It is what it is
04:55 Coding is hard
11:25 Code is a process and a set of processes
15:45 You'll need to refer to the docs
19:40 Keep trying!
Links:
dmoj.ca is a great site for finding problems to solve, but there are others. Main thing is to find some problems and get stuck in!
If this, or any of my videos were of help to you, I'd be grateful if you would consider buying me a coffee: buymeacoffee.com/daveys
Chapters:
00:00 Intro
01:04 Get stuck in
03:34 It is what it is
04:55 Coding is hard
11:25 Code is a process and a set of processes
15:45 You'll need to refer to the docs
19:40 Keep trying!
Links:
dmoj.ca is a great site for finding problems to solve, but there are others. Main thing is to find some problems and get stuck in!
If this, or any of my videos were of help to you, I'd be grateful if you would consider buying me a coffee: buymeacoffee.com/daveys
Просмотров: 70
Видео
My audio...an apology!
Просмотров 314 месяца назад
I was using a mobile phone microphone in the last few videos where I was doing audio and screen recordings. That audio was awful and I was looking at trying to improve that. I have tried using my Zoom H1 recorder as the soundcard/mics/audio input today (first used on this video) and I'm sure that you'll agree that it sounds much better using this setup. So this is pretty much an apology for the...
Code with me! A different way to solve 3pt DMOJ problem 'Pattern Matching', dwite10c2p1.
Просмотров 224 месяца назад
This video shows a different way to solve the DMOJ 3pt problem Pattern Matching, which is about comparing the sequence of vowels and consonants in two words. This version shows string slicing as a way of splitting and comparing the first and second halves of the text. The DMOJ URL is here: dmoj.ca/problem/dwite10c2p1 If this, or any of my videos were of help to you, I'd be grateful if you would...
Code with me! Solving 3pt DMOJ problem 'Pattern Matching', dwite10c2p1.
Просмотров 124 месяца назад
This video is to solve the DMOJ 3pt problem Pattern Matching, which is about comparing the sequence of vowels and consonants in two words. The DMOJ URL is here: dmoj.ca/problem/dwite10c2p1 If this, or any of my videos were of help to you, I'd be grateful if you would consider buying me a coffee: buymeacoffee.com/daveys Chapters: 00:00 Intro 02:50 Set up Jupyter notebook 04:15 Coding 18:50 Submi...
Code with me! Making a Caesar Cypher (ROT13) to solve DMOJ problem dwite09c6p1.
Просмотров 294 месяца назад
This video is to solve the DMOJ 3pt problem ROT13, which is about implementing a Caesar Cypher. The ROT13 cypher is interesting because it will encode plaintext, but decode cyphertext. It's not secure though, so don't use it for anything important! The DMOJ URL is here: dmoj.ca/problem/dwite09c6p1 If this, or any of my videos were of help to you, I'd be grateful if you would consider buying me ...
Code with me! This is a walkthrough of DMOJ problem 'Trivial Math' being solved in Python.
Просмотров 84 месяца назад
Watch as I solve a DMOJ problem in real-time using Python. I've never seen this problem before, I don't have any notes and I'm doing all this in one take, so you can see me making mistakes, going down blind alleys and finally solving the problem. I've only been writing Python code for about 3 months, so I'm certainly no expert, but I want you to see that you're not the only person who makes mis...
Code with me! DMOJ problem 'Sorting' completed in Python with walkthrough.
Просмотров 264 месяца назад
This is working through the DMOJ problem "Sorting" in real time, no notes, no script, no cuts, not having seen the problem before. Problem is here: dmoj.ca/problem/dmopc18c1p0 For maximum benefit, watch the video and then try and write the code yourself without typing it out while watching. There is also a bit at the end where I explain the reason why the lst2 = lst1 doesn't work and why. I don...
Walking through DMOJ problem 'Sentence Checker'. Originally recorded as a one take but failed!
Просмотров 104 месяца назад
I wrote this code as a 'single take' no notes session of DMOJ problem 'Sentence Checker', but OBS Studio screen grabbing didn't work properly for some reason. Super frustrating!! Anyhow, this is a walkthrough of the code and explaining how it works and some of the pitfalls to watch out for. The DMOJ URL is here: dmoj.ca/problem/hci16schecker If this, or any of my videos were of help to you, I'd...
Learn to code in Python - DMOJ problem 'First space' walkthrough.
Просмотров 184 месяца назад
This video covers getting an input, loops, text.find and if statements at a basic level. I hope you enjoy the walkthrough! I suggest that if you are wanting to learn Python, try to re-write this code from recollection and just do a loop of running it, trying to understand the faults/errors and then re-running it until you get the desired output. Happy learning!! If this, or any of my videos wer...
Solving the DMOJ.ca 3pt problem 'Lower case' in Python - Easy beginner problem.
Просмотров 194 месяца назад
This is a workthrough of the 3pt problem 'Lower case' from DMOJ. It's useful because it covers some loop basics and also getting inputs and doing an action on those inputs. Once you've watched the video, why not try and solve it yourself from memory (looking up anything that you can't remember) and then submit it to DMOJ. If this, or any of my videos were of help to you, I'd be grateful if you ...
Strings in Python - zero to hero. Produce your own Caesar cypher program!
Просмотров 195 месяцев назад
Python Strings video: This video has been made to get you from knowing nothing about Python and strings, to programming a full program for simple encryption of text using the (insecure) Caesar cypher. The video is unscripted and uncut, programmed in real-time and without having any rehearsal so please bear that in mind before you comment negatively! If this, or any of my videos were of help to ...
Watch me code in Python! Solving DMOJ problem 'Machined Surfaces' in one take.
Просмотров 265 месяцев назад
00:00 Intro 01:21 Code 54:49 Outro The URL for this problem is: dmoj.ca/problem/prac3p1 This was one that I solved in the afternoon on 21/03/24. I'm not sure if it was the post-lunch slump, but my brain, mouth and typing was a bit shonky on this one. I'm still going to post it, because the point is not to show you great videos, but to show the pain of coding, failing and fixing things. Of cours...
Watch me code in real-time! Solving DMOJ.ca problem wossoly21j2s1, using a list technique.
Просмотров 445 месяцев назад
This shows solving problem wossoly21j2s1 using lists instead of strings. Both ways work, sometimes one way is better than another. In this case, both took same time and resources according to DMOJ's resource output. #unedited If this, or any of my videos were of help to you, I'd be grateful if you would consider buying me a coffee: buymeacoffee.com/daveys The URL is: dmoj.ca/problem/wossoly21j2s1
Watch me code in real-time! Solving a DMOJ problem using string method in Python - wossoly21j2s1
Просмотров 235 месяцев назад
One of the things I found useful in learning Python, is to try to solve problems like the ones found on DMOJ.ca. This is an old problem and not one that's part of a current challenge. Full disclosure: I solved this about 5 days ago in real-time, having never seen the problem before, but my screen didn't record properly and I couldn't use the output. However, it's a good problem, so I wanted to ...
Jupyter Notebook - be careful, this feature could break your code!
Просмотров 145 месяцев назад
Jupyter Notebook is great. It's a way of writing code where you can run the code in sections and within the code editor. It does however have a flaw which could mess up things that you're doing. If you know about this, you can take a simple step to check that your code is not problematic to other people trying to run it later. If this, or any of my videos were of help to you, I'd be grateful if...
Struggling to teach yourself to code in Python? Try this!
Просмотров 1,3 тыс.7 месяцев назад
Struggling to teach yourself to code in Python? Try this!
Washing machine broken? Worn motor brushes on 7-year old Indesit IWDE126.
Просмотров 679 месяцев назад
Washing machine broken? Worn motor brushes on 7-year old Indesit IWDE126.
Bit of fire in 4k as the evenings draw in... 4/4
Просмотров 39810 месяцев назад
Bit of fire in 4k as the evenings draw in... 4/4
Bit of 4K fire for those chilly evenings! 2/4
Просмотров 6010 месяцев назад
Bit of 4K fire for those chilly evenings! 2/4
Disneyland Paris, Cheyenne Hotel laundry
Просмотров 668Год назад
Disneyland Paris, Cheyenne Hotel laundry
Rosie and Eve abseiling down the East Manchester Stadium.
Просмотров 25Год назад
Rosie and Eve abseiling down the East Manchester Stadium.
VW Passat Estate 2.0TDi B8, Fuel filter, Air filter, Cabin filter change (in a single take)
Просмотров 1,1 тыс.Год назад
VW Passat Estate 2.0TDi B8, Fuel filter, Air filter, Cabin filter change (in a single take)
Washer/Dryer not working? Diagnosis and repairing a no drum spin, no motor noise fault.
Просмотров 617Год назад
Washer/Dryer not working? Diagnosis and repairing a no drum spin, no motor noise fault.
Watch us race! Mario Kart 8 Deluxe, Nintendo Switch, ClonerAlliance UHD Pro capture.
Просмотров 908Год назад
Watch us race! Mario Kart 8 Deluxe, Nintendo Switch, ClonerAlliance UHD Pro capture.
Footage from the DJI Mini 3 Pro drone, while filming "Michael's new scooter"
Просмотров 120Год назад
Footage from the DJI Mini 3 Pro drone, while filming "Michael's new scooter"
Sweet ride! - Michael's new scooter, the Decathlon Oxelo Town 7XL
Просмотров 557Год назад
Sweet ride! - Michael's new scooter, the Decathlon Oxelo Town 7XL
Thanks for the easy instructions, i was a bit hesitant to use it at first and couldn't get my head around the instructions. 😊
@@helloitzA - All rice cookers work in a similar way, so you’re set for life now!
DMOJ is the most frustratingly USELESS site ever. My code for a problem works, I've tested it in my own IDE. No indication as to how data is being entered into my functions whatsoever.
Is it effective for oily pots? And does it clean cookers well? Thanks is advance
@@fatimatravels2471 - I suppose that it depends on how dirty and oily the pots are, how good the detergent is and what cycle you use. We use our washer on the eco cycle every day - we wash our wok in there and any other pans we use. I’d say that if a pan is absolutely caked with cooking mess, a quick scrub in the sink with cold water then dump it in the dishwasher usually works for us.
@@daveys Thank you 😊
Good video
How to reach powesupply please
Thanks Dave, that's great
Just in case I didn’t show it, there’s an earth on the RHS of the engine into the loom. A jumper between the ECU and the engine block can fault-find this pretty quickly. The clicking comes from the fuse/relay box next to the battery.
@@daveys thanks, I will look at it
Great info and demo. Does the b8 fuel filter have a water sensor as when I've looked it up, there are two versions? Thanks
Thanks for the compliment! My version of the filter housing didn’t seem to have a water sensor on it. In the case of this car, I’d not had it long and I just bought the filter that the motor factors told me would fit and they were fine. Probably should have shown the filter make/model but I’m learning as I go on these videos. The main thing for me was recording that I’d done the job. I also did an oil change one but it didn’t come out properly so I didn’t upload it.
Despite the better audio, I still sound "northern". Nothing I can do about that...sorry.
aint't nothing bad being nothern, brother! Ty for you content, still moving towards python dev, and doin exercices with you!
@@br4vetrave1er - I say it with proud self deprecating humour! Thanks for the kind words!
The original video is here: ruclips.net/video/V3xb8zmj2HM/видео.htmlsi=XzM45HDIH4RGYxUS
There’s a slightly better way of doing the logic, using string slicing. The video for that is here: ruclips.net/video/y2rl7RaoALg/видео.html
As always, these videos are unedited and unscripted, so you can see the thinking process. This means that there will inevitably be gaps in the audio, dead ends, and mistakes. If you’re OK with that, please consider subscribing!
DAVE!!!! do you have a video of putting the tent up???? that would be awesome. If not, i really cannot find a decent one. I guess I'll make one myself. thanks, let me know please
I don’t have a video of pitching this tent, but there is one somewhere online as I have seen one before. It’s not a huge pain to put up, but from the sound of it, you have one of these tents too…so you’ll already know that.
I have started the book "Learn to code by solving problems".Great book.And great help from the videos you are making.Keep going
Thanks for your kind comments! Solving the problems in real time while discussing it and having not seen the problem before is really difficult, especially when you’ve only been programming for a few months! I do appreciate the words of encouragement :-)
Hard to believe that this is a camping stove and not one that’s designed for a lounge! So relaxing!!
This idea for this video was triggered by two things: 1) My daughter suggested making a Python basics video that she could learn from. 2) I saw comments from someone in another video suggesting that there were a lack of basic Python videos that helped them. I hope this addresses both these requirements.
The old brain just didn’t seem to want to code this afternoon. If this happens to you, go and have a break!
Hi, thanks for the video I just bought pressure cooker from tower and was not able to cook it. Your video helped me a lot.
You’re welcome, glad my video helped! I found that ours recently wouldn’t reach pressure. I cleaned the pressure valve and everything worked again. I also found that the relief valve came loose and needed hand tightening over time. Main thing if you’re new to the whole thing is to be aware of how long it can take to get a few litres of food to boil and then up to pressure if you have a weak hotplate. Once you know what it’s supposed to sound like, it’s a lot easier to use.
If you’re wondering how I’m getting on, have a look at some of my more recent videos. You can see me solve a dmoj.ca problem using two different methods: strings and lists.
Thanks
You’re welcome!
Holly cow! This might be book I’ve been looking for! I fell into the exact same problem that you had! I will head to the book store - give it a go!
I did the majority of the book, but since have been doing 3 and 5 point problems on dmoj.ca as skill builders. I found the book to be a great help throughout. I could probably give a list of problems that I tackled at some point. I am also tempted to do some coding “live” on RUclips, by which I think I mean tackling an unseen problem, no editing, start to end and talking through it as I go. It’ll not be pretty, because it’ll have some dead ends and mistakes, etc but it’ll show just how the process works. I nearly got the courage to do one today but I couldn’t find something that I was confident that I could solve within reasonable timescales. I’ll have a look again tomorrow.
@@daveys Got Concept Check on pg 14 correct. I don’t feel worthless now LOL! Just tired. I’m really looking forward reading rest of this book. I will say, Python at first was tricky due to space blocks! Took me a bit to get my head wrapped around that one. I spaces now… but it was an odd one
Great illustrations 🤍🤍
This pressure cooker is too slow not good
Works fine for us. In what way do you find it too slow?
is this book for total beginner?
@jaybala - It teaches from the ground up, so I would say “yes”. This book really helped me gain some traction learning Python because it introduces the problems in a curated way - related to the subject you’re working on. I won’t say that I haven’t referred to other books, or other sources at all, but this is certainly a great framework for getting started.
Thank you
Son una mierda , a los 3 años ya estan dando problemas , en 3 años se me a picado manguito y perforado la bandeja , OBSOLESCENCIA PROGRAMADA MADE IN CHINA.
ok merci beaucoup pour votre aide je vais regarder cordialement
Merci pour votre réponse c’est les pignons pour l’avance automatique et le filetage j ‘ ai cassé deux pignons le 63 dents et le 32 dents je voudrais les remplacer merci cordialement
I’m not a seller of these things, I just own one of these lathes and made a few videos of mods etc. Try that Clarke International site, hopefully they’ll be able to sell you single gears. If not, I’d have a look at these other lathes: Clarke CL430 Is same as: Sealey SM27 Warco WMT300 (although this is more advanced than the CL430) Smithy CB1220xl or also Midas
bonjour monsieur sauriez vous si des pignons sont disponibles pour ce tour ? j'ai cassé les miens merci cordialement
When you say sprockets, which part of the lathe are you referring to? I’m not sure what spares are available for this model, but you might want to contact Clarke International at this URL: www.clarkeinternational.com/service-and-support/
Cheers for this, Dave. Never thought of that.... Also, any idea how to take out the 3 jaw chuck back plate out? The manual and explosion diagrams don't explain at all and I'm stumped!!.
I’ve been doing 3pt questions from DMOJ.ca all day today. Great practice!
This is in prep for me to do live Python on RUclips. There is no audio included, because it’s too noisy in here just now. The intention is perhaps to attempt some of the DMOJ problems in real time.
One thing that is critical to these saws, is to set them up correctly. Essentially that means aligning the blade so that it doesn’t fall off and that the vice and blade are square to the saw frame. Once done, it’ll work superbly.
These books look really good Dave! Something you might enjoy are some Of the old engineering videos on RUclips. One in particular, ‘spinning levers - how a transmission works’ really made clear how gears work to me. These videos are 30s or 40s, black and white, but in some senses quite cinematic. Some of the ways of explaining things used in this era do seem to be so clear, I agree.
Thanks Matt, I’ll have a look at that.
I’ve just completed one of the problems at the end of Chapter 5 (Ref: Preokret) and it is honestly one of the most frustrating things to solve, but once I figured it out, it wasn’t all that hard. I suppose that’s like any skill really - easy once you know how.
This looks like a superimposed image, but I can assure you that it is 100% genuine. Absolute rip roaring fire!
On dmoj.ca, try “Sorting” and “Misspelling” as starter problems. Both these problems give a good idea of how the code challenge problems work. The way that I approach these problems is that I try to work out the logic steps that the problem needs, then I complete each step one at a time. My code is quite inefficient, but remember that my goal is to write code that works, and is understandable when I look back on it sometime in the future.
Been struggling with python for a 6 month. It is my dream to become a dev, but honestly sometimes i just feel i need to give up. Your video gave me second wind. Already ordered book. So the war continues! Ty Dave, i needed that. Wish you best!
@@br4vetrave1er - I’d never heard of the online code judges either. They are great. The book mentions 4 of these sites but so far I’ve only seen examples from dmoj.ca used in the book.
I felt like I had to learn a lot more in python and this was a great shout. Thank you
If you already know Python, then maybe just start working on the 3 point code challenges at dmoj.ca and go from there. The book is great though as it curates the problems into an order that doesn’t overload you too much. I do admit that every one of the problems has given me a WTF moment when I first read them.
I’m doing about 1-4 problems a day from DMOJ.ca curated from the book. I feel as though I’m making great progress with coding this time. I’ve not heard anyone comment yet “why bother, because ChatGPT” but my experience with ChatGPT and coding is that it’s great to a point then it suddenly loses context and messes everything up.
Really proud of you! Its so hard to find honest peaople only this bragging and Im getting more and more depressed.
Thank you sir
You’re welcome! I’m currently at the end of Chapter 4 and still not great at coding, but I can do loops and variables now without needing to refer to a book, which is bang on target for this point in the book.
@@daveys I'm considering buying the book so that I can get used to the problem solving patterns within these problems more than coding itself. If you'd like to sir. I remember at my first coding year at uni I took python essentials 1 and 2 at skills for all by cisco.(free online) I'd recommend it if it's your first Programming language. Also there is this RUclips channel called engineering drive. To be honest I haven't watched his python playlist but I've watched some of his other stuff while at Uni and ngl he explains things simply and provides material free on his blog.
@@orcaboorish - Thanks for the heads up. The more that I think about it, this book teaches like an actual taught course. I’m getting on well with it.
Thanks bro, these books are great supplements
If I was buying Python books again from the start, I’d buy the Learn to code by solving problems first. Someone recommended “Fluent Python” to me yesterday. I might have a look at that, maybe I can get a sample chapter. I also have a copy of Python Crash Course, which looks good too but I have not really looked at that much yet. Daniel Zingaro’s book is worthy of working through before I divert any further.
@@daveys I’m on chapter 3 now of learn to code by problem solving since watching your video. I agree that it is worth going through. Good thing I found your video lol.
@@IAMTheDeffence - That’s pretty rapid! Memory is built by repetition over time, so do make sure that you keep practicing. I found that the end chapter exercises took me a while to complete but I learned so much from them.
Thank you sir, all the best from nishanth india
That was an interesting review. I've looked at buying this model. I'm not sure I want it with no pre-rinse though.
Muy bien explicado.gracias. cuanto kilos de algo podria poner.o cuanto volumen.en el interior en olla de 6l. Y cuanto tiempo puede estar enmarcha.
HI Dave, I got this stove last week and I'm highly delighted with it. When it gasifies it gives out a insane amount of heat within five minutes, and sufficient to heat my 10X36 foot static even in the recent cold spell. Good video but one thing I tend to disagree on is inserting a DIY baffle.. Inserting a baffle may well interfere with the gasifier outlets causing the smoke that the extra cost of the eco feature is meant to prevent. I notice the flue does get very hot but a lot of the pipe is inside the room radiating heat into the living space so isn't really totally wasted. A baffle may also cause extra smoke in a cool flue and that in turn causing the dreaded creosote build up. That was the big problem with my Outbacker oven range with its flue outlet offset from the firebox. The Eco burner self cleans its flue with heat and after several great burns the pipes are still clean as a whistle and no boring regular maintenance.. I had to to take extra heat protection measures because of the hotter flue and I miss a oven feature but I purchased a cast iron Dutch Oven which was cheap and cooks does very well and fits next to my kettle.
How was it for cooking? Top space is limited due to pipe location & handles.
Excelent presentation of threir daughtr...she is just 10 years...👍