Mouse in TTY

To utilize the mouse in your tty, install gpm: sudo apt-get install gpm.

Comments

Opera 11 Addressbar Revisited

I already wrote down some thoughts about the addressbar changes in Opera 11 a few days ago, and it got me thinking that the addressbar could definitely be improved, just not by detracting from it.

To cut to the chase, here’s the addressbar I’m envisioning:

What you see on this screenshot, however, does not tell the whole story. Let’s start with what’s visible:

  • The protocol is grayed out. This is the method that most so-called URL highlighting uses to emphasize the domain. I think this is the wrong approach, but in the case of the protocol it seems the right thing to do. It is somewhat hidden, but still fully visible: no need to select the addressbar to find out what protocol is being used. People know that something is a web address when they see it in print thanks to the protocol, even if they have no idea what it means (and in fact many might mistakenly interpret HTTPS as safe), and combined with the large, clear button indicating security information you’d really have to try to misinterpret HTTPS as safe.
  • The domain is highlighted, specifically by bolding in this example, but it could also be done through underlining, a background color, or a combination of various things. The important part is that the domain is highlighted, rather than the rest of the URI lowlighted.
  • Query strings have parameter highlighting, and characters that separate parameters like ? and & are hidden and replaced by a small outline indicating what goes with what. The space between the various parameters corresponds to the size of the hidden ? or & characters and thus no shifting will occur when selecting them. I did not look into things like color blindness and the colors I used are solely for illustration purposes; they are no suggestion for specific colors.

Then, what’s not visible:

  • Complex query strings, meaning with 3 or 4 parameters or more, could be hidden from that point on, but this should be visibly indicated. An ellipsis is the standard method of conveying such information, so there’s no need to come up with something fancy. A complex query string like Google’s would thus look something like http://www.google.be/search [client=opera] [rls=en] [q=test]…

    Perhaps the number of parameters before hiding occurs should be configurable as well.

    This hiding should not affect links to IDs like #someID, which are hidden along with the query string at the moment.

  • Linkify URI segments on hover when a modifier key, such as Ctrl or Shift, is pressed. This has been implemented quite nicely by the Firefox extension Locationbar².

That’s about it for my proposal regarding how to truly upgrade the addressbar as opposed to trying to make it little more than a domain display.

Comments (3)

What’s Wrong With the Opera 11 Address Bar, And How to Fix It.

Opera 11 made some drastic changes to the addressbar. I think the thought is good, but the execution leaves quite a bit to be desired.

Opera 10.63

Here you can see the classic method as it is in 10.63: full URL. You could say that the security information is somewhat detached on the right.

Opera 11

This is Opera 11, with the changed addressbar. The favicon is removed, the protocol and query string are hidden, and the security information is made more prevalent.

Generally speaking I don’t care too much about http vs. https; secure vs. insecure certainly is a better way of presenting that, lest https give you a false sense of security. Then again, I think that keeping the protocol and simply moving the security indication to the spot of the favicon (while still getting rid of that) would’ve accomplished the same effect better without losing out on such information. After all, if I notice some site uses https, but is insecure, I should probably notify the site, right? The lack of something like ftp is slightly more annoying, but the lack query strings is the absolute worst. I realize that some query strings can be overly complex, but I fail to see why the lowest common denominator should get rid of the good query strings as well. Seeing or not seeing it is only part of the issue: it also kills the ability to easily select the relevant part of the query string that you want to change (like a search term).

Opera 11 as it should be

And here is my combination of both. Remove the favicon, which might give a false sense of being on the real site (and is already visible on the tab), and move the security information to where the favicon used to be. The rest of the URL can remain fully accessible, displaying information for those who can use it. Domain highlighting can take care of those who have trouble spotting the domain they’re on (and on Windows it already does, making the removal of the query string even more peculiar). No extra step is necessary to select parts of the URL.

I feel that this is a fair compromise: it makes the security information more accessible without compromising existing functionality.

Comments (1)

Semantic Concord in American English

The number of X are, when X is semantically referring to individuals rather than a group as a whole. Just when that is the case, however, is not as straightforward as it sounds.

Comments

Wikipedia: Trustworthy Reference or Flawed Experiment?

This post is not recycled, but it is a couple of years old; it was originally written as part of proving possession of near-native English proficiency during some relevant academic writing course. Someone on the Internet wrote that “Wikipedia is a load of rubbish and [doesn't] always tell the truth and anyone can go on and edit the answers; I’ve been told about this at college by a few lecturers.” This reminded me of the following essay, which argues the opposite: Wikipedia can be useful and even trustworthy as long as you use it wisely.


On the night of February 8, 2009, an anonymous edit on German Wikipedia, in the article about the German politician Karl-Theodor zu Guttenberg, sparked the beginning of a controversy. Guttenberg gained an extra name: Wilhelm (Anonymous, par. 4). His full name is so extraordinarily long that the addition initially escaped the attention of Wikipedia’s editors, but they caught on quickly (Anonymous, par. 6). In theory, every fact on Wikipedia requires a source. However, that is what caused the problem. Since Guttenberg was to become the new Minister of Economics on February 9, the media all ran articles about him the day after the notorious edit, and, ironically, many used Wikipedia as a resource. While the additional name was considered suspect by Wikipedia’s editors, various newspapers were publishing it as fact (Anonymous, par. 7). Three days later, all the media had rectified their mistakes, and the article on Wikipedia was back to normal (“Wilhelm,” par. 5). Events like this keep casting a bad light on Wikipedia’s credibility. Even so, the number of factual errors in Wikipedia’s science articles is comparable to that of Encyclopædia Britannica. Furthermore, Wikipedia has no practical limit on the number and size of articles. Additionally, Wikipedia is a useful source of information. Finally, Wikipedia has a great deal of information that has no place in traditional encyclopedias. Wikipedia can be a reliable, comprehensive source of information.

Wikipedia is not significantly less accurate than Encyclopædia Britannica. According to Giles, Wikipedia and Encyclopædia Britannica each had four serious errors when forty two articles were reviewed by experts; they were not aware from which encyclopedia the articles originated (par. 13). However, the quality and readability of Wikipedia’s writing often leave something to be desired (Giles, par. 15). For instance, in Wikipedia, scientific theories that are still the subject of controversy are given a nearly equal amount of attention as established theories, whereas Encyclopædia Britannica gives them little or no attention (Giles, par. 15). Wikipedia users not familiar with the subject might infer that the theories are equal, when they are not. An additional advantage of Wikipedia is that articles can be updated very quickly when new information is published. Therefore, it can potentially reflect recent insights and developments within hours, while changes and corrections to the information in paper versions can take years to update.

Wikipedia does not have the limitations of a paper encyclopedia. Consequently, in Wikipedia neither the number of potential articles, nor the length of articles, are bound by the physical constraints that limit paper volumes (“Wiki Is Not Paper,” par. 1). Articles on long subjects are frequently made into summaries of the most important points; there are links to in-depth articles in the relevant subsections (“Wiki Is Not Paper,” par. 6). One of the most intriguing implications is the fact that there can be a separate, detailed Wikipedia article for each character in a book, TV show, movie, etc. (“Wiki Is Not Paper,” par. 5). Furthermore, other media, such as images, can be implemented without additional costs, which typically restricts the usage of (colored) images in traditional encyclopedias (“Wiki Is Not Paper,” par. 16). Moreover, audio or animations can be added for further clarification and enhancement, which is impossible in print (“Wiki Is Not Paper,” par. 17). There are several other advantages to the electronic format of Wikipedia; for instance, words can be made into hyper links, which allows the user to immediately open articles for further clarification, or simply out of interest. Furthermore, the age of a person is always automatically calculated from date of birth (“Wiki Is Not Paper,” par. 18). There are quite a few other minor enhancements like that, but none of these advantages are as influential on the overall user experience. This does not, however, mean that Wikipedia does not apply traditional encyclopedic principles. It should be noted that there are also many things that are not possible in Wikipedia, like opinions and pure dictionary definitions, just as they are not in traditional encyclopedias.

Wikipedia is a worthwhile information resource: not just for random trivia, but also for scientific research. Its articles have greatly benefited from the introduction of the <ref> element in 2005, which is used for referencing sources. In April 2007, 30,368 references had already been made to external sources (Nielsen 4). Consequently, heavily referenced articles gain trustworthiness. Many references are to scientific journals: as Nielsen states, “the individual journals with the largest number of inbound citations from Wikipedia [are] Nature (787), Science (669) and New England Journal of Medicine (NEJM) (446) … (number of citations in parenthesis)” (3). Wikipedia’s function is thus not only to provide a valuable summary of the information on a specific topic, but also provides ample opportunity for further research (Nielsen 4).

Wikipedia is more complete than Encyclopædia Britannica on subjects that are of moderate interest to a more traditional encyclopedia. For example, Encyclopædia Britannica’s article on Star Trek: The Original Series is 343 words long, vs. roughly six thousand words in the Wikipedia article. The article does not contain all of Wikipedia’s information about Star Trek: much more information is available on independent related articles. Wikipedia has, among other things, a list of all episodes, with a summary and other trivia for each episode, and an extensive article about the Star Trek theme tune. This demonstrates very well that Wikipedia is not a paper encyclopedia; nevertheless, it is unlikely that all of this information would be present in a traditional encyclopedia, even if paper constraints were not a concern. Wikipedia contains information regarding television series, movies, books, music and much more, which makes Wikipedia very useful to find information about a fictional character that might only be mentioned by name, if at all, in a traditional encyclopedia.

To conclude, Encyclopædia Britannica is not much more free of error than Wikipedia. Furthermore, the restrictions associated with paper do not apply to Wikipedia. In addition, Wikipedia is a decent research tool, and, finally, Wikipedia contains a good deal of information that cannot be found as easily and as comprehensively elsewhere. Therefore, Wikipedia is a good source of information for subjects that have a large, interested fan base and for science articles that have many references to respectable sources. If there is one thing that can be learned from Wikipedia’s occasional embarrassing mistakes, it is that any source should be examined with a healthy dose of skepticism.

Works Cited

Anonymous. “Wie ich Freiherr von Guttenberg zu Wilhelm machte.” BILDblog. 10 Feb. 2009. 10 Mar. 2009 <http://www.bildblog.de/5704/wie-ich-freiherr-von-guttenberg-zu-wilhelm-machte/>.

Giles, Jim. “Internet Encyclopaedias Go Head to Head.” Nature 438.7070 (15 Dec. 2005): 900-901. Academic Search Elite. EBSCO. Utrecht University, Utrecht, NL. 13 Mar. 2009 <http://search.ebscohost.com/login.aspx?direct=true&db=afh&AN=19171583&site=ehost-live>.

Nielsen, Aarub. “Scientific Citations in Wikipedia.” 1 Feb. 2008. 17 Mar. 2009. <http://arxiv.org/abs/0705.2106>.

“Star Trek.” Encyclopædia Britannica. 2009. Encyclopædia Britannica Online. 14 Mar. 2009 <http://www.britannica.com/EBchecked/topic/563557/Star-Trek>.

“Star Trek: The Original Series.” Wikipedia, The Free Encyclopedia. 14 March 2009, 13:02 UTC. Wikimedia Foundation, Inc. 15 Mar. 2009. <http://en.wikipedia.org/w/index.php?title=Star_Trek:_The_Original_Series&oldid=277174592>.

“What Wikipedia Is Not.” Wikipedia, The Free Encyclopedia. 18 March 2009, 22:30 UTC. Wikimedia Foundation, Inc. 19 Mar. 2009. <http://en.wikipedia.org/w/index.php?title=Wikipedia:What_Wikipedia_is_not&oldid=278220991>.

“Wiki Is Not Paper.” Wikimedia, Meta-Wiki. 19 February 2009, 00:00 UTC. Wikimedia Foundation, Inc. 15 Mar. 2009. <http://meta.wikimedia.org/w/index.php?title=Wiki_is_not_paper&oldid=1398243>.

“Wikipedia: Size Comparisons.” Wikipedia, The Free Encyclopedia. 31 January 2009, 02:50 UTC. Wikimedia Foundation, Inc. 15 Mar. 2009. <http://en.wikipedia.org/w/index.php?title=Wikipedia:Size_comparisons&oldid=267536315>.

“Wilhelm II.” BILDblog. 12 Feb. 2009. 10 Mar. 2009 <http://www.bildblog.de/5731/wilhelm-ii/>.

Comments

Javascript Associative Array of SVG Color Keywords

I thought I needed an associative array of SVG color keywords. I couldn’t find one, so I created this. Enjoy.

// see http://www.w3.org/TR/SVG/types.html#ColorKeywords
var SVGColors = new Object();
SVGColors['aliceblue'] = [240,248,255];
SVGColors['antiquewhite'] = [250,235,215];
SVGColors['aqua'] = [0,255,255];
SVGColors['aquamarine'] = [127,255,212];
SVGColors['azure'] = [240,255,255];
SVGColors['beige'] = [245,245,220];
SVGColors['bisque'] = [255,228,196];
SVGColors['black'] = [0,0,0];
SVGColors['blanchedalmond'] = [255,235,205];
SVGColors['blue'] = [0,0,255];
SVGColors['blueviolet'] = [138,43,226];
SVGColors['brown'] = [165,42,42];
SVGColors['burlywood'] = [222,184,135];
SVGColors['cadetblue'] = [95,158,160];
SVGColors['chartreuse'] = [127,255,0];
SVGColors['chocolate'] = [210,105,30];
SVGColors['coral'] = [255,127,80];
SVGColors['cornflowerblue'] = [100,149,237];
SVGColors['cornsilk'] = [255,248,220];
SVGColors['crimson'] = [220,20,60];
SVGColors['cyan'] = [0,255,255];
SVGColors['darkblue'] = [0,0,139];
SVGColors['darkcyan'] = [0,139,139];
SVGColors['darkgoldenrod'] = [184,134,11];
SVGColors['darkgray'] = [169,169,169];
SVGColors['darkgreen'] = [0,100,0];
SVGColors['darkgrey'] = [169,169,169];
SVGColors['darkkhaki'] = [189,183,107];
SVGColors['darkmagenta'] = [139,0,139];
SVGColors['darkolivegreen'] = [85,107,47];
SVGColors['darkorange'] = [255,140,0];
SVGColors['darkorchid'] = [153,50,204];
SVGColors['darkred'] = [139,0,0];
SVGColors['darksalmon'] = [233,150,122];
SVGColors['darkseagreen'] = [143,188,143];
SVGColors['darkslateblue'] = [72,61,139];
SVGColors['darkslategray'] = [47,79,79];
SVGColors['darkslategrey'] = [47,79,79];
SVGColors['darkturquoise'] = [0,206,209];
SVGColors['darkviolet'] = [148,0,211];
SVGColors['deeppink'] = [255,20,147];
SVGColors['deepskyblue'] = [0,191,255];
SVGColors['dimgray'] = [105,105,105];
SVGColors['dimgrey'] = [105,105,105];
SVGColors['dodgerblue'] = [30,144,255];
SVGColors['firebrick'] = [178,34,34];
SVGColors['floralwhite'] = [255,250,240];
SVGColors['forestgreen'] = [34,139,34];
SVGColors['fuchsia'] = [255,0,255];
SVGColors['gainsboro'] = [220,220,220];
SVGColors['ghostwhite'] = [248,248,255];
SVGColors['gold'] = [255,215,0];
SVGColors['goldenrod'] = [218,165,32];
SVGColors['gray'] = [128,128,128];
SVGColors['green'] = [0,128,0];
SVGColors['greenyellow'] = [173,255,47];
SVGColors['grey'] = [128,128,128];
SVGColors['honeydew'] = [240,255,240];
SVGColors['hotpink'] = [255,105,180];
SVGColors['indianred'] = [205,92,92];
SVGColors['indigo'] = [75,0,130];
SVGColors['ivory'] = [255,255,240];
SVGColors['khaki'] = [240,230,140];
SVGColors['lavender'] = [230,230,250];
SVGColors['lavenderblush'] = [255,240,245];
SVGColors['lawngreen'] = [124,252,0];
SVGColors['lemonchiffon'] = [255,250,205];
SVGColors['lightblue'] = [173,216,230];
SVGColors['lightcoral'] = [240,128,128];
SVGColors['lightcyan'] = [224,255,255];
SVGColors['lightgoldenrodyellow'] = [250,250,210];
SVGColors['lightgray'] = [211,211,211];
SVGColors['lightgreen'] = [144,238,144];
SVGColors['lightgrey'] = [211,211,211];
SVGColors['lightpink'] = [255,182,193];
SVGColors['lightsalmon'] = [255,160,122];
SVGColors['lightseagreen'] = [32,178,170];
SVGColors['lightskyblue'] = [135,206,250];
SVGColors['lightslategray'] = [119,136,153];
SVGColors['lightslategrey'] = [119,136,153];
SVGColors['lightsteelblue'] = [176,196,222];
SVGColors['lightyellow'] = [255,255,224];
SVGColors['lime'] = [0,255,0];
SVGColors['limegreen'] = [50,205,50];
SVGColors['linen'] = [250,240,230];
SVGColors['magenta'] = [255,0,255];
SVGColors['maroon'] = [128,0,0];
SVGColors['mediumaquamarine'] = [102,205,170];
SVGColors['mediumblue'] = [0,0,205];
SVGColors['mediumorchid'] = [186,85,211];
SVGColors['mediumpurple'] = [147,112,219];
SVGColors['mediumseagreen'] = [60,179,113];
SVGColors['mediumslateblue'] = [123,104,238];
SVGColors['mediumspringgreen'] = [0,250,154];
SVGColors['mediumturquoise'] = [72,209,204];
SVGColors['mediumvioletred'] = [199,21,133];
SVGColors['midnightblue'] = [25,25,112];
SVGColors['mintcream'] = [245,255,250];
SVGColors['mistyrose'] = [255,228,225];
SVGColors['moccasin'] = [255,228,181];
SVGColors['navajowhite'] = [255,222,173];
SVGColors['navy'] = [0,0,128];
SVGColors['oldlace'] = [253,245,230];
SVGColors['olive'] = [128,128,0];
SVGColors['olivedrab'] = [107,142,35];
SVGColors['orange'] = [255,165,0];
SVGColors['orangered'] = [255,69,0];
SVGColors['orchid'] = [218,112,214];
SVGColors['palegoldenrod'] = [238,232,170];
SVGColors['palegreen'] = [152,251,152];
SVGColors['paleturquoise'] = [175,238,238];
SVGColors['palevioletred'] = [219,112,147];
SVGColors['papayawhip'] = [255,239,213];
SVGColors['peachpuff'] = [255,218,185];
SVGColors['peru'] = [205,133,63];
SVGColors['pink'] = [255,192,203];
SVGColors['plum'] = [221,160,221];
SVGColors['powderblue'] = [176,224,230];
SVGColors['purple'] = [128,0,128];
SVGColors['red'] = [255,0,0];
SVGColors['rosybrown'] = [188,143,143];
SVGColors['royalblue'] = [65,105,225];
SVGColors['saddlebrown'] = [139,69,19];
SVGColors['salmon'] = [250,128,114];
SVGColors['sandybrown'] = [244,164,96];
SVGColors['seagreen'] = [46,139,87];
SVGColors['seashell'] = [255,245,238];
SVGColors['sienna'] = [160,82,45];
SVGColors['silver'] = [192,192,192];
SVGColors['skyblue'] = [135,206,235];
SVGColors['slateblue'] = [106,90,205];
SVGColors['slategray'] = [112,128,144];
SVGColors['slategrey'] = [112,128,144];
SVGColors['snow'] = [255,250,250];
SVGColors['springgreen'] = [0,255,127];
SVGColors['steelblue'] = [70,130,180];
SVGColors['tan'] = [210,180,140];
SVGColors['teal'] = [0,128,128];
SVGColors['thistle'] = [216,191,216];
SVGColors['tomato'] = [255,99,71];
SVGColors['turquoise'] = [64,224,208];
SVGColors['violet'] = [238,130,238];
SVGColors['wheat'] = [245,222,179];
SVGColors['white'] = [255,255,255];
SVGColors['whitesmoke'] = [245,245,245];
SVGColors['yellow'] = [255,255,0];
SVGColors['yellowgreen'] = [154,205,50];

Comments

Oaths Are Silly

To a nice observer, it would have been worth while to remark the difference in tone and manner between the Resident and Havelaar on this occasion. Both had often attended such a solemnity [the reading of the decree of the Governor-General, whereby Mr. Max Havelaar was appointed Assistant Resident]; the difference which I refer to was not, therefore, occasioned by their being more or less affected by a novel and unwonted spectacle, but was only a consequence of the very different characters of the two persons. The Resident, it is true, spoke a little quicker than he was used to do, because he only had to read the decree and oaths, which saved him the trouble of seeking for the last words of what he had to say; but still all went on with a gravity and a seriousness which must have inspired the superficial spectator with a very high idea of the importance which he attached to this matter.

Havelaar, on the contrary, had something in expression of countenance, voice, and mien, when with uplifted finger he repeated the oath, as if he would say, “Of course, without ‘any oath,’ I should do that.” Any one having a knowledge of men would have had more confidence in his freedom from constraint than in the sedateness of the Resident. Is it not ridiculous indeed to think that the man whose vocation it is to do justice, the man into whose hands is given the weal or woe of thousands, should think himself bound by a few uttered sounds, if his heart does not feel itself obliged even without those sounds to do so (emphasis mine)?

We believe of Havelaar, that he would have protected the poor and oppressed wheresoever he might meet them, even if he had promised by “God Almighty” the reverse (emphasis mine).

From Max Havelaar by Multatuli.

Comments

Damn, It Is Cold

Weather in fall always comes paired with temperature drops, fall storms, and lots of rain. But seldom did the temperature drop from 20°C to a mere 7°C from one day to the next.

The release of Ubuntu 10.10 coincided with this change for wintry weather; however, while I’m sure it’s swell, you won’t see me upgrading just yet. Perhaps I’ll have to look a little harder into acquiring a netbook so I can use it with the Ubuntu Netbook Edition.

Of more interest is the announcement that Opera 11 will have extensions. Or, more particularly, that I was the first to guess this in a contest.

Comments

How to Disable Opera Speed Dial

As far as I’m concerned there are two reasons for disabling speed dials: it’s faster, and your history doesn’t misbehave.

The speed is less relevant since Opera 10, although more relevant again since Opera 10.50. The history argument is far more important to me. It really throws me off that the first page I visited in a window still allows me to go back. I don’t know why someone would want to go back to the speed dial; isn’t it faster to just open a new one?

To disable the speed dial, you have you change the SpeedDialState setting in opera:config.

0: Folded
1: Shown
2: Read only, and always show speed dial
3: Disable speed dial

Set it to 3 to disable speed dial completely. If you think this will impair your ability to open pages quickly and easily, you need to take note of go to nickname (Shift + F2).

Comments

Google Calendar Synchronization

syncme.sebeta performs synchronization of Google Calendar with SyncML supporting cellphones in a manner that easily outperforms all other alternatives.

Opera Mini and this kind of calendar synchronization enable me to use my now over three years old Sony Ericsson s500i much like it were a modern smartphone. I realize the phone is as ubiquitous these days as the Nokia 3310 was in the early 2000s, but I take comfort in being a pioneer: I got the phone about one to two months after it came out.

But none of that is really relevant. If you use Google Calendar and a phone that supports SyncML, syncme.se might just be what you were looking for.

Comments

« Newer EntriesOlder Entries »