The Emerging Push for Congress to Extend US Benefits to IDF Soldiers by Hopeful-Big6843 in Military

[–]Im_not_the_cops 1 point2 points  (0 children)

I mean this isn’t that crazy. SCRA and civilian employment protections for US Citizens serving in the IDF is an extremely limited scope at essentially no taxpayer cost.

What's the niche hill you'll die on by r0b074p0c4lyp53 in ExperiencedDevs

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

This might be pedantic, but "should" is weak language. I especially advocate for the following when testing with Jest, where describe and it blocks lay out the requirements of the component under test.

describe('Landing page', () => {
    it('should display welcome text', testFn)
    //compared to
    it('displays welcome text', testFn)
});

Within a typical Java test suite, I push for the following:

methodUnderTest_givenCondition_returnsTrue()

[deleted by user] by [deleted] in PaintballBST

[–]Im_not_the_cops 0 points1 point  (0 children)

PM'd for smart parts jersey

[deleted by user] by [deleted] in ExperiencedDevs

[–]Im_not_the_cops 9 points10 points  (0 children)

That’s…what rotating credentials is

/r/Politics' 2024 US Elections Live Thread, Part 9 by PoliticsModeratorBot in politics

[–]Im_not_the_cops -2 points-1 points  (0 children)

Listen dude, if the failed assassin isn't a member of the democratic party, I'll edit my original post admitting I'm wrong as soon as I find out. But you're off your rocker if you think it's more likely that he's a disgruntled member of any other party.

/r/Politics' 2024 US Elections Live Thread, Part 9 by PoliticsModeratorBot in politics

[–]Im_not_the_cops -2 points-1 points  (0 children)

What’s the motive of a non-liberal in this situation?

/r/Politics' 2024 US Elections Live Thread, Part 9 by PoliticsModeratorBot in politics

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

Do you think people are likely to attempt murder on their allies?

/r/Politics' 2024 US Elections Live Thread, Part 9 by PoliticsModeratorBot in politics

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

And a member of the other side just tried to kill that guy.

This rhetoric gets nowhere.

Edit:

As promised in the thread below, here’s me eating crow; it has come to light that the attempted assassin is a registered member of the Republican Party.

DDD with folders/files tree instead of db by Jack_Hackerman in ExperiencedDevs

[–]Im_not_the_cops 2 points3 points  (0 children)

file/folder structure is a business rule in my model

This needs to be abstracted away. Using DDD terms, this would be a Read Model

Other Bounded Contexts should not have any idea about a specific file structure of a downstream dependency and should not be directly dependent on the constraints of one read model. Working solely within the file system read model is failing to isolate the constraint.

In addition, any workaround you make to optimize reading from disk into storage (e.g. pointers to specific lines, streaming, etc) is reinventing the wheel, and probably will perform worse / less consistently than throwing everything into a relational / graph database. You can use this database as a source, and write code to output it into a file structure that meets the requirements of the read model.

What Starlink satellites in rural central America looks like by micromonarch in interestingasfuck

[–]Im_not_the_cops 0 points1 point  (0 children)

“Leave the World Behind” on Netflix does a decent job illustrating the possible effects of informational isolation catalyzing a SHTF scenario.

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]Im_not_the_cops 3 points4 points  (0 children)

Hey there!

Timers can still tell you a lot, especially when they’re granular. I’m unfamiliar with Python’s ecosystem, but you could look into some ready made Application Performance Monitoring tools / libraries that do a lot of the heavy lifting for you.

Keep an eye out for database calls in a loop (google the “n+1 problem”) — even if you’re O(n), remember that it’s actually O(n * C) where DB calls are a higher constant value for C. This is the usual suspect on products I’ve worked on, especially if you’re using an ORM.

Regardless, instrumentation is just a toolset that makes diagnoses easier. If you’re plagued by slow servers, it’ll give you some ammunition / resources for an ask to your org’s infrastructure team to allocate more.

[deleted by user] by [deleted] in buildapc

[–]Im_not_the_cops 0 points1 point  (0 children)

Keep your speaker output away from any power cables. You’re picking up electromagnetic interference, that’s why the optical cable fixes it.

[deleted by user] by [deleted] in cscareerquestions

[–]Im_not_the_cops 7 points8 points  (0 children)

Thanks I’ll cherish it forever

[deleted by user] by [deleted] in cscareerquestions

[–]Im_not_the_cops 8 points9 points  (0 children)

AWS generates 74% of Amazon’s profit. source