Re: He Can Be Helpful

1

It crashed my browser. I am not kidding.

The script looks harmless enough, so it may be a bug in the Greasemonkey extension, possibly a conflict with Adblock.


Posted by: Standpipe Bridgeplate | Link to this comment | 06- 6-05 11:19 AM
horizontal rule
2

Well it didn't crash mine, and I can only test so much, you know?


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 11:20 AM
horizontal rule
3

I guess it might be w-lfs-n's way of taking over the world. He failed to mention that.


Posted by: ogged | Link to this comment | 06- 6-05 11:20 AM
horizontal rule
4

First the web browsers of a subset of unfogged readers, tomorrow the Sudetenland!


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 11:22 AM
horizontal rule
5

So, on my browser (IE whatever) there's another post below this with the update, but when I try to leave a snarky comment on it ("Now if only he can write a script to prevent double posts") it says "No such entry." Is this a snark-blocker?


Posted by: Matt Weiner | Link to this comment | 06- 6-05 11:24 AM
horizontal rule
6

Double posted; that one's deleted, site is being rebuilt, which takes a couple of minutes.


Posted by: ogged | Link to this comment | 06- 6-05 11:25 AM
horizontal rule
7

I saw it too, and now it is gone. Bye-bye, updated post.


Posted by: Standpipe Bridgeplate | Link to this comment | 06- 6-05 11:26 AM
horizontal rule
8

The update is also deleted, unless there's another rebuild in progress.

All this reminds me of a bit from To Say Nothing of the Dog, though to say which bit would spoil the plot. God, I suck, I shouldn't post this at all.


Posted by: Matt Weiner | Link to this comment | 06- 6-05 11:27 AM
horizontal rule
9

I object to the tone of the update. A crashed browser isn't the worst thing in the world.


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 11:54 AM
horizontal rule
10

I note that I use FF, but not Ben's script (or Greasemonkey), and w-lfs-n still made my browser crash just now.


Posted by: SomeCallMeTim | Link to this comment | 06- 6-05 12:57 PM
horizontal rule
11

Seriously: did anyone else try it, and did it fail for them too? Because this version works a lot better.


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 1:12 PM
horizontal rule
12

Wait, how does the second one work? What if I change the stylesheets?


Posted by: ogged | Link to this comment | 06- 6-05 1:16 PM
horizontal rule
13

It's not the stylesheets but the structure of the page you'd need to change. It works by selecting all of the comment divs on the page (identified by having the class "blogbody") that have as sub-tags an anchor whose inner text contains "ogged", and then changing the style so that they don't display.


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 1:19 PM
horizontal rule
14

When I went looking for your photo, w-lfs-n, I came across a number of posts on Python forums. These posts, IIRC, included questions. Now that I know you are not all knowing, I'm unwilling to be one of your test monkeys.


Posted by: SomeCallMeTim | Link to this comment | 06- 6-05 1:20 PM
horizontal rule
15

You think that's funny, don't you Ben?

By "change the stylesheets" I meant "change the names of tags in the stylesheets." Which would be easy to do, and would break your code.


Posted by: ogged | Link to this comment | 06- 6-05 1:24 PM
horizontal rule
16

SCMT: Since ogged basically told you how to get to my photo, I'm surprised you had to go looking for it.

But not too surprised.


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 1:24 PM
horizontal rule
17

The stylesheets are the files that end in "css". You would have to change the generated html too.

But it's true, that would break it. But not irrevocably. I can already envision another way to do it that would be based on the way comments are credited

But it was really just a learning exercise.


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 1:27 PM
horizontal rule
18

You're like, genuinely pedantic, aren't you? If I change the tags in the stylesheets, I'd also have to change the tags in the template that's used to generate the html.


Posted by: ogged | Link to this comment | 06- 6-05 1:29 PM
horizontal rule
19

w-lfs-n:

Build a script that plays an audio file of Colonel Klink saying, "w-lfs-n!" for moments when you zing me like that.


Posted by: SomeCallMeTim | Link to this comment | 06- 6-05 1:31 PM
horizontal rule
20

Yes, you would have to do so if you wanted things to work. But you wouldn't do so by changing the stylesheets (unless you have some sooper-k3wl stylesheet editor, I guess).


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 1:32 PM
horizontal rule
21

Of course, only an idiot would change the stylesheet and not change the template, which is why (the implication that your interlocutor is an idiot) people get annoyed by pedantry. Not that I want to shut down the blog or anything.


Posted by: ogged | Link to this comment | 06- 6-05 1:48 PM
horizontal rule
22

You're right, of course. It's not as if you're, say, SCMT.


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 1:50 PM
horizontal rule
23

Ogged, there's no need to explain to us how pedantry works. What do you take us for?


Posted by: Standpipe Bridgeplate | Link to this comment | 06- 6-05 1:51 PM
horizontal rule
24

Everybody is banned!


Posted by: apostropher | Link to this comment | 06- 6-05 1:52 PM
horizontal rule
25

Ommmm.


Posted by: ogged | Link to this comment | 06- 6-05 1:52 PM
horizontal rule
26

Build a script that plays an audio file of Colonel Klink saying, "w-lfs-n!" for moments when you zing me like that.

I like this immensely. If only we could all come up with absurd punishments for those who have annoyed us, and then expect to see them carried out. "Jim, your backseat driving has irked me too long! I'd like you to go into a stall in a very public restroom with lots of traffic, smear a hershey's bar across your face, flush the toilet, and emerge, whistling obliviously. Exit without washing your hands."


Posted by: Chopper | Link to this comment | 06- 6-05 1:55 PM
horizontal rule
27

Chopper, where the hell did that come from? No, don't tell me.

I like the Klink idea; I even like it better than my Klink idea.


Posted by: ogged | Link to this comment | 06- 6-05 1:58 PM
horizontal rule
28

I think you have a promising career as a Vegas stage hypnotist, Chopper.


Posted by: apostropher | Link to this comment | 06- 6-05 2:00 PM
horizontal rule
29

Sorry. I'm climbing the walls waiting on phone calls. It could be a long week.


Posted by: Chopper | Link to this comment | 06- 6-05 2:01 PM
horizontal rule
30

That's awesome, apo. I saw, what's his name? Tom DeLuca? many years ago, and wondered about raunchier possibilities. Must be very funny.


Posted by: ogged | Link to this comment | 06- 6-05 2:05 PM
horizontal rule
31

That doesn't answer my question, Chop, but that was as per my request.


Posted by: ogged | Link to this comment | 06- 6-05 2:07 PM
horizontal rule
32

Aaargh, Chop, that sucks. Big-time. Hope you get one soon. Try to stay drunk till then.


Posted by: Matt Weiner | Link to this comment | 06- 6-05 2:08 PM
horizontal rule
33

ogged: I did try to answer your request by not directly answering your question. I'm a bit punchy today, hence the ramped up grossitude of pretty much every comment I've made.

Matt: Actually, I guess it's good stress. I'm interviewing for multiple jobs, and I'm trying to time everything correctly so that I don't overcommit before all options are suitably explored, while at the same time being sure to know when the time to take the jump is (at a certain point, you just ahve to commit, no looking back). There's a lot of juggling going on, both inside my head and out.


Posted by: Chopper | Link to this comment | 06- 6-05 2:19 PM
horizontal rule
34

wondered about raunchier possibilities

It's a growth industry.


Posted by: apostropher | Link to this comment | 06- 6-05 2:43 PM
horizontal rule
35

ben - i installed it and it works. good on you, etc.

also, mysteriously, some of the horizontal lines separating comments have become double, and in chopper's case, triple. this is peculiar.

(is trying to figure out the rhyme and reason underlying this particular phenomenon...)


Posted by: silvana | Link to this comment | 06- 6-05 2:50 PM
horizontal rule
36

Heh. Uninstall that one and use the one linked in the main post.

(The second one removes all of ogged's comments but retains the horizontal lines.)


Posted by: ben w-lfs-n | Link to this comment | 06- 6-05 2:54 PM
horizontal rule
37

i was entertaining all sorts of theories such as primes, fibonacci sequences, none of which, i am afraid to say, panned out.

occam's razor, etc.


Posted by: silvana | Link to this comment | 06- 6-05 2:57 PM
horizontal rule
38

Are you guys flirting?


Posted by: Chopper | Link to this comment | 06- 6-05 3:00 PM
horizontal rule
39

i think w-lfs-n was flirting with ogged. the old i-kick-you-because-i-like-you routine evolves, with age, and programming training, into mischievous greasemonkey scripts.


Posted by: silvana | Link to this comment | 06- 6-05 3:43 PM
horizontal rule
40

apo,

do you despair as much as i do? things are looking grim.

snees


Posted by: peter snees | Link to this comment | 06- 6-05 4:56 PM
horizontal rule
41

Why do you despair?


Posted by: Standpipe Bridgeplate | Link to this comment | 06- 6-05 5:09 PM
horizontal rule
42

Despair? I don't know so much about despair. I am awfully disappointed in a large chunk of my fellow citizens, who I really thought were better and smarter people than they are.


Posted by: apostropher | Link to this comment | 06- 6-05 8:02 PM
horizontal rule