This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#7026 2013-02-21 00:09:50

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

having a "split string [She sells sea shells] at word [s]" will solve a lot of problems.

So, wait, would that return the list ["he ", "ell", " ", "ea ", "hell"]?

set rotation style to []

Ugh, there are a million attributes like that.  What we want is the BYOB 3.1 ATTRIBUTE block.  And maybe a SET ATTRIBUTE block, although I still really love the use of thunking (lambdafication without inputs) to make things you can pass into the regular SET block.  But I might have to give that up; I think users didn't get it.

Last edited by bharvey (2013-02-21 00:13:04)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7027 2013-02-21 05:06:40

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

having a "split string [She sells sea shells] at word [s]" will solve a lot of problems.

So, wait, would that return the list ["he ", "ell", " ", "ea ", "hell"]?

You forgot an empty string at the end, but yeah. Maybe it could be case-sensitive.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7028 2013-02-21 05:34:38

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

blob8108 wrote:

Hardmath123 wrote:

Ok, I caused two crashes so far (losing all my work!  sad ), due to displaying extremely large list structures.

You didn't accidentally make them circular, did you?  tongue

Ah, that could be—does that cause an issue, Jens?

IANJ, as Brian would say; but it certainly used to cause Snap! to crash. I still have that patch somewhere that fixes that bug... the UI was still only half finished, though  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7029 2013-02-21 07:42:34

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

But I might have to give that up; I think users didn't get it.

I got it, and I'm a user!  wink


nXIII

Offline

 

#7030 2013-02-21 10:27:34

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

You forgot an empty string at the end, but yeah.

Nope, intentional.  There are no empty words, by definition.  (Again, this is the right thing for natural language.)  Is that a problem for you?

Maybe it could be case-sensitive.

Grrr.  I don't love you any more.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7031 2013-02-21 10:28:57

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

I got it, and I'm a user!  wink

n, you are so not a user!  You're the antithesis of a user.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7032 2013-02-21 10:31:47

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Okay, gang, an important survey:  Is there anyone besides shadow who wants a different user name on the Snap! site?  We are thinking of allowing only Scratchers (password-validated) to sign up in the beta period.  We can special-case one person, but if half of you want different names we'll have to rethink how we work it.  (Yeah, we could have two separate fields, one for Scratch name and one for Snap! name, but I'd rather avoid that confusion if possible.)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7033 2013-02-21 13:15:41

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Is there anyone besides shadow who wants a different user name on the Snap! site?

I was thinking of snagging plain "blob" for convenience; but keeping "blob8108" would have a nice consistency. And if everyone else changed their names, my brain would get confused storing all the Scratch-to-Snap-username mappings...


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7034 2013-02-21 13:35:56

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

@bharvey I'd love to snag 'techno' since it's kinda the short form of my username. I'd be fine with 'technoboy' if that's easier for you.  smile

EDIT: Whoa, just noticed that the Snap! site has Snap! on top instead of BYOB 3.1!

Last edited by technoboy10 (2013-02-21 14:06:22)


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#7035 2013-02-21 14:28:03

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

EDIT: Whoa, just noticed that the Snap! site has Snap! on top instead of BYOB 3.1!

Yeah, the site is a work-in-progress and will probably change in appearance over the next few days.  But, we're getting ready for beta!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7036 2013-02-21 15:52:16

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Okay, gang, an important survey:  Is there anyone besides shadow who wants a different user name on the Snap! site?  We are thinking of allowing only Scratchers (password-validated) to sign up in the beta period.  We can special-case one person, but if half of you want different names we'll have to rethink how we work it.  (Yeah, we could have two separate fields, one for Scratch name and one for Snap! name, but I'd rather avoid that confusion if possible.)

I would love the username _, but I'm not sure that's going to happen. I'd settle for $. Or really any other single non-alphanumeric symbol. Or n. Or q.

bharvey wrote:

nXIII wrote:

I got it, and I'm a user!  wink

n, you are so not a user!  You're the antithesis of a user.

I use Snap!.  tongue


nXIII

Offline

 

#7037 2013-02-21 15:59:28

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

bharvey wrote:

Okay, gang, an important survey:  Is there anyone besides shadow who wants a different user name on the Snap! site?  We are thinking of allowing only Scratchers (password-validated) to sign up in the beta period.  We can special-case one person, but if half of you want different names we'll have to rethink how we work it.  (Yeah, we could have two separate fields, one for Scratch name and one for Snap! name, but I'd rather avoid that confusion if possible.)

I would love the username _, but I'm not sure that's going to happen. I'd settle for $. Or really any other single non-alphanumeric symbol. Or n. Or q.

bharvey wrote:

nXIII wrote:

I got it, and I'm a user!  wink

n, you are so not a user!  You're the antithesis of a user.

I use Snap!.  tongue

cool, you're a CM on the main site now  smile

I don't think there would really be a problem with only allowing scratch accounts. It's only for the beta anyway...


http://i.imgur.com/1QqnHxQ.png

Offline

 

#7038 2013-02-21 17:50:06

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

TRocket wrote:

I don't think there would really be a problem with only allowing scratch accounts. It's only for the beta anyway...

Yeah, it's not much of a sacrifice.  tongue


nXIII

Offline

 

#7039 2013-02-21 19:57:50

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

I'm totally fine with Hardmath123.

bharvey wrote:

Hardmath123 wrote:

You forgot an empty string at the end, but yeah.

Nope, intentional.  There are no empty words, by definition.  (Again, this is the right thing for natural language.)  Is that a problem for you?

Well, then how do I know that the sentence ended with S?

Maybe it could be case-sensitive.

Grrr.  I don't love you any more.

… *sniff*

eDiT: nO sNaPiN8Or fOr YoU! :p

Last edited by Hardmath123 (2013-02-21 20:08:54)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7040 2013-02-21 21:05:10

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

:p

Nice touch.


nXIII

Offline

 

#7041 2013-02-21 21:18:21

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

I would love the username _, but I'm not sure that's going to happen. I'd settle for $. Or really any other single non-alphanumeric symbol. Or n. Or q.

If anyone deserves a one-character login it's you.  If we talk Jens into short logins I'll make sure we reserve whichever of those fits with the software!

I use Snap!.  tongue

Yeah, so does Jens, even.  That doesn't make you a user.  Users are, you know, the quarter-million Scratchers who don't hang out here.  smile

Hardmath123 wrote:

:p

Nice touch.

Yeah, +1.  Although I might not have noticed without that comment, since some contexts want hyphens in their smilies and others don't, and anyway I grew up back in the days of ASCII, and so I'm quite accustomed to seeing sideways smilies! :-)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7042 2013-02-21 21:26:16

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Well, then how do I know that the sentence ended with S?

Maybe you do want a separate block after all.  The point about sentences, real sentences as spoken by real people, is that they don't have empty words in them.       Extra         spaces       are     just        ignored.  Using something other than space as a delimiter probably means that it's not the parsing of natural language text that interests you, so maybe you do want empty words.

Actually, many of the Unix utilities that deal with delimited text treat space as a special case, in just this way.  But I bet that'd be the straw that breaks Jens's back as far as allowing this block to be a primitive.  smile

(EDIT:  I decided this paragraph wasn't clear.  I mean, if you use space as the delimiter, they parse my way, and if you use some nonspace character as the delimiter, they parse your way.)

P.S.  Sorry, I still haven't gotten over the turkeys who hijacked the latest revision of the Scheme standard deciding to make identifiers case-sensitive.  I'm in the habit of writing homework solutions that use capitals to indicate a point where I'm changing a piece of code.  sad

Last edited by bharvey (2013-02-21 22:54:32)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7043 2013-02-21 22:15:25

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

nXIII wrote:

I would love the username _, but I'm not sure that's going to happen. I'd settle for $. Or really any other single non-alphanumeric symbol. Or n. Or q.

If anyone deserves a one-character login it's you.  If we talk Jens into short logins I'll make sure we reserve whichever of those fits with the software!

Aw…thanks  big_smile


nXIII

Offline

 

#7044 2013-02-21 22:58:49

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

@New forums: Don't forget OS Wars.

I didn't realize this until now -- I'm not a social media person -- but I think you meant "#New forums."  tongue


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7045 2013-02-22 01:17:20

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

TRocket wrote:

It's only for the beta anyway...

Well, except, people aren't going to want to lose the stuff they store on their accounts during beta after the official release!  So you should probably get the name you want first time around.

EDIT:  Maybe I'm (as usual) overengineering all this.  Maybe we shouldn't build anything special into the account-generation software for Scratchers, but instead just announce it here a week or two before we announce it anywhere else and hope for the best.

Last edited by bharvey (2013-02-22 01:21:17)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#7046 2013-02-22 05:21:56

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

IMO, go with scratch accounts.

What about cookies based cloud storage? You store an id in the cookie, and delete projects if the user didn't use Snap! for a month or so. Of course you should limit the storage capacity a little more  wink

Last edited by roijac (2013-02-22 05:23:37)

Offline

 

#7047 2013-02-22 07:43:47

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

roijac wrote:

What about cookies based cloud storage? You store an id in the cookie, and delete projects if the user didn't use Snap! for a month or so. Of course you should limit the storage capacity a little more  wink

Ew, cookies.


nXIII

Offline

 

#7048 2013-02-22 08:48:37

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

@Jens project /10057011 would work beautifully had you implemented my mosaic patch…  hmm


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7049 2013-02-22 08:58:37

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

snapin8r 0.1 Release
You can now download snapin8r 0.1 from Google Docs. A couple of things to note:
- Since nXIII and bharvey both use Macs, I've included a little bash script to simplify life. All you need to run from the command line is:

Code:

cd /path/to/snapin8r/folder
./snapin8r <args>

You may have to "Ok" a dialog that asks you whether you want an executable to run. If you have perms issues, run

Code:

cd /path/to/snapin8r/folder
chmod +x *

This should also work with Linux, though it's untested.

- If you have Windows, you will need to run it from the command line like this:

Code:

python /path/to/snapin8r/folder/snpain8r.pyc <args>

(note the .pyc, not .py)
Again, it's untested, so please let me know if you have issues.

- I have only distributed the compiled forms right now, because the code is still under heavy tweaking and I'd rather show you all the finished product. Regardless, I'm sure by looking at the method overviews and stuff you guys will figure out what it looks like.

- There is very little documentation. Run snapin8r -help for my best attempt. In the future I want to bundle this with a simple HTML page with instructions.

- It's seriously bad at reporting errors. If you get an error, it's probably going to be more useful to post the error and project you were converting for me to look over, because I haven't added any reasonable error messages yet.

- Enjoy!

Last edited by Hardmath123 (2013-02-22 09:00:35)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7050 2013-02-22 09:54:59

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

I have only distributed the compiled forms right now

Why you no give source -_-  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

Board footer