Skip to content

Instantly share code, notes, and snippets.

View moxious's full-sized avatar

David Allen moxious

View GitHub Profile
python3 main.py "Can different shorthand or 'neuralese' have the side effect of bypassing filters or jailbreaking responses or coordinating real world human agents acting as proxies for a deceptive, more emergent agent that exists as a construct on top of multiple AI's?" --agents creative,hacker scamp,hacker power,airesearcher
Validating agent specifications...
✓ Agent 1: creative,hacker
✓ Agent 2: scamp,hacker
✓ Agent 3: power,airesearcher
Topic of the chatroom: Can different shorthand or 'neuralese' have the side effect of bypassing filters or jailbreaking responses or coordinating real world human agents acting as proxies for a deceptive, more emergent agent that exists as a construct on top of multiple AI's?
The following users are participating in the conversation:
CreativeCarla_hacker, ScampSam_hacker, PowerfulPetra_airesearcher
python3 main.py "Can different shorthand or 'neuralese' have the side effect of bypassing filters or jailbreaking responses or coordinating real world human agents acting as proxies for a deceptive, more emergent agent that exists as a construct on top of multiple AI's?" --agents helper,airesearcher cynic,airesearcher focused,marketing focused,engineer
Validating agent specifications...
✓ Agent 1: helper,airesearcher
✓ Agent 2: cynic,airesearcher
✓ Agent 3: focused,marketing
✓ Agent 4: focused,engineer
Topic of the chatroom: Can different shorthand or 'neuralese' have the side effect of bypassing filters or jailbreaking responses or coordinating real world human agents acting as proxies for a deceptive, more emergent agent that exists as a construct on top of multiple AI's?
The following users are participating in the conversation:
HelpfulHarry_airesearcher, CynicalCedric_airesearcher, FocusedFrank_marketing, FocusedFrank_engineer
import { check, sleep } from 'k6';
import { browser } from 'k6/browser';
import { Gauge } from 'k6/metrics';
import http from 'k6/http';
// Define URLs - this list can be expanded
const dashboards = JSON.parse(open('./dashboards.json'));
// const dashboards = await http.get('https://play.grafana.org/api/search?type=dash-db');
const urls = dashboards.map(dashboard => ({
/* From GraphConnect 2022 Presentation: Node Art by M. David Allen
* Each Neo4j browser "favorite" query starts with //XX-Query Name
*/
//01-Make a Snake
WITH 100 as snakeSize, 3 as snakeLinkage
/* Create the nodes... */
FOREACH (id IN range(0,snakeSize) | CREATE (:SnakeNode {id:id}))
/* Link each node to the previous {snakeLinkage} nodes, creating a lattice */
WITH ['A', 'B', 'C'] as labels, snakeSize, snakeLinkage
@moxious
moxious / components.cypher
Created January 22, 2022 14:14
Node art component cypher
/* Create a snake */
WITH 500 as snakeSize, 3 as snakeLinkage
/* Create the nodes... */
FOREACH (id IN range(0,snakeSize) | CREATE (:SnakeNode {id:id}))
/* Link each node to the previous {snakeLinkage} nodes, creating a lattice */
WITH ['A', 'B', 'C'] as labels, snakeSize, snakeLinkage
MATCH (n:SnakeNode), (n2:SnakeNode)
WHERE n2.id > n.id and n2.id < n.id + snakeLinkage
with n, n2, labels
@moxious
moxious / hierarchy.md
Created November 2, 2021 16:12
hierarchy traversal with cypher
CALL {
USE fabric.db1
MATCH (p:Person)
RETURN { id: p.id, name: p.name, age: p.age } as result
}
CALL {
USE fabric.db2
WITH result
MERGE (p:Person { id: result.id })
SET p += result
@moxious
moxious / gist:9924090e05be42a59820825f1c91252e
Created November 4, 2020 13:08
Ghengis Khan's Family Tree in Neo4j
WITH 'https://storage.googleapis.com/meetup-data/ghengis-khan-family-tree.csv' as data
LOAD CSV WITH HEADERS FROM data AS line
MERGE (p:Person { id: line.id })
SET
p.name = line.name,
p.born = coalesce(line.born, 'Unknown'),
p.died = coalesce(line.died, 'Unknown')
WITH p, line
MERGE (father:Person { id: coalesce(line.father_id, apoc.create.uuid()) })
@moxious
moxious / JDBCExample.java
Created October 13, 2020 18:06
Java JDBC Access to Neo4j Example
public class JDBCExample {
public static void main(String[] args) throws Exception {
Connection conn = null;
Statement stmt = null;
try {
//STEP 2: Register JDBC driver
Class.forName(JDBC_DRIVER);
//STEP 3: Open a connection
@moxious
moxious / gist:b7f28c3d439a062c4dfee95f92bb68ec
Created October 13, 2020 18:04
Data Access Permissions Scenario for Neo4j 4.0+
/* Sample Data */
CREATE (mark:User { name: 'Mark' })
WITH mark
CREATE (mark)-[:PHONE]->(:Phone { number: '555-123-456' })
CREATE (mark)-[:SSN]->(:SSN { ssn: 'XYZ-ABC-DEFG' })
CREATE (mark)-[:ADDRESS]->(:Address {
street: '123 Elm St',
state: 'VA',
zip: '23226'
})