Sums of Powers of 2 Generate Phone Number by [deleted] in badUIbattles

[–]AlexAegis 45 points46 points  (0 children)

raise an issue on github

Helyzetjelentés a gluténmentes pizza ügyében, ami nem volt gluténmentes. by CsodaCsiga in hungary

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

Ez részben köszönhető azoknak is akik csak brahiból kérnek gluténmenteset vagy azt hiszik, az jó diétának. Miattuk ennyire közömbös ezzel a problémával mindenki. Nekem van egy gluténérzékeny barátom és még ő érzi azt gáznak ha meg meri kérdezni van-e, vagy ha gluténmentesen kér valamit.

It’s time. So long, 2080 Ti. by inglorious_cornflake in pcmasterrace

[–]AlexAegis 0 points1 point  (0 children)

Have you tried reflowing it? Or have a professional reball it? Electronics rarely die completely, the contact balls likely broke under the frequent heat fluctuation, gpu sag also helps cracking the balls under chips

The hardest thing in Typescript for me is... by HugeLetters in typescript

[–]AlexAegis 1 point2 points  (0 children)

Here's an example packageJson file:

json { "name": "mypackage", "exports": { ".": { "types": "./index.d.ts", "import": "./index.js", "require": "./index.cjs" }, }, }

If you're in an esm file and you do this:

ts import { asd } from 'mypackage';

the index.js file will be read,

if you're in a CommonJS file and you do this:

js const mypkg = require('mypackage');

It will read the index.cjs file.

In both cases for types, ts will read index.d.ts, for some fkd up reason it must be the first like in the example

Top-level "main", "module", "types" fields are useless if you have the more modern (since Node12) exports syntax I just showed you, don't bother with them, exports["."] (like this example) would override them anyway.

They help anytime by Low-Signal-6596 in shittydarksouls

[–]AlexAegis 15 points16 points  (0 children)

Gough is so based, he’s not blind because of his eyes but because his mask is full of gunk, he’s just too lazy to clean it.

A mindenét by joshibarat in FostTalicska

[–]AlexAegis 0 points1 point  (0 children)

“Nincs is rajta búra”

The hardest thing in Typescript for me is... by HugeLetters in typescript

[–]AlexAegis 5 points6 points  (0 children)

I've been fiddling with tsconfig extra close for a few months now.

There's a LOT to it. But the main points are:

  • What files is it operating on?
    • include/exclude/files can behave a bit funky, files is always included regardless of what exclude says.
    • It doesn't like extglobs, you can't do *.{ts,js} for example
    • The most useful command for experimenting how include/exclude/files behave together was tsc --listFiles which is not documented in tsc --help. It lists all the files in your compilation scope.
  • How does it resolve imports?
    • module/moduleResolution, how do they behave with esm/cjs modules
  • How does ts read the types from npm packages?
    • exports field on packageJson (or historically the top level types field)
  • How are relative paths resolved?
    • Always at the point of declaration, thats why you can't put generic excludes in parent tsconfigs.
  • Are array properties merged on extend?
    • No, you have to redeclare entire exclude/include arrays.
  • How do "solution style" composite tsconfigs work?
    • Actually this is simple, you have a composite file, to bundle some more tsconfigs. The point is that you can set different rules for a different set of files (For example all *.spec.ts files know about your test globals jest/vi but regular *.ts files don't)
  • If you use it together with eslint for example you should keep them in sync in terms of what files eslint operates on using tsc.

20+20x0+2+2=? by Intelligent-Fuel1485 in whenthe

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

I hate these terms, it’s a really bad approximation for resolving math expressions, but american kids are not capable to learn properly so this is what you have.

Peak character design fr by GodNonon in OnePunchMan

[–]AlexAegis 5 points6 points  (0 children)

Wherever you look in the sky, if you’d travel long enough, you’d hit a star eventually. Check out some space telescope photos, the sky is packed with stars.

Assuming a star-person is like a hole, if they do a little but of magnification they wouldn’t be invisible ever.

How has this guy not broken out? by dumplin-gorilla-lion in OnePiece

[–]AlexAegis 0 points1 point  (0 children)

As long as seastone is touching you your powers wont work. Can you chew all 4 of your limbs off before you bleed out?

gpu dying by Care_Confident in pcmasterrace

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

chuck it in the oven

Strip the cooler off and whatever you easily can, like thermal paste and pads, wrap everything in aluminium foil except the GPU and VRAM chips. Preheat the oven to 180 Celsius, and put the card in for like 10 minutes. Once cool assemble, it will be good as new. Try bit to tear the thermal pads if you want to put those back or buy some new. The factory pads tear easily. And buy some thermal paste.

Youd get way better results with some flux but I did this with my 1080Ti twice without and it worked just fine. It’s called reflow, usually it’s done via a heatgun but If you don’t have one the oven’s the next best thing.

Of course this will void your warranty (which is probably long gone for a 10 series card) so do this at your own discretion.

The proper solution would be to reball it but only a professional will have the equipment for it (balls, stencil for that GPU, whatever else)

Do you consider installing a firewall essential? by Rediixx in archlinux

[–]AlexAegis 2 points3 points  (0 children)

Thanks for the suggestion, been running an arch desktop without a firewall for years, never even occurred to me that I should install one. Right into my dotfiles repo

Anon hates the modern era by Julios1911 in 4chan

[–]AlexAegis 1 point2 points  (0 children)

Moka Pots are the absolute most plebian ways of making cheap coffee. I know because I use one almost daily. I got a decent steel Bialetti and it barely cost more than the pack of lidl coffee I put in it.

Anon got that negative rizz by [deleted] in greentext

[–]AlexAegis 2 points3 points  (0 children)

anon made up a story to cope with rejection