Source code and references at the new coding train website! thecodingtrain.com/challenges/172-directional-boring And check out Practical Engineering's video! kzbin.info/www/bejne/gHLLlZVtmbCEprc
@tieflabs2 жыл бұрын
I love your videos, In 2020 i started codding too, well it's really fun, before i started i was an arduino programmer
@PracticalEngineeringChannel2 жыл бұрын
Choo choo! This makes me so happy! Thanks for teaming up with me, Dan. I think it rivals other titles in the "mundane simulator" category. I can't stop playing it.
@devstreams14592 жыл бұрын
Got sent here by you, love this channel! Thanks for the recommendation!
@mastershooter642 жыл бұрын
Let's all team up (the coding train audience and practical engineering audience) and make a 3D game with triple A graphics and a much more detailed directional boring game! open source game so that everyone can contribute to it!
@willemkossen2 жыл бұрын
Great to see collabs between channels i already subscribe too. Well done!
@bananapi37842 жыл бұрын
Here from Practical Engineering
@TheCodingTrain2 жыл бұрын
Thank you for the opportunity, this was such a treat to get to do!!
@karm652 жыл бұрын
I ran one of these drill rigs for 10 years.15 yeas overall experence with them. the starting angle should be 10 to 22 degrees. it can be more but that creates problems and can gratly increase the length of the bore. fast rotation with slow push goes more or less state. push with no rotation is for steering. you should never change direction more than absolutely necessary usually 4 inches over 10 feet on avrage the drill stem can take more but odds are whatever your pulling back can't. you can only rotate most drill stem to the right (clockwise down hole) turning the other way will unscrew the drill string. some systems have ways to prevent this but they don't work very well IMO.
@TheCodingTrain2 жыл бұрын
Thanks for this info and context!
@stevenlischer2 жыл бұрын
I worked for a hdd company for a few years and verify this is accurate, the pullback radius and tension are usually the limiting factors. Real world boring software has to do some very interesting mutli-factor path optimization that actually can be approximated pretty well with A* path finding algorithms and energy minimizing smoothing algorithms to remove "squigglyness"
@g0d5m15t4k32 жыл бұрын
Oh wow! I love when someone with hands on experience is here in the comments giving the protips.
@absalomdraconis2 жыл бұрын
@@stevenlischer : I had suspected the pulling would be a problem when I saw the initial video on it. I'd suspect the "flexible robots"/"pneumatic robots" folks could improve on that restriction.
@BPEKSupraInteractive2 жыл бұрын
Here from Practical Engineering! Glad he recommended us to you!
@anj0002 жыл бұрын
I love both Practical Engineering and Coding Train. This colab is match made in heaven.
@willemkossen2 жыл бұрын
Great to see a collab between two of my favourite youtube channels. Nice!
@Mysda_2 жыл бұрын
I love that drilling is actually turned into games. That's litteraly the concept of my current game
@jcbro862 жыл бұрын
I’m a directional drill operator and would love to play some kind of drilling game.
@gownerjones Жыл бұрын
@@jcbro86 I never knew there were people so passionate about drilling that they do it for a living AND want to pretend to do it in their free time. I'll make you a drilling game, jcbro, don't you worry.
@aditya95sriram2 жыл бұрын
The collab I didn't know I needed
@ChokyoDK Жыл бұрын
You helped me through 3 years of programming classes. Thank you!
@TheCodingTrain Жыл бұрын
Glad to hear!
@JordanMSeverns2 жыл бұрын
You've been getting so much better at making your programs look good
@tomaszmarczak94322 жыл бұрын
I'm just looking at videos from channels I subscribe and I started wondering if its Horizontal Directional Drilling month or something
@inhumanedasher2 жыл бұрын
Same.
@zokpls87122 жыл бұрын
Yeah wtf lmao
@joaqogc2 жыл бұрын
Same!
@TheCodingTrain2 жыл бұрын
Is there another one besides this one and practical engineering?
@tomaszmarczak94322 жыл бұрын
@@TheCodingTrain No, but it looked like odd coincidence until you said that you collaborated ;)
@Hermaniac82 жыл бұрын
Hey Dan, just FYI, the red line on brown dirt was pretty difficult to distinguish with (my kind of) colour-blindness. May be worth considering avoiding this colour combination in future. 💕
@MrNotAGamer2 жыл бұрын
oh well that sucks
@TheCodingTrain2 жыл бұрын
Thank you Michael for this feedback. I try to be mindful of accessibility when publishing videos and code examples and missed this one. I'll adjust the colors in the code example and keep this in mind for future p5 sketches. Thank you for taking the time to comment and letting me know!
@KokurorokukoАй бұрын
I'm not even colorblind but it was hard to see for me as well
@Woryed2 жыл бұрын
Been watching you for over 4 years now and i LOVE your videos!
@glenneric12 жыл бұрын
A directional drill is a small, slightly off camber drill, on the end of another drill. You can turn them each independently. Very cool. You drill with the end(little) drill while not drilling with the stage 1 drill and you end up making a curved path since the end drill has a small kink in it(out of alignment slightly). If you want to go straight you just start turning the main drill and the end drill just wallows out a little bit (since it is slightly wobbly) but still drills through your rock. So varying proportions of your main drill and end drill are how you steer.
@SamuelHauptmannvanDam2 жыл бұрын
As a programmer, who unfortunately don't have the time to watch, it still warms my heart that you exist and we'll certainly be trying it out with my kid when they are old enough. Because you are the light of the world. So affectionate. Love it, love it, love it.
@valuedhumanoid65742 жыл бұрын
Just down the road from me Comcast is drilling under an 8 lane intersection to install a new feeder to a new neighborhood. I actually stopped and asked questions about the project. The guy told me their going 26 feet down and 140 feet across. Not a huge project, but it's not disrupting traffic at all.
@motbus32 жыл бұрын
hey this kind of colabs are exciting! people can learn to code and about something more! this is so cool!
@folkusonme2 жыл бұрын
oh yay!! gonna check out Grady's vid too
@Didactb2 жыл бұрын
Practical engineering sent me here and I happen to be interested in coding so... I just subscribed! I'll check if you have any Python and SQL which are the ones I need to learn for my job :)
@TheCodingTrain2 жыл бұрын
Unfortunately I'm almost all JavaScript and Java (and a lot of graphics and simulation) but feel free to poke around and let me know if you find anything interesting! There are lots of great python and more traditional web dev (database) channels around KZbin!
@letsgocamping882 жыл бұрын
this channel is a great starter to get you thinking like a programmer
@mhjunky42782 жыл бұрын
@@letsgocamping88 bruh he's so advance for me 🥲
@VisioGuy2 жыл бұрын
This Superfriends Team-up is really inventive--a really great use of the internet! School curriculum designers take note! Also, FYI, I watch Coding Train more than Practical Engineering, but I actually watched the "boring video" first. :)
@guidiasmacara95162 жыл бұрын
Very cool, I feel like this is gonna boost my interest and practice in coding!
@godetarnaud10052 жыл бұрын
Awesome idea to team up with someone else and make a cool simulation of a real life phenomenon like this ! Thank you for this quality content I'll definitely try to do it on p5.js too :D
@mathewblanc99362 жыл бұрын
The team up we didn't know we needed!
@weamers2 жыл бұрын
3:36 gave me a good chuckle, keep up the good work! 👍
@mhjunky42782 жыл бұрын
Damn I got to thank Practical engineering for informing me of your channel ❤️ I love this video and your energy/excitement when coding, I guess that's what happens when you know what you're doing. Definitely deserve a follow a person to look up to ❤️
@ViniciusNegrao_2 жыл бұрын
Man, I LOVE coding challenges, I love html canvas as well, so this seems like the perfect channel for me. Also you're very happy and entertaining :D
@BarneyCodes2 жыл бұрын
Love the concept, great video as always!
@evanbelcher Жыл бұрын
Wow I'm incredibly late to this channel apparently, but this is so cool! You do an amazing job at speaking at a level that is approachable to beginners without being boring or insulting to professionals like me, and it seems like you're genuinely having fun!
@chrismanning52322 жыл бұрын
If we're never using the path history beyond drawing it, we could just bake it onto the image and not have an ever-expanding (memory-chomping) path array.
@TheCodingTrain2 жыл бұрын
Yes, that would be so cool!
@realcygnus2 жыл бұрын
Nifty ! & I am quite familiar with Grady, he is awesome.
@RicoGalassi2 жыл бұрын
😂😂I saw the title and thumbnail and instantly thought you did a collab with practical engineering. Awesome video!
@PlasticBubbleCosplay2 жыл бұрын
Can also be a top-down-view road-buikder or lawnmower with limited turning radius :-)
@TheCodingTrain2 жыл бұрын
I like this idea!
@OfficialMGMusic2 жыл бұрын
I thought this would be boring, but it turned to be very drilling.
@g0d5m15t4k32 жыл бұрын
I'm glad to learn about your channel from Practical Engineering. Yay! You gained a new subscriber :)
@TheCodingTrain2 жыл бұрын
Welcome aboard!
@andrewtc952 жыл бұрын
Great video. Now I want to try this for myself.
@shaileshrana71652 жыл бұрын
Good vid. Scoring rules would be interesting to decide
@astk5214 Жыл бұрын
Love coding, love big building stuff
@slembcke2 жыл бұрын
Hah! Fun. I've actually implemented part of a math library to be used for HDD. Lots of fun stuff with high performance collision detection and such for interactive path planning tools. It involved lots of jokes about "working on the boring project today", "Hope I don't get bored...", etc. :p
@theman70502 жыл бұрын
More p5!!! Yesssss
@LucasundAaron Жыл бұрын
When you think a second about it and realize this is rocket steering. Nice source code to get my intercontinental going ;P
@Car_Ram_Rod2 жыл бұрын
Here for the coding! Also, Practical Engineering sent me!
@lucbloom Жыл бұрын
How does HDD detect the position + direction of the bit? Does it also have sonar to estimate the formations ahead? I guess I should watch the video. A cool addition would be if you could hit a “sonar” button every 1 second that generates a wave that leaves behind a shroud of temporary “visibility” as it travels over the screen. Could also be auto-timed.
@berniezenis48762 жыл бұрын
Horizontal Directional Drilling can be too slow in some instances. That is when SSD is used instead of HDD. More expensive but definitely faster, especially when you are drilling a single, long contiguous hole instead of a random bunch of small holes.
@snork_games2 жыл бұрын
A Practical Engineering crossover!?!?! The quantum superpositions that are my subscriptions are collapsing together. Which is funny, as wave function collapse was a recent video =P
@JohnWesleyDavison2 жыл бұрын
I enjoyed this video, I thought it was boring. That's it, that's the hole pun.
@thehappycoder37602 жыл бұрын
Brilliant who knew you could make a game out of that!
@nullpointer17552 жыл бұрын
Love from Brazil ❤️!
@onebridge72312 жыл бұрын
Sent by PE from the directional drilling video.!
@Linuxdirk2 жыл бұрын
This is the first *boring* video on this channel :D
@lukey666lukey2 жыл бұрын
practical engineering sent me here
@CollinRaves3 ай бұрын
Here from Practical Engineering!
@eXpire1632 жыл бұрын
Nice cut showing the studio
@redpug50422 жыл бұрын
Maybe do something where you are told distances to obstacles and you have to navigate that way
@DenisovichDev2 жыл бұрын
Awesome!
@shainmohamed30222 жыл бұрын
Im learning about coding from your processing tutorials which was 6 years ago so im worried they might be out of date. so should i keep learning from them? Your content is amazing btw
@TheEmpowerment1 Жыл бұрын
This is so cool
@SuperVeggieHero2 жыл бұрын
Can I suggest raising the laptop a bit? It might help with your ergonomics and it might also reduce the frequency of typos.. Thanks for these vids.
@frederickgivens92612 жыл бұрын
I've noticed a few times that you put stuff out and I think "idc" but then I come back later because it turns out iDOc and now I'm thinking, weird, I wonder why I'll need this in the near future
@planktonfun12 жыл бұрын
simulation + engineering collab
@Helloworld-lg6zm2 жыл бұрын
Practical engineering sent me here!
@bob_mosavo2 жыл бұрын
Grady @Practical Engineering sent me 😁
@twobob2 жыл бұрын
This looks like it might be the kind of thing an AI could have go at. one control input. maybe screen scraping. Red is Bad / Green = reward. perhaps optimise for pipe length over reward since circuitous solutions whilst fun would not be in the spirit of the challenge. Hugging face maybe? hmm
@x9rtu3os1t82 жыл бұрын
Amazing!!! Grady sent me.
@TheCodingTrain2 жыл бұрын
Welcome!!
@diegogutierrez59892 жыл бұрын
Thanks
@walidbezoui2 жыл бұрын
Can you explain stable diffusion used in image genaration !
@artzified2 жыл бұрын
oh wow another video
@pritamdavis2 жыл бұрын
Will try making 😃
@oop17612 жыл бұрын
Can you make a coding challenge where you try to make a barcode reader from scratch using the webcam?
@gownerjones Жыл бұрын
That would be like a 4h coding challenge
@marianoviedo2 жыл бұрын
Muy bueno el juego!!!
@rang3rj3sus942 жыл бұрын
Does anyone have any suggestions on where to start learning to code? I want to have a career in programming but I don't know where to begin.
@andrewtc952 жыл бұрын
For me, Khan Academy was a great place to start. After that I'd recommend watching through some of the playlists by Coding Train and Dani Crossing.
@rang3rj3sus942 жыл бұрын
@@andrewtc95 thank you, very much appreciated!
@youtubeuser2062 жыл бұрын
Does this p5 js have any professional applications, career wise? Or is it just for drawing MS paint style things
@gownerjones Жыл бұрын
I'm a professional programmer and I used and use p5 a lot to practice in college. The drawing side of it is so easy and quick to understand that you can hardcore focus on the algorithms and the math you need to learn. Now that I have a job, I still come back to it to quickly try out new things. It's like doing puzzles, it keeps your brain sharp and since you're drawing things on screen, it's also fun.
@jayd1522 жыл бұрын
Practical engineering sent me here and happen to be interested in coding so... just subscribed! check if you have any Python, R, and SQL. But into coding generally
@TheCodingTrain2 жыл бұрын
So glad to hear! Unfortunately I'm mostly JavaScript (p5) and Java (Processing) but if you search I have a lot of videos related to data, APIs, and ML (that crossover in topics for what many use Python and R for).
@bastederbeste2 жыл бұрын
Roundabout sharks are always turning
@bob_mosavo2 жыл бұрын
Cool channel!
@johnnyserup55002 жыл бұрын
That could actually be a cool game :-)
@dyneek2 жыл бұрын
Nice one
@z3row0rm2 жыл бұрын
Brady from practicing engineering sent me here
@TheCodingTrain2 жыл бұрын
Welcome aboard!
@TheSourLemonz2 жыл бұрын
watched this live :3
@tbgelectr0 Жыл бұрын
This can be remade to a game and also use ML.
@abobakeralmusari6363 Жыл бұрын
HOW TO CODE THE DIRECTIONAL DRILLING PROJECT IN OIL AND GAS
@pfmcdermott12 жыл бұрын
Grady sent me!
@bumburnchannel76992 жыл бұрын
2m subscriber coming very soon!
@MarcelaSLima-ck1ky2 жыл бұрын
printf("Your videos are very nice! ");
@eugeniobarbieriviale28882 жыл бұрын
Next challenge montecarlo method
@limboreversible2 жыл бұрын
I'm having a hard time implementing this code in processing . The array flexibility of p5.js is far bigger than in processing. Anyone has attempted this challenge in processing ? Thanks very much
@TheCodingTrain2 жыл бұрын
Ah yes, this is really tricky! you'll want to investigate using an ArrayList.
@limboreversible2 жыл бұрын
@@TheCodingTrain thanks a lot !! It took me a while but cracked it ! // add coordinates of moving object to arrray PVector loc; PVector dir; float bias = -1; ArrayList pathV; /////button int rectX, rectY; // Position of square button int rectSize = 30; // Diameter of rect color rectHighlight, circleHighlight; boolean rectOver = false; boolean circleOver = false; void setup() { size(700, 700); // dir = dir.fromAngle(PI/4); //initial "attack angle" dir = dir.fromAngle(PI/2); pathV = new ArrayList (); loc = new PVector (0, 0); rectX = width/2; rectY = 0+rectSize/2; } void drill() { pathV.add(new PVector(loc.x, loc.y)); beginShape(); noFill(); strokeWeight(3); stroke(255, 0, 0); for (int i = 0; i < pathV.size(); i++) { vertex(pathV.get(i).x, pathV.get(i).y); } endShape(); } void draw () { background(150); update(); fill(0, 0, 144); noStroke(); rect(rectX, rectY, rectSize, rectSize); drill(); float angle = 0.01; dir.rotate(angle*bias); loc.add(dir); pushMatrix(); strokeWeight(15); stroke(0, 255, 0); translate(loc.x, loc.y); rotate(dir.heading()+(PI/6)*bias); line(0, 0, 10, 0); popMatrix(); } void mousePressed() { if (rectOver) { bias *= -1; } } void update() { if (overRect(rectX, rectY, rectSize, rectSize) ) { rectOver = true; } else { rectOver=false; } } boolean overRect(int x, int y, int width, int height) { if (mouseX >= x && mouseX = y && mouseY
@limboreversible2 жыл бұрын
Have no clue how efficient this is though
@macrus70642 жыл бұрын
I don’t wear shoes if I don’t have to either!
@marcelcraig5072 жыл бұрын
i was sent by the big man him self
@meesvandenberg94682 жыл бұрын
This is not boring at all
@gownerjones Жыл бұрын
No, it's a boring simulation.
@toastyPredicament2 жыл бұрын
Wanna throw a party for Tech Tips?
@kwindafidler7728 Жыл бұрын
coming from overthere so u know
@cobaltbluesky22762 жыл бұрын
Me, geometry dash player: swing copter :)
@koribekconceicao94732 жыл бұрын
progress. Now, two months later, I am editing for nice tutoet League teams and players, and making money off it. Keep your heads up and
@jesuslovesyoujohn314-21 Жыл бұрын
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Isaiah 53:6 All we like sheep have gone astray; we have turned every one to his own way; and the LORD hath laid on him the iniquity of us all.
@criscubillos2 жыл бұрын
I liked the theme but the video was too fast. Especially for those of us who do not speak English natively. I barely had time to look at some of the code.
@TheCodingTrain2 жыл бұрын
Thanks for this feedback! I wonder if you might enjoy watching the full archive of the recording session? It's here: kzbin.info/www/bejne/lYrVmHarac-ris0
@criscubillos2 жыл бұрын
@@TheCodingTrain Of course!. The full video is like an "ASMR Engineer" for me. Thank you for your dedication, you are in my top 5 youtubers.
@ranyhaerunisa2 жыл бұрын
Sir please translate Indonesia....I want to study too
@nolannoble63232 жыл бұрын
3:42
@shivkampani1582 жыл бұрын
Boring isn’t… boring??!
@RajJaiswal5382 жыл бұрын
Always has been
@marcyanus14302 жыл бұрын
Barefoot coder?
@Jkauppa2 жыл бұрын
how boring
@Jkauppa2 жыл бұрын
intentionally boring, so boring
@Quidoute2 жыл бұрын
Try //@ts-check to get errors in VScode before running the code
@CivilF112 жыл бұрын
I don't think he generally uses typescript in his projects.
@Quidoute2 жыл бұрын
@@CivilF11 it works with javascript in VSCode trust me