stet/keith question or whoever is in charge of code these days

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (1278 of them)

sorry, I really tried not to type that

dr. mercurio arboria (mh 😏), Wednesday, 14 September 2016 18:21 (seven years ago) link

it was quicker than trying to roll together a joke about apache commons problems with deserialization

dr. mercurio arboria (mh 😏), Wednesday, 14 September 2016 18:23 (seven years ago) link

Haha (injection thing).

Keith, Wednesday, 14 September 2016 19:06 (seven years ago) link

(Yes, they're not going to work)

Keith, Wednesday, 14 September 2016 19:07 (seven years ago) link

It's possible that what's happening is a function of how it works and housekeeping...

The way it works is that I run a big job at the beginning that scans all the threads and posts and creates two index files for the search: one for threads, one for posts. The threads one is miles smaller; hence, why it should be faster. With hindsight, I wouldn't even have bothered with the threads one, as subsequent to developing the search, I decided it was useful to just hold the whole list of threads in memory at all times anyway for fast access.

Anyway, that's cool for startup, but the way it keeps the index up-to-date with changes since the initial build is that a batch job runs every five minutes, scans the database for new or changes to threads and posts and updates the index.

I'd have thought that ultimately, this would fragment the index file and make it slow and I for one certainly haven't recreated the index file for at least five years, which would be half a million updates to the index files at least! So guessing somewhat here, but if Stet hasn't recreated the index file since I last did, which I might doubt, as I don't think we ever talked about what that thing did before, then it's possible that's what's going on and all we need to do is stop the site, recreate the index file and start it again.

Keith, Wednesday, 14 September 2016 19:17 (seven years ago) link

It's actually an all-new index file as of a couple of weeks ago, so I'm wondering if something went iffy there. No harm in making a new one, will kick that off later.

stet, Wednesday, 14 September 2016 20:14 (seven years ago) link

> 19:17 (fifty-six minutes ago)

It is 21:11 here now. Why is that saying 56 minutes?

koogs, Wednesday, 14 September 2016 20:17 (seven years ago) link

>

koogs, Wednesday, 14 September 2016 20:17 (seven years ago) link

> 20:14 (three minutes ago)

Slightly better

koogs, Wednesday, 14 September 2016 20:18 (seven years ago) link

Although it's 21:18 here, not 20:18

koogs, Wednesday, 14 September 2016 20:19 (seven years ago) link

Someone else doing a big search

stet, Wednesday, 14 September 2016 21:08 (seven years ago) link

The index file could potentially be screwed if it were created when the site was running when that happened. I mean, I don't know whether it would or not, but I've never thought through whether it would cause issues. Certainly the initial job reads big fuckoff lumps of the database at a time and indexes that then moves on to the next; the database changing under its feet could render some of the already-created index incorrect, although it'd be up to Apache Lucene whether or not that cause the whole thing problems or not.

Keith, Wednesday, 14 September 2016 21:26 (seven years ago) link

Am I right in saying this was all TEN YEARS AGO now?

Keith, Wednesday, 14 September 2016 21:32 (seven years ago) link

is it just me or is the spacing all screwed up on the search page, like the css isn't loading right or something

dr. mercurio arboria (mh 😏), Wednesday, 14 September 2016 21:53 (seven years ago) link

Am I right in saying this was all TEN YEARS AGO now?

― Keith, Wednesday, 14 September 2016 22:32 Bookmark

no the right way to say it is 10 years ago now

r|t|c, Thursday, 15 September 2016 10:55 (seven years ago) link

Well clearly ten years on this place hasn't changed.

Keith, Thursday, 15 September 2016 17:30 (seven years ago) link

two weeks pass...

I just bought a new Android tab, and now I'm seeing banner ads on ILX even I log in with Chrome. The tablet has Android 6.0, I didn't seen any ads while using Chrome on my older tablet, which had an older version of Android.

Tuomas, Tuesday, 4 October 2016 09:33 (seven years ago) link

"even I after log in"

Tuomas, Tuesday, 4 October 2016 09:34 (seven years ago) link

http://i1326.photobucket.com/albums/u641/Lixenixen/Mobile%20Uploads/Screenshot_20161007-192926_zpsce6zozqq.png

Here's an example, I'm logged in, but I still see the as.

Tuomas, Friday, 7 October 2016 16:37 (seven years ago) link

not sure why, but half of the things I search for cause ILX to hang.

for instance, I searched for Lost Boys, and it comes up no problem.

I search for any variant of "let's shit our pants to something new", even without the word 'shit', and none of them work, except "Let's shit", and doesn't return that thread at all. I tried "our pants", "something new", "shit our pants", and it just hung for minutes at a time.

Neanderthal, Tuesday, 18 October 2016 21:47 (seven years ago) link

Don't know if it's related, but threads have been taking a long time to load the last couple of days.

aaaaaaaauuuuuuuuu (melting robot) (WilliamC), Tuesday, 18 October 2016 21:48 (seven years ago) link

three weeks pass...

help! the site is doing that thing where every last bookmark I've ever had is showing up at the top of SNA and I can't make them go away. I tried changing the Use Traditional Bookmarks setting, but it didn't do anything. How do I fix this? What am I doing to cause this?

Al Moon Faced Poon (Moodles), Tuesday, 8 November 2016 13:20 (seven years ago) link

hmmm, well I think I fixed this for now. I changed the Google account in my Chrome browser and that seemed to help, not sure why.

Al Moon Faced Poon (Moodles), Tuesday, 8 November 2016 13:41 (seven years ago) link

the search function is still super buggy and slow fyi

k3vin k., Sunday, 13 November 2016 19:01 (seven years ago) link

my versh of zing suddenly won't load any URLs, unless I jump out to safari. i.e. won't display em on zing. is it just me?

Stoop Crone (Trayce), Sunday, 13 November 2016 21:09 (seven years ago) link

Even though I'm logged in, I still see a banner ad on this thread:

Metallica ARE...Hardwired…To Self-Destruct

It doesn't matter much to me, but it's strange that's the only thread (so far) where that happens.

FYI

pplains, Tuesday, 15 November 2016 15:29 (seven years ago) link

fuckin' lars

not all those who chunder are sloshed (bizarro gazzara), Tuesday, 15 November 2016 15:30 (seven years ago) link

I get banner ads on every thread while logged in on my work computer.

Horizontal Superman is invulnerable (aldo), Tuesday, 15 November 2016 19:16 (seven years ago) link

the search function is still super buggy and slow fyi

― k3vin k., Sunday, November 13, 2016 2:01 PM (four days ago)

is this just me? it's been going on for months. i can't find threads i want to find

k3vin k., Thursday, 17 November 2016 20:34 (seven years ago) link

no prob for me

Spottie, Thursday, 17 November 2016 21:03 (seven years ago) link

I get banner ads on every thread while logged in on my work computer.

This keeps happening to me a lot when I use Chrome on Android, as I mentioned above. Not on my home tabletop computer though (I use Firefox with Adblock Plus).

Tuomas, Friday, 18 November 2016 09:40 (seven years ago) link

search: it depends on what you search.

e.g. search for Zimmerman: it hangs forever/timeout
search for Trayvon: it hangs forever/timeout

search for energy: immediate results
search for zooropa: immediate results (it's not that the end of the alphabet is slower)
search for Ziegler: immediate result (it's not last names starting with capital letters either)

StanM, Friday, 18 November 2016 09:48 (seven years ago) link

^ googleproofed = no search results? But then I DID find that one thread I couldn't find here by going to google and searching for the same thing and site:ilxor.com so I don't know

StanM, Friday, 18 November 2016 09:52 (seven years ago) link

sounds like it might be thread specific causing problems

Mordy, Friday, 18 November 2016 18:11 (seven years ago) link

yeah my search problems vary depending on the search term

k3vin k., Friday, 18 November 2016 19:36 (seven years ago) link

Have rebuilt the indexes the search system uses. Zimmerman and Trayvon now both working for me; can people try things that were broken for them?

stet, Friday, 18 November 2016 22:30 (seven years ago) link

I still can't get "clickhole" to search

rob, Friday, 18 November 2016 22:33 (seven years ago) link

"trayvon" still broken for me too

k3vin k., Friday, 18 November 2016 22:36 (seven years ago) link

searching "2015 albums" also not working -- this is what brought this to my attention a few weeks ago when i was trying to find the year end poll

k3vin k., Friday, 18 November 2016 22:49 (seven years ago) link

Let me check i'm doing the same search as you — when I try it's instant. I'm searching:

http://i.imgur.com/f4Zrvfk.png

stet, Friday, 18 November 2016 22:55 (seven years ago) link

i'm doing thread titles, not posts. i also was not using quotes -- however when i do use quotes (and search most relevant, all boards) it works!

k3vin k., Friday, 18 November 2016 23:06 (seven years ago) link

just tried again. 2015 albums, searching thread titles. quotes = works. no quotes = doesn't work

k3vin k., Friday, 18 November 2016 23:07 (seven years ago) link

i use google site search

harold melvin and the bluetones (jim in vancouver), Friday, 18 November 2016 23:13 (seven years ago) link

The search engine is Apache Lucene. Whatever works with Lucene will work with it. I didn't do anything special on top of it. Here is a page that describes some of the stuff you ought to be able to do, although to be fair, it may be that it does more now than it did back when this stuff was done:

https://lucene.apache.org/core/2_9_4/queryparsersyntax.html

Keith, Friday, 18 November 2016 23:21 (seven years ago) link

Yeah, I think I've fannied it up though, by leaving it on, er, v2.3.2 while upgrading to Java 8. I see the lucene lib's on v6 now. Should do something about that.

stet, Friday, 18 November 2016 23:24 (seven years ago) link

Hey Zing is crashing on load for me now. I tried to check for an update but none was listed.

Stoop Crone (Trayce), Saturday, 19 November 2016 05:08 (seven years ago) link

Sorry not on load. It loads, but when I select a board, it crashes to desktop (or whatever the equiv is on a phone), this is on iOS

Stoop Crone (Trayce), Saturday, 19 November 2016 05:09 (seven years ago) link

Which iOS?

stet, Saturday, 19 November 2016 09:26 (seven years ago) link

fine for me in ios10

Autumn Almanac, Saturday, 19 November 2016 10:23 (seven years ago) link

TBH re: Lucene, I only used it because the database didn't support full text indices at the time, so ideally a pretty complicated mechanism involving batch processes and all manner of stuff keeping the search index up-to-date in line with the database could be removed and replaced with a bit of SQL.

Keith, Saturday, 19 November 2016 11:20 (seven years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.