How To Setup A MacBook Pro M1 For Software Development

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 229

  • @ArjanCodes
    @ArjanCodes  2 ปีที่แล้ว +132

    Here's a fun game: drink something every time I say "pretty useful". ;)

    • @SpaghettDev
      @SpaghettDev 2 ปีที่แล้ว +5

      I'll drink water

    • @PinikRahman
      @PinikRahman 2 ปีที่แล้ว +2

      @@SpaghettDev Pretty useful

    • @kristianpopi1559
      @kristianpopi1559 2 ปีที่แล้ว

      Are you Albanian cus of your name ?

    • @khaingmye7353
      @khaingmye7353 2 ปีที่แล้ว +1

      HIMYM

    • @macgamer1973
      @macgamer1973 2 ปีที่แล้ว

      I’m happy with my MacBook Pro 17”, Mac Pro 2010. I can develop and play Mac/pc games without problems. M1 products for sheeps in the world. Apple control what goes in your computer. You have no control

  • @kyoungseoun
    @kyoungseoun 2 ปีที่แล้ว

    6:18 My favorite quote of the year. Thanks for the great content!

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thank you - glad to hear you enjoy the content!

  • @AlexGb007
    @AlexGb007 2 ปีที่แล้ว +13

    Thank you for rectangle! Exactly what I need. If anyone is using more than one language I also recommend checking dash for macOS (not free though) .

  • @Buttaknife
    @Buttaknife 2 ปีที่แล้ว +3

    I bought my first Macbook Air last month, and I'm glad I watched this video. I updated a lot of my settings. I'm a Windows guy and I'm trying to get familiar with how Macs work. Thanks

    • @Buttaknife
      @Buttaknife 2 ปีที่แล้ว +1

      @Dzzzzz I might be a little biased because I've used Windows all my life. I like Windows because I know my way around it. I have zero problems with it. It runs every program I want from investment software to gaming. One of the reasons I stayed away from Mac is because I could not use a lot of the software I was used to using on Windows. Unfortunately, I find that true to this day when I tried installing trading software and had to jump through hoops just to run a water-downed version of it. One thing I do like about the Macbook is the battery life. It is impressive for what I'm using it for (school work mainly).

    • @pydamat
      @pydamat 2 ปีที่แล้ว

      This is me today, I’m struggling and almost hating my mac, it’s only been 2 hrs since I bought the macbook pro. But I’m patient, i remember how much I hated the iPhone the first time i switched from an android 7 years ago, I still decided to write on windows until today morning when I spilled coffee on my laptop. I decided this was the call for me to switch as I have been thinking about it for a while. I’m already worried and frustrated as I can’t run my node applications and I can’t even manage to install ngrok…once again deep breath’s and I’ll remain patient

  • @MrNuganteng
    @MrNuganteng ปีที่แล้ว +11

    that "annoying" siri at the start is actually a life safer for blind users. It allows blind users to set up their laptops on their own from the get go. I know it and appreciate it so much because I myself am a totally blind user.

    • @giridharpavan1592
      @giridharpavan1592 2 หลายเดือนก่อน

      what would a blind do with a laptop?

  • @RocketLR
    @RocketLR 2 ปีที่แล้ว +3

    I love how you feel the need to explain your purchase...
    I keep buying hardware I do NOT need.. because of... reasons...
    Literally looking for an excuse to start editing videos again but I do not have time to film and edit anymore. Working as a developer consultant while running two businesses. My film & edit time has been exchanged for going to gyms.. I need to workout to stay sane..

  • @debe5488
    @debe5488 2 ปีที่แล้ว +6

    13:15 From macOS Monterey 12.3 Release Notes - Python, Deprecations - Python 2.7 was removed from macOS in this update. Developers should use Python 3 or an alternative language instead.

  • @MrLotrus
    @MrLotrus 2 ปีที่แล้ว +6

    5:34 Thanks! I'm new in MacOS and these tips were super useful for me.

  • @drh237
    @drh237 2 ปีที่แล้ว +59

    Hi Arjan, a couple of video ideas:
    1. Functional programming vs OO in python. I see most of your videos use classes but getting your thoughts on the functional workflow (maybe with an example implementing a pattern or two) would be cool.
    2. attrs/cattrs vs Pydantic for data validation (in the context of a python/django REST api would be a bonus!). Performance testing, functionality, etc.
    Thanks

    • @fabiolean
      @fabiolean 2 ปีที่แล้ว +1

      Both of these ideas sound great to me! Both are issues I'm working on for my job right now, I'd love to get a more experienced dev's take on it.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +3

      Thanks for the suggestions, Michael!

    • @Lodinn
      @Lodinn 2 ปีที่แล้ว

      Good point! I'm using more and more of functional style as years go by personally. Feels like you would only want OO for state management, and you generally want as little of state management as possible :^) Especially when dealing with data pipelines.

    • @getpoked101
      @getpoked101 2 ปีที่แล้ว

      While not just performance the disassembler module is awesome

  • @nelsonmalbone
    @nelsonmalbone 2 ปีที่แล้ว +1

    Glad I found this I’m on the verge of buying a Mac so this was helpful.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +1

      Glad to hear it!

  • @MariusDuboule
    @MariusDuboule 2 ปีที่แล้ว +2

    Alfred is a deluxe replacement for spotlight and does clipboard history too (and tons more)

  • @antijulius
    @antijulius 2 ปีที่แล้ว +9

    As a recent Mac convert I loved this video. Thanks for going over all these settings.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thank you, happy you enjoyed it!

  • @PauloFassina
    @PauloFassina 2 ปีที่แล้ว +1

    Tiles is a free and open source window manager for Mac that does everything that Rectangle does.

  • @teeesen
    @teeesen 2 ปีที่แล้ว +3

    This was great as I just upgraded from my 2012 macbook, on which homebrew had stopped working. I’d like to put in a good word for Keyboard Maestro. It does what rectangle and flycut do, but also much much more. For programming I use it for inserting snippets of code.

  • @RishinderRana
    @RishinderRana 2 ปีที่แล้ว +1

    Really helpful! Have been a mac user for 3 years and still didn't know a lot of stuff you've shared.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Glad to hear it was helpful!

  • @AlexandruStan96
    @AlexandruStan96 2 ปีที่แล้ว

    Rectangle! God how much I have searched for this!!

  • @RobertoDeMontecarlo
    @RobertoDeMontecarlo 2 ปีที่แล้ว

    You are a splendid teacher... first video I watched, new subscriber here. Thanks!

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks so much Roberto, glad the content is helpful!

  • @MMphego
    @MMphego 2 ปีที่แล้ว

    I recently got a mac and came from ubuntu, this video was God send. Thank you

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks so much, glad the content is helpful!

  • @KeyserTheRedBeard
    @KeyserTheRedBeard 2 ปีที่แล้ว +2

    most excellent upload ArjanCodes. I crushed that thumbs up on your video. Continue to keep up the high quality work.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +1

      Thank you - will do!

    • @KeyserTheRedBeard
      @KeyserTheRedBeard 2 ปีที่แล้ว +1

      @@ArjanCodes no problem at all. always happy to support my fellow content creators. I am looking forward to improving on my own current video format I have uploaded and, in the future, trying to create content as good as yours in the long term.

  • @WojtekWilk
    @WojtekWilk 2 ปีที่แล้ว +1

    Thanks for showing rectangle. I don't know how I overlooked it when I was looking for magnet alternative.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks so much, glad you liked it and it was helpful!

  • @LeviewFPV
    @LeviewFPV 2 ปีที่แล้ว

    I love it when I go to subscribe because I like the video and want to see more from this, and I'm already subbed! :D

  • @vkatasonov
    @vkatasonov 7 หลายเดือนก่อน

    Hello, thx for a video. How do you figure out the problem with /usr/bin/ access? Do you have direct access to tools like leaks, for example?

  • @angelopetrelli1083
    @angelopetrelli1083 2 ปีที่แล้ว +1

    Very good & useful tipps. Cheers mate, hope to see more of your videos soon. Good luck & stay healthy 👍

  • @eustin
    @eustin 2 ปีที่แล้ว

    Thanks, Arjan! Rectangle is just what I wanted to keep my hands on my sweet, sweet keyboard.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks Evans, happy you’re enjoying the content!

  • @zb680
    @zb680 ปีที่แล้ว +1

    What do you do if you want to dev for a Docker container that would be running on an Intel Mac? Do you have a good solution for cross-architecture testing?

  • @2371996npistiolas
    @2371996npistiolas ปีที่แล้ว

    I think a software developer would know

  • @vaibhavshimpi5734
    @vaibhavshimpi5734 ปีที่แล้ว

    I was following your video to set up my macbook m1 pro, I have got both python versions installed by default, not sure why you haven't had the older python version.

  • @myownbasement
    @myownbasement 2 ปีที่แล้ว

    at 12:17 to be precise, I see Arjan what actual loves about rectangle app is tiling windows, and that my friend is readily available on Linux. On my favorite features of Linux.

    • @tralphstreet
      @tralphstreet 2 ปีที่แล้ว +1

      Linux has nothing readily available, maybe some specific distro has, but "Linux" doesn't really ship with anything. You still would need to install it yourself.

  • @SUGATORAY
    @SUGATORAY 2 ปีที่แล้ว +1

    Thank you for this pretty useful video. I did not know of “rectangle”. It’s exactly what I was looking for. Am not much of a mouse/touchpad person. :D

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +1

      Thanks so much Sugato, glad the content is helpful!

  • @stefanbogdanovic590
    @stefanbogdanovic590 2 ปีที่แล้ว

    You can setup ansible playbook to setup local dev environment.

  • @erik9817
    @erik9817 2 ปีที่แล้ว

    I just installed Rectangle, it works similarly to how they do it in Windows 11, which has that functionality.

  • @sami3592
    @sami3592 2 ปีที่แล้ว

    Thanks for the video. If I have a macbook one day, it will be very useful for me.

  • @stlouiecards1
    @stlouiecards1 ปีที่แล้ว

    This was super helpful!

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      Glad it was helpful!

  • @mattbsea
    @mattbsea 2 ปีที่แล้ว +3

    Bitwarden can handle your 2-factor codes as well! It's even better than using Authy since it will automatically place a 2-factor code in your clipboard after it auto-fills your username/password.

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +2

      Wow... how did I miss this? Thanks, I'm going to try that right away.

    • @dmsalomon
      @dmsalomon 2 ปีที่แล้ว +1

      Was gonna say the same! It's a total lifesaver

    • @bartman060890
      @bartman060890 2 ปีที่แล้ว +4

      Very cool indeed! However, do note that 2FA becomes less secure if the second factor code is stored in the same place as your first factor code (e.g. both your password and 2FA code in Bitwarden). I keep them separated for that reason. Still, I think that your suggestion is very user friendly and is still a lot safer than 1FA!

  • @brettbyrnes577
    @brettbyrnes577 2 ปีที่แล้ว

    You got the best videos man - thanks!

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thank you, glad you like them!

  • @rishudev6826
    @rishudev6826 2 ปีที่แล้ว

    Lovely keyboard tips, slow repeat for deleting was tedious

  • @fuadpalchayev7269
    @fuadpalchayev7269 2 ปีที่แล้ว

    Thank you, I really like your channel.👍👍👍

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +1

      Thanks Fuad, happy you’re enjoying the content!

  • @throwaway-lo4zw
    @throwaway-lo4zw ปีที่แล้ว

    thanks, learned a lot from this vid !

  • @temik26
    @temik26 2 ปีที่แล้ว

    Congrats! Thanks for your videos, really helpful.

  • @HelloAnthony
    @HelloAnthony ปีที่แล้ว

    I'm setting up an M2 mac, having come from a MBP with a Touch Bar. Is there anyway to have the keyboard always assume use of the function keys when in VSCode?

  • @lamvo3555
    @lamvo3555 2 ปีที่แล้ว +1

    do you see VSCode draining your battery really quickly? if so, any fix?

  • @kristofszabo666
    @kristofszabo666 2 ปีที่แล้ว

    This video was very useful! Thank you sir!

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks Kristóf - glad to hear it was useful!

  • @RedspartHD
    @RedspartHD 2 ปีที่แล้ว +4

    Helpful note that bit me:
    When installing software from brew, ensure you use the regular terminal. If you use something like kitty/iterm that is installed with rosetta it'll install software with x86. Bit my in my ass when setting updating neovim.
    Also you should use ansible!

    • @patatoa
      @patatoa 2 ปีที่แล้ว +1

      🤯 Thank you! I couldn’t understand why neovim and any dependency downloaded through it were x86. Can’t wait to get back and untangle all this now.

    • @0xDEAD_Inside
      @0xDEAD_Inside 2 ปีที่แล้ว +1

      Damn! Now I gotta go back and check all my tools.

  • @soulvibration-groningen
    @soulvibration-groningen 2 ปีที่แล้ว

    Your config look a lot like mine! Didn't know I can change the Globe key. A lot of times I need to press the CTRL and accidentally press the Globe key. Now there are both CTRL. Thank!

  • @Mixesha001
    @Mixesha001 2 ปีที่แล้ว +3

    Using M1 for work and Linux also.
    The speed of the M1 is very great but lots of tooling not working properly even using ZsH with Rosetta

    • @Takenzo75
      @Takenzo75 2 ปีที่แล้ว

      Same here. I started using conda (miniforge specifically) which solves a lot of the Python packages that have dependencies.

  • @MitchellBumgarner
    @MitchellBumgarner 2 ปีที่แล้ว

    I absolutely LOST it and just couldn't stop laughing at 4:15! HAHAHAHAHA!

  • @cryptosimon9529
    @cryptosimon9529 2 ปีที่แล้ว

    I want more weekly content Arjan!

  • @xdeama
    @xdeama 2 ปีที่แล้ว

    pretty useful video, thanks!

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks so much Denis, glad it was helpful!

  • @klc3rd
    @klc3rd 2 ปีที่แล้ว +1

    In vim I find using ctrl-[ to be easier than using escape

  • @tiagovla
    @tiagovla 2 ปีที่แล้ว

    Have you tried "asdf" instead of pyenv? It's pretty much a pyenv for every language.

  • @yonikremer4135
    @yonikremer4135 2 ปีที่แล้ว

    Your best video! I didn't know that!
    Now I use It for my leetcode solutions and ends up us one of the best solutions

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thanks, glad you liked the video!

  • @Nieosoba
    @Nieosoba ปีที่แล้ว

    I have it as well, its expensive, its good. Is it worth the price? no I just got it from my work, I would never bought it on my own. I also have older macbook pro with intel and it isn't much worse for python developer.
    I like to use FIG for terminal configuration across multiple laptops and to keep things in one place. It sometimes crashes (not often) but its also very fast and easy to reset. I recommend it

  • @hoangphamviet1241
    @hoangphamviet1241 2 ปีที่แล้ว

    great start!

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Thank you Hoang, glad you liked the video!

  • @franciscoguerreroaraya5921
    @franciscoguerreroaraya5921 ปีที่แล้ว

    Hi Arjan, I am starting out in software development and I would like to switch from Windows to Mac, which Macbook do you think is recommended for an entry-level profile?

  • @PracticalPillow
    @PracticalPillow 2 ปีที่แล้ว

    Thanks for the video!
    Could you make same for IPad and Samsung galaxy tab? This would be very interesting and useful for me

  • @arclight7401
    @arclight7401 2 ปีที่แล้ว

    13:20 python3 doesn't get installed by default, if I remember correctly it got installed via brew

  • @lflcrc
    @lflcrc 2 ปีที่แล้ว

    Not sure if you have covered before mkdocs and mkdocs-mermaid for generating independent documentation from markdown.

  • @sacrac1
    @sacrac1 2 ปีที่แล้ว

    Hello One question how to manages your environment python in VSCode for multiple projects? i now use docker but sometime you need try multiples projects I create 1 projects 1 env but always fight with VSCode to take the correct env for this projects and autocomplete the packages i install for particular environments, you use particular packages??? thank for share knowledge!!!

  • @darincampbell171
    @darincampbell171 11 หลายเดือนก่อน

    I have a M1 MacBook Pro 13.3”. I love it, but I haven’t scratched the scratch of the surface of my Mac at all. I am still trying to learn. I love to view your videos, and such, trying to find useful ways to use them. I would love to learn how to edit video. I have no idea where to start with that. I bought this device, and I just stream movies or stay on TH-cam. One day, I will be a good to great computer user. One day! Peace.

    • @ArjanCodes
      @ArjanCodes  11 หลายเดือนก่อน

      Thank you for the kind words, Darin! Good luck on your computer journey!

    • @darincampbell171
      @darincampbell171 11 หลายเดือนก่อน

      @@ArjanCodes - Yeah, it’s a journey all right! Peace.

  • @andreas3682
    @andreas3682 2 ปีที่แล้ว +4

    Great video! Any reason why you chose vscode universal over the silicon build?

    • @HelloAnthony
      @HelloAnthony ปีที่แล้ว

      Old comment, but I was setting up my M2 Mac today and wondered the same thing. Anyone know?

  • @АрсланГаджиев-ж5ж
    @АрсланГаджиев-ж5ж 2 ปีที่แล้ว

    hello, could you recommend for a software engineer to buy a macbook air 13 m1 16/256 just for work?? And how does it work with a screen diagonal of 13.3 ???

  • @do_lee_di
    @do_lee_di 2 ปีที่แล้ว

    Love this! But, I'm having trouble getting pynev to install newer python versions for me. I see python-build: use readline from homebrew and python-build: use zlib from xcode sdk, then it stops before it installs. Any idea how to fix this? Also, when I added the code to the zprofile and zshrc files, it messed things up. I had to delete it. 🧐

  • @alwaaffa
    @alwaaffa 2 ปีที่แล้ว +1

    if I run (pyenv install 3.10.5) I have this problem (WARNING: The Python lzma extension was not compiled. Missing the lzma lib?)

    • @gabrielcher
      @gabrielcher 2 ปีที่แล้ว +1

      Same for me.
      Trying to figure it out.

  • @tranthanhbao9978
    @tranthanhbao9978 2 ปีที่แล้ว

    Great content . I am using m1 with python vscode too . Looking for next video on advanced settings for vscode.

  • @bwill325
    @bwill325 2 ปีที่แล้ว

    Gremlins is a great plugin for vscode. Finds all the weird characters.

  • @AsifSalahuddinGhazi
    @AsifSalahuddinGhazi ปีที่แล้ว

    Had issue with installing python
    ModuleNotFoundError: No module named '_lzma'
    And for that I had to install zx.
    Then the pyenv global also didn't work.
    Then pip also isn't found.

  • @virtualraider
    @virtualraider 2 ปีที่แล้ว +2

    I think I might have been who suggested you to try Error Lens (I'm going to claim it anyway 😅). I still love it, but if you find it a bit noisy there are tones of settings to configure it.
    You could take a look at turning off info hints, or increase delay before shown so they don't appear as you type.
    I like it especially for annoying things like typos and mypy warnings 🙂

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว +1

      It's possible you were the inspiration for this :). I haven't given up on it yet (which is why it's still in the extension list). I'll play around with the settings and see if I can get it to behave more to my liking.

  • @nolanpereira6643
    @nolanpereira6643 2 ปีที่แล้ว

    Can you release a video on how to set up a devnet lab on the m1? ie. GNS, Fusion tech review and EVE-NG.... Please? :(

  • @prof-caio-jannuzzi
    @prof-caio-jannuzzi 2 ปีที่แล้ว

    can u send gist of your settings in vscode?

  • @GianniCostanzi
    @GianniCostanzi ปีที่แล้ว

    Great video! I’ve always use macports instead of home brew, do you think homebrew is better? I’ve seen that macports needs to build a lot of the packages I install and doesn’t find them ready to use on Apple Silicon

  • @emiyox8885
    @emiyox8885 2 ปีที่แล้ว +1

    I'm surprised the video wasn't 20 minutes on how to install cryptography through pip given it's M1 😂
    Good video Arjan.

    • @mishikookropiridze
      @mishikookropiridze 2 ปีที่แล้ว

      FUCK. it made me go crazy

    • @FernandoCordeiroDr
      @FernandoCordeiroDr 2 ปีที่แล้ว

      Or numpy!

    • @mishikookropiridze
      @mishikookropiridze 2 ปีที่แล้ว

      @@FernandoCordeiroDr I used miniconda

    • @FernandoCordeiroDr
      @FernandoCordeiroDr 2 ปีที่แล้ว +1

      @@mishikookropiridze
      Python: "There should be one- and preferably only one -obvious way to do it."
      Also Python: You can install packages with pip, or conda, or pipenv, or poetry or pipx, or...

    • @mishikookropiridze
      @mishikookropiridze 2 ปีที่แล้ว

      @@FernandoCordeiroDr True. python lacks good built-in package manager. but dunno how they can regulate this. I just like conda.
      Something like rust's cargo's will be fantastic to see.

  • @john.s3090
    @john.s3090 ปีที่แล้ว

    When I try to install the “oh -my -zsh “ it’s giving me 3 options seems like there is one already installed which I find weird since it’s a new laptop. Option 3 says : ( caution) if folder doesn’t contain important information you can override it by ‘rm -r /users/my name/. Oh -my -zsh’ .
    How can I override it if I’m the owner of the Mac and it’s dying my
    Permission?

  • @ruibranco95
    @ruibranco95 2 ปีที่แล้ว

    On windows settings are linked with the user account. Apple does not do the same?

  • @vibemystiq
    @vibemystiq 2 ปีที่แล้ว

    I did not se the need for the rosetta install afterall ... 👍

  • @riturajsingh2857
    @riturajsingh2857 2 ปีที่แล้ว

    Hi Sir @ArjanCodes
    I am new to the Apple environment.
    I am trying to get into the iOS app development field.
    According to you, 16 Gb ram is enough?
    (for next 2-3 yrs)
    Or should I go with 32 Gb?
    (my requirements will be purely development, too many chrome tabs, and a little bit graphics-related work (no video editing).
    I have heard some you-tubers saying m1 pro max somehow affects battery life too.
    Should I wait for m2 pro variants ?
    Do reply ✨
    Thanks in advance.

  • @dalicodes
    @dalicodes 2 ปีที่แล้ว

    Can you show how you install tensorflow on it or in a python environment.

  • @Kaysan69103
    @Kaysan69103 2 ปีที่แล้ว

    thank you sir👍👍👍👍👍👍

  • @thomasferreiradelima2324
    @thomasferreiradelima2324 2 ปีที่แล้ว

    Hi Arjan, I really like your sweater. Would you mind sharing where you got it?

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      I think Zalando!

  • @glitchinthematrix9306
    @glitchinthematrix9306 2 ปีที่แล้ว

    Should I get the 16 inch version over 14 inch for coding? Mooie video!

  • @hanneskaros6714
    @hanneskaros6714 2 ปีที่แล้ว

    Ordered one as well the m1 max with 24 gpu cores in particular. Need the performance as i m a media technology student. My bank account hates me i guess

  • @amarjithkarippath3839
    @amarjithkarippath3839 2 ปีที่แล้ว

    which vs code theme do you use? loving it

  • @philippgothert7286
    @philippgothert7286 2 ปีที่แล้ว

    Is there a way to install Valgrind on a M1-System?

  • @wrends
    @wrends ปีที่แล้ว

    ok tnx, i will stick to my thinkpad + linux dev setup....mac os seems very strange to me

  • @TheStickofWar
    @TheStickofWar 2 ปีที่แล้ว +1

    Hey Arjan, I just got an M1 machine myself and found that VSCode heats the machine up and drains the battery even long after quitting the process (CMD+Q).
    Seems to be an issue I find online in some others, did you experience this yourself and if so, anything you did about it?

    • @ArjanCodes
      @ArjanCodes  2 ปีที่แล้ว

      Hi Joseph, I haven't noticed that problem myself. It looks like there is still a process running after you quit VSCode. This sometimes happens if for example you run code from VSCode which starts an interpreter process but doesn't stop that process after quitting VSCode. If you open Activity Monitor, you can see what processes are currently running and how much CPU and memory they're using, and then you can kill the process that is the problem.

  • @RetroGuy1981
    @RetroGuy1981 ปีที่แล้ว

    Why your m1 unboxing coveredcby plastic others have this seal at the bottom

  • @ritwikgopi
    @ritwikgopi 2 ปีที่แล้ว +2

    I switched from m1 mac to another laptop with linux. A lot of docker containers doesn't work properly on m1. And some tools as well.

    • @romanleca4969
      @romanleca4969 2 ปีที่แล้ว

      I overcame that by installing gnu stuff and bash5

    • @ritwikgopi
      @ritwikgopi 2 ปีที่แล้ว

      @@romanleca4969 so how exactly did gnu and bash help

    • @ritwikgopi
      @ritwikgopi 2 ปีที่แล้ว

      @@romanleca4969 so how exactly did gnu and bash help

    • @romanleca4969
      @romanleca4969 2 ปีที่แล้ว

      fairly easy, but first - about the problem. M1 comes with an old bash version and has zsh by default (some like it, some don't). Docker scripts are usually written in bash and some of them explicitly for gnu.
      So, to solve a list of issues (maybe not all, but this was enough for me):
      - you need to use brew to install a couple of things and some of those required additional changes in .profile or .bash_profile files
      - Install bash5 and set it as default - the second part is a bit tricky, best to look for instructions online
      - Using brew install gnu-sed, coreutils, findutils, and jq - the first three will print out some extra instructions on what needs to be modified.

    • @ritwikgopi
      @ritwikgopi 2 ปีที่แล้ว

      @@romanleca4969 if you don't mind could you try running a mysql container and let me know what happens? It would be really helpful

  • @fee-f1-foe-fum
    @fee-f1-foe-fum 2 ปีที่แล้ว

    We need a macOS Ventura update!

  • @kirk1240
    @kirk1240 2 ปีที่แล้ว +1

    I would recommend not even installing pyenv - instead use devcontainers for each project, that way you have as code the environment and dependencies for every project in the same repo as the code.

    • @ricjuanflores
      @ricjuanflores 2 ปีที่แล้ว +1

      What is devcontainers in simple words? is it similar to docker?

  • @BBL_NL
    @BBL_NL 2 ปีที่แล้ว +1

    new folder is cmd+shift+n. No need for a mouse click and extra icon

  • @flipperiflop
    @flipperiflop 2 ปีที่แล้ว

    Only thing I would change is asdf over pyenv - also, rectangle is so damn useful, so glad it exists

  • @snawpyy
    @snawpyy ปีที่แล้ว

    Been a windows fanboy all my life, but decided to switch to the macbook air m2 for my next laptop. This video was very helpful!

  • @okoeroo
    @okoeroo 2 ปีที่แล้ว

    Thanks, nice ideas

  • @sayednab
    @sayednab ปีที่แล้ว

    is 16Gb ram enough for coding, and heavy multitasking?

  • @himanshutewari8503
    @himanshutewari8503 2 ปีที่แล้ว

    Hi after installing ohmyzsh i am not able to find brew

  • @alexfinkelshtein8066
    @alexfinkelshtein8066 ปีที่แล้ว

    A terrible thing had happened to me, Rectangle app stopped working :( any alternatives? I need a savior

  • @leenonqui
    @leenonqui 2 ปีที่แล้ว

    Hi, after pyenv global 3.10.1 when I check python --version is not 3.10.1 but 2.something, what should I do?

  • @sval4020
    @sval4020 2 ปีที่แล้ว

    Hi Arjan, thanks for the video and again great insights for setup! Would you recommend any kind of a monitor that goes well with the MacBook Pro?

    • @ODH3
      @ODH3 2 ปีที่แล้ว +1

      I have several much more expensive monitors, but I've been blown away by the power-for-performance of the LG 27BL55U-B - 27" UHD IPS -- although the stand may be limiting for some, you can always put it on a vesa arm and the screen quality is fantastic.

  • @GOD9494
    @GOD9494 2 ปีที่แล้ว

    Arjan does'nt give 2 shits about the wrapper ASMR :D

  • @KangoV
    @KangoV 2 ปีที่แล้ว

    I set up duplication development environments on a MacBook and Linux machine. Both same SSD (1TB) and 32GB memory. This is Java development, with Kubernetes, Java, IntelliJ (multiple windows), Slack, Outlook, Lots of browser tabs, Docker, VPN, etc. Afetr using each all day, the Mac is sat at 31.GB memory usage with 7GB swap. The Linux machine is at 23GB with no swap. This is repeatable. The Mac becomes so unresponsive that it gets to the point I have log out or reboot as closing the apps only results in memory going back to around 19GB with nothing running :( But, I'm stuck with the thing as that's what my company forces on us. Maybe for light software development is may be OK, but I've got a lot running in Kubernetes (Kafka, Postgres, Prometheus, Graphana, Elastic Search, Cassandra, Spark, etc). Why does Linux handle this better?

  • @alexjenkins8026
    @alexjenkins8026 2 ปีที่แล้ว +1

    now try install pytorch, keras and tensorflow :/ i cannot get them installed (along with several others) without using rosetta on the M1 :'(

    • @procrastidan5545
      @procrastidan5545 2 ปีที่แล้ว

      there was some talk about about having to use regular apple term instead of anything else to install some stuff without rosettaup above. does this help with anything you are talking about?