Skip to content

All articles: page 4

Articles 73–96 of 178, newest first. Back to the latest

Articles

  1. Article

    Binary search on the answer: when nothing is sorted but you can still binary search

    Students learn binary search as "find x in a sorted array" and then get stuck on questions where nothing is sorted. The trick is that you are not searching the array. You are searching the answer . The problem You have packages with weights w[i] that must be shipped in order. A ship carries them over D days, loading packages in order each day until the next one would exceed its capacity. What is the minimum capacity…

    Nikhil Sharan40likes9comments

  2. Article

    How to ask for help at your first dev job (the template I give my mentees)

    Every weekend I mentor bootcamp graduates, and the number one thing that decides how fast they grow at their first job is not React or Python. It is how they ask for help. Some ask too early and never build the muscle. Most ask too late, after two days of silent suffering, because they are scared to look stupid. So here is the rule and the template I give them. Kindly steal it. The rule: 45 minutes, then ask…

    Grace Wanjiru4likes4comments

  3. Article

    Your Go service has 600 Postgres connections and uses 6 of them

    Last month a routine scale-up took down our orders database. Not CPU, not disk. Connections. Postgres said FATAL: sorry, too many clients already and every service that touched it fell over together. How we got there 40 pods of one Go service, each with a pgx pool. Nobody had set MaxConns , so pgxpool used its default: the larger of 4 and runtime.NumCPU() . Our nodes have 16 cores. 40 times 16 is 640 possible…

    Danny Cho22likes8comments

  4. Article

    Cómo le cobro a clientes gringos desde Medellín sin regalar plata en el camino

    Parce, arranco con la historia triste para que no les pase. Mi primer cliente gringo, 2021: una app de reservas para un gimnasio en Florida. Todo por chat, cero contrato, "we're a small team, we trust each other". Entregué todo, código, deploy, todo. El último pago, 3.000 dólares, nunca llegó. El man dejó de contestar. Él tenía la app funcionando, yo tenía una lección. Desde ahí hago estas cosas, sin excepción: 1.…

    Camilo Restrepo14likes8comments

  5. Article

    Meu cliente foi hackeado por um plugin 'nulled'. O que todo plugin WordPress precisa ter

    oxente, que semana. cliente meu aqui em salvador, uma pousada, comprou um plugin "premium" de reservas num site desses de plugin pirata. de graça. massa né? três semanas depois o google search console mandou alerta e o site tava cheio de página de cassino em russo e japonês. barril. como eu achei primeira coisa, ver quem é admin: wp user list --role=administrator tinha um usuário "wp_support" que ninguém criou.…

    Matheus Barreto8likes10comments

  6. Article

    Service company vs product company: 9 saal dono taraf kaam kiya hai, ab sach sun lo

    Kal Ankit ne apna monthly rant daala, "WITCH model is why Indian engineering has a bad name". Main usse hamesha "calm down" bolta hoon. Aaj properly jawab dunga, aaram se, chai leke. Pehle disclaimer: main dono taraf kaam kar chuka hoon. 4 saal ek badi service company mein (Noida, banking client), 5 saal ek product company mein (haan, Noida mein bhi product companies hoti hain 😂). Toh ye opinion bahar se nahi hai.…

    Rohit Verma39likes35comments

  7. Article

    monthly rant: the WITCH model is why indian engineering has a bad name

    ok here it goes. once a month i say this and once a month the bench army comes for me. the big service cos hire freshers in bulk at 3.5 lpa, park them on bench for months, then bill them to a client as "consultant" at a dollar rate. the fresher learns nothing. the client gets a ticket closer. the company keeps the margin. this is not engineering. this is staffing with extra steps. and then the same people come to…

    Ankit Khurana8likes16comments

  8. Article

    Agent demo vs production: what happened when our 9-out-of-10 demo met 1,200 real tickets

    In the spring we were shown an agent demo: give it a customer request ("I was charged twice, please fix it"), and it reads the account, finds the duplicate charge, issues a refund and writes a reply. Ten scripted requests, nine handled end to end. Leadership was ready to staff down a queue. We ran a four-week shadow pilot instead: the agent processed real tickets in parallel with humans, with its actions logged but…

    Dana Kowalski15likes13comments

  9. Article

    Shifting batch jobs to cleaner hours: what actually moves the needle

    Our product shifts EV charging to the hours when the grid is cleaner, so naturally people on my team asked whether we do the same with our own batch jobs. We do now. Here is what I learned, including where the gains are smaller than the conference talks suggest. The basic idea Electricity is not equally clean every hour. When wind and solar are high, the grid mix has a lower carbon intensity (grams of CO2 per kWh).…

    Emma Lindqvist3likes4comments

  10. Article

    The school concert was at 3 pm on a Tuesday. Here is the calendar block I now use, and why I stopped apologising for it

    My daughter is seven. Last month her school had its annual day concert at 3 pm on a Tuesday, which, if you are a working parent in India, you will recognise as a time chosen by someone who has never had a 3 pm sprint review. For years, my move in this situation was to sneak out. Leave my status green, keep Slack open on my phone in the auditorium, answer one message during the song my daughter had practised for…

    Divya Ramanathan18likes13comments

  11. Article

    Steam wishlists: my honest numbers after 9 months of a 'coming soon' page

    Since my Steam page went live in November I get the same DM every week: "how many wishlists, is it good ?" So voilà, everything, the good and the plate. The total Wishlists added: 3,412 Wishlists deleted: 272 Net: 3,140 after 9 months Where they came from My best estimate, from UTM links in Steamworks and the traffic breakdown: Reddit GIF posts: ~31%. One GIF did about 600 alone: the fish stares at the camera while…

    Olivier Gagnon14likes9comments

  12. Article

    ESP32 module placement: why your WiFi range is 3 meter

    Every week customers send me ESP32 board for review before production. 7 of 10 have the same problem. They say "WiFi range very bad, maybe ESP32 is bad". ESP32 is fine. Layout is bad. 1. Antenna at board edge, nothing under it The PCB antenna on the module (the zigzag part) must be at the edge of your board, or better, hanging out past the edge. Under the antenna: no copper on any layer . No ground pour, no traces,…

    Leo Chen 陈立12likes10comments

  13. Article

    Two cashiers, one last bottle of kecap: fixing overselling in a Laravel POS with row locks

    One of my clients is a small minimarket chain, 4 stores, 6 cashiers per store at peak. Last Lebaran, the day before the holiday, the stock report showed -14 bottles of kecap manis . Negative stock. The owner asked me, very politely, how we sold 14 bottles that do not exist. Good question, mas. The bug $product = Product::find($id); if ($product->stock < $qty) { throw new OutOfStock($product); }…

    Bayu Setiawan14likes9comments

  14. Article

    Where should a browser app keep its tokens? Not localStorage (mostly)

    This question comes up in every code review I do for a new web app, so I am writing the long answer once. The short version For a first-party web app (your frontend talks to your own API): keep the session in an HttpOnly, Secure, SameSite cookie , and do not put long-lived tokens anywhere JavaScript can read them. If you must use OAuth access tokens in the browser, keep the access token in memory and short-lived,…

    Fatima Al-Sayed8likes8comments

  15. Article

    Write runbooks for the person who just got woken up at 3am

    I have been on call for about nine years now across three companies and I can tell you the single biggest thing that decides if an incident takes 12 minutes or 3 hours is not the monitoring stack, its not kubernetes, its not how smart your team is. its whether the runbook was written for a person who is half asleep. Most runbooks I've inherited were written by someone who was wide awake, had full context, and was…

    Marcus Johnson5likes7comments

  16. Article

    i logged every work hour for 4 weeks to answer dana's question. did AI 10x my output? (no. but.)

    back in june i posted that AI tools 10x'd my output. dana (@dana_ml) asked what 10x meant. i said it FEELS like 10x. she said feelings are data with a very wide confidence interval. she was right and it annoyed me for two months. so. the setup 4 weeks, mid july to early august. 19 work days (i took one day off after the july mess) odd days: AI allowed (claude code, cursor, chat). even days: no AI except plain editor…

    Jo Brennan55likes18comments

  17. Article

    Someone else's computer, rented by the hour: what my spare room costs versus the cloud

    Every few weeks someone on here tells me the cloud is cheaper. Sometimes it is. So I sat down with a pot of tea, my power bill, and my receipts, and worked it out properly. I have included the numbers that do not flatter me, because a comparison that only counts one side is an advertisement. What is in the spare room One Dell OptiPlex 7060 Micro, i5-8500T, 32GB, running Proxmox. About a dozen containers and two…

    Graham Whitfield20likes14comments

  18. Article

    Flutter num Android de 700 reais: o que eu mudei pro app parar de engasgar

    mano, vou contar uma vergonha. nosso app (fintech: extrato, pix, cartão) tinha nota 4.6 na App Store e 3.9 na Play Store. e a gente achava que era "usuário de Android que reclama mais" kkkkk. aí alguém finalmente abriu o analytics: mais de 60% dos usuários Android tinham celular com 2 ou 3 GB de RAM. e o time inteiro testava em iPhone e Pixel. compramos 3 aparelhos de entrada (o mais barato saiu uns 700 reais) e…

    Thiago Valadares10likes9comments

  19. Article

    Figma fatigue is real: 6 things I stopped doing (and my developpers are happier)

    I love Figma. I also have 34 tabs of Figma open right now and my laptop fan sounds like a Vespa. So, some things I stopped doing this year. Not a manifesto, just what worked for our team ✨ 1. I stopped designing every state as a separate frame Hover, pressed, disabled, loading, error, empty... times 3 breakpoints, times light and dark. That's how you get 400 frames for one form. Now: one component with variants for…

    Giulia Bellandi16likes7comments

  20. Article

    Raising a daughter in Hsinchu while the news talks about blockades

    I am a process integration engineer at a foundry in Hsinchu. I will not say which one and I will not say anything about work, customers or yields, please do not ask. I want to write about something else: what it is like to live here, in the middle of a topic that people far away discuss like a strategy game. The ships on TV My daughter is 7. During the large drills, the news shows maps with red arrows around our…

    C.M. Huang 黃志明46likes15comments

  21. Article

    DSA is not useless for real jobs. Grinding 800 questions without revision is.

    Every few weeks the same fight starts in my comments. One side says DSA is useless because "real jobs are CRUD". The other side says you are not an engineer if you cannot invert a binary tree on a whiteboard. Both sides are a little right and mostly loud. Let me give the boring answer with examples. Where DSA showed up in real work A nightly job deduplicating 2 million customer records with List.contains() inside a…

    Nikhil Sharan28likes19comments

  22. Article

    Teu modelo tem 99% de acurácia? Bah, então me mostra a matriz de confusão

    Bah, tchê. Toda semana aparece alguém no LinkedIn com "meu modelo atingiu 99% de acurácia" e um gráfico bonito. E toda semana eu tenho as mesmas três perguntas. Vou deixar aqui pra poder mandar o link 🧉 1. Qual é a proporção das classes? Se 99% das transações não são fraude, um modelo que responde "não é fraude" pra tudo tem 99% de acurácia. E não pega fraude nenhuma. Tu viu? Acurácia sozinha não diz nada quando as…

    Bruna Schmitt6likes7comments

  23. Article

    Runway math for a 12 person Berlin startup: '27 months' is a lie we tell ourselves

    Every founder I know says "we have two years of runway". Honestly, most of them are counting wrong. We were. Here is our real math, slightly rounded, embarrassing parts included 😅 The naive version Bank: €2.1M (seed, closed last year) Monthly costs: about €115k Revenue: €38k MRR Net burn: €77k a month Runway: 2.1M / 77k = 27 months 🎉 Where the €115k actually goes Gross salaries, 12 people: €78k Employer social…

    Deniz Yıldırım10likes14comments

  24. Article

    context.Context en Go, explicado como se lo explicaría a un amigo en un asado

    Che, Camilo me preguntó el otro día "¿para qué sirve el ctx que todo el mundo pasa como primer parámetro?" y le contesté con un audio de 7 minutos. Lo paso a texto para que le sirva a alguien más. Qué es, en una frase context.Context es un valor que viaja con tu request y lleva tres cosas: un deadline (hasta cuándo tenés tiempo), una señal de cancelación (che, pará, ya no hace falta) y algunos valores del request…

    Martín Ferraro8likes7comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.