Complete setup guide for local search + cognitive security for AI agents
| Tool | Repo | Creator |
|---|
| import collections, random, sys, textwrap | |
| # Build possibles table indexed by pair of prefix words (w1, w2) | |
| w1 = w2 = '' | |
| possibles = collections.defaultdict(list) | |
| for line in sys.stdin: | |
| for word in line.split(): | |
| possibles[w1, w2].append(word) | |
| w1, w2 = w2, word |
Audience: I assume you heard of chatGPT, maybe played with it a little, and was imressed by it (or tried very hard not to be). And that you also heard that it is "a large language model". And maybe that it "solved natural language understanding". Here is a short personal perspective of my thoughts of this (and similar) models, and where we stand with respect to language understanding.
Around 2014-2017, right within the rise of neural-network based methods for NLP, I was giving a semi-academic-semi-popsci lecture, revolving around the story that achieving perfect language modeling is equivalent to being as intelligent as a human. Somewhere around the same time I was also asked in an academic panel "what would you do if you were given infinite compute and no need to worry about labour costs" to which I cockily responded "I would train a really huge language model, just to show that it doesn't solve everything!". We
| const path = require("path"); | |
| const fs = require("fs"); | |
| const puppeteer = require("puppeteer-extra").use(require("puppeteer-extra-plugin-stealth")()); | |
| const imagesToPdf = require("images-to-pdf"); | |
| (async () => { | |
| const browser = await puppeteer.launch({ | |
| userDataDir: path.join(process.cwd(), "tmp"), | |
| ignoreHTTPSErrors: true, | |
| headless: false, |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
| library(shiny) | |
| disableActionButton <- function(id,session) { | |
| session$sendCustomMessage(type="jsCode", | |
| list(code= paste("$('#",id,"').prop('disabled',true)" | |
| ,sep=""))) | |
| } | |
| shinyServer(function(input, output,session) { | |
| var mongoObjectId = function () { | |
| var timestamp = (new Date().getTime() / 1000 | 0).toString(16); | |
| return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() { | |
| return (Math.random() * 16 | 0).toString(16); | |
| }).toLowerCase(); | |
| }; |
| express = require("express") | |
| request = require("request") | |
| BufferList = require("bufferlist").BufferList | |
| app = express.createServer(express.logger(), express.bodyParser()) | |
| app.get "/", (req, res) -> | |
| if req.param("url") | |
| url = unescape(req.param("url")) | |
| request | |
| uri: url | |
| encoding: 'binary' |