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 {
// 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.
@fmeyer
fmeyer / gist:7c5f05eb90d1a367d18018fecb2b5275
Created June 19, 2020 07:03
Test sanitizer race condition
##### ../misc/cgo/testsanitizers
--- FAIL: TestShared (0.03s)
--- FAIL: TestShared/tsan_shared (2.19s)
cshared_test.go:71: `/tmp/TestShared464897178/tsan_shared` exited with exit status 66
==================
WARNING: ThreadSanitizer: data race (pid=146300)
Write of size 8 at 0x7fc3bfc95c10 by thread T1:
#0 pthread_attr_getstacksize <null> (tsan_shared+0x00000041d5c2)
#1 x_cgo_init <null> (libtsan_shared.so+0x000000098a15)
<center>
{{ if .IsNamedParams }}
{{- $site := .Get "site" -}}
{{- $name := .Get "name" -}}
{{- $domains := split $site "," -}}
{{- $domains := apply $domains "printf" "site:%s" "." -}}
{{- $domains := delimit $domains " || " -}}
{{- $domains := printf " ( %s )" $domains -}}
@fmeyer
fmeyer / content.md
Created May 7, 2020 20:51
Gist from Drafts

Werfqwerqwe

Keybase proof

I hereby claim:

  • I am fmeyer on github.
  • I am fmeyer (https://keybase.io/fmeyer) on keybase.
  • I have a public key ASACZeH6C6IwHYvOSvYXk71kOPmjafmtEmGpzf7NvrvatQo

To claim this, I am signing this object: