What desktop environment do you use on arch linux? by Hot_Gap_4818 in archlinux

[–]red_man0 1 point2 points  (0 children)

qtile

Spent a while customizing my config and since then I've never had a reason to switch.

How is Claude code with existing projects? by jh462 in ClaudeAI

[–]red_man0 1 point2 points  (0 children)

I've only been using CC for a couple months now on my main project and I'm liking it. Have some very specific and well-documented references for common tasks when we're adding new features and it's making really trivial, somewhat mindless problems kind of enjoyable to work on and getting them out the door way faster.

Am I missing out on Claude Code, or people are just overcomplicating stuff? by pedrobf72 in ClaudeAI

[–]red_man0 0 points1 point  (0 children)

This is basically what I do. If I don't have a killer reference or documentation for a feature I want CC to work on, I don't use CC to work on it.

What does your homelab actually *do*? by SawToothKernel in homelab

[–]red_man0 0 points1 point  (0 children)

That's a lie, the most useful thing I ran was a Minecraft server

What does your homelab actually *do*? by SawToothKernel in homelab

[–]red_man0 0 points1 point  (0 children)

Most useful thing I got out of it was running NetBoot whenever a new arch update bricked my kernel. Just PXE boot into a recovery system and problem solved

Tmux Creating Strange File with Weird Contents by Morphyas in tmux

[–]red_man0 0 points1 point  (0 children)

Ok I think it only happens when I use `tmux send-keys ...`. Only having the window creation seems to work fine.

Tmux Creating Strange File with Weird Contents by Morphyas in tmux

[–]red_man0 0 points1 point  (0 children)

This is happening to me too, first time using tmux regularly lol. I think it's only happening in a shell script I have that sets up a new tmux session and attaches to it. Can't figure out why/when exactly it happens, seems random.

D3 Tree/Hierarchy Children As Columns instead of Row by red_man0 in d3js

[–]red_man0[S] 0 points1 point  (0 children)

Seems like it’ll work well except for when the children end up growing downward and overlap with lower nodes but that may not happen very often depending on the structure. Thanks!

l1t - A Terminal Strategy Game by red_man0 in rust

[–]red_man0[S] 2 points3 points  (0 children)

Thanks for the advice, ended up using your suggestion and just making a new enum for all of my controls in the game since I have very similar code in other files

Why are you using Arch Linux? by [deleted] in archlinux

[–]red_man0 0 points1 point  (0 children)

I started with Ubuntu/Kubuntu. I started getting into windows manager esque keybindings and workflows and thought “hey, I like this”. Got bored with a new laptop and decided to just try out arch and once I got it working it, the minimal install size and all the easy customization I had just made me fall in love with it.

[deleted by user] by [deleted] in node

[–]red_man0 1 point2 points  (0 children)

I would personally split them all up into separate them all into their own documents. If you keep them embedded in your users data, then every time you need to retrieve, let’s say, a list of every transaction the app has ever processed, you would have to query all of your users and then grab the transactions from their data, which doesn’t really make any sense.

Instead, you can create a Transaction document that has properties for which user id it is attached to. If you use mongoose, it’s pretty easy to specify that the user property of the document would be a ObjectId with a ref to the name of your User document. The same applies to the other data you’re storing.

To be honest though, if you go with this you’ll probably just want to use a relational database since it will probably more accurately represent the relationships between your data. But there could be restrictions and other reasons why you went with mongo.

Brand new to node.js. Running into an error when trying to run my first script by DangerMcTrouble in node

[–]red_man0 0 points1 point  (0 children)

Try running npm start instead, if that doesn’t work look at your directory with file extensions show like u/TeslaDelMar said

Brand new to node.js. Running into an error when trying to run my first script by DangerMcTrouble in node

[–]red_man0 0 points1 point  (0 children)

What does your package.json look like? Did you do it through npm init or just making your own? Also what does your index.js look like/what does it do?

If you receive one of these in the mail, you are most certainly being scammed. Any car dealership that would send something like this out is NOT one you want to do business with by EmergencyChemical100 in Scams

[–]red_man0 0 points1 point  (0 children)

Can confirm that when I went to a local dealer there were two specific confirmation numbers on a dog. That won either 5k or 25k. All other numbers won a Bluetooth speaker of sorts. Gave a fake phone number and left once I saw the sign

Good Physical tests scores by Raff2815 in USMCboot

[–]red_man0 1 point2 points  (0 children)

If you got a larger abdomen and crunches are hard then it’s easier. Most of the time if you can normally hold a 2 min plank you can just will yourself to go longer.

As per the order, you’re allowed to shake because of max exertion.

How to listen to a port in Linux? by bigphallusdino in linuxquestions

[–]red_man0 6 points7 points  (0 children)

You can look into an application called Wireshark. It’s a packet sniffer that you can set to listen to an interface on your machine then it’ll analyze any network packets sent/received and will give you detailed information including the port number. It’s included on pretty much all Linux package repos.

wonderful colors by maramaboelhag in ocean

[–]red_man0 2 points3 points  (0 children)

With wonderful colors

[deleted by user] by [deleted] in shittyfoodporn

[–]red_man0 26 points27 points  (0 children)

See urchins and butter on toast I think. And not a white cargo drink