Javascript OSS progress:
started with: just something easy to use
then: make the bundling size small
and now: make it blazingly fast!
my guesses for next trends:
fully typed, good type inference
testable (easy to mock/assert during tests)
maintainable (good contributor docs)
My 2nd article about building an open-source RAG CLI tool:
- Designed the CLI interface
- Commands: add, update, remove, get
- Chose TypeScript & Bun for implementation
https://t.co/NAe4kUo7SC
Trying to use Github Copilot but it doesn't know how to use the recent versions of the frameworks/libraries I am using. So I am building a command line tool to solve this problem, and writing about the design and implementation process step by step: https://t.co/FAzRgT5reD
I’m available for hire as a frontend/full-stack engineer.
My skills: Typescript, React, Nextjs, Tailwind CSS, Node.js.
Link to my portfolio in the first reply.
Will appreciate a retweet 🙏.
@yagiznizipli Looking at your command `docker run -p 5000:5000 ... -p 5000`
I think the issue is the last `-p 5000`, try removing it.
My guess it that it overrides the first one and results on the port being exposed inside docker but not bound to host machine.
Reading this https://t.co/rjP9VVuhUb
> The underlying issue ... was that we were continually allocating a new responseBuffer in a loop rather than reusing it. This was causing GC to get behind ...
And thinking: This is the @ThePrimeagen favorite trick!
@mattpocockuk - In library code: I use `ts-expect-error` (it's often TS not smart enough to know that the code is correct).
- In application code: I just cast to `any` and move on.