4,512 reputation
523
bio website vyznev.net
location Helsinki, Finland
age
visits member for 2 years, 3 months
seen yesterday

I like programming in Perl and C. I know Java and PHP too (I'm a MediaWiki developer), but I can't really say I like them. I keep meaning to learn Python some day, but never seem to get around to it.

I'm working on a Ph.D. in biomathematics. I also like programming puzzles and cryptography.

Please consider any (original) code I post to Stack Overflow (and other Stack Exchange sites) to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.


Aug
27
comment How did Google find my unlinked newly created pages?
Actually, AFAIK, MediaWiki normally doesn't do that. But if you added the new pages to an existing wiki that Google knew about, then it could've reached them via any number of pages (e.g. Special:Recentchanges, Special:Allpages, Special:Random...).
Aug
27
comment How did Google find my unlinked newly created pages?
Are you using a CMS / wiki / blog / etc. platform of some kind? Some of those ping Google whenever you add new pages.
Aug
22
comment Adding direct advertisements to a mediawiki installation
I'm not sure why this was closed as "asking for recommendations", given that you explicitly say that you want to implement the ads yourself. Still, you question is kind of vague, but the general solution to "How do I add things to the sidebar?" is to use a SkinBuildSidebar hook.
Aug
22
comment One million redirects
+1. Of course, if you can write a program to generate the new URLs from the old ones, then you won't even need to store them in a database. (Also, if you do use a database, creating an index on the old URL column is highly recommended...)
Jul
24
comment With Robots.txt disallow all, why was my site still getting traffic?
Related, possibly duplicate: Why do Google search results include pages disallowed in robots.txt? (Disclosure: Asked and answered by me.)
Jul
22
revised Canonical URL for a home page and trailing slashes
edited tags
Jul
21
comment How to implement an unspammable email address
In that case, ignore the lower part of my answer.
Jul
20
answered How to implement an unspammable email address
Jul
3
answered Why old (301) links stay on Google when breaking site down to multiple domains
Jul
3
answered How secure is a static CAPTCHA?
Jul
1
comment .htaccess file to implement multiple redirects
No, not without more information from you, I can't. Answer me this: Imagine that I'm your webserver. Given the URL domain.com/my-new-page, how am I supposed to tell that it should be rewritten to manual-page.php rather than to flights.php? If you can tell me that, maybe I can tell you how to program your actual webserver to do it.
Jul
1
comment .htaccess file to implement multiple redirects
@RobMorta: As I said, first you need to decide how you're going to tell the two kinds of clean URLs apart. Come back once you've figured that out.
Jul
1
answered .htaccess file to implement multiple redirects
Jul
1
comment Getting a lot of '/_' errors from webmaster tools
That's strange. This similar question and this answer to another related question suggest that these URLs might once have been linked from somewhere, and perhaps might have actually worked, and Google now keeps trying to recrawl them because it thinks there used to be something there. Sending a "410 Gone" response or redirecting them to a working URL might help, as might using the URL removal tool on Webmaster Tools.
Jul
1
comment Getting a lot of '/_' errors from webmaster tools
Have you checked where those pages are being linked from? (Click on the page name on the list under "Health > Crawl errors", then open the "Linked from" tab on the popup.)
Jun
26
comment I want to combine the databases from two different sites under one URL. How is this possible?
OK, fair enough. If you edit that into your question, I can take back my downvote. Do note that there's also a specific Stack Exchange site for Wordpress; you might try re-asking your question over there if you don't get any good answers here.
Jun
26
comment I want to combine the databases from two different sites under one URL. How is this possible?
The answer depends entirely on the software you're using to run the sites, which you haven't specified. If you wrote your own code from scratch, the answer would be "OK, so just do it." (and you wouldn't be asking this question in the first place). If you're using code written by someone else, the answer then depends on whether that code supports such a feature out of the box, or whether you know enough to modify it to do that.
May
16
answered Using Extension:Maintenance to generate sitemap MediaWiki
May
16
comment www.*.us.com not being indexed, but *.us.com is on Google Webmasters
@Ojal: That's because it is a subdomain of us.com, which is owned by the company that sells the subdomains, CentralNic Ltd. It's not a top-level domain, although it looks confusingly like one. The actual ccTLD for the United States is just .us.
May
14
revised Mass Deletion of Spam Revisions in Mediawiki
tested, works