Better HN
topnewbestaskshowjobs
Log inSign up

patrickdevivo

513 karma · joined Aug 10, 2013 (13y ago) · 198 submissions

software engineer in nyc
Submissions

121.

Managing your hosts file with a CLI(github.com ↗)

10 points · by patrickdevivo · 6y ago · 2 comments

comment 6y ago · link · parent

This is really cool, and coupled with a tool like https://github.com/augmentable-dev/askgit, could yield some interesting results. It could produce a table of specific values/text changing over time, measure frequency of changes, etc

123.

Should you use TODOs in source code?(osedea.com ↗)

3 points · by patrickdevivo · 6y ago · discuss

124.

Linux Contributors by Email Domain(gist.github.com ↗)

2 points · by patrickdevivo · 6y ago · discuss

125.

SQL for Redis(redisql.com ↗)

3 points · by patrickdevivo · 6y ago · discuss

126.

Golang string distance algorithms (Levenshtein, LCS, Hamming)(github.com ↗)

2 points · by patrickdevivo · 6y ago · discuss

comment 6y ago · link · parent

I'm the creator of AskGit - and this is something I've been thinking a bit about, unsure of the best way to implement and very open to ideas! Adding language specific analysis (this line is a comment, this is a function name, etc) is really interesting to me and I think could really kick this tool up a notch (there are still some more fundamental needs I'd like to address though, such as diffs and blames, query performance, etc).

I've been considering leveraging the syntax highlighting implementation in editors to make this possible (rather than something as heavy handed as parsing a "universal" AST, though I know there are projects to do this)...

128.

SQL Queries on Git Repositories(github.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

129.

SQL Queries on Git Repositories(askgit.com ↗)

2 points · by patrickdevivo · 6y ago · discuss

130.

SQL Query – Percent of Git Commits in a Repo by Author Name(gist.github.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

comment 6y ago · link · parent

haha you're totally right! if it's just a matter of renaming the binary and dropping it in a particular directory to get git to know about it, I can leave this part up to the user. I'll definitely have to make a note in the README.

gitqlite is a little clunky for a name, but I wanted to make sure to convey that it's sqlite doing a lot of the heavy lifting here!

comment 6y ago · link · parent

At the moment, not easily, but someone else just asked about that and I think it's worth looking into! It makes sense and could be a cool use case to run queries on all the key repos in an org or project

comment 6y ago · link · parent

that’s great to know, will take a look and add a note to the README

comment 6y ago · link · parent

Creator here! Thanks for submitting - I hope people find this interesting. I’m excited to explore more use cases beyond listing and reformatting git log output! There’s a similar project called gitbase, but I had difficulty just spinning that up for ad-hoc CLI querying so created this project in hope of a better UX for that type of use case. It uses SQLite virtual tables, which was something I had been meaning to play around with. This seemed like a cool use of them!

135.

Stop caring about your code(noreasontopanic.substack.com ↗)

4 points · by patrickdevivo · 6y ago · 1 comment

136.

Deno Scripts as an HTTP API(github.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

137.

Rust Lang's 2.4k+ Todo Comments(tickgit.com ↗)

3 points · by patrickdevivo · 6y ago · discuss

138.

On-demand binaries for Golang projects(gobinaries.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

comment 6y ago · link · parent

I agree that trust is fundamental to tools/metrics like this, and will determine how they're used. What I find interesting (concerning?) is that they seem to be marketed towards managers/VPs/CTOs exclusively (people "outside" the team) to better understand what's going on within the team, which seems flawed (but also makes sense, considering who's making buying decisions). I understand the value proposition of "getting the most" out of your (expensive) engineering team, but presenting a product in this way seems to set the stage for "misuse" right off the bat. Maybe I'm biased, but it feels like these tools might be more palatable if framed to help ICs improve and understand their own behaviors within a team

140.

Ask HN: How do you feel about “Git metrics” evaluating developers?

3 points · by patrickdevivo · 6y ago · 3 comments

141.

NYC Coronavirus (Covid-19) data(github.com ↗)

2 points · by patrickdevivo · 6y ago · discuss

142.

Git log output parsing in Go(github.com ↗)

3 points · by patrickdevivo · 6y ago · discuss

143.

Ask HN: How do you find the best contributors to help in a Git codebase?

3 points · by patrickdevivo · 6y ago · 2 comments

144.

Find relevant Git contributors based on commit recency, frequency and impact(github.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

145.

Ask HN: What traits of senior engineers do you find most valuable?

21 points · by patrickdevivo · 6y ago · 9 comments

146.

A general purpose syntax highlighter in pure Go(github.com ↗)

3 points · by patrickdevivo · 6y ago · discuss

147.

Falsehoods programmers believe about time(infiniteundo.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

148.

I likely have a mild case of Covid-19. I don’t think I could survive worse(washingtonpost.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

149.

Every Developer Is Now a Remote Developer(codestream.com ↗)

1 points · by patrickdevivo · 6y ago · discuss

1234567