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

#7151 2013-02-27 11:10:35

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

There should be a way to re-order the blocks in the block palette.

Yup, on my list.  Probably not soon.


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

Offline

 

#7152 2013-02-27 11:27:07

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

joefarebrother wrote:

It works when the item is in the list but not when it isn't. Can you help me?

How does it fail?  And, can you post the XML?

It causes an error (red halo around the block)

Here is the XML for the whole project: (so far)

Code:

data:text/xml,<project%20name%3D"object%20orientation"%20app%3D"Snap!%204.0%2C%20http%3A%2F%2Fsnap.berkeley.edu"%20version%3D"1"><notes><%2Fnotes><thumbnail>data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAADfUlEQVR4Xu3XsU1jYRCF0d%2BIAEiQMCCoA0ENJoEyqIAeEDn1QB0UgSMjZ961g83sncBXE%2Fi8eDQjzvuwYbL6%2BwwPgSaBiQCb5J3dCAhQCK0CAmzld1yAGmgVEGArv%2BMC1ECrgABb%2BR0XoAZaBQTYyu%2B4ADXQKiDAVn7HBaiBVgEBtvI7LkANtAoIsJXfcQFqoFVAgK38jgtQA60CAmzld1yAGmgVEGArv%2BMC1ECrgABb%2BR0XoAZaBQTYyu%2B4ADXQKiDAVn7HBaiBVgEBtvI7LkANtAoIsJXfcQFqoFVAgK38jgtQA60CAmzld1yAGmgVEGArv%2BMC1ECrgABb%2BR0XoAZaBQTYyu%2B4ADXQKiDAVn7HBaiBVgEBtvI7LkANtAoIsJXfcQFqoFVAgK38jgtQA60CAmzld1yAGmgVEGArv%2BMC1ECrgABb%2BR0X4JYGFovFOD09HUdHRyoJCghwC%2B7Ly8tYrVbj%2Fv5%2BPD8%2Fj%2Bvr6%2BBrONzVAtzy7r%2B%2Fv8fr6%2BvmE3A%2Bn4%2Fz8%2FMxm802QU6n03F7eztOTk4Ot5w9%2FeQC3AH59fU13t7eNl%2FF62f9ibhcLsfV1dU4Ozsbx8fH4%2BPjY0%2Bv4jDXCHDHe%2F%2F8%2FBzv7%2B%2F%2FPukEuP9fEgH%2B5yt4MpmMn5%2BfcXFxMR4fH8fd3d24vLwcNzc3voL30KMAd%2FwTso7v4eFhPD09baLz7F9AgFtMf39%2FN3%2F7rSP05AQEmLO1uSAgwAKSkZyAAHO2NhcEBFhAMpITEGDO1uaCgAALSEZyAgLM2dpcEBBgAclITkCAOVubCwICLCAZyQkIMGdrc0FAgAUkIzkBAeZsbS4ICLCAZCQnIMCcrc0FAQEWkIzkBASYs7W5ICDAApKRnIAAc7Y2FwQEWEAykhMQYM7W5oKAAAtIRnICAszZ2lwQEGAByUhOQIA5W5sLAgIsIBnJCQgwZ2tzQUCABSQjOQEB5mxtLggIsIBkJCcgwJytzQUBARaQjOQEBJiztbkgIMACkpGcgABztjYXBARYQDKSExBgztbmgoAAC0hGcgICzNnaXBAQYAHJSE5AgDlbmwsCAiwgGckJCDBna3NBQIAFJCM5AQHmbG0uCAiwgGQkJyDAnK3NBQEBFpCM5AQEmLO1uSAgwAKSkZyAAHO2NhcEBFhAMpITEGDO1uaCgAALSEZyAgLM2dpcEBBgAclITuAPbAUXt9D5MqwAAAAASUVORK5CYII%3D<%2Fthumbnail><stage%20name%3D"Stage"%20costume%3D"0"%20tempo%3D"60"%20threadsafe%3D"false"%20scheduled%3D"false"%20id%3D"1"><pentrails>data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1%2Fabewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA%2BwECBAgQIBAICHCAbpIAAQIECA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CYJECBAgIAA%2BwECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB%2BgmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA%2BwECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB%2BgmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA%2BwECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC<%2Fpentrails><costumes><list%20id%3D"2"><%2Flist><%2Fcostumes><sounds><list%20id%3D"3"><%2Flist><%2Fsounds><variables><%2Fvariables><blocks><%2Fblocks><scripts><%2Fscripts><sprites><sprite%20name%3D"Sprite"%20idx%3D"1"%20x%3D"0"%20y%3D"0"%20heading%3D"90"%20scale%3D"1"%20rotation%3D"1"%20draggable%3D"true"%20costume%3D"0"%20color%3D"80%2C80%2C80"%20pen%3D"tip"%20id%3D"8"><costumes><list%20id%3D"9"><%2Flist><%2Fcostumes><sounds><list%20id%3D"10"><%2Flist><%2Fsounds><variables><%2Fvariables><blocks><%2Fblocks><scripts><script%20x%3D"68"%20y%3D"195"><custom-block%20s%3D"binary%20search%20for%20%25s%20in%20%25l%20comparing%20with%20%25predRing"><l>B<%2Fl><block%20s%3D"reportNewList"><list><l>A<%2Fl><l>B<%2Fl><l>D<%2Fl><%2Flist><%2Fblock><block%20s%3D"reifyPredicate"><script><%2Fscript><list><%2Flist><%2Fblock><%2Fcustom-block><%2Fscript><script%20x%3D"60"%20y%3D"311"><custom-block%20s%3D"binary%20search%20for%20%25s%20in%20%25l%20comparing%20with%20%25predRing"><l>B<%2Fl><block%20s%3D"reportNewList"><list><l>A<%2Fl><l>C<%2Fl><l>D<%2Fl><%2Flist><%2Fblock><block%20s%3D"reifyPredicate"><script><%2Fscript><list><%2Flist><%2Fblock><%2Fcustom-block><%2Fscript><comment%20x%3D"98"%20y%3D"266"%20w%3D"80"%20collapsed%3D"false">Doesn%26apos%3Bt%20work<%2Fcomment><comment%20x%3D"97"%20y%3D"148"%20w%3D"80"%20collapsed%3D"false">Works<%2Fcomment><%2Fscripts><%2Fsprite><%2Fsprites><%2Fstage><blocks><block-definition%20s%3D"recursive%20%25%26apos%3Bprocedure%26apos%3B%20%25%26apos%3Bproc%26apos%3B"%20type%3D"reporter"%20category%3D"other"><inputs><input%20type%3D"%25upvar"><%2Finput><input%20type%3D"%25cmdRing"><%2Finput><%2Finputs><script><block%20s%3D"doSetVar"><l>procedure<%2Fl><block%20var%3D"proc"%2F><%2Fblock><block%20s%3D"doReport"><block%20var%3D"proc"%2F><%2Fblock><%2Fscript><%2Fblock-definition><block-definition%20s%3D"binary%20search%20for%20%25%26apos%3Bitem%26apos%3B%20in%20%25%26apos%3Blist%26apos%3B%20comparing%20with%20%25%26apos%3Bcomparator%20%26lt%3B%26apos%3B"%20type%3D"reporter"%20category%3D"lists"><inputs><input%20type%3D"%25s"><%2Finput><input%20type%3D"%25l"><%2Finput><input%20type%3D"%25predRing"><%2Finput><%2Finputs><script><block%20s%3D"doReport"><block%20s%3D"evaluate"><custom-block%20s%3D"recursive%20%25upvar%20%25cmdRing"><l>bs<%2Fl><block%20s%3D"reifyScript"><script><block%20s%3D"doDeclareVariables"><list><l>mid<%2Fl><%2Flist><%2Fblock><block%20s%3D"doSetVar"><l>mid<%2Fl><block%20s%3D"reportRound"><block%20s%3D"reportQuotient"><block%20s%3D"reportSum"><block%20var%3D"lo"%2F><block%20var%3D"hi"%2F><%2Fblock><l>2<%2Fl><%2Fblock><%2Fblock><%2Fblock><block%20s%3D"doIfElse"><block%20s%3D"reportGreaterThan"><block%20var%3D"lo"%2F><block%20var%3D"hi"%2F><%2Fblock><script><block%20s%3D"doReport"><block%20s%3D"reportDifference"><l>0<%2Fl><block%20var%3D"lo"%2F><%2Fblock><%2Fblock><%2Fscript><script><block%20s%3D"doIfElse"><block%20s%3D"evaluate"><block%20var%3D"comparator%20%26lt%3B"%2F><list><block%20var%3D"item"%2F><block%20s%3D"reportListItem"><block%20var%3D"mid"%2F><block%20var%3D"list"%2F><%2Fblock><%2Flist><%2Fblock><script><block%20s%3D"doReport"><block%20s%3D"evaluate"><block%20var%3D"bs"%2F><list><block%20var%3D"lo"%2F><block%20s%3D"reportDifference"><block%20var%3D"mid"%2F><l>1<%2Fl><%2Fblock><%2Flist><%2Fblock><%2Fblock><%2Fscript><script><block%20s%3D"doIfElse"><block%20s%3D"evaluate"><block%20var%3D"comparator%20%26lt%3B"%2F><list><block%20s%3D"reportListItem"><block%20var%3D"mid"%2F><block%20var%3D"list"%2F><%2Fblock><block%20var%3D"item"%2F><%2Flist><%2Fblock><script><block%20s%3D"doReport"><block%20s%3D"evaluate"><block%20var%3D"bs"%2F><list><block%20s%3D"reportSum"><block%20var%3D"mid"%2F><l>1<%2Fl><%2Fblock><block%20var%3D"hi"%2F><%2Flist><%2Fblock><%2Fblock><%2Fscript><script><block%20s%3D"doReport"><block%20var%3D"mid"%2F><%2Fblock><%2Fscript><%2Fblock><%2Fscript><%2Fblock><%2Fscript><%2Fblock><%2Fscript><list><l>lo<%2Fl><l>hi<%2Fl><%2Flist><%2Fblock><%2Fcustom-block><list><l>1<%2Fl><block%20s%3D"reportListLength"><block%20var%3D"list"%2F><%2Fblock><%2Flist><%2Fblock><%2Fblock><%2Fscript><scripts><comment%20x%3D"306"%20y%3D"134.2"%20w%3D"296"%20collapsed%3D"false">Searches%20for%20the%20position%20to%20%20the%20item%20is%20in%20the%20list.%20Asumes%20that%20the%20list%20is%20sorted%20according%20to%20comparator%20%26lt%3B.%20If%20the%20item%20is%20not%20found%2C%20this%20procedure%20returns%20a%20negative%20number%20whose%20absolute%20value%20is%20the%20position%20that%20the%20item%20should%20be%20inserted%20at%20if%20it%20is%20needed.<%2Fcomment><%2Fscripts><%2Fblock-definition><block-definition%20s%3D"new%20prototype%20object"%20type%3D"reporter"%20category%3D"other"><inputs><%2Finputs><script><block%20s%3D"doReport"><block%20s%3D"evaluate"><custom-block%20s%3D"recursive%20%25upvar%20%25cmdRing"><l>clone<%2Fl><block%20s%3D"reifyScript"><script><block%20s%3D"doDeclareVariables"><list><l>methods<%2Fl><l>data<%2Fl><%2Flist><%2Fblock><custom-block%20s%3D"%2F%2F%20%25mult%25s"><list><l>not%20implemented%20yet<%2Fl><%2Flist><%2Fcustom-block><%2Fscript><list><l>parent<%2Fl><%2Flist><%2Fblock><%2Fcustom-block><list><block%20s%3D"reifyReporter"><autolambda><block%20s%3D"reifyReporter"><autolambda><block%20s%3D"reportJoinWords"><list><l>%26lt%3Bno%20message%20found%3A%20<%2Fl><block%20var%3D"message"%2F><l>%26gt%3B<%2Fl><%2Flist><%2Fblock><%2Fautolambda><list><l>args<%2Fl><%2Flist><%2Fblock><%2Fautolambda><list><l>message<%2Fl><%2Flist><%2Fblock><%2Flist><%2Fblock><%2Fblock><%2Fscript><scripts><comment%20x%3D"77"%20y%3D"213.2"%20w%3D"300"%20collapsed%3D"false">Makes%20an%20object%20for%20prototyping%2C%20basically%20like%20the%20object-oriented%20program%20at%20the%20end%20of%20the%20chapter%20on%20OOP%20in%20the%20Snap!%20manual.<%2Fcomment><%2Fscripts><%2Fblock-definition><block-definition%20s%3D"look%20up%20%25%26apos%3Bkey%26apos%3B%20in%20%25%26apos%3Btable%26apos%3B%20%2C%20return%20%25%26apos%3Bnotfound%26apos%3B%20in%20not%20found"%20type%3D"reporter"%20category%3D"lists"><inputs><input%20type%3D"%25s"><%2Finput><input%20type%3D"%25l"><%2Finput><input%20type%3D"%25s"><%2Finput><%2Finputs><scripts><comment%20x%3D"32"%20y%3D"84.19999999999999"%20w%3D"257"%20collapsed%3D"false">Part%20of%20the%20API%20for%20an%20ADT%20%26quot%3BTables%26quot%3B%20for%20mapping%20strings%20to%20arbatrary%20values.%20%26%23xD%3B%26%23xD%3BReturns%20the%20value%20associated%20with%20the%20given%20key%2C%20or%20return%20%26quot%3Bnotfound%26quot%3B%20in%20not%20found.%20Not%20implemented%20yet.<%2Fcomment><%2Fscripts><%2Fblock-definition><block-definition%20s%3D"%2F%2F%20%25%26apos%3Bcomments%26apos%3B"%20type%3D"command"%20category%3D"other"><inputs><input%20type%3D"%25mult%25s"><%2Finput><%2Finputs><scripts><comment%20x%3D"43"%20y%3D"63.19999999999999"%20w%3D"80"%20collapsed%3D"false">do%20nothing<%2Fcomment><%2Fscripts><%2Fblock-definition><%2Fblocks><variables><%2Fvariables><%2Fproject>

Last edited by joefarebrother (2013-02-27 11:29:54)


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

 

#7153 2013-02-27 11:43:15

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

Here is the XML for the whole project: (so far)

I can't load that -- I get an error about <stage> missing.  Could you double check the pasting in?


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

Offline

 

#7154 2013-02-27 12:50:16

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

Re: BYOB 3 - Discussion Thread

[drumroll]
The University of California at Berkeley, the MioSoft Corporation, Jens, and Brian are pleased to announce (at last) the official beta release of Snap! 4.0 with cloud storage!

Jens says that if you want a really short user name you have to figure out how to hack the code.  hmm

For the moment we're only announcing it here, to keep the number of users down until we shake out any bugs you intrepid users discover.  smile

Last edited by bharvey (2013-02-27 13:23:30)


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

Offline

 

#7155 2013-02-27 13:55:28

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Jens says that if you want a really short user name you have to figure out how to hack the code.  hmm

Aw, no fair, the server gives "ERROR: Username must be 4 characters or longer"  sad

EDIT: but yeah, awesome!  big_smile  Now to get started on that HTML parser...

Last edited by blob8108 (2013-02-27 14:16:46)


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

Offline

 

#7156 2013-02-27 14:22:31

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

Re: BYOB 3 - Discussion Thread

Some thoughts:
* In the save dialog, could the cloud option be selected by default if you're logged in?
* It'd be awesome if the login dialog re-appeared if there's an error (like mistyping your password).
* If a project's been modified on the cloud since loading it, saving will happily overwrite your changes (!)


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

Offline

 

#7157 2013-02-27 15:11:50

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

hack the code

How far are we allowed to go while hacking? (I took that as an invitation to hack the system)


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

Offline

 

#7158 2013-02-27 15:44:10

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

How far are we allowed to go while hacking? (I took that as an invitation to hack the system)

You are totally welcome to find bugs in the server, provided you tell us about them!  big_smile


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

Offline

 

#7159 2013-02-27 15:45:59

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

Aw, no fair, the server gives "ERROR: Username must be 4 characters or longer"  sad

When I complain to Jens about this useless policy he just laughs.  Start a petition on one of those petition sites or something.

PS It's my fault they put a test in the server; I grabbed "bh" first thing.  smile

PPS  Anyway, I thought you wanted "blob".

Last edited by bharvey (2013-02-27 15:51:01)


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

Offline

 

#7160 2013-02-27 16:43:09

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

Some thoughts:

Yes, those are great suggestions (and bug report); thanks!


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

Offline

 

#7161 2013-02-27 16:44:08

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

Re: BYOB 3 - Discussion Thread

im jacky  wink

Offline

 

#7162 2013-02-27 16:53:56

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Anyway, I thought you wanted "blob".

I can't have both that and "b"...?  tongue


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

Offline

 

#7163 2013-02-27 17:17:33

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

I can't have both that and "b"...?  tongue

Accounts are indexed by email address, so not from the same address.


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

Offline

 

#7164 2013-02-27 17:46:24

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

technoboy10 wrote:

How far are we allowed to go while hacking? (I took that as an invitation to hack the system)

You are totally welcome to find bugs in the server, provided you tell us about them!  big_smile

Yep, that was my plan.  smile
ATM I'm trying to hack widgets.js.

EDIT: Grr... Snap! doesn't like being offline AND connecting to the cloud.

Last edited by technoboy10 (2013-02-27 18:16:41)


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

Offline

 

#7165 2013-02-27 17:59:25

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

When I complain to Jens about this useless policy he just laughs.  Start a petition on one of those petition sites or something.

PS It's my fault they put a test in the server; I grabbed "bh" first thing.  smile

:'(

I did find a bug in the client: it doesn't urlencode some parameters, so if you put an ampersand in your email it blows up.

EDIT: Gaaaaaaaaaaaaah. Why can't you just use browser form fields? I can't use my password hasher.

EDIT2: @. is a valid email address.

EDIT3: "Sign up" is two words (the dialog knows this, but the menu item doesn't).

EDIT4: "callback" is one word. Always. Not "callBack." (just like "idx" is not a valid synonym for "index")

Last edited by nXIII (2013-02-27 18:08:25)


nXIII

Offline

 

#7166 2013-02-27 18:19:01

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Why can't you just use browser form fields? I can't use my password hasher.

I feel your pain.  I never really, really needed copy/paste until now.  I guess Jens must use the same password on all his bank accounts.  smile

PS  "Sign up" is a verb; "signup" is a noun, I believe.

EDIT:

"callback" is one word. Always. Not "callBack." (just like "idx" is not a valid synonym for "index")

Jeez, n, you're not nearly old enough to be so pedantic!

EDIT 2:

EDIT2: @. is a valid email address.

EDIT3: "Sign up" is two words (the dialog knows this, but the menu item doesn't).

It took me a while to work out that the "is" in edit 2 means "is wrongly taken to be" whereas the "is" in edit 3 means "is"!  If we're going to pick nits, style problems that actually impair communication trump arbitrary style diktats.  tongue

#teasing-nXIII

Last edited by bharvey (2013-02-27 19:29:11)


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

Offline

 

#7167 2013-02-27 19:28:38

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

PS  "Sign up" is a verb; "signup" is a noun, I believe.

Aren't they both verbs in this case, though (like "Save" (menu item) or "Open Project" (dialog title))?


nXIII

Offline

 

#7168 2013-02-27 20:06:17

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

I haven't done much serious precalc, though.

Don't waste time taking courses with "pre" in their names.  Have you done trigonometry?  If so, just go straight to Tom Apostol's Calculus book.  And then you can read Knuth's discrete math book.  smile

I was talking about trig, logarithms, and complex numbers. I can handle trig and logarithms (well, I hate logarithms and logarithms hate me, but that aside) but I haven't really looked at complex numbers yet.

I basically do everything from AoPS books, because they are really good at covering all you really need to know and then giving tough but manageable problems.


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

Offline

 

#7169 2013-02-27 20:09:25

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

Re: BYOB 3 - Discussion Thread

"If you want to prove how clever you are, go pick on the CIA"

lol


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

Offline

 

#7170 2013-02-27 20:38:58

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Aren't they both verbs in this case, though (like "Save" (menu item) or "Open Project" (dialog title))?

Oh, I agree with you that the menu should say "sign up"; it's just that you were so emphatic about there being no such word as "signup"!  smile


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

Offline

 

#7171 2013-02-27 20:39:54

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

bharvey wrote:

Hardmath123 wrote:

I haven't done much serious precalc, though.

Don't waste time taking courses with "pre" in their names.  Have you done trigonometry?  If so, just go straight to Tom Apostol's Calculus book.  And then you can read Knuth's discrete math book.  smile

I was talking about trig, logarithms, and complex numbers. I can handle trig and logarithms (well, I hate logarithms and logarithms hate me, but that aside) but I haven't really looked at complex numbers yet.

I basically do everything from AoPS books, because they are really good at covering all you really need to know and then giving tough but manageable problems.

AoPS is great, right?

Have you seen Richard Rusczyk's (sp?) videos? They are on youtube and the AoPS website as well. I just watched all of his videos on the 2012 AIME, it was amazing.


http://www.danasoft.com/citysign.jpg

Offline

 

#7172 2013-02-27 20:44:26

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: BYOB 3 - Discussion Thread

All this impresses me.


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#7173 2013-02-27 20:55:20

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

AoPS

Ah, this is new to me.  Thanks for the pointer.  But why oh why don't they put sample pages on their web site?  I can't tell, for example, from what I read there, whether or not they take an axiomatic approach to algebra -- proving, for example, that if x is a factor of y, and y is a factor of z, then x is a factor of z.  (Not a difficult theorem; I took it from an early chapter of the algebra 1 book I learned from long ago.)

No complex numbers?  Does that mean you haven't run across the sublime Euler's Formula?  (The one about complex exponentials, not the one about polyhedra.)  I've been thinking you know everything.  You have much to look forward to.

What's your problem with logarithms?  You don't think it's amazing how they reduce hard multiplication problems into easy addition problems?  (You do understand that Napier and those guys didn't have cell phones with calculator apps, right?  tongue )  And also how they make it possible to picture enormous ranges of values, such as astronomical distances?  Your book isn't actually making you do interpolation in printed log tables, is it?

lol

Thank you; I was proud of that line!

Last edited by bharvey (2013-02-27 22:26:03)


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

Offline

 

#7174 2013-02-27 20:56:24

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

Re: BYOB 3 - Discussion Thread

ssss wrote:

All this impresses me.

Thank you!


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

Offline

 

#7175 2013-02-27 21:04:26

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ssss wrote:

All this impresses me.

Thank you!

Welcome.   Long time since I've been here, ey?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

Board footer