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."
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.
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 ...
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
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
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
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
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
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.
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.
Necati Demir, PhD retweeted
Simple but powerful.
kubectl port-forward svc/db 15432:5432 tunnels to localhost, inspect without poking firewall holes.
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
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 ;)
Necati Demir, PhD retweeted
Chaos engineering is NOT sabotage ;)
it’s vaccination for your stack.
Practice pain in daylight, sleep at night.
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




