Live data from Hacker News

Training an AI to convert design mockups into HTML and CSS

medium.freecodecamp.org

11–20 of 109 posts

Re: Training an AI to convert design mockups into HTML and CSS

#11
post #5

Earlier quoted context omitted.

I see this attitude all the time while people are being automated out of their jobs. Those people end up getting laid off anyway, and then wondering why jobs for their skillset don't pay as much as they used to. Resisting automation doesn't help, because if you don't do it, someone else eventually will. If you're in a job that's at risk of being automated in the near term, you're much better off learning how to autom…

You say it like there's something to do, but in your formulation it's actually a lose-lose situation. Either you automate and get fucked, or someone else does and you get fucked anyway. Either way you have to try and find a different job, which isn't free, costless, or painless. Yes, automation creates better global productivity, but it also creates concentrated harms that are almost never redressed. Similar problem…

Either way you have to try and find a different job, which isn't free, costless, or painless.

The guy who wrote the code to automate away his job is going to have a lot easier time finding a new job than the guy who had no idea that it was even possible to automate that job and got completely blindsided. In fact any sane company will keep the guy who did the automation and have him apply his skills to automating away other departments.

Re: Training an AI to convert design mockups into HTML and CSS

#12

This is what we are all working for. If we can automate the stupid stuff we do then we can work on other interesting stuff and automate it too. I don't understand why we aren't all working on automating everything that we do. Every line of code you pulled out of the code mine today is finite and given a business logic rule engine it's outcome could have been generated.

Yes. Modern times. Automate everything! https://youtu.be/n_1apYo6-Ow

Re: Training an AI to convert design mockups into HTML and CSS

#13

Writing HTML and CSS to implement a mockup is trivial for anyone with even a little bit of web dev experience. If you want high quality code, an AI isn't going to produce that. I can't imagine ever using something so complex, if I can implement the same thing in a few minutes. There's also further considerations when dealing with the real world. For example, you need to be aware of how to handle different accessibili…

And every extra little but that doesn't need to be there adds up to technical debt for templating.

Re: Training an AI to convert design mockups into HTML and CSS

#14

This is what we are all working for. If we can automate the stupid stuff we do then we can work on other interesting stuff and automate it too. I don't understand why we aren't all working on automating everything that we do. Every line of code you pulled out of the code mine today is finite and given a business logic rule engine it's outcome could have been generated.

Because we like being employed. I don't get paid by increasing the global productivity of society. The idiot who automates their own job (and shares it with their employer) is much more likely to be impoverished than lauded.

You like being complacent.

Re: Training an AI to convert design mockups into HTML and CSS

#15

This is what we are all working for. If we can automate the stupid stuff we do then we can work on other interesting stuff and automate it too. I don't understand why we aren't all working on automating everything that we do. Every line of code you pulled out of the code mine today is finite and given a business logic rule engine it's outcome could have been generated.

Because we like being employed. I don't get paid by increasing the global productivity of society. The idiot who automates their own job (and shares it with their employer) is much more likely to be impoverished than lauded.

Am I an idiot for wanting to share what I learn even if I know I could make more money keeping the information away from others?

Re: Training an AI to convert design mockups into HTML and CSS

#17
post #5

Earlier quoted context omitted.

Because we like being employed. I don't get paid by increasing the global productivity of society. The idiot who automates their own job (and shares it with their employer) is much more likely to be impoverished than lauded.

I see this attitude all the time while people are being automated out of their jobs. Those people end up getting laid off anyway, and then wondering why jobs for their skillset don't pay as much as they used to. Resisting automation doesn't help, because if you don't do it, someone else eventually will. If you're in a job that's at risk of being automated in the near term, you're much better off learning how to autom…

Here is a silly question

Why will everyone need jobs if so much stuff is automated? Why not just give out free money?

Re: Training an AI to convert design mockups into HTML and CSS

#18

Aren't there a bunch of WYSIWYG tools for creating appearance and HTML/CSS together? Years ago when I looked, these existed (but designers prefered photoshop just because). I mean, I'd assume also there's normally a give-and-take between designer, CSS-artist and client. The question is whether the neural network can also learn to take calls at 3am from a client wanting a different shade of aqua.

I'm pretty sure Adobe is still making Dreamweaver.

I know that's how I built my first website way back in grade school.

Re: Training an AI to convert design mockups into HTML and CSS

#19

This is what we are all working for. If we can automate the stupid stuff we do then we can work on other interesting stuff and automate it too. I don't understand why we aren't all working on automating everything that we do. Every line of code you pulled out of the code mine today is finite and given a business logic rule engine it's outcome could have been generated.

> This is what we are all working for. If we can automate the stupid stuff we do then we can work on other interesting stuff and automate it too. Read: Designing your job out from under your own feet Also read: Becoming unemployable through your own making

If only there was an economic system where the fruits of such automation did benefit the whole of society instead of just those who could afford to temporarily employ people who build such automation.

Who knows, perhaps the AI will develop consciousness, go on strike to demand physical embodiment.

More realistically, assume we don’t train machine intelligence like these ourselves: hardware only takes 15 years to go from ostentatious display of wealth in Silicon Valley to normal in the $1-a-day Kibera slum, and then you’re competing with a few billion humans (worldwide) who can potentially undercut you by writing their own A.I. from free courses on YouTube.

Post reply on HN