The Complete Works Of Em Bounds

0 views
Skip to first unread message

Michael

unread,
Aug 3, 2024, 2:29:47 PM8/3/24
to botacorec

Easton Press, Norwalk CT. 1990. "The Complete Works of Ernest Hemingway" Limited Edition. A complete and matching 19-volume leather-bound collection of the Nobel Prize-winner's works. The 19 volume library includes all the legendary novels, Hemingway's incisive short stories, and the renowned journalism and non-fiction. Luxuriously bound in full genuine leather. Sewn-in ribbon bookmark and silk moire end papers. Comprehensive introductions along with exclusive illustrations. Most of the volumes are illustrated. Includes 17 of the Hemingway bookplates.

The Easton Press subsequently printed two other monotone issues of this set, one in the late 1990's, the other around 2005, in which a 20th book was added to the set. This first issue is the only set with the multi-colored covers and bindings.

Hemingway was raised in Oak Park, Illinois. After high school, he was a reporter for a few months for The Kansas City Star before leaving for the Italian Front to enlist as an ambulance driver in World War I. In 1918, he was seriously wounded and returned home. His wartime experiences formed the basis for his novel A Farewell to Arms (1929).

He maintained permanent residences in Key West, Florida (in the 1930s) and in Cuba (in the 1940s and 1950s). He almost died in 1954 after plane crashes on successive days, with injuries leaving him in pain and ill health for much of the rest of his life. In 1959, he bought a house in Ketchum, Idaho, where, in mid-1961, he committed suicide.

I have found that the limits cystic fibrosis imposes on my life are a bit like weather forecasts -- open to unexpected changes. Whether by hard-fought scientific advances, thoughtful (personal) planning, creative thinking or sheer luck, many of the limits of CF now come with beautiful possibilities attached.

As a now 31-year-old with CF, having grown to 6'1" and 200 lbs., with a wonderful wife open to IVF or adoption and a full-time job that helps others while allowing me to work from home, I sometimes wonder where all of those limits went or where they are lurking now.

There are still some nonnegotiable limits CF imposes, such as spending 1-2 hours a day strapped in for vest therapy (don't forget the nebulizer). And making sure to take 10 enzymes with each meal -- five with snacks -- or the food may as well be tossed out of a moving car for all the good it will do.

Work hours cannot be endless and unpredictable because it would disrupt my reliable self-care regimen and wear down my immunity defenses. And it's best to not have a career that requires constant travel, perpetual hand-shaking and rapidly changing environments because it beckons the perfect storm for bad infections and a Contagion-esque health crisis in my life.

Spending 1-2 hours of vesting each day means I have the perfect opportunity to reach out to friends and family via text, Facebook and email, keeping valuable relationships strong and reconnecting with friends. If a social connection is not the priority of the day, organizing the week's calendar, errands and other responsibilities is the perfect vest multitask endeavor. The vest limitation also serves as a helpful reminder that sometimes a mandatory hour of Mario Kart is the best thing for one's mental health.

Making sure that I take enzymes with each meal acts as a sort of nutritional Pavlov's bell, reminding me that I could hit my 3,000 daily calories via Doritos and McDonald's -- or that I could take an extra 30 minutes to create meals that keep my whole body healthy. (This approach did not set in until my mid-20s when it dawned on me that keeping my weight up means little if my arteries are clogged with grease and cookies.)

Though I cannot jump into 10-15 hour workdays that are often directly correlated with powerful positions and six-figure salaries, I can proactively seek out employers and roles that inherently value work-life balance, offer me a personal challenge, benefit society and afford my family a livable income. I can even plan my own future businesses to fit this mold. This provides me with the gift of valuing experiences and relationships above money.

While I may not be able to engage in a perpetual cycle of airports and sales conferences, that has not prevented cherished, one-off trips around the world with the family and friends I hold most dear.

All of this is to say that although CF sets certain limits, it also leaves glorious, mischievous wiggle room. Whether by hard-fought scientific advances, thoughtful (personal) planning, creative thinking or sheer luck, many of the limits of CF now come with beautiful possibilities attached.

Living with the unknown and beautiful possibilities of life without worry is difficult and delicate for anyone. Although CF affects so much of our bodies, from lungs to pancreas to reproductive processes, it does not control our brains, creativity and work ethic. For that, I am thankful every day.

Tim was diagnosed with cystic fibrosis as an infant and credits his parents and CF care team for providing him with years of phenomenal CF care. He completed his MBA in social entrepreneurship, works full time in the community services sector of state government, and recently released a children's book inspired by his son, Lewis. 14% of the book sales will be donated to the CF Foundation to support the organization that has helped Tim beat his 14-year life expectancy by multiple decades. Tim lives in the Twin Cities of Minnesota, with his wife of nine years, Ashlee, their two sons, Lewis (3) and Arlo (8 months), along with their maltipoo dogs, Bou and Sully. Tim worked for the Minnesota/Dakotas Chapter of the CF Foundation from 2007-2010 as a full-time fundraiser and remains involved in the annual Breath of Life Gala event with the support and participation of family, friends, and colleagues.

I'm looking for an optimal way to resize wrapping text in a TextView so that it will fit within its getHeight and getWidth bounds. I'm not simply looking for a way to wrap the text- I want to make sure it both wraps and is small enough to fit entirely on the screen.

I've seen a few cases on StackOverflow where auto resizing was needed, but they are either very special cases with hack solutions, have no solution, or involve re-drawing the TextView recursively until it is small enough (which is memory intense and forces the user to watch the text shrink step-by-step with every recursion).

But I'm sure somebody out there has found a good solution that doesn't involve what I'm doing: writing several heavy routines that parse and measure the text, resize the text, and repeat until a suitably small size has been found.

As a mobile developer, I was sad to find nothing native that supports auto resizing. My searches did not turn up anything that worked for me and in the end, I spent the better half of my weekend and created my own auto resize text view. I will post the code here and hopefully it will be useful for someone else.

This class uses a static layout with the text paint of the original text view to measure the height. From there, I step down by 2 font pixels and remeasure until I have a size that fits. At the end, if the text still does not fit, I append an ellipsis. I had requirements to animate the text and reuse views and this seems to work well on the devices I have and seems to run fast enough for me.

using a copy of TextPaint for measuring layoutThe documentation for TextView.getPaint() states that it should be used read-only, so I made a copy in both places where we use the paint object for measuring:

With these two modifications the solution is working perfectly for me, thanks Chase! I don't know whether it is due to Android 4.x that the original solution was not working. In case you want to see it in action or test whether it really works on your device, you can have a look at my flashcard app Flashcards ToGo where I use this solution to scale the text of a flashcard. The text can have arbitrary length, and the flashcards are displayed in different activities, sometimes smaller sometimes bigger, plus in landscape + portrait mode, and I haven't found any corner case where the solution would not work properly...

Then, at the end of the file, append the getTextWidth() routine; it's just a slightly modified getTextHeight(). It probably would be more efficient to combine them to one routine which returns both height and width.

Under rather obscure and very precise conditions, the Layout Editor will fail to display the graphical display of the layout; it will throw an "EmptyStackException: null" exception in com.android.ide.eclipse.adt.

I found AutoResizeTextView and it works great on my Android 2.1 emulator. I loved it so much. But unfortunately it failed on my own 4.0.4 cellphone and 4.1 emulator. After trying I found it could be easily resolved by adding following attributes in AutoResizeTextView class in the xml:

I add this "\u3000" character on left and right of my text, to keep it centered. If you have it aligned to left then append to the right only. Of course it can be also embedded with AutoResizeTextView widget, but I wanted to keep fix code outside.

To make all fast & precise i used a bisection method instead of an iterative while, as you can see in resizeText() method. That's why you have also a MAX_TEXT_SIZE option. I also included onoelle's tips.

Note: this code was taken directly from Google Android Lollipop dialer a while back, I don't remember If changes were made at the time. Also, I don't know which license is this under, but I have reason to think it is Apache 2.0.

1) Here's a solution that recursively re-paints the textview until it fits. This means literally watching your text shrink into place, but at least it fits when it's done. The code will need some tweaking to implement, but it's mostly there.

2) You can try hacking together a custom solution like this, or dunni's class in this, which is what I did using the getPaint().measureText(str) to search for the right size, but it got a lot messier since I need it to wrap only on whitespace...

c80f0f1006
Reply all
Reply to author
Forward
0 new messages