Osmond LIn

@ossielin

Joined on Jul 11, 2023

  • pwd: present working directory, to show current position ls: list the contents, to show the list of files cd: change directories, used for going to certain folder/file. e.g. cd ~/desktop/-> go to desktop cd ..: go back to the previous directory touch: to create a new file: touch tryout.txt cat(1): display the content of the file: cat tryout.txt cat(2): to create a new file: cat > aNewFile.txt cat(3): to concatenate two files: cat tryout1.txt tryout2.txt > tryout3.txt note: There are still a bunch of usages of 'cat', it's a powerful and complex tool! mkdir: make a directory: mkdir kk->then create a folder called kk
     Like  Bookmark
  • By Shahir Latif and Osmond Lin Last updated: January 2024 View Online Introduction Any program’s job is to take some input, do some calculations, and provide some output. For robotics, the input mainly comes from the controller joysticks and buttons. The processing is done in the VEX Cortex, and the output is moving motors and servos. RobotC is a programming language, based on the C language, that can be used to write programs for the VEX Cortex. The RobotC environment can be installed at ROBOTC. In RobotC, most lines of code need to end with a semicolon; if statements and loops are exceptions. Single-line comments are made by typing // at the start of a line. Multi-line comments are surrounded by /* and */. Variable names cannot have spaces or special characters (except _). Variables also cannot start with a number.
     Like  Bookmark
  • Quantum computing with cybersecurity 0. What is it? In classical computing, it uses bits such as 0 and 1 to store information; however, in quantum computing, it brings in the concept of quantum physics, using qubits instead of bits, which allows computers to calculate and deal with larger numbers of information. 1. Qubits In classical computing, we use bits such 0 and 1, but in quantum computing we use qubits instead. N qubits in quantum computing can exist as a superposition of the 2^N possible states. So the number of operations required to arrive at the same result is exponentially small. A simple explanation and example: 2 qubits in qc can exist in 4 different states in classcial computing: 2 qubits in QC result in 4 different states in classical computing:
     Like  Bookmark