juan_gandhi: (Default)
2017-03-24 11:33 am
Entry tags:

googlebot looking for viagra on my site?

vpatryshev 66.249.79.86 - - [21/Mar/2017:09:49:29 -0700] "GET patryshev.com/Viagra-every-day-bzvg/??Viagra-every-day-bzvg/ HTTP/1.1" 200 5189 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"


That's from my access log. It does it every day.
juan_gandhi: (VP)
2016-07-20 08:36 am
Entry tags:

java dotnet idiocy

[ArgumentException: An item with the same key has already been added.]
   System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +52
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +10571237
   BlogEngine.Core.AuthorProfile.get_Profiles() +244
   BlogEngine.Core.AuthorProfile.GetProfile(String username) +44
   BlogEngine.Core.Post.get_AuthorProfile() +8
   post.OnInit(EventArgs e) +1841
   System.Web.UI.Control.InitRecursive(Control namingContainer) +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +489


Every line is precious.

Insert(TKey key, TValue value, Boolean add)
GetProfile(String username) calls get_Profiles()
InitRecursive
Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
juan_gandhi: (VP)
2013-05-12 08:48 pm
Entry tags:

web-programmers

"Do not hit submit button more than once" - as if it is so hard to hide the button right before you send your ajax (and replace it with "submitting..." message).
juan_gandhi: (Default)
2010-12-07 05:58 pm
Entry tags:

web shell

When I wrote it about 8 years ago, I could never guess that I'd need it later on. Now it is a tool without which I could not do anything. Feeling like will have to work on it, turn it into something more useful.

What I'm currently trying to do now, is build latex from sources (already rsync'd) on the server I renor t for $10/mo, where all I have is the opportunity to upload a war and run my servlets or jsps. Being lazy, I prefer jsps... except for my app which I wrote in Scala... but Scala is not very far from jsp actually.