Fork me on GitHub
#off-topic
<
2021-10-21
>
raicotop05:10:29

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

marrs08:10:39

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

lemuel14:10:22

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

p-himik08:10:26

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
marrs08:10:42

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.

emccue14:10:10

im surprised it does that well with clojure/lisp

emccue14:10:34

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

quoll17:10:40

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.