Discuss Scratch

bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

jokebookservice1 wrote:

world.foo *is* world[“foo”] (the spec calls them equivalent to each other, I believe), bar the latter allowing special characters which you don't use. Are you sure that was the issue?
Yeah that's what I thought, too, but apparently world.foo is problematic if that field didn't exist when you entered the current scope, or something like that. But, I tried lots of changes, and so, no, I'm not 100% sure.

Edit: You know, when MIT stopped teaching SICP, Gerry Sussman said he's in favor of the change, because these days what programmers mostly have to know isn't first principles, but rather, how to investigate someone else's software as a black box engineering problem: You put signals (by analogy: impulses, sine waves) into it, and see how it reacts, and from this you induce its general behavior. I hated hearing him say that – I think CS students will need SICP 1000 years from now – but that's definitely how I approach Javascript.

Last edited by bharvey (Dec. 23, 2018 04:22:16)


bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

Announcing the official beta test of the Snap! Forum:
forum.snap.berkeley.edu

Your Snap! cloud account is also your forum account. If you're logged into Snap!, you're automatically logged into the forum. (Right, Michael?)

Beta means that we're not promising not to pull the plug, redesign, and start over. Therefore, we're not closing these Scratch forum threads. But y'all are welcome to join in. Feel free to make suggestions about texts (e.g. the FAQ, which is currently the Discourse default FAQ) as well as the technology.

My theory is that, because our target user community is somewhat older than on Scratch, the Snap! forum can be run at PG-13 rather than G: the occasional four-letter word, if not used as an epithet for another user, won't bother us. (If you think your parents might not let you use a forum with that policy, tell us so.) We'll come down hard on bullying, though.

Last edited by bharvey (Dec. 23, 2018 10:03:42)


djdolphin
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

How are Snap! Cloud and forum accounts linked? Before, when there were separate login systems, I signed up on the forum as djdolphin using a different email than on the Snap! Cloud. Now that they're linked, I tried signing into the forum via the Snap! Cloud, and I was given a new forum account, djdolphin1. I can't access my first forum account at all…

If they're linked by email, would it be possible to change the email associated with my Snap! Cloud account (djdolphin) to the one associated with my first forum account (djdolphin), and get rid of djdolphin1?

Last edited by djdolphin (Dec. 23, 2018 19:33:16)


!
PullJosh
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

djdolphin wrote:

I was given a new forum account, djdolphin1
Props to whoever remembered to handle this edge case, anyway.
bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

djdolphin wrote:

If they're linked by email, would it be possible to change the email associated with my Snap! Cloud account (djdolphin) to the one associated with my first forum account (djdolphin), and get rid of djdolphin1?
I don't know how to change your cloud email, so instead I copied the djdolphin1 email to djdolphin. Won't that work?

djdolphin
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

bharvey wrote:

Won't that work?
Potentially. I'd prefer to ditch the email I signed up for the Snap! Cloud with altogether, but it's not strictly necessary.

I tried logging in again, and I'm still djdolphin1 on the forum. So I logged into the email associated with my Snap! Cloud, and I had this email:


I tried the password reset link, but that just gave me an internal server error.

I changed the email associated with djdolphin1 on the forum, so djdolphin can be set to use the rocketmail.com address now. However, I can still log into djdolphin1 on the forum with no problem even though the email address no longer matches my Snap! Cloud, so that leads me to believe the accounts probably aren't linked strictly by email.

From what I gather from the Snap! Cloud source code and Google results for Discourse SSO, Snap! Cloud accounts are associated with forum accounts by an external ID given by the Snap! Cloud. If the forum can't find an account associated with the external ID, it will look for an account associated with the Snap! Cloud email or create a new account, and then associate that account with the external ID.

It sounds like Discourse admins have the ability to delete accounts. So maybe if you deleted djdolphin1 and changed the email associated with djdolphin to the rocketmail.com one again, that would work? Theoretically, since there wouldn't be a forum account associated with my external ID anymore, the forum would look for an account associated with my email address, find djdolphin, and link the correct accounts.

Sorry for being an edge case.

Last edited by djdolphin (Dec. 24, 2018 03:03:24)


!
bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

See if it works now. It should have sent you an email.

djdolphin
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

bharvey wrote:

See if it works now. It should have sent you an email.
Nope, it just created a new djdolphin1. Maybe deleting both djdolphin and djdolphin1 would work?

Worst comes to worst, I can just use my djsrv alias.

!
bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

djdolphin wrote:

Worst comes to worst, I can just use my djsrv alias.
Nah, tomorrow when Michael wakes up he'll fix it. :)

I think I fixed it! I copied your icon to djd1, deleted djd, temporarily turned off “sso overrides username,” changed djd1's name to djd, then restored “sso overrides username.” It required all those steps because djd1 had a “single sign-on” section in its profile, and djd didn't, and I don't think there's a way to add one manually.

The moral is that we need to make this sort of thing easier for users to resolve themselves.

Last edited by bharvey (Dec. 24, 2018 09:35:24)


djdolphin
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

bharvey wrote:

I think I fixed it!
That worked. Thank you!

bharvey wrote:

The moral is that we need to make this sort of thing easier for users to resolve themselves.
Hopefully it shouldn't be a problem in the first place for most users.

!
blob8108
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

djdolphin wrote:

Hopefully it shouldn't be a problem in the first place for most users.
Yeah, this should only affect the very few of us who were around super-early.

tosh · slowly becoming a grown-up adult and very confused about it
bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

blob8108 wrote:

Yeah, this should only affect the very few of us who were around super-early.
Ah, is that why you have more than one account? Should we try to consolidate them, now that I know how?

blob8108
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

bharvey wrote:

blob8108 wrote:

Yeah, this should only affect the very few of us who were around super-early.
Ah, is that why you have more than one account? Should we try to consolidate them, now that I know how?
Yeah, that's the reason. Sure, if it's not too much trouble!

tosh · slowly becoming a grown-up adult and very confused about it
bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

blob8108 wrote:

Sure, if it's not too much trouble!
Let me know which email you want to use. (I think your username has to agree with your cloud username.)

bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

Any Discourse wizards here? I'm accumulating a list of things I want to change in the software already (mostly about allowing more control over things like the About page).

cycomachead
Scratcher
100+ posts

Snap! Team development discussion, vol. 2

oh blob should have his 2nd account be an admin it. I messed up and didn't approve the forum link soon enough, but I think it's working now.

Eventually, we will sync Snap! admin/moderator users and forum status, but that hasn't been build yet.

djdolphin wrote:

How are Snap! Cloud and forum accounts linked? Before, when there were separate login systems, I signed up on the forum as djdolphin using a different email than on the Snap! Cloud. Now that they're linked, I tried signing into the forum via the Snap! Cloud, and I was given a new forum account, djdolphin1. I can't access my first forum account at all…

If they're linked by email, would it be possible to change the email associated with my Snap! Cloud account (djdolphin) to the one associated with my first forum account (djdolphin), and get rid of djdolphin1?

yeah, aside from the steps bh did, accounts are linked by email, but only the early beta users should run into this case.

Also, a few things:
* we will be letting Snap<em>!</em> users change their own emails soon(ish).
* I have a script which lets me merge two discourse users, so we can at least preserve the history with the new usernames

I will try to merge blob's two accounts to see how this works. Let's hope he doesn't disappear!
cycomachead
Scratcher
100+ posts

Snap! Team development discussion, vol. 2

Also for anyone implementing a site - the Cmd-Enter / Control-Enter shortcut for submitting a text box or primary form action is SO useful, and fortunately, discourse does this right.
cycomachead
Scratcher
100+ posts

Snap! Team development discussion, vol. 2

cycomachead wrote:

I will try to merge blob's two accounts to see how this works. Let's hope he doesn't disappear!

So…this script does not quite seem to work right. I asked for help in their forum..we'll see what happens.

bharvey
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

cycomachead wrote:

I will try to merge blob's two accounts to see how this works.
Thanks!

Any other users with problem accounts?

Hardmath123
Scratcher
1000+ posts

Snap! Team development discussion, vol. 2

bharvey wrote:

You put signals (by analogy: impulses, sine waves) into it, and see how it reacts, and from this you induce its general behavior

^^ Sussman succinctly describes the algorithm I use to interface with other people

Powered by DjangoBB