338 karma · joined Aug 18, 2016 (10y ago) · 288 submissions
comment 1y ago · link · parent
comment 2y ago · link · parent
Without knowing whether the following cases would actually be useful/relevant, I'm curious if these things apply to Unison:
- Is there a way to "pin" a symbol to a specific hash/version so it won't automatically update when the referred function gets a change? I.e. I could write: A = B@ ++ "world" and when I store and retrieve it, it becomes (example syntax): A = B@a3yx ++ "world"
- Is there a way to refer to a function/symbol by name rather than by hash? I.e. a call site which uses B by looking up which hash is currently associated with the name "B", such that if I do two simultaneous renames, B->D and C->B, the code would now refer to the function previously known as C?
- Are there ways in which the way function updates "bubble up" through the codebase (I assume updating a function means updating every function that calls it, recursively) could become a problem? It would seem that changing one little function could have a knock-on effect that requires re-hashing most of the codebase.
comment 2y ago · link · parent
It bothers me a bit that, if you turn it around, the lack of an explanation would be an impediment to self-compassion and tolerance. "I find X difficult" ought to be enough, whether that coincides with any other traits (autistic or otherwise) or not.
comment 3y ago · link · parent
There are, however, cases where code is a better explanation of "what it does" than naming and documentation. Both naming and documentation are hard and can become out-of-sync. Code is less ambiguous than natural language.
comment 3y ago · link · parent
comment 3y ago · link · parent
But this is quite different from what the article actually says. What they're saying is P(Card|White) > P(Card|Minority), not P(White|Card) > P(Minority|Card).
>> White drivers in the borough, the complaint said, “are significantly more likely to have courtesy cards than minority drivers”. As a result of a ticketing quota system, this means “police officers are forced to disproportionately ticket minority drivers”.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
The main problem to be solved is that structured data editors (and structured data query tools) are not ubiquitous, even though structured data formats are. Which really is a shame, considering the amount of time and effort sunk into issues (TFA, tabs vs. spaces, unmatched delimiters and other structural typos, syntax extensibility, etc.) that wouldn't even have to exist if we weren't dealing with raw text.
comment 3y ago · link · parent
I'd say that's true, and it's worth noting at this point that expressing certain things in natural language is hard. The strict rules of programming languages mean that you can reason about programs to a complexity level that would otherwise be unreachable. Notation as a tool of thought. The corollary is that there may not be a simple natural language equivalent of the code you're writing, and that adding documentation might be more effort than it's worth.
comment 3y ago · link · parent
Which is a real shame. Entering, manipulating and validating small amounts of structured data is such a fundamental task when using computers that it deserves dedicated tools, and the sheer amount of issues that only exist because such tools are not ubiquitous is absolutely mindboggling.
comment 3y ago · link · parent
It turns out that even without the extra training iterations you often lose surprisingly little in terms of quality of output. In reality you can sparsify a lot more, but 2 out of 4 is so simple and easy to implement in hardware, more complex schemes are much harder to justify.
However, small matmuls (say, <2048 bytes in the K dimension) won't get anywhere near 2x performance.
comment 4y ago · link · parent
So this is 16x16 single precision fused multiply-adds at 3.2GHz with a throughput of one per clock, right? (16 x 16 x 2 x 3.2e9 = 1.6384e12) And does using fp16 quadruple throughput again? That would put AMX well above the GPU for fp16 matrix multiplication! (2.6 TFLOPs fp16/fp32 for 8-core GPU, 128 multiply-add per core at 1.278GHz)
How does it compare in terms of power, can it sustain 3.2GHz indefinitely or does it hit power/thermal limits fairly quickly?
comment 4y ago · link · parent
That's what any REPL does. And it works great with typed data. Sometimes even with graphical output.
comment 4y ago · link · parent
Now could someone look at how video codecs can produce excellent high-detail scenes and motion in 4k resolution while at the same time making a blocky mess out of soft gradients, especially in dark scenes with slow movement?
comment 4y ago · link · parent
Batteries have, though. And if we're talking about personal transport, the passenger mass to total mass ratio in today's cars leaves room for huge efficiency gains in principle.
comment 4y ago · link · parent
That is a red tint. And that's why it's not the correct way to do it. A subpixel antialiased white line that is seven subpixels wide, on a black background, should not produce (8-bit RGB triplets): 0-0-0, 255-255-255, 255-255-255, 255-0-0.
comment 4y ago · link · parent
Emotional support goes beyond advice and suggestions. In fact, for many people (including many men), advice is the least important part and often unwelcome at first. What people are looking for is empathy, being heard and validated. Therapists don't share the same lived experience as most of their clients, yet they can still be exceptionally skilled at providing emotional support.
comment 4y ago · link · parent