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.
HN user
theptrk
SF based. theptrk.com I bought back the domain.
I would pay for the outline of this book.
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.
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.
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/)
There should be awards for this type of content. Andrew Ng series and Karpathy series as first inductees to the hall of fame.
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
You gotta try “fd”
Nice work highlighting that "Life In The Big City" classic from the Ben Avery days
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.
https://www.freecodecamp.org/news/cjn-google-sheets-as-json-... The output needs some parsing but I tried this and it works:
Sheet:https://docs.google.com/spreadsheets/d/1Ze0mrYyT98Z3DupKiynC... JSON:https://spreadsheets.google.com/feeds/cells/1Ze0mrYyT98Z3Dup...
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-...
I think drawing your own flash cards/ illustrations while taking a course like Andrew Ng’s Coursera course is a good way to start.
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"`
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/
they sell them here https://www.purpleair.com/sensors
ouch, i linked to the edit screen, and theres no way to delete submissions. this will be here forever haha.
Oh wow sorry about that. Thx for the heads up
Dynalist is missing a key feature from workflowy which is the keyboard shortcut to jump from bookmark to bookmark
So do you have to keep this server running or do you have a separate nodemon script that auto starts on start up?
Lol at secret uses of echo. How are you logging your command line entries?
I have a thing for “want to do someday” called Asana but it’s never ending. My killer feature for a todo list would be either Auto Delete or auto “tell me a reason why I shouldn’t delete this”
You have a better memory than me. I would instantly forget whether or not I’ve added an entry for the day
I think adding a command to go to the next line would be the sweet spot
Which part is the offender?
I’m super interested in creating an intensely detailed mind map of what you need to answer these tech interviews.
I always hear that the interview process is broken and we need a new system etc but I would imagine we’d want our new coworkers to know how to create an array, and maybe create pointers to it and maybe adjust pointers based on a condition and given an arbitrary algo be able to apply the above skills to a particular set of conditions. And I’ve always wondered how much better it would be if there was some type of consistent grading to these interviews. Anyway if that’s something you’re interested in exploring I’d be happy to chat.
ooh i get it, `alias did="vim +'normal Go' +'r!date' +'put _' ~/did.txt"` and this starts in insert mode. I like this. I think ill change mine to this.
I type "o" (lowercase o) to start the cursor on the next line.