Discuss Scratch

-LekkerGames-
Scratcher
67 posts

Days since 2000 should be changed

Ah, the most useless block on Scratch.
(days since 2000)
But what if it wasn't useless?
(days since MM( ) / DD( ) / YYYY ( )::sensing)
I know that was a dupe, but it's getting better soon.
We can do more with different dates, for example:
(days between MM( ) / DD( ) / YYYY ( ) and MM( ) / DD( ) / YYYY ( )::sensing)
(date project created::sensing)
(date project shared::sensing)
(date user's account created::sensing)
P.S. Last block will report “ ” like username block if user if signed out
Za-Chary
Scratcher
1000+ posts

Days since 2000 should be changed

I don't think @fdreerf would be happy to discover this thread.

As for the last three blocks, what are some examples of projects you think you would make with those blocks?
MDCCCLXVII
Scratcher
1000+ posts

Days since 2000 should be changed

Blocks 1 and 2 are duplicates, but I'm lazy to link it here.

Blocks 3, 4 and 5: Why would you need these, and how would they be used?
Morimop
Scratcher
1000+ posts

Days since 2000 should be changed

Duplicate for first block (?)

Za-Chary wrote:

I don't think @fdreerf would be happy to discover this thread.
why tho
zahmbie1
Scratcher
1000+ posts

Days since 2000 should be changed

Morimop wrote:

Za-Chary wrote:

I don't think @fdreerf would be happy to discover this thread.
why tho
fdreerf loves the days since 2000 block
portalpower
Scratcher
1000+ posts

Days since 2000 should be changed

zahmbie1 wrote:

Morimop wrote:

Za-Chary wrote:

I don't think @fdreerf would be happy to discover this thread.
why tho
fdreerf loves the days since 2000 block
and he doesn't ant it to change

no support, the most useless block is something like this
(loudness)
<color [#a29ac4] is touching [#0d19bd] ?>
(distance to [ v])
it's useful for really accurate countdowns since the
(current [day v])
block only measures up to second while the days since 2000 block goes don to the millisecond and if you want a countdown that counts down to a time and not just a day it would just be simpler to just use days since 2000

edit: I just realized this is definitely a dupe

Last edited by portalpower (Jan. 3, 2021 16:53:45)

dertermenter
Scratcher
1000+ posts

Days since 2000 should be changed

portalpower wrote:

zahmbie1 wrote:

Morimop wrote:

Za-Chary wrote:

I don't think @fdreerf would be happy to discover this thread.
why tho
fdreerf loves the days since 2000 block
and he doesn't ant it to change

no support, the most useless block is something like this
(loudness)
<color [#a29ac4] is touching [#0d19bd] ?>
(distance to [ v])
it's useful for really accurate countdowns since the
(current [day v])
block only measures up to second while the days since 2000 block goes don to the millisecond and if you want a countdown that counts down to a time and not just a day it would just be simpler to just use days since 2000

edit: I just realized this is definitely a dupe
<color [#7b9ef0] is touching [#2254f1] ?>
I like this block, as it is specific. I think it is useful.

On the actual topic, the last 3 blocks are useless, but the rest are dulps anyway.


No offence but the
(days since 2000)
Is useless, i will like it to be changed to something better.
ScratchCatHELLO
Scratcher
1000+ posts

Days since 2000 should be changed

oh no
you've summoned fdreerf


Anyway, the first two blocks you recommended have fairly simple workarounds, and the last three aren't super useful. Can you create an interesting or useful script with the last 3 blocks?
portalpower
Scratcher
1000+ posts

Days since 2000 should be changed

ScratchCatHELLO wrote:

oh no
you've summoned fdreerf

don't worry, he exploded[/offtopic]

no support, these wouldn't improve days since 2000 at all and it would just make it more complicated
-ShadowOfTheFuture-
Scratcher
1000+ posts

Days since 2000 should be changed

dertermenter wrote:

No offence but the
(days since 2000)
This is objectively false

One of my projects would be impossible without it
dertermenter
Scratcher
1000+ posts

Days since 2000 should be changed

-ShadowOfTheFuture- wrote:

dertermenter wrote:

No offence but the
(days since 2000)
This is objectively false

One of my projects would be impossible without it
Well it would be better if it was replaced with this block:

(days since MM( ) / DD( ) / YYYY ( )::sensing)




PS can you plz link ur project that this block saved you?
-ShadowOfTheFuture-
Scratcher
1000+ posts

Days since 2000 should be changed

dertermenter wrote:

PS can you plz link ur project that this block saved you?
This pen clock I made. I wanted the hands of the clock to move smoothly around the clock face (like in a physical clock), which relies on knowing the exact time down to a fraction of a second. For example, in the space of half a second, the second hand would move half the distance between two notches.

current time only gives you integer values, which for my purposes wouldn't work, since it would result in the hands “skipping” across the clock, pausing at one spot for a second/minute/hour before abruptly jumping to the next (I actually made an earlier pen clock with this behavior). To achieve the sort of smooth motion I wanted, I had to use days since 2000, which gives me a decimal value accurate down to the millisecond.

There may be a workaround for it that I'm not aware of, but I doubt that it would work as well or as smoothly, and even if it did, I would much prefer to use days since 2000 rather than go through all the trouble.
the2000
Scratcher
1000+ posts

Days since 2000 should be changed

Days since 2000 is almost literally the opposite of useless. What can't it do is a better question. I have no idea why so many people seem to think, "oh, it outputs a large number: it's literally useless

TL;DR edit: ”Useless" is a strong word

Last edited by the2000 (Jan. 3, 2021 18:34:31)

ninjaMAR
Scratcher
1000+ posts

Days since 2000 should be changed

Days since 2000 is not useless. Many people use it for timers
ssvbxx
Scratcher
100+ posts

Days since 2000 should be changed

How about having it as an input for a specific year, like this:
days since []:: #2CA5E2 reporter
the2000
Scratcher
1000+ posts

Days since 2000 should be changed

ssvbxx wrote:

How about having it as an input for a specific year, like this:
days since []:: #2CA5E2 reporter
I like this idea more, but I still don't know. Is using the math blocks really that difficult? (By the way, you should probably use a number input there.)
fdreerf
Scratcher
1000+ posts

Days since 2000 should be changed

Click here to experience my feelings on this suggestion!

the2000 wrote:

ssvbxx wrote:

How about having it as an input for a specific year, like this:
days since []:: #2CA5E2 reporter
Is using the math blocks really that difficult?
No, it's not. It's really simple:
((days since 2000) - (((year ::grey) - (2000)) * (365.25))

Last edited by fdreerf (Jan. 3, 2021 20:20:37)

the2000
Scratcher
1000+ posts

Days since 2000 should be changed

fdreerf wrote:

the2000 wrote:

Is using the math blocks really that difficult?
No, it's not. It's really simple:
((days since 2000) - (((year ::grey) - (2000)) * (365.25))
Thanks I was too lazy to give an example lol

Also uh oh
Greg8128
Scratcher
500+ posts

Days since 2000 should be changed

Unironically this is the best time sensing block in Scratch, although “milliseconds since 1970” would be slightly preferable imo
ninjaMAR
Scratcher
1000+ posts

Days since 2000 should be changed

Greg8128 wrote:

Unironically this is the best time sensing block in Scratch, although “milliseconds since 1970” would be slightly preferable imo
i agree

Last edited by ninjaMAR (Jan. 4, 2021 02:33:05)

Powered by DjangoBB