Re: apgsearch v1.0
Posted: May 13th, 2015, 3:02 am
Hope they aren't two freaking cosmic ray events... Maybe all the scores of the soups are doubled?biggiemac wrote:What might be doing this?
Hope they aren't two freaking cosmic ray events... Maybe all the scores of the soups are doubled?biggiemac wrote:What might be doing this?

Stopped my search.Adam P. Goucher wrote:I have no idea why this is happening. By the way, the prolonged barrage of Day and Night soups has started incurring comparatively large costs:
That would just result in a second sector on the pie chart. Anyway, I fixed it by modifying one of the lines of Catagolue code:Also changed "Nigin's Public Account" to "Nigin Public Account".
Code: Select all
String displayedName = parts[1].replaceAll("'","'");Basically, it didn't have enough time to include the sample soups (there's a 10-minute limit on cron tasks). This should never happen in any sensible rule.By the way, yl220_1_12_7a35ff857041aff55081929a21f53f24 in DN has 2 occurrences but no sample soups. Similar things are observed with other objects.
Thanks.Stopped my search.
First thing might be to re-run the exact same soup string on a different computer (or the same computer) using a minimally-modified apgsearch 1.04, and see if the same score gets applied again. If it doesn't happen on a re-run, then maybe it really is cosmic rays...biggiemac wrote:It happened again, a pulsar + clock + Block-laying-switch-engine soup worth 40 points clocked in at 80. What might be doing this?biggiemac wrote:Some freak cosmic ray event, perhaps?
I don't really have a check for which computer is which. Until recently I had a slightly different count between hauls for each computer, but now I'm running a shared file renamed golly-start.py for all instances, giving the same values for all. Running that soup through the calling function in apgsearch in all possible external configurations would be a good check.dvgrn wrote: Can you tell if both high scores were reported by the same computer? (That seems really really unlikely, but so does the doubled score.)
Did you ever look into this, just out of interest? If you have the 'switch user' option, as Brett does, then you can log out of the computer whilst still leaving Golly churning away.Kazyan wrote:More biggiemacs? My university has hundreds and hundreds of computers, but almost all are in regular use except maybe one of the small liberal arts labs. I'll look into that lab this weekend.
I did; 'switch user' is disabled. I go to an engineering college with a well-developed computer engineering department...I guess they know what they're doing.calcyman wrote:Did you ever look into this, just out of interest? If you have the 'switch user' option, as Brett does, then you can log out of the computer whilst still leaving Golly churning away.
Well, try talking it over with them and suggesting to do this search.Kazyan wrote:I did; 'switch user' is disabled. I go to an engineering college with a well-developed computer engineering department...I guess they know what they're doing.calcyman wrote:Did you ever look into this, just out of interest? If you have the 'switch user' option, as Brett does, then you can log out of the computer whilst still leaving Golly churning away.
You could still try logging into lots of computers and running apgsearch. Even if there's a safeguard which logs one off after a period of inactivity, this is easily circumvented: I have found that opening a foreground instance of Notepad and balancing the mouse to depress the spacebar (thereby typing a continual stream of spaces) is sufficient to fool the software without incurring any performance impact.I did; 'switch user' is disabled.
I may be cynical, but I imagine they're unlikely to agree. After all, one can do a quick calculation to estimate the cost of powering the machines to run apgsearch, and it's something like 0.50 GBP per 10^9 objects. Considering the fact that we've amassed 2 * 10^12 objects, that already equates to about 1000 GBP.Well, try talking it over with them and suggesting to do this search.
That does tend to draw more attention, though, not to mention getting in the way of other people who might want to use the computers, where the background processes don't. (Unless they also want to run something like apgsearch, anyway.)calcyman wrote:You could still try logging into lots of computers and running apgsearch. Even if there's a safeguard which logs one off after a period of inactivity, this is easily circumvented: I have found that opening a foreground instance of Notepad and balancing the mouse to depress the spacebar (thereby typing a continual stream of spaces) is sufficient to fool the software without incurring any performance impact.I did; 'switch user' is disabled.
Good thing my senior thesis consisted of building an instrument for physics research that would cost $40K but only cost me $2.5K. That plus $48K/year in tuition (and that's after scholarships are taken into effect - stupid American higher education costs put my college at nearly $60K/year).. they're still making a profit on me.calcyman wrote: I may be cynical, but I imagine they're unlikely to agree. After all, one can do a quick calculation to estimate the cost of powering the machines to run apgsearch, and it's something like 0.50 GBP per 10^9 objects. Considering the fact that we've amassed 2 * 10^12 objects, that already equates to about 1000 GBP.
10^11, I hope...? And in that case, thanks for submitting 8 * 10^10 of those!We've reached 10^8 soups. I've reached 80% on the pie chart.
I noticed that the main bottleneck was updating the object pages with sample soups. I then optimised it by using the batch version of DatastoreService.put() (so that all of the entities are updated in parallel). This led to concurrency issues, so I compromised (using batches of 5000 objects with one-second sleeps between them). The latest version of the code seems to work perfectly well, at least for my test-case (13 000 000 soups in Day and Night submitted in a single cron job).Alexey_Nigin wrote:Stopped my search.Adam P. Goucher wrote:I have no idea why this is happening. By the way, the prolonged barrage of Day and Night soups has started incurring comparatively large costs:

No, I don't believe so. There are several other endpoints, but they're only really used by me for testing purposes.Besides catagolue.appspot.com/chisquare, are there any other subpages not linked to that I should know about?
It seemed reasonable to increase the precision, given that most of the users each have less than one percent of the total objects committed.The pie chart is now a donut chart! With 2 more digits of precision!
If that's what you're aiming for, a table might be better than a pie chart, because on charts with more than 20 slices (the b3s23/C1 chart, for example), some slices aren't labelled, and coupled with how small they are this makes them very hard to click on.calcyman wrote:It seemed reasonable to increase the precision, given that most of the users each have less than one percent of the total objects committed.
Is this EC2 t2.micro instance thing the one that sells comouting power? I certainly would use it if it supports amazon free tier thingy.Kazyan wrote:I'll try to get apgsearch running an Amazon EC2 t2.micro instance to avoid having to deal with my university too much. It's a bit tricky, but working with search programs means it's not too opaque to use for me...hopefully...
A t2.micro instance is free if you just use one, and it's Amazon's computing power. I still haven't gotten a successful SSH into it to run anything, though...I still have difficulty with Ubuntu.Scorbie wrote:Is this EC2 t2.micro instance thing the one that sells comouting power? I certainly would use it if it supports amazon free tier thingy.
Feel free...Alexey_Nigin wrote:Would you mind if I minimize the window, increasing the speed of my DN search by an order of magnitude?