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

#6701 2013-01-30 21:15:07

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

It's an erg.

Bump!


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

Offline

 

#6702 2013-01-31 05:39:45

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

Re: BYOB 3 - Discussion Thread

I didn't get it...


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

Offline

 

#6703 2013-01-31 09:13:34

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

I didn't get it...

+1  tongue


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

Offline

 

#6704 2013-01-31 09:42:52

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

Re: BYOB 3 - Discussion Thread


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

Offline

 

#6705 2013-01-31 10:50:52

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

Re: BYOB 3 - Discussion Thread

The ring in your sig does not rule them all as I have a ring to rule it:
http://i.imgur.com/T4SQU6x.png

You don't have to call the recursive function with the function itself AND the input, you can just use the input.

Or, for those who don't like currying:
http://i.imgur.com/iTAG6GR.png

So you can write things like: http://i.imgur.com/nNsrFLU.png


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

 

#6706 2013-01-31 11:04:52

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

I didn't get it...

Gosh and you even cited the Wikipedia entry:

Wikipedia wrote:

An erg is the amount of work done by a force of one dyne exerted for a distance of one centimeter.

Or in other words an erg is a dyne-centimeter.  Now do you get it?  The reason it's upside down is that it's dyne.


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

Offline

 

#6707 2013-01-31 11:08:14

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

Re: BYOB 3 - Discussion Thread

Oh. That was admittedly beyond me. Besides, when centimeters dy, they degenerate into inches.


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

Offline

 

#6708 2013-01-31 12:40:53

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

The ring in your sig does not rule them all as I have a ring to rule it:

Urg.  η-expansion gives me a headache, which is why I always teach my students the simpler but less elegant version that isn't technically a fixed point generator at all, but works fine with call-by-value.

For people trying to understand the η-expanded Y-combinator, I recommend starting at the beginning of https://en.wikipedia.org/wiki/Fixed-point_combinator and reading straight through, rather than jumping ahead to the section on the Y-combinator itself.

Snap!'s unevaluated input types should make it possible for us to handle an unexpanded Y-combinator, if only we had a way to open a long-form input dialog box on a formal parameter of a ring.  Right?  I've wanted that for other reasons anyway, but this might be a reason to push that feature a little higher on the waiting list.


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

Offline

 

#6709 2013-01-31 14:56:35

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

I didn't get it...

Gosh and you even cited the Wikipedia entry:

Wikipedia wrote:

An erg is the amount of work done by a force of one dyne exerted for a distance of one centimeter.

Or in other words an erg is a dyne-centimeter.  Now do you get it?  The reason it's upside down is that it's dyne.

Unit-humor is not, apparently, one of my strengths.  tongue


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

Offline

 

#6710 2013-02-01 15:44:09

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

Unit-humor is not, apparently, one of my strengths.  tongue

Nor Hardmath nor nXIII!  You guys aren't nearly nerdy enough.

What do you get when you cross a grape with an elephant?


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

Offline

 

#6711 2013-02-01 15:48:51

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

technoboy10 wrote:

Unit-humor is not, apparently, one of my strengths.  tongue

Nor Hardmath nor nXIII!  You guys aren't nearly nerdy enough.

What do you get when you cross a grape with an elephant?

A squished grape.


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

 

#6712 2013-02-01 15:49:57

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

You guys aren't nearly nerdy enough.

...to post here? To use Snap!? To appreciate your jokes?  tongue


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

Offline

 

#6713 2013-02-01 16:18:22

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

...to post here? To use Snap!? To appreciate your jokes?  tongue

Well, my science jokes anyway.


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

Offline

 

#6714 2013-02-01 19:04:09

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

A squished grape.

A good answer, but the official one is "grape elephant sin θ."


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

Offline

 

#6715 2013-02-01 22:55:39

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

Re: BYOB 3 - Discussion Thread

For your Snap!ping (is that how you spell it?) enjoyment, three libraries of tool blocks taken from the BYOB tool sprite:

word-sentence

list-utilities

iteration-composition

The first, loading into the Operators palette, has the selectors for words (strings of non-space characters) and sentences (strings, maybe including space characters, viewed as sequences of words), e.g., FIRST WORD OF (sentence).

The second, loading into the Lists sub-palette, has APPEND, REVERSE, and REMOVE DUPLICATES FROM.

The third, loading into Control, has the variant forms of REPEAT/WHILE with the test before and after the C-slot; REPEAT with the # upvar, the two kinds of CASCADE, and COMPOSE.

Those are all the major categories of tool blocks; there are a few orphans that may end up in a "miscellaneous" library, including n's SWITCH block (although I'm hoping we'll have a good notation for a multiple group-of-inputs and therefore won't have to do it the BYOB way).

Eventually these will be importable from our cloud storage site.

There is no overlap between any of these libraries and the "Import tools" library, even though several blocks in the latter could be included in each of these categories.  I'm assuming everyone is going to "import tools" first thing on loading Snap!, and eventually we'll get the importation speed to where Jens is willing to do it automatically on startup.  smile


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

Offline

 

#6716 2013-02-02 05:59:09

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Nor Hardmath nor nXIII!  You guys aren't nearly nerdy enough.

Oh yeah?!

How many unheard questions does it take to illuminate a light bulb?

And, while I'm at it:

How many Dwarves does it take to light up a light bulb? How many Hobbits does it take to light up a light bulb?


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

Offline

 

#6717 2013-02-02 07:16:54

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

How many Hobbits does it take to light up a light bulb?

Is the Hobbit Frodo? Then he doesn't need a light bulb.  tongue


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

Offline

 

#6718 2013-02-02 07:30:14

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

joefarebrother wrote:

A squished grape.

A good answer, but the official one is "grape elephant sin θ."

LOL
See, I get math humor.  tongue


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

Offline

 

#6719 2013-02-02 11:27:54

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

How many unheard questions does it take to illuminate a light bulb?

Watt?

(Sorry, bad pun, best I could do w/o googling.)

EDIT:  I mean, I get that it's a Zen joke, just not the answer.

Last edited by bharvey (2013-02-02 11:39:04)


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

Offline

 

#6720 2013-02-02 11:28:44

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

Hardmath123 wrote:

How many Hobbits does it take to light up a light bulb?

Is the Hobbit Frodo? Then he doesn't need a light bulb.  tongue

what if he doesn't have a light? then he needs a light BULB. c:


I'm back.
Maybe.

Offline

 

#6721 2013-02-02 11:45:09

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

Re: BYOB 3 - Discussion Thread

DigiTechs wrote:

technoboy10 wrote:

Hardmath123 wrote:

How many Hobbits does it take to light up a light bulb?

Is the Hobbit Frodo? Then he doesn't need a light bulb.  tongue

what if he doesn't have a light? then he needs a light BULB. c:

No he has that (radioactive?) thingamabob from (Loth?)lorien.

P.S. Did anyone notice how Lorien is also the planet in "I am no. 4"?


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

Offline

 

#6722 2013-02-02 11:46:33

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

How many unheard questions does it take to illuminate a light bulb?

Watt?

(Sorry, bad pun, best I could do w/o googling.)

EDIT:  I mean, I get that it's a Zen joke, just not the answer.

Yeah, around 75 what?!s—give or take.  tongue

Anyone willing to take a stab at the LOTR riddles?


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

Offline

 

#6723 2013-02-02 12:17:29

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

P.S. Did anyone notice how Lorien is also the planet in "I am no. 4"?

Lorien is the guy at the core of Z'ha'dum who brings Sheridan back to life!

The trouble with lightbulb jokes is that you can always think of a zillion
answers that are perfectly legitimate, just not very funny, e.g., "Two, one
to screw in the lightbulb and one to cook second breakfast."  "Three; they
have to stand on each other's shoulders to reach the bulb."  "They don't
have electricity in Middle Earth."  "Dwarves don't like light."  Etc.

EDIT:  Or "One hobbit and one nearby orc."

Last edited by bharvey (2013-02-02 12:18:43)


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

Offline

 

#6724 2013-02-02 13:56:52

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

blob8108 wrote:

nXIII wrote:

If you want to use labels interspersed between arguments (and not just named arguments), I wrote a scratchblocks parser that is reasonably skilled at determining what you mean without hordes of parentheses (e.g., `set a to item 2 + 3 * 4 of positions + 10' instead of `set [a] to ((item ([2] + ([3] * [4])) of [positions v]) + [10])'), and can send you the source/give you some help if you need any.

That sounds clever. Can I see?  smile

It's PHP and it's not hosted anywhere.  tongue

Can I have the source, then?  tongue


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

Offline

 

#6725 2013-02-02 21:28:25

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Someone's PC always appears in Finder on my MacBook when I'm in my room. I was bored last night, so I was looking through this person's shared files and found a desktop shortcut to BYOB.  tongue


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

Board footer