HackerTrans
TopNewTrendsCommentsPastAskShowJobs

TeamDman

14 karmajoined 2 года назад

comments

TeamDman
·позавчера·discuss
Important formatting has been lost on this page in section 14.
TeamDman
·2 месяца назад·discuss
What alternative do you propose for downloading binaries off the internet, placing them in the "right spot" and doing post-install operations like updating PATH that dont have gotchas equivalent to running "untrusted" code like curl|sh?
TeamDman
·4 месяца назад·discuss
I've found LLMs decrease the friction in enabling more pedantic lints and tooling. It is a quantity problem because enabling all the aggressive warnings in the compiler makes a lot of work, and its a quality outcome because presumably addressing every warning from the compiler makes the code better
TeamDman
·4 месяца назад·discuss
I use Rust for command line applications.

I find that CLI is a great way to model problems. When I find myself doing something that has graduated beyond a comfortable amount of PowerShell, Rust is there for me.

I have a template I've been evolving so it's super easy to get started with something new; I just copy the template and slam Copilot with some rough ideas on what I want and it works out.

https://github.com/teamdman/teamy-rust-cli

Just today used it to replace a GitHub stats readme svg generator thing that someone else made that was no longer working properly.

https://github.com/TeamDman/teamy-github-readme-stats

Decomposes the problem very nicely into incrementally achievable steps

1. `fetch <username>` to get info from github into a cache location 2. `generate <username> <output.svg>` to load stats and write an svg 3. `serve` to run a webserver to accept GET requests containing the username to do the above

Means that my stuff always has `--help` and `--version` behaviours too
TeamDman
·5 месяцев назад·discuss
I enjoyed Dave Cridland's comment more than the article. The article is dismissive of AI and other technologies in an unsubstantiated way.

New things are happening and it's exciting. "AI bad" statements without examples feel very head-in-sand.
TeamDman
·6 месяцев назад·discuss
for 50,000 rows I'd much rather just use fzf/nucleo/tv against json files instead of dealing with database schemas. When it comes to dealing with embedding vectors rather than plaintext then it gets slightly more annoying but still feels like such an pain in the ass to go full database when really it could still be a bunch of flat open files.

More of a perspective from just trying to index crap on my own machine vs building a SaaS
TeamDman
·6 месяцев назад·discuss
See also: using Mathematica for drawing the circles like in the movie Arrival

https://youtu.be/r8nTifCIr0c
TeamDman
·6 месяцев назад·discuss
I found https://docs.rs/bstr/latest/bstr/#file-paths-and-os-strings to be useful
TeamDman
·в прошлом году·discuss
Neat link, thank you for sharing.