Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanwahab committed Oct 14, 2024
1 parent 79ff034 commit 52cf734
Show file tree
Hide file tree
Showing 7 changed files with 5,988 additions and 42 deletions.
74 changes: 70 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@observablehq/runtime": "5",
"@octokit/rest": "^21.0.2",
"@roboticsuniversity/agent-dashboard": "https://api.observablehq.com/@roboticsuniversity/[email protected]?v=3",
"@roboticsuniversity/alan_how": "https://api.observablehq.com/@roboticsuniversity/alan_how@110.tgz?v=3",
"@roboticsuniversity/alan_how": "https://api.observablehq.com/@roboticsuniversity/alan_how.tgz?v=3",
"@roboticsuniversity/dynamicland": "https://api.observablehq.com/@roboticsuniversity/dynamicland.tgz?v=3",
"@roboticsuniversity/livekit": "https://api.observablehq.com/@roboticsuniversity/livekit.tgz?v=3",
"@roboticsuniversity/ode-to-dynamicland-org": "https://api.observablehq.com/@roboticsuniversity/ode-to-dynamicland-org.tgz?v=3",
Expand All @@ -56,7 +56,7 @@
"ollama": "^0.5.9",
"openai": "^4.67.3",
"playwright": "^1.47.2",
"playwright-crx": "^0.9.0",
"playwright-crx": "^0.9.0",
"postcss": "^8.4.47",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
73 changes: 65 additions & 8 deletions views/odyssey/Dynamichow.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
import React from 'react';
import TwitchPlaysPokemonPanel from './TwitchPlaysPokemonPanel';
import notebook from "@roboticsuniversity/alan_how";
import notebook2 from "@roboticsuniversity/dynamicland";//"@roboticsuniversity/voxels-diffusion-policy-3d";
// analyze seinfeild - cant be constant comedy - some boring parts -- watch youtube -with vonnegut annotaion - tvroeps is a datum
// kapil gupta was a doctor who discovered presiciptriosn were like sledge hammers for yuor neurons - AUC - attia + sapolsky ->
// https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable


function Alanhow() {
const planeDivRef = useRef();
const viewofXRotRef = useRef();
const viewofYRotRef = useRef();

useEffect(() => {
const runtime = new Runtime();
runtime.module(notebook, name => {
if (name === "planeDiv") return new Inspector(planeDivRef.current);
if (name === "viewof xRot") return new Inspector(viewofXRotRef.current);
if (name === "viewof yRot") return new Inspector(viewofYRotRef.current);
});
return () => runtime.dispose();
}, []);

return (
<>
<div ref={planeDivRef} />
<div ref={viewofXRotRef} />
<div ref={viewofYRotRef} />
<p>Credit: <a href="https://observablehq.com/@roboticsuniversity/alan_how">ALan - how? by roboticsuniversity</a></p>
</>
);
}




//export default Alanhow;


function DynamicLand() {
const viewofModuleNameRef = useRef();

useEffect(() => {
const runtime = new Runtime();
runtime.module(notebook2, name => {
if (name === "viewof moduleName") return new Inspector(viewofModuleNameRef.current);
return ["basicRequire","dynamicImport","skypackImport","bundleRun","scavengingForLinks","globalLeaksPattern","pkg"].includes(name);
});
return () => runtime.dispose();
}, []);

return (
<>
<div ref={viewofModuleNameRef} />
<p className="text-green-100">Credit: <a href="https://observablehq.com/@observablehq/module-require-debugger">LIVE KIT = WEBRTC = GREAT</a></p>
</>
);
}

function TeleGuidanceFrame(props) {
let src = props.link;
Expand All @@ -21,7 +78,7 @@ console.log("returning iframe", src)

import {useRef, useEffect} from "react";
import {Runtime, Inspector} from "@observablehq/runtime";
import notebook from "@roboticsuniversity/alan_how";
//import notebook from "@roboticsuniversity/alan_how";
// function Alanhow() {
// // const ref = useRef();

Expand All @@ -43,14 +100,14 @@ import notebook from "@roboticsuniversity/alan_how";
// export default Alanhow;


function Alanhow() {
return <iframe
// function Alanhow() {
// return <iframe

className="border border-white/10 h-96 object-cover object-left w-full"
src="https://observablehq.com/embed/@roboticsuniversity/alan-how?cell=*"
></iframe>
// className="border border-white/10 h-96 object-cover object-left w-full"
// src="https://observablehq.com/embed/@roboticsuniversity/alan-how?cell=*"
// ></iframe>

}
// }
function DynamicLandOde() {
return <iframe width="100%" height="660" frameborder="0"
src="https://observablehq.com/embed/@roboticsuniversity/dynamicland?cells=staticDynamicland"></iframe>
Expand Down Expand Up @@ -87,7 +144,7 @@ function DynamicHow() {



<DynamicLandOde />
<DynamicLand />



Expand Down
13 changes: 13 additions & 0 deletions views/odyssey/PowerPoints.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
// import text from "./human_robot.txt"


//seuqelitis
//metal gear solid - explain war
// fallouit - war never changes -

function PowerPoint(){
// mega man x
// current status quo - founder of way mo - hoe noe robots will eat us - people are ivevil wow
Expand All @@ -12,5 +16,14 @@ function PowerPoint(){
}



// import admin panel
// import reflect + alll email
// proxy somehow?
// finish flirt flow - iframe on a proxy of a webrtc rustddesk + swipe on peopel you like + first 50% smalltalk -> ask 3 questions - based on asnwer -> send phone number
// cgi TOOLS + LLAMA TOOSL .com
// link to bumble ceo saying - ai matchatmaking

// link to ocarina of time - sorry go back to your time lime -> no one cares + gannon = past. - all we have is wisomd can docurgage -
export default PowerPoint;

15 changes: 8 additions & 7 deletions views/odyssey/TeleGuidance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ import notebook2 from "@roboticsuniversity/robotics-hardware";
import notebook3 from "@roboticsuniversity/voxels-diffusion-policy-3d";//"@roboticsuniversity/voxels-diffusion-policy-3d";

function Livekit() {
const viewofModuleNameRef = useRef();
const lOGORef = useRef();

useEffect(() => {
const runtime = new Runtime();
runtime.module(notebook1, name => {
if (name === "viewof moduleName") return new Inspector(viewofModuleNameRef.current);
return ["basicRequire","dynamicImport","skypackImport","bundleRun","scavengingForLinks","globalLeaksPattern","pkg"].includes(name);
console.log(name)
if (name === "LOGO") return new Inspector(lOGORef.current);
});
return () => runtime.dispose();
}, []);

return (
<>
<div ref={viewofModuleNameRef} />
<p class="text-green-100">Credit: <a href="https://observablehq.com/@observablehq/module-require-debugger">LIVE KIT = WEBRTC = GREAT</a></p>
<div ref={lOGORef} />
<p>Credit: <a href="https://observablehq.com/@roboticsuniversity/livekit@132">TeleGuidance - Cooperative Robotics Control by roboticsuniversity</a></p>
</>
);
}
Expand All @@ -40,7 +40,7 @@ function RoboticsHardware() {
return (
<>
<div ref={viewofModuleNameRef} />
<p class="text-green-100">Credit: <a href="https://observablehq.com/@observablehq/module-require-debugger">LIVE KIT = WEBRTC = GREAT</a></p>
<p className="text-green-100">Credit: <a href="https://observablehq.com/@observablehq/module-require-debugger">LIVE KIT = WEBRTC = GREAT</a></p>
</>
);
}
Expand All @@ -60,7 +60,7 @@ function DiffusionVoxelPointCloud() {
return (
<>
<div ref={viewofModuleNameRef} />
<p class="text-green-100">Credit: <a href="https://observablehq.com/@observablehq/module-require-debugger">LIVE KIT = WEBRTC = GREAT</a></p>
<p className="text-green-100">Credit: <a href="https://observablehq.com/@observablehq/module-require-debugger">LIVE KIT = WEBRTC = GREAT</a></p>
</>
);
}
Expand Down Expand Up @@ -207,3 +207,4 @@ const list_of_links = [
// bun add "https://api.observablehq.com/@roboticsuniversity/robotics-hardware.tgz"
// bun add "https://api.observablehq.com/@roboticsuniversity/3-planning-prediction.tgz"
// bun add "https://api.observablehq.com/@roboticsuniversity/voxels-diffusion-policy-3d.tgz"

Loading

0 comments on commit 52cf734

Please sign in to comment.