Getting New Macbook. Suggestions?


#1

I’ve been developing on a macbook air (which has been fine) but I’m thinking of upgrading.

Any specs in particular that I should be looking out for? Or specific models worth seeking or avoiding?


Ideal Meteor Development Box?
#2

I got a Dell Chromebook 13. Put GalliumOS on it. Could not be more happy. Came from MacBook Pro - will not go back:

  1. way cheaper
  2. standard connections
  3. dont like OS X too much (hate Windows) - I especially disliked that when I put an external keyboard in, home, ctrl etc would not work/work not as expected.
  4. great screen. Resolution lower, but no glare /at all/
  5. good keyboard/mousepad

:slight_smile:


#3

One with a lot of disk space. I know this sounds like a no brainer, but if you’re coming from MacBook Air land, you’re used to working with a smaller amount of disk space. If you’re actively working on multiple Meteor projects at the same time, you might find that you’ll quickly chew through local disk space because of this issue:

The projects I’m currently working regularly use up about 25 gigs of space. I’m working on a MacBook Air and have to routinely clean my bundler-cache directories.

Other than that, the specs of any modern MacBook are more than sufficient for a great Meteor developer experience.


#4

o man the bundler cache… a month ago I was trying to figure out why I only had 5 gigs left on my macbook air. It was the bundler cache at almost 50 gigs!


#5

I’ve been on mac so long I don’t think I’ll make the change now. Interesting though.


#6

New Mac laptops are rumoured to be released later this year so I’d say wait a short while. Check out the macrumours buyers guide for more info.


#7

Hello, how smooth is this OS for Meteor development ?


#8

Where are these found? (Not in meteor projects themselves, right?) My MacBook Air is always running out of disk space. Perhaps that’s the reason. And can you delete the entire contents of these directories with impunity?


#9

Yep, they’re in your project folder under .meteor/local/bundler-cache.


#10

Very: is is a linux distro, based on Ubuntu. I’ve been working on it, and so far experienced no OS-related problems. I highly recommend it :slight_smile: (I really had problems with the MacBook keyboard layout, especcially with the home, end and ctrl c/x keys etc. Of course on the chromebook they are not mapped also [but you can map them yourself] but on an external keyboard, they will function as normal.]) YMMV, of vouse :slight_smile:


#11

As @ffxsam mentioned, they’re stored within your app. Yes you can completely remove the bundler-cache directory without any issues. It will be re-created as needed by Meteor’s build tool. To quickly remove the directory and all cache files, you can run the following in your app (OSX/linux):

find . -type d -name 'bundler-cache' | xargs rm -r

The problem appears to be that when new files are added to the cache, and a version of that same file was previously cached, the previously cached file is not removed or overwritten. So every time you make a change to a source JS file, the Meteor build tool adds a new cache file to bundler-cache/linker, and doesn’t clean up any previous versions of the file (and doesn’t appear to have a global cleanup process in place either).

You can see this happening by:

  • Remove your apps bundler-cache directory
  • Start your Meteor app
  • Get a count of the files in the bundler-cache/linker directory (ls -l | wc -l)
  • Make a source change in one of your app files, to trigger a Meteor rebuild
  • Get a new count of the files in the bundler-cache/linker directory
  • Rinse and repeat

You’ll notice that the bundler-cache files keep going up as you make code changes.

If anyone wants to dig into this further (or better yet submit a PR! :slight_smile: ), you can see how the cache is built up and used in the compiler-plugin.js source:

Maybe one possible fix could be to modify how the cache key is created, so that when files are being cached that have a previous version in the bundler-cache, the same cache key is used, which means the previously cached file is overwritten with the newly cached file (cache key translates down into the name of the cached file on the file system). Of course, I’m purely speculating here … I haven’t dug into this very far.


#12

Thanks @ffxsam and @hwillson. I found one bundler-cache in excess of a Gb and, when every Gb counts, it’s helpful to know I can remove that.


#13

mine was like 30 gigs or something. INSANE!


#14

I’ve taken a closer look - adjusting how the cacheKey is generated does appear to fix this issue. I’ll move my findings over to the GH issue. Hopefully we can get a fix for this worked out shortly … before my MacBook Air SSD disintegrates …


#15

I’m a mbp user. The Dev and designer experience is excellent. I won’t be leaving mac. I’ll always buy highest spec


#16

Get the highest spec mac you can, they are well built - solid for travelling and easy to get fixed. Put the SSD in and max out the ram you will be laughing.


#17

A Mac is much better for Meteor dev than Windows in my opinion.


#18

Yep, just a little expensive for me at the moment.


#19

Question was: how smooth is GalliumOS / Linux for Meteor dev, not Windows.

I work on a Desktop which runs Ubuntu, and it works perfectly, really smooth. Since in production you probably run on linux as well, your dev-environment is very close to your production environment.

Sometimes I also work on an old laptop running Win7, and there I run LinuxLite ( a lightweight Ubuntu-clone) on Virtualbox, which works reasonably well, but is not as fast.

If I were to buy a new laptop, I’d skip windows and Mac, and go Ubuntu, with enough ram and SSD. More bang for the buck.


#20

I never actually ended up purchasing a computer in June of 2016. But now I’m looking again.

These seem to be the options. I could care less about the trackpad, drains battery and looks like it could break easily. Or has anyone used it and found it useful for coding somehow?

I need to travel with this, but all three versions have a 13 inch version I think, so I don’t absolutely have to get the macbook air.

What do people think? Macbook, Air, or Pro?