mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2009-05-26, 19:05   #12
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

5,987 Posts
Cool

Your wish, my command:

Code:
scr_meta=<><![CDATA[
// ==UserScript==
// @name           Mersenne cleanmouth
// @description    Censor a certain bad word from the Mersenne forums.
// @include        http://www.mersenneforum.org/*
// ==/UserScript==
]]></>.toString();

badWord = new RegExp('\\bparadigms?\\b', 'gi');
var posts = document.evaluate("//td[@class='alt1']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < posts.snapshotLength; i++) {
    var par = posts.snapshotItem(i);
    var txt = par.innerHTML;
    if (txt.match(badWord))
	    par.innerHTML = txt.replace(badWord, '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAZCAYAAABzVH1EAAALRklEQVR4XpWXd3BU1xnFHxjFYZI/yNiTOJNkxo6xhIRWBbWVdtUMoglRhAGJLpCE6W1MbxbY4ELv1dReXBC9mGJ6MdiYbnoztYQqpPvl+93wCMngzOTNXL3V7tuvnO+cc+86MWX8ce6KfoXli4v9rd8f5fg84U5cWHpInQZhf42YFPiXCvc8fw+TiMBKJuztcPG8FXYzprx3RlQ5b0ZqQA1PhBMfHvOqz6dxiOHGjI8u4wvV+x91Jf4rj+9fn//GnxBT2h8T4kRVqP5mRpr3bd+AwD8HHQt5M1Qi3omUcF2hb3lKosrHrIt+Iy436XdVo6Mcf3BUQEJCTIDf6+Zwl/NrV1LlxKhKUZFzQz2hkpKaIjmtciQvP890695VCgYXmLbt2krN9JoSFhH2D0+4Z2pSWmKg839eYbVCyib4EwYHhwRf9sZ7JSu7keS3yTftO7Q3AwcNND169pDM9zIlNi5WtI51kdGRdX81WHQZfylWakiVV9wEMTExIytWrCi1a9eWEcNHlCxZvOTphg0bzOpVq+Xbbzeb7777Tnbv3m3Wr1//dMGCBdKkSVOJjIyUoMCgUW4MX/mkV2Js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fet53H+CZNnaX3o/xmGAAAAAElFTkSuQmCC" alt="****">');
}

Last fiddled with by CRGreathouse on 2009-05-26 at 19:26
CRGreathouse is offline   Reply With Quote
Old 2009-05-26, 19:27   #13
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

2·32·653 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Your wish, my command. But that's a big image to put inline!
The paradigm.png should really be shrunk to something like a 64(wide) x 32(high) bitmap first - perhaps the fact that's it's essentially a grayscale image could be used to further reduce the required bandwidth. For something as clearly important as this, no optimization expense should be spared.

Once we've got suitable image-downsizing and compression, then all we need is click/drag/drop capability, so users can effect their own "paradigm shift". Then just license the technology to Google (or the highest non-evil bidder) and we can all retire rich and live out our days in a state of indolence, dissipation and decadent whimsy.

Last fiddled with by ewmayer on 2009-05-26 at 19:27
ewmayer is offline   Reply With Quote
Old 2009-05-26, 19:29   #14
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

5,987 Posts
Default

Quote:
Originally Posted by ewmayer View Post
The paradigm.png should really be shrunk to something like a 64(wide) x 32(high) bitmap first - perhaps the fact that's it's essentially a grayscale image could be used to further reduce the required bandwidth. For something as clearly important as this, no optimization expense should be spared.
You caught me between edits. I shrank it to 50 x 25 and inlined it.
CRGreathouse is offline   Reply With Quote
Old 2009-05-26, 19:55   #15
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

2·32·653 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
You caught me between edits. I shrank it to 50 x 25 and inlined it.
Yudaman, Charles! Xyzzy, any chance of getting this crucial anti-pop-metaphor-abuse patch applied to the forum soon? We will know it is active when the following offensive term is replaced by a soothing, reassuring stereographic image of FDR:

paradigm
ewmayer is offline   Reply With Quote
Old 2009-05-26, 20:29   #16
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

5,987 Posts
Smile

If you're using Firefox, you can download Greasemonkey
https://addons.mozilla.org/firefox/addon/748
(click "Add to Firefox") and install it yourself:
http://userscripts.org/scripts/review/50130
(click "Install").
Attached Thumbnails
Click image for larger version

Name:	ss.png
Views:	132
Size:	18.3 KB
ID:	3704  
CRGreathouse is offline   Reply With Quote
Old 2009-05-28, 01:02   #17
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

2·17·251 Posts
Default

Xyzzy is offline   Reply With Quote
Old 2009-05-28, 09:13   #18
johnmcauley
 
Apr 2009
Dublin, Ireland

416 Posts
Default

Understood, leave paradigms to Kuhn. What do you think of the project though, is it something that might be of interest or benefit to the group?
johnmcauley is offline   Reply With Quote
Old 2009-05-28, 12:43   #19
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

176316 Posts
Default

Quote:
Originally Posted by johnmcauley View Post
What do you think of the project though, is it something that might be of interest or benefit to the group?
All joking aside (hope you took no offense!), I think it's a great project. I'm very interested to see how it turns out. But I can't say I really understand what it will say (or what you hope it will say) on completion.
CRGreathouse is offline   Reply With Quote
Old 2009-05-28, 13:49   #20
johnmcauley
 
Apr 2009
Dublin, Ireland

48 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
All joking aside (hope you took no offense!), I think it's a great project. I'm very interested to see how it turns out. But I can't say I really understand what it will say (or what you hope it will say) on completion.
That's a good point. There has been some work carried out in this sort of area before. Judith Donath in MIT and Fernanda B. Viégas (http://www.research.ibm.com/visual/publications.html) who is now in IBM have both developed visualisations of community based content. The first is on community discussion forums and the second is on Wikipedia. At the same time there has been some work done on improving the communication model of CMC (if you think, that is, it needs improving). Social translucent systems have attempted to recreate the effects of physical face-to-face communication by increasing awareness and accountability (http://www.pliant.org/personal/Tom_E...tructures.html). Microsoft labs have also used social network analysis to develop a more thorough understanding of Usenet group structure. However, this information is not presented back to the community (http://www.hicss.hawaii.edu/HICSS39/...M/03-03-08.pdf). I think it is more interesting to develop interfaces that allow the group, community or even a particular discussion thread to reflect collectively on the community process. I think there are two ways to approach this initially. The first is based on social network analysis but provides more recent data back to the users. Naturally this approach is restricted by the speed at which the algorithms can churn through the data and by the fact that the visualisation process must be automated. The second is to draw some correlation between activity and content, and to produce visualisations that expose this correlation to the community at large.
johnmcauley is offline   Reply With Quote
Old 2009-05-28, 14:37   #21
Orgasmic Troll
Cranksta Rap Ayatollah
 
Orgasmic Troll's Avatar
 
Jul 2003

641 Posts
Default

Quote:
Originally Posted by ewmayer View Post
...and we can all retire rich and live out our days in a state of indolence, dissipation and decadent whimsy.
I was with you until I realized that the last word did not say whisky (or whiskey)
Orgasmic Troll is offline   Reply With Quote
Old 2009-05-28, 15:16   #22
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

2·32·653 Posts
Default

Quote:
Originally Posted by Orgasmic Troll View Post
I was with you until I realized that the last word did not say whisky (or whiskey)
Fear not - That falls under the "dissipation" heading.

In any event, I'll be interested to see what comes of the project. I fear I'm rather out of touch with modern social-networking/twitter/text-messaging culture - I distinctly recall my shock last week when I heard a statistic from a reputable study to the effect that the average American teenager now sends 80 text messages PER DAY. My fear is that with all that chatter, there may be less and less meaningful communication going on.

Heck, most of my friends (including the ones over 30) think I'm "way out" for using my browser in text-only mode.
ewmayer is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
CLOCK_WATCHDOG_TIMEOUT (101) analysis TObject Software 4 2013-02-05 23:53
Dimensional analysis davieddy Puzzles 9 2011-08-02 09:59
Social Security Number Unregistered Information & Answers 6 2008-10-27 08:44
Analysis puzzle Kees Puzzles 19 2007-04-12 14:47
mersenne analysis troels munkner Miscellaneous Math 2 2006-07-17 03:18

All times are UTC. The time now is 15:09.


Wed Nov 30 15:09:40 UTC 2022 up 104 days, 12:38, 1 user, load averages: 2.00, 1.41, 1.26

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔