12/19/2009, 12:02 PM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
UPDATE
Just submitted a patch that works with webOS 1.4.5 to webos-patches. You can download it here in the mean time: http://webonastick.com/webos/patches/1.4.5/ (ignore the zero-byte files for other patches there.) Based on feedback in #webos-internals I turned I Hate Brighthouse Labs into a proper patch where you decide which vendors' apps you want to hide: ![]() It's called "Hide App Vendors" and it's available in Preware, and as a patch file for installation using webOS Quick Install or your inspection. This patch requires webOS 1.3.5, but one for webOS 1.3.1 is also available incase you're still running it PLEASE NOTE: Yes, as evident in the screenshots, this doesn't technically *hide* the apps. It just makes them a lot harder to see. Hiding them *is* my goal, but I've encountered some difficulties. Post #9 in this thread has all the gory details. Also, this patch has an easter egg.
__________________
I maintain the Universal Search Command Line, Hide App Vendors, and Poor Man's Twitter Client patches; the palm-rsync utility; and the rot13 web-distributed app. I also have a twitter feed and a web site. Last edited by dsevil; 08/11/2010 at 09:43 AM. |
12/19/2009, 03:10 PM
|
#3 (permalink) | |
|
Member
![]() Join Date: Nov 2009
Location: Eugene, Oregon
Posts: 35
Likes Received: 0
Thanks: 21
Thanked 2 Times in 2 Posts
|
Quote:
[Moderator deletion]
__________________
I heard a loud voice from the throne saying, “Behold, the dwelling place of God is with man. He will dwell with them, and they will be his people, and God himself will be with them as their God. He will wipe away every tear from their eyes, and death shall be no more, neither shall there be mourning, nor crying, nor pain anymore, for the former things have passed away. Last edited by milominderbinder; 12/19/2009 at 04:31 PM. |
|
12/19/2009, 04:00 PM
|
#4 (permalink) | |
|
Member
![]() Join Date: Nov 2009
Location: Eugene, Oregon
Posts: 35
Likes Received: 0
Thanks: 21
Thanked 2 Times in 2 Posts
|
Quote:
[Moderator deletion]
__________________
I heard a loud voice from the throne saying, “Behold, the dwelling place of God is with man. He will dwell with them, and they will be his people, and God himself will be with them as their God. He will wipe away every tear from their eyes, and death shall be no more, neither shall there be mourning, nor crying, nor pain anymore, for the former things have passed away. Last edited by milominderbinder; 12/19/2009 at 04:29 PM. |
|
12/19/2009, 06:58 PM
|
#6 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
For the record, I agree with trekker's sentiments, if not his tone (I didn't get to see his posts before they got deleted.)
As I explained in my other thread, I *did* initially try to make the apps go away outright instead of just dimming them (as is done now). Your standard "display: none" trick *seems* like the simplest solution and indeed almost works, but causes display errors in the GUI once you start scrolling to where the hidden apps were. And the way the query code works is kind of goofy, in such a way that makes simply excluding unwanted apps before they're returned to the controller nontrivial. Dimming them is the simplest solution that can possibly work, and is effective enough. And I wanted to get *something* out there. In the free software / open source community, "release early, release often" is a common mantra. I'm glad *some* people still find this useful.
__________________
I maintain the Universal Search Command Line, Hide App Vendors, and Poor Man's Twitter Client patches; the palm-rsync utility; and the rot13 web-distributed app. I also have a twitter feed and a web site. |
12/19/2009, 08:12 PM
|
#7 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
popping in late in the conversation here, but wouldn't it also be possible to filter the unwanted contents out of the list's model json items array to cleanly remove the items?
btw, very nice dsevil
|
12/19/2009, 08:20 PM
|
#8 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Wisconsin
Posts: 942
Likes Received: 8
Thanks: 413
Thanked 1,298 Times in 369 Posts
|
Thanks, dsevil!
![]() I kind of like having them dimmed, so I can see what's incoming without it being obtrusive. BTW...mine are Brighthouse, Dijit, & Europa. Last edited by xanthinealkaloid; 12/19/2009 at 08:21 PM. Reason: typo |
12/20/2009, 07:16 PM
|
#9 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
Quote:
http://webonastick.com/webos/dev/pat...1-alpha1.patch http://webonastick.com/webos/dev/pat...pha1.patch.txt Doesn't work. Seems to me the palm-list widget does not handle this type of thing correctly. List widget requests 140 items initially; gets 98 back; for some reason it requests 42 more items and gets only 18 back. Start scrolling down and at some point the list widget is going to request the next chunk of items starting from offset 140, instead of offset 116. And GUI bugs start getting triggered. Fixing this---at least the way I'm trying to go about this---will seem to require patching at a deeper level: either Mojo.Widget.List itself or something even deeper called Mojo.Model.BigArray, neither with which I feel comfortable---or justified---mucking around. Anyone else wanna give this a shot? Any of the CSS approaches I came up with also trigger GUI bugs: Code:
/* shortens and cuts off but does not completely hide :( */
.palm-row.unwanted {
height: 0;
overflow: hidden;
}
.palm-row.unwanted .palm-row-wrapper {
height: 0;
overflow: hidden;
}
/* does not work; triggers GUI bugs */
.palm-row.unwanted {
display: none;
}
/* suggested by ird on #webos-internals */
/* does not work; triggers GUI bugs */
.palm-row.unwanted {
position: fixed; right: 600px;
}
__________________
I maintain the Universal Search Command Line, Hide App Vendors, and Poor Man's Twitter Client patches; the palm-rsync utility; and the rot13 web-distributed app. I also have a twitter feed and a web site. Last edited by dsevil; 12/20/2009 at 07:24 PM. |
|
12/20/2009, 07:23 PM
|
#10 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
I suppose I *could* just grab the entire result list in one fell swoop and recode accordingly. But that won't scale well in the future when the app catalog starts hitting, say, 5000.
I suppose I *could* have searchForApplications() do multiple queries instead of just one in order to retrieve 140 applications post-filtering. I'm going to sit on this idea for a while, however.
__________________
I maintain the Universal Search Command Line, Hide App Vendors, and Poor Man's Twitter Client patches; the palm-rsync utility; and the rot13 web-distributed app. I also have a twitter feed and a web site. |
12/21/2009, 03:31 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 666
Likes Received: 316
Thanks: 442
Thanked 173 Times in 69 Posts
|
I can't wait to get home to try this out. Like you said, probably not as good as hiding all together, but MUCH better than nothing. Thank you very much for your hard work on this.
Also, I had been out of the command line patch for a while thanks to a stupid thing I did on my Pre. I already loved it...now its just incredible! Excellent and impressive work! |
12/22/2009, 06:49 AM
|
#14 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 666
Likes Received: 316
Thanks: 442
Thanked 173 Times in 69 Posts
|
I installed this last night and I wept with joy. It makes a huge difference not having to look at that garbage. It also sort of highlights the disgustingly huge number of their garbage apps. There are times where just huge swaths of the list are dimmed.
Thanks for a GREAT patch! |
12/22/2009, 10:23 AM
|
#18 (permalink) | ||
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 211
Likes Received: 0
Thanks: 28
Thanked 147 Times in 41 Posts
|
Quote:
Quote:
The following sites provide introductions and explain the different types of pattern matching regular expressions are capable of specifying: Regular Expression Tutorial - Learn How to Use Regular Expressions Regular expression - Wikipedia, the free encyclopedia One thing to know is that there are basically two different families of regular expressions, "POSIX Basic" and "POSIX Extended". The first (or its bases) is the default for many Unix tools; the second is what the regex flavors implemented by Perl, JavaScript, and other languages are based on, and is also the basis for PCRE. Hide App Vendors, of course, uses the JavaScript flavor. Any decent JavaScript reference (including Visibone's reference cards) can help you there.
__________________
I maintain the Universal Search Command Line, Hide App Vendors, and Poor Man's Twitter Client patches; the palm-rsync utility; and the rot13 web-distributed app. I also have a twitter feed and a web site. |
||
12/22/2009, 12:25 PM
|
#19 (permalink) |
|
Member
![]() Join Date: Aug 2009
Location: San Diego
Posts: 22
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
Many thanks for this patch... it gets the job done without having the feel of someone else making the choice for me. Combine it with a friction point for app submissions and it 'should' return some control to the end users and cut back on spamming the catalog.
Let's hope Brighthouse and Dijit see where it's headed, and they don't start to adopt more advanced spam tactics (and this patch doesn't evolve into the addition of the ability to import .csv lists of spammers). |
12/22/2009, 12:26 PM
|
#20 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 49
Likes Received: 0
Thanks: 15
Thanked 6 Times in 6 Posts
|
Awesome! I agree that I'd rather just not see these apps, but EPIC WORK on doing something about them to make them easier to pass over. Thank you a million times over for working on this!
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



