Graham Roberts
Graham Roberts
  • 83
  • 1 100 637
Local Storage Methods #2
Part 2 of the look at the five methods and behaviours to help us use local storage. We also look at the development tools (F12) in Chrome browser.
zhlédnutí: 87

Video

Local Storage Management Methods #1
zhlédnutí 103Před 4 lety
We look at the useful methods and behaviours to manage local storage: setItem(), getItem(), removeItem(), clear() and key(). We also look at how we can loop around them in two ways (using for x in localStorage and key()). We look at the script and the actions in the development area obtained by F12 in Chrome. The script can be found at jsls ciphers.repl.co/
Local Storage JS Management #3
zhlédnutí 61Před 4 lety
Uses W3Schools' script to explain that local storage on the client-side has creation, editing, display and deletion facilities managing items that are a key-value associative array like a map. The key is unique but maybe named (as in this simple case) and the values are strings. Editing is done in the development system (F12 in Chrome). We look at localStorage() methods.
Curious Quadratic
zhlédnutí 1,4KPřed 7 lety
A quadratic solutions seen in the film Hidden Figures (2016). Can you solve the one a 7-year old girl does back in the 1930's? Note: factorising a quadratic equation depends on the fact that the form is fixed. It requires only a little arithmetic and understanding negative numbers. The rules used provide shortcuts and doubtless young Kathy did that as mental arithmetic confirmed on the board bu...
BlueJ Project from scratch
zhlédnutí 1,9KPřed 8 lety
How to do it!
Frog Jumping Puzzle Solution
zhlédnutí 132KPřed 9 lety
Just for fun and finding an amphibian rubric ...
CIDR numbers
zhlédnutí 279Před 9 lety
Classless Inter-Domain Routing is explained from focus on last quartet and how a.b.c.0/nn determines the broadcast address, x and it forces the number of hosts (x-1), and the range from a.b.c.1 through a.b.c. (x-1).
Sign, mantissa and exponent in single precision binary floats
zhlédnutí 29KPřed 9 lety
I explain what the terms mantissa, exponent and sign bit mean in terms of the IEEE single precision (32 bit) standard. I include in my description which bits are used for each of these three parts. (Note: error in a slide shows bit #22 through bit #0 for the mantissa as counting 24 bits but it should be 23 bits.) PDF summary available...
AJAXing your web page using PHP and MySQL and Javascript
zhlédnutí 158Před 9 lety
Like it says! And a timer...
Oracle Database integrity: entity, referential and domain - tutorial 6
zhlédnutí 1,3KPřed 9 lety
We look at a product-order-customer entity relationship diagram and discuss its entity integrity, move to a brief schema showing referential integrity on orders table and implement with a script to show domain integrity. The examples are run in Oracle Database Express. Of course integrity is really important when using insert, update and delete SQL keywords. The tutorial notes are found in a PD...
mutiple panels in Java using Netbeans 5
zhlédnutí 577Před 9 lety
We progress using the west panel for a game and the south panel to stop and start it using a button. A static (class) variable is created to facilitate the toggling of the button to start or stop the game by effectively turning off or on the keyboard event manager. the north and center panels remain unused and the east panel just sits there looking pretty...
Oracle Database Express SQL Tutorial 5 (dates)
zhlédnutí 681Před 9 lety
We look at dates in this product, We use the TO_DATE function inside of an INSERT command to store a date field and BETWEEN to query if it falls between two dates.
Oracle Database Express Tutorial 4 (inc. Query Builder)
zhlédnutí 886Před 9 lety
More about SQL using Oracle's product.
Oracle Database Express (IE scripts) Tutorial 3
zhlédnutí 360Před 9 lety
Using Internet Explorer we run the script from the earlier tutorial and find the results are intriguing. We look again at referential integrity and the effect of constraints and why we cannot just keep re-running the same script.
Oracle Database Express SQL Tutorial 2
zhlédnutí 2,3KPřed 9 lety
I script is analysed step by step, each statement run in the SQl command facility. A simple pair of tables with a 1:M relationship is implemented (customers-orders) and primary and foreign key constraints added to enforce referential integrity. Some records are added to each table to show the power of the inner join primary to foreign key.
mutiple panels in Java using Netbeans 4
zhlédnutí 2,4KPřed 9 lety
mutiple panels in Java using Netbeans 4
mutiple panels in Java using Netbeans 3
zhlédnutí 3,2KPřed 9 lety
mutiple panels in Java using Netbeans 3
mutiple panels in Java using Netbeans 2
zhlédnutí 915Před 9 lety
mutiple panels in Java using Netbeans 2
Why
zhlédnutí 1,9KPřed 9 lety
Why
Mutiple panels in Java using Netbeans 1
zhlédnutí 6KPřed 9 lety
Mutiple panels in Java using Netbeans 1
Characteristics of Array objects e.g. ArrayList class and arrays
zhlédnutí 302Před 9 lety
Characteristics of Array objects e.g. ArrayList class and arrays
StringBuilder and String Java Objects Compared
zhlédnutí 212Před 9 lety
StringBuilder and String Java Objects Compared
2 of 2: A map demo (20 minutes but hopefully worth it)
zhlédnutí 16Před 9 lety
2 of 2: A map demo (20 minutes but hopefully worth it)
1 of 2: TreeMaps and HashMaps etc - what's the difference?
zhlédnutí 504Před 9 lety
1 of 2: TreeMaps and HashMaps etc - what's the difference?
Example of aggregation or composition in Java
zhlédnutí 5KPřed 9 lety
Example of aggregation or composition in Java
capture_key_presses_in_Java_and_move_a_button_7 (part 2)
zhlédnutí 175Před 9 lety
capture_key_presses_in_Java_and_move_a_button_7 (part 2)
Oracle Database Express (10g) Tutorial 1
zhlédnutí 19KPřed 9 lety
Oracle Database Express (10g) Tutorial 1
How to collect form fields and show them on the same page using JavaScript
zhlédnutí 81KPřed 9 lety
How to collect form fields and show them on the same page using JavaScript
5 of 6: Capturing key presses and moving a button on a panel tutorial
zhlédnutí 3,2KPřed 9 lety
5 of 6: Capturing key presses and moving a button on a panel tutorial
6 of 6: Capturing key presses and moving a button on a panel tutorial
zhlédnutí 195Před 9 lety
6 of 6: Capturing key presses and moving a button on a panel tutorial

Komentáře

  • @anyaofficial6154
    @anyaofficial6154 Před 2 měsíci

    Thank you Mr 🙏🏽😍

  • @yuujincooper5043
    @yuujincooper5043 Před 2 měsíci

    Really useful 11 years on.

  • @Saw-qv3bl
    @Saw-qv3bl Před 3 měsíci

    Great Video!

  • @sarataskeen8605
    @sarataskeen8605 Před 4 měsíci

    I love your video!!! Straight forward and easy to understand. Thanks

  • @riveraaj2632
    @riveraaj2632 Před 8 měsíci

    Im in a rush studying for a handson exam tomorrow and your vid is a life saviourrr. Thank you very muchhhhhh

  • @pastelpink9366
    @pastelpink9366 Před rokem

    Thank you!

  • @zstar8397
    @zstar8397 Před rokem

    Yo just wanna say that GOD loved the world so much he sent his only begotten son Jesus to die a brutal death for us so that we can have eternal life and we can all accept this amazing gift this by simply believing in him (Jesus) asking for the forgiveness of your sins and forming a relationship with heavenly father.

  • @prajwalkatkar4547
    @prajwalkatkar4547 Před rokem

    shout out this guy for everything he done for me

  • @barankaya3423
    @barankaya3423 Před rokem

    hdgshDgkzsf<

  • @susanaduarteraposo
    @susanaduarteraposo Před rokem

    The time of her as child solving the equation is in 1925. If she is 7 and was born in 1918...

  • @proyectojaoficial
    @proyectojaoficial Před rokem

    excelente video

  • @GrahamRobertsGCR
    @GrahamRobertsGCR Před rokem

    decimal_number = 137 remainder = decimal_number binary_string ="" while remainder != 0: if remainder % 2 !=0: binary_string+="1" remainder+=-1 else: binary_string+="0" remainder=remainder/2 binary_string[::-1] print(binary_string)

  • @nocaptris5508
    @nocaptris5508 Před 2 lety

    Awesome this was so much help.

  • @dulantha99
    @dulantha99 Před 2 lety

    This can be done via the NetBeans GUI itself. At the beginning of the video, on the top right, there's the Palette window and in it, the 2nd in the right column is the Button Group. After adding the Radio Buttons, drag a Button Group on to the canvas. It won't physically show anything and that's ok. Then go to the Properties of each of the Radio Buttons, and under "buttonGroup" select "buttonGroup1", assuming you didn't change the name of the Button Group.

    • @GrahamRobertsGCR
      @GrahamRobertsGCR Před 2 lety

      Good observation. It will mask the mutual exclusivity property I was illustrating though. Other languages like JavaScript and forms in HTML have this necessary step but no GUI helper.

  • @rawmasterpeace
    @rawmasterpeace Před 2 lety

    Thank YOu man

  • @jeanrodrigues6249
    @jeanrodrigues6249 Před 2 lety

    Doc

  • @yangfin-rei
    @yangfin-rei Před 2 lety

    Very informative thanks.

  • @salonisingh8489
    @salonisingh8489 Před 2 lety

    Thankyou!

  • @rojakamasani3499
    @rojakamasani3499 Před 2 lety

    Sir using react js how to collect form fields and show them on the same page?

    • @GrahamRobertsGCR
      @GrahamRobertsGCR Před 2 lety

      I do not think you would want to do so because the trick we do here is because we do not have a server-side script to handle the posted data. React boasts tools to do just that. We are looking at HTML and JavaScript forms.

  • @jellyjam1389
    @jellyjam1389 Před 2 lety

    Thank you soooooooo much! 😄

  • @marcjonescabasagpitogo1842

    Thank you

  • @Zipstone
    @Zipstone Před 2 lety

    Thanks for this! Straight forward and simple.

  • @freyja8849
    @freyja8849 Před 2 lety

    hi. does this still work on the time? cuz I use jspinner to record time but I don't know how to get the value/

    • @GrahamRobertsGCR
      @GrahamRobertsGCR Před 2 lety

      You choose date instead of number, I would guess, Freyja. See www.roseindia.net/java/example/java/swing/ShowTimeJSpinner.shtml

    • @freyja8849
      @freyja8849 Před 2 lety

      @@GrahamRobertsGCR oh wow! Thanks for the reply! I'll look through the website. Tysm!

  • @thomasedwardking7286
    @thomasedwardking7286 Před 2 lety

    No bells, no whistles, just upfront good teaching. Thank you Sir ☺️

  • @mezirezi1
    @mezirezi1 Před 2 lety

    What I needed.

  • @718liveyanard4
    @718liveyanard4 Před 2 lety

    Sir, can you please explain how to display these entered datas in the next page ?

    • @GrahamRobertsGCR
      @GrahamRobertsGCR Před 2 lety

      Take away the return false phrase in the submit button onclick handler and the data is thrown away! The page looks as if nothing happened. But the data was posted. Add this instead of the form header: <form name='myform' method='GET' action=''> When you run that app page you see something like this in the browser path bar: file:///C:/Users/graha/OneDrive/Desktop/jscode.html?name=Graham&favourite=Red&mycheckbox=on So, the data is sent but when not shown on the same page is thrown away because you do not capture it using the JavaScript check() function. This tutorial was about tricking form interaction to the same page. If it is captured on a different page you need what is called a server-side programming language like PHP. And that is a whole area known as server-side programming. It is essential to the database approach and modern so-called AI systems like Amazon's Echo Dot, although it hides that under a cloak of voice searching and population of the form.

    • @718liveyanard4
      @718liveyanard4 Před 2 lety

      @@GrahamRobertsGCR Okay, Thank you Sir😊👍

  • @718liveyanard4
    @718liveyanard4 Před 2 lety

    Please someone say how to display the values of selected checkboxes

    • @GrahamRobertsGCR
      @GrahamRobertsGCR Před 2 lety

      The trick here is to know that the checkbox has a value that is true or false and to trap that and write a message that intelligently interprets that value. Also, note that you may benefit from exploiting the onclick event handler instead of a form submission, and using style (I avoided that complication) - see www.w3schools.com/howto/howto_js_display_checkbox_text.asp But that is not what you asked for! Here is my extended script fyi <script> function check() { //document.writeln('Hi '+document.myform.name.value); document.getElementById('f1').innerHTML = document.myform.name.value; document.getElementById('f2').innerHTML = document.myform.favourite.value; if (document.myform.mycheckbox.checked) { document.getElementById('f3').innerHTML = "I have deficient colour vision"; } else { document.getElementById('f3').innerHTML = ""; } } </script> <form name='myform'> <p>What is your name, please? <input type = 'text' name='name' value = 'Graham'> <p>What is your favourite colour, please? <select name="favourite"> <option value=Red>Red</option> <option value=Green>Green</option> <option value=Blue>Blue</option> <option value=Yellow>Yellow</option> <option value=Black>Black</option> <option value=White>White</option> </select> </p> I have deficient colour vision: <input type="checkbox" name="mycheckbox"> <p><input type = 'submit' onclick='check(); return false'></p> <!-- note that return false after the function call is vital to stop page refresh --> </p> </form> <p>Submit the form and I will show your name and your favourite colour below:</p> <p id='f1'>meaningless text to denote the holding id we call f1</p> <p id='f2'>meaningless text to denote the holding id we call f2</p> <p id='f3'>meaningless text to denote the holding id we call f3</p>

    • @718liveyanard4
      @718liveyanard4 Před 2 lety

      @@GrahamRobertsGCR Okay, Thank you Sir for explaining the program. God bless you.😀😊

  • @c1nico
    @c1nico Před 3 lety

    This is creepy. Just knowing how everything is math and numbers and how numbers are the ultimate truth. Mathematics are already there. The values we add, the formulas we figure out, is just our discovery of this truth.

  • @gonzalorufino5958
    @gonzalorufino5958 Před 3 lety

    based

  • @renitahudgins1034
    @renitahudgins1034 Před 3 lety

    How do you write r = fn + sn in indented pseudocode terms like “For” “while” “then” “else” end…..

  • @eliezerz1950
    @eliezerz1950 Před 3 lety

    Thank you sir

  • @NTKM-om9vn
    @NTKM-om9vn Před 3 lety

    I could use this technique to catch non numeric inputs on my jspinner

  • @christiancastillo7634

    Very helpful Mr. Roberts. Thank you!

  • @sajjadshayestehnia6341

    You saved me! Thanks a lot.

  • @addy7464
    @addy7464 Před 3 lety

    Keep the frogs in such a way that each one of them is facing the other after that its easy to figure out.

  • @Wander_Lens
    @Wander_Lens Před 3 lety

    Why is hr account locked by default

  • @sambezo2823
    @sambezo2823 Před 3 lety

    lul

  • @furkanunsal5814
    @furkanunsal5814 Před 3 lety

    I thought this series was about making a chess game in .net and I realized it was about a different game at the end of third video...

  • @justapasserby445
    @justapasserby445 Před 3 lety

    May I have a look for the constructors? the google drive you need request access .

  • @dawan6020
    @dawan6020 Před 3 lety

    I really like you video format.

  • @iconicworld668
    @iconicworld668 Před 3 lety

    SIR the method you described in this tutorial i have done it. BUT after that how i go into the application

  • @samraansheikh2312
    @samraansheikh2312 Před 3 lety

    hello boisssss

  • @priyanarayaniswain320

    Thank you soo much sir.. It's really helpful to me

  • @lingoswimmingchannel6616

    Many thanks Mr. Graham. am a beginner, and i have problems in algorithm, flowchart and pseudocode. i love this presentation. there wasn't any jargon to confuse beginners, simple English was used. You also took your time in the explanation, the ascent was clear to understand. but the lessons was too short. i have passion in coding but am thinking quitting because i don't understand the basis. please do you a have full video to help people like me or any website to learn more from you ? please help me. any contact to for private conversation?

  • @macyhemming9035
    @macyhemming9035 Před 3 lety

    what is the +1 in the brackets a representative of (in the same way that the -1 can be seen as the empty lilypad )

  • @dharmarajrathinavel
    @dharmarajrathinavel Před 3 lety

    It's not working in eclipse... Y?

  • @hillarygomez3168
    @hillarygomez3168 Před 4 lety

    THANK YOU SO MUCH SIR

  • @pixelsbytina6775
    @pixelsbytina6775 Před 4 lety

    Wouldn't there be another step before stop and after adding? Displaying the result? Nevermind, lol. I should watch the whole video first.

  • @Dodo67618
    @Dodo67618 Před 4 lety

    thanks for this it helped

  • @alaahassan9573
    @alaahassan9573 Před 4 lety

    thank you so much