Eric Rosko
Eric Rosko
  • Видео 11
  • Просмотров 600 106
Python 3 venv: virtual environment tutorial in depth
If you are a total beginner, this video holds your virtual hand through the creation of a Python3 virtual environment using the venv command. It's not for the pro, but its made to get the complete newbie comfortable with the process and I do what I can to dispel all the magic that is going on.
I go into detail on a few related subjects which newer programmers should know about and I'm sure will find interesting.
I felt the need to talk longer because there were just a lot of little details which popped up which could easily be glossed over. Remember that I don't offer my explanations as being the best, experiment and figure everything out for yourself and if I'm wrong anywhere please let me...
Просмотров: 6 789

Видео

Binding a View-Based NSTableview to NSArrayController in Swift 4
Просмотров 7 тыс.6 лет назад
This video demonstrates how to set up an NSArrayController with your NSTableView. This is only for a Cocoa (Mac app), and uses Xcode 9.2 and Swift 4. I spent a lot of time wondering why I couldn't get my bindings to work, so I'm sharing what I discovered. This solution does not use Core Data, so its easily accessible for the new programmer or programmer new to Cocoa programming. You can downloa...
How to Unplug a Bathtub Drain Using a Snake or Drum Auger
Просмотров 539 тыс.6 лет назад
Don't worry, since doing this video I've cleaned my bathroom and it sparkles. Re-caulked, everything. This video shows you how to use a drum auger/snake to clean the pipes in your house. The basic technique applies to all the pipes in your house. I don't recommend using Drano or liquid cleaner, because it doesn't work well and just goes into the water supply. Using a snake doesn't use any chemi...
User question response for VBoxManage Syntax error: Invalid parameter 'VMs/Windows'"
Просмотров 2,6 тыс.7 лет назад
This video helps solve the error "Syntax error: Invalid parameter 'VMs/Windows'" a viewer received when running VBManage showmediuminfo. The original video where the viewer posted the question in the comments section is located at ruclips.net/video/2iAbwdaXXeA/видео.html . The video deals with how to resize the virtual hard disk of a Windows machine running on OS X in VirtualBox (phew!). This s...
How to Resize a Windows VirtualBox VM hosted on Mac OS X
Просмотров 35 тыс.8 лет назад
This video shows you how to resize a Windows VirtualBox VM where the host system is a Mac. The instructions for the terminal are from this great webpage: osxdaily.com/2015/04/07/how-to-resize-a-virtualbox-vdi-or-vhd-file-on-mac-os-x/ The trick I show is really to just use DiskMgmt.msc in Windows to tell windows to use the new space you added using the VirtualBox tool. I take my time so anyone s...
Joel Kabakov reading two poems at the Wing Luke Museum of the Asian Pacific American Experience
Просмотров 1199 лет назад
Joel Kabakov reading two poems at the Wing Luke Museum of the Asian Pacific American Experience. He participated in the open mic portion of the fabulous event "Poetry Reading and Open Mic with Koon Woon and Dr. Keith Holyoak".
How to make Indian Chai
Просмотров 1559 лет назад
There are other videos on how to make chai, but I aimed at showing the whole process instead of just the ingredients used. Hopefully this will answer all your questions so you can make chai like a real chai wallah! My basic chai recipe (for 2 cups): - 1 cup water and 1 cup milk (you can also do 2 cups milk for "full milk" tea) - 4 cardamom pods - slice of fresh ginger (really adds some nice fla...
NSTextField Content Hugging Priority
Просмотров 2 тыс.9 лет назад
NSTextField's content hugging priority is investigated in this video, which delves into the hugging priority element of Auto Layout. Using Xcode 5.1.1 Follow me on twitter: @ericrosko
Naming & Style Conventions for Objective-C
Просмотров 1409 лет назад
This video is meant to go over naming and style for students new to Objective-C. I hope you find it useful, and I was surprised when it went well over five minutes. Follow me on twitter: ericrosko
Four Sevillanas for two guitars
Просмотров 2149 лет назад
These are four Spanish sevillanas played by Joel Kabakov (left) and Eric Rosko (right). Joel Kabakov, Ph. D., teaches music classes at Columbia Gorge Community College where this was recorded.
Why you might use copy instead of strong in an Objective-c @property
Просмотров 8 тыс.9 лет назад
This video covers the use of the objective-c @property attribute 'copy'. There is some confusion as to why you would use copy, and I try and illustrate how not using copy can still leave your class open to changes, even if you have a reference to an immutable NSString. My twitter feed: ericrosko Thanks.

Комментарии

  • @iznone
    @iznone 26 дней назад

    Tried many times, this not working.

  • @straightfromthepen-33
    @straightfromthepen-33 29 дней назад

    Thanks! You're the second person I've watched who showed starting at the top instead of the drain at the bottom of the tub.

  • @LordJohnnyBlu
    @LordJohnnyBlu 29 дней назад

    Thanks bro

  • @Khonshu_prod
    @Khonshu_prod Месяц назад

    yet it 2024 its still useful

  • @JuliannUnicornStarTarot
    @JuliannUnicornStarTarot Месяц назад

    does it matter if you rotate it clockwise or should it be counter-clockwise? thank you

    • @ericrosko
      @ericrosko Месяц назад

      The end of the steel cable is round in a specific way, and I think it makes sense to rotate it in the direction so the cut end rotates so that it will capture hair and move it down the spiral. So kind of like a corkscrew works, so grab whatever is in front of it as you turn the handle. It will depend on how the company make the cable. Hope this makes sense and good luck.

  • @markjz2011
    @markjz2011 2 месяца назад

    Amateur

  • @johnkosick1464
    @johnkosick1464 6 месяцев назад

    Once you hit your 1st clog and grab it, I would pull the augur out and clean it. Otherwise if you continue you will be pushing that clog further down the pipe...... Just a though.

  • @brooklyncalloway4211
    @brooklyncalloway4211 7 месяцев назад

    Kitchen sink

  • @jeffmilroy9345
    @jeffmilroy9345 9 месяцев назад

    Clean up tip: if the snake and tip come back coated with a really nasty black coating - you can have a bucket with some warm soapy water to rinse it in. You can even use the toilet bowl water in a pinch (easy to flush). Better than handling the black crap - it will get everywhere if you dont rinse off the snake.

  • @goranbrannstrom
    @goranbrannstrom 9 месяцев назад

    Also, why do you use pip sometimes and pip3 sometimes?

    • @ericrosko
      @ericrosko 9 месяцев назад

      pip3 will explicitly call the python3 version of pip. So if you use pip, and installed python2 earlier, then pip might just be calling the python2 version of pip (which I assume is pip2). pip itself might only exist as an alias pointing to the version of pip you want. If I'm setting up a computer and install pip3, but there is no pip, then I must just add pip as an alias so calling pip will call pip3. When in doubt, use that version number after pip (like pip3) and you will never go wrong. It's kind of a gotcha. Thanks for finding my video, its ancient by this point.

  • @goranbrannstrom
    @goranbrannstrom 9 месяцев назад

    As a newbie to python I have to ask: Will I have to source this venv/bin/activate file every single time I want to run one of my python scripts? When I write bash script I can just add a shebang to the first line and I can run it from anywhere without sourcing anything first. Please, tell me there's a simpler way for actually using the scripts after developing them...?

    • @ericrosko
      @ericrosko 9 месяцев назад

      While I can't remember the exact part of the video, if I'm typing 'source' in the terminal, it is so I can basically "refresh" the terminal with the environmental variables. This is especially handy if there are a lot of them. When you open a terminal, it loads its startup values from its config file, either .bash_profile or whatever shell config you need. So you can put your repeating commands in the config, then they will run when you open the terminal. Basically source is used to reload values into my terminal so I don't have to close and re-open the terminal. For large annoying commands sometimes I can use "alias", so I can put the line "alias desk='cd ~/Desktop" in my config and then typing just desk in my terminal will execute that command. There are lots of things like this. If you find it annoying, then someone else has two, and there is a way to make it easier.

  • @MissDee1222
    @MissDee1222 9 месяцев назад

    Slow & steady for the win!!!!!!! Thank you for making this video. You have no idea how much you've helped me 🙏🏾

  • @user-hn6ti7bk2h
    @user-hn6ti7bk2h 9 месяцев назад

    What is the name of this machine?

    • @ericrosko
      @ericrosko 9 месяцев назад

      It's often called a "snake", but the official term in drum auger.

  • @Armani_Prince
    @Armani_Prince 10 месяцев назад

    I'm albino too brother be proud brother

  • @herlineluv
    @herlineluv 10 месяцев назад

    Thank you ❤❤❤❤

    • @ericrosko
      @ericrosko 10 месяцев назад

      Doing this is not for the faint of heart. Congratulate yourself!

    • @herlineluv
      @herlineluv 10 месяцев назад

      @@ericrosko you don’t know how you save my life. My sink and my tub been acting up for days now. I saw your video I brought the snake, picked up in 1hrs I did exactly what you did. My 9y old son said! Good job mommy. Thx to you. God bless you😘😘😘😘😘😘

  • @googlemyself4091
    @googlemyself4091 Год назад

    When I stick my drum auger through the top hole it comes right out of my drain. When I stick the auger in the drain it comes out of my top hole.

  • @levelintent
    @levelintent Год назад

    I bought the auger and used it today but I don't know how much of the wire to use. So I just pushed and then stopped when I felt it was enough, I had anxiety about pushing it further like you did. Tub still drains extremely slow... should I push all 25ft down the drain, is that safe or will it get stuck? Where does all 25ft go, I feel like it's gonna go into my neighbor's tub

  • @lorenzobarranco9253
    @lorenzobarranco9253 Год назад

    Thanks, your tutorial on properly snaking saved me $$$, time and additional STRESS!

  • @JoseLeybaDiaz
    @JoseLeybaDiaz Год назад

    Thanks brother. But cut your nails

  • @mariamissa6832
    @mariamissa6832 Год назад

    Why is to old.

  • @stewartbruce8902
    @stewartbruce8902 Год назад

    A well executed tutorial, coupled with your delightful personality. Thank you for you production, helped me and countless others.

  • @venomsorceress
    @venomsorceress Год назад

    I was actually able to get a big clump of hair and a tub chain up. The first time I tried it nothing came up and it seemed like the cable was twisted and I was a little rough and plastic was scraping off the drum. This time I went slower and fed the cable through slower and stopped more often to tighten and twist. It worked! Thanks for helping us laymen!

  • @cozyambiencegirl
    @cozyambiencegirl Год назад

    It WORKS 😂 Disgustingly satisfying! Thanks for the help!

    • @ericrosko
      @ericrosko Год назад

      Haha. Nice job. Glad you didn't let the slime get to you!

  • @davidenderli4391
    @davidenderli4391 2 года назад

    The first two and a half minutes of this video are a waste of you just talking and not showing how to use the auger which is supposed to be the whole point of the video.

  • @santoshoinam
    @santoshoinam 2 года назад

    Thank you very much, both your tutorial help me resize my c drive,hurray

    • @ericrosko
      @ericrosko 2 года назад

      Cool. the video's getting old and I'm glad its still useful!

  • @SandyCheeks63564
    @SandyCheeks63564 2 года назад

    what if you have a floor-type stopper, outside the tub? Can I even get past that stopper using the snake through the bathtub drain?

  • @davy5537
    @davy5537 2 года назад

    I know that it's your house, but use gloves.

  • @raver90t
    @raver90t 2 года назад

    Okay if you’ve only got an S - traps connected to your waste, if you’ve got a P-trap or a bottle trap when it’s game over ..

  • @liezelevans3637
    @liezelevans3637 2 года назад

    Can the auger be use too in washer drainage?

  • @AdamKaiser.
    @AdamKaiser. 2 года назад

    Mine gets stuck not very far and no matter what I do I can't get it to go down

  • @richardporrata3341
    @richardporrata3341 2 года назад

    You sir have a good dynamic when narrating; like a good professor. Good video👍.

    • @richardporrata3341
      @richardporrata3341 2 года назад

      By the way, I did exactly as you sir in the video and got a very good result, in fact I was surprised by the amount of hair/goo that came out on the snake it was like 32" long; and the water goes down nicely plus, I put a strainer, thanks👍!

  • @vivienneandersson6019
    @vivienneandersson6019 2 года назад

    After 18" it wouldn't go any further, I tried locking and rotation the handle, so disappointed

  • @poppybutler3430
    @poppybutler3430 2 года назад

    For everyone with a snake who can’t get it to go into the elbow - if you’re going through the top hole you can use a flashlight and look down the bottom drain hole - you should see the end of the snake and be able to use a long screwdriver or whatever you have to push it down the elbow into the next length of pipe:) - thanks for this video it just saved me a big bill !

    • @jamalbenthall151
      @jamalbenthall151 Год назад

      I really appreciate that because I can ever get a snake down a tub. I can't wait to try again with your advice.

    • @lorenduran3347
      @lorenduran3347 9 месяцев назад

      By top hole do you mean the overflow? Cuz man I cannot get this snake down at all it’s freaken hard

  • @hdhdhhdhsu5898
    @hdhdhhdhsu5898 2 года назад

    Thank you for this video! I cleared my tub ( disgusting what came up) with minimal effort!

    • @ericrosko
      @ericrosko 2 года назад

      You're welcome! Good job.

  • @MorphTW
    @MorphTW 2 года назад

    Thanks for sharing. I found a good tip. If your environments have same name you can make bash alias for faster activation. at the bottom of .bash_aliases or .bashrc you can add: alias activate='source ./venv/bin/activate'

  • @garysiuco7834
    @garysiuco7834 2 года назад

    Wow! I've been dreading this routine every six months unclogging the shower drain. After watching this video I now realize I've been doing it wrong all this time! Going through the over-flow never occurred to me, and now, it was a piece of cake. Thank you, these short and sweet videos are way easier to watch - we don't need to watch twenty minutes of crap to get to the point as in other DIY vids! Cheers.

    • @ericrosko
      @ericrosko 2 года назад

      People complain about my short intro too. I guess I could have chopped it out but I thought I'd give an overview before I started. Thanks for your input.

    • @Conetopiatv
      @Conetopiatv Год назад

      I used mine in the over flow.... and noticed i hit a wall. looked down and saw the end 4 inches down the drain 😢 , I got trolled. the 1/4 inch auger isn't making a 90"" elbow very well, and stops 4 inches past that, so im at a loss. TNT probably wouldn't even fix my drain.

  • @ut561
    @ut561 2 года назад

    good video but the start should have been 1:40 in, intro not needed.

  • @jakegalea3811
    @jakegalea3811 2 года назад

    Legend

  • @jerrbear1371
    @jerrbear1371 3 года назад

    You’re gonna poke your eye out with that !😜

  • @birdsong3
    @birdsong3 3 года назад

    Will it work for tree roots? I'm not sure if that's the problem or not...how can you tell?

    • @ericrosko
      @ericrosko 3 года назад

      The augur I use definitely won't work for tree roots. They have special augers with cutting blades for those, and that is the time when you need to call the plumber. I wouldn't try it myself if that were the problem. This is for cleaning out indoor pipes that probably don't go all the way to the ground.

    • @birdsong3
      @birdsong3 3 года назад

      @@ericrosko yep its either tree roots or the galvanized pipes

    • @jameslane9537
      @jameslane9537 3 года назад

      @@birdsong3 I watched a plumber use an electric auger to clear my main sewer line of invasive roots. It's a machine you don't want to mess with unless you know what you are doing.

  • @marcelinoramos4580
    @marcelinoramos4580 3 года назад

    Thank you

  • @kaushikvasanth6541
    @kaushikvasanth6541 3 года назад

    Hi, I am facing this issue. Could you please help me here. Thank you MACs-MacBook-Pro-3:MacOS mac$ VBoxManage modifyhd --resize 40000 /Users/mac/VirtualBox\ VMs/windows\ 10/windows\ 10.vdi 0%... Progress state: VBOX_E_NOT_SUPPORTED VBoxManage: error: Failed to resize medium VBoxManage: error: Shrinking is not yet supported for medium '/Users/mac/VirtualBox VMs/windows 10/windows 10.vdi' VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component MediumWrap, interface IMedium VBoxManage: error: Context: "RTEXITCODE handleModifyMedium(HandlerArg *)" at line 816 of file VBoxManageDisk.cpp MACs-MacBook-Pro-3:MacOS mac$

    • @ericrosko
      @ericrosko 3 года назад

      The error says that shrinking is not supported. So without me actually doing any googling, it might mean that its simply impossible to shrink a virtual disk. Adding space to a virtual disk sounds a lot easier, since its just adding empty space, but shrinking a disk means the contents are potential fragmented all over the disk (since its windows) and you'd have to make sure you only shrunk empty space. So its possible that's why you see the error. If you are actually trying to make your disk bigger, which I think is what most people want to do, then your size is accidentally too small. Good luck!

  • @dalerider3124
    @dalerider3124 3 года назад

    What kind of SNAKE - - - regular black snake, or is a rattlesnake quicker?

  • @boilerman5541
    @boilerman5541 3 года назад

    great tool i use this all the time check out ruclips.net/video/faltH0zMQWY/видео.html #blocked #unclog #drain #bathtub #sink

  • @John-ft5cx
    @John-ft5cx 3 года назад

    Just cleared shower drain, thanks for all the tips. Kept trying several times today, would read everyone's comments and watch the video until I felt I just needed to keep pressure on the pushing. Pulled out what looked like tape?, leaves?, hair and feces!

  • @archangel6832
    @archangel6832 3 года назад

    What is the advantage of augering from the overflow compared to the drain, if any?

    • @ericrosko
      @ericrosko 3 года назад

      I think you just get a better angle. You just want to be careful not to scratch the metal so a better angle may help.

  • @nextlevelintactivism8195
    @nextlevelintactivism8195 3 года назад

    Thank you

  • @brianquick5744
    @brianquick5744 3 года назад

    down loaded the sample code since I was having a problem. I changed the self.personAC.addObject(person) to be an array with two occurances and got the same error as I was having ... addObserver:forKeyPath:options:context:] is not supported. Key path: name any ideas?

  • @jamesnellis8004
    @jamesnellis8004 3 года назад

    Cut your nails brah!

    • @ericrosko
      @ericrosko 3 года назад

      I play classical guitar which require them so I'm kind of stuck there. ;)

    • @jamesnellis8004
      @jamesnellis8004 3 года назад

      @@ericrosko Ah, excuse my ignorance haha