chbrules

u/chbrules



r/reactnative•

I've used React in the past, so it seemed natural to try React Native for mobile app dev. I'm working on a startup with a wealthy investor, and we may see droves of traffic in the near future that requires large scale push notifications (talking 100,000's to millions at a time). Being new to mobile dev, I didn't realize what I was getting into... (my background is in many other technical areas, but I ended up taking on this mobile app dev task that needed to get done quickly).

I created my app using the Expo CLI. It seems that leaves out a lot of useful application configuration data to compile with - namely push notifications support. I see Expo supports push notifications on their own pla

112

r/tax•

Apologies for just asking a tax question. I'm a bit new to doing all this myself, as I wanted to understand all this stuff instead of just have an accountant do it.

I purchased a company truck this past year and have the option of taking 80% deduction this year on my S-corp. This 80% special deduction would overshadow the company's net income at the end, leaving me with a significant loss on the tax paperwork. The work truck was ~$90K, and I can take 80% of that deduction for 2023. If I'll end up with like -$40K on the books at the end, can I pass that on for this year's taxes (2024)? I'd prefer to take more now if I'm able to pass the loss on for deduction next year. Otherwise I'll owe tax

12

r/learnprogramming•

I'm new to writing C code on Linux with VSCode, GCC, and CMake. I have a game project I started with multi-level directory hierarchy for the code. I'm having trouble finding a good tutorial or explanation how to include all these directories and compile the .c files in there for linking using CMake. I've tried to read through the CMake documentation, the VSCode docs, etc, but they all stop short of just setting things up with a single main.c project that compiles. I've seen people suggest using a CMakeLists.txt in each directory in the hierarchy. How do I go about putting it all together to get the project to compile?

Thank you in advance for any help!

115

r/learnprogramming•

I'm a total noob with CMake here. I'm used to the MSVC Windows days where you could just compile a whole directory tree of files. Right now, I can't get my little game I'm starting to work on to compile.

I have my main.c in the root directory, then I have subdirectories with numerous .c and .h files to compile in as includes. When I tried using straight GCC, it would just throw error about undefined references to the code in my included header files in subdirectories. As I have come to find, GCC doesn't just follow all these include paths and build everything in a simple fashion. I tried to find some info and it seems like CMake is the way to go on Linux with C...

However, when I try to pu

12

r/gamedev•

This is a cross-post on r/learnprogramming:

I'm writing a 2D RPG game from the ground up using RayLib and C. I'm new to using a non-OOP paradigm coming from a C++ background. DOD (data-oriented design) looks to be a great way to design an optimized game engine. I've been researching quite a bit on this front right now, and I wanted to get some feedback on my understanding. Please feel free to chime in with comments and links to videos and articles discussing such things.

I would be designing a data layout using a struct of arrays that hold the raw data of the entities for the game state. These arrays would hold specific component structs that comprise the entities. For example, the main g

29

r/learnprogramming•

I'm writing a 2D RPG game from the ground up using RayLib and C. I'm new to using a non-OOP paradigm coming from a C++ background. DOD (data-oriented design) looks to be a great way to design an optimized game engine. I've been researching quite a bit on this front right now, and I wanted to get some feedback on my understanding. Please feel free to chime in with comments and links to videos and articles discussing such things.

I would be designing a data layout using a struct of arrays that hold the raw data of the entities for the game state. These arrays would hold specific component structs that comprise the entities. For example, the main game state struct would have an array that held

33

r/gamedev•

Long story short, I tinkered around learning C++ in high school in the Half-Life SDK days (~2001 and on). I'm a competent enough programmer, but that never became my profession - see Sr. IT engineer instead.

Anyway, I'm interested in doing programming again; specifically game programming. I spent the past couple weeks hammering through learning modern C via the books: "Modern C," and "Fluent C: Principles, Practices, and Patterns." I'm surprised how natural it all feels again and picked up quickly. However, using a non-OOP language really makes me think hard about implementing concepts that were so familiar and natural in C++.

Currently, I'm thinking through two concept that are going to b

1838

r/askcarsales•

We are looking to get a new 2023/2024 Ford Expedition Limited 4x4. The wife and I really liked our rental we took on vacation the other week, and it's time we got a new car for our new little family. We live in the Boise, ID area. There are a couple dealers around here - Lithia, Kendall, and Corwin, that I know of. If we saw a well configured one on the lot, we could go with that, but we have no probs with ordering if it's a negligible savings difference.

I don't mind financing if it gets me a better deal. I have an 800 credit score. I would optimally like to finance half of it with a credit union with a lower rate, of course. Then again, I could take the Ford higher rate and pay it off

12

r/homelabsales•

SOLD

** Specs in screenshots below **

These were just pulled from a working VMWare ESXi host infrastructure. I have powered them on and verified they're working - HDDs wiped. ** Please look at the pictures to see specs ** - The top 4 (HP DL560's) are pretty much identical with 4x Intel Xeon E5-4667 v3's (4x 16C/32T), 256GB RAM, 10gbps dual SFP+ NICs, 8gbps dual FC NICs, quad port gigabit cards, and dual PSU's. They all have 146GB 2.5" SAS HDDs in the populated bays. The bottom (HP DL380) has dual Xeons and 128GB RAM (no 3rd drive).

I do not have the rack rails, but the chassis rails are installed. There are only some minor scuffs on the top/bottom metal plates, but otherwise no dent

31

r/hardwareswap•

SOLD

  • Specs in screenshots below *

These were just pulled from a working VMWare ESXi host infrastructure. I have powered them on and verified they're working - HDDs wiped. Please look at the pictures to see specs - the top 4 (HP DL560's) are pretty much identical with 4x Intel Xeon E5-4667 v3's (4x 16C/32T), 256GB RAM, 10gbps dual SFP+ NICs, 8gbps dual FC NICs, quad port gigabit cards, and dual PSU's. They all have 146GB 2.5" SAS HDDs in the populated bays. The only odd one out is the 5th one at the bottom (HP DL380) with dual Xeons and 128GB RAM (no 3rd drive).

I do not have the rack rails, but the chassis rails are installed. There are only some minor scuffs on the top/bo

11

r/homelabsales•

SOLD

** Specs in screenshots below **

These were just pulled from a working VMWare ESXi host infrastructure. I have powered them on and verified they're working - HDDs wiped. ** Please look at the pictures to see specs ** - the top 4 (HP DL560's) are pretty much identical with 4x Intel Xeon E5-4667 v3's (4x 16C/32T), 256GB RAM, 10gbps dual SFP+ NICs, 8gbps dual FC NICs, quad port gigabit cards, and dual PSU's. They all have 146GB 2.5" SAS HDDs in the populated bays. The only odd one out is the 5th one at the bottom (HP DL380) with dual Xeons and 128GB RAM (no 3rd drive).

I do not have the rack rails, but the chassis rails are installed. There are only some minor scuffs on the top/bo

23

r/homelabsales•

These were pulled from a working VMWare ESXi host infrastructure. I have powered them on and verified they're working - HDDs wiped. Please look at the pictures to see specs - the top 4 (HP DL560's) are pretty much identical with 4x Intel Xeon E5-4667 v3's (4x 16C/32T), 256GB RAM, 10gbps dual SFP+ NICs, 8gbps dual FC NICs, quad port gigabit cards, and dual PSU's. They all have 146GB 2.5" SAS HDDs in their bays. The only odd one out is the 5th one at the bottom (HP DL380) with dual Xeons and 128GB RAM (no 3rd drive). I do not have the rack rails, but the chassis rails are installed. There are only some minor scuffs on the top/bottom metal plates, but otherwise no dents or anything. Please look

04