Better HN
topnewbestaskshowjobs
Log inSign up

patrickdevivo

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

software engineer in nyc
Submissions

31.

Extract and sync data from Git repos into SQL(docs.mergestat.com ↗)

2 points · by patrickdevivo · 3y ago · 1 comment

32.

Exploring Git Blame with SQL(docs.mergestat.com ↗)

3 points · by patrickdevivo · 3y ago · discuss

33.

Work with Git from Golang(github.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

34.

Identifying Open-Source Library Risk Using SQL(docs.mergestat.com ↗)

3 points · by patrickdevivo · 3y ago · discuss

35.

Parsing YAML in PostgreSQL with PLV8(docs.mergestat.com ↗)

2 points · by patrickdevivo · 3y ago · discuss

36.

Open-Source Git Release Tracking with SQL(docs.mergestat.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

37.

Identifying Open-Source Library Risk(docs.mergestat.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

38.

Open-Source Vulnerability Management(docs.mergestat.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

39.

Querying GitHub Security Advisories with SQL(docs.mergestat.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

40.

Querying CI Running Time with SQL(docs.mergestat.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

41.

Looking at Public HashiCorp Go.mod Files(docs.mergestat.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

42.

The Git CLI as a Go Library(github.com ↗)

1 points · by patrickdevivo · 3y ago · discuss

43.

Finding Code Hotspots with SQL(docs.mergestat.com ↗)

3 points · by patrickdevivo · 3y ago · discuss

44.

Tracking Todo Comments in Code with SQL(docs.mergestat.com ↗)

1 points · by patrickdevivo · 4y ago · discuss

45.

MergeStat, Now with Some PostgreSQL(docs.mergestat.com ↗)

1 points · by patrickdevivo · 4y ago · discuss

46.

Query the GitHub Audit Log with SQL(docs.mergestat.com ↗)

3 points · by patrickdevivo · 4y ago · discuss

comment 4y ago · link · parent

I've been using GitHub Issues (and their new Projects feature) more and more. It's far from perfect, but I really value the colocation of code + task management it allows. I like being able to reference issues/PRs by # in markdown comments - it feels more natural to leave "breadcrumbs" this way so that others can follow the chain of events when trying to piece something together.

One thing we've done internally, for all tasks that aren't tied to a repo (because GitHub issues must belong to a repo), we created an "internal" repo that's a catchall for tasks not necessarily tied to a codebase.

The Projects view then let's us plan work across multiple codebases and this "non-codebase" repo

comment 4y ago · link · parent

a very cool project they also maintain is a MySQL server framework for arbitrary backends (in Go): https://github.com/dolthub/go-mysql-server

You can define a "virtual" table (schema, how to retrieve rows/columns) and then a MySQL client can connect and execute arbitrary queries on your table (which could just be an API or other source)

49.

Elastic UI – design library in use at Elastic to build internal products(elastic.github.io ↗)

42 points · by patrickdevivo · 4y ago · 12 comments

50.

Fluent GraphQL client library in Golang(github.com ↗)

1 points · by patrickdevivo · 4y ago · discuss

comment 4y ago · link · parent

Seconded for Hasura - really great tool that's make it easy to setup an API on your database. Also makes it easy to manage your data models and permissions. You can use it to build REST API endpoints as well as GraphQL ones.

comment 4y ago · link · parent

Thanks for this write up! I've been really interested in postgres compatibility in the context of a tool I maintain (https://github.com/mergestat/mergestat) that uses SQLite. I've been looking for a way to expose the SQLite capabilities over a more commonly used wire-protocol like postgres (or mysql) so that existing BI and visualization tools can access the data.

This project is an interesting one: https://github.com/dolthub/go-mysql-server that provides a MySQL interface (wire and SQL) to arbitrary "backends" implemented in go.

It's really interesting how compatibility with existing protocols has become an important feature of new databases - there's so much existing tooling that already speaks postgres (or mysql), being able to leverage that is a huge advantage IMO

53.

Go package for printing human readable, relative time differences(github.com ↗)

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

54.

Generate Git Repo Commit Summaries(docs.mergestat.com ↗)

2 points · by patrickdevivo · 4y ago · discuss

55.

Finding Unapproved, Merged PRs(docs.mergestat.com ↗)

1 points · by patrickdevivo · 4y ago · discuss

56.

JuiceFS v1(juicefs.com ↗)

1 points · by patrickdevivo · 4y ago · discuss

57.

Bashing JSON into Shape with SQLite(christine.website ↗)

2 points · by patrickdevivo · 4y ago · discuss

58.

A Year of Commits(docs.mergestat.com ↗)

2 points · by patrickdevivo · 4y ago · discuss

comment 4y ago · link · parent

This inspired me to publish a short blog post: https://docs.mergestat.com/blog/2022/01/01/a-year-in-commits

Counting commits, as mentioned, isn't particularly useful as an independent/absolute number - but I think it's an interesting way to see a high level "amount of contribution" relative to other contributors in a codebase. Of course, "commits" as a unit are not normalized, so this is problematic if you're trying to derive some deeper conclusion from counting commits IMO

1234567