Sep. 7th, 2013
А кстати вчера
Sep. 7th, 2013 10:52 amУ меня была пауза между парсерами и проблемами, и пока Чаба переваривает мои рацпредложения, решил немножко поавтоматизировать свой труд по заполнению базы тестовыми данными.
Ну типа руками сдёргиваю экспорт из продакшена (программного доступа не дают), копирую, а потом что, потом надо insert into, с предварительным удалением случайно попавшихся записей с теми же ключами.
Ну а в скале у нас скверил, а скверил идёт на базу и видит, что ключи-то у нас генерируются из последовательности - поэтому он игнорирует ключ, что я даю, ну и т.д.
Ну и ещё, из сиквела с продакшена я получают текст, а скверилу подавай объект, это ещё морока десериализовывать.
Короче, за полдня нафигачил, по мере необходимости, весь нужный мне слой над jdbc, делов-то.
Правильно Tony Morris пишет, проблема ORM, а так же причина существования оной, в том, что производственники ни хера не понимают в программировании.
Ну типа руками сдёргиваю экспорт из продакшена (программного доступа не дают), копирую, а потом что, потом надо insert into, с предварительным удалением случайно попавшихся записей с теми же ключами.
Ну а в скале у нас скверил, а скверил идёт на базу и видит, что ключи-то у нас генерируются из последовательности - поэтому он игнорирует ключ, что я даю, ну и т.д.
Ну и ещё, из сиквела с продакшена я получают текст, а скверилу подавай объект, это ещё морока десериализовывать.
Короче, за полдня нафигачил, по мере необходимости, весь нужный мне слой над jdbc, делов-то.
Правильно Tony Morris пишет, проблема ORM, а так же причина существования оной, в том, что производственники ни хера не понимают в программировании.
fighters from our neighborhood
Sep. 7th, 2013 02:40 pmMsg1: "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."
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."
вдохновляющий инструктивный материал
Sep. 7th, 2013 08:10 pmОни похожи на детей, которые в определенный момент развития понимают, что говно можно не есть.
Что его достаточно один раз посрать в горшок и больше ничего с ним не делать.
(Эта инструкция, кстати, касается и организации баз данных)
Что его достаточно один раз посрать в горшок и больше ничего с ним не делать.
(Эта инструкция, кстати, касается и организации баз данных)
this table does not make sense to me
Sep. 7th, 2013 08:44 pm(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%
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%
debugging, oh
Sep. 7th, 2013 10:01 pmRod 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.
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.