Better HN
topnewbestaskshowjobs
Log inSign up

abhinavg

152 karma · joined Jul 28, 2009 (17y ago) · 39 submissions

Home: https://abhinavg.net/
Submissions

1.

Anthropic builds Rust support for ConnectRPC(github.com ↗)

4 points · by abhinavg · 8mo ago · discuss

2.

Yay – Yet Another YAML(kriskowal.com ↗)

3 points · by abhinavg · 9mo ago · discuss

comment 10mo ago · link · parent

If you’re interested in exploring tooling around stacked PRs, I wrote git-spice (https://abhinav.github.io/git-spice/) a while ago. It’s free and open-source, no strings attached.

4.

git-spice: open-source stacking CLI for GitHub and GitLab(abhinav.github.io ↗)

3 points · by abhinavg · 1y ago · discuss

5.

Show HN: git-spice, Git branch and PR stacking tool(abhinav.github.io ↗)

3 points · by abhinavg · 2y ago · discuss

comment 2y ago · link · parent

The README covers the idea behind errtrace in more details, but the primary difference is in what is captured:

pkg/errors captures a stack trace of when the error occurred, and attaches it to the error. This information doesn't change as the error moves through the program.

errtrace captures a 'return trace'--every 'return' statement that the error passes through. This information is appended to at each return site.

This gives you a different view of the code path: the stack trace is the path that led to the error, while the return trace is the path that the error took to get to the user.

The difference is significant because in Go, errors are just plain values that you can store in a struct, pass between goroutines etc. When the error passes to another goroutine, the stack trace from the original goroutine can become less useful in debugging the root cause of the error.

As an example, the Try it out section (https://github.com/bracesdev/errtrace/#try-it-out) in the README includes an example of a semi-realistic program comparing the stack trace and the return trace for the same failure.

comment 2y ago · link · parent

Thanks! No, just one of the maintainers with a free evening.

8.

Show HN: Error return traces for Go, inspired by Zig(github.com ↗)

133 points · by abhinavg · 2y ago · 84 comments

comment 3y ago · link · parent

I'm a happy duck.com address user. I can answer these questions:

What it is: It gives you private throwaway email addresses. Instead of signing up for a website with <real>@gmail.com, use <fixed>@duck.com. It will forward the email to <real>@gmail.com after removing any trackers from it. It also lets you generate <random>@duck.com addresses on demand. If you sign up for something with <random>@duck.com, and they start spamming you, you can turn the email address off without doing anything to <real>@gmail.com or <fixed>@duck.com.

How to re-access it: Information about your duck.com address is stored in that browser. If you use the Browser extension, that remembers it. You simply need to log into that email address from your current browser. To do this, visit https://duckduckgo.com/email/, click on "I already have a Duck address", and enter your original <fixed>@duck.com address. It will email you a one-time password to <real>@gmail.com, and you'll be back in again.

10.

Designing Go Libraries: The Talk: The Article(abhinavg.net ↗)

1 points · by abhinavg · 3y ago · discuss

comment 10y ago · link · parent

I think Slate isn't maintained anymore.

comment 11y ago · link · parent

It has been around for a while, but I agree that hundreds of cross-linked PDFs is not the most accessible format.

comment 11y ago · link · parent

Right? Instead of discussing the rest of the content of the slides, let's all discuss one slide.

Out of context these comments read like they're in response to a poorly written article with an inflammatory title like "Why GitHub sucks".

comment 11y ago · link · parent

Another option for recording gifs is LICEcap (http://www.cockos.com/licecap/). It supports OSX and Windows. No support for overlaid keystrokes, though.

Oh, and http://showterm.io/ and https://asciinema.org/

comment 11y ago · link · parent

I believe you need to enable "Raw Message Delivery" in the subscription attributes for that subscription for it to deliver raw JSON content instead of wrapping your message in an envelope like that.

comment 12y ago · link · parent

I honestly don't see a problem here. They decided to change a backend library for a non-essential system in their product. Most services don't ask for permission or make announcements when they make changes like this.

The approach seemed to be, if things break, people will report it and we’ll fix it.

While this may not be the best approach, the number of languages supported is too high for a person to check each one manually. Generally, I imagine they wouldn't expect a change like this to break anything significant.

[people] use it as a portfolio. [..] To suddenly doink the appearance of people’s portfolios is unfortunate.

It is very unlikely that syntax highlighting errors in GitHub will affect someone's chances of getting a job.

Sure, this switch could cause some issues but they don't seem to be severe enough to kick up a fuss over.

comment 12y ago · link · parent

Game of Thrones is also available on Amazon Instant Video.

comment 12y ago · link · parent

Minor typo on the page: SES stands for Simple Email Service, not Simple Email Sender.

comment 12y ago · link · parent

Or ZZ

comment 13y ago · link · parent

In case you're interested, Xmonad has partial support for OSX: https://github.com/xmonad/osxmonad

comment 13y ago · link · parent

GNOME Do has not had a release since 2009.

comment 13y ago · link · parent

IIRC, the term used to refer to Microsoft employees is actually Softies.
12