News for hackers. Stuff that matters.

c_joly

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...
Re:Readme in Static Site (RISS) on Tuesday November 23, 2021 @03:28AM (#29315752)
That's an interesting project, I'll add it to the readme of Riss.
Re:Git ls-files is Faster Than Fd and Find on Sunday November 21, 2021 @03:44PM (#29299524)
> 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)

Re:Git ls-files is Faster Than Fd and Find on Sunday November 21, 2021 @03:14PM (#29299300)
Thanks for pointing this out and for your kind words. A fix for the typos should be live soon.
Re:Don't build your castle in other people's kingdoms on Thursday November 04, 2021 @02:57PM (#29111125)
Except when folks use the github url of their repository as their homepage I guess.
Re:Git-cliff – Generate changelog files from the Git history on Sunday September 05, 2021 @03:20PM (#28426954)
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.
Re:Git-cliff – Generate changelog files from the Git history on Sunday September 05, 2021 @10:11AM (#28424473)
This is so awesome! I’ve been waiting for something like this written in Rust for a long time!
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.

Older »