Live data from Hacker News

Viewing profile — nbsande

nbsande

HN member
Joined
Wed, Nov 04, 2020, 6:46 AM UTC
HN karma
80
Public activity
14 items

About nbsande

No profile information was provided.

Recent public activity

  1. comment
    Comment #46113821

    > With more than 5 million downloads since its launch, the app has helped block more than 3.7 million stolen or lost mobile phones, while more than 30 million fraudulent connection…

  2. comment
    Comment #44698467

    While having the same code for sync and async sounds nice, monkey patching code at runtime seems hacky. Any library that wants to use a lower level implementation of network calls …

  3. comment
    Comment #41737700

    The idea is to map N tasks to M threads. This is useful more than just when you needd more threads than the OS can spin up. As you scale up the number of threads you increase conte…

  4. comment
    Comment #41737684

    Having too many threads all running at the same time can also cause a performance hit, and I don't mean hitting the OS limit on threads. The more threads you have running in parall…

  5. comment
    Comment #41737644

    The use case I wrote it in mind with is FastAPI. In that case, there wouldn't be any change to the Python code. You'd just use a different ASGI server that would use this sort of m…

  6. comment
    Comment #41737616

    Hard agree. If you want resource efficiency and high performance you're probably better off looking to lower level languages most of the time. In my experience FastAPI usually gets…

  7. comment
    Comment #41685314

    Hmmm. That would indeed be better. Seems like an interesting experiment to try and implement virtual threads for python!

  8. comment
    Comment #41685302

    run_in_executor is pretty powerful for running sync code in async code, but my use case was more making async code utlize the cpu better. I think, just using run_in_executor would …

  9. story
    Show HN: Bringing multithreading to Python's async event loop

    This project explores the integration of multithreading into the asyncio event loop in Python. While this was initially built with enhancing CPU utilization for FastAPI servers in …

  10. comment
    Comment #40295691

    If I'm understanding your point correctly that wouldn't prevent them from offering higher ram specs for the lower storage eg. 512 gig macs. So it seems like it is just price gougin…

  11. comment
    Comment #38056806

    The large(100k tokens) context window together with the fact that it can actually use the information in that context window. From personal experience other models including open a…

  12. comment
  13. comment
    Comment #28208698

    That's not strictly true. I'm sure thst GitHub contributed to the awareness of git among and less technically experienced especially in recent years, but use of version control sys…

  14. comment
    Comment #27062178

    Keeping support for near 20 year old consumer grade machines in the kernel seems ridiculous to me. Doing so would bloat the size of the kernel even more than it already is. The mor…