Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
kbr
9y ago
Interesting. The thing is, I don't have control over what the OP can post. It's crazy how you guys are assuming that I don't know my own age after judging based on: 1. A search of my username (there are tons of people with
62.
▲
by
kbr
9y ago
I feel like I've responded to this before. 1. I recently changed my username and do not have a Youtube channel. That person doesn't even have the same name as me. 2. I was 12 then, and if you can't tell, I was pretty dumb
63.
▲
by
kbr
9y ago
Haha yeah, this generation is extremely lucky :) Other than JS, I love Python for AI, and C/Assembly for systems (I'm writing an OS). Check out my Github! It has most of my projects.
64.
▲
by
kbr
9y ago
I started it from scratch. I mainly reference a book about the implementations of operating systems. I initialize a basic GDT in the bootloader because it is essential. Without it, you cannot run the OS in long mode, which will unlock the c
65.
▲
by
kbr
9y ago
I don't have any proof, I guess you'll have to take my word for it :) I can tell you my birthday, but will that really help? If you look at my comment above, you'll see that I don't really like giving my age out. I did i
66.
▲
by
kbr
9y ago
Haha if you look at my recent commits (maybe 1-2 a day), you'll see that I've been putting less effort into the amount of commits, and more effort into the quality of them. I think a year ago I was focused more on getting that gra
67.
▲
by
kbr
9y ago
Thanks for asking! 1. I've been programming since I was 8. 2. I started out with HTML, then slowly moved into CSS, Javascript, Python, C, and Assembly. 3. I am completely self-taught, a few people in my family program but are in differ
68.
▲
by
kbr
9y ago
Haha I actually learned most of my knowledge on AI and machine learning from Stanford lectures, so I'd agree when you say it's university-level stuff. Nonetheless, it's incredibly helpful when you have a passion for this kind
69.
▲
by
kbr
9y ago
It's amazing how much I've changed in the past year. If you check out my latest commits (it's also part of the reason why almost all of the squares are light green), you'll see that they are pretty significant in size. A
70.
▲
by
kbr
9y ago
Hey! I totally agree, growing up nowadays is extremely different then what it must've been like before. I'm grateful for my parents encouraging me to play outside and make friends, and once they found out that I was interested in
71.
▲
by
kbr
9y ago
Thanks for asking! I prefer Crystal because it's a really expressive language (similar to Ruby) but has the advantage of being compiled (like C). I prefer compiled languages for the server because they are usually faster, and can be de
72.
▲
by
kbr
9y ago
Awesome! Thank you so much for the tips, I'll definitely keep these in mind.
73.
▲
by
kbr
9y ago
Haha I think your link is wrong ;) I do have plans on finishing it, but I have a lot of projects right now. I'm trying to get Moon v1 out, working on my OS, Slash, and some other new projects. If you have any recommendations for what t
74.
▲
by
kbr
9y ago
Thank you so much! I started programming basic HTML when I was about 8 years old. After that, I pretty much just started making websites, and when I didn't know how to do something, I just looked it up or asked my parents to help me fi
75.
▲
by
kbr
9y ago
Woah! Did not expect this to be here. I'm the 13-year-old who tweeted this out, and I really love programming. I like experimenting and creating open source projects. I'm interested in the web, servers, systems, and AI. Some of my
76.
▲
by
kbr
9y ago
Whoops haha didn't catch that :)
77.
▲
by
kbr
9y ago
Machine code varies depending on the platform, and Linux is meant to be distributed to a _ton_ of platforms.
78.
▲
by
kbr
9y ago
Haha, like I said earlier, keyed updates will definitely be implemented in v1.
79.
▲
by
kbr
9y ago
Didn't see this earlier. Moon is actually pretty fast during runtime, and I haven't used many hacks to get it to be so small. Check out the source.
80.
▲
by
kbr
9y ago
Haha didn't see this. Moon hasn't hit v1 yet, and a keyed virtual DOM is definitely on the roadmap.
81.
▲
by
kbr
9y ago
Working on Vue would take similar effort, deleting tons of the code and rewriting it. Part of it is that this is project started as a way for me to learn what goes on under the hood of libraries like React and Vue. While I made this, I wrot
82.
▲
by
kbr
9y ago
Each plugin is about 2kb and takes a couple milliseconds to load. By plugins I meant things like moon-router and monx. Check out the "extras" section in the README: https://github.com/kbrsh/moon#extras
83.
▲
by
kbr
9y ago
Thank you. It would actually have been more difficult to submit a PR to Vue, as Moon's internals are completely different. It would have tons of breaking changes as well, so I created a new project as a result.
84.
▲
by
kbr
9y ago
It's 7kb minified and gzipped. Vue is almost 30kb. If you use a runtime version of Moon, it becomes 3kb. This makes it faster to load on mobile devices. Along with that, it also has lots of official plugins similar to what Vue provides
85.
▲
by
kbr
9y ago
Sorry! It looks like I haven't updated some parts of the site. The correct size is 7kb, thanks for pointing that out.
86.
▲
by
kbr
9y ago
Sorry for the late reply! I chose to be different in small things, such as being explicit about getting and setting properties on an instance. There are a couple oddities I didn't like with Vue as well, such as the syntax for a couple
87.
▲
by
kbr
9y ago
I'd love to know why you think Moon is ridiculous, so I can try to improve it. I honestly think what you're doing here is really ridiculous, try and give some feedback instead. Edit: Sorry, I misunderstood your comment. I interpre
88.
▲
by
kbr
9y ago
No problem! I wanted to build a new framework mainly because my Vue app was becoming slow and I wanted something small. Moon is 7kb minified and gzipped, that makes it really fast to load on mobile. If you take out the compiler (similar to
89.
▲
by
kbr
9y ago
Awesome, I'll be glad to answer these! 1. I'm not planning for this, as it has a runtime cost, but it can easily be done with a plugin[1]. 2. I'm not planning to implement filters, as you can use methods instead. Refs might b
90.
▲
by
kbr
9y ago
I agree! Moon has an official router[1], store[2], CLI[3], and an SSR module[4]. It might not have the biggest community, but that is why I am here :) [1] https://github.com/kbrsh/moon-router [2] https://git
More ›