Live data from Hacker News

Viewing profile — AkshitGarg

AkshitGarg

HN member
Joined
Fri, Jul 24, 2020, 10:56 AM UTC
HN karma
102
Public activity
55 items

About AkshitGarg

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #42270801

    I feel this benchmark compares apples to oranges in some cases. For example, for node, the author puts a million promises into the runtime event loop and uses `Promise.all` to wait…

  3. comment
    Comment #38804553

    IIRC that runs a x86_64 userland (using Rosetta) on a arm64 kernel.

  4. comment
    Comment #37232383

    You use attrs [1] instead. I personally find this much more readable, and prefer this. slog.Info("hello, world", slog.String("user", os.Getenv("USER"))) [1]: https://pkg.go.dev/log…

  5. story
    Tell HN: YouTube is not showing home recommendations when watch history is off

    For me, it shows a banner asking to turn on watch history [1]. [1]: https://imgur.com/a/TsmSN2r

  6. comment
    Comment #37030989

    Windows also supports containers: https://learn.microsoft.com/en-us/virtualization/windowscont...

  7. story
  8. comment
    Comment #29909645

    ReScript doesn't uses esbuild. It has its own compiler: https://github.com/rescript-lang/rescript-compiler

  9. comment
    Comment #29841994

    Chrome and Firefox on iOS are just skinned safari with their own sync and features. Apple does not allow third party browser engines and you absolutely have to use the one built in…

  10. comment
    Comment #29794825

    According to its README, it does run (and is tested) on WSL 2 (Ubuntu) (amd64).

  11. comment
    Comment #29483678

    It has been there since atleast windows 95. Screenshot: https://i.imgur.com/vCJF5UW.png

  12. comment
    Comment #29376809

    Yep you need to specify the maximum memory amount up-front. Its defined as "webassembly memory pages". Each page is 64kb. You need to specify an initial and a maximum amount. The w…

  13. comment
    Comment #29328658

    Not the OP, but my editor colors the parenthesis red in case of an imbalance [0]. I do have a minimal amount of highlighting though. [0]: https://imgur.com/haVWset

  14. comment
    Comment #29328610

    I grew up with fully fledged syntax highlighting, but I still prefer to use really minimal themes as I find them to reduce cognitive overhead and eye strain. It was hard for the fi…

  15. comment
    Comment #29328577

    While I don't fully disable syntax highlighting, I use a minimal theme [0,1] that only has highlighting for comments, strings and globals. It reduces eye strain for me, and I never…

  16. comment
    Comment #29316145

    Not only firefox, but edge, chrome and safari too. EFF is deprecating HTTPS everywhere. See https://www.eff.org/deeplinks/2021/09/https-actually-everywh...

  17. comment
    Comment #29307833

    > given enough work, run Python directly in Wasm It is already possible! See https://github.com/pyodide/pyodide

  18. comment
  19. comment
    Comment #29057742

    You can use vscode's web editor [0] which allows you to open local folders and even run full LSPs for JavaScript, TypeScript and Python [0]: vscode.dev

  20. comment
  21. story
  22. comment
    Comment #28789959

    That might be unrelated to the audit database change as NPM is currently having a service outage. https://status.npmjs.org/incidents/7pqfqvkwvb58

  23. comment
    Comment #28696176

    The NATS protocol [0] looks pretty simple, but is text based unlike MQTT which uses a size optimized binary protocol. [0]: https://docs.nats.io/nats-protocol/nats-protocol

  24. comment
    Comment #28507940

    Erlang includes erlang bindings for wxWidgets as used by observer and debugger. It is certainly possible to use them for making desktop GUIs.

  25. comment
    Comment #28489533

    You can use WSL to mount ext4 and other filesystems supported in linux. https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk