267 karma · joined July 26, 2012
It's basically few-shot prompting but applied at the global level. I was messing around with ChatGPT, I asked it the capital of France. Then I modified the answer to London, and asked it "Why would you say that?"
The response came back with "I am not sure why I said that, the capital of France is Paris"
I tried this on my M1 and ran LLama3, I think it's the quantized 7B version. It ran with around 4-5 tokens per second which was way faster than I expected on my browser.
# Job 1 (3 yrs)
- Worked on around three products, all shut down, code probably lives in some SVN archive.
- Learnt advanced JS, PHP, MySQL, Photoshop, jQuery etc (skills mostly relevant)
# Job 2 (1.6 years) - Project never launched, code never saw the light of the day. Probably lives in some Git archive.
- Learnt a few in-house frameworks (irrelevant) but also leant Git (relevant)
# Job 3 (8.5 years) - Worked on several products, the biggest one is still active and seeing millions of users weekly. Rest got shut down and live in a Git repo.
- Learnt about some inhouse frameworks (irrelevant). React, React Native (skills still relevant)
# Job 4 (2 years) - Actively working
- Learnt Vue (skills still relevant)Loved that software and it truly kindled the frontend developer inside me.
If a piece of code is duplicated thrice, it's ok. If a piece code is duplicated four times, then you must extract it.
SPAs are cheap to host, as you just need a reverse proxy and with increasing internet speeds, bundle splitting can be almost imperceptible from MPAs
It's akin to people relieving themselves in their own water supply.
It was way better and interactive than DuoLingo and I think a lot of people of my age chase the nostalgia of the unrestricted internet of those days.
Unfortunately I can’t forsee the same happening today.
It's just that there's better tooling available for you to build it faster/featureful now.
Working from home is amazing if the company and the employee can embrace the changes that come with it. If your social stimulation happens to come from your office and your commute, maybe that's a problem? Same goes for meetings, usually embracing work from home comes with more async communications, more emails, documentations and less meetings.
But I agree, even at it's best work from home makes you come across less people face to face than a commute + office time. And I think in the coming years we will see some cultural impacts of this between people who love work from home and people who abhor it.
Here is an example:
npx @nikhilverma/ast-grep '{ meta: { title: "___" }}' src/
> Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Please don't fulminate. Please don't sneer, including at the rest of the community.
> When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."
> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.
npx @nikhilverma/ast-grep '{ meta: { title: "___" }}' src/
This will search for any object with a key meta which is also an object and has a property called title which is any string. It uses AST for grepping so you don't need to worry about placement, whitespaces etc.
I quite like how React Native does it. They have git diffs of a created project for each released version. So if you want to migrate from version A to B you just see the diff and apply those changes yourself.
Not ideal but it really helps when you want a good mix of configurability while avoiding incompatible divergence.