Last updated using Ubuntu 18.04.2 (amd64)
To check if your machine supports Hyper-V, fire up the Command Prompt (cmd.exe
) and enter systeminfo.exe
At the end of the output, you will see an entry named Hyper-V Requirements
.
A common idea in video game development is a sprite, which is a 2D image used as a part of the graphics display. For example, Mario and coins are sprites in Super Mario.
If you are thinking about a space shooter, like Asteriod, then you probably need to think about how to rotate the ship, which could be an image.
Assuming that you have a JFrame
with a JComponent
for drawing set up and an Image
of the sprite ready, we will begin.
For testing purposes, we may want to have local testing servers using self-signed SSL certificate for HTTPS connection. Now, suppose we have a local server with self-signed certificate, establishing an actual HTTPS connection would require us to trust our self-signed certificate. It is easy on a browser: few clicks, and you will be on your way. But how about a Swift application?
Caution: Get an actual, trusted, signed certicate for production apps!
App Transport Security (ATS) is a technology that requires an app to either support best practice HTTPS security or statically declare its security limitations via a property in its
Info.plist
.
For testing purposes, we may want to have local testing servers using self-signed SSL certificate for HTTPS connection. Here is how to generate self-signed certificate using OpenSSL from Terminal, and apply it to a tomcat 7 server.
For MacOS: Type brew install openssl
in Terminal (If you don't have Homebrew, check it out here)
For Linux with apt-get: Type sudo apt-get install openssl
This is a series of tutorials that will walkthrough:
This is a series of tutorials that will walkthrough:
This is a series of tutorials that will walkthrough:
Yep. Fun stuff
Well, I mean...If you think about it, linked lists and trees are all graphs, with special properties
IMPORTANT: If you are not really familiar with graphs, please refer to Chapter 10 of Discrete Mathematics And Its Applications 7th Edition by Kenneth H. Rosen
The content below will mainly talk about implementation, instead of theory. Make sure you are familiar with the theory part before moving on!
First: Read BinaryIn.java and BinaryOut.java about their methods before reading on!
Otherwise you won't know what is going on!
Note: This will vary between your implementations, and the following are just suggestions!
Just like Java's Scanner, you would first need to construct a new instance of the BinaryIn (I suppose you know that already)
If you read this, and still don't understand what is the syntax, read on:
A Java Function is like a method, but is more powerful than a method. For the purpose of this lab, you would only need to know that a fucntion, is like a method.
At the meantime, a Function is an Object (instance of a class), and so to start coding up your Function, you need to declare a Function, just like any other Object.
When you declare an Object, you do this: