This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Helper function to center arbitrary widgets. It works by measuring the width of the widgets after rendering, and | |
| // then using that offset on the next frame. | |
| fn centerer(ui: &mut Ui, add_contents: impl FnOnce(&mut Ui)) { | |
| ui.horizontal(|ui| { | |
| let id = ui.id().with("_centerer"); | |
| let last_width: Option<f32> = ui.memory_mut(|mem| mem.data.get_temp(id)); | |
| if let Some(last_width) = last_width { | |
| ui.add_space((ui.available_width() - last_width) / 2.0); | |
| } | |
| let res = ui |
- Parallel Computing Course - Stanford CS149, Fall 2023
- Performance-Aware Programming Series by Casey Muratori
- Algorithms for Modern Hardware
- Computer Systems: A Programmer's Perspective, 3/E - by Randal E. Bryant and David R. O'Hallaron, Carnegie Mellon University
- Performance Engineering Of Software Systems - am MITOCW course
- Parallel Programming 2020 by NHR@FAU
- Cpu Caches and Why You Care - by Scott Meyers
- [Optimizing a ring buffer for throughput](https://rig
Based on config.py from Mistral Vibe, here’s a reverse-engineered documentation for the config.toml format and its editing. This file is used to configure the "vibe" application, which appears to be a CLI or agent-based tool for interacting with AI models, tools, and project contexts.
- The global config file is located at:
$VIBE_HOME/config.toml(if$VIBE_HOMEis set)- Otherwise:
~/.vibe/config.toml
OlderNewer