emersonmacro (emerson)

emersonmacro

dev | defi & web3 | exploring the decentralized frontier

13 Followers

Recent casts

Top casts

First impression of Uniswap v4: excited - they push things forward once again. Potential concern: fragmented liquidity? Hooks make it easy to customize pools, and singleton makes them significantly cheaper to deploy. Potential counterpoint: hooks make custom pools composable, so liquidity flows instead of fragments

  • 1 reply
  • 0 recasts
  • 1 reaction

The first answer was `if <element> in <slice>`, which is valid Python but not valid Go. The second was `if strings.Contains(<slice>, <element>)`. There is a `strings` package that has a `Contains` method, but it's to check if a substring is in the input string.

  • 1 reply
  • 0 recasts
  • 0 reactions

So I would suggest a healthy dose of skepticism when asking programming questions to this thing. Wondering what other types of questions I should try. What use cases are you actually getting useful results from?

  • 0 replies
  • 0 recasts
  • 0 reactions

Tried asking ChatGPT a programming question, and it gave me two suggestions that seemed plausible but were actually quite wrong. The prompt was `golang check if element in slice` (a slice is basically an array).

  • 1 reply
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses