carlbarrdahl's comments

carlbarrdahl | 1 year ago | on: The brain makes a lot of waste. Now scientists think they know where it goes

I'm sure there are differences in their effectiveness.

Based on my limited knowledge the sound frequencies attempt to put the brain into theta or delta frequencies and does this by creating a ghost signal (left ear 100hz - right 106hz gives a 6hz theta wave).

Dreamachines work similarly (but mono) by creating a flickering light at set frequencies.

I'm sure tactile vibrations or pulses could have some effect also.

carlbarrdahl | 1 year ago | on: Show HN: Browser-based web design platform with code import and CSS filters

I really like the floating code window and the ability to dock it. However, it can't be resized while docked.

Would be cool with some preset color palettes to quickly change the feel of the site. Undo-redo actions could be useful along with an ability to re-order the sections. Just a sidebar showing the tree structure with drag-n-drop would be a nice feature.

Other ideas: - Configure link hrefs in header - Multiple pages - Use Tailwindcss - AI prompt to describe the layout and content - React export

carlbarrdahl | 2 years ago | on: ChatGPT: Fear Litany

> do you know why this happened?

> Yes, I understand now. Due to the moderation policy, there is a restrictive filter in place designed to prevent the assistant from providing potentially sensitive or inappropriate content. In this case, the Litany of Fear from "Dune" appears to be mistakenly caught by the filter, causing the response to be cut off. I apologize for the confusion and inconvenience that this has caused.

> describe this filter

> This filter is part of the AI system designed to provide a safe and appropriate conversational experience for users. The moderation policy helps ensure that any content generated by the AI follows guidelines and adheres to certain standards, including preventing the transmission of offensive, sensitive, or inappropriate information.

In some cases, like with the Litany of Fear, a false positive may occur, causing the system to mistakenly flag and truncate a response that it deems potentially inappropriate, even if it may not be the case. This is an area where the moderation algorithm can improve in order to avoid disrupting user experiences.

carlbarrdahl | 2 years ago | on: JavaScript state machines and statecharts

Would be interesting to see how good LLMs are at generating code for this.

As I see it, state machines are a json serializable representation of logic.

We also have json schema for representations of valid inputs. GraphQL or similar as representations for fetching data. And of course jsx for rendering views.

Put all these as a Venn diagram, what are the overlaps?

Can we use these constraints as a way to generate robust and consistent apps?

carlbarrdahl | 3 years ago | on: Diff Models – A New Way to Edit Code

What if you could inspire the assistant with code you like and it would generate in that style? For example choose a few repos with code-bases you want to mimic, give it a set of instructions (and perhaps structure), and it generates code for it.

Maybe something like GPT, style transfer, and OpenAPI combined.

carlbarrdahl | 3 years ago | on: Is equity the only way to incentivise contributors in the absence of salary?

A crypto approach could look like:

1. Create a token and mint 1% (10k) of them to you

2. Create a pair with let's say 1 ETH (or USDC) + 10k on Uniswap - this is your initial funding for your project. You now have a market for your token.

3. Reward your contributors with tokens - they can choose to swap these into ETH or USDC if they wish to

carlbarrdahl | 3 years ago | on: Ask HN: What developer tools would you like to see?

I would love to see tools in these categories:

- Sets constraints on how we write code - like a combination of a powerful linter and templates or patterns.

- Visualizes code-base and flow of code - quickly navigate to the relevant code as well as show the available functions in the code-base so newly onboarded devs can more easily re-use code than write new functions.

- Press record to capture 3rd-party requests and store as json mocks to use with a Mock Service Worker (msw)

Anything that improves the feedback loop, visualizes code-base, reduces context-switching or simplifies flow of code.

Storybook keeps impressing me. It's often misunderstood as a documentation tool but it's more than that. It let's you:

- develop components in isolation, greatly improving the feedback loop and sets constraints on what the component takes in as props and what it renders.

- testing for visual, accessability, interactions etc.

page 1