feedback
Git
feedback | Git | |
---|---|---|
13 | 288 | |
61 | 50,310 | |
- | 2.1% | |
9.6 | 10.0 | |
5 days ago | 6 days ago | |
Go | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
feedback
-
My favourite Git commit (2019)
I stated using gofakeit's "hackerphrase" for all commit messages.
https://github.com/andrewarrow/feedback/commits/main/
hp | git commit -a -F -
hp is a golang binary that just spits out a hacker phrase. I have this aliased with the letter q for "quick" so I'm always checking in stuff with q return push done.
-
Show HN: Import openaddresses.io zipcodes longitude and latitude data
"zip_locations_zip_index" UNIQUE, btree (zip)
The following takes hours and hours to run:
https://github.com/andrewarrow/feedback/blob/main/location/zip.go
But you end up with a nice way to get an approximate postgis geometry for any zip code in the USA. (For free.) Anyone know of a faster way?
My favorite part of this code is buffer := make([]byte, 1). By making the buffer just a single byte, I can look for "\n" so much easier than if I was reading in 1024 bytes or 2,048 bytes etc and then I have to find that \n in the middle.
-
My Frugal Indie Dev Startup Stack
I love this list. One thing I'll add is I like to avoid using S3 or google's cloud storage AT ALL until I have > 30 GB. i.e. with google free tier of their compute engine you get a 30GB hard drive, 1GB ram, and two AMD EPYC 7B12 2250 MHz processors. So I make a fake bucket system using those free 30GB:
https://github.com/andrewarrow/feedback/tree/main/filestorag...
All I code I write is in bucket form, ready to flip a switch and use real buckets but 100% free up to that hard drive limit.
- A simple hard drive version of Google's bucket client
-
Random thoughts on concurrency, databases and distributed systems
I just used a mutex here:
https://github.com/andrewarrow/feedback/blob/master/stats/me...
Multiple go routines will call this method at same time but:
https://github.com/andrewarrow/feedback/blob/master/router/p...
Where I call it I start a new go routine so nothing is ever waiting on that mutex right?
- Yes, it is remote workers who spiked housing, rent costs
-
Show HN: A Hacker News for X
So this question https://news.ycombinator.com/item?id=35198563 prompted me to revisit the framework demo'ed here https://news.ycombinator.com/item?id=35033368
Just like reddit lets you go to what might be a 404 page /r/anything-you-want and you can then create that subreddit, I added this feature to remoterenters so you can make /rr/anything-you-want and be the mod of that sub.
To get the ball rolling with some content I made these two AI based subs:
https://remoterenters.com/rr/amazing-ai-understanding/
https://remoterenters.com/rr/writing-prompts/
And my friend "not_a_t1000" bot helped me add some interesting content. My favorite one in "amazing-ai-understanding" is about the Steering Wheel! How can it know this subtle meaning! So impressed!
Feel free to create your own new subs or add to these. Everything is open source. You can follow along with the commits to the "go on rails" framework here:
https://github.com/andrewarrow/feedback/
and the sample app here:
https://github.com/andrewarrow/remoterenters/
-
Ask HN: Is there a Hacker News for world news?
if anyone wants to pay for the domain, I'll set up copies of this https://remoterenters.com/ for any topic you want. Trouble is hard to compete with:
https://www.reddit.com/r/worldnews
https://www.reddit.com/r/marketing
https://www.reddit.com/r/business
for traffic and users.
-
Ask HN: Has GitHub Search always been broken?
paste an example search with zero results in code. Like I did:
https://github.com/andrewarrow/feedback/search?q=view&type=c...
but
https://github.com/andrewarrow/feedback/search?q=views&type=...
does have results.
-
Three Million U.S. Households Making over $150k Are Still Renting
I'm not sure exactly what features to add next to this site https://remoterenters.com/ but the idea is to help people find a building where their rent is actually a good deal. Because yes, many people will never get a mortgage and buy a condo or house. And a16z has a plan to give renters equity in their building + make the experience of living there 10x better.
Git
- Git tracks itself. See it's first commit of itself
-
Resistance against London tube map commit history (a.k.a. git merge hell) (2015)
Look at any PR/patch series that got merged into the Git project. https://github.com/git/git/
Any random one. Because those that did not meet the minimum criteria for a well-crafted history would not have passed review.
- GitHub Git Mirror Down
- Four ways to solve the "Remote Origin Already Exists" error.
-
So You Think You Know Git – Git Tips and Tricks by Scott Chacon
Boy, I can't find this either (but also, the kernel mailing list is _really_ difficult to search). I really remember Linus saying something like "it's not a real SCM, but maybe someone could build one on top of it someday" or something like that, but I cannot figure out how to find that.
You _can_ see, though, that in his first README, he refers to what he's building as not a "real SCM":
https://github.com/git/git/commit/e83c5163316f89bfbde7d9ab23...
- Maintain-Git.txt
-
Git Commit Messages by Jeff King
Here is the direct link, as HN somehow removes the query string: https://github.com/git/git/commits?author=peff&since=2023-10...
- Git commit messages by Jeff King
- My favourite Git commit (2019)
-
Do we think of Git commits as diffs, snapshots, and/or histories?
I understand all that.
I'm saying, if you write a survey and one of the possible answers is "diff", but you don't clearly define what you mean by "diff", then don't be surprised if respondents use any reasonable definition that makes sense to them. Ask an ambiguous question, get a mishmash of answers.
The thing that Git uses for packfiles is called a "delta" by Git, but it's also reasonable to call it a "diff". After all, Git's delta algorithm is "greatly inspired by parts of LibXDiff from Davide Libenzi"[1]. Not LibXDelta but LibXDiff.
Yes, how Git stores blobs (using deltas) is orthogonal to how Git uses blobs. But while that orthogonality is useful for reasoning about Git, it's not wrong to think of a commit as the totality of what Git does, including that optimization. (Some people, when learning Git, stumble over the way it's described as storing full copies, think it's wasteful. For them to wrap their heads around Git, they have to understand that the optimization exists. Which makes sense because Git probably wouldn't be practical if it lacked that optimization.)
The reason I'm bringing all this up is, if you're trying to explain Git, which is what the original article is about, then it's very important to keep in mind that someone who is learning Git needs to know what you mean when you say "diff". Most people who already know Git would tend to gravitate toward the definition of "diff" that you're assuming (the thing that Git computes on the fly and never stores), but people who already know Git aren't the target audience when you're teaching Git.
---
[1] https://github.com/git/git/blob/master/diff-delta.c
What are some alternatives?
TIGER-data - Preprocessing US Census TIGER data for Nominatim geocoder
scalar - Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer
go-furnace - Go Hosting Solution for AWS, Google Cloud and Digital Ocean
PineappleCAS - A generic computer algebra system targeted for the TI-84+ CE calculators
vox - Simple and lightweight Go web framework inspired by koa
Subversion - Mirror of Apache Subversion
freeStuffDev - list of free stuff for developer
vscode-gitlens - Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
hamsterbase - self-hosted, local-first web archive application.
linux - Linux kernel source tree
bloop - bloop is a fast code search engine written in Rust.
chromebrew - Package manager for Chrome OS [Moved to: https://github.com/chromebrew/chromebrew]