Quote of the Week from @freeCodeCamp @ossia : "The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time." - Tom Cargil #100DaysOfCode
10
Alfrick Opidi retweeted
cloudflare is cooking new businesses for free 22 tools for $0 the only thing you pay for is the domain i run 40+ sites on this. only bill is $5 a month for the email sender save this for your next launch: 1) domain and security - dns, cdn and ssl cert free on every domain - unmetered ddos protection on the free plan - free managed waf rules for the big known exploits - bot fight mode for every free account 2) the website - workers free gives 100,000 requests a day - static file requests are free and unlimited - 10 redirect rules per domain plus bulk redirects up to 10,000 urls 3) forms and email - turnstile is a free captcha replacement, up to 20 widgets - email routing forwards hello@ your domain to your inbox, unlimited - form alerts to your own verified inbox are free too 4) data and files - d1 database: 5 gb storage, 5 million rows read a day - kv: 100,000 reads a day, 1 gb stored - r2 file storage: 10 gb a month free, no egress fees - queues: 10,000 operations a day 5) ai and automation - workers ai: 10,000 neurons a day - headless browser: 10 minutes a day - ai search: 1,000 searches a month per account included, billing started today 6) team and numbers - web analytics on every plan - zero trust free for teams under 50 users - images: 5,000 unique transformations a month
27
45
6
556
38,178
Alfrick Opidi retweeted
How to NOT Get Sued When Launching An APP - write a real privacy policy - add terms of service - get consent before collecting data - follow GDPR if you have EU users - follow CCPA if you have California users - don't collect data you don't need - encrypt user data - let users delete their account - add a cookie banner if you track - check your app name isn't trademarked - don't copy competitors' designs or copy - license every font, image and icon - check open-source licenses - clear refund and cancellation rules - make subscriptions easy to cancel - no fake reviews or testimonials - don't make claims you can't prove - disclose AI-generated content - form an LLC to protect yourself - talk to a lawyer before scaling ship fast. just don't ship lawsuits.
82
245
13
3,577
192,573
Alfrick Opidi retweeted
Si estás construyendo con IA, guarda esto. GitHub → control de versiones (gratis)
 Claude → coding ($20/mes)
 Namecheap → dominio ($12/año)
 Cloudflare → DNS (gratis)
 Vercel → deploy (gratis) Clerk → autenticación (gratis)
 Supabase → backend + base de datos (gratis)
 Upstash → Redis (gratis)
 Pinecone → vector DB (gratis) Resend → emails (gratis)
 Stripe → pagos (2.9% por transacción)
 PostHog → analytics (gratis)
 Sentry → error tracking (gratis) Costo total para correr tu startup: ~$20 al mes. Sin servidores.
 Sin equipo de DevOps.
 Sin necesidad de funding. Solo una idea y conexión a internet. Nunca había sido tan barato construir con IA. Guarda este post. Te va a servir cuando quieras lanzar tu próximo proyecto.
46
193
8
1,887
147,442
Alfrick Opidi retweeted
System design is basically: Slow database? Add a cache. Too many requests? Add a load balancer. Tasks taking too long? Add a queue. One server struggling? Add more servers. Repeated failures? Add retries. Traffic getting expensive? Add a CDN. Data getting huge? Add database sharding.
87
427
28
7,518
387,954
Alfrick Opidi retweeted
Quiero pillarme un VPS para trastear :) ¿Qué proveedor estáis usando últimamente y cuál me recomendaríais?
153
7
1
347
80,587
Si guardas contraseñas con MD5, SHA256 o "encriptadas", estás a un solo leak de tu DB de regalar todas las cuentas de tus usuarios. Y es más común de lo que crees. Checklist para hacerlo bien: 1. Nunca MD5, SHA1 o SHA256 "pelados". Son hashes rápidos: una GPU prueba miles de millones por segundo. Tu base filtrada se crackea en horas. 2. Base64 no es cifrado ni hashing. Es texto plano con pasos extra. Si lo usas para passwords, borra esa línea hoy. 3. Usa argon2id, que es el estándar recomendado hoy. scrypt y bcrypt siguen siendo válidos (bcrypt no está deprecado). Son lentos a propósito: esa lentitud es la defensa. 4. Salt único por usuario, siempre. argon y bcrypt lo generan y lo guardan solos dentro del hash. Nada de un salt global en el código. 5. Sube el costo (work factor) hasta que un hash tarde cerca de 250 ms en tu servidor. Suficiente para frenar el cracking, tolerable para el login. 6. No limites el largo de la contraseña a 8 o 16 caracteres por "seguridad". Deja pasar passphrases largas. Ojo con bcrypt: corta la entrada a 72 bytes, ese es su límite real. argon2id y scrypt no tienen ese tope. 7. Compara con la función verify de la librería, no con un == contra tu propio hash. Evitas fugas por timing y errores de encoding. 8. Guarda el algoritmo y el costo dentro del propio hash. Cuando subas el cost, rehashea al usuario en su próximo login. Así migras sin pedirle que cambie nada. Hashear bien una contraseña es una línea con la librería correcta. Hacerlo mal es la diferencia entre un incidente contenido y un titular.
18
69
5
760
71,962
Alfrick Opidi retweeted
Every vibe coder's SEO prompt: "My vibe-coded site doesn't show up on Google. Fix it. - Switch to server-side rendering. - Create an XML sitemap. - Submit it in Search Console. - Let Googlebot in through robots.txt. - Strip out every noindex tag. - Collapse the redirect chains. - Fix every broken link. - Set canonical URLs. - Give every page a unique title and meta description. - Use one H1 per page. - Add FAQ and Article schema. - Add breadcrumb navigation. - Internally link every orphan page. - Write alt text for every image. - Compress images to WebP. - Get CLS under 0.1. - Load every page in under 2 seconds. - Rewrite anything that sounds like AI slop. - Add a real author with a real bio. - Earn backlinks from sites people trust. Page one by Monday. Make no mistakes." The joke is that this really is the full SEO checklist. Bookmark it, paste it into Claude Code and do the last two yourself.
55
56
10
1,184
96,251
Alfrick Opidi retweeted
Backend Interview Question 👇 Your app goes viral overnight. Millions of users join at once. Your servers start crashing. How would you fix it?
33
4
52
1,990
Alfrick Opidi retweeted
If Claude wrote your website's privacy policy, it may have handed 𝘆𝗼𝘂𝗿 𝘄𝗵𝗼𝗹𝗲 𝘀𝘁𝗮𝗰𝗸 to attackers. Someone found that when Claude writes a privacy page, it lists every third-party tool you've plugged in and adds promises you never meant to keep. Press it and it says it writes from your customers' side by default. A page that spells out which services you use hands attackers a checklist for known exploits, phishing, and credential stuffing. Send this to Claude Code or Codex to pull the traps out of your policy pages first: "Read my privacy policy and terms pages. Quote every promise, guarantee, named person, and vendor, and list them for me to confirm. Swap tool names for categories (hosting, payments, analytics). Change nothing until I approve."
29
17
2
479
63,365
Alfrick Opidi retweeted
System design in 6 lines: Slow reads → add a cache Slow writes → add a queue Too much traffic → load balancer DB struggling → read replicas Files → object storage + CDN Everything breaks → retries, timeouts, logs Start here. The rest is details.
86
397
17
5,328
185,993
Alfrick Opidi retweeted
If you want to make your apps faster, ask Claude for these 15 things: • Find the 5 slowest pages and tell me why they're slow • Add indexes to every database query that runs often • Fix every N+1 query • Cache the data that rarely changes • Lazy-load images and anything below the fold • Compress and resize every image to WebP or AVIF • Split my JavaScript bundle so each page loads only what it needs • Remove unused packages and dead code • Move heavy work to background jobs • Paginate every list that can grow • Put static files behind a CDN • Stop components from re-rendering when nothing changed • Load third-party scripts after the page is usable • Add loading skeletons so the app feels instant • Measure load time before and after every change Make no mistakes. Your users won't tell you the app is slow. They'll just leave. Bookmark it and send it to the friend whose app takes 6 seconds to load.
6
16
1
229
11,067
I highly recommend cloudflare's security audit skill: github.com/cloudflare/securi… Run it on all your software. Run it with the free models. Use it even if you used a model to audit something - it will find much more things. Works in all agent harnesses and is model independent.
133
744
48
8,673
613,964
Alfrick Opidi retweeted
Bro just gave every entrepreneur a cybersecurity degree in one post.
71
607
15
6,819
390,316
Alfrick Opidi retweeted
Your AI built the app. It didn't build the boring pages that keep you out of trouble. Before you launch, make sure you have: • A privacy policy that names every tool collecting user data (analytics, payments, email, session replay) • Terms of service that limit your liability • A cookie banner if you have visitors from the EU or UK • A way for users to delete their account and data • A refund policy written next to the checkout not hidden in the footer • A real contact address for legal and privacy requests • A list of every API key in your code and none of them visible in the frontend Most of these take an afternoon. Skipping them can cost you your Stripe account, your app store listing or a lawsuit. Paste this into Claude: "List every third-party service my app uses and what data it collects. Then draft a privacy policy, terms of service and refund policy based on that list, add a delete-my-account flow and flag any API keys exposed in the frontend." Ship fast. Just don't ship naked. Not legal advice. Have a lawyer review anything that matters.
41
49
4
770
53,281
Alfrick Opidi retweeted
Who's gonna tell vibe coders about... 1. SQL Injection 2. XSS 3. CSRF 4. CORS 5. SSRF 6. IDOR 7. Path Traversal 8. Mass Assignment 9. Clickjacking 10. Content Security Policy 11. Security Headers 12. Input Validation 13. Server-Side Authorization 14. Row-Level Security 15. Least Privilege 16. RBAC 17. Secrets Management 18. .env in .gitignore 19. API Key Rotation 20. Secret Scanning 21. Hashing vs Encryption 22. Password Salting 23. bcrypt & Argon2 24. JWT Expiry 25. Refresh Tokens 26. OAuth 2.0 27. OpenID Connect 28. Session Fixation 29. MFA 30. Brute Force Protection 31. Account Enumeration 32. Timing Attacks 33. File Upload Validation 34. Webhook Signature Verification 35. TLS Certificate Expiry 36. HSTS 37. Encryption at Rest 38. Dependency Vulnerabilities 39. Supply Chain Attacks 40. Threat Modeling 41. Indexes 42. EXPLAIN ANALYZE 43. N+1 Queries 44. Full Table Scans 45. Connection Pooling 46. Database Migrations 47. Down Migrations 48. Transactions 49. ACID 50. Isolation Levels 51. Deadlocks 52. Optimistic Locking 53. Pessimistic Locking 54. Normalization 55. Denormalization 56. Foreign Keys 57. Unique Constraints 58. Cascading Deletes 59. Soft Deletes 60. UUIDs vs Auto-Increment 61. Cursor-Based Pagination 62. Full-Text Search 63. Read Replicas 64. Replication Lag 65. Sharding 66. Partitioning 67. Hot Partitions 68. Postgres VACUUM 69. Materialized Views 70. Backups 71. Testing Your Restores 72. Point-in-Time Recovery 73. Change Data Capture 74. Outbox Pattern 75. ORM Lazy Loading 76. CAP Theorem 77. Eventual Consistency 78. Strong Consistency 79. Raft Consensus 80. Leader Election 81. Split Brain 82. Quorums 83. Clock Skew 84. Distributed Locks 85. Consistent Hashing 86. Bloom Filters 87. Two-Phase Commit 88. CQRS 89. Event Sourcing 90. Race Conditions 91. Backpressure 92. Load Shedding 93. Bulkheads 94. Jitter 95. Retry Storms 96. Cascading Failures 97. Thundering Herd 98. Cache Invalidation 99. Cache Hit Ratio 100. TTLs 101. Cache Warming 102. Write-Through vs Write-Back 103. Redis Eviction Policies 104. CDNs 105. Cache-Control Headers 106. ETags 107. Dead Letter Queues 108. Poison Messages 109. At-Least-Once Delivery 110. Exactly-Once Semantics 111. Message Ordering 112. Kafka Consumer Groups 113. Partition Keys 114. Background Jobs 115. Webhook Retries 116. DNS 117. DNS Propagation 118. HTTP Status Codes 119. HTTP Method Semantics 120. Keep-Alive 121. HTTP/2 122. WebSockets 123. Server-Sent Events 124. Long Polling 125. gRPC 126. Protocol Buffers 127. API Versioning 128. OpenAPI Specs 129. Backward Compatibility 130. Request Size Limits 131. Compression 132. Latency vs Throughput 133. Egress Fees 134. VPCs 135. Subnets 136. NAT Gateways 137. Firewalls 138. Security Groups 139. Service Mesh 140. Ingress Controllers 141. Health Checks 142. Liveness vs Readiness Probes 143. Graceful Shutdown 144. Connection Draining 145. Stateless Services 146. Failover 147. Multi-Region 148. Availability Zones 149. Single Points of Failure 150. Disaster Recovery 151. RTO & RPO 152. SLAs 153. SLOs 154. Error Budgets 155. Incident Response 156. On-Call 157. Runbooks 158. Postmortems 159. Chaos Engineering 160. Graceful Degradation 161. Autoscaling 162. Horizontal vs Vertical Scaling 163. Cold Starts 164. Capacity Planning 165. Load Testing 166. Memory Leaks 167. OOM Killer 168. Structured Logging 169. Log Levels 170. Log Rotation 171. Distributed Tracing 172. OpenTelemetry 173. Correlation IDs 174. Metrics Cardinality 175. p99 Latency 176. Alert Fatigue 177. Error Tracking 178. Profiling 179. Flame Graphs 180. Infrastructure as Code 181. Terraform State 182. GitOps 183. Blue-Green Deployments 184. Canary Releases 185. Rollbacks 186. Feature Flags 187. Environment Parity 188. Staging Environments 189. 12-Factor Apps 190. Multi-Stage Builds 191. Non-Root Containers 192. Image Scanning 193. Resource Requests & Limits 194. Pod Disruption Budgets 195. Semantic Versioning 196. Lockfiles 197. Reproducible Builds 198. Branch Protection
83
746
292
6,658
916,425
Alfrick Opidi retweeted
Every week someone tells me they vibe-coded their app over the weekend and don't need developers anymore. Before it touches a paying customer, make sure it includes: > a schema someone designed, instead of one the AI improvised table by table > login that still works when someone puts a plus sign in their email > password reset links that expire and work once > MFA, plus a recovery path for the user who lost their phone > sessions that time out, and a way to kill every session for one user > SSO for the enterprise customer who won't sign without it > SAML, because that customer's IT team doesn't do magic links > SCIM, so a fired employee loses access the moment IT offboards them > roles and permissions deeper than "admin" and "everyone else" > checks that stop user A from reading user B's data by changing one number in the URL > tenant isolation, so one customer's bug never shows another customer's records > an admin "log in as this user" button for support, with an audit trail on every use > rate limits on login, so nobody can guess passwords at scale > lockouts that stop attackers without locking out your CFO the night before the board meeting > database migrations that run forward and roll back > migrations that don't lock the main table at 2pm on a Tuesday > indexes, because the query that was instant on 50 test rows times out on 5 million real ones > connection pooling, so a traffic spike doesn't exhaust the database > backups every night > a restore from those backups, tested, because a backup you've never restored is a hope > point-in-time recovery for the day someone runs a delete without a where clause > soft deletes, so "I deleted it by accident" is a support ticket and not an incident > validation on the server, not just in the form > timezones stored right, so the 9am reminder doesn't fire at 4am > the customer with an apostrophe in their last name > emoji, accents and right-to-left text in every field > money stored as integers, because 0.1 + 0.2 doesn't equal 0.3 in floating point > currency, rounding and tax rules for every country you sell into > a data model that survives your second customer asking for "one small change" > idempotency keys, so a retried payment doesn't charge the card twice > deduplication for the user who clicks submit four times > pagination that still works on page 400 > exports, because sooner or later every customer wants their data in a spreadsheet > imports that survive the CSV someone saved in 2009 > retention rules, and code that deletes what your contract says you'll delete > secrets out of the code, out of the repo and out of the AI chat history > rotating every key the AI pasted into a config file last month > confirming every package the AI installed exists and is the one you meant > dependency scanning, because the AI pulled in libraries nobody reviewed > input sanitization everywhere a user can type > protection against SQL injection, XSS, CSRF and the rest of the OWASP list > file uploads that get scanned, size-limited and stored where they can't execute > CORS rules that aren't "allow everything" > security headers on every response > encryption at rest and in transit > least-privilege access for everyone, including the AI agent holding production credentials > logs that record who did what, without recording passwords, tokens or card numbers > a penetration test before your enterprise customer's security team runs their own > answers to the security questionnaire every enterprise buyer sends, with evidence behind each one > a disclosure process for the day a stranger emails you a vulnerability > a plan for the day a laptop with production access gets stolen > SOC 2, which means policies, evidence and an auditor, not a checkbox > HIPAA, the moment a single patient record touches your system > a BAA with every vendor that touches that data, including your AI model provider > audit trails that show who viewed a record, not just who changed it > PCI scope, and card numbers kept out of your database > GDPR deletion requests that reach every table, backup and log > data residency for the customer whose contract says EU only > quarterly access reviews someone signs off on > dev, staging and production environments that match each other > infrastructure written as code, so the setup lives somewhere other than one person's memory > a deploy pipeline that runs the tests before anything reaches customers > one-click rollbacks, because Friday deploys happen > zero-downtime deploys, because your customers don't have maintenance windows > feature flags, so you can ship the code without shipping the feature > autoscaling for the Monday morning spike > a CDN, so the app loads fast in Singapore too > DNS, SSL certificates, and renewals that don't expire on a Sunday > background job queues, so slow work doesn't freeze the page > retries with backoff, so one flaky API call doesn't become a lost order > a dead-letter queue for the jobs that fail every retry > cron jobs that don't run twice the day you add a second server > caching, and clearing that cache when the data changes > SPF, DKIM and DMARC, so your password resets don't land in spam > bounce and complaint handling on every transactional email > storage rules, so you stop paying to keep 2021's temp files > cost alerts, so a runaway agent loop shows up the same day and not on the invoice (we learned this one for $1,382.59) > a disaster recovery plan, written down and tested once a year > a second region, if your contract promises uptime one region can't deliver > structured logs you can search at 3am > error tracking that groups the same bug instead of sending you 4,000 emails > uptime checks from outside your own network > alerts that page a human, tuned until they stop paging for nothing > dashboards for latency, error rate and throughput > tracing for one slow request across every service it touches > an on-call rotation, and a person who picks up > runbooks, so the engineer on call knows what "queue depth critical" means > postmortems that change something > a status page customers check before they email you > unit tests written by someone who knows what the logic should do > integration tests for every third-party API you depend on > end-to-end tests for signup, checkout and the other flows that make you money > load testing before the launch email goes out > test data that looks like production without being production data > regression tests, so fixing bug 41 doesn't bring back bug 12 > testing on the five-year-old laptop your biggest customer's ops team still uses > accessibility compliance, because the enterprise contract requires it > subscriptions, upgrades, downgrades and proration > failed-payment retries and dunning emails > invoices with the customer's PO number on them, because procurement won't pay without it > sales tax and VAT > refunds, credits and partial refunds > usage metering that matches what you bill, to the cent > annual contracts with custom terms your billing logic never planned for > revenue reports your finance team can reconcile > webhooks that verify signatures > webhooks that retry, with a log of every failed delivery > a versioned API, so you can change it without breaking your customers' integrations > API keys customers can create and revoke > API rate limits that protect you without blocking real integrations > a plan for the day a third-party API changes its response format without telling you > OAuth token refresh, because tokens expire at the worst possible moment > a sandbox where customers can test their integration > protection against prompt injection in every field that reaches the model > customer and patient data kept out of prompts that leave your network > a model spend cap per customer, so one heavy user can't run up your bill > evals, so you find out when a model update makes your answers worse > a fallback for the afternoon your model provider goes down > a migration plan for the day your model gets deprecated > prompt and output logs for debugging, minus whatever you're not allowed to keep > a human approval step for anything the AI does that can't be undone > pages that load on hotel wifi > empty states, loading states and error states on every screen > error messages a customer can act on, instead of "something went wrong" > forms that keep what people typed when one field fails validation > emails that render in every mail client your customers use > notifications people can turn off > undo > keyboard navigation and screen reader support > translations, with dates and numbers formatted for each locale > a back button that does what people expect > code a human can read > code review on every change > a branching strategy, so two people can work without overwriting each other > monthly dependency upgrades, so you're never two major versions behind > framework upgrades before the old version stops getting security patches > deleting the dead code the AI left behind from its first three attempts > splitting up the 2,000-line file the AI kept appending to > architecture decisions written down, with the reasons > a README that gets a new engineer running locally in under an hour > documentation for whoever inherits this > an admin panel for your ops team > support tooling, so customer success can answer questions without pinging engineering > a changelog customers can read > terms and a privacy policy that match what the code does > every account, domain and repo in the company's name, not the name of whoever built the prototype > a bus factor higher than one Oh, and besides keeping all of this working every day, forever… your vibe-coded app will still need people who know what they're doing: > reading every line the AI wrote before it ships (a senior engineer) > designing the data model before your second customer breaks it (a backend engineer) > explaining why the AI's fix for one bug created two new ones (a senior engineer, again) > deploys, rollbacks, servers and the cloud bill (a DevOps engineer) > answering the page at 3am when payments stop (whoever's on call) > patching the framework the week a vulnerability goes public (security) > walking an auditor through how patient data moves (security and compliance) > testing what the AI says it tested (QA) > running a migration on a live database without losing a row (a backend engineer) > saying no to the feature that breaks three others (a tech lead) > turning "works on my laptop" into "works for every customer at once" (an architect) > debugging the code when the AI that wrote it can't (a senior engineer) > remembering why it's built this way, a year from now (someone who was there) …wishing them the best 🫡
705
785
202
8,738
799,783
Alfrick Opidi retweeted
Reverse Engineer Anything 😂 Software is done.
698
3,507
643
39,274
3,949,858