News for hackers. Stuff that matters.

keshab

Re:Blogging vs. Blog Setups on Saturday November 28, 2020 @07:58PM (#25241997)
I believe Dan Luu uses hugo.
Re:Httpx: A next-generation HTTP client for Python on Friday January 10, 2020 @12:21PM (#22012633)
Hey, FastAPI is great. Thank you.
Re:Ask HN: How do you organize and manage database migrations? on Thursday October 31, 2019 @01:46AM (#21406055)
We use flyway for the biggest monolith database in our company. We also use alembic for some microservices.

Alembic is extra convenient if you're already invested in sqlalchemy.

I've tried yoyo-migrations[1] once, a while ago.

With yoyo, like flyway, migrations are written as SQL queries. However, they're expressed as SQL steps in python files. Might worth a look if you're using python.

1. https://pypi.org/project/yoyo-migrations/

Re:Show HN: Tech jobs with salary range on Monday February 11, 2019 @05:52PM (#19139277)
Hi, the one I'm trying to build is also an aggregator. I would like to make it as automated as possible. This is something I just built for the heck of it. Periodix looks really cool and has a bigger scope than my site. Thank you for the comment.
Re:Show HN: Tech jobs with salary range on Monday February 11, 2019 @05:49PM (#19139241)
This is mostly an aggregator for a specific niche. I'm still trying to see if it will be useful for the public. Thank you for your comment.
Re:This blog has moved on Friday September 28, 2018 @12:40AM (#18091139)
Scaling a blog is not a big of an issue these days. Even with Wordpress, caching and other optimizations should not be a hassle. There are also many other alternatives in the static-site realm.

Blogger is not as good an option as it was before. It was an attractive buy for google at the time of the acquisition. But now they have stopped using it even for their own blogs. I wouldn't be surprised if Google decides to shut down blogger in the near future.

I couldn't agree more with you about nesting loops. It seems clever at the moment when you're writing but when you have to come back after a while or worse, another developer has to, it becomes a nightmare.

I would also go a bit further and put nesting if statements. Sometimes it's really required but other times nesting can be avoided. I try to avoid nesting as much as possible.

I wonder how people come up with these insanity. It does not add any value to the article and is so infuriating. Apart from that, I found the article good.
VXHeaven was a great site. Didn't know it was offline. Any idea what happened?

Edit: Apparently raided by police.

https://nakedsecurity.sophos.com/2012/03/28/vx-heavens-virus...

Re:Django 2.1 released on Wednesday August 01, 2018 @11:32AM (#17663420)
I have seen a bastardized version of Django admin used as a quite sophisticated dashboard. This new addition will make it even easier to hack together things like that in a very short time.
Re:Caddy – The HTTP/2 Web Server with Automatic HTTPS on Wednesday April 25, 2018 @05:17AM (#16919803)
I've been putting off deploying one of my side projects because I'm afraid that I'll mess up an existing site if I touch the nginx config again.

Caddy looks promising and simpler. Might have to take a look this weekend.

Just hit Esc and try printing again. I had the same issue myself.
Re:Let Postgres Do the Work (2013) on Saturday November 26, 2016 @11:20PM (#13047695)
Because it is easier to maintain Python code rather than SQL.
Re:Flask 0.11 Released on Sunday May 29, 2016 @09:36AM (#11796307)
I am sorry, but it seems that Pinterest is written using Django.

https://www.djangoproject.com/start/overview/

This is a good news and kudos to them for trying to increase our options. FF OS might have taken off had it been a little bit earlier. It took a lot of time for Android to get to where it is right now. Even for Google, it took them a lot to get it right. It was a good project but lets face it, there was no way it would have been more than just an experiment. Firefox OS never had a chance to begin with. I hope they've learned their lesson. Now they can focus on their real projects.