Search found 24 matches

by SvenJ
Jun 26th, '18, 13:43
Forum: Requests
Topic: Do in Parallel Block?
Replies: 3
Views: 12483

Re: Do in Parallel Block?

Technically, it's not a new block. Jens merely added the functionality of having blocks look like https://u.cubeupload.com/bharvey/4223.png (Source: https://scratch.mit.edu/discuss/topic/4455/?page=202#post-3151745, scroll down a bit). I think he means the black arrows, specifically. As for the actu...
by SvenJ
Aug 9th, '17, 11:16
Forum: Working with GP
Topic: differents between ARRAYS and LISTS?
Replies: 2
Views: 11670

Re: differents between ARRAYS and LISTS?

Here's what John said about them on a different thread: Array is a low-level, fixed size data structure that's needed to implement lists, dictionaries, tasks, and other things, but it doesn't need to be visible until the user digs deeper into the implementation of the system. I'll fix map and filter...
by SvenJ
Aug 7th, '17, 08:46
Forum: Working with GP
Topic: find a string within another string
Replies: 1
Views: 10849

Re: find a string within another string

Hey,

While I couldn't find a way to get this to work with Strings directly, I found a way to make this work by using the following blocks:

The "contains"-Block can check if an item exists in an array (NOT a list!). Using it the way I did in the attached image returns "true".
by SvenJ
Aug 7th, '17, 08:40
Forum: Bugs
Topic: Unusable class name "list"
Replies: 4
Views: 13426

Re: Unusable class name "list"

Hey John, just downloaded a fresh install of GP on both Windows and Ubuntu 16.04, and both of them show the same behavior: 1) Create new (empty) project 2) Create a new class named "list" (without quotation marks) 3) Debugger opens up and complains about List index being out of range. It also does t...
by SvenJ
Aug 5th, '17, 13:19
Forum: Working with GP
Topic: [Suggestion]Merge Drawing and Pixels categories
Replies: 6
Views: 13890

Re: [Suggestion]Merge Drawing and Pixels categories

From an educational standpoint, I can really appreciate the separate categories. Pixel and vector graphics are a very common subject to introduce to students in order to help them understand information and its representation. The split of these two categories of blocks in GP perfectly mimics the tw...
by SvenJ
Aug 2nd, '17, 13:36
Forum: Bugs
Topic: Unusable class name "list"
Replies: 4
Views: 13426

Unusable class name "list"

Just a tiny bug report:
Creating a new class named "list" causes the debugger to open upon selection of the class (screenshot attached).

This also occurs when an existing class is renamed to "list", and then selecting it (obviously only works in projects with more than one class).
by SvenJ
Jul 16th, '17, 19:11
Forum: Working with GP
Topic: Class/instance/prototypes
Replies: 1
Views: 12065

Re: Class/instance/prototypes

Assumption: Scratch and its cloning mechanism are a form of prototyping If this is true and GP wants to use the Class/Instance model instead then I don't think it should have default instances of classes - all instantiation should be done at program run-time or by manual addition by use of a + butt...
by SvenJ
Jul 16th, '17, 09:38
Forum: Getting started
Topic: [Advanced tutorial] First-class objects and higher order functions - and nice artwork
Replies: 5
Views: 563489

Re: [Tutorial] First-class objects and higher order functions - and nice artwork

SimpleSi wrote:
Jul 16th, '17, 09:35
That's why I advice the user to activate developer mode - just below "Let's get started!" :)
How about changing title to say [Advanced Tutorial]?

John has said he doesn't consider developer-mode is for beginners or even intermediate GPers :)
That's true. Good point!
by SvenJ
Jul 15th, '17, 20:30
Forum: Getting started
Topic: [Advanced tutorial] First-class objects and higher order functions - and nice artwork
Replies: 5
Views: 563489

Re: [Tutorial] First-class objects and higher order functions - and nice artwork

SimpleSi wrote:
Jul 15th, '17, 20:23
AFAIK - function block is not available normally - only in developer mode
So it is not available to standard users
Hey, thanks for the feedback!
That's why I advice the user to activate developer mode - just below "Let's get started!" :)
by SvenJ
Jul 15th, '17, 13:09
Forum: Getting started
Topic: [Advanced tutorial] First-class objects and higher order functions - and nice artwork
Replies: 5
Views: 563489

[Advanced tutorial] First-class objects and higher order functions - and nice artwork

Hey everyone! This is a tutorial I have put together which will show you how first-class structures work in GP. There is a good chance that this could turn into a series of tutorials showing you many of the new concepts of GP, and how to use them yourself. This being said, this is not exactly aimed ...