- One of the biggest shifts is the move from the LevelDB database backend to SQLite
- The command-line interface … old single-dash long options removed, some options renamed, and others reorganized into subcommands.
I’m not a bot.
- 44 Posts
- 370 Comments
paequ2@lemmy.todayOPto Programming@programming.dev•Comby is a tool for searching and changing code structure1·1 day agoSome very quick, superficial differences:
-
ast-grep
uses tree-sitter for understanding languages -
ast-grep
is written in Rust -
ast-grep
uses YAML for config -
ast-grep
more normal--flags
-
comby
doesn’t use tree-sitter and does it’s own thing… not sure what to think of this approach -
comby
is written in OCaml -
comby
uses TOML for config -
comby
uses-single-dash-flags
-
both have online playgrounds for testing
I personally hate YAML, so it’s
comby
for me! (For now.)Also, here’s what Comby says about its approach to matching: https://comby.dev/docs/faq
Underneath the hood, Comby uses no tree definition, but turns patterns into an executable routine (a language-aware parser) where the tree structure is implicit in this executable routine. In theory, the syntax matched by this routine could dump a serialized parse tree, but this isn’t implemented :-). With this design, Comby sacrifices this ability to recognize many predefined language constructs in order to support a more freeform pattern writing and matching process. This loses precision for deeply recognizing all of a program’s structures, and may fall short of your needs depending on your use case.
-
Oooooooh, right, right. Yeah, that one!
- shalafi is an active, long-standing user on Lemmy.world, known for:
- A high volume of comments and participation.
- A satirical, irreverent style—whether poking fun at religion, workplace dynamics, or broader political and cultural topics.
- Engaging across a broad range of community discussions—from humor to tech, relationships, and politics.
- shalafi is an active, long-standing user on Lemmy.world, known for:
Kinda reminded me of this episode: https://www.imdb.com/title/tt30127325/
Linux Mint, Ubuntu, or Fedora
I recently tried Fedora for the first time last week… and was pleasantly surprised! Out of these 3, I feel like Fedora looks the nicest. Fedora Workstation’s installer is a little nicer than Ubuntu’s. I also think the update screen during reboot is a nice touch.
paequ2@lemmy.todayto Technology@lemmy.world•Mozilla under fire for Firefox AI "bloat" that blows up CPU and drains batteryEnglish415·4 days agoCome to LibreWolf, the waters fine!
paequ2@lemmy.todayOPto linuxmemes@lemmy.world•Me, when my new job forces macos for development15·6 days agoI guess it can always get worse. 😭
paequ2@lemmy.todayOPto linuxmemes@lemmy.world•Me, when my new job forces macos for development9·6 days agoThe funny thing is that my manager just told me one of the development workflows is:
- create a Linux VPS on cloud
- they have tooling so that local code gets synced to remote Linux
- SSH into remote Linux
- code, dev, test, etc
😐 … 🫲 … 🫱 … 🙌
paequ2@lemmy.todayOPto linuxmemes@lemmy.world•Me, when my new job forces macos for development10·6 days agocreate symlinks in my $Path that point to gawk, gsed, and ggrep
The problem with this is that scripts assume the BSD versions of those tools. The scripts break if I do that. (I tried doing that.) 😢
The parts of the code base that can be built on both platforms is littered with:
if os == linux awk <something> else if os == mac awk <something else>
paequ2@lemmy.todayto Ask Lemmy@lemmy.world•How do you deal with the left over fat/oil in your pan?English1·8 days agoWould be interesting to compare the carbon footprint.
Yeah, definitely. I thought this was interesting because cleaning up certain dinners requires A LOT of paper towels. And then there are dinners where I end up with a small jar of oil, which is too much oil for paper towels. Thought this may save a few trees.
paequ2@lemmy.todayto Ask Lemmy@lemmy.world•How do you deal with the left over fat/oil in your pan?8·10 days agoI currently use (probably too many) paper towels to absorb the oil and then toss them into the trash can. I’m not happy with this solution, but I don’t want to pour it down the drain.
I found this the other day https://fryaway.co/ but I haven’t tried it yet. It’s supposed to make the oil solid so you can more easily toss it.
paequ2@lemmy.todayto Videos@lemmy.world•American Kei Truck Situation is Amazing (Bladed Angel) [14:15]11·13 days ago95% of people are commuting in these light infantry vehicles
😂
IDE users pretending compilers don’t exist.
$ guix shell gcc [env]$ g++ test.cpp test.cpp:4:16: warning: `0;' is not in NFC [-Wnormalized=] 4 | return 0<U+037E> | ^~~~~~~~~ test.cpp: In function ‘int main()’: test.cpp:4:16: error: unable to find numeric literal operator ‘operator"";’ test.cpp:4:18: error: expected ‘;’ before ‘}’ token 4 | return 0; | ^ | ; 5 | } | ~
Look ma, no IDE! 😸
Having just gone through the job hunt cycle again. YES. Accurate.
paequ2@lemmy.todayto Linux@lemmy.ml•Looking for a Desktop Environment recommendation for my Mother's new 2-1 laptop.English41·16 days agoIf it were me, I’d set up my mom with GNOME because I feel like KDE might provide too many footguns or may look/feel overwhelming due to the many available customization options.
IDK though. I’ve used GNOME for years and have only briefly used KDE for experimentation. I’m guessing there’s some way to customize KDE to make it more simple? I imagine GNOME would be nice on a tablet because it tends to have nice big button targets, but I haven’t tried it.
Other great resource is guix shell: Overview by Andrew.
Although, one thing I’m still trying to understand is the difference between
guix.scm
andmanifest.scm
… The posted article only mentionsguix.scm
, but Andrew talks about both. But… he doesn’t really go into why there are two files and when you would use one or the other…
Damn, I just realized the video is 40 minutes long! I watched all of it. So damn on point.
Of course I know about the hallucinations and I’ve had to correct its basic math, but now that we’ve moved past the physics that I understand, it’s amazing!
This ^^^ 1,000 times this!!! ^^^ I’ve had so many people tell me this before…
Oh, yeah makes sense. Thankfully, I’m refactoring Go!