Hacker Newsnew | past | comments | ask | show | jobs | submit | bmn__'s commentslogin


Have you even dogfooded your quiz once before publishing to the Web?

> JS methods to select an element

> YOUR ANSWER

> getMethod: "getQuerySelectorAll"

> EXAMPLE CORRECT ANSWER

> const button = document.example('example');

TypeError: document.example is not a function

----

> Create an HTML form with an input field and submit button:

> YOUR ANSWER

> <input type="submit">Submit</input>

> EXAMPLE CORRECT ANSWER

> <button type="submit">Submit</button>

Not incorrect answer assessed as incorrect.


Your button answer is wrong though because the input tag can't have content. The version using input should be <input type="submit" value="Submit" />.

Having said that, I did just get marked down for having filter(num => num % 2 === 0) when the correct answer shouild (apparently) be filter(x => x % 2 === 0) so it's not great.

Classic vibe issue of it regressing how the examples are generated. Will check it.

Not sure what you expected, they built it with AI lol

> It needs to be [heavy-handed reprimands]

What is the realistic chance for such a regulation to pass all hurdles before being signed/coming into effect?


Alternative view-point: the Mozilla Corporation exists, which is not bound by these rules.

(I did not downvote you. The HN users who did so without explanation are lamers.)


There are strict rules for businesses soliciting donations. Mozilla Corporation would have to be more careful than most because of confusion between the non profit Mozilla Foundation and for profit Mozilla Corporation. And many people who claim they would donate to Mozilla Corporation demand per project accounting if they don't demand elimination of all projects they dislike.


> just

https://caniuse.com/jpegxl

No one can afford to "just". Five years later and it's only one browser! Crazy.

Browser vendors must deliver, only then it's okay to admonish an end user or Web developer to adopt the format.


Adopt it anyway. Add a decoder. Don't let google bully you out of such a good format.


Really, you wanna police speech on HN? What priggishness. smh As long as the gypsies in Slovakia call themselves thus, you have no moral leg to stand on.


> As long as the gypsies in Slovakia call themselves thus

As is the case with the n-word.

I'm not policing anything (obviously, since I'm not in any position of authority) - I am however pointing it out since I've come across people that truly didn't know.


I call my wife “baby” but that doesn’t mean it is ok for random men to call her that. You are free to use ethnic slurs if you want, and people are free to point out that they are in fact slurs.


It's socially constructed, what's a slur. Something below a fact.

What, you downvoted to disagree? Look:

"We asked many members of the Gypsy, Roma and Traveller communities how they preferred to describe themselves. While some find the term “Gypsy” to be offensive, many stakeholders and witnesses were proud to associate themselves with this term and so we have decided that it is right and proper to use it, where appropriate, throughout the report." Women and Equalities Committee, UK Parliament. 2019.

Of course that was six years ago, maybe it's a slur now. Or maybe it's a slur to you, but not to them. Or it won't be slur tomorrow, or it's a slur everywhere but not on Tuesdays and except in Scotland. Socially constructed, see? Not factual.



> [Lambdas] get non-descriptive, auto-generated names. When I look at call stack of a crash I can’t map the auto-generated closure name to a function in my code.

Well, HN lazyweb, how do you override the stupid name in C++? In other languages this is possible:

  $ node --trace-uncaught -e 'const c = function have_name() {throw null}; c()'

  $ perl -d:Confess -MSub::Util=set_subname -E 'my $c = sub() {die}; set_subname have_name => $c; $c->()'


Better solution would be to map to a source location (filename and line) instead.


Not necessary tho, the function already exists in the binary and already has a symbol. All you need is some compiler/language feature to change that symbol.


debug symbols already do that


I as an interested bystander estimate it in the order of 10⁵. Email Ken Lunde for better insights.

Note that GP claimed "not representable" (not "not represented"). Based on what I know, that claim feels quite wrong.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: