Viewing profile — alipang
alipang
HN member- Joined
- Tue, Feb 21, 2012, 9:15 AM UTC
- HN karma
- 1,057
- Public activity
- 172 items
- HN profile
- View on Hacker News ↗
About alipang
No profile information was provided.
Recent public activity
-
comment
Comment #41122026
I wouldn't really buy this in the first place for $20, maybe on sale, but in addition you can get it for free on mobile if you have a netflix subscription, so I'd have to imagine t…
-
comment
Comment #40203816
Even Javascript has a similar syntax, though `yield` / `await` only works for certain "monads" (promises seem close enough)
-
comment
Comment #39628532
Well, why would it be taken as a given that programming should mimic the hardware? Pure functions are easier to reason about (there may be exceptions of course), that's why they're…
-
comment
Comment #39603172
The idea that anyone who's opposed to narrow government regulations is somehow brainwashed by the Kochs is just an unsufferably smug attitude towards people you disagree with. It's…
-
comment
Comment #39367648
If you check out the linked paper you'll see the title is "One-shot Algebraic Effects as Coroutines" - the keyword being "one-shot". In general every Monad can be expressed "interp…
-
comment
Comment #37404007
No? https://www.computerweekly.com/news/366537312/Chat-control-E...
-
comment
Comment #35800341
You don't have to memorize that log(5) = 0.7 if you know log(2) = 0.3 since log(5) = log(10 / 2) = log(10) - log(2) = 1 - 0.3 = 0.7. Also log(8) = 0.9 because log(2^3) = 3 log(2) =…
-
comment
Comment #33285602
What, the anal beads is not a sensible theory? /s
-
comment
Comment #32149423
This is a really intuitive way of thinking about it. The best way I could work this out was to start with the special case of pure scaling in a single direction. For instance when …
-
comment
Comment #29736714
I'd imagine you can use a keyboard shortcut as well to open this menu, but based on the text cursor, rather than the mouse one. I do this a lot is vscode to auto-fix issues and aut…
-
comment
Comment #27372054
if (!memory[s1.id]) { memory[s1.id] = 'harvest' } ought to do it.
-
comment
Comment #25220933
Yeah, the main coherent point I take out of this is that it makes sense to provide capabilities rather than to check them, i.e. if you have access to a certain API then you're by c…
- comment
-
comment
Comment #24565484
Not having it funded by the tax payer is not the same as outlawing it. This all comes down to whether critical race theory is truly an unacceptable set of ideas, like e.g frenology…
-
comment
Comment #24565461
It’s hardly authoritarian to disallow certain ideas being funded by the tax payer. We wouldn’t be upset if frenology wasn’t allowed in government agencies. I think the idea behind …
-
comment
Comment #23468208
Found the guy who completely missed Kotlin, TypeScript and Scala.
-
comment
Comment #23269501
Monads are among the simplest abstractions you can find in computing. Compared to almost anything you need to understand in software development (how the hell do I make webpack do …
- story
-
comment
Comment #22456957
I've heard the objection about complex number not being real many times. I think the sensible answer is to argue that the natural numbers don't "actually exist" either. They're an …
-
comment
Comment #22336189
Sure, well aware that Babel and Webpack are not the same thing. SWC has a Webpack plugin, whereas ESBuild seems to aim to replace both Webpack and Babel. Correct me if I'm wrong. T…
-
comment
Comment #22336119
I believe something like this project is inevitable. You're probably thinking "Where's the Rust version of this?". I'll save you a roundtrip to Google that'll find you SWC. [1] SWC…
-
comment
Comment #22226311
It's almost a meme at this point, but the solution, of course, is algebraic effects. Among other things they let us implement checked exceptions, but in a sane way that's safe with…
-
comment
Comment #22223190
As a westerner who's lived and worked many years in Poland, the factor that seems to explain a lot of this is that wages in Poland remain extremely low compared to most of western …
-
comment
Comment #22217388
"MegaCorps" in any kind of healthy market will still compete on price, so simply stating that they will "pocket the rest" of AI-related productivity improvements is ridiculous. The…
-
comment
Comment #22010319
Algebraic effect handlers no doubt seem to be the future of getting side-effects under control in programming languages, much like in the way of what immutability has done for data…