10 Ways to Make Python Go Faster

Originally posted on Get off the Table:

On the “Sphere Online Judge” competition site, there are hundreds of programming challenges which you can attempt to solve in any of 40+ different programming languages. You simply submit your code, and the online judge will execute the code in a controlled environment. If you’re program generates the correct output (answers the set problem) within a specified time limit, you get some points on the scoreboard.

Here’s the catch: The time limit is the same no matter what language you are using. This obviously puts interpreted languages like Python at a disadvantage, and often you need to squeeze every last ounce of speed from you algorithm. Many problems have never been solved in Python due to the time limit… it pays to check whether there have been any sucessful Python solutions submitted for a given problem before getting too frustrated trying to find a fast enough solution.

So without…

View original 577 more words

Featured Image -- 188

Reddit CEO Yishan Wong On Giving Stock To Users: “We Have A Crazy Plan.”

Originally posted on TechCrunch:

One of the defining ironies of the social networking IPOs over the last decade is that the financial returns have been concentrated among so few when the value has been created by so many.

But current Reddit CEO Yishan Wong wants to change that.

When Wong served as an early director at Facebook for five years, crypto-currencies were around, but they weren’t as widely accepted or understood as they are today. He and Y Combinator head Sam Altman, who just personally led a $50 million round in the company announced today, want to use them as a tool to distribute shares in the company back to the millions of Reddit users, or Redditors, that log in every day. They’ve set aside 10 percent of the round announced today for that purpose.

“Everybody who has ever run the company has always wanted to give some ownership back to the community somehow,” Wong said.

He went on, “We have a crazy plan and what…

View original 347 more words

15,000+ fake views on ChallengePost Project

Hey there!

I hope you enjoyed my previous posts in Technical Hacks category.

Starting with the project of the week – GitHub Profile Scraper. So, as I was done with my latest project GitHub Profile Scraper a few days ago, I decided to post it on ChallengePost. GitHub profile scraper basically, helps you to get details of someone’s GitHub profile and show the information in an elegant way!

As soon as I posted the project on ChallengePost, it really got kind of sudden attention from ChallengePost community and even the co-founder of ChallengePost liked my project and started following me. I was delighted by the immediate attention that I was getting for this (self-)project.

As said by the great men – “The more you get, the more you desire to have!”. Yes, I was not different in this sense. I started looking for more and more visitors to my project and more followers on ChallengePost.

Then an evil idea came in my mind! I thought of automating the project page views as I noticed that they count different page views from same IP address as different page views. This reminded me of how easily this is achievable using Python. So, I opened my weapons i.e. Python IDLE! :D

I wrote a simple python script within next 10 minutes and ran various versions(keeping time delays different) of it. The result was an increment of almost two thousand page views. My project was soon trending on top on ChallegePost. Soon after that, the co-founder Nealrs came to know about this(probably) and stopped liking the project. But I kept on running the script with increased frequency of the page visits. At a time I was sending almost 20 page requests every seconds. The only thing I was waiting for was a server crash, which didn’t eventually happen and page views on the project were soon 17,000+. Yes, an increase of almost 15,000 page views.

The best part was yet to come! Soon, the other co-founders of ChallengePost came to know about this and instead of taking any action against me or my project(I was actually expecting them to remove my project after this), one of the co-founders, Brandon Kessler (@bkessler) tweeted me something like this -

This absolutely made my day! Then, I replied back with a polite, humble tweet to assure that I will not continue that.

FYI, the project was trending on ChallengePost for almost 3 days, which is really a big thing. Today, it has more than 20,000 page views. ;)

You can view the project on ChallengePost here: GitHub Profile Scraper | ChallengePost

For feedback/suggestions/feature-requests, tweet me @sahildua2305 #FakeViews

DISCLAIMER: Since, I am making this trick public, ChallengePost staff may have problem with it. So, I am removing link to the script. It’s simple enough to write it yourself. ;)

30 Cool Webapps for Fun and Productivity

Originally posted on Quincentenary Library Blog:

Reblogged from the Judge Business School Library Blog.

Posted by cjbsinfo on 5/24/13 – Categorised as Blog Journal Posts,Free Information,Resource Spotlight,Social media

These are some of our favourite new-media tools for finding and organising information and presenting your work online. It is the list of tools that we presented at our ’30 New Webapps in 30 Minutes’ class on 24 May 2013.What are your personal favourites? Do you have other great apps to suggest? We’d love to hear from you.

Skylines Skylines is a real-time photo search engine that lets you   see what’s happening in the world right now. Skylines searches and indexes   over 5-million photos per day from places like Twitter and Instagram. You can   easily search for topics, places or people and display live searches on your   website using their easy-to-configure widget.
PhotoPin Photopin is a search engine…

View original 2,553 more words

Featured Image -- 169

Five errors that immediately get your resume rejected at Google

Originally posted on Quartz:

This post originally appeared at LinkedIn. Follow the author here

I’ve sent out hundreds of resumes over my career, applying for just about every kind of job. I’ve personally reviewed more than 20,000 resumes. And at Google we sometimes get more than 50,000 resumes in a single week.

I have seen a lot of resumes.

Some are brilliant, most are just ok, many are disasters. The toughest part is that for 15 years, I’ve continued to see the same mistakes made again and again by candidates, any one of which can eliminate them from consideration for a job. What’s most depressing is that I can tell from the resumes that many of these are good, even great, people. But in a fiercely competitive labor market, hiring managers don’t need to compromise on quality. All it takes is one small mistake and a manager will reject an otherwise interesting…

View original 932 more words

Top 40 useful websites to learn new skills

Source: http://www.marcandangel.com/2010/05/24/top-40-useful-sites-to-learn-new-skills/

“Here are the top 40 sites I have personally used over the last few years when I want to learn something new.

 

Hack a Day – Hack a Day serves up fresh hacks (short tutorials) every day from around the web and one in-depth ‘How-To hack’ guide each week.

 

eHow – eHow is an online community dedicated to providing visitors the ability to research, share, and discuss solutions and tips for completing day-to-day tasks and projects.

 

Wired How-To Wiki – Collaborate with Wired editors and help them build their extensive library of projects, hacks, tricks and tips.  Browse through hundreds how-to articles and then add to them, or start a new one.

 

MAKE Magazine – Brings the do-it-yourself (DIY) mindset to all of the technology in your life.  MAKE is loaded with cool DIY projects that help you make the most of the technology you already own.

 

50 Things Everyone Should Know How To Do – While not totally comprehensive, here is a list of 50 things everyone should know how to do.  It’s a great starting point to learn new skills.

 

wikiHow – A user based collaboration to build and share the world’s largest, highest quality how-to manual.

 

Lifehacker – An award-winning daily blog that features tips, shortcuts, and downloads that help you get things done smarter and more efficiently.

 

100+ Google Tricks That Will Save You Time – Today, knowing how to use Google effectively is a vital skill.  This list links out to enough Google related resources to make you an elite Google hacker.

 

Instructables – Similar to MAKE, Instructables is a web-based documentation platform where passionate people share what they do and how they do it, and learn from and collaborate with others as the tackle new projects and learn new skills.

 

Merriam-Webster Online – In this digital age, your ability to communicate with written English is paramount skill.  And M-W.com is the perfect resource to improve your English now.

 

Lumosity – Learn to improve your memory by playing a series of fun and educational brain training games.

 

100 Skills Every Man Should Know – Another compilation article with instructions to help you learn new skills.  This one says it’s geared for men, but I think most of these skills are applicable to women as well.

 

5min Life Videopedia – Lot’s of great tutorials and DIY videos………”

Read More…

List of 101 most useful websites

Originally posted at: Monster Hub

List of 101 most useful websites:

01. screenr.com – record movies of your desktop and send them
straight to YouTube.

02. bounceapp.com – for capturing full length screenshots of web
pages.

03. goo.gl – shorten long URLs and convert URLs into QR codes.

04. untiny.me – find the original URLs that’s hiding behind a short
URLs.

05. localti.me – know more than just the local time of a city

06. copypastecharacter.com – copy-paste special characters that
aren’t on your keyboard.

07. topsy.com – a better search engine for twitter.

08. fb.me/AppStore – search iOS apps without launching iTunes.

09. iconfinder.com – the best place to find icons of all sizes.

10. office.com – download templates, clipart and images for your
Office documents.

11. woorank.com – everything you wanted to know about a website.

12. virustotal.com – scan any suspicious file or email attachment for
viruses.

13. wolframalpha.com – gets answers directly without searching
– see more wolfram tips.

14. printwhatyoulike.com – print web pages without the clutter.

15. joliprint.com – reformats news articles and blog content as a
newspaper.

16. isnsfw.com – when you wish to share a NSFW page but with a
warning.

17. e.ggtimer.com – a simple online timer for your daily needs.

18. coralcdn.org – if a site is down due to heavy traffic, try
accessing it through coral CDN.

19. random.org – pick random numbers, flip coins, and more.

20. mywot.com – check the trust level of any website – example.

21. viewer.zoho.com – Preview PDFs and Presentations directly in the
browser.

22. tubemogul.com – simultaneously upload videos to YouTube and other
video sites.

23. truveo.com – the best place for searching web videos.

24. scr.im – share you email address online without worrying about
spam.

25. spypig.com – now get read receipts for your email.

26. sizeasy.com – visualize and compare the size of any product.

27. whatfontis.com – quickly determine the font name from an image.

28. fontsquirrel.com – a good collection of fonts – free for personal
and commercial use.

29. regex.info – find data hidden in your photographs – see more EXIF
tools.

30. tineye.com – this is like an online version of Google Googles.

31. iwantmyname.com – helps you search domains across all TLDs.

32. tabbloid.com – your favorite blogs delivered as PDFs.

33. join.me – share you screen with anyone over the web.

34. onlineocr.net – recognize text from scanned PDFs and images – see
other OCR tools.

35. flightstats.com – Track flight status at airports worldwide.

36. wetransfer.com – for sharing really big files online.

37. pastebin.com – a temporary online clipboard for your text and
code snippets.

38. polishmywriting.com – check your writing for spelling or
grammatical errors.

39. awesomehighlighter.com – easily highlight the important parts of
a web page.

40. typewith.me – work on the same document with multiple people.

41. whichdateworks.com – planning an event? find a date that works
for all.

42. everytimezone.com – a less confusing view of the world time
zones.

43. warrick.cs.odu.edu – you’ll need this when your bookmarked web
pages are deleted.

44. gtmetrix.com – the perfect tool for measuring your site
performance online.

45. imo.im – chat with your buddies on Skype, Facebook, Google Talk,
etc. from one place.

46. translate.google.com – translate web pages, PDFs and Office
documents.

47. youtube.com/leanback – sit back and enjoy YouTube videos in
full-screen mode.

48. similarsites.com – discover new sites that are similar to what
you like already.

49. wordle.net – quick summarize long pieces of text with tag clouds.

50. bubbl.us – create mind-maps, brainstorm ideas in the browser.

51. kuler.adobe.com – get color ideas, also extract colors from
photographs.

52. followupthen.com – setup quick reminders via email itself.

53. lmgtfy.com – when your friends are too lazy to use Google on
their own.

54. tempalias.com – generate temporary email aliases, better than
disposable email.

55. pdfescape.com – lets you can quickly edit PDFs in the browser
itself.

56. faxzero.com – send an online fax for free – see more fax
services.

57. feedmyinbox.com – get RSS feeds as an email newsletter.

58. isendr.com – transfer files without uploading to a server.

59. tinychat.com – setup a private chat room in micro-seconds.

60. privnote.com – create text notes that will self-destruct after
being read.

61. flightaware.com – live flight tracking service for airports
worldwide.

62. boxoh.com – track the status of any shipment on Google Maps –
alternative.

63. chipin.com – when you need to raise funds online for an event or
a cause.

64. downforeveryoneorjustme.com – is your favourite site really
offline?

65. example.com – this website can be used as an example in
documentation.

66. whoishostingthis.com – find the web host of any website.

67. google.com/history – found something on Google but can’t remember
it now?

68. errorlevelanalysis.com – find whether a photo is real or a
photoshopped one.

69. google.com/dictionary – get word meanings, pronunciations and
usage examples.

70. urbandictionary.com – find definitions of slangs and informal
words.

71. seatguru.com – consult this site before choosing a seat for your
next flight.

72. sxc.hu – download stock images absolutely free.

73. imo.im – chat with your buddies on Skype, Facebook, Google Talk,
etc. from one place.

74. wobzip.org – unzip your compressed files online.

75. vocaroo.com – record your voice with a click.   The 101
Most Useful Websites  4

76. scribblemaps.com – create custom Google Maps easily.

77. buzzfeed.com – never miss another Internet meme or viral video.

78. alertful.com – quickly setup email reminders for important
events.

79. encrypted.google.com – prevent your ISP and boss from reading
your search queries.

80. formspring.me – you can ask or answer personal questions here.

81. snopes.com – find if that email offer you received is real or
just another scam.

82. typingweb.com – master touch-typing with these practice sessions.

83. mailvu.com – send video emails to anyone using your web cam.

84. ge.tt – quickly send a file to someone, they can even preview it
before downloading.

85. timerime.com – create timelines with audio, video and images.

86. stupeflix.com – make a movie out of your images, audio and video
clips.

87. aviary.com/myna – an online audio editor that lets you record and
remix audio clip.

88. noteflight.com – print music sheets, write your own music online
(review).

89. disposablewebpage.com – create a temporary web page that
self-destruct.

90. namemytune.com – when you need to find the name of a song.

91. homestyler.com – design from scratch or re-model your home in 3d.

92. snapask.com – use email on your phone to find sports scores, read
Wikipedia, etc.

93. teuxdeux.com – a beautiful to-do app that resembles a paper
dairy.

94. livestream.com – broadcast events live over the web, including
your desktop screen.

95. bing.com/images – automatically find perfectly-sized wallpapers
for mobiles.

96. historio.us – preserve complete web pages with all the
formatting.

97. dabbleboard.com – your virtual whiteboard.

98. whisperbot.com – send an email without using your own account.

99. sumopaint.com – an excellent layer-based online image editor.

100. lovelycharts.com – create flowcharts, network diagrams,
sitemaps, etc.

101. nutshellmail.com – Get your Facebook and Twitter streams in your
inbox