Виртуальная песочница (тм)

Friday, September 27, 2013

Java User Group Latvia - 29th meeting on 3-Oct-2013

JUG LV Homepage
Free Registration for JUG LV #29

Agenda
18:40 Java User Group Updates
18:50 Nikita Salnikov-Tarnovski - I Bet You Have a Memory Leak in Your Application
Permanent generation leaks surface most often during redeploys and are one of the reasons why production environments are not updated via redeploys but via container restarts instead. The very same leaks are also the main reason why we see -XX:MaxPermSize being set to several gigabytes. This session demonstrates different common causes for such leaks and presents guidelines on how to fix them.
19:40 Coffee Pause
Read more...

Friday, August 30, 2013

Java User Group Latvia - 28th meeting on 4-Sep-2013

JUG LV Homepage
Free Registration for JUG LV #28

Agenda
18:40 Java User Group Updates
18:50 Алина Васильева - Архитектура сервиса «Лента» на Одноклассниках
В докладе будет рассказано об архитектуре «Ленты» (aka News Feed) на портале odnoklassniki.ru.
Будут освещены такие моменты, как хранение данных в Cassandra, необходимость и реализация кэша событий пользовательских лент, алгоритмы группировки и сортировки событий, схема работы real-time доставки событий.

19:40 Coffee and discussions
Read more...

Wednesday, August 14, 2013

To some people, C is just a bunch of macros


A friend once said to me: "You know, to some people, C is just a bunch of macros that expand to assembly".
[Python’s Innards: Introduction]
Read more...

Wednesday, July 17, 2013

How to turn off the GMail's New Inbox



Read more...

Friday, July 5, 2013

JUG.LV #27 Notes

Meetings are now beeing filmed. Videos are available at Vimeo: vimeo.com/devtraining

Next events:

  • Sep-5 - JUG.LV #28
  • Oct-3 - JUG.LV #29
  • Nov-28 - JavaDay Riga

Exponential Moving Average
wiki.rubylight.com/display/JUG

Read more...

Thursday, July 4, 2013

Java User Group Latvia - 27th meeting on 4-July-2013

JUG LV Homepage
Free Registration for JUG LV #27

Agenda
18:40 Java User Group Updates
18:50 Rubylight - High-Load Contest - Part II : Solutions & Results
19:30 Coffee Break
20:00 Valery Vishnyakov - Riding Redis @ask.fm
Valery will present Ask.fm experience of solving real-world problems with help of Redis. Redis is an advanced key-value NoSQL database. You will learn Redis basics and will understand how and where to apply that in high-load projects.
21:00 Round-up and raffle
Read more...

Sunday, June 30, 2013

One of our 12 lucky winners

И еще один экземпляр в коллекцию е-мэйл скамов. Что примечательно: все письмо - в виде файла-изображения, соответственно, не работает обычный фильтр по ключевым словам.


from: gjbp0951 [gjbp0951@wanadoo.fr]
date: Thu, Jun 20, 2013
subject: dztl382

Read more...

Thursday, June 27, 2013

Мой дорогой добрый день

Свежeе поступление в коллекцию е-мэйл скамов. Некоторые обороты достойны стать афоризмами. Понятно, что Google Translate, но тем не менее.


from: modesus [modesusemeli@live.co.uk]
date: Thu, Jun 27, 2013
subject: Мой дорогой Добрый день,

Мой дорогой Добрый день,

Я решил связаться с вами из-за срочности, возникающие в этом вопросе, я Hon.Barrister modesus emeli, адвокат по закону. Мой клиент, который носит фамилию с вами, Который был известный независимый подрядчик здесь, в Ломе Того. На 21 апреля 2008 года он и его жена и единственная дочь были вовлечены в автомобильной аварии во время посещения соседней страны в отпуске. Я связался с вами, чтобы помочь мне в репатриации фонда ценится из (13,5 млн. долл. США) на ваш счет. Кроме того, в этой сделке я хочу, чтобы вы конфиденциально ответить мне для болееподробной информации.
Спасибо,
Барр modesus emeli

Read more...

Wednesday, June 26, 2013

Wednesday, June 19, 2013

"Что? Где? Когда?". 2013. Летняя серия игр

Что? Где? Когда? Летняя серия. Игра первая. (25.05.2013)

Команда Росатома
1. Никита Баринов
2. Александра Золотова
3. Екатерина Гудкова
4. Евгений Фионов
5. Егор Барданов
6. Константин Рудер

Музыкальная пауза: Тамара Гвердцители



Read more...

Tuesday, June 18, 2013

Procurement Management - Notes on PMBOK4 terminology

contract == agreement, understanding. subcontract, purchase order
seller == contractor, subcontractor, vendor, service provider, supplier
buyer == client, customer, prime contractor, contractor, acquiring organization, government agency, service requestor, purchaser

Seller's "evolution": bidder -> selected source -> contracted supplier/vendor

bid, tender, quotation ==> price
proposal ==> other considerations than price (tech. capability, for ex.)

Read more...

Preparation for the PMP Exam: Earned Value Management (EVM) formulas

EV -- Earned Value
PV -- Planned Value
AC -- Actual Cost

BAC -- Budget At Completion (sum of all PVs)

Read more...

Tuesday, June 11, 2013

Articles for PMP Exam Preparation - from Wikipedia and other sources

Affinity diagram

Agile software development

Arbitration, Breach of contract, Letter of intent, No-bid contract, Request for proposal, Request for information, Invitation for bid

Conflict Management in Projects
* Mediation - Confrontation
* Arbitration - Forcing (an option: forcing to initial solution, then mediation)
* Control - Smoothing (humour and time-outs)
* Acceptance - Active acceptance
* Elimination

Control Chart

Critical Chain Project Management, Critical path method, Float, Resource leveling

Employee benefit: fringes vs perks

Fixed Costs vs Variable Costs vs Sunk Costs
Dicrect Costs vs Indirect Costs

Real World Project Management: Estimating Your Project Costs
* -25% .. +75% - ballpark estimate (aka ROM)
* -10% .. +25% - budget estimate (aka top-down estimate) - most often based on analogous estimating
* -5% .. +10% - definitive estimate (aka bottom-up estimate) - requires WBS

NPV, IRR

GERT (uses feedback loops); PERT

Gold plating (*)

Journey to Abilene (aka Abilene paradox)

Kick-off meeting

Motivation Theories
Maslow's hierarchy of needs
McGregor's Theory X and Theory Y
Herzberg's Two-factor theory: hygiene factors vs motivational agents
Halo effect
Expectancy theory
McClelland's Theory of Needs (aka "three needs theory", aka "learned needs theory"): most of needs can be classed as either achievement, affiliation, or power.

Payback period

Performance bond -- гарантия выполнения контракта

PDM vs ADM

PTA == ((Ceiling_Price - Target_Price) / Buyer's_Share_Ratio) + Target_Cost;
Target_Price == Target_Cost + Target_Seller's_Profit

Retainage - portion of a contract's final payment withheld by a principal (client or owner) until the project is complete in all respects, functioning satisfactorily according to the contract terms, and all mechanic's liens have either been released or have expired.

Project Management: triple constraint
Statistics
SWOT analysis

Read more...

Friday, May 31, 2013

Java User Group Latvia - 26th meeting on 6-June-2013

JUG LV Homepage
Free Registration for JUG LV #26

Agenda
18:40 - Java User Group Updates
18:50 - Rubylight - High-Load Contest - Part I : Solutions & Results
19:40 - Coffee Break
20:10 - Alla Babkina - Are You a Coding-Monkey?
Alla will talk about how software developers can and should be the main driver of business development. She will explain why real developers should understand the business behind requirements and collaborate closely with business representatives whenever possible, give some examples and tips on how not to become a coding-monkey.
21:00 - Round-up and raffle

Read more...

Ctrl+Backspace

Ctrl+Backspace -- стирает последнее набранное слово в текстовом редакторе или в поле для ввода текста. Под Windows -- почти везде (на Mac'е - Alt+Backspace).

Read more...

Tuesday, April 30, 2013

Как лучше перейти с C# на Java?

У Радио спрашивают: Как лучше перейти с C# на Java?
Радио отвечает: С C# на Java лучше перейти как можно скорее.
Read more...

Thursday, April 25, 2013

"Что? Где? Когда?". 2013. Весенняя серия игр

"Что? Где? Когда?". 2013. Весенняя серия игр. Игра Первая. 06.04.2013


Read more...

Monday, March 11, 2013

Профессионалы


Read more...

Friday, March 8, 2013

Pragmatic Java Test Automation

Слайды презентации "Pragmatic Java Test Automation" с JUG.LV #23
Read more...

Sunday, March 3, 2013

Преобразовать Wiki mark-up список в HTML список online без регистрации

Wiki mark-up language пользуется заслуженной популярностью за свою лаконичность.

Ходят непроверенные слухи, что в 5-ой версии Confluence возможность писать на языке Вики-разметки будет отключена. Очень жаль, если это действительно так.

В любом случае, при написании текста очень удобно оформлять списки в вики-стиле, например:
Read more...

How to create UI using Apps Script

Three ways users access UI developed in Apps Script:

  • Google Spreadsheet
  • Google Sites
  • Standalone (accessed by URL)

Read more...

Friday, March 1, 2013

Java User Group Latvia - 23rd meeting on 7-Mar-2013

JUG LV Homepage
Free Registration for JUG LV #23

Agenda
18:40 - Java User Group Updates
18:50 - Dmitry Buzdin - Pragmatic Project Test Automation. This talk will describe real-life approaches to Java project test automation. You will learn what kinds of tests should be present in almost every project. You will know how to do proper unit testing, integration testing and acceptance testing of your code base. There will be plenty of demos and code samples.
19:40 - Coffee Break
20:00 - Denis Udod - What do you know about Logging? Denis will talk about best practices in application logging. He will guide you through the diversity of popular logging libraries and frameworks and describe logging best practices/anti-patterns.
20:50 - Round-up and raffle

Read more...

Saturday, February 2, 2013

Friday, February 1, 2013

Bitter UX lesson or where is the Ctrl-Enter setting in Skype

NoMoreCtrlEnter
Раньше, когда Skype еще не был куплен фирмой Microsoft, в настройках Skype можно было выбрать, что (переход на новую строку или отсылку сообщения) делать по нажатию Enter, а что - по Ctrl-Enter.

Skype_4_2_0_169   Skype_4_2_0_169_CtrlEnter_Settings

Read more...

Wednesday, January 30, 2013

Wednesday, January 23, 2013

How to generate a random number?

int getRandomNumber() {
 return 4; // chosen by fair dice roll; guaranteed to be random
}
Read more...

Tuesday, January 22, 2013

Employment Myth-buster from A Good IT Company

* IT Specialists in Old Europe earn 10x more.
 ** Salaries in IT Companies of Old Europe rarely double those of A GOOD IT COMPANY.
* Women with children are hired reluctantly.
 ** A GOOD IT COMPANY hires women for their skills, welcomes them after maternity leave and respects the need to take child sick leaves.
* Employees are being monitored at work.
 ** A GOOD IT COMPANY values trust, granting certain freedom in time and Internet use.
* IT Specialists maintain their PCs themselves.
 ** A GOOD IT COMPANY provides full support of system administration, so you could focus on your job.
* Salaries are delayed and paid in envelopes.
 ** A GOOD IT COMPANY offers full social guarantees, insurance and pays salaries always on time.
* Companies don't invest in the newest hardware.
 ** A GOOD IT COMPANY provides excellent and up-to-date hardware to all employees.
* Software companies have high staff turnover.
 ** Staff turnover rate in A GOOD IT COMPANY is lower than average per industry.
* Companies don't care for the work environment.
 ** A GOOD IT COMPANY creates atmosphere where employees feel comfortable while performing their tasks.
* Project finished, everyone's fired.
 ** A GOOD IT COMPANY has many projects and when one is finished, resources are relocated to another one.
* Companies don't pay for attending conferences.
 ** In A GOOD IT COMPANY, employees can attend professional conferences.
Read more...

Difference in Cross-Platform Mobile Development – Native vs Hybrid vs HTML5

Notes from the talk "Difference in Cross-platform mobile development – native vs hybrid vs HTML5" by Dmitry Ivanov from C.T.Co

Native
        ++
                + Speed and reaction
                + Consumer focus
                + Native look and feel
                + Native API
                + Debug + Profile
        --
                - Only 1 Platform
                - New language
                - Costs
                - App review time (publishing & updates)
Read more...

Tuesday, January 15, 2013

Top 20 Brainbench Certifications of 2012

К сожалению, не совсем понятно, по какому принципу составлялся топ (по тому, сколько человек пытались сдать, сколько сдали и т.д.), но так или иначе - вот он:
Read more...

Chess, Checkers and Reversi for Android



Three great Android apps from Aart Bik (free, no ads, do not require unnecessary permissions):
Read more...

Friday, January 11, 2013

PHP программист


Здравствуйте. Меня зовут Вячеслав, мне 22 года и я PHP программист. Я сижу на PHP с 18 лет. Первый раз я попробовал PHP с другом. Мы сидели, обсуждали веб-технологии и тут он сказал, что недавно пробовал PHP. Он предложил попробовать мне. Поначалу я не согласился, ведь это PHP, я слышал много плохих слухов про него, слышал, что он вызывает зависимость. Но друг настаивал, говорил, что в жизни нужно попробовать все, и я сдался. Он предложил бесплатный скрипт, выводящий «Hello world!». Он казался совсем безобидным, но как потом оказалось, я уже не мог остановиться. Уже очень скоро благодаря PHP я попробовал свою первую CMS.
Read more...

Что делать с "java.lang.IllegalAccessException: Class sun.reflect.misc.Trampoline can not access a member of class" или несколько детских граблей при работе с JavaBeans

Допустим, вы не каждый день пишете свои собственные JavaBeans, a тут вдруг польстились на возможность класса XMLEncoder легко и непринужденно сериализовать объекты в XML и решили написать небольшой proof-of-concept примерчик, чтобы удостовериться, что оно все работает, как обещано. С кем, в конце концов, не бывает...

"Если с первого раза не получилось, парашютный спорт не для вас..." При попытке запуситть наш простой примерчик мы получаем в консоли следующее послание от компилятора:

java.lang.IllegalAccessException: Class sun.reflect.misc.Trampoline can not access a member of class Ххх with modifiers ""
Continuing ...

Вопрос: за что и что нам с этим делать?

Read more...

Thursday, January 10, 2013

Телепат...


[ Музычка приятная, так что в любом случае не зря. ;) ] Read more...

Wednesday, January 9, 2013

Оптимист, пессимист и зануда

Как-то казнили во Франции оптимиста, пессимиста и зануду.

Оптимиста первым подвели к гильотине и спросили его последнее желание. Он ответил: "Жизнь была так прекрасна и интересна! Положите меня, пожалуйста, лицом вверх. Мне будет очень интересно смотреть на падающий нож". Положили его лицом вверх, дернули рычаг, а нож заскрипел и остановился над самой шеей. По обычаю его помиловали.

Спросили пессимиста о последнем желании.
Он сказал: "Жизнь была так гадка! А, тут еще этот нож... И жадная до кровавых зрелищ толпа... Завяжите мне глаза и заткните уши ватой". Его желание выполнили, дернули рычаг, но нож снова заскрипел и остановился над самой шеей. Он тоже был помилован, согласно обычаю.

Read more...

Устанавливаем VirtualBox 4.2.6 под Windows

Introduction to VirtualBox from Wikipedia
Download page
Direct download link
Pre-built virtual appliances (легко находятся по запросу "virtualbox pre-built appliances" в Гугле): 1) at Oracle, 2) at VirtualBoxes.org
Read more...

Merrild Scala

We had Java.

Now we also have Scala.
Merrild_Scala.medium Read more...