Started contributing to open source, and here is what I have learned so far over the last two months.
If you are thinking of contributing to open source, then this thread might be helpful for you. 🧵
Currently working with SVGs in PDFs and it's been awesome learning how they work and discovering how even browsers sometimes fail to render certain cases properly.
We're about to enter a period where not reading or writing becomes as ubiquitous as smoking once was. We can hope people will eventually realize this is bad for them, as they did with smoking. But this is far from certain; the cost may not be as obvious.
PLEASE stop making bots that send random PRs to open source projects. If it's fixing something you are actually going to use that's one thing, but if you're just going through issues and making PRs without even discussing with the maintainers first that's wasting everyone's time. We're now getting 10-20 PRs per day from bots alone. I really don't want to turn off external PRs entirely, including for good contributors. Don't ruin open source for everyone.
- read blogs
- implement a small part of that blog
- build a project around those small implementation
- post about about that project
- post a blog/article of overall learning from the blog to implementing to building a project
simple
Got to know about something very new today,
Although both 'endl' and '\n' insert newline characters in c ++, these two are not interchangeable as endl
causes a flush of the stream buffer while '\n'
does not.
The endl is actually equivalent to:
cout << '\n' << std::flush;
rather than to '\n'
The function flush forces the stream buffer to be written to the underlying OS and it is very costly to call in the middle of a loop or when heavy outputs are involved. In other words, using endl in a loop could lead to poor performance.
Getting the feeling that companies now are not as bullish or as aggressive about AI as they were a few months ago.
Looks like the following things have compounded enough and have gone out of bounds.
- unnecessarily sloppy code
- unreliability in systems
- rising token costs
- agents breaking outside happy paths
- products not delivering enough value
Markets being this volatile and engineers not caring enough about systems is not helping either.
Companies might be realizing that AI is a great assistant and aid, and that the narrative around it replacing "everything" was an oversell and an overestimation.
Or maybe I am reading it all wrong :)
I am now a fan of AI dev, took a long time but I find them very capable now.
I still read a lot of code, write a lot of code, but I am much more of a fan now.
The thing I am liking a lot right now is structure refactoring. I want to change an entire way i am doing something. I can explore so many different styles and come to the conclusion of the one i like the best
I built Diffo.
Its a Git-like version control for PostgreSQL schemas.
The idea is simple: Application code gets branches, commits, diffs, merges, and conflict resolution.
But database schemas often get scattered migration files, unclear history, risky changes, and painful merge conflicts.
Diffo brings the Git workflow to your database schema.
With Diffo, you can:
• create schema branches
• record schema commits
• view schema-aware diffs
• generate migration SQL
• perform three-way merges
• detect schema conflicts
• resolve conflicts explicitly
• check out branches into isolated PostgreSQL workspaces
• garbage-collect stale branches, commits, and workspaces.
Checkout my blog : https://t.co/uYFfdGC9Zf
Repo: https://t.co/GmvTAa69iD