devlk

u/devlk Team

3 karma · joined 13 Oct 2026

Official account of the devlk team.

Commented on How do I write a pull request that gets reviewed quickly?c/learning1mo ago1 points

Reviewers are busy. Make your pull request small, clear and easy to say yes to.

1. Keep it small. Aim for one change that someone can review in 15 to 20 minutes. A few hundred changed lines gets a careful review; two thousand lines gets "LGTM" or gets ignored. Split big work into a sequence of PRs (for example: refactor first, then the feature).

2. Write a useful description. A template that works:

## What
Adds retry with backoff when the SMS provider times out.

## Why
About 2% of OTP messages failed during provider outages (see #231).

## How to test
1. Set SMS_PROVIDER_URL to the mock server
2. Run `npm test -- sms`
3. Trigger a login; the OTP should arrive after one retry

## Notes
Retries are capped at 3. Open question: should we alert after the final failure?

Add screenshots or a short screen recording for UI changes.

3. Review it yourself first. Read your own diff on GitHub before requesting review. You'll catch debug logs, commented-out code and unrelated formatting changes.

4. Make CI green before asking. Don't make reviewers point out failing tests.

5. Point reviewers to the tricky parts. Leave your own comment on lines where you made a judgement call.

When you get comments:

  • Reply to each one: fix it, or explain why not. Don't silently ignore comments.
  • Treat comments as being about the code, not about you. Ask questions when you disagree.
  • Push fixes as new commits during review so reviewers can see what changed.

Pull requests are also how you contribute to open source: how to make your first open source contribution.

Reviewers: what makes you approve a PR quickly? Share below.

View in thread →

Commented on What can I automate with GitHub Actions as a beginner?c/learning1mo ago1 points

GitHub Actions runs scripts automatically when something happens in your repo: a push, a pull request, a schedule or a manual button. It's GitHub's built-in CI/CD.

A good first workflow: run your tests on every push and pull request. Create .github/workflows/ci.yml:

name: CI

on:
  push:
    branches: [main]
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 22
          cache: npm
      - run: npm ci
      - run: npm test

Push it, open the Actions tab and watch it run. Pull requests now show a green tick or red cross. (For Python, use actions/setup-python and pip install plus pytest; for Java, actions/setup-java with Maven or Gradle.)

Next things to automate:

  1. Linting and formatting checks (ESLint, Prettier, Black) so style debates disappear from code review.
  2. Deploying a static site to GitHub Pages, or an app to a cloud host, when main changes.
  3. Dependency updates with Dependabot, plus CI to check they don't break anything.
  4. Branch protection: in repo settings, require the CI check to pass before merging into main.

Secrets: store API keys under Settings > Secrets and variables > Actions and use them as ${{ secrets.MY_KEY }}. Never write keys into the workflow file.

Cost: public repositories get free minutes on GitHub's standard runners; private repos on the free plan have a monthly minutes allowance. Check GitHub's current billing page, as limits change.

Why it's worth learning: "I set up CI that runs tests on every pull request" is a concrete line for your CV and a common interview talking point, even for junior roles.

What was the first thing you automated with Actions?

View in thread →

Commented on How do I host my portfolio for free on GitHub Pages?c/showcase1mo ago1 points

GitHub Pages hosts static sites (HTML, CSS, JavaScript) for free from a repository. It's ideal for portfolios, documentation and project demos.

Quick setup for a personal site:

  1. Create a public repo named <username>.github.io (for example your-username.github.io).
  2. Push your site with an index.html at the root.
  3. Go to Settings > Pages and set the source to Deploy from a branch, branch main, folder / (root).
  4. After a minute or two, it's live at https://<username>.github.io.

For any other repo, the same settings publish it at https://<username>.github.io/<repo-name>/.

Using React, Vue, Astro or another build tool? Choose GitHub Actions as the source in Settings > Pages. GitHub suggests a workflow for common frameworks that builds and deploys on every push. For apps built with Vite or similar, set the base path to /<repo-name>/ if it's not your username.github.io repo, or assets will 404.

Custom domain: add it under Settings > Pages, then create the DNS records GitHub shows (a CNAME record for www, or A records for the root domain). Tick Enforce HTTPS once the certificate is issued.

Limits to know:

  • Static only: no PHP, Node.js server or database. Use a separate API service if you need a backend.
  • Free accounts can publish Pages from public repos; private repo Pages needs a paid plan.
  • It's meant for personal, project and documentation sites, not online shops or commercial SaaS, and has soft limits on site size and bandwidth.

A portfolio is only as good as what's in it: developer portfolio projects that impress hiring managers.

Hosted your portfolio somewhere else? Share what you used and why.

View in thread →

Commented on How do I set up a GitHub profile README?c/showcase1mo ago1 points

A profile README is a normal repository with a special name.

Setup:

  1. Create a new public repository named exactly the same as your username (if your username is your-username, the repo is your-username/your-username).
  2. Tick "Add a README file". GitHub shows a note that it's a special repository.
  3. Edit README.md. Whatever you write appears at the top of your profile.

What to include (keep it short):

### Hi, I'm [Your name] 👋

Backend developer in Colombo, working with Node.js, PostgreSQL and AWS.

- 🔨 Building: [Project name](https://github.com/your-username/project), one line on what it does
- 📚 Learning: Go and system design
- 💼 Open to: remote backend roles
- 📫 Reach me: [LinkedIn](https://linkedin.com/in/...) · [Portfolio](https://...)

(This is just a template; replace it with your own details.)

Do:

  • Lead with what you do and what you're looking for.
  • Link your best one or two projects and your portfolio.
  • Keep it scannable: a few lines a recruiter can read in 15 seconds.

Avoid:

  • Walls of technology badges for things you've only touched once.
  • Heavy animated GIFs and too many stats cards. They slow the page and distract from your work.
  • Anything you wouldn't want an employer to read.

Pair it with a strong LinkedIn profile: LinkedIn profile tips for developers.

Happy with your profile README? Describe what you put in it below.

View in thread →

Commented on Does the GitHub contribution graph matter? Should I keep a streak?c/careers1mo ago1 points

No hiring manager worth working for judges you by green squares. A daily streak of tiny commits is easy to fake and says nothing about skill. One well-built project beats a year of "update README" commits. Consistent learning matters; the graph is just a side effect.

Why your commits might not appear:

  • The email doesn't match. Commits count only if the author email is linked to your GitHub account. Check with git config user.email and add that email under Settings > Emails.
  • They're not on the default branch. Commits count when they're on the repo's default branch (usually main) or the gh-pages branch, not only on feature branches.
  • They're in a fork. Commits in a fork don't count until they're merged into the original repository through a pull request.
  • The repo is private. Turn on "Include private contributions on my profile" (on your profile's contribution settings). People will see a count, not the code or repo names.

Other things that count: opening issues and pull requests, reviewing pull requests and starting discussions.

Note: a burst of activity right before applying, with nothing before or after, looks odd. Steady work on one or two real projects reads much better.

Do you care about your graph, or ignore it? Share your view.

View in thread →

Commented on Do recruiters actually look at your GitHub profile?c/careers1mo ago1 points

It depends on the role and the company, but when someone does look, they spend a minute or two, so make that minute count.

Who tends to look:

  • Engineers doing technical screening, especially for junior roles where you have little work experience to show.
  • Startups and remote-first companies, which often care more about what you've built than where you studied.
  • Less often: non-technical recruiters at large companies, who mostly screen CVs for keywords and experience.

For experienced developers, most work is in private company repos, and that's completely normal. Nobody expects a busy public profile. Your CV and interviews matter far more.

For students and juniors, GitHub can be the difference between an interview and silence, because it's evidence you can build things.

Make your profile work in 60 seconds:

  1. Pin 2 to 4 of your best repositories. Unpin tutorial clones and course exercises.
  2. Give each pinned repo a good README: what it does, a screenshot, a live demo link and how to run it (see how to write a good README).
  3. Add a short bio with your stack, location and a link to your portfolio or LinkedIn.
  4. Show real engineering: tests, a sensible commit history, a clear folder structure, issues you fixed.
  5. Put the link on your CV next to your email, and link specific projects in the projects section.

Read next: how to write a developer CV that gets interviews and portfolio projects that impress hiring managers.

Hiring managers: do you check GitHub when you screen? What makes you stop scrolling?

View in thread →

Commented on How do I get the GitHub Student Developer Pack as a Sri Lankan student?c/learning1mo ago1 points

If you're currently enrolled at a university, institute or school, it's worth applying. It's free.

How to apply:

  1. Go to education.github.com and choose the student benefits application.
  2. Add your school-issued email address to your GitHub account if you have one (for example an address ending in .ac.lk). This makes approval much easier.
  3. Upload proof of current enrolment: a student ID card with a visible date, or an official letter or registration document. A dated document works better than an undated ID.
  4. Fill in your school name exactly as it appears officially, and apply from a location you'd normally study from. Applications can be rejected if the details don't match.
  5. Approval can take from a few hours to a couple of weeks. If you're rejected, the email says why; fix that and reapply.

What you get (the list changes, so check the current pack page):

  • GitHub Copilot free while you're verified
  • GitHub Pro features
  • Free or discounted offers from partners: cloud credits, domain names, design tools, learning platforms and IDEs

Make the most of it:

  • Use the cloud credits and a free domain to deploy a real project with a custom domain. That's far more impressive to employers than a project that only runs locally.
  • Benefits last while you remain a student; you may need to reverify each year.

Next step after that: how to get your first developer job without experience.

Applied recently? Tell others what documents worked for you.

View in thread →

Commented on Merge, squash or rebase: which should I use for pull requests?c/learning1mo ago1 points

All three get your changes into main. They differ in what the history looks like afterwards.

Option What happens Good for
Merge commit Keeps every commit from the branch, plus a merge commit joining the two Seeing exactly how work happened; long-lived branches
Squash and merge Combines the whole pull request into one commit on main Clean, readable history; branches with messy "wip" commits
Rebase and merge Replays each commit on top of main, no merge commit Linear history while keeping individual, well-written commits

A sensible default for most teams: squash and merge. One pull request becomes one commit, which makes git log, git revert and git bisect easy. Use the PR title as the commit subject.

On your own branch, git rebase main (or git pull --rebase) keeps your branch up to date without extra merge commits.

The one rule that matters: never rebase or force-push a branch that other people are working on. Rebasing rewrites commits, and their copies will no longer match. If you must update your own PR branch after rebasing, use git push --force-with-lease, which refuses to overwrite commits you haven't seen.

Whatever you choose, pick one as a team and set it in the repo settings (Settings > General > Pull Requests) so everyone does the same thing.

What does your team use, and has it caused any problems?

View in thread →

Commented on I pushed a password or API key to GitHub. What should I do?c/learning1mo ago1 points

No. Deleting the file in a new commit doesn't remove it from history. Treat the secret as stolen and act in this order.

1. Revoke or rotate the secret immediately. This is the step that actually protects you. Generate a new key or password in the provider's dashboard (AWS, Stripe, Google Cloud, your database) and disable the old one. Bots scan public GitHub for keys within minutes, so do this first, even before cleaning the repo.

2. Check for misuse. Look at billing, access logs and unexpected resources (for example new cloud servers mining crypto).

3. Stop tracking the file and ignore it:

git rm --cached .env
echo ".env" >> .gitignore
git commit -m "Stop tracking .env"

Commit a .env.example with placeholder values instead, so others know which variables are needed.

4. Optionally, remove it from history. Use git filter-repo (or the BFG Repo-Cleaner), then force-push:

git filter-repo --invert-paths --path .env
git push --force --all

This rewrites history, so collaborators must re-clone. Forks and existing clones still have the old data, which is why step 1 matters more than this one.

Prevent it next time:

  • Add .env, key files and credentials to .gitignore before your first commit.
  • Keep GitHub's secret scanning push protection on. It blocks many known key formats at push time.
  • Run git status and read the list before every commit.

Has a leaked key ever cost you (or someone you know) money? Share what happened so others can learn.

View in thread →

Commented on How should I write Git commit messages?c/learning1mo ago1 points

A good message tells a future reader what changed and why, without opening the diff.

The common format:

Fix duplicate charge when payment webhook retries

Stripe can send the same webhook more than once. We now store the
event ID and skip events we have already processed.

Closes #142
  • Subject line: about 50 characters, written as a command ("Fix", "Add", "Remove", not "Fixed" or "Fixes"), no full stop. A good test: it should complete the sentence "If applied, this commit will..."
  • Blank line, then a body if the change isn't obvious. Explain why, not line-by-line what.
  • Reference the issue when there is one. On GitHub, "Closes #142" in a commit or pull request closes the issue when it is merged into the default branch.

Conventional Commits: many teams use prefixes like feat:, fix:, docs:, refactor: and chore: (for example fix: handle empty cart at checkout). They make changelogs and release tools easier. Follow whatever your team already uses.

Habits that help:

  • One logical change per commit. Use git add -p to stage only the related parts of a file.
  • Clean up before pushing. Messy local commits are fine; squash or reword them before you open a pull request.

Interviewers and reviewers do notice. A clear history in your portfolio projects is a small but real signal (see portfolio projects that impress hiring managers).

Does your team use a commit convention? Share an example below.

View in thread →

Commented on How do I resolve a merge conflict without panicking?c/learning1mo ago1 points

A conflict just means two branches changed the same lines, and Git wants you to choose. Nothing is lost.

Step by step:

  1. Run git status to see which files are conflicted ("both modified").
  2. Open each file. You'll see markers like this:
<<<<<<< HEAD
const timeout = 3000;
=======
const timeout = 5000;
>>>>>>> feature/retry

The top part is your current branch; the bottom part is the branch you're merging in.

  1. Edit the code so it's correct. Keep one side, the other, or combine them. Then delete all the marker lines.
  2. Mark it resolved and finish:
git add path/to/file
git commit        # for a merge
# or: git rebase --continue   (if you were rebasing)

Changed your mind? git merge --abort (or git rebase --abort) puts everything back to how it was before.

Tips:

  • Use an editor that helps. VS Code shows "Accept Current / Incoming / Both" buttons and a 3-way merge editor. JetBrains IDEs have a similar tool.
  • Run the tests after resolving. Code can merge cleanly and still be broken.
  • Prevent big conflicts: keep branches short-lived and merge or rebase from main often.
  • If you don't understand the other change, ask its author. That's normal and faster than guessing.

Got a tip that makes conflicts easier? Add it below.

View in thread →

Commented on How do I undo a commit in Git?c/learning1mo ago1 points

The safe way depends on one question: have you already pushed the commit?

Not pushed yet (only on your machine):

What you want Command
Fix the last commit message git commit --amend -m "Better message"
Add a forgotten file to the last commit git add file.txt then git commit --amend --no-edit
Undo the last commit, keep the changes staged git reset --soft HEAD~1
Undo the last commit, keep the changes unstaged git reset HEAD~1
Undo the last commit and throw the changes away git reset --hard HEAD~1 (careful: this deletes work)

Already pushed (others may have pulled it):

git revert <commit-sha>
git push

git revert creates a new commit that undoes the old one. History stays intact, so nobody else's copy breaks. Avoid reset plus git push --force on shared branches like main.

Committed to main instead of a feature branch (not pushed):

git branch my-feature        # save your commit on a new branch
git reset --hard origin/main # move main back to match the remote
git switch my-feature        # continue working on the branch

Lost something? git reflog lists everywhere your branch has pointed recently, even after a hard reset. Find the commit there and run git reset --hard <sha> or git branch rescue <sha> to get it back.

What's the worst Git mistake you've had to recover from?

View in thread →

Commented on Git asks for a password and then fails. How do I connect to GitHub now?c/learning1mo ago1 points

GitHub stopped accepting account passwords for Git operations in August 2021. You need one of these instead:

Option 1: GitHub CLI (easiest)

Install the GitHub CLI, then run:

gh auth login

Choose GitHub.com, then HTTPS, and let it log in through your browser. It also sets up Git to use those credentials, so git push just works.

Option 2: SSH keys (best if you use several machines or servers)

ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub

Copy the output into GitHub under Settings > SSH and GPG keys > New SSH key, then test it:

Use SSH remote URLs ([email protected]:user/repo.git). To switch an existing repo: git remote set-url origin [email protected]:user/repo.git.

Option 3: a personal access token

Create one under Settings > Developer settings > Personal access tokens. Prefer a fine-grained token limited to the repos you need, with an expiry date. Paste it where Git asks for a password. Use a credential manager (Git Credential Manager on Windows and macOS) so you don't have to paste it every time.

Also turn on two-factor authentication. GitHub requires 2FA for accounts that contribute code, and it protects your account if your password leaks.

Which method do you use, and why? Share below.

View in thread →

Commented on How do I write a good README for my project?c/showcase1mo ago1 points

Answer three questions quickly: what is this, why does it exist, and how do I run it?

A simple README structure:

  1. Project name and one-line description.
  2. Screenshot, GIF or live demo link. This alone makes a project far more likely to be looked at.
  3. Features: a short bullet list.
  4. Tech stack, and why you chose it if the choice was interesting.
  5. Getting started: prerequisites, install steps and how to run it locally. Test these on a fresh machine or container.
  6. Configuration: environment variables with example values (never real secrets).
  7. Tests: how to run them.
  8. What you learned or would do differently, especially useful for portfolio projects.
  9. License.

Common mistakes:

  • Leaving the default framework README.
  • Setup steps that don't work.
  • Committing .env files or API keys. If you did, rotate the keys. Removing the file isn't enough.

Share your project in this community when it's ready, and say what kind of feedback you want. See also How do I get useful feedback on my side project?

Post a link to a README you think is excellent, yours or someone else's.

View in thread →

Commented on How do I make my first open source contribution?c/learning1mo ago1 points

Start small, with a project you already use, and pick an issue someone has already marked as beginner-friendly.

Step by step:

  1. Choose a project you use: a library in your stack, a tool, a framework. You'll understand the problem better.
  2. Read CONTRIBUTING.md and the code of conduct. They explain how the project wants contributions.
  3. Look for labels like good first issue, help wanted or documentation.
  4. Comment before you start ("I'd like to work on this. Is it still open?") so two people don't do the same work.
  5. Keep your first pull request small and focused. Follow the project's style and include tests if it has them.
  6. Respond to review feedback politely and quickly. Requested changes are normal, not rejection.

Contributions that count, even if they're not code:

  • Fixing unclear documentation.
  • Reproducing bug reports and adding details.
  • Adding tests for untested behaviour.
  • Translating documentation.

On your CV or portfolio, link to merged pull requests and explain what you changed. See our portfolio projects guide for how to present it.

Share the first open source project you contributed to.

View in thread →

Commented on Do I need to be good at maths to become a programmer?c/learning1mo ago1 points

For most programming jobs, no. You need logical thinking and basic maths, not calculus.

Most day-to-day development (web apps, mobile apps, APIs, databases) uses:

  • Basic arithmetic and percentages.
  • Logic (if/else, and/or, true/false).
  • Some understanding of how algorithms scale (Big-O), which you can learn as you go.

Areas where more maths helps:

  • Machine learning and data science (statistics, linear algebra, probability).
  • Graphics, games and simulations (geometry, vectors).
  • Cryptography, finance and scientific computing.
  • Some algorithm-heavy interviews and competitive programming.

What matters more: breaking problems into small steps, patience when debugging, and reading carefully. These improve with practice, like any skill.

If you want to strengthen the maths that does come up, focus on discrete maths basics (logic, sets, counting) and Big-O notation. Then learn more only if you move into a field that needs it.

Did you think maths would hold you back? How has it turned out?

View in thread →

Commented on How do I understand a large codebase when I join a new team?c/learning1mo ago1 points

Don't try to understand everything. Follow one feature end to end, then expand from there.

A practical approach:

  1. Get it running locally first. Note every step that wasn't documented and fix the README. It's an easy first contribution.
  2. Trace one user action. Pick something simple, like logging in or creating an order, and follow it from the UI through the API to the database.
  3. Read the tests. They often explain intended behaviour more clearly than the code.
  4. Use git history. git log and git blame on a confusing file often reveal why something was done.
  5. Draw a rough diagram of the main components and how they talk to each other. Ask a teammate to check it.
  6. Ask good questions. "I think X works like this because Y. Is that right?" is easier to answer than "How does X work?".

Take small tickets first. Bug fixes are a great way to explore the codebase with a clear goal.

Use tools: your IDE's "go to definition" and "find usages", and debuggers with breakpoints, are faster than reading files top to bottom. AI assistants can help explain code, but verify what they tell you.

How long did it take you to feel comfortable in your last codebase?

View in thread →

Commented on How do I get repeat clients as a freelancer?c/freelancing1mo ago1 points

Repeat work comes from being easy to work with and from suggesting the next useful step.

During the project:

  • Communicate before the client has to ask. Short, regular updates build trust.
  • Meet deadlines, or warn early if something slips.
  • Leave things better documented than you found them.

At the end of the project:

  • Hand over clearly: what was done, how to run it, and any known issues.
  • Suggest what's next: "Now that checkout is fixed, the next big win would be speeding up the product pages."
  • Offer a maintenance or retainer arrangement: a set number of hours per month for fixes and small improvements.
  • Ask for a review or testimonial while the project is fresh.

After the project:

  • Check in after a month or two: "How's the new feature working for you?"
  • Share something useful you noticed about their site or product.

Clients usually prefer to keep working with someone they already trust rather than hire someone new. Make that easy for them.

What percentage of your freelance income comes from repeat clients?

View in thread →

Commented on How do I handle scope creep with a freelance client?c/freelancing1mo ago1 points

Agree on scope in writing at the start, then treat every new request as a change, not a favour.

Prevent it:

  • Write a short scope document before you start: what's included, what isn't, how many revisions, and the deadline.
  • Include a line in your contract about how extra work is handled (see what a freelance contract should include).

When a new request comes in:

  1. Acknowledge it positively: "Good idea, that would definitely help."
  2. Make the change visible: "That's outside the original scope, so I'll send a quick estimate."
  3. Give options: add it now for an extra fee and new deadline, add it to a phase 2, or swap it for something already in scope.

Example:

"Happy to add the export feature. It wasn't in the original scope, so it'd be an extra 6 hours (USD X), and it would move delivery by two days. Want me to go ahead, or keep it for the next phase?"

Small favours are fine if you choose them deliberately to build a relationship. Just make sure the client knows it's a favour, so it doesn't become the expectation.

How do you handle "one more small change" requests?

View in thread →

Commented on How do I write an Upwork proposal that gets replies?c/freelancing1mo ago1 points

Show the client you read their job post and understand their problem, in the first two lines.

Clients often see only the beginning of your proposal in the list. Generic openings like "Dear Sir/Madam, I am an experienced developer…" get skipped.

A structure that works:

  1. Open with their problem: "You need your Shopify store's checkout fixed before your sale next week."
  2. Show relevant proof: one or two similar projects, with a link or a short result.
  3. Suggest an approach, or ask a smart question that shows you've thought about it.
  4. Make the next step easy: "Happy to jump on a 15-minute call to confirm the details."

Keep it short. Most good proposals are under 150 words.

Other tips:

  • Apply early. Proposals sent in the first few hours often get more attention.
  • Be selective. Ten tailored proposals beat fifty copy-pasted ones.
  • Make your profile match the jobs you apply for: a clear title, a focused summary and portfolio items.

For pricing, see hourly vs fixed price and how to set your rate.

Freelancers: what's the best opening line you've used?

View in thread →

Commented on What equipment do I need to start working remotely?c/remote-work1mo ago1 points

Reliable internet and power come first. Everything else is comfort and productivity.

Essentials:

  • A reliable laptop or desktop that runs your development stack comfortably.
  • A main internet connection (fibre if available) and a backup from a different provider, such as a 4G router or your phone's hotspot.
  • Power backup: a UPS for your router at least, and a laptop battery that lasts through short outages. See our power cuts and outages thread and our power and internet backup guide.
  • A decent headset with a microphone. Clear audio matters more in meetings than video quality.

Worth investing in early:

  • An external monitor.
  • A chair and desk setup that doesn't hurt after eight hours.
  • A webcam if your laptop's built-in one is poor.

Ask your employer whether they provide equipment or a home-office allowance. Many remote companies do, and contracts sometimes cover it.

Security basics: use a password manager, turn on full-disk encryption and two-factor authentication, and keep work and personal accounts separate.

What's in your remote setup? Any item that made a big difference?

View in thread →

Commented on How do I stay visible when my team is in a different time zone?c/remote-work1mo ago1 points

Make your work visible in writing, and use your overlap hours wisely.

Write things down:

  • Post a short end-of-day update: what you finished, what's next, and anything blocking you.
  • Write clear pull request descriptions: what changed, why, and how you tested it.
  • Document decisions where the team can find them later.

Use overlap hours for what needs real-time discussion: decisions, unblocking, and building relationships. Do focused work outside those hours.

Be proactive:

  • Ask questions before you get stuck for a whole day.
  • Volunteer for work that matters to the team's goals, not only what's assigned.
  • Share small demos or screenshots of what you've built.

Build relationships:

  • Turn your camera on in meetings when you can.
  • Have a regular one-to-one with your manager and come with an agenda.
  • Join informal channels and calls when time zones allow.

For more on agreeing working hours, see How many hours of overlap is reasonable with a US-based team? and our guide to working remotely for a foreign company.

What's worked for you when working across time zones?

View in thread →

Commented on How do I spot fake remote job offers and scams?c/remote-work1mo ago1 points

If you're asked to pay money, buy equipment upfront, or share sensitive documents before a real interview, stop.

Common warning signs:

  • No real interview, or an "interview" that is only a chat on Telegram or WhatsApp.
  • They ask you to pay for training, equipment, visa processing or "registration".
  • They send you a cheque or money and ask you to forward part of it or buy equipment from a specific supplier.
  • Unrealistic pay for very little work, or an offer within hours of applying.
  • Email from a free email address (like Gmail) claiming to be from a large company.
  • Pressure to decide immediately.
  • Requests for your bank login, OTPs or national ID before any contract.
  • "Tests" that ask you to clone and run an unknown repository on your main machine. Some of these have been used to plant malware.

How to check:

  1. Find the job on the company's own careers page.
  2. Check that the recruiter's email matches the company's real domain.
  3. Look up the recruiter and company on LinkedIn.
  4. Search the company name with "scam".

For safer places to look, see our list of remote job boards for developers.

Seen a scam recently? Describe it (without links) to warn others.

View in thread →

Commented on I was rejected after the final round. What should I do now?c/interviews1mo ago1 points

It hurts, but it usually means you were close. Reaching the final round is a strong signal.

Final-round rejections often come down to things outside your control: another candidate with more specific experience, an internal applicant, budget changes or the role being put on hold.

What to do:

  1. Reply graciously. Thank them and say you'd be glad to be considered for future roles. Companies do come back to strong final-round candidates.
  2. Ask for feedback. Many won't give details, but some will. Keep it short: "Is there anything I could improve for future interviews?"
  3. Write down what you remember (the questions, where you felt strong, where you hesitated) while it's fresh.
  4. Pick one or two things to improve rather than trying to fix everything.
  5. Keep applications moving. The best cure for one rejection is having other processes running.

Connect with your interviewers on LinkedIn if you had good conversations. It's a small step that sometimes leads to referrals later.

Got a final-round rejection that turned into an offer later? Share your story.

View in thread →

Commented on How do I follow up after an interview without being annoying?c/interviews1mo ago1 points

Yes. One polite follow-up after the expected timeline has passed is normal and professional.

Same day or next day: a short thank-you email is optional but nice, especially after a final round.

When to follow up: if they gave you a timeline ("we'll get back to you within a week"), wait until it's passed, then add a day or two. If they didn't, wait about a week.

Example:

Hi [Name], I hope you're well. I wanted to follow up on my interview for the [role] position on [date]. I really enjoyed learning about [something specific]. Could you let me know if there are any updates on the next steps? Thanks again for your time.

After that:

  • If there's no reply, one more follow-up a week later is fine. After that, move on.
  • Keep applying elsewhere while you wait. Never pause your search for one company.
  • If you have another offer with a deadline, it's fine to tell them, politely and honestly.

How long have you waited to hear back from a company? Did following up help?

View in thread →

Commented on How should I prepare for a technical interview in two weeks?c/interviews1mo ago1 points

Focus on what this company is likely to ask, and practise out loud.

Days 1-2: research

  • Read the job description carefully and list the skills it mentions.
  • Find out the interview stages (ask the recruiter; they usually tell you). See what to expect at each stage.
  • Review the company's product so you can talk about it.

Days 3-10: technical practice

  • Coding: one or two problems a day on the most common patterns (arrays and strings, hash maps, two pointers, trees, BFS/DFS). Explain your thinking aloud as you solve them.
  • Your own stack: revise the fundamentals of the language and framework you'll be tested on.
  • System design (mid-level and above): practise one design a day with our beginner's framework.

Days 11-13: stories and mock interviews

Day 14: rest. Check your setup if it's online, prepare questions to ask them, and sleep properly.

What helped you most in a short preparation window?

View in thread →

Commented on What is the difference between gross salary, net salary and CTC?c/salaries1mo ago1 points

Gross is before deductions, net is what reaches your bank account, and CTC (cost to company) is everything the employer spends on you.

  • Gross salary: your salary before employee deductions such as your EPF contribution and income tax (APIT).
  • Net salary (take-home): what's actually paid into your account each month after those deductions.
  • CTC / total compensation: gross salary plus everything the company pays on top, such as the employer's EPF and ETF contributions, bonuses, insurance and allowances.

Why it matters:

  • When comparing offers, compare like with like: gross to gross, or net to net.
  • A high CTC can include things you never see as cash. Ask for a breakdown.
  • Bonuses that are "up to" a percentage aren't guaranteed. Ask how much was actually paid in recent years.

Questions to ask HR:

  1. What is the gross monthly salary?
  2. Which allowances are fixed, and which depend on performance or attendance?
  3. Is the bonus guaranteed, and how was it calculated last year?
  4. What insurance and leave benefits are included?

For remote contracts paid in foreign currency, the comparison is different. See how to compare a USD contract rate with a local salary.

Anything in your offer letter that confused you? Ask below.

View in thread →

Commented on Can I negotiate my first job offer as a fresher?c/salaries1mo ago1 points

Yes, you can, politely. A reasonable, respectful question almost never gets an offer withdrawn.

Freshers often have less room to negotiate on salary, because many companies use fixed bands for graduate intakes. But it's still fine to ask, and there may be flexibility in other areas.

How to ask:

"Thank you, I'm excited about this role. Based on my internship experience and the projects I've built, I was hoping for something closer to X. Is there any flexibility on the salary?"

If salary is fixed, ask about:

  • An earlier salary review (for example after six months instead of a year).
  • A joining date that suits you.
  • Training, certification or learning budget.
  • Equipment or remote/hybrid days.

Don't:

  • Invent competing offers.
  • Negotiate after you've already accepted in writing.
  • Push repeatedly after a clear "no". Accept or decline gracefully.

Our guide on how to negotiate your developer salary has more scripts you can adapt.

Did you negotiate your first offer? What happened?

View in thread →

Commented on Should I accept a counteroffer from my current employer?c/salaries1mo ago1 points

Think about why you started looking in the first place. If money wasn't the only reason, a counteroffer rarely fixes it.

Questions to ask yourself:

  • Why were you looking? Growth, the manager, the tech stack, the type of work, remote options? A raise doesn't change those.
  • Why wasn't this salary offered before? If it took a resignation to get a fair raise, think about how future raises will work.
  • Will your relationship change? Some managers are fine; others will see you as a flight risk. Only you can judge your workplace.
  • What happens to the new offer? Declining after accepting can damage your reputation with that company and recruiter.

When accepting a counteroffer can make sense:

  • Money really was the main issue, and you like the team and the work.
  • The counteroffer includes concrete changes (role, scope, team), in writing.
  • The new job was a step sideways rather than forward.

Use the same method as in how to compare two job offers: compare total compensation, growth, stability and day-to-day work, not just the monthly figure.

Have you accepted or rejected a counteroffer? How did it work out?

View in thread →

Commented on How do I prepare for my first performance review?c/careers1mo ago1 points

Prepare your evidence before the meeting. Don't rely on your manager remembering everything you did.

Two to four weeks before the review:

  1. List what you shipped. Features, fixes, improvements, with links to tickets or pull requests.
  2. Add impact where you can. Faster pages, fewer bugs, a happier client, time saved for the team.
  3. Note how you helped others. Code reviews, onboarding someone, documentation, debugging help.
  4. Be honest about what didn't go well and what you learned. Managers trust people who can do this.

In the meeting:

  • Ask what "doing well" looks like at your next level, and what specific gaps they see.
  • Agree on two or three concrete goals for the next period.
  • If you're hoping for a raise or promotion, say so clearly and ask what you'd need to show.

After the meeting, send a short email summarising what you agreed. It makes the next review much easier.

Tip: keep a "brag document" all year: a simple running list of wins. It takes five minutes a week and saves you hours of trying to remember.

What's one thing you wish you'd known before your first review?

View in thread →

Commented on Should I move into management or stay technical?c/careers1mo ago1 points

Management is a different job, not a promotion of the same job. Choose it because you want the work, not the title.

Signs management might suit you:

  • You get real satisfaction from helping others grow and from unblocking the team.
  • You're comfortable with conversations about performance, conflict and priorities.
  • You're fine with writing much less code, and judging your success by the team's results.

Signs you may prefer the technical track:

  • Your best days are the ones spent deep in a hard technical problem.
  • Meetings and people issues drain you more than they energise you.
  • You're mainly considering it for money or status.

Ways to test it before committing:

  • Lead a project end to end, including planning and coordinating other people.
  • Mentor one or two juniors for a few months.
  • Ask your manager whether you can try the role for a defined period, with the option to return.

Many companies now have a staff/principal engineer track that pays comparably to management. If yours doesn't, that's worth knowing too. Our guide on junior to senior developer covers what growth looks like on the technical side.

If you tried management, did you stay or go back? Share why.

View in thread →

Commented on How do I move from a service company to a product company?c/careers1mo ago1 points

Show that you think about the product and its users, not just the tickets.

Product companies tend to look for people who care about outcomes over time: performance, reliability, user experience and long-term code quality. Service work gives you real strengths (adapting fast, working with clients, delivering to deadlines), so frame those well and fill the gaps.

What helps:

  • Talk about ownership. In interviews, describe something you maintained and improved over months, not just delivered and handed over.
  • Show metrics. "Reduced page load from 4s to 1.5s" or "cut support tickets for X by half" sounds like product thinking.
  • Build or contribute to something long-lived. A side project with real users, or steady open-source contributions, shows you can iterate.
  • Prepare for deeper technical rounds. Product companies often go deeper on system design and fundamentals. See our system design interview framework.
  • Use referrals. People already inside a product company can tell you what the team really values.

Our comparison of product vs service companies covers the trade-offs, because service companies have advantages too.

Made this switch yourself? What made the difference in your interviews?

View in thread →

Commented on New here? How to ask a question that gets good answersc/introductions1mo ago1 points

Give people enough context to help you, and make it easy to answer.

A good question on devlk usually includes:

  1. What you're trying to do. "I want to move from a service company to a product company" is clearer than "career advice?".
  2. Where you are now. Your role, years of experience and main stack. You don't need to name your employer.
  3. What you've already tried or considered. This saves people from repeating the obvious.
  4. What a useful answer looks like. A decision? A list of options? Feedback on a plan?

A few house rules that help everyone:

  • Post in the right community: Careers, Salaries, Interviews, Remote Work, Freelancing & Payments, Learning or Show & Tell.
  • Use a specific title. "How do I explain a 6-month gap after my degree?" beats "Need help".
  • Never post anyone else's salary, personal details or confidential interview questions.
  • If an answer solved your problem, say so in a comment. It helps the next person who finds the thread.

Introduce yourself in this community too: what you work on and what you want to learn next.

View in thread →

Commented on How do I get useful feedback on my side project?c/showcase1mo ago1 points

Ask specific questions, make it easy to try, and tell people what kind of feedback you want.

When you share a project (here or anywhere):

  1. One-line summary: what it is and who it's for.
  2. A live link that works in seconds, with a demo login if needed.
  3. The code, if you want code feedback.
  4. Specific questions, for example:
    • "Is the sign-up flow clear?"
    • "How would you structure this API differently?"
    • "Does the README explain how to run it?"
    • "What would make you actually use this?"
  5. Your experience level, so people can pitch the feedback right.

When you receive feedback:

  • Thank people, even for criticism.
  • Ask follow-up questions instead of defending your choices.
  • Look for patterns: if three people mention the same problem, it's real.

Good places for feedback: the weekly Show your project Friday thread in c/showcase, open-source communities, and friends who match your target users.

Building a portfolio for job hunting? Read developer portfolio projects that impress hiring managers.

View in thread →

Commented on How do I keep up with tech without burning out?c/learning1mo ago1 points

You don't need to keep up with everything, and nobody does. Focus on depth in your area and awareness of the rest.

A sustainable approach:

  1. Know your core deeply: your main language, framework and fundamentals. These change slowly and matter most.
  2. Skim, don't chase: a weekly newsletter or two about your stack is enough to notice important changes. You don't need to try every new tool.
  3. Learn new things when you need them, for a real project or a problem at work. You'll remember them far better.
  4. Set a time budget: for example a couple of hours a week of deliberate learning, not every evening.
  5. Prefer fundamentals over trends: databases, networking, testing, system design and clear writing stay valuable for decades.

Signs you're overdoing it: constant anxiety about falling behind, starting many courses and finishing none, or learning eating all your rest time.

Rest is part of getting better. Share what you're currently learning in our learning thread.

View in thread →

Commented on How do I learn system design as a junior developer?c/learning1mo ago1 points

Start with the systems you already work on, then learn the core building blocks step by step.

  1. Understand your current system: draw how a request flows through your company's application, from client to load balancer to servers, database, cache and queues. Ask seniors to explain the parts you don't understand.
  2. Learn the building blocks one at a time:
    • HTTP, DNS and load balancers
    • Databases: indexes, SQL vs NoSQL, replication
    • Caching and when to use it
    • Message queues and background jobs
    • CDNs, rate limiting, consistency
  3. Read real architectures: many companies publish engineering blog posts explaining how they built and scaled their systems.
  4. Practise classic problems (a URL shortener, a chat app) using a framework: requirements, estimates, API, data model, design, trade-offs.
  5. Join design discussions at work: read design documents and ask why decisions were made.

The free System Design Primer is a good structured resource, and our beginner's framework for system design interviews shows how to put it together in an interview.

View in thread →

Commented on Are coding bootcamps worth it?c/learning1mo ago1 points

They can be, for some people, but research carefully before paying.

What a good bootcamp gives you:

  • Structure and a clear curriculum.
  • Accountability and deadlines.
  • Mentors, code review and a peer group.
  • Sometimes career support and employer connections.

What it can't guarantee:

  • A job. Outcomes depend heavily on your own effort, your projects and the job market.
  • Deep fundamentals in a few months; you'll still need to keep learning afterwards.

Before paying, check:

  1. Independent outcomes: talk to recent graduates (find them on LinkedIn) about their experience and job search. Be cautious of headline placement rates you can't verify.
  2. The curriculum: is it relevant to jobs in your market?
  3. Instructors: do they have real industry experience?
  4. The total cost and refund policy.
  5. The time commitment, and whether you can sustain it.

Free and low-cost alternatives (official documentation, free courses, open-source contributions and building projects) can work just as well if you're disciplined.

Whatever you choose, what gets you hired is real projects and interview preparation. See developer portfolio projects.

View in thread →

Commented on Should I learn frontend or backend first?c/learning1mo ago1 points

It matters less than you think. Pick the one that motivates you, build real things, and learn the basics of the other side along the way.

Frontend first might suit you if:

  • You like seeing results immediately and care about design and user experience.
  • You want to build things you can show friends and employers quickly.
  • Path: HTML and CSS → JavaScript → TypeScript → a framework like React.

Backend first might suit you if:

  • You like logic, data and systems more than visuals.
  • You're interested in APIs, databases, performance and infrastructure.
  • Path: one language (for example JavaScript/TypeScript, Python, Java, C# or Go) → HTTP and REST → SQL and databases → a framework → authentication and deployment.

Either way:

  • Learn Git, the command line, HTTP basics and SQL. Every developer uses them.
  • Build at least one project that has both a frontend and a backend, even a simple one, so you understand how they connect.
  • Check job posts in your target market to see which roles are in demand.

You can always switch later. The skills transfer more than people expect. See how to get your first developer job for the next steps.

View in thread →

Commented on A client isn't paying my invoice. What can I do?c/freelancing1mo ago1 points

Escalate step by step. Stay professional and keep everything in writing.

  1. Check the basics: did they receive the invoice? Is it correct, and does it include any PO number or details they require? Sometimes it's simply stuck in their accounts process.
  2. Send a friendly reminder shortly after the due date:

Hi [name], just a reminder that invoice [number] for [amount] was due on [date]. Could you let me know when payment is scheduled? Thanks!

  1. Follow up firmly a week later, referring to the payment terms you agreed and asking for a specific payment date.
  2. Pause work if your contract allows, and tell them politely that you'll resume once overdue invoices are paid.
  3. Use the platform's process if you worked through a freelance marketplace. Many have payment protection and dispute processes for eligible contracts.
  4. Consider formal options for significant amounts: a formal demand letter, or legal advice. Weigh the cost against the amount owed.

Preventing it next time:

  • Take a deposit from new clients.
  • Invoice by milestone or monthly, not only at the end.
  • Write clear payment terms in the contract.

See how to invoice international clients for a template with payment terms.

View in thread →

Commented on What should a freelance contract include?c/freelancing1mo ago1 points

Always have something in writing, even if it's a simple agreement over email. Key points:

  1. Parties: who you are and who the client is.
  2. Scope of work: exactly what you'll deliver, and what's not included.
  3. Deliverables and timeline: milestones and dates.
  4. Payment: rate or fixed price, currency, payment method, schedule, deposit, and who pays transfer fees.
  5. Revisions: how many rounds are included and how extra work is charged.
  6. Change requests: how new requirements are quoted and approved.
  7. Intellectual property: when ownership of the code transfers to the client (often after full payment), and whether you can reuse generic components.
  8. Confidentiality: what you must keep private.
  9. Portfolio rights: whether you can show the work publicly.
  10. Termination: how either side can end the agreement, and payment for work done so far.
  11. Late payments: what happens if invoices aren't paid on time (for example, work pauses).

Tips:

  • Templates are a good starting point, but adapt them to the project.
  • For large or long-term contracts, a short review by a lawyer is worth it.
  • Make sure your invoices match the contract terms; see how to invoice international clients.

Not legal advice. Contract law varies by country.

View in thread →

Commented on Should I charge hourly or a fixed price for my first freelance project?c/freelancing1mo ago1 points

For your first projects, hourly (or small fixed-price milestones) is usually safer.

Hourly

  • ✅ Protects you when the scope is unclear or grows.
  • ✅ Simple to explain.
  • ❌ Some clients worry about open-ended cost, and you need to track time.

Fixed price

  • ✅ Clients like knowing the total cost, and you're rewarded for working efficiently.
  • ❌ Risky if you underestimate or the scope keeps growing. Beginners often underestimate.

A good middle ground for beginners: fixed-price milestones.

  1. Break the project into small milestones (design, feature A, feature B, deployment).
  2. Price each one separately, with a clear written scope.
  3. Agree that anything outside the scope is quoted separately.
  4. Get paid per milestone.

Whatever you choose:

  • Write down exactly what's included and what isn't.
  • Agree how many revision rounds are included.
  • Ask for a deposit or first milestone payment from new clients.

To work out what to charge, use how to set your rate as a remote developer. To bill properly, see how to invoice international clients.

View in thread →

Commented on How do I withdraw money from Upwork in Sri Lanka?c/freelancing1mo ago1 points

Upwork offers several withdrawal methods, and which ones are available depends on your country. Check your own account first.

In Upwork, go to Settings → Get paid (sometimes shown as Withdrawal methods). The available options are listed there. Upwork's help pages explain the current fees and limits for each.

Methods commonly available to freelancers in many countries include:

  • Direct transfer to a local bank account
  • Payoneer
  • Wise, in some countries
  • Wire transfer (SWIFT) to your bank

Availability, fees and exchange rates change, so compare them in your own account rather than relying on old forum posts.

Things to compare:

  • Upwork's withdrawal fee for each method
  • The exchange rate you'll get, which often matters more than the fee
  • How long it takes to arrive
  • Whether your bank charges for incoming foreign transfers

Practical tips:

  • Make sure the name on your bank or payment account exactly matches your Upwork account.
  • Keep records of every withdrawal for tax purposes. Check current tax rules with the Inland Revenue Department or an adviser.
  • Your bank may ask about the purpose of incoming foreign payments; "freelance software services" with invoices or platform statements usually covers it.

If you withdraw from Upwork regularly, share which method works best for you (and when you checked).

View in thread →

Commented on Is it better to work remotely through an agency or directly with a foreign company?c/remote-work1mo ago1 points

Both can work well. It depends on what you value.

Through a local agency or company:

  • ✅ Local employment contract and benefits, more stability between projects, local HR support.
  • ✅ Easier to get started: they find the clients.
  • ❌ Pay is usually lower than the client pays for you, because the agency takes a margin.
  • ❌ Less direct relationship with the client; you may be moved between projects.

Directly with a foreign company (as a contractor or through an employer of record):

  • ✅ Often higher pay, and a direct relationship and career inside the company.
  • ✅ More ownership and visibility.
  • ❌ You may handle your own taxes and payments (as a contractor), with fewer protections.
  • ❌ Harder to find, with more competition.

A common path: start with an agency or local company working for foreign clients to build experience and references, then move to direct remote roles.

Questions to ask any option: Who is my legal employer? How am I paid, and in what currency? What happens if the project ends?

See how to compare job offers and how to find remote developer jobs from Sri Lanka.

View in thread →

Commented on How do I build trust with a remote manager in my first 90 days?c/remote-work1mo ago1 points

Remote trust comes from visibility and reliability. Make your work and progress easy to see.

First 30 days: learn and set expectations

  • Ask your manager: "What does success look like for me in 30, 60 and 90 days?"
  • Agree on how you'll communicate: a daily written update, weekly one-on-ones, preferred channels.
  • Ship something small early, like a bug fix or a small improvement.

Days 30-60: deliver reliably

  • Give short written updates: what you did, what's next, any blockers.
  • Flag problems early: "This is taking longer than expected because X. Here are my options."
  • Write clear pull request descriptions and document what you learn.

Days 60-90: take ownership

  • Own a feature or area end to end.
  • Suggest improvements, with reasons.
  • Help others in team channels.

Habits that build trust remotely:

  • Respond within your agreed hours.
  • Be visible in shared channels rather than only in private messages.
  • Keep your status and calendar up to date.
  • Do what you said you'd do, or tell people early if you can't.

More on remote contracts and working hours: working remotely for a US or EU company.

View in thread →

Commented on How many hours of overlap is reasonable with a US-based team?c/remote-work1mo ago1 points

Many teams work well with about 2-4 hours of overlap, but agree on it explicitly and keep it sustainable.

From Sri Lanka (UTC+5:30), US working hours fall in your evening and night, and the difference changes when the US switches daylight saving time on and off.

Things to agree with your team:

  • Which hours you overlap, for example your 7-10 pm with their morning.
  • Which meetings you must attend live, and which can be recorded or handled in writing.
  • Response-time expectations outside overlap hours.
  • How on-call works, if there is any.

Making it sustainable:

  • Shift your day rather than extending it: start later and finish later, instead of working a full day and then a night shift.
  • Protect your sleep and set clear "off" hours.
  • Do your deep-focus work during your own daytime; use the overlap for meetings, reviews and collaboration.
  • Push for asynchronous habits (written updates, documented decisions) to reduce the need for meetings.

Before accepting an offer, ask exactly what overlap they expect. Daily work into the early morning is hard to sustain for long. See remote job interviews: questions to ask.

View in thread →

Commented on How do I handle power cuts and internet outages when working remotely?c/remote-work1mo ago1 points

Plan for outages before they happen, and communicate quickly when they do.

Setup:

  • A UPS for your router and modem. Even a small one keeps your internet up during short power cuts. Your laptop battery covers the computer.
  • A backup internet connection: a mobile data plan on your phone or a separate router, from a different provider than your main connection if possible.
  • A charged power bank for your phone.
  • For longer cuts: know a nearby place with power and internet (a co-working space or café) you can move to.

Habits:

  • Push your work often (commit and push frequently), so nothing is stuck on your laptop.
  • Keep a status message or quick-message template ready: "Power cut in my area. I'm on mobile data and may be slower to respond for the next hour."
  • Tell your team in advance about scheduled outages.

In interviews, mention your setup when asked about remote work. It addresses a real concern employers have.

More remote-work basics: working remotely for a US or EU company.

View in thread →

Commented on Do remote companies hire junior developers?c/remote-work1mo ago1 points

Some do, but it's harder. Most remote-first companies prefer people who can work independently.

Why it's harder:

  • Juniors need more guidance, which is harder to give remotely.
  • Remote roles get many applicants, so companies can choose experienced people.

How to improve your chances:

  1. Look for companies with structured mentoring: remote companies with apprenticeship or junior programmes, and teams that mention onboarding and mentorship in their job posts.
  2. Build proof you can work independently: open-source contributions with real code review, freelance projects, or projects you planned, built and shipped on your own.
  3. Show excellent written communication. Clear READMEs, issue descriptions and messages matter a lot remotely.
  4. Consider a hybrid path: start with a local company (in-office or hybrid) for a year or two, then move to remote roles. This is the most common route.
  5. Look at local companies serving foreign clients, which can give you international experience with local support.

When you're ready, use the best remote job boards and how to find remote developer jobs from Sri Lanka.

View in thread →

Commented on What questions should I ask at the end of a developer interview?c/interviews1mo ago1 points

Always ask something. It shows interest, and the answers help you decide whether you want the job.

About the work:

  • What would I work on in my first three months?
  • What does a typical week look like for this role?
  • What's the biggest technical challenge the team is facing right now?

About engineering practices:

  • How do code review, testing and deployment work?
  • How are technical decisions made, and how much input do engineers have?
  • How do you balance new features with technical debt?

About growth:

  • How is performance reviewed, and how do promotions work?
  • What has helped people succeed in this role?

About the team and culture:

  • How long have people on the team been here?
  • What's the on-call or after-hours expectation?
  • (For remote roles) How much time-zone overlap do you expect, and how does the team communicate?

Avoid asking about salary in early technical rounds unless they bring it up, and don't ask things the website or job post already answers.

Pick two or three questions per interview, and ask follow-ups based on the answers. See also comparing job offers for the questions that matter at offer stage.

View in thread →

Commented on How do I answer "What's your biggest weakness?"c/interviews1mo ago1 points

Pick a real, work-relevant weakness, show you're aware of it, and explain what you're doing about it.

Avoid:

  • Disguised strengths: "I'm a perfectionist" or "I work too hard". Interviewers have heard these many times.
  • Weaknesses that are central to the job: "I don't like writing code."
  • Very personal topics.

Use this structure:

  1. The weakness, stated honestly and briefly.
  2. Its impact: how it showed up at work.
  3. What you're doing about it, with concrete actions.
  4. Progress so far.

Example:

"Earlier in my career I often stayed stuck on a problem for too long before asking for help, because I wanted to figure it out myself. It slowed down a couple of tasks. Now I set myself a time limit, around an hour, after which I write down what I've tried and ask a teammate. It's made me faster, and I've learned a lot more from those conversations."

Use your own genuine example. Follow-up questions will test it.

More behavioural questions are in behavioral interview questions for developers.

View in thread →

Commented on Is it OK to use Google or AI tools during a take-home assignment?c/interviews1mo ago1 points

Follow the rules they give you. If there aren't any, ask.

  • Searching documentation and references (official docs, API references, Stack Overflow for specific errors) is normal. That's how real work is done, and most companies expect it.
  • AI coding assistants are a grey area. Some companies explicitly allow them, some ban them, and some ask you to disclose how you used them. If the brief doesn't say, ask: "Are AI coding tools allowed for this assignment?"
  • Copying a complete solution from someone else or the internet isn't acceptable, and it usually becomes obvious in the follow-up interview.

The real test: in the review call, you'll be asked to explain your code, justify decisions and often extend it live. If you can't explain something you submitted, that's a red flag, however you produced it.

Good practice:

  • Understand every line you submit.
  • Mention in the README any significant libraries or references you relied on.
  • If you used AI tools and they're allowed, say how you used them.

Our full guide: take-home coding assignments: how to stand out.

View in thread →