commit 3a96dc1df078b43f79a94591e175a95bc4042fdc
parent 918032f21943b1f423d1549ee3e0e8fa59281af5
Author: thing1 <thing1@seacrossedlovers.xyz>
Date: Mon, 26 Jan 2026 12:53:30 +0000
todays work
Diffstat:
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/CS10120/26.01.26.md b/CS10120/26.01.26.md
@@ -0,0 +1,25 @@
+# 26/01/26
+
+- Layer diagram:
+ Application - HTTP...
+ Transport - TCP...
+ Internet - IP...
+ Link/Network - Wire...
+
+- TCP (Transport Control Protocol), breaks data up into packets that lets them be sent, with a checksum and other info (like sending a book over many letters)
+- UDP (User Datagram Protocol), no checking of messages, faster
+
+- IP (Internet Protocol), decides how to send data between systems (like a mail man)
+
+- HTTP codes
+ 1xx Ongoing
+ 2xx Ok
+ 3xx Redirection
+ 4xx Client error
+ 5xx Server error
+
+- HTTP methods
+ GET
+ POST
+ PUT
+ ...
diff --git a/CS12320/practice/helloworld/helloworld.java b/CS12320/practice/helloworld/helloworld.java
@@ -1,6 +1,8 @@
class helloworld {
- public static void main(String[] args) {
+ public static void main(String args[]) {
System.out.println("I was given: " + args.length + " arguments");
+
+ System.err.println("AHHH");
int i = 1;
for (String arg : args)