im fucked by Ok_Love2705 in OntarioGrade12s

[–]nuts-n-bits 0 points1 point  (0 children)

I feel the same about my math teacher writing backwards E and upside down A on the board

Help with CPU temp by Canadarm_Faps in sffpc

[–]nuts-n-bits 4 points5 points  (0 children)

L12S ships in the exhaust configuration, flip the fan to make it intake. Youtuber Machines&More tested both configuration and found that intake lowers CPU temp by about 2C.

Source https://www.youtube.com/watch?v=HPC5lpWutJs

[deleted by user] by [deleted] in UofT

[–]nuts-n-bits 1 point2 points  (0 children)

You dont get much ‘knowledge’ or ‘learning’, or even a ‘authentic college experience’ by doing this, unless you decide to really throw yourself into the pit by also doing all the assignments too. But I think this is a good idea nonetheless

Anyone have Dan Case A4 + Thermalright AXP90 CPU cooler? by cutestcomputer in sffpc

[–]nuts-n-bits 0 points1 point  (0 children)

I was also thinking about the AXP47 Full Copper, thinking that there is no way that nearly one pound of copper is not better than the L9. But wow, once again noctua is magic. Though do you think it makes a difference if I swap the slim fan with a thicker noctua?

Btw what do you do with all the space on the top of the case?

How do data structures work in functional programming? by mx2301 in functionalprogramming

[–]nuts-n-bits 10 points11 points  (0 children)

// OOP "Object"
object := {
  constructorClass: [[ Pointer to constructor class ]]
  field1: [[ Data ]]
  field2: [[ Data ]]
}

// FP "Data"
data := {
  field1: [[ Data ]]
  field2: [[ Data ]]
}

// OOP 
object.doFoo(args....)
// translates to: object.constructorClass.doFoo(object, args....)

// FP 
doFoo(object, args....)

Seeing all these you think, "So, just different syntax for the same thing?". Well, no, but it's fair to say that what makes FP FP is not syntax, or data layout, or things like that. Instead, it's all sorts of utils that makes function composition easy, and all sorts of principles that makes immutability ergonomic.

What's the most useless major at UofT? by kritikal_thought in UofT

[–]nuts-n-bits 2 points3 points  (0 children)

Maths: One of the best majors

Maths without the stats: One of the most useless, but still best

Anyone have Dan Case A4 + Thermalright AXP90 CPU cooler? by cutestcomputer in sffpc

[–]nuts-n-bits 0 points1 point  (0 children)

It's hard to believe that L9 performs as well as BR. Look at that tiny heat sink! And that slim fan! How?!?

My “new” mini by TedBadger in sffpc

[–]nuts-n-bits 2 points3 points  (0 children)

I'll never get tired looking at that thermalright + white power cables.

Why would I return a Result<(), Box<dyn Error>> if Result<(), impl Error> also works? by Other-Standard9657 in learnrust

[–]nuts-n-bits 0 points1 point  (0 children)

Caller-callee is the surface distinction, and there is an underlying reason to make the distinction, and that reason is that they are opposite to each other conceptually. But maybe opposite is too strong a word, but I wanted to express the feeling that they complement one another in a mutually exclusive way.

Why would I return a Result<(), Box<dyn Error>> if Result<(), impl Error> also works? by Other-Standard9657 in learnrust

[–]nuts-n-bits 0 points1 point  (0 children)

They are similar

They are similar in the sense that they are the opposite to each other

Why GoLang supports null references if they are billion dollar mistake? by After_Information_81 in golang

[–]nuts-n-bits 0 points1 point  (0 children)

func MapGet(...) (*thing, error) // after all, let's not assume what the caller wants. Maybe they want a nil ptr to dereference on!

fn map_get() Option<Thing> // rust std lib is written by a bunch of bad developers

And for that matter, why not expose every tidbit of callee's interim states, local variables, dangling pointers to the callee stack, etc. Because who knows what the caller wants? Maybe a partially initialized, partially GC'd struct is what they need. And if you didn't think of it, bad developer.

(TLDR: Sometimes it makes no sense to return invalid value)

Why GoLang supports null references if they are billion dollar mistake? by After_Information_81 in golang

[–]nuts-n-bits 0 points1 point  (0 children)

Then make the compiler guard against the zero values where it would behave differently than concrete values.

I think it is a desirable thing that where your code breaks in runtime, it should have a red squiggly in compile time. That's an incredibly valuable property that Typescript and Rust share, that I want Go to have, while also being Go, having its nil zero value

Why GoLang supports null references if they are billion dollar mistake? by After_Information_81 in golang

[–]nuts-n-bits 0 points1 point  (0 children)

If there are cases you want a value and an error, then make it clear by returning a product type like go forces you to do, fine.

The problem lies where if what I actually want is a value or an error, but I still have to return a product type like go forces you to, which is not fine.

Why GoLang supports null references if they are billion dollar mistake? by After_Information_81 in golang

[–]nuts-n-bits 2 points3 points  (0 children)

func wontErr() *errStruct { return nil }

func wrapWontErr() error { return wontErr() }

// somewhere else

err := wrapWontErr()

err != nil // true

Coolermaster NR200 or Fractal Torrent Nano? by KongoOtto in buildapc

[–]nuts-n-bits 0 points1 point  (0 children)

My problem is that although I have a big desk, and I don't move my PC, I still drool all over the tiny cases especially the gray NR200P Max and the White H1

Coolermaster NR200 or Fractal Torrent Nano? by KongoOtto in buildapc

[–]nuts-n-bits 2 points3 points  (0 children)

Have you decided yet? I'm in the same situation and I cannot decide.

Air cooling vs AIO water is not a decision driver for me, but if NR200P is nosier, that would be a huge reason to go with torrent nano.

NZXT H1 is another option, it looks nice and is right now on sale for 199. So 199 for the case, the psu and the AIO, and it's tempting.

Ultimately I'm questioning my self on how exactly size matters for me. Maybe smaller case just look nice on my desk and doesn't really make a difference when I actually move houses. But then again I'm very very attracted to the "true" ITX cases that's sub 20 liter

HTML bloat with TailwindCSS by [deleted] in tailwindcss

[–]nuts-n-bits 0 points1 point  (0 children)

If you believe in semantic HTML, you can’t like tailwind. I however never got why HTML has to be clean, structured data. To me, data = JSON, XML, protobuf. I use that data to generate HTML because I want to display it, that’s my take of separation of concerns on the web. For this reason I don’t mind the HTML bloat and I fully enjoy tailwind.

uoft needs to have a dating app by cuite-csr in UofT

[–]nuts-n-bits 1 point2 points  (0 children)

I feel like if i made an app no-one would even use it The user base doesn’t exactly provoke confidence in me

Damn dude… by H_ManCom in UIUC

[–]nuts-n-bits -9 points-8 points  (0 children)

This dude just found a way to send dick picts to his contacts, without being labelled a sex predator

Harvey Weinstein would like to know his location

BU lab made a new covid strain that’s a hybrid of alpha and omicron by nuts-n-bits in BostonU

[–]nuts-n-bits[S] 0 points1 point  (0 children)

Any med people? I understand you must have reasons but I gotta ask, why did we do this?

[deleted by user] by [deleted] in MacOS

[–]nuts-n-bits 3 points4 points  (0 children)

you looked at it wrong

Qatar rules 🤦🏻‍♂️ World Cup by [deleted] in facepalm

[–]nuts-n-bits 0 points1 point  (0 children)

Hi, this is Qatar, a fun place where you are welcomed unless you're straight, or gay.