News for hackers. Stuff that matters.
Re:Show HN: I trained a deep learning model to build sites f... by onion2k on Tuesday August 06, 2019 @10:41AM (#20625565)
It takes time, lots of meetings and boring back and forth questions. I want to change that.

So I tried to automate this process.

The reason for all the meetings and questions is that the designs you're working from are ambiguous, and you don't really have enough information to turn the design files in to working code. I can't quite see how a deep learning model solves that problem. By the sounds of it you've automated turning the original, ambiguous, wrong designs the you have at the start in to code and tried to remove the discussion process that takes those files and turns them in to the right solution to the customer's problem. This is not going to lead to better front end code.

Re:Show HN: I trained a deep learning model to build sites f... by wlesieutre on Tuesday August 06, 2019 @10:48AM (#20625624)
Depending on the customer, that could still be helpful. I've worked with people where you can ask them very specific questions over and over and get nowhere - the only way they're capable of moving forward is if you give them something you know is wrong so they can look at it and say "No, it needs to X."

It's annoying to do, but if you can automate producing the initially wrong product for review it'd be easier.

Re:Show HN: I trained a deep learning model to build sites f... by sizzle on Tuesday August 06, 2019 @03:45PM (#20628779)
Wouldn't you achieve the same feedback with minimal dev effort by simply modifying the sketch files with the client until they are signed off on it, which is what designers would be doing before discussing the technical feasibility/performance tradeoffs with devs for implementation? Assuming you are working with a designer that is creating sketch files.
Re:Show HN: I trained a deep learning model to build sites f... by sprafa on Tuesday August 06, 2019 @05:40PM (#20629946)
Have you worked with clients? If you have a good producer/leader yes you can get a lot done. But many times this just happens as A. Client approves design B. You build the Beta of the website and launch it for testing with client C. Client shows wife/boss/friend who says “I think we should change this”

End result: you end up having to redo the website. This tool helps get that Beta up even if just for the client to try it and show his friends/wife/boss

Re:Show HN: I trained a deep learning model to build sites f... by onion2k on Wednesday August 07, 2019 @01:49AM (#20632265)
The point I made in my reply is that this tool won't save you from those meetings and rounds of changes. As it'll speed up the coding side of the iterative development process by making exactly what the client has described rather than the developer using their experience to build what the client actually wants, there'll have be more meetings in order to get to what the client really needs.

The benefit of automating the production of code is useful, and plenty of people would want that, but targeting the messaging at developers isn't going to work. I would have thought selling this tool to people who employ developers as a way to reduce the number of people they need is a far better route to market.

Re:Show HN: I trained a deep learning model to build sites f... by kthejoker2 on Tuesday August 06, 2019 @02:39PM (#20628130)
Cunningham's Law is one of the truest design patterns in all of mankind.
Re:Show HN: I trained a deep learning model to build sites f... by moehm on Tuesday August 06, 2019 @04:47PM (#20629450)
For everyone else: "Cunningham's Law states 'the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer.'" [0]

[0] https://meta.wikimedia.org/wiki/Cunningham%27s_Law

Re:Show HN: I trained a deep learning model to build sites f... by throwaway743 on Tuesday August 06, 2019 @10:56AM (#20625689)
Couldn't agree with you more
Re:Show HN: I trained a deep learning model to build sites f... by cameronbrown on Tuesday August 06, 2019 @11:36AM (#20626085)
There is advantage here. Imagine being able to have a CI process for design files - just upload your sketch file's changes to the repo and this tool in your pipeline builds/deploys a version of this in HTML in your staging environment. Easy link sharing built in.

If designers have the ability to work closer to the web, more power to them. It should be our job as software engineers to make this as easy as possible and this tool could be one specific implementation.

Re:Show HN: I trained a deep learning model to build sites f... by mdorazio on Tuesday August 06, 2019 @10:15PM (#20631459)
For larger clients who are familiar with the design process that's true. But for smaller clients, I would 100% take a working, "wrong" version of a site based on a design file over Sketch iterations any day. You'll get immediate, actionable feedback much faster (ex. "I don't like button X, change it to Y"), often times with less effort and a happier client at the end.
Re:Show HN: I trained a deep learning model to build sites f... by throwaway743 on Tuesday August 06, 2019 @10:55AM (#20625686)
Depends on who he's meeting with and what industry. If it's an ad/service company where the design process is controlled by project managers or the clients... then I totally see where he's coming from in terms of meetings being a drag
Re:Show HN: I trained a deep learning model to build sites f... by onion2k on Tuesday August 06, 2019 @11:07AM (#20625805)
There's almost always a reason why the person who organised a meeting wants one, and I doubt you can use automation to solve whatever their problem is without understanding it first.

If anything, by automating the process of producing code you're going to leave front end developers with nothing but meetings because the rest of the job is going to become a matter of pushing an AI-powered button. They won't thank you for that.

Re:Show HN: I trained a deep learning model to build sites f... by Aeolun on Tuesday August 06, 2019 @08:30PM (#20630999)
Unless the machine learning model can infer what those discussions were going to lead to. That would be truly revolutionary.