momijizukamori: (dreamsheep | styles)
[personal profile] momijizukamori posting in [site community profile] dw_dev
Not dead! Just busy with life. But Fu is in the process of converting the widgets on /customize to something less ridiculous, which gives me time to prod some of the problems that have been stumping me.

1) Preserving search results
The order of actions to generate a page of results from the advanced search, as I have it right now, goes like this:
User checks boxes to indicate choices -> user presses 'search' button -> button triggers POST actions -> a query is generated as one of these actions -> query goes to worker -> worker performs search -> worker sends back a list of theme ids

The problem is that POST data is lost on reload/page change, so when you click to see the second page of results (if there are more than one page), all of the query and the results vanish. Most of our other ways of grabbing a set of layouts (by base style, by designer, etc) append the query string to the URL, which is then hidden from the user via routing, but even just the list of search elements has the potential to get unwieldy fast (and the return list is worse)

2) The auto-categorizer
I don't have this working yet because it's not necessary for the new search, just... nice, given we have almost fifteen hundred themes (!!!). The script needs to pull hexcodes out of the style layers (which is all text to the perspective of anything not the S2 compiler). That seems to say 'regex' to me but I don't know if that's safe/the best way to do it.

Question thread #26

Dec. 10th, 2014 02:37 pm
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma posting in [site community profile] dw_dev
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.

Volunteer social thread #41

Dec. 10th, 2014 02:33 pm
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma posting in [site community profile] dw_volunteers
I haven't done a lot noteworthy this month.

What have you all been up to?

Dreamhacks: Locale::Codes upgraded

Dec. 7th, 2014 10:50 pm
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie posting in [site community profile] dw_dev
If you were having issues with reinstalls or database updates on the Dreamhack machine, you should be good to go now if you retry what was failing before. The code needed a new version of the Locale::Codes distribution, meaning that update-db.pl wouldn't work. It should work now!

(Yes, reinstalls work again; I've been meaning to announce it here for ages, but I've kept forgetting. They work now by reinstalling from your personal Git repositories; there's currently no means to automatically nuke those repositories and re-fork, so if you need to do that, let me know.)

Issue with Syntax Highlighter

Dec. 7th, 2014 11:45 am
xtina: "But today, the pattern of lights is *all wrong*!" "Oh god! Try pressing more buttons!" "*It's not helping*!" (tech support)
[personal profile] xtina posting in [site community profile] dw_wiki
On this page in particular:

http://wiki.dwscoalition.org/wiki/index.php/Newbie_Guide:_How_to_Patch_Styles_and_Themes

Something on line 4531 is really really broken. Alas!

Profile

mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith

July 2013

S M T W T F S
 123456
7 8910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 18th, 2014 12:42 am
Powered by Dreamwidth Studios