Tuesday, April 12, 2016
Depreciation history
Recently visited bank dept in "Minsk historical center". Original desk was added to usually perfect interior decoration (ugly photo). A history of all paper money and replacements (like coupons) since USSR 1980s till now. Will it ever stop? No need going to Zimbabwe. From USD/USSR rouble 0.6/1 in 1980s till 20000 USD/BYR now, having 1000 times denomination in 2000 and waiting for 1000 or 10000 denomination now again.
Monday, April 11, 2016
ASP.NET MVC 4 test project in VS 2015...
- when EF DB 1st, give PascalCase singluar names to tables, otherwise generated model class names like session_activity will be ugly and non-standard
- 1st attempt to generate model classes from DB semi-failed, files were created, but looked unlinked to project; reopening helped
http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html
http://docs.asp.net/en/latest/tutorials/first-web-api.html
http://www.asp.net/mvc/overview/getting-started/database-first-development/creating-the-web-application
- 1st attempt to generate model classes from DB semi-failed, files were created, but looked unlinked to project; reopening helped
http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html
http://docs.asp.net/en/latest/tutorials/first-web-api.html
http://www.asp.net/mvc/overview/getting-started/database-first-development/creating-the-web-application
Thursday, April 7, 2016
"Don't do that!" (C) Профессор Донда Станислава Лема
VS2015 SP2 appeared I was told by team lead. He already tried, they like all that bullshit like Windows 10. 1st, it must be downloaded separately and doesn't come from VS Main Menu Tools->Extensions and Updates. 2nd, of couse, updating takes time. I pressed Cancel approx at 7% of progress bar. It showed "stopping" label and continued to approx. 50% of progress bar telling finally that 13 of 17 components were installed and setup was cancelled. And yes, VS 2015 was left in non-working state telling on launch that "Repair is needed or like that". And yes, now I have 2 VS 2015 in Control Panel - Programs and Updates, and 2nd one has bold icon comparing to 1st. So I chose Repair for that 2nd VS 2015 and voila - after quite a long wait on i5 with SSD I have one VS2015 record in Programs and Updates and it works, though complaining in the end of install for some features like Win10 SDK that "installer failed" - I didn't choose it at all...
Охохо, или Миша из Кэпсилона
Мало того, что работа интеграторская, так ещё и Миша такой болтун какой-то... Ой не знаю, как мы работать будем, если даже будут брать...
Friday, April 1, 2016
Training day practice
Тот самый фильм
Даже моя нынешняя контора практикует такие кошерные вещи, как посадить кандидата код пописать, и организовать ему (если хочет) тренировочный день. Правда, в последнее время то места стало не хватать, то ещё чего - для новичков, которые уже реально приходят :-)
Не все обещают тренировочный день, некоторые как-то "совсем не практикуют". Ползая сейчас по собеседованиям, замечаю разные противоположные забавности - где-то менеджера достаточно высокого ранга совершенно не интересуют причины беготни - типа техническое собеседование должно всё показать. А, может, чел псих и неадекват с хреновой коммуникацией, или ему любой проект надоедает через месяц, или ещё что. Люди - это ж пушечное мясо :-) Надыбали сейлзы проектиков - знач, можно народу набрать. А то, что сам манагер честно рассказывает, что проектик(и)-то на месяц, а потом ХЗ что - вопрос другой. И контора при этом (Elilink/Elinet) на первый взгляд (что я считаю исключительно важным) производит нормальное рабочее впечатление - плотно заполненый офис с плотной работой. Где-то (Andersen, ScienseSoft) больше похоже на треш, угар и содомию - кухня в том-же open space, где народ работает, кикерсы грохочут, болтовня и левые сайты на пониторах.
И вот, наконец, пример нормальной работы HR, мадам, которая, возможно, чуть старше такого деда, как я. Реально задаются реально важные вопросы - "а чёй-та ты оттуда-то свалил тогда-то? а чего сейчас сваливаешь? а ты уверен, что вот ща, в случае с нами, ты сделаешь наконец-то правильный выбор, у тебя же есть уже примеры неправильных выборов?" :-) И это Artezio, где мне HR сообщил, что они совсем не практикуют тренировочных дней, офис показали только по моей просьбе и крайне поверхностно, а собеседовавшие меня манагеры и в целом контора не произвели пышущего радостной жизнью впечатления. Пора бы стандартизировать уже процедуры, по ISO-6664 какому-нибудь, хахаха.
Tuesday, March 22, 2016
1001й способ выстрелить себе в зад при помощи велосипеда (git)
Просто не забывайте, попытавшись поиграться с некоторыми командами, типа git am, или забивая на git rebase, сделать abort! Иначе, поработав и покоммитив, внезапно выяснится, что всё оно куда-то пропало...
Thursday, March 10, 2016
.NET HTML parsing library status
Returned to site data grabbing for a bit via .NET . Library status (there are some engine improvements):
HAP - https://htmlagilitypack.codeplex.com/ - dead (development stopped in 2012, NuGet package is dated 2014 AFAIR)
Tidy - rulez! After some no activity period
- no commits at SourceForge (or wherever it was) for years
- Google Code Hosting has some fork "to support modern features and HTML5", but I guess nothing was developed and https://code.google.com/ went dead together with many others
https://en.wikipedia.org/wiki/List_of_Google_products#Discontinued_products_and_services
we have http://www.html-tidy.org/ with actual updates
.NET "tidy" stuff looks like a mess as usually. I would suggest that repositories and projects not updated for more than 2 years should not be found by default search.
Googling for something like "tidy .net" founds SourceForge/CodePlex projects like complete rewriting of (Lib)Tidy in .NET and some obscure wrappers of unknown engines.
Pure tidy results (except wrong keyword matching) at https://www.nuget.org/packages?q=Tidy can obfuscate anyway. I choosed 2 freshest ones - TidyManaged and TidyHTML5Managed and decombiled assemblies.After small de<t/f>ective investigation last one looks better as it ships with libtidy.dll.
Well, 2nd lib author even provided enough NuSpec info with github.io link while 1st one can be googled at github.com. Why TidyHTML5Managed can't be found at github.com and what is f*cking site difference? Top google result is https://github.com/blog/1452-new-github-pages-domain-github-io, but truly speaking, I don't understand why search for github.io stuff is not working.
As a result: I'm using TidyHTML5Managed manually copying "working" libtidy.dll (AFAIRemember, x64 version bindings failed on my Win7 64bit). Additionally, correct (X)HTML data-xxx attributes could not be parsed because of complex values like 'some html tags and attributes with "values"' and all that low-level malloc and p/invoke operations looks imperfect giving output strings ended with hundreds of '\0'
HAP - https://htmlagilitypack.codeplex.com/ - dead (development stopped in 2012, NuGet package is dated 2014 AFAIR)
Tidy - rulez! After some no activity period
- no commits at SourceForge (or wherever it was) for years
- Google Code Hosting has some fork "to support modern features and HTML5", but I guess nothing was developed and https://code.google.com/ went dead together with many others
https://en.wikipedia.org/wiki/List_of_Google_products#Discontinued_products_and_services
we have http://www.html-tidy.org/ with actual updates
.NET "tidy" stuff looks like a mess as usually. I would suggest that repositories and projects not updated for more than 2 years should not be found by default search.
Googling for something like "tidy .net" founds SourceForge/CodePlex projects like complete rewriting of (Lib)Tidy in .NET and some obscure wrappers of unknown engines.
Pure tidy results (except wrong keyword matching) at https://www.nuget.org/packages?q=Tidy can obfuscate anyway. I choosed 2 freshest ones - TidyManaged and TidyHTML5Managed and decombiled assemblies.After small de<t/f>ective investigation last one looks better as it ships with libtidy.dll.
Well, 2nd lib author even provided enough NuSpec info with github.io link while 1st one can be googled at github.com. Why TidyHTML5Managed can't be found at github.com and what is f*cking site difference? Top google result is https://github.com/blog/1452-new-github-pages-domain-github-io, but truly speaking, I don't understand why search for github.io stuff is not working.
As a result: I'm using TidyHTML5Managed manually copying "working" libtidy.dll (AFAIRemember, x64 version bindings failed on my Win7 64bit). Additionally, correct (X)HTML data-xxx attributes could not be parsed because of complex values like 'some html tags and attributes with "values"' and all that low-level malloc and p/invoke operations looks imperfect giving output strings ended with hundreds of '\0'
Subscribe to:
Posts (Atom)