- 84
- 138 798
James Foster
เข้าร่วมเมื่อ 7 ก.ย. 2008
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
Jasper: Accessing GemStone/S through a web browser
มุมมอง 1596 ปีที่แล้ว
Jasper: Accessing GemStone/S through a web browser
GemStone/S 64 Bit in Microsoft Windows 10
มุมมอง 3926 ปีที่แล้ว
GemStone/S 64 Bit in Microsoft Windows 10
Micro Cloud Foundry Amazon Machine Image (AMI) on AWS EC2
มุมมอง 82711 ปีที่แล้ว
Micro Cloud Foundry Amazon Machine Image (AMI) on AWS EC2
Adding a Runtime and Framework to Cloud Foundry
มุมมอง 27612 ปีที่แล้ว
Adding a Runtime and Framework to Cloud Foundry
❤
how did u get in the hello-A sketchbord?
I don't recall. Where in the video (mm:ss) is it mentioned?
@@jamesfoster1946 12:34
@@jamesfoster1946 that's the only thing i dont understand
Thanks for the help!!!!
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?
My Arduino Mega 2560 does not have any dip switches so I won't be able to talk about it. Sorry!
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
I've never had that problem but a Google search shows that others have and there are suggestions on possible fixes.
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
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)!
@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
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.
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.
I'm not sure whether this is a great advancement in development or something really harmful
Arch Linux user here and I was confused waaay to long by the title of this video.
Very interesting…
Thank you James! Very helpful.
*promo sm* 🤤
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.
I don't think of anything right off. I suggest you go to support.arduino.cc/ and perhaps ask in the Community forum.
first comment
Thanks for your videos! Extremely helpful.
Such a timely video , I was planning on moving my install from my Mac to Ubuntu
thank you so much , very helpful
Thank you so very much. I am just getting started with the Arduino at age 59 and this helps a lot. Thanks again
Thanks so much for this video. I have just a question: how did you come up with child = childNode(...)?
could you please put the archive here i don't have access to it thanks
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.
Thank You!!!
i cant find the script, coud you copy and paste it as an reply?
The code is visible and discussed in the video starting at 12:30.
@@JamesFoster2014 Alright, thanks
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?
A Google search brings me to stackoverflow.com/questions/19645441/avrdude-stk500v2-receivemessage-timeout.
Thanks you James Foster, for make happy
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
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?
Are you doing this assignment for a class? Sorry, but I don't think I can offer any more help.
@@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?
@@jamesfoster1946 thank you for explanation sir. I will check it.
very cool and well done!
You made my day sir
Thank´s sir.
thank you so much :D
Thank you🙏🏼
Very useful, great tutorial
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
Thank you for the clear explanation of connecting the LCD to the 2560 board, please keep going for more useful projects. all the best.
Thank you. Very easy to understand and beginner friendly 🙏
Sir plzz send a program for an LCD with mega arduin. Which display hello world
th-cam.com/video/nAv5pmGzqsk/w-d-xo.html
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!
Never be ashamed ! Seek help, no one will mock you, I promise you !
Be happy to learn, don’t be unhappy you haven’t
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?
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.
@@JamesFoster2014 Ok, thanks!
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!!!
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!
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
code not working. when i run it , pacman is still standing and not moving
Can I send you my code about the project for you to evaluate for me please. And correct me some code errors
Sorry, no, I don't think I can take time for that.
its Arduino, not Adrino :))
It's ardino,not arduino
I feel sorry for u that u have soo less subs so i will sub
which book did you use?
See my earlier reply to this question.
I wouldn't take lessons from someone that cannot pronounce the name of the board correctly.
Would it be possible to make the code available please
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.
@@JamesFoster2014 Because
Thank you! Great "getting started" video!