Dude I'm heavily inspired by Errichto as a creator, he just gets to the point, he's like a live-action version of a beautifully written documentation.
@root3174 жыл бұрын
Totally agree!!
@mohsinimam20483 жыл бұрын
So true!
@PrakashKumar-ms2hv4 жыл бұрын
His humbleness is ON ANOTHER LEVEL..I salute you bro ....
@shubhamchandra9258 Жыл бұрын
He's not a bro.
@ksg78826 ай бұрын
I thought that was supposed to be normal human behavior.
@poorgang4 жыл бұрын
Can’t thank you enough ❤️
@uzdik.student4 жыл бұрын
Thank you, Errichto, your videos helped me to pass the interview :)
@shubhamgore16024 жыл бұрын
Which company?
@Errichto4 жыл бұрын
Congrats!
@fhd214 жыл бұрын
Clear straightforward tutorial. I'm no competitive programmer but you've got a subscriber. Thanks!
@MuhammadKamranAzeem4 жыл бұрын
Super! Leaving Ubuntu aside, your Geany setup , and the instructions to set it up for general day to day use editor (and IDE) is simply fantastic! Lovely! Thank you for sharing! :)
@TehGettinq4 жыл бұрын
Why leaving ubuntu aside?
@НурбекЭркулов-ъ3г4 жыл бұрын
Do following if you also don't like that geany stops scrolling after the last line: edit -> preferences -> editor -> display uncheck stop scrolling at last line
@Errichto4 жыл бұрын
Cool thing! I don't need it but looks useful.
@abhishektyagi44284 жыл бұрын
@@Errichto Do you use integrated graphics( intel or amd) driver or do you use Nvidia proprietary or Nvidia open source noveua graphics drivers?
@dharmang4 жыл бұрын
@@abhishektyagi4428 if u have the option for proprietary driver use it. else just got for the open source driver
@abhishektyagi44284 жыл бұрын
@@dharmang by the way which one should I choose if I need stability and performance
@dharmang4 жыл бұрын
@@abhishektyagi4428 proprietary drivers are always good than the open source ones (if they are not buggy with softwares). wuts your gpu? if it is good like a gtx series then obviously go for the prop. drivers. Edit - last time i checked they nvidia gave udpated drivers like 416ver or something. i.e it will be updated and stable but i think will be a bit lower version than the windows nvidia driver
@t0rc9864 жыл бұрын
Thanks Errichto for the video! A future video about setup configuration for Windows will be great. I find that a bit more complex.
@matrixxART4 жыл бұрын
Wow, I like those compiler flags. I've never seen -O2 before. Thanks for the upload!
@Kevzz2srs4 жыл бұрын
@C S or -O4
@martinlopez43593 жыл бұрын
I really appreciate this video, it inspires to share the competitive programming
@yashashav_dk37664 жыл бұрын
You are an amazing person. Thank you, for the wealth of information.
@VinayKumar-vu3en4 жыл бұрын
Excatly what I was trying to do for hours!! Thank you. Ps: I'm new to Geany , Vs code is pretty much pre configured so I had to do very less work to set up environment there.
@iamluv4 жыл бұрын
I also have linux environment but i use sublime as to me its very convenient for compiling. Link to setup(See readme) : github.com/luvk1412/Competitive-Programming
@Virtualexist4 жыл бұрын
Thank you So much Errichto ! You are so humble and really motivate me for CP even though I initially suck at it. But I like to work more and get better just because of your support.
@gradientO2 жыл бұрын
cp? 🧐
@Virtualexist2 жыл бұрын
@@gradientO competitive programming. 😭😭😭
@abdullahbukhari14692 жыл бұрын
@@Virtualexist you must be good now ? How's your cp journey been
@Virtualexist2 жыл бұрын
@@abdullahbukhari1469 Being very honest, it's on and off thing now. I burnt out during last 2 months. Much better but yeah not where I want to be. 😂😂
@abdullahbukhari14692 жыл бұрын
@@Virtualexist you've still made strides so congrats, but maybe you'd wanna do some side web dev so you don't feel exhausted by cp. Bro don't take it as a burden just enjoy it. And I would assume the satisfaction of getting getting better will push you even more. Bro not gonna lie I was in a similar scenario 🤣🤣 I just picked the hardest questions I could find and would spend 3-4 days on a single problem, eventually I did succeed in doing a div1 problem without any help but I felt so frustrated calculating how much time doing 600 div1 problems would take me. Then I took a break from cp and learned full stack and built some projects. I now returned to cp doing div2 problems, and doing them successfully has given me a lot more confidence. So I guess the idea is to gradually move up. Hope to move to div 1 in 3 months. May God bless you with success
@Moonify4 жыл бұрын
Nice to see you fixed the glitches, I was to tell you that one possible solution to that is going to Nvidia X server settings > OpenGL > Disable Allow Flipping.
@Errichto4 жыл бұрын
I have a new PC and I thought that there are no glitches with new GPU and drivers, but there are some (just very rare). I will apply the fix before the next video.
@abhishektyagi44284 жыл бұрын
@@Errichto Do you use integrated graphics( intel or amd) driver or do you use Nvidia proprietary or Nvidia open source noveua graphics drivers?
@rishikamande50393 жыл бұрын
@@abhishektyagi4428 what does graphics have to do with competitive programming? Or are you asking for something else?
@plabonkumersarker4 жыл бұрын
You voice is so cool to listen. Thank you so much for your information ♥
@lakshyaagarwal40444 жыл бұрын
No matter how much you know, you will always learn something new from every video of errichto
@adasfdafsaafqerg87934 жыл бұрын
*Errichto posts video of his setup* *Immediate bike shedding ensues* Just a thought, maybe we aren't the incredible competitive programmers like Errichto because we focus too much on _looking_ like we're competitive programmers.
@saptarshisengupta50734 жыл бұрын
Exactly
@harishchandramouleeswaran88023 жыл бұрын
You've got to be the nicest guy I've seen. Thank you so much for all your videos. I'm very sure I'm going to benefit greatly from all of them! :)
@shreyanshsingh26274 жыл бұрын
Gratitude for the awesome content!
@damcism4 жыл бұрын
Question not related to the topic of the video: @errichto, how did your process of learning look like when you were becoming good at competetive programming? For example, were you just taking tasks one by one and solving them? Were you reading analysis/solutions of the tasks by someone else? Were you learning that from other people? I know that you have also read Cormen's book about algorithms. Basically, what is the most effective way to become good at competetive programming? I'd be happy if you answered that in one of your vidoes or here - in the comment section. Currently my way of learning is simply: 1. Take a task, 2, think about how to solve it, 3. read analysis of the task (regardless of if you have come up with the solution or not). And obviously sometimes I also implement the solutions. I have also read two books about data structures and algorithms (not Cormen, but similar), so I know the most important algorithms and data structures. I'm wondering if the way I'm learning competetive programming (simply solving tasks and reading analysis) is the optimal way or is there any better?
@MrFibbanacci4 жыл бұрын
Very convifient settings Kamil, thx for sharing your tricks for Ubuntu. : )
@kishorkenichiparoi65094 жыл бұрын
Advanced Congratulations for 100K hittting
@akhilanand37084 жыл бұрын
can you make a video on debugging with template... plsss
@imborderb4 жыл бұрын
I have been using your geany flex for some time now and it has been very helpful. Thank you Kamil.
@nassimnedjar20634 жыл бұрын
you're the best Errichto
@TheMichaelKao4 жыл бұрын
Me trying to start competitive programming type sudo apt install geany "unable to lock directory" still me: "Mission Failed, We'll Get 'Em Next Time"
@muchvibrant4 жыл бұрын
bro its either some other terminal installation is going on or you haven't done sudo apt update for a long time
@TheMichaelKao4 жыл бұрын
@@muchvibrant I fixed the problem 5 minutes later, but still thank you
@nitigyajoshi46583 жыл бұрын
@@TheMichaelKao welcome
@iamsiddhantsahu4 жыл бұрын
Great video! I wanted to ask about "templates" in competitive programming. In your Kickstart live streams I have noticed you using templates, and it makes sense for faster submission and avoid writing repetitive boilerplate code. Please tell us which "templates" are best to use.
@rasalghul86674 жыл бұрын
Thanks! In 1 hour cf global round, I will try use this setup)
@Errichto4 жыл бұрын
How did it go?
@rasalghul86674 жыл бұрын
@@Errichto 1. Flags in f9 found a bug for me) 2. I really liked built-in terminal Thank you very much and good luck! #LimakIsTheBest
@tibish4 жыл бұрын
Great video mate 👍. Another quick way to source the bashrc is with . ~/.bashrc (from anywhere) or . .bashrc (from the same folder), same thing as typing source, but faster
@yash11522 жыл бұрын
1:36 VTE - terminal built into geany - nice
@adityadgames33594 жыл бұрын
Awesome video. Loved it.
@Errichto4 жыл бұрын
Thank you :)
@nikhillondhe58154 жыл бұрын
Great video! Can you do a video explaining your c++ templates that you use for the different competitions?
@Errichto4 жыл бұрын
I will eventually do it (because so many people request it) but it's so ugly...
@hellNo1164 жыл бұрын
@@Errichto if we cared about looks we wouldn't be one mainly text based environments
@RAJPATEL-nm9nz4 жыл бұрын
@@Errichto plzz explain it,as soon as possible
@adityamaurya36734 жыл бұрын
in my case terminal is not showing in prefernces what i do help me
@rodhash3 жыл бұрын
2:50 You say "-O2" speed up the program, but only the binary file, right? Still is a good thing for CP? Yeah I know, SILLY of me questioning the legendary Errichto LOL .. however I'd like to understand this part, I couldn't see this helping in the CP. Errichto you're the best.. I enjoy your vids so much
@zeinfeimrelduulthaarn70283 жыл бұрын
It’s to have the same flags as the judges from competitive programming sites Probably
@austinjames55164 жыл бұрын
Every instruction is spot on.
@BlackHermit3 жыл бұрын
This is a great environment for casual work, too.
@ChandraShekhar-by3cd4 жыл бұрын
@Errichto I saw you using dark theme in other video in Geany. Can you please suggest the name of the THEME you are using for dark editor look.
@_equalo4 жыл бұрын
Can I get a breakdown of the current meta of competitive programming? Is there an up to date language tier list someone can provide?
@Errichto4 жыл бұрын
Yeah, cpp is the best, that's it.
@paulfunigga4 жыл бұрын
this will definitely make you a better competitive programmer
@WuIzMe4 жыл бұрын
Hey I noticed that you type the weirder c++ characters like '{' ';' and '+' very quickly, do you have a different keyboard layout or are you touch typeing these the usual way but just very quickly. Cheers.
@-----------------------------b4 жыл бұрын
on english layout they are very easy to type fast.
@cuongbang77214 жыл бұрын
Maybe he has longer fingers :)
@eliemaamary86794 жыл бұрын
Hello Errichto, some questions: Have you ever used vscode? What do you think about it? Is there a reason you aren't using it? Also what do you think about different keybindings like vim or emacs style keybindings?
@SuperArjun114 жыл бұрын
Not errichto but plenty of people who are pretty high rated use VScode, most are just used to something else/vscode can feel very bloated on certain setups. Interested what he's gotta say though
@Errichto4 жыл бұрын
I'm very happy with Geany so I'm not going to switch. As explained in other comments, it has a built-in terminal and two integrated compilation buttons.
@w47-p1e3 жыл бұрын
@@SuperArjun11 "plenty"? I have seen only one red coder using vscode. Most of them use sublime, vim or geany
@TheSniperCore4 жыл бұрын
Can you go over some shortcuts you use when programming? I know a couple basic ones like CTRL + C and CTRL + V but that’s about it.
@Errichto4 жыл бұрын
You can google common keyboard shortcuts that people use. And go to preferences (or help) to see shortcuts of your editor.
@pranayraj89453 жыл бұрын
setup guide along with a quick Linux guide for beginners 👍👍
@s41nt22 жыл бұрын
Thank you, very much!
@souravkumar81703 жыл бұрын
Please make video on how to create user snippets on geany
@AnyFactor4 жыл бұрын
I don't uses CPP but I have used Geany for python before as my ancient PC could not handle vscode, sublime text and obviously pycharm. Geany is like more updated version of notepad ++. I would switch between Geany and Vim. But I wouldn’t say it is great. I thought competitive programmer would use something like a heavily moded Vim distribution or emacs.
@subarnalamsal23034 жыл бұрын
Thanks a lot Errichto.
@mortkebab28494 жыл бұрын
Does it really make a difference to the end result whether one uses, say, Geany on Linux or VS Code on Windows? Seems to me that almost all the time is going to be the actions of the human and not the machine so surely what is a familiar environment that is most confortable and efficient, whihch the latter is for me, is the way to go.
@vijaykryesItsMe3 жыл бұрын
Most programmers/ cs folk use linux so I think it's more about them getting to competitive code in the environment they're familiar with, not people switching to linux just for faster coding
@DarshanSenTheComposer4 жыл бұрын
Great setup! :)
@thetechegg88594 жыл бұрын
Have you used vim? Using it with an autocompletion plugin such as coc.vim and a suitable vimrc works very well!
@Errichto4 жыл бұрын
I'm sure that vim is very comfortable but I never forced myself to switch. The beginning is for sure hard. I'm happy with my workflow in Geany though, and it's super comfortable because of built-in terminal.
@thetechegg88594 жыл бұрын
@@Errichto I'd recommend learning it a bit since the movement commands and keyboard-centric design make it very efficient. Just type vimtutor in the terminal and have a go!
@Errichto4 жыл бұрын
@@thetechegg8859 And what do you need to type to compile your solution with O2 and without it? ;p
@giahuyng984 жыл бұрын
@@Errichto You just need to add some shotcut like: autocmd FileType cpp nmap :w!g++ -O2 -Wall -Wextra -o %:r %
@folksurvival3 жыл бұрын
Luke Smith has made lots of good videos about Vim.
@MehbubulHasanAlQuvi4 жыл бұрын
Do you dual-boot ubuntu and windows in your pc?
@Errichto4 жыл бұрын
Yes. Ubuntu for programming, Windows for everything else.
@MehbubulHasanAlQuvi4 жыл бұрын
Do you have a UVa handle?
@prakash_774 жыл бұрын
@@Errichto Which version of Ubuntu do you use currently?
@andywub4 жыл бұрын
his tutorials are always in O(n) time
@khzzzzzzzz4 жыл бұрын
Excellent video i'm going to switch to linux now!
@Errichto4 жыл бұрын
Just remember that it isn't a must! But sure, you can do it.
@Zandman264 жыл бұрын
Suggest you start out that switch by setting up Linux as you want it in a virtual environment like VirtualBox or HyperV. It will be slow in comparison with how it will run on metal directly, but it will give you a backup plan if you do not find all the software you are looking for directly. Also when moving to a new OS you need to really commit to try understanding it, because no OS will work exactly as the previous. So when finally installing it on metal you need to really live in it for a month before you can really access if it's the right OS for you.
@sreyassuresh18864 жыл бұрын
Can we have a dedicated Github section explaining the various arguments used in compilation/build process. ( anyone from the comment section can explain as well ;) ) Great work, keep going. Errichto.
@stabgan4 жыл бұрын
I use macOS. The UI is very well built for coding.
@Cocoblu24 жыл бұрын
This is so cool! Thank you for sharing - I don't see many girls in competitive programming so this helps me get started
@beetx54 жыл бұрын
TempleOS setup when ?
@vijaykryesItsMe3 жыл бұрын
I see you're aman of culture as well
@hexa33893 жыл бұрын
IOI in HolyC when?
@prateeksinghal6304 жыл бұрын
Thanks for this video!!
@ANKITVERMA-fl1zn4 жыл бұрын
Sanitizers increases the output memory size of test.out file as well about 0.5 Mb approx on an average but they are great for catching errors indeed.
@Another0neTime4 жыл бұрын
An inspiration good sir, thank you!
@akhilanand37084 жыл бұрын
u are best man...... i really like youe videos
@ammartahir21404 жыл бұрын
Good video. Keep it up. I want you to make a video how you use your debug script and how to write one.
@sarwatfatma32362 жыл бұрын
Do the following if you like to switch to the other workspace more easily 'just swipe at the right upper corner to opposite of it 'of your laptop mouse pad.
@pawelis67914 жыл бұрын
why not vim?
@codeWithBatta4 жыл бұрын
can i debug the code like in visual studio in geany... like making program run line by line and to see its execution for particular test case.
@xrafter4 жыл бұрын
Use gdb
@TruongHoang-du9if4 жыл бұрын
Why i didnt see anything like this 3 years ago when i was a high school student learning competitive programming)
@LANstorm.4 жыл бұрын
this was made 10 days ago.
@nathannguyen74494 жыл бұрын
LANstorm Dad joke...
@learningintelligently.3 жыл бұрын
Whenever I type the first line, #include..., Geany throws an error. Does anyone know why?
@ivanborissov15473 жыл бұрын
#include is included in c++ 11 i think and not in older version. So I guess you should check your c++ version.
@hexa33894 жыл бұрын
I recommend the pop shell for automatic tiling. So you don't have to arrange windows.
@dannyeagle96884 жыл бұрын
Out of curriosity: why geany? Is it something you started out with and don't see point in switching?
@marcosteinke4 жыл бұрын
its the same as the people who keep using VIM for everything. They have their keybinds, plugins, design and have 200% productivity by using their code editor. I am active in the Java / WebApplication branch and everybody keeps telling me to use IntelliJ for everything although I optimized my Workflow in Visual Studio Code during the last 3 years. They do not get why I like working on complex projects with a lot of files without an IDE
@marcosteinke4 жыл бұрын
I only use IntelliJ when I get to use Spring Boot, Thymeleaf and Lombok, otherwise it is a overkill imo
@marcosteinke4 жыл бұрын
@C S check Wikipedia for VS Code and for example Intellij. It says VS code is a source-code-editor and IntelliJ an IDE
@marcosteinke4 жыл бұрын
Difference between IDE and Code Editor: While in a Code Editor you can edit a huge amount of different file types and programming languages, in an IDE you have an environment specialized on one specific programming language such as IntelliJ for Java. It has optimized Debugging Tools, better Project- and Version-Control and tons of other features which are perfectly designed only for Java
@Tux0xFF4 жыл бұрын
vim is the fastest of all, unless you move the mouse and your hand goes back to the keyboard all in 0.001 seconds, then you can match Vim speed
@Onur_G4 жыл бұрын
Awesome! Thanks for sharing
@kocan984 жыл бұрын
Hi, does it matter which C++ compiler version (and thus feature set) you use? Or do you simply "sudo apt install g++" as someone recommended?
@Errichto4 жыл бұрын
It does matter and you should have a quite new compiler. There was already some g++ after I installed Ubuntu, I think it's defined here packages.ubuntu.com/bionic/g++
@shubhamk8404 жыл бұрын
thaks for the video errichto
@_mythospheric76844 жыл бұрын
Bro you're awesome 👊
@rafayeathossain87314 жыл бұрын
thanks for sharing
@catalingriu88174 жыл бұрын
How to create a cpp file with my template from terminal? (when i type "geany a.cpp" it's emty)
@johnhammer86684 жыл бұрын
Thanks for showing your setup. Why you need both ABP and ublock origin plugins on your browser ? Also "i3" window manager is good. Its worth giving a try.
@EkmekArasiKofte2424 жыл бұрын
A great and useful video
@md.shahinurrahman7474 жыл бұрын
Hi! Errich, please make some videos on geany plugins and their configuration. Thanks.
@english513 жыл бұрын
FYI: g++ not found, sudo apt-get install g++ xterm
@gauravpant084 жыл бұрын
Errichto can you please make a video on your approach for training ?
@jimmorrisshen4 жыл бұрын
It's a great video. It helps a lot for me to set up my Linux ubuntu 18. One quick question, how to override the system default shortcut? I found that the F8 and F9 will not go to compile and build. Instead, it goes to the system shortcut. Thanks a lot.
@niklausrupai13414 жыл бұрын
By the way you can type enter when apt asks for Y/n it's a little bit faster
@yamado4413 жыл бұрын
But why linux?
@carlosalca77584 жыл бұрын
More things like this. Great tutorial!
@matasgarbaravicius26783 жыл бұрын
If you get the “E: Unable to locate package” error, then run "sudo apt update", worked for me
@wydadiyoun4 жыл бұрын
How do you debug if you don't have the expected output?
@safetwat22 күн бұрын
I used his setup and I am using macos which has alternatives of quake but not quake, like iterm how can i configure it so by just f12 or any mapped key i can toggle it. Thank you!
@nitishkrboro62644 жыл бұрын
You are just awesome ❤
@carlosscass4 жыл бұрын
Great content! Could you make a video about how you type? Like tips to code faster and position of your fingers. Thanks!
@alexzan18583 жыл бұрын
@errichto how come you dont use vim with plugins? why geany? is this paid commercial?
@shehzad333 жыл бұрын
Make a complete video of installation of Domjudge server and client setup on ubuntu.
@ayushsingh624 жыл бұрын
Hey Errichto, have you ever tried Advent of Code? It's not super challenging but the problems are fun!
@vamsikrishnavalluru6114 жыл бұрын
Hey bro, I'm working on emacs as of now , but I'd consider switching to geany. What kind of autocomplete do you get in Geany? I personally feel like that's an important part of IDE's but you don't seem to have mentioned anything about it.
@rokonuzzamanrokon27892 жыл бұрын
cant finding your geany commands for c++....github link is invalid
@soumyajitmaiti82014 жыл бұрын
after compile my program, how should i run the code to see output.
@venuvenu27194 жыл бұрын
Do you use two monitors? please make a video on your desktop setup.
@sparshsinha18814 жыл бұрын
wonderful and "to the point" show... great!!
@codeforcesnewbie2 жыл бұрын
Im using notepad++ on win10, but the built-in terminal is bad for long pasted input. Also, what is the equivalent 'time' command on win10 ? Thanks
@rayaneaitaliyahia36474 жыл бұрын
Hello Kamil ,nice video . I have a problem with the editor when I run Linux command on the terminal . It said that "p9k_get_icon:13: character not in range" ,any solutions ? thanks