Better HN
topnewbestaskshowjobs
Log inSign up

gugagore

1,757 karma · joined Jan 20, 2015 (11y ago) · 989 submissions

Submissions

comment 2w ago · link · parent

I think related to your caveat is:

https://lexi-lambda.github.io/blog/2020/11/01/names-are-not-...

> The newtype is opaque, so the only way to observe it is to convert it back to a [f32].

2.

I was never a fan of the calculator [video](youtube.com ↗)

3 points · by gugagore · 1mo ago · discuss

comment 1mo ago · link · parent

d/dt phase = frequency

that matches

> it's the speed at which the sample pointer consumes the looping sine that's set to correspond to some frequency

The rest of your message doesn't make sense to me. Both phase and frequency can be modulated, perhaps most clearly seen with FSK vs. PSK.

comment 1mo ago · link · parent

exploit and explore are the same word in Portuguese.

comment 2mo ago · link · parent

> For "basic” abstraction, lambda calculus is the canonical approach. There is no equivalent for concurrency. There are multiple different approaches. Which one is canonical?

Simply-typed lambda calculus guarantees that the computation terminates. Sometimes you need non-termination. Fixed point operators is one thing that brings in all the stuff that you threw out.

Linear logic is good for the bits and pieces of concurrency where you don't need concurrency. Linear logic guarantees that there are no race conditions. Sometimes you need race conditions — how do you fit that in there? Sometimes, having race conditions is really important: I am selling tickets and there is going to be a race for who gets the last ticket. Is there a single thing you can add to linear logic that would give me race conditions? Not known. - Philip Wadler on Type Theory Forall #54 - The Goal of Science is to Communicate Ideas!

comment 2mo ago · link · parent

> All the bad-ass biped robots that actually look natural? It's PID controls wrapped with control barrier functions constraining the QPs that are being solved in real time.

That's not entirely true. Locomotion is well addressed by RL in sim. It's true that there is still a PD layer, and the RL policy produces setpoints for it.

comment 3mo ago · link · parent

https://xenaproject.wordpress.com/2020/07/05/division-by-zer...

comment 4mo ago · link · parent

> they encourage grouping everything that concerns a value ("put this value in a dependent type that encodes everything known about it")

I understood you to be saying "bundling is encouraged", in the sense of

https://leanprover-community.github.io/glossary.html#bundled...

I'm not sure it's encouraged. I agree that it felt natural to define a type like NonNegativeInteger, or a wrapper type like `Sorted(T)` to indicate that that wrapped list is sorted. But I think this is an area of style and aesthetic that is still emerging, far from ossified.

The problem of "threading" new things within existing programs is an important one to address, and it has multiple solutions (context management, dynamic scoping (lol), implicit arguments, type classes). I am curious if the claim of "does not scale" is mitigated by one of those solutions...

comment 5mo ago · link · parent

To say nothing of "Swift for TensorFlow" when Julialang was an option.

To each their own!

comment 5mo ago · link · parent

I follow your connection, though I think your unit analogy is a strawman.

Do you want to give two different types to complex numbers, depending on whether a given complex number represents a point versus a transformation (an amplitwist)?

comment 5mo ago · link · parent

https://math.ucr.edu/home/baez/torsors.html

The distinction is whether zero is meaningful independent of a choice of origin. Zero displacement is meaningful. Zero position is arbitrary.

Are you thinking of displacement as an operation? Because it is just as well a vector. I don't see the connection to section I highlighted from the article.

comment 5mo ago · link · parent

The part in this that I most question / deviate from is what I've quoted below about having distinctions (syntactically?) between objects and operations. Conceptually, it's a good distinction. But is it so clearly wise to bake in that distinction into the formal framework when doing calculations or proof?

> Most of the time we think of complex numbers as vectors in R2 or as rotation+scaling operators, but rarely do we actually we want them in both roles at the same time. So it is not very natural to equate the two objects, as opposed to finding a correspondence between them.

> So GA ends up being very stuck because it equates “vectorial objects” and “operators that act on vectorial objects”. It would be better to express all the geometric objects you care about in their most natural forms, and then find isomorphisms between them when it’s necessary to do so. Otherwise all the meanings get blurred together and it’s very confusing. So that’s another problem with geometric algebra: eliding the distinction between vectors and operators is undesirable, confusing, and disingenuous.

comment 5mo ago · link · parent

People are jumping on it being an important file to review. You don't want to ignore the diff.

Even if that's true, you definitely do not want to attempt merge two lock files, and using the .gitattributes file to set the merge strategy is a good idea!

comment 7mo ago · link · parent

https://en.wikipedia.org/wiki/Floptical

A related technology with a name that already answers your question.

comment 7mo ago · link · parent

If there is a stack of size n and you make a modification at the first change, closest to the trunk, is there a single git command you can run to rebase the other n-1 branches and ensure they remote branches are updated?

comment 7mo ago · link · parent

https://en.wikipedia.org/wiki/Mead%E2%80%93Conway_VLSI_chip_...

I'm guessing is what they're really talking about. Which is not about NAND gates.

comment 7mo ago · link · parent

They are referring to the comment ("You're pointing out a real conceptual issue ..."), not the article.

comment 9mo ago · link · parent

Have you heard the thought that LLM hallucinations when coding within an API / framework are feature requests against the same?

I have a suspicion that Julia, owing to multiple dispatch, has a sort of regularity that makes that you said plausible.

Though there is just so much more Python to train on, any I bet they even do RL with validated rewards on Python, and probably not Julia.

comment 9mo ago · link · parent

Woodworking is, like, the quintessential craft. I think it is very useful to bring it in when discussion "craft"!

I am not myself a woodworker, however I have understood that part of what makes it "crafty" is that the woodworker reads grain, adjusts cuts, and accepts that each board is different.

We can try to contrast that to whatever Ikea does with wood and mass production of furniture. I would bet that variation in materials is "noise" that the mass production process is made to "reject" (be insensitive to / be robust to).

But could we imagine an automated woodworking system that takes into account material variation, like wood grain, not in an aggregate sense (like I'm painting Ikea to do), but in an individual sense? That system would be making judgements that are woodworker-like.

The craft lives on. The system is informed by the judgement of the woodworker, and the craftperson enters an apprenticeship role for the automation... perhaps...

Until you can do RL on the outcome of the furniture. But you still need craft in designing the reward function.

Perhaps.

comment 10mo ago · link · parent

"sound bites pop radio" of 1999 has made a comeback, But worse.

comment 10mo ago · link · parent

https://en.wikipedia.org/wiki/Subsumption_architecture

comment 11mo ago · link · parent

For some more depth into the "bloat" of bazel, I like this reference: https://fzakaria.com/2024/02/27/hermetic-but-at-what-cost

comment 11mo ago · link · parent

> Intel's first 32-bit microprocessor was the iAPX 432, which was introduced in 1981, but was not a commercial success. It had an advanced capability-based object-oriented architecture, but poor performance compared to contemporary architectures such as Intel's own 80286 (introduced 1982), which was almost four times as fast on typical benchmark tests.

I know that there was OO hype, but 1981 seems kind of early. I also know that OO means many, many things. What does it mean here, if anything?

24.

Object oriented design in the first 16-bit processor?(en.wikipedia.org ↗)

3 points · by gugagore · 11mo ago · 2 comments

25.

CUDA Ontology(jamesakl.com ↗)

271 points · by gugagore · 1y ago · 40 comments

comment 1y ago · link · parent

Are the 50 for loops truly necessary in the manual C code example of a Kalman filter? At least introduce a few functions (that could be inlined and loop-fused) for some matrix operations?

comment 1y ago · link · parent

Another way to make the same point is to observe that every single society has language.

But only some groups have the ability to systematically encode language as writing.

Writing is a technological marvel.

comment 1y ago · link · parent

Does anyone have a reference to the original thread or issue about sleep(1)?

comment 1y ago · link · parent

The bug being "perturbation confusion"?

comment 1y ago · link · parent

This is the first time I see "SGD" to mean "standard gradient descent" and not "stochastic gradient descent".
12345
33