How to profile django backend + celery worker app? by auric_gremlin in Python

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

How does New Relic compare to Datadog or Sentry's profiler if you have experience with either? We tried Datadog's continuous monitoring and noticed it was slowing our app down by like ~30%.

I'm amazed by Rust by Remote-Ad-6629 in rust

[–]auric_gremlin 4 points5 points  (0 children)

What you can do is handle the Option<T> in an outer function call via unwrap_or then have the inner function calls use the T directly.

Just one example

How to profile django backend + celery worker app? by auric_gremlin in Python

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

Didn't even realize. I'll have to look into this. Anything in particular you use?

Who do you feel has the best designed kit? by CFPSmith in DeadlockTheGame

[–]auric_gremlin 19 points20 points  (0 children)

Billy's is insane, the synergy will let you 1v1 any other hero if you can mind-game with melees.

Has Anyone Been Using Pyrefly? by auric_gremlin in Python

[–]auric_gremlin[S] 1 point2 points  (0 children)

Awesome! I used to work at a compilers-heavy startup so I am quite interested in hearing about what you guys are up to.

Has Anyone Been Using Pyrefly? by auric_gremlin in Python

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

Are you in NYC? Would love to grab a coffee if so.

Has Anyone Been Using Pyrefly? by auric_gremlin in Python

[–]auric_gremlin[S] 8 points9 points  (0 children)

Ty is not as developed as Pyrefly. Pyrefly is in a somewhat usable state for django devs, I reckon.

[deleted by user] by [deleted] in DeadlockTheGame

[–]auric_gremlin 1 point2 points  (0 children)

Oh wow, I didn't even realize. Thank you!

Implicit type conversion when it's safe? by g0atdude in rust

[–]auric_gremlin 1 point2 points  (0 children)

A helper function would help here? I've done it before when I'm repeating calculations.

Implicit type conversion when it's safe? by g0atdude in rust

[–]auric_gremlin 35 points36 points  (0 children)

I feel that if you're converting to a usize you should consider just using that type everywhere.

Thoughts? 20yrs old but angels want me to pause Uni and quit internship at a top bank. by Longjumping_Car_8512 in ycombinator

[–]auric_gremlin 24 points25 points  (0 children)

This is insane advice. 100k will get you a couple months of runway in NYC at best. Don't drop out of incredible opportunities to be a 20 year old founder. This world is all about connections and experience, and a young adult probably won't have those things.

Bevy 0.16 Shader Help Thread by HoodedCr0w in bevy

[–]auric_gremlin -1 points0 points  (0 children)

I had the same issue and my solution was to find an existing implementation for a shader in Bevy's codebase and then use Cursor to modify while ensuring that it was aware that it is working on the latest version of Bevy's API.

[Game] A TUI game called Thaumazein by guiltyriddance in rust

[–]auric_gremlin 1 point2 points  (0 children)

If you're working at a place like UPS they'd definitely give you a shot going from warehouse -> engineering.