IT/Software career thread: Invert binary trees for dollars.

Siliconemelons

Naxxramas 1.0 Raider
13,567
21,307
I feel like this talking to young tech kids…

1759196063642.jpeg


I have seen things… read log files manually… type HTML in text editor… manually organized my RAID drives in a particular order because OCD… now… so many things are like tears in the rain… …

Heh
 
  • 1Double Worf
Reactions: 1 user

Deathwing

<Bronze Donator>
17,485
8,542
I still read log files manually. It's a lost art. Gotta keep a robust yet non-retarded editor just for that. Too many "modern" ones choke themselves to death trying to parse your log and send it to some linter.
 
  • 1Like
  • 1Solidarity
Reactions: 1 users

Noodleface

A Mod Real Quick
39,091
17,354
Maybe it's the nature of my work in low level firmware but I read log files everyday.

I've made some nice improvements where we log important messages to a secondary persistent file in the storage just for my product though. What a lifesaver
 
  • 1Solidarity
Reactions: 1 user

Kharzette

Watcher of Overs
5,841
5,839
Programmer socks are important
I have no memory of posting this.

So while most people are going with more and more powerful tools, AI etc, I'm kind of devolving back to VI or at least vim.

Do any of you eschew IDEs in favour of old vim or emacs or something?

It seems really good for plain old c. You can :term and split the screen in half and do like man 3 printf for whatever c function you want to call etc.
 

ShakyJake

<Donor>
8,340
20,832
Do any of you eschew IDEs in favour of old vim or emacs or something?
Fuck no.

An asshole at work wrote an entire codebase with "vi" and it was the biggest god damn mess I've ever seen. Kept telling me, "You'll learn to love it."

I can appreciate the hate for the older Visual Studio, which has become extremely bloated. I personally use the JetBrains suite of IDEs which, I admit, probably has its own group of haters.
 
  • 2Like
Reactions: 1 users

Kharzette

Watcher of Overs
5,841
5,839
Fuck no.

An asshole at work wrote an entire codebase with "vi" and it was the biggest god damn mess I've ever seen. Kept telling me, "You'll learn to love it."

I can appreciate the hate for the older Visual Studio, which has become extremely bloated. I personally use the JetBrains suite of IDEs which, I admit, probably has its own group of haters.
The vi defaults are spaces instead of real tabs with 8 spaces per tab. When I saw that I figured no way in hell people actually used that, but they do! I watched a video where a guy wrote a simple web server in bash and he stuck with the defaults.
 

Deathwing

<Bronze Donator>
17,485
8,542
I don't see how vi, vim, emacs, whatever offer anything competitive wrt to actual programming. Their proponents are almost always people that have gone through the pain and self hurt of learning their hotkeys. But rarely do you see someone sold on their feature set and excited to learn it. Those editors used to own the niche of programming remotely from a terminal, but modern IDEs have largely solved that.

For the time being, there's no AI faggotry embedded into those obtuse editors, so they do have some advantage.
 

ShakyJake

<Donor>
8,340
20,832
I don't see how vi, vim, emacs, whatever offer anything competitive wrt to actual programming. Their proponents are almost always people that have gone through the pain and self hurt of learning their hotkeys. But rarely do you see someone sold on their feature set and excited to learn it. Those editors used to own the niche of programming remotely from a terminal, but modern IDEs have largely solved that.

For the time being, there's no AI faggotry embedded into those obtuse editors, so they do have some advantage.
What if I want to find all references to a public method? What if I need to dig into a base class and explore its overrides? What about debugging... can you step through the code and view variable assignments, etc?
 

Noodleface

A Mod Real Quick
39,091
17,354
Why the hell would I use vi over VSCode?? I write in C for my job and I still don't know why except you did post about programmer socks so I'm starting to get a picture
 
  • 4Worf
Reactions: 3 users

Deathwing

<Bronze Donator>
17,485
8,542
What if I want to find all references to a public method? What if I need to dig into a base class and explore its overrides? What about debugging... can you step through the code and view variable assignments, etc?
To play devil's advocate, in order:
grep!
idk, the repo I work in most of the time is a giant mono repo that is approaching 20GB in size. Asking any IDE to have intellisense worth a damn is not feasible.
gdb! But also, the system I work on most of the time is a custom modification of python. I've never been a huge fan of hooking up a debugger to the python interpreter, let alone a custom one. So I rely on print statements most of the time.
 

Kharzette

Watcher of Overs
5,841
5,839
What if I want to find all references to a public method? What if I need to dig into a base class and explore its overrides? What about debugging... can you step through the code and view variable assignments, etc?
None of that works. So far, the only thing I've seen that it is really good at is writing the initial stuff.

I can't remember anything anymore, so I've got to have headers or man pages split with the main code screen and I'm still getting used to that bit.

I had to use raw gdb when I worked at Transmeta and I hated it. That was so long ago that I frogot almost everything and am now completely useless in gdb.

I think it must be just that fullscreen lack of distraction I like. And giant ass fonts for my blind eyeballs. I dunno!
 

Kharzette

Watcher of Overs
5,841
5,839
Why the hell would I use vi over VSCode?? I write in C for my job and I still don't know why except you did post about programmer socks so I'm starting to get a picture
So far it has been a low spec experiment. We are having super warm weather still and I typically wake up when the sun goes down and it's hot so I go outside to code with a craptop.

I do like vscode though a few days back I had a dig around in the code. It is ... horrifying.

This issue has been around for 10 years so I thought I might have a stab at fixing it:


3 hours later I was in the floor gibbering and raving about the end times and Dagon's return.
 

Neranja

<Bronze Donator>
2,896
4,664
What if I want to find all references to a public method? What if I need to dig into a base class and explore its overrides?
Depending on your preferences: cscope, fzf + ripgrep, there is even an LSP plugin for vim.

Source: Sometimes I have to build/debug shit on remote systems through shitty means, like a Horizon connection into an RDP connection into an SSH to the system. Without copy&paste of course.
 
  • 1Like
Reactions: 1 user

Kharzette

Watcher of Overs
5,841
5,839
Depending on your preferences: cscope, fzf + ripgrep, there is even an LSP plugin for vim.

Source: Sometimes I have to build/debug shit on remote systems through shitty means, like a Horizon connection into an RDP connection into an SSH to the system. Without copy&paste of course.
I did notice last night during my feed-the-mosquitos outdoor coding that it was smart enough to make bad printf arguments red (I was trying to ll an int64 instead of lld).
 

Noodleface

A Mod Real Quick
39,091
17,354
So far it has been a low spec experiment. We are having super warm weather still and I typically wake up when the sun goes down and it's hot so I go outside to code with a craptop.

I do like vscode though a few days back I had a dig around in the code. It is ... horrifying.

This issue has been around for 10 years so I thought I might have a stab at fixing it:


3 hours later I was in the floor gibbering and raving about the end times and Dagon's return.
When I worked in Raytheon I had to code in vi and it was fine. At least it's very fast for some stuff.

Problem is if they allowed us to use literally anything else I would've.