Skip to content

Instantly share code, notes, and snippets.

View deobald's full-sized avatar
🧀
eating cheese and being afraid

Steven Deobald deobald

🧀
eating cheese and being afraid
View GitHub Profile
@deobald
deobald / open_arrow_ipc_stream.py
Created January 18, 2024 01:31
Open an Apache Arrow IPC stream
import pyarrow as pa
stream = pa.input_stream('streamed.arrow')
buf = stream.read()
with pa.ipc.open_stream(buf) as reader:
schema = reader.schema
print(schema)
@deobald
deobald / open_arrow_ipc_file.py
Last active January 18, 2024 01:30
View Apache Arrow IPC File
import pyarrow as pa
stream = pa.input_stream('hello.arrow')
buf = stream.read()
with pa.ipc.open_file(buf) as reader:
schema = reader.schema
print(schema)
reader.get_batch(0)
@deobald
deobald / endb_why_comments.md
Created November 17, 2023 16:41
Endatabas Why Document - notes

Unchanged

  • "many-tentacled leviathan" - again, debate around the overall tone.
    • Too Lovecraftian? I agree this is too colourful but I'm actually struggling to write this sentence in neutral language without it reading so watered down as to feel like boilerplate, but that's a problem with the entire document, I suppose. Suggestions very welcome.

Fixed, but require sanity-check

  • "When considering alternatives, there are no contenders." - obvious/direct contenders?

Who Are We - Steven (5 seconds)

  • hello Y Combinator! I'm Steven (And I'm Håkan)
  • we met in Bangalore in 2007

Roles - Steven (15 seconds)

  • over past 5 - 10 years:
    • we've been building immutable databases and running companies, respectively
  • so we'll be CTO and CEO, respectively

Who Are We - Steven (5 seconds)

  • hello Y Combinator! I'm Steven (And I'm Håkan)
  • we met in Bangalore in 2007

Roles - Steven (15 seconds)

  • over past 5 - 10 years:
    • we've been building immutable databases and running companies, respectively
  • so we'll be CTO and CEO, respectively
KeyPress event, serial 37, synthetic NO, window 0x800001,
root 0x4a1, subw 0x0, time 145066, (89,124), root:(139,302),
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x800001,
root 0x4a1, subw 0x0, time 145096, (89,124), root:(139,302),
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,

Hi everyone,

Preethi and I have been experimenting with hosting Wednesday group sits at our house.

We have been sending out notices via email for now. Please send an email to steven at deobald dot ca if you would like us to add you to that email list.

How to get here

[
{
"id": 0,
"type": "PipeWire:Interface:Core",
"version": 3,
"permissions": [ "r", "w", "x", "m" ],
"info": {
"cookie": 613643184,
"user-name": "steven",
"host-name": "catu",
@deobald
deobald / book.toml
Created April 7, 2023 14:02
book.toml for failing `mdbook-pdf-outline` build
[book]
authors = ["Steven Deobald", "Håkan Råberg"]
language = "en"
multilingual = false
src = "src"
title = "The Endatabas Book"
# chapter-level ToC ... perhaps not necessary,
# but it's here if we want it.
[preprocessor.toc]
@deobald
deobald / mdbook_trace.txt
Created April 7, 2023 13:59
Trace of failing `mdbook-pdf-output` gen
$ RUST_BACKTRACE=full RUST_LOG=trace mdbook build
2023-04-07 10:57:25 [DEBUG] (mdbook::book): Loading config from /home/steven/work/endatabas/endb-book/book.toml
2023-04-07 10:57:25 [DEBUG] (mdbook::config): Updating the config from environment variables
2023-04-07 10:57:25 [TRACE] (mdbook::book): Config: Config {
2023-04-07 10:57:25 [TRACE] (mdbook::book): book: BookConfig {
2023-04-07 10:57:25 [TRACE] (mdbook::book): title: Some(
2023-04-07 10:57:25 [TRACE] (mdbook::book): "The Endatabas Book",
2023-04-07 10:57:25 [TRACE] (mdbook::book): ),
2023-04-07 10:57:25 [TRACE] (mdbook::book): authors: [
2023-04-07 10:57:25 [TRACE] (mdbook::book): "Steven Deobald",