• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 11th, 2023

help-circle
  • https://github.com/exapsy/capcli

    I’m making a capital.com CLI using https://open-api.capital.com/ API to make position movements via CLI.

    And who knows maybe it will evolve into something more powerful.

    Unfortunately, Capital.com does not offer a CLI tool so had to make one with its own API.

    edit:

    I also made a sendgrid tool with Golang-Cobra, because Sendgrid also does not provide a CLI tool, but it’s proprietary (for the company Im working for). Whenever I can, I actually try to be sneaky and open source them as “my projects because nobody asked for them”. Like the Sendgrid CLI tool came after they saw my ability to build CLI tools and they got interested after making a proprietary tool on my own for the company, so I couldn’t have made it open source because they asked for it. But whenever they don’t, I try to make them open source on my private github or gitlab.





  • I went in, and saw exactly … what I expected to see.

    I vertical scrolling bar much smaller than my own pointer.

    Why, would you even suggest Rust for web development unless it’s necessary? It wasn’t made for that.

    Use Go, or Node. Why Rust? When just to build a proto server and an http server at the same time you need to debug for hours first just to see that it still doesn’t work. And then you have to find out how to make the Diesel work. Another big giant to learn. And then find out how to make Elasticsearch, Cassandra, or any other thing to work with Rust. Like … it’s a whole disaster if you’re going to web develop with Rust. Do you know how much my time is worth for the company? Why would the company want to spend my time that it rents, on developing web tools on Rust when just to have async and “too many servers” you have to read blogposts like this one and develop for hours just to make something simple work -unless necessary- ? When I can have if not the same even better results in Golang? Both in time, and performance.

    With blogposts like these it really feels more and more that Rust’s community found a solution, and once they have the hammer, everything is a nail to them. Rust is a tool. A fucking nice tool. But it wasn’t made for that.

    Use the tool for the job, not the job for the tool.