Live data from Hacker News

Viewing profile — fregante

fregante

HN member
Joined
Tue, Nov 17, 2020, 8:15 PM UTC
HN karma
40
Public activity
38 items

About fregante

Find me at https://github.com/fregante

Recent public activity

  1. comment
    Comment #41158033

    I know you’d rather see it native but if you’re open to sponsor its development, I could make a custom addon for that.

  2. comment
    Comment #40153827

    This is a good read for JS developers. TL;DR: they’re not the same thing. Only sometimes they match (e.g. `id`) but often they don’t. Something fun: JSX does not use attributes, ev…

  3. comment
  4. comment
    Comment #38472319

    https://github.com/refined-github/refined-github I never intended it to be a side project, I just liked the extension and started contributing heavily to it, to the point where I b…

  5. comment
    Comment #34422889

    The fun part is that they completely botched an experience that iOS can delivery natively. I built a mini app to extract the HSL stream from a URL and have iOS play it. It usually …

  6. comment
    Comment #34396570

    Only pre-existing MV2 extensions can be updated. New extensions have had to be MV3 for exactly 12 months already: since January 17th 2022.

  7. comment
    Comment #34396556

    Look into chrome.storage.session, they created it explicitly to allow in-memory storage for those scenarios. Not as easy as just setting a property, but good enough.

  8. comment
    Comment #33964410

    > Please do not treat them this way. They do not grant access to your account. Can you expand on that? Once I have such code, what’s stopping me from “stealing” the account?

  9. comment
    Comment #33964382

    Italy has SPID. It’s a federated login system based on your fiscal code (every Italian has one). You can use it to log into any government service and potentially banks and such. I…

  10. comment
    Comment #33433718

    I don’t think it's actually a net benefit. Adding the wrong value degrades the experience. I've seen links marked with `role=button` for no reason and generally roles added when on…

  11. comment
    Comment #33393074

    Digital menus aren't bad, but very few can implement them effectively. I do like having access to the menu for the whole dinner though and not have to wait for the waiter, ever. In…

  12. comment
    Comment #33244793

    If this becomes illegal, it will pretty much mark the death of free/open ML and its sets. If you can't train on data before asking for permission, the data set becomes sparse. Thje…

  13. comment
    Comment #33242657

    Back when npm didn’t have any “similar name” restrictions I did the same for some popular packages. My redirects also helped me a couple of times as I wonder whether a package name…

  14. comment
  15. comment
    Comment #29472204

    Yeah but… money. You can’t pay rent with smiles. Accepting donations would probably mean having to work less at their main job. Or they could re-donate it. There are people willing…

  16. comment
    Comment #29469321

    JSX requires a build though, it's easier to enforce syntax when a missing character will just work while writing it . There are no JSX errors at runtime for this reason.

  17. comment
    Comment #29469087

    It's kind of weird to work for free though, isn't it? Sure it's something we like doing, but I really see no reason to reject free money. For uBlock this free money would be a fair…

  18. comment
    Comment #29469078

    GitHub Sponsors is a technical solution, but I still need to handle the legal side of the equation.

  19. comment
    Comment #29469065

    > And some donated more than others That's unrelated to donations. One can accept donations without putting their soul on sale. As an extension developer I get offers for buying my…

  20. comment
    Comment #29140447

    Think of TypeScript as writing JavaScript with inline tests: It takes longer but it produces "safer" code (with fewer bugs) Is it worth learning it? I'm sure type-less job offers w…

  21. comment
    Comment #29055321

    For those who don’t understand what it’s doing (like me at first): You first have to host these index.html and sw.js on a regular server (or use the URL in the readme) and then thi…

  22. comment
    Comment #28684634

    It's interesting that you mention Chrome’s silliness when I find Firefox’ dev tools to be severely lacking, especially for WebExtensions. Examples include: - complete inability to …

  23. comment
    Comment #28555648

    Async iterables are async generators. They call .next() on the iterable, that returns a promise, the promise resolves with either a new item to loop with, or with `done`, which wil…

  24. comment
    Comment #28555513

    Your words: > One might be tempted to use the thenable interface (don’t!): The code that followed was fine and it had no race condition. > Seems like it would work, but it actually…

  25. comment
    Comment #28548162

    > the pattern of awaiting in an async parallel loop in general reduces to what I wrote, does it not? No. async item => {await item()} // Promise item => item() // Promise > In gene…