Go to advanced search

by ghp
Wed Jun 25, 2014 8:51 pm
Forum: Python
Topic: Transferring Projects
Replies: 4
Views: 1388

Re: Transferring Projects

Hello, I usually develop python code on my laptop in eclipse, using pydev as a plugin. Advantage is the build in debugger, and ant script support to distribute code. Then I send the files 'as is' to raspberry with ftp (filezilla is the tool to choose) and execute there. The only problems are: - in w...
by ghp
Wed Jun 25, 2014 8:44 pm
Forum: Python
Topic: What web framework do you guys prefer?
Replies: 4
Views: 1851

Re: What web framework do you guys prefer?

Hello,

I use cherrypy embedded in my scratchClient to monitor low level events and config files.
Nice documentation, quick ramp up and a world of ciiustomizations if needed.

Regards,
Gerhard
by ghp
Mon Jun 23, 2014 8:53 pm
Forum: Scratch
Topic: Scratch presentation mode
Replies: 1
Views: 1546

Re: Scratch presentation mode

Hello, presentation mode is double the size of usual stage. It does not scale to screen size. Usual stage is 480 * 360. Presentation mode is 960*720, where scaling is done by simply doubling each pixel. If you want it full screen, you need to adjust screen size close to the presentation mode stage s...
by ghp
Mon Jun 23, 2014 6:50 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Hello, you asked for startup times:
Startup time on my machine: prox 5 secs Model B, overclock 1GHz).

If I could vote for one of the next problems to be solved, I would ask for I18N. Without this, I can't bring it to my school project. Where next session is in a week from today.

Regards,
Gerhard
by ghp
Sat Jun 21, 2014 12:25 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

the pretty framing of the mouse x/y indicators seems to disappear. Hello, at least the 'disappear' can be reproduced. Open new project, and drag 'cat' out of the stage, of course drop it in the right, lower edge so the animated 'run back path' goes through the xy-display. In not all cases, but some...
by ghp
Thu Jun 19, 2014 4:55 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

(continued from last post) ... three increments in a sequence. This is done to find out if the 'change by' block has special handling. multiple_inc.gif The result is, when executed multiple times sensor-update "a" 44 sensor-update "a" 47 sensor-update "a" 50 sensor-update "a" 53 So only every third ...
by ghp
Thu Jun 19, 2014 4:38 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Inconsistent behavior of how data are sent to remote sensor protocol As we have talked a little bit about performance here the last days, I have investigated my scratchClient and removed some bottlenecks. When you do things like this, the next question is whether all values are handled correctly. T...
by ghp
Tue Jun 17, 2014 7:55 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Hello, see the github issue list. Seems to happen (not each time) when file is 'previewed' and then in the middle or so you press ok.
Regards,
Gerhard
by ghp
Sun Jun 15, 2014 6:22 pm
Forum: Scratch
Topic: beta scratch performance
Replies: 21
Views: 5037

Re: beta scratch performance

Hello,

I used the code from https://github.com/JamesH65/xf86-video-fbturbo.

Will this go into the repo soon ? Or other way round: when it is assumed 'production ready', I would bring it to the systems for my school workshop. As even with current scratch, performance is better.

Regards,
Gerhard
by ghp
Sun Jun 15, 2014 8:06 am
Forum: Scratch
Topic: beta scratch performance
Replies: 21
Views: 5037

Re: beta scratch performance

Hello, I have installed the ssvb/xf86-video-fbturbo and re-executed the graphic oriented tests. I added two move tests, which I usually explain to the kids in school as a scratch-antipattern: while true; goto x,y; inc x; inc y; endwhile; This works, but movement speed is limited by cpu-usage. The se...
by ghp
Fri Jun 13, 2014 5:08 pm
Forum: Scratch
Topic: beta scratch performance
Replies: 21
Views: 5037

Re: beta scratch performance

Hello,
the details are on the referenced page. It is an intel i3 2.2GHz processor. RPi runs with 1GHz.
Regards,
Gerhard
by ghp
Fri Jun 13, 2014 2:26 pm
Forum: Scratch
Topic: beta scratch performance
Replies: 21
Views: 5037

beta scratch performance

Hello,

the last days, I executed some performance tests for nuscratch-beta, comparing it with current scratch and a win installation.
See the results in http://heppg.de/ikg/wordpress/?p=270
performance_summary.png
performance_summary.png (14.47 KiB) Viewed 5037 times

Regards,
Gerhard
by ghp
Thu Jun 12, 2014 9:58 pm
Forum: Scratch
Topic: FSR with Scratch
Replies: 13
Views: 4810

Re: FSR with Scratch

As promised some analog value results. Here the scratch script. It uses a variable 'a', global, and receives a sensor value 'b'. analog.gif The basic story is like: set value a to 1. ScratchClient is receiving this, and increments this value by 1, and sends it for a sensor value 'b'. scratch checks ...
by ghp
Thu Jun 12, 2014 6:57 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Animations: So why bother with it on slow machines There are two parts in the c-shape scissors tool: deleting the block and moving up the tail. The second part looks similiar to other animations (like droppinng a script on stage and it moves back to script area). The second one, I would not remove....
by ghp
Thu Jun 12, 2014 6:54 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

scratch repository on github
Cool. Good idea.
Will post new problems there.

Regards,
Gerhard
by ghp
Thu Jun 12, 2014 6:49 pm
Forum: Scratch
Topic: FSR with Scratch
Replies: 13
Views: 4810

Re: FSR with Scratch

Timing is: in scratch: script (A): on start: send "ping" script (B); when receive "pong" (admin stuff: count till 200 cycles are reached, measure time, stop) broadcast "ping" in scratchClient (over socket, scratch sensor client software in python ) when receive "ping" broadcast "pong" So what I meas...
by ghp
Wed Jun 11, 2014 7:57 pm
Forum: Scratch
Topic: FSR with Scratch
Replies: 13
Views: 4810

Re: FSR with Scratch

Hello, started to prepare some performance test scripts. I am interested to see differences between new scratch, but also in scratch remote sensor connections. One of the first results here is: scratch script sending broadcast "ping", and my scratchClient-software responding with "pong". In scratch,...
by ghp
Wed Jun 11, 2014 7:08 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

New problems. Started to write some performance tests, one is the pingpong-event test, sending events around. Performance is 11.0 sec in rpi-1.4-scratch, 8.6 sec in beta. Not bad. Problem is: switch to presentation mode, run the script. After some 10 secs, the hidden variable t should be displayed. ...
by ghp
Tue Jun 10, 2014 8:12 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Hello,

you are busy today. I look forward to the new release.

Regards,
Gerhard
by ghp
Tue Jun 10, 2014 6:51 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Hello,

you are right, not so simple to reproduce. The following works in neg sense.
scissors.png
scissors.png (1.55 KiB) Viewed 6352 times
The blocks before and after are needed. Tried various combinations of the setup sequence, seems to be independent.

Regards, Gerhard
by ghp
Tue Jun 10, 2014 1:46 am
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Scissors-Tool: I never knew it is possible to use it on scripts, so I was curious to see how it works. Precondition: assemble a small script of a few simple blocks and C-shapes (while). in win-scratch-1.4, Click on scissors-tool and move over script. Single blocks get a red border. C-shapes get red ...
by ghp
Sun Jun 08, 2014 7:57 pm
Forum: Scratch
Topic: FSR with Scratch
Replies: 13
Views: 4810

Re: FSR with Scratch

Hello, sometimes solutions are more simple if you step back and look from the distance. I had a cd4013 in my collection, and wired some plywood to build a 'button', formed by a pair of de-isolated wire, crosswise. See the image. The gap is prox 1mm, the length of the 'fork' is 20 cm. At the side of ...
by ghp
Sun Jun 08, 2014 11:10 am
Forum: Scratch
Topic: FSR with Scratch
Replies: 13
Views: 4810

Re: FSR with Scratch

Hello, connecting an ADC MCP3208 via SPI to RPi is not a problem. Connecting this to scratch depends on the capabilities of a client software. In my school workshop, I use my own implementation for this named 'scratchClient', written in python. I use MCP3202 there. See my website for details http://...
by ghp
Wed Jun 04, 2014 9:01 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Hello Tim, are there plans for a better-beta ? My school team has three weeks vacation now, and I would like to give them the new software on their return because of the better stability in sound. Would be also result in some intensive sessions and test results. The character set problem (german uml...
by ghp
Sun Jun 01, 2014 12:23 pm
Forum: Scratch
Topic: The Beta Strikes Back; NuScratch beta release
Replies: 214
Views: 34723

Re: The Beta Strikes Back; NuScratch beta release

Minor problem: In 'control' there are the 'when I receive' blocks. Select one and drag to script area. open the popup, usually populated with 'new' and available signal names. If you move the mouse over a name or 'new', the entry is highlighted. There is a small gap between the highlighted ares. Dra...

Go to advanced search