Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbr
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
kbr
2y ago
NNs have complex non-convex loss functions that don't admit a closed-form solution. Even for small models, it can be shown that it's an NP-complete problem. In fact, even for linear regression (least squares), which has a closed-f
2.
▲
Design Manifestos
(designmanifestos.org)
2 points
by
kbr
4y ago
|
0 comments
3.
▲
by
kbr
6y ago
> Sustained effort compounded over time is unreasonably powerful. Thank you, this hits close to home and is great advice, I appreciate it.
4.
▲
by
kbr
6y ago
As a high schooler interested in things that are probably out of my league, I love reading this kind of stuff. The author mentions their unconventional style at the beginning: hyperlinks, color, italics, exclamations, parentheses, side note
5.
▲
by
kbr
6y ago
I think dependent types are stronger than refinement types because they can encode types that don't necessarily have to be decidable. Refinement types are used for creating subsets of a type, while dependent types can be used for creat
6.
▲
by
kbr
6y ago
I think you might be describing refinement type systems [1]? [1] https://en.wikipedia.org/wiki/Refinement_type
7.
▲
by
kbr
6y ago
`|` is bitwise-or in many C-style languages.
8.
▲
by
kbr
6y ago
AFAIK React itself is performant enough, the bottleneck is client code within components. I suppose the change is mostly for full enterprise web apps at the Facebook level that likely have thousands of components running at the same time. C
9.
▲
by
kbr
6y ago
I wrote an article with the same name! [1] The problem solving based approach seems to be the most relatable and easy for people to get an idea of what monads are. Nice work. [1] https://blog.kabir.sh/inventing-monads
10.
▲
by
kbr
6y ago
Yup, I think they definitely found the sweet spot for making revenue from games — offering players sweet returns if they keep playing (you buy the battle pass for 1000 vbucks, but you can earn back 1500 just from playing casually) while sti
11.
▲
Nineteen Eighty-Fortnite: Epic's Video Response to Apple
(youtu.be)
5 points
by
kbr
6y ago
|
1 comments
12.
▲
by
kbr
6y ago
They pioneered the "battle pass" model for cosmetic items, and their constant release of skins, dances, etc can create a lot of recurring revenue I imagine.
13.
▲
by
kbr
6y ago
Hey, I wrote a post with the same title [1]! I feel like everyone writes a blog post once monads finally click, and this one is great — I like how you introduced them through solving real-world problems. :) [1] https://blog.kabir
14.
▲
Limit kids' screen time while I benefitted from “no limit” as a child
(parenting.stackexchange.com)
1 points
by
kbr
6y ago
|
1 comments
15.
▲
by
kbr
6y ago
Their semantics might be consistent, but they sort of leak into the parent. Height and width are local to what the component renders, and they don't depend on the parent (as long as they aren't relative sizes). But things like mar
16.
▲
by
kbr
6y ago
How does it become any more object-oriented? I saw it more as "purely functional", where components are the functions and styling outside of the component is a side-effect. Avoiding side-effects like margin or align-self makes com
17.
▲
by
kbr
7y ago
Looking at their GitHub [1], it's been actively developed and open source since 2013. [1] https://github.com/unisonweb/unison
18.
▲
Optimal Virtual DOM
(blog.kabir.sh)
2 points
by
kbr
7y ago
|
0 comments
19.
▲
Purely functional web UI library
(kbrsh.github.io)
2 points
by
kbr
7y ago
|
0 comments
20.
▲
by
kbr
7y ago
My bad then, that's fair. JS has been deviating from C-style syntax and it really shows in this article haha
21.
▲
by
kbr
7y ago
Sorry about that haha, the style of programming in this guide is very different from C++, and it relies heavily on currying and lambda functions using next-generation JavaScript syntax. Nonetheless, I think it can offer a new perspective
22.
▲
by
kbr
7y ago
Thanks haha, I had exposure to computers from a very early age, and I try to make functions/systems representing things I'm curious about. It's helped me grasp ideas and come up with new ones, and I should probably write abou
23.
▲
by
kbr
7y ago
Hey! I attempted to make the code snippets use practical concepts, but they aren't very practical for use in actual JavaScript code — the reason being that JavaScript is not a functional language and doesn't have syntactic sugar f
24.
▲
by
kbr
7y ago
Thank you! I'll mention "You Could Have Invented Monads" along with a couple of other great resources that helped me at the end of the post.
25.
▲
Monads Explained by a 15-year-old
(blog.kabir.sh)
3 points
by
kbr
7y ago
|
0 comments
26.
▲
Inventing Monads
(blog.kabir.sh)
3 points
by
kbr
7y ago
|
0 comments
27.
▲
Martian Packets
(en.wikipedia.org)
2 points
by
kbr
7y ago
|
0 comments
28.
▲
Nobody talks about the real reason to use tabs over spaces
(reddit.com)
122 points
by
kbr
7y ago
|
93 comments
29.
▲
by
kbr
7y ago
I believe that the aesthetics and layout are inspired by Edward Tufte [1]. [1] https://edwardtufte.github.io/tufte-css/
30.
▲
by
kbr
8y ago
That’s a ToDo app example
More ›