Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lilactown
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
lilactown
6y ago
I enjoyed reading this blog post, and the perspective that the author brings. The notion that a cache is a big ask is novel to me, but I think it is a good point that it does complicate things more for simpler cases. However, I would like t
92.
▲
by
lilactown
7y ago
AFAICT Algebraic Effects are a way of encoding conditions into a static type system. The idea of signaling a condition and passing a continuation is not the new part (as you've noted), it's the _algebra_ part, where a type system
93.
▲
by
lilactown
7y ago
what's the difference from what you said (handlers and restarts are functions) vs. a continuation, which could ostensibly just be a function that has closed over the state of the runtime before the condition was triggered?
94.
▲
by
lilactown
7y ago
ReasonML is just a different syntax that compiles to the OCaml AST format. If you're writing in ReasonML you'll be interacting, reading and fixing code in ReasonML. There's even a browser extension which converts OCaml syntax
95.
▲
by
lilactown
7y ago
Urbits supposed value proposition isn't technical, so I think it's completely valid to analyze its founders political and social philosophy to try and understand its vision and decisions. The urbit website does very little to expl
96.
▲
by
lilactown
7y ago
There are, of course, tradeoffs to using defunctionalization (I've also heard this called a "data DSL"). I have seen these tradeoffs often ignored or argued past when discussing various solutions that take advantage of it. Th
97.
▲
by
lilactown
7y ago
I believe the OP was being sarcastic there.
98.
▲
by
lilactown
7y ago
I've dealt with chronic back pain for years, and physical therapy has changed my life. But I had to have a certain period of time with pain free movement before I could progress. I also had lots of signs and symptoms that things were w
99.
▲
by
lilactown
7y ago
Performance, primarily. Hiccup that is generated _at runtime_ is incredibly wasteful; you allocate a bunch of immutable vectors and maps, then parse them into React elements and throw them away, every time your component is rendered. This i
100.
▲
by
lilactown
7y ago
Classes are not verboten :) I typically create an error boundary that wraps my app/feature/etc. with a fallback component and call it a day.
101.
▲
by
lilactown
7y ago
You use the word "simple," but it sounds like you mean something more like "familiar." That's not a knock; familiarity is important when designing an API that thousands of developers are going to use every day. But
102.
▲
by
lilactown
7y ago
The function given to useEffect will be fired after a successful _commit_ (aka React actually manipulates the DOM after a render). Here's a helpful diagram that shows the difference between render and commit phases in terms of the clas
103.
▲
by
lilactown
7y ago
I think that hooks and Reagent developed somewhat independently; or at least, they are not as related as one might think at first glance. The primary difference is where the data _flows from_. Like another commenter pointed out, your exampl
104.
▲
by
lilactown
7y ago
I recently started using Actual[0], a local-first budgeting app. It's encrypted (soon to be end-to-end), local-first and can be synced across my devices. Would recommend, and I was inspired to use it after following its author, James
105.
▲
by
lilactown
7y ago
I still prefer Emacs/CIDER to the other Clojure editor plugins, but IntelliJ/Cursive is a close second. Atom/Chlorine and VS Code/Calva are getting better all the time, too.
106.
▲
by
lilactown
7y ago
One thing that I haven't used on my Switch (no kids), but I understand as a great feature, is that you can add funds available for games as a one-time purchase that can be used across the system. The actual purchase of system currency
107.
▲
by
lilactown
7y ago
With things like EAV and Datalog, you still end up coupled to the names and kinds of facts that you store and the relationship between entities in your structure. It turns out that there can be many ways to store facts about an entity, and
108.
▲
by
lilactown
7y ago
I think that while leiningen does a lot of what tools.deps/deps.edn and the CLI tools do, the reverse is not true. tools.deps/deps.edn is about building a classpath to run a clojure process. The clojure CLI tools has some addition
109.
▲
by
lilactown
7y ago
On its face, sounds like Erlang/OTP.
110.
▲
by
lilactown
7y ago
It depends on your perspective. The OS one has more _requirements_ (the number of "it must do..." is much higher), which constrains it's design space much more. I think you can call that as "having more constraints"
111.
▲
by
lilactown
7y ago
I haven't used Haskell, but in OCaml things tend to be organized in modules related to the particular type, which allows you to get autocomplete like: List. | length | hd | tl ...
112.
▲
by
lilactown
7y ago
I would pay money for that.
113.
▲
by
lilactown
8y ago
I think the things I've outlined are pretty popular TBH.
114.
▲
by
lilactown
8y ago
Yeah, those should be prohibited by law. I think that genocide should also be on that list. And youtube can (and IMO should) continue to prevent the rest. Death, gore, genocide, fascism, violence, etc. do not belong in general public discou
115.
▲
by
lilactown
8y ago
Posting videos of death, gore, kiddie porn, targeted bullying, fascist propaganda, trying to incite genocide, rape and other violence. The idea that we should allow sites that are marketed to the general public to be unmoderated is complete
116.
▲
by
lilactown
8y ago
That's a really strong claim.
117.
▲
by
lilactown
8y ago
TRP has done a great job of appropriating decent life advice and using it to make their misogynistic message more palatable. They're not the first group, nor the last, to employ this technique. The ideas can be found in various philoso
118.
▲
by
lilactown
8y ago
Putting everything in global state gets really hard to maintain above a medium-sized app.
119.
▲
by
lilactown
8y ago
I found the second example to be way less janky. I want to be able to see what I type as I type it (e.g. for spelling mistakes). Taking a second to correlate that with results I am willing to accept, but if an app is janky with basic intera
120.
▲
by
lilactown
8y ago
you have to have your mouse over/focus on the main body div, since it appears to be centered and overflow: hidden.
More ›