James Foster
James Foster
  • 84
  • 138 798
Banker's Algorithm
This video describes the Banker's Algorithm for resource allocation and deadlock avoidance (see en.wikipedia.org/wiki/Banker's_algorithm for an explanation). I'm working through slides for a college class on operating systems.
มุมมอง: 57

วีดีโอ

CS Professor tries GitHub Copilot on Homework (#2)
มุมมอง 297 หลายเดือนก่อน
CS Professor tries GitHub Copilot on Homework (#2)
CS Professor tries GitHub Copilot on Homework (#3)
มุมมอง 1.6K7 หลายเดือนก่อน
CS Professor tries GitHub Copilot on Homework (#3)
CS Professor tries out GitHub Copilot on Homework (#1)
มุมมอง 9227 หลายเดือนก่อน
I've just started my journey with using CoPilot and decided to try out some sample homework assignments. This is the first of three videos that show my experience.
Interview
มุมมอง 122ปีที่แล้ว
I had a student who had an assignment to do an interview and he chose me!
GemStone/S and WebGS
มุมมอง 102ปีที่แล้ว
This video introduces the GemStone/S 64 Bit Debian package repository (alpha-ppa.gemtalksystems.com) allowing GemStone to be installed in Ubuntu with the built-in package manager. It then shows how WebGS (github.com/jgfoster/WebGS) can be installed and used.
TankController Setup
มุมมอง 67ปีที่แล้ว
How to install the Open Acidification Tank Controller project (github.com/Open-Acidification/TankController). Note that if you are going to contribute to the project, you should fork then clone.
Adding Low-Level Tests to LiquidCrystal
มุมมอง 2374 ปีที่แล้ว
This is how I added a couple new tests to the low-level LiquidCrystal library.
A Unified LiquidCrystal Library with Built-In Tests
มุมมอง 2234 ปีที่แล้ว
The original LiquidCrystal library has no tests and is not testable. This video describes the library at github.com/jgfoster/LiquidCrystal that uses the Arduino CI testing framework.
Automated Testing of a Program Using the Arduino LiquidCrystal Library
มุมมอง 3844 ปีที่แล้ว
How do we run automated tests on an Arduino program that uses a moderately complex library like LiquidCrystal where it may take a couple hundred pin settings to display "Hello world!"? In this video we demonstrate the use of github.com/jgfoster/LiquidCrystal_CI using the Arduino CI testing gem. Note that this approach requires two libraries. For an approach that uses only one library see th-cam...
Automated Testing using adrunio_ci
มุมมอง 5444 ปีที่แล้ว
Any serious software project should have good tests and much work has been done to automate that process. One challenging area for testing is low-level devices, such as an Arduino, whose primary action is setting lines to high or low voltage. One project that seems to be doing a good job of filling this gap is arduino_ci. In this video we demonstrate a sample Arduino program with automated test...
Testing the Arduino LiquidCrystal Library
มุมมอง 1.1K4 ปีที่แล้ว
In this video I demonstrate testing of Arduino's LiquidCrystal library. Instead of connecting the board to an LCD 1602, I connect it to another Arduino and read the pins and interpret the pins that are set by the library. The code for this proof-of-concept is at github.com/jgfoster/Arduino/tree/master/LCD1602. Note: For the proper pronunciation of Arduino, see th-cam.com/video/L8BxOmo3jlQ/w-d-x...
Arduino Mega 2560 and a 1602 LCD
มุมมอง 17K4 ปีที่แล้ว
Update #2: For the proper pronunciation of Arduino, see th-cam.com/video/L8BxOmo3jlQ/w-d-xo.html (as may be obvious, I'm new with this technology and sharing what I'm learning!). Update #1: It appears that Fritzing, while otherwise very nice for drawing, seems to have listed the pins as D1, D3, D2, D4, .... When I created the video I assumed that this was just a typo and put that as a note on t...
Getting Started with the Arduino Mega 2560
มุมมอง 47K4 ปีที่แล้ว
Download the IDE, connect the device, blink the LED, and output to the serial port. Note: For the proper pronunciation of Arduino, see th-cam.com/video/L8BxOmo3jlQ/w-d-xo.html (as may be obvious, I'm new with this technology and sharing what I'm learning!).
Installing GemStone 3.5.2 in Ubuntu 18.04
มุมมอง 1004 ปีที่แล้ว
This video shows the steps described at programminggems.wordpress.com/2020/06/17/installing-gemstone-s-on-ubuntu/. We install GemStone 3.5.2 in Ubuntu 18.04 (running in a Windows Hyper-V environment) and then connect to it from Jade.
Install Ubuntu 18.04 on Microsoft Windows using Hyper-V
มุมมอง 4624 ปีที่แล้ว
Install Ubuntu 18.04 on Microsoft Windows using Hyper-V
Pacman Search BFS
มุมมอง 21K4 ปีที่แล้ว
Pacman Search BFS
PharoGs Intro
มุมมอง 1845 ปีที่แล้ว
PharoGs Intro
VSCode Extension for GemStone IDE
มุมมอง 1835 ปีที่แล้ว
VSCode Extension for GemStone IDE
Jasper: Accessing GemStone/S through a web browser
มุมมอง 1596 ปีที่แล้ว
Jasper: Accessing GemStone/S through a web browser
GemStone's Topaz in Jupyter
มุมมอง 556 ปีที่แล้ว
GemStone's Topaz in Jupyter
GemStone in a Docker container
มุมมอง 1016 ปีที่แล้ว
GemStone in a Docker container
GemStone/S 64 Bit in Microsoft Windows 10
มุมมอง 3926 ปีที่แล้ว
GemStone/S 64 Bit in Microsoft Windows 10
SQL Queries in Smalltalk
มุมมอง 1926 ปีที่แล้ว
SQL Queries in Smalltalk
Jade: A Smalltalk IDE for GemStone/S
มุมมอง 1.5K11 ปีที่แล้ว
Jade: A Smalltalk IDE for GemStone/S
GemStone on the Macintosh
มุมมอง 37511 ปีที่แล้ว
GemStone on the Macintosh
Micro Cloud Foundry Amazon Machine Image (AMI) on AWS EC2
มุมมอง 82711 ปีที่แล้ว
Micro Cloud Foundry Amazon Machine Image (AMI) on AWS EC2
Mind the Gap
มุมมอง 34912 ปีที่แล้ว
Mind the Gap
Adding Smalltalk to Cloud Foundry
มุมมอง 15512 ปีที่แล้ว
Adding Smalltalk to Cloud Foundry
Adding a Runtime and Framework to Cloud Foundry
มุมมอง 27612 ปีที่แล้ว
Adding a Runtime and Framework to Cloud Foundry

ความคิดเห็น

  • @Qubit313
    @Qubit313 5 วันที่ผ่านมา

  • @codlaugh9749
    @codlaugh9749 หลายเดือนก่อน

    how did u get in the hello-A sketchbord?

    • @jamesfoster1946
      @jamesfoster1946 หลายเดือนก่อน

      I don't recall. Where in the video (mm:ss) is it mentioned?

    • @codlaugh9749
      @codlaugh9749 หลายเดือนก่อน

      @@jamesfoster1946 12:34

    • @codlaugh9749
      @codlaugh9749 หลายเดือนก่อน

      @@jamesfoster1946 that's the only thing i dont understand

  • @Turkeyymann
    @Turkeyymann 4 หลายเดือนก่อน

    Thanks for the help!!!!

  • @bobbylim1971
    @bobbylim1971 4 หลายเดือนก่อน

    Sir, please explain on the Arduino board, the pin up/down (DIP SWITCHES) from number 1 to 9 which one to use? This is the very basic and i dont know why youtubers are not explaining this step. Next is the driver for the com port. Why are these 2 basic things not explain?

    • @JamesFoster2014
      @JamesFoster2014 4 หลายเดือนก่อน

      My Arduino Mega 2560 does not have any dip switches so I won't be able to talk about it. Sorry!

  • @bobbylim1971
    @bobbylim1971 4 หลายเดือนก่อน

    All i get is error like this: vrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer Failed uploading: uploading error: exit status 1

    • @JamesFoster2014
      @JamesFoster2014 4 หลายเดือนก่อน

      I've never had that problem but a Google search shows that others have and there are suggestions on possible fixes.

  • @davidtaylor6870
    @davidtaylor6870 5 หลายเดือนก่อน

    Thanks for your concise instruction. How ever, I should point out that the controllerbis an ARDUINO, and not a ADRINO. I think you should correct your expression, regards

    • @JamesFoster2014
      @JamesFoster2014 5 หลายเดือนก่อน

      David, Thanks for your comments. As you may note in the beginning of the description ("Update #2") I note that I pronounced it wrong. I'd love to correct it but TH-cam doesn't let me replace the existing video. Given that it is one of my most popular videos, I'm hesitant to remove it (as embarrassing as it is)!

    • @davidtaylor6870
      @davidtaylor6870 5 หลายเดือนก่อน

      @JamesFoster2014 thanks for your prompt response. I am resourcing myself with arduino information. The arduino is a great breakout board, and just surprised about the ease of programming. Great work, regards

  • @michaeltanzer
    @michaeltanzer 7 หลายเดือนก่อน

    Have a look at copilot chat and at the code editor (select some code, from the context menu pick "edit with copilot" and give it a prompt). Marking coursework has been challenging knowing that these tools exist.

  • @dojohansen123
    @dojohansen123 7 หลายเดือนก่อน

    This sucked surprisingly much. Much slower than straightforward coding without a copilot, and the result is badly structured code with a ton of comments of precisely the kind every "clean code" guideline ever has taught us never to use. And I thought Github Copilot was already supposed to make actual developers way more productive.

  • @aimpizza6823
    @aimpizza6823 7 หลายเดือนก่อน

    I'm not sure whether this is a great advancement in development or something really harmful

  • @JH4mm3r
    @JH4mm3r 7 หลายเดือนก่อน

    Arch Linux user here and I was confused waaay to long by the title of this video.

  • @addeyyry
    @addeyyry 7 หลายเดือนก่อน

    Very interesting…

  • @jaimetiongson9315
    @jaimetiongson9315 9 หลายเดือนก่อน

    Thank you James! Very helpful.

  • @gregoryrogers1420
    @gregoryrogers1420 11 หลายเดือนก่อน

    *promo sm* 🤤

  • @atihrot755
    @atihrot755 11 หลายเดือนก่อน

    I wish you a good day. I have an Arduino Mega where I have a problem uploading the code. The port is found by the computer, so the driver is good, but it does not communicate with the main processor. What could be wrong. Thank you in advance for your help.

    • @JamesFoster2014
      @JamesFoster2014 11 หลายเดือนก่อน

      I don't think of anything right off. I suggest you go to support.arduino.cc/ and perhaps ask in the Community forum.

  • @Etitexity
    @Etitexity ปีที่แล้ว

    first comment

  • @lucianomartinez27
    @lucianomartinez27 ปีที่แล้ว

    Thanks for your videos! Extremely helpful.

  • @monteirosfusion
    @monteirosfusion ปีที่แล้ว

    Such a timely video , I was planning on moving my install from my Mac to Ubuntu

  • @2uz
    @2uz ปีที่แล้ว

    thank you so much , very helpful

  • @jonnymakers9560
    @jonnymakers9560 ปีที่แล้ว

    Thank you so very much. I am just getting started with the Arduino at age 59 and this helps a lot. Thanks again

  • @vanou7405
    @vanou7405 ปีที่แล้ว

    Thanks so much for this video. I have just a question: how did you come up with child = childNode(...)?

  • @alirezanasirzade2443
    @alirezanasirzade2443 ปีที่แล้ว

    could you please put the archive here i don't have access to it thanks

    • @JamesFoster2014
      @JamesFoster2014 ปีที่แล้ว

      No, since this is an assignment for a class and I'm already giving you more explanation and hints than your instructor expected, I'm not going to give you the full solution. You need to learn the material and figure out how to write the code.

  • @kingnexa7257
    @kingnexa7257 ปีที่แล้ว

    Thank You!!!

  • @SomethingsOff
    @SomethingsOff ปีที่แล้ว

    i cant find the script, coud you copy and paste it as an reply?

    • @JamesFoster2014
      @JamesFoster2014 ปีที่แล้ว

      The code is visible and discussed in the video starting at 12:30.

    • @SomethingsOff
      @SomethingsOff ปีที่แล้ว

      @@JamesFoster2014 Alright, thanks

  • @marstangeliyorum6091
    @marstangeliyorum6091 ปีที่แล้ว

    when i do what you say, my 'L' pin always red and I'm getting avrdude: stk500v2_ReceiveMessage(): timeout error when I try blink project. What is the problem caused by?

    • @JamesFoster2014
      @JamesFoster2014 ปีที่แล้ว

      A Google search brings me to stackoverflow.com/questions/19645441/avrdude-stk500v2-receivemessage-timeout.

  • @pedroayrwan4063
    @pedroayrwan4063 ปีที่แล้ว

    Thanks you James Foster, for make happy

  • @navrajsingh2300
    @navrajsingh2300 ปีที่แล้ว

    Sir blocks are showing on my lcd display, connection are correct but it is not showing any text after uploading the code ,..I have under> tools>board selected Arduino mega >port com 5.code is uploading successful 😔but no text is showing

  • @ResulBozburun
    @ResulBozburun ปีที่แล้ว

    Hello, I've solved the question with a similar approach. I've also got same autograder result, I don't expand all of the child nodes. How did you fix it sir?

    • @jamesfoster1946
      @jamesfoster1946 ปีที่แล้ว

      Are you doing this assignment for a class? Sorry, but I don't think I can offer any more help.

    • @ResulBozburun
      @ResulBozburun ปีที่แล้ว

      @@jamesfoster1946 yes sir. I dont want the solution from you. I didnt understand the term ‘expanded’. The test case says i am expanding less then expected. What is expanding? I am checking child nodes one by one. Is that not expanding?

    • @ResulBozburun
      @ResulBozburun ปีที่แล้ว

      @@jamesfoster1946 thank you for explanation sir. I will check it.

  • @zfolwick
    @zfolwick ปีที่แล้ว

    very cool and well done!

  • @jorancolijn2137
    @jorancolijn2137 2 ปีที่แล้ว

    You made my day sir

  • @luismolinavasquez415
    @luismolinavasquez415 2 ปีที่แล้ว

    Thank´s sir.

  • @adexx294
    @adexx294 2 ปีที่แล้ว

    thank you so much :D

  • @sekkhodkaew8198
    @sekkhodkaew8198 2 ปีที่แล้ว

    Thank you🙏🏼

  • @Maracazo
    @Maracazo 2 ปีที่แล้ว

    Very useful, great tutorial

  • @pokebattle7959
    @pokebattle7959 2 ปีที่แล้ว

    Bro I wanted code for this plane th-cam.com/video/WKkWElvF-a0/w-d-xo.html And I have made this th-cam.com/video/bD7rQbnSbek/w-d-xo.html transmitter and receiver. I whated that when I Any move joystick to right then one servo should go up and other down. Opposite for left. And that same servos should go Up at same time and as well as down at same time. And the code should be 2 servo and one brushless motor and brushless motor should stop when I take the joystick up and at normal position of joystick the motor should start Rotation . Please bro give me code because there no one who replied me only you replied me. I will subscribe to your channel please

  • @hamermohd6884
    @hamermohd6884 2 ปีที่แล้ว

    Thank you for the clear explanation of connecting the LCD to the 2560 board, please keep going for more useful projects. all the best.

  • @muhammadsyahalfikri_0563
    @muhammadsyahalfikri_0563 2 ปีที่แล้ว

    Thank you. Very easy to understand and beginner friendly 🙏

  • @Snackio117
    @Snackio117 2 ปีที่แล้ว

    Sir plzz send a program for an LCD with mega arduin. Which display hello world

    • @JamesFoster2014
      @JamesFoster2014 2 ปีที่แล้ว

      th-cam.com/video/nAv5pmGzqsk/w-d-xo.html

  • @reinalto
    @reinalto 2 ปีที่แล้ว

    I'm in college and I was very ashamed by have never worked with the Arduino before. Your video made me smile, I was doing the very basics and I'm proud of myself. Soon I'll improve to finish my project. Thank you!

    • @ashprojects42
      @ashprojects42 2 ปีที่แล้ว

      Never be ashamed ! Seek help, no one will mock you, I promise you !

    • @austin0207
      @austin0207 2 ปีที่แล้ว

      Be happy to learn, don’t be unhappy you haven’t

  • @DaDevKing
    @DaDevKing 2 ปีที่แล้ว

    Amazing video! works like a charm! but sometimes if there is too much text the text goes off the LCD display do you have any recommendations to fix that?

    • @JamesFoster2014
      @JamesFoster2014 2 ปีที่แล้ว

      There is room for only 16 characters per line. If you have more than 16 characters then you need to put it on two lines or you need to scroll. See the library API at www.arduino.cc/en/Reference/LiquidCrystal.

    • @DaDevKing
      @DaDevKing 2 ปีที่แล้ว

      @@JamesFoster2014 Ok, thanks!

  • @siddhuneehal1439
    @siddhuneehal1439 2 ปีที่แล้ว

    thanks alot sir! i hope you keep uploading more videos.... im just 3min into the video and i already got lot of info from it!!!

  • @JamesFoster2014
    @JamesFoster2014 2 ปีที่แล้ว

    As noted in the description, this is an excerpt meant to give a brief description of Smalltalk. You can see my channel for more videos, but I don't have the full presentation, sorry!

  • @monteirosfusion
    @monteirosfusion 2 ปีที่แล้ว

    So I"m having genral issues with Ubuntu 20 i.e. issues with their DNS resolution i.e. it can't on WSL2 , I'll try Ubuntu18

  • @MyVip3r
    @MyVip3r 2 ปีที่แล้ว

    code not working. when i run it , pacman is still standing and not moving

  • @minaturabio2023
    @minaturabio2023 2 ปีที่แล้ว

    Can I send you my code about the project for you to evaluate for me please. And correct me some code errors

    • @JamesFoster2014
      @JamesFoster2014 2 ปีที่แล้ว

      Sorry, no, I don't think I can take time for that.

  • @sorinsop
    @sorinsop 2 ปีที่แล้ว

    its Arduino, not Adrino :))

    • @jibob6959
      @jibob6959 ปีที่แล้ว

      It's ardino,not arduino

  • @abdulhadiowais2388
    @abdulhadiowais2388 2 ปีที่แล้ว

    I feel sorry for u that u have soo less subs so i will sub

  • @minaturabio2023
    @minaturabio2023 2 ปีที่แล้ว

    which book did you use?

    • @JamesFoster2014
      @JamesFoster2014 2 ปีที่แล้ว

      See my earlier reply to this question.

  • @Paulvideo123
    @Paulvideo123 2 ปีที่แล้ว

    I wouldn't take lessons from someone that cannot pronounce the name of the board correctly.

  • @minaturabio2023
    @minaturabio2023 2 ปีที่แล้ว

    Would it be possible to make the code available please

    • @JamesFoster2014
      @JamesFoster2014 2 ปีที่แล้ว

      Since this is for a class I'd prefer to let the student make some effort. As it is, given the popularity I'm afraid that I'm aiding cheating as it is.

    • @minaturabio2023
      @minaturabio2023 2 ปีที่แล้ว

      @@JamesFoster2014 Because

  • @nedmerrill5705
    @nedmerrill5705 3 ปีที่แล้ว

    Thank you! Great "getting started" video!