Article View: rocksolid.nodes.announce
Article #372Re: full text search in rslight
From: Retro Guy
Date: Fri, 05 Mar 2021 09:22
Date: Fri, 05 Mar 2021 09:22
95 lines
5495 bytes
5495 bytes
This is a simple result from a search. Still doing this in a separate script.
I searched 'vichan AND fudforum' in 100 articles in rocksolid.nodes, which took 4.7 milliseconds on my slow vm. The specific results in each snippet are highlighted when results are returned <b></b>. Then below this, I searched 'vichan OR fudforum':
Message-ID: <d0f272eee501dba7d282ed580fe0da6c$1@www.novabbs.com>
Subject: vichan and rslight
-----
Now that def is close to having <b>vichan</b> working independent of rslight (if desired), I'm really looking forward to seeing both interfaces implemented.
Once ready, I'd like to deploy a <b>vichan</b> site on my end also, maybe in tor. Since I have now completely dropped <b>fudforum</b>, I'd...
--------------------------------
Message-ID: <n.1268.460pfw@anon.com>
Subject: sqllite, huh =?UTF-8?B?Pw==?=
-----
that sounds just lovely. Correct database setup is one more unpleasant parts, although I have to say it was very easy with <b>vichan</b> (not so much with <b>fudforum</b>). But if it is all handled inside your code, that should reduce this problem to zero.
cheers
trw
--------------------------------
Message-ID: <n.1272.3j5yok@anon.com>
Subject: Re: sqlite, huh =?UTF-8?B?Pw==?=
-----
..For both <b>fudforum</b> and <b>vichan</b> I did some research also on this, but could not find anything that would suggest that unsafe procedures were used.
So if the code is very similar between rslight and <b>vichan</b>, maybe this could be interesting to look at (I mean, maybe I can switch...
--------------------------------
Search for 'vichan OR fudforum':
Message-ID: <d0f272eee501dba7d282ed580fe0da6c$1@www.novabbs.com>
Subject: vichan and rslight
-----
Now that def is close to having <b>vichan</b> working independent of rslight (if desired), I'm really looking forward to seeing both interfaces implemented.
Once ready, I'd like to deploy a <b>vichan</b> site on my end also, maybe in tor. Since I have now completely dropped <b>fudforum</b>, I'd...
--------------------------------
Message-ID: <n.1268.460pfw@anon.com>
Subject: sqllite, huh =?UTF-8?B?Pw==?=
-----
that sounds just lovely. Correct database setup is one more unpleasant parts, although I have to say it was very easy with <b>vichan</b> (not so much with <b>fudforum</b>). But if it is all handled inside your code, that should reduce this problem to zero.
cheers
trw
--------------------------------
Message-ID: <20201216161452.5f1fb78a@desktop14.dt>
Subject: Re: sqllite, huh ?
-----
..It's the same in <b>vichan</b>, that's where you see statements like:
$query = prepare("INSERT INTO ``search_queries`` VALUES
(:ip, :time, :query)");
Then the variables are inserted into the placeholders with bindvalue.
data should be sanitized for use using this step.
Both <b>vichan</b> and rslight use PDO so the...
--------------------------------
Message-ID: <af47f5c0e519077aa6b86daf82701cd1@def4>
Subject: Re: vichan and rslight
-----
..if the <b>vichan</b> surface is accepted well, i could also think about dropping it. on the other hand, def3 is the node with the most visitors by far on my end, so people really seem to like this forum style. let's see.
btw if you roll out <b>vichan</b> as...
--------------------------------
Message-ID: <bde362c847086d7194b65713c57ce9cc@def4>
Subject: Re: rate limiting in rslight
-----
..I have not used sessions in any of my own php code, but <b>fudforum</b> does of course (in the adapted version the session token is embedded in the links, so that the resulting GET string contains the token).
--------------------------------
Message-ID: <n.245.21rwrv@anon.com>
Subject: loop for new messages
-----
Well, i can call the script that does the import to <b>vichan</b> as often as need be, and it will import one message at a time.
I could not loop in this script itself, this throws an error because of missing imports (guess this was really just designed to import...
--------------------------------
Message-ID: <n.1272.3j5yok@anon.com>
Subject: Re: sqlite, huh =?UTF-8?B?Pw==?=
-----
..For both <b>fudforum</b> and <b>vichan</b> I did some research also on this, but could not find anything that would suggest that unsafe procedures were used.
So if the code is very similar between rslight and <b>vichan</b>, maybe this could be interesting to look at (I mean, maybe I can switch...
--------------------------------
--
Posted on Rocksolid Light
news.novabbs.org
Technical Details
Message-ID:
<5cb3ebc2ee9167ef78880435b4cc8739$1@news.novabbs.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!archive!not-for-mailReferences:
<20210228041226.313a0e61@desktop14.dt> <na.1081.2alye4@anon.com> <20210301014302.4af8f586@desktop14.dt> <20210303020916.394270af@desktop14.dt>Show Full Headers
Complete Article Headers
Message-ID: <5cb3ebc2ee9167ef78880435b4cc8739$1@news.novabbs.org> Subject: Re: full text search in rslight Date: Fri, 5 Mar 2021 09:22:10 +0000 From: retro.guy@rocksolidbbs.com (Retro Guy) References: <20210228041226.313a0e61@desktop14.dt> <na.1081.2alye4@anon.com> <20210301014302.4af8f586@desktop14.dt> <20210303020916.394270af@desktop14.dt> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!archive!not-for-mail X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org Newsgroups: rocksolid.nodes.announce X-Rslight-Site: $2y$10$4jUfG0qlo1hSpZwS8Ls0B.lcbekkHcc9XLAoh7pYWesegNuqieMU2 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Rocksolid Light (news.novabbs.com/getrslight) Organization: Rocksolid Light