Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
grbl
An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino (by gnea)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Currently, your code doesn't even work with #![feature(specialization)] (tracking RFC). stdlib types like Wrapping don't use traits to implement std::ops::*, instead using macros to define impls for each number type individually.
Yep, (I changed to 0xA after that git commit was created). Here are the hex values. I add \n to the message here. You can notice the time stamp is 3 seconds between send and receive, if I change the timeout back to the 60 seconds in the git commit, then the timestamps change to ~60 seconds
My bad, for some clarification the two computers are not connected to each other. I have an ardiuno running grbl. I am building a cross-platform GUI to control the ardunio. I do know that the commands are being sent on both operating systems because the ardunio reacts to the sent command, and I know the delay is not from the command being sent, because I am using this and it shows the command is being sent immediately (or at least as fast as I would ever need).
I also have a small language server built with lsp-types and lsp-server, with working semantic highlighting and some other things: https://github.com/jDomantas/tic. The language server is in ticc-lsp, and the extension is in tic-vscode. The extension is minimal - it just wraps the server and provides commands to shut it down and restart in case I want to rebuild it without closing vscode. You can take a look and what you're doing differently.
I haven't pushed the non-functional semantic token branch to a remote yet, but this is the current version of the extension: https://github.com/ammkrn/mm0/tree/mmb_debugger2/vscode-mm0
I've been looking into channels recently, specifically the crossbeam crate, and am wondering about the recv behaviour. If I walk down the recv method I eventually end up here.
Are paid crates non-existent? Because in other languages, you can make a code library and sell it. People don't do it much, but it's possible. If you upload a crate to crates.io, it becomes free.
There is a Dependents tab on each crate. Dependents of ncurses: https://crates.io/crates/ncurses/reverse_dependencies
Is there anything like flapigen-rs, but for Go?
I'm just having trouble understanding what going on with that method. I see it's argument takes a future, but what is that second argument 'F'? Looking at the Iced Todo example I'm still not quite seeing it.TODO ex
It sounds like the easiest path for you could be to use a simple pixel rendering library like minifb or pixels. There's even a game of life example project for pixels.