HNHacker News
TopNewBestAskShowJobs

antoaravinth

354 karma · joined July 14, 2012

submissionscomments
antoaravinth··on The myth of using Scala as a better Java
I totally agree on the groovy part. Groovy is a great language to do a quick POC or scripting. Things like MetaProgramming makes it easy to develop a DSL's.
antoaravinth··on Ask HN: What are the best interview questions you've been asked?
Your using two stacks now. This is the solution that I had told but your not satisfying the condition w.r.t to space , its O(n) not O(1).
antoaravinth··on Ask HN: What are the best interview questions you've been asked?
Yes thats right, you can come up with any solution. But make sure O(1) is satisfied (both in time and space complexity).

Anyways I had failed to give proper answer and I was rejected in the interview. This was the last question of my last round!

Spoiler: Here is one such solution using a simple but very clever trick: http://www.geeksforgeeks.org/design-a-stack-that-supports-ge...

antoaravinth··on Ask HN: What are the best interview questions you've been asked?
Find the minimum value in the stack in O(1) both time and space complexity.
antoaravinth··on Ask HN: What're the best-designed things you've ever used?
Why downvote? Could you please tell me the reason for downvote?
antoaravinth··on Ask HN: What're the best-designed things you've ever used?
I would go with Kindle and apple macbooks!
antoaravinth··on Ask HN: How to start a business where there is competitors already?
>> There is almost always a way to differentiate your product or service.

Can the differentiate be in terms of pricing? For example if the competitor is charging say 80$ per month, what if my product charges say 10$ per month?

antoaravinth··on Ask HN: Help needed on database schema designs
Yeah that's right. I have worked with Groovy and Grails which has the similar philosophy.
antoaravinth··on The most mentioned books on Stack Overflow
I had never read this book. But I can sense how well the book would have been written by reading its summary from here[1].

[1]:https://www.quora.com/Book-Summaries-What-are-the-main-ideas...

antoaravinth··on Ask HN: Help needed on database schema designs
Thanks a lot brudgers!
antoaravinth··on Ask HN: Help needed on database schema designs
Thanks a lot! It really helps!
antoaravinth··on Ask HN: Resume check and critique
I second that!
antoaravinth··on Ask HN: Help needed on database schema designs
Thanks brudges. One noob question, how should we select our database? For example we should go ahead with RDBMS or NoSql? Are there any tips for the same? Or does it often comes via experience? Or for my problem which database is good, RDBMS or NoSql?
antoaravinth··on Ask HN: Help needed on database schema designs
That's a very interesting reply. I have never heard about Ontology w.r.t database. Thanks!
antoaravinth··on Ask HN: Help needed on database schema designs
Thanks for your answer. I have few questions:

>> You might want to look into versioning your resumes. A 'version' column in your ResumeData could be sufficient.

I didn't quite get this. Why do we need to add 'version' column to ResumeData? Lets say when user updates the resume, my intention was to just replace the data accordingly (as now you have told, I might use JSON column and just replace it with the value). In this case why 'version' is required?

And why not storing images as blobs? Any drawbacks?

But thanks for your insights, it really helped me.

antoaravinth··on UK Government is breaking the law by collecting everyone's internet data
What I'm curious about is why the people of UK don't challenge this more themselves through revolts. It's a very serious issue. Couldn't people easily mobilize through social media?
antoaravinth··on Show HN: GameDate – Dating app linked with local events
Every comment is critique, yet this has a lot of upvotes. I don't get it.
antoaravinth··on Ask HN: What's your go-to back end for simple projects?
Grails! If your like me (into Java world), then Grails is the right choice.
antoaravinth··on Show HN: Learn to Code for Free
This is exactly what I was thinking! The points that were written is just as what I had in mind. But I guess still your missing one important point on testing. The code should work if deployed, but at the same time, we need to have through testing for the same.

I always start with reading test cases rather than source code directly. Thats the way it should be (IMHO).

antoaravinth··on Show HN: Learn to Code for Free
This is really a good idea. I have seen this happen with several teams in my organization.
antoaravinth··on Show HN: Learn to Code for Free
>> It took me a very, very long time to realize that it's simply a matter of fact that no two developers think alike, . .

I was part of ThoughtWorks interview process sometime back. In one of the rounds called Pair Programming, a senior developer worked with me on the given problem statement. I arrived at right solution, but he wasn't happy with the solution just because he didn't like the way I solved it. I came back and discussed the same solution with another senior developer and he liked the approach. However ThoughtWorks rejected me in the interview process.

I often wonder how pair programming is good (or even bad) in this context. How they can assume or think that two programmers going to solve the problem in "same" (or even ThoughtWorks "expected") way!

antoaravinth··on MacBook Pro
I'm not sure if I'm the only one who worried about Apple Logo On Screen lid which is not present in new macbook pro!
antoaravinth··on React Router v4 FAQ
Sorry, no. However, you can find the same pattern being used in the sound-redux project-https://github.com/andrewngu/sound-redux
antoaravinth··on Ask HN: How to Learn OOP
Out of curiosity, why Java is not best language for reading OO? Any reason?
antoaravinth··on Qualities of clean code
>> 5. Can be easily extended by any other developer

I can remember a instance, when I started my carrier. I was a JS developer. I wrote a module with Functors, Compose, Partial etc.

In code review my team told they didn't understand anything and reading such a code is not pleasant for them. I was upset, I was thinking why my team is not happy with it.

Today I can make lot of sense; stick to the pattern/design of your team. If your team follows / loves functional programming in your project, stick to it. If not try to advice them why functional programming would be better than normal approach.

End of the day, all it matters is writing simple, elegant code which others can understand.

antoaravinth··on React Router v4 FAQ
I'm with you. First when I thought of building a SPA application with React on my side project; I tried React-Router, the API was not that easy to grasp at first for me.

Then I have build my own router with `popstate` event and I'm quite happy with it. All the navigation history is pushed to redux. It turns out that it works really well for my needs and application.

antoaravinth··on Ask HN: Considerations when asked to write a book?
Out of curiosity how much does Manning pays for the first time author?
antoaravinth··on Allocation on the JVM: Down the rabbit hole
I always love to see the under hood concepts. I open articles like these and give up reading half way through. As the text goes I will be lost in air. Is there any book which explains JVM underhood process? If so it will be great!
antoaravinth··on Ask HN: How do you create productive habits?
>> I appreciated things I got . . .

This reminds of me of the book that I read in this year named : "A Guide to the Good Life: The Ancient Art of Stoic Joy" [1]

Its really a good book and changed my life literally.

[1]: https://www.amazon.com/Guide-Good-Life-Ancient-Stoic/dp/0195...

antoaravinth··on Ask HN: What projects are perfect for learning a new language?
For learning programming languages, I would definitely go and write algorithms and data structures with them. Like quick sort, stack, queue etc. It's some how teaches you the language primitives really well. Currently learning Haskell and doing the same.
← PreviousPage 3 of 5Next →