News for hackers. Stuff that matters.
[dead]
Re:Ask HN: What’s a good laptop for software development at ... by rhamzeh on Wednesday April 20, 2022 @07:57AM (#31095608)
True, but it is not a tool that works for everyone.

In my case, I consider the Mac one of the cons of working at my current place of work. My days are filled with minor hassles that I could really do without. Doing simple things takes longer, and I have to deal with random freezes, slowdowns and even crashes that I did not have to deal with when using my own laptop for similar needs over the past couple of years (mostly dev related with minor content editing).

So again, it is a tool, but it is not the best tool for the job for every person, especially developers.

Re:Ask HN: What’s a good laptop for software development at ... by icharters on Wednesday April 20, 2022 @08:15AM (#31095758)
Random freezes, slowdowns and crashes? Care to elaborate? What languages and tooling are you using that is giving that sort of grief? That is completely counter my experience.
Re:Ask HN: What’s a good laptop for software development at ... by jdavis703 on Wednesday April 20, 2022 @08:41AM (#31096001)
Sounds like the poster is having power management issues. Could be a dirty fan or a bad chip. I’ve dealt with the latter and it was fixed under warranty.
Re:Ask HN: What’s a good laptop for software development at ... by FillardMillmore on Wednesday April 20, 2022 @09:38AM (#31096758)
I've been using a MacBook Pro 2015 for a while now for my personal stuff - it's been nothing but reliable for everything from programming to surfing the web to DJ mixing. Just recently, the battery cycles exceeded normal usage and I got a notification from the system that the 'Battery should be replaced soon' - almost as soon as this happened, I experienced random slowdowns, freezing, etc just doing low-intensity tasks like browsing this site. Open up Activity Monitor and find that the 'kernel_task' is absolutely throttling my CPU. Long story short, this particular MacBook Pro had a battery recall and Apple replaced mine for free - worked just like new after that, which I'm grateful for since it's basically the best laptop I've ever used.
Re:Ask HN: What’s a good laptop for software development at ... by ta_456235602 on Wednesday April 20, 2022 @10:19AM (#31097341)
I normally don't participate in these type of discussions on this one I will make an exception.

Macs are extremely bad in terms of thermal management in the long run. Yes sure, they will work absolutely fine in the store but they will slow down with your dev environment installed.

1. The Apple store is cooler and has better airflow than your cubicle/desk/room.

2. The vanilla operating system runs fast on any computer and os

3. intel CPUs are getting extremely hot when doing everyday ops on the computer (too early to talk about M class CPUs) 4. Random freezes are a real thing and there isn't much you can do about it.

5. Logic board changes are also a thing, I've witnessed temperature sensors breaking because of the bad thermals.

6. fan noise is awful. yes it won't run in the store or when the computer is new, but you will definitely notice once the issues begin

7. macbooks are not made to work with monitors - they support them. the primary usecase for a apple laptop is to work without a monitor. so be surprised if your monitor is not supported.

8. on pre m1 cpus any external monitor was also triggering the radeon gpus to fire up, causing thermal throttling to become active very quickly. kernel_task anyone?

This is a long one. recommended workarounds are:

- disabling turbo boost (why buy a "pro" computer in first place?)

- buying an egpu (external gpu) with an average price of $700

- use custom fan programs that ignore the SMC reported temparatures and dictate their own fan speed (can cause further thermal damage)

- using a specific 4k monitor (does not work)

Here are some interesting videos:

https://www.youtube.com/watch?v=zX6kZ3-UBuE

https://www.youtube.com/results?search_query=macbook+pro+int...

Try taking your intel macbook to the apple store and ask about this problem. they will really tell you that they have never heard about it. now try searching google and you will see thousands of people with the very same issues. apple will absolutely stonewall the issue and claim that you are the only person in the world experiencing this problem.

the list could go on for much longer but I'm too tired for that.

Do yourself a favor, if you are not planning to travel with the device, buy yourself a decent desktop computer with sufficient cooling for half the price.

Re:Ask HN: What’s a good laptop for software development at ... by icharters on Wednesday April 20, 2022 @10:36AM (#31097575)
I owned an Intel Mac and now own an M1 Max. The Intel and M1 are completely different beasts. My Intel would die in an hour and was always hot with the fan running. The battery life on my M1 is ridiculous. Hours and hours. I don't even know if it has a fan. It's silent and runs cool.
Re:Ask HN: What’s a good laptop for software development at ... by ta_456235602 on Wednesday April 20, 2022 @10:53AM (#31097809)
I'm VERY happy for you, I hope it stays the same.

I have returned all my macs and I am a happy Windows 11 user now. No fan noise, no thermal problems.

Re:Ask HN: What’s a good laptop for software development at ... by smoldesu on Wednesday April 20, 2022 @09:06AM (#31096284)
For me, the issue is that Mac isn't what we deploy to. We spend so mamy man-hours working around Mac-specific issues when we exclusively deploy to x86 Linux at the end of the day. M1 has brought even more issues with the architecture change, to the point where I'd say ~50% of our DevOps time is spent solving Mac issues. It sucks.
Re:Ask HN: What’s a good laptop for software development at ... by Terretta on Wednesday April 20, 2022 @08:45AM (#31096054)
Does your workplace use MDM (mobile device management) or other security software? Do they use aftermarket AV?

Is it old enough to be a hybrid HDD?

Re:Ask HN: What’s a good laptop for software development at ... by threeseed on Wednesday April 20, 2022 @08:27AM (#31095859)
Maybe you have an older Mac ?

Any of the M1 variants should have no performance issues even under pretty heavy load.

And if you're having random freezes or crashes then that is a symptom of a hardware fault.

Re:Ask HN: What’s a good laptop for software development at ... by usr1106 on Wednesday April 20, 2022 @07:58AM (#31095620)
Motivation is important for your work. I would not be motivated by using some closed source, walled garden product from a company with business practices I don't like. Linux is absolutely good enough to get most development work done without issue. Even if Macs might be a slightly smoother experience in some areas.

I used to spend a lot of time to fiddle with Linux and my desktop in the past. You can do that if you want. But it's not necessary. Nowadays in 98% of the cases I say "good enough", in rare exceptions I might still use my freedom to fiddle and patch.

Re:Ask HN: What’s a good laptop for software development at ... by ezfe on Wednesday April 20, 2022 @08:10AM (#31095712)
>I would not be motivated by using some closed source, walled garden product from a company with business practices I don't like.

Most of the Development flow (and even most of the non-dev flow) happens in Open Source areas:

- Safari - Apps you download, like VSCode - Command line tools

The areas that aren't open source (The Calendar app, file browser) can be replaced as you choose.

I won't tell you to use a Mac, I just want to make it clear that the areas a developer works in are open. And, for anyone worried about things like SIP, that has a fully functional off switch

Oh, and you can run Linux (albeit with some work-in-progress features) - I've done it myself.

Re:Ask HN: What’s a good laptop for software development at ... by akho on Wednesday April 20, 2022 @09:35AM (#31096717)
Safari and VSCode are not open source.

Most people who value freedom in software for practical reasons are motivated by having a way to fix or work around inconveniences, having a community and an active discussion on features, general composability and hackability of software, …

macOs (with all respect to their UI achievements) gives you none of that.

Re:Ask HN: What’s a good laptop for software development at ... by ezfe on Wednesday April 20, 2022 @11:51AM (#31098728)
Safari isn't, you're correct - but WebKit is. And Safari does fall into the category of things that can be fully replaced.
Re:Ask HN: What’s a good laptop for software development at ... by Flankk on Wednesday April 20, 2022 @08:55AM (#31096164)
That's a bit of a ridiculous argument. Xcode is not only closed source, it is required for publishing to the App Store. You can't modify the hardware or the software. It's a virtual prison.
Re:Ask HN: What’s a good laptop for software development at ... by chrisseaton on Wednesday April 20, 2022 @09:13AM (#31096395)
> You can't modify the hardware or the software.

It’s a tool to get a job done - I don’t need to modify it.

Re:Ask HN: What’s a good laptop for software development at ... by akho on Wednesday April 20, 2022 @09:42AM (#31096811)
I don’t know what kind of tool users you hang around, but there isn’t a profession that doesn’t modify or customize their tools (through making jigs, combining pieces from different toolkits, outright rebuilding, making your own tools, …).
Re:Ask HN: What’s a good laptop for software development at ... by chrisseaton on Wednesday April 20, 2022 @10:20AM (#31097351)
That’s the great thing about software - it’s already able to do whatever I need.
Re:Ask HN: What’s a good laptop for software development at ... by chisquared on Wednesday April 20, 2022 @09:41AM (#31096801)
Note that the argument you've called ridiculous is a response to someone who does not want a

> closed source, walled garden product from a company with business practices I don't like

Such a person probably won't be using Xcode, nor has any plans of publishing to the App Store, so Xcode being closed-source isn't a factor at all here.

Re:Ask HN: What’s a good laptop for software development at ... by Flankk on Wednesday April 20, 2022 @09:49AM (#31096929)
It's the main factor for a developer, actually. We're talking about Apple so it makes sense to discuss their products. It doesn't make sense to talk about Microsoft products.
Re:Ask HN: What’s a good laptop for software development at ... by ezfe on Wednesday April 20, 2022 @11:50AM (#31098715)
Well, Xcode only needs to be used if you're publishing to the App Store, which you wouldn't do with a linux machine anyways so that's a moot point when comparing them...
Re:Ask HN: What’s a good laptop for software development at ... by icharters on Wednesday April 20, 2022 @08:04AM (#31095663)
As a professional software engineer I choose to use the best tools for the job. In my case that tool happens to be a a Mac.
Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:19AM (#31096468)
Yup - the tool that will randomly prevent you from opening any 3rd party app if Apple's signature checking service goes down.

The tool that defaults to a case insensitive but confusingly case preserving fs.

The tool that has been issued in variations that literally can't be used while closed, or if you plug the charging cable into the wrong "all the same" usb-c port.

The tool that licenses away virtualization, making development slower and harder, in an attempt to force companies to buy them.

The tool that used have a nice little $500 dollar surcharge if you want to put an extra 8gb of ram in it. (Don't worry - it's only $800 to go from 16gb to 32gb today - much better...)

That tool?

That's the best tool for your use-case?

Guess you must develop iOS apps, because otherwise... ooof.

Re:Ask HN: What’s a good laptop for software development at ... by Kudos on Wednesday April 20, 2022 @09:31AM (#31096661)
I'm a Linux user who previously used Macs for years. This list barely touches the actual reality of developing on a Mac for most people. It is not nearly as strong an argument as the arrogant tone suggests.
Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:54AM (#31096987)
Hey - Fellow linux user here, I get issued a macbook by work because I touch mobile related code. I can tell you - I'll take win10 over macOS any fucking day.

This list is literally just the most obnoxious fraction of items that have impacted me over the last 5 years of use. I can absolutely keep going.

You want me to discuss the rapid phase out of kernel extensions that allowed VMs to operate well?

Or the minor annoyance that is allowing execution for every fucking brew installed tool, since macOS blocks it by default.

Or should I look at the random 2 hour update times, where the computer is completely unusable?

Or the utterly insane memory usage when running even a small scattering of containers? 4 fairly simple containers will eat 10gbs of ram running a mid sized RoR app, elastic, and a db.

Or how about the xcode install times required to use simple tooling, like git, because "muh system integrity protection!!!" - but don't worry, at least you can get away with "just the command line" version of the tooling, which only eats a few gbs, instead of the fucking 40gb that xcode proper wants.

Re:Ask HN: What’s a good laptop for software development at ... by mdp2021 on Wednesday April 20, 2022 @09:45AM (#31096865)
> the tool that will randomly prevent you from opening any 3rd party app if Apple's signature checking service goes down

You mean the Mac needs an internet connection to "work" - there is no "airgapped Mac"?

And that they have an execution blocker you cannot disable? How could you code - make your software run on it?

Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:58AM (#31097027)
Apple does signature checking for malware - a year or two ago this service went down. The result was that absolutely no 3rd party apps could be opened on macbooks by default. They would spin for a second, then close. The issue is that the machine was online, but could not get a proper response from the signature checking service.

There are work-arounds, and by default this check is disabled while the machine is offline, but it's not exactly confidence building.

My general take on Apple is that the hardware is decent, the software is absolute dog-shit, and the marketing is TOP NOTCH.

Re:Ask HN: What’s a good laptop for software development at ... by icharters on Wednesday April 20, 2022 @10:04AM (#31097113)
I write Go for a fintech company. I'll take a Macbook running MacOS over Linux or Windows every day of the week. It's simple and easy to set up and maintain my local dev environment. I don't understand why using Linux or hating a Mac is like a religious calling to some people. In my experience I jump few far fewer hoops managing my dev environment in MacOS than Linux for the work I do.
Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @10:17AM (#31097300)
Hey man - you're the one pitching a macbook to the guy who explicitly stated he didn't want a macbook.

I'm just here disputing that a mac is "the best development tool".

My opinion is pretty simple - Apple makes decent hardware that they absolutely ruin with their software.

Honestly - the closer you can be to running the same platform/tooling that you're deploying to, the better off your life will be as a developer, and I bet you money you aren't deploying to a macOS box.

Linux and Windows are both entirely functional - frankly, windows 10 with WSL is a better experience than macOS, in my opinion - and they cost a lot less.

I have used quite a few languages professionally - Java, Golang, C++, C#, Ruby, Js (from the bad days predating jquery to the decent days of not needing jquery any more), Rust, Python, fuck - I've even professionally used Netlogo, which is not something I will ever recommend, and it still boggles my mind occasionally.

Re:Ask HN: What’s a good laptop for software development at ... by usr1106 on Wednesday April 20, 2022 @08:21AM (#31095807)
Elsewhere in the comments there is a message saying that containers are constant headache under MacOS. Not having used it I can't comment. But containers are a regular part of my work. We have them in production and additionally I use them because I cannot install every required tool / environment to my machine at the same time. In that light the position of the best tool for the job doesn't sound to be undisputed.
Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:35AM (#31096722)
icharters is a victim of apple's marketing.

Apple makes decent laptops, and the new m1 machines are not a bad pick. They are absolutely not the best tool for the job unless that job is developing iOS apps.

Re:Ask HN: What’s a good laptop for software development at ... by icharters on Wednesday April 20, 2022 @08:32AM (#31095910)
I have several Docker containers running at any given time with no issues.
Re:Ask HN: What’s a good laptop for software development at ... by smoldesu on Wednesday April 20, 2022 @09:07AM (#31096304)
I can get Docker working on Mac too, but honestly its much easier and faster on Linux. Might even be better on Windows, too.
Re:Ask HN: What’s a good laptop for software development at ... by idontwantthis on Wednesday April 20, 2022 @07:59AM (#31095625)
Seriously, I can't recommend anything but a Macbook Air to anyone who has $1000 to spend. Top comment is recommending a machine that gets 6 hours battery life. Wild.
Re:Ask HN: What’s a good laptop for software development at ... by adam_arthur on Wednesday April 20, 2022 @09:15AM (#31096412)
Controversial opinion: Windows is better for development now that WSL exists. Not a fan of using MacOS' proprietary flavor of it.

And windows computers will have 5nm processors soon enough with comparable performance to m1. Yes, the process/fab matters in perf, not just the design

Re:Ask HN: What’s a good laptop for software development at ... by emptysongglass on Wednesday April 20, 2022 @09:32AM (#31096671)
That is how I treat my new Framework with Windows: like a shitty DE to Linux. I run Arch (really Nix possessing the body of Arch since almost every package I use daily is a Nixpkg) on my personal laptop. I am enjoying seeing the other side of tooling. My Nix flake works without fuss inside WSL to instantiate my developer environment same as my Linux machine.

VS Code Remote makes working inside WSL basically native (I use Emacs on my Linux machine).

FancyZones courtesy of PowerToys makes for an acceptable tiling experience. I tried to use Komorebi but at least 0.1.8 has too many issues to recommend at this point.

Kind of excited to dive into PowerShell in a Month of Lunches next.

Re:Ask HN: What’s a good laptop for software development at ... by bsnnkv on Wednesday April 20, 2022 @11:17AM (#31098159)
If you could open some GitHub issues (or even just drop me a bullet point list here) of the issues you're facing with komorebi it would be appreciated!
Re:Ask HN: What’s a good laptop for software development at ... by emptysongglass on Wednesday April 20, 2022 @12:08PM (#31099013)
Hey thanks for the attention, I think the project is awesome and when it works I feel right at home.

Two big issues I encountered today running 0.1.8 installed with Scoop on Windows 11 Education N:

1. The empty space around apps gets bigger as you move them to new workspaces not primary (this is with Komorebi's workspaces, not Windows' Virtual Desktops which you have indicated have poorly documented APIs). It seems to be this issue [1] but that issue was closed as fixed

2. Sometimes apps left empty spaces when they were minimized. That might have been VS Code or Spotify (or Slack?). Spotify when visible didn't resize appropriately.

All my user-installed apps if that is helpful:

- KeyPirinha

- Mochi

- PowerToys

- Slack

- Telegram Desktop

- TickTick

- Ubuntu on Windows

- VS Code

- Thunderbird

- Ditto

- Everything

- 1Password

[1] https://github.com/LGUG2Z/komorebi/issues/15

Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:31AM (#31096655)
Eh - not even that controversial in my opinion. The people still bitching about windows are the ones who haven't used it in 10+ years and have no idea how usable WSL is.

linux -> windows -> mac.

Mac is by far the least pleasant OS to use. Some of the hardware is ok (although avoid the 16inch intel line like your life depends on it) but overall I don't want a walled garden with happy paths.

I want a general purpose computer, and mac ain't that.

Re:Ask HN: What’s a good laptop for software development at ... by perakojotgenije on Wednesday April 20, 2022 @08:28AM (#31095876)
OP has emphasized that they do not want to use Windows or MacOS and yet you recommend a Mac like some Apple fanboy. Why?
[dead]
Re:Ask HN: What’s a good laptop for software development at ... by perakojotgenije on Wednesday April 20, 2022 @09:10AM (#31096352)
You don't need any approval, I just don't understand that after saying "I don't want to buy a mac" you come with "You should buy a mac". What was the point of it?
Re:Ask HN: What’s a good laptop for software development at ... by travisgriggs on Wednesday April 20, 2022 @09:49AM (#31096926)
Maybe they’re a parent. :)

Telling people to do things they tell you they don’t want to do becomes almost automatic if you live with a toddler or teenager.

All kidding aside, It seems that this general observation applies to half of the comments here today, many of which are talking about pro Mac, anti Mac, or but what about windows?

It would have been nice if it just said up front “want recommendation for best non apple Linux machine.”

Re:Ask HN: What’s a good laptop for software development at ... by talentedcoin on Wednesday April 20, 2022 @09:32AM (#31096665)
What a ridiculous comment. Which is the "statement", the MacBook or a Linux laptop??? If you want to run Linux, why pay the Apple tax (not to mention all the aggravation), unless you really want the form factor or the hardware?
Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:38AM (#31096754)
I'll give you one guess which is the "statement"

hint - it's the one that spends an outrageous amount on marketing, SO MUCH SPEND that they stopped revealing how much they were spending in 2015, after the marketing budget grew above 1.8 billion USD.

That one - I can absolutely promise you that that one is the "statement" computer.

Re:Ask HN: What’s a good laptop for software development at ... by weberer on Wednesday April 20, 2022 @08:20AM (#31095802)
How easy is it to install Linux on a new Mac?
Re:Ask HN: What’s a good laptop for software development at ... by thfuran on Wednesday April 20, 2022 @08:38AM (#31095960)
Asahi exists but is not yet fully featured.
Re:Ask HN: What’s a good laptop for software development at ... by horsawlarway on Wednesday April 20, 2022 @09:21AM (#31096519)
Very difficult. Has been since mid 2010s.

There is progress - but I would not assume support for at least another generation or two of machines, and you will be fighting uphill, or running the old hardware to get it.

Re:Ask HN: What’s a good laptop for software development at ... by inDigiNeous on Wednesday April 20, 2022 @09:01AM (#31096242)
No proper M1 GPU -drivers right now probably pretty much makes it unusable.
Re:Ask HN: What’s a good laptop for software development at ... by oauea on Wednesday April 20, 2022 @09:30AM (#31096646)
How do I run Linux on a macbook? Also where can I buy one without paying the macos license fee?