Viewing profile — headbee
headbee
HN member- Joined
- Tue, Oct 13, 2020, 7:32 PM UTC
- HN karma
- 222
- Public activity
- 24 items
- HN profile
- View on Hacker News ↗
About headbee
No profile information was provided.
Recent public activity
-
comment
Comment #39195608
This is pretty close to type branding (newtype wrapping for the Haskell-inclined), though using template literal types is pretty novel. Normal brands look something like this: type…
-
comment
Comment #37905506
Yes, and they're truly phenomenal pieces of music journalism in an era where many of the music blogs have withered or degraded.
-
comment
Comment #37738842
It opens up a huge toolbox of tools that work with Functors and Applicative to make parsing easier, and proves that using those tools will work predictably.
-
comment
Comment #35878168
I think you were originally correct and that `Record ` was not a good example. I would guess that union literals and primitives are handled differently by the compiler in this case…
-
comment
Comment #35875170
I believe that would be covariant: `'home' | 'work'` is a subtype of `string`, and `Record ` is assignable to `Record ` so the subtype relationship is preserved.
-
comment
Comment #34018639
Carhartt is a very trendy street wear brand in addition to their (still very trendy and brandy) workwear.
-
comment
Comment #33725114
I had read this article more as a "from-first-principles" example, but it's a good note for people who might be unfamiliar with practical Haskell. Using an effects system also prom…
-
comment
Comment #33723915
I don't host it, per-se: I use VimWiki, and occasionally Obsidian for the pretty graph. VimWiki even has a static site generator, but I use Pandoc for that. For search I use FZF an…
-
comment
Comment #33721068
I can attest to this and took all of my notes on paper in college. However, once I started a real job I realized that this strategy doesn't scale to all situations. In college, I n…
-
comment
Comment #32930614
Not directly as far as I know, but federal taxes are the other mechanism by which money can exit the economy. I should have stated as such.
-
comment
Comment #32930108
After the Federal Reserve adds money to the economy, they usually want to take some of it back out. They take money out either by selling bonds or through taxes. The goal of removi…
-
comment
Comment #32144615
I see this argument made assuming that REST service creators are not aware of L3 REST but the fact that it never caught on is at least some proof of its ill-fitness to the general …
-
comment
Comment #32108741
It's good for IoT and automation because it's fundamentally a framework for discrete functional reactive programming. It could be good for any context where you need to tie togethe…
-
comment
Comment #32087524
If the oleophobic coating is intact (and good quality) it should come off with just a clean cloth.
-
comment
Comment #32084355
Using soap on surfaces that have an oleophobic coating can degrade the quality of the coating. This is even worse with dish soap.
-
comment
Comment #31894919
I've used Lenses as a beginner/intermediate haskeller and they're very easy to use. It's easy to get bogged down in the theory and specifics but Lenses are perfectly usable on the …
-
comment
Comment #31862231
That's how I got to this question. I went through the usual guantlet of finding a self-hosted RSS app I liked as well as exploring freemium options and eventually settled on Inorea…
-
comment
Comment #31493103
This hasn't been my experience. FP is a fantastic complement to OOP for "practical" programming. It adds an entirely new dimension and avenue for expressability which is why we're …
-
comment
Comment #27451117
The illusion of realty appreciation transcends recent quantitative easing.
-
comment
Comment #27277378
This is the point that I have the most trouble understanding in critiques of Fowler, Bob, and all writers who write about coding: in my reading, I had always assumed that they were…
-
comment
Comment #26742477
I knew I recognized that name. Glad EFF is sticking up for them, they're not a huge channel.
-
comment
Comment #26542738
Article from Wired on why algae isn't the silver bullet it's marketed as: https://www.wired.com/story/carbon-neutral-cows-algae/ Essentially, it's only useful for pasture raised co…
-
comment
Comment #26303802
Code purity isn't just for you, it's also for the compiler to be able to make assumptions about the code in order to apply optimizations that would not otherwise be possible. For e…
-
comment
Comment #26078580
Definitely check out the part one of "Haskell: The Bad Parts" which is more relevant to the beginner to average Haskeller: https://www.snoyman.com/blog/2020/10/haskell-bad-parts-1/…