Discuss Scratch

mrbobbygreathead
Scratcher
1000+ posts

"Almost"

Jonathan50 wrote:

Alberknyis wrote:

*sigh* If you're pressing the key, but you're almost not pressing it, then it returns true. Is it really that hard?
Most PCs can't detect that sort of thing.
Keys are a little tile of plastic on top of a rubber dome. If the rubber dome is touching the metal part at the bottom, it connects a circuit. Keys cannot be detected halfway up.
asivi
Scratcher
1000+ posts

"Almost"

Yanderan wrote:

Here is my newest (for now) idea:
<almost <>::operators>
I would like a reply saying
Nice idea! Support!
<almost <(i support) = [true]>::operators>
NoxSpooth
Scratcher
1000+ posts

"Almost"

Alberknyis wrote:

*sigh* If you're pressing the key, but you're almost not pressing it, then it returns true. Is it really that hard?
A key press is a key press. You can't say it's only a half.

Anyway, I don't believe keyboards can detect key sensitivity, so I doubt this block would work.

Last edited by NoxSpooth (Aug. 20, 2016 11:30:49)

Sigton
Scratcher
1000+ posts

"Almost"

NoxSpooth wrote:

A key press is a key press. You can't say it's only a half.

Anyway, I don't believe keyboards can detect key sensitivity, so I doubt this block would work.
Mechanical keyboards especially.

Sigton
liam48D
Scratcher
1000+ posts

"Almost"

All the meanings are super obvious so I support.

That was sarcasm.

One degree of truthfulness – what's that mean? I mean theoretically it makes sense but what's actually a degree of truthfulness?

You'd need a new type, “sort-of booleans”, that is a boolean attached to a truthfulness value, which would mean reimplementing all the blocks to have this truthfulness value, and it's all kind of unobvious..
Yanderan
Scratcher
100+ posts

"Almost"

liam48D wrote:

All the meanings are super obvious so I support.

That was sarcasm.

One degree of truthfulness – what's that mean? I mean theoretically it makes sense but what's actually a degree of truthfulness?

You'd need a new type, “sort-of booleans”, that is a boolean attached to a truthfulness value, which would mean reimplementing all the blocks to have this truthfulness value, and it's all kind of unobvious..
*humph* I'm changing the subject.
Yanderan
Scratcher
100+ posts

"Almost"

asivi wrote:

Yanderan wrote:

Here is my newest (for now) idea:
<almost <>::operators>
I would like a reply saying
Nice idea! Support!
<almost <(i support) = [true]>::operators>
LOL
Sigton
Scratcher
1000+ posts

"Almost"

liam48D wrote:

All the meanings are super obvious so I support.

That was sarcasm.

One degree of truthfulness – what's that mean? I mean theoretically it makes sense but what's actually a degree of truthfulness?

You'd need a new type, “sort-of booleans”, that is a boolean attached to a truthfulness value, which would mean reimplementing all the blocks to have this truthfulness value, and it's all kind of unobvious..
So, a new data type, that is measured in “truths”?

Sigton
Yanderan
Scratcher
100+ posts

"Almost"

Sigton wrote:

liam48D wrote:

All the meanings are super obvious so I support.

That was sarcasm.

One degree of truthfulness – what's that mean? I mean theoretically it makes sense but what's actually a degree of truthfulness?

You'd need a new type, “sort-of booleans”, that is a boolean attached to a truthfulness value, which would mean reimplementing all the blocks to have this truthfulness value, and it's all kind of unobvious..
So, a new data type, that is measured in “truths”?

Sigton
Or ejhwhfvjfghr, dvhjrjuhvgfre, rhjfghrege, or even yhregureyhgfue4hgi
dude341
Scratcher
1000+ posts

"Almost"

Yanderan wrote:

Here is my newest (for now) idea:
<almost touching color [#758606] ?::sensing>
Semi-support. People have different definitions of “almost”.
mrbobbygreathead
Scratcher
1000+ posts

"Almost"

NoxSpooth wrote:

Anyway, I don't believe keyboards can detect key sensitivity, so I doubt this block would work.

mrbobbygreathead wrote:

Keys are a little tile of plastic on top of a rubber dome. If the rubber dome is touching the metal part at the bottom, it connects a circuit. Keys cannot be detected halfway up.

mrbobbygreathead
Scratcher
1000+ posts

"Almost"

Yanderan wrote:

Or ejhwhfvjfghr, dvhjrjuhvgfre, rhjfghrege, or even yhregureyhgfue4hgi
Er…
Yanderan
Scratcher
100+ posts

"Almost"

mrbobbygreathead wrote:

Yanderan wrote:

Or ejhwhfvjfghr, dvhjrjuhvgfre, rhjfghrege, or even yhregureyhgfue4hgi
Er…
Exactly.
mrbobbygreathead
Scratcher
1000+ posts

"Almost"

Yanderan wrote:

mrbobbygreathead wrote:

Yanderan wrote:

Or ejhwhfvjfghr, dvhjrjuhvgfre, rhjfghrege, or even yhregureyhgfue4hgi
Er…
Exactly.
What were you actually trying to say?
Yanderan
Scratcher
100+ posts

"Almost"

mrbobbygreathead wrote:

Yanderan wrote:

mrbobbygreathead wrote:

Yanderan wrote:

Or ejhwhfvjfghr, dvhjrjuhvgfre, rhjfghrege, or even yhregureyhgfue4hgi
Er…
Exactly.
What were you actually trying to say?
None of those “measurements” make sense.
mrbobbygreathead
Scratcher
1000+ posts

"Almost"

Yanderan wrote:

mrbobbygreathead wrote:

Yanderan wrote:

mrbobbygreathead wrote:

Yanderan wrote:

Or ejhwhfvjfghr, dvhjrjuhvgfre, rhjfghrege, or even yhregureyhgfue4hgi
Er…
Exactly.
What were you actually trying to say?
None of those “measurements” make sense.
Nor, in a way, does ‘almost’ - the concept is highly abstract and not quantifiable.

Last edited by mrbobbygreathead (Aug. 20, 2016 13:04:53)

Ziggy741
Scratcher
1000+ posts

"Almost"

Ziggy741 wrote:

Wait, what would it exactly do? Would it report true for this?
almost <((1) + (0.9)) = [2]> :: boolean operators
Hello?
alexphan
Scratcher
1000+ posts

"Almost"

Ziggy741 wrote:

Ziggy741 wrote:

Wait, what would it exactly do? Would it report true for this?
almost <((1) + (0.9)) = [2]> :: boolean operators
Hello?
The OP changed the suggestion to
almost touching color [#123456]? :: sensing boolean
mrbobbygreathead
Scratcher
1000+ posts

"Almost"

Workaround:
change size by (10)
if <touching color [#309917] ?> then

end
change size by (-10)

Anyway, the question about almost is “by how much?”

Last edited by mrbobbygreathead (Aug. 20, 2016 14:30:16)

Ziggy741
Scratcher
1000+ posts

"Almost"

alexphan wrote:

Ziggy741 wrote:

Ziggy741 wrote:

Wait, what would it exactly do? Would it report true for this?
almost <((1) + (0.9)) = [2]> :: boolean operators
Hello?
The OP changed the suggestion to
almost touching color [#123456]? :: sensing boolean
Okay.

Powered by DjangoBB