Fork me on GitHub

Front-end developers: what is your method for designing ui components (from the visual point of view)? I'm looking for a tool like "user clicks through (adds components, sets attributes, colors etc), immediately sees the result, spits HTML + CSS code at the end". Is there anything like this (free to use)?

Lennart Buit06:10:04

Storybook is pretty great

Lennart Buit06:10:58

Right then I misunderstood the question. You can configure preexisting components with controls and get html for that. But yeah no visual drawing -> html/css


I still hand code that stuff. Never used an HTML generator I liked.


I’ve found tailwind css to be a great prototyping tool. You’re still writing html by hand but it’s surprising how quickly you can piece things together


Just saw the latest XKCD and decided to google "javascript ext4" myself. Found an Ext4 filesystem driver written in JavaScript. What could possibly be a valid scenario where you'd need to use a JavaScript FS driver?

😁 2
🤯 3

Is there anything that language can’t do?

Chris McCormick08:10:54

apologies if this kind of thing has already been posted, but i just got access to open ai codex and i thought i would test it out. i wrote just the first line of this function.


im surprised it does that well with clojure/lisp


has syntax errors, but still

Chris McCormick02:10:26

yeah, and res/write-json doesn't make sense really, but the basic structure is still reasonably sound.

Drew Verlee16:10:19

I mean, that's cool. But i'm an actual intelligence and i still need more information then "drew can you write an authenticate admin" function to do my job so i'm confused about the goal here.

👍 2
Drew Verlee16:10:29

i see it doing everything but authencating the admin lol, i mean nothing could do that without more information.

Chris McCormick02:10:53

> confused about the goal here no goal just tinkering


I worry about using something like this. It’s the same as the Tesla problem: It’s released as an assistive system, with caveats that it must be supervised and not fully trusted. But when it starts getting things correct most of the time, it will lead to complacency. Human brains are simply not designed to remain attentive when there’s nothing much to do. So the better it is, the more likely it is for people to miss the errors when they do occur.

Chris McCormick02:10:58

Yeah I worry about that too.