Sep. 7th, 2013

juan_gandhi: (VP)
У меня была пауза между парсерами и проблемами, и пока Чаба переваривает мои рацпредложения, решил немножко поавтоматизировать свой труд по заполнению базы тестовыми данными.

Ну типа руками сдёргиваю экспорт из продакшена (программного доступа не дают), копирую, а потом что, потом надо insert into, с предварительным удалением случайно попавшихся записей с теми же ключами.

Ну а в скале у нас скверил, а скверил идёт на базу и видит, что ключи-то у нас генерируются из последовательности - поэтому он игнорирует ключ, что я даю, ну и т.д.

Ну и ещё, из сиквела с продакшена я получают текст, а скверилу подавай объект, это ещё морока десериализовывать.

Короче, за полдня нафигачил, по мере необходимости, весь нужный мне слой над jdbc, делов-то.

Правильно Tony Morris пишет, проблема ORM, а так же причина существования оной, в том, что производственники ни хера не понимают в программировании.
juan_gandhi: (VP)
Msg1: "A silver VW sedan, license 5SWB873 has been parked in front of 342 Burning Tree Drive for a couple of weeks. This location is just off Martinvale and down the street from Baldwin Elementary. Kids walk by there daily.
the vehicle has no wheels - not tires, but wheels. It is sitting on four single stacks of ordinary red bricks! Wouldn't take more than a nudge by a curious kid - or otherwise - to tip it. Very dangerous and could cause serious injury.
It's been marked as abandoned for quite a while, and I've contacted abandoned vehicle abatement, advising of the hazard....but the car is still there!
Could be a serious liability to the City should something happen.
Considered contacting our Councilman, but his office continually fails to respond to concerns, questions, etc.
Just a heads-up for the neighborhood."

Msg2: "A neighbor ran into this problem several years ago. The police have far more serious things to be concerned about than an abandoned car, stolen or not, so we bought the oldest shrimp the grocery store had, placed it in an airtight baggie, left it in the sun a couple of days, and then dumped the contents in the abandoned car. We could then call the police again and say there was an odor of decomposition coming from it. The car was gone real soon."
juan_gandhi: (VP)
Что эта шутка про то, как Обама Путина сукой ослом обозвал, делает Путина слишком популярным в международных кругах. Из него этак Хайле Селассие сбацают.
juan_gandhi: (VP)
(source: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html )

Position Programming Language Ratings
21 ABAP 0.567%
22 D 0.567%
23 F# 0.538%
24 Lua 0.531%
25 Logo 0.523%
26 Go 0.508%
27 COBOL 0.500%
28 Bash 0.491%
29 Ada 0.469%
30 Scheme 0.461%
31 Fortran 0.415%
32 R 0.395%
33 Scratch 0.354%
34 Haskell 0.349%
35 Erlang 0.344%
36 Prolog 0.334%
37 Scala 0.332%
38 ActionScript 0.309%
39 Smalltalk 0.297%
40 ML 0.249%
41 Emacs Lisp 0.230%
42 RPG (OS/400) 0.227%
43 ATLAS 0.223%
44 Groovy 0.211%
45 Inform 0.199%
46 Tcl 0.188%
47 Common Lisp 0.186%
48 ABC 0.183%
49 LabVIEW 0.182%
50 Io 0.181%
juan_gandhi: (VP)
Пока я чесал репу, не хватит ли уже наслаждаться скалой, и не выйти ли из этой зоны комфорта в стратосферу хаскеля, выяснилось, что Эрик Мейер вдруг перебежал из лагеря хаскельщиков в лагерь скальщиков.

Ну хм.
juan_gandhi: (VP)
Rod Johnson said (in his Scala keynote) that since debugging is twice as hard as coding, if you code on the brink of your abilities, you are not smart enough to debug the code.

Wtf, who debugs these days? I don't. I refactor, decompose, unittest and make sure that smaller parts do what they are supposed to do - but watching them run, step by step, that's stupid. If you need debugging, you need refactoring actually.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

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