Mr Tung

498 posts

Mr Tung banner
Mr Tung

Mr Tung

@mrtungdev

Building @stickyqr and @hmpmaster

localhost Tham gia Ağustos 2010
1.5K Đang theo dõi289 Người theo dõi
Mr Tung đã retweet
𝕏 Travels, Hotels and Resorts
Vietnam is definitely a place that should be on your list of places to explore. It’s definitely on my Bucket list! Here are some awesome, fun and unique activities in Vietnam that you could try 🎥 vietnam_expressdiary | IG
English
5
50
239
17.1K
Mr Tung đã retweet
Andrej Karpathy
Andrej Karpathy@karpathy·
LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So: Data ingest: I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them. IDE: I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides). Q&A: Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale. Output: Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base. Linting: I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into. Extra tools: I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. Further explorations: As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows. TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
English
2.7K
6.6K
55.6K
19.7M
Mr Tung đã retweet
TypeScript
TypeScript@typescript·
TypeScript 6.0 is now available! This release brings better type-checking for methods, new standard library features, new module features for Node.js, and more! But most important, this release brings us one step closer to the upcoming native-speed 7.0! devblogs.microsoft.com/typescript/ann…
English
68
993
5.5K
395.7K
Mr Tung đã retweet
Akhilesh Mishra
Akhilesh Mishra@livingdevops·
Kubernetes is beautiful. Every Concept Has a Story, you just don't know it yet. In k8s, you run your app as a pod. It runs your container. Then it crashes, and nobody restarts it. It is just gone. So you use a Deployment. One pod dies and another comes back. You want 3 running, it keeps 3 running. Every pod gets a new IP when it restarts. Another service needs to talk to your app but the IPs keep changing. You cannot hardcode them at scale. So you use a Service. One stable IP that always finds your pods using labels, not IPs. Pods die and come back. The Service does not care. But now you have 10 services and 10 load balancers. Your cloud bill does not care that 6 of them handle almost no traffic. So you use Ingress. One load balancer, all services behind it, smart routing. But Ingress is just rules and nobody executes them. So you add an Ingress Controller. Nginx, Traefik, AWS Load Balancer Controller. Now the rules actually work. Your app needs config so you hardcode it inside the container. Wrong database in staging. Wrong API key in production. You rebuild the image every time config changes. So you use a ConfigMap. Config lives outside the container and gets injected at runtime. Same image runs in dev, staging and production with different configs. But your database password is now sitting in a ConfigMap unencrypted. Anyone with basic kubectl access can read it. That is not a mistake. That is a security incident. So you use a Secret. Sensitive data stored separately with its own access controls. Your image never sees it. Some days 100 users, some days 10,000. You manually scale to 8 pods during the spike and watch them sit idle all night. You cannot babysit your cluster forever. So you use HPA. CPU crosses 70 percent and pods are added automatically. Traffic drops and they scale back down. You are not woken up at 2am anymore. But now your nodes are full and new pods sit in Pending state. HPA did its job. Your cluster had nowhere to put the pods. So you use Karpenter. Pods stuck in Pending and a new node appears automatically. Load drops and the node is removed. You only pay for what you actually use. One pod starts consuming 4GB of memory and nobody told Kubernetes it was not supposed to. It starves every other pod on that node and a cascade begins. One rogue pod with no limits takes down everything around it. So you use Resource Requests and Limits. Requests tell Kubernetes the minimum your pod needs to be scheduled. Limits make sure no pod can steal from everything around it. Your cluster runs predictably.
English
86
339
2.8K
273.1K
Mr Tung đã retweet
Kings of JDM
Kings of JDM@kingsofjdm·
Best Alarm Clock Ever 🤯🔥
English
230
2K
14K
943.3K
Mr Tung đã retweet
HeroUI
HeroUI@hero_ui·
Introducing HeroUI v3 🔥 A complete rewrite for React. A brand-new library for React Native. 🌐 Web → 75+ components, 21 new 📱 Native → 37+ components, built from scratch 🎨 Styling → Tailwind CSS v4, CSS variables, OKLCH, BEM ⚡ Performance → CSS animations, no JS runtime ♿ Accessibility → React Aria Components 🧩 Architecture → Compound components, headless-ready 🤖 AI → MCP Server, Agent Skills, LLMs.txt 📎 Figma Kit v3 with 1:1 component parity One design system. Beautiful everywhere.
English
119
285
3.9K
517.5K
Mr Tung
Mr Tung@mrtungdev·
@fiynraj I’ve used them all before, but switched to PlanetScale over 2 years ago—it’s been the right choice for our company.
English
0
0
3
27
rajj
rajj@fiynraj·
Which database are you using for your product? -Convex -Supabase -Firebase -Neon DB -MongoDB I personally use Neon DB for my projects
English
4
0
1
314
Mr Tung đã retweet
🧬Maxpein🧬
🧬Maxpein🧬@maximumpain333·
Why some people never posted in social media? ✨🙌🏽💫
English
175
4K
14.3K
402.5K
fmdz
fmdz@fmdz387·
1 month after moving from Supabase to PlanetScale I'm back on Supabase It's crazy but the paid PlanetScale plan gives you way slower DB than the free Supabase one Same app, same logic, 2 DBs
English
22
1
78
22K
Mr Tung
Mr Tung@mrtungdev·
Starting a career is never easy. Weekends don’t count.
GIF
English
0
0
0
28
Mr Tung
Mr Tung@mrtungdev·
Clawdbot, I'm in.
English
0
0
0
19
Mr Tung đã retweet
gaut
gaut@0xgaut·
"Claude usage limit reached. Your limit will reset at 7 AM"
gaut tweet media
English
118
118
1.6K
57.5K
Mr Tung
Mr Tung@mrtungdev·
Happy New Year
English
0
0
0
19
Mr Tung
Mr Tung@mrtungdev·
Depending on the features in each app, I have a lot of collections and requests (>4k), so some of them don't have good search functionality (by path, name), body json comment. Additionally, some UX features, such as remembering open requests or simply clicking on an active request so that the left sidebar highlights that request, as well as sorting requests and collections, are lacking. Although these may seem small, they significantly impact performance
English
1
0
0
11
𝐓𝐘
𝐓𝐘@dev_TEMITAYO·
Any alternative to postman?
𝐓𝐘 tweet media
English
12
1
6
1.7K
Mr Tung
Mr Tung@mrtungdev·
@claudeai only shows up in VS Code but ghosts Cursor… what did Cursor do to you? 😭
Mr Tung tweet media
English
0
0
0
6
Mr Tung
Mr Tung@mrtungdev·
@googlemaps There are already several tourist reviews mentioning the incorrect/edited information. Please help us resolve this.
Mr Tung tweet media
English
1
0
1
99
Mr Tung
Mr Tung@mrtungdev·
Hello @googlemaps We found that the Google Maps listing for Da Nang Cathedral (Nhà thờ Chính Tòa Đà Nẵng) maps.app.goo.gl/rmmpgg3oiQDQRs…, 156 Tran Phu St, Da Nang, has been wrongfully claimed/verified by an unknown person or company. They then renamed the listing and redirected users to “Cho Thuê Xe Máy Đà Nẵng HÙNG VŨ”, which is causing serious confusion for visitors—especially international tourists—searching for “Da Nang Cathedral.” We already submitted a request via the Business Redressal Form (support.google.com/business/conta…) but have not received a response yet. Please investigate and remove the current owner/manager access from this listing. Contact: admin@nhathochinhtoadanang.org
English
1
0
3
103