Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Rockstar lib will make you a Rockstar programmer in 2 lines of code (github.com/avinassh)
327 points by harel on July 18, 2015 | hide | past | favorite | 53 comments


> Rockstar is one amazing library, which will make you a Rockstar Programmer in just 2 minutes. In last decade, people learned C++ in 21 days. But these days, it has come down to just 10 minutes. But, I wanted to do better.

Curious about the 10 minutes thing, I followed the link through to Sam's Teach Yourself C++ In 10 Minutes on Amazon.

Uhhh... Can't explain this though: https://i.imgur.com/dVndZzz.png


When you are learning C++ at that kind of speed its natural that you will have to lubricate yourself to reduce risk of injury



Once you start down the lonely path of a C++ developer, it just makes sense to buy the 55 gallon tub of personal lubricant.


Another example of websites leaking private information about their users. The explanation: what readers of Teach Yourself C++ in 10 minutes do with the other 50 minutes. ;)


That has been a long running joke on Amazon. Some of the reviews are hilarious.


Wait, there's a web version of Google Keep?


Yep, it's a handy way to keep notes in the cloud without the bloat of Evernote

https://keep.google.com


Thank you! I had the app on my phone. I searched for a web version of it but I clearly wasn't thorough enough. Thanks!


When you said that, I thought that OneNote would be the app of choice.


There is also Google Chrome Extension for Google Keep. It works well on ubuntu, like a native apps.


I am in fact running Ubuntu. Thanks!


Holy Shit! I am the author of this library. Wow, I can't believe something I built is #1 on HN now (:


> theGuyWhoCreatedSwift.png

Laughed at this one.


Hehe. I recognised your username from /r/india. Got a laugh out of this :)


Why is it a library? An executable script would be enough.


Distribution, maintenance and pushing updates will be lot simpler.

also, as a rockstar programmer, I do things right way ;)


If you were a true rockstar, this would be called rockstar.io/rockstar.js and written in node to make it webscale.


bruh, what about assembly?


Great answer.

Though now I feel my 140 day streak is wildly inadequate. :(


The README brings up a cultural reference I didn't understand. It says "Many people have received jobs from the big 4 after becoming a Rockstar"

I hadn't heard of "big 4" before. I thought it might refer to tech companies, like Google, Apple, Microsoft, Oracle, etc. but couldn't figure out which 4. http://www.techrepublic.com/blog/tech-sanity-check/schmidt-c... says "Google, Apple, Amazon, and Facebook", are the big 4 category of 'platform companies' while http://battellemedia.com/archives/2011/12/the-internet-big-f... uses the phrase the big 5, which also includes Microsoft. Then again, the speaker in https://www.youtube.com/watch?v=YJZCUhxNCv8 comments about working at the "Amazon, Facebook, Google and Microsoft - sometimes called the Big 4".

This suggests that the "big 4" is more a concept then an actual definition.

On the other hand, further search gives another possibility. The big 4 can refer to the audit firms of Deloitte, PwC, EY and KPMG ( https://en.wikipedia.org/wiki/Big_Four_%28audit_firms%29 ). It was "Big Eight", then "Big Six" and "Big Five", before ending up with 4. At http://www.narrowingthegaap.com/recruiting/how-to-get-hired-... you see "How To Get Hired By the Big 4: The Hiring Process (Part 1)" which starts "The Big 4 hire only the best and the brightest. This is only a partial truth at best. I know this because I have met some really dumb people working for the Big 4. So no, to get hired by a Big 4 you don’t need to have a 4.0 GPA with a double major in ..".

So does the github project mean the audit companies, or the tech companies? I think the tech companies are more likely to offer $200K jobs for programmers, but have little knowledge of the audit world.

I'll also hypothesize that the term "big 4" came from the audit world and was reused in the tech world by analogy.


The only place I hear "big 4" in regards to tech is Reddit's cscareerquestions. It really doesn't mean anything more than "top companies that are famous"—any combination of Google, Facebook. Microsoft, Amazon, and Apple will do.

IMO they should just call it "top companies".


You're right -- the big 4 was stolen from the audit world.

Depending where you look it's the Big 5 or Big 4 and will be some of Google, Apple, Amazon, Facebook, Microsoft.


I recently noticed in Europe references to these "digital big 4" as the GAFA, i.e. Google, Apple, Facebook, Amazon. Some also designate them as the Four Horsemen of the Apocalypse/Internet. I'm still looking for the guy who coined the term though...


From February 5, 2012, Niraj Dawar, http://knowledge.insead.edu/blog/insead-blog/gafa-the-new-fa... :

> The four big boys Google, Apple, Facebook, and Amazon (or GAFA; ok, not quite Silicon Valley for Amazon which is based in Seattle, but you know what I mean) are all clearly in the marketing business.

From January 11, 2012, Ken Doctor, http://www.outsellinc.com/b2b/products/1044-getting-it-right... :

> How will the next few years play out for GAFA? Will they go the way of CompuServe and Prodigy? In five years will we have a new acronym to replace GAFA, which replaced 2006’s GYM?

GYM in turn is attested to at least 2005 , https://gigaom.com/2005/11/11/can-you-stay-gym-free/ .


These guys trying to hook up Github users seriously messed their algorithms... I get offers for Web dev and Ruby shit whereas 99% of my OSS contributions are C and C++.

If even Google HR team is not capable of just simply take a look at a Github user contributions, I don't know how you should trust these new recruitment techniques.


That 'tweet' is fake.


This rocks. Mainly because I like python and this proves even git c++ rockstars are made with python.


Now the wait is for the PR to make the github commit profile picture contain the word 'Rockstar' with green pixels.


Not the word "Rockstar", but art in the GitHub statistics is a thing.

https://twitter.com/pablormier/status/575779002096435200




You could probably create a script for that - just get it to make commits at the right dates and such.


I particularly like that he faked the tweet from Life at Google (tried to find it, couldn't), that gave me a good chuckle. I enjoyed the Readme overall, thought that it had a good tone to it. Not too sarcastic but not too serious. Just enough to make me get it's just a silly fun thing he did in some free time.


Yup, it was created in very short time. I use another library GitPython in this and I spent more time with that. GitPython did not have option to make a commit with custom dates, which is very crucial for this project [0]. So I spent time reading it's code and sent a PR which exactly does that [1].

[0] - https://github.com/avinassh/rockstar/blob/master/RockStar/__...

[1] - https://github.com/gitpython-developers/GitPython/pull/317


I'm surprised this wasn't a thing sooner. I found out I could modify my github commit calender thing like over a year ago. Awaiting for mainstream abuse (hilarity) to kick in now thanks to this! :)


I think someone made something that could fill the calendar with stuff, most notably letters, mere days after they introduced in on github.


People have even used it to create pixel art :)

https://github.com/gelstudios/gitfiti


Has anyone tried this on their github account? I'd like to see what the commits look like.

Edit: Looks like it's just hundreds of hello world commits. I was expecting unique code for each commit! :)


> I was expecting unique code for each commit! :)

Good idea! I will implement this. As of now it makes commits with a random string (uuid.uuid1) and only final commit contains the Hello World in C++.


The author is wrong about this one:

    Rockstar is Python 3 only library. Rockstar programmers don't code in Python 2.
Exactly the opposite is True: rockstar programmers code forever in Python 2 and newbies use Python 3 (beside core developers)


Ahem, "Rockstar" developers

On a more serious note, people should start using Python 3, unless you really depend on a library that's not supported in 3.X or needs to support 2.X (but it's usually possible to target both versions)


Phooey. Asyncio is the bomb.


Python 2 is for graybeards.


Hilarious, seriously. Scary, too...


Indeed. Love it!

As usual:

Step 1: metric is used to indicate performance

Step 2: developer finds a way to hack the metric

Step 3: developer profit

Step 4: metric now considered unusable

LOCs, #of issues fixed, ... all in the same bag.



Tell that to people doing machine learning!


Isn't that kind of why they use a training set and a separate evaluation set?


Like with power-leveling, it wouldn't surprise me if there's programmers that throw decent code together [for a price] to help crappier programmers get jobs. It would be less noticeable than Rockstar lib at least until the interview. Has anyone seen this kind of thing happening?


I similarly once used Git to evidence cheating [1] at a corporate hackaton. It was none other than the CEO team who committed half the files before the kick off.

[1] I didn't phrase it like that at the time, because it could be accepted that desgin work isn't hacking. Most of the wiring with the real APIs happened during the night of the hackaton. Besides, ultra-preparing plans/assets for a corporate hackaton in advance is just showing high motivation. And commits at 6am from a CEO still hold me in respect 4 years later.


Borat: Great success, yes? Very nice!


> Many people have received jobs from the big 4 after becoming a Rockstar, using Rockstar

Hilarious.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: