Crawling 2bn pages could take forever and could generate a huge bandwidth bills, so any lessons you learnt, pitfalls you faced, etc would be a great read.
354 karma · joined August 31, 2009
Crawling 2bn pages could take forever and could generate a huge bandwidth bills, so any lessons you learnt, pitfalls you faced, etc would be a great read.
Anyway, here are some links you can try for yourself:
No php results:
1. https://searchcode.com/?q=CORSConfiguration+CORSRules 1. https://github.com/search?l=php&q=CORSConfiguration+CORSRule...
Only SDK libraries, what I think would be useful if the search engine somehow prioritized code built on SDK/API over libraries (though I don't have the first clue how you would distinguish the two but that would be a killer feature because that is super useful)
2. https://searchcode.com/?q=createEnvironment+ElasticBeanstalk... 2. https://github.com/search?l=php&q=createEnvironment+ElasticB...
I can provide you with more examples, if that helps. Thanks!
Of course, there are a lot of roadblocks, like how much GitHub allows you to crawl the source code (sometimes you can find huge dumps on legit torrent sites or I don't remember the name of the site but it provides you with S3 buckets with crawled data where the requester has to pay for bandwidth but the data is free).
Then of course you will have to index the source code by language, project, author, date, etc. It's definitely not easy, which could be the reason why there is this huge gap.
But so far I think searchcode is okay because at least it does show something.
Was it the usual denial, anger, bargaining stuff or something different?
I've seen sites do this like readme.io but can you do that for a software library?
I needed it because when buying used items it really helps if you look at the feedback and make sure it is at least above 98% (in my experience). Before you had to open each and every listing and see the ratings.
This extension takes the pain away and it also highlights sellers with 100% feedback with green. Again, it's just a quick hack I made for myself but sharing it here in case someone else using eBay finds it useful.
Comments and suggestions are most welcome!
Followed by sam carpenter's work the system. I think if you're a programmer trying to make it as a business person those two books are the most invaluable.
Edit: about the how part.. Before reading and understanding these books I was always in a kind of firefighting mode. It was like a constant pain in the neck that something was somewhere needed me. Sure i was making money but I was not enjoying it and felt stressed all the time. Plus I wasn't scaling my business because of the constant need of attention from everything. Then I learned the systems thinking and it all started to change.. It was like I felt I had wasted 10 years of my life being stupid before. I'm telling you these two books can forever change your life both professionally and personally if you aren't already doing it.
I was listening to his audio-book and in the end he tells his story where he gave all of his money away (I think it was like 95% of the money away to create an institution for up and coming artists). It's just truly inspiring.
Anyway, it goes like this. Whenever you're leaving work, make sure to leave at least one thing nearly done.
Like one failing test which you know how to fix, a function that you've just started writing but haven't completed.
This way you have a starting point the next day and it really helps to get the ball rolling.
On a related note, another approach is to make things easier for yourself. I think it's all about getting over the static friction (time before you get the ball rolling). This approach is to prepare for the next day in advance. Like have your running shoes and socks ready by your bed, have a glass of water and a lemon (+knife) on your kitchen cabinet before going off to sleep.
[1] https://kodi.tv/
This alone should be worth thousands of dollars in the wrong hands because just imagine someone running a telephone book against this exploit - it's like having a peek into their users table and seeing all the registered users.
I was kind of giving up on TDD but seeing that almost everyone thinks it is important (for larger projects), I will try to watch some more videos and try to write tests for my current project (for the work already done) and tests first for the code that hasn't started (maybe I'll add comments in the tests). This way I can compare the two, with which approach suits me better and fails more (i.e. catches more bugs) in future.
This feels as exciting as what they do with video feeds in Hollywood movies, i.e. where the hacker puts in her own camera loops replacing live feed.
I used for testing long time back. Of course it didn't allow Javasript because it ran on Mechanize but it also meant it was extremely fast.
[1] http://www.businessinsider.com/google-microsoft-amazon-taboo...
It's also easy to sync and access on all devices.
Right now uBlock won't even let me visit Sourceforge without adding it to my exceptions list (probably for a good reason).
The only confusing part was that port 443 was blocked in ELB by default (which made it look like it didn't work but got fixed easily as soon as I figured it out). I've never seen an easier way to do this till date.