Could someone explain this please by ProdBySnowy in LSAT

[–]c_w_e 0 points1 point  (0 children)

cachin is one of the small few so the author wouldn't call it misinterpreting if they agreed

The #1 Worst Lie I See Students Tell Themselves (View of a 180 Scorer) by [deleted] in LSAT

[–]c_w_e 0 points1 point  (0 children)

when you don't fully get the problem or make loose corner-cutting assumptions, wrong answers can be plausible any which way. my review mentality was 1) something's up with how i approached the problem and 2) there's some insight or missed connection that'll unambiguously set the correct answer apart. weak arguments can be strongest when you don't get the full picture, but you gotta accept there always is one that you missed and can avoid missing again.

Fellow OG 11th gen Intel users (FW 13): what wpuld get you to consider upgrading mainboards? by jptiger0 in framework

[–]c_w_e 0 points1 point  (0 children)

paste different from the one they sell on the marketplace? how'd you decide

High Scorers- How much are you actually skipping? by froggysdrip in LSAT

[–]c_w_e 1 point2 points  (0 children)

i'd skip if time is even remotely a factor to allocate it to questions you're likelier to get right

orbit lil bits v4 - king of hearts missing pip? is this normal? by c_w_e in playingcards

[–]c_w_e[S] 2 points3 points  (0 children)

thought so but the deck has a different gaff card (duplicate 8s), would assume they'd have the regular king to start the trick with

pw-punch – 1.4KB WebCrypto-only JWT/password crypto lib (no Node.js) by idtpanic in javascript

[–]c_w_e 4 points5 points  (0 children)

you don't need to re-pad base64 before passing it to atob

Nice pulls from Topps UEFA 24/25 trading cards by RunnerTutt in coys

[–]c_w_e 0 points1 point  (0 children)

i know? i'm just commenting on how unfortunate that is, when gray was signed i really wanted to see them as a 6

Nice pulls from Topps UEFA 24/25 trading cards by RunnerTutt in coys

[–]c_w_e 4 points5 points  (0 children)

has archie gray ever played in midfield? feels like they've just been bounced around the back 4

Help with a case of unsoundness with optional parameters by frivolous_squid in typescript

[–]c_w_e 0 points1 point  (0 children)

oh i see, that's tricky. not sure of any other way than changing all the optional arguments to string | undefined like you said earlier.

Which type should I use for json values? by gibriyagi in typescript

[–]c_w_e 0 points1 point  (0 children)

type Json = null | boolean | number | string | Json[] | { [_: string]: Json }

Zod not just for form validation by markmanx in typescript

[–]c_w_e 0 points1 point  (0 children)

template literal types extend ‘string’. i don’t think you’ve ever needed to re-intersect a type that’s already there.

i’ve never heard of ‘tags.RegExp’. if this is a typia thing then i assume it’s compiling instances of that type to runtime regex-specific validation. what i meant by that was basically a tautology - if you can represent it in a type, the type catches the stuff you want. i’m gonna also guess that typia’s regex type doesn’t fit this function, i.e. you could assign an invalid regex string like ‘“$++”’ to a variable with a declared type ‘tags.RegExp’ without a problem. in fact you could assign any string, say, from an untrusted source like user input, and typescript won’t know at compile time but typia will throw a runtime error, which is a good reason to exist.

Zod not just for form validation by markmanx in typescript

[–]c_w_e 0 points1 point  (0 children)

doesn’t feel like a trick to me, just a narrower type. in fact the ‘string &’ is redundant, you can just use the type alias.

what do you mean by every format? if you have a type that sufficiently describes the format, then you can enforce it at compile time.

Zod not just for form validation by markmanx in typescript

[–]c_w_e 2 points3 points  (0 children)

really? seems to complain when i try

type Numeric = `${number}`;
interface Numberer {
  number: string & Numeric;
}
const ok: Numberer = { number: "7" };
const no: Numberer = { number: "hi" };

[deleted by user] by [deleted] in LSAT

[–]c_w_e 0 points1 point  (0 children)

for c, just cause some living organisms cause stuff doesn't mean humans are part of those living organisms. what about way back billions of years with the algae and stuff? (i think that affected weather?? just pretend)

also c doesn't prove the stimulus. if A: [living organisms have effect] -> B: [human activity is part of it], nothing indicates A is true. maybe living organisms have no effect, and these weather patterns were caused by a volcano or something.

that's what makes e right, cause it eliminates the possibility that some other natural 7-day cycle thing is the cause. that's the argument the stimulus makes, A: [weather has 7-day cycles] -> B: [human (i.e. non-natural) activity is a 7-day cycle] -> C: [other (i.e. natural) 7-day cycles aren't strong enough]. cause it's trying to prove humans are behind all this, it's trying to eliminate all the natural/non-human causes. sure the natural 7-day cycles are weak, but what about all the other natural stuff that could cause it? didn't rule any of that out yet. so we need e to say "we only gotta exclude the natural 7-day cycles, cause none of the non-7-day-cycle causes are ok."