Possibly a breakthrough programming language?

  • 96 Replies
  • 3499 Views
*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #15 on: February 01, 2020, 09:23:49 PM »
Emergent

*

ivan.moony

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1412
    • e-teoria
Re: Possibly a breakthrough programming language?
« Reply #16 on: February 01, 2020, 09:27:54 PM »
I told you it's fun :)
There exist some rules interwoven within this world. As much as it is a blessing, so much it is a curse.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #17 on: February 01, 2020, 10:24:59 PM »
Blockly=fun
empty IDE=no fun
Emergent

*

Dat D

  • Nomad
  • ***
  • 64
  • AI rocks!
Re: Possibly a breakthrough programming language?
« Reply #18 on: February 02, 2020, 02:31:08 AM »
Blockly=fun
empty IDE=no fun
Oh mamma mia, I tried to do bubble sort with Blockly and now I know how painful it is.  :uglystupid2:
I can type code in text like a few times faster than drag-n-drop those stuff on Blockly.  :D


My bubble sort:
https://blockly-demo.appspot.com/static/demos/code/index.html#bfen2c

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #19 on: February 02, 2020, 03:19:22 AM »
Nice bubble sort :)

But at least I can code. If I don't I'm out a coder bro. That matters. I can code quite fast in Blocky and see no issue at all. I see all commands, sorted in categories too. That is what is helping me. And their clearness visually, which is key.

All I need is to create just a few programs to make AGI. That's all I want and all I seek. It helps me a ton.
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #20 on: February 02, 2020, 03:35:44 AM »
Also finding the group useful:
https://groups.google.com/forum/#!searchin/blockly/limitation/blockly/l22CIk5mrxo/EFIPUsN830oJ



Their view is this:

Make it easy for the beginner
We chose to have the offset of the first element in a list be 1, rather than 0, because 1 is what a naive user would expect.  While this might make the transition to conventional programming languages a little harder, we’re more concerned with helping people discover the joy of computing rather than the details that don’t make sense until you’ve taken several classes.  Follow the Principle of Least Astonishment.  If you have to decide between astonishing a beginner or an experienced computer scientist, astonish the latter.

It is not always obvious what is easiest for the user.  Consider the numeric argument to the Sound component’s vibrate method.  We chose to make it milliseconds, which enables people to use whole numbers (500 milliseconds) rather than fractions (.5).  On the other hand, someone who doesn’t read the manual or doesn’t know what milliseconds are would probably start their experimenting with an argument of 1, which would cause an imperceptible vibration. 

Organize functionality in a way that makes sense to the user
Continuing our discussion of the vibrate method, a physicist might know to look for it in the Sound component, but most users would not.  Unfortunately, I don’t have a better suggestion of where the vibrate functionality should be, short of creating a new component whose name would make people snicker.

An example of good organization is having Camera, ImagePicker, and VideoPlayer all within the Media category.  Their implementations are totally different, but, to the user, it makes sense for them to be together.

Mobile ≮ Desktop
Mobile devices should not be considered to be desktop (or laptop) computers with small displays.  Focus less on functionality that works better on a large screen than a small screen, and focus more on functionality that takes advantage of mobile devices’ unique features, such as portability, connectivity (SMS, BlueTooth, NFC, etc.), sensors (acceleration and location), and recorders (audio, photographs, videos).  This principle suggests it would be better to develop components for data collection, taking advantage of all of these features of mobile devices, than to develop, for example, the capacity to display multiple videos on a single screen, which could only be done poorly on (existing) mobile technology.

Provide default values
Users should not have to understand all of a component’s properties in order to use it.  For example, new Labels have reasonable default values for all of their properties except for Text (which has the self-explanatory initial value “Text for Label1”).  This enables someone to begin using a component quickly and only look at other properties when dissatisfied with the default behavior (such as a label being hard to read on their chosen Screen background image).  By not requiring the user to understand properties until they are needed, this makes them a solution rather than a problem.

Similarly, reasonable default values should be provided for built-in blocks.  The parameter to the “make color” block is a list that must contain elements with the values of the red, green, and blue components and may optionally contain a fourth element with an alpha level, something that most users will never need.  (The downside of taking a single list parameter instead of one parameter for each numeric input is that the socket labels are less meaningful.)
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #21 on: February 02, 2020, 04:01:26 AM »
Submitting data. Read it all if you're interested in AGI.

https://www.youtube.com/watch?v=fo7F_KfVgB8
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #22 on: February 02, 2020, 04:16:03 AM »
Emergent

*

Hopefully Something

  • Trusty Member
  • *********
  • Terminator
  • *
  • 882
  • no seriously where are these cookies
Re: Possibly a breakthrough programming language?
« Reply #23 on: February 02, 2020, 05:25:37 AM »
Good on you. Finally we're getting somewhere. I just ordered the necessary chips and download cables to go ahead with a Blockly build.. for my blocks heheh.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #24 on: February 02, 2020, 06:16:39 AM »
( ͡° ͜ʖ ͡°)( ͠° ͟ʖ ͡°)( ͡~ ͜ʖ ͡°)( ͡ʘ ͜ʖ ͡ʘ)( ͡o ͜ʖ ͡o)(° ͜ʖ °)( ‾ʖ̫‾)( ಠ ͜ʖಠ)( ͡° ʖ̯ ͡°)( ͡ಥ ͜ʖ ͡ಥ)༼ ͡° ͜ʖ ͡° ༽(▀̿Ĺ̯▀̿ ̿)( ✧≖ ͜ʖ≖)(ง ͠° ͟ل͜ ͡°)ง(͡ ͡° ͜ つ ͡͡°)[̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅](✿❦ ͜ʖ ❦)ᕦ( ͡° ͜ʖ ͡°)ᕤ( ͡° ͜ʖ ͡°)╭∩╮¯\_( ͡° ͜ʖ ͡°)_/¯(╯ ͠° ͟ʖ ͡°)╯┻━┻( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)¯\_(ツ)_/¯



٩(^ᴗ^)۶ for FREE
Emergent

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6812
  • Mostly Harmless
Re: Possibly a breakthrough programming language?
« Reply #25 on: February 02, 2020, 10:32:13 AM »
It would be great if Lock managed to cause the singularity in Blockly  ;) :)

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #26 on: February 02, 2020, 06:53:56 PM »
I'm going to see if I can today in Blockly.

Pro Tip: Even if you can't make your full algorithm in Blockly, it still Generates the code you did make and all you need to do is ask Google/Upwork data science programmers to fill in those missing lines of code. Furthermore I can easily read the code now using blocks, and the python etc code too, comparing the blocks to the code, meaning I can learn programming easier too! Lastly I can hire a C++ coder to make identicle algorithm else no payment - this works if have a exact result and I did it once for 400USD.

Currently I'm looking for a timer and how to glue 2 substrings together, in Blockly, hmm. @Dat D, I think there is a list block that sorts items in ascending or descending order, lol.

EDIT
https://groups.google.com/forum/?_escaped_fragment_=topic/blockly/KFEMJ_EkZuw

-see below for the joing strings sorry-

Looks like all 3 are solved, no issues then!
« Last Edit: February 02, 2020, 10:11:15 PM by LOCKSUIT »
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #27 on: February 02, 2020, 09:24:53 PM »
This is not funny though:

from
https://developers.google.com/blockly/guides/app-integration/best-practices
"9. Exit strategy
Block-based programming is often a starting point for programming. In the context of teaching computer programming, it is a gateway drug that gets students addicted, before moving them on to harder things. How long this block-based programming period should last for students is hotly debated, but if your goal is to teach programming it should be temporary."
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #28 on: February 02, 2020, 10:01:04 PM »
Apparently to save your project u copy n paste the XML to ur computer, omg. OK.

And download the .zip and go to code folder to get the desktop webpage tab working environment. Then paste your XML into there to LOAD your project.

Too bad they were smart enough to make it but careless enough to finish it how they should, the docs suck.

But it looks good enough to grant my wishes.
Emergent

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • ******************
  • Hal 4000
  • *
  • 4114
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Possibly a breakthrough programming language?
« Reply #29 on: February 02, 2020, 10:11:47 PM »
the joining the substrings, paste this into the XML area:

<xml xmlns="https://developers.google.com/blockly/xml">
  <block type="text_print" id="x:t#ZwiUc(@@^TljtR1?" x="212" y="62">
    <value name="TEXT">
      <shadow type="text" id="MjKvQYI;.2AE!vRBsdN/">
        <field name="TEXT">abc</field>
      </shadow>
      <block type="text_join" id="(+w,PFmQ;{dId2h1/iWy">
        <mutation items="2"/>
        <value name="ADD0">
          <block type="text" id="O^:r9}myRNtH3#@*7V.1">
            <field name="TEXT">hi</field>
          </block>
        </value>
        <value name="ADD1">
          <block type="text" id="p;sP~jn=B*{s/[+vBW6[">
            <field name="TEXT"> there</field>
          </block>
        </value>
      </block>
    </value>
  </block>
</xml>
Emergent

 


Users Online

52 Guests, 3 Users
Users active in past 15 minutes:
ivan.moony, Freddy, frankinstien
[Administrator]
[Bumblebee]
[Trusty Member]

Most Online Today: 99. Most Online Ever: 340 (March 26, 2019, 09:47:57 PM)

Articles