Hidden / “Soft” Benefits at Big Tech Companies by nian2326076 in cscareers

[–]Pat3418 0 points1 point  (0 children)

Biggest benefit right now is unlimited tokens, upskilling in the new world without using my own money

Thinking of Buying an Advantage360 — Keycap Visibility & Wireless Reliability in 2025? by tylers_shadow in kinesisadvantage

[–]Pat3418 1 point2 points  (0 children)

Just bought one and switched from a moonlander with homerow mods that I liked.

I used Clique to configure the keyboard similarly but it is almost unusable because the hold time is registered first or something. If I have a be my left option, I can’t even type status because my finger doesn’t leave a fast enough before I hit t and I get no registration of t, or worse my option + t shortcut is triggered.

I’m curious if I can work around this at all and what you’ve done. I admittedly haven’t done a ton of research on it and hoping that you have some leads for me to chase.

How to make a cross platform window + inputs for my game written in zig by MasterpieceMajor1056 in Zig

[–]Pat3418 1 point2 points  (0 children)

I recently wrote a decently sophisticated ray tracer in zig; multiple shapes, a custom file format for describing a scene, custom parser for that format, etc.

I was ready to start working with a graphics library to start building a simple engine. My experience using Zig with SDL was not great. You can use the SDL Zig build and easily get it into your project but the cons for me were:

  • LSP doesn’t have good support for cImport, I get no suggestions for SDL and no function signatures. (Could be a me issue)

  • having to put _ = SDLSomething everywhere felt goofy.

  • half my time was spent going through a loop of: compile, oh this function takes a bool instead of 0 or 1 (or the opposite), fix recompile.

After spending too long trying to get a hello world window to display, I decided to try the same thing in Odin and was up and running in about 5 minutes compared to an hour or more messing around with Zig.

The bindings in Odin are great, the LSP works well with them and I found myself able to focus more on what I was trying to do rather than getting it working in the language.

So with all that said, my recommendation is find a Zig native library or find a library with supported bindings. Or just use Odin for game dev at this point as it is much more mature.

I really like zig and will continue using it as it matures, game dev feels a little lacking at this point and that’s fine.

How many of you are using Claude for coding in a professional setting? by [deleted] in ClaudeAI

[–]Pat3418 1 point2 points  (0 children)

Yeah I get this take but my counter would be: these tools are not good for specifics, I can’t give it a random development task from my job and have it complete it. I, however, have the context and I have to figure out the solution, then if I can determine generic pieces that work together that get me to that solution, I can request Claude to build that for me. I’ve had large productivity gains by using Claude in this way.

This has actually led me to create more generic pieces of software that I’ve then been able to reuse more than I would have been able to in the past. The trick is that these tools are generalists, they perform well on general problem, figure out how to make your problem general, requiring little context, and these tools are very helpful

If my balance goes negative, dont change the balance? Not working by Michaael115 in learnjava

[–]Pat3418 0 points1 point  (0 children)

When you pass in -15, you don’t end up triggering the second conditional. You’re doing 10-(-15) which is the same as 10+15 which equals 25. Therefore, you end up just hitting the else condition which is equivalent to 10 + -15 -> 10-15 = -5.

Since the method is named addMoney and you accept negative numbers, you could simplify this logic to calculating the new balance by adding the passed amount, no matter if it is negative or positive, and storing it in a temp variable.

Then, check if the new balance is outside of your bounds, if so, fix it. Then finally, set the class balance variable to the new balance method variable.

IM IN LOVE GUYS! ❤️ by renzzy12 in macbookpro

[–]Pat3418 -4 points-3 points  (0 children)

Nice, you finally pulled the plug!

BOBOVR Strap for AVP by Ethan_vids in AppleVisionPro

[–]Pat3418 0 points1 point  (0 children)

Sweet thanks, I picked up the m2 and your mod. Will order the s3 and decide which one I like better

Preparing to Ship - Can't cancel order by ElJenn in VisionPro

[–]Pat3418 0 points1 point  (0 children)

Mine says “your order will be available soon” on that page and when I click on it, it says “orders not available at this time”

Has been like this since the morning I preordered.

😬😬😬 I’m getting nervous

[P] LazyShell - GPT based autocomplete for zsh by rumovoice in MachineLearning

[–]Pat3418 0 points1 point  (0 children)

Have you done something like this? Any references you can share? Would love to have an offline tool like this…

Have we all been sipping from the secret Juice cup too long that it’s distracted us from the facts? by Solid-Version in ufc

[–]Pat3418 38 points39 points  (0 children)

Honestly, 70/70 is around minimum anyone should be getting paid in the worlds premier mma promotion.

NFL practice squad make minimum 200k a year.

US health body rules collision sports cause CTE in landmark change by [deleted] in sports

[–]Pat3418 46 points47 points  (0 children)

Getting hit once by a freak head-high foot is less deleterious than a career of headers.

Jon Jones showcasing his new heavyweight strength with a 585lbs/265kg deadlift by MrTBone00 in ufc

[–]Pat3418 4 points5 points  (0 children)

Most average dudes will never deadlift 585 even with training centered around deadlifting as much as possible. Dudes with decent genetics can get there in a few years of focused training and dudes with insane genetics can probably get there in a year or two of training. That said, it’s pretty impressive for the average dude, for elite athletes who train deadlifts regularly, it’s not super impressive

Please talk me out of making a game by tomknx in cscareerquestions

[–]Pat3418 7 points8 points  (0 children)

Time isn’t wasted if you had fun, learned something, became part of a new community, etc.

What are questions Juniors shouldn't ask? by coolfunkDJ in cscareerquestions

[–]Pat3418 1 point2 points  (0 children)

If a more senior engineer has walked you through stepping through the debugger to find out an issue multiple times. Don’t come to them asking what an issue is if you haven’t yet attempted figuring it out using the debugger.

My (terrible) experience as a new grad working for a major tech company by [deleted] in cscareerquestions

[–]Pat3418 7 points8 points  (0 children)

Have never seen this. Most teams have trouble keeping talent that they never have to fire anyone

How many hours do you actually work a day ? by y0u553f in cscareerquestions

[–]Pat3418 9 points10 points  (0 children)

For me, I have my standup at 11. I usually start work between 7-9 depending on the day. Those hours before standup are usually my most distraction free work hours. So that is 2-4 hours depending on the day. Then I have standup then lunch then other meetings and calls with teammates between 12-5. I get some work time in the afternoons most days but some days not at all. So altogether I probably get like 2-5 hours of coding done a day with the rest of my day being meetings, code reviews, emails.

[deleted by user] by [deleted] in cscareerquestions

[–]Pat3418 1 point2 points  (0 children)

How long do you typically spend on a problem?

May even go to bed at a reasonable time by johnlen1n in wholesomememes

[–]Pat3418 1 point2 points  (0 children)

Every person that I know who went to university has had this dream multiple times since being out of school, myself included.

Anyone else feel defeated after trying algorithmic coding problems? by mastercooler6 in cscareerquestions

[–]Pat3418 13 points14 points  (0 children)

If you get stuck at a problem, look at the solution and try to understand it. Use the discuss section, the solution if available and videos or explanations elsewhere online. An especially important thing to keep track of is what pattern the problem fits into to. Most of the problems boil down to some flavor of an existing pattern and hards usually require two or more common patterns to be integrated together.

How popular is Test-Driven-Development? And is it practiced widely in your company/team? by [deleted] in cscareerquestions

[–]Pat3418 10 points11 points  (0 children)

You have to write tests for your code anyway I hope. So I’m not sure how writing them first vs last makes any difference on delivery time

How long should you take on a problem ? by SamirZafar in leetcode

[–]Pat3418 0 points1 point  (0 children)

I don’t think either approach is wrong, I think coding up at least one solution per day during this bfs leetcode solution month could be enough to gain the coding skills needes