Feb. 9th, 2017

juan_gandhi: (Default)
Turned out all the delays were caused by two things:
- reading the files in parallel, as opposed to sequential (don't ask, will investigate)
- parallel output to stdout, instead of linearising the output. That was obviously my mistake, have to group the data, not mix them.

Now it's still 3 times faster than FP version. Got a suspicion that in JVM method dispatch is much heavier than plain if/else. It should be. But it's the staple of FP, never use booleans or ifs, but dispatch by the type. So, well... have to investigate.
juan_gandhi: (Default)
чтобы Ярн "пофиксить".
Нашел там JBoss. О бля. Старый добрый аппсервер в новой шкуре. Все тот же J2EE v 7.42.
juan_gandhi: (Default)
We use to call people that do bad stuff idiots if we cannot call them criminals, since they are not enemies (yet).

Well, that's wrong.

If your, well, relative supports tortures, or wife-beating, or adult sex with minors, or whatever, they are probably not idiots. They are not idiots when they play chess or listen to Bach or write code. Somehow they are only idiots when they commit or support crime... or other "idiots".

They are not idiots. They are just supporters of criminals. Or just criminals, depending.

Ok, one can make a mistake, this includes crime. One can commit a crime by mistake.

But if the person supports honor killing, or destruction of Israel (or all of the infidels), the person is not an idiot. The person is a dangerous potential (or not) criminal, and we should treat that person as such.

You may say, oh, they are victims of propaganda. Nobody is an involuntary victim of propaganda, except probably kids under, say, 14. Or something. Adults usually are pretty picky, which propaganda to become a victim of. That choice usually involves some kind of fear, for instance. I understand, it's hard not to be afraid if everybody around supports the lies. But at least some people are not. And if you commit a crime out of fear, of course it's kind of better than committing a crime out of one's free will; but the victims may not see the difference as clearly as the relatives and friends of the criminal.

juan_gandhi: (Default)
habrahabr.ru/post/321446/ 

Программист на вольном выпасе. Может все.
Но каково все это дается... (Трактор нужен, конечно)
juan_gandhi: (Default)
...
      if (entityInfo.containsKey(ApplicationMetricsConstants.TYPE_ENTITY_INFO)) {
        type =
            entityInfo.get(ApplicationMetricsConstants.TYPE_ENTITY_INFO)
                .toString();
      }
      if (entityInfo.containsKey(ApplicationMetricsConstants.TYPE_ENTITY_INFO)) {
        type =
            entityInfo.get(ApplicationMetricsConstants.TYPE_ENTITY_INFO)
                .toString();
      }
///


Were they drunk, or something.

Profile

juan_gandhi: (Default)
juan_gandhi

June 2017

S M T W T F S
     1 2 3
4 5 67 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 2324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 24th, 2017 08:36 am
Powered by Dreamwidth Studios