katster: (trapped)
[personal profile] katster
Lots of thoughts probably better put in the misc category. It's not depression, more a weariness. And I need to go to bed here soon. So have your bowl of katster and hush, 'cause I've got a lot to say. (Slogan courtesy the Slogan Generator.)

The next few weeks are going to be both busy and emotional. That's going to be hard to get through. Granted, I'm behind in my classes, so...I have to figure out the homework. If anybody wants to give me advice for any of these assignments (Assignment #5, Assignment #6, Assignment #7, Assignment #8) I'd greatly appreciate it. Eight is most crucial because it's due soon, and I'm going to try to do the assignments that are due before I go get caught up on the old ones. At least the 202 stuff I have to do is easy in comparison, it's just managing to get brain, butt and fingers all on the same wavelength.

The worst part is that I shouldn't be struggling here. I shouldn't be having problems with this sort of stuff, and I should honestly figure out how to budget my time so I'm not killing myself at the end of the semester. I realized today that I rely on a hypomanic November to correct the mistakes from October, and that the depression's been lingering instead and there hasn't been an up rotation. Finally, today, somebody in my group made the insightful comment that maybe my stabilizer was working in damping off the high.

I need to get my act together and find a counselour this week. That might just be my best birthday present to myself.

I wish it would rain, I feel better when it rains.

I'm sorta worried about [livejournal.com profile] ratbert too. I hope whatever's bothering him resolves well.

As for me? Well, I'm hanging in there. I've been down this walk before. Calculated despair. That might just be the best term for it. The best solution for that is just walking through it, and attempting to ride it out. When caught in a riptide, your best bet is to ride it out, swim at a right angle to the current, and only worry about getting back to shore once you're out.

Of course, in the ocean, you've got the Coast Guard to come to your rescue, and there's no such thing in the emotional realm. You need to ride out the storms yourself and find your own way back to dry land...or drown trying. And I'm at that point, I've been paddling furiously, and I can't tell where dry land is. Can somebody please shine a light in the darkness?

I can't even muster some enthusiasm for Big Game Week, which usually defines my life. Whee. Sucks.

anyway, that's the state of the katster. Now back to you in the studio...

Date: 2002-11-19 02:45 pm (UTC)
From: [identity profile] hitchhiker.livejournal.com
#8 isn't too hard if you break it down into bits. #7 needs a bit of work, but should be okay, #6 is trivial, #5 you'll need to read the text for (catch me on IRC if you want help with any of them).

Not sure what you mean by advice, but here's a strategy for #8:

1. Note that the strings break into two distinct parts - daymonth and year. There's a comma separating them in some formats.
2. Breaking it into parts lets you get each part right without worrying about the others. For instance, you could refine 'date' starting with
date = "([0-9]?[0-9])" // oops - that lets in 99
date = "([0-3]?[0-9])" // still lets '39' through
date = "([0-2]?[0-9]|3[01])" // misses '00'
date = "(0?[1-9]|[12]?[0-9]|3[01])" // perfect

well, almost - we forgot the dates of the form "14th". this gets very nitpicky:

cases are 1st, 2nd, 21st, 22nd, 31st, and everything else gets a th

singledigit = "(1(?:st)?|2(?:nd)?|[3-9](?:th)?)"
lastdigit = "(1(?:st)?|2(?:nd)?|[03-9](?:th)?)"
zeros = "0?"+singledigit
tens = "1[0-9](?:th)?"
twenties = "2"+lastdigit
thirties = "30(?:th)?|31(?:st)?"
date = "("+zeros+"|"+tens+"|"+twenties+"|"+thirties+")"

and just drop the perfected 'date' into the rest of the regex.

Next, the months come in one of
(jan|feb|mar|apr....)
(Jan|Feb|....
(January|February|...)
(JANUARY|FEBRUARY|....)
etc

just define them individually, then say
month = "("+month1+"|"+month2+...+")"

Year is done for you

Weekday is optional, note, so you'd need to have a ? at the end when you add it in.

email/msg me if you want.

Note

My main blog is kept at retstak.org. I mirror posts to this Dreamwidth account, so feel free to read and comment either here or there.

November 2020

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 17th, 2026 02:30 am
Powered by Dreamwidth Studios