Necati Demir, PhD (@ndemir) header
Necati Demir, PhD (@ndemir) profile picture

I build, test, and explain what AI changes—and what it doesn’t—in software engineering and production systems. 20+ years in industry. PhD in computer science.

New York, USA
Joined November 2007
Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)Photo by Necati Demir, PhD (@ndemir)
Necati Demir, PhD retweeted
Sam Altman admits he was wrong on AI's timeline and says society and the economy will adapt more slowly "I thought when we got to GPT-4, which was back in 2023, that very quickly after that there was going to be much more disruption, software businesses up for grabs right away, than it turned out to be." "I think I was wrong about a few things, but one in terms of the speed: the economy just has so much inertia." "People keep doing the same things, buying from the same company, wanting to use their tools the same way. I think this is actually a positive in many ways, and it's going to make this big transition go smoother and slower. I'm grateful for it." "But it means we've all been too ambitious on timelines. Even with this incredible technology, society and the economy will adapt more slowly."
Sam Altman reveals building Codex was a "crazy kamikaze mission" to beat Claude Code and that most of the best coders he knows now use Codex. "We were way behind Claude Code, and it seemed like a kind of crazy kamikaze mission to try to beat them with a coding app." "The consensus is that this kind of thing never works, and you just move on to the next one. It's a fool's errand to try to win when someone else already has momentum in a particular product category." "But we decided we thought it was really important. We asked a team to do it, and they performed a legitimate, unbelievable, very rare in the history of business thing." "Now it is the product that most of the best coders I know use." "That felt like an impossible thing, but if we hadn't asked the team, hey, we have a really important but extremely hard mission for you, it just wouldn't have happened."
377
281
643
3,207
6,400,907
It’s always DNS.
10
15
1
173
12,528
Necati Demir, PhD retweeted
ETL reruns hurt? Add Airflow checkpoint: task = PythonOperator(..., retries=0, max_active_tis_per_dag=1) Skipped tasks = automatic resume -> recovery 2h becomes 8 min.
1
1
110
Necati Demir, PhD retweeted
You are using AWS and deployed on us-east-1, everyone does it, right? ;) You customer in Europe experiencing latency. If you are using RDS, here is a single line to solve that: aws rds create-db-instance-read-replica --region eu-west-1 ...
1
132
Necati Demir, PhD retweeted
Your CI tests taking forever? 😴 One line fix: pytest -n auto --dist loadfile This auto-detects cores, runs parallel tests, keeps test isolation intact. Turned my 12min test suite into 2min. #Python
1
87
Necati Demir, PhD retweeted
Stop writing nested SQL nightmares 😵 Use CTEs. Before: Subquery inception After: Clean CTEs ``` WITH tax_rules AS (...), discounts AS (...) SELECT * FROM tax_rules JOIN discounts USING(order_id); ``` Readable = Maintainable. #SQL #DataEngineering #CleanCode
1
72
Necati Demir, PhD retweeted
Stop checking AWS costs manually. aws ce get-cost-and-usage + jq = automated cost tracking Get daily/monthly spending in one command. Perfect for alerts, dashboards, or just peace of mind. Know your burn rate before it burns you 🔥 #AWS #DevOps
1
76
Necati Demir, PhD retweeted
Terraform deploy anxiety? 😰 Yeah, I feel you. Reduce blast radius with targeted applies: terraform apply -target=module.vpc -auto-approve Deploy one module at a time instead of nuking everything. Small changes. Big confidence. #Terraform #DevOps #Infrastructure
1
81
Necati Demir, PhD retweeted
ML inference optimization win 🚀 Before: Raw PyTorch on GPU After: ONNX + graph_optimization_level=3 Result: 45% lower GPU costs ~Same accuracy. Faster inference. Waaaay cheaper. Stop burning money on unoptimized models 🔥 #ONNX #MLOps #AI
1
2
96
Necati Demir, PhD retweeted
SaaS builders: Watch for this pattern 👀 Are there any running weekly cron jobs, there may be some pain points. Pain points -> automation opportunities Automation opportunities -> revenue 💸 #SaaS #StartupTips #ProductMarket
1
1
1
71
Necati Demir, PhD retweeted
Tired of waiting for Docker builds? 😴 pip wheel -r requirements.txt Pre-compile your Python dependencies once. Reuse wheels across builds. 14 minute builds → 90 seconds 🚀 Stop recompiling numpy every time! #Docker #Python
1
2
94
Necati Demir, PhD retweeted
`make dev-up` 3 words that cut onboarding from 1 day to 30 minutes. Containerized environments + simple commands = developer happiness Your README should have one line: "Run make dev-up" 💪 #DevEx #Docker
1
65
Necati Demir, PhD retweeted
Fine-tune LLMs without breaking the bank 💸 peft = LoraConfig(r=8, alpha=16, dropout=0.05, target_modules=["q_proj","v_proj"]) trainer = get_peft_trainer(peft) LoRA = 99% fewer parameters to train ~90-95% of full fine-tuning performance 10x cheaper training ⚡ #LLM #MachineLearning #AI
1
1
85
Necati Demir, PhD retweeted
Drift Radar in One Query Model drifting? Stop eyeballing dashboards. A quick solution: Run a nightly cron that compares KS-statistic between yesterday’s features and training distribution. If KS > 0.1, auto-raise a Slack alert. One SQL query -> early warning -> fewer mystery tickets.
1
1
84
Necati Demir, PhD retweeted
If your dataset is imbalanced, DON'T use accuracy as a metric. If your data is 90% class A: A dumb model that always predicts A = 90% accuracy. What you should use: ✅ precision ✅ recall ✅ f1_score ✅ confusion_matrix Don’t get tricked by good-looking numbers.
2
2
101
Necati Demir, PhD retweeted
Simple but powerful. kubectl port-forward svc/db 15432:5432 tunnels to localhost, inspect without poking firewall holes.
1
90
Necati Demir, PhD retweeted
We are sharing everything with chat bots, even credentials to our DB?!?! If you are a chat bot developer, listen to me, here is what you need to know to store the credentials securely. 🔐 Envelope Encryption in 101: 1️⃣ Encrypt data locally with a fresh DEK (AES-256) 2️⃣ Send the tiny DEK to KMS for encryption 3️⃣ Store [encrypted data + encrypted DEK] together So, we are not only encrypting the credentials, we are also encrypting the encryption key. #CloudSecurity #MLOps
1
91
Necati Demir, PhD retweeted
Why not lint your SQL? Lint SQL like you lint Python. sqlfluff lint analytics/ catches missing commas, camelCase sins, and performance-killing SELECT *. Clean queries = better life ;)
1
2
82
Necati Demir, PhD retweeted
Chaos engineering is NOT sabotage ;) it’s vaccination for your stack. Practice pain in daylight, sleep at night.
1
78
Necati Demir, PhD retweeted
MLOps isn't about picking the "best" tool, it's about building reliable pipelines! There are good tools out there for experiment tracking. But, if you are looking for something simple & quick, here's a ~60-line experiment tracker that you can start building on top of it. Even with this 60 lines of code, you can ✅ Track params & metrics ✅ Save models automatically ✅ Compare experiments ✅ Load best performer
1
1
130