Skip to content

Instantly share code, notes, and snippets.

View PoignardAzur's full-sized avatar
💭
Sleep mode off

Olivier FAURE PoignardAzur

💭
Sleep mode off
  • Paris, France
View GitHub Profile
Starting Deno language server...
version: 1.34.1 (release, x86_64-unknown-linux-gnu)
executable: /home/olivier-faure/.cargo/bin/deno
Connected to "Visual Studio Code" 1.78.2
Enabling import suggestions for: https://deno.land
Server ready.
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
layout title
post
Announcing Masonry 0.1, and my vision for Rust UI

When I see the landscape of native GUI in 2022, I feel like something is missing.

I don't just mean Rust UI. My frustrations with UI frameworks started long before I'd even heard of Rust.

The origin story: Qt and fear

@PoignardAzur
PoignardAzur / _druid_design_thoughts.md
Last active July 21, 2024 13:02
Druid design thoughts

These are snippets from a bunch of conversations / monologues I've had about GUI design on the Druid zulip.

Example:

a * b * c * d * e * f * g * h * i * j * 0

With rules:

- a * b <=> b * a
@PoignardAzur
PoignardAzur / parse_expr.rs
Last active May 25, 2022 09:53
An attempt to write a parser for Venial capable of consuming a list of Rust expressions without actually building a tree. It ended up being more trouble than it was worth.
use crate::{parse_utils::consume_stuff_until, types::Expression};
use proc_macro2::{Delimiter, Spacing, TokenTree};
use std::iter::Peekable;
type TokenIter = Peekable<proc_macro2::token_stream::IntoIter>;
// TODO - write expect_punct_next, expect_ident_next macros
// eg -> expect_punct_next(tokens, '|' | ',');
// TODO - explain assumptions
@PoignardAzur
PoignardAzur / opaque_consts_in_rust.md
Last active April 8, 2022 13:26
Opaque constants in Rust

This is a summary of a discussion we previously had on the rust-lang Zulip. The discussion is about a proposal regarding const generics in the Rust programming language.

The problem

With advanced const generics, library writers might write code like this:

trait Trait<const N: usize> {
    type Assoc;

A passive debugger protocol that connects to any process with access

-> basically cargo debug starts a program and opens a server, any editor can connect to the server and send commands.

10 assumptions text editors make

TODO - Write compelling, insightful article

Twinkle

Broshe - Blade-bound F Tall, muscular (-- Blue-skinned --)

Rook

Ghill - Velocity M Grass on his back

@PoignardAzur
PoignardAzur / configuration.nix
Last active July 4, 2022 09:32
NixOSconfig file
# In /etc/nixos/configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
# TODO
# - gnomeExtensions.pop-shell
# - programs.steam.enable = true