?

Log in

Из-Под Глыб

Aug. 27th, 2016

12:16 pm - Miena Yoo Performs at the Castro Farmer's Market



She was at our local market today. She's amazing.

Tags:

12:07 pm - an observation

Some people are fast learners. It's curious how carefully they avoid learning Haskell or playing violin.

Aug. 26th, 2016

04:29 pm - null to zero in zero seconds

02:23 pm - just discovered a great site

http://www.myvisajobs.com/Reports/2016-H1B-Visa-Sponsor.aspx

Tags:

02:18 pm - где-то что-то скисло



09:14 am - как вас расшифровывают (пример России)

https://quip.com/N07UAXChSjRR

07:29 am - вдруг вы еще не подписаны

http://monomasha.livejournal.com/152227.html

Aug. 25th, 2016

10:35 pm - вообще интересно

Россияне вообще понимают страдания Украины? Или что?

Меня это в какой-то экзистенциальный (экзистенциональный) ужас вгоняет. Я ж там жил. Это ж мои как бы соплеменники.

О блин...

06:38 pm - scala futures critique

Decided to reread this:

http://docs.scala-lang.org/overviews/core/futures.html

"The most general form of registering a callback is by using the onComplete method, which takes a callback function of type Try[T] => U"


Guys, do you seriously think accepting a monad is a good solution? What is the type of your function? Well, it's a comonad, but I wonder if they know that.


"The callback is applied to the value of type Success[T] if the future completes successfully, or to a value of type Failure[T] otherwise."


Ever heard of XHR? They just have two functions, onsuccess and onerror. If you have a union, it's better to define a function on components.

Actually, they have it all. onSuccess, onFailure.

"The onComplete, onSuccess, and onFailure methods have result type Unit, which means invocations of these methods cannot be chained."

Oh. It's all so... not exactly wrong, but so misrepresented...

"This can be mind-boggling, but fortunately the flatMap operation is seldom used outside for-comprehensions, which are easier to use and understand."

Interesting. Which century was it?

"The recover combinator creates a new future which holds the same result as the original future if it completed successfully."

"The recoverWith combinator creates a new future which holds the same result as the original future if it completed successfully."

"The recoverWith combinator creates a new future which holds the same result as the original future if it completed successfully."

What a life!

"The andThen combinator is used purely for side-effecting purposes. It returns a new future with exactly the same result as the current future, regardless of whether the current future failed or not."

"we create a promise and use its future method to obtain the Future that it completes"

I remember reading it with almost an awe.
Now it all looks funny, like Ulysses - but Ulysses is actually funny, while this one is basically just a little bit sick. Is it not?

05:55 pm - bookshelf at work

Tags: ,

Navigate: (Previous 10 Entries)