Яндекс-цвет

0 коммент. | добавить комментарий

Пусть здесь полежит

0 коммент. | добавить комментарий
Dallas Clayton, "Very Awesome Book"

There are places in the world
Where people do not dream…
Of rocket-powered unicorns
And candy cane machines
Of magic watermelon boats
And musical baboons
Or teeny tiny trumpet players
Training pet raccoons
Yes there are places in the world
Where people dream up dreams
So simply un-fantastical
And practical they seem…
To lose all possibility
Of thinking super things
Of dancing wild animals
With diamond-coated wings
Instead they dream of furniture
Of buying a new hat
Of owning matching silverware
Could you imagine that?
Instead they lay awake at night
Wishing for a car
Not one that runs on jellybeans…
But one that’s reg-u-lar
They dream of breakfast sandwiches
They dream of telephones
Sometimes they even dream of dreams
That aren’t even their own
Yes there are places in the world
Where dreams are almost dead
So please my child do keep in mind
Before you go to bed
To dream a dream as big
As big could ever dream to be
Then dream a dream ten times as big
As that one dream you see
Then once you’ve got that dream in mind
Please dream a million more
And not a million quiet dreams
A million dreams that roar!
A million dreams so loud they scream
So loud they sing and shout
So super huge they say
“Hey world! Guess what I’m dreamin’ bout”
“I’m dreaming about everything
that no one thought to wonder
Dreams so big that they’ve got dreams
And they’ve got dreams up under!”
Please dream for those who’ve given up
For those who’ve never tried
Please use your dreams
To make new dreams
For all the dreams that died
Cause you’re the one whose dreams can be
Whatever dreams you want
Whose dreams can change the way things are
And the way that things are not
And if they say that all your dreams
Are too big to come true
You tell them that I told you…
“That’s what dreams are meant to do!”
They’re meant to make you seem as if
You don’t know up from down
Because dreams are dreams and that’s why
Dreams are worth having around!
So when you think your dreaming’s done
Just remember what I said
“close your eyes my child
and dream
that perfect dream
inside your head”

Отсюда: http://www.veryawesomeworld.com/awesomebook/inside.html

Мультатор

2 коммент. | добавить комментарий
Нарисовал "альтернативную" заставку для одного из наших проектов.
84 кадра, 300 КБ:

"Как будто ветры с гор..."

0 коммент. | добавить комментарий
пройти медкомиссию

Каллиграфии пост

0 коммент. | добавить комментарий



Создать свой рукописный TTF-шрифт можно на http://fontcapture.com

P.S. Релиз 0.6.0, кстати, вышел))

Смешной код

2 коммент. | добавить комментарий
Несколько смешных участков кода из нескольких проектов:

1. Магический скрипт

private final String magicScript = "\nif(8==8)return;";


2. Глубокая иерархия

public void dragEnter(DropTargetDragEvent arg0) {
((DropTargetListener)getParent().getParent().getParent()
.getParent().getParent()).dragEnter(arg0);
}

public void dragExit(DropTargetEvent arg0) {
((DropTargetListener)getParent().getParent().getParent()
.getParent().getParent()).dragExit(arg0);

}

public void dragOver(DropTargetDragEvent arg0) {
((DropTargetListener)getParent().getParent().getParent()
.getParent().getParent()).dragOver(arg0);

}

public void drop(DropTargetDropEvent arg0) {
((DropTargetListener)getParent().getParent().getParent()
.getParent().getParent()).drop(arg0);
}

public void dropActionChanged(DropTargetDragEvent arg0) {
((DropTargetListener)getParent().getParent().getParent()
.getParent().getParent()).dropActionChanged(arg0);
}


3. Магические вычисления

int ww0 = getWidth() ;//- 40;
int hh0 = getHeight();// - 40;
int sz = Math.min(ww0, hh0);

sz = sz/4*3;


int y0 = (hh0 - sz) / 2;



int x0 = 0;
int h = sz / 2;
int dh = sz / 4;

int y = y0 + h;

int hh = (int)Math.sqrt(h*h - h*h/4);
y0 = y - hh;


Rectangle rect = new Rectangle(x0, y0 , sz, hh + hh );

int arrX[] = {x0 + dh, x0 + 3*dh, x0 + sz,
x0 + 3*dh , x0 + dh, x0};
int arrY[] = {y0 , y0 , y ,
y0 + hh + hh, y0 + hh + hh, y};

Polygon poly = new Polygon(arrX, arrY, 6);

return poly;

CROW: Control the Development Workflow

7 коммент. | добавить комментарий

Начало истории - см. здесь.

Сегодня выложил на SourceForge.net исходники и snapshot-релиз своего нового Java-проекта CROW (Control the development workflow).

CROW - это ASPICE-совместимая система, предназначенная для управления и мониторинга:
  • требований заказчика
  • технических требований
  • описания архитектуры
  • детального дизайна
  • ревизий кода в системе версионного контроля
  • тестов
В настоящее время программа позволяет:
  • добавлять/удалять/редактировать все артефакты, перечисленные выше
  • устанавливать зависимости между ними (например, "changelist #800 реализует техническое требование REQ-007-DAT-DragAndDrop, которое описывает требование заказчика Support drag&drop of DAT-files")
  • строить матрицу трассировки (RTM, Requirements Traceability Matrix), показывающую описанные выше отношения, в т.ч. транзитивные, т.е. связь между CRS и тестом через код, детальный дизайн, архитектуру и TRS программа вам покажет)
  • создавать метки и присваивать их различным артефактам, что позволяет определять и фиксировать т.н. baseline для требований, ревизий, тестов и пр.
Немного о реализации:
  • JRE 1.6, в более старых не тестировал и не хочу.
  • GUI в виде Swing-клиента. Пишу для Windows, но в Linux тоже проверял - явных косяков нет.
  • База - через Hibernate. В текущей реализации используется PostgreSQL.
  • Использую docking framework VLDocking, чтобы все окошки можно было перетаскивать как нравится.
  • Пишу все сам, тестировщиков также нет. Добровольцы призываются!
Адрес проекта на SourceForge - http://sourceforge.net/projects/opencrow/.