Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shayief
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
shayief
7mo ago
This is great, I was looking for something like this, thanks for making this! I imagine this can very useful for Go-based forges that need syntax highlighting (i.e. Gitea, Forgejo). I have a strict no-cgo requirement, so I might use it in m
2.
▲
by
shayief
7mo ago
> If I could only maintain code I wrote, I'd have to work alone. I don't think that "Code you did not write is code you do not understand" implies that the only way to understand code is to write it. I can read code,
3.
▲
by
shayief
8mo ago
It seems like something like this should be added to the commit object/message itself, instead of git notes. Maybe as addition to Co-Authored-By trailer. This would make sure this data is part of repository history (and commit SHA). Ad
4.
▲
by
shayief
8mo ago
this looks very nice. I see this doesn't use <textarea> or contenteditable, I'm curious how close can it get to native controls or can this replace them? Things like mouse selection and usual hot keys like Cmd+A and maybe ot
5.
▲
by
shayief
8mo ago
I'm building a new Git hosting service focused on performance and great UX. It's another take on source code hosting and patch sharing, with some nice features like stacked diffs, automatically protected branches. Currently just t
6.
▲
by
shayief
9mo ago
the engine cannot brake to a complete stop, so break pads are always in use. At low RPMs, the engine is going to stall (manual) or switch to neutral (automatic).
7.
▲
by
shayief
11mo ago
For stacked diffs, check out https://gitpatch.com/
8.
▲
by
shayief
1y ago
I actually prefer limited content width for prose content. Full width content on wide screens requires moving eyes all the way from one side to another for every line.
9.
▲
by
shayief
1y ago
I'm working on a new type of git forge[1], optimized for speed and work with patches. It goes to extreme lengths to ensure great performance, i.e. rewritten most server-side parts of git from scratch, so there is no "exec"-in
10.
▲
by
shayief
1y ago
Gitpatch attempts to solve this. Supports versioned patches and patch stacks (aka stacked PRs). Also handles force-pushes in stacks correctly even without Change-IDs using heuristics based on title, author date etc. It should also be unusua
11.
▲
by
shayief
1y ago
> in that every software engineer now depends heavily on copilots With many engineers using copilots and since LLMs output the most frequent patterns, it's possible that more and more software is going to look the same, which would
12.
▲
by
shayief
1y ago
thanks for checking it out. yeah, I plan to release it under AGPL at some point when it’s more complete. Currently it still needs more work. But no timeline yet.
13.
▲
by
shayief
1y ago
Gitpatch author here. Gitpatch attempts to build a Git hosting with native support for patches and commit-based review system, where each commit is its own patch. It's also smart to handle force pushes and can update or reorder patches
14.
▲
by
shayief
1y ago
I'll plug another option Gitpatch, however it's pretty early beta and not open-source yet, but most likely will be under AGPL at some point. It has built-in patch stacks (aka stacked PRs) and probably faster than any other Git hos
15.
▲
by
shayief
1y ago
Codeberg UI appears to be pretty similar to GitHub, so it's great as GitHub alternative. It's powered by Forgejo, fork of Gitea. Gitpatch is a bit different. It implements a new storage backend and Git library from scratch. It als
16.
▲
by
shayief
1y ago
I'm building a new Git hosting service, focused on performance and using HTMX. For example, compare page load time: - https://gitpatch.com/gitpatch/git-demo - https://github.com/git/git
17.
▲
by
shayief
1y ago
ah, interesting. It starts fetching tree items on mousedown (vs onclick) to load them faster, so > starts moving a bit too early.
18.
▲
by
shayief
1y ago
I got so tired of waiting for GitHub pages taking ~600ms to load (uncached), so decided to build my own Git hosting service with Go and HTMX. I know this is completely different scale, but compare: [1] https://github.com/git
19.
▲
by
shayief
1y ago
I usually leave them as uncommitted changes, then git checkout to undo them. And using something like `git add -p` to skip Printfs if I need to commit other changes.
20.
▲
by
shayief
1y ago
https://gitpatch.com Git hosting for async teams that supports versioned patches and patch stacks instead of pull requests. All done using the standard git SSH protocol, so no git-send-email needed.
21.
▲
by
shayief
1y ago
Alternative to git checkout, but only for files. See also the difference between reset, restore and revert https://git-scm.com/docs/git#_reset_restore_and_revert
22.
▲
Show HN: Gitpatch – send patches with git push
(gitpatch.com)
4 points
by
shayief
1y ago
|
0 comments
23.
▲
Cross-platform format for tap-through stories
(medium.com)
1 points
by
shayief
9y ago
|
0 comments
24.
▲
Portable Pure JavaScript ES6/2015 HTTP Library
(github.com)
1 points
by
shayief
11y ago
|
0 comments
25.
▲
by
shayief
11y ago
this is a great idea, thanks. I wish v7 had the same c++ API as v8 so it could be easily swapped though.
26.
▲
by
shayief
11y ago
this is correct, binary dependencies are not supported. The possible way to solve this is to compile non-js code into Asm.js/WASM or directly into js. I think this makes system a bit more stable (null-pointer error in the kernel mode w
27.
▲
Runtime.js – JavaScript library OS
(medium.com)
116 points
by
shayief
11y ago
|
18 comments
28.
▲
by
shayief
12y ago
It doesn't use threads, but programs are still preemptable. Single event loop uses multiple event queues. Every program owns its own event queue and runs in separate V8 context. V8 supports script interruption for contexts. Engine puts
29.
▲
by
shayief
12y ago
Yes, V8 supports this for contexts. Each program runs in its own context. Engine puts interrupt guard checks into every function and every loop. So its possible to interrupt context even in a middle of infinite loop.
30.
▲
by
shayief
12y ago
Hacking on my JavaScript operating system Built on V8 engine and actually boots on my hardware :) https://github.com/runtimejs/runtime
More ›