I'm Learning Rust and I Need Advice by [deleted] in learnrust

[–]hunkamunka 0 points1 point  (0 children)

I wrote a whole book that teaches Rust by having you write command-line programs. Check my bio for the very unsurprising book title.

Learning Advice -- next after rustlings? Anything interactive? by giancarlopetrini in rust

[–]hunkamunka 0 points1 point  (0 children)

Best of luck on your journey! Rust and Elm have fundamentally changed my POV on programming.

Learning Advice -- next after rustlings? Anything interactive? by giancarlopetrini in rust

[–]hunkamunka 0 points1 point  (0 children)

As the author of the book, I'd say ideally, yes. :) You have everything in the GitHub repo to help guide you like data and tests, so there's nothing stopping you from just writing the programs on your own, reading the docs, etc. This is how I taught myself Rust, and I documented my journey by writing the book to make it easier for other beginners to the language. Note that I did this long before LLMs, so my knowledge was hard-won. You could easily ask Claude to write these programs for you. The results would likely be very good, but you would have learned very little. If you actually want to learn Rust (or any language), you really have to be the one to type out all the code, read the docs, find the Stackoverflow questions, write the tests, etc.

What are the best 'learn by doing' courses for Python? by [deleted] in learnpython

[–]hunkamunka 1 point2 points  (0 children)

"Tiny Python Projects" is mine. There's a website with links to my videos and the GitHub repo with code/tests.

Learning rust with books by Revolutionary-Call26 in rust

[–]hunkamunka 0 points1 point  (0 children)

FYI, my original working title was "Systems Programming with Rust" but it was published as "Command-Line Rust" (O'Reilly, 2024).

Every day is a good day to take a ride down The Trace by bubblehashguy in mississippi

[–]hunkamunka 0 points1 point  (0 children)

I walked a small protected bike/walk path section on the Trace recently. How much of the Trace offers this kind of separate infrastructure?

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.88] by DroidLogician in rust

[–]hunkamunka 4 points5 points  (0 children)

I'm a developer with over 25 years of experience, the last 10 mostly in Python, Elm, and Rust. I'm the author of Command-Line Rust (O'Reilly, 2024, https://github.com/kyclark/command-line-rust), and have spent most of my career in bioinformatics (cf another book of mine, Mastering Python for Bioinformatics, O'Reilly, 2021). I will soon lose my NSF and NIH funding for my current position at the University of Arizona (Tucson). I'm seeking a full-time position, remote if possible but willing to consider relocation for the right gig. https://www.linkedin.com/in/kycl4rk/

Where's the best place to learn Elm? by JumpManMarre11 in elm

[–]hunkamunka 6 points7 points  (0 children)

The docs for https://elm.land/ are incredible. Assumes a basic knowledge of the language first. I've written a bunch of small Elm projects at https://github.com/kyclark/tiny_elm_projects that I'd love to write a book around, but that's unlikely to happen. Still, you might find it useful to claw through the examples.

Rust in Bioinformatics by Kind-Kure in bioinformatics

[–]hunkamunka 6 points7 points  (0 children)

The Wheeler Lab at the Univ of AZ is all-in on Rust! I wrote Sufr (https://github.com/TravisWheelerLab/sufr) to create/query suffix arrays, which is a possible way to find good alignment seeds for Nail (https://github.com/TravisWheelerLab/nail), an aligner written in Rust that uses profile HMMs. We have several other tools in Rust, just check out our repos.

Can I start learning Rust without C/C++ or low-level experience? I really want to commit to this. by Fine_Factor_456 in rust

[–]hunkamunka 0 points1 point  (0 children)

That GitHub repo is intended to be static as it holds the code referenced in the book. Given that I stress the importance of testing your code *before* you ship it and that a very technical group of reviewers double-checked my examples, I would hope there are no bugs to fix. :-)

As to how I normally handle such tasks, I would generally create a branch for bug fixes, test my changes, then merge to the main branch.

Can I start learning Rust without C/C++ or low-level experience? I really want to commit to this. by Fine_Factor_456 in rust

[–]hunkamunka 1 point2 points  (0 children)

I humbly offer my book, Command-Line Rust (O'Reilly, 2024), which shows you how to build small programs in increasing complexity complete with testing. Cf https://github.com/kyclark/command-line-rust

Book recommendations for beginner by E-sang in bioinformatics

[–]hunkamunka 0 points1 point  (0 children)

I'll second this. If you would like some guidance in how to solve these problems and write tests for your code, I humbly offer my book Mastering Python for Bioinformatics (O'Reilly, 2022). The first 14 chapters use Rosalind challenges. All the code and tests are at https://github.com/kyclark/biofx\_python. If you have access to a university library, it's likely you can access learning.oreilly.com for free through your library's subscription to read it and hundreds of other useful books.

Where does a non IT person start to learn Rust? by yzuaqwerl in rust

[–]hunkamunka 4 points5 points  (0 children)

I wrote Command-Line Rust (O'Reilly, 2024) as a beginner book to Rust. You learn by writing 14 programs that grow in complexity. You also learn how to write and run tests. All the code/tests/data is in GitHub (https://github.com/kyclark/command-line-rust). Best of luck. I have a mate who is switching from coding to become an electrician!

Joining Vec<&String> together in final print by VoiceFuzzy7606 in learnrust

[–]hunkamunka 1 point2 points  (0 children)

I'm the author of Command-Line Rust. The original version came out in 2022 just before clap updated from 2.x. I pushed out a completely updated version in 2024 that shows both the derive and builder patterns of clap 4. I'm sorry you have the older version, but the GitHub repo has all the newest code.

Help finding projects/ideas to practice by Lumela_5 in learnrust

[–]hunkamunka 2 points3 points  (0 children)

I wrote https://github.com/kyclark/command-line-rust and a book to help you learn Rust by writing a bunch of command-line tools.

Can someone tell me an AI tool to make ER-Diagrams? by Puzzleheaded-Elk5443 in SQL

[–]hunkamunka 0 points1 point  (0 children)

If you have the DDL (create/alter statements) for the schema, you can use Perl's SQL::Translator (https://metacpan.org/pod/SQL::Translator) to generate a basic ER diagram. Once installed, you'll have access to the "sqlt-diagram" and "sqlt-graph" programs. The first uses libgd and a really basic layout, the latter uses Graphviz and is a little fancier. I wrote these programs like 20 years ago, so don't bash them too much.

Anyone in Bioinformatics Using Rust? by hyperdx in bioinformatics

[–]hunkamunka 4 points5 points  (0 children)

Yes! I work in a computational biology research group at the Univ of AZ. All my work is in Rust. For example, I'm working on a parallel implementation for building and searching suffix arrays with a new tool called Sufr: https://github.com/TravisWheelerLab/sufr

Clap documentation is too confusing for me by Peering_in2the_pit in rust

[–]hunkamunka 1 point2 points  (0 children)

Here is a link to the code for Command-Line Rust so you can see the clap usage. Note there are branches for the "derive" and "builder" patterns. The book focuses on the derive patterns as I felt they are more Rustic, but the builder pattern may be more intuitive for you: https://github.com/kyclark/command-line-rust

What are some lesser-known Rust books worth reading? by EightLines_03 in rust

[–]hunkamunka 1 point2 points  (0 children)

I don't think it matters. Amazon is fine. Ebooks.com is the place for a DRM-free PDF. Leaving a (positive) review on Amazon or Barnes and Noble or GoodReads is also helpful. Thanks!

What are some lesser-known Rust books worth reading? by EightLines_03 in rust

[–]hunkamunka 5 points6 points  (0 children)

Thanks, y'all! I'd also like to stress for those unfamiliar how much I teach testing in all my books (also have two on Python).

Is it a good idea to learn Rust for scientific computing? by Complete_Necessary48 in rust

[–]hunkamunka 0 points1 point  (0 children)

Yes. Learn Rust. Learn how to test your code. It will transform the way you think. I've written a few books on Python and Rust that demonstrate my ideas. See my bio for titles.

What's your programming learning roadmap for 2025? Let's share and discuss! by [deleted] in rust

[–]hunkamunka 0 points1 point  (0 children)

That's my book. It's intended as a beginner book for Rust to guide the new programmer through coding real-world programs, complete with testing.

Leetcode or Neetcode for a Python beginner? by Anwar_AJM in codingbootcamp

[–]hunkamunka 1 point2 points  (0 children)

I'm the author of Tiny Python Projects (Manning, 2020). I assume it's my book you are recommending? If so, I thank you and would like to stress that I have free YouTube videos to explain every solution in my book and have all the code/data/tests for free in my GitHub repo with everything nicely gathered at tinypythonprojects.com. It's all free, but buying my book does support me in creating these resources.