News for hackers. Stuff that matters.
Re:Vladimir Lukyanov's hydraulic computer by contingencies on Sunday November 25, 2018 @03:09AM (#18525923)
Re:Vladimir Lukyanov's hydraulic computer by toolslive on Sunday November 25, 2018 @04:57AM (#18526220)
In the 1980s people in chemistry labs that needed to find the area beneath a curve used to print/plot the curve, cut out the area and weigh it. This worked quite well as they had accurate scales.
Re:Vladimir Lukyanov's hydraulic computer by niftich on Sunday November 25, 2018 @11:54AM (#18527595)
This reminds me of how the geographical center of the US was once found by balancing a cardboard cutout [1]; an accompanying document then explains the limitations and caveats of this method and of other methods which produce different results, while musing about the discrepancy between the ambiguity of the ask and the public's expectations of producing a clear and reproducible answer.

[1] (PDF) https://www.ngs.noaa.gov/PUBS_LIB/GeoCenter_USA1.pdf

Re:Vladimir Lukyanov's hydraulic computer by _Microft on Sunday November 25, 2018 @05:41AM (#18526334)
There was one experiment in physics lab course (undergraduate level) just ten years ago in which we also had to integrate like this. Not because we lacked better methods but to have experienced that it can be done this way.
Re:Vladimir Lukyanov's hydraulic computer by konschubert on Sunday November 25, 2018 @08:27AM (#18526783)
Let's face it, that had that lab set up from before and didn't want to update it :D
Re:Vladimir Lukyanov's hydraulic computer by _Microft on Sunday November 25, 2018 @09:00AM (#18526885)
I think it would actually have been easier to use current equipment than maintaining older but it was really about doing the work manually. Imagine it like having to learn to do mental arithmetics before being allowed to use a calculator. And so we got to write lists with data points or plot them with an X-Y plotter instead of automated collection of measurements. We hated it at times (noting a single value every 5 minutes is way more annoying that it might sound! The interval is too long to keep one busy and too short to do something meaningful in between) but in retrospect was the right way to learn to do experiments, in my opinion.
Re:Vladimir Lukyanov's hydraulic computer by jaclaz on Sunday November 25, 2018 @01:28PM (#18528065)
More generally, there was a dedicated instrument to calculate areas of a map or drawing, the planimeter, widely used before the advent of (affordable) computing:

https://en.wikipedia.org/wiki/Planimeter

https://news.ycombinator.com/item?id=16032930

Re:Vladimir Lukyanov's hydraulic computer by bno1 on Sunday November 25, 2018 @07:51AM (#18526669)
If they had a plot of the function in a digital format that could be printed what stopped them from doing numerical integration?
Re:Vladimir Lukyanov's hydraulic computer by nestorD on Sunday November 25, 2018 @08:04AM (#18526705)
It was not invented yet, the "Mathematical Model for the Determination of Total Area Under Glucose Tolerance and Other Metabolic Curves" paper came out in 1994... https://fliptomato.wordpress.com/2007/03/19/medical-research...
Re:Vladimir Lukyanov's hydraulic computer by yesenadam on Sunday November 25, 2018 @05:32PM (#18529496)
Original paper, which appeared in Diabetes Care.

https://math.berkeley.edu/~ehallman/math1B/TaisMethod.pdf

Reading it, it's quite hard to believe it wasn't a joke, but it doesn't seem to be. It thanks R. Kuc of Yale (a professor of electrical engineering) for his expert review.

Google Scholar says it has 336 citations, most of which appear to be non-ironic[0].

The original paper was immediately followed (i.e. in the same issue) by two corrective articles[1], one titled "Tai's Formula Is the Trapezoidal Rule". So why did they publish it at all? This page discusses that question:

https://academia.stackexchange.com/questions/9602/rediscover...

..and links to this, which talks about how wheels are reinvented all the time.

https://academia.stackexchange.com/questions/7360/how-common...

[0] http://scholar.google.com/scholar?cites=18129095207210817294...

[1] http://libgen.io/scimag/ads.php?doi=10.2337%2Fdiacare.17.10....

Re:Vladimir Lukyanov's hydraulic computer by auxym on Sunday November 25, 2018 @08:28AM (#18526786)
Before following your link, I was getting all ready to point you to Wikipedia's page on Simpson's rule (invented sometime in the 18th century).

Funny anecdote, serves as a reminder to not take all academic literature as gospel.

Re:Vladimir Lukyanov's hydraulic computer by konschubert on Sunday November 25, 2018 @08:29AM (#18526791)
I hope that's a joke. The most basic numeric integration method is so simple I don't think it needed to be invented.
Re:Vladimir Lukyanov's hydraulic computer by tomxor on Sunday November 25, 2018 @12:01PM (#18527644)
> The most basic numeric integration method is so simple I don't think it needed to be invented.

Exactly, the individual who came up with that paper shows a complete lack of imagination, not merely ignorance - how someone (scientist or not) lacks the ability to see the likelihood of such a simple method having been discovered before is quite puzzling to me... This happens to be closely related to what I was doing recently: implementing a very simple little tool to integrate raw data, (I don't know calculus well at all) but here is my thought process (and probably most peoples):

1. I just want basic integration of raw data, something simple no interpolation at this stage.

2. hmm just draw a polyline through the points - how do I find the area it outlines (figure that bit out quickly it's just basic trig then some simplification, all very intuitive).

3. Ok that's how I find the area, I wonder what this is called it's too simple to not have been discovered hundreds of years ago... goes and does some searching to find matching definition.

... What kind of person gets to step 3 and marvels at their re-invention of the trapezoidal rule and goes straight to publishing a paper? How is it they are "doing science"?

Re:Vladimir Lukyanov's hydraulic computer by ams6110 on Sunday November 25, 2018 @03:57PM (#18528988)
And how is it that the paper got reviewed and accepted for publication without somebody pointing out the obvious?

As a 1980s high school student my first thought of how I'd find the area under a curve with a computer was basically to pick random points and see if they were above or below the curve. At the time I had about one year of exposure to Apple II basic. My math teacher said "yeah that's the Monte Carlo technique."

Re:Vladimir Lukyanov's hydraulic computer by atleta on Sunday November 25, 2018 @09:55AM (#18527106)
It's not. It's serious and sad. I remember a news article from a few months ago that exactly mentioned (and made fun) of this paper.
Re:Vladimir Lukyanov's hydraulic computer by vanderZwan on Sunday November 25, 2018 @10:06AM (#18527143)
It's a good example of why multidisciplinary research is essential though
Re:Vladimir Lukyanov's hydraulic computer by gumby on Sunday November 25, 2018 @04:12PM (#18529068)
When I was learning to use a chromatograph (barely a decade ago) the textbook still suggested the "plate stacking method" to figure out the AUC (area under the curve): basically see how many rectangles fit under the curve.
Re:Vladimir Lukyanov's hydraulic computer by VLM on Sunday November 25, 2018 @10:14AM (#18527180)
The user interface of scissors and scale is much faster than the human/computer user interface for numerical integration after fitting a smoothed curve to the measured data.

The human scissor operator, in theory, can exercise far better judgment at throwing out invalid data points than an algorithm, when fitting curves. (When I was measuring datapoint 15 I know I was distracted, no surprise its an outlier, I can safely disregard it completely, etc)

Re:Vladimir Lukyanov's hydraulic computer by greggyb on Sunday November 25, 2018 @11:30AM (#18527490)
I think the concomitant risk is that a human scissor operator can also apply bias, sometimes unconsciously.
Re:Vladimir Lukyanov's hydraulic computer by gugagore on Sunday November 25, 2018 @05:02AM (#18526234)
Ha! Very interesting. And the density of paper was uniform enough? Or maybe they used a different material?
Re:Vladimir Lukyanov's hydraulic computer by toolslive on Sunday November 25, 2018 @05:17AM (#18526268)
I'm not sure if they ever did a scientific study on this, but you can choose your accuracy by playing with the scale of the plot.
Re:Vladimir Lukyanov's hydraulic computer by vanderZwan on Sunday November 25, 2018 @07:20AM (#18526573)
You could always use a stack of paper to average out the error.
Re:Vladimir Lukyanov's hydraulic computer by std_throwawayay on Sunday November 25, 2018 @05:12AM (#18526251)
I don't have actual numbers but it's pretty uniform.
Re:Vladimir Lukyanov's hydraulic computer by lb1lf on Sunday November 25, 2018 @03:54AM (#18526056)
In a related vein, Ars Technica writer Sean Gallagher did a fantastic story on the US Navy's analog fire guidance computers a few years ago:

https://arstechnica.com/information-technology/2014/03/gears...

The instruction videos alone are worth the visit. Geekery of the first order.

Re:Vladimir Lukyanov's hydraulic computer by agumonkey on Sunday November 25, 2018 @05:00AM (#18526230)
reactive analog programming ;)

there's a remarkable feature of these old videos, they're so easy to follow. No matter the topic, analog gear-computers, car mechanics, wave principles & radio .. it's always fun yet quite precise. We've lost something here.

Re:Vladimir Lukyanov's hydraulic computer by B1FF_PSUVM on Sunday November 25, 2018 @06:11AM (#18526420)
Incidentally, these were the computers in the early Heinlein books.

I was mulling the comment here a few days ago pointing out Heinlein's prescient depiction of networked computers, and thinking that the hard part would be having mechanical computers pick up the phone and sending electromagnetic pulses down the line. Perhaps pecking at telegraph keys ...

Re:Vladimir Lukyanov's hydraulic computer by DonHopkins on Sunday November 25, 2018 @12:56PM (#18527891)
Ash the Android in Alien used a water based computer. Or maybe that was milk. It looks like he might have been had problems solving non-homogeneous differential equations, because the cream would rise to the top.

https://www.youtube.com/watch?v=VA8jv1M6Y2g

Re:Vladimir Lukyanov's hydraulic computer by SmellyGeekBoy on Monday November 26, 2018 @11:11AM (#18534305)
I always thought it was some kind of hydraulic fluid but I prefer your explanation. ;)
Re:Vladimir Lukyanov's hydraulic computer by Pulcinella on Sunday November 25, 2018 @10:09AM (#18527153)
See also https://youtu.be/NAsM30MAHLg

A analog device for performing Fourier analysis.

Re:Vladimir Lukyanov's hydraulic computer by mehrdadn on Sunday November 25, 2018 @09:34AM (#18527004)
These are absolutely mindblowing. Thanks for sharing!
Re:Vladimir Lukyanov's hydraulic computer by wpietri on Sunday November 25, 2018 @01:12PM (#18527966)
I know of two excellent examples of this. One is an entertaining modern attempt to recreate economic models with a fluid computer: https://vimeo.com/131690448

The other is the fucking fantastic Bay Model, a 1:1000 physical model of the San Francisco Bay: https://en.wikipedia.org/wiki/U.S._Army_Corps_of_Engineers_B...

It was built in the 1950s to study the effects of various plans, including one proposal to divert all incoming rivers to "productive" use. It was eventually made obsolete by computer simulation, but it's still there. I bring a lot of my nerdy out-of-town visitors there; it's amazing to walk around on a 2-acre simulation.

Re:Vladimir Lukyanov's hydraulic computer by JKCalhoun on Sunday November 25, 2018 @01:21PM (#18528012)
Yes, first link is based on the MONIAC: https://en.wikipedia.org/wiki/MONIAC
Re:Vladimir Lukyanov's hydraulic computer by disposablename on Sunday November 25, 2018 @05:43PM (#18529553)
Trickle-down economics
Re:Vladimir Lukyanov's hydraulic computer by obeattie on Sunday November 25, 2018 @03:49AM (#18526037)
There's a little more info in this (somewhat wonderful) article: https://pruned.blogspot.com/2012/01/gardens-as-crypto-water-...
Re:Vladimir Lukyanov's hydraulic computer by dang on Sunday November 25, 2018 @02:25PM (#18528440)
OK, we've changed to that from https://en.wikipedia.org/wiki/Water_integrator. Thanks!
Re:Vladimir Lukyanov's hydraulic computer by andai on Sunday November 25, 2018 @04:54AM (#18526210)
> To better explain how it works, here is a description by Steven Strogatz of what I'm assuming is a comparable device. Built in 1949, nearly a decade and a half after Lukyonov's, it's called the Phillips machine, after its inventor, Bill Phillips.

In the front right corner, in a structure that resembles a large cupboard with a transparent front, stands a Rube Goldberg collection of tubes, tanks, valves, pumps and sluices. You could think of it as a hydraulic computer. Water flows through a series of clear pipes, mimicking the way that money flows through the economy. It lets you see (literally) what would happen if you lower tax rates or increase the money supply or whatever; just open a valve here or pull a lever there and the machine sloshes away, showing in real time how the water levels rise and fall in various tanks representing the growth in personal savings, tax revenue, and so on.

“It’s a network of dynamic feedback loops,” Strogatz further writes. “In this sense the Phillips machine foreshadowed one of the most central challenges in science today: the quest to decipher and control the complex, interconnected systems that pervade our lives.”

Re:Vladimir Lukyanov's hydraulic computer by Confiks on Sunday November 25, 2018 @05:49AM (#18526354)
Video about the MONIAC here: https://www.youtube.com/watch?v=rVOhYROKeu4
Re:Vladimir Lukyanov's hydraulic computer by comboy on Sunday November 25, 2018 @06:00AM (#18526388)
> he water level in various chambers (with precision to fractions of a millimeter) represented stored numbers

I wonder how did they deal with thermal expansion. Maybe instead of using water at room temp they heated it to something higher and then a thermostat took care of it? But it still would be very hard to distribute heat evenly.

Re:Vladimir Lukyanov's hydraulic computer by VLM on Sunday November 25, 2018 @10:30AM (#18527247)
Thermodynamics lab tech was pretty advanced by that time.

The part that reads bogus to me is the fractions of a mm, water meniscus is sensitive to contamination and diameter, its "always" been easier to measure liquid masses to higher sig figs than to measure liquid volumes, I suspect the journalist filter turned mg into mm or the precision scale produced repeatable results equivalent to fractions of a mm in the container. The only solution I can come up with that would work in that era would be something weirdly optical involving mirrors and multiple floats.

I vaguely remember a quarter century ago in a chemistry lab placing a beaker of distilled room temp water in a very nice precision scale as a demonstration while the instructor had us calculate how long it would take the inch or so of water to evaporate based on the slowly decreasing mass, and the result during a dry winter was somewhere around a month. The room must have been sealed and 100% humidity because small fractions of a mm in height would represent in a very hand wavy way around a minute of evaporation if represented as time in normal winter lab air. I also wonder how volume of water changes as CO2 is absorbed or emitted by the water, even the smallest gas bubble could mess up fraction of a mm measurements.

Re:Vladimir Lukyanov's hydraulic computer by DonHopkins on Sunday November 25, 2018 @01:09PM (#18527945)
If you squinted, you might consider the U.S. Army Corps of Engineers Bay Model a giant low tech special purpose water computer.

https://en.wikipedia.org/wiki/U.S._Army_Corps_of_Engineers_B...

>The U.S. Army Corps of Engineers Bay Model is a working hydraulic scale model of the San Francisco Bay and Sacramento-San Joaquin River Delta System. While the Bay Model is still operational, it is no longer used for scientific research but is instead open to the public alongside educational exhibits about Bay hydrology. The model is located in the Bay Model Visitor Center at 2100 Bridgeway Blvd. in Sausalito, California.

Re:Vladimir Lukyanov's hydraulic computer by therein on Sunday November 25, 2018 @03:11AM (#18525934)
I believe now one could use microfluidics to leverage similar principles but miniaturize it almost into the size of a chip.

Here is an interesting demo:

https://youtu.be/7z8I7awRYY4?t=114

Re:Vladimir Lukyanov's hydraulic computer by mr_tyzic on Sunday November 25, 2018 @01:29AM (#18525701)
Hydraulic integrator would be a better translation.
Re:Vladimir Lukyanov's hydraulic computer by ilikehurdles on Sunday November 25, 2018 @03:25AM (#18525976)
Fix it!
Re:Vladimir Lukyanov's hydraulic computer by baybal2 on Sunday November 25, 2018 @04:27AM (#18526139)
t64b ballistic computer used to have one
Re:Vladimir Lukyanov's hydraulic computer by cdepman on Sunday November 25, 2018 @08:29AM (#18526796)
Reminds me of the stone/water brains of the Quatzoli people in Ken Liu’s short story, "The Bookmaking Habits of Select Species".

http://www.lightspeedmagazine.com/fiction/the-bookmaking-hab...

Re:Vladimir Lukyanov's hydraulic computer by yesenadam on Sunday November 25, 2018 @10:46PM (#18530897)
I'm not sure how different this is to the ball integrator?[0] or Vannevar Bush's differential analyser?[1] The water computer article says partial differentiator, then integrator, it's unclear.

[0] https://en.wikipedia.org/wiki/Ball-and-disk_integrator

[1] https://en.wikipedia.org/wiki/Differential_analyser

Re:Vladimir Lukyanov's hydraulic computer by kabanossen on Sunday November 25, 2018 @07:49AM (#18526664)
Re:Vladimir Lukyanov's hydraulic computer by hliyan on Sunday November 25, 2018 @07:40AM (#18526631)
This reminds me of "rod logic" computers: https://hackaday.com/2015/10/19/rod-logic-and-graphene-elusi...
Re:Vladimir Lukyanov's hydraulic computer by bencollier49 on Sunday November 25, 2018 @06:55AM (#18526510)
This rather reminds me of the economic model in Terry Pratchett's "Making Money".
Re:Vladimir Lukyanov's hydraulic computer by jedimastert on Sunday November 25, 2018 @07:01AM (#18526528)
Fun fact, the device you're referring to was actually based on a different real-life water-based computer, the MONIAC[1]. It used basins of water, pipes, and adjustable flow regulators as a physical metaphor for the movement of money in macro-economics. I'm personally a really big fan, and I've need meaning to work up a simulation for quite some time now.

[1]: https://en.wikipedia.org/wiki/MONIAC

Re:Vladimir Lukyanov's hydraulic computer by JKCalhoun on Sunday November 25, 2018 @01:23PM (#18528027)
Awesome. I imagine a Water Computer Construction Set that allows you to "plumb" a computer program.
Re:Vladimir Lukyanov's hydraulic computer by agumonkey on Sunday November 25, 2018 @04:56AM (#18526216)
Similarly there was a story about a ~computer based on water surface tension to encode complex equations and let the physics approximate a solution in parallel. Can't find the name though.
Re:Vladimir Lukyanov's hydraulic computer by JKCalhoun on Sunday November 25, 2018 @01:27PM (#18528058)
Found an online link to one of the articles Dewdney wrote for Scientific American about "analog computers" (this is the second article, there was one a year earlier):

http://www.softouch.on.ca/kb/data/Scan-130202-0003.pdf

Re:Vladimir Lukyanov's hydraulic computer by don_gecko on Sunday November 25, 2018 @10:13AM (#18527177)
If I recall correctly, the world3 model which the authors of 'the limits to growth' used also utilized fluids to simulate the increasing, or diminishing influence of different factors on our ecosystem.
Re:Vladimir Lukyanov's hydraulic computer by wintorez on Sunday November 25, 2018 @09:44AM (#18527054)
That sounds like something out of the Dune universe.
Re:Vladimir Lukyanov's hydraulic computer by TomMarius on Sunday November 25, 2018 @02:44PM (#18528582)
I think that would be forbidden* - a machine doesn't have to use semiconductors or even electrical current to be a machine.

* "Thou shalt not make a machine in the likeness of a human mind."

Re:Vladimir Lukyanov's hydraulic computer by davestephens on Sunday November 25, 2018 @06:57AM (#18526518)
Wonder if they had cross-core security vulnerabilities?
Re:Vladimir Lukyanov's hydraulic computer by Arkight on Sunday November 25, 2018 @07:19AM (#18526565)
Even better, is remote hacking of analog computer even possible?
Re:Vladimir Lukyanov's hydraulic computer by whatshisface on Sunday November 25, 2018 @10:00AM (#18527120)
It's not connected to anything, so probably not. However back when we used purpose-built electromechanical switching systems for telephones, people exploited them[0].

[0]https://en.m.wikipedia.org/wiki/Phreaking

Re:Vladimir Lukyanov's hydraulic computer by DonHopkins on Sunday November 25, 2018 @01:03PM (#18527922)
If the phone system used water instead of electricity for in-band signaling, would phone phreaks have to inject blue fluid into the pipes to exploit them?
Re:Vladimir Lukyanov's hydraulic computer by whatshisface on Sunday November 25, 2018 @01:14PM (#18527973)
If water pipes were used for signalling, it would probably be as acoustic conduits (analogous to wires, which are electromagnetic wave conduits). You would exploit them in just about the same way as the electromechanical systems were.
Re:Vladimir Lukyanov's hydraulic computer by SmellyGeekBoy on Monday November 26, 2018 @11:14AM (#18534340)
Gives a whole new meaning to the term "wiretap".
Re:Vladimir Lukyanov's hydraulic computer by pjc50 on Sunday November 25, 2018 @10:29AM (#18527246)
You'd have to worry about information leakage.
Re:Vladimir Lukyanov's hydraulic computer by msravi on Sunday November 25, 2018 @09:36AM (#18527022)
Re:Vladimir Lukyanov's hydraulic computer by dang on Sunday November 25, 2018 @02:27PM (#18528460)
Re:Vladimir Lukyanov's hydraulic computer by evv on Sunday November 25, 2018 @03:13AM (#18525944)
Talk about floating point precision!
Re:Vladimir Lukyanov's hydraulic computer by yk on Sunday November 25, 2018 @05:05AM (#18526240)
"Can someone mop up the memory leak?"
Re:Vladimir Lukyanov's hydraulic computer by ykampittaja on Sunday November 25, 2018 @08:45AM (#18526829)
Reminds me of a discussion I heard:

Customer: the phone complains memory is full. Rep: ok there is probably a memory leak. Customer: no, it cannot be leaking since it is full!

Re:Vladimir Lukyanov's hydraulic computer by std_throwawayay on Sunday November 25, 2018 @05:13AM (#18526253)
No point, only float.
Re:Vladimir Lukyanov's hydraulic computer by ilikehurdles on Sunday November 25, 2018 @03:25AM (#18525974)
Wonder if it has a heat sink.
Re:Vladimir Lukyanov's hydraulic computer by _Kristijan_ on Sunday November 25, 2018 @04:02AM (#18526075)
And if it's air or water cooled
Re:Vladimir Lukyanov's hydraulic computer by ignoramous on Sunday November 25, 2018 @06:08AM (#18526412)
Or, if moon's gravitational pull flips the bits.