HN user

azangru

5,006 karma
Posts3
Comments1,911
View on HN

This new trend of content appearing while scrolling down is so terrible accessibility-wise, I do not understand how Mozilla of all institutions would do it.

Could you explain what is wrong with the accessibility of this page? All the content is included in the html payload, so it is accessible to screen readers and text-based browsers; and as for the "reveal" effect, it seems to respect user's choice of "prefers reduced motion" and is disabled when that is user's preference.

From the title of a chart:

The venture-funded open-source ecosystem: total disclosed funding, USD M

Bars grow as you scroll.

The bars, in fact, don't grow as you scroll. And I don't even see why they should.

Not OP; but I would define it as a cluster of specific and strongly held opinions on several topics, such as race/ethnicity, sex, migration, climate change. These opinions cluster together, and produce certain recognizable behaviors including speech patterns, speech taboos, and aggressiveness towards people who do not share these opinions.

You can cheat on your homework all you like, but you'll completely fail the exams

This might sound principled, but we need to recognize that school administrators are incentivised to have as few kids as possible fail their exams; and consequently, so are the teachers. Either exams will change, or the teaching will change.

Well, at least the copy on the site reads like satire. I didn't notice it at first, looking at components; but then I started reading the text.

P.S.: The popover description is brilliant:

The obtrusive newsletter modal every AI startup deploys. Takes over the entire viewport with a blurred backdrop. By design, neither the Escape key nor backdrop clicks close it; the visitor either submits the form inside or clicks the tiny dismissal link at the bottom. Pair with `timer` to auto-open after the visitor has skimmed a few paragraphs.

Submit a feature (our version of a pull request) that looks and behaves exactly the way I want

What happens after the submission? Who reviews the feature? How long? Are there any limits to the size of the diff? Do reviewers push back? How often are features submitted?

I earn a small fraction of what NYTimes earns. If I'm not desperate, why are they?

He is an individual, and they are a company of about 6,000 people?

Angular v22 2 months ago

you need to subscribe to changes manually (use effect) to create computations

How do you mean? Since the render function reruns during every update to state/props, derived/computed values can be calculated from the updated state/props during rendering.

a typical config & plugins stack for (webpack + eslint + prettier) is nearly impossible to reason about.

I think people just don't want to bother. They don't want to read the docs, or maybe watch a video or two (back when webpack was popular, Sean Larkin, webpack evangelist, made a number of popular courses about setting it up). Also, webpack config became easier compared to 2014/2015; I think they got to practically a zero-config by default.

I can understand that people don't want to care; but "impossible to reason about" is not it. It isn't rust, for crying out loud; nor lisp; nor haskell.

Angular v22 2 months ago

But why is push vs pull the definition of reactivity?

I suppose we can say that there are different kinds of reactivity. Signals is one kind. Observables à la rxjs is a different kind (the whole model of programming with rxjs was referred to as "functional reactive programming"). Observables are push-based. Signals, as I heard, are a more complex primitive, which, under the hood, is push-pull.

React's reactivity model may be crap; but this doesn't make it non-existent.

Angular v22 2 months ago

React reacts to changes in state or properties by automatically updating the UI. What's not reactive about that?

Angular v22 2 months ago

Observables - streams

Signals - reactivity

The r in rx stands for reactive.

have you tried working seriously with claude code or gpt codex and which part of it did you not enjoy?

I haven't. But I found myself, to my surprise, not particularly interested in trying; which makes me wonder what motivates other developers if not peer pressure or demands for more productivity. I find coding interesting and fulfilling enough to do it on my own. I do ask LLMs questions from time to time, but for that, even a chatgpt or a gemini in a browser tab is enough.

The best experience I had so far is with code reviews, when the models pointed out my mistakes. But I haven't yet gotten to the point where I would want them to write code for me.

battling with AI, trying to get it do what I wanted

What I am selfishly curious about is: is it possible to remain a software developer, and ignore AI? To write code the same way we did before 2022? I understand that there are many companies in which managers demand more of workforce — but are there still places where people are satisfied to not rush ahead and do business same way they did three or four years ago?

In other words, is it possible to not battle with AI trying to get it what we want? Were you forced to do this by your employer, or was this entirely self-inflicted?

Asking for a friend.

now that Google isn’t really Google anymore

I can't say I've noticed any changes about google search on desktop recently. Yes; there is an AI overview widget at the top of the page; but it's been there for at least a year.

Has anything changed about Google search results for you?

Deno 2.8 2 months ago

which makes them a safer bet as a dependency

Wouldn't node be the safest bet as a dependency?

Just Use Go 3 months ago

Oh; in that case the lowly Javascript/typescript does this so much cleaner with the explicit `export` keyword. "Explicit is better than implicit."

Just Use Go 3 months ago

I know it doesn't matter, but...

...who invented this letter-casing convention?

    import (
        "embed"
        "html/template"
        "net/http"
    )

    //go:embed templates/*.html
    var files embed.FS

    var tmpl = template.Must(template.ParseFS(files, "templates/*.html"))
why is the name of a module lower-cased

but the names of functions accessed via its namespace upper-cased?

how does this make sense?

Our principles 3 months ago

AI has the potential to significantly improve many aspects of society.

...as well as the potential to significantly worsen many aspects of society