Briki: Difference between revisions

From XPUB & Lens-Based wiki
Line 88: Line 88:


<span style="color: white; font-family: Courier; background-color: black;"> Code:
<span style="color: white; font-family: Courier; background-color: black;"> Code:
<!DOCTYPE html>
<html>
<head>
<title>Encoding Converter</title>
<meta charset="UTF-8">
    <!-- CSS -->
    <link rel="stylesheet" href="./enconv.css">
<!-- fonts -->
<link rel="stylesheet" href="/fonts/worksans/stylesheet.css">
</head>
<body>
<!-- Nav bar -->
<nav>
<nowiki><ul style="list-style-type:none;"></nowiki>
<nowiki><li><a href="references.html">references</a></nowiki><nowiki></li></nowiki>
  <nowiki></ul></nowiki>
</nav> 
<nowiki><h1>Encoding Converter</h1></nowiki>
<nowiki><h2>Type a word, click 'convert' and let the en-coding magic begin!</h2></nowiki>
<nowiki></div></nowiki>
<nowiki><p>The table below is a look behind-the-scenes at what really happens when you type. You know, when you press a key and the computer somehow magically knows what you meant to say? Well, our buddy Javascript is here to break it down for you in all its nerdy glory.<br></nowiki>
<nowiki><br></nowiki>
Get ready for some wild en-codings, including binary, hexadecimal, decimal, phonetic cyrillic (*Charlie-Yankee-Romeo-India-Lima-Lima-India-Charlie - say that five times fast!), and even the xpub1 emoji alphabet.
<nowiki><br></nowiki>
So kick back, relax, and let's dive into the wacky world of character en-coding. En-joy!<nowiki></p></nowiki>
<!-- adding table with all encodings -->
<form>
<label for="input">Input:</label>
<input type="text" id="input" name="input" placeholder="Type a word...">
<button onclick="convert();">Convert</button>
</form>
<!-- adding table with all encodings -->
<nowiki><table id="result"></nowiki>
<nowiki><tr></nowiki>
<nowiki><th>Binary</th></nowiki>
<nowiki><th>Hexadecimal</th></nowiki>
<nowiki><th>Decimal</th></nowiki>
            <nowiki><th>Cyrillic*</th></nowiki>
<nowiki><th>Emoji</th></nowiki>
<nowiki></tr></nowiki>
<nowiki><tr></nowiki>
<nowiki><td id="BIN"></nowiki><nowiki></td></nowiki>
<nowiki><td id="HEX"></nowiki><nowiki></td></nowiki>
<nowiki><td id="DC"></nowiki><nowiki></td></nowiki>
<nowiki><td id="CY"></nowiki><nowiki></td></nowiki>
<nowiki><td id="E"></nowiki><nowiki></td></nowiki>
<nowiki></tr></nowiki>
<nowiki></table></nowiki>
</body>
<!-- adding the js converter function -->
  <script>
  <script>
  var d = {
  var d = {

Revision as of 16:31, 1 June 2023

SI21 TTY

Release 1 | April 24, 2023. The Briki.

This release was possible thanks to: Andrea di Serego Alighieri and Martino Morandi, SI21 guest editor. Written, edited and performed by XPUB1 and people inside the WdKA.


Pads: Wikipages on inscription: Questions for publishers:


Images:

Video compilation. XPUB1 meets TTY:

File:Tty-week1-video-18mb.mp4

Audio recoding of Kamau Brathwaite, Barbadian poet:

File:Tty-week1-KamauBrathwaite.mp3


(part of) The publication


Release 10 | May 15, 2023. Encoding Converter.


This release was possible thanks to: Roel Roscam Abbing and Martino Morandi, SI21 guest editor.

Pads: Git: Questions for publishers:


Images:

Code:

<script>
	var d = {
    'here there was a dictionary'
}
e = {
    ' ': ' ',
	'here there was a dictionary'
}
	function convert(){
		event.preventDefault();
		var charles = document.getElementById("input").value;
		var charlesBinary="";
		var charlesHex="";
		var charlesDec="";
		var charlesCY="";
		var charlesE="";
		for (var i=0;i<charles.length;i++){
			console.log(i,charles.charCodeAt(i));
			charlesBinary=charlesBinary+charles.charCodeAt(i).toString(2);
			charlesHex=charlesHex+charles.charCodeAt(i).toString(16);
			charlesDec=charlesDec+charles.charCodeAt(i).toString(10);
			if (d[charles[i]]==null){
				charlesCY=charlesCY+"□";
			}else{
				charlesCY=charlesCY+d[charles[i]];
			}
			if (e[charles[i]]==null){
				charlesE=charlesE+"□";
			}else{
				charlesE=charlesE+e[charles[i]];
			}
		}
		console.log(charles,charlesBinary,charlesHex,charlesDec,charlesCY,charlesE);
		document.getElementById("E").innerText=charlesE;
		document.getElementById("BIN").innerText=charlesBinary;
		document.getElementById("DC").innerText=charlesDec;
		document.getElementById("HEX").innerText=charlesHex;
		document.getElementById("CY").innerText=charlesCY;
		var tr=document.createElement("tr");
		tr.innerHTML="<td>"+charlesBinary+"</td>"+"<td>"+charlesHex+"</td>"+"<td>"+charlesDec+"</td>"+"<td>"+charlesCY+"</td>"+"<td>"+charlesE+"</td>";
		document.getElementsByTagName("tbody")[0].append(tr);
	}
</script>
</html>


Release 11 | We need to talk

Images:


Release 100 | Layers of Abstraction

Cloudstorming - ABS

Source:


Abstracting:


Z(oom)ine:


Release 101 | Phantom Operator


Release 110 | Impro Memory


Release 111 | LaaS


Release 1000 | Further Briking