@rookwood101, last month I got a beast too My dad is an IT guy who gets allot of free stuff from his work place so for a long time I got nothing but hand me down dino's. Then I bought something pretty sweet for my bday.
Offline
xly wrote:
@ Jens
THANK YOU FOR SCROLLING SPEED UP !!
http://www.xleroy.net/ByobTuto/New/Snap!/flowers.gif
show off
Offline
What's the 16:25?
New scrolling is awesome! Thanks, Jens.
Offline
My dual core Pentium thanks you very much Jens. Though I've noticed any momentum the scrolling had is now gone. Have you decided to remove that feature?
Offline
Jens wrote:
okay, you guys can now start experimenting with the new reporter slot in the CALL block!
is this what you're talking about, or is it a bug?
Offline
yup, rookwood101, that's precisely what I mean. You can drop reporters inside the slot, in which case there is a grey border around them and the slot auto-lambdafies them, or on top of the slot (like any other slot), in which case the reporter gets evaluated normally.
Offline
i made a BYOB .deb package!
now you can install BYOB on ubuntu, debian etc. in 3-4 clicks
wld be very happy if you put this on the site
Last edited by roijac (2011-10-21 08:49:35)
Offline
Taneb wrote:
Here's a not very good list implementation:
That's a great list implementation! Except, I would pick different names for the inputs to make it a little easier to read. And I would start with an empty list (could just be the word "the-empty-list" or anything other than a function) instead of a singleton list.
Offline
bharvey wrote:
roijac wrote:
i made a BYOB .deb package!
Thanks! It's up on the web page. Now see if you can convert it to a .rpm package.
don't think i'll make also a .rpm, i'm too lazy
anyway, the site doesn't look like updated :S
Offline
roijac wrote:
bharvey wrote:
roijac wrote:
i made a BYOB .deb package!
Thanks! It's up on the web page. Now see if you can convert it to a .rpm package.
don't think i'll make also a .rpm, i'm too lazy
anyway, the site doesn't look like updated :S
It is, look in downloads.
Offline
Hardmath123 wrote:
roijac wrote:
bharvey wrote:
Thanks! It's up on the web page. Now see if you can convert it to a .rpm package.
don't think i'll make also a .rpm, i'm too lazy
anyway, the site doesn't look like updated :SIt is, look in downloads.
i deleted cache and it's there
oops...
Offline
Taneb wrote:
Here's a not very good list implementation: http://i1239.photobucket.com/albums/ff5 … shot-1.png
If BYOB didn't have lists, this would probably be the only way to get anything like a list, but it will be quite confusing weather it was a lost or a normal script, UNLESS you made a "list" class usingmy idea!!!
Last edited by joefarebrother (2011-10-23 05:21:46)
Offline
bharvey wrote:
Taneb wrote:
Here's a not very good list implementation:
That's a great list implementation! Except, I would pick different names for the inputs to make it a little easier to read. And I would start with an empty list (could just be the word "the-empty-list" or anything other than a function) instead of a singleton list.
I made these changes, wasn't hard at all:
I also think there should be a shorthand for call with inputs. With big projects in 3.1, I generally make one myself. As it stands, they are REALLLY LONG compared to other languages where they are just brackets, or in Haskell, just implied. (call (the (( ) + ( )) block) with inputs (8) (9)) is equivalent to Haskell's (+) 8 9.
ALSO also, the .deb installer doesn't work for me. I'm on Ubuntu 11.04, which may explain it, but still.
Offline
Taneb wrote:
I also think there should be a shorthand for call with inputs.
What I really want is that when you assign a block/script to a variable, it shows up in the Other palette, with the right shape and the right inputs! But that's hard b/c the value of a variable can change on the fly. Maybe we need something like CONST that would let you assign a value to a variable and promise not to change it.
ALSO also, the .deb installer doesn't work for me.
I don't have a Debian system to try it on (our sysadmins chose Fedora to support) so you guys will have to work this out!
Offline
joefarebrother wrote:
UNLESS you made a "list" class using[url=http://scratch.mit.edu/forums/viewtopic.php?id=73428]my idea[/url!!!
Ah. I have to confess, I rarely manage to get to the (other) Advanced Topics (let alone anywhere else in the fora), so it's best to put suggestions either here or at byobugs.com.
We are pretty committed to prototyping OOP rather than class/instance OOP. The latter is a trivial extension to the former, but not the other way around. And we're at the moment committed to using sprites as the objects; you can make some other kind of object by just hiding the associated sprite (but you can still find it in the sprite corral, to edit its properties, which is a plus).
But, yeah, you could make a List sprite, with a constructor method (although we don't call them that; you'd just write a global New List block that would ASK [ASK (List) [CLONE]] [Constructor <val>...]
Summary: We can already do what you want in 3.1 and will be able to do it in 4.0 before its official release.
Offline
Taneb wrote:
I made these changes, wasn't hard at all
P.S. I was thinking
SET (empty-list) TO (the-empty-list)
no THE SCRIPT or anything, and just let it error if you ask for more items than are in the list. And there would only be one empty list, so
IF < (var) = (empty-list) > ...
would work.
Offline
...
By any chance, could you give me the code for an individual block? I'd like to try making some Snap! blocks.
EDIT: I know about the empty hole in the Set block, I took that out before taking the picture. And yes, I did run the set one before.
Last edited by Hardmath123 (2011-10-22 08:07:45)
Offline