Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

42 daily learning journal #2

Open
Chloezhu010 opened this issue Dec 27, 2024 · 0 comments
Open

42 daily learning journal #2

Chloezhu010 opened this issue Dec 27, 2024 · 0 comments

Comments

@Chloezhu010
Copy link
Owner

Chloezhu010 commented Dec 27, 2024

Feb 14th Fri, 2025

Feb 13th Thu, 2025

  • minishell: start to work on minishell
    • setup team repo
    • create a shared doc to gather resource

Feb 12th Wed, 2025

  • philo: validated 100/100
    • by far the most hardcore project among all the projects I've done at 42
    • multithread is hard to debug, when I fixed the data race for large number of philo, then there is issue for small number of philo...

Feb 11th Tue, 2025

  • philo: debug
    • doesn't work with large number of philo, eg. 199, 200

Feb 10th Mon, 2025

  • philo: debug
    • have philo died for 5 800 200 200

Feb 8th Sat, 2025

  • philo: debug
    • run the tester and has helgrind problem

Feb 6th Thu, 2025

  • philo: debug the code

Feb 5th Wed, 2025

  • philo: worked on the monitor module

Feb 4th Tue, 2025

  • philo
    • worked on the init, philosopher, fork, and cleanup module

Feb 3rd Mon, 2025

  • philo
    • worked on parse argument, log message, and time module

Feb 2nd Sun, 2025

  • philosopher
    • browse through the video list
    • update key concept on project readme
    • start to work on modules

Feb 1st Sat, 2025

  • philosopher
    • start to learn the CodeVault's video regarding Unix threads

Jan 31st Fri, 2025

  • minitalk: validated 125 / 125
    • got caught a corner case I didn't know before: ./client -1 "message" will shut down the system
    • debug live in front of the corrector lol
  • philosopher: start to understand the project

Jan 30th Thu, 2025

  • minitalk: debug code

Jan 29th Wed, 2025

  • minitalk: debug code
    • whenever the string is long (eg. 3 paragraphs), the message shown from the server is messed up

Jan 28th Tue, 2025

  • minitalk: work on bonus part
    • send "ok" from server to client once received the message
    • support unicode

Jan 27th Mon, 2025

  • minitalk:
    • setup the server, convert bits to chat
    • setup the client, convert chat to bits, send to the server

Jan 26th Sun, 2025

  • push swap:
    • peer correction, validated the project
  • minitalk: start to work on the project

Jan 25th Sat, 2025

  • push swap
    • debug, clear memory leakage

Jan 23rd Thu, 2025

  • push swap
    • worked on sorting part: sort_stack, init_node_a, init_node_b

Jan 22nd Wed, 2025

  • push swap
    • finished argument & error handling: av_split.c, error.c
    • finished stack initialization: stack_init.c
    • finished command implementation: push, swap, rotate, rev_rotate.c
    • worked on stack helper function: stack_sorted, stack_len, find_max, find_min
    • worked on sorting part: sort_three

Jan 21st Tue, 2025

  • push swap
    • divide the project into modules:
      • arg handling
      • create the stack
      • command implementation
      • sorting algo implementation
      • testing
    • work on header file, main.c, and arg & error handling

Jan 20th Mon, 2025

  • push swap
    • finish the video list on linked list
    • code up some example to test around

Jan 19th Sun, 2025

Jan 17th Fri, 2025

  • push swap
    • start to work on push swap
    • understand the project and watch data structure lecture by cs50

Jan 16th Thu, 2025

  • exam02: 100/100

Jan 15th Wed, 2025

  • exam02 review
    • bitwise operation & chained list

Jan 13th Mon, 2025

  • exam02 review
    • finish level 4 (4 questions)

Jan 12th Sun, 2025

  • exam02 review
    • work on level 4 (3 questions)

Jan 11th Sat, 2025

  • exam02 review
    • work on level 4 (3 questions)

Jan 10th Fri, 2025

  • exam02 review
    • finish level 3 (15 questions)
    • start to work on level 4

Jan 9th Thu, 2025

  • exam02 review
    • work on level 3 (7 questions)

Jan 8th Wed, 2025

  • exam 02 review
    • finish level 2 (20 questions)

Jan 7th Tue, 2025

  • exam 02 review
    • work on level 2 (9 questions)

Jan 6th Mon, 2025

  • exam 02 review
    • finish level 1 (12 questions)

Jan 3rd Fri, 2025

  • so long: peer evaluation on so long
    • 100/100
  • exam 02: start to review exam 02

Jan 2nd Thu, 2025

  • so long:
    • debug format norminette
    • update readme: adding demo, project description, file structure, modules and notes

Dec 31st Tue, 2024

  • so long: cleanup.c, debug at 42
    • add cleanup.c when error and at the end
    • debug memory leakage

Dec 30th Mon, 2024

  • so long: render.c, movement.c, main_movement.c
    • work on rendering module: put all .xpm onto window, incl. render_map, render_player, render_frame
    • work on movement module:
      • listen for key press
      • update player position
      • validate move: not into wall or outside the map scope
      • update game state: if validate, update player's pos & redraw the game
      • handle collectibles & exit

Dec 29th Sun, 2024

  • so long: init.c, main_init.c
    • start to work on init.c, incl. init_game, load_texture
    • test game initialization and asset loading with main_init.c

Dec 28th Sat, 2024

  • so long: map_utils.c, map_main.c
    • implement flood fill algo module on map_utils.c, incl. duplicate_map, free_tempmap, player_pos, flood_fill, check_accessibility
    • test each sub function on map_main.c

Dec 27th Fri, 2024

  • Libft bonus: list functions
    • Learn concept of chained list, typedef struct
    • Implement all list functions, update makefile
  • so long: rework on map parsing
  • Thoughts
    • If you don't know how to test your code, you definitely don't fully understand what you are coding...

Dec 26th Thu, 2024

  • Update libft: incl. ft_printf, get_next_line, update makefile
  • so long: map logics
    • debug get_next_line, validate_map function
    • work on collectibles & exit accessibility check
    • need to learn and implement flood fill algo

Dec 25th Wed, 2024

  • so long: understand & split modules
    • game initialization
    • map parsing & validation
    • game loop
    • input handling
    • movement & collision
    • rendering
    • game state mgmt
    • cleanup
  • start to work on "map parsing & validation"

Dec 24th Tue, 2024

Nov 24th - Dec 24th

  • Back to Paris and 42 from a month-long travel, don't even remember how to add 42 header lol
  • Finish 4 projects
    • libft: create our first lib
    • ft_printf: recreate printf function
    • born2beroot: setup a VM
    • get_next_line: create a function that reads line by line
  • Thoughts
    • self-paced, but there is blackhole (like ddl), so still pretty intense and need to code almost everyday
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant