Skip to content

Instantly share code, notes, and snippets.

View fmeyer's full-sized avatar
👨‍💻
Grinding

Fernando Meyer fmeyer

👨‍💻
Grinding
View GitHub Profile

Secure Data Transfer Model Overview

Background Knowledge

  • The session covers the basics of the Input/Output Memory Management Unit (IOMMU) and virtual IOMMU, and why there is a need for a new secure data transfer model.
  • The IOMMU is a hardware unit that handles I/O translation and device isolation. A virtual IOMMU acts like a real one.

Current Data Transfer Model and Its Limitations

  • The current data transfer model involves exposing the entire guest memory address space to the driver, which could potentially be exploited by malicious programs.
@fmeyer
fmeyer / gist:9a6138563b8d46992b979c40fda1e58d
Created November 10, 2023 21:01 — forked from chrisdone/gist:02e165a0004be33734ac2334f215380e
Build and run minimal Linux / Busybox systems in Qemu

Common

export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS

Linux kernel

Summary

Holographic Wormhole

  • The journal "Nature" published a cover story about a holographic wormhole created inside a quantum computer, sparking a flurry of tweets and news headlines.
  • No wormhole has been observed or produced.
  • The wormhole is a mathematical representation within a quantum computer.
  • The story exaggerated the creation of a wormhole and the capabilities of quantum computers.
  • This incident is an example of bad communication within the scientific community.

Incentives and Bad Communication in Science

OpenAI DevDay Key Announcements

Past Accomplishments

  1. A year ago, OpenAI launched ChatGPT as a "low-key research preview".
  2. In March, they launched GPT-4, the most capable model in the world.
  3. They have since launched voice and vision capabilities for ChatGPT.
  4. DALL-E 3, the world's most advanced image model was recently launched.
  5. For enterprise customers, they launched ChatGPT Enterprise with increased security, privacy, and speed.
  6. OpenAI has around 2 million developers building on their API and about a hundred million weekly active users on ChatGPT.
@fmeyer
fmeyer / alien.pov
Created July 29, 2023 23:05
Povray scene
#declare FrameNumber = clock; // clock ranges from 0 to 1
camera {
location <FrameNumber * 10, FrameNumber * 10, -20>
look_at <0, 0, 0>
angle 60 // Adjust the field of view, larger means wider field of view.
}
// Light source
light_source {
#!/usr/bin/env bash
#
# gist-backup
#
# Backs up all your public and private gists
# to the given directory.
#
# Example:
#
# gist-backup ~/gist-backups
@fmeyer
fmeyer / logbook
Last active June 13, 2022 22:20
Renders a Github Wiki with the content and entries from a log book
#!/bin/bash
cd ~/code/logdata.wiki/ || exit
TS=$(date +'%H:%M:%S')
DS=$(date +'%Y-%m-%d')
YEAR=$(date +'%Y')
CURRENT_LOG_DIR="logs/$YEAR/"
# check if current log year exists, creates if no
if [ ! -d "$CURRENT_LOG_DIR" ]; then
mkdir -p "$CURRENT_LOG_DIR"
fi
@fmeyer
fmeyer / thing.js
Last active June 3, 2021 12:06
Unfollow everyone on linkedin
// Go to here https://www.linkedin.com/feed/following/?filterType=connection
// open the chrome dev tools console
// paste the following
// go grab a cup of tea
// get rid of all life coach from linkedin
var buttons = $('button'), interval = setInterval(function() {
var btn = $('.is-following');
console.log('Clicking:', btn);
btn.click();
@fmeyer
fmeyer / gist_cleanup.js
Last active March 20, 2021 17:34 — forked from gabmontes/delete-all-my-gists.js
Gist cleanup
var async = require('async');
var GitHubApi = require('@octokit/rest');
var github = new GitHubApi({
version: '3.0.0',
});
github.authenticate({
type: 'oauth',
token: 'XXXXXXX'
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
// This program produced false race reports when run under the C/C++
// ThreadSanitizer, as it did not understand the synchronization in
// the Go code.