semanticscuttle-devel Mailing List for SemanticScuttle (Page 6)
Brought to you by:
cweiske
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(5) |
Nov
(4) |
Dec
(2) |
2010 |
Jan
(9) |
Feb
(4) |
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
(20) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(58) |
Jun
(14) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Christian W. <cw...@cw...> - 2011-03-07 20:49:06
|
Hi Brett, > I'm pretty close to having configurable privacy implemented. I'm > wondering where I should place my unit test. I was thinking I should > add it to BookmarkTest.php in the tests directory, correct? Yep, that's the correct one. > Also, I ran BookmarkTest.php in PHPUnit and there was one failure: > 1) BookmarkTest::testHardCharactersInBookmarks > Failed asserting that two strings are equal. > --- Expected > +++ Actual > @@ @@ > -#{|`^@]┬│┬╣┬í┬┐<&├⌐__(-├¿\_├º├á) > +#{|`^@] > > I had not changed anything in this file. Does it suddenly work when running the tests the second (or third) time? i know of one unstable tests (which is crap and needs to be fixed). -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: Christian W. <cw...@cw...> - 2011-03-07 20:49:04
|
Hi Mark, > Christian, I've updated privatekey with the following changes: > 1) I added an enable checkbox to allow user to enable/disable the > Private RSS feed. That's a good addition since it allows people to easily deactivate their private key without manually deleting the key. I saw that you added a second column beside the private key; enablePrivateKey. In my eyes this is not necessary since that information can be transmitted in the private key column - when it's empty/NULL, it's deactivated. Please change that. > 2) I took out the ajax call in profile.php - I ran into some issues > with trying keep the javascript for those who use it. Didn't think > it was that big enough of a deal to worry about it. Fine with me. I've got a little special configuration on my dev system: > $sitename = 'b"m.bo\'go'; The site name here contains both single and double quotes, something that helped me discovering quite a number of quoting/escaping bugs. It seems that you double-htmlencode the title in the rss feed so that I get > title="b&quot;m.bo'go: (private) b&quot;m.bo'go" instead of the > title="b"m.bo'go: Recent bookmarks" as it is for the normal feed in the HTML head. Also add a newline before the private <link> so the html looks cleaner. You also do not escape the & in the link before privatekey=, which makes the page fail to validate. There is no fail message when an unknown privatekey is used. SemanticScuttle should send a status 400 (Bad request) with an explanatory message. The user's bookmark list does also not contain a privatekey feed link. I think that all pages that link feeds should also link the associated private feed (i.e. useful when someone wants to bookmark a search that may contain private bookmarks). And unit tests are a must here: - fetch feed with private key, do the private bookmarks appear? - same without priv key - are the private feed links on all relevant pages when logged in and the user has a private key? - same for logged out -> no private links - same for logged in bug no private key -> no private feed links > 3) on a separate commit, I took a stab at updating the getBookmarks() > function to make the queries a little more efficient. The base of the > problem was doing both a GROUP BY and an ORDER BY in the same query > (as well as the use of multiple tables on the same query). I got > spoiled on Oracle because it tends to be a little more efficient. > MySQL as well as other RDBS's don't optimize it enough to make it > very efficient. So I tweaked the queries to get around some of the > issues. I haven't tested it on MySQL 4 so I can't confirm if the > query will work on that version. There was one component that I > couldn't make more efficient and that is searching by a tag, or by a > user, or searching. Those queries are simply too complex to make > efficient. However, they are fast if there is only a small > resultset. Anyway, outside of doing a full redesign of the data > tables, this is the best I could come up with. My last commit > contains the updates to the user table and the bookmarks table. I > simply added an additional index on the bookmarks table to help with > the query. Please let me know if you have any questions. Do the tests do still run? I get a bunch of errors when running them. Please also do that in a different branch; we're using one branch per feature which makes it easier to merge the relevant features in the master branch later. Just imagine that the private key feature is ready, but your sql optimizations are buggy but we want to release a new version. If we have clean feature branches, we just merge the ones that are ready and are done. Currently this is not possible since an unfinished feature is in the same branch as the other one. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: Christian W. <cw...@cw...> - 2011-03-07 13:00:26
|
Hi Brett, > I've made changes for this feature and have added a test to > BookmarkTest.php. > > This is the first time I've pushed a new branch using git, so I'm not > sure if I've done it right. Please have a look at the > configurable-privacy branch and let me know if this looks okay. No, it's not ok. You created a completely fresh branch starting from nothing, but normally you start from an existing branch - i.e. master. $ git clone ... $ git checkout master -> branch you want to base from $ git checkout -b my-new-branch -> create new branch $ git checkout my-new-branch -> switch to new branch Now you do your changes and commit. Currently, I cannot just "diff" the changes to see what you changed. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: Brett D. <bs...@fr...> - 2011-03-02 05:12:55
|
Hi, I've made changes for this feature and have added a test to BookmarkTest.php. This is the first time I've pushed a new branch using git, so I'm not sure if I've done it right. Please have a look at the configurable-privacy branch and let me know if this looks okay. Thanks. Rgrds, Brett |
From: Brett D. <bs...@fr...> - 2011-02-26 22:29:30
|
Hello, I'm pretty close to having configurable privacy implemented. I'm wondering where I should place my unit test. I was thinking I should add it to BookmarkTest.php in the tests directory, correct? Also, I ran BookmarkTest.php in PHPUnit and there was one failure: 1) BookmarkTest::testHardCharactersInBookmarks Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -#{|`^@]³¹¡¿<&é__(-è\_çà) +#{|`^@] I had not changed anything in this file. Rgrds, Brett |
From: Christian W. <cw...@cw...> - 2011-02-20 21:31:20
|
Hi Golanor, > Ok, I fixed it. > Added a new variable meant specifically to get the terms from > opensearch, it then gets url-decoded, and url-recoded again, just see > the code. code changes - search.php and opensearch.php > i'll be comitting the changes in a few minutes. 1. You did not revert the change from your last commit 2. Why did you add a new parameter? Isn't it better to just decode the existing terms variable? -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: <go...@gm...> - 2011-02-20 15:06:45
|
Ok, I fixed it. Added a new variable meant specifically to get the terms from opensearch, it then gets url-decoded, and url-recoded again, just see the code. code changes - search.php and opensearch.php i'll be comitting the changes in a few minutes. On Sun, Feb 20, 2011 at 3:56 PM, Christian Weiske <cw...@cw...>wrote: > Hi Golanor, > > > > > yes, that fixed it. > Great. > > > > I think I found an error..In the opensearch.php there is a reference > > to "$GLOBALS['root']", which I have no idea where it was defined (not > > in config.php). > > Did you all install SemanticScuttle on a root directory or in a > > different folder? > > I installed it in a folder, and when I try to search using > > opensearch, it tries searching in the root of the server, i.e: > > instead of > > http://localhost/sc/search.php/all/google%20homepage > > it goes to > > http://localhost/search.php/all/google+homepage > > Did I simply forget to define it, or is it really not defined > > anywhere? > > cweiske:~/Dev/semanticscuttle/cwdev> grep -r "'root'" . > src/SemanticScuttle/constants.php > 14:if (!isset($GLOBALS['root'])) { > 30: define('ROOT', $GLOBALS['root']); > > data/config.php > 60: 'username' => 'root', > > www/api/opensearch.php > 15: <Url type="text/html" template="http://<?php echo > $_SERVER['HTTP_HOST'] . '/' . > $GLOBALS['root']?>search.php/all/{searchTerms}"/> > > > You may define $GLOBALS['root'] as described in data/config.default.php > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=- > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > > |
From: Christian W. <cw...@cw...> - 2011-02-20 13:56:54
|
Hi Golanor, > yes, that fixed it. Great. > I think I found an error..In the opensearch.php there is a reference > to "$GLOBALS['root']", which I have no idea where it was defined (not > in config.php). > Did you all install SemanticScuttle on a root directory or in a > different folder? > I installed it in a folder, and when I try to search using > opensearch, it tries searching in the root of the server, i.e: > instead of > http://localhost/sc/search.php/all/google%20homepage > it goes to > http://localhost/search.php/all/google+homepage > Did I simply forget to define it, or is it really not defined > anywhere? cweiske:~/Dev/semanticscuttle/cwdev> grep -r "'root'" . src/SemanticScuttle/constants.php 14:if (!isset($GLOBALS['root'])) { 30: define('ROOT', $GLOBALS['root']); data/config.php 60: 'username' => 'root', www/api/opensearch.php 15: <Url type="text/html" template="http://<?php echo $_SERVER['HTTP_HOST'] . '/' . $GLOBALS['root']?>search.php/all/{searchTerms}"/> You may define $GLOBALS['root'] as described in data/config.default.php -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: <go...@gm...> - 2011-02-20 11:40:05
|
yes, that fixed it. I think I found an error..In the opensearch.php there is a reference to "$GLOBALS['root']", which I have no idea where it was defined (not in config.php). Did you all install SemanticScuttle on a root directory or in a different folder? I installed it in a folder, and when I try to search using opensearch, it tries searching in the root of the server, i.e: instead of http://localhost/sc/search.php/all/google%20homepage it goes to http://localhost/search.php/all/google+homepage Did I simply forget to define it, or is it really not defined anywhere? On Sun, Feb 20, 2011 at 12:04 PM, Christian Weiske <cw...@cw...>wrote: > > php.ini, which clashes with "<?xml" - simply set it to "Off" in php.ini |
From: Christian W. <cw...@cw...> - 2011-02-20 10:04:56
|
Hi Golanor, > I still can't run the opensearch plugin from my browser, anyone have > any idea what to do? > When I try to install, it shows me: "could not download the search > plugin". When I remember correctly did you get a white page when opening > /api/opensearch.php directly. This is probably a php error that does not get displayed. To activate error display, open your php.ini and set display_errors to 1. Then restart your web server to activate the changes. The problem here is probably that you have short_open_tags "On" in php.ini, which clashes with "<?xml" - simply set it to "Off" in php.ini and restart your web server. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: <go...@gm...> - 2011-02-20 09:29:07
|
I still can't run the opensearch plugin from my browser, anyone have any idea what to do? When I try to install, it shows me: "could not download the search plugin". On Fri, Feb 18, 2011 at 12:07 AM, Christian Weiske <cw...@cw...>wrote: > Hi Mark, Golanor and Brett, > > > > Now that the 0.97.2 with the urgent bugfixes is out, I'd like to get > 0.98.0 rolling. Each of your tasks should be part of it. > > Do you have a rough timeframe when you plan to finish them? A feature > I'd like to implement for 0.98.0 is theming support; that's relatively > easy to implement and should give users greater control and > possibilities in using SemanticScuttle. But before beginning that I'd > really like to merge the privatekey branch since it contains really > many changes. > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=- > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > > |
From: Chris L. <ch...@ch...> - 2011-02-19 19:14:40
|
That's not the problem at all, though. For instance: in my Scuttle bookmarks I have bookmarked http://chrislott.org/ -- the Google Search setup by Scuttle looks like this: http://www.google.com/cse?cref=http://clinki.es/gsearch/context.php&q=david&sa=Search&siteurl=clinki.es/gsearch/index.php and returns one result. I setup a CSE on my own with http://chrislott.org/ as a site: http://www.google.com/cse/home?cx=005906874594202320794:pd1c3rhiyv8&hl=en and perform the same search and get the expected results (many). c On Sat, Feb 19, 2011 at 8:43 AM, Eric C <eco...@el...> wrote: > Google has limits to the number of URL's with variables it will add to > it's index... > > http://google.com/folder1/folder2/folder3/folder4/file.html is much > more likely to be indexed than > http://google.com/index.php?var1=1&var2=2 > > > On Sat, Feb 19, 2011 at 3:28 PM, Chris Lott <ch...@ch...> wrote: >> What I mean is that, as I understand it, a GCSE can be setup to search >> all of a site that is listed as one of the custom sites, not just the >> page. For instance, if I bookmark http://chrislott.org/, a custom >> search generated by SemanticScuttle right now is returning results >> only for the front page of chrislott.org, not results from all >> chrislott.org pages. I assume this is a setting somewhere, since when >> I create a custom search engine and have http://chrislott.org/ as an >> entry in the sites to be searched, it finds pages from all of the >> domain. >> >> c >> >> >> On Thu, Feb 10, 2011 at 10:42 PM, Christian Weiske <cw...@cw...> wrote: >>> Hi Chris, >>> >>> >>>> I was wondering if the Google Custom Search (gsearch/) is intended to >>>> limit searches to the main page of the sites listed? I have >>>> SemanticScuttle installed at: http://clinki.es/gsearch/ and this >>>> appears to be the behavior... for example, search for 'David' and this >>>> should return many pages, but returns only one: >>>> http://www.google.com/cse?cref=http://clinki.es/gsearch/context.php&q=david&sa=Search&siteurl=clinki.es/gsearch/ >>>> >>>> If this is intended behavior-- and I could understand that being the >>>> case-- is there either a) an option to change this or b) a way to use >>>> SemanticScuttle to drive a GCSE in this way? >>> >>> What do you mean by "main page"? All pages exported by >>>> http://clinki.es/api/export_gcs.php >>> should be found by google. This script is linked from >>> http://clinki.es/gsearch/ >>> >>> >>> -- >>> Regards/Mit freundlichen Grüßen >>> Christian Weiske >>> >>> -= Geeking around in the name of science since 1982 =- >>> >>> ------------------------------------------------------------------------------ >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >>> Pinpoint memory and threading errors before they happen. >>> Find and fix more than 250 security defects in the development cycle. >>> Locate bottlenecks in serial and parallel code that limit performance. >>> http://p.sf.net/sfu/intel-dev2devfeb >>> _______________________________________________ >>> Semanticscuttle-devel mailing list >>> Sem...@li... >>> https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel >>> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Semanticscuttle-devel mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel >> > |
From: Eric C <eco...@el...> - 2011-02-19 17:43:59
|
Google has limits to the number of URL's with variables it will add to it's index... http://google.com/folder1/folder2/folder3/folder4/file.html is much more likely to be indexed than http://google.com/index.php?var1=1&var2=2 On Sat, Feb 19, 2011 at 3:28 PM, Chris Lott <ch...@ch...> wrote: > What I mean is that, as I understand it, a GCSE can be setup to search > all of a site that is listed as one of the custom sites, not just the > page. For instance, if I bookmark http://chrislott.org/, a custom > search generated by SemanticScuttle right now is returning results > only for the front page of chrislott.org, not results from all > chrislott.org pages. I assume this is a setting somewhere, since when > I create a custom search engine and have http://chrislott.org/ as an > entry in the sites to be searched, it finds pages from all of the > domain. > > c > > > On Thu, Feb 10, 2011 at 10:42 PM, Christian Weiske <cw...@cw...> wrote: >> Hi Chris, >> >> >>> I was wondering if the Google Custom Search (gsearch/) is intended to >>> limit searches to the main page of the sites listed? I have >>> SemanticScuttle installed at: http://clinki.es/gsearch/ and this >>> appears to be the behavior... for example, search for 'David' and this >>> should return many pages, but returns only one: >>> http://www.google.com/cse?cref=http://clinki.es/gsearch/context.php&q=david&sa=Search&siteurl=clinki.es/gsearch/ >>> >>> If this is intended behavior-- and I could understand that being the >>> case-- is there either a) an option to change this or b) a way to use >>> SemanticScuttle to drive a GCSE in this way? >> >> What do you mean by "main page"? All pages exported by >>> http://clinki.es/api/export_gcs.php >> should be found by google. This script is linked from >> http://clinki.es/gsearch/ >> >> >> -- >> Regards/Mit freundlichen Grüßen >> Christian Weiske >> >> -= Geeking around in the name of science since 1982 =- >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Semanticscuttle-devel mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > |
From: Chris L. <ch...@ch...> - 2011-02-19 17:36:28
|
What I mean is that, as I understand it, a GCSE can be setup to search all of a site that is listed as one of the custom sites, not just the page. For instance, if I bookmark http://chrislott.org/, a custom search generated by SemanticScuttle right now is returning results only for the front page of chrislott.org, not results from all chrislott.org pages. I assume this is a setting somewhere, since when I create a custom search engine and have http://chrislott.org/ as an entry in the sites to be searched, it finds pages from all of the domain. c On Thu, Feb 10, 2011 at 10:42 PM, Christian Weiske <cw...@cw...> wrote: > Hi Chris, > > >> I was wondering if the Google Custom Search (gsearch/) is intended to >> limit searches to the main page of the sites listed? I have >> SemanticScuttle installed at: http://clinki.es/gsearch/ and this >> appears to be the behavior... for example, search for 'David' and this >> should return many pages, but returns only one: >> http://www.google.com/cse?cref=http://clinki.es/gsearch/context.php&q=david&sa=Search&siteurl=clinki.es/gsearch/ >> >> If this is intended behavior-- and I could understand that being the >> case-- is there either a) an option to change this or b) a way to use >> SemanticScuttle to drive a GCSE in this way? > > What do you mean by "main page"? All pages exported by >> http://clinki.es/api/export_gcs.php > should be found by google. This script is linked from > http://clinki.es/gsearch/ > > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -= Geeking around in the name of science since 1982 =- > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > |
From: Chris L. <ch...@ch...> - 2011-02-19 17:29:05
|
I defer to the experts on these matters, I've just never had such problems getting clean URLs with the wide variety of CMS, blog, wiki, etc packages I've installed. So I was curious why Scuttle was an outlier. As for frameworks-- I'm only a PHP dabbler, but maybe there's a sweet spot in size: moving to Cake PHP for some projects made my life a LOT easier in the past. On the other hand, I don't know what you mean by large and whether that also involves the number of developers as part of the equation.While Cake (for example) would add considerably less size than Zend, it still has a considerable footprint!... c |
From: Christian W. <cw...@cw...> - 2011-02-19 14:40:42
|
Hi Mark, > PATH_INFO was returning "/demo/profile.php/markmark (where markmark > is my username). Looking into the code it is essentially looking for > PATH_INFO to return "profile.php/markmark". I was able to make it > work by altering the line that parses the PATH_INFO but it was a hack > to see if I could get it to work. Yes, that is exactly the problem. I also don't like the way URLs are handled in SemanticScuttle - that's inherited cruft from Scuttle, and we should change that. Having a central router would be fine for me; we'd need to go the full MVC route then with Controllers and separate views and may be even use smarty. Let's see. -- Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: Christian W. <cw...@cw...> - 2011-02-19 14:38:23
|
Hi Mark, > On my sleepless nights, I've been reviewing some of the various PHP > frameworks. I've played with Zend, CodeIgniter, a little CakePHP, > and some others who have less of a following. Wanted to see if this > was something that might be entertained in the future or is it simply > too much overhead? What brought it on was looking at options to > resolve some of the URL issues. I was looking at creating a simple > routing class that allowed everything to flow through index.php, but > kept getting drawn toward the use of a framework to do the routing. > There are a number of benefits, but does also include some drawbacks. > > Thoughts? I personally think that full-blown frameworks like Zend work for small projects only. Once the project gets big enough, they restrict you too much and you have to work around things that they do not want you to do. In the end, it's better to write the 3 things you need from it yourself. Note that I'm talking about helpers like their routers. What I like to use and favor is libraries that help you accomplish certain tasks, i.e. generating and validating HTML forms, generating feeds, communicating with some web service. The prime examples for such libraries are PEAR and Zeta Components. They are loosely coupled and each lib can be used standalone. Zend on the other hand doesn't even offer the download of single components, much less a pear channel server that lets you pick them. You always have to get their whole 200 pound package. SemanticScuttle is currently a bit less than 500kiB; adding ZF would move that up to 2.5MiB at least. That's no option for me. So, using libraries: Yes, absolutely. We already use PEAR's Auth package, and I began the quickform branch that uses PEAR's HTML_QuickForm2 for all form needs. Using a framework: No. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: Christian W. <cw...@cw...> - 2011-02-19 14:28:08
|
Hi Mark, > Good idea. Assuming disabling it at the user level, do you think > there needs to be an option for the site to turn off/on this feature? I don't think that's needed, given that by default nobody has private feeds enabled. > Question on the ajax call, would you entertain the option to do an > ajax call if the browser has js enabled? So code it to work both > ways? This might help with the other components that make ajax calls > (i.e. voting). Thoughts? I'm all for that. Having it working with JS is always nice; I just don't want to exclude non-js browsers. > To Do List: > 1) build additional unit tests I did some additional unittest fixes in the master branch; you might want to merge them in your branch. > 2) Remove ajax call for new key generation and make it POST (unless > above is acceptable) The REST rules state that actions that change data should never be GET, so using POST is fine. > 3) user option to enable/disable private key option I think some checkbox or radio button would work here nicely: ( ) feed key: [abcde....] <regen> (·) disable feed key > 4) possible site option to enable/disable private key option Ok. > Cheers! North Carolina weather is fantastic for February! Have a nice weekend! -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: <ch...@ch...> - 2011-02-19 05:03:22
|
Can someone provide a high level reason why clean URLs are so problematic with Scuttle? I've never encountered the like with any other software! c On Feb 18, 2011, at 6:20 PM, Mark Pemberton <mpe...@gm...> wrote: > On my sleepless nights, I've been reviewing some of the various PHP frameworks. I've played with Zend, CodeIgniter, a little CakePHP, and some others who have less of a following. Wanted to see if this was something that might be entertained in the future or is it simply too much overhead? What brought it on was looking at options to resolve some of the URL issues. I was looking at creating a simple routing class that allowed everything to flow through index.php, but kept getting drawn toward the use of a framework to do the routing. There are a number of benefits, but does also include some drawbacks. > > Thoughts? > > |
From: Mark P. <mpe...@gm...> - 2011-02-19 04:37:11
|
I don't claim to be an authority on this, but here's what I'm seeing on my Godaddy account. What I did was create a subdomain off my main account. And in that subdomain directory I copied the contents of Semantic Scuttle. Renamed the www folder to demo. Created database and launched. I was able to launch the app and register an account, but as soon as I logged in, I got the error "User with username demo was not found" so I did some troubleshooting and found that the PATH_INFO was returning "/demo/profile.php/markmark (where markmark is my username). Looking into the code it is essentially looking for PATH_INFO to return "profile.php/markmark". I was able to make it work by altering the line that parses the PATH_INFO but it was a hack to see if I could get it to work. I also performed an install on my home machine and created an alias /sc to the www folder and this works fine. I haven't attempted to alter my home machine to try and mimic my godaddy instance, but will probably do so this weekend. Now with that said, do I understand exactly what is causing it? Not completely. However, since there have been others who've had similar problems, I think we may benefit looking at altering the way we pull the URL information. I wouldn't call it simple, but it makes sense using a router class where all activity were to be routed through index.php. And obviously the next logical question is do we go one step further and adopt a framework and take advantage of some of the additional features of the typical framework? I know I probably didn't answer your question Chris, but I'd love to hear your experiences. Thanks, Mark Pemberton On Fri, Feb 18, 2011 at 11:05 PM, ch...@ch... <ch...@ch...>wrote: > Can someone provide a high level reason why clean URLs are so problematic > with Scuttle? I've never encountered the like with any other software! > > c > > On Feb 18, 2011, at 6:20 PM, Mark Pemberton <mpe...@gm...> wrote: > > > On my sleepless nights, I've been reviewing some of the various PHP > frameworks. I've played with Zend, CodeIgniter, a little CakePHP, and some > others who have less of a following. Wanted to see if this was something > that might be entertained in the future or is it simply too much overhead? > What brought it on was looking at options to resolve some of the URL > issues. I was looking at creating a simple routing class that allowed > everything to flow through index.php, but kept getting drawn toward the use > of a framework to do the routing. There are a number of benefits, but does > also include some drawbacks. > > > > Thoughts? > > > > > |
From: Mark P. <mpe...@gm...> - 2011-02-19 03:20:56
|
On my sleepless nights, I've been reviewing some of the various PHP frameworks. I've played with Zend, CodeIgniter, a little CakePHP, and some others who have less of a following. Wanted to see if this was something that might be entertained in the future or is it simply too much overhead? What brought it on was looking at options to resolve some of the URL issues. I was looking at creating a simple routing class that allowed everything to flow through index.php, but kept getting drawn toward the use of a framework to do the routing. There are a number of benefits, but does also include some drawbacks. Thoughts? Mark Pemberton |
From: Mark P. <mpe...@gm...> - 2011-02-19 03:08:16
|
Good idea. Assuming disabling it at the user level, do you think there needs to be an option for the site to turn off/on this feature? Question on the ajax call, would you entertain the option to do an ajax call if the browser has js enabled? So code it to work both ways? This might help with the other components that make ajax calls (i.e. voting). Thoughts? To Do List: 1) build additional unit tests 2) Remove ajax call for new key generation and make it POST (unless above is acceptable) 3) user option to enable/disable private key option 4) possible site option to enable/disable private key option I should have a little time this weekend to work on it, but after next week I should have even more time to devote to SemanticScuttle. Cheers! North Carolina weather is fantastic for February! Mark On Fri, Feb 18, 2011 at 12:54 AM, Christian Weiske <cw...@cw...>wrote: > Hi Mark, > > > > I think the only thing left on the privatekey branch is adding some > > additional unit tests which I should be able to do this weekend. The > > only other thing that I remember being in question is the ajax call > > to generate a new key. If it is unacceptable, I'll recode it to work > > without ajax. I'm certainly open to any additions or changes > > necessary. > > I'd really like to see that it works without Javascript, too. There > also needs to be an option to disable the privatekey fully, so that the > only way to access private bookmarks is by logging in. > > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=- > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > > |
From: Christian W. <cw...@cw...> - 2011-02-18 05:55:16
|
Hi Mark, > I think the only thing left on the privatekey branch is adding some > additional unit tests which I should be able to do this weekend. The > only other thing that I remember being in question is the ajax call > to generate a new key. If it is unacceptable, I'll recode it to work > without ajax. I'm certainly open to any additions or changes > necessary. I'd really like to see that it works without Javascript, too. There also needs to be an option to disable the privatekey fully, so that the only way to access private bookmarks is by logging in. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |
From: Mark P. <mpe...@gm...> - 2011-02-17 23:26:24
|
Hey Christian, I think the only thing left on the privatekey branch is adding some additional unit tests which I should be able to do this weekend. The only other thing that I remember being in question is the ajax call to generate a new key. If it is unacceptable, I'll recode it to work without ajax. I'm certainly open to any additions or changes necessary. Thanks all, Mark On Thu, Feb 17, 2011 at 5:07 PM, Christian Weiske <cw...@cw...>wrote: > Hi Mark, Golanor and Brett, > > > > Now that the 0.97.2 with the urgent bugfixes is out, I'd like to get > 0.98.0 rolling. Each of your tasks should be part of it. > > Do you have a rough timeframe when you plan to finish them? A feature > I'd like to implement for 0.98.0 is theming support; that's relatively > easy to implement and should give users greater control and > possibilities in using SemanticScuttle. But before beginning that I'd > really like to merge the privatekey branch since it contains really > many changes. > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=- > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > > |
From: Christian W. <cw...@cw...> - 2011-02-17 22:08:00
|
Hi Mark, Golanor and Brett, Now that the 0.97.2 with the urgent bugfixes is out, I'd like to get 0.98.0 rolling. Each of your tasks should be part of it. Do you have a rough timeframe when you plan to finish them? A feature I'd like to implement for 0.98.0 is theming support; that's relatively easy to implement and should give users greater control and possibilities in using SemanticScuttle. But before beginning that I'd really like to merge the privatekey branch since it contains really many changes. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=- |