The Cellar  

Go Back   The Cellar > Main > Home Base
FAQ Community Calendar Today's Posts Search

Home Base A starting point, and place for threads don't seem to belong anywhere else

Reply
 
Thread Tools Display Modes
Old 01-19-2010, 10:12 PM   #1
lumberjim
I can hear my ears
 
Join Date: Oct 2003
Posts: 25,571
that's lint.



Lanolin? like Sheeps wool?.....well..maybe next time don't wear a bra.
__________________
This body holding me reminds me of my own mortality
Embrace this moment, remember
We are eternal, all this pain is an illusion ~MJKeenan
lumberjim is offline   Reply With Quote
Old 01-20-2010, 01:22 PM   #2
Happy Monkey
I think this line's mostly filler.
 
Join Date: Jan 2003
Location: DC
Posts: 13,575
Naked ghosts looking for clothes.
__________________
_________________
|...............| We live in the nick of times.
| Len 17, Wid 3 |
|_______________| [pics]
Happy Monkey is offline   Reply With Quote
Old 01-30-2010, 08:56 PM   #3
jinx
Come on, cat.
 
Join Date: Nov 2003
Location: general vicinity of Philadelphia area
Posts: 7,013
Operation Repo seems staged/fake... is it?
__________________
Crying won't help you, praying won't do you no good.
jinx is offline   Reply With Quote
Old 11-09-2010, 12:43 PM   #4
BigV
Goon Squad Leader
 
Join Date: Nov 2004
Location: Seattle
Posts: 27,063
Hello again.

Perhaps Spexxvet will hold forth here, but all helpful answers are welcome.

I am coming to terms with the onset of presbyopia. My vision has been excellent all my life, and remains good, but I can definitely see more clearly with reading glasses (for reading tasks--computer work, driving, walking around--no problem). Even the reading isn't a problem, but the smaller text, or the display on my blackberry is far sharper with my reading glasses.

I bought a few pairs at the drugstore, and I like them. I followed the instructions on the display to guide me to the right magnification and the number I settled on was +1.25.

Here is my question.

There is a very definite sweet spot for focus, 14 inches. I measured it. I'm sure I looked silly holding the ruler against my forehead and sliding my phone along it. My question, my problem is this. When I'm holding a book, or the paper, or the phone at a comfortable distance for the rest of my body, I assure you it isn't 14 inches from the bridge of my nose.

What can I do to get that maximum sharpness of focus which I like to happen farther away, say, 22 to 24 inches, the distance I like to hold my reading material from my face? I have tried the reading glasses with higher magnifications, this made the text bigger, but only at the same distance. It's all big enough, just not sharp enough at my desired distance.

TIA
__________________
Be Just and Fear Not.
BigV is offline   Reply With Quote
Old 11-09-2010, 01:34 PM   #5
Gravdigr
The Un-Tuckian
 
Join Date: Apr 2007
Location: South Central...KY that is
Posts: 39,517
I have the exact same problem. I need a little extra sharpness at arm's length. I don't want the book I'm reading to fall and slap me in the face when I finally manage to fall asleep. I need that joker out there away from my face!

Let us know if you find a cheap solution.
__________________


These statements have not been evaluated by the FDA, EPA, FBI, DEA, CDC, or FDIC. These statements are not intended to diagnose, cause, treat, cure, or prevent any disease. If you feel you have been harmed/offended by, or, disagree with any of the above statements or images, please feel free to fuck right off.
Gravdigr is offline   Reply With Quote
Old 11-09-2010, 01:36 PM   #6
Spexxvet
Makes some feel uncomfortable
 
Join Date: Dec 2005
Posts: 10,346
D=40/f, where D= dioptric power (your +1.25) and f= focal length in inches. Each .25 represents about 2 inches, when you are totally unable to accommodate. It looks as though you have some ability to accommodate, so your best bet would be to go to the store with your Blackberry and hold it at a comfortable length, then try different powers until you are comfortable. It may that you need more like a +0.75 or +0.50, but you'll be hard pressed to find less than a +1.00 in a store.
__________________
"I'm certainly free, nay compelled, to spread the gospel of Spex. " - xoxoxoBruce
Spexxvet is offline   Reply With Quote
Old 11-09-2010, 03:01 PM   #7
classicman
barely disguised asshole, keeper of all that is holy.
 
Join Date: Nov 2007
Posts: 23,401
Your problem is called middle age. You're screwed. welcome to the glasses/contacts group.
__________________
"like strapping a pillow on a bull in a china shop" Bullitt
classicman is offline   Reply With Quote
Old 11-09-2010, 03:12 PM   #8
BigV
Goon Squad Leader
 
Join Date: Nov 2004
Location: Seattle
Posts: 27,063
Quote:
Originally Posted by classicman View Post
Your problem is called middle age. You're screwed. welcome to the glasses/contacts group.
hahaha.... yeah... I knew that.
Quote:
Presbyopia -- Definition:
The term presbyopia means "old eye" and is a vision condition involving the loss of the eye's ability to focus on close objects.
__________________
Be Just and Fear Not.
BigV is offline   Reply With Quote
Old 11-09-2010, 03:13 PM   #9
BigV
Goon Squad Leader
 
Join Date: Nov 2004
Location: Seattle
Posts: 27,063
Spexxvet:

Thank you, sir. That is very helpful, and I will put your suggestion into play. It is helpful to know the math, and it helps me to know in which direction I should be moving.

I will report my results when I have some to report.
__________________
Be Just and Fear Not.
BigV is offline   Reply With Quote
Old 11-09-2010, 03:25 PM   #10
classicman
barely disguised asshole, keeper of all that is holy.
 
Join Date: Nov 2007
Posts: 23,401
Go see an eye doc. Go soon while you still can get an appointment.
__________________
"like strapping a pillow on a bull in a china shop" Bullitt
classicman is offline   Reply With Quote
Old 11-17-2010, 06:24 PM   #11
BigV
Goon Squad Leader
 
Join Date: Nov 2004
Location: Seattle
Posts: 27,063
Stuff I don't know, Episode #12,559: regex

Perhaps Pie will swoop in here and save the day, or anyone else whose brain is bigger and prettier than mine...

I have a long text file that contains what are essentially footers/page numbers. I hate them. I've processed the ever living f*ck out of this file, and I can't find a way to say: Please replace all instances of ###<CRLF> with nothing. That is the "page" number which runs from one to three digits, followed by a carriage return. I just want to take them out. Of course the file is full of other numeric data I must conserve. However, there are no lines that have only numbers on them except these ones I want removed.

I have a text editor that can search for extended characters, so the \r\n is working... (I think)... but I don't know how to say one or two or three digits followed by a CR should be replaced with nothing(deleted).

I have tried
Code:
+([0-9][0-9][0-9]}\r\n
failed.

Please help.
__________________
Be Just and Fear Not.
BigV is offline   Reply With Quote
Old 11-17-2010, 06:31 PM   #12
Happy Monkey
I think this line's mostly filler.
 
Join Date: Jan 2003
Location: DC
Posts: 13,575
Try:
Code:
^ *[01-9]* *\$
__________________
_________________
|...............| We live in the nick of times.
| Len 17, Wid 3 |
|_______________| [pics]
Happy Monkey is offline   Reply With Quote
Old 11-17-2010, 06:40 PM   #13
BigV
Goon Squad Leader
 
Join Date: Nov 2004
Location: Seattle
Posts: 27,063
Didn't work.

Would you please explain what you've written? For example, I *think* your numeric string section is looking for leading zeroes for page numbers. I don't have any of those. They run just like a book, 1 2 3 4 5 6 7 8 9 10 11 12 13...100 101 102....etc.
__________________
Be Just and Fear Not.
BigV is offline   Reply With Quote
Old 11-17-2010, 07:00 PM   #14
Happy Monkey
I think this line's mostly filler.
 
Join Date: Jan 2003
Location: DC
Posts: 13,575
I was using unix's regex (I tested using sed).

The ^ is to denote the beginning of the line.
the " *" is to include spaces. If you have tabs as well, you'd need [xy]*, where x is a space and y is a tab.
The [01-9]* catches zero or more digits. I had the leading zero because I wasn't sure whether zero was actually first in ASCII, so I included it separately from the range. It is first, so [0-9]* would work. To make sure you don't get blank lines, it probably should be [1-9][0-9]*. The first brackets are one digit, and the second are zero or more additional digits.
Then another " *" for trailing spaces.
And a \$ for the end of the line. The $ is the symbol, but I need to escape it with the backslash so it doesn't get parsed by my command line.

An updated version could be:
Code:
^[  ]*[1-9][0-9]*[  ]*\$
If the syntax is different in your app, the pattern is:
Code:
(beginning of line marker)[whitespace characters]*[1-9][0-9]*[whitespace characters]*(end of line marker)
__________________
_________________
|...............| We live in the nick of times.
| Len 17, Wid 3 |
|_______________| [pics]
Happy Monkey is offline   Reply With Quote
Old 11-20-2011, 12:16 PM   #15
BigV
Goon Squad Leader
 
Join Date: Nov 2004
Location: Seattle
Posts: 27,063
more stuff I don't know, regarding prefixes.

flammable and inflammable. What? Also, privation and deprivation? Why aren't these pairs opposites?
__________________
Be Just and Fear Not.
BigV is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 08:41 PM.


Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.