HNHacker News
TopNewBestAskShowJobs

ranedk

41 karma · joined August 5, 2009

http://glitterbug.in
submissionscomments
ranedk··on Some more things about Django I've been enjoying
People who hate ORMs have just never tried Django :D
ranedk··on Some more things about Django I've been enjoying
I have been using Django since 0.95 and I haven't seen anything which is so flexible with amazing DSLs while also making it easy to understand the magic behind it.

For the last 10 years, even in a Golang stack or Java stack, I still use Django for models and migration. I even have generators which generate Gorm (or other framework) DAO or Java hibernate classes using Django models.

With LLMs, it becomes easier since I can now write all the model, custom querysets in Django, ask the LLM to generate Golang DAO, setters and getters... and test the query against the Django generated queries for completeness.

Atlas, sqlx, sqlc and all other ORM like things in golang cannot do migrations the way Django does.

ranedk··on Show HN: Malai – Share your dev server (and more) over P2P
Looks pretty neat! I love the use of 'malai' and 'kulfi' as project names. I have used ngrok, how is this different/better?
ranedk··on Show HN: Crawlee for Python – a web scraping and browser automation library
I found crawlee a few days ago while figuring out a stack for a project. I wanted a python library but found crawlee with typescript so much easier that I ended up coding the entire project in less than a week in Typescript+Crawlee+Playwright

I found the api a lot better than any python scraping api till date. However I am tempted to try out python with Crawlee.

The playwright integration with gotScraping makes the entire programming experience a breeze. My crawling and scraping involves all kinds of frontend rendered websites with a lot of modified XHR responses to be captured. And IT JUST WORKS!

Thanks a ton . I will definitely use the Apify platform to scale given the integration.

ranedk··on ORMs are nice but they are the wrong abstraction
I know tons of Java and Go Dev's who don't like ORMs and for a good reason. But no Django developer ever cribs about ORMs.
ranedk··on Tell HN: Airbnb has no system in place when a host cancels on a renter
In India a superhost Airbnb is very costly; a lot more than a decent hotel room very often. In one of the cases the Airbnb was smelling of cigarettes and rotten food. Fortunately I was able to make a video of the entire shit and after a couple of follow-ups with Airbnb, got the refunds.

And after having similar and more issues with Airbnb, i look for a hotel room.

ranedk··on Show HN: Cut your AWS costs by stopping non-production resources when not needed
This looks very interesting Sri. Congrats on the launch.
ranedk··on Ask HN: Best robust laptop for everyday software development
I used my T61 for 6 years and had to give it up because the graphic chip busted. Since then I have used multiple laptops Dell to Apple. I even installed Ubuntu on my Apple mac Pro, but it would not suspend and heat up inside my laptop bag.. finally shit blew up. I have been using Xiaomi notebook pro for the last 8 months. Even with a hefty customs, it was cheaper by 80% for any laptop of the same configuration. The build quality feels like Macbook Pro. Ubuntu works out of box.. It suspends and everything works except the fingerprint reader. The xiaomi notebook pro is as heavy as high end macbook Pro and the build quality is brilliant! The config is crazy and haven't faced a problem yet. I check the quality of a good laptop by the how much the lid oscillates if you chuck it a little. Macbook Pro and xiaomi don't oscillate at all.. Dell, compaq, Asus oscillate a good 10-20 degrees.
ranedk··on A Guide to Co-Founder Fit
I could just change a few words in the article and it will work fine as "A guide to Spouse Fit"
ranedk··on Why the Airline Industry Could Keep Suffering System Failures Like Delta's
Fundamentally these are not technology companies but companies driven by financial markets, cost saving _innovations_ and run more like the hospitality sector.

Most of them outsource their tech to the tech-outsourcing behemoths who are also run by man-month billing _innovations_

I see no hope of things improving drastically. Small incremental updates over decades till we invent teleportation... then they will die.

ranedk··on How my open source hobby project became my job: 10 years of OptaPlanner
I was extremely enthusiastic about doing something in optimization just after graduating, but realised that businesses were happy solving things manually and reaching sub-optimal solutions. Also most problems needed to be solved once and there were few use cases of continuous optimization.

Thanks for sharing your story of perseverance and spirit.

Now that you are at it, are there any easy-to-use solutions to solve time-tabling problems for school/colleges. I know of solutions which use GA, but since its a generic problem for every academic institution, someone(you) might want to provide an easy to configure and use solution.

ranedk··on Ask HN: Why did OS X win out over Linux for so many developers?
I have done .NET programming on windows for 3-4 years and felt the programming environment was pretty neat. The frustrating part was windows upgrades and the OS eating up all resources and the frequent need to upgrade the machine.

I switched to Linux(redhat and then ubuntu) for the next 8 years and loved vim and programming tools that linux had to offer. The resource utilization was never a blocker. The frustrating part was wireless drivers and machine hanging up because of them.

I recently shifted to OSX and installed iTerm/vim and all that. There have been no issues with wireless hardware and resource utilization. However, setting up production-like environment, which runs on Linux is a huge pain. Running a dual-boot ubuntu is also not as seamless and there are quite a few display driver issues. My take:

- If you have just started programming, start with Linux (if you haven't fought enough to compile drivers for your machine, you are one bit less of a real programmer)

- If you are doing a lot on the server side which largely is Linux driven, then you better use Linux to understand systems and deployment.

- If you are using eclipse, then you better shift to OSX because no other hardware-os combo at that price can let you code in peace.

ranedk··on Show HN: importd – d is for django
This is pretty cool. Makes stuff much more manageable.
ranedk··on Loads of video lectures on engineering topics by IIT professors
nice ! long and varied list of courses and topics ...