Live data from Hacker News

Viewing profile — Alexendoo

Alexendoo

HN member
Joined
Sat, Apr 28, 2018, 8:58 PM UTC
HN karma
34
Public activity
16 items

About Alexendoo

No profile information was provided.

Recent public activity

  1. comment
    Comment #37364286

    The feedback form was open for some amount of time and closed as scheduled, there are only so many things to be said about the draft after all. All of the things mentioned in the b…

  2. comment
    Comment #32584077

    TrustedLen will mean it can safely take the upper bound, but Vec for example will still use the lower bound of the hint when something isn't TrustedLen https://doc.rust-lang.org/sr…

  3. comment
    Comment #27667396

    Enter safe transmute - https://github.com/rust-lang/project-safe-transmute/blob/mas...

  4. comment
    Comment #27641427

    The idea is you read the PKGBUILD/install files so it's no longer arbitrary code, they're usually very short files. On updates you can review just a diff. AUR helpers present this …

  5. comment
    Comment #26293812

    None of these scriptlets would break if a site uses WASM, they're utilities for things like adding/removing/mutating elements from the DOM, modifying localStorage, stopping alert()…

  6. comment
    Comment #26285240

    uft8mb4 does not use more bytes than utf8mb3, for anything representable by utf8mb3 the size in uft8mb4 is identical. Anything that would be 4 bytes in uft8mb4 is not able to be st…

  7. comment
    Comment #25597893

    Everything is rendered directly to a canvas, at the very least it lacks subpixel rendering

  8. comment
    Comment #24522480

    The long form of `-a` would be `--archive`, for the same reason that you write `-a` and not `-dR --preserve=all`

  9. comment
    Comment #20103082

    For 3., For use in defer the error return does have to be declared as you'd expect, in the examples it's done in the function signature func CopyFile(src, dst string) (err error) {…

  10. comment
    Comment #19654406

    It might have been --declarationMap, part of Typescript 2.9 https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T... Jumping to definition works with typescript projects cor…

  11. comment
    Comment #19329248

    The browser will start displaying the contents of a response before it has entirely downloaded. So in this case the browser sees it as a really slow server (you can see the loading…

  12. comment
    Comment #18065076

    There is quite a large downside to app bundles, that is that it requires you (the developer) to hand over your app signing key to Google. The fact that updates from the play store …

  13. comment
    Comment #18047183

    I would recommend avoiding adding your own global types if you can avoid it, for example TypeScript has a full type definition for Array.prototype.find [1]. You can enable it witho…

  14. comment
    Comment #17896933

    Yeah you should be able to, the minimum typescript version required and the one they test at is 2.8 for now but the LibraryManagedAttributes type is present [1]. On 2.8 and 2.9 it …

  15. comment
    Comment #17896523

    For the default props side of things, as of typescript 3 and the latest @types/react it should work as you would expect: https://github.com/Microsoft/TypeScript/wiki/What%27s-new-i…

  16. comment
    Comment #16949437

    Sort of - there's a jQuery API that does content sniffing called .data(), it's for storing and retrieving arbitrary data on elements. The problem was that they used this API to rea…