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

#6801 2013-02-08 09:09:02

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

project notes, creator name, and other junk like that

Oh, they don't include the notes in the download file anymore...  hmm


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

Offline

 

#6802 2013-02-08 09:33:33

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Also, has Jens started on the server yet, and if so, is it in Python? I'd suggest in the end using Google App Engine to get the final release at snap.edu or something.

Why use Python when there's Node.js? Python has hacky WebSockets, but they don't match the greatness of tools like Socket.io. And I imagine at some point WebSockets will play a role in Snap!

Offline

 

#6803 2013-02-08 09:38:15

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Wow, this work on porting Scratch projects to Snap is *really* exciting!

I've just put cloning and fast-tracking (similar to turbo mode) into Snap. Cloning is still extremely experimental, and, as Brian pointed out, not what's going to be the real thing. But you can do some nice tricks with it, nowhere near Scratch's aweseome particle systems, though (but projects like my musical "Round" project are very much possible and working). This should let you play with converting most of Scratch's features in projects to Snap now (with some glaring exceptions, especially text in costumes and the missing OF block).

In the meantime I'll be finishing up on the backend side... (Relax, it's our own, but it'll be an open, documented API)

I'll sign off for the weekend now, have a nice one!


Jens Mönig

Offline

 

#6804 2013-02-08 11:12:30

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

Re: BYOB 3 - Discussion Thread

xly wrote:

But one may regret that Byob OOP does not expose the traditionnal CLASS instruction as used by Java,JS and others.

(sigh)  First, you're wrong about Javascript, which does not have classes!  It is a prototyping OOP system, like ours.  Interesting that you make that mistake.

Second, you want a Circle class?  Make a circle sprite and HIDE it.  Done.

Scratch cloning, which everyone loves, is a prototyping OOP system!  It's an inadequate one because it doesn't support message passing to individual sprites, and the clone, once created, shares no information with its parent.  (And they're temporary, which is good for some purposes but not others.)  But kids just dive into it and start making projects, which is why Hardmath and Jens are so enthusiastic about it.

Now just imagine for a moment that they replaced the Scratch clone system with something completely identical except that you couldn't actually see or explore the behavior of your original sprite while programming it!  That would be a class/instance system, and it would be the death of cloning as a feature for kids.

You're just wrong about this.  Like all Java programmers, your mind has been poisoned on this question.  Just trust me.


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

Offline

 

#6805 2013-02-08 11:46:00

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

The best way would be for you to be able to type the project's URL under "open…" (open>Scratch 2.0 project>[dialog box]). You would send the URL to a Python server running my converter, and I would return the XML from a GET request. Happy?

I guess.  Especially if I can pick up another tab in my browser and drag it into the dialog.  smile

But what I really want is for you to scrape my Scratch 2.0 user page for project names and list them in the Open dialog, and let me click on a project name same as I can for a project name on my disk!

(I admit, I'm old fashioned; on my disk is where I want my projects to live altogether.  This whole cloud business is just an invitation for advertisers and the NSA to scrape things like birthdates off kids' projects.)


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

Offline

 

#6806 2013-02-08 11:51:20

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

@bharvey "Like all Java programmers, your mind has been poisoned on this question."
Sorry Brian , but I've never written a line of Java or JS in my life. As I've underlined it, I'm just a layman.
I'm referring to Processing, a language based upon Java, largely used by Visual designers and artists. See : http://www.openprocessing.org/browse/

Offline

 

#6807 2013-02-08 11:53:55

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Wow, this work on porting Scratch projects to Snap is *really* exciting!

I've just put cloning and fast-tracking (similar to turbo mode) into Snap. Cloning is still extremely experimental, and, as Brian pointed out, not what's going to be the real thing. But you can do some nice tricks with it, nowhere near Scratch's aweseome particle systems, though (but projects like my musical "Round" project are very much possible and working). This should let you play with converting most of Scratch's features in projects to Snap now (with some glaring exceptions, especially text in costumes and the missing OF block).

In the meantime I'll be finishing up on the backend side... (Relax, it's our own, but it'll be an open, documented API)

I'll sign off for the weekend now, have a nice one!

Cool, I'm almost done myself—I'll just fix the custom blocks and iron out a few glitches, and I'll try have a nice little module by Monday.  smile

P.S. I've successfully converted a clone-based recursive project!  big_smile


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

Offline

 

#6808 2013-02-08 12:22:33

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

Re: BYOB 3 - Discussion Thread

xly wrote:

Sorry Brian , but I've never written a line of Java or JS in my life. As I've underlined it, I'm just a layman.
I'm referring to Processing, a language based upon Java, largely used by Visual designers and artists. See : http://www.openprocessing.org/browse/

Okay, your mind has been poisoned by a language based upon Java.   tongue

(EDIT:  I know, I'm being annoying, but as I've said before, it's not through any personal merit of mine that I've been illuminated on this issue; I just had the good luck to hang out with Henry Lieberman in my youth.)

Last edited by bharvey (2013-02-08 12:31:07)


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

Offline

 

#6809 2013-02-08 12:26:11

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

P.S. I've successfully converted a clone-based recursive project!  big_smile

Neat!

It's both exciting and frustrating to be out here at the tail of the 90/10 rule!  We've been almost-ready for months now...  But soon we'll be taking over the world.  smile


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

Offline

 

#6810 2013-02-08 20:46:27

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

Re: BYOB 3 - Discussion Thread

Code:

http://snap.berkeley.edu/snapsource/snap.html#open:%3Cproject%20name%3D%22abc%22%20app%3D%22Scratch%202.0%20%2B%20snapin8r%2C%20http%3A//scratch.mit.edu%22%20version%3D%221%22%3E%0A%20%20%20%3Cnotes%3EGenerated%20by%20snapin8r%20by%20Hardmath123.%0A%20%20%20Some%20Scratch%202.0-specific%20features%20may%20be%20missing%2C%20like%20cloud%20data.%3C/notes%3E%0A%20%20%20%3Cthumbnail%3E%3C/thumbnail%3E%0A%20%20%20%3Cstage%20name%3D%22Stage%22%20costume%3D%221%22%20tempo%3D%2260%22%20pentrails%3D%22%22%20threadsafe%3D%22false%22%3E%0A%20%20%20%20%20%20%3Cblocks/%3E%0A%20%20%20%20%20%20%3Cscripts/%3E%0A%20%20%20%20%20%20%3Cvariables/%3E%0A%20%20%20%20%20%20%3Ccostumes%3E%0A%20%20%20%20%20%20%20%20%20%3Clist%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Citem%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccostume%20name%3D%22backdrop1%22%20center-x%3D%22240%22%20center-y%3D%22180%22%20image%3D%22data%3Aimage/svg%2Bxml%2C%253Csvg%2520width%253D%2522480%2522%2520height%253D%2522360%2522%250A%2520%2520xmlns%253D%2522http%253A//www.w3.org/2000/svg%2522%2520version%253D%25221.1%2522%250A%2520%2520xmlns%253Axlink%253D%2522http%253A//www.w3.org/1999/xlink%2522%253E%250A%2509%253Crect%2520x%253D%25220%2522%2520y%253D%25220%2522%2520width%253D%2522480%2522%2520height%253D%2522360%2522%2520fill%253D%2522%2523FFF%2522%2520scratch-type%253D%2522backdrop-fill%2522%253E%2520%253C/rect%253E%250A%253C/svg%253E%250A%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/item%3E%0A%20%20%20%20%20%20%20%20%20%3C/list%3E%0A%20%20%20%20%20%20%3C/costumes%3E%0A%20%20%20%20%20%20%3Csounds%3E%0A%20%20%20%20%20%20%20%20%20%3Clist%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Citem%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csound%20name%3D%22pop%22%20sound%3D%22data%3Aaudio/wav%2CRIFF%2528%2502%2500%2500WAVEfmt%2520%2510%2500%2500%2500%2501%2500%2501%2500%2511%252B%2500%2500%2522V%2500%2500%2502%2500%2510%2500data%2504%2502%2500%2500%25D5%2500%2503%2503%25BD%2507r%250D%25EF%2515S%251D%253C%2523%259B%2524%25E2%2520%25AB%2516s%2506U%25F1_%25DA%2560%25C4%258D%25B3i%25A9%2592%25A8%25E5%25B1G%25C5A%25E1%25F3%2502%25ED%2526%25D1GJa%257Do%2523p%250Aa%25CED%25EA%251D%252A%25F3%250F%25C9j%25A7%25FD%2591%2525%258D%25EE%25989%25B5%25E8%25DD%25E2%250C%259D%253AD%2560pv%25B5y%25A2h%25D8Eg%2517J%25E4l%25B5z%2592%25DE%2581k%2586q%259F%258E%25C8%2521%25FC%25E20%257D%255D%25DFy%25E4%257F7q%25A9M%25B6%251C%25A9%25E7O%25B8%258C%2596%2503%2589i%2591O%25AE%25F5%25D9%255C%250C%2500%253CP_%25EFo%2517iVN%250A%2524q%25F2Y%25C5g%25A3%25B6%2593x%2599%25F8%25B2h%25DA%25A3%2509%258E6kW%2529f%25A2_%25BCF%25F5%251F%25C8%25F2%2503%25CA%25F5%25AD%25CE%25A2%251F%25AB2%25C4%25F1%25EA%25C0%2514%25AB9%2528Q%25F1V4IN%252B%2503%2504%252C%25DB%25BE%25BA%25EC%25A8%250E%25A9%25D1%25BC%258C%25DD%25BC%2506%253C.%2580K%2514Y%2527R%255D9%25AC%2513%251C%25EAq%25C5%25AD%25AD%2529%25A7%25BA%25B3%251B%25D0%25B0%25F6%25A5%251Ez%253F%25C8Q%25CAQk%253F%257D%251F%25E7%25F9%25D3%25D6%2581%25BE%251F%25B6U%25BE%25AC%25D5%25BC%25F5%252A%2518%25823%25F5A%2584%2540%252C/%250C%2513W%25F2%259F%25D5%25B3%25C3%25F5%25BFt%25CB%259C%25E3z%2502z%2520%25896%2586%253F%25D28%253A%2524%25C3%2506%2592%25E7%251B%25CE%2586%25BF%2508%25C0%2515%25CFQ%25E9k%2508%257E%2525%2520%253A%2508A%25B58%2596%2523S%2506/%25E8V%25CF%252A%25C2%25EA%25C2Z%25D1%2505%25EAI%2507%2594%2522%25D75%25D0%253C%25EC5J%2523Z%2509G%25EE%251B%25D8w%25CB%250D%25CBf%25D6o%25EA%25B1%2502%2592%25193%252Ax0%25AA%252B%253C%251D%25F4%2508d%25F3%25BF%25E1%25B8%25D7%25F6%25D6%25AC%25DF%2510%25EF%25CD%2501%2529%2513%255C%251F%25A8%2523H%251F%25AB%2513%25AF%2503R%25F3p%25E6%25BA%25DF%25DB%25E03%25E9%25CC%25F6%2524%2506%25DB%2513%25F2%251CJ%251F%2584%251A%25C9%250F%257C%2501%25E4%25F25%25E7%250D%25E1%2586%25E1z%25E8g%25F4%25A1%2502%252C%2510_%251A%2510%251F%258C%251D%255E%2516%253D%250Bt%25FE%25E7%25F2%25CA%25EA%2596%25E7%2584%25E9%25E0%25EF%25F9%25F8%25D4%2502%2508%250BJ%2510%2592%2511%25D9%250E7%2509%2519%2502y%25FB%259D%25F6%2596%25F4%25DD%25F5%25D7%25F9%251F%25FF%258E%2504%2597%2508%2517%250A%258A%2508U%2504a%25FE%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/item%3E%0A%20%20%20%20%20%20%20%20%20%3C/list%3E%0A%20%20%20%20%20%20%3C/sounds%3E%0A%20%20%20%20%20%20%3Csprites%3E%0A%20%20%20%20%20%20%20%20%20%3Csprite%20name%3D%22Scratch%20Cat%22%20costume%3D%221%22%20x%3D%223%22%20y%3D%2262%22%20heading%3D%2290%22%20scale%3D%221%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cblocks/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cscripts%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cscript%20x%3D%2210%22%20y%3D%2210%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22receiveGo%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22hide%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22gotoXY%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cl%3E3%3C/l%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cl%3E-88%3C/l%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/block%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22doRepeat%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cl%3E75%3C/l%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cscript%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22createClone%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22changeYPosition%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cl%3E2%3C/l%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/block%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/script%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/block%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22hide%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/script%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cscript%20x%3D%22193%22%20y%3D%2210%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22receiveOnClone%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22show%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22doForever%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cscript%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cblock%20s%3D%22doFaceTowards%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cl%3E_mouse_%3C/l%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/block%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/script%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/block%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/script%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/scripts%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cvariables/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Ccostumes%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clist%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Citem%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccostume%20name%3D%22costume1%22%20center-x%3D%2247%22%20center-y%3D%2255%22%20image%3D%22data%3Aimage/svg%2Bxml%2C%253Csvg%2520version%253D%25221.1%2522%2520id%253D%2522cat%2522%2520x%253D%25220px%2522%2520y%253D%25220px%2522%2520width%253D%252295px%2522%2520height%253D%2522111px%2522%2520viewBox%253D%25220%25200%252095%2520111%2522%2520enable-background%253D%2522new%25200%25200%252095%2520111%2522%2520xml%253Aspace%253D%2522preserve%2522%2520xmlns%253D%2522http%253A//www.w3.org/2000/svg%2522%2520xmlns%253Axlink%253D%2522http%253A//www.w3.org/1999/xlink%2522%253E%250A%2520%2520%253Cg%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_3%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523000000%2522%2520d%253D%2522M22.462%252C79.039c-2.415-0.451-5.304-1.309-7.742-3.503%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253BC9.268%252C70.629%252C7.526%252C62.535%252C3.672%252C64.622c-3.856%252C2.088-3.782%252C15.165%252C8.353%252C19.194c4.182%252C1.391%252C7.998%252C1.396%252C11.091%252C1.312%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc0.811-0.025%252C7.717-0.654%252C10.079-4.074c2.361-3.42%252C0.719-4.272-0.09-4.744C32.295%252C75.838%252C25.878%252C79.677%252C22.462%252C79.039z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520d%253D%2522M4.236%252C64.877c-1.989%252C0.613-3.075%252C4.998-2.076%252C8.484c0.998%252C3.49%252C2.634%252C5.022%252C3.863%252C6.398%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc1.528%252C1.038-0.72-2.402%252C1.361-4.15c2.075-1.744%252C5.733-0.914%252C5.733-0.914s-2.909-3.987-4.57-6.396%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253BC6.975%252C65.988%252C6.359%252C64.375%252C4.236%252C64.877z%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cg%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520d%253D%2522M38.217%252C86.756c0%252C0-8.832%252C6.2-17.071%252C8.412l0.086%252C0.215c1.247%252C1.824%252C5.87%252C7.497-0.334%252C9.496%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-5.333%252C1.717-15.12-13.104-10.821-15.902c2.626-1.713%252C4.892-0.252%252C4.892-0.252s3.474-1.07%252C6.001-2.345%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc4.303-2.161%252C5.784-3.453%252C5.784-3.453s4.184-4.306%252C6.856-4.137C36.281%252C78.96%252C41.669%252C83.504%252C38.217%252C86.756z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M21.232%252C95.383c1.247%252C1.824%252C5.87%252C7.497-0.334%252C9.496%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-5.333%252C1.717-15.329-13.344-11.03-16.145c2.626-1.713%252C5.101-0.01%252C5.101-0.01s3.474-1.072%252C6.001-2.348%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc4.303-2.161%252C5.784-3.453%252C5.784-3.453%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M38.217%252C86.756c0%252C0-10.123%252C7.107-18.804%252C8.819%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M52.169%252C74.885c0%252C0%252C1.235%252C0.165%252C4.744%252C3.676%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc3.509%252C3.508%252C6.026%252C2.16%252C8.911%252C0.724c2.877-1.443%252C10.537-6.126%252C6.49-9.817c-4.049-3.688-6.207%252C1.146-9.715%252C2.405%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-3.512%252C1.26-5.061-2.487-6.858-4.287c-0.589-0.593-1.188-1.099-1.729-1.505c0%252C0-0.971-0.76-1.906%252C2.79%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253BC51.172%252C72.412%252C50.162%252C73.415%252C52.169%252C74.885z%2522/%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_2_1_%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M46.753%252C82.012c1.188-0.912%252C2.397-2.402%252C3.951-4.713%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc1.296-1.927%252C2.7-5.578%252C2.7-5.578c0.875-2.521%252C1.934-6.576-1.902-7.296c-1.553-0.291-4.079-0.098-7.67-0.776%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-3.593-0.681-6.798-2.522-9.517%252C2.233c-2.718%252C4.757-9.59%252C8.271-1.056%252C16.563c0%252C0%252C4.901%252C3.842%252C10.764%252C9.639%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc4.831%252C4.775%252C12.045%252C10.602%252C12.045%252C10.602s18.972%252C2.188%252C19.535-0.693c1.922-9.79-14.777-6.911-14.777-6.911%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bs-4.605-3.933-6.725-5.794c-3.478-3.059-11.125-10.771-11.125-10.771%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520d%253D%2522M51.253%252C75.434c0%252C0%252C2.47-2.66-2.469-5.317c-4.939-2.657-7.213-0.017-8.739%252C1.521%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-2.644%252C2.655%252C3.443%252C6.611%252C3.443%252C6.611l3.176%252C3.204c0%252C0%252C1.738-1.647%252C2.499-2.979C50.036%252C77.26%252C51.253%252C75.434%252C51.253%252C75.434%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_8%2522/%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M29.926%252C73.218c0.749-0.571%252C2.889-2.202%252C4.854-3.657%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc2.428-1.799%252C6.117-5.849%252C1.077-7.646c-5.04-1.801-7.507%252C1.604-11.519%252C4.946c-2.159%252C1.801-5.308%252C2.699-4.319%252C6.209%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc0.993%252C3.511%252C4.862%252C13.408%252C11.789%252C10.17c6.929-3.239-1.799-9.18-3.06-11.157%2522/%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_2%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M52.709%252C14.156c-1.54-0.143-4.75-0.316-6.518-0.231%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-4.728%252C0.225-9.224%252C1.928-9.224%252C1.928L23.949%252C7.357l2.235%252C18.906c0.646-0.782-10.555%252C12.804-3.479%252C24.224%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc7.08%252C11.426%252C22.233%252C16.518%252C40.988%252C12.792c18.755-3.729%252C23.229-14.531%252C21.986-20.246c-1.242-5.714-8.322-7.823-8.322-7.823%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bs-0.09-4.48-3.328-9.97c-1.926-3.268-8.348-8.041-8.348-8.041L62.822%252C5.647l-7.452%252C7.204L52.709%252C14.156z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520d%253D%2522M76.42%252C35.066l-2.482-2.064l-9.115%252C2.661c0%252C0%252C0%252C3.419-4.367%252C4.367c-4.37%252C0.951-11.211-2.277-11.211-2.277%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253BL41.46%252C41.17c0%252C0-8.437%252C0.928-8.739%252C6.081C32.048%252C58.704%252C46.1%252C63.479%252C51.425%252C63.783c2.905%252C0.167%252C8.235-0.338%252C12.277-1.141%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc17.752-3.234%252C22.551-13.919%252C21.31-19.635c-1.242-5.714-7.978-7.196-7.978-7.196L76.42%252C35.066z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M10.673%252C46.155c0%252C0%252C4.107%252C0.374%252C5.974%252C0.268%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc1.865-0.107%252C5.492-0.587%252C5.492-0.587%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M81.656%252C40.671c0%252C0%252C4.549-0.743%252C6.859-1.549%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc2.715-0.942%252C4.543-2.545%252C4.543-2.545%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M22.337%252C41.909c0%252C0-2.384-1.777-6.117-3.43%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-4.134-1.831-6.405-2.303-6.405-2.303%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M82.117%252C46.622c0%252C0%252C2.726%252C1.104%252C5.533%252C1.385%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc2.77%252C0.276%252C4.646%252C0.11%252C4.646%252C0.11%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523000000%2522%2520stroke-linecap%253D%2522round%2522%2520stroke-miterlimit%253D%252210%2522%2520d%253D%2522M52.35%252C14.212%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc2.84%252C0.7%252C3.887%252C1.469%252C3.887%252C1.469%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cline%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523000000%2522%2520x1%253D%252233.898%2522%2520y1%253D%252213.684%2522%2520x2%253D%252239.956%2522%2520y2%253D%252218.042%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_5%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520stroke%253D%2522%2523231F20%2522%2520d%253D%2522M71.84%252C25.366c2.924%252C4.479%252C3.033%252C9.591%252C0.242%252C11.415%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-2.793%252C1.825-7.426-0.332-10.354-4.813c-2.933-4.48-3.037-9.589-0.244-11.415C64.275%252C18.73%252C68.913%252C20.884%252C71.84%252C25.366z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523231F20%2522%2520d%253D%2522M71.089%252C32.522c0%252C1.08-0.802%252C1.956-1.8%252C1.956c-0.993%252C0-1.803-0.877-1.803-1.956%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc0-1.08%252C0.81-1.958%252C1.803-1.958C70.287%252C30.564%252C71.089%252C31.442%252C71.089%252C32.522%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_7%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520stroke%253D%2522%2523231F20%2522%2520d%253D%2522M47.867%252C28.619c2.926%252C4.48%252C2.619%252C9.862-0.681%252C12.015%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-3.302%252C2.159-8.351%252C0.272-11.276-4.208c-2.928-4.48-2.624-9.86%252C0.678-12.017C39.891%252C22.253%252C44.938%252C24.137%252C47.867%252C28.619z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523231F20%2522%2520d%253D%2522M46.079%252C34.507c0%252C1.081-0.803%252C1.957-1.801%252C1.957c-0.992%252C0-1.803-0.878-1.803-1.957%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc0-1.08%252C0.811-1.957%252C1.803-1.957C45.274%252C32.55%252C46.079%252C33.427%252C46.079%252C34.507%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%25235E4A42%2522%2520stroke%253D%2522%2523000000%2522%2520d%253D%2522M59.766%252C37.926c1.854%252C0%252C4.555-0.284%252C4.697%252C0.569c0.143%252C0.855-1.709%252C4.203-2.988%252C4.345%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-1.283%252C0.142-6.125-2.353-6.195-3.919C55.206%252C37.355%252C58.055%252C37.926%252C59.766%252C37.926z%2522/%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_4%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M46.774%252C45.235c0%252C0%252C10.347%252C3.054%252C14.217%252C3.897%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc3.868%252C0.842%252C10.851%252C1.684%252C10.851%252C1.684s-7.99%252C10.245-17.328%252C7.644C45.176%252C55.863%252C45.345%252C49.975%252C46.774%252C45.235z%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%253C/g%253E%250A%253C/svg%253E%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/item%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Citem%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccostume%20name%3D%22costume2%22%20center-x%3D%2247%22%20center-y%3D%2255%22%20image%3D%22data%3Aimage/svg%2Bxml%2C%253Csvg%2520version%253D%25221.1%2522%2520id%253D%2522cat%2522%2520x%253D%25220px%2522%2520y%253D%25220px%2522%2520width%253D%252295px%2522%2520height%253D%2522111px%2522%2520viewBox%253D%25220%25200%252095%2520111%2522%2520enable-background%253D%2522new%25200%25200%252095%2520111%2522%2520xml%253Aspace%253D%2522preserve%2522%2520xmlns%253D%2522http%253A//www.w3.org/2000/svg%2522%2520xmlns%253Axlink%253D%2522http%253A//www.w3.org/1999/xlink%2522%253E%250A%2520%2520%253Cg%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_8%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M23.754%252C82.506c-2.871-1.402-10.511-2.518-14.771-6.695%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-9.431-9.246-3.824-21.732%252C0.704-21.797c3.611-0.061%252C3.363%252C5.482%252C4.622%252C11.145c0.875%252C3.939%252C1.673%252C6.988%252C6.407%252C9.674%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc4.735%252C2.688%252C6.918%252C2.916%252C6.918%252C2.916s3.258%252C0.791%252C1.596%252C2.562C27.568%252C82.076%252C23.754%252C82.506%252C23.754%252C82.506z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520d%253D%2522M14.291%252C66.369c-0.115-0.459-0.222-0.928-0.33-1.413c-1.172-5.271-0.941-10.432-4.303-10.377%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-3.433%252C0.05-7.53%252C7.771-4.19%252C15.285c0.193-0.143%252C0.399-0.336%252C0.569-0.588c0.451-0.664%252C0.821-2.969%252C2.654-3.688%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253BC9.989%252C65.082%252C12.778%252C65.869%252C14.291%252C66.369z%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M52.543%252C61.473c0%252C0%252C1.455%252C2.342%252C1.519%252C4.969%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc0.065%252C2.723-0.351%252C6.984%252C1.804%252C8.158c3.381%252C1.842%252C9.959-0.463%252C10.174%252C5.191c0.211%252C5.652-10.152%252C3.623-13.299%252C2.547%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-2.695-0.926-4.559-1.758-5.18-5.182c0%252C0-3.764-13.969-0.196-15.59C50.933%252C59.945%252C52.543%252C61.473%252C52.543%252C61.473z%2522/%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M14.61%252C89.584c0%252C0%252C1.504%252C10.391-5.922%252C8.387%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-5.586-1.51-5.705-20.68-0.406-20.691c3.237-0.006%252C4.425%252C2.859%252C4.425%252C2.859s4.385%252C4.812%252C6.95%252C4.312%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc2.565-0.502%252C7.978-6.703%252C7.978-6.703s2.875-2.539%252C6.146%252C0.023c3.271%252C2.561%252C1.521%252C6.178%252C1.521%252C6.178s-6.07%252C7.072-11.014%252C8.072%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-4.945%252C1.002-9.375-2.568-11.58-3.451%2522/%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_6%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M42.435%252C76.238c0%252C0%252C4.866%252C4.062%252C8.166%252C7.52%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc4.384%252C4.592-3.339%252C15.039-3.339%252C15.039s11.234%252C6.467%252C2.998%252C11c-2.657%252C1.467-15.661-13.225-15.661-13.225s7.979-7.475%252C4.972-10.172%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-4.964-4.449-10.771-4.959-11.6-9.824c-0.502-2.957%252C0.613-4.502%252C2.658-7.053c1.354-1.689%252C2.084-3.182%252C2.084-3.182%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bs1.135-7.238%252C4.289-8.254c3.153-1.014%252C8.842%252C0.057%252C10.758%252C0.395c1.914%252C0.338%252C6.645%252C1.877%252C4.617%252C9.922c0%252C0-1.451%252C3.771-2.789%252C5.762%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-1.604%252C2.389-2.854%252C3.924-4.08%252C4.867%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520d%253D%2522M50.182%252C72.631c0%252C0%252C2.55-2.748-2.551-5.494c-5.102-2.746-7.449-0.016-9.024%252C1.572%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-2.731%252C2.742%252C3.334%252C7.453%252C3.334%252C7.453l3.383%252C2.564c0%252C0%252C1.916-1.582%252C2.701-2.957C48.807%252C74.396%252C50.182%252C72.631%252C50.182%252C72.631%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M24.428%252C65.395c0.939%252C0.057%252C3.625%252C0.213%252C6.064%252C0.391%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc3.014%252C0.217%252C8.451-0.451%252C5.801-5.098c-2.649-4.65-6.74-3.674-11.961-3.754c-2.812-0.043-5.785-1.412-7.322%252C1.895%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-1.534%252C3.312-5.051%252C13.338%252C2.313%252C15.396c7.366%252C2.057%252C4.618-8.137%252C4.95-10.457%2522/%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_2%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FAA51D%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M51.709%252C10.156c-1.54-0.143-4.75-0.316-6.518-0.231%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-4.728%252C0.225-9.224%252C1.928-9.224%252C1.928L22.949%252C3.357l2.235%252C18.906c0.646-0.782-10.555%252C12.804-3.479%252C24.224%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc7.08%252C11.426%252C22.233%252C16.518%252C40.988%252C12.792c18.755-3.728%252C23.229-14.531%252C21.986-20.246c-1.242-5.714-8.322-7.823-8.322-7.823%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bs-0.09-4.48-3.328-9.97c-1.926-3.268-8.348-8.041-8.348-8.041L61.822%252C1.647L54.37%252C8.851L51.709%252C10.156z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520d%253D%2522M75.42%252C31.066l-2.483-2.064l-9.115%252C2.661c0%252C0%252C0%252C3.419-4.367%252C4.367c-4.37%252C0.951-11.211-2.277-11.211-2.277%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bl-7.784%252C3.417c0%252C0-8.437%252C0.928-8.739%252C6.081C31.048%252C54.704%252C45.1%252C59.478%252C50.425%252C59.783c2.905%252C0.167%252C8.235-0.337%252C12.277-1.14%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc17.752-3.235%252C22.551-13.92%252C21.309-19.635c-1.242-5.714-7.977-7.196-7.977-7.196L75.42%252C31.066z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M9.673%252C42.155c0%252C0%252C4.107%252C0.374%252C5.974%252C0.268%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc1.865-0.107%252C5.492-0.587%252C5.492-0.587%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M80.656%252C36.671c0%252C0%252C4.549-0.743%252C6.859-1.549%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc2.715-0.942%252C4.543-2.545%252C4.543-2.545%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M21.337%252C37.909c0%252C0-2.384-1.777-6.117-3.43%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-4.134-1.831-6.405-2.303-6.405-2.303%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M81.117%252C42.622c0%252C0%252C2.726%252C1.104%252C5.533%252C1.385%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc2.77%252C0.276%252C4.647%252C0.11%252C4.647%252C0.11%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523000000%2522%2520stroke-linecap%253D%2522round%2522%2520stroke-miterlimit%253D%252210%2522%2520d%253D%2522M51.349%252C10.212%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc2.84%252C0.7%252C3.888%252C1.469%252C3.888%252C1.469%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cline%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523000000%2522%2520x1%253D%252232.898%2522%2520y1%253D%25229.684%2522%2520x2%253D%252238.956%2522%2520y2%253D%252214.042%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_5%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520stroke%253D%2522%2523231F20%2522%2520d%253D%2522M70.84%252C21.366c2.924%252C4.479%252C3.033%252C9.591%252C0.242%252C11.415%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-2.793%252C1.825-7.426-0.332-10.354-4.813c-2.932-4.48-3.037-9.589-0.244-11.415C63.275%252C14.73%252C67.913%252C16.884%252C70.84%252C21.366z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523231F20%2522%2520d%253D%2522M70.089%252C28.522c0%252C1.08-0.802%252C1.956-1.8%252C1.956c-0.993%252C0-1.803-0.877-1.803-1.956%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc0-1.08%252C0.81-1.958%252C1.803-1.958C69.287%252C26.564%252C70.089%252C27.442%252C70.089%252C28.522%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_7%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523FFFFFF%2522%2520stroke%253D%2522%2523231F20%2522%2520d%253D%2522M46.867%252C24.619c2.926%252C4.48%252C2.619%252C9.862-0.681%252C12.015%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc-3.302%252C2.159-8.351%252C0.272-11.276-4.208c-2.928-4.48-2.624-9.86%252C0.678-12.017C38.891%252C18.253%252C43.938%252C20.137%252C46.867%252C24.619z%2522/%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%2523231F20%2522%2520d%253D%2522M45.079%252C30.507c0%252C1.081-0.803%252C1.957-1.801%252C1.957c-0.992%252C0-1.803-0.878-1.803-1.957%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc0-1.08%252C0.811-1.957%252C1.803-1.957C44.274%252C28.55%252C45.079%252C29.427%252C45.079%252C30.507%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%2520%2520%253Cpath%2520fill%253D%2522%25235E4A42%2522%2520stroke%253D%2522%2523000000%2522%2520d%253D%2522M58.766%252C33.926c1.854%252C0%252C4.555-0.284%252C4.697%252C0.569c0.143%252C0.855-1.709%252C4.203-2.988%252C4.345%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253Bc-1.283%252C0.142-6.125-2.353-6.195-3.919C54.206%252C33.355%252C57.055%252C33.926%252C58.766%252C33.926z%2522/%253E%250A%2520%2520%2520%2520%253Cg%2520id%253D%2522Layer_4%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cpath%2520fill%253D%2522none%2522%2520stroke%253D%2522%2523231F20%2522%2520stroke-width%253D%25221.2%2522%2520d%253D%2522M45.774%252C41.235c0%252C0%252C10.347%252C3.054%252C14.217%252C3.897%2526%2523xD%253B%2526%2523xA%253B%2526%2523x9%253B%2526%2523x9%253Bc3.868%252C0.842%252C10.851%252C1.684%252C10.851%252C1.684s-7.99%252C10.245-17.328%252C7.644C44.176%252C51.863%252C44.345%252C45.975%252C45.774%252C41.235z%2522/%253E%250A%2520%2520%2520%2520%253C/g%253E%250A%2520%2520%253C/g%253E%250A%253C/svg%253E%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/item%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/list%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/costumes%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csounds%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clist%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Citem%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csound%20name%3D%22pop%22%20sound%3D%22data%3Aaudio/wav%2CRIFF%2528%2502%2500%2500WAVEfmt%2520%2510%2500%2500%2500%2501%2500%2501%2500%2511%252B%2500%2500%2522V%2500%2500%2502%2500%2510%2500data%2504%2502%2500%2500%25D5%2500%2503%2503%25BD%2507r%250D%25EF%2515S%251D%253C%2523%259B%2524%25E2%2520%25AB%2516s%2506U%25F1_%25DA%2560%25C4%258D%25B3i%25A9%2592%25A8%25E5%25B1G%25C5A%25E1%25F3%2502%25ED%2526%25D1GJa%257Do%2523p%250Aa%25CED%25EA%251D%252A%25F3%250F%25C9j%25A7%25FD%2591%2525%258D%25EE%25989%25B5%25E8%25DD%25E2%250C%259D%253AD%2560pv%25B5y%25A2h%25D8Eg%2517J%25E4l%25B5z%2592%25DE%2581k%2586q%259F%258E%25C8%2521%25FC%25E20%257D%255D%25DFy%25E4%257F7q%25A9M%25B6%251C%25A9%25E7O%25B8%258C%2596%2503%2589i%2591O%25AE%25F5%25D9%255C%250C%2500%253CP_%25EFo%2517iVN%250A%2524q%25F2Y%25C5g%25A3%25B6%2593x%2599%25F8%25B2h%25DA%25A3%2509%258E6kW%2529f%25A2_%25BCF%25F5%251F%25C8%25F2%2503%25CA%25F5%25AD%25CE%25A2%251F%25AB2%25C4%25F1%25EA%25C0%2514%25AB9%2528Q%25F1V4IN%252B%2503%2504%252C%25DB%25BE%25BA%25EC%25A8%250E%25A9%25D1%25BC%258C%25DD%25BC%2506%253C.%2580K%2514Y%2527R%255D9%25AC%2513%251C%25EAq%25C5%25AD%25AD%2529%25A7%25BA%25B3%251B%25D0%25B0%25F6%25A5%251Ez%253F%25C8Q%25CAQk%253F%257D%251F%25E7%25F9%25D3%25D6%2581%25BE%251F%25B6U%25BE%25AC%25D5%25BC%25F5%252A%2518%25823%25F5A%2584%2540%252C/%250C%2513W%25F2%259F%25D5%25B3%25C3%25F5%25BFt%25CB%259C%25E3z%2502z%2520%25896%2586%253F%25D28%253A%2524%25C3%2506%2592%25E7%251B%25CE%2586%25BF%2508%25C0%2515%25CFQ%25E9k%2508%257E%2525%2520%253A%2508A%25B58%2596%2523S%2506/%25E8V%25CF%252A%25C2%25EA%25C2Z%25D1%2505%25EAI%2507%2594%2522%25D75%25D0%253C%25EC5J%2523Z%2509G%25EE%251B%25D8w%25CB%250D%25CBf%25D6o%25EA%25B1%2502%2592%25193%252Ax0%25AA%252B%253C%251D%25F4%2508d%25F3%25BF%25E1%25B8%25D7%25F6%25D6%25AC%25DF%2510%25EF%25CD%2501%2529%2513%255C%251F%25A8%2523H%251F%25AB%2513%25AF%2503R%25F3p%25E6%25BA%25DF%25DB%25E03%25E9%25CC%25F6%2524%2506%25DB%2513%25F2%251CJ%251F%2584%251A%25C9%250F%257C%2501%25E4%25F25%25E7%250D%25E1%2586%25E1z%25E8g%25F4%25A1%2502%252C%2510_%251A%2510%251F%258C%251D%255E%2516%253D%250Bt%25FE%25E7%25F2%25CA%25EA%2596%25E7%2584%25E9%25E0%25EF%25F9%25F8%25D4%2502%2508%250BJ%2510%2592%2511%25D9%250E7%2509%2519%2502y%25FB%259D%25F6%2596%25F4%25DD%25F5%25D7%25F9%251F%25FF%258E%2504%2597%2508%2517%250A%258A%2508U%2504a%25FE%22/%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/item%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/list%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/sounds%3E%0A%20%20%20%20%20%20%20%20%20%3C/sprite%3E%0A%20%20%20%20%20%20%3C/sprites%3E%0A%20%20%20%3C/stage%3E%0A%3C/project%3E

From http://beta.scratch.mit.edu/projects/10040547/#editor

EDIT: You need to change _mouse_ to mouse-pointer manually…  hmm  I'll fix that today.

Last edited by Hardmath123 (2013-02-08 20:47:46)


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

Offline

 

#6811 2013-02-08 23:02:42

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

Re: BYOB 3 - Discussion Thread

mostly @Hardmath:

A mathematician is at a party at which there are five married couples (one of which includes the mathematician).  The mathematician notices that people are shaking hands when they meet, but nobody shakes his/her own hand, and nobody shakes his/her spouse's hand.

The mathematician asks every other person "with how many people did you shake hands" and gets a different answer from each person.

With how many people did the mathematician's spouse shake hands?

(Yes, there is a unique solution.)


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

Offline

 

#6812 2013-02-09 04:36:55

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

mostly @Hardmath:

A mathematician is at a party at which there are five married couples (one of which includes the mathematician).  The mathematician notices that people are shaking hands when they meet, but nobody shakes his/her own hand, and nobody shakes his/her spouse's hand.

The mathematician asks every other person "with how many people did you shake hands" and gets a different answer from each person.

With how many people did the mathematician's spouse shake hands?

(Yes, there is a unique solution.)

8???


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#6813 2013-02-09 06:12:45

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

A mathematician is at a party...

Does the question imply that the mathematician doesn't shake hands with anyone?

joefarebrother wrote:

8???

I thought that at first, too: but reading the question again, I think it's harder than that.  tongue


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

Offline

 

#6814 2013-02-09 08:21:34

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

mostly @Hardmath:

A mathematician is at a party at which there are five married couples (one of which includes the mathematician).  The mathematician notices that people are shaking hands when they meet, but nobody shakes his/her own hand, and nobody shakes his/her spouse's hand.

The mathematician asks every other person "with how many people did you shake hands" and gets a different answer from each person.

With how many people did the mathematician's spouse shake hands?

(Yes, there is a unique solution.)

Every other person implies everyone except for the mathematician, or half of the people (the Bulls won every other match they played)?

Anyway, I'm kind of burnt out right now (there was a science quiz which soaked up 8 hours today—I won a $25 coupon for a bookstore, and a Texas Instruments scientific calculator  big_smile ). AND I have piano class in less than 2 hours. I'll think about it later.  smile


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

Offline

 

#6815 2013-02-09 09:11:20

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

Re: BYOB 3 - Discussion Thread

4.


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

Offline

 

#6816 2013-02-09 11:52:34

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

science quiz which soaked up 8 hours today

That's some quiz!

Offline

 

#6817 2013-02-09 12:04:28

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

4.

We really need [spoiler] tags.  tongue


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

Offline

 

#6818 2013-02-09 13:10:08

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

8???

I don't think I should respond to specific answers just yet...  tongue


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

Offline

 

#6819 2013-02-09 13:11:53

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

Does the question imply that the mathematician doesn't shake hands with anyone?

The question does not state anything about the mathematician's behavior.  Once you have a solution, you'll see that the question implies quite a lot about everyone's behavior!


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

Offline

 

#6820 2013-02-09 13:15:02

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Every other person implies everyone except for the mathematician, or half of the people (the Bulls won every other match they played)?

Everyone except the mathematician.

Anyway, I'm kind of burnt out right now (there was a science quiz which soaked up 8 hours today—I won a $25 coupon for a bookstore, and a Texas Instruments scientific calculator  big_smile ). AND I have piano class in less than 2 hours. I'll think about it later.  smile

Good job!

I LOLed at the half-hour gap between this and your followup message.  big_smile


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

Offline

 

#6821 2013-02-09 13:16:08

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

Hardmath123 wrote:

4.

We really need [spoiler] tags.  tongue

He could be wrong, you know...  It's not a spoiler until someone (such as blob or jfb  smile ) posts an explanation.

Last edited by bharvey (2013-02-09 19:34:20)


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

Offline

 

#6822 2013-02-10 02:02:54

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

Every other person implies everyone except for the mathematician, or half of the people (the Bulls won every other match they played)?

Everyone except the mathematician.

Anyway, I'm kind of burnt out right now (there was a science quiz which soaked up 8 hours today—I won a $25 coupon for a bookstore, and a Texas Instruments scientific calculator  big_smile ). AND I have piano class in less than 2 hours. I'll think about it later.  smile

Good job! It was fun—we made it to the state finals. It was kind of like 6-team Jeopardy in teams of two.  big_smile

Thanks!

I LOLed at the half-hour gap between this and your followup message.  big_smile

It's hard to sleep with a math problem on your mind, isn't it?

Anyway, here's the proof/solution (spoiler alert!):

Let the guests be Alan and Alice, Bill and Beatrix, Carl and Cindy, Daniel and Della, and Ethan and Emma. Also, let Alan be the mathematician. Note that the rest of this proof is symmetric over the remaining couples, so naming is not really required.

Since there are 9 guests besides Alan, and only 9 numbers of ways a guest can shake hands with anyone (0, 1, 2, 3, 4, 5, 6, 7, and 8—not 9 because the 9th person is his/her spouse), each number is assigned to exactly one unique guest (besides the mathematician).

Now we focus on the guest who shook 8 hands. We notice there was also a social outcast who shook no hands. The guest who shook eight hands shook with everyone except himself and his/her spouse. Since none of these eight people could have shaken zero hands, we conclude that the guest who shook zero hands was married to the guest who shook 8 hands.

We now proceed to prove that Alice (the mathematician's wife) could not have shaken eight or zero hands. If she had shaken zero hands, then the guest who shook eight hands would obviously not be her spouse. Similarly, if she had shaken eight hands, the guest who shook no hands wouldn't be her spouse. As shown above, neither of these cases is possible, so Alice shook neither eight nor zero hands.

Without loss of generality, let Ethan have shaken eight hands and Emma have shaken no hands. Each of the remaining guests, even the mathematician, must have shaken at least one hand. There must be a guest who shook only one hand, and one who shook seven hands. Using identically reasoning as above, we can show that these guests must be married, and neither is the mathematician's wife. Thus, Alice didn't shake one or seven hands, either, and Daniel and Della shook one and seven hands each.

This reasoning can be applied to the remaining guests again, ruling out the possibilities two and six (which correspond with Carl and Cindy), and then yet again to rule out three and five (Bill and Beatrix). That leaves out four hands as the only possibility for the mathematician's wife.


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

Offline

 

#6823 2013-02-10 12:15:04

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Let the guests be Alan and Alice, Bill and Beatrix, Carl and Cindy, Daniel and Della, and Ethan and Emma. Also, let Alan be the mathematician.

Aww, I was trying so hard to avoid suggesting that the mathematician has to be male!

And I guess you must live in one of the states that hasn't gotten around to legalizing gay marriage yet.  smile

We now proceed to prove that Alice (the mathematician's wife) could not have shaken eight or zero hands. If she had shaken zero hands, then the guest who shook eight hands would obviously not be her spouse. Similarly, if she had shaken eight hands, the guest who shook no hands wouldn't be her spouse. As shown above, neither of these cases is possible, so Alice shook neither eight nor zero hands.

I don't think you have to go through all that work.  The mathematician's spouse is one of the nine people who gave distinct answers.  So once you pair off 0-8, 1-7, etc., then you just say "whoever's left (namely 4) must be married to the mathematician."

This is one of my favorite puzzles, because at first glance it seems like there can't possibly be enough information in it, but by the end of the argument you know exactly who shook hands with whom, including btw the mathematician, who (like his/her spouse) shook hands with 8, 7, 6, and 5.

It's hard to sleep with a math problem on your mind, isn't it?

Wait, you weren't supposed to be sleeping; you were supposed to be prepping for a piano lesson!  smile

PS  The UCB implementation of Lisp for Unix, years ago, was called Franz Lisp.


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

Offline

 

#6824 2013-02-10 12:25:15

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

PS  The UCB implementation of Lisp for Unix, years ago, was called Franz Lisp.

Epic. Win.


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

Offline

 

#6825 2013-02-10 13:51:37

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

Re: BYOB 3 - Discussion Thread

So I spent all afternoon playing with that puzzle, and finally reached a solution! I made a little Scratch project while I was figuring it out. It's not nearly as rigorous as Hardmath's proof*, but it's visual and fun to play with — see heresmile

(* but given that you said there's a unique solution, having found a solution, I can cheat and assume it's the only one.  tongue  )


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

Offline

 

Board footer