frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Ask HN: Anyone making a living from a paid API?

183•meander_water•21h ago•140 comments

Ask HN: What is the best LLM for consumer grade hardware?

229•VladVladikoff•2d ago•175 comments

Ask HN: What's the best AI for meme creation?

2•faangguyindia•8h ago•2 comments

Ask HN: Why reinvent front-end frameworks and static site builders?

3•keepamovin•9h ago•2 comments

Ask HN: What are you working on? (May 2025)

346•david927•6d ago•1068 comments

Ask HN: GEtting a Remote Job in the US

6•gsablewskinunes•17h ago•10 comments

Ask HN: How do I learn practical electronic repair?

11•juanse•1d ago•11 comments

What motivates you to contribute to open source projects?

17•rizs12•1d ago•13 comments

Ask HN: Hardware for 1k RPS?

5•gsky•1d ago•3 comments

Volume label field can't be longer than "VolumeLabel" when formatting in Windows

4•eisolo•1d ago•3 comments

Ask HN: How do you improve code for future AI?

2•tmaly•22h ago•4 comments

How to improve interview skill?

6•gogo61•1d ago•9 comments

Ask HN: Lisp eval vs. Lisp macros. Are they the same underlying concept?

9•behnamoh•1d ago•10 comments

Tell HN: Namecheap pre-purchasing searched domain names?

19•iamtoomas•2d ago•27 comments

Ask HN: Anyone struggling to get value out of coding LLMs?

339•bjackman•6d ago•275 comments

Ask HN: How do you set up a new dev machine? (2025 edition)

10•daryllxd•2d ago•7 comments

Ask HN: Why doesn't Google offer POS credit card reader like Square?

2•Openai2•1d ago•5 comments

Ask HN: How are people using ChatGPT to increase productivity in personal life?

13•shreythecray•2d ago•12 comments

Tell HN: eBay doesn't allow changing country

7•peterburkimsher•1d ago•5 comments

Ask HN: Career Plateau: Looking for Advice on How to Break Through

6•vaderyondu•2d ago•9 comments

Tasks Per Day – A minimalist productivity app that works

6•TerrenceTian•2d ago•4 comments

Ask HN: New Economics of Software Development Lifecycle

4•breckenedge•1d ago•10 comments

Ask HN: Management wants to talk to my Datalake. What's the best way to do this?

4•GaiusCoffee•2d ago•1 comments

Can we take a moment to appreciate what kind of web experience we are building?

11•tomdesantis•2d ago•7 comments

Ask HN: How do you stay motivated when hunting for a job?

7•tombert•1d ago•24 comments

Ask HN: Why that many more US-based companies are hiring "US-only" remote?

18•soneca•4d ago•19 comments

Ask HN: What tools do you use to discover competitors?

4•flippyhead•1d ago•9 comments

Self-Hosted Cloudflare Alternatives

2•andyong71•1d ago•4 comments

Ask HN: Building LLM apps? How are you handling user context?

30•marcospassos•5d ago•18 comments

Best Buy is selling a $400 "digital Ethernet" cable for "cleaner, clearer sound"

16•34679•3d ago•15 comments
Open in hackernews

Ask HN: How do you set up a new dev machine? (2025 edition)

10•daryllxd•2d ago
Looking for ideas here! New machine will be on OS X. I am currently playing around with Ansible and for now I am able to set up much of the non-dev applications + `pnpm`, `ruby`, `go`. (I based a lot of it on https://github.com/geerlingguy/mac-dev-playbook as I wanted to learn Ansible anyway).

Thank you!

Comments

aristofun•1d ago
By restoring from previous machine’s time machine backup apparently.

If it’s a working mac - by following corporate guides.

I wonder why complicate your life?

daryllxd•1d ago
Hey, thanks - I don't think it's a good idea to time machine my personal laptop to my new work laptop. And definitely I would try to follow the guides if the company has them.

> I wonder why complicate your life?

I wouldn't say it's complicating life? I'm quite having fun tinkering around with it. I intend to use the playbook (or maybe Brewfile as one of my friends recommend that as well) for setting up future machines for my family and I.

hiAndrewQuinn•1d ago
For Ubuntu, not Mac, but I maintain a set of 3 shell scripts over at https://github.com/hiAndrewQuinn/shell-bling-ubuntu that put 95% of everything I use on an everyday basis.

I picked shell scripts specifically because I didn't want the overhead of installing eg Ansible, even if its idempotency would be nice. I definitely like Ansible for DevOps on virtual machines, though, it's a solid platform.

daryllxd•8h ago
Awesome, I think this is kind of what I am going for re: the goodies. I am a tmux guy as well but will try them out.

I'm leaning towards Ansible as I wanted to learn it this year for VMs too. So there is some overlap with the local machines + am still on MacOS.

Curious why you went with fish over zsh? (Zsh is more common in my circles)

runjake•1d ago
First, using Ansible for setting up a single Mac is way overkill. Jeff's only doing it because he literally wrote the book on Ansible. For a single Mac where you want reproducible, just use shell script(s).

Anyway, for my Ansible environment for servers and network devices, I use uv[1]. It works flawlessly.

If I were doing things even more right, I'd host it in a container, but I don't have time for all that right now.

And nobody's mentioned Homebrew[2], yet.

PS: OS X is now called macOS, and at least in some parts, "OS X" is still used to refer to really old OS releases and may generate some confusion.

1. https://docs.astral.sh/uv/

2. https://brew.sh/

yb6677•1d ago
I also use Ansible to setup Mac and not overkill at all.

On a new Mac, I install Homebrew, install ansible via Brew.

And then run an Ansible script which installs a series of Brew items (ansible has a brew module) along with other stuff not on brew.

daryllxd•8h ago
> And then run an Ansible script which installs a series of Brew items (ansible has a brew module) along with other stuff not on brew.

Yes, this is what I have right now. I have it set up to install some non-Brew stuff as well (Chrome, Firefox, Whatsapp, etc.). I intend on using this even for my non-tech family's machines, ideally should just be 1 script to install `homebrew`, `pip` (or `uv` like the other fellow said) + Ansible, and then 1 script to install everything else via the brew module.