Processes, Threads, And… Fibers?

You’ve probably heard of multithreaded programs where a single process can have multiple threads of execution. But here is yet another layer of creating multitasking programs known as a fiber. [A Graphics Guy] lays it out in a lengthy but well-done post. There are examples for both x64 and arm64, although the post mainly focuses on x64 for Windows. However, the ideas will apply anywhere.

In the old days, there was a CPU and when your program ran on it, it was in control. But that’s wasteful, so software quickly moved to where many programs could share the CPU simultaneously. Then, as that got overloaded, computers got more CPUs. Most operating systems have the idea of a process, which is a program that thinks it is in complete control, but it is really sharing the CPU with other processes. The problem arises when you want to have multiple “little” programs that cooperate. Processes are not really supposed to know about one another and, if they do, there’s usually some heavy-weight communication mechanism allowing them to talk.

Continue reading “Processes, Threads, And… Fibers?”

Hand-Made Drum Carder Gets Wool Ready For Spinning

Making a natural fiber like wool into something useful like a sweater involves a lot of steps. We might be familiar with shearing the sheep, spinning the wool into yarn, or knitting and weaving, but between shearing and spinning there’s another unfamiliar process you’ll have to go through. Known as carding, it helps align the fibers so they are able to be spun, and of course it requires either an expensive tool, or one you build on your own.

This drum carder is exactly what it sounds like. It uses two drums covered in a metal mesh, spinning at different speeds, which pull the fibers into an orderly shape. Small drum carders like this can run around $600 but with some quality wood and a lathe you can easily make one for a fraction. Making the series of drums is fairly straightforward with a lathe, and from there you need to make sure they are connected with a quality belt or chain and then covered in the appropriate metal mesh.

[kris] notes in the reddit comments section that he’d like for a second version to spin a little faster and be a little more durable, but this is a great working carder nonetheless. From there you’ll want to move on to spinning the wool into yarn, which you can do with either a wheel or an electric motor.

Continue reading “Hand-Made Drum Carder Gets Wool Ready For Spinning”

MIT Mobile Cloud


The MIT Mobile Experience lab has just developed this ambitious interactive installation called The Cloud. Located in Firenze, Italy, The Cloud is a sort of sculpture with over 15,000 LEDs and several miles of fiber optics. The tips of the fibers glow, but they also change colors in response to human interaction, including touching it or standing near it. The Cloud uses a combination of proximity and touch sensors to achieve this. It also has two cameras and a microphone, which allows it draw input from various sources and output a much richer, more organic response.

[via Cool Hunting]