skynet 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. data/History.txt +49 -0
  2. data/Manifest.txt +84 -6
  3. data/README.txt +75 -64
  4. data/app_generators/skynet_install/skynet_install_generator.rb +14 -8
  5. data/app_generators/skynet_install/templates/migration.rb +1 -24
  6. data/app_generators/skynet_install/templates/skynet_config.rb +50 -0
  7. data/app_generators/skynet_install/templates/skynet_initializer.rb +1 -0
  8. data/app_generators/skynet_install/templates/{skynet_schema.sql → skynet_mysql_schema.sql} +1 -24
  9. data/bin/skynet +37 -10
  10. data/bin/skynet_install +5 -5
  11. data/bin/skynet_tuplespace_server +27 -19
  12. data/examples/dgrep/README +70 -0
  13. data/examples/dgrep/config/skynet_config.rb +26 -0
  14. data/examples/dgrep/data/shakespeare/README +2 -0
  15. data/examples/dgrep/data/shakespeare/poetry/loverscomplaint +381 -0
  16. data/examples/dgrep/data/shakespeare/poetry/rapeoflucrece +2199 -0
  17. data/examples/dgrep/data/shakespeare/poetry/sonnets +2633 -0
  18. data/examples/dgrep/data/shakespeare/poetry/various +640 -0
  19. data/examples/dgrep/data/shakespeare/poetry/venusandadonis +1423 -0
  20. data/examples/dgrep/data/testfile1.txt +1 -0
  21. data/examples/dgrep/data/testfile2.txt +1 -0
  22. data/examples/dgrep/data/testfile3.txt +1 -0
  23. data/examples/dgrep/data/testfile4.txt +1 -0
  24. data/examples/dgrep/lib/dgrep.rb +59 -0
  25. data/examples/dgrep/lib/mapreduce_test.rb +32 -0
  26. data/examples/dgrep/lib/most_common_words.rb +45 -0
  27. data/examples/dgrep/script/dgrep +75 -0
  28. data/examples/rails_mysql_example/README +66 -0
  29. data/examples/rails_mysql_example/Rakefile +10 -0
  30. data/examples/rails_mysql_example/app/controllers/application.rb +10 -0
  31. data/examples/rails_mysql_example/app/helpers/application_helper.rb +3 -0
  32. data/examples/rails_mysql_example/app/models/user.rb +21 -0
  33. data/examples/rails_mysql_example/app/models/user_favorite.rb +5 -0
  34. data/examples/rails_mysql_example/app/models/user_mailer.rb +12 -0
  35. data/examples/rails_mysql_example/app/views/user_mailer/welcome.erb +5 -0
  36. data/examples/rails_mysql_example/config/boot.rb +109 -0
  37. data/examples/rails_mysql_example/config/database.yml +42 -0
  38. data/examples/rails_mysql_example/config/environment.rb +59 -0
  39. data/examples/rails_mysql_example/config/environments/development.rb +18 -0
  40. data/examples/rails_mysql_example/config/environments/production.rb +19 -0
  41. data/examples/rails_mysql_example/config/environments/test.rb +22 -0
  42. data/examples/rails_mysql_example/config/initializers/inflections.rb +10 -0
  43. data/examples/rails_mysql_example/config/initializers/mime_types.rb +5 -0
  44. data/examples/rails_mysql_example/config/initializers/skynet.rb +1 -0
  45. data/examples/rails_mysql_example/config/routes.rb +35 -0
  46. data/examples/rails_mysql_example/config/skynet_config.rb +36 -0
  47. data/examples/rails_mysql_example/db/migrate/001_create_skynet_tables.rb +43 -0
  48. data/examples/rails_mysql_example/db/migrate/002_create_users.rb +16 -0
  49. data/examples/rails_mysql_example/db/migrate/003_create_user_favorites.rb +14 -0
  50. data/examples/rails_mysql_example/db/schema.rb +85 -0
  51. data/examples/rails_mysql_example/db/skynet_mysql_schema.sql +33 -0
  52. data/examples/rails_mysql_example/doc/README_FOR_APP +2 -0
  53. data/examples/rails_mysql_example/lib/tasks/rails_mysql_example.rake +20 -0
  54. data/examples/rails_mysql_example/public/.htaccess +40 -0
  55. data/examples/rails_mysql_example/public/404.html +30 -0
  56. data/examples/rails_mysql_example/public/422.html +30 -0
  57. data/examples/rails_mysql_example/public/500.html +30 -0
  58. data/examples/rails_mysql_example/public/dispatch.cgi +10 -0
  59. data/examples/rails_mysql_example/public/dispatch.fcgi +24 -0
  60. data/examples/rails_mysql_example/public/dispatch.rb +10 -0
  61. data/{log/debug.log → examples/rails_mysql_example/public/favicon.ico} +0 -0
  62. data/examples/rails_mysql_example/public/images/rails.png +0 -0
  63. data/examples/rails_mysql_example/public/index.html +277 -0
  64. data/examples/rails_mysql_example/public/javascripts/application.js +2 -0
  65. data/examples/rails_mysql_example/public/javascripts/controls.js +963 -0
  66. data/examples/rails_mysql_example/public/javascripts/dragdrop.js +972 -0
  67. data/examples/rails_mysql_example/public/javascripts/effects.js +1120 -0
  68. data/examples/rails_mysql_example/public/javascripts/prototype.js +4225 -0
  69. data/examples/rails_mysql_example/public/robots.txt +5 -0
  70. data/examples/rails_mysql_example/script/about +3 -0
  71. data/examples/rails_mysql_example/script/console +3 -0
  72. data/examples/rails_mysql_example/script/destroy +3 -0
  73. data/examples/rails_mysql_example/script/generate +3 -0
  74. data/examples/rails_mysql_example/script/performance/benchmarker +3 -0
  75. data/examples/rails_mysql_example/script/performance/profiler +3 -0
  76. data/examples/rails_mysql_example/script/performance/request +3 -0
  77. data/examples/rails_mysql_example/script/plugin +3 -0
  78. data/examples/rails_mysql_example/script/process/inspector +3 -0
  79. data/examples/rails_mysql_example/script/process/reaper +3 -0
  80. data/examples/rails_mysql_example/script/process/spawner +3 -0
  81. data/examples/rails_mysql_example/script/runner +3 -0
  82. data/examples/rails_mysql_example/script/server +3 -0
  83. data/examples/rails_mysql_example/test/fixtures/user_favorites.yml +9 -0
  84. data/examples/rails_mysql_example/test/fixtures/users.yml +11 -0
  85. data/examples/rails_mysql_example/test/test_helper.rb +38 -0
  86. data/examples/rails_mysql_example/test/unit/user_favorite_test.rb +8 -0
  87. data/examples/rails_mysql_example/test/unit/user_test.rb +8 -0
  88. data/extras/README +7 -0
  89. data/extras/init.d/skynet +87 -0
  90. data/extras/nagios/check_skynet.sh +121 -0
  91. data/extras/rails/controllers/skynet_controller.rb +43 -0
  92. data/extras/rails/views/skynet/index.rhtml +137 -0
  93. data/lib/skynet.rb +59 -1
  94. data/lib/skynet/mapreduce_helper.rb +2 -2
  95. data/lib/skynet/mapreduce_test.rb +32 -1
  96. data/lib/skynet/message_queue_adapters/mysql.rb +422 -539
  97. data/lib/skynet/message_queue_adapters/tuple_space.rb +45 -71
  98. data/lib/skynet/skynet_active_record_extensions.rb +22 -11
  99. data/lib/skynet/skynet_config.rb +54 -20
  100. data/lib/skynet/skynet_console.rb +4 -1
  101. data/lib/skynet/skynet_console_helper.rb +5 -1
  102. data/lib/skynet/skynet_debugger.rb +58 -4
  103. data/lib/skynet/skynet_job.rb +61 -24
  104. data/lib/skynet/skynet_launcher.rb +29 -3
  105. data/lib/skynet/skynet_logger.rb +11 -1
  106. data/lib/skynet/skynet_manager.rb +403 -240
  107. data/lib/skynet/skynet_message.rb +1 -3
  108. data/lib/skynet/skynet_message_queue.rb +42 -19
  109. data/lib/skynet/skynet_partitioners.rb +19 -15
  110. data/lib/skynet/skynet_ruby_extensions.rb +18 -0
  111. data/lib/skynet/skynet_tuplespace_server.rb +17 -14
  112. data/lib/skynet/skynet_worker.rb +132 -98
  113. data/lib/skynet/version.rb +1 -1
  114. data/script/destroy +0 -0
  115. data/script/generate +0 -0
  116. data/script/txt2html +0 -0
  117. data/test/test_helper.rb +2 -0
  118. data/test/test_skynet.rb +13 -5
  119. data/test/test_skynet_manager.rb +24 -9
  120. data/test/test_skynet_task.rb +1 -1
  121. data/website/index.html +77 -29
  122. data/website/index.txt +53 -24
  123. data/website/stylesheets/screen.css +12 -12
  124. metadata +156 -66
  125. data/app_generators/skynet_install/templates/skynet +0 -46
  126. data/log/skynet.log +0 -29
  127. data/log/skynet_tuplespace_server.log +0 -7
  128. data/log/skynet_worker.pid +0 -1
@@ -0,0 +1,640 @@
1
+ THE PASSIONATE PILGRIM
2
+
3
+
4
+
5
+ I.
6
+
7
+ WHEN my love swears that she is made of truth,
8
+ I do believe her, though I know she lies,
9
+ That she might think me some untutor'd youth,
10
+ Unskilful in the world's false forgeries.
11
+ Thus vainly thinking that she thinks me young,
12
+ Although I know my years be past the best,
13
+ I smiling credit her false-speaking tongue,
14
+ Outfacing faults in love with love's ill rest.
15
+ But wherefore says my love that she is young?
16
+ And wherefore say not I that I am old?
17
+ O, love's best habit is a soothing tongue,
18
+ And age, in love, loves not to have years told.
19
+ Therefore I'll lie with love, and love with me,
20
+ Since that our faults in love thus smother'd be.
21
+
22
+
23
+ II.
24
+
25
+ Two loves I have, of comfort and despair,
26
+ That like two spirits do suggest me still;
27
+ My better angel is a man right fair,
28
+ My worser spirit a woman colour'd ill.
29
+ To win me soon to hell, my female evil
30
+ Tempteth my better angel from my side,
31
+ And would corrupt my saint to be a devil,
32
+ Wooing his purity with her fair pride.
33
+ And whether that my angel be turn'd fiend,
34
+ Suspect I may, yet not directly tell:
35
+ For being both to me, both to each friend,
36
+ I guess one angel in another's hell;
37
+ The truth I shall not know, but live in doubt,
38
+ Till my bad angel fire my good one out.
39
+
40
+
41
+ III.
42
+
43
+ Did not the heavenly rhetoric of thine eye,
44
+ 'Gainst whom the world could not hold argument,
45
+ Persuade my heart to this false perjury?
46
+ Vows for thee broke deserve not punishment.
47
+ A woman I forswore; but I will prove,
48
+ Thou being a goddess, I forswore not thee:
49
+ My vow was earthly, thou a heavenly love;
50
+ Thy grace being gain'd cures all disgrace in me.
51
+ My vow was breath, and breath a vapour is;
52
+ Then, thou fair sun, that on this earth doth shine,
53
+ Exhale this vapour vow; in thee it is:
54
+ If broken, then it is no fault of mine.
55
+ If by me broke, what fool is not so wise
56
+ To break an oath, to win a paradise?
57
+
58
+
59
+ IV.
60
+
61
+ Sweet Cytherea, sitting by a brook
62
+ With young Adonis, lovely, fresh, and green,
63
+ Did court the lad with many a lovely look,
64
+ Such looks as none could look but beauty's queen.
65
+ She told him stories to delight his ear;
66
+ She showed him favors to allure his eye;
67
+ To win his heart, she touch'd him here and there,--
68
+ Touches so soft still conquer chastity.
69
+ But whether unripe years did want conceit,
70
+ Or he refused to take her figured proffer,
71
+ The tender nibbler would not touch the bait,
72
+ But smile and jest at every gentle offer:
73
+ Then fell she on her back, fair queen, and toward:
74
+ He rose and ran away; ah, fool too froward!
75
+
76
+
77
+ V.
78
+
79
+ If love make me forsworn, how shall I swear to love?
80
+ O never faith could hold, if not to beauty vow'd:
81
+ Though to myself forsworn, to thee I'll constant prove;
82
+ Those thoughts, to me like oaks, to thee like osiers bow'd.
83
+ Study his bias leaves, and makes his book thine eyes,
84
+ Where all those pleasures live that art can comprehend.
85
+ If knowledge be the mark, to know thee shall suffice;
86
+ Well learned is that tongue that well can thee commend;
87
+ All ignorant that soul that sees thee without wonder;
88
+ Which is to me some praise, that I thy parts admire:
89
+ Thine eye Jove's lightning seems, thy voice his dreadful
90
+ thunder,
91
+ Which, not to anger bent, is music and sweet fire.
92
+ Celestial as thou art, O do not love that wrong,
93
+ To sing heaven's praise with such an earthly tongue.
94
+
95
+
96
+ VI.
97
+
98
+ Scarce had the sun dried up the dewy morn,
99
+ And scarce the herd gone to the hedge for shade,
100
+ When Cytherea, all in love forlorn,
101
+ A longing tarriance for Adonis made
102
+ Under an osier growing by a brook,
103
+ A brook where Adon used to cool his spleen:
104
+ Hot was the day; she hotter that did look
105
+ For his approach, that often there had been.
106
+ Anon he comes, and throws his mantle by,
107
+ And stood stark naked on the brook's green brim:
108
+ The sun look'd on the world with glorious eye,
109
+ Yet not so wistly as this queen on him.
110
+ He, spying her, bounced in, whereas he stood:
111
+ 'O Jove,' quoth she, 'why was not I a flood!'
112
+
113
+
114
+ VII.
115
+
116
+ Fair is my love, but not so fair as fickle;
117
+ Mild as a dove, but neither true nor trusty;
118
+ Brighter than glass, and yet, as glass is, brittle;
119
+ Softer than wax, and yet, as iron, rusty:
120
+ A lily pale, with damask dye to grace her,
121
+ None fairer, nor none falser to deface her.
122
+
123
+ Her lips to mine how often hath she joined,
124
+ Between each kiss her oaths of true love swearing!
125
+ How many tales to please me hath she coined,
126
+ Dreading my love, the loss thereof still fearing!
127
+ Yet in the midst of all her pure protestings,
128
+ Her faith, her oaths, her tears, and all were jestings.
129
+
130
+ She burn'd with love, as straw with fire flameth;
131
+ She burn'd out love, as soon as straw outburneth;
132
+ She framed the love, and yet she foil'd the framing;
133
+ She bade love last, and yet she fell a-turning.
134
+ Was this a lover, or a lecher whether?
135
+ Bad in the best, though excellent in neither.
136
+
137
+
138
+ VIII.
139
+
140
+ If music and sweet poetry agree,
141
+ As they must needs, the sister and the brother,
142
+ Then must the love be great 'twixt thee and me,
143
+ Because thou lovest the one, and I the other.
144
+ Dowland to thee is dear, whose heavenly touch
145
+ Upon the lute doth ravish human sense;
146
+ Spenser to me, whose deep conceit is such
147
+ As, passing all conceit, needs no defence.
148
+ Thou lovest to hear the sweet melodious sound
149
+ That Phoebus' lute, the queen of music, makes;
150
+ And I in deep delight am chiefly drown'd
151
+ When as himself to singing he betakes.
152
+ One god is god of both, as poets feign;
153
+ One knight loves both, and both in thee remain.
154
+
155
+
156
+ IX.
157
+
158
+ Fair was the morn when the fair queen of love,
159
+ [ ]
160
+ Paler for sorrow than her milk-white dove,
161
+ For Adon's sake, a youngster proud and wild;
162
+ Her stand she takes upon a steep-up hill:
163
+ Anon Adonis comes with horn and hounds;
164
+ She, silly queen, with more than love's good will,
165
+ Forbade the boy he should not pass those grounds:
166
+ 'Once,' quoth she, 'did I see a fair sweet youth
167
+ Here in these brakes deep-wounded with a boar,
168
+ Deep in the thigh, a spectacle of ruth!
169
+ See, in my thigh,' quoth she, 'here was the sore.'
170
+ She showed hers: he saw more wounds than one,
171
+ And blushing fled, and left her all alone.
172
+
173
+
174
+ X.
175
+
176
+ Sweet rose, fair flower, untimely pluck'd, soon vaded,
177
+ Pluck'd in the bud, and vaded in the spring!
178
+ Bright orient pearl, alack, too timely shaded!
179
+ Fair creature, kill'd too soon by death's sharp sting!
180
+ Like a green plum that hangs upon a tree,
181
+ And falls, through wind, before the fall should be.
182
+
183
+ I weep for thee, and yet no cause I have;
184
+ For why thou left'st me nothing in thy will:
185
+ And yet thou left'st me more than I did crave;
186
+ For why I craved nothing of thee still:
187
+ O yes, dear friend, I pardon crave of thee,
188
+ Thy discontent thou didst bequeath to me.
189
+
190
+
191
+ XI.
192
+
193
+ Venus, with young Adonis sitting by her
194
+ Under a myrtle shade, began to woo him:
195
+ She told the youngling how god Mars did try her,
196
+ And as he fell to her, so fell she to him.
197
+ 'Even thus,' quoth she, 'the warlike god embraced me,'
198
+ And then she clipp'd Adonis in her arms;
199
+ 'Even thus,' quoth she, 'the warlike god unlaced me,'
200
+ As if the boy should use like loving charms;
201
+ 'Even thus,' quoth she, 'he seized on my lips,'
202
+ And with her lips on his did act the seizure:
203
+ And as she fetched breath, away he skips,
204
+ And would not take her meaning nor her pleasure.
205
+ Ah, that I had my lady at this bay,
206
+ To kiss and clip me till I run away!
207
+
208
+
209
+ XII.
210
+
211
+ Crabbed age and youth cannot live together:
212
+ Youth is full of pleasance, age is full of care;
213
+ Youth like summer morn, age like winter weather;
214
+ Youth like summer brave, age like winter bare.
215
+ Youth is full of sport, age's breath is short;
216
+ Youth is nimble, age is lame;
217
+ Youth is hot and bold, age is weak and cold;
218
+ Youth is wild, and age is tame.
219
+ Age, I do abhor thee; youth, I do adore thee;
220
+ O, my love, my love is young!
221
+ Age, I do defy thee: O, sweet shepherd, hie thee,
222
+ For methinks thou stay'st too long,
223
+
224
+
225
+ XIII.
226
+
227
+ Beauty is but a vain and doubtful good;
228
+ A shining gloss that vadeth suddenly;
229
+ A flower that dies when first it gins to bud;
230
+ A brittle glass that's broken presently:
231
+ A doubtful good, a gloss, a glass, a flower,
232
+ Lost, vaded, broken, dead within an hour.
233
+
234
+ And as goods lost are seld or never found,
235
+ As vaded gloss no rubbing will refresh,
236
+ As flowers dead lie wither'd on the ground,
237
+ As broken glass no cement can redress,
238
+ So beauty blemish'd once's for ever lost,
239
+ In spite of physic, painting, pain and cost.
240
+
241
+
242
+ XIV.
243
+
244
+ Good night, good rest. Ah, neither be my share:
245
+ She bade good night that kept my rest away;
246
+ And daff'd me to a cabin hang'd with care,
247
+ To descant on the doubts of my decay.
248
+ 'Farewell,' quoth she, 'and come again tomorrow:'
249
+ Fare well I could not, for I supp'd with sorrow.
250
+
251
+ Yet at my parting sweetly did she smile,
252
+ In scorn or friendship, nill I construe whether:
253
+ 'T may be, she joy'd to jest at my exile,
254
+ 'T may be, again to make me wander thither:
255
+ 'Wander,' a word for shadows like myself,
256
+ As take the pain, but cannot pluck the pelf.
257
+
258
+
259
+ XV.
260
+
261
+ Lord, how mine eyes throw gazes to the east!
262
+ My heart doth charge the watch; the morning rise
263
+ Doth cite each moving sense from idle rest.
264
+ Not daring trust the office of mine eyes,
265
+ While Philomela sits and sings, I sit and mark,
266
+ And wish her lays were tuned like the lark;
267
+
268
+ For she doth welcome daylight with her ditty,
269
+ And drives away dark dismal-dreaming night:
270
+ The night so pack'd, I post unto my pretty;
271
+ Heart hath his hope, and eyes their wished sight;
272
+ Sorrow changed to solace, solace mix'd with sorrow;
273
+ For why, she sigh'd and bade me come tomorrow.
274
+
275
+ Were I with her, the night would post too soon;
276
+ But now are minutes added to the hours;
277
+ To spite me now, each minute seems a moon;
278
+ Yet not for me, shine sun to succor flowers!
279
+ Pack night, peep day; good day, of night now borrow:
280
+ Short, night, to-night, and length thyself tomorrow.
281
+
282
+
283
+
284
+ SONNETS TO SUNDRY NOTES OF MUSIC
285
+
286
+
287
+ XVI.
288
+
289
+ IT was a lording's daughter, the fairest one of three,
290
+ That liked of her master as well as well might be,
291
+ Till looking on an Englishman, the fair'st that eye could see,
292
+ Her fancy fell a-turning.
293
+
294
+ Long was the combat doubtful that love with love did fight,
295
+ To leave the master loveless, or kill the gallant knight:
296
+ To put in practise either, alas, it was a spite
297
+ Unto the silly damsel!
298
+
299
+ But one must be refused; more mickle was the pain
300
+ That nothing could be used to turn them both to gain,
301
+ For of the two the trusty knight was wounded with disdain:
302
+ Alas, she could not help it!
303
+
304
+ Thus art with arms contending was victor of the day,
305
+ Which by a gift of learning did bear the maid away:
306
+ Then, lullaby, the learned man hath got the lady gay;
307
+ For now my song is ended.
308
+
309
+
310
+ XVII.
311
+
312
+ On a day, alack the day!
313
+ Love, whose month was ever May,
314
+ Spied a blossom passing fair,
315
+ Playing in the wanton air:
316
+ Through the velvet leaves the wind
317
+ All unseen, gan passage find;
318
+ That the lover, sick to death,
319
+ Wish'd himself the heaven's breath,
320
+ 'Air,' quoth he, 'thy cheeks may blow;
321
+ Air, would I might triumph so!
322
+ But, alas! my hand hath sworn
323
+ Ne'er to pluck thee from thy thorn:
324
+ Vow, alack! for youth unmeet:
325
+ Youth, so apt to pluck a sweet.
326
+ Thou for whom Jove would swear
327
+ Juno but an Ethiope were;
328
+ And deny himself for Jove,
329
+ Turning mortal for thy love.'
330
+
331
+
332
+ XVIII.
333
+
334
+ My flocks feed not,
335
+ My ewes breed not,
336
+ My rams speed not,
337
+ All is amiss:
338
+ Love's denying,
339
+ Faith's defying,
340
+ Heart's renying,
341
+ Causer of this.
342
+ All my merry jigs are quite forgot,
343
+ All my lady's love is lost, God wot:
344
+ Where her faith was firmly fix'd in love,
345
+ There a nay is placed without remove.
346
+ One silly cross
347
+ Wrought all my loss;
348
+ O frowning Fortune, cursed, fickle dame!
349
+ For now I see
350
+ Inconstancy
351
+ More in women than in men remain.
352
+ In black mourn I,
353
+ All fears scorn I,
354
+ Love hath forlorn me,
355
+ Living in thrall:
356
+ Heart is bleeding,
357
+ All help needing,
358
+ O cruel speeding,
359
+ Fraughted with gall.
360
+ My shepherd's pipe can sound no deal;
361
+ My wether's bell rings doleful knell;
362
+ My curtail dog, that wont to have play'd
363
+ Plays not at all, but seems afraid;
364
+ My sighs so deep
365
+ Procure to weep,
366
+ In howling wise, to see my doleful plight.
367
+ How sighs resound
368
+ Through heartless ground,
369
+ Like a thousand vanquish'd men in bloody fight!
370
+ Clear wells spring not,
371
+ Sweet birds sing not,
372
+ Green plants bring not
373
+ Forth their dye;
374
+ Herds stand weeping,
375
+ Flocks all sleeping,
376
+ Nymphs back peeping
377
+ Fearfully:
378
+ All our pleasure known to us poor swains,
379
+ All our merry meetings on the plains,
380
+ All our evening sport from us is fled,
381
+ All our love is lost, for Love is dead
382
+ Farewell, sweet lass,
383
+ Thy like ne'er was
384
+ For a sweet content, the cause of all my moan:
385
+ Poor Corydon
386
+ Must live alone;
387
+ Other help for him I see that there is none.
388
+
389
+
390
+ XIX.
391
+
392
+ When as thine eye hath chose the dame,
393
+ And stall'd the deer that thou shouldst strike,
394
+ Let reason rule things worthy blame,
395
+ As well as fancy partial might:
396
+ Take counsel of some wiser head,
397
+ Neither too young nor yet unwed.
398
+
399
+ And when thou comest thy tale to tell,
400
+ Smooth not thy tongue with filed talk,
401
+ Lest she some subtle practise smell,--
402
+ A cripple soon can find a halt;--
403
+ But plainly say thou lovest her well,
404
+
405
+ And set thy person forth to sell.
406
+ What though her frowning brows be bent,
407
+ Her cloudy looks will calm ere night:
408
+ And then too late she will repent
409
+ That thus dissembled her delight;
410
+ And twice desire, ere it be day,
411
+ That which with scorn she put away.
412
+
413
+ What though she strive to try her strength,
414
+ And ban and brawl, and say thee nay,
415
+ Her feeble force will yield at length,
416
+ When craft hath taught her thus to say,
417
+ 'Had women been so strong as men,
418
+ In faith, you had not had it then.'
419
+
420
+ And to her will frame all thy ways;
421
+ Spare not to spend, and chiefly there
422
+ Where thy desert may merit praise,
423
+ By ringing in thy lady's ear:
424
+ The strongest castle, tower, and town,
425
+ The golden bullet beats it down.
426
+
427
+ Serve always with assured trust,
428
+ And in thy suit be humble true;
429
+ Unless thy lady prove unjust,
430
+ Press never thou to choose anew:
431
+ When time shall serve, be thou not slack
432
+ To proffer, though she put thee back.
433
+
434
+ The wiles and guiles that women work,
435
+ Dissembled with an outward show,
436
+ The tricks and toys that in them lurk,
437
+ The cock that treads them shall not know.
438
+ Have you not heard it said full oft,
439
+ A woman's nay doth stand for nought?
440
+
441
+ Think women still to strive with men,
442
+ To sin and never for to saint:
443
+ There is no heaven, by holy then,
444
+ When time with age doth them attaint.
445
+ Were kisses all the joys in bed,
446
+ One woman would another wed.
447
+
448
+ But, soft! enough, too much, I fear
449
+ Lest that my mistress hear my song,
450
+ She will not stick to round me i' the ear,
451
+ To teach my tongue to be so long:
452
+ Yet will she blush, here be it said,
453
+ To hear her secrets so bewray'd.
454
+
455
+
456
+ XX.
457
+
458
+ Live with me, and be my love,
459
+ And we will all the pleasures prove
460
+ That hills and valleys, dales and fields,
461
+ And all the craggy mountains yields.
462
+
463
+ There will we sit upon the rocks,
464
+ And see the shepherds feed their flocks,
465
+ By shallow rivers, by whose falls
466
+ Melodious birds sing madrigals.
467
+
468
+ There will I make thee a bed of roses,
469
+ With a thousand fragrant posies,
470
+ A cap of flowers, and a kirtle
471
+ Embroider'd all with leaves of myrtle.
472
+
473
+ A belt of straw and ivy buds,
474
+ With coral clasps and amber studs;
475
+ And if these pleasures may thee move,
476
+ Then live with me and be my love.
477
+
478
+
479
+ LOVE'S ANSWER.
480
+
481
+ If that the world and love were young,
482
+ And truth in every shepherd's tongue,
483
+ These pretty pleasures might me move
484
+ To live with thee and be thy love.
485
+
486
+
487
+ XXI.
488
+
489
+ As it fell upon a day
490
+ In the merry month of May,
491
+ Sitting in a pleasant shade
492
+ Which a grove of myrtles made,
493
+ Beasts did leap, and birds did sing,
494
+ Trees did grow, and plants did spring;
495
+ Every thing did banish moan,
496
+ Save the nightingale alone:
497
+ She, poor bird, as all forlorn,
498
+ Lean'd her breast up-till a thorn
499
+ And there sung the dolefull'st ditty,
500
+ That to hear it was great pity:
501
+ 'Fie, fie, fie,' now would she cry;
502
+ 'Tereu, tereu!' by and by;
503
+ That to hear her so complain,
504
+ Scarce I could from tears refrain;
505
+ For her griefs, so lively shown,
506
+ Made me think upon mine own.
507
+ Ah, thought I, thou mourn'st in vain!
508
+ None takes pity on thy pain:
509
+ Senseless trees they cannot hear thee;
510
+ Ruthless beasts they will not cheer thee:
511
+ King Pandion he is dead;
512
+ All thy friends are lapp'd in lead;
513
+ All thy fellow birds do sing,
514
+ Careless of thy sorrowing.
515
+ Even so, poor bird, like thee,
516
+ None alive will pity me.
517
+ Whilst as fickle Fortune smiled,
518
+ Thou and I were both beguiled.
519
+ Every one that flatters thee
520
+ Is no friend in misery.
521
+ Words are easy, like the wind;
522
+ Faithful friends are hard to find:
523
+ Every man will be thy friend
524
+ Whilst thou hast wherewith to spend;
525
+ But if store of crowns be scant,
526
+ No man will supply thy want.
527
+ If that one be prodigal,
528
+ Bountiful they will him call,
529
+ And with such-like flattering,
530
+ 'Pity but he were a king;'
531
+ If he be addict to vice,
532
+ Quickly him they will entice;
533
+ If to women he be bent,
534
+ They have at commandement:
535
+ But if Fortune once do frown,
536
+ Then farewell his great renown
537
+ They that fawn'd on him before
538
+ Use his company no more.
539
+ He that is thy friend indeed,
540
+ He will help thee in thy need:
541
+ If thou sorrow, he will weep;
542
+ If thou wake, he cannot sleep;
543
+ Thus of every grief in heart
544
+ He with thee doth bear a part.
545
+ These are certain signs to know
546
+ Faithful friend from flattering foe.
547
+
548
+
549
+
550
+
551
+ THE PHOENIX AND THE TURTLE
552
+
553
+
554
+
555
+ LET the bird of loudest lay,
556
+ On the sole Arabian tree,
557
+ Herald sad and trumpet be,
558
+ To whose sound chaste wings obey.
559
+
560
+ But thou shrieking harbinger,
561
+ Foul precurrer of the fiend,
562
+ Augur of the fever's end,
563
+ To this troop come thou not near!
564
+
565
+ From this session interdict
566
+ Every fowl of tyrant wing,
567
+ Save the eagle, feather'd king:
568
+ Keep the obsequy so strict.
569
+
570
+ Let the priest in surplice white,
571
+ That defunctive music can,
572
+ Be the death-divining swan,
573
+ Lest the requiem lack his right.
574
+
575
+ And thou treble-dated crow,
576
+ That thy sable gender makest
577
+ With the breath thou givest and takest,
578
+ 'Mongst our mourners shalt thou go.
579
+
580
+ Here the anthem doth commence:
581
+ Love and constancy is dead;
582
+ Phoenix and the turtle fled
583
+ In a mutual flame from hence.
584
+
585
+ So they loved, as love in twain
586
+ Had the essence but in one;
587
+ Two distincts, division none:
588
+ Number there in love was slain.
589
+
590
+ Hearts remote, yet not asunder;
591
+ Distance, and no space was seen
592
+ 'Twixt the turtle and his queen:
593
+ But in them it were a wonder.
594
+
595
+ So between them love did shine,
596
+ That the turtle saw his right
597
+ Flaming in the phoenix' sight;
598
+ Either was the other's mine.
599
+
600
+ Property was thus appalled,
601
+ That the self was not the same;
602
+ Single nature's double name
603
+ Neither two nor one was called.
604
+
605
+ Reason, in itself confounded,
606
+ Saw division grow together,
607
+ To themselves yet either neither,
608
+ Simple were so well compounded,
609
+
610
+ That it cried, How true a twain
611
+ Seemeth this concordant one!
612
+ Love hath reason, reason none,
613
+ If what parts can so remain.
614
+
615
+ Whereupon it made this threne
616
+ To the phoenix and the dove,
617
+ Co-supremes and stars of love,
618
+ As chorus to their tragic scene.
619
+
620
+ THRENOS.
621
+
622
+ Beauty, truth, and rarity,
623
+ Grace in all simplicity,
624
+ Here enclosed in cinders lie.
625
+
626
+ Death is now the phoenix' nest
627
+ And the turtle's loyal breast
628
+ To eternity doth rest,
629
+
630
+ Leaving no posterity:
631
+ 'Twas not their infirmity,
632
+ It was married chastity.
633
+
634
+ Truth may seem, but cannot be:
635
+ Beauty brag, but 'tis not she;
636
+ Truth and beauty buried be.
637
+
638
+ To this urn let those repair
639
+ That are either true or fair
640
+ For these dead birds sigh a prayer.