Tag: computer science

  • Blowing Up Euler

    Blowing Up Euler

    The mathematics of fluid dynamics still have many unknowns, which makes them an attractive playground for mathematicians of all stripes. One perennial area of interest is the Euler equations, which describe an ideal (i.e., zero viscosity), incompressible fluid. Mathematicians suspect that these equations may produce impossible answers — vortices with infinite velocities, for example — under just the right circumstances, but so far no one has been able to prove the existence of such singularities.

    A recent Quanta article delves into this issue and the race between researchers using traditional methods and those using new deep learning techniques. Will the singularities be found and who will get there first? It’s well worth a read, whether theoretical mathematics is your thing or not. (Image credit: S. Wilkinson; see also Quanta; submitted by Jo V.)

  • Featured Video Play Icon

    Building a Water-Based Computer

    Having previously tackled the “greedy” self-starting siphon, Steve Mould set out to build a water-based computer capable of adding simple numbers. To do this, he had to build logic gates capable of distinguishing concepts like AND and exclusive OR (XOR); the self-starting siphon was critical for this, diverting water down one output or another depending on the TRUE or FALSE result. With a series of water logic gates, he built a simple computer capable of adding numbers in binary. Check out the video to see it all in action! (Video and image credit: S. Mould)

  • Building Smart Swimmers

    Building Smart Swimmers

    Scientists have long wondered whether the schooling of fish is driven by hydrodynamic benefits, but the complexity of their environment makes unraveling this complex motion difficult. A recent study uses a different tactic, combining direct numerical simulation of the fluid dynamics with techniques from artificial intelligence and machine learning to build and train autonomous, smart swimmers.

    The authors use a technique called deep reinforcement learning to train the swimmers. Essentially, the swimmer being trained is able to observe a few variables, like its relative position to the lead swimmer and what its own last several actions have been – similar to the observations a real fish could make. During training, the lead swimmer keeps a steady pace and position, and the follower, through trial and error, learns how to follow the leader in such a way that it maximizes its reward. That reward is set by the researchers; in this case, one set of fish was rewarded for keeping a set distance from their leader, one intended to keep them in a position that was usually beneficial hydrodynamically. Another set of fish was rewarded for finding the most energy-efficient method for following.

    Once trained, the smart swimmers were set loose behind a leader able to make random decisions. Above you can see the efficiency-seeker chasing this leader. Impressively, even though this smart swimmer had the option to go it alone (and had never followed such a dynamic leader), it does an excellent job of keeping to the leader’s wake. Compare it with real swimmers and there’s a definite similarity in their behavior, which suggests the technique may be capturing some of an actual fish’s intuition. (Image and research credit: S. Verma et al., source; thanks to Mark W. for assistance)

  • The Lava Lamps That Secure the Internet

    The Lava Lamps That Secure the Internet

    A wall of lava lamps in a San Francisco office currently helps keep about 10% of the Internet’s traffic secure. Internet security company Cloudflare uses a video feed of the lava lamps as one of the inputs to the algorithms they use to generate large random numbers for encryption. The concept dates back to a 1996 patent for a product called LavaRand. The idea is that using a chaotic, unpredictable source as a seed for random number generators makes it much harder for an adversary to crack your encryption. 

    With lava lamps, a lot of that chaos comes from the fluid dynamics involved – without perfect knowledge of thousands of variables, it would be impossible to simulate the lava lamp wall and get the same outcome as the real one – but there’s also randomness that comes from the measurement. People walking by, shifts in lighting, and random fluctuations of individual pixels all help make the video feed unpredictable. For those interested in the details of how Cloudflare uses their lava lamps, the company explains things for both technical and non-technical readers. You can also check out Tom Scott’s video for a good overview. (Image and video credit: T. Scott; submitted by Jean H.)

  • Featured Video Play Icon

    Liquid Logic Gates

    Researchers have built logic gates–a physical implementation of Boolean logic–using droplets on a superhydrophobic surface.  The video above demonstrates their flip-flop memory gate.  Incoming droplets travel on a single track, striking a stationary “memory droplet” which then goes into one of the two output tracks according to its memory state. The memory state of the droplet relies on its position; the droplet sits on an infinity-shaped depression.  When the incoming droplet strikes the sitting one, the droplet will exit via the track closest to its depression.  The droplet that struck it will, as a result of the momentum transfer of the collision, rebound the opposite direction into the other depression, thereby storing the opposite memory state. See here for videos demonstrating other logic gates. (Video credit: H. Mertaniemi et al.; submitted by L. Buss)