8,467 karma · joined January 12, 2013
Enums is going to make your TypeScript code not work in a future where TypeScript code can be run with Node.js or in browser when typings are added to JavaScript[1]
Enums results in runtime code and in most cases you really want type enums. Use `type State = "Active" | "Inactive"` and so on instead. And if you really want an closed-ended object use `const State = { Active: 1, Inactive: 0 } as const`
All of the examples in the article can be achieved without enums. See https://www.typescriptlang.org/play/?#code/PTAEFEA8EMFsAcA2B...
Why elevenlabs has such a lead in this space? It sounds better than OpenAI and Google models
Fully agreed! Again, for most people this is the way of life. They type in Google in search bar to go to google Google and then search...
> If the site being visited get info about whom that specific user
My understanding is that you only get to know user is legit without knowing anything about them.
Apple has proposed a solution to captcha[1] which I can't wait to be standardized and widely used.
Does the fish team have any plans for integrating AI models for other completion?
Cursor really aced this. The Cursor model is very fast to suggest useful inline completions and then leaves big problems to big models.
As a side note: I am using Safari and I noticed that Apple's search is also replacing my Google searches. In the past if I knew name of a company or organization but not their website I'd Google it. Now I put it in the address bar and Safari very often finds the website for me.
The math and coding performance is what we really care about. I am paying for o1 Pro and also Sonnet, in my experience beside Sonnet being faster, it is also better at many tasks. In a few instances I got answers from o1 Pro but it's not justifying the price so I am cancelling and going back to $20/mo.
I am currently paying for Cursor, Claude, ChatGPT and v0! The productivity I am gaining from those tools are totally worth it (except for o1 Pro). But I am really hoping at some point those tools converge so I can pay less. For instance I am looking forward to VSCode Copilot improvements so I can go back to VSCode and once Claude has no limits I rather pay for one AI system.
https://lab.sciencemuseum.org.uk/colour-shape-using-computer...
It recognizes my accent correctly too btw
https://chatgpt.com/share/67528a78-c61c-8007-b6fa-1d1deb8d84...
I'm going to give it one month. So far I'm inclined to not pay this crazy fee if the performance is like this
The ecosystem is another aspect. You have so many great options for off the shelf components and libraries with React that you might not have with other frameworks.
Before anyone mentions Custom Elements and Web Components, I must say I tried it. Gave it a lot of effort to be a solution but it is not!