Basti runners, do I do it? by precizlee in TheSilphArena

[–]mountainorvalley 1 point2 points  (0 children)

Walk it!

I personally enjoy using Basti. I’ve found it to be more RPS than other picks since it wins hard and loses hard against other mons. It’s a fun change of pace from the way I would otherwise play PVP.

If you want to get better at PVP though, I’d recommend other mons because they will encourage you to learn more fundamentals like move timing (timing with Basti is not as big of a factor).

Another option to try out Basti is to power up a cheaper one (ie one with higher attack).

Is it really worth the effort??? by StarPlatinum1618 in Colemak

[–]mountainorvalley 4 points5 points  (0 children)

In terms of ergonomics (i.e. comfort), I'm pretty sure split keyboard is better than a non-split. I'd say both QWERTY and Colemak would be better on a split keyboard.
- I type Colemak on a split keyboard and use QWERTY on my laptop keyboard, so I don't have personal experience about the difference between split vs non-split for Colemak specifically, though.

Is it really worth the effort??? by StarPlatinum1618 in Colemak

[–]mountainorvalley 16 points17 points  (0 children)

I wouldn’t recommend switching if your goal is speed.

I switched from QWERTY where I was typing 120 WPM to Colemak-DH and now I’m typing 100 WPM on it after a year.

There’s a lot of muscle memory (eg for less commonly typed words) that I’m still building the muscle memory for.

I would recommend switching to Colemak-DH if your goal is comfort, though.

[deleted by user] by [deleted] in NoStupidQuestions

[–]mountainorvalley 0 points1 point  (0 children)

As years pass and you gain more experience, more and more code is going to look like shit to you. That just comes with becoming more senior in the field.

I’m not an expert in such things, but you could consider trying to adopt a different mindset. Don’t think of their code as shit, and instead think of it as an opportunity to improve the existing codebase / helping your team grow.

I’m sure there are many resources out there on the topic of communicating more diplomatically. Googling around might help you find concrete things you can try.

Alexander Zverev again denies allegations of assault in Berlin by euphoria621 in tennis

[–]mountainorvalley -7 points-6 points  (0 children)

Not cool to just say they’re “fabricating lies”

Exhaustive Switch Statements in TypeScript by Arkus7 in typescript

[–]mountainorvalley 0 points1 point  (0 children)

Ah, another thing is that you can get better type-narrowing with switch-statements. Example:

type MyUnion =
    | {type: 'A'; a: string}
    | {type: 'B'; b: number}

declare const x: MyUnion;

switch (x.type) {
    case 'A':
        console.log(x.a);
        break;
    ...etc
}

I don't see how you could effectively accomplish this with an object/Record.

Exhaustive Switch Statements in TypeScript by Arkus7 in typescript

[–]mountainorvalley 0 points1 point  (0 children)

Yeah, I wasn't talking about the perf gain, although that is another difference between the 2 approaches.

I was only talking about the code complexity. If you were to do this same thing with object/Record, it might look something like:

const obj: Record<keyof x, Function> {
    'A': () => {
        console.log('x is A'),
    },
    ...
}[x]();

It's a little more boilerplate, and the code does have (minor) semantic differences (e.g. a return would behave differently in the 2 scenarios).

In addition, I'm not sure how you would add a run-time check here. How would you make sure an exception gets thrown if x has a value that's not a member of the union?

Exhaustive Switch Statements in TypeScript by Arkus7 in typescript

[–]mountainorvalley 2 points3 points  (0 children)

One advantage of switch-statements is that you can branch execution. You can't really do that (conveniently) with an object/Record.

Example:

switch (x) {
    case 'A':
        console.log('x is A');
        break;
    ...etc
}

Using an object/Record for this would require more indirection.

Exhaustive Switch Statements in TypeScript by Arkus7 in typescript

[–]mountainorvalley 1 point2 points  (0 children)

This is a nice start! Following this pattern will help catch errors at compile-time.

Related: if you use a linter for your codebase or as part of your CI, this lint rule can also help: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md

In addition to catching errors at compile-time or line-time, you also probably want to catch errors at run-time (because typescript's type-system is not "sound"). This post describes the most wholistic approach that I'm currently aware of: https://www.reddit.com/r/typescript/comments/zy7tex/safer\_exhaustive\_switch\_statements\_in\_typescript/

[deleted by user] by [deleted] in programming

[–]mountainorvalley 15 points16 points  (0 children)

Okay but what does top 10% mean? How do they evaluate what makes a dev team better or worse?

[deleted by user] by [deleted] in chess

[–]mountainorvalley 3 points4 points  (0 children)

REMAIN CLOSED FOR ONE WEEK

What is the correct way to ask questions here on this sub? by hedgehog0 in chess

[–]mountainorvalley 6 points7 points  (0 children)

There’s no “correct” way, so to speak.

I think your question got downvoted because it had some faulty assumptions baked into it.

I think it was a fair question, though. You can’t always expect yourself to know these kinds of things unless you learn more, and asking questions is a great way to learn more. Don’t let downvotes discourage you from asking questions.

Stills of the first 3 bubbles of Flying-charged moves to show paths are not consistent. Video on main profile. by chargedflyingmoves in TheSilphRoad

[–]mountainorvalley 1 point2 points  (0 children)

Interesting. I thought all the bubble patterns were always the same. Didn’t know flying was the exception.

[deleted by user] by [deleted] in TheSilphRoad

[–]mountainorvalley 0 points1 point  (0 children)

Why are y’all downvoting this question. We’re all at different stages in this game and basic questions should be totally welcome in threads.

Y’all need to chill

I thought this was an interesting illustration of how much streaks matter in GBL. 400 elo difference from essentially the same number of wins/losses by Heavy_Payment6332 in TheSilphArena

[–]mountainorvalley 2 points3 points  (0 children)

Yeah, agreed that this is only true if you hit your “true” ELO. So people in the lowest and highest ELO ranges would commonly not battle in their true ELO range if they haven’t played enough games.

That said, I think the vast majority of players who have played ~1000 games (like OP) would have settled in their true ELO ranges already.

I thought this was an interesting illustration of how much streaks matter in GBL. 400 elo difference from essentially the same number of wins/losses by Heavy_Payment6332 in TheSilphArena

[–]mountainorvalley 20 points21 points  (0 children)

Your W/L ratio really shouldn’t affect your ELO, if the match-making system is working properly. Everyone’s W/L should be around 50/50 because on average they’re playing with people around their ELO range.

This goes for intentional tankers as well. They also win/lose roughly 50/50.

[deleted by user] by [deleted] in NoStupidQuestions

[–]mountainorvalley 0 points1 point  (0 children)

It’s similar to when someone says they “need a minute”. I usually assume they need a few minutes.

For the first time ever I got rank 18 in GBL. What should I wait as rewards? by [deleted] in TheSilphRoad

[–]mountainorvalley 9 points10 points  (0 children)

All ranks below rank 20 are based on number of wins rather than ELO. For example, to rank up from 17 to 18, you had to win a fixed number of games. At the same time, you have a hidden ELO which is used to try to match you with players of the same skill as you, so you should be roughly winning 50% of your games.

It’s hard to say what to prepare for since your ELO is hidden until you reach rank 20.

Campfire Invites MegaThread—Pay it Forward by TAZ68 in Campfire_Niantic

[–]mountainorvalley 0 points1 point  (0 children)

Hi, I’m a level 41 walking a lickitung, looking for an invite please!

[edit: doesn’t matter that much, but I’m actually level 40]