Better HN
topnewbestaskshowjobs
Log inSign up

math_dandy

659 karma · joined Mar 10, 2020 (6y ago) · 174 submissions

Submissions

comment 1y ago · link · parent

TLDR: Browser vendors made Shadow DOM for themselves.

Browser implementors use Shadow DOM extensively under the hood for built-in HTML elements with internal structure like range inputs, audio and video controls, etc. These elements absolutely need to work everywhere and be consistent, so extreme encapsulation and fixed api for styling them is an absolute must.

The Shadow DOM API is the browsers exposing, to developers, a foundational piece of functionality.

If you’re thinking about whether Shadow DOM is appropriate for your use case, consider how/why the vendors use it —- when an element’s API needs to be totally locked down to guarantee it works in contexts they have no control over. Conversely, if your potential use case is scoped to a single project, the encapsulation imposed (necessarily!) by Shadow DOM is probably overkill.

Web components are a decent way to make reusable UI, but if they don’t have strong encapsulation needs, you might avoid Shadow DOM.

comment 1y ago · link · parent

I was hoping the accepted definition would not use humans as a baseline, rather that humans would be an (the) example of AGI.

comment 1y ago · link · parent

In-car product vending will come soon enough I’m sure.

comment 1y ago · link · parent

Could you give more details about what precisely you mean by interpolation and generalization? The commonplace use of “generalization” in the machine learning textbooks I’ve been studying is model performance (whatever metric is deemed relevant) on new data from the training distribution. In particular, it’s meaningful when you’re modeling p(y|x) and not the generative distribution p(x,y).

comment 1y ago · link · parent

I’m reading a winking, ironic acknowledgement from the authors that the mathematical definition of individual utility may not map perfectly onto the psychology of a patron of the arts.

comment 1y ago · link · parent

Are there any GPU emulators you can use to run simple CUDA programs on a commodity laptops, just to get comfortable with the mechanics, the toolchain, etc.?

comment 1y ago · link · parent

As a university professor, I admit with some shame that accessibility issues for specific problem types is not on my radar. “Innovation” isn’t the main culprit here.

Fortunately, my university has a good accessibility center that takes care of accommodation issues (large print versions of tests, etc.). I just send them my tests and they take care of it. It’s a great service, and absolutely crucial because I simply don’t have the time to customize assessments. I assume they would get in touch if they were unable to retrofit accessibility onto an assessment, but that hasn’t happened in my fifteen years of employment.

comment 1y ago · link · parent

How was smoking identified as the cause’s of dementia in the individual you mention?

comment 1y ago · link · parent

I think RSC is trying to answer the question, “How can we make server rendering and sprinkles of interactivity composable?” What if you want your sprinkles to have server rendered content inside of them, each of which may contain other interactive/dynamic elements?

I posit that any composable version of sprinkles or the “island architecture” will closely resemble RSC.

Only a small fraction of apps will ever use the full power of the RSC architecture. However, the React team doesn’t build apps, they build primitives for building apps. And good primitives are composable.

comment 1y ago · link · parent

Historically, mathematicians have spent a huge amount of time and effort formulating optimal axioms and foundations so that theorems would follow naturally from structure. Theorems following “trivially” from a theoretical framework that took years to develop isn’t an indictment of the theorem, but an endorsement of the incredible effort expended to develop an optimal context for expressing and understanding the theorem.

comment 1y ago · link · parent

Cool, I had not heard about this. Adding this paper to my machine learning teaching bibliography.

Even though the start of the deep learning renaissance is typically dated to 2012 with Alexnet, things were in motion week before that. As you point out, GPU training was validated at least 8 years previously. Concurrently, some very prescient researchers like Li were working hard to generate large scale datasets like ImageNet (CVPR 2009, https://www.image-net.org/static_files/papers/imagenet_cvpr0...). And in 2012 it all came together.

comment 1y ago · link · parent

I think this is a good approach.

comment 1y ago · link · parent

Proctoring services done well could be valuable, but it’s smaller rural and remote communities that would benefit most. Maybe these services could be offered by local schools, libraries, etc.

comment 1y ago · link · parent

We have an Accessible Testing Center that will administer and proctor exams under very flexible conditions (more time, breaks, quiet/privacy, …) to help students with various forms of neurodivergence. They’re very good and offer a valuable service without placing any significant additional burden on the instructor. Seems to work well, but I don’t have first hand knowledge about how these forms of accommodations are viewed by the neurodivergent student community. They certainly don’t address the problem of allowing « explorer » students to demonstrate their abilities.

comment 1y ago · link · parent

Centralization and IT-ification has made flouting difficult. There’s one common course site on the institution’s learning management system for all sections where assignments are distributed and collected via upload dropbox, where grades are tabulated and communicated.

So far, it’s still possible to opt out of this coordinated model, and I have been. But I suspect the ability to opt out will soon come under attack (the pretext will be ‘uniformity == fairness’). I never used to be an academic freedom maximalists who viewed the notion in the widest sense, but I’m beginning to see my error.

comment 1y ago · link · parent

I teach math at a large university (30,000 students) and have also gone “back to the earth”, to pen-and-paper, proctored and exams.

Students don’t seem to mind this reversion. The administration, however, doesn’t like this trend. They want all evaluation to be remote-friendly, so that the same course with the same evaluations can be given to students learning in person or enrolled online. Online enrollment is a huge cash cow, and fattening it up is a very high priority. In-person, pen-and-paper assessment threatens their revenue growth model. Anyways, if we have seven sections of Calculus I, and one of these sections is offered online/remote, then none of the seven are allowed any in person assessment. For “fairness”. Seriously.

comment 1y ago · link · parent

Ok, now I understand your reply. In retrospect, you were being perfectly clear all along and my confusion was due to me not appreciating the precise definition of a CRDT. Thanks!

comment 1y ago · link · parent

Did you perhaps mean to write, “though not a fully general one”?

comment 1y ago · link · parent

Is the take-home message of the post that the full complexity of CRDTs/OT is necessary only in the absence of a central server?

comment 1y ago · link · parent

This is a natural point of confusion. The true (IMO) primitive concept here is the probability measure. Probability measures on the real line are in canonical bijection with CDFs, the latter being axiomatizable as càdlàg functions (see https://en.wikipedia.org/wiki/Càdlàg) asymptotic to 0 (resp. 1) at minus infinity (resp. infinity). On the other hand, not every probability measure has a density function. (If you want the formalism of densities to capture all probability measures, you need to admit more exotic generalized functions à la Dirac.)

comment 1y ago · link · parent

The diagrams for powers of three form the Sierpinski triangle. Makes total sense once you see it, but I hadn't seen it until today!

comment 1y ago · link · parent

The list in the above comment isn’t a summary — it’s a precise definition. It can and must be carefully explained with lots of examples, contrasts with other languages, etc., but the precise definition itself must figure prominently, and examples and intuition should relate back to it transparently.

comment 1y ago · link · parent

I view create-vite-app with React presets as the spiritual successor of create-react-app, rather than NextJS.

comment 1y ago · link · parent

Is NVIDIA's JIT-based approach here similar JAX's, except targeting CUDA directly rather than XLA? Would like to know how these different JIT compilers relate to one another.

comment 1y ago · link · parent

I suspect your first sentence characterizes the vast majority of scientific activity.

comment 1y ago · link · parent

Number of job posts itself seems like a better measure of the state of the job market than mentions or mention-density. What aspects might mentions capture that number of postings wouldn’t?

comment 1y ago · link · parent

The article does not claim that smoking determines outcomes for any individual. It gives statistical evidence that outcomes (measured brain activity while performing certain tasks) for weed smokers are worse than for non-smokers __on average__, and that this pattern persists in various subpopulations determined by demographic and lifestyle factors.

comment 1y ago · link · parent

Cryptanalysis relies on deep conjectural heuristics in analytic number theory. These conjectures becoming theorems wouldn't affect cryptanalysis at all, because their validity is already baked in. If, however, any of these conjectures turn out to be false, there would be ramifications.

comment 1y ago · link · parent

Correct. HTMX doesn’t deal with client-side state and updating UI in response to client-side interactions. React, on the other hand, is all about that stuff.

comment 1y ago · link · parent

Hooks do a nice job of encapsulating the impurity. Not the only way to do it, but it’s pretty slick.
123456