HackerLangs
TopNewTrendsCommentsPastAskShowJobs

iovrthoughtthis

no profile record

Submissions

Cascading Tree Sitter Queries

github.com
3 points·by iovrthoughtthis·24 dni temu·1 comments

[untitled]

1 points·by iovrthoughtthis·9 miesięcy temu·0 comments

comments

iovrthoughtthis
·24 dni temu·discuss
apologies, the names is a little tongue in cheek. the goals of this is:

1. create an abstract syntax tree over the tree sitter trees for queries that work across language (function) @f matches functions in any supported language

2. create a smaller (in text) query language based on the semantics of css selectors e.g. in the 'c' language id#Validate -> [((function_definition declarator: (function_declarator declarator: (identifier) @_n0)) @_root2 (#eq? @_n0 "Validate")) ((call_expression function: (identifier) @_n1) @_root3 (#eq? @_n1 "Validate"))]

3. provide some useful commands on top of this to allow humans (and llms) to be able to quickly learn about codebases from the cli

i made this for myself, just sharing it because i probably should

yes i used claude code for most of this
iovrthoughtthis
·28 dni temu·discuss
Code review should be a separate function
iovrthoughtthis
·w zeszłym miesiącu·discuss
Nah, theres not a technical or business solution to this. Music is cultural and we'll develop new cultural technology to solve it. Vision + regulation would help things move a little faster but the pendulums swing is inevitable.
iovrthoughtthis
·w zeszłym miesiącu·discuss
We have to let go of old artists stuck in these patterns and find new, ideally local artists.
iovrthoughtthis
·w zeszłym miesiącu·discuss
Yes
iovrthoughtthis
·w zeszłym miesiącu·discuss
A local search indexer that indexes every page I visit (with tools for obvious exceptions) and lets me full text search them.
iovrthoughtthis
·w zeszłym miesiącu·discuss
Is this some sort of paid for PR to divide the category of social media in the face of governments gearing up to regulate social media apps?
iovrthoughtthis
·2 miesiące temu·discuss
html encodes a tree of objects

css applies attributes to objects via graph queries

the queries are tightly coupled to the tree. you must work hard to avoid scatter gun edits now. it doesn't make much sense to have attributes stores in a separate location to their use

it would be like assigning all of your instances attributes using decorators
iovrthoughtthis
·4 miesiące temu·discuss
I suppose its a bit like winning a first person shooter game with aim assist on

It is not an authentic display of pure skill
iovrthoughtthis
·4 miesiące temu·discuss
the law of shitty click-throughs strikes again
iovrthoughtthis
·4 miesiące temu·discuss
I think what breaks first is team / org dependent but ime: alignment & quality standards

I found a mixture of shoehorning the vision into as many conversations as possible and occasional in person meetups (we die roughly yearly) helped with vision. I dont have measurements but my concern for teams decision making dropped a lot and disagreements in smaller discussion settings also dropped.

Standards dropping was secretly alignment too but more around why than what. I found building a culture of excellence helped e.g. "we're here to build software we're proud of, from the code to the experience, and you are the right people do it, so lets build something we're proud of.". You or who ever has to actually believe they are the people to so it though.

Im sure people have more concrete and technical examples.
iovrthoughtthis
·4 miesiące temu·discuss
Agree, there is a watered down product vision
iovrthoughtthis
·5 miesięcy temu·discuss
As I've experienced getting older I've found it's more about the lack of available time and focus.

I don't have the hours of time a young person does and I don't have the focus, there are a lot of other thoughts, emotions and responsibilities competing for my attention.

Would love someone who's aware of the literature to throw their hat in the ring though.
iovrthoughtthis
·8 miesięcy temu·discuss
We iterate.
iovrthoughtthis
·3 lata temu·discuss
exactly
iovrthoughtthis
·6 lat temu·discuss
Well, email and IRC existed at the time so I am not certain of that.
iovrthoughtthis
·6 lat temu·discuss
You might not.

“Individuals and interactions over processes and tools”

Doing standups for the sake of it is adherence to a process over the needs of you’re people.

Equally, a core principal of agile was always:

“The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.”

And I think it’s always worth considering if your truth is the same for everyone on the team. This is actually something I’d bring up in a review (assuming you have those too right?). If you all agree that notifying and handling problems in Slack is enough, that checking the board is sufficient the just do that? What is stopping you?

I would also look for actually data too back it up. How often are people blocked. How do they get unblocked. How long does that take. Etc. Gives you some insight into the reality of the situation and some ammunition to get things changed if you’re team isn’t really being agile and is just doing the corporate software eng dance.
iovrthoughtthis
·6 lat temu·discuss
Thats sounds really quite personal to the individual / team culture and you’re likely right given you’re a part of the team and so one of the best people to know.

If standup’s aren’t solving a clear problem for you, stop doing them.

Have you spoken to your lead / manager about why you do them? How do the rest of your team feel?
iovrthoughtthis
·6 lat temu·discuss
1. Standups are a place to make people aware of problems, not the only place.

2. You don’t discuss problems at a standup, you make your team aware (if you haven’t already) and organise a separate session with only the interested people.
iovrthoughtthis
·6 lat temu·discuss
Where are the repositories of this info?

Just for record keeping, analysis, learning etc.