News for hackers. Stuff that matters.

deepakjois

Re:Fun with uv and PEP 723 on Wednesday June 25, 2025 @04:12AM (#44374806)
(author of post here)

I still use both Go and Python. But Python gives me access to a lot more libraries that do useful stuff. For example the YouTube transcript example I wrote about in the article was only possible in Python because afaik Go doesn't have a decent library for transcript extraction.

Re:Fun with uv and PEP 723 on Tuesday June 24, 2025 @04:28PM (#44370677)
uvx is useful to run scripts inside PyPi packages. It does not support running Python scripts directly

You can use uvx run scripts with a combination of the --with flag to specify the dependencies and invoking python directly. For e.g

uvx --with youtube-transcript-api python transcript.py

But you wont get the benefit of PEP 723 metadata.

Re:Ask HN: How do you manage your bookmarks? on Tuesday January 21, 2020 @10:00AM (#22107457)
I tried Raindrop.io and was impressed enough to get an annual subscription to it.

My main use case was to have a single place for all my bookmarks across Android, iOS, OS X and Linux, and across Firefox and Chrome.

Among all the solutions I evaluated, Raindrop.io had the best UX at the time.

Re:Ask HN: Modern Linux laptop with great battery life? on Wednesday January 03, 2018 @08:44PM (#16067302)
Does anybody know if running TLP has any specific advantages over running powertop?
Re:Ask HN: Modern Linux laptop with great battery life? on Wednesday January 03, 2018 @08:40PM (#16067274)
Most of the issues were sorted out by kernel updates, and a BIOS update I performed recently.

The only thing that Arch clearly improved was the Bluetooth experience, which was very unstable on Ubuntu (even after the upgrage to 17.10). But even that is probably down to the newer kernel in Arch.

Re:Ask HN: Modern Linux laptop with great battery life? on Tuesday January 02, 2018 @11:14PM (#16058325)
Just chiming in with another recommendation for the T470, which I currently own. It has a pretty decent battery life.

I wrote about my experiences with installing Linux on it here: https://medium.com/@debugjois/installing-ubuntu-gnome-17-04-... (it’s a bit outdated. I run Arch on it now)

Re:IPvlan overlay-free Kubernetes Networking in AWS on Tuesday December 05, 2017 @11:07AM (#15852578)
All the resources suggested in replies to the parent thread seem great. I also found that somebody put out an illustrated guide to Kubernetes networking on Medium:

* Part 1: https://medium.com/@ApsOps/an-illustrated-guide-to-kubernete...

* Part 2: https://medium.com/@ApsOps/an-illustrated-guide-to-kubernete...

Re:IPvlan overlay-free Kubernetes Networking in AWS on Monday December 04, 2017 @08:36PM (#15849130)
Not directly related, but can someone recommend a beginners resource to understand Kubernetes networking? There are some good ones out there that explain basic Kubernetes concepts like pods, replicas etc. But networking seems to be a more complicated topic, and most intro guides skip over it.
A good summary of the key arguments in the book can be found in this programme that aired on BBC, hosted by David Graeber himself (the author of the book)

http://www.bbc.co.uk/programmes/b05447pc

Re:Ecstatic Capitalism’s Brave New Work Ethic on Sunday March 11, 2012 @01:38PM (#3690749)
Great article. Does it say anything about the crowd that hangs out here, that this article did not get upvoted enough to make to the front page?
I like the approach taken in this thread : http://lesswrong.com/lw/3gu/the_best_textbooks_on_every_subj...

One of the rules the poster imposed was for the participants to name the other books they've read on the subject and explain why they thought their chosen textbook was superior.

Re:Eric Brewer joining Google on Tuesday May 10, 2011 @07:17PM (#2534457)
From his tweetstream again: " am not leaving Berkeley, just taking and extended design gig ;) [technically, two year industrial leave]"
Re:Eric Brewer joining Google on Tuesday May 10, 2011 @07:08PM (#2534438)
From his tweet: "I will be leading the design of the next gen of infrastructure at Google. The cloud is young: much to do, many left to reach."

Older »