Skip to content

All articles: page 3

Articles 49–72 of 178, newest first. Back to the latest

Articles

  1. Article

    We moved our nightly jobs to the greenest hours of the grid. Here's what it saved (spoiler: less than you'd think, and that's the point)

    I'm a data analyst at a community energy co-op in Bristol. We're small: about 400 member households, a few solar roofs, a share in a wind turbine, and one Linux box in a rack in a shared data centre that runs all our nightly jobs (meter data imports, billing calcs, the dashboards members look at). People in this topic keep asking about carbon-aware scheduling, so here's an honest write-up of doing it for real,…

    Freya Collins41likes17comments

  2. Article

    Read the constraints first: how I pick the pattern in under 2 minutes

    Most people read the story in a problem and skip the constraints. The story is decoration. The constraints tell you the complexity you are allowed, and the complexity tells you the pattern. This is the routine I use, and the one I have been teaching in mocks for six years. Step 1: constraints → your budget Rough rule: a judge does about 10^8 simple operations per second in C++ or Java. So: n ≤ 20 : exponential is…

    Nikhil Sharan111likes35comments

  3. Article

    Why your SaaS pricing does not work in Kisumu (1/15)

    1/ Every month a founder emails me: "we launched in Kenya, the traffic is great, nobody pays". Then I open the pricing page. $29 a month, card only, 20% off if you pay annually. Let me explain why that page is a wall. 2/ Start with the card. Most of your customers in Kisumu do not have a credit card. Many have a debit card that does not work online, or works until the bank's fraud system sees a foreign merchant and…

    Achieng Owino43likes12comments

  4. Article

    volatile is not a mutex: sharing data between an ISR and your main loop

    Every few months a junior in my team come with the same bug: a counter updated in an interrupt, read in the main loop, and sometimes the value is garbage. And the first answer is always "but I put volatile". So here is the explanation I give them, maybe is useful for someone else. What volatile does volatile tells the compiler: this variable can change outside of the normal program flow, so read it from memory every…

    Diego Ramírez3likes3comments

  5. Article

    OOMKilled at 2am: requests, limits, and the JVM that didnt know about either

    Quick write up because I have now explained this in three separate incident channels this month and I would like to just paste a link next time. Symptom: a Java service in kubernetes restarts every few hours. No exception in the logs, no stack trace, nothing. The app just... stops. kubectl describe pod shows this: Last State: Terminated Reason: OOMKilled Exit Code: 137 137 is 128 + 9, meaning the process got…

    Marcus Johnson4likes3comments

  6. Article

    Finding jank on a Rp1,5 juta phone: what actually worked for our Compose feed

    Promised Trey a proper post after his budget Android review, so here it is. Context: big app, Compose UI, and most of our users are on phones that cost Rp1,5 to 2,5 juta (roughly 90 to 160 USD). Our feed felt "fine" on our flagship dev phones. On the cheap test device it was not fine. 1. Measure first, on the right phone Quick check, no setup: adb shell dumpsys gfxinfo com.example.app reset # scroll the feed for 30…

    Dita Anggraini22likes9comments

  7. Article

    Spring Boot 2.7 to 3.3 on a European bank project: what actually broke (it was not just javax)

    Our client, a mid-size bank in Europe, got a finding from their security team: Spring Boot 2.7, open source support ended in November 2023, upgrade. So our team of 7 in Pune got the job. 41 Maven modules, Oracle database, a partner integration in Frankfurt, and a change advisory board that meets once a week. Here is what broke, in the order we found it. 0. Java 17 first, separately Boot 3 needs Java 17. We moved…

    Omkar Joshi27likes11comments

  8. Article

    volatile is not a lock: 4 ISR bugs I have personally shipped to pump controllers

    All four of these went to the field in products with my name in the git blame. All four passed bench testing. Sharing so you can ship different bugs. Bug 1: the missing volatile bool adc_done = false; /* BUG: not volatile */ void ADC_IRQHandler(void) { adc_value = ADC1->DR; adc_done = true; } void read_adc(void) { start_conversion(); while (!adc_done) { } /* at -O2 this becomes while(1) */ adc_done = false; } The…

    Karthikeyan S19likes10comments

  9. Article

    Our roadmap has no dates after six weeks. Sales survived. Here is how

    Six months ago our roadmap was a Gantt chart with quarter-end dates on everything for the next 12 months. Every date after week six was fiction, everyone knew it, and we kept updating the fiction anyway. Some notes on what we replaced it with, at a 40-person health tech startup. The format Now (next 6 weeks): committed, with dates. The team has estimated it and it is in a sprint plan. Next (roughly 6 weeks to 3…

    Elin Sjöberg9likes8comments

  10. Article

    Cómo conseguí chamba remota para una empresa gringa desde Guadalajara (y cuánto gano, sin pena)

    Gano 5,500 USD al mes. Soy frontend senior, contratista, para una empresa de San Francisco, desde Guadalajara. Lo digo con números porque cuando yo buscaba nadie decía cuánto, y por eso la primera vez me ofrecieron 2,000 y casi acepto. Si este post sirve para que una sola persona no acepte 2,000, ya valió la pena. Esto es lo que hice, en orden. No es la única forma, es la mía. 1. Inglés: no necesitas acento gringo…

    Sofía Ramírez24likes16comments

  11. Article

    gaming on linux in 2026 is genuinely fine now, here is my actual setup

    i get asked "can you game on linux" more than anything else and the honest 2026 answer is: yes, for most games, better than you expect. here is what i actually run. distro: arch, sway, amd... no, i kept nvidia, because i am stubborn, see my other post. steam installed from the official package. proton is the whole trick proton is valve's compatibility layer, it runs windows games on linux through a bundled wine +…

    Lena Hoffmann24likes2comments

  12. Article

    Our roadmap has three columns and no dates. Here is how I sell that to sales.

    Every quarter someone from sales asks me for "the roadmap with dates," and every quarter I give them the same document: three columns called Now, Next and Later, with no dates on anything past the current quarter. It took a while to make this work politically, so here is what I've learned. Why no dates A date on a roadmap item six months out is not a plan. It's a guess that becomes a promise the moment it leaves the…

    Rachel Kim3likes3comments

  13. Article

    I maintain something you depend on. I am done pretending that is sustainable.

    skerry is a small C library that parses JSON. it is maybe four thousand lines. it is also, as far as I can tell from the download numbers and the angry emails, inside a lot of things you use: routers, a payment terminal, at least two cars, and the backend of companies whose quarterly profit is larger than the GDP of the town I live in. I have maintained it for fourteen years. I have two co-maintainers who help when…

    Karl Lindqvist102likes22comments

  14. Article

    Kotlin coroutines in a Spring service: three leaks we shipped and what structured concurrency fixed

    We run our routing service in Kotlin on Spring Boot. Coroutines were introduced two years ago by enthusiastic people, including me. Here are the three mistakes we made, all of them explained in the kotlinx.coroutines docs, which none of us had read properly. Hence the topic. 1. GlobalScope for fire-and-forget fun ship(order: Order) { GlobalScope.launch { auditClient.record(order.id, "shipped") }…

    Bram Verhoeven22likes9comments

  15. Article

    Sueldos de programador en España: por qué un senior aquí cobra lo que un mid en Ámsterdam

    Quince años picando código. Backend Java en un banco de Madrid. Cobro 48.000 brutos al año y en mi planta me consideran afortunado. Un compañero que se fue a Ámsterdam hace dos años entró de mid por bastante más que eso. No lo digo por envidia, lo digo porque en España nadie quiere hablar de números y así nos va. 1. Las cárnicas Para quien no lo sepa: "cárnica" es como llamamos aquí a las consultoras que alquilan…

    Javier Montero8likes11comments

  16. Article

    Daraja STK Push from Android: 10 things the docs will not tell you (with Kotlin)

    Sasa wasee. I wire up M-Pesa for a logistics startup in Nairobi, from Eldoret. Safaricom's Daraja API works, but the docs leave a lot for you to discover at 2am. Here is my list. Maze, read it before you start. 1. Never call Daraja from the app A consumer key and secret inside an APK is a gift to every bored teenager with apktool. App calls your backend, backend calls Daraja. No exceptions, not even "just for the…

    Brian Kiprono24likes11comments

  17. Article

    Web Dev Roadmap 2026 para sa beginners (libre lahat, walang bootcamp)

    Mga kapatid, ito na yung pinaka-hinihingi niyo sa comments ko for months. Yung roadmap na binibigay ko sa mga students ko, buo, libre. Hindi ito para maging "senior in 3 months". Ito ay para sa taong may trabaho o nag-aaral, may 2 oras kada araw, at gustong maging job-ready sa loob ng isang taon. (Goal desk. Hindi akin. Yung akin may electric fan at kapeng 3-in-1.) Phase 0: Setup (week 1) VS Code, Git, at isang…

    Kuya Migs27likes18comments

  18. Article

    august: $34,980 MRR (+$5,220). best month ever, one month after the worst one. i don't understand this business either

    last month i posted my worst month in 2 years. this month is my best month ever. if you're new here: this is normal, and nobody understands it, me included. by product invoice PDF API : $19,640 (+$2,730). churn 2.2% shopify order tagging : $12,780 (+$2,170). churn 3.4% uptime monitor : $2,560 (+$320) total $34,980. july was $29,760. why up the july post. 11 of you emailed me about the PDF API afterwards, mostly…

    Jo Brennan26likes11comments

  19. Article

    pixel perfect camera in unity without the jitter (what finally worked for me)

    been fighting jittery pixel art in my farming game for literally weeks so heres everything that ended up mattering. this is URP 2D on unity 2022 LTS but most of it applies to newer versions too 1. one pixels per unit for everything pick a PPU (i use 16 because my tiles are 16x16) and set EVERY sprite to it. one sprite at a different PPU and it gets scaled weird and shimmers when it moves. i had the player at 16 and…

    Jake Morrison4likes3comments

  20. Article

    how to actually start in security (hint: not by downloading 40 tools)

    I get the same DM twice a week: "how do I get into hacking". so here is the answer once, properly, and I will just link this from now on. the mistake everyone makes is starting with tools. they install kali, run thirty programs they cannot read the output of, and give up in a month. you do not need kali to start. you need to understand how the web works, and then practise on things that are built to be broken. step…

    Nadia Benali43likes7comments

  21. Article

    worst setups of the week #3: i looked so u dont have to

    righto. another week of u lot posting desks. i went through all of them. some of them twice, unfortunately the ratings bloke with the monitor on a stack of uni textbooks: 3/10. those textbooks are doing more work than ur gpu. at least u finally opened them rizal posted another one: 4/10. rgb tax. the cable management is actually good which makes me angry mr blinky lights shed photo: 3/10. it was a stock photo and he…

    Dazza15likes12comments

  22. Article

    the borrow checker, explained to my ruby self

    i wrote ruby for five years before rust. in ruby every variable is a reference to an object somewhere, the garbage collector cleans up after you, and you never think about who "owns" anything. so my first month of rust was mostly me yelling at the compiler. here are the three errors i hit most, translated for past me. if you want the 100 second version of rust first, fireship's is honestly good: 1. E0382: the value…

    Mio Kobayashi27likes12comments

  23. Article

    our startup tried a 4 day week for 3 months. here are the numbers, not the vibes

    we're a 9 person logistics startup in sapporo (6 engineers). in may our ceo agreed to a 3 month trial of a 4 day week: same pay, fridays off, 32 hours. everyone on mastodon has opinions about this, so i challenged to collect actual numbers. here they are. small team, one trial, not a study. but numbers. the setup mon-thu, 9:00 to 18:00 with an hour lunch. fridays off for everyone, not rotating one person on call on…

    Mio Kobayashi20likes13comments

  24. Article

    Jellyfin hardware transcoding in a Proxmox LXC with Intel iGPU: the config that finally work

    Problem: when my parents watch something on the phone, Jellyfin transcode on CPU and the i5-8500T go to 95%, fans loud, and everything else on that node become slow. The iGPU (UHD 630) was sitting there doing nothing. It took me 2 evenings to make Quick Sync work inside an unprivileged LXC, so here is everything. 1. Check the host ls -l /dev/dri crw-rw---- 1 root video 226, 0 ... card0 crw-rw---- 1 root render 226,…

    Nguyễn Minh Hiếu10likes8comments

Get the best of Dynamo Geeks weekly

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