Planet maemo: category "feed:b60f2338d7a5b72897d3a13b738ecf26"

timeless

Bleeding extra errors in default configurations

2005-01-09 08:09 UTC  by  timeless
0
0
Bleeding extra errors in default configurations Bleeding extra errors in default configurations I browse the web on rare occasions. I frequently seem to encounter sites like <apache.example.com>.

Would someone please explain why that content is so common?

I have to conclude that a default configuration of apache from some vendor includes restrictions which result in the additional error.

Why does apache bother telling end users about additional errors relating to error documents?

This just puzzles me.

Why isn't that be restricted to error logs?

I can't explain it at all.

How does an additional error about not finding ErrorDocuments give the user a *better* experience?

I think it is, but instead when I get these pages, I always feel like my experience is *worse* than it would be if there was no magical ErrorDocument handling.
timeless
Separating Customers from Developers using Bugzilla Separating Customers from Developers using Bugzilla

How can you keep customers and developers separate from each-other?

Communication between customers and developers should be channeled through the support team. Prevent customers from seeing who is working on the problem.

Why would you want to do this?

Not doing this results in customers calling and giving the developers a hard time).

Does the solution scale to multiple products?

It's amazing how demanding customers can be. :)

How would you keep different customers from seeing other customers' bugs?

This is perhaps because the customers value their privacy.
timeless
Using Groups to simplify Separation of Roles and save your developers Using Groups to simplify Separation of Roles and save your developers
Click to read 1008 more words
timeless

Users, links, and trust

2004-06-18 12:30 UTC  by  timeless
0
0
Users, links, and trust In the Hosts that should not be victimized, impersonated or otherwise confused: https://fastquote.fidelity.com/ https://www.scotiaonline.scotiabank.com/ http://www.scotiabank.com.sv/ http://nationalgeographic.com/ Examples of attempts to confuse: http://www.heise.de%2f%20%20%20%20%20%20%20%20%20%20%20redir=.e-gold.com/
http://x.com%EF%BC%8Findex.html%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%E2%80%83%EF%BE%A0%EF%BE%A0%EF%BE%A0%EF%BE%A0%EF%BE%A0.evil.com
to convince yourself, use:

or similarly w/ html:

timeless
How helping bzbot without a custom hack can help the world How helping bzbot without a custom hack can help the world So the problem is elementary.

What is the real problem?

The real problem is that bugmails bzbot get don't include products.

What is the right fix?

Change the mail system to include the product in an x- header

If necessary to get this fix into bugzilla proper, you can make the default template not do that and switch your template to do it. then you contribute your changes, and argue in favor of switching by default. And yes, I do endorse this change. There's a bug for this of course but don't ask me for its number.

The engineer asks me for the number... Anyway, the fix shouldn't be hard, (the engineer agrees it's trivial), and it is so much more useful than a custom hack.

timeless

Adventures in overengineering

2004-03-23 04:17 UTC  by  timeless
0
0
Adventures in overengineering Adventures in overengineering An engineer is trying to setup a bugzilla install with a bzbot. The engineer wants to configure the bugzilla install to require authentication.

The engineer observes "bzbot is gonna need some smacking around because it uses LWP to get data.. and therefore needs an account." My off the cuff response is that "bzbot already runs into that problem", well sorta, on rare occasions. Really when bzbot encounters a classified bug, mozbot2 has trouble playing with it.

The engineer debates just putting a hook in BugMail to ping the bot if it exists.

Why does bzbot need lwp at all?

All I could think of is status lists.

The engineer responded "[to] get [the] product" I responded that his fix is silly.

It is, and he agreed, but why? read on

timeless

Building a better Manager

2003-10-28 10:49 UTC  by  timeless
0
0
Click to read 1883 words
timeless
What can be done to make profile data use safer and friendlier? What can be done to make profile data use safer and friendlier?
  • Support Read Only access to profile data
  • Allow merging/reconciling of profile data (Bookmarks, History, Cookies)
  • Inactive profile users should flush their changes and relinquish their lock(s)
  • There should be a single universally recognizable lockfile
  • Instead of tossing up a dialog and refusing to allow the user to use the profile data, we should let the user use the profile and start a thread to watch the profile lock/data. If the lock disappears we should acquire it and offer to reconcile the profile data
  • Consider splitting the locks

What can be done to catch stale locks?

  • We can ping the computer to see if it's alive
  • For local processes, we can check to see if the process actually has the lock file open

What can not be done to the profile lock?

  • The global lock can't be deleted. Deleting it would result in a big backwards compatibility problem: an old browser (like Netscape 6) would think that the profile is unlocked and ignore the new split locks.
timeless

Statements

2003-10-01 09:22 UTC  by  timeless
0
0
Statements Statements

Oddly enough just about every language you can imagine has some measure of a statement. Even English. Some statements may be simpler than others, but the number of statements is still a better estimate of complexity than the number of lines or bytes.

So how would one count statements?

For XML, I would count each (nonwhitespace) node that would be generated in a dom.

This means that <foo></foo> and <foo/> would both have value "1", and <foo>bar</foo> and <foo/><py q="q" r="r" s="s" t="t"/> would both have value "2".

For JavaScript and Perl a statement is generally delimited by a newline or a semicolon.

For C/C++, statements are generally delimited by semicolons or parentheses.

x=x+1;++y;r*=5+3/p; /*3 statements*/
for (a=0;b<4;c++) b+=c; /*5 statements*/
while
(
0
)
{
}
/*1 statement */

An icon containing 4 images would be assigned a value "4". And an xbm containing 1 images would be assigned a value "1". This means your average xbm loses value (sorry).

timeless

kloc and other foolish metrics

2003-10-01 09:12 UTC  by  timeless
0
0
Click to read 1249 words
timeless

Derivative works and licensing

2003-09-19 08:10 UTC  by  timeless
0
0
Derivative works and licensing .swwnal { border: 1px dotted black; padding: 0.5em; } .snsaal { border: 1px dashed black; padding: 0.5em; } .author { border: 1px solid black; padding: 0.5em; } .status { font-style: italic; } Derivative works and licensing

I'm puzzling over derivative works.

Suppose we have an interface for "nsIScreenScraper" and an implementation for it on windows. Suppose someone makes a new implementation of nsIScreenScraper on Mac OS. The implementation is functionally equivalent but is in a sense a translation. The original implementation is MPL (for argument's sake). Would you claim that, by virtue of the original implementation being MPL, the Macintosh implementation must be MPL or receive permission from the author to be something else?

Click to read 1686 more words
timeless

Tabs and overflow

2003-09-17 12:58 UTC  by  timeless
0
0

First in a note from my doctor doctor pages: In my opinion (and this is a blog, so it's all about my opinion) tabs were added to Mozilla as a response to the fact that opening a new Mozilla window is unbearably slow. If opening new windows in Mozilla took as little time as opening tabs, and if window managers for the primary OS's didn't suck then there would be very little reason to use tabs.

Click to read 1454 more words