Better HN
topnewbestaskshowjobs
Log inSign up

auxon0

5 karma · joined Mar 12, 2014 (12y ago) · 13 submissions

Submissions

comment 11y ago · link · parent

That changes my opinion. Uber is liable if this is a) true, and b) that information was actually available.

comment 11y ago · link · parent

So I guess they're going to ban public transportation, restaurants, public places, etc... as well, due to all the rape happening there.

comment 12y ago · link · parent

Yeah, but like I said earlier, a bit of rest and some time out of the spotlight and he'll get bored. Then he'll really appreciate it (even if he never wants that light shining on him all the time, again).

comment 12y ago · link · parent

Stress is a bitch. But given some time, he'll get bored and do something with all that money.

comment 12y ago · link · parent

Correction - Erik wasn't fired.

comment 12y ago · link · parent

The GoF wrote, "favor composition over inheritance". That much was right. Unfortunately, they missed the mathematical composition possible that was hidden inside these patterns all along, much simpler and fundamental than the design patterns themselves.

comment 12y ago · link · parent

Erik was fired which is unbelievable; it's like firing Feynman. He obviously wasn't happy with Ballmer or the culture, and frankly neither were most of the MS employees in that audience. Ballmer's gone and suddenly everything MS does is becoming open sourced, for example. "A miracle". And just because quantum might sound cool, naming a razor blade after it doesn't make it quantum physics.

comment 12y ago · link · parent

Brian Beckman worked on the Time Warp OS, with Dr. Jefferson [1] and was involved with the development of Rx virtual time. You can read his comment about how Rx virtual time could be used to create a Time Warp monad. [2].

Are you speaking about React.js? Erik's point about reactive being a buzzword and distorted is proven by that because it's not the same thing at all. React.js is cool and all that but it has nothing to do with guaranteed composition and dealing with side-effects and monadic operators. That's like saying Angular.js is better than list operations and functions that operate on lists.

[1] http://dl.acm.org/citation.cfm?id=37508&CFID=356264587&CFTOK... [2] http://channel9.msdn.com/Shows/Going+Deep/Expert-to-Expert-R...

comment 12y ago · link · parent

He's saying people are turning it into a buzz word that is losing it's true meaning, so instead of the buzz word, think of what it's really all about: composing and managing side-effects. Take a look at Google Trends for "Reactive Programming", it spiked over the last year or so,: http://www.google.com/trends/explore#q=reactive%20programmin...

Take a look on GitHub at all the projects with reactive in the name or descriptions; it's become a buzzword that people use to describe various things that don't have any relationship to the original.

Iterable is broken, as Erik said, because it has a hasNext() method, and a next() method, which is a problem because hasNext() causes side-effects to be evaluated.

Imagine if the implementation of the iterator has to execute a long running function, or wait for the next value in an observable to be pushed, like an event. So, if call hasNext() twice, then it may cause a side effect so that next() actually has a different result than it would without the side effect. Thus, it is not mathematically, a function, and can't really be used to build monads.

So, unfortunately, due to backwards compatibility, Java classes that implement Iterable/Iterator can't automatically get the benefits of list monads etc..., by simply defining a library of operators that take Iterable/Iterators, like C# could with IEnumerable/IEnumerator.

In C#, IE only has side effects in the MoveNext() method, which returns true or false if there's another element, and the effect is explicit in the name, which helps. However, more importantly, if you get the value from Current, there is no side effect, and you can do that as many times as you like.

With Iterable, if you call next() it moves to the next element. So, it is impossible to get the same value twice with a guarantee of no side effects, and impossible to guarantee mathematically sound composition of Iterables. The interface is broken, and changing it would break nearly every Java program.

comment 12y ago · link · parent

What kind of scenario are you thinking of? Rx has virtual time with the use of schedulers that enables you to abstract over time, which is very cool. http://channel9.msdn.com/shows/Going+Deep/Wes-Dyer-and-Jeffr...

comment 12y ago · link · parent

True. However, if we are able to elevate this type of technology to that level, people will train and be trained, to focus on such detail and learn to control the output via the feedback loop. At first you'd probably "draw" like a baby, but with enough practice, some would become true artists, and the average somewhere in the middle, but things would be recognizable and tada, telepathy.

comment 12y ago · link · parent

Very nice ... Ractive.js looks like it has a lot of potential, and I'll definitely give it a try.

comment 12y ago · link · parent

http://arxiv.org/abs/1403.1211

"Although it costs less than a dollar in parts (see Bill of Materials in table 1), it can provide over 2,000X magnification with submicron resolution, weighs less than two nickels (8.8 g), is small enough to fit in a pocket (70 × 20 × 2 mm3), requires no external power, and can survive being dropped from a 3-story building or stepped on by a person (see figure 1G and supplementary video 2)."