HNHacker News
TopNewBestAskShowJobs

carlbarrdahl

98 karma · joined July 2, 2014

https://github.com/carlbarrdahl
submissionscomments
carlbarrdahl··on Our decision on Cursor following its acquisition by SpaceX
I met the founder of Voidleap (https://voidleap.com) yesterday! They have been building a new type of code editor since early this year and has been dogfooding it themselves.

I haven't tried it yet but it looks promising. He would be thrilled if people give it a go!

carlbarrdahl··on Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML
Could you expand on this?
carlbarrdahl··on Axios compromised on NPM – Malicious versions drop remote access trojan
You're right, I used an LLM to help write it from sketches. Gonna rewrite it properly because I think the ideas are worth exploring. Thanks for taking the time to read and reply.
carlbarrdahl··on Axios compromised on NPM – Malicious versions drop remote access trojan
Many of the suggestions in this thread (min-release, ignore script) are defenses for the consumers.

I've been working on Proof of Resilience, a set of 4 metrics for OSS, and using that as a scoring oracle for what to fund.

Popularity metrics like downloads, stars, etc are easy to fake today with ai agents. An interesting property is that gaming these metrics produces better code, not worse.

These are the 4 metrics:

1. Build determinism - does the published artifact match a reproducible build from source?

2. Fuzzing survival - does the package survive fuzz testing?

3. Downstream stability - does it break any repos dependent on this project when pushing a release?

4. Patch velocity - how fast are fixes merged?

Here's a link to the post, still early but would appreciate any feedback.

https://hackmd.io/@carlb/proof-of-resilience

carlbarrdahl··on HTML Kaleidoscope
Another mobile-friendly one and using the camera as input: https://kaleido-app.vercel.app
carlbarrdahl··on Steam Brick: No screen, no controller, just a power button and a USB port
I'm on my third xps across 8+ years. 2 cases of services, the first one was a faulty keyboard on delivery and the second was a 1 meter drop into concrete that busted the screen.

Still looking for alternatives for my next one and thinking the System76. Gotta say though, I'm really happy with the xps model so far.

carlbarrdahl··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··on My weekend project turned into a 3 year journey
what about CRDTs and live collaboration? :hides:
carlbarrdahl··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··on Northvolt raises $1.2B convertible note from BlackRock
Another Swedish company that does battery tech: https://mattr.se/official-projects/
carlbarrdahl··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··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··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··on Show HN: ML paper podcast generator using GPT and Tortoise-TTS
Interesting to read the prompts used to generate these conversations:

https://github.com/yacineMTB/scribepod/blob/master/lib/proce...

> Make the dialogue about this as long as possible.

carlbarrdahl··on Show HN: ML paper podcast generator using GPT and Tortoise-TTS
It's making an api request to play.ht:

https://github.com/yacineMTB/scribepod/blob/master/playht.ts...

carlbarrdahl··on A Perceptually Meaningful Audio Visualizer (2016)
There's a Google Experiment from 2018 using Hilbert Scopes:

https://experiments.withgoogle.com/seeing-music

Does anyone know of any chanting apps to give visual feedback on your voice as a tool for meditation?

carlbarrdahl··on Is tipping getting out of control? Many consumers say yes
Really cool! Would love to hear more because I'm working on a few concepts in this space.

I'm trying to find the core value proposition and looking for people to collaborate with.

Here are two proof of concepts I'm building:

https://botto-app.vercel.app/merchant/sattvic_vegan

https://q-link.xyz/q/cld1u6ihc0001mq08j15yhog9

If this sounds interesting, please email me at my username @ gmail.com!

carlbarrdahl··on Using a Canon EOS camera as a webcam in Debian
Played around with this earlier this year. You can also use it in a browser: https://web.dev/porting-libusb-to-webusb
carlbarrdahl··on Dreamachine
Just built a dreamachine combined with binaural beats as a PWA. Frequencies and colors are configured by tapping and dragging the screen. Binaural beat is in sync with dreamachine pulse.

PWA: https://dreamachine.vercel.app

Code: https://github.com/carlbarrdahl/dreamachine

carlbarrdahl··on Ask HN: What is something you built but never marketed?
A point-of-sale-system for ordering and paying for food trucks with queue handling so customers know when to pick up food.

And a kaleidoscopic camera made with webgl: https://kaleido-nft.vercel.app/app

carlbarrdahl··on Swedish tech startups and scaleups
What are the 80/20 pareto efforts in terms of reducing plastics today? For example in cities and oceans as target areas.
carlbarrdahl··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··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.

carlbarrdahl··on Ask HN: Can you share websites that are pushing the utility of browsers forward?
Do you have any ideas on what such an api could look like?
carlbarrdahl··on Ask HN: Can you share websites that are pushing the utility of browsers forward?
Do you know if there's similar to a VST standard for WAM?

Would be interested in the possibility of online DAWs that can import plugins and open up for marketplaces where developers can build and publish these.

carlbarrdahl··on Finite State Machines
Thank you David. Your xstate repo on github brought my attention to state machines and state-charts. Which I guess is why I'm interacting with this thread right now.

I often wonder what would happen if we could find ways to build complex applications by creating re-usable blocks using state machines (state, logic), json-schemas (structure, data-model), and React* (presentation).

All of these are serializable documents. Imagine being able to search a collective collaboration of components and schemas and piece it together. Could probably be graphical interface like Figma.

There are certainly other pieces that could be also used (graphql to describe data-fetching, markdown (mdx) for content).

*or similar

carlbarrdahl··on Ethereum Isn't Fun Anymore
Could be an antidote to spam and ai generated content? It could be used as a signal in the noise because of skin in the game for the participants in the network. One could look at it as a common backend for anyone to build clients that combine and present these feeds.

Perhaps we're not seeing the forest because we're looking at the monetization capabilities in the wood.

carlbarrdahl··on Finite State Machines
How come there isn't better re-usability in state machines?

It seems it would be powerful if they were treated as re-usable lego bricks of state and logic.

Apps could then pull these in, connect the wires to any potential backend, and style the interactive components.

carlbarrdahl··on Show HN: A simple website for my JavaScript bundler
Well done! Noticed some 404 links on the docs page you might want to take a look at.

(cool to see your project on HN frontpage, Sebastian!)

carlbarrdahl··on Generating MIDI melody from lyrics using LSTM-GANs
When something hard becomes easy with the aid of technology, our expectations and demands of quality tend to rise. Maybe this is a good thing?

What great innovations or paradigms in music has happened recently? For example, what hiphop did in the way it combines beats and poetry revolutionized music as we know it.

Page 1 of 2Next →