tebro

joined 1 year ago
[–] tebro@lemmy.tebro.fi 2 points 11 months ago

Escape from tarkov. I am intrigued by the concept of the game, but each time I played I was outmatched in gear and skill.

[–] tebro@lemmy.tebro.fi 1 points 11 months ago

Yeah I moved it over and it got a lot nicer, nice to have this type of thing built in to cargo.

[–] tebro@lemmy.tebro.fi 3 points 11 months ago (2 children)

Thanks for the great points.

  • Using the BufRead trait sounds like a good improvement!
  • Yes, this is a stupid temp thing that I have to fix once I get better errors in place. Which you also had some good ideas on :)
  • Good idea, should be helpful
  • As mentioned above, this sounds great!
  • Yup, left over from the initial CLI application
  • Yeah it is there as an example, need to look into how examples are better set up
[–] tebro@lemmy.tebro.fi 1 points 11 months ago

ah the IO module is left over from the initial CLI calculator. Will have to clean that out at some point.

And the inline server module is also left over from when I was writing everything in the same file first before splitting out.

Good catches! Thanks

[–] tebro@lemmy.tebro.fi 2 points 11 months ago (1 children)

I guess that it makes sense. I've been doing Go for the past two years.

 

Greetings to all.

I have spent the last couple of evenings learning about Rust and trying it out. Wrote a simple cli calculator as a first thing and thought I would improve it by making it available over http.

I was actually a bit surprised to find that there was no http tooling in the standard library, and searching online gave me an overload of information on different libraries and frameworks.

I ended up implementing my own simple HTTP server, might as well as this is a learning project.

Now I have it working, and while it isn't perfect or done, I thought that this would be a good time to check what things I am doing wrong/badly.

Which is why I am here, would love to get some pointers on it all to make sure I am going in the right direction in the future.

The project is hosted here: https://github.com/Tebro/rsimple_http

[–] tebro@lemmy.tebro.fi 3 points 1 year ago

Neovim here as well. Though I do use LSPs. I write mostly Go in a fairly large code base so “go to definition” is pretty much a must have.

I was considering going without and just using grep like tools, but not yet.

[–] tebro@lemmy.tebro.fi 3 points 1 year ago (1 children)

Oletan että tulee mainokset ja kaikki muu online toiminnallisuus samasta paikasta eli ei taida olla hyödyksi 🤔

[–] tebro@lemmy.tebro.fi 12 points 1 year ago

It isn’t fully released yet. TestFlight beta for now

[–] tebro@lemmy.tebro.fi 16 points 1 year ago (1 children)

Bonus points for using “like” in like every sentence.

FTFY ;)

[–] tebro@lemmy.tebro.fi 5 points 1 year ago

I am in the same boat, in my world Apple is better than Google. It works a bit better out of the box, and lately I don't use my phone for a lot of things anyway, mostly doomscrolling on reddit (now lemmy).

[–] tebro@lemmy.tebro.fi 3 points 1 year ago (1 children)

At least for me lemmyverse.net solves a lot of the discovery issue. If that kind of a crawling search feature could be better integrated into the platform it would be a lot smoother to find new stuff.

[–] tebro@lemmy.tebro.fi 1 points 1 year ago

I was concerned of the amount of users not being enough to generate content, but so far I have been proven wrong. And the quality of the content is much better. At least for now.

 

Was considering making this community myself but was happy to find this one via https://lemmyverse.net/

Controller from Finland checking in

view more: next ›