Posts

Showing posts from March, 2023

Sundar Pichai : Only a Matter of Time

If he's not asked to move on within a couple months, I'd be really surprised. Eric Schmidt's book says GOOG makes hundreds of improvements to the search engine each year. Well, you could've fooled me. The latest one - four or five searches with Google  java urlresource example java import URLresource etc all zilch. Just one with chatGPT : (in this case, the course material from Duke on Coursera was mediocre quality - they should have done a better job telling you what to import). To import the URLResource class in Java, you can use the following statement: java Copy code import edu.duke.URLResource; This assumes that you are using the URLResource class from the Duke University edu.duke package. If you are using a different package or implementation of URLResource , you should adjust the import statement accordingly. Once you have imported the URLResource class, you can create an instance of it to read data from a URL. Here's an example: java Copy code import e...

Google is Dead

Image
Or entering a new phase - simply useless.. And chatGPT (super!) : In HTML, you can define a button element and attach an onclick event handler to it. When the button is clicked, the JavaScript function specified in the onclick attribute will be called. To send an element as an argument when using onclick, you can pass the this keyword as an argument in the function call. The this keyword refers to the element that triggered the event (in this case, the button element). Here's an example: html Copy code < button onclick = "myFunction(this)" > Click me </ button > < script > function myFunction ( element ) { console . log (element); // logs the button element } </ script > In this example, when the button is clicked, the myFunction() function is called with the this keyword passed as an argument. The function then logs the element to the console. You can then use the element parameter in the function to access and manipulate the propert...