Skip to content

u/Chessifer

In this archive from Jul 2019 to Oct 2023

0
posts
14
comments
0
media
103
score

Performance is something to take care of once you already have a product that is not performing as needed. Even then, you need to know how to optimize it to make it performant, just writing it in c++ won't make it more performant than doing it in any other like gdscript

Apart from that, C++ is a complex language with a huge learning curve. Being able to create simple programs that read input from stdin and do some math is not the same as dealing with complex object and adapting to a framework (Godot)

Of course, you can try. But my advice is that if you don't know either godot or c++ yet, trying to learn both at the same time might be too much

5 points

If you're going to be working for a company you'll have to use whatever most of them use. Most junior hiring companies use windows cause office suite, ad integration and SharePoint and bullshit. On the other hand most "only senior" companies use linux and a windows vm for reports and alike, except those that work on windows exploitation or similar things that heavily rely on windows stuff

Problem with using windows as your host is that a lot of the tools out there are cli oriented, and windows shell sucks. So you'll spend a lot of the time on a shell so better to have a good one. WSL is not completely practical as there are things that do not properly work there - i.e. nmap, even running as root you can't use the much faster SYN scan just the complete tcp. In my experience when I had to use a windows host I ended up spending most of my time in a vm

Whatever you do, never ever use Kali as your host. That distro sucks hard and will constantly break, it's just for learning and/or a vm. Best approach is to use whatever stable distro you like ubuntu, arch, fedora and the same on a vm for tooling

The vm for tooling is cause there is always that guy that doesn't even look at the code they're running. Never be that guy. If you're not that guy you can use your host

2 points

For me fish is just annoying. It changes so many things and tries to guess what I'm doing when I know what I'm doing

It makes no sense to me to use an interactive shell and then have to use a completely different one to run scripts

If your use case for a shell is just navigating the filesystem, move files and read/edit text files I think fish may be easy to use. But as long as you have to build actual scripts that do stuff, pipe commands, execute subprocesses, parse outputs, etc it makes no sense to me to use a non-posix shell to program a posix shell and then have to initiate the posix shell from my non-posix one just for no reason

Also, why would I learn to use a shell that is rarely used and that is certainly incompatible with the rest of shells? I mean bash and zsh are much more used and while having incompatibilities it's not really breaking stuff

Of course, if you already learned fish and you're comfortable invoking a different shell for scripts good for you. I won't

1 points

Are you trying to install linux to do whatever you wanna do or are you trying to speedrun linux installation in nightmare mode?

Cause honestly I don't care about the installation process, although is nice that it's easily scriptable so you don't need to ever do it again manually. What I do care about is having a clean OS without bullshit packages that I did not install and having up-to-date dependencies

1 points

I don't get people that says "I was able to configure it once". Don't you guys backup your config files?

I configured urxvt, i3, vim, etc once and I just backup it. If I need to reinstall my system or build a new one I don't have to worry about stupid nuances that I already did years ago...

Only possible problems are deprecated features but that's not really common

I feel switching tools just cause lost configuration files issues (a.k.a. not backing up) is one of the most counter producive things to do

4 points

I'm guessing it's some kind of "Evil maid" attack where someone installs a rogue OS on your disk and then wait for os-prober to automatically detect it and add to your grub config. This could be really useful on systems that have FDE, the rogue OS could easily steal the system password when it's booted mimicking the password prompt from the real system and then just continue with the usual boot

I'm not sure if it's possible to make grub use the rogue OS as the default entry without the user advertising it

1 points

In my particular case, I got into Linux ~15 years ago with Debian based distros (Tried a bunch of them, but in the end I mostly used Debian)

I was never completely comfortable with it though, mainly cause some packages were outdated and security patches are constantly being reimplemented on outdated packages for the sake of stability and backwards compatibility. This was a huge drawback for me but didn't knew of any other distro back then and didn't want to learn a new one just for that

Fastforward to 4 years ago, I was working in security and used the very well known Debian-based Kali distro. Which is as awful as Debian if not worst for the very same reasons. So I didn't like it but had the tools I needed. So in this situation a coworker told me about the BlackArch distro, took a look at it and thought "Yeah, why not give it a try?". And instantly fall in love. So lightweight, up to date packages, no unnecessary packages installed by default that you don't know wtf are for or if you're gonna break the system of uninstalled

BlackArch is actually a pretty easy to install and ready to go Arch with focus on security tools. Short after this I was migrating almost all my linux boxes to plain Arch. Tried Manjaro and a couple other Arch-based distros, but base Arch is much easier to install once you have an installing script that does all the magic for you. I still use Manjaro from time to time when I need a "use and throw" box to avoid expending time in building an Arch from scratch, but for a more long-term box I prefer to build it from scratch

The best parts about Arch in my opinion are: Packages are constantly updated from main repositories and AUR is a great initiative from the community that is very well maintained. But probably the most important is the wiki, it's incredible the amount of documentation it has and is very well redacted, most of the times I consult it even when I have problems with other distros, cause it's 99.9% sure it's better documented there than just a trying a bunch of random solutions from askubuntu or whatever other distro specific forums

2 points

My advice is to be able to install packages from AUR manually using makepkg

That being said, if you're already capable and feel comfortable with it, then you shouls go for an AUR helper (I personally use yay, but mainly cause I never had the need to move to paru)

I think it's important to be able to use makepkg cause it happened to me that certain packages had dependencies broken for some time and I couldn't wait for the maintainer to fix it. So I had to patch the PKGBUILD myself and then install it manually

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.