difflens

Joined 4 years ago

Karma
73
Submissions
54
Member since
Feb 27
https://github.com/marketplace/difflens

Working on improving diff tools for developers!

View on Hacker News

Recent submissions

Comment · 2 years ago
It's interesting that this piece mentions "to get really rich" as one of the primary motivators. Especially to high school students. I wonder if that's good advice or if society is better served by motivating students to start companies that make the world better.
Comment · 2 years ago
Hmm maybe I don't understand fully, but can't you do this in VSCode by doing a `Find And Replace All`? (Cmd + Shift + F on Mac)
Comment · 3 years ago
Congratulations! I identify with this post a lot. Good luck! Your actions are certainly an inspiration
Comment · 3 years ago
I built DiffLens (https://www.difflens.com/) initially just for myself. It's a diff tool that uses abstract syntax trees to make the diff more review-able. It's free for anyone to use too. I use it every day to review my diffs. If anyone works on Typescript, Javascript, HTML and/or CSS, do check it out!
Comment · 3 years ago
I'm the author of DiffLens (https://www.difflens.com/). I initially built it for myself too (and use it everyday) and it's currently free for anyone to try. It's an attempt to use abstract syntax trees to make diffs more readable. Happy to see another diff project here!
Comment · 3 years ago
The worry is understandable. As someone who's been in a similar situation before, the worry with a work visa and housing tends to go away one way or another. Either you get out of a work visa at some point, or you accept that you will never receive a green card in your productive years and you jump into the property market with that risk anyway.
Comment · 3 years ago
Either you're being reductionist on purpose, or the reply above just flew over your head.
Comment · 3 years ago
Just wanted to chime in and say that this was a good read. Reminded me of reading editorials when I was younger. I agree with most of these points, and especially appreciate the fact that you present a nuanced view. Too often, western views are translated directly to other places and result can be inaccurate assessments.
Comment · 3 years ago
I wonder if you can pick your favorite language/framework and write a daemon that serves as the "backend". Then, write a UI in whatever you like, and send calls to the backend to modify state. It's the same concept as MVC, but implemented in different processes
Comment · 3 years ago
My recommendation would be to apply to as many positions as you can, but steel yourself to the fact that you may not hear back from any of them. I'd also recommend exploring if you can push graduation back by a year (assuming funding would cover it and you have legit research to do), or if you can pick up part time lecturer, post doc etc type of positions for the next year. IMO, job prospects for software engineers will likely start improving in the last quarter of 2023 and be much better in 2024. So I'd plan to tough it out till then.

I do empathize with your position and wish you luck :) I'm ever grateful to the first manager who hired me. He changed my life forever and that of my family.

Comment · 4 years ago
> as I see it is that it provides a uniform api for traversing a parse tree, which makes it relatively straightforward to onboard a new language to a tool with tree-sitter support. The problem though is that the tree-sitter grammar is nearly always going to be an approximation to the actual language grammar, unless the language compiler/interpreter uses tree-sitter for parsing.

Author of DiffLens (https://marketplace.visualstudio.com/items?itemName=DiffLens...) here. A uniform API for traversing a parse tree for all languages would be amazing for DiffLens! However, I fear languages are different enough that this ideal may never be reached :) Or maybe there would be a core set of APIs and extensions for the idiosyncrasies of each language. For DiffLens though, we try to use the language's official parser/compiler if it exposes an AST

Comment · 4 years ago
Haha, I found this quite funny :) I'm sure there's an element of truth to it considering how complicated the code base must be for the various services

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton