Better HN
topnewbestaskshowjobs
Log inSign up

huula

90 karma · joined May 25, 2014 (12y ago) · 86 submissions

Submissions

comment 8y ago · link · parent

Nice, https://huu.la implements a similar idea, but for web pages -- for anyone that's interested.

2.

Users will be able to turn off iPhone battery performance throttling(9to5mac.com ↗)

3 points · by huula · 8y ago · discuss

3.

Zhou Youguang and the ABCs of Learning Mandarin(blog.google ↗)

2 points · by huula · 8y ago · discuss

comment 8y ago · link · parent

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?

5.

Learn CSS Grid by Creating a Beautiful Photo Collage(huu.la ↗)

1 points · by huula · 8y ago · discuss

comment 9y ago · link · parent

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!

comment 9y ago · link · parent

Nice work! I've been trying to pick up some App Script stuff too. Where did you learn it?

comment 9y ago · link · parent

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

comment 9y ago · link · parent

Wednesday Special!

10.

CSSToucan – Automatically Colors Web Page Texts with Context(huu.la ↗)

3 points · by huula · 9y ago · 1 comment

comment 9y ago · link · parent

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

comment 9y ago · link · parent

There's no people sitting in the vehicle in all these videos. Is 300km with or without load?

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Now nobody talk about the "dating app" image wechat held in its early years, which brought it a lot of users.

comment 9y ago · link · parent

Goodgirl!

comment 9y ago · link · parent

Machine Learning has become more and more like archaeology after people start saying "empirically" more and only provide a single or limited datasets.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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).

20.

A Deep Learning Model That Sets Font Size for Web Page Texts(huu.la ↗)

31 points · by huula · 9y ago · discuss

21.

Stack Motion Hover Effects(tympanus.net ↗)

1 points · by huula · 9y ago · discuss

comment 9y ago · link · parent

Question: what kind of frameworks can be practically migrated to Scala Native?

comment 9y ago · link · parent

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 .

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Don't know why. Just don't think this is going to happen.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Good point, but they also need the people who really knows both hardware and software and probably a lot of physics too.
123