Viewing profile — mpoteat
mpoteat
HN member- Joined
- Sat, Feb 16, 2019, 12:28 AM UTC
- HN karma
- 500
- Public activity
- 194 items
- HN profile
- View on Hacker News ↗
About mpoteat
Recent public activity
-
comment
Comment #47682422
You can actually do better: hint - variational selectors, low bytes.
-
comment
Comment #46802713
I also have a corresponding blog post here, where I use this capability to embed custom JSX types as an alternative way to express 'concatenative' higher-kinded pipelines: https://…
- story
-
comment
Comment #45961258
I've had similar issues with conversation memory in ChatGPT, whereby it will reference data in long-deleted conversations, independent of my settings or my having explicitly delete…
-
comment
Comment #45960635
This is a LLM directly, purposefully lying, i.e. telling a user something it knows not to be true. This seems like a cut-and-dry Trust & Safety violation to me. It seems the LLM is…
-
comment
Comment #45885230
Actually, it's even simpler: you should just be able to use signature overloading: myFunc(x: true): number myFunc(x: false): string The article's assertion that TypeScript can't re…
-
comment
Comment #45728318
> I also avoid technologies where the code I write is different from the code being executed. Not to be snarky, but as opposed to writing assembly? Where do you draw the line if yo…
-
comment
Comment #45700416
@marvinborner Is there any hope for a "hashlife" style cache for a TC language? My understanding is that hashlife exploits spatial locality / "causation speed" in GoL, which isn't …
-
comment
Comment #45700370
I like to refer to code that has been overly injected with syntactic sugar as "caramelized". We need more culinary metaphors for programming jargon!
-
comment
Comment #45170572
Recently, LeetCode has begun hiding instructions (using css) in their competitions to use particular unique variable names like 'dexolarniv' - and anyone using such a variable name…
- story
-
comment
Comment #44959487
Look at what they need to mimic a fraction of our power.
-
comment
Comment #44782901
If folks are interested in this sort of thing, but want to play around with higher order building blocks, http://hkt.code.lol may be worth checking out. In addition to type-level a…
-
comment
Comment #44782821
I took a look at the source for the attached repository - the parser is in fact clearly written as a generic type. The presence of ?, :, and ... operators represent conditional typ…
- comment
-
comment
Comment #44161255
High energy protonic rifle? We already have extraordinarily high energy lasers in a handheld format. If a stream of bosons can do that much damage, I wonder what a stream of hadron…
-
comment
Comment #44057558
More fundamentally O(n^(1/2)) due to the holographic principle which states that the maximal amount of information encodable in a given region of space scales wrt its surface area,…
-
comment
Comment #43759945
Columbia has it right. In a just world, this behavior would be derided and considered anathema. This is moral bankruptcy plain and simple and ought to be considered a violation of …
-
comment
Comment #38820131
On reflection I agree. Still, I feel the author should have explicitly acknowledged the fact that there are underprivileged kids out there that would kill for the opportunities he …
-
comment
Comment #38820099
A standard CS program will cover statistics (incl. calculus-based stats e.g. MLEs), and graphics is a very common and popular elective (e.g. covering OpenGL). I learned all of this…
-
comment
Comment #38729999
The key, from my perspective, is to focus on real work which produces real value for other human beings. In an academic context I admit that it can be difficult to attach this valu…
-
comment
Comment #36596475
Well, slower compile times, and additional complexity are the biggest cons. There is a project I'm working on to eliminate the latter bit - ideally, a way to represent these comple…
-
comment
Comment #36596041
At the risk of too much self promotion, I have a much deeper and more feature complete treatment of many of these type-level computations, represented with higher kinded types (whi…
-
comment
Comment #35448137
Yeah, it can get somewhat expensive (e.g. $10 in a day) with very frequent use. I find it much more helpful than Github Copilot, as it performs actions 'autonomously', i.e. it can …
- story