January 2012
9 posts
FlutterScape: Introducing New User Profiles →
flutterscapejp:
Recently the FlutterScape community has been sharing so many great product discoveries we felt it only fitting to highlight each user’s activities on a newly redesigned profile page!
The new profile page is bigger an better in every way. Now both the profile picture and the product…
3 tags
3 tags
3 tags
2 tags
December 2011
2 posts
1 tag
July 2009
1 post
2 tags
MMOG business model
Been thinking this morning. What can a MMOG generates? I mean, as far as I can see, it oly exploits subscription fee. What about other alternatives? Virtual goods may have been in the list. But what about sponsored item and other in-game ads?
Do you see these stuff in your local MMOG scene?
Also, if MMOG is very lucrative business then how lucrative it is to build a MMOG engine? So that just...
June 2009
1 post
4 tags
Language Neutral for PathAuto
add in function pathauto_admin_settings() {
//path auto ignore language setting $form[‘general’][‘pathauto_ignore_language’] = array( ‘#type’ => ‘checkbox’, ‘#title’ => t(‘Force Language Neutral’), ‘#default_value’ => variable_get(‘path auto ignore language setting’, FALSE), ...
April 2009
6 posts
4 tags
Search in Views
Easy,create a filter and expose it. Example, create a Node.Title filter, then Expose the filter. You can even expose the operator if you are feeling geeky.
I was thinking of using argument, but I was worng. Filter is the way to go :)
Kyle Cunningham: Konquering the problem →
I’m somewhat agree. maybe KHTML can be converted to something “proprietary” inside KDE. I don’t know, maybe a slicker Plasma foundation.
Yes, KHTML need to be thought of where does it fit into KDE.
3 tags
IE Keypress
Some keys are not captured during keyup and keydown, but they are available on keypress. So, for IE special treatment, you may want to duplicate key handling for these keys: TAB, ESC, ENTER
Tested in IE7.
Google for more: jquery ie keypress
2 tags
Working out autocomplete.js
Even in Drupal 6, autocomplete dropdown is still limiting dropdown width. For a standard label on top, input at the bottom, this solution may fit. But still, if you have a long completion more than what your input field can cope, you will get a truncation.
Also, that double enter key just to submit the text is PITA.
Feel sad no more, I have the fix you need here: http://pastebin.com/f7134cef3
4 tags
PEAR Moai? What's that?!
Below are errors spewed when requesting an icon over Yahoo! Blueprint. Anyone know about PEAR Moai? Private CDN?
<error> <code>500</code> − <description> Error retrieving requested resource: Error happened during image lookup on file system </description> − <detail> #0 /home/y/share/pear/Moai/Pipeline.class.inc(50):...
Jaroslaw Staniek (js): Kexi Quickies →
Reminds me of QuickReport goodness. Good ‘ol days
4 tags
How to achieve a simpler SOLR scoring
this one is for dismax query type, I haven’t test for the normal one.
solrconfig.xml:
tie=1.0 (make it sum game)
schema.xml:
add omitNorms=”true” on fields you use in qf
Now you will have less thing to worry. Scoring will only depend on idf, tf, and everything else but fieldNorm. fieldNorm will always be 1.
<str name="id=214950,internal_docid=112150"> 1.1009237 =...
March 2009
3 posts
VirtualBox VMDK non-functional keyboard and mouse
Don’t panic! Just follow the lead. Do ACPI shutdown until all devices hardware are installed.
3 tags
Fedora 10: Permission denied when accessing...
<Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
Abovemay have been your default setup in httpd.conf
Change AllowOverride to All. It will remove the error. When you are doing this on a production server, better refine those None to specific combination of Options FileInfo AuthConfig Limit
<Directory...
January 2009
1 post
CCK + GMap + Location Module
I was wrong. I thought I need to create separate field to hold location information. While that step will produce no error, the node map won’t show off. To work with Location module, you only need to enable Location support for each content type.
Voila! Now you can show the map by using Location block. Yes, no embeded map.
System:
Drupal 6 + GMap + Location module
September 2008
1 post
Running Selenium RC with Firefox 3
Image via Wikipedia
You will need your firefox to use Selenium as proxy. Why? because selenium needs to inject its js into your html. Now, set that up on your currently running Firefox or create a specific profile for it.
Here we can start running our Selenium RC. I will use it to run a htmlSuite (that file you can generate with Selenium IDE). To use Firefox 3 with selenium, we need to use...
August 2008
1 post
Mashup Ahead: Mozilla Ubiquity
This is not really new. Mozilla Ubiquity is a common concept. Pople has already start with keyword bookmark. It’s a shorcut linked to javascript which you can type in URL bar, eg: “g keyword” will look up keyword in google. There’s also IM to command where you can hook up your IM to certain services. I can recall there’s a TODO services using Yahoo as a bridge. And...
June 2008
1 post
Guess content semantic with SOLR
I don’t know whether it can be named semantic. SO what I want to do is create an Lucene index with two fields: word, category (multiValued). Then we can pass a bunch of text to it and retrieve the score. It should output something like this:
Word/Category/Score
election/politics/1
obama/politics/1
microsoft/technology/1
microsoft/business/1
Then we sum up the score: politics/2,...