🔥 Support the channel by becoming a member: kzbin.infojoin ✅ Subscribe: bit.ly/CognitiveSurge
@earltan7395 жыл бұрын
Hey man, discovered you through that react tutorial on freecodecamp, noticed you have actually worked with HFT. Could you elaborate on that or make a video about it? I'm very much interested in with quantitative finance and software development
@CognitiveSurge5 жыл бұрын
@@earltan739 Hey dude, for sure, I mainly did Java with HTF, I can't even think where you found that haha. I was working on time to exchange so figuring out how we could get our trades to the exchange the quickest. Very exciting and no room for error, so much to talk about I don't even know where to begin! Do you have any questions specifically and then I can respond with a video maybe?
@earltan7395 жыл бұрын
@@CognitiveSurge You actually mentioned it in this video. =) Surprised you used Java and not a C or C++. Aren't lower-level languages prefered when dealing with HFT? Anyway, great content I've subscribed already. I am puzzled as to why you haven't blown up yet, I like this and your javascript es 6 videos. I'm just getting into js since python is my main language. Maybe you should post more basic videos like an explanation on hooks API and state management with React? Still getting confused at that workflow since I'm more familiar with the redux setup.
@CognitiveSurge5 жыл бұрын
@@earltan739 Haha, totally forgot I mentioned it! Both work well, depends on the use-case I guess, we had a lot of C/C++ and even our own programming language, all used in different scenarios. If I was to suggest what language to learn for HFT I'd go with C, solid foundations and then it's easy to understand C++. Once you know C you know the foundations of all the languages :) I guess the KZbin algorithm just doesn't like 7 hour videos haha, but I'll keep at it! Yeah I think I'll do a React for beginners for sure, that's a great idea! I guess I take the simple concepts for granted now that I know them, but I remember struggling on them too so I'll make sure I go over them as best I can! Thanks dude, really enjoy reading comments like this, makes creating the videos worth it that much more :) Have a great day!
@andresosorio0014 жыл бұрын
Hi Karl, during this process I am running into "[oh-my-zsh] Insecure Completion-dependent directories detected: drwxrwxr-x 3 karl admin 96 Apr 22 00:16 /usr/local/share/zsh drwxrwxr-x 4 karl admin 128 Apr 22 00:20 /usr/local/share/zsh/site-functions" of course I'm subbing in your name... Can you help me figure out where this is wrong... I installed homebrew after installing oh-my-zsh.. if that makes a difference...
@ulfgj4 жыл бұрын
nice. this made me switch to zsh in just one day AND being comfortable with it. thanks!
@gilsoncav4 жыл бұрын
Congratulations on the act of giving this freely! If it was a paid content, I would recommend that you edited it to shorten the steps and would include keystrokes visual clues in the video. It was a very useful content for me ! thanks again!
@CognitiveSurge4 жыл бұрын
Gilson Cavalcanti I’ve been looking at keystrokes, I think I’ll add them in my next video, thanks for the kind comments Gilson :)
@d8nnii_4 жыл бұрын
Is a great tutorial! To those who have just upgraded to Catalina should check out this tutorial on using ZSH. Of course you can show/hide hidden files with commands in bash or zsh but keyboard shortcuts are way faster. Simply command+shift+period. Also, terminals are boring without colors, but with oh-my-zsh my terminal comes to life! The auto complete plugin is a real time saver too.Thanks for this tutorial @karlhadwen
@CognitiveSurge4 жыл бұрын
Thanks for the kind words Danny! I totally agree, Terminals are boring without colours and even just the default iTerm/Zsh integration looks so much better! The auto complete is what I use most, and of course aliases.
@d8nnii_4 жыл бұрын
Yep, these are especially useful when in use together with IDEs such as VS Code, etc. where terminals are integrated and navigating to cwd and running scripts to test or even git commands without even leaving the IDE. But @karlhadwen I find that this tutorial might be a little more advanced for the esteemed would-be developers. A humble suggestion is a thorough walkthrough for “dummies” in a video series, start at the beginning just for noobs. Ya know, we’ve been there and our struggles. Cheers!
@jedbmorris4 жыл бұрын
Fantastic walkthrough Karl! I got through the whole thing and my ability to navigate and use zsh has increased 1000%. Keep up the great work!
@CognitiveSurge4 жыл бұрын
Jed Morris that’s amazing! Feel free to share any tips with me that you learn 😁
@max3922 жыл бұрын
Thank you for sharing, hope your channel grows a lot because it's got very entertaining and quality content.
@CognitiveSurge2 жыл бұрын
I appreciate that!
@OtRatsaphong2 жыл бұрын
Thanks for sharing this video series on Zsh. Very useful and well pitched: not too fast or too slow for a beginner.
@CognitiveSurge2 жыл бұрын
Great to hear!
@collinsadhola82783 жыл бұрын
Awesome content. I was stck for days but rebuilding the configurtion file is what worked for me. Thanks.
@CognitiveSurge3 жыл бұрын
Glad it helped
@rajivtitus8165 Жыл бұрын
Great tutorial! I recently switched from bash to zsh, I can’t wait to try out these commands 🎉
@hasanalbanna99173 жыл бұрын
Thank you for uploading the video Karl. ZSH is a very powerful tool to use and the git section of the tutorial has helped me a lot.
@CognitiveSurge3 жыл бұрын
Glad it helped!
@GlennPearson3 жыл бұрын
Wow! Karl, Thanks for this! I found this today and I will be implementing these this week. The aliases will be a game changer for sure!
@CognitiveSurge3 жыл бұрын
Definitely! Be careful though... I've forgotten a lot of generic commands just because everything is a shortcut haha
@Atman893 жыл бұрын
Really good video. Learning the terminal with ZSH for the first time. This helped a lot. Thanks!
@CognitiveSurge3 жыл бұрын
Awesome!
@modaryaghi4 жыл бұрын
Thank you very much. I, let ms say, studied your video step by step, and I gained a lot.
@CognitiveSurge4 жыл бұрын
Thanks so much!
@jamesburnett35944 жыл бұрын
I had trouble following the beginning of this tutorial. I installed oh my zsh on terminal using the exact same command you used prior to viewing this video. When I started following along, I first downloaded iTerm. So far so good. But then when it came time to view the zsrch file, there were a few problems that basically prevented me from going through the rest of this tutorial. 1. The file wasn't in the same place as shown in this video. I had to search for it and it was in Macintosh HD > private > etc > zshrc. Private was also hidden. 2. There was no oh my zsh folder anywhere to be found on my computer. 3. When I ran the vi ~/.zshrc command, instead of seeing a vim window, I just got a window with the command as the header containing a bunch of commented information and commands with # on each line. One of the commands was the supposed path to my oh my zsh installation for export. 4. I confirmed that I didn't have an oh my zsh folder because when I ran this command, nothing happened. For anyone that tries to help, I just recently installed Catalina. Otherwise, I don't really get where I went wrong. I'm new to Mac OS so forgive me if this seems really basic.
@CognitiveSurge4 жыл бұрын
James Burnett thanks for all that information James. I recorded this prior to the OS upgrade and I think considering they have now put zsh as the default shell, that Apple made a decision as to where that should be. This was recorded prior to that with just standard zsh/oh my zsh. Apple like to do things their own way it seems 🤦♂️
@jamesburnett35944 жыл бұрын
@@CognitiveSurge That was the reason I looked up your tutorial - I figured it would be worthwhile to learn the default shell. Unfortunately none of the other tutorials on KZbin at the moment seem to be nearly as high quality as this, but that's okay.
@markporcaro2208 Жыл бұрын
@@jamesburnett3594 Have you resolved this issue? If so, what was the fix. I have the same problem
@jamesburnett3594 Жыл бұрын
@@markporcaro2208 Nope shortly after this I tossed my Macbook out of the proverbial window.
@rdius48223 жыл бұрын
Thank you so much, Karl! So generous of you to make this tutorial! Thanks! :D
@CognitiveSurge3 жыл бұрын
:D glad I could help!
@simonoreilly2k92 жыл бұрын
Helpful stuff. Thanks bro 🙏🏻
@CognitiveSurge2 жыл бұрын
Happy to help!
@adamds1235 жыл бұрын
I love Zsh, thanks for uploading this
@CognitiveSurge5 жыл бұрын
Thanks man!
@djladzer4 жыл бұрын
hey karl, very cool tutorial, my question is, if i install zsh on my ubuntu, have i to configure again all paths of my packages like node and python3... or zsh will do it automatically ?
@CognitiveSurge4 жыл бұрын
I'm not actually that sure as I haven't used Ubuntu in years, so the only way to find out is to give it a shot
@andyliu67233 жыл бұрын
Super great tutorial! I wish I had come across this video sooner.
@CognitiveSurge3 жыл бұрын
Glad it was helpful!
@lolajl4 жыл бұрын
Thank you for your generosity!
@CognitiveSurge4 жыл бұрын
Thank you for watching (apologies for the late reply, I forgot to hit send, haha!)
@samouemouel4 жыл бұрын
I really like the first 2/3 of the video , very useful demonstration of what you can do with ZSH, but the last third isn't something specific to Zsh, bash also has aliases, it should be in a separate video dedicated to your personal favourite aliases.
@tatyanashk1343 жыл бұрын
hey Karl thanks fo this guide, just a quick question. as I already have zsh on my Mac as a default, do I have to get iterm2 and bash in there as well? (plugins and packages?) im a newbie 😄
@CognitiveSurge3 жыл бұрын
Stick to Zsh :)
@jaspervaldivia60985 жыл бұрын
Thank you mate I really enjoyed the whole video, since updating to Catalina I've been having problems wrapping my head around zsh
@CognitiveSurge5 жыл бұрын
No problem Jose, glad I could help 😃
@carlevison63034 жыл бұрын
Tip: Press Shift ZZ to save and exit vim
@carlevison63034 жыл бұрын
You can also do Shift ZQ to quit vim without saving
@CognitiveSurge4 жыл бұрын
You two are the saviours of people stuck in Vim 😂
@CognitiveSurge4 жыл бұрын
Unfortunately they won’t see these comments as they’re still stuck...
@hamjakdebbarma6924 жыл бұрын
:x save and exit
@efficiencylovers11 ай бұрын
@Karl Hadwen Hi. Could you please create a video where you explain how to be able to see the zsh in Visual Studio Code running on Windows? Thanks.
@paulc83084 жыл бұрын
Hi Karl. This is a great tutorial, I've struggled to get my head around zsh for a while now. You do a great job of explaining how to get set up properly. The git aliases are also very useful.
@CognitiveSurge4 жыл бұрын
Paul C thanks Paul, aliases and functions really help with my day to day workflow! I’m glad I could help and that you learnt something from my video
@davidchristie18954 жыл бұрын
Hi Karl, I downloaded node.js on my Mac. My understanding is that npm is automatic when you download node.js. I tried to initiate npm init and got the following message on my Mac: zsh: command not found: npm. Can you please help me with this? What do I need to do in order to get npm init to work on my Mac. I am not to savy with my Mac command line. I am totally new to this. I would gladly appreciate your help.
@mconio5 жыл бұрын
Cmd-Shift-. To show hidden files in Finder
@AO-uj7sx3 жыл бұрын
14:02 - "Badges? We don't need no stinkin' badges!"
@CognitiveSurge3 жыл бұрын
Hahaha
@eliudmuniz61454 жыл бұрын
I am a linux user, do you think you can specify in your title that your video is only for Mac users, thanks.
@CognitiveSurge4 жыл бұрын
Does zsh not work on Linux? Hmm, I thought it would have...but yep will change, thanks for letting me know!
@GokuSan3894 жыл бұрын
@eliud muniz, this works for linux as well. You just skip the part about iTerm, and everything else should work. Just install z shell from your package manager or from github, change your shell with chsh /bin/zsh (use sudo if needed). OR after you install zsh, open terminal and type zsh and press enter, configure it or install Oh-my-zsh than configure it and than change it with chsh for permanent usage.
@ChristopherScanlan883 жыл бұрын
Skippy to 15:30 if you are not in a Mac.
@tbdrosa85424 жыл бұрын
this video has been overall very helpful. As I was following your steps carefully, I attempted to install oh-my-zsh through the curl method however after pasting this in my terminal I get an error that reads: “ fatal: could not create leading directories of '/Users/karl/.oh-my-zsh': Permission denied Error: git clone of oh-my-zsh repo failed “ If you have any advice or input on best how to proceed! thank you in advance
@CognitiveSurge4 жыл бұрын
/Users/karl/.oh-my-zsh - you're attempting to use my username for your setup, replace it with your own
@SirusStarTV4 жыл бұрын
@@CognitiveSurge maybe he's Karl 😛 (jk)
@tabascocity64 жыл бұрын
Hi ! This is a great course I want to apply, but unfortunately I did started by adding git, my .zshrc file on vi is already full of comments and I don't know if I have to export the PATH... Everything about the env variables always makes me ruin all my installation ! For instance I lost Symfony when I tried to install node... And now as Catalina ask for zsh, I 'm here ! But a big thanks for the beginning of your video you help me set Zsh instead of bash !
@CognitiveSurge4 жыл бұрын
Thanks dude! Always take a copy of the initial config and you can always revert. I've messed up my config so many times and just reverted back xD - for exporting the PATHs, I tend to do that at the top of my config file
@yagoa3 жыл бұрын
In Finder press CMD+SHIFT+. to show/hide hidden files
@CognitiveSurge3 жыл бұрын
ty!
@nishantsingh60033 жыл бұрын
I am not able to use functions in .zshrc file using wsl and windiws terminal with ubuntu 18.04, my syntax are correct but still not able to do stuffs through my function i wrote function for cpp execution in by doing Nano ~/.zshrc Going to alias comment below it I define dbrun() { g++ $1 && ./a.out } Error is Zsh: command not found dbrun
@nishantsingh60033 жыл бұрын
Help poz
@CognitiveSurge3 жыл бұрын
sorry, I don't know if this can be used on Windows :(
@notsaeed Жыл бұрын
What is the name of the font on your terminal?
@djuhl0025 ай бұрын
Doesn't ls -a (path) show hidden files?
@zayidu4 жыл бұрын
Thanks Karl
@CognitiveSurge4 жыл бұрын
Np Zayidu!
@adityashukzy3 жыл бұрын
As a sidenote, are you from Bradford in the UK? I ask because your accent resembles that of Zayn Malik quite a bit, and that's where he's from! Great video too!
@CognitiveSurge3 жыл бұрын
Indeed I am!
@adityashukzy3 жыл бұрын
@@CognitiveSurge that's really cool! I believe a lot of South Asian immigrants moved to that town cos it's a bit low-key as compared to maybe Manchester or London (and cheaper too). Anyways, once again great video! P.S.: I can't imagine that it's a huge town so did you or anyone you know know the Malik family? I'd imagine Zayn is probably around your age too, is he a big thing there? I apologise if I misspoke somewhere, I'm from New Delhi so my understanding of these things is from a distance 😅
@ramiadel55894 жыл бұрын
[0h-my-zsh] plugin 'dontev' not found [0h-my-zsh] plugin 'zsh-autosuggestions' not found every single time I open the iTerm Also npm command is not found
@Zack_MD4 жыл бұрын
check their Install.md because they are not part of the standard plugins, you should clone them into the custom plugins folder "at least this is the case for autosuggestions"
@CognitiveSurge4 жыл бұрын
Make sure you have them in your plugins folder, autosuggestions is custom plugins if I remember correctly
@lolablue66944 жыл бұрын
Can we delete our bash files after getting set up with ZSH? :o
@CognitiveSurge4 жыл бұрын
Erm...I'm not 100% sure, I kept mine, but make a backup and delete the originals and see if all still works
@maurolimaok Жыл бұрын
Nice!
@cptbrncls70503 жыл бұрын
I followed the instructions to get z working but it won't. Typing z results in exactly nothing
@CognitiveSurge3 жыл бұрын
What is the feedback from the Terminal?
@cptbrncls70503 жыл бұрын
@@CognitiveSurge working now. Not sure what was happening
@jordyvillazanaastucuri67783 жыл бұрын
Thanks! Excelente tutorial.
@CognitiveSurge3 жыл бұрын
Thanks!
@vs43334 жыл бұрын
Amazing tutorial, I get weird colors and highlights on the text after installing a theme. For example, when I do "ls -ltr", it gives me the list in white text highlighted in yellow which makes it hard to see. How can I change it? I am using wsl on Windows. Thanks in advance!
@CognitiveSurge4 жыл бұрын
Sorry, I'm not too sure. I haven't used Windows in years :(
@diegonayalazo2 жыл бұрын
Thanks
@CognitiveSurge2 жыл бұрын
You're welcome
@lwa.dev744 жыл бұрын
Hi mate...just discovered your channel and didn't know you had a course on udemy...thank you so much for this course....will you be doing anymore courses on udemy..? Will definitely keep a look out for any material you have in the future...I'm self teaching myself the skills too become a developer...ex iOS technician making a career change to web development...subs 👨💻🙂
@CognitiveSurge4 жыл бұрын
Hey mate, I used to have courses on there but decided to put them on KZbin instead, it allows me to reach more people and Udemy aren't great with the % they take, so I just decided to make them free here. I was only making maybe $1k a year so I thought why not make them free! Ahh you have an IT background though, so you'll be good at getting that solid foundational understanding :) I'm sure you'll do great!
@ananon57714 жыл бұрын
does this work on GNU/linux? you only mention windows and macOS and not GNU.
@CognitiveSurge4 жыл бұрын
I'm not 100% sure, but surely it must...
@ananon57714 жыл бұрын
@@CognitiveSurge thank you
@oathunter3204 Жыл бұрын
How would this work on the M1 Macs?
@CognitiveSurge Жыл бұрын
Yep!
@bitwhys59174 жыл бұрын
that z plugin is worth the price of admission alone (well, you get my point lol)
@CognitiveSurge4 жыл бұрын
Totally haha
@facu55635 жыл бұрын
hi! still havent finished the course but its great so far!! thanks Cheers from Arg
@CognitiveSurge5 жыл бұрын
Thanks dude, appreciate it!
@kirk08314 жыл бұрын
How’s iterm2 compare to tmux for slip window?
@CognitiveSurge4 жыл бұрын
I'm not too sure I'm afraid, I've never used tmux
@mr_mr4 жыл бұрын
I've seen the pronunciation of this as a few things but isn't "zee-shell" a pun on "sea-shell".?. not so much a zed/zee thing
@mr_mr4 жыл бұрын
well I was wrong on that. "Paul Falstad wrote the first version of Zsh in 1990[6] while a student at Princeton University.[7] The name zsh derives from the name of Yale professor Zhong Shao (then a teaching assistant at Princeton University) - Paul Falstad regarded Shao's login-id, "zsh", as a good name for a shell.[8][9]"
@dr.mikeybee3 жыл бұрын
If dirs -v doesn't work, add setopt autopushd to your .zshrc.
@CognitiveSurge3 жыл бұрын
👍
@hotpink24455 жыл бұрын
# List content when changing directory cd () { builtin cd "$@"; ls -lh; }
@Xaxxus5 жыл бұрын
any idea how to get rid of the user@device-name at the beginning of the prompt on the agnoster theme?
@CognitiveSurge5 жыл бұрын
Add this to your config: DEFAULT_USER=$USER # or prompt_context() {} github.com/robbyrussell/oh-my-zsh/wiki/Themes#agnoster - I changed it myself as it was ugly to have!
@Xaxxus5 жыл бұрын
Karl Hadwen thanks that did it! Agnoster is an awesome theme, but that was taking up a huge chunk of my terminal.
@CognitiveSurge5 жыл бұрын
@@Xaxxus Glad to hear! Yeah, that's the only downside, I don't know why they don't just remove that by default, it's super annoying.
@gshan9944 жыл бұрын
@@CognitiveSurge its good to have it if you work on multiuser environment or on multiple servers
@CognitiveSurge4 жыл бұрын
@@gshan994 for sure that'd be good, i've been doing a bit more devops recently so this is something i'd personally like to see
@Xaxxus5 жыл бұрын
this is an alias I use for updating all my software installed via homebrew or my sdks installed via sdkman: alias update="brew update; brew upgrade; sdk update; sdk upgrade;" # update all applications and sdks installed via brew or sdkman
@CognitiveSurge5 жыл бұрын
awesome! going to add this to the list and change the Zsh config in the description when I collect everybody's input :) - thanks dude!
@okaudi5 жыл бұрын
it seems you don't use textedit.app. can you share the edit app you have used?
@CognitiveSurge5 жыл бұрын
Jun W I was using textedit for this just in basic mode
@Robert-jl2tl5 жыл бұрын
I de-installed zsh-syntax-highlighting because it seemed to slow the command line down.
@CognitiveSurge5 жыл бұрын
Really? I've not had that issue
@shkrmkr3 жыл бұрын
Thanks
@CognitiveSurge3 жыл бұрын
Np!
@giorgikiskeize2 жыл бұрын
Don't worry, it's work for linux also😉
@CognitiveSurge2 жыл бұрын
Awesome!
@giorgikiskeize2 жыл бұрын
@@CognitiveSurge no, it's just Manjaro 😁
@СергейДрузь-ь3ж4 жыл бұрын
⚠️NOT WORKING ! alias runp="lsof -i " alias topten="history | commands | sort -rn | head"
@CognitiveSurge3 жыл бұрын
I've removed these a while back, check my gists for the updated version
@1MinuteFlipDoc4 жыл бұрын
brutal - excited for the information, but your font is soooo small! oof!
@CognitiveSurge4 жыл бұрын
1MinuteFlipDoc yeah sorry, with this one you’ll have to zoom as it was originally recorded for another platform but I put it up free here
@Byte_Hub5 жыл бұрын
Okay I was very excited to learn until you start talk always about Mac users. Disappointment, it would be useful that you change the title of the video. Great video BTW.
@juliancowell84855 жыл бұрын
It works for linux too.
@0x656e4 жыл бұрын
Can you give me your vim dotfile your vim settings seems very simple and beautiful
@CognitiveSurge4 жыл бұрын
It's in my setup video :)
@y9tw0t3 жыл бұрын
Next time, maybe don't make the font size _sooo_ big.
@CognitiveSurge3 жыл бұрын
I'll try use 8px next time
@EdwinHappy5 жыл бұрын
It would have been better if you change the title for Mac user.
@PestisNonSapien_GMO_exHuman4 жыл бұрын
Zed-sh? Is that the special ed version of zsh?
@CognitiveSurge4 жыл бұрын
The English version, which is the correct version ofc
@fabriziobertoglio73424 жыл бұрын
uploading 1hour video has disadvantages as you will not show up in some search results like how to install zsh