Sponsored Content
The Lounge What is on Your Mind? Announcement: New Discourse Site to Go Live this Weekend Post 303045452 by Neo on Tuesday 24th of March 2020 10:19:36 PM
Old 03-24-2020
On another note:

I have had a few people comment about converting new site to www.unix.com versus community.unix.com, so let me remind everyone:

This site has over 200K man pages and none of the man pages migrate to the new forum (anytime soon, we may write a plugin for this sometime in the future, however).

So, this site has a lot of reference material which is very important, including man pages and code.

In some instance, the migration of legacy posts with code from here to discourse has results in instances of "code mangling" where, for example, the original vB4 to Discourse migration script changed new lines chars "\n" to hard line breaks in code fragements.

Our moderator (and Poster of the Year 2019 as well), Scrutinizer is working on perfecting this Ruby script and when he is done; we will test this on a staging site and then update all the posts on the new site.

Even when the new site reaches "perfection" (or 99.9..., whatever that means), this site has a tremendous amount of important reference material (man pages, original code, etc).

So, eventually we will turn this site into a reference site and keep the reference site available. However, this "conversion to a reference site" is going to happen slower than we originally thought because of some parsing errors we found (we can all thank Scrutinizer for this, looking carefully at code) in the original Discourse Ruby vbulletin.rb script.

Frankly, after working 14 days in a row, 12 hours a day, on this migration, I was disappointed to learn of the errors in the original vbulletin.rb script; but I'm glad we found them and we all owe a debt of gratitude to Scrutinizer for working on modifying the preprocessing routine of the original Discourse vbulletin.rb migration script.

Thank you Scrutinizer!!

Regarding updating the posts:

After we have fully tested the new preprocessing routine on a staging site, we will update the posts on the discourse site. Discourse keeps both the raw (preprocessed) and cooked (post-processed) text for each post in the DB. We will update the raw posts and recook them when it is time to do the rebaking.

Because of this hard line break issue for the "\n" char in code fragments, Scrutinizer is looking at more enhancements to preprocessing at the same time.
 

5 More Discussions You Might Find Interesting

1. Web Development

Setting up Development and Live web site environment

Hi, I am fairly new to unix so please go easy on me.. I have a VPS on which I would like to setup a development and live web site environment and can't seem to work out what is the best technique for doing so. I would like to be able to mirror the live site and have a "check out" and... (0 Replies)
Discussion started by: ciantrius
0 Replies

2. IP Networking

How to establish site to site vpn - Linux machine and cisco asa?

Hi, I am trying to establish vpn between my linux server and cisco asa at client side. I installed openswan on my cent os. Linux Server eth0 - 182.2.29.10 Gateway - 182.2.29.1 eth1 - 192.9.200.75 I have simple IPtables Like WAN="eth0" LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies

3. IP Networking

Does cisco 1921 router support site to site VPNs using IPSec?

Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? " A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Discussion started by: Ayaerlee
0 Replies

4. IP Networking

IPSec Openswan Site to Site VPN - Big Pain

Hi @all, I try to connect 2 LANs with IPSec/Openswan LAN 1: 192.168.0.0/24 LAN 2: 192.168.1.0/24 This is my Config: conn HomeVPN # # Left security gateway, subnet behind it, nexthop toward right. left=192.168.1.29 ... (1 Reply)
Discussion started by: bahnhasser83
1 Replies

5. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
TFBS::SiteSet(3pm)					User Contributed Perl Documentation					TFBS::SiteSet(3pm)

NAME
TFBS::SiteSet - a set of TFBS::Site objects SYNOPSIS
my $site_set = TFBS::SiteSet->new(@list_of_site_objects); # add a TFBS::Site object to set: $site_set->add_site($site_obj); # append another TFBS::SiteSet contents: $site_pair_set->add_site_set($site_obj); # create an iterator: my $it = $site_set->Iterator(-sort_by => 'start'); DESCRIPTION
TFBS::SiteSet is an aggregate class that contains a collection of TFBS::Site objects. It can be created anew and filled with TFBS::Site object. It is also returned by search_seq() method call of some TFBS::PatternI subclasses (e.g. TFBS::Matrix::PWM). FEEDBACK
Please send bug reports and other comments to the author. AUTHOR - Boris Lenhard Boris Lenhard <Boris.Lenhard@cgb.ki.se> APPENDIX
The rest of the documentation details each of the object methods. Internal methods are preceded with an underscore. add_site Title : add_site Usage : $siteset->add_site($site_object) $siteset->add_site(@list_of_site_objects) Function: adds TFBS::Site objects to an existing TFBS::SiteSet object Returns : $sitepair object (usually ignored) Args : A list of TFBS::Site objects to add add_site_set Title : add_site_set Usage : $siteset->add_site_set($site_set_object) $siteset->add_site(@list_of_site_set_objects) Function: adds the contents of other TFBS::SiteSet objects to an existing TFBS::SiteSet object Returns : $siteset object (usually ignored) Args : A list of TFBS::SiteSet objects whose contents should be added to $siteset size Title : size Usage : my $size = $siteset->size() Function: returns a number of TFBS::Site objects contained in the set Returns : a scalar (integer) Args : none Iterator Title : Iterator Usage : my $siteset_iterator = $siteset->Iterator(-sort_by =>'start'); while (my $site = $siteset_iterator->next) { # do whatever you want with individual matrix objects } Function: Returns an iterator object that can be used to go through all members of the set (TFBS::Site objects) Returns : an iterator object (currently undocumentened in TFBS - but understands the 'next' method) Args : -sort_by # optional - currently it accepts # (default sort order in parenthetse) # 'name' (pattern name, alphabetically) # 'ID' (pattern/matrix ID, alphabetically) # 'start' (site start in sequence, # numerically,increasing order) # 'end' (site end in sequence, # numerically, increasing order) # 'score' (numerically, decreasing order) -reverse # optional - reverses the default sorting order if true GFF Title : GFF Usage : print $siteset->GFF(); : print $siteset->GFF($gff_formatter) Function: returns a "standard" multiline GFF string Returns : a string (multiline, newline terminated) Args : a $gff_formatter function reference (optional) perl v5.14.2 2008-01-24 TFBS::SiteSet(3pm)
All times are GMT -4. The time now is 12:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy