Omie (@omkarnath) header
Omie (@omkarnath) profile picture

programmer fella, Golang, Python and everything. VP-Engineering at @tijori1

India
Joined April 2008
Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)Photo by Omie (@omkarnath)
Feature request for @OpenAI: Add slash commands to ChatGPT for faster chat control please /new → Start fresh chat /fork → Duplicate chat /delete → Remove chat /rename <title> → Rename chat /share → Get shareable link /list → View recent chats cc @gdb
106
This might be one of the best reddit posts I've seen in a while no cap fr fr
424
5,762
614
66,062
2,991,128
Excel is invincible. Nothing will ever take it out, not even superhuman AI.
132
875
105
15,374
826,566
> WAL entries are also written to memory first and then flushed later based on the transactions commit. Correction here for transactions containing massive writes. Imagine you're deleting millions of rows using a singe query (transaction), what happens to WAL? Each tuple (Postgres context) is going to have a new xmax -- the XID that deletes it, with pending status in clog. This should go to WAL first. *Each* tuple is written to WAL right away. And quite quickly flushed in this massive write situation -- it doesn't wait for COMMIT, but rather it's written when wal_buffers are max out (by default, -1 meaning its ~3% of shared_buffers but not more than 2 GiB) -- in fact a ring buffer. Easy to check, eg using iotop. This (begin; delete <millions of rows>; rollback;) is my favorite load test when benchmarking the system with goal to produce a lot of WAL, while not changing the physical layout of heap and index files -- we simply put new xmax, then ROLLBACK (or crash;) ), and the only effect is that we produce a lot of WAL, putting pressure to replication and backup systems. And making checkpointer act like crazy flushing dirty buffers from the buffer pool if max_wal_size is low (eg default 1GB). But that's another story. The fact that we don't change physical layout with this workload means we can iterate and explore behavior under various conditions, having identical beginning point for each iteration in terms of data and producing a lot of WAL and loading disk with WAL writes and dirty buffers flushing. Excellent stress test. Eg we greatly see the effect of changing wal_buffers. Or max_wal_size. Or have fun: kill -9 right before an ongoing checkpoints finishes, and then measure the recovery time in this "triple unlucky" situation (unlucky that crashed + unlucky that a massive right was going + unlucky that crashed right before ongoing checkpoint was don; this will give us the worst/longest recovery time for this system). At COMMIT time, only final record is written to WAL - the commit itself; and then the final round of WAL buffer flush happens. Similarly for massive inserts and updates. BTW, it all can be seen with pg_walinspect, and in PG15+ it has SQL interface postgresql.org/docs/current/… Another interesting fact that WAL writes to disk (fsync) before COMMIT can be done by WAL writer, but also they can be done by backends -- comments in github.com/postgres/postgres… (Quoting because somehow replying doesn't work now here, weird)
What happens when a database crashes while it’s in a middle of a transaction sent from a backend server? It is a beautiful question that can lead to a dive in both backend communication and the internals of databases. Great for interviews.
2
24
1
206
25,704
The Reserve Bank of India recently released the Financial Stability Report. Think of this report as a detailed health check for India’s financial system. It looks at everything—from banks and households to market risks—helping us spot potential cracks before they grow into serious problems. Here are three risks that could throw India’s economy off course. These might never happen, but staying informed and prepared is always better. Let’s break it down 🧵👇
17
217
8
1,784
351,324
⚡️ Excited to share that I am starting an AI+Education company called Eureka Labs. The announcement: --- We are Eureka Labs and we are building a new kind of school that is AI native. How can we approach an ideal experience for learning something new? For example, in the case of physics one could imagine working through very high quality course materials together with Feynman, who is there to guide you every step of the way. Unfortunately, subject matter experts who are deeply passionate, great at teaching, infinitely patient and fluent in all of the world's languages are also very scarce and cannot personally tutor all 8 billion of us on demand. However, with recent progress in generative AI, this learning experience feels tractable. The teacher still designs the course materials, but they are supported, leveraged and scaled with an AI Teaching Assistant who is optimized to help guide the students through them. This Teacher + AI symbiosis could run an entire curriculum of courses on a common platform. If we are successful, it will be easy for anyone to learn anything, expanding education in both reach (a large number of people learning something) and extent (any one person learning a large amount of subjects, beyond what may be possible today unassisted). Our first product will be the world's obviously best AI course, LLM101n. This is an undergraduate-level class that guides the student through training their own AI, very similar to a smaller version of the AI Teaching Assistant itself. The course materials will be available online, but we also plan to run both digital and physical cohorts of people going through it together. Today, we are heads down building LLM101n, but we look forward to a future where AI is a key technology for increasing human potential. What would you like to learn? --- @EurekaLabsAI is the culmination of my passion in both AI and education over ~2 decades. My interest in education took me from YouTube tutorials on Rubik's cubes to starting CS231n at Stanford, to my more recent Zero-to-Hero AI series. While my work in AI took me from academic research at Stanford to real-world products at Tesla and AGI research at OpenAI. All of my work combining the two so far has only been part-time, as side quests to my "real job", so I am quite excited to dive in and build something great, professionally and full-time. It's still early days but I wanted to announce the company so that I can build publicly instead of keeping a secret that isn't. Outbound links with a bit more info in the reply!
1,494
3,550
1,073
27,448
2,553,162
Devanagari is an extremely elegant script. But this was never explained to us in school. A thread on the awesomeness that is devanagari. Let's start with the things that my teachers did *not* teach me in school:
338
3,939
326
17,454
1,768,853
One more Apple announcement this week: you can now run your personal AI cluster using Apple devices @exolabs_ h/t @awnihannun
129
418
166
3,737
1,382,062
So Amazon has built something me and @madhurjain built 8 years ago! It was fun building Quicktions for very first @gophergala , whole project (including the video) in 48 hours :) Haha! youtu.be/vq03pewE6ds?si=H82K…
1
2
96
Ever wondered why "sin" (of trigonometry) is called "sin"? Today, I decided to find out, and the history is fascinating. It comes from the Sanskrit word for bowstring which somehow got translated to the Latin word for the "pallu" of a toga. Follow me down this rabbit hole 🧵
18
208
18
657
98,984
. @tbdnews, at least give the credits if you are using an image from someone's video.
1
1
1
76
Tomorrow is deadline #2 for Net Neutrality in India. This is the counter comments stage. Please go to savetheinternet.in and let @TRAI know you want them to protect net neutrality. I've listed telco comments below. I'm adding some more from others, to that thread.
It's 2023 and I'm not sure if anyone cares for #netneutrality in India anymore, but Jio, Vi and Airtel are coming for it. Don't take my word for it. Here are excerpts from their submissions to @TRAI (uploaded last night) :
5
93
4
72
27,201
Looks like I might lose my first twitter account!
trying to figure out WTH this twitter thing is ...
1
81
Found my password, it works but twitter is sending some verification code to an old Yahoo! mail account which is now deleted :-(
89
. @anonCorpChatInd started asking my phone number eh? I'm out :)
44
here’s a force-directed knowledge graph interface for @OpenAI’s gpt-4. given a topic, it prompts new questions to ask based on its own generated responses, allowing curiosity-led exploration of a concept.
303
1,075
272
6,882
1,539,954
Introducing my new app - AnyGPT: ChatGPT inside ANY app in macOS. Just type gpt: followed by the prompt & hit enter to get result right there without losing context. Ex. in iMessage type, gpt: suggest 10 holiday spots near New York ⏎ ⬇️ Download: anygpt.lemonsqueezy.com/chec… Discounted launch pricing of $4.99 for first 100 downloads and then $9.99. 1-time lifetime unlock. Note: AnyGPT requires an OpenAI API key with a paid account or account with valid free credits.
43
99
27
591
284,331
We are looking for a #django lead (~7-10 yoe) and #aws cloud engineer (~3-5yoe) in @Tijori1 We are full time remote within India. #hiring #Python #DevOps
2
2
3
1,060
I have a lot of regard for KL Rahul’s talent and ability, but sadly his performances have been well below par. A test average of 34 after 46 tests and more than 8 years in international cricket is ordinary. Can’t think of many who have been given so many chances. Especially..cont
3,023
10,377
1,807
64,867
7,265,904