News for hackers. Stuff that matters.
Re:Hexyl: A command-line hex viewer with colorized output by crabbone on Friday June 16, 2023 @05:44PM (#36364347)
Why would you need a separate binary viewer / editor?

This reminds me the absurd, but somehow common situation where Java programmers in my office used IntelliJ IDEA to write Java, but Notepad++ to view logs or edit INI files etc.

Re:Hexyl: A command-line hex viewer with colorized output by sitzkrieg on Friday June 16, 2023 @06:21PM (#36364749)
i do this. big heavy ide with project and debugger going full blast. I might want to just pop open a log quickly and cba to drag it into the IDE, np++ context menu done. more often tho, reading logs on a non-main dev machine/vm/test/field
Re:Hexyl: A command-line hex viewer with colorized output by crabbone on Friday June 16, 2023 @09:22PM (#36366222)
Your life is pain...

I don't know if you know the feeling: it's like watching inexperienced chess players play -- you want to scream when you see them making dumb moves, but then the opponent also makes a dumb move, which makes it more funny than sad.

When I look over the shoulder of people who work like you describe your workflow, just like with chess, I feel this kind of mix of embarrassment and frustration -- it was so easy to do it right, yet you decided to do something silly instead.

Re:Hexyl: A command-line hex viewer with colorized output by ramg on Friday June 16, 2023 @10:31PM (#36366623)
This is not helpful.

Why not suggest a more appropriate workflow without the chastising or denigration? C'mon, you can be supportive.

Re:Hexyl: A command-line hex viewer with colorized output by sitzkrieg on Saturday June 17, 2023 @05:25AM (#36368637)
shrug, im drastically faster than all my work mates not that thats a good benchmark, im not bothered and have stuff that works quite well for me. what i outlined above is worst case scenario with some huge IDEs like VS or a huge idea project. some projects i do entirely in vim. others i have to use 2 remote debuggers at once with a VM in the mix. im doubtful their advice would apply
Re:Hexyl: A command-line hex viewer with colorized output by crabbone on Saturday June 17, 2023 @07:56PM (#36375982)
Yeah, it's kind of how it happens. Your skills suck just a tiny bit less than of those around you, and you come to unwarranted conclusion that you are doing good.

Unfortunately, our industry has few small pockets where you can still find competent programmers every now and then, but you wouldn't see them using IDEA or VS Code. And then there's an ocean of... well, not even mediocrity, it's just hands down awful. Most programmers throughout their career will never see a competent programmer, and if they stay around will be promoted into management where they will lose the very modest skill they had. And the cycle will continue.

Re:Hexyl: A command-line hex viewer with colorized output by sitzkrieg on Saturday June 17, 2023 @08:33PM (#36376177)
I am not sure what kinda beef you have with people being able to handle using multiple editors at once but it sure is a doozy
Re:Hexyl: A command-line hex viewer with colorized output by crabbone on Saturday June 17, 2023 @07:50PM (#36375938)
I don't want to support people who don't want to support themselves. Also, the commenter wasn't asking for support. They proudly believe that what they do is a legitimately good way to use their computer.

I've seen way too many people like that, and have an idea how that kind of belief is formed. I don't want to help those people. I want them gone.

Re:Hexyl: A command-line hex viewer with colorized output by ramg on Sunday June 18, 2023 @01:55AM (#36377681)
> I don't want to help those people. I want them gone.

I'm sorry you have this attitude towards people. I wish you the best.

Re:Hexyl: A command-line hex viewer with colorized output by ttyprintk on Friday June 16, 2023 @11:32PM (#36366993)
You might like lnav on the far end, especially for colorization.
Re:Hexyl: A command-line hex viewer with colorized output by anamexis on Friday June 16, 2023 @05:53PM (#36364439)
Separate from what?
Re:Hexyl: A command-line hex viewer with colorized output by crabbone on Friday June 16, 2023 @09:19PM (#36366206)
If you are a programmer, you are already using an editor. Who besides programmers needs to see hex dump of a file?
Re:Hexyl: A command-line hex viewer with colorized output by Aaron2222 on Saturday June 17, 2023 @07:06AM (#36369085)
Sysadmins? Programmers who don't have their editor open and just need to quickly look at the contents of a file?
Re:Hexyl: A command-line hex viewer with colorized output by crabbone on Saturday June 17, 2023 @07:52PM (#36375955)
There aren't sysadmins today who aren't programmers.

> Programmers who don't have their editor open

Well... these aren't programmers. Maybe "aspiring programmers", as in someone who still have to learn how to use their computer. It's not anyone who would be considered a competent user.

Re:Hexyl: A command-line hex viewer with colorized output by anamexis on Sunday June 18, 2023 @06:49PM (#36385346)
What are you talking about? I use cat and less all the time when I'm working in the console. No need to switch tools when I want to take a quick look at the file.
Re:Hexyl: A command-line hex viewer with colorized output by blipmusic on Friday June 16, 2023 @11:31PM (#36366983)
Because people sometimes write parsers for binary file formats? In my case, it is indeed for a programming task, but not for debugging running/compiled code.

A ”raw bytes” view can be useful in many situations.

Re:Hexyl: A command-line hex viewer with colorized output by nikau on Saturday June 17, 2023 @01:47AM (#36367640)
Because nothing is more awesome than wanting to quickly view a file and vscode decides it needs to not only update itself but the remote helper app as well, so your file takes 30 seconds to load.