Better HN
topnewbestaskshowjobs
Log inSign up

Cykelero

10 karma · joined Aug 19, 2019 (7y ago) · 15 submissions

Loves building tools, making art. Doesn't know how to compromise. Values kindness greatly.
Submissions

1.

Show HN: Commit cherry-picking by copy-and-paste in a Mac GUI(indieapps.space ↗)

1 points · by Cykelero · 7mo ago · discuss

2.

Show HN: I spent two months optimizing my Git client(indieapps.space ↗)

1 points · by Cykelero · 1y ago · discuss

3.

Show HN: Git commit splitting in Retcon 1.2 for macOS(indieapps.space ↗)

4 points · by Cykelero · 1y ago · discuss

comment 1y ago · link · parent

Totally understand the dislike for subscriptions. I did go that way because it makes it much likelier I'll be able to work on the app long-term (which I'd really like!).

Retcon's actually already available on Homebrew—someone kindly added it, unprompted!

comment 1y ago · link · parent

Thanks for the link; jj's approach seems really solid.

Retcon is pretty different: during a rebase, the state of everything is only stored in RAM, not serialized to the repo. So while you can postpone resolving conflicts until you're done putting commits in place, you do have to do so before you go do something else in your repo.

The RAM representation is basically a list of commits (well, commit-likes), what I call a virtual history. It's the history you want to get to, but that's not currently representable with a regular, physical Git history.

comment 1y ago · link · parent

If there's a conflict, Retcon shows that to you, but you can keep freely moving commits around—it's not blocking. Once you're happy with how your history looks like, you can start actually resolving any remaining conflicts, and after that the history gets actually written.

Sometimes, just moving things around further is enough to resolve the conflicts, too, if they're simple enough!

comment 1y ago · link · parent

Thank you!

It's a regular video recording, and then I noted down the chapter timestamps in an array. (see heroVideoChapterStartTimesSeconds at the very top of https://retcon.app/main.js) As the video is playing, the player uses this to know what chapter to highlight, and how much to fill its progress bar. (that's updateVideoChapters())

comment 1y ago · link · parent

I'm actually working on adding this to Retcon right now! It's one of the biggest feature requests.

So far the implementation goes like this: you enter Edit mode on a commit; you unstage some lines; and you confirm. The lines are yanked from the commit, and added to a new commit that you just have to title. I just use it on the Retcon repo and it's real cool to have.

comment 1y ago · link · parent

(Retcon dev here)

lazygit is really cool, and is a lot more full-featured than Retcon. But, the core "rewrite with zero friction" feature of Retcon is still unmatched, I think.

For instance: while lazygit does allow you to reorder commits without entering a separate mode, that's only if each move is conflict free. If you have two commits that need to both be moved at once, then in lazygit, you'll have to resort to a regular interactive rebase (so, with the separate planning and execution steps, no undo or preview along the way, etc).

In Retcon, if a commit move results in a conflict, that doesn't matter; you can keep making changes to your history anyway, and then resolve any remaining conflicts when you're ready. It makes the workflow super fluid.

There's probably still a ton Retcon could learn from lazygit/magit/jj, though!

10.

Show HN: Retcon – A macOS Git client for instantly rewriting history(retcon.app ↗)

7 points · by Cykelero · 2y ago · 3 comments

11.

Timefind: Search a Website's History(github.com ↗)

1 points · by Cykelero · 5y ago · discuss

comment 7y ago · link · parent

I'm not sure what your point is; of course, you can write JS on top of Node that exposes its functionality with a nice API: that's exactly what Tasklemon is!

Did the intro maybe give you the impression that TL was built standalone, instead of on Node?

comment 7y ago · link · parent

Hmm, could you explain your exports idea further? I don't think I'm getting it.

The different extensions are a good idea; my current recommendation is to use .lem.js (for compatibility with editors), so that could be changed to .lem.ts easily!

I'd love to have proper TypeScript support at some point, too.

14.

Show HN: Tasklemon – A JavaScript Alternative to Bash Scripting(github.com ↗)

1 points · by Cykelero · 7y ago · 4 comments

15.

Tasklemon: A JavaScript Alternative to Bash Scripting(github.com ↗)

2 points · by Cykelero · 7y ago · discuss