News for hackers. Stuff that matters.

huula

Re:Show HN: Subform, a UI layout tool on Wednesday March 07, 2018 @11:53PM (#16542368)
Nice, https://huu.la implements a similar idea, but for web pages -- for anyone that's interested.
Re:Turning web design mockups into code with Deep Learning on Wednesday January 10, 2018 @01:43PM (#16117631)
Cool work! I'm very interested in this topic. Just wondering, how good does it generalize your training data other than just remembering strict input-output mapping?
Re:Pix2code: Generating Code from a GUI Screenshot on Thursday May 25, 2017 @11:59PM (#14421900)
Mapping screenshots to code is not hard. By having the model simply memorize the screenshots to code mappings of the training data can give you almost 100% accuracy (for some demo). What is hard is if given a new screenshot, how would this model generalize. To have something work for mobiles is a much easier task than having something work for other more complex UI though. Looking forward to seeing more updates on this!
Re:Show HN: An expense manager built using Google Sheets on Saturday May 06, 2017 @02:18PM (#14281556)
Nice work! I've been trying to pick up some App Script stuff too. Where did you learn it?
Re:Rethinking Design Tools in the Age of Machine Learning on Friday April 28, 2017 @03:30PM (#14222356)
Great article. Covers a lot of aspects on how ML can help designers be more creative and productive!

At Huula, I'm a firm believer that ML can automate various parts of web designs. We just released a new experiment CSSToucan[1] to auto color texts on web pages with Recurrrent Neural Networks. It learns to color texts on web pages without a single line of color theories in the code. All learned from the data. Hope to see more and more ML powered design tools emerging!

[1]: https://huu.la/ai/csstoucan

Wednesday Special!
As a DIY drone builder for 5 years, here are my two pennies.

Arduino lets you program it. Apm and multiwii are essentially arduino. Video is a bit tricky, but you can always transmit it back to your laptop and process however you like

There's no people sitting in the vehicle in all these videos. Is 300km with or without load?
Re:Teaching Machines to Draw on Friday April 14, 2017 @11:30AM (#14115012)
Good work! Training on vector pictures instead of rasterised images seems such a good way to go. With some related data, I imagine this can also be colored.
Re:On Growing: Lessons from the Story of WeChat on Wednesday April 12, 2017 @04:42PM (#14101547)
Now nobody talk about the "dating app" image wechat held in its early years, which brought it a lot of users.
Re:Fact Check now available in Google Search and News on Friday April 07, 2017 @02:43PM (#14062409)
Goodgirl!
Re:Unsupervised sentiment neuron on Thursday April 06, 2017 @04:00PM (#14054054)
Machine Learning has become more and more like archaeology after people start saying "empirically" more and only provide a single or limited datasets.
Good point, just blindly select several "harmonious" colors are not hard at all. But as some folks pointed out, if we want to also consider the context (where the colors will be used, is it a button? or background? or text?), deep learning is definitely a good fit.
Yeah, statistical models just give you the most probable result (in terms of the data we train it on), so if you are a creative person, you probably won't find it useful.
Looks cool! I recently posted HuulaTypesetter (https://huu.la/ai/typesetter) which infers font sizes for web pages based on DOM context and CSSRooster which infers CSS class names based on the context. I'm really happy to see that there are more intelligence happening in the design world! The dream of replacing Web UI design with AI will one day come true!

All (deep) learning models suffers the issue of 'garbage in garbage out', so one way that could make the palettes more related to real world web designs is to learn the colors used in web designs directly instead of from photographs and movies since those data will has much more noise than good web designs (with video and images stripped out of course).

Re:Scala Native v0.1 on Tuesday March 14, 2017 @11:38AM (#13868370)
Question: what kind of frameworks can be practically migrated to Scala Native?
Re:Loading Components Dynamically in Angular 2 on Monday March 13, 2017 @01:31AM (#13855454)
Looks cool! Sometimes I think incremental initialization will be the ultimate performance optimization strategy, and this is definitely a great way to achieve that!

For the debate on ng2, I have been using ng2 to build Huula for about a year, which has some amount of ng2 code. So here are my two pennies for folks who are considering using it. I don't like to be constrained by a framework, so angular's routing system always stands on my way (including ng1), so I ditched angular routing entirely. I never used angular's inline styles either, for me sass works better. Ng2's change detection can be stupid sometimes, especially for stuff similar to drag drop, but there are solutions to those cases, although a bit clumsy and convoluted, so be careful .

Re:CSS Reminification: A crazy idea that worked on Wednesday March 08, 2017 @07:56PM (#13825711)
Transforming .a-really-long-class-name-or-id into something shorter, like .x would save a lot more bytes.

Another thing is splicing unecessary properties, which can even save more bytes, but given web apps becoming becoming so dynamic right now, that would be hard or really awkward for developer to work with too.

Re:Google is acquiring Kaggle on Wednesday March 08, 2017 @12:15AM (#13818081)
Don't know why. Just don't think this is going to happen.
Hmm, the article mentioned nothing about the weight. For a medium sized quadcopter, 3 times more energy (given the same weight) means as long as 3 hours of flight time which would make all these drone delivery dream come true.
Re:The myth of using Scala as a better Java on Thursday March 02, 2017 @02:04AM (#13772129)
I have used Scala to build the backend of https://huu.la for years, which is not a small codebase anymore, I love the language itself, it's fast, typesafe, productive, and gives access to the rich Java ecosystem. The only thing I dislike is the tooling, especially whenever I open eclipse, the fan just screams to hell and it's still slow as a snail.
Re:Introducing Handle – Boston Dynamics [video] on Monday February 27, 2017 @06:26PM (#13749571)
Good point, but they also need the people who really knows both hardware and software and probably a lot of physics too.
Re:Annotation is now a web standard on Monday February 27, 2017 @12:46PM (#13746118)
I'm using a self-made web page annotation extension on chrome everyday. It let's you mark the important information on any webpage, which is very useful for docs that you will come back and visit frequently.
Re:Txt.fyi on Thursday February 23, 2017 @02:35PM (#13716962)
I like the simplicity. But essentially this is something like pastebin right?

Older »