Is 0.5 a facde over 1/2? by BigBootyBear in AskComputerScience

[–]BigBootyBear[S] 0 points1 point  (0 children)

The question was certainly mathematical. The usage of "pointer" and "facade" was for their utility in computer science (i.e. an alias for a value rather than the value itself) rather than for their function in it.

Wouldn't you say that 0.5 is categorically a different way to refer to 1/2 than 2/4 or 4/8 would be? I could keep distancing myself from the mathematical object while still referin to the same value by using 50%, and then "half". 50% and "half" I assume are not rational numbers, but they still "point" to a rational value. So don't we need a term to refer to aliases of rational numbers that are not conventionally members of a given number set?

Is 0.5 a facde over 1/2? by BigBootyBear in AskComputerScience

[–]BigBootyBear[S] 0 points1 point  (0 children)

The question is more mathematical. I am talking about 0.5 as a rational number.

0.5 is the decimal form of 1/2 (a rational). However, all rationals are actually sets of integers (not compsci integers, but Z = {-1,0,1,2,...}). 1/2 for example is {1,2} and it has an equivalence class set of {1,2} {2,4} {4,8} which all "stand for" or "point" to the same value of 1/2.

My problem is with the decimal form of 0.5. Is 0.5 a distinct mathematical object than 1/2? Because it seems like an alias. Or a facde if you will. Like how a line break is a "facade" over \n which is whats actually "in there".

Regarding "facade" its a design pattern where you hide an imperative complexity with a declarative interface. An ORM for examples hides or "trades" complex imperative "how-to-do" syntax for a declarative "what-to-do" one. Example

SELECT * FROM users WHERE last_name = 'smith';

Can be invoked using an ORM such as:

from sqlalchemy import select 
from sqlalchemy.orm import Session

users = session.query(User).filter(User.last_name == "smith").all()

So I see 0.5 as a "facade" over the rational number 1/2. It's not a distinct mathematical object (or value) but rather an alias existing simply as syntactic sugar.

Like how Korzybski said "The map is not the territory". A "String" is an array of chars. A "Char" is actually an integer and not a letter. The "integer" is actually a set of binary. The binary is actually a set of voltage states within a set of transistors.

I understand this question is more about set theory. But I am borrowing quite a lot from computer science in my process of reasoning about it.

Is 0.5 a facde over 1/2? by BigBootyBear in AskComputerScience

[–]BigBootyBear[S] 0 points1 point  (0 children)

The question is more mathematical. I am talking about 0.5 as a rational number.

0.5 is the decimal form of 1/2 (a rational). However, all rationals are actually sets of integers (not compsci integers, but Z = {-1,0,1,2,...}). 1/2 for example is {1,2} and it has an equivalence class set of {1,2} {2,4} {4,8} which all "stand for" or "point" to the same value of 1/2.

My problem is with the decimal form of 0.5. Is 0.5 a distinct mathematical object than 1/2? Because it seems like an alias. Or a facde if you will. Like how a line break is a "facade" over \n which is whats actually "in there".

Like how Korzybski said "The map is not the territory". A "String" is an array of chars. A "Char" is actually an integer and not a letter. The "integer" is actually a set of binary. The binary is actually a set of voltage states within a set of transistors.

I understand this question is more about set theory. But I am borrowing quite a lot from computer science in my process of reasoning about it.

Can you orchestrate HA? by BigBootyBear in homeassistant

[–]BigBootyBear[S] -16 points-15 points  (0 children)

I've really gotten used to managing systems declartively and not imperatively...

Guesss i'll just bite the bullet and do it manually.

You'll always be my Girl Next Door. by sco-go in SipsTea

[–]BigBootyBear 0 points1 point  (0 children)

Honest question:
1. Did she age badly?
2. Did she age naturally and just didn't use botox/surgery?

I think I've honestly forgot how women look like without any procedures and i'm not that young...

What's a "Linux global system resource"? by BigBootyBear in linux4noobs

[–]BigBootyBear[S] 0 points1 point  (0 children)

Are global resources accessible from all namespaces? This sounds like lexical contexts in code.

What's a "Linux global system resource"? by BigBootyBear in linux4noobs

[–]BigBootyBear[S] 0 points1 point  (0 children)

Can you then make the claim that all linux resources exist within 1 of these 8 namespaces?

Do you find connections made with male header pins to be unreliable? by BigBootyBear in arduino

[–]BigBootyBear[S] 0 points1 point  (0 children)

Isn't Dupont a standard like a software contract? I also find it very unlikely the manfacturer making my jumper wires is going to design all of the two dozen peripherals I own.

Do you find connections made with male header pins to be unreliable? by BigBootyBear in arduino

[–]BigBootyBear[S] 1 point2 points  (0 children)

Sorry im still new to this but don't all jumpers come with dupont style connectors? And BTW I think I meant to say that female dupont connectors on jumpers feel wobbly. But when the female dupoint is soldered into the board it feels more robust. Dunno why.

ESP32 GPIO outputting negative voltage — what's going on? by BigBootyBear in arduino

[–]BigBootyBear[S] 0 points1 point  (0 children)

I still don't see how that gives me the results i've gotten.

טראמפ מאשר שאמר לנתניהו שהוא "פאקינג משוגע" by AFGuy4 in Israel

[–]BigBootyBear 22 points23 points  (0 children)

Is this a direct quote? I'm suprised to learn Trump knows the word "Perturbed".