• 0 Posts
  • 71 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle
  • Threads all run on the same core, processes can run on different cores.

    Because threads run on the same core, the only time they can improve performance is if there are non-cpu tasks in your code - usually I/O operations. Otherwise the only thing multi threading can provide is the appearance of parallelism (as the cpu jumps back and forth between threads progressing each in small steps).

    On the other hand, multiprocessing allows you to run code on different cores, meaning you can take full advantage of all your processing power. However, if youre program has a lot of I/O tasks, you might end up bottlenecked by the I/O and never see any improvements.

    For the example you mentioned, it’s likely threading would be the best as it’s got a little less overhead, easier to program, and you’re task is mostly I/O bound. However, if the calculations are relatively quick, it’s possible you wouldn’t see any improvement as the cpu would still end up waiting for the I/O.






  • Hey OP, it looks like you’re the author of the post? If so I’m curious how you handle cloud services like AWS or Azure when taking this approach? One of the major issues I’ve run into when working with teams is how to test or evaluate against cloud services without creating an entire infrastructure in the cloud for testing.


  • Definitely sounds like it could be real. If I had to guess their mounting a drive (or another partition) and it’s defaulting to read only. When restarting it resets the original permissions as they only updated the file permissions, but not the mount configuration.

    Also reads like some of my frustrations when first getting into Linux (and the issues I occasionally run into still).









  • I mean I can list a lot of things AI (and I’ll limit it to Transformers, the advancement that drives LLMs) has enabled:

    • Audio Transcription
    • Greatly improved language translation
    • Improved computer vision, in some situations
    • Combined with diffusion models has enabled targeted image generation, which we already know is being used in media and ads.

    AI isn’t a scam, but it’s being oversold and it’s limitations are being purposefully hidden. That being said, it is changing how things are done and that’s not going to stop. We’re still seeing impacts from CNNs, one of the major AI/ML breakthroughs from over a decade ago, make impacts.


  • What was so obvious in that instance was the board members trying to push him out were calling out the lack of openness OpenAI was trending towards. They were literally calling him out for not upholding the vision of why the company was founded.

    All the engineers clearly saw their payday slipping away and revolted for that reason. Can’t say I blame them, but it was a scenario where the board was actually doing the right thing and everyone turned on them for profit.