Just ranked in the top 8 out of 104 teams all over India at #Semicolons Hackathon at @Persistentsys ! 🎉
What an incredible experience and learning opportunity to collaborate and work as a team.✨
Our team's hard work really paid off! 🙌🔥
#Hackathon#Persistentsystems
Today, we're announcing plans to make VS Code an open source AI editor.
We believe AI development should stay true to VS Code's core principles: open, collaborative, and community-driven. Let's build the future of software development together.
https://t.co/C3ffio6X88
Currently, building a code reviewer using TypeScript + Ollama 🚀
I have given both dolphin:llama3 (8B) and deepseek-r1 (32B) a shot and both are good at it, especially r1.
Looking for other great and faster coding/reviewing models under 20GB. Any recommendations? 👀
7/ 🚀 Debounce vs. Throttle:
While debounce delays function execution until a pause, throttle ensures a function is called at regular intervals, no matter how frequently the events occur.
Choose debounce for infrequent calls and throttle for regular intervals.
6/
In this example example, the 'fetchSearchResults' function is debounced to avoid making an API call on every keystroke.
The function will only be called 300ms after the user stops typing.
7/7 🧹 Tips for Optimizing GC
To improve GC performance and reduce memory usage:
1. Minimize global variables.
2. Avoid circular references.
3. Explicitly nullify large objects when no longer needed.
4. Use memory profiling tools to identify memory leaks.
🧵 1/7 🚮 Garbage Collection in JavaScript
Garbage Collection is an automatic memory management process in JavaScript that identifies and frees up memory that is no longer in use or needed by the program. ✨
6/7 ⚙️ Generational Garbage Collection
GGC, used in modern engines like V8, categorizes objects by their age:
1. Young Generation: Short-lived objects. 👶
2. Old Generation: Long-lived objects. 👴
GGC optimizes performance by frequently collecting young generation objects.