Navigation

Search

Categories

On this page

Katzencontent
Mac Sucks
Sunscreen
I am a nerd
Using a text file to hold sequential numbers in Excel
Truth

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 120
This Year: 1
This Month: 0
This Week: 0
Comments: 40

Sign In
Pick a theme:

# Friday, January 14, 2005
Friday, January 14, 2005 9:59:24 AM (Mountain Standard Time, UTC-07:00) ( )
This is my cat, Tia, a short-hair american calico female.

TIA02

Check Google for more Katzencontent ("cat content"), a regular feature in German blogs.

http://blog.outer-court.com/archive/2005_01_07_index.html#110509793047699246

 

Comments [0] | | # 
# Wednesday, January 12, 2005
Wednesday, January 12, 2005 7:45:34 AM (Mountain Standard Time, UTC-07:00) ( )

AppleiProduct

Now boys and girls, this only hurts because it’s so true. An 'experience' is something you do, like wind surfing, a 'tool' is something you own, like a computer. Solution? Is everyone listening? (The following message is not inteded for owners of Mac computers who possess a normal healthy psychosis about their machines and refer to them as tools)
  1. Get therapy. Your computer is not here to make you feel better about yourself.
  2. Start using your computer as a tool, not an emotional placebo
  3. If you find this is too difficult while owning a Mac, do what you'd do to a bad house-mate. Give it the boot.
Comments [0] | | # 
Wednesday, January 12, 2005 7:35:31 AM (Mountain Standard Time, UTC-07:00) ( )
Everybody's Free
(to wear sunscreen)
Mary Schmich
Chicago Tribune

Ladies and Gentlemen of the class of ’97... wear sunscreen.

If I could offer you only one tip for the future, sunscreen would be IT.

The long term benefits of sunscreen have been proved by scientists whereas the rest of my advice has no basis more reliable than my own meandering experience.

I will dispense this advice now.

Enjoy the power and beauty of your youth. Never mind. You will not understand the power and beauty of your youth until they have faded. But trust me, in 20 years you’ll look back at photos of yourself and recall in a way you can’t grasp now how much possibility lay before you and how fabulous you really looked.

You are NOT as fat as you imagine.

Don’t worry about the future; or worry, but know that worrying is as effective as trying to solve an algebra equation by chewing bubblegum. The real troubles in your life are apt to be things that never crossed your worried mind; the kind that blindside you at 4pm on some idle Tuesday.

Do one thing every day that scares you.

Sing.

Don’t be reckless with other people’s hearts, don’t put up with people who are reckless with yours.

Floss.

Don’t waste your time on jealousy; sometimes you’re ahead, sometimes you’re behind. The race is long, and in the end, it’s only with yourself.

Remember compliments you receive, forget the insults; if you succeed in doing this, tell me how.

Keep your old love letters, throw away your old bank statements.

Stretch.

Don’t feel guilty if you don’t know what you want to do with your life. The most interesting people I know didn’t know at 22 what they wanted to do with their lives, some of the most interesting 40 year olds I know still don’t.

Get plenty of calcium.

Be kind to your knees, you’ll miss them when they’re gone.

Maybe you’ll marry, maybe you won’t, maybe you’ll have children, maybe you won’t, maybe you’ll divorce at 40, maybe you’ll dance the funky chicken on your 75th wedding anniversary. Whatever you do, don’t congratulate yourself too much or berate yourself, either. Your choices are half chance, so are everybody else’s. Enjoy your body, use it every way you can. Don’t be afraid of it, or what other people think of it, it’s the greatest instrument you’ll ever own.

Dance. Even if you have nowhere to do it but in your own living room.

Read the directions, even if you don’t follow them.

Do NOT read beauty magazines, they will only make you feel ugly.

Get to know your parents, you never know when they’ll be gone for good.

Be nice to your siblings; they are your best link to your past and the people most likely to stick with you in the future.

Understand that friends come and go, but for the precious few you should hold on. Work hard to bridge the gaps in geography in lifestyle because the older you get, the more you need the people you knew when you were young.

Live in New York City once, but leave before it makes you hard; live in Northern California once, but leave before it makes you soft.

Travel.

Accept certain inalienable truths, prices will rise, politicians will philander, you too will get old, and when you do you’ll fantasize that when you were young prices were reasonable, politicians were noble and children respected their elders.

Respect your elders.

Don’t expect anyone else to support you. Maybe you have a trust fund, maybe you'll have a wealthy spouse; but you never know when either one might run out.

Don’t mess too much with your hair, or by the time you're 40, it will look 85.

Be careful whose advice you buy, but, be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than it’s worth.

But trust me on the sunscreen.

 

http://www.geocities.com/Hollywood/Studio/8442/sunscreen.htm http://blog.outer-court.com/archive/2005_01_07_index.html#110514071592494017 http://www.generationterrorists.com/quotes/sunscreen.html
Comments [0] | | # 
# Tuesday, January 11, 2005
Tuesday, January 11, 2005 11:38:49 AM (Mountain Standard Time, UTC-07:00) ( )

 Das Nerd 

Someone out there on the internet said that they were a "mid level nerd". I’m accused daily by my co-workers of being a geek, and I become scared of how highly nerdy this same quiz might tag me as…. I decided to take it.

I am nerdier than 88% of all people. Are you nerdier? Click here to find out!

Evidently the fear and loathing is well founded according to the said survey.  This means that I’m nerdier than about 9 out of every 10 people I meet in life. Scary isn’t it.

Edit – Apparantly Scott is a bigger nerd than I am http://www.hanselman.com/blog/Trackback,guid,f77753ff-5181-4a27-a9be-370c1fe1665e.aspx

Edit – Nice to see that female nerds still don’t rank quite as high as nerds. Cheers Michele! Do you know any early-20’s nerds that are as beatiful and smart as you?

Comments [0] | | # 
# Monday, January 10, 2005
Monday, January 10, 2005 9:46:52 AM (Mountain Standard Time, UTC-07:00) ( All things Microsoft )

Using a text file to hold sequential numbers

This method is more useful in some situations. The biggest advantage is that the sequential number is no longer tied to a particular machine - it can be stored on a common server, or even a thumb drive. Disadvantages include difficulty in keeping the file from being modified simultaneously by two users, or of the file being more easily deleted or modified. This function will return the next sequential number:

Public Function GetNextSeqNumber(Optional sFileName As String, Optional nSeqNumber As Long = -1) As Long            
	Const sDEFAULT_PATH As String = "<your path here>"            
	Const sDEFAULT_FNAME As String = "defaultseq.txt"            
	Dim nFileNumber As Long                    
	nFileNumber = FreeFile            
	If sFileName = "" Then sFileName = sDEFAULT_FNAME                
		If InStr(sFileName, Application.PathSeparator) = 0 Then _                       
			sFileName = sDEFAULT_PATH & Application.PathSeparator & sFileName            

	If nSeqNumber = -1& Then                    
		If Dir(sFileName) <> "" Then                            
			Open sFileName For Input As nFileNumber                            
			Input #nFileNumber, nSeqNumber
			nSeqNumber = nSeqNumber + 1
			Close nFileNumber                    
		Else                            
			nSeqNumber = 1
		End If            
	End If                        

	On Error GoTo PathError                        
		Open sFileName For Output As nFileNumber                        

	On Error GoTo 0                        
		Print #nFileNumber, nSeqNumber                        
		Close nFileNumber            
		NextSeqNumber = nSeqNumber            
		Exit Function    

	PathError:            
		NextSeqNumber = -1
End Function

If you provide a full path in sFileName, that's where the file will be stored. If not, the file will be stored in whatever default directory you specify. You can set the sequential number by providing a value for nSeqNumber.

Thus, if I'm only using one sequence I can use

Public Sub Workbook_Open()            
	ThisWorkbook.Sheets(1).Range("B2").Value = GetNextSeqNumber    
End Sub

to return the next sequence number. If I'm using multiple sequences, I include the filename (with path, if the text file is not in the default path).

Public Sub NewClientInvoice()            
	This.Workbook.Sheets(1).Range("B2").Value = GetNextSeqNumber("Client1.txt")    
End Sub

And if I want to start a new sequence, beginning at, say, 1001, include that number in the function call. If the client name were in cell B4:

Public Sub SetUpNewClient()
	With ThisWorkbook.Sheets(1)        
		.Range("B2").Value = GetNextSeqNumber(.Range("B4").Value & ".txt", 1001)            
	End With    
End Sub
Original article credit to: http://www.mcgimpsey.com/excel/udfs/sequentialnums.html
Excel is a licensed product of Microsoft Corporation
Comments [0] | | # 
# Tuesday, January 04, 2005
Tuesday, January 04, 2005 7:54:07 AM (Mountain Standard Time, UTC-07:00) ( General )

I read something the other day that had a tremendous impact on me, I thought I'd share.

Truth

Truth is unchangeable reality.
It doesn't depend on circumstances.
What is true is always true in every place on every occasion.
Truth systematically links facts together to create an understanding of life's situations.
Line upon line, precept upon precept, truth builds it's house.
-Author unknown

Comments [0] | | #