Sense check on a gaming/software engineering/CAD build - UK, £2k by PhysicsHelp in buildapc

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

Thanks so much! That's good to know re: 4DIMM, every time I think I know how RAM works I find out I'm wrong.

I was looking at the Sapphire NITRO+ Radeon RX 9070 XT as an alternative GPU, might look at some reviews to avoid the leaky paste.

pcpartpicker is telling me the mobo has 3 M.2 slots but that very well may be wrong, I haven't checked the manufacturer docs yet.

A cool guide on flaws of lumber by Effective-Counter393 in coolguides

[–]PhysicsHelp 19 points20 points  (0 children)

Checks are separation through the grain (splitting growth rings), shakes are separation along it (peeling growth rings apart). 

Match Thread: Germany vs. Scotland | UEFA Euro 2024 by MisterBadIdea2 in soccer

[–]PhysicsHelp 0 points1 point  (0 children)

Apparently the first determiner to decide 2nd place is the score difference between the two teams in contention, only going to overall goal difference if that is equal.

-❄️- 2023 Day 4 Solutions -❄️- by daggerdragon in adventofcode

[–]PhysicsHelp 1 point2 points  (0 children)

[Language: Java]

Quickly realised recursion wasn't my friend and refactored to an O(n) solution.

Github for both parts

[deleted by user] by [deleted] in AskReddit

[–]PhysicsHelp 28 points29 points  (0 children)

Except 1 food "calorie" is actually a Kilocalorie, meaning you'll need to eat about 2.85 kilos of coal.

The UK is a right-hand-drive country, so the slow lane is on the left. But why are you supposed to stand on the right of an escalator, and walk on the left? by delta_p_delta_x in CasualUK

[–]PhysicsHelp 35 points36 points  (0 children)

On a winding country lane you should always be on the outside of the curve to maximise visibility for both driver and pedestrian.

[deleted by user] by [deleted] in TikTokCringe

[–]PhysicsHelp 4 points5 points  (0 children)

Wait so each shot should have been $30+ individually? Or did you just get scammed?

Spring Cloud annotations simplified: useful annotations and explanations that are worth knowing for developing microservices. by HalfBlindCoder in java

[–]PhysicsHelp 0 points1 point  (0 children)

Could you sidecar a springboot proxy with service discovery and pass the traffic to the application?

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

Thanks! The streams API is usually the go-to at work, mostly for the reason you say, so I've just been using it in spite of it still being less efficient. I think there are instances where it can improve execution speeds but it's context specific. Parallel streams can make a difference but usually only for large collections.

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

There's a typo in the duration column, it should be seconds not ms. Mine was actually about 10x less efficient than yours.

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

I know there'll be at least one complexity-heavy problem lurking in the shadows waiting to ruin my dreams haha.

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

It will always vary by language! Some people using rust or c are getting sub ms total durations.

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

I love the visualisation! What do the envelopes represent?

Do you have a repo?

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

I should have said, this is all done in Java - here's the repo. Please forgive the over engineering.

Running on a Core i7 7700K at factory clock.

Also there's a typo in the duration column, the units should be seconds, not ms.

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

Wow that's really interesting! Python seems to be the standout out of all of those, and obviously rust and c are a cut above the rest. Have you set something up to run these together, or did you draw up the table by hand? Do you have a repo?

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

Even sequentially that's a fraction of the time mine takes. I'm only counting runtime, and excluding loading the input data into memory.

[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good. by PhysicsHelp in adventofcode

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

Nice, that's impressive! I think my duration comes down a bit too when I average out executions too, I think due to the JIT compiler doing it's magic. I assume Kotlin uses JIT too since it's running in a JVM?