Jun. 26th, 2009

juan_gandhi: (Default)
So I spent a day and a half writing actually a .bat file that would check the servers to see if they a) do respond; b) send back some kind of information; c) for my specific kind of requests, the information sent back is meaningful and not empty (the bug was that a server from China was sending valid but empty data packages).

Yes, the script has been running for over a day now, checking it every five minutes; I'm planning to add sending emails to all the people responsible for the fucking wrong data regarding traffic conditions on hwy 237.

Yes, I did it using .bat; now I was not able to parse and check data content using Microsoft's for /F (did not work for me, I could not even retrieve file size).

So I have the following options for writing smarter scripts:

- cygwin+sh
- python
- scala

- The first one is a known solution, but I do not want to force people to install cygwin; it is not trivial for "windows people";
- the second one is a traditional solution for Google, as well as for many other companies North of hwy 237; my current attitude to Python is: 20th century technology (and since Guido said he does not understand category theory, I feel like it's kind of doomed);
- the third one is kind of funny since not so many people understand the fucking Scala, so... they don't know Python either, why bother.

microwtf

Jun. 26th, 2009 03:16 pm
juan_gandhi: (Default)
    protected void sleep(long time)

(if you know what I mean)
juan_gandhi: (Default)
Тест на советскость от "КП" в Украине"
Ваш индекс
советскости: 70
Вы – бывший рабочий фабрики «Красный дубарь», у вас были празднования ленинских юбилеев, демонстрации в поддержку народов Африки и членские взносы. Мы ведь угадали, да?
 
Пройти тест!

(10x [livejournal.com profile] iefimov)

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2025 09:22 pm
Powered by Dreamwidth Studios