12/1/2023 0 Comments Tmuxinator not saving configSelect the little cog buttton on top right, add local, select existing environment button. Fastai should be already the project name. If you installed conda and fastai (id recommend doing so so that you can jump from the fastai code base into pytorch and dig around in there too): Then go to file->settings->project. On laptop now open pycharm then open the fastai direcory (file->open). To browse code only these 2 steps are optional: 1)Download minconda3 from conda.io and install it.Ģ)Go into the fastai folder on laptop and open the readme.md file and follow the instructions if you want to be able to run code locally (eg on cpu) I presume youve installed git, then cloned the fastai repo to your laptop (git clone ). Strangely enough I tortured my self with copy/pasting and typing long commands for years before!įor pycharm on your laptop you can use the free version just fine. Watching Jeremy’s videos really made me realize that I have to make everything as convenient as possible for myself. Unfortunately, one of the super-computers I am working with has two-factor authentication which doesn’t seem to work with win-sshfs, but that’s a minor issue.Ī minor but super important productivity boost for me is having a convenient alias for every ssh(fs) command and having ssh-keys set up everywhere. I currently use Putty to ssh with port tunnels and win-sshfs for remote mounting. I am still in the process of setting up things to work as they do on my Mac. Knowing enough Vim to navigate and edit a file has also turned out to be super helpful in many cases where I couldn’t mount my remote directories. I have to switch computing environments often (AWS, different super-computers, …) which is why I use screen instead of tmux which isn’t installed in many environments I use and I don’t have root permission to install it. For my research I also have to edit Fortran, Matlab, R files and Shell scripts regularly, for which I have started to use Visual Studio Code.Īfter hearing about the possibilities of jumping around in code in lesson 8 (I just always used plain search -.-), I will probably make a full switch to VSC, so that I only have to memorize one set of shortcuts. As a local editor for Python I have used P圜harm for a while now. I use ssh tunnels to access jupyter notebooks remotely and then mount the remote home directory with sshfs so that I can use a local editor on my MacBook. And many, many other examples could be mentioned. There was one professional snooker player (whose name I forgot) who played with a < 10$ cue. Maybe yes, maybe not, but probably not.Īlso, nearly universally, regardless of the field, the tools are secondary or ternary at best even for fields one would think are very technical, such as photography. If one is able to reliably access jupyter notebook with a GPU, that is nearly all that matters.ĭespite being a die hard fan of vim + tmux + i3, I am not sure I would have gone this route if I were to do it all again. Having said the above, if I were to come across this thread when I was just starting out with programming (which was very recently), I would be completely intimidated. But those things remain outside my budget for now. Though would probably have very little use for something with beefier specs up to the point where it would have a GPU. Can be achieved with other windows managers as well but I find i3 to fit my needs perfectly.Īnd that is the crappy laptop that I use. You (nearly) never have to use the mouse. Locally, I use i3 which is quite easy to learn and makes laptops - even with smaller screens - much more user friendly. I also use tmuxinator which is really neat for bringing a tmux session up. I use the same set up as Jeremy (vim + tmux). I tunnel port 8888 over ssh and use and port forwarding for accessing a box behind a NAT with ever changing public IP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |