Earlier quoted context omitted.
Right but what if we didn't have to code anymore? Who would be reading it? Meaning, we don't worry about compiler readability anymore, we used to when assembly was fine tweaked etc. Just a thought. I work on full stack including front end animations etc but frankly its tiring and time consuming work to do that. Imagine if code was just you talking to it or showing it some whiteboards, then you would just talk to it a…
It's unlikely we will leapfrog from human-written code to relying on black-box generated code in one step. Everyone's been pointing to AI being used to augment existing jobs, as opposed to outright replacement. In order to augment a front-end developer well, we'll need human-readable code, unless we like reading uglified code/make an AI for that too.
Training an AI to convert design mockups into HTML and CSS
91–100 of 109 posts
Re: Training an AI to convert design mockups into HTML and CSS
#92Honest question: is anyone else sensing some defensiveness here? The timeframe is open to debate but what's more controversial is whether html/css is near the frontier of solvable problems. After AlphaGo, my worldview is changed forever. Glad to be still being valued for something I started out of joy but in no way feel it's not disruptable. Sometimes I even wonder why it hasn't advanced further since it's quite well…
Re: Training an AI to convert design mockups into HTML and CSS
#93Honest question: is anyone else sensing some defensiveness here? The timeframe is open to debate but what's more controversial is whether html/css is near the frontier of solvable problems. After AlphaGo, my worldview is changed forever. Glad to be still being valued for something I started out of joy but in no way feel it's not disruptable. Sometimes I even wonder why it hasn't advanced further since it's quite well…
Re: Training an AI to convert design mockups into HTML and CSS
#94Earlier quoted context omitted.
Here is a silly question Why will everyone need jobs if so much stuff is automated? Why not just give out free money?
Silly question. Why give out free money when you can starve them to death? I've heard that average American dumps lots of food into trash. I've heard that a lot of children in Africa are starving to death. Yet I don't see some real efforts to solve starvation problem, even if it's obvious that humanity technically is able to feed everyone on this planet. Yet we spend those resources on military stuff and other stupid…
There is a lot of effort put towards solving starvation and other forms of poverty around the world, and staggering progress made on that front. But its not nearly as simple as sending food that was destined for the trash to another country is it? There's logistics and when crossing state boundaries, politics as well. If you try to merely send food -- or _any_ form of wealth to a less wealthy country, it won't always have the immediate effect of making people's lives better.
Re: Training an AI to convert design mockups into HTML and CSS
#95The example mockup image shown is really unimpressive. As usual, the difficulty is in implementing the last 20% of edge cases and design subtleties, not well-defined black-and-white block layouts like the given example. It would've been simpler to build a classical program to handle that example, and the result would be much better and more predictably structured. It's like programming a self-driving car for a 2D gam…
But all jokes aside, I have to agree with others replying to your comment that this looks to be a learning exercise. It shouldn't be berated or beaten with a club. Without this kind of curiosity, the tech industry wouldn't be where it's at today.
Re: Training an AI to convert design mockups into HTML and CSS
#96Earlier quoted context omitted.
Instead, why not transition from a labor based system of resource acquisition for the masses to an investor based system of resource acquisition for the masses? Assuming that the labor economy is dying, then all laborers (truck drivers and code writers) need to figure out how to transition from generating livable income with their labor to generating livable income from their investments. Difficult? Yes. But is it an…
> Instead, why not transition from a labor based system of resource acquisition for the masses to an investor based system of resource acquisition for the masses? Because that means the existing capitalist class has to be forcefully deprived of much of their capital so that it can be redistributed, and a system needs to be set up to prevent it being from be reconcentrated. The existing capitalist class, which holds d…
Counter-point -- if the situation really _is_ such that the vast majority of the population enters into a situation where they require capital that only a minority have, then its inevitable that some form of wealth sharing would develop in any non-dictatorial society. In other words, I argue that such a transition could happen in a relatively peaceful, progressive way. _If_ it really needed to.
Re: Training an AI to convert design mockups into HTML and CSS
#97Re: Training an AI to convert design mockups into HTML and CSS
#98The example mockup image shown is really unimpressive. As usual, the difficulty is in implementing the last 20% of edge cases and design subtleties, not well-defined black-and-white block layouts like the given example. It would've been simpler to build a classical program to handle that example, and the result would be much better and more predictably structured. It's like programming a self-driving car for a 2D gam…
Found the front end developer :D But all jokes aside, I have to agree with others replying to your comment that this looks to be a learning exercise. It shouldn't be berated or beaten with a club. Without this kind of curiosity, the tech industry wouldn't be where it's at today.
"Within three years, deep learning will change front-end development. It will increase prototyping speed and lower the barrier for building software."
-- This is an article that somewhat breathlessly claims that AI will be the thing plugging the "last mile" problem in the coding of the front end.
I think myself and other other folks chiming in here would be less skeptical if this "last mile" problem hadn't existed since the 90s. And moreover, it seems like a conventional solution to this should work.
The problem is that last-mile, best front-code varies not based on the input image but on a multitude of contexts outside of the image itself - the server software, how the code will be used, etc.
I'd say this is indeed a problem for AI but it would require a distinct paradigm than the present train/test/output paradigm, more like a expert system that could modify it's behavior with natural language output.
Re: Training an AI to convert design mockups into HTML and CSS
#99Re: Training an AI to convert design mockups into HTML and CSS
#100Writing 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…
Also, how many sites can you make per day? If you could make 100x as many sites, you'd learn more about all the weird things that customers want. With machine-generated sites, you could then apply those lessons to all new and potentially old sites.