Blog

Blog #33: PostgreSQL

PostgreSQL is a system to interact with a SQL relational database. It runs on Linux, Mac, Windows for C, Java, Python, Ruby, JavaScript and more.  To use PostgreSQL, I need to install it first. Here’s how to install PostgreSQL in Windows.  Step 1: Download from the Windows x86-64 column, download the latest version.  https://www.enterprisedb.com/downloads/postgres-postgresql-downloads Step 2: Follow the Youtube…

Blog #32: Math Quiz

The math quiz is a project our group did during college’s Web Development class, I worked together with Jamie Pham and Elvin Xu on this project. I will explain some of the codes: index.html: If the mouse is outside of the image, invoke turnMessage(), if the mouse is over the image, invoke turnPicture(). home_functions.js: Display a…

Blog #31: Todo List

In the past week, me and my friend Aizhu Xue work together to create a Todo List app, one without using Mongoose and one with Mongoose. Let’s go over the one without using Mongoose first. The npm packages I use are: app.js Render the view engine to ejs. Render templates in the views folder. Serve…

Blog #30: Coding Gurus Updates

9/13/2023 Updates First, I hide the thread’s last edit time and the reply’s last edit time if post time is the same as last edit time. show.ejs Add a middleware function that checks if the user is signed out. If no user is signed in, I cannot perform a certain actions such as sign in…

Blog #29: Coding Gurus

Coding Gurus is an interactive forum created with Node, Express, and MongoDB. Web Page: https://mighty-tundra-24262-678dd716e9dc.herokuapp.com Source Code: https://github.com/swiftandquick/Project-3-Forum Demo: Packages Used: controllers/replies.js Require the models from models folder.   Set the author to the author that’s currently logged in.  Set the replyPostTime, replyLastEditTime for reply as well as lastThreadUpdate for thread to current time, which…

Blog #28: Hangman

I created a Hangman game using HTML, CSS, and JavaScript. For this project, I made four files: index.html and styles.css for front end layout, script.js for back end functions, and wordList.js exports an array of strings (representing words) to script.js. I also have an img folder contains 11 bmp type pictures, which represents how many…

Blog #27: Using JavaScript with Visual Studio Code

Visual Studio Code is an IDE for many languages. As for now, I use it to learn JavaScript. Page 1: Install Git Bash on Windows. Page 2: Install and use Node. Page 3: Install MongoDB. Page 4: Commit and push using Git Bash. Page 5: Create a React App with Vite. Page 6: Upload app…

Blog #26: Using IntelliJ IDEA

IntelliJ can be used to do many things. Page 1: Commit & push with GitHub. Page 2: Import and export JAR files. Page 3: Set up a JavaFX project and rename packages. Page 4: Import JAR file for JavaFX project. Page 5: Install SceneBuilder for JavaFX. Page 6: Set up JUnit. Page 7: Install SQLite.…

Blog #25: Commit & Push Files from PyCharm to GitHub

I had been learning a bit of Python lately, Python is a high-level, general-purpose, and multi-paradigm programming language. PyCharm is IDE that I coded Python on. This is a step by step process of how to commit and push files from PyCharm to GitHub. Make sure the PyCharm you are using is the latest version.…

Blog #24: 2nd Update Blog

For section 6 of JSP, Servlets and JDBC for Beginners: Build a Database App by Chad Darby. The following steps allow me to use JSTL tags in an Eclipse dynamic web project. Step 1: Type in following website in the address bar to start downloading. http://www.luv2code.com/download-jstl Step 2: Open Eclipse EE and create a Dynamic…

Blog #23: Handling Forms with JSP

A JSP file is simply an HTML file with Java codes. The following is I use an HTML file to handle the form, then submitted the information is displayed in the JSP file. First, create a Dynamic Web Project in Java EE. Then I create two files, an HTML file called form.html, and a JSP…

Blog #22: NetBeans

I had been exclusively using Eclipse to practice Java, now I am going to change my IDE to NetBeans for (maybe) deployment purposes. In this blog, I will show how to install NetBeans and how to push NetBeans projects onto GitHub. Before starting, download Java JDK that corresponds to your operating system (iOS or Windows).…

Blog #21: PC Parts

A personal desktop is consisted of mandatory components and peripherals. Parts such as CPU and power supply falls in the mandatory component category, because the computer needs those parts to run. Peripherals are input-output devices. Keyboard (input) falls in this category. The computer doesn’t need a keyboard to operate, but having a keyboard connect. Case…

Blog #20: 1st Update Blog

Recently, I have been learning how to solve technical issues for some software on my own and try to self-learn about web development with Java. I also look up to my older codes and see how I can make them better. Update on Timer For the timer project, I think the timer should start as…

Blog #19: Computer Types

A computer is an electronic device. It can manipulate information and data. A computer has many functions, such as sending emails and browse the web. A computer system is made up of hardware, software, and the user. Personal Computer Also known as PC. Used for personal activities. Most common computer type. Includes laptops and desktops.…

Blog #18: Timer

Many languages can be used in web development, but most of those languages are used as a server-side language, such as php, Ruby, and Java (JSP). On the client side, HTML, CSS, and JavaScript often used together. JavaScript in particular is a must known language for web development, because it’s the most popular client-side programming…

Blog #17: Visual Studio Code & Git, Commit & Push

Visual Studio has a shortcut that allows user to commit and push projects onto GitHub. Step 1: Go to setting, search git enabled to ensure that Git is enabled on Visual Studio Code. Step 2: Click on source control, then click on Initialize Repository. Step 3: Enter a commit message, then click on the check…

Blog #16: Resume Web Page

I created a resume web page with HTML, CSS, and JavaScript. I tried to do my best to give the web page a responsive design so that the web page looks consistent on all devices. However, the fluidity of the web page isn’t good enough, because images move out of the <div> elements after I…

Blog #15 – JSP & Servlets: Introduction

Credits to Chaand Sheikh and StudyEasy Organization, these methods are taken from tutorial videos from the lectures of Full Stack Java developer – Java + JSP + Restful WS + Spring. I set up these blogs to remind myself what to do in the future. The following are my notes on how I can use…

Blog #14: Set up for JSP & Servlets

Setting up for JSP and servlets is the first step into web development with Java. Credits to Chaand Sheikh and StudyEasy Organization, these methods are taken from tutorial videos from the lectures of Full Stack Java developer – Java + JSP + Restful WS + Spring. I set up these blogs to remind myself what…

Blog #13: Importing Projects from GitHub’s Remote Repository with Eclipse

In blog #3, I talked about how to upload contents into GitHub’s remote repository into Eclipse. The other main function of GitHub is allow users to pull existing projects onto Eclipse. There are two ways of importing projects. Credits to Chaand Sheikh and StudyEasy Organization, these methods are taken from tutorial videos from the lectures…

Blog #12: Travel Project

In the travel project, I worked together with two fellow students. Together, we created a simple database model related to travel. In this project, we demonstrated how to create and edit a database. What is a database? A database models information and relationships that are represented in the real world. Accessing phpMyAdmin Use XXAMP to…

Blog #11: JAR Files in Eclipse

JAR is short for Java archive, it’s a file format that is similar to a ZIP file. However, JAR files are only for compressing Java files into one compressed file. In IDE’s like Eclipse, JAR files can be imported and exported. Learning how to import and export JAR files is important in enterprise coding jobs.…

Blog #10: Digital Logic Simulation

In Computer Architecture class, students use the software Logisim to performs the digital logic simulation. The purpose of the course is to teach students to learn the fundamentals of computer systems. In discrete math, students need to understand the difference between AND, OR, and XOR, and Logisim works similarly. The features I will be using…

Blog #9: Ubuntu Tutorial

When it comes to Computer Science, I am more interested in the programming aspect. I also find the networking aspect quite interesting, however, I don’t excel in networking. In a technical workplace, programmers and networking technicians closely work together to solve problems, one skill set is not above the other. Back on topic, this is…

Blog #8: Simple Calculator

This custom calculator is similar to a simple calculator. However, this calculator doesn’t “react” to keystrokes mainly because I didn’t add KeyListener(). This means I must manually insert input by clicking on buttons. I will not go into details with how I set up the layout, instead, I will be explaining how I make the…

Blog #7: More AWT Programs

AWT Factorial The AWT Factorial GUI calculates the factorial of an integer. I will not be explaining how I coded my layout since it’s already explained in blog #2. For this GUI and other GUIs in this blog, I will be explaining how action performed on a certain component can trigger events that change other…

Blog #6: Using Git (Bash) to Commit & Push to GitHub Repository

My Java files are uploaded to GitHub using IDE’s own feature (Eclipse, Android Studio, etc), but not all programming files use IDE to upload files to GitHub. For folders and source files that don’t require IDE, I can use Git Bash to commit and push those files. I have a Web Development class folder that…

Blog #5: Android Studio & GitHub: Create, Push, and Commit

Step 1: At the top bar menu, choose File, then Settings. Step 2: Version Control -> Git. Test path to Git, if version is shown, click OK. If I don’t have Git, I should download latest version of Git. Step 3: VCS -> Import into Version Control -> Create Git Repository. Unlike in Eclipse, I…

Blog #4: Running Android Studio with AMD Processor

Computer with AMD processors may have problems running Android Studios.  Fortunately, Android Studios released a Canary version (Beta Testing) of the software, where I can download on their website.  I downloaded it, then I go to Windows Features to activate Hyper-V, Virtual Machine Platform, and Windows Hypervisor Platform.  I still can’t install AMD version HAXM. …

Blog #3: Eclipse & Git, Commit & Push

Most IDE should have a way to commit to, push to, and pull from GitHub repositories. This is a tutorial of how to commit and push from Eclipse to GitHub. Step 1: Create a GitHub account if you haven’t already. Since I already have a GitHub account, I can click on the “New” green icon…

Blog #2: AWT Accumulator

In Java, programmers can use Abstract Window Toolkit (AWT) as application program interfaces (APIs). I can create visible objects inside the graphical user interface ( GUI ), such as JButton, JTextField, and JPanel. In order to create a GUI, I have to implement the right packages: javax.swing.*: Allows us to gain access to components like…

Blog #1: 2 Players Soccer

In a real soccer game, there are 11 players on each team. In this simpler version of the program, I created a soccer game using console to determine where the players and the ball currently are. There is no GUI for this package. The purpose of this program is to show how to manipulate multiple…

Introduction

Hello world, this is my technical blogs. I don’t have much to say for an introduction, the following are my contact information. Contact me at my E-mail. GitHub: https://github.com/swiftandquick Youtube: https://www.youtube.com/channel/UCuAHnkh_sB4sANsWtXmLpRQ/featured E-mail: chenyMA16@gmail.com My technical blogs will be about all things related to Computer Science and other skills (i.e., math). Computer Science isn’t just programming,…


Follow My Blog

Get new content delivered directly to your inbox.

Leave a comment

Design a site like this with WordPress.com
Get started