« first day (985 days earlier)      last day (4232 days later) » 

21:00
I don't. Well, that's a bummer.
Currently, she has this:
 Selection.Find.ClearFormatting()
        Selection.Find.Replacement.ClearFormatting()
        With Selection.Find
            .Text = "656183"
            .Replacement.Text = "001855"
            .Forward = True
            .Wrap = wdFindContinue
            .Format = False
            .MatchCase = False
            .MatchWholeWord = False
            .MatchWildcards = False
            .MatchSoundsLike = False
            .MatchAllWordForms = False
        End With
For 24 or so replacement pairs.
24.
It's like I've not taught her anything.
it is reading a textfile, doing stuff and saving a textfile?
Seems it.
She sent me the script but no file.
@KitFox betcher bottom dollar
how does she know what to replace what with?
It's a conversion from the number the vendor uses to identify the store to the internal id number.
I think I can use Replace, but I have to think about how to read the file.
21:06
string s = File.ReadAllText(filename);
if the file is huge consider foreach(var s in File.ReadLines()){...}
Oh yeah. I forgot about ReadAll.
I think I can also split on the line terminators, but I don't know what the files look like.
Doesn't matter. Point is, it is above her skill level.
I need a nap.
blows kisses
I’m not a fan of the anti-pattern of slurping in the whole file instead of iterating by line — it has a code smell to it — but sometimes that’s really the easiest way to do things. Well, for the programmer; maybe not for the box.
There seem to now be two entire generations of students coming out of ACME Computer Science School who weren’t taught there was anything wrong with this. When you see them attacking 14 gigabyte files that way — and failing miserably — you just shake your head.
21:28
Nobody expects 14 GB files.
Or even 100 MB files.
i don't think I ever met a 14 GB file
But you might one day.
yes and then I will fail one way or the other
But I think the point is that you shouldn't just assume you can open an entire file and stick its contents into RAM.
I mean, at least check the file size first. If it's small enough, go ahead. If it's beyond a threshold, start reading it a chunk at a time.
solid advice, I hedged on the row below
21:34
@Robusto I deal with 100 megabyte files a zillion times a day.
We are showered with cheap memory these days, so much so that we forget that even though we have all this RAM, certain operations are way slower when you try to deal with (what used to be) big chunks of memory.
We’re never allowed to slurp. Ever.
@tchrist I wasn't talking about you.
There’s something about handling 5-10 billion lines of data a day that breaks you of any urge to slurp in the whole file.
I would imagine.
There was a power line down on my route home. Drove by this sparking, twitching blue-eyed blacksnake hanging from the utility pole. Wish I could have snapped a picture.
21:38
Wow.
We've had Florida storms here intermittently all day.
You mean storms that are come up from Florida?
Well, or have.
I mean sudden gushers with high winds and lightning, then clearing and muggy, then more storm, then calm and hot, etc.
Unsettled weather.
Summer afternoons in the Rockies are like that every single day.
Hence the fires.
But you don't have the heavy rains that come from a large body of water being nearby.
21:43
No, these are dry-ish.
Lotta virga.
Or hail.
More shock than sop.
At one point today it was raining so hard that the sound of it on the roof of our building made it impossible to hear people talking five feet away.
That happens, though not often. It is always preceded by hail.
That's Gulf weather. That's Houston and New Orleans kinda rain. Where if you were driving you wouldn't be able to see the front of your car.
It’s when the hail is so loud you can’t hear people that it’s time to move away from the skylights.
I would think.
21:45
You get that kinda rain out on the Great Plains, too.
Biggest hail I've ever seen was the size of golf balls. That was in South Dakota.
I just parked under an overpass and watched it.
It’s not really always the size but the depth. Couple summers ago it hailed for 45 minutes, hard. Had like 10" of it on the ground. One of our squads got flooded out at an intersection. Really funny picture.
@Robusto So did the cop. :)
Good plan. It's all you can do.
Underpasses aren’t a good place in a flood situation.
It depends on the proximity of rivers, etc.
21:47
And if it’s raining that hard, you have to wonder whether the storm sewers can take it — or for how long.
You have to appreciate what a lot of empty space there is in South Dakota.
Boulder has 19 perennial streams coming down from the mountains. Any of which can flood. But the floods I’ve seen are always when storm sewers back up. Well, mostly. Sometimes a bit of river overbanking.
I’ve had two red beeping EMERGENCY messages about flash floods to my phone this past week.
I wonder if that is because of where my address is, or where the phone is at the time.
You can send some here. We're two inches under.
Do they blast it out to anyone whose address is in the zone, or anyone whose current tower is?
This is an emergency service, so it is exempt from the “don’t track me” thing.
And then there was the Rapid City flood of 1972, which happened when I was visiting a college buddy there. What a nightmare. I saw a D-9 Cat get swept away trying to build an embankment.
21:50
72, eh?
Yup.
The Rapid City flood killed 238. I was damn near one of them. It was definitely a shit-your-pants moment.
That’s bad.
> Approximately 4,000 people were in the canyon during Colorado’s centennial weekend, most of them from outside the area. For some, the only alert of the danger was by word of mouth. Telephone lines were ripped and mangled – power poles and bridges destroyed.
What was worse was the aftermath. You might not think of this right away, but one of the worst problems with floods is that there's no water you can drink. Seriously.
21:52
You couldn’t get emergency info to them today any quicker. Well, storm sirens, but visitors don’t understand those.
The canyons have no cell coverage.
> Many who tried to drive out ahead of the storm were trapped in their cars and swept to their deaths.
Our canyons now all say “In case of flood, climb to safety.”
You aren’t going to outdrive it down a snaky road.
> One legacy of the historic event can be seen in the number of signs that now dot Colorado’s mountain roads and highways: “Climb to safety” in case of flooding.
Cats.
Why were you in Rapid City?
posted on July 23, 2013

Had to post this!!

22:18
@tchrist So was your Geneva colonised from Switzerland?
Then why does it bear the English name for the city, instead of Genève?
C'est pas mal, eh?
38 mins ago, by Robusto
And then there was the Rapid City flood of 1972, which happened when I was visiting a college buddy there. What a nightmare. I saw a D-9 Cat get swept away trying to build an embankment.
@Cerberus "I'm American. Our names don't mean shit." —Butch (Bruce Willis), Pulp Fiction
For example, I live about ten miles from Berlin (pronounced BUR-lin). And 15 or 20 miles from Worcester.
22:35
But surely there is a history behind those names?
Someone thought of them.
@Cerberus No. The settlers saw Lake Geneva and Lake Como, and named them for those.
You mean "had seen"?
But OK.
No.
I meant saw.
They saw these two lakes in Wisconsin, and named them Lakes Geneva and Como.
> Originally called "Muck-Suck" (Big Foot) for a Potawatomi chief,[8] the city was later named Geneva after the town of Geneva, New York, located on Seneca Lake, to which early settler John Brink saw a resemblance. Geneva, to avoid confusion with the nearby town Geneva, Illinois, was renamed Lake Geneva; later the lake was renamed Geneva Lake. In practice both forms are used for the lake but never for the city.
And it’s named Big Foot Beach State Park, not Muck Suck Beach State Park.
I have no idea why.
History of Lake Geneva, including horrible things done to Indians.
As always.
22:54
@tchrist Okay, then your references are borked.
Or at the very least proleptic.
Or perhaps teleleptic.
I would be surprised if they were proleptic; most Americans are circumcised.
Well ok, half of them.
TMI.
We frown on this when applied to the Other Half.
America != Africa
No idea what you're talking about. Probably don't want to know...
Female circumcision.
Did you know that Columbus landed on Puerto Rico?
If that isn’t discovering America, I don’t know what is.
Of course, you can say that Columbus didn’t discover America because it wasn’t called that yet.
But nobody will listen to you.
23:00
I don't want to know about your Puritan perversions!
Then which of our perversions would you like to know about?
We have so many to choose from.
Geek Shows were an act in traveling carnivals and circuses of early America and were often part of a larger sideshow. The Online Etymology Dictionary give the following for "geek": "sideshow freak," 1916, U.S. carnival and circus slang, perhaps a variant of geck "a fool, dupe, simpleton" (1510s), apparently from Low Ger. geck, from an imitative verb found in North Sea Germanic and Scandinavian meaning "to croak, cackle," and also "to mock, cheat." The modern form and the popular use with reference to circus sideshow "wild men" is from 1946, in William Lindsay Gresham's novel Nightmare ...
None.
We have enough of those at home.
Snake handling or serpent handling is a religious ritual in a small number of Pentecostal churches in the U.S., usually characterized as rural and part of the Holiness movement. The practice began in the early 20th century in Appalachia. The practice plays only a small part of the church service of churches that practice snake handling. Practitioners believe serpent handling dates to antiquity and quote the Gospel of Mark and the Gospel of Luke to support the practice: And these signs shall follow them that believe: In my name shall they cast out devils; they shall speak with new tongue...
Aw come on, I’m just getting warmed up!
Wait till I tell you about the Y.
I wonder what effect the migration of Puritans had on your genetic pool...
Nah, it's probably mainly cultural.
I love it when Kit runs my flags.
23:20
Damn.
Is everyone grooving on that or did I kill the chat again?
23:46
straighten up and fly right ... straighten up and stay right ... straighten up and fly right ... cool down, papa, don't you blow your top!
23:57
@MετάEd What? What did I do this time?
@KitFox You did good.
So what's your avatar?
"One small step for [a] man"
it was just the anniversary of the Apollo 11 landing.
That was three days ago.
Right! Good on ya.
I don't have another avataversary until late August :-(
23:58
Get with the times! You should be celebrating my ex-sister-in-law's birthday.
Or my dad's birthday, which is on the 27th.
And that will be August 18, Bad Poetry Day.
Hahaha
And also my sister's birthday.
Tesla's birthday is sometime around now.

« first day (985 days earlier)      last day (4232 days later) »