http://KidCommands.com: Enter nice instructions, for everyone on Earth to follow. “Brush your teeth, recycle, and say, ‘Thank you,’ at least 3 times.” http://KidCommands.com Collecting messages making the world a better place.

Write in:

http://mships.com/kidcommands/write.html

Mini Poster 11 x 17:

http://www.cafepress.com/mships.565697573

Coaster:

http://www.cafepress.com/mships.565031135 

Mug:

http://www.cafepress.com/mships.565773743

©2011 Mships.com

http://Mships.com is collecting messages

that make life fun, and meaningful.

HSPL Human Speakable Programming Language: sentenceInterpret

finally have come full circle,  and created a sentence level interpreter,

next will simply have to add_in or recreate the basic functions like read, write, and arithmetic for turing completeness.

changelog.txt

October 13, Thu, Oct 13, 2011, hexDay 7, hexWeek 2,1 ya
 00:20 fixed sentenceInterpret, functions properly
October 12, Wed, Oct 12, 2011, hexDay 6, hexWeek 2,1 ya
————————————————————————————
 22:59 in changelog,  about to begin programming
    todo, fix sentenceInterpert so that it works
October 11, Tue, Oct 11, 2011, hexDay 5, hexWeek 2,1
——————————————————————————
 14:00 fixed sentenceInterpret to have context first, then sentence
October 10, Mon, Oct 10, 2011, hexDay 4, hexWeek 2,1
——————————————————————————-
 22:13 todo make sentenceInterpret
 22:50 writing sentenceInterpret
 23:19 wrote sentenceInterpret
 
October 5, Wed, Oct 4, 2011, hexDay 15, hexWeek 1,1
—————————————————————————-
 00:08 so what now? to make a turing complete HSPL for version release,
   load functions into root book, adapt them to use new parsing functions,
   have a variable context similar to PWD which shows which book is currently being viewed,
   reading text, allow adding text, removing text, moving text,
   viewing book shelf, adding book, extending book,
   book 0 or shelf 0 can be virtual memory, so far that’s all we have
   eventualy we’ll develop ability to write to disk, using shelf 1 and above
 08:10 good morning, what have we here?
 08:16 maybe definitions, could use wa, or something like that, to indicate a case as an input argument.
   could follow java example and use types, followed by variable name, which can be used in the definition.
   perhaps it’s time to have a look at and revise the roadmap
 08:37,  so how do we activate sentences by word do?
  look at interpret.asm
    in the interpret loop,
     for line, aSentenceGet,
       sentenceInterpret:
         the sentence su case ‘be’ bo get be sentenceCase so do
         sentenceCase su ‘case_contents+su code be’ bo codeQuery so compose be do
         codeQuery su root book bo rootMatch so matchCaseGet be do
         rootMatch su ‘bo’ case bo codeMatch so caseGet be do
         codeMatch su address number bo codeResult so call be do
         codeResult su book and prompt to print be do

changelog.txt quote

interpret.asm

section .bss
   resr sentenceInterpretString,sentenceSize
section .data
   datr sentenceInterpretCodeSentence,” su code be”
   sentenceInterpretCodeSentenceLength equ $-sentenceInterpretCodeSentence
section .text
sentenceInterpret: ; interprets the sentence
    ;  input be  context address and context length and sentence address and sentence length bo
    ;  output be output of sentence function
    ; algorithm
     ;    the sentence su case ‘be’ bo get be sentenceCase so do
     ;    sentenceCase su ‘case_contents+su code be’ bo codeQuery so compose be do
     ;    codeQuery su root book bo rootMatch so sentenceGet be do
     ;    rootMatch su ‘bo’ case bo codeMatch so caseGet be do
     ;    codeMatch su address number bo codeResult so call be do
     ;    codeResult su book and prompt to print be do

;         sentence the su ‘be’ case bo sentenceCase so get be do
      movr eax,[esp+byteBase*3]; sentence address
      movr ecx,[esp+byteBase*4]; sentence length
      pushr be_length ; case length
      pushr be_name ; case name
      pushr ecx
      pushr eax
      call caseGet
      pop eax; caseAddress
      pop ecx; caseLength
      cmp eax,no; if no verb
      jz sentenceInterpretNo; then no sentence
      ; TODO eventually can develop place grammar, so can also check for placeGrammarVerb
;         sentenceCase su ‘case_contents + su code be’ bo codeQuery so compose be do
      ;     can compose with stringAppend for now, endOfStringAddress, newStringAddress, length
      ;      so should have a sandbox to make string in, reserve sentenceSize, sentenceInterpretString
      ; initially case contents we’ll simplify as first word, so aWordGet
      pushr ecx
      pushr eax
      call aWordGet
      pop eax
      pop ecx
      ; now use as contents to start composing search query
      pushr ecx
      pushr eax
      pushr sentenceInterpretString
      call append
      pop edx ; new end of string address
      pushr sentenceInterpretCodeSentenceLength
      pushr sentenceInterpretCodeSentence
      pushr edx;
      call append
      pop ecx; new end of string address,
        ;can calculate length by subtracting start address
      movr eax,sentenceInterpretString;sentenceInterpretString
      subr ecx,eax
;         codeQuery su context bo contextMatch so matchCaseGet be do
            ; TODO eventually can specify book, based on context
            ;  okay made it an input variable, context address, and context length
    movr ebx,[esp+byteBase*1];context address
        movr edx,[esp+byteBase*2];context length
        pushr ecx ; codeQuery length
        pushr eax ; codeQuery address
        pushr edx
        pushr ebx
        call sentenceGet
        pop eax; address
        pop ecx; length
        ; if none then exit
        cmp eax,no
        jz sentenceInterpretNo
;         contextMatch su ‘bo’ case bo codeMatch so caseGet be do
        pushr bo_length
        pushr bo_name
        pushr ecx
        pushr eax
        call caseGet
        pop eax
        pop ecx
;         codeMatch su address number bo codeResult so call be do
        ; first gotta get firstWord which is the number,
        push ecx
        push eax
        call aWordGet
        pop eax
        pop ecx
        ; then convert from glyphs to number
        push ecx
        push eax
        call glyphsToNumbers
        pop eax
        pop ecx
        ;   make sure is proper length
        ;    cmp ecx,byteBase
        ;     jnz; if not equal then adjust size
        ;   alternatively can call a validCallAddress function, to make adjustments if necessary
        ; call the number
        call [eax] ; returns string,  startAddress and Length
;         codeResult su book and prompt to return be do
        pop eax
        pop ecx
        jmp sentenceInterpretYes
      
sentenceInterpretNo:
    pop edx;
    pop ebx; arg 1
    pop ebx; arg 2
    pop ebx; arg 3
    pop ebx; arg 4
    pushr no ; result
    pushr no ; result
    pushr edx; ret
    ret
sentenceInterpretYes:
    pop edx;
    pop ebx; arg 1
    pop ebx; arg 2
    pop ebx; arg 3
    pop ebx; arg 4
    pushr ecx ; length result
    pushr eax ; address result
    pushr edx; ret

    ret

interpret.asm sourcecode

commands.asm

section .datr
    testMessage db “hello world!”
    testMessageLength equ $-testMessage
section .text
codePut  test,”test”,4,0,[book]; test
    pushr testMessageLength
    pushr testMessage
    call areaSay
    ; return no
    popr edx; ret
    pushr yes
    pushr yes

    pushr edx
    ret

commands.asm sourcecode

run.sh

test be ya
hello world!

run.sh quote

49 General Commands of Christ of the NT

The theme of all Scripture is to love God with all of our hearts and to love one another. (See Matthew 22:40 and John 13:34.)

  1. Repent—Matthew 4:17—Humility
  2. Follow Me—Matthew 4:19—Meekness
  3. Rejoice—Matthew 5:12—Joyfulness
  4. Let Your Light Shine—Matthew 5:16—Generosity
  5. Honor God’s Law—Matthew 5:17–18—Love
  6. Be Reconciled—Matthew 5:24–25—Responsibility
  7. Do Not Commit Adultery—Matthew 5:29–30—Self-Control
  8. Keep Your Word—Matthew 5:37—Truthfulness
  9. Go the Second Mile—Matthew 5:38–42—Deference
  10. Love Your Enemies—Matthew 5:44—Creativity
  11. Be Perfect—Matthew 5:48—Sincerity
  12. Practice Secret Disciplines—Matthew 6:1–18—Faith
  13. Lay Up Treasures—Matthew 6:19–21—Thriftiness
  14. Seek God’s Kingdom—Matthew 6:33—Initiative
  15. Judge Not—Matthew 7:1—Discernment
  16. Do Not Cast Pearls—Matthew 7:6—Discretion
  17. Ask, Seek, and Knock—Matthew 7:7–8—Resourcefulness
  18. Do Unto Others—Matthew 7:12—Sensitivity
  19. Choose the Narrow Way—Matthew 7:13–14—Decisiveness
  20. Beware of False Prophets—Matthew 7:15—Alertness
  21. Pray For Laborers—Matthew 9:38—Compassion
  22. Be Wise as Serpents—Matthew 10:16—Wisdom
  23. Fear God, Not Man—Matthew 10:26—Boldness
  24. Hear God’s Voice—Matthew 11:15—Attentiveness
  25. Take My Yoke—Matthew 11:29—Obedience
  26. Honor Your Parents—Matthew 15:4—Honor/Reverence
  27. Beware of Leaven—Matthew 16:6—Virtue
  28. Deny Yourself—Luke 9:23—Determination
  29. Despise Not Little Ones—Matthew 18:10—Tolerance
  30. Go to Offenders—Matthew 18:15—Justice
  31. Beware of Covetousness—Luke 12:15—Contentment
  32. Forgive Offenders—Matthew 18:21–22—Forgiveness
  33. Honor Marriage—Matthew 19:6—Loyalty
  34. Be a Servant—Matthew 20:26–28—Availability
  35. Be a House of Prayer—Matthew 21:13—Persuasiveness
  36. Ask in Faith—Matthew 21:21–22—Patience
  37. Bring in the Poor—Luke 14:12–14—Hospitality
  38. Render to Caesar—Matthew 22:19–21—Gratefulness
  39. Love the Lord—Matthew 22:37–38—Enthusiasm
  40. Love Your Neighbor—Matthew 22:39—Gentleness
  41. Await My Return—Matthew 24:42–44—Punctuality
  42. Take, Eat, and Drink—Matthew 26:26–27—Thoroughness
  43. Be Born Again—John 3:7—Security
  44. Keep My Commandments—John 14:15—Diligence
  45. Watch and Pray—Matthew 26:41—Endurance
  46. Feed My Sheep—John 21:15–16—Dependability
  47. Baptize My Disciples—Matthew 28:19—Cautiousness
  48. Receive God’s Power—Luke 24:49—Orderliness
  49. Make Disciples—Matthew 28:20—Flexibility

The Institute of Basic Life Principals

Android OS Secret codes and commands

Google Android is a highly customizable operating system. Almost all the required features and diagnostics are available through menu, but still it is fun playing with some of the hidden codes. Few of them are really cool and useful in some situation.

Phone and Battery information Code: *#*#4636#*#*

  This will display information about your phone and battery. It shows following 4 menus on screen: Phone information Battery information Battery history Usage statistics Factory Data reset Code: *#*#7780#*#*This code is used for a factory data reset. After entering this code you will get this message -


This will erase all data from your phone`s internal storage, including Google account System and application data and settings Downloaded applications Option to format USB storage Full Factory Format Code: *2767*3855# (Dangerous)
Think before you give this code. This code is used for factory format. It’ll remove all files and settings including the internal memory storage. It’ll also reinstall the phone firmware.
Caution: Once you give this code, there is no way to cancel the operation unless you remove the battery from the phone. So think twice before giving this code.
GTalk Service Monitor Code: *#*#8255#*#*
Advance Codes
Camera Firmware settings Code: *#*#34971539#*#*


This code is used to get information about phone camera. It shows following 4 menus:Caution - Never try to upgrade the camera FW otherwise you may have to goto service center to restore camera operations.
Service mode Codes:
*#*#197328640#*#* - This code can be used to enter into Service mode. You can run various tests and change settings in the service mode.

WLAN, GPS and Bluetooth Test Codes:
*#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#* - WLAN test (Use “Menu” button to start various tests)
*#*#232338#*#* - Shows WiFi MAC address
*#*#1472365#*#* - GPS test
*#*#1575#*#* - Another GPS test
*#*#232331#*#* - Bluetooth test
*#*#232337#*# - Shows Bluetooth device address
Codes to get Firmware version information:
*#*#4986*2650468#*#* - PDA, Phone, H/W, RFCallDate
*#*#1234#*#* - PDA and Phone
*#*#1111#*#* - FTA SW Version
*#*#2222#*#* - FTA HW Version
*#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number
Codes to launch various Factory Tests:
*#*#0283#*#* - Packet Loopback
*#*#0*#*#* - LCD test
*#*#0673#*#* OR *#*#0289#*#* - Melody test
*#*#0842#*#* - Device test (Vibration test and BackLight test)
*#*#2663#*#* - Touch screen version
*#*#2664#*#* - Touch screen test
*#*#0588#*#* - Proximity sensor test
*#*#3264#*#* - RAM version
We have tested these codes on Samsung Galaxy S2 i9100. Please use these codes at your own risk and take backup of your data before playing.

1 Kings 8:58 “May He turn our hearts to Him, to walk in all His ways and to keep the commands, decrees and regulations He gave our fathers.”

A relationship that has Christ in the center is pleasing to God. In everything you do, you’re doing it for God and you want to follow His ways and keep His commands. Let’s strive everyday to desire God more and more and obey His commands and decrees.

Text
Photo
Quote
Link
Chat
Audio
Video