News for hackers. Stuff that matters.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by hkstm on Friday April 23, 2021 @08:16AM (#26913926)
Do you think most of the HN demographic is actually running big IDEs, containers and VMs at the same time? I'm personally a CS student and never had to run more than a few lightweight docker containers + maybe one running some kind of database + VS Code and that has been working fine on a laptop with 8GB and pop_os. Could imagine that a lot of other people on HN are also just generally interested in tech but not necessarily running things that require a lot of memory locally.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by geraltofrivia on Friday April 23, 2021 @10:10AM (#26914945)
CS PhD Student. Running a laptop with 16GB of RAM. I dont train ML models on my machine but whenever I have to debug stuff locally, I realize precisely how starved for RAM my computer is. I start by closing down FF. Just plain killing the browser. RAM down from 12GB to 7. Then I close the other IDE (usually working on two parallel repos). 7GB to 5. Squeeze out the last few megabytes by killing Spotify, Signal, and other forgotten Terminal windows. Then I start to load my model to memory. 5 times out of 7, its over 12-13 GB at which point my OS stops responding and I have to force reboot my system cursing and arms flailing.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by MrDOS on Friday April 23, 2021 @10:34AM (#26915165)
> lightweight docker containers

If you're on macOS, there's no such thing as a “lightweight Docker container”. The container itself might be small, but Docker itself is running a full Linux virtual machine. In no world is that “lightweight”.

Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by taternuts on Friday April 23, 2021 @12:57PM (#26916706)
I was going to say, I'm on a 16gb 2015 macbook pro (not sure what to upgrade to) and Docker for Mac is _brutal_ on my machine, I can't even run it and work on other things at the same time without frustration
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by kortex on Friday April 23, 2021 @08:35AM (#26914054)
I run like 50 chrome tabs, a half dozen Intellij panes, youtube, slack, and a bunch of heavy containers at the same time, and that's just my dev machine.

My desktop is an ML container train/test machine. I also have ssh into two similar machines, and a 5 machine, 20GPU k8s cluster. I pretty much continuously have dozens of things building /running at once.

Maybe I'm an outlier though?

Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by mywittyname on Friday April 23, 2021 @11:03AM (#26915430)
Yeah. I suspect most people here are software engineers (or related) and IDEs, Docker, and VMs are all standard tools in the SE toolbox. If they aren't using Docker or VMs, then they are probably doing application development, which is also pretty damn RAM hungry.

I do most of my development in Chrome, bash, and sublime text and I'm still using 28GB of RAM.

Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by twodave on Friday April 23, 2021 @08:42AM (#26914127)
Depending on the requirements of your job—-just a single VS instance with chrome, postman and slack open takes around 5GB. Teams adds another GB or so. The rest probably another 2GB (SSMS and the like).

On my particular team we also run a dockerfile that includes elastic search, sql server, rabbitmq and consul—-I had to upgrade my work laptop from 16GB to 24GB to make it livable.

Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by aNoob7000 on Friday April 23, 2021 @09:06AM (#26914352)
Wouldn't you just have all the heavy stuff on a server? I don't understand the goal of running something like sql server and other server type apps on a desktop/laptop.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by twodave on Friday April 23, 2021 @09:49AM (#26914736)
Having a local environment speeds up development significantly.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by leesalminen on Friday April 23, 2021 @03:00PM (#26917966)
When I’m developing I don’t want any network dependency. I love coding with no WiFi on planes, or on a mountain, etc.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by kaba0 on Friday April 23, 2021 @09:48AM (#26914729)
If you are on linux, try out zram.
Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by TheCoelacanth on Friday April 23, 2021 @03:56PM (#26918531)
I could believe that for students because students are usually working on projects that are tiny by industry standards.

10 klocs is huge for a student project but tiny for a real-world project.

Re:Apple’s M1 Positioning Mocks the Entire x86 Business Model by kaba0 on Friday April 23, 2021 @09:47AM (#26914720)
I do use intellij and similarly hungry IDEs all the time, with many other resource hungry processes without trouble on 8 GB of RAM.

Though truth is that I use zram, which everyone should who is not fortunate enough to have plenty of RAM, but does have a decent CPU.