Apr. 25th, 2013

juan_gandhi: (VP)
So, "visited" some places lately.

Ireland - I adore it. So beautiful. People care so much about their small houses, wow!
Lithuania - pretty neat.
Estonia - nice but boring.
Finland - pretty nice.
Norway - it's huge and beautiful.
South Africa - way better than one would expect. Some places look pretty much like tundra.
Australia - beautiful.
New Zealand - extremely beautiful, almost like Norway (which is #1).
Big Island - looks too familiar; if you recognize the road immediately...
St.Petersburg (Russia) - ok, it's much cleaner now. Anyway, not interested.
Poland (Gdan'sk) - so neat and nice, I would not expect it.
Bulgaria - so poor and pathetic, omfg...
Portugal - as poor as Bulgaria, but looks funny and careless
HongKong - mixed; the houses of poor people look rather nice and funny
Singapore - I don't want to go there; neutral, castrated, no culture
Thailand - wow, so clean, neat, I would never expect
Italy - way too familiar, like home.
Botswana - pretty exotic, want more.
West Virginia - I do not want to go there, it's disgusting. Can I say "Chelyabinsk"?
Antarctica - judging by Google street view, it's a pretty small place populated by penguins and tourists.

And it's funny to try to guess the country in as little moves as possible.
juan_gandhi: (VP)
Не только всякая сволочь, типа директоров школ, начальников роно и отделов милиции, председателей райсоветов (или как там они, районные думы?) полагает, что Навальный должен сидеть в тюрьме - но и мирные сетевые хомячки ждут не дождутся, когда Навального посадят в тюрьму на много лет; когда кого-нибудь из Пусь (или обеих) убьют в лагерях, чего-нибудь такого ещё. Жертвы нужны всем. Чтобы видно было, какой Путин нехороший (а они хорошие).

А вот представить на минутку, в прокуратуры придёт десять миллионов писем с требованием расследовать фальсификации выборов; к суду придёт сто тысяч человек. Но не, сто тысяч человек сядут перед телевизором, откроют компьютер и будут лайкать что Навальный сказал (и дизлайкать что Стомахин сказал, но это неважно).
juan_gandhi: (VP)
    for (claimNr               <- source @@ ClaimNr;
         memberID              <- source @@ MemberID;
         patient               <- parser.patientsByID @@ memberID;
         date                  <- source @@ DateOfService;
         providerName          <- source @@ ProviderName;
         kind                  <- source @@ KindOfService;
         sStatus               <- source @@ Status;
         billedAmount          <- source @@ BilledAmount;
         excludedAmount        <- source @@ ExcludedAmount;
         copay                 <- source @@ Copay;
         patientResponsibility <- source @@ PatientResponsibility) yield {
...


where ClaimNr, MemberID etc are just string constants, and
  implicit def SuperProps[T](props: Map[String, T]) = new {
    def @@(key: String) = Result(props.get(key), ErrorDetails(s"Missing '$key'"))
  }


So what happens here: if something's missing in source, we get error details.
What's wrong here, should actually use applicative <*>, but that's next - have to deal with tuples (it's okay actually)

So, as a result, my tests show stuff like
[info] + know when a date is a date
[error] x build good eobs
[error]    Missing 'Excluded Amount'
[error]     in: WrappedArray() is false (ExtractedEOB_Test.scala:46)
[error] ! build reasonable small eob
[error]     BadResultException: errors: Error: Missing 'Excluded Amount' (Result.scala:46)
[error] com.healthexpense.common.Bad.apply(Result.scala:46)
[error] com.healthexpense.common.Bad.apply(Result.scala:43)
[error] com.healthexpense.Backend2.Humana.ExtractedEOB_Test$$anonfun$1$$anonfun$apply$12.apply(ExtractedEOB_Test.scala:52)
[error] com.healthexpense.Backend2.Humana.ExtractedEOB_Test$$anonfun$1$$anonfun$apply$12.apply(ExtractedEOB_Test.scala:51)
[info]  
juan_gandhi: (VP)


Вот человек, которого я очень и очень уважаю. Хотя мы и собачились годами, в фидо. Очень уважаю.
juan_gandhi: (VP)
Мексы хором спiвают песню на мотив "там вдали у реки засверкали штыки" (она же "за рекой Ляохэ...")

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
171819 20212223
2425 2627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 27th, 2025 02:27 pm
Powered by Dreamwidth Studios