graphical-programming

Graphic: Rerouting problem test in python language

邮差的信 提交于 2021-01-29 05:37:07
问题 Your company has N servers. The information flows from one server to another through a connection. If the information flows from server i to server j , then connection (i) = j. It's possible for some server connection(i) = i, meaning information doesn't flow further. You are given an array connection consisting of N integers. You are tasked with making minimum number of changes to connection array values so that the information from all server can reach at exactly one server in the whole

Create from scratch, or build up on Scratch?

﹥>﹥吖頭↗ 提交于 2020-01-01 12:11:28
问题 I'm considering building a visual programming language, akin to Scratch, for use by children (a.k.a. poor typists) in programming micro-controllers or robots. There is, for example, a project to build a graphical programming environment for the Arduino. I really like Scratch, and would like the graphical coding to be similar. Scratches source is available under its own free license. It is written in Squeak (based on Smalltalk), and I don't know the language. It occurs to me there might be

Create from scratch, or build up on Scratch?

大憨熊 提交于 2020-01-01 12:11:20
问题 I'm considering building a visual programming language, akin to Scratch, for use by children (a.k.a. poor typists) in programming micro-controllers or robots. There is, for example, a project to build a graphical programming environment for the Arduino. I really like Scratch, and would like the graphical coding to be similar. Scratches source is available under its own free license. It is written in Squeak (based on Smalltalk), and I don't know the language. It occurs to me there might be

Yahoo Pipes: filter items in a feed based on words in a text file

我怕爱的太早我们不能终老 提交于 2019-12-22 12:12:47
问题 I have a pipe that filters an RSS feed and removes any item that contains "stopwords" that I've chosen. Currently I've manually created a filter for each stopword in the pipe editor, but the more logical way is to read these from a file. I've figured out how to read the stopwords out of the text file, but how do I apply the filter operator to the feed, once for every stopword? The documentation states explicitly that operators can't be applied within the loop construct, but hopefully I'm

Yahoo Pipes: filter items in a feed based on words in a text file

∥☆過路亽.° 提交于 2019-12-06 09:17:19
I have a pipe that filters an RSS feed and removes any item that contains "stopwords" that I've chosen. Currently I've manually created a filter for each stopword in the pipe editor, but the more logical way is to read these from a file. I've figured out how to read the stopwords out of the text file, but how do I apply the filter operator to the feed, once for every stopword? The documentation states explicitly that operators can't be applied within the loop construct, but hopefully I'm missing something here. You're not missing anything - the filter operator can't go in a loop. Your best bet

Create from scratch, or build up on Scratch?

泪湿孤枕 提交于 2019-12-04 11:03:53
I'm considering building a visual programming language , akin to Scratch , for use by children (a.k.a. poor typists) in programming micro-controllers or robots. There is, for example, a project to build a graphical programming environment for the Arduino . I really like Scratch, and would like the graphical coding to be similar. Scratches source is available under its own free license. It is written in Squeak (based on Smalltalk), and I don't know the language. It occurs to me there might be other projects to build off of. When I looked through Wikipedia's list of graphical languages, I didn't

Write C++ in a graphical scratch-like way?

帅比萌擦擦* 提交于 2019-12-03 08:38:25
I am considering the possibility of designing an application that would allow people to develop C++ code graphically. I was amazed when I discovered Scratch (see site and tutorial videos ). I believe most of C++ can be represented graphically, with the exceptions of preprocessor instructions and possibly function pointers. What C++ features do you think could be (or not be) represented by graphical items? What would be the pros and cons of such an application ? How much simpler would it be than "plain" C++? RECAP and MORE: Pros: intuitive simple for small applications helps avoid typos Cons:

The tool for visual programming

回眸只為那壹抹淺笑 提交于 2019-11-30 05:51:08
I need the tool for graphical representing of work flow in a program (like electronic circuits are described with graphical representation). The representation has to be like the following: functions are boxes and arrows between boxes are "messages". Like this: alt text http://img372.imageshack.us/img372/8471/functionsqv0.png This picture shows the following: (c (a) (b)) Where parameters of c() are named as d and e. On C it would be void c( someType1 d, someType2 e ); someType1 a( void ); someType2 b( void ); .... c( a(), b() ); So I think that I need the tool for manipulation and visual

The tool for visual programming

左心房为你撑大大i 提交于 2019-11-29 04:07:50
问题 I need the tool for graphical representing of work flow in a program (like electronic circuits are described with graphical representation). The representation has to be like the following: functions are boxes and arrows between boxes are "messages". Like this: alt text http://img372.imageshack.us/img372/8471/functionsqv0.png This picture shows the following: (c (a) (b)) Where parameters of c() are named as d and e. On C it would be void c( someType1 d, someType2 e ); someType1 a( void );