Michael Palmos

Results 78 comments of Michael Palmos

I thought the purpose of this code was to launch neovim as a child process and attach to that. If I launch neovim (externally, just by running it) and then...

Seems like it... ``` File "C:\Users\Toqoz\Documents\code\neovim-test\something.py", line 4 nvim = attach('child', argv=['C:\Users\Toqoz\Documents\code\neovim-test\Neovim2\bin\nvim.exe', "--embed"]) ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape ``` I'm...

Ah, thanks for that. I'll look into getting something else working.

This fails because `Channel::set_watch_enabled(true)` takes `&mut self` but `Connection::channel()` returns `&self`. I'm not sure how to get a mutable reference to channel without manually creating the whole connection, which doesn't...

> ```rust > c.channel().set_watch_enabled(true); > loop { > loop { > c.process(std::time::Duration::from_millis(0)).unwrap(); > if (!c.channel().watch().read) break; > } > /* process incoming messages, sleep etc */ > } > ```...

> Let's try something else. What if you had: > > `c.process(std::time::Duration::from_millis(1))` > > ...instead of from_millis(0), and then sleep for a second between invocations, would that speed up the...

I can confirm this is the case. I don't think it's a timing issue though and seems like it could be by design (though I can't see any mention on...

Hmmm... I wonder if we should be setting the fragment depth in the 2d shader like we do in the 3d one. Will check on this when I get the...

I'm running the following example: ```rust use bevy::prelude::*; use bevy_prototype_debug_lines::{DebugLines, DebugLinesPlugin}; fn main() { App::new() .add_plugins(DefaultPlugins) .add_plugin(DebugLinesPlugin::default()) .add_startup_system(setup) .add_system(demo) .run(); } fn setup(mut commands: Commands, asset_server: Res) { let mut...

Ok I pushed a change to master that *should* make lines always draw on top of sprites, if my understanding is correct. Let me know if it doesn't work properly....