Gentoo1337

joined 1 year ago
[–] Gentoo1337 10 points 1 year ago (1 children)

Finally, a computer analogy that's not about cars

[–] Gentoo1337 123 points 1 year ago (13 children)

Why would I want to exit vim?

[–] Gentoo1337 14 points 1 year ago* (last edited 1 year ago) (3 children)

"Vim is an IDE"

https://www.vim.org/ -> Vim is a highly configurable text editor

Press X to doubt

[–] Gentoo1337 13 points 1 year ago (1 children)

Is the title a Terry Davis reference?

[–] Gentoo1337 2 points 1 year ago

Basically you have a config file for your whole OS and installed software, which makes backing up config files easier and also you can use it on other nixos computers, and I've heard the package manager is very good too. (I haven't used nixos so I don't' really know how good the experience is)

[–] Gentoo1337 30 points 1 year ago

girlfriend_list->start

Segmentation fault (core dumped)

[–] Gentoo1337 2 points 1 year ago
[–] Gentoo1337 1 points 1 year ago* (last edited 1 year ago)

As far as I know the most used language for cybersecurity is python and assembly (for reverse engineering), but that doesn't stop you from using any other language. Specifically for CS, C and C++ are the most used for learning. As a kind of roadmap for programming are:

  • Pseudo-code (Might seem useless at first, but it helps you to develop the logic of a program regardless of programming language)
  • Hello world
  • Variables and types (Commonly: Integers, Arrays, Characters, Strings/Arrays of Characters, Floats, Booleans, Enums and whatever else your language supports)
  • Operations (+ - * /)
  • Conditions (If, switch)
  • Loops (while, do while and for, also break and continue)
  • Structures/Classes
  • Functions and Procedures (Also arguments, and the difference between passing by reference or by value)

After that you learn algorithms (Sorting an array, Searching algorithms, and others) data structures (Lists, Trees, Stacks, Queues, Hash tables/Dictionaries/Maps). A good book for this is Introduction To Algorithms (You can use it as a reference, but reading it front to back is a bit though), but there are many other online resources like geeks for geeks or tutorialspoint and many YouTube videos for specific algorithms and data structures. Your programming language might already have them, but it doesn't hurt to implement them by hand at least once. After learning all of that, all you need is practice.

On free resources, there is Harvard's CS50, which is a free introductory CS course that you can watch on YouTube.

On language resources, there is "The C programming language" for C (It has exercises), "C for Dummies" and "C All-In-One desktop reference" both by Dan Gookin (The second one is better IMO, It has a lot of useful information on C), and there is also this thread on stackoverflow which has even more C books. . For C++, there is "Programming Principles And Practice using C++" and "C++ Primer".

On practice, you can follow this list: https://github.com/codecrafters-io/build-your-own-x, or this image: (Remember to read the gray part)

[EDIT: This practice might be difficult for a beginner, so you might want to find other stuff to practice first. But still, there are some easy exercises like fizz-buzz, towers of Hanoi, and basic text encryption]

Whatever language you choose, you might want to research it's standard library to know what other stuff your programming language has implemented (It may have data structures and algorithms that you've studied).

Not necessary but useful is learning to use git, and things like github, sourcehut, codeberg, etc.

Other miscellaneous skills you need to learn (for easily maintaining projects) are splitting the program on multiple files instead of having a single big file containing the logic of the program, and good variable and function naming.

Sorry if this is not specialized on cybersecurity, but I hope it helps anyway.

[–] Gentoo1337 30 points 1 year ago (1 children)

I'm a markdown programmer and i disagree with this statement

[–] Gentoo1337 2 points 1 year ago

Insanely good chapter.

[–] Gentoo1337 11 points 1 year ago (3 children)

It's AI generated

[–] Gentoo1337 5 points 1 year ago

Second rule of the dev cub: You DO NOT talk about the backlog

view more: ‹ prev next ›