I'm unable to access the GitHub API from Rust using the code here https://gist.github.com/kevingimbel/fbcdfbf8195594a157d7bcee3317d287
Anyone got any idea? I always get a 403 error back, but the same request with `curl` works just fine.
It's driving me mad!
No joke I totally love #Rust for its match syntax.
Checking for three environment variables, returning the first match and returning a standard if none matched:
"Half an hour to learn Rust"
About 30ish minutes of small snippets and explanations of Rust code.
I started writing a simple TCP server in Rust and I have a problem.
TCP listener must be bound using "TCPListener::bind()" with an IP and port but I don't know the docker IP at compile time. When I bind to 127.0.0.1 I cannot access the server from outside the container.
Anyone got any idea? Preferably without any third party lib? One idea would be to have a start script that exposes the IP as env variable when the server is run, then bind to that.
It's quite react-like and therefore appeals to me more. I'm still not 100% sure what I should use #wasm for but it's running fast and reliable so that's good I guess! 😃
Critic and ideas or feedback highly appreciated!
I'm super new to #Rust and I'd like to correct my mistakes because I'm assuming my code isn't the best yet.
I've written my first Rust library! 🦀
It's called fakedata_generator and I just released v0.2.0 yesterday!
It's a small lib that can generate random strings for you, e.g. random cat breeds or random dinosaur names or (very limited) domain and e-Mail names.
It's in its early stages but can be used as is!
I'm used to not following rules basically and now compilers just keep yelling at me for not following the language rules. Love it!
Might be time to write a blog post. 🤔
Somehow ended up in tech, currently doing DevOps & cloud stuff on AWS professionally.
bullgit.party is a instance for everyone who is part of bullgit. 🎉