Hacker Newsnew | past | comments | ask | show | jobs | submit | c_joly's commentslogin

Thanks for writing this! Your comment and the article have prompted me to explicit the social contract for my Open-Source project: https://github.com/cljoly/.github/pull/4/files#diff-eca12c0a...


That's an interesting project, I'll add it to the readme of Riss.


Thanks! I haven't had much time to work on it lately but I have a use for it at $DAYJOB so hopefully I can get back to it at some point.


> I don't find it noteworthy that reading from an index is faster than actually recursively walking the filesystem

I agree, what I found noteworthy though is that git ls-files uses this index you already have for.

(author here, “proof”: https://cj.rs/contact/ & https://keybase.io/leowzukw)


Thanks for pointing this out and for your kind words. A fix for the typos should be live soon.


Except when folks use the github url of their repository as their homepage I guess.


This is so awesome! I’ve been waiting for something like this written in Rust for a long time!


Out of curiosity, why does it matter what language it is written in?


I initially was interested in Rust because of performance + speed + safety, but now I have to say that cargo is a big selling point for me.

I always used to be scared of compiling software myself because I never seemed to be able to get it to work without endless headaches. Now, I generally find it easy to compile Rust programs if they aren't in my package manager, and with cargo install-update https://github.com/nabijaczleweli/cargo-update I find it easy to keep the software up to date. I have higher confidence that I can get hobbyist Rust software working, and the more Rust software I use, the more familiar I am with the ecosystem and the more comfortable I am.

If this was written in some obscure language I wasn't familiar with, I'd be less confident I would be able to run it at all, let alone keep it updated, and I may not bother even trying to install it.


Thank you. I really appreciate you sharing your perspective.


Also, some languages (like Go, C, C++, Rust) make it easier to get relatively self contained binaries, as opposed to a Python or Perl script with a lot of external dependencies that one has to install and manage.


For a long time, I have wanted to insert the READMEs of my GitHub projects on my static website (to control the theme, to insert asciinema scripts, etc…). The problem is, you can’t insert it verbatim, you need to add things like a bit of yaml metadata at the top or some code to insert the asciinema player.

So I’ve written an awk script to use HTML comments in the README you host on GitHub and insert/remove the small bits that need to differ between GitHub and your site. Why awk? It’s quite fast (see the benchmark session), ubiquitous (don’t add one more dependency in your CI) and felt like a good fit for this.

If that sounds interesting, please give it a try and let me know what you think! It’s really easy to run, you just need to download a small file.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: