Better HN
topnewbestaskshowjobs
Log inSign up

infinity

2,393 karma · joined Jan 2, 2009 (17y ago) · 500 submissions

hi :)
Submissions

181.

Sophismata(plato.stanford.edu ↗)

3 points · by infinity · 15y ago · discuss

comment 15y ago · link · parent

It is ok to put something funny on the 404 page and the pages for the other errors. But a proper and useful 404 error page will not only entertain lost visitors, but guide them back to existing pages of a website.

A sitemap and possibly a search input field are a good idea.

183.

Combining Logics(plato.stanford.edu ↗)

2 points · by infinity · 15y ago · discuss

184.

Understanding the LFH heap(illmatics.com ↗)

1 points · by infinity · 15y ago · discuss

185.

Introduction to Web Accessibility(w3.org ↗)

1 points · by infinity · 15y ago · discuss

comment 15y ago · link · parent

I have sometimes seen messages displayed, which told me to upgrade my browser to something more contemporary - I'm using the latest version of Opera.

I have sometimes seen messages, that IE6 is not wanted on a site - but I was not using Internet Explorer :-(

If you want to see cool designed pages, you could look for any pages that are cool designed, independent of the purpose.

Maybe you were looking for some compilation of "not for IE 6" pages, like the many collection articles of cool or funny 404 pages. I have not seen any compilation of "not for IE 6" pages so far.

Most 404 pages I have seen listed in these collection articles do miss a very important point: they do not help a lost visitor at all. They more or less plainly state, that something went wrong, and possibly show an error number, which most visitors may find mysterious. It is ok to put something funny on an error page, but I would recommend to give the error pages the same layout like the rest of the website, showing the main navigation, and put something on it, which really helps those lost visitors to get back to existing pages and to be happy. A sitemap might be a good idea and a search input field.

Generally, I'm not a fan of websites telling me what kind of browser I should use. Cool design is a matter of taste and ultimately the visitor has the last word on this matter.

In the cases, where I have seen a message intended for IE6 users, the design was never cool. It was often just some additional text box or a pop-up, recommending a browser upgrade in the less annoying cases, and telling the visitor to leave in the worst cases.

Several bloggers have been experimenting with the proprietary design features supported by IE6 (the CSS filter extension), like putting a blur on the whole page or flipping the content upside down. You can find some information on these filters here:

http://www.ssi-developer.net/css/visual-filters.shtml

This may lead at least to some special design, which only Internet Explorer users can see. But this is not a nice thing to do, since many IE6 users may not have a choice.

>>pain in the ass for developers and designers<<

I think, that it is just wrong to let personal frustration caused by difficulties of the design process have an influence on the website and the way a visitor will see the website. One of the worst messages I have seen was:

Not for stupid old browsers.

What will a visitor think, if this is the only text on the page?

comment 15y ago · link · parent

I have posted another link in a comment, where you can find a list of locations. Pick the location, which is nearest to you, and you will find a time interval.

I hope that the displayed information is accurate, but to predict the peek of the meteor shower seems to be difficult.

comment 15y ago · link · parent

Hi everybody, here is another link with some useful informations for tonight, including a list of locations and the best time for observation:

http://www.spacedex.com/orionids/

"While the Orionids may be active from October 15th through October 29th, it reaches its peak on the night of October 21st into the morning of October 22nd. The peak of a meteor shower is the moment of the strongest meteor activity, and the number of meteors during this time is expected to range from 10 to 20 meteors per hour under ideal viewing conditions. As with many meteor showers, predicting the peak of the Orionids is difficult..."

If you want to take pictures, there is also a photography guide for meteor showers:

http://www.spacedex.com/guides/photograph-meteor-showers.php

I wish all of you good luck and a clear sky, if you go out tonight or in the morning.

comment 15y ago · link · parent

Hi, there is a book on this topic:

"Gamification by Design: Implementing Game Mechanics in Web and Mobile Apps", written by Zichermann and Cunnigham, from O'Reilly, August 2011.

The description on amazon mentiones case studies. I haven't read this book, I have just seen it in the book store, so I can't tell you if it is good or if it is what you are looking for. There are no customer reviews yet, but I hope that this information helps.

190.

Weekend Orionid Meteor Shower(science.nasa.gov ↗)

10 points · by infinity · 15y ago · 5 comments

comment 15y ago · link · parent

Opening new browser windows has been on the Top 10 list of design mistakes of 1999:

http://www.useit.com/alertbox/990530.html

I hate it, if the back button breaks. I know many people who use the back button as one of the main elements of the browser. I have been present several times, when somebody got really angry because of a broken back button. So I would recommend the following rule as best practice:

Don't ever break the back button!

It takes much work and creativity to make visitors love websites. We should not ruin that hard work by a silly design decision like target="_blank".

Also, the target="_blank" is a relic from the time of framesets. This time is over.

comment 15y ago · link · parent

Just a thought: can we find some input, which will turn into a malicious script, when compressed or encoded by an algorithm and saved as a file on the server? The encoded file could contain something like <?php ... ?>. If the server could be tricked into parsing the encoded file for PHP, we are in trouble. I think about uploading an additional .htaccess, which will contain a directive to send .zip files to the PHP parser - of course this should never be possible.

There are some encoder/decoder tools on the web, where it is possible to enter, for example, base64 encoded strings and get these decoded. It is often possible to enter base64 encoded JavaScript plus some closing tags or brackets to break out of the input field. When decoded, the JavaScript will be executed by the browser and we have found a cross-site scripting flaw.

comment 15y ago · link · parent

A couple of days ago a tutorial "PHP MD5 Secure login script" showed up on Hacker News:

http://news.ycombinator.com/item?id=3084834

The article has later been removed from the site.

comment 15y ago · link · parent

The problem of working with unsanitized user input is not specific to PHP, this has been a problem with other server side scripting languages as well.

Here is an ancient example: NT Web Technology Vulnerabilities, written by rain.forest.puppy, Phrack Magazine Volume 8, Issue 54 Dec 25th, 1998.

http://www.phrack.org/issues.html?issue=54&id=8#article

This is one of the oldest articles on SQL injection I know of.

comment 15y ago · link · parent

I would prevent uploads of arbitrary PHP files. If they are not parsed by the PHP interpreter, they might be delivered as PHP source code, like an ordinary text file. This could be used to be included into another vulnerable website. So your website is part of an attack, the malicious code is on your server, but remotely included and executed on another machine.

Also, if nearly arbitrary PHP files can be uploaded, the chances might be good that it's possible to upload other files as well, like some additional .htaccess files for subdirectories.

comment 15y ago · link · parent

But this usage of hidden php can sometimes be detected. If expose_php is not Off, you can see the X-Powered-by HTTP header and the PHP version, if the requested page was a PHP ressource.

You can also try to get the PHP eastereggs displayed with something like this, on a PHP generated page:

http://example.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42

Trying to provoke errors or weird PHP specific behaviour, maybe with PHP error messages displayed, is another way to gather some informations about the script language used by a site. But this is already more aggressive than simply looking for an X-Powered-By: header.

Just rewriting the file extension does not make a site any safer. Omitting file extensions is generally an interesting alternative, because in case you change from .php to .aspx or whatever, all URLs stay the same. Cool URIs don't change.

comment 15y ago · link · parent

I like your idea. Let's find out something about what the Googlebot is "seeing" and log the POST requests in a database table.

comment 15y ago · link · parent

I don't think that it is as simple as that. There is some form of ecosystem on the web: there are the content creators and website providers, there are the searchers, and there are the search engine providers. Each of these has its own interests and guidelines.

Searchers have quality guidelines too, though they are not explicitly published by them on the web. If a search engine delivers low-quality results, the searchers move on to the next search engine. A search engine without searchers is hardly profitable.

Most of the quality guidelines of Google are just common sense, following them will in many cases increase the usability and findability of a site.

If this has happend to you many times, you are likely doing something wrong. I have never had one of my sites banned from Google.

comment 15y ago · link · parent

But often there is a reason why a site vanishes from the Google index. We would have to exclude all possible violations of the Google guidelines, before we could safely claim that this is a great example for random removal by Google.

Edit: In a comment above Matt Cutts from Google gives an explanation.

200.

The Knot Atlas(katlas.math.toronto.edu ↗)

1 points · by infinity · 15y ago · discuss

201.

XSS Prevention Cheat Sheet(owasp.org ↗)

7 points · by infinity · 15y ago · 1 comment

202.

The Pentagram and the Golden Ratio(web.archive.org ↗)

1 points · by infinity · 15y ago · discuss

203.

The 17 Plane Symmetry Groups(clarku.edu ↗)

1 points · by infinity · 15y ago · discuss

204.

Green Flashes - an optical phenomenon(en.wikipedia.org ↗)

1 points · by infinity · 15y ago · discuss

205.

Japanese Aesthetics(plato.stanford.edu ↗)

1 points · by infinity · 15y ago · discuss

206.

The Witch of Agnesi(en.wikipedia.org ↗)

2 points · by infinity · 15y ago · 1 comment

207.

The Yahoo Style Guide(styleguide.yahoo.com ↗)

2 points · by infinity · 15y ago · discuss

comment 15y ago · link · parent

In the verifier.php I see a problem here:

    $uid=$_COOKIE['uid'];
    $uname=$_COOKIE['uname'];
    $sql="SELECT * FROM users WHERE username='$uname'";

The $uname is set from the value of 'uname' in the $_COOKIE array, but I see no input validation here.

If I were an evil attacker, I could send arbitrary cookie data to the server, it would end up in the $_COOKIE superglobal. If I include some SQL code, ... All input is evil!

Later, in the welcome.php the $_COOKIE['uname'] is echoed without any escapes.

comment 15y ago · link · parent

The story of the expedition of Burke and Wills is also part of the History of the camels in Australia - a story which is really something special.

In the year 1860 the ship Chinsurah arrived from Karachi in India at Melbourne. It brought 24 dromedaries (one-humped Arabian camels) to Australia and also some camel herders, called "Afghans". The camels were supposed to be part of the expedition of Burke and Wills, which was financially supported by the Royal Society of Victoria and aimed at crossing the australian continent from south to north.

Two years earlier the Victorian Exploration Committee employed Mr. George James Landells to buy camels for £3000 and recruit also some camel herders.

Six further camels were bought by the Victorian Exploration Committee, imported to Australia on the ship Malta by Mr. White & Co.

On Mr. Landells explicit wishes, 60 gallons of rum were added to the supplies of the expedition - not for himself, but for the camels! Mr. Landells had convinced the Committee, that rum would prevent scurvy and improve the survival of the camels in the desert.

On the 20th of August 1860 the expedition started with much public attention from Melbourne with 26 camels, four camels stayed at home, because they were ill.

1
678
17