learningduck

joined 2 years ago
[–] learningduck@programming.dev 1 points 2 years ago (5 children)

How to pick a PSU? 80+ isn't as reliable. Think, I should rely on Cybernetics and find reviews about noise and stuffs, but most of the review site only review big PSU like 750 - 1000w, which is overkill for me.

[–] learningduck@programming.dev 11 points 2 years ago (7 children)

Trillium notes and Bitwarden.

The note is packed with features and it can build maps from your tags aromatically. It helped me easily recall things

Bitwarden, because password need to be secured.

[–] learningduck@programming.dev 1 points 2 years ago (4 children)

How can I stop my phone from connecting to android auto?

Today, my mom drove my car passed me and it automatically connect to my phone. Is it possible for me to connect to the car only if I want to?

[–] learningduck@programming.dev 1 points 2 years ago

So, the history table have every column, but the user table has only user id and version, right?

user_history table user table

[–] learningduck@programming.dev 1 points 2 years ago

Their cost of traffic is so damn expensive

[–] learningduck@programming.dev 2 points 2 years ago

Thank you. I heard some complained about it not being fair for a solo player like other FS games. Glad to hear that it's somewhat easier.

[–] learningduck@programming.dev 1 points 2 years ago (1 children)

Not sure what's call in ER, the thing that can summon NPCs or players to help you.

Thank you. I heard some complains about it being less fair compared to other FS games due to this summoning thing.

[–] learningduck@programming.dev 3 points 2 years ago (2 children)

How do you update it to unoublish? Add another timestamp column and who's the latest win or just set published_at to null?

[–] learningduck@programming.dev 3 points 2 years ago (5 children)

Thinking about buying Elden Ring and RE2,

RE2 is so cheap but I'm a pussy who could hardly stand a horror game. Can only play 2 levels of Dead Space a day.

Is ER fair if I don't plan to do coop or use summons?

[–] learningduck@programming.dev 5 points 2 years ago* (last edited 2 years ago) (1 children)

I see people wanting cubicle, but I can't imagine myself working in a cubicle for an extended period of time. The sense of loneliness and claustrophobic.

Think a 2 people semi open cubicle is the most I can endure.

Heck, I can't even work in my own office room in my house and have to move to the living room.

[–] learningduck@programming.dev 2 points 2 years ago* (last edited 2 years ago)

Mock is a necessary thing, but too much mocking is a bad thing.

imo, if your application is layered, then implementing a shallow integration testing and mock out external dependencies and input work better. More mocks make tests less reliable.

I aggree with

Alternative: Don’t unit test calls to complex dependencies. Write integration and behavioral tests for multiple components

One reason we don’t use complex dependencies (even from other packages in the same codebase) is to avoid testing the code of the dependencies. That shouldn’t be a unit test’s responsibility.

But an integration test does care about the code in other packages. That’s the right place to test complex interactions with dependencies.

view more: ‹ prev next ›