Search found 376 matches

by JohnM
Jan 25th, '18, 18:40
Forum: Download GP!
Topic: Version 79
Replies: 0
Views: 9313

Version 79

The latest version of GP, v079, is available from http://gpblocks.org/versions/GP.zip This version fixes a long-standing redisplay bug in Windows when the GP window is maximized, minimized, and re-maximized. Thanks to Simple Si for clarifying that issue. Other features: - "File Stream" blocks for re...
by JohnM
Jan 2nd, '18, 04:43
Forum: Bugs
Topic: cannot pass 16-digit number to function as string argument
Replies: 2
Views: 7883

Re: cannot pass 16-digit number to function as string argument

Many GP input slots (such as the one in the 'return' block) accept either a number or a string. They guess the type based on what you type. If the string has the correct syntax for an integer or floating point numbers, it guesses that you intend for it to be a number. When GP guesses that the input ...
by JohnM
Dec 29th, '17, 15:42
Forum: Extending GP
Topic: myZip and myZipWith functions ala haskell
Replies: 8
Views: 20727

Re: myZip and myZipWith functions ala haskell

Nice! Short and elegant.

Have you used it to implement the Luhn algorithm for checking credit card numbers? (I did not know about the Luhn algorithm before; I had to look it up.)
by JohnM
Dec 20th, '17, 10:25
Forum: Extending GP
Topic: myZip and myZipWith functions ala haskell
Replies: 8
Views: 20727

Re: myZip and myZipWith functions ala haskell

Nice!

The "myZip" function could be simplified. It doesn't need to create and call a function; it could just do the job directly.
by JohnM
Dec 8th, '17, 13:28
Forum: Requests
Topic: Turn off the anti-aliasing or pixel averaging
Replies: 3
Views: 4958

Re: Turn off the anti-aliasing or pixel averaging

You're welcome! The great thing about the forums is that answers to questions like this are shared with everyone, so it's worth spending the time to write a good answer.
by JohnM
Dec 5th, '17, 17:35
Forum: Requests
Topic: Turn off the anti-aliasing or pixel averaging
Replies: 3
Views: 4958

Re: Turn off the anti-aliasing or pixel averaging

GP uses the hardware GPU (graphics processing unit), which does anti-aliasing automatically when scaling and rotating costumes. You can sort of avoid that if your instance isn't rotated or scaled and you use the "normal stage size" command to make sure that the stage itself isn't scaled. But, in gen...
by JohnM
Dec 5th, '17, 17:05
Forum: Requests
Topic: File System Blocks
Replies: 2
Views: 3677

Re: File System Blocks

Good idea. As noted, the functionality is already there, so we just need to make a block in the palette to invoke it.
by JohnM
Dec 5th, '17, 17:03
Forum: Requests
Topic: Hold "Office Hours" once launched
Replies: 1
Views: 3052

Re: Hold "Office Hours" once launched

Nice idea, and thanks for offering to help.

I'd be happy to organize a "developer mode" office hour on Google hangouts some time, if there is interest, perhaps in January.

Anyone who is interested in that, please post on this thread and indicate what time of day (on a weekday) would work for you.
by JohnM
Dec 5th, '17, 16:59
Forum: Bugs
Topic: [v78] Freezing
Replies: 2
Views: 7406

Re: [v78] Freezing

Thanks for reporting this. I'll investigate.

Meanwhile, thanks for sharing the workaround.
by JohnM
Dec 5th, '17, 16:58
Forum: Bugs
Topic: When click open Demo's and Project starters not visible
Replies: 6
Views: 11896

Re: When click open Demo's and Project starters not visible

I'm glad you were able to dig into the problem yourself.

I agree, the way the Explorer shows string values needs improvement.