User:Markvandenheuvel/prototyping: Difference between revisions

From XPUB & Lens-Based wiki
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:




=Prototyping Session 01 (with Andre Castro) =
=Prototyping Session 01 (with Andre) =
date: 16-09-2019 <br>
date: 16-09-2019 <br>
pad: https://pad.xpub.nl/p/prototyping-20190916
pad: https://pad.xpub.nl/p/prototyping-20190916
Line 13: Line 13:
[[File:Raspberry-p-3-bird.jpg|500px|none|Rasperry Pi]]
[[File:Raspberry-p-3-bird.jpg|500px|none|Rasperry Pi]]


*Basic tasks & experiments:
Basic tasks & experiments:
:* Logging into the Raspberry Pi <br>
:* Logging into the Raspberry Pi <br>
:* printing with Matrix printer, ascii word-art generator [http://pzwiki.wdka.nl/mediadesign/Unix_Sandbox#Manipulating_text (more)], text-to-speech
:* printing with Matrix printer, ascii word-art generator [http://pzwiki.wdka.nl/mediadesign/Unix_Sandbox#Manipulating_text (more)], text-to-speech
Line 33: Line 33:
* [https://files.fosswire.com/2007/08/fwunixref.pdf Unix cheatsheet for basic commands] <br>
* [https://files.fosswire.com/2007/08/fwunixref.pdf Unix cheatsheet for basic commands] <br>
* [http://pzwiki.wdka.nl/mediadesign/Unix_Sandbox#Manipulating_text Manipulating text in Unix] <br>
* [http://pzwiki.wdka.nl/mediadesign/Unix_Sandbox#Manipulating_text Manipulating text in Unix] <br>
<br>


 
=Prototyping Session 02 (with Andre)=
=Prototyping Session 02 (with Andre Castro)=
date: 30-09-2019 <br>
date: 30-09-2019 <br>
pad: https://pad.xpub.nl/p/prototyping-20190930
pad: https://pad.xpub.nl/p/prototyping-20190930


*Basic tasks & experiments:
*Basic tasks & experiments:
:* Creating and cofigured personal Keys (passphrase) for R-Pi  
:* Creating and configuring Secure Shell keys (SSH) for R-Pi  
:* Introduction to GIT
:* Introduction to GIT and working with repositories
:* Configuring GIT and working with repositories


== How to work with GIT & repositories in UNIX ==
== How to work with GIT & repositories in UNIX ==


'''How to initiate a git repository?'''
A git project will have a parent folder on your local machine or remote (R-Pi) <BR>
git init
View Pad and text notes for step-by-step Q&A for troubleshooting.
'''How do I create a (version) commit of my project?'''
git status
git add (f.e: index.html style.css)
git commit -m "first 2 files of website"
git log
'''What did change since my last commit?'''
git diff
git diff style.css
'''How do i remove the changes of a file before it gets commited?'''
git checkout -- style.css
git restore style.css
'''How do i see what my project looked like in a cetain commit, and how do I go back to where I was (HEAD)?'''
'''How do I go back in history my changes?'''
git revert
 
'''How do I create a remote and push my changes to that remote?'''
https://hub.xpub.nl/sandbox~markvandenheuvel


== Git with others==
==Specials issues website==
==Specials issues website==
* location spcial issue #10: https://git.xpub.nl/XPUB/special-issue-x/
* location Special Issue #10: https://git.xpub.nl/XPUB/special-issue-x/
* repository: https://git.xpub.nl/XPUB/issue.xpub.nl
* repository: https://git.xpub.nl/XPUB/issue.xpub.nl
* publishing url: https://issue.xpub.nl/ https://issue.xpub.nl/10
* publishing url: https://issue.xpub.nl/ https://issue.xpub.nl/10
* recepy for working w/ git.xpub.nl: http://pzwiki.wdka.nl/mediadesign/Git#Cloning_from_git.xpub.nl
* recipe for working w/ git.xpub.nl: http://pzwiki.wdka.nl/mediadesign/Git#Cloning_from_git.xpub.nl
 
<br>
'''How do I clone a repository from git.xpub.nl?'''
git clone (link)
 
'''Make your changes and commit'''
git commit -m 'added new quote'
git commit -a -m 'edited links'
 
'''How publish my commit back to the "remote"?'''
git push
 
'''How do I avoid conflicts?'''
git pull origin master
 
Before you go back to working on projects, where you are not the only collaborators.
 
'''How do I deal with conflicts?'''
<br> Merge conflicts can happen when you are about to push your commit, however git is not able to merge you commit into the remote, probably because another collaborator was also working on the same fil.
 
 


=Prototyping Session 01 (with Michael)=
=Prototyping Session 01 (with Michael)=
Line 98: Line 60:




'''topics & experiments'''
'''Topics & experiments:
* Evolution of binary code (Boolean algebra, A Mathematical Theory of Communication)
* Evolution of binary code (Boolean algebra, A Mathematical Theory of Communication)
* Human calculator experiment (binary computation reconstructed by students)
* Human calculator experiment (binary computation reconstructed by students)
* AND gates, OR gates, NAND gates
* [https://en.wikipedia.org/wiki/AND_gate AND gates], [https://en.wikipedia.org/wiki/OR_gate OR gates],[https://en.wikipedia.org/wiki/NAND_gate NAND gates]
* Generating low oscillating frequencies and adding them to the Meergranen in Audacity to modulate other modules
* Generating [https://en.wikipedia.org/wiki/Low-frequency_oscillation low oscillating frequencies] and adding them to the Meergranen in Audacity to modulate other modules
* Clapping music: approaching programming this piece of music with Arduino
* Clapping music: approaching programming this piece of music with Arduino
[[File:Hexa-bin-num.jpg]]


===links===
===links===
* https://www.arduino.cc/reference/en/
* Binairy basics: https://youtu.be/LpuPe81bc2w <br>
* Binairy basics: https://youtu.be/LpuPe81bc2w <br>
* Adder Electronics: https://en.wikipedia.org/wiki/Adder_(electronics)
* Adder Electronics: https://en.wikipedia.org/wiki/Adder_(electronics)
<br>
=Pads=
Session 1: https://pad.xpub.nl/p/prototyping-20190916 <br>
Session 2: https://pad.xpub.nl/p/prototyping-20190930 <br>
Session 3: https://pad.xpub.nl/p/prototypingm01 <br>

Latest revision as of 22:40, 4 October 2019


Prototyping Session 01 (with Andre)

date: 16-09-2019
pad: https://pad.xpub.nl/p/prototyping-20190916

UNIX

UNIX is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, development starting in the 1970s at the Bell Labs research center. The OS made it possible for a lot of users to interact with a single machine at the same time. Before, this was done by a batch process via an operator/administrator.

Rasperry Pi

Raspberry Pi is a small single board computer used for learning basic computer science.

Rasperry Pi

Basic tasks & experiments:

  • Logging into the Raspberry Pi
  • printing with Matrix printer, ascii word-art generator (more), text-to-speech
  • creating public_html directory and index.html on the Sandbox (note: remote login not possible)
  • modifying texts (bio) through Terminal using Dadadodo and SED (changing and replacing certain characters)
  • working with Unix HTML - editor: ne nice editor
  • chaining programs a.k.a PIPING (command: |) / concatonate files (command: CAT)


IP adres of the Pi:

145.24.139.127

Copying files from personal machine to Sandbox:

scp file.txt username@145.24.139.127:/home/username

other useful & interesting links


Prototyping Session 02 (with Andre)

date: 30-09-2019
pad: https://pad.xpub.nl/p/prototyping-20190930

  • Basic tasks & experiments:
  • Creating and configuring Secure Shell keys (SSH) for R-Pi
  • Introduction to GIT and working with repositories

How to work with GIT & repositories in UNIX

A git project will have a parent folder on your local machine or remote (R-Pi)
View Pad and text notes for step-by-step Q&A for troubleshooting.

Specials issues website


Prototyping Session 01 (with Michael)

date: 02-10-2019
pad: https://pad.xpub.nl/p/prototypingm01


Topics & experiments:

  • Evolution of binary code (Boolean algebra, A Mathematical Theory of Communication)
  • Human calculator experiment (binary computation reconstructed by students)
  • AND gates, OR gates,NAND gates
  • Generating low oscillating frequencies and adding them to the Meergranen in Audacity to modulate other modules
  • Clapping music: approaching programming this piece of music with Arduino

Hexa-bin-num.jpg

links


Pads

Session 1: https://pad.xpub.nl/p/prototyping-20190916
Session 2: https://pad.xpub.nl/p/prototyping-20190930
Session 3: https://pad.xpub.nl/p/prototypingm01