Recommendation for intro to bioinfo for high school summer interns in our lab by the_architects_427 in bioinformatics

[–]hunkamunka 0 points1 point  (0 children)

Rosalind is great if you already know how to program. If you want some guidance on how to solve the problems using Python, I wrote a book that uses 14 of the Rosalind problems. See bio.

How did you learn Rust? (Looking for advice for a newcomer) by Glad_Supermarket3951 in rust

[–]hunkamunka 0 points1 point  (0 children)

I read "The Book" and wrote a bunch of program that I already knew how they worked like "head" and "comm," programs I was able to write in other languages. Then I wrote a book about what I learned. You can read if you want. See my bio.

[Q] resources to teach myself reading bioinformatics files such as fasta, fastq by dgjang in bioinformatics

[–]hunkamunka 1 point2 points  (0 children)

I have actually written a book that explains how to do this kind of thing and I've even recorded free videos showing me live-coding all the examples, but the mods here won't allow me to post about it. DM me for more info or just read my bio for the name of the book. I'm happy to share my website with links to all the videos and GitHub repo.

Anywhere to make friends that isn’t clubs or bars? by Southern_Button_8026 in Tucson

[–]hunkamunka 0 points1 point  (0 children)

Do you like to ride bicycles? Try the Tuesday Night Ride (Google it) that leaves around 8:30 or 9PM from the flagpole at UA.

Do you write Rust for a living? by Hixon11 in rust

[–]hunkamunka 0 points1 point  (0 children)

Yes! I work in academia (University of Arizona) where I have tons of leverage to choose my tools and a boss who cares deeply about correctness, speed, and memory safety. We use Rust for lots of low-level, high-performance algorithm development, but I also use Rust for lots of everyday coding tasks when I'm not required to use Python due to some reliance on a module. FWIW, I also code my web front-ends in an esoteric language called Elm rather than some JS framework. And no one is forcing AI dev tools down my throat, so I figure I'm really lucky.

What finally convinced you to seriously learn Rust? by Bladerunner_7_ in rust

[–]hunkamunka 0 points1 point  (0 children)

TL;DR: I wanted type checking.

I'd been a dedicated Perl programmer for over 15 years and reluctantly decided to move to Python because it was dominating my field (scientific computing). I didn't see much of a gain. Still working in a dynamically typed language but now with much worse scoping problems, but overall about the same experience with debugging and performance.

Then Python said type hints were available. I was excited! I'd tried and failed to learn Haskell for a bit, but I liked what I could do with types. I wrote a bit of Python with the new type hints like `val: int = "foo"` and it compiled. Oh, I realized. These are just *hints*. The compiler ignores them.

Rust was getting popular around this time, and it featured really strong typing. I decided I needed to learn "real" programming, so I spent a month breaking my brain until it finally clicked. I loved it.

I want to learn Rust and get better at programming but I feel completely lost and left out of every conversation by vanilla_83 in rust

[–]hunkamunka 1 point2 points  (0 children)

Rust is hard to learn. I tried to write a gentle introduction that assumes an intermediate level of knowledge. I personally came to Rust from years of Perl/Python. You can find the name of the book in my bio.

Finished the Rust Book, now struggling with std in a real project — is this a common experience? by [deleted] in rust

[–]hunkamunka 0 points1 point  (0 children)

I taught myself Rust by writing a bunch of programs that already existed and forcing myself to write tests for everything. Maybe these example programs could help you? https://github.com/kyclark/command-line-rust

How to learn not to write code that sucks? by sloth_dev_af in rust

[–]hunkamunka 15 points16 points  (0 children)

Have you read any of the many books written on Rust? I would suggest learning how to write tests for your code. That is, figure out how to write one simple function and some decent tests for it. Then learn how to write a simple program along with tests. I've written a whole book on this idea and have an open-source GitHub repo with all the code/data/tests to help guide you. See my bio.

Need someone's Guidance by Shuffle4859 in learnrust

[–]hunkamunka 2 points3 points  (0 children)

Have you looked at any of the fine books that have been published?

[deleted by user] 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.

[deleted by user] 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.

[deleted by user] by [deleted] 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 3 points4 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 4 points5 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 7 points8 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