News for hackers. Stuff that matters.

danyspin97

Re:Pull Request Is Now the Unit of Review on Sunday October 30, 2022 @04:16AM (#33392322)
> as commit granularity is lost when they are squashed, rebased, or merged committed.

No, commit granularity is only lost when squashing. Both rebasing and merging retains all the commits.

> why not split it into multiple pull requests?

It's arguable better to have a single PR with multiple commits instead of multiple related PRs. I can review commits one by one and also see the end result, test it all together both manually and on CI/CD.

Re:Colorize Your CLI on Sunday July 26, 2020 @02:15PM (#23958960)
Keep in mind that having bash history is already a treat since `~/.bash_history` is readable by every program you run.

If you want to be 100% safe you could just monitor the process and see if it opens any internet connection but I am confident it is just a local program.

Re:Colorize Your CLI on Sunday July 26, 2020 @02:13PM (#23958946)
Poster here! ble.sh gives syntax highlighting for bash just like fish and zsh. I personally don't like zsh because it seems over engineered and fish have some design problems (I don't think they have yet fixed them).

The feature-rich alternatives you mentioned are exactly what I was thinking about (and using daily!).

Re:Colorize Your CLI on Sunday July 26, 2020 @01:10PM (#23958461)
I agree, but we're limited by terminal emulators. Not counting images in terminal (which can be done with a protocol few terminal supports), we don't even have Font Ligatures widely available.

https://github.com/tonsky/FiraCode#editor-compatibility-list

Re:Colorize Your CLI on Sunday July 26, 2020 @01:07PM (#23958446)
Fixed, thanks you for pointing this out!
Re:Makefiles – Best Practices on Saturday February 02, 2019 @09:57AM (#19063261)
I've used these comments[1] as source for writing the CFLAGS. Did I misunderstood?

[1] https://stackoverflow.com/a/2193647