CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Wiki (https://www.cfd-online.com/Forums/openfoam/60855-wiki.html)

gschaider February 26, 2012 16:28

Quote:

Originally Posted by wyldckat (Post 346353)
Hi Bernhard,


I think it happened again :( Haven't been able to access the wiki since last night.

edit: maybe there is some sort of memory leak brought on by the addons that exist since you upgraded the wiki. You know, Facebook and company...

Best regards,
Bruno

Thanks for the notification. Server is up again.

@your suspicion: No. That is only some JavaScript-scripts. So it puts the load onto the client (doesn't bother the servers database and has only minimal impact on PHP)

The last time this kept happening was when somebody uploaded a movie of a simulation that was an animated gif and the server choked when he tried to produce a preview thumbnail of that .

gschaider February 26, 2012 16:54

Quote:

Originally Posted by gschaider (Post 346368)
Thanks for the notification. Server is up again.

@your suspicion: No. That is only some JavaScript-scripts. So it puts the load onto the client (doesn't bother the servers database and has only minimal impact on PHP)

The last time this kept happening was when somebody uploaded a movie of a simulation that was an animated gif and the server choked when he tried to produce a preview thumbnail of that .

@Bruno: I'd like to blame Facebook as much as the next guy, but here are the facts: the last things in the logs of the web before the crash are: a small PNG being downloaded and .... <drumroll> your test-page being indexed by Bing: you've got anything to say in your defense? ;) (Seriously: I don't think that's the problem, but the coincidence was too good to pass by)

wyldckat February 27, 2012 04:53

Quote:

Originally Posted by gschaider (Post 346369)
@Bruno: I'd like to blame Facebook as much as the next guy, but here are the facts: the last things in the logs of the web before the crash are: a small PNG being downloaded and .... <drumroll> your test-page being indexed by Bing: you've got anything to say in your defense? ;) (Seriously: I don't think that's the problem, but the coincidence was too good to pass by)

:eek: Yes, I do have something to say in my defense: Microsoft's Bing is doing offensive DDOS attacks :D eheheh... better yet, doing "Bing" attacks...

Mmm... the excessive usage of templates on the test page could overload the server? But the PNG files aren't very big and I think they are pre-cached (ready to use after upload), aren't they?

gschaider February 27, 2012 14:44

Quote:

Originally Posted by wyldckat (Post 346427)
:eek: Yes, I do have something to say in my defense: Microsoft's Bing is doing offensive DDOS attacks :D eheheh... better yet, doing "Bing" attacks...

Mmm... the excessive usage of templates on the test page could overload the server? But the PNG files aren't very big and I think they are pre-cached (ready to use after upload), aren't they?

No. The Mediawiki-software is rather good in that respect (considering that it is written in PHP). I think you have to put a lot more work into your Testpage to make it the reason that breaks the server ... I think it is just a coincidence (and to be honest: your page and the actual problem are a few minutes before the problem)

ngj March 26, 2012 16:08

Hi Bernhard and Bruno

I have a small editing question for the wiki. I am trying to get a 'hide/show' functionality to work, since I have a lot of information, which the reader can happily ignore until it is needed.

I have tried to follow some guides for the MediaWiki software, however, I cannot get the pages to be displayed correctly. Is this functionality activated at all on openfoamwiki? If yes, could you please give me a hint on how to get it working.

Thanks :)

/ Niels

gschaider March 26, 2012 17:06

Quote:

Originally Posted by ngj (Post 351588)
Hi Bernhard and Bruno

I have a small editing question for the wiki. I am trying to get a 'hide/show' functionality to work, since I have a lot of information, which the reader can happily ignore until it is needed.

I have tried to follow some guides for the MediaWiki software, however, I cannot get the pages to be displayed correctly. Is this functionality activated at all on openfoamwiki? If yes, could you please give me a hint on how to get it working.

Thanks :)

/ Niels

I wasn't aware of such a hide/show-capability and asking King Google just came back with some extensions but nothing built in (which doesn't mean it doesn't exist. It only means I'm lazy). Have you got a some reference that gave you the idea (either piece of doku or some other Wiki that has this functionality)? Then I can have a look what is needed (extension, setting) to implement this capability

ngj March 27, 2012 01:41

Good morning :)

Actually, I got the idea from the TOC on several different wikis, where you can hide it. I have tried finding one of those MediaWiki-pages I found many month ago, which uses the functionality elsewhere on the page, however, unsuccessful. The following link describes (one) extension to include such show/hide:

http://www.mediawiki.org/wiki/Extension:ShowHide

Lazy, no, just obeying the KISS-rule :o)

Thanks,

Niels

gschaider March 27, 2012 14:51

Quote:

Originally Posted by ngj (Post 351637)
Good morning :)

Actually, I got the idea from the TOC on several different wikis, where you can hide it. I have tried finding one of those MediaWiki-pages I found many month ago, which uses the functionality elsewhere on the page, however, unsuccessful. The following link describes (one) extension to include such show/hide:

http://www.mediawiki.org/wiki/Extension:ShowHide

Lazy, no, just obeying the KISS-rule :o)

Thanks,

Niels

OK. That was one of the first things I found when googling. What scared me away was "Release status: unknown" and the lack of a maintainer. But it seems simple enough so I think I can copy paste it (if it fails during an update I will remove it - I don't speak JavaScript and PHP for religious reasons). Will do that tomorrow

ngj March 28, 2012 03:27

Thanks! I will give it a try tonight.

/ Niels

gschaider March 28, 2012 07:27

Quote:

Originally Posted by ngj (Post 351867)
Thanks! I will give it a try tonight.

/ Niels

I installed it and got an internal error when I tried the example. Seems that it stopped working a long time ago:
http://www.mediawiki.org/wiki/Extension_talk:ShowHide
(and I refuse to search errors in the PHP-code)

It is disabled now. Next candidate please

ngj March 28, 2012 09:17

Yes, here is a more official candidate (MediaWiki before v. 1.18):

http://www.mediawiki.org/wiki/Manual...sible_elements

also described here, but for version 1.18:

http://svn.wikimedia.org/viewvc/medi...js?view=markup

/ Niels

gschaider March 28, 2012 16:32

Quote:

Originally Posted by ngj (Post 351932)
Yes, here is a more official candidate (MediaWiki before v. 1.18):

http://www.mediawiki.org/wiki/Manual...sible_elements

also described here, but for version 1.18:

http://svn.wikimedia.org/viewvc/medi...js?view=markup

/ Niels

The Wiki-software is 1.18 so it should come with all this ResourceLiader-stuff. I couldn't get it to work as described in the docu. Will have a closer look tomorrow

ngj March 29, 2012 02:44

Me neither, the tutorials does everything they should, except collapse the text.

Your help is appreciated :)

Niels

gschaider April 1, 2012 05:16

New Design of the Wiki
 
To mark this very special day I'm giving everyone interested a preview on the new design of the openfoamwiki.net: http://tinyurl.com/7g3t9ax

The purpose of this design is it to make the Wiki appeal to a new, younger audience. Other designs that were decided against (but I'm putting these for discussion, too) were focussing more on the openSource-ascpect (http://tinyurl.com/7fshu45 - the verdict was "too geeky") and to raise interest of female researchers (http://tinyurl.com/7knmqnh - for some reasons this one didn't test positive with the group in question. We think it's the colours)

The design will be made active in the next days (there are some Flash-games we want to add)

Bernhard

wyldckat April 7, 2012 08:03

openfoamwiki.net seems to be down again :(
I wonder if it's due to some automatic backup or cache cleaning system...

gschaider April 7, 2012 11:34

Quote:

Originally Posted by wyldckat (Post 353580)
openfoamwiki.net seems to be down again :(

... and up again. Exercise is good for the health

Quote:

Originally Posted by wyldckat (Post 353580)
I wonder if it's due to some automatic backup or cache cleaning system...

No. It's not correlated to any activity. For some reason it always runs out of memory

lovecraft22 April 7, 2012 13:13

Quote:

Originally Posted by gschaider (Post 353609)
For some reason it always runs out of memory

Had the same problem on my site…and it was most likely caused by the google bot… had to move to a VPS to solve it…

gschaider June 21, 2012 12:17

Wiki currently not available under the regular address
 
Due to an administrative hickup (my fault) the Wiki is currently not available under its real address openfoamwiki.net. As a workaround it can be reached under this address: http://openfoamwiki.ice-sf.at/index.php/Main_Page

Don't bookmark this address it is only as a temporary workaround. I'd also like to stress that the content is in no way associated with the owner of that domain. It was just the fastest way to make this content available to the public again

Operations on http://openfoamwiki.net will continue as soon as possible

gschaider June 26, 2012 07:59

Quote:

Originally Posted by gschaider (Post 367694)
Due to an administrative hickup (my fault) the Wiki is currently not available under its real address openfoamwiki.net. As a workaround it can be reached under this address: http://openfoamwiki.ice-sf.at/index.php/Main_Page

Don't bookmark this address it is only as a temporary workaround. I'd also like to stress that the content is in no way associated with the owner of that domain. It was just the fastest way to make this content available to the public again

Operations on http://openfoamwiki.net will continue as soon as possible

The Wiki is available again on the regular address. Sorry for the trouble

wyldckat August 2, 2012 17:08

Hi Bernhard,

About the problem with the spammer registrations - have you thought/checked the option of using something similar to this: http://www.paraview.org/Wiki/Special:RequestAccount !?

As for the emails for confirmation, maybe it's due to something similar to this: http://www.cfd-online.com/Forums/sit...tml#post303417 post #6

Best regards,
Bruno


All times are GMT -4. The time now is 11:46.