502 karma · joined December 14, 2020
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protoco...
I can't remember if they actually taught that in driving school, but my dad had me deliberately lose traction repeatedly in a parking lot in the snow to get the hang of it. It saved my life a few times because I was a reckless idiot as a teenager.
Love the language!
Edit: I've updated the sentence to one which is arguably better but still not good. Writing is hard!
Makefiles aren't as easy to work with as alternatives in other language ecosystems, but I found they let me do a lot without the need for extra dependencies. It's easy to shoot yourself in the foot with a configure script but the power is hard to beat.
Coincidentally the author of this blog post commented on one of my reddit posts and was kind enough to help me work out a number of kinks in the project.
The use case for me is for a fzf preview window- you can see it in the last image in the blog post with the shell script used just above it.
If I use bat as my fzf previewer and move to a big file it’ll hang.
If you use bat standalone at the command line with it’ll open its built in pager instantly like you observed, but that doesn’t help with fzf. Also if you try to search or scroll to the bottom of the pager you’ll have a bad time.
https://github.com/junegunn/fzf#preview-window
My hat’s off to you on that title, that is masterful clickbait
I'll give this a try soon, it looks promising. Hopefully it hits a sweet spot!
Actually this exact reasoning is textbook grounds for rejecting a patent application. If a “person having ordinary skill in the art” would trivially come up with the claimed invention, a patent application can be rejected without a reference of prior art by citing obviousness of the invention. If what you’re saying is true, the examiner that originally granted the parent was probably not familiar with the subject matter(which is common).
Source: was a patent examiner a good while back
https://twitter.com/id_aa_carmack/status/569688211158511616?...
(definitely stealing this technique, we'll see if it pays off in... nine years or so?)
Personally I'm very interesting in playing with it. Generics, functional programming constructs, and a lot of the syntactic sugar you find in modern languages have their uses but I think there's a lot of merit to the idea that you might not want them in a systems language. I think cleaning up some of C's rough edges and providing batteries while keeping things extremely simple and clear is very compelling. I'm also appreciative that it doesn't seem overly opinionated where it doesn't need to be.
It's kind of a bummer that there's no MacOS support so I'll have to SSH into my linux box to play with it. I hope the language takes off and support for other platforms materializes. Congratulations to everyone who worked on this.