News for hackers. Stuff that matters.

theptrk

Re:Build an AI coding agent in Python on Tuesday September 02, 2025 @01:12AM (#45099356)
Long weekend, chance to explore a basic tool using coding agent. Nice to see, any command you can run in the terminal is a potential tool.
Re:I Didn't Need Kubernetes, and You Probably Don't Either on Wednesday November 27, 2024 @01:34AM (#42253527)
I would pay for the outline of this book.
Re:Ask HN: What are you working on (September 2024)? on Tuesday October 01, 2024 @01:16AM (#41704783)
thanks for the tip. my battery is definitely getting crushed so i might need to mirror that local logging for ios. But yes, the usefulness of it all will be the big question.

I tracked a work log in a "did" list for work and that was useful because you often need regular reporting (standups, perf reviews).

No one needs any location updates on how often I've been to the gym.

Re:Ask HN: What are you working on (September 2024)? on Monday September 30, 2024 @01:44AM (#41693927)
Oh nice. I feel like so many things affect my sleep including diet, mood, how long it’s been since I doom scrolled. I wonder if any of that can help you investigate.
Re:Ask HN: What are you working on (September 2024)? on Sunday September 29, 2024 @10:25PM (#41692915)
The "me database" tracking my gps for physical location, urls visited, etc..

This way I can search through all my physical and computer activity to answer questions like: how many times did I go to the gym last year? or how many leetcode questions did I do this month?

Wrote a summary here (https://theptrk.com/2024/09/27/me-database-master-plan/)

Re:Let's Build the GPT Tokenizer [video] on Tuesday February 20, 2024 @11:28PM (#39450155)
There should be awards for this type of content. Andrew Ng series and Karpathy series as first inductees to the hall of fame.
Re:Invert Docker Ps Output on Thursday February 08, 2024 @01:20PM (#39305502)
docker ps is sometimes too wide for me to read. like antirez (http://antirez.com/news/140) ChatGPT helped me write this script that I wouldn't have written otherwise
Re:Show HN: I automated 1/2 of my typing on Wednesday August 30, 2023 @08:44PM (#37331109)
You gotta try “fd”
Nice work highlighting that "Life In The Big City" classic from the Ben Avery days
Re:Re-implementing LangChain in 100 lines of code on Monday May 08, 2023 @01:57AM (#35858576)
I tried to make a youtube video exploring the code and it was fairly short https://www.youtube.com/watch?v=Joby-58DuBE. I think if the prompts were put front and center in the documentation it would be clear up a lot of mystery.
Todidlist: https://todidlist.com

I built a web version of my original plaintext did.txt file. Plaintext is great for computers but I wanted a way to do a "did" ritual on iOS devices.

There is 1 user, me. I feel like all the benefits comes from using it like a journal so I never actually read the dids or built any features to query them well.

Original did file post: https://thepatricktran.com/2018/07/11/did-txt-file/ ** I lost the theptrk.com domain because I forgot to update my credit card.

Re:Machine Learning Flashcards on Thursday March 19, 2020 @03:58PM (#22631038)
Drawing these illustrations are super helpful for info absorption while learning. I drew these while taking the Andrew Ng Coursera ML course. https://theptrk.com/2020/02/12/notes-for-coursera-ml-course-...
Re:Machine Learning Flashcards on Thursday March 19, 2020 @03:55PM (#22631000)
I think drawing your own flash cards/ illustrations while taking a course like Andrew Ng’s Coursera course is a good way to start.
Re:Notes+Cartoons on Andrew Ng ML Course W1-5 on Wednesday February 12, 2020 @01:10PM (#22311118)
Hi all, wanted to share illustrated notes I took on the Coursera Machine Learning course from Andrew Ng. This covers weeks 1-5.
Heres a vim shortcut for something like this: `alias did="vim +'normal Go' +'r!date' ~/did.txt"`

More: https://theptrk.com/2018/07/11/did-txt-file/

Re:Show HN: did.txt file is now a curl endpoint on Thursday May 16, 2019 @12:11PM (#19930270)
I originally had a simple vim shortcut that would open my did.txt file but switching computers made this less universal so I created a server to accept "dids".

This is v1, any suggestions or feedback are super welcome!

* Heres the original VIM shortcut that is still super useful https://theptrk.com/2018/07/11/did-txt-file/

Re:Real-time air pollution map on Saturday December 22, 2018 @01:41PM (#18741844)
Re:When should you build your own ecommerce site? (Never) on Tuesday August 07, 2018 @10:52PM (#17712854)
ouch, i linked to the edit screen, and theres no way to delete submissions. this will be here forever haha.
Re:When should you build your own ecommerce site? (Never) on Monday August 06, 2018 @02:30AM (#17695472)
Oh wow sorry about that. Thx for the heads up
Re:Keeping a plaintext “did” file on Sunday July 22, 2018 @10:31AM (#17586939)
Dynalist is missing a key feature from workflowy which is the keyboard shortcut to jump from bookmark to bookmark
Re:Keeping a plaintext “did” file on Wednesday July 18, 2018 @11:09PM (#17563693)
So do you have to keep this server running or do you have a separate nodemon script that auto starts on start up?

Older »