News for hackers. Stuff that matters.
Re:Show HN: Jq-Like Tool for Markdown by verdverm on Sunday February 23, 2025 @05:04PM (#43153653)
> GitHub PRs are Markdown documents, and some organizations have specific templates with checklists for all reviewers to complete. Enforcing these often requires ugly regexes that are a pain to write and worse to debug

This is because GitHub is not building the features we need, instead they are putting their energy towards the AI land grab. Bitbucket, by contrast, has a feature where you can block PRs using a checkbox list outside of the description box. There are better ways to solve this first example from OP readme. Cool project, I write mainly MDX these days, would be cool to see support for that dialect

Re:Show HN: Jq-Like Tool for Markdown by bradgessler on Sunday February 23, 2025 @06:46PM (#43154358)
Not only is GitHub focused on AI, but they’re also making their UI slower and jankier by rewriting it in React.

I feel like a “Linear for GitHub” is due.

Re:Show HN: Jq-Like Tool for Markdown by sorrythanks on Sunday February 23, 2025 @07:58PM (#43154803)
Re:Show HN: Jq-Like Tool for Markdown by groby_b on Monday February 24, 2025 @12:08AM (#43155993)
Uh... I have no idea what that was, just that the design is completely counter to any attempt to read it.

Which means, probably not a good replacement workflow for a daily driver.

Re:Show HN: Jq-Like Tool for Markdown by nicce on Sunday February 23, 2025 @07:27PM (#43154630)
Is it true that it is React’s fault? Is there any other replacement for heavy user interaction, that is clearly more performative? You cannot do that on server side.
Re:Show HN: Jq-Like Tool for Markdown by simonw on Sunday February 23, 2025 @07:54PM (#43154788)
GitHub worked great for 15+ years without React everywhere. I'm finding interacting with issues to be a whole lot jankier over the past few months.
Re:Show HN: Jq-Like Tool for Markdown by troupo on Monday February 24, 2025 @01:29AM (#43156390)
IIRC only search is React. Everything else is still Hotwire or Hotwire-like, with numerous bugs
Re:Show HN: Jq-Like Tool for Markdown by simonw on Monday February 24, 2025 @06:43PM (#43166305)
GitHub Issues is React now - I think as of a month or so ago. Try running the React Developer Toolbar on those pages to see.
Re:Show HN: Jq-Like Tool for Markdown by tomcam on Sunday February 23, 2025 @07:40PM (#43154701)
> Is there any other replacement for heavy user interaction, that is clearly more performative?

Well-written React?

Re:Show HN: Jq-Like Tool for Markdown by nicce on Monday February 24, 2025 @11:55AM (#43161798)
After reading a bunch of stuff as result of this, I think you are the most correct. Difference in performance on different frameworks seems to be more like philosophical rather than practical.

It is enough that your website has just a couple of images, comparison of the "shipping size" of the runtime bundling becomes rather meaningless. It is the same for initial latency for showing the rendered content.

These frameworks were designed for heavy sites, and their "base speed" becomes irrelevant. If you understand how do they work and use them correctly, there shouldn't be that much difference. Assuming, that we use JavaScript on client-side in the end.

Re:Show HN: Jq-Like Tool for Markdown by jkmcf on Friday February 28, 2025 @10:42AM (#43206853)
How many well-written code bases have you seen?

React is a PITA to learn, and even the easiest frameworks encounter devs who jump right in and commit shot code to deliver "value" right away, only for that code to live on forever haunting the devs left with mess after the founder coders move on.

Re:Show HN: Jq-Like Tool for Markdown by sorrythanks on Sunday February 23, 2025 @07:59PM (#43154807)
SolidJS
Re:Show HN: Jq-Like Tool for Markdown by AcquiescentWolf on Sunday February 23, 2025 @07:45PM (#43154731)
Vue, Svelte, Solid.
Re:Show HN: Jq-Like Tool for Markdown by do_not_redeem on Sunday February 23, 2025 @08:41PM (#43155049)
Yes, there are lots of better options. React is around the bottom 25th percentile of frameworks when comparing speed. https://krausest.github.io/js-framework-benchmark/2025/table...
Re:Show HN: Jq-Like Tool for Markdown by sauercrowd on Monday February 24, 2025 @12:18AM (#43156034)
In my experience performance issues in React also creep in without it being obvious when developing, especially across a larger team. It tends to be more obvious with server-side frameworks like django or rails.
Re:Show HN: Jq-Like Tool for Markdown by zelphirkalt on Monday February 24, 2025 @12:39PM (#43162417)
Whatever is at fault, their code viewer now sucks. I often cannot even use basic text functionality like double click + drag to highlight/select whole words. It has become broken software at some point.

For the code search one annoyance that they introduced was, that one needs to be logged in to search a project. Another annoyance is how the search works. Why, oh why, do soooo many programs/websites/software things have issues searching for a simple 100% substring match? There should always be an option in a search for most software, to search for exact substring without involving any magic. Then the checkbox to optionally ignore case. Only when this basic search functionality is ensured, should they care about developing anything else.

Re:Show HN: Jq-Like Tool for Markdown by sunaookami on Monday February 24, 2025 @04:05PM (#43164940)
Just selecting text in the code viewer is so broken it drives me nuts everytime. Thankfully you can just press "." to open VS Code Web with the current file open.
Re:Show HN: Jq-Like Tool for Markdown by whateveracct on Sunday February 23, 2025 @07:51PM (#43154768)
Linear? That website makes my laptop heat up like nuts.
Re:Show HN: Jq-Like Tool for Markdown by Terr_ on Sunday February 23, 2025 @08:07PM (#43154864)
If also hijacks standard browser shortcuts: I try to open the file menu with alt-f, but instead it (un-) marks the issue as "Favorite".
Re:Show HN: Jq-Like Tool for Markdown by 8n4vidtmkvmk on Monday February 24, 2025 @02:38AM (#43156772)
Fwiw im generally ok with this as long as hotkeys are customizable. Apps should behave like apps, and I like having the full array of shortcuts available
Re:Show HN: Jq-Like Tool for Markdown by colonial on Sunday February 23, 2025 @10:41PM (#43155633)
Holy crap, is that why it's felt so syrupy recently? What was wrong with the old implementation?!
Re:Show HN: Jq-Like Tool for Markdown by tobyhinloopen on Monday February 24, 2025 @02:44AM (#43156806)
It wasn't React. Everyone knows modern applications must be written in React.
Re:Show HN: Jq-Like Tool for Markdown by colonial on Monday February 24, 2025 @10:10AM (#43160400)
We are in Hell. Ugh.
Re:Show HN: Jq-Like Tool for Markdown by arminiusreturns on Monday February 24, 2025 @01:14PM (#43162846)
As a greybeard sysadmin, this is why I write pure html5/css3 with as little js as possible, and where it can't be avoided, vanilla with no frameworks.

I really have grown to hate most frameworks... (and I don't hate em, but for the devs who push them... it's become the new Java, another bane of linux admins everywhere.)

Re:Show HN: Jq-Like Tool for Markdown by iansinnott on Monday February 24, 2025 @02:27AM (#43156720)
Linear itself has a workflow for Github: https://linear.app/docs/github
Re:Show HN: Jq-Like Tool for Markdown by hamandcheese on Sunday February 23, 2025 @07:01PM (#43154450)
GitHub was ignoring users needs long before the AI craze.
Re:Show HN: Jq-Like Tool for Markdown by jvanderbot on Sunday February 23, 2025 @07:21PM (#43154593)
It's hard to remember, but as soon as gitlab showed up, GitHub went from a "maybe someday if I make it" site to a "let's just use GitHub for everything" site.

Prior to gitlab ratcheting up the usability, features, and cost effectiveness, I preferred hosted git for 99% of use cases.

Re:Show HN: Jq-Like Tool for Markdown by cmddds on Monday February 24, 2025 @12:54AM (#43156196)
I just started using git, can you give me some advice?
Re:Show HN: Jq-Like Tool for Markdown by arminiusreturns on Monday February 24, 2025 @01:19PM (#43162908)
Use it everyday, preferable with a porcelain such as magit in emacs.

Alias commands help.

Run your own git server instead of using one of the big names.

Use git hooks. (https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)

When starting out, looking at visuals of how git works can help a lot I've found when training others. (https://www.junosnotes.com/wp-content/uploads/2021/07/basic-...)

Re:Show HN: Jq-Like Tool for Markdown by tempaccount420 on Monday February 24, 2025 @07:59AM (#43159022)
Is that why Gitlab doesn't innovate anymore? No point if GitHub just steals the features?
Re:Show HN: Jq-Like Tool for Markdown by yshavit on Sunday February 23, 2025 @05:13PM (#43153710)
The Markdown parsing library I'm using supports MDX, so it shouldn't be too difficult to come up with syntax for those components. I haven't done that yet, but mostly because I didn't want to go down that path until I knew there was interest and had a concrete use case or two to inform the query syntax.

If you want to open an enhancement request issue, I'm happy to take a look (PRs also welcome, but not required). If you're not on GitHub, let me know and we can figure out some other way to get the request tracked.

Thanks for taking a look at the project!

Re:Show HN: Jq-Like Tool for Markdown by verdverm on Sunday February 23, 2025 @05:26PM (#43153823)
I don't write rust and already have an MDX toolbox that fits my needs. Browser, GH, and IDE search / TOC are good enough for me.

I'm currently in a phase of trying to shed tools and added complexity, rather than add them

Re:Show HN: Jq-Like Tool for Markdown by yshavit on Sunday February 23, 2025 @05:28PM (#43153839)
Fair enough!
Re:Show HN: Jq-Like Tool for Markdown by codelion on Sunday February 23, 2025 @05:55PM (#43154025)
it's a shame when core feature development seems to lag. i've also been working w/ MDX lately & agree that support would be a great addition.
Re:Show HN: Jq-Like Tool for Markdown by echelon on Sunday February 23, 2025 @06:13PM (#43154151)
> This is because GitHub is not building the features we need, instead they are putting their energy towards the AI land grab.

You throw the ball to where it's going. Gitlab might be delivering more value in the short term, but if things wind up looking significantly different in ten years, they might be in for a world of hurt. Innovator's dilemma is real.

It's a danger to ignore the tectonic changes happening. It's also incredibly risky to lean fully in, because we're not sure where the value accrues or which systems are the most important to build. It doesn't seem like foundation models are it.

It's smart to build basic scaffolding, let the first movers make all the expensive mistakes, then integrate the winning approaches into your platform. That requires a lot of energy though.

Re:Show HN: Jq-Like Tool for Markdown by mtndew4brkfst on Monday February 24, 2025 @07:38AM (#43158827)
> That requires a lot of energy though.

So do the plagiarism machines!

Re:Show HN: Jq-Like Tool for Markdown by kqr on Monday February 24, 2025 @02:11AM (#43156630)
> Bitbucket, by contrast, has a feature where you can block PRs using a checkbox list outside of the description box

I'm not sure this is better. I like the idea of the full context of the PR being available in a small set of relatively standardised fields. Smaller, non-semantic sets are easier to standardise.

Re:Show HN: Jq-Like Tool for Markdown by verdverm on Monday February 24, 2025 @06:58AM (#43158528)
I'm not sure how having a list of remaining tasks that can be added to adhoc and block PRs from merging is not better than check boxes in markdown description box that are little more than aesthetic...

It has saved us from self induced pain and is a great coordination point

Re:Show HN: Jq-Like Tool for Markdown by bastardoperator on Monday February 24, 2025 @01:58PM (#43163396)
Or maybe GitHub built these features over 10 years ago and millions upon millions of people use them daily without issue. You can literally have any semblance of what you're describing with a PR check, and that feature is also pretty old. The API is right there, you just have to use it.