Jump to content

davej

Moderator
  • Posts

    3,988
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by davej

  1. davej

    Drupal or similar?

    CDS means something similar to CMS? Thanks.
  2. Well, I am curious about this topic because I don't know how easy it is to implement/modify/customize these "pre-fab" offerings. If WordPress is great except for guest comments can't you simply kill them? Also what are the top CMS's ? Thanks.
  3. You are saying that other websites repost your page content? Couldn't you scan back to find your content and then blacklist those ip's? Better yet, redirect them to rubbish. Now maybe they don't display your content with the same ip that they scan and scrape with, but you might be able to encode identifying sequences that would allow you to identify the culprit.
  4. I am going to be building a club website and I don't know if I should consider something like Drupal or if I should try to build it from scratch. What are the pros and cons? Thanks.
  5. I'm writing in C# and ASP.NET but I think I have a working scheme using a function which calls DateTime.Now.Millisecond and DateTime.Now.Second. It builds a string of access times which I then download at the end of the page processing. It looks like all of my page time is spent on the database accesses. This morning I see times of as much as 1.5 seconds per access but then the database must cache some accesses because the query that I repeat every two seconds settles down to 0 ms.
  6. So the victim is running malicious Javascript?
  7. I think it's obvious why they would put these on a site rather than do this from home. They want plausible deniability. Some Bulgarian must have hacked into their site and put that code on there.
  8. I suppose the next step is to measure the duration of each database access. I have seen occasional error messages where the database timed out or refused my log-in, so something is crazy somewhere, but perhaps it is not entirely my code that is at fault.
  9. I have now added a preliminary database access counter. Most of the time when idle I am just checking for any new chat messages that might have been posted to the database. If this is my only query it does occur in less than 1 ms.
  10. Hmmm... very interesting. The first link says I am sharing with 299 other websites, although some seem to show up twice -- with and without the www prefix. The second link says I am sharing with 115 other websites. I am now thinking that the elapsed time that I am measuring will include the time my process is suspended pending disk accesses for the database. I think I will have to add a counter to count the number of database accesses for each of those periods.
  11. Things are working better now but I'm not sure what the elapsed time is telling me. I am told the servers are supposed to have something like four dual core processors in them, but judging from the number of visible databases there are plenty of users squeezed onto them. I see elapsed times coming back that are anywhere from less than a millisecond to several seconds.
  12. Well, I don't think I would want to track every change to every line, but I might want to have a utility that could go out and find every project named by a wildcard and then generate a report detailing exactly how they are different from each other. Or I might want to search every sourcefile in every project named by a wildcard for a particular wildcarded string. I also want to stop using notepad because the dumb thing will open the same file multiple times and lacks about six other features that I want, so I might as well add this to the above utility program project.
  13. Is this command worth using? Will it provide the equivalent of the Parse check in Management Studio? Thanks.
  14. I can't figure out how to create a database account with restricted rights from cPanel so I am wondering how this is accomplished? Is this a "trapdoor" type of thing that is accomplished via accesses to the database? As an alternative is there perhaps a list of commands I could filter out to create the same result? Does anyone have this figured out? Thanks.
  15. davej

    math forum

    Oh, that could be it. I wonder if he wants numerical methods or just the math itself? Plenty of algebra practice can be found onhttp://answers.yahoo.com/dir/index;_ylt=AolOFxRC3Zt8m0bZyMyY2roCxgt.;_ylv=3?sid=396545161&link=list
  16. Well up until recently the only live pages I had on the web were static HTML pages, but now I'm finally trying to get an ASP.NET page running and I'm having some problems with it, so I'm trying to figure out if it is throwing an exception or getting into an infinite loop, or perhaps is being throttled. How many SQL Server accesses are one too many?
  17. davej

    math forum

    What are you calculating then? You used the term "web-computing" but that doesn't mean much to me.
  18. I just suffered some confusion a few days ago due to having apparently edited the wrong project in Netbeans. I tend to rename my folders with a date suffix but this is not visible inside Netbeans once you enter the project, so apparently I entered some changes into a non-current version. I am curious about simple version control aids that might prevent that from occurring again in the future. I was thinking of writing a program to compare the source-file contents of all project folders that matched a specified wildcard. This program would also offer a two-pane text display highlighting source differences. I'm suspecting my concept is nothing like a _real_ version control program. So I want to ask -- what are the basic features of a "real" version control system? Thanks!
  19. I am curious about the idea of tracking processor time used per page update on a shared host. With a typical shared hosting account what sort of times will be considered acceptable by a typical hosting service? I'm guessing they will have a throttling mechanism in place so that one site cannot hog the processing resources. Thanks.
  20. davej

    math forum

    I am curious what math you are taking about.
  21. Can I use something, perhaps WebConfig.xml, to redirect "near misses" to the correct page? If the actual page is: http://mywebsite/birdhouses.aspx An nobody can remember .aspx I would like to redirect these paths to it. http://mywebsite.com/birdhouseshttp://mywebsite.com/birdhouses/http://mywebsite.com/birdhouses.comhttp://mywebsite.com/birdhouseshttp://mywebsite.com/birdshttp://mywebsite.com/birdhouse Is that easy? Thanks
  22. davej

    Common Lists?

    Well, I think one approach is to use application variables such as Application["user1"]. I am going to experiment with this. http://msdn.microsoft.com/en-us/library/ms178594.aspx
  23. davej

    Common Lists?

    Well, it seems that static variables might be an alternative, but there is a concern about "thread safety" which is over my head. Setting or clearing a particular boolean in a static array might be thread safe but I would have doubts about using an arraylist or string or any multi-byte variable.
  24. davej

    Common Lists?

    So if I wanted to supply a common list of users who are logged in to all users what is the most efficient approach? A static class with a static arraylist? A small table in the database? Something else? Thanks
×
×
  • Create New...