News for hackers. Stuff that matters.

karuth

Re:Show HN: ServerlessBlog = Python + Flask-Blogging + AWS Lambda on Saturday September 02, 2017 @10:08AM (#15156042)
I did not invent the term serverless. Generally the term serverless is used to refer to a cloud function concept.
Re:Show HN: ServerlessBlog = Python + Flask-Blogging + AWS Lambda on Saturday September 02, 2017 @10:06AM (#15156035)
Thanks for pointing this out. I will look into fixing this.
Re:Show HN: ServerlessBlog = Python + Flask-Blogging + AWS Lambda on Saturday September 02, 2017 @01:11AM (#15154402)
I created a site to demonstrate how to setup a blog on AWS lambda.
This post is rather naive. Pandas performance improves when one uses in built functions. Also the performance of pandas is better over numpy for larger sizes [1].

[1] http://gouthamanbalaraman.com/blog/numpy-vs-pandas-compariso...

Re:QuantLib Python Tutorials for Fellow Quants on Friday December 11, 2015 @01:33PM (#10718912)
Are there a lot of quants in the US that use QuantLib? I see there is a large community in Europe and Canada. Would like to hear from fellow quants in the US on their experience using QuantLib.
I tried web2py a little bit. I liked the fact that a lot of basic things get setup initially. But all the globals confused the heck out of me. Couldn't quite understand the right way to test. It could be just me though!

I am happy using Flask these days!

Well there are work around options to the restriction with SQLAlchemy that you mention here.

You can use SQLAlchemy core instead of ORM and write your models independent of web context.

Check out https://github.com/gouthambs/flask-blogging

for example!

Re:Ask HN: Python or Go? on Thursday July 30, 2015 @11:03AM (#9975438)
Its not clear to me why you think "PHP is not a very good language for the majority of what we're building". In my opinion, you should have a strong reason for rewriting an application.

A good answer strongly depends on that. Here are some thoughts:

1) If it is for style and maintenance reasons, then Python with one of the frameworks (Flask is very easy to get started) would be a good start.

2) If performance is a reason, then see if you can separate out a portion of your PHP code to call the Go service. You can use message queues as a bridge between the services for better scalability.

For most applications pure Python will not hurt. Python is very productive to develop. If you need to scale in the future, you can identify bottlenecks and rewrite them.

Re:Ask HN: How do you promote your side projects? on Thursday July 30, 2015 @09:32AM (#9974812)
This makes sense. Thanks for the input.
Re:Ask HN: How do you promote your side projects? on Wednesday July 29, 2015 @04:43PM (#9971429)
Thanks for the feedback. This makes sense.
Re:Ask HN: How do you promote your side projects? on Wednesday July 29, 2015 @04:39PM (#9971408)
This sounds great! I am looking for some initial users that can give some critical feedback as well. I will get in touch with you soon. Thanks!
Re:Ask HN: How do you promote your side projects? on Wednesday July 29, 2015 @03:36PM (#9971059)
Can you explain why you think this is a two sided marketplace problem?

In my case the subscribers of my site are the consumers. But I need a lot of subscribers to start with so that when they sign up, and start to consume, there is a potential match.

Ask HN: How do you promote your side projects?

I have been working on a side project that would be a database of people interested in carpooling. If people don't signup, the website is useless. I am trying to figure out how to promote this website so users would signup. Any suggestions / advice?

( Read More... | 15 comments | 14 points | on HN )
Re:Ask HN: What is test driven development to you? on Tuesday January 13, 2015 @10:27AM (#8880390)
Thanks for the article. It is very illuminating.

I hear a lot of buzz on TDD. But I think TDD is not the end. There are complexities in application which is sometimes hard to comprehend before a module is put in place. In those cases DDT (development driven testing) might actually make sense.

Re:Why we ditched Django for Microservices on Monday January 12, 2015 @09:39AM (#8874051)
Flask is so minimal. Curious what were the disadvantages that weighed against chosing Flask.
Re:Why we ditched Django for Microservices on Monday January 12, 2015 @09:36AM (#8874034)
I can see a case for microservices as a way to break down complexity. But introducing languages willy-nilly could have maintenance nightmares along the road.
Re:Learn C and build your own Lisp on Saturday April 05, 2014 @01:40PM (#7537772)
I had the time to read a good portion of this book. Really well written. I hope some of the negative comments don't discourage you from sharing your work next time around. I learnt something useful this time.