@Tw_timerAlder@lfg_uk god if only there was a way we could generate electricity without burning fuels
it'd be crazy if peak production happened to overlap with cooling demand too
@KDc0m3h0m3@ncwromqntics i think the problem is more that there's fuck all ventilation in most houses here
one warm day means my house is >25C for the rest of the week
@f4micom i did this with a cardboard box and a bunch of tape and it helps dramatically!
still not very good at cooling but much better
gotta also make sure the window is sealed pretty well too
@joshmanders i feel like while there is definitely some onus on package managers to have sensible defaults, NPM should be held far more responsible for preventing these. if security companies can detect malware in packages within minutes, NPM should be able to do it on upload
@vanilagy guess it depends on the use case, still better than having to handle an exception either way
perhaps not applicable here but i think truthy/falsy checks are nicer, allows for optional chaining/nullish coalescing too
`console.log(data.response ?? error.message)`
@vanilagy if you type the return object as a union of `{ data: SomeType, error: undefined } | { data: undefined, error: ErrorTypes }` then you can do `if (!data)` or `if (error)`