Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
kbr
9y ago
Moon is faster, only 6kb, has a more powerful templating engine, and a much simpler API. On the other hand, Marionette is a MVC library, and has more functionality. Moon is just a view library, the other parts can be added in with moon-rout
122.
▲
by
kbr
9y ago
Must've been it, thanks.
123.
▲
by
kbr
9y ago
Yes, but Moon's goal is to have syntax similar to Vue's, and as a result, requires an HTML template compiler, Javascript expression compiler, directive compiler, and different component logic. RE:DOM doesn't have any of these
124.
▲
by
kbr
9y ago
Not sure what the problem is, all tests for Moon pass on Safari, and it works on my iPhone 6s on iOS 10. Can you let me know if any demos in the Getting Started[1] guide work? [1] http://moonjs.ga/docs/getting-started.h
125.
▲
Show HN: Moon – a tiny 6kb Javascript library inspired by Vue.js
(moonjs.ga)
31 points
by
kbr
9y ago
|
13 comments
126.
▲
by
kbr
9y ago
Really sleek and clean, love the design. A simple but useful product, nice job :) The link to your Twitter on the about page is broken by the way, it should have a protocol.
127.
▲
by
kbr
9y ago
Yup, getting exposed to a variety of new things is great, you learn a lot, and have a lot of different styles. I agree, and thank you for helping creators get exposure for their work. I'm sure it makes their day when someone uses their
128.
▲
by
kbr
9y ago
Yup, Skeleton is the main inspiration, Wing just provides a bit more: it uses flexbox, has a minimal grid system (one class), and navigation + card components. I like the idea of not using the same CSS framework, it seems pretty cool, and y
129.
▲
by
kbr
9y ago
You're right. I'll get that fixed up. What iOS device and browser are you using? By the way, that is a problem in the implementation of the site, not Wing :)
130.
▲
by
kbr
9y ago
I like it, but I personally like microframeworks that just style everything, and maybe provide a grid, like Wing [1]. (Disclaimer: I'm the author). Having some styles provided by default, instead of having more classes to remember woul
131.
▲
by
kbr
9y ago
I like how there are no classes, that's how I personally like CSS. Shameless plug: I'm the author of a similar library, with a minimal amount of classes, but it offers more functionality (a grid, components, navigation, etc). htt
132.
▲
by
kbr
10y ago
Checked it out, and it looks quite nice! Congrats on making such a nice tool. I'm a fellow CSS library author here, of Wing[1]. Everything seems fine, but as others have said, the scrolling is jumpy. Might want to fix that :) 1. http:
133.
▲
Show HN: Moon – a blazing fast, tiny UI library inspired by Vue
(medium.com)
9 points
by
kbr
10y ago
|
0 comments
134.
▲
by
kbr
10y ago
Hey, love it! I know that you know it can handle duplicates, but a simple fix can work here. Make an array called `equal` before making the `less` and `greater` arrays. const equal = arr.filter(i => i === pivot); Then, instead of
135.
▲
by
kbr
10y ago
It's part of a set of bigger design changes, Mark Otto tweeted about it: https://twitter.com/mdo/status/830138373230653440
136.
▲
Centering in CSS
(blog.kabir.ml)
3 points
by
kbr
10y ago
|
0 comments
137.
▲
by
kbr
10y ago
Thank you so much for the kind words :)
138.
▲
by
kbr
10y ago
Thanks :D
139.
▲
by
kbr
10y ago
Haha, I agree, it's pretty small. If you look at my other projects, I <3 vanilla js.
140.
▲
by
kbr
10y ago
Yes, I'm working on this. The problem is that it finds the longest line, by the number of characters in it. Instead of taking the actual width.
141.
▲
by
kbr
10y ago
Well, I mainly made this after seeing people on Twitter tweet out code perfectly formatted and highlighted, but it's just a screenshot of their text editor. So basically, the main use-case of Alter is that it lets you tweet code snippe
142.
▲
by
kbr
10y ago
Thanks, features to change font and color will be added soon, this is just a little concept :)
143.
▲
by
kbr
10y ago
Would it be a bit better if I go through each line and instead of getting the length, get the actual width of it?
144.
▲
by
kbr
10y ago
Thank you so much! I'm not the best at HTML5 canvas, more of front end. (I'm also 13). I'll iterate through the array instead. If you have any other suggestions, the repo is at https://github.com/KingPixil
145.
▲
Show HN: Alter – convert text/code to an image
(alter.cf)
76 points
by
kbr
10y ago
|
34 comments
146.
▲
Show HN: An AI Twitter bot that can craft sentences
(meetice.ml)
4 points
by
kbr
10y ago
|
0 comments
147.
▲
Show HN: Ice – a bot that learns, and tweets about it
(meetice.ml)
2 points
by
kbr
10y ago
|
0 comments
148.
▲
by
kbr
10y ago
I really would wish you see the code carefully before making this comment. 1. Wing is NOT a copy of Skeleton, it is inspired by it, yes, but if you look at the code, it is extremely different code. 2. It doesn't even use SCSS.
149.
▲
by
kbr
10y ago
This is a minimal framework, customizable to its core. Any declaration you make will override the current one, see the docs. It's super fast, and works great on mobile.
150.
▲
by
kbr
10y ago
UPDATE: I have added basic flexbox usage in the utilities, such as vertical/horizontal align.
More ›