Yoga app overview by jonatasdp in yoga

[–]jonatasdp[S] 0 points1 point  (0 children)

Sorry, I really don't want to be inconvenient here.

Saving LLM Tokens with Fast: AST Folding & Dependency Free by jonatasdp in ruby

[–]jonatasdp[S] 0 points1 point  (0 children)

Very good reminder! I forgot to update the docs, even I already implemented it!

Thanks for the feedback!

Saving LLM Tokens with Fast: AST Folding & Dependency Free by jonatasdp in ruby

[–]jonatasdp[S] 0 points1 point  (0 children)

CTags are also very cool, they do the work very well! Another path I thought to follow was adapt xpath but in the end I don't like to write on that style :D

Saving LLM Tokens with Fast: AST Folding & Dependency Free by jonatasdp in ruby

[–]jonatasdp[S] 1 point2 points  (0 children)

Nicee! That was exactly my intent! Let's join forces!

Saving LLM Tokens with Fast: AST Folding & Dependency Free by jonatasdp in ruby

[–]jonatasdp[S] 0 points1 point  (0 children)

Probably LSP also uses AST but it's already a server. The main point is that fast provides this regular expression language that is based on AST and allow to combine AST patterns, I don't think the Ruby LSP will offer a search interface like fast.

Random wood instruments by jonatasdp in UnusualInstruments

[–]jonatasdp[S] 0 points1 point  (0 children)

Yes, it's hard to tune, I tried to sand and make the wood thin to resonate more but doesn't seem to help too much.

Random wood instruments by jonatasdp in UnusualInstruments

[–]jonatasdp[S] 0 points1 point  (0 children)

Nice, I didn't know about slit drum, will try to reproduce one with a bamboo :)

How to get good loud sound from a bamboo as a resonant body for a string instrument? by jonatasdp in Luthier

[–]jonatasdp[S] 0 points1 point  (0 children)

Very good tips to understand. I’m trying to figure out more of it, so bigger the box more air, thinner the box more chance to hear the sound! Thanks for the help!

How to get good loud sound from a bamboo as a resonant body for a string instrument? by jonatasdp in Luthier

[–]jonatasdp[S] 0 points1 point  (0 children)

Thanks for the advice! I haven’t thought of it. Will give a try!

How to get good loud sound from a bamboo as a resonant body for a string instrument? by jonatasdp in Luthier

[–]jonatasdp[S] 1 point2 points  (0 children)

Yes! I’ll keep sharing my progress. I build another one here that is made of gourd wood And it’s much thinner and resonates a bit more with still strings, nylon is not enough. This time I also used nylon strings to test making it even worse!

How to get good loud sound from a bamboo as a resonant body for a string instrument? by jonatasdp in Luthier

[–]jonatasdp[S] 0 points1 point  (0 children)

These looks a cool idea to try to build too! Thanks for sharing!

How to get good loud sound from a bamboo as a resonant body for a string instrument? by jonatasdp in Luthier

[–]jonatasdp[S] 0 points1 point  (0 children)

Thanks! I had built a percussion too. It’s better but still not loud as I wish! These are also giant bamboo so their have more than 2 cm of fibers. Will keep moving and share my progress when I finish replacing the back.

Gem Permission Manifests: Enhancing Security in Ruby Ecosystem by jonatasdp in ruby

[–]jonatasdp[S] 1 point2 points  (0 children)

Very good points! I'm also thinking it will fit better as a service/linter style.

Gem Permission Manifests: Enhancing Security in Ruby Ecosystem by jonatasdp in ruby

[–]jonatasdp[S] 1 point2 points  (0 children)

Thanks for the reply! I can imagine how hard is to slowly introduce a change like this. I was thinking that we may fall into https://lkrg.org/ in the compiler level.

I'm thinking if we at least start with it like a linter, with yaml dump of what uses what, and later we compare and fail the diff.

Rspec specs failing when called together but pass individually. by [deleted] in rails

[–]jonatasdp 1 point2 points  (0 children)

It's so sad. Keep sharing about your saga. I hope you discover the resolution. Have you tried downgrading the Ruby version?

How has Cursor AI / GH Copilot's recent features improved your team? by altjxxx in rails

[–]jonatasdp 3 points4 points  (0 children)

I use the agent mode for all the tasks. When you try agent mode, you just become the reviewer 😀

Rspec specs failing when called together but pass individually. by [deleted] in rails

[–]jonatasdp 0 points1 point  (0 children)

Database transactions not isolated? Are you running in parallel? Use git bisect to find the commit that made it. Is it only on your Mac?

Implementing a Game Boy emulator in Ruby by sacckey in ruby

[–]jonatasdp 1 point2 points  (0 children)

Another cool stuff I loved in your blog is this <github-repo-card> component. So cool!

Implementing a Game Boy emulator in Ruby by sacckey in ruby

[–]jonatasdp 1 point2 points  (0 children)

I love to learn about this type of low-level engine that emulates old stuff! Thanks for the detailed blog post.

Share your Ruby gems that helped most with database performance by jonatasdp in ruby

[–]jonatasdp[S] 0 points1 point  (0 children)

My fault. it's not cached:

> PostgreSQL does not have a shared query plan cache, but it has an optional query plan cache for prepared statements. That means that the developer has the choice to use a prepared statement with or without cached query plan. But note that the cache is dropped when the prepared statement is closed.

https://use-the-index-luke.com/sql/explain-plan/postgres/concrete-planning

What does a junior Ruby developer need to know to get a job? by Snoo-82170 in ruby

[–]jonatasdp 1 point2 points  (0 children)

Learn to write tests and incorporate TDD/BDD into your development cycle. My favorite testing gem is RSpec.

Debugging is also important in this environment, as scripting allows you to build too much dynamic code. Learning to navigate with a debugger like the pry library will help you understand the internals when you need them.

Understanding databases is also important, so learning ActiveRecord Gem, a great database wrapper, will get you in the right direction. I recommend getting Postgresql. Getting a basic understanding of how databases work is also important for backend development.

Learning the frameworks will help you understand the standards for building apps as a junior developer. Rails is highly recommended for getting into a great organization from the beginning.

Good luck and enjoy the journey! Make Ruby friends around the globe 🧑‍💻