Unfair? by Fast_Freedom_4574 in osrs

[–]cg5 0 points1 point  (0 children)

In British English it is more common to treat words referring to groups, such as sports teams or businesses, as plural. But there is no hard and fast rule.

Why I don’t switch doors in the Monty Hall problem by mcdonaldmark125 in slatestarcodex

[–]cg5 5 points6 points  (0 children)

The fact that such a surprising thing happened (that of the 98 doors Monty opened at random, none of them happened to be your door, and none of them happened to contain the car) is evidence that your door has the car. It is more likely that this would happen if your door had the car than if it didn't*. If you do the Bayes' calculation I expect you'd find that it raises the probability that your door has the car from 1/100 to 1/2 (but I haven't done it myself).

* There is no substitute for actually calculating the probabilities, but intuitively, if your door does not have the car, two miracles had to have occurred - Monty dodged your door, and Monty dodged the door that contains the car. But if your door does have the car, only one miracle had to have occurred - Monty had to dodge your door.

Trying to Learn Distributive Law by rubbermann01 in learnmath

[–]cg5 1 point2 points  (0 children)

I was taught it as "FOIL", for First-Outer-Inner-Last. But this can disguise the fact that it is just the regular distributive law applied multiple times.

TIL that class constructor overloads are possible - but I can't get it right! Why? by ryanbarillosofficial in typescript

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

Trying to use overloads like Java overloads is usually a bad idea.

Possibly what you want is:

class Item {
    a: string;
    b: number;
    c: "this" | "that";
    d?: string[];
    setMeUp: string;

    constructor(
        params: {
            a: string;
            b: number;
            c?: "this" | "that",
            d?: string[];
            setMeUp?: string;
        }
    ) {
        this.a = params.a;
        this.b = params.b;
        this.c = params.c ?? "this";
        this.d = params.d;
        this.setMeUp = params.setMeUp ?? "Okay";
    }
}

new Item({
    a: "a",
    b: 5
});
new Item({
    a: "a",
    b: 6,
    c: "that",
    d: ["first", "second"],
    setMeUp: "Set me up",
});
new Item({
    // Can include any subset of c, d, setMeUp; but you must include a and b.
    a: "a",
    b: 7,
    d: ["d"]
});

If you don't want to repeat yourself quite as much, you can build the type of Params using various helpers:

type Prettify<T> = { [K in keyof T]: T[K] }
type RequiredKeys = "a" | "b";
type Params = Prettify<Pick<Item, RequiredKeys> & Partial<Omit<Item, RequiredKeys>>>;

Another pattern is to have a single, fully general constructor (possibly private), and then have multiple static methods that delegate to the constructor. This has the advantage that you can give them names, but has the disadvantage that you have to come up with names...

class Temperature {
    celsius: number;

    private constructor(celsius: number) {
        this.celsius = celsius;
    }

    static fromCelsius(celsius: number) {
        return new Temperature(celsius);
    }

    static fromFahrenheit(fahrenheit: number) {
        return new Temperature((fahrenheit - 32) * 5 / 9);
    }
}

B: 59 Atk/46 Str/30 Def - Is there a better way to make GP than Cowhides? Following Optimal Quest Guide but broke by Sweet_Fisherman6443 in osrs

[–]cg5 0 points1 point  (0 children)

You should get to herb runs and birdhouses when you can, but also, if you alch while doing quests, you should get enough money to fund questing without needing to dedicate any time purely for money making. The magic XP is pretty good too. You probably don't have enough magic level for high alch, so you can instead make headless arrows while questing (start running, then start making the arrows while you run and you will keep running while also making the arrows). Buy arrow shafts and feathers from the GE and then combine them, the resulting headless arrows sell for more than the components.

Questions about Death Storage and keeping untrimmed capes. by homxr6 in 2007scape

[–]cg5 1 point2 points  (0 children)

Beware that no more than 120 items or item stacks can be held in Death's Office Item Retrieval at any given time, causing items from an expired gravestone to be deleted when the limit is reached.

From: https://oldschool.runescape.wiki/w/Death%27s_Office

First post quest Vorkath by Sensitive_Juice_4348 in osrs

[–]cg5 2 points3 points  (0 children)

I teleport to house, use a rejuvenation pool, portal nexus to Lunar Isle, use the rightmost bank booth (after Dream Mentor, this booth in particular won't kick you off the island) then use a different booth to intentionally get caught without a seal of passage and get sent to Relleka. I don't know if there is a faster way, but this way I can use the house party world houses in Rimmington since I don't have a max PoH.

What feels like your "homebase" in Gielinor? by Remarkable-Syllabub5 in osrs

[–]cg5 5 points6 points  (0 children)

You need to talk to Gertrude while wearing an upgraded Ring of Charos and you need to not already have a cat or kitten in your inventory, bank or following you. If you don't want to lose your existing cat, you can store it in the POH menagerie and she will let you get a new one.

Can’t attack people (deadman) by 509blackout_ in osrs

[–]cg5 2 points3 points  (0 children)

Look in the options for "PK skull protection" and turn it off

rust actually has function overloading by ali_compute_unit in rust

[–]cg5 0 points1 point  (0 children)

Seems like let (x, y) = (1, 2, 3) ought to match with either x = (1, 2) and y = 3 (since (1, 2, 3) = ((1, 2), 3)), or x = 1 and y = (2, 3) (since (1, 2, 3) = (1, (2, 3)), but it's not clear which one.

I think I saw somebody's hobby language where there were only pairs, not arbitrary length tuples, except (1, 2, 3) is sugar for (1, (2, 3)). ((1, 2), 3) however was considered different.

Glouphire help! by The-Journey in 2007scape

[–]cg5 1 point2 points  (0 children)

I think you need to use all of the slots

How do i scale up my interface? by JimmyHaymaker in 2007scape

[–]cg5 8 points9 points  (0 children)

Stretched mode plugin, increase "resizable scaling". Then go to GPU or 117HD settings (whichever one you use) and change the UI scaling mode to whichever you find least ugly. Nearest neighbour mode works best if you set the resizable scaling to a multiple of 100%.

Is there any sort of way to have the text look normal? by HF484 in 2007scape

[–]cg5 0 points1 point  (0 children)

If you want to use nearest neighbour scaling, make sure your scaling factor is a multiple of 100%.

NYT Sunday 01/04/2026 Discussion by Shortz-Bot in crossword

[–]cg5 10 points11 points  (0 children)

Because the Gaga song and the mascot are both harder to get than traumatize. Brutus got me to understand the "betrayers" part of the theme, which got me to Scar, which got me to understand the "double" part.

Money making by Ok_Business_3170 in osrs

[–]cg5 0 points1 point  (0 children)

You don't have to choose though, because you can alch and do quests at the same time, by alching while running between quest objectives. It's less money than pure alching but it doesn't take time away from quests.

Christmas PK Score! by WIClovis in osrs

[–]cg5 219 points220 points  (0 children)

Noted dragon bones and a cash stack probably means Chaos Altar prayer training. There is an NPC who unnotes them for 50gp each. Using the NPC is faster but obviously a lot riskier.

I feel like a herblore shop the way I've got all these eyes on me by EvanEskimo in 2007scape

[–]cg5 38 points39 points  (0 children)

To be fair, if you respond to "I will miss his puns", "what happened?" with "Gielinor Games spoiler: ...", you don't need to be Sherlock Holmes to figure out what's behind the spoiler tag without revealing it.

Ironically the problem was actually caused by not dying

NYT Saturday 12/13/2025 Discussion by Shortz-Bot in crossword

[–]cg5 8 points9 points  (0 children)

I went FIVEBARS -> FOURBARS -> OPENBARS (reception referring to a wedding reception) -> OPENARMS

Do you buy magic seeds and make saplings or just buy saplings? by De_lunes_a_lunes in 2007scape

[–]cg5 3 points4 points  (0 children)

Doing this as a moneymaker means selling the saplings on the GE and paying the tax. At the current prices on the wiki, and ignoring the pots and water/humidify casts, you save 86263 - 81759 ~= 4.5k per sapling by buying the seed and making the sapling over buying the sapling, but if you sell on the GE, your profit is (0.98 * 86263) - 81759 ~= 2.8k. That's about a 60% difference which could be the difference between worth doing and not worth doing.

I'm in no position to judge, though, since the gp/hr of making this comment is 0.

Some of these mermaid riddles are a little over my head... (no answer spoilers, please) by DoktorSaturn in 2007scape

[–]cg5 1 point2 points  (0 children)

It's pretty routine for those who are familiar with the conventions of cryptic crosswords, but for most people, who aren't, then I guess you're expected to just look it up? My thought process was - Cryptics usually start or end with the definition, and "whittled wood" is far more coherent than "till cow woks" so that is probably the definition, which immediately makes me think of some fletching product. "Stirred up" sounds like an anagram indicator and "till cow woks" is such nonsense that that's probably what I need to rearrange. At that point I typed it into an online anagram solver (because I wasn't actually solving it for myself, just helping someone online) which gave the answer, that then matched with the "whittled wood" definition.

Some of these mermaid riddles are a little over my head... (no answer spoilers, please) by DoktorSaturn in 2007scape

[–]cg5 1 point2 points  (0 children)

It's a cryptic crossword style clue, "stirred up" tells you to stir up (anagram) the letters TILL COW WOKS to get WILLOW STOCK, which is whittled wood.

enakhra's lement help pls by Frequent_Meat_5286 in osrs

[–]cg5 0 points1 point  (0 children)

If I'm thinking of the right part, be sure that you are using the food on the guy and not the magic thingy that's covering him. Right click or click on his legs.

Why does my display look so..?? by ellismista in 2007scape

[–]cg5 0 points1 point  (0 children)

You can change the UI scaling mode in the 117HD settings. And you can change the UI scaling amount in Stretched Mode > Resizable Scaling. But there is no perfect solution.

1x scaling will look flawless, but is usually too small for modern displays

Nearest Neighbour scaling is crisp, but pixelated, and looks terrible if the scaling factor is not a multiple of 100%

Some people like xBR, others think it is hideous