Тёмный
No video :(

How Bisqwit makes programming videos [screencast / C++14] 

Подписаться
Просмотров 100 тыс.
% 2 311

In this screencast, I explain the process behind making a programming video, and how exactly it turns into a DOSBox session, in which I appear to type quickly and perfectly. English subtitles are available!
The actual explanation starts at about 5:30. Prior to that I'm just creating the example program (which is not very interesting by itself).
Twitter: RealBisqwit
Patreon: patreon.com/Bisqwit (alternatives at iki.fi/bisqwit/donate.html)
Twitch: twitch.tv/RealBisqwit
Homepage: iki.fi/bisqwit/
The small video that I created in the video can be downloaded here (lossless ZMBV encode generated by DOSBox): bisqwit.iki.fi/jutut/kuvat/programming_examples/shuffle-e_169.avi
The "script" I'm using to generate the keyboard input (and to review the source code in its different states of completeness), currently simply called "new.php", is not publicly available. But in this video you can see how I use it, and you get a glimpse of its features.
The program that _executes_ the keyboard input, however, is publicly available at: bisqwit.iki.fi/source/inputter.html (git repository only)
In the description of some of my videos you can find a link that lets you download the editor. Sometimes in the same zip there's also a copy of the inputter program _and_ the input script used to generate the very video.
I am aware that the command I created at 4:55 is needlessly complicated, and could be replaced with:
find /WWW/music/spc -name \*.spc | sort -R | tr '\12' '\0' | xargs -0 -L1 sh -c 'spcplay "$0" ﹤/dev/tty'
However, I had temporarily forgotten about "sort -R" when I made this video, and it did make for a small enough example program to serve as a plot device.

Опубликовано:

 

14 июл 2015

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 294   
@ShawnKeygoogle
@ShawnKeygoogle 8 лет назад
"It's a treasure.." :) I go to sleep watching your videos. Your voice relaxes me....:)
@rohantech8406
@rohantech8406 7 лет назад
Shawn Key Same he is never shouting or using loud music in his videos
@neozoan
@neozoan 7 лет назад
I just read this in Bisqwit's voice.
@IT--rz3br
@IT--rz3br 6 лет назад
if thats true then you must be listening this at 1.5x speed
@jeffwells641
@jeffwells641 5 лет назад
I thought for the longest time it was a digital voice. Then I saw a video that showed him talking, and I thought "oh snap! That's just his accent!"
@mikaelmoizt
@mikaelmoizt 9 лет назад
**one of those 15 people** Interesting as usual
@zerotheking1993
@zerotheking1993 4 года назад
I was like "omg he's speaking about me!" hahaha
@je3f0o74
@je3f0o74 9 лет назад
Congratulations ! You should know you are my hero :D 3 years ago I watched your video and motivated. I want to be like you :P Now I'm already really high enough skilled coder :) So thank you.
@wholewurld
@wholewurld 9 лет назад
***** Bisqwit is so inspiring
@VlingoVideo
@VlingoVideo 8 лет назад
the only youtuber i know who actually programs his intro before making the actual video. you deserve a nobel price! :D great video btw!!
@jit_rs
@jit_rs 5 лет назад
You gotta be a real nerd to name your account "memcpy" :D
@Bri-Sci
@Bri-Sci 9 лет назад
I wish there were more you tubers out their like you that aren't afraid to go into more advanced programming techniques. Most fear doing that because their afraid of losing their less intelligent fan base that wont understand them. But you provide these wonderful videos and i thank you.
@memesincorporated
@memesincorporated 8 лет назад
You're videos are incredible, thank you for being so overly in depth.
@Bisqwit
@Bisqwit 9 лет назад
+Luong Kuanh For some reason, I can't reply to your comments. There's a Reply button allright, but when I click it, and I type a reply for you, and click 'Post', nothing happens. The box dims for a moment, as if it does an AJAX request of some kind, but the post does not get submitted and it returns back to editing. I can still reply to posts by other people just fine. This has happened on all of your comments on my various videos. I don't know what causes it, but you aren't getting my replies because of that. Maybe you have some kind of privacy setting on that prohibits replies/comments from people who are not in your Google+ circles? To answer your question here: Because that's how X11/Xorg, the windowing system used in majority of operating systems (except Windows and MacOS), works. It consists of two parts: A server and a client. The client is the program you run, such as Firefox, Portal, or DOSBox. The server is what makes things visible and deals with your input. These need not be on the same computer, as long as they can talk to each others. On Windows, I am running an X11 server. SSH provides a "tunnelling" service that makes it possible to start a client on a remote computer and have its window appear on the local server.
@kyanhluong
@kyanhluong 9 лет назад
+Bisqwit i fixed my google+ permission setting , can you re reply your answer to my comment ? Also can i have a copy of your *.spc music collection?
@MarkIn4D
@MarkIn4D 9 лет назад
That was sure informative and enjoyable at the same time. Kiitos for the video, Bisqwit!
@DavidRFHarris
@DavidRFHarris 5 лет назад
Unlike most RU-vidrs, your videos are like gold and I check for a new inspirational nugget every day. :)
@redchards
@redchards 9 лет назад
Aaaah, cppreference, what a magnificient piece of website :) I remember that it didn't exist when I started C++ programming (or maybe not well known enough), and even with some references here and here, most of the time information was confusing or/and not precise enough :/ Today, it's (almost) a joy to squirm though the documentation ! Anyway, thanks again for all your videos. As always you're doing great :)
@FudgyDRS
@FudgyDRS 9 лет назад
I originally started watching when you released your videos of your C++ NES emulator and learned a great deal from the source code as well as the videos.
@Totiimon
@Totiimon 8 лет назад
This video is really important to know that you're human after all (?) haha. Nice videos Bisqwit :)
@Bisqwit
@Bisqwit 8 лет назад
Thanks!
@emptyy2
@emptyy2 9 лет назад
I was always interested in your configuration. Many thanks for showing and explaining it!
@AbedFayyad
@AbedFayyad 8 лет назад
The bit about "choreographing" your source code was really interesting!
@ivancea96
@ivancea96 9 лет назад
agg, I thought that you write all your programs without stopping to think even a second per line xD
@je3f0o74
@je3f0o74 9 лет назад
Iván Cea I feel like cheated too :D But it was good. I was compering myself to computer software all the time :D haha. Because of that I'm leveled up :)
@tommy1273
@tommy1273 4 года назад
Me too!!! I literally thought he was an absolute programming beast!!!!
@Fezezen
@Fezezen 6 месяцев назад
I was rewatching one of your videos recently, I can't remember which one, and in the video, you said that it's not really you typing it since it's just a program you wrote for the purpose of presentation. It made me wonder how the program knows the order in which to type the lines so it doesn't just write the file from top to bottom. I'm glad this video exists because it answers that question, even if it is 8 years old. I suppose if it works, there's not much reason to change it.
@clodgozon3968
@clodgozon3968 5 лет назад
He's using "Joe's Own Editor", if you asked and wanted a DOS or Console-like text editor. I love it just like Turbo C++'s IDE style.
@Filaxsan
@Filaxsan 5 лет назад
Man, this is outstanding. Love your videos! Thanks for uploading and sharing your knowledge (and Finnish humor) with us! 😁
@ozjuanpa
@ozjuanpa 7 лет назад
ARRIBA ARRIBA
@eigenbom
@eigenbom 9 лет назад
Wow I just found you, you're awesome :)
@moji8225
@moji8225 7 лет назад
watching your videos is so satisfying and also very informative, thanks for all the efforts.
@voitano73
@voitano73 5 лет назад
"I'm sorry Dave, I'm afraid I can't do that" :)
@jit_rs
@jit_rs 5 лет назад
What does this citation mean?
@Bisqwit
@Bisqwit 5 лет назад
It is a reference to a well-known movie. Why though, I don't know.
@walkwithme153
@walkwithme153 6 лет назад
Bisqwit you are really my favourite youtuber.
@szymoniak75
@szymoniak75 5 лет назад
All of your videos are very inspiring. Watching them always makes me want to write some code.
@draconic_slayer
@draconic_slayer 5 лет назад
This is one of my favorite videos -- I absolutely love this.
@shivisuper
@shivisuper 7 лет назад
Man you're awesome! subbed you and looking forward to more of your awesome content
@ramitdas2604
@ramitdas2604 4 года назад
i have never been so overwhelmed in my life.. this is truly god level 😀
@victornaut
@victornaut 9 лет назад
You're awesome Bisqwit. I'd love to see you making a rogue like game :D Thanks for satisfying our curiosity!
@Bisqwit
@Bisqwit 9 лет назад
MobsterSquirrel As in this video? , ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h37xb8YkMJ4.html Although this is in reality more a mud-like game.
@victornaut
@victornaut 9 лет назад
Sorry Bisqwit it was rude of my part not knowing about this video! Sorry and Thank you :)
@cr9pr3
@cr9pr3 9 лет назад
Great video as always!
@EvanTeran
@EvanTeran 8 лет назад
Just a note, a better idiom for reading line by line is: std::string s; while(std::getline(std::cin, s)) { // successfully got a line } or if you prefer s to be scoped inside the loop. for(std::string s; std::getline(std::cin, s); ) { // successfully got a line } Instead of: while(std::bin.good()) { std::string s; std::getline(std:cin, s); // did we successfully read? not sure, need to check! }
@Bisqwit
@Bisqwit 8 лет назад
I like your second idea. The reason why I didn't use the first version is because I wanted to limit the scope of the temporary std::string out of principle. Also, I may not have remembered that std::getline returns something useful. Namely, it returns a reference to the stream. And I may not have remembered that basic_stream has an operator bool() that does something useful.
@xb17
@xb17 9 лет назад
wow thanks! btw i always loved the music in your videos, you choose great vgm tracks, and i had no idea top gear had such amazing music! i wonder if you have some listing of your favorite vgms you could share or if you wanted to talk about it could be interesting, tracker music is kind of a lost art and a ton of music is kind of like lost gems. which would be very sad since i think i speak for everyone here when i say the music in these videos of yours is amazing! and i personally don't know most of them and i am into tracker/chip vgm big time! and the setting you create for these videos is great, keep it up!
@Bisqwit
@Bisqwit 9 лет назад
xbuster17 I had no idea Top Gear had such amazing music either! It just came up randomly when I was looking for a song-set that would give me good background music when I play the asciibetically last song in that list. The SMRPG track that plays for the second half of this video also came up randomly -- it was a lucky accident -- so I left it playing on the background for the rest of the video. If none of the first five random samplings had been a good song, I would have covertly faded in some other song off-screen. Many years ago I used to write a blog. I called it "diary" at the time, because "blog" was not a hot word in the web yet. Sometimes in that blog I posted my observations of particular VGM tracks (mostly NSF tracks) that I had been listening to. Perhaps some day I might resurface some of those thoughts in a video. It might be hard to do that and dodge copyright missiles though. Thank you for the feedback!
@dimitriosmenounos1009
@dimitriosmenounos1009 4 года назад
Hi. You are a talented person! Btw I think I heard some of my old favorite amiga tunes but you have them in other form. 👍
@kyoai
@kyoai 5 лет назад
That SNES Top Gear music made me happy. :)
@GAMELASTERv2
@GAMELASTERv2 9 лет назад
wow, this is really great! Thanks for next great video!!! For video is your auto writer reeaaaaly great! :3 ^^
@micajahnordyke7251
@micajahnordyke7251 8 лет назад
your voice is sounds like a robot it's so soothing
@Blue-we5sm
@Blue-we5sm 4 года назад
Hi there, I'm looking to make some programming videos of my own, but I cant seem to figure out how to automate typing. Is there any software that does this? Either way, where do I start?
@Bisqwit
@Bisqwit 4 года назад
I have produced and customized my own tools for the purpose, but cnee is one of those commonly available tools, and I used it in the 75000 subscribers demo.
@ezio934
@ezio934 3 года назад
I suggest learn some linux tools. I am sure there is a way to use a text file as keyboard input with a short delay btw characters.
@jupiterapollo4985
@jupiterapollo4985 2 года назад
Great video and very informative. Quick question, why not just generate a ssh key for your devices when you want to ssh into your linux machine? Wouldn't it save you more time from having to constantly put your password in when connecting and its technically more secure?
@Bisqwit
@Bisqwit 2 года назад
I do use a ssh key. However, this was a virtual machine created just for the purpose of this video, and the keys were not set up.
@sulthanqintara5692
@sulthanqintara5692 5 лет назад
I love the way he's saying "ERROR" XD
@zerotheking1993
@zerotheking1993 4 года назад
That sounded like proper Finnish hahaha
@kim15742
@kim15742 7 лет назад
2:08 haha, that's always my thought process :P
@vexedev
@vexedev 9 лет назад
You have a lot of knowledge, you know what you're doing and you're making videos out of what you enjoy. There are very few youtubers like that. Have you considered making educational videos on how to do X or implement Y from scratch step by step (not fast-forwarded) (something advanced, as usual)? (Like handmade hero for example) Even if the videos turned out to be long I'm pretty sure a lot of viewers would be interested :p
@Bisqwit
@Bisqwit 9 лет назад
vexe Thank you for the kind comment. As for "how to do X or implement Y", haven't I been doing exactly that? Though I admit on the fast-forwarded part (as in, type stuff way faster than a normal design process would be), but that's mostly because I believe more in the wisdom of inspiring people to do stuff and giving them reference material _if_ they need to look it up, than giving a step-1-do-this-step-2-do-that tutorial that just leads to parroting, which programming really is not about. And that's because of my own background and principle. I believe in "do others as you would like them to do to you": I've been reading a _lot_ of source code -- it's my hobby -- but I just don't have the patience to watch any how-to videos or lectures. I make videos that I would like to watch. In any case, I thank you for your feedback. I will try to adjust towards that direction anyhow, because there is a lot of demand for it.
@vexedev
@vexedev 9 лет назад
Thanks for your reply. Of course you're doing the "how to do X and Y" I should have been more clearer. I think it is beneficial to see the non-edited version of things, cause it shows viewers how you deal with errors or bugs when they occur, and so we get insight into how the 'pro' thinks ;) Teaching concepts, giving deep understanding to how some things work has great value! unfortunately you might not have time to fit that in a fast-forwarded video, is what I'm saying. Another valuable thing a man in your position (someone who can influence others) can take advantage of, is to debunk some of the modern programming methodologies, such as programming in very high level abstractions, OOP and all its nonsense, focusing on objects and not the data, modeling data around code and not the other way around, etc. Since you're low-level I'm sure you know what I'm mean lol. Modern conventions have so many bad implications, they give the impression that you could program without having an understanding of hardware and how things work, how much each line of code costs and what it does behind the scenes etc this obscures communication between the programmer and the machine, which means we forget what we originally do, which is to solve problems by giving instructions to a machine, not design premature lame UML diagrams or sketch object hierarchies etc. This topic is hot, it might cause some flame wars in the comments lol but imo it's worth talking about, since there's so much intelligent programmers fall into this, cause it's what they're exposed to in college. Thanks!
@Bisqwit
@Bisqwit 9 лет назад
vexe Thank you for your feedback! It's certainly something to think about. However there is no "non-edited version", as you learn from my video. Whatever ends up being the final programming video is specifically crafted for that purpose from the very beginning, long after the actual programming work has been done, debugged and completed. I do not have a desktop recorder running when I program normally, nor would it be feasible in any manner: I simply do not have a computer that I could desktop-record, at a reasonable framerate, and without slowing down the system to crawl. The setup that you see in this video is a virtual machine running on a quadcore server because of that very reason. And there's also the problem that nowadays I'm bad at focusing at a task. I might jump between a programming window or two, IRC, skype, email, entertainment, and away-from-keyboard every so often. Stitching together the moments when I do actually program, let alone adding meaningful narration to it in postprocess, would be an enormous undertaking. Much more so than what I'm already doing by now.
@vexedev
@vexedev 9 лет назад
Totally understand, video editing is pure pain. I still think it's beneficial to many if you speak about your programming style/methodologies in general; what patterns you use in your codes the most, how you structure your programs, data layout, what you think of the so called 'modern' programming methods etc. Just my two cents. Cheers!
@nebulium6641
@nebulium6641 4 года назад
wait what, how does opening firefox in your ssh work? Thats soo cool
@nebulium6641
@nebulium6641 4 года назад
Nevermind I know see your comment, Nice
@phildem414
@phildem414 2 года назад
Very cool process! What is the program impersonating the small mini me's on the focused window?
@Bisqwit
@Bisqwit 2 года назад
That would be Macopix.
@TUnit959
@TUnit959 9 лет назад
Interesting way of working with your Linux machine. Which program do you use to connect as an X client and what distro are you using?
@Bisqwit
@Bisqwit 9 лет назад
***** I didn't quite understand your X question. The distribution is Debian GNU/Linux [testing branch].
@clodgozon3968
@clodgozon3968 5 лет назад
Anyway, I'm never been a fan of anybody except your work and you!
@Bisqwit
@Bisqwit 5 лет назад
Thanks!
@rogeriorogerio1007
@rogeriorogerio1007 7 лет назад
you sound like a synthesizer. A nice and polite one :)
@CraftNeui
@CraftNeui 9 лет назад
"I would show you but i would have to edit this video to do that and i promised i wouldn't edit the video" Does putting a intro and a fade in the beginning count as the video being edited? Oh and i like your videos, even if i don't understand C++ but videos like the Mega Man Screen thingy. And your voice is good and i don't really notice that you need "training" for the pronunciation.
@Bisqwit
@Bisqwit 9 лет назад
***** It is a good point. Mainly what I mean is that even though I produced the video in kdenlive (which is a free video editor), the source video that was recorded from QEmu was included verbatim without any cuts.
@chibicitiberiu
@chibicitiberiu 5 лет назад
You know that the build-in 'shuf' utility does the exact same thing?
@Bisqwit
@Bisqwit 5 лет назад
As well as “sort -R”. I did not know of either when I made this video, but it does not matter. The point of this video is not to make a cool utility. It was just a plot device to get to the actual point which is my programming video production workflow.
@chrisik100
@chrisik100 5 лет назад
Simply he is an ordinary bouncer!
@FelipeMendez
@FelipeMendez 8 лет назад
hello, im quite pleased with you channel, watching the tutorial about making a fps, i though that you used a editor that recorded each stroke, or something like that, there is no way you could type that fast with mario distracting you walking across the menu bar, anyway thanks for your time and sharing, have you tinkered with PBR rendering engine?
@Bisqwit
@Bisqwit 8 лет назад
+Cleaver Games By PBR rendering engine, are you referring to pbrt, the one that is introduced in the book Physically Based Rendering From Theory To Implementation? No, I haven't tinkered with the engine, but I have been reading the book.
@FelipeMendez
@FelipeMendez 8 лет назад
+Bisqwit yeah i mean physically based rendering, i didn't know about that book ñ, i will read it
@VicfredSharikver
@VicfredSharikver 9 лет назад
thanks for doing this video I always wondered about it :P
@huistelefoon5375
@huistelefoon5375 Год назад
Hello Bisqwit, at one point in the video you create a file that lets you choreograph the source file input. Inspired by that idea, I created a similar tool that takes an input listing file and generates vim keystrokes to input the file in the specified order. I do this by first parsing out the listing line-by-line, and then generating the keystrokes by keeping track of the line numbers that have already been input. That way I can calculate the distance the cursor needs to travel. However, I have no idea how I would ever implement other editing directives, like copying lines, switching between multiple files, or simulating other more elaborate editing techniques. I'd assume that your approach is a lot more involved, as is evident by the output of the new.php script, which I can't decode the meaning of at all, as well as the shuffle.defs file. Could you give a bit more insight on how it works? Or perhaps point me to the source code? How would you approach choreographing programming videos if it were a Linux environment?
@halemm
@halemm 9 лет назад
actually i kinda enjoyed this video, the slowest version if you wanna call it, nice video!
@Tudorgeable
@Tudorgeable 9 лет назад
Nice informative video. I subscribed instantly! Can you show us how you type as well? I type at around 115wpm and I just started programming, I would like to know what shortcuts and tips you can give to use the keyboard more efficiently when typing a program. I see you use cuts paste home and end a lot but in what combinations?
@Bisqwit
@Bisqwit 9 лет назад
Tudorgeable I use search (^K^F) a lot to find a word or a sequence of letters near the location that I want to go. Sometimes I use ctrl-E (end) to go to the end of line that has a similar length to the horizontal position I want to go on another line. I also use ctrl-G (parenthesis matching) to jump around in the code. For vertical navigation, I mostly use arrow keys, pageup, pagedown and search, but for horizontal movement, I try to minimize the number of arrow keys I need to press. Other than that, I don't think there's anything interesting in the way I type. Mind you though, my way of typing is not the standard "10-finger system" (touch typing). It's something I have learned myself. My right hand tends to move while typing a lot more than my left hand, swivelling around the wrist, and the finger I hit a key with is whichever in either hand that is nearmost to they key at the moment (or so I hope; at least it's true that it's not always the same finger for the same key).
@Tudorgeable
@Tudorgeable 9 лет назад
Bisqwit Right, so you're focused on typing exactly what you're thinking than how you do it, no wonder you type those terminal commands so fast (I am slow with special characters). Right now I'm trying to make sense of your qbasic 3D engine. It's pretty hard as a newbie to understand directly from source code. I know you've learned a lot from reading source code but I don't think I am at that level yet. I've done some qbasic when I was 12 for a short period but that was it. I am 19 now and I want to learn coding (in general). Do you have some influential sources of information, other than your very nice videos of course, to recommend for a beginner like me?
@Bisqwit
@Bisqwit 9 лет назад
Tudorgeable Also, the numerous only-few-word copypastes and home&begin navigations you see in most of my videos are all algorithmically generated. There's only a few videos on my channel in which I am actually typing myself, including the first half of this video that you commented on. As for influential sources of information to recommend to a beginner, no I'm afraid I have nothing on that regard at the moment. Ï'll get back to this thread if I think of something.
@isfiyiywafibc6qaiiiiiiiiii570
@isfiyiywafibc6qaiiiiiiiiii570 9 лет назад
I'm not sure I heard that right, you're using X forwarding with SSH to run firefox from a linux server on your windows machine? Also wait what? Did I hear that right? You're running windows Vista (?) in qemu and then doing all of the above in qemu? What are you running qemu in?
@Bisqwit
@Bisqwit 9 лет назад
I was using X forwarding with SSH to run QEMU from a Linux server on a Windows machine, and within that QEMU, a Windows 7 installation was running. The desktop you see in the video is this virtual Windows 7 machine. In _that_ Windows 7 installation, because I hadn't installed any browser in it, I was using X forwarding with SSH to run Firefox from the said Linux server on the said virtual Windows 7 desktop. This sort of inception stuff somewhat becomes a second nature once it loses its novelty. It's only when you try to explain it that it becomes complicated.
@isfiyiywafibc6qaiiiiiiiiii570
@isfiyiywafibc6qaiiiiiiiiii570 9 лет назад
+Bisqwit Interesting, my personal experience of X forwarding has always been incredibly laggy (But I was running emacs). If the only reason you use windows is to ssh into a linux server, why not ditch the long boot times and price of windows and just run linux?
@Bisqwit
@Bisqwit 9 лет назад
X forwarding does introduce considerable lag, but enabling compression in SSH mitigates it a great deal. The answer to your question is that I don't wish to wipe out preinstalled Windows systems in laptops. I don't buy Windows, but I have acquired several used laptops with Windows preinstalled.
@isfiyiywafibc6qaiiiiiiiiii570
@isfiyiywafibc6qaiiiiiiiiii570 9 лет назад
+Bisqwit I see, any reason to keep them there?
@Bisqwit
@Bisqwit 9 лет назад
Power management, hibernation and stuff, and utilization of the various priorietary hardware are usually done better in Windows, I think. I could be wrong. Also, Steam games.
@chrisik100
@chrisik100 5 лет назад
Awesome bouncer!
@orsonpeters
@orsonpeters 9 лет назад
What Windows software do you use to remotely connect to your Linux machine? Is it Xming? Do you use X11 forwarding, or is everything rendered on your server?
@Bisqwit
@Bisqwit 9 лет назад
Orson Peters I have (more often) used Cygwin X server + X11 forwarding, and (less often) alternatively Xming + nxproxy. However, to answer your actual question "what do I use to _connect to Linux machine_", it's SSH.
@skirkmaker
@skirkmaker 5 лет назад
Hello Bisqwit! Any chance on releasing the list file parser? I would try to understand it and port it to emacs
@Bisqwit
@Bisqwit 5 лет назад
List file parser? You can find it in the repositories of many of the projects of my videos, for example: github.com/bisqwit/compiler_series/tree/master/ep6/dostools/ Note that the file contains raw 8-bit characters (including nuls). This tends to confuse a lot of text editors and text file viewers.
@SuperNolane
@SuperNolane 9 лет назад
I like this music so much.
@Whakeydeban
@Whakeydeban 8 лет назад
Awesome video!
@alessandrogerelli
@alessandrogerelli 7 лет назад
Hi Bisqwit, what do you think about mobile apps made in Node js ?? Thank for reading
@Bisqwit
@Bisqwit 7 лет назад
In my (passing) experience Node makes development easy and fast but requires excessive resources at runtime, such as lots of RAM or disk space.
@Veso266
@Veso266 6 лет назад
can you share your editor and its source? I realy like it because of Mario running across its title PS: Do you know of any good IDE for writing windows 3 and DOS apps in DOS I know of Visual C++ but there had to be something else available back then
@Bisqwit
@Bisqwit 6 лет назад
Look up “bisqwit that editor” in a search engine. The last IDE that I used in DOS was RHIDE, but I liked the Turbo Pascal / Borland C++ IDE better. In modern programming, I don’t use an IDE at all.
@zakopako82
@zakopako82 8 лет назад
Hello Bisqwit, I tried your editor (E) it's really cool!!, but how do you run the written code? In the instructions I can't see any key command to compile and run.
@Bisqwit
@Bisqwit 8 лет назад
+Naburi It's just an editor, not an IDE. You have to run compilers and programs separately.
@zakopako82
@zakopako82 8 лет назад
Oh! I see. Sorry. Thanks for answering! :D
@AlexVasiluta
@AlexVasiluta 4 года назад
I think you can now update the description pointing to a link with the new.php script
@arenics
@arenics 9 лет назад
Top Gear sound track is amazing :D
@lolisamurai
@lolisamurai 9 лет назад
I understand that you're technically mostly using linux through ssh, but why use windows to interface with your linux server? is it because recording and editing videos on windows is less cumbersome?
@Bisqwit
@Bisqwit 9 лет назад
No, I do video editing also on Linux, and video recording happens through homebrew software (or DOSBox, also run on Linux). I use Windows in desktops because it came preinstalled with the laptops I have received from various sources, and I see it as a waste to replace them with Linux.
@oskenso
@oskenso 7 лет назад
Franc[e]sco wouldnt this tie you down to always needing a network connection in order to get work done? I just cant wrap my head around this decision but to each their own :o Also curious about the attachment to borland's compiler, is it just familiarity? Or is there a performance benefit you enjoy? :3
@jacobrau990
@jacobrau990 7 лет назад
What tool do you use to edit video on Linux? I've found literally every Linux video editor I've tried (half a dozen or so) to have some major show-stopping bug. I'd love to overcome this, though.
@Megnevezhetetlen
@Megnevezhetetlen 7 лет назад
Jacob Rau this might sound weird but have you tried Blender? No GPU acceleration so rendering takes time, but otherwise it gets the job done.
@RobertJ769
@RobertJ769 9 лет назад
Just curious, but is there any reason in particular that you used PHP to write the code that generates the input files?
@Bisqwit
@Bisqwit 9 лет назад
Bob Magyar Fast prototyping, does not need separate compilation. I'm more fluent in PHP than I am in Perl or Python or Ruby.
@mikeybelardo6151
@mikeybelardo6151 5 лет назад
I have a question. How are you able to have a larger Xterm? And if possible could you explain the configurations you used to make a (larger) Xterm? Thanks!
@Bisqwit
@Bisqwit 5 лет назад
I suppose you are talking about the font size. You can use the -fn option to choose a font. See “man xterm” for xterm options. See xlsfonts, xfontsel, and fc-list for the list of available fonts in your system.
@mikeybelardo6151
@mikeybelardo6151 5 лет назад
@@Bisqwit Thanks! I really wanted to know this info for a while!
@mikeybelardo6151
@mikeybelardo6151 5 лет назад
​@@Bisqwit But I have a few last questions if you don't mind answering. What font are you using in the video? How'd you make it a larger version of fixed, and would it possible for me to see your .Xresources file so I could have a reference as to how my .Xresouces file should be?
@Bisqwit
@Bisqwit 5 лет назад
In this video I used a virtual machine that I hastily configured for presentation purposes. It’s not my actual desktop. I think I downloaded a VGA font from the Internet by google searching it. I did not use a .Xresources file, but .bat files that launch xterm with the desired font options (like -fn VGA16 or something similar to that effect).
@dashl5069
@dashl5069 5 лет назад
I love the amount of humor
@tomtravis858
@tomtravis858 4 года назад
You didn't have a browser? What did you use to search stackoverflow?
@Bisqwit
@Bisqwit 4 года назад
I don’t really use stackoverflow unless it comes up in web search results. Also this video was made in a virtual machine that I installed just for this video.
@AlexVasiluta
@AlexVasiluta 6 лет назад
At 8:40 Do those numbers specify anything else other than the order (like a time interval to wait until you begin writing the line)?
@Bisqwit
@Bisqwit 6 лет назад
No, they only specify the order. Additionally, the definitions file may refer to these numbers and say e.g. “in phase 20, scroll the window so that 10 lines are visible on top of the cursor” or “right before beginning phase 100, delay 3 seconds without doing anything”.
@AlexVasiluta
@AlexVasiluta 6 лет назад
Bisqwit Okay, thanks!
@jancsiba5
@jancsiba5 9 лет назад
+Dhust If you want a command line text editor for linux, nano comes with almost all distros (i know for a fact it does with arch). You should also download vim, i know it's kind of hard to learn it, but once you do, man is it quick to use. Also it has an absolutely mad range of plugins and extensions that you can use to extend your coding experience, including built-in file managers, syntax highlighting for a hack load of languages, code completition and so on. TL;DR download vim If you specifically want to write a text editor, and on linux, look into libcurses, as it gives you great control over CLI, with color, and character manipulation at (x, y) coordinates, windowing and such. Good luck!
@rafaelmoura8688
@rafaelmoura8688 9 лет назад
Botika Kovács I've just finish a prototype of text typer supporting colors for keywords thanks to your tip into ncurses, I hope that soon enough I might be able to create something near the Joel's text editor.
@Bisqwit
@Bisqwit 9 лет назад
Dhust Yay, this time your comment is actually repliable. Your previous one was not (and that's why Botika's comment was not a reply to yours, but a separate one). I have said it before and I say it now: *If you want me to reply, please make sure you don't disable replies to your comments* in your Google+ privacy settings (it might be hidden as something like "allow others to post on your wall"). Right now I can't even _find_ your original post. Did you delete it? Anyway, good luck and have fun writing an editor. Writing an editor was actually one of my very first programming challenges I did on Linux, back in the 1990s, when I had just started learning C. There are so many ways to do it, from designing the way the data is stored, to how the screen is refreshed and so on. I think the version that I wrote in the mid-90s for Linux used a system with two standalone vectors, where the part of the file before the cursor was stored normally in the first vector, and the part of the file after the cursor was stored _backwards_ in the second vector. That way either vector only ever needed to grow/shrink at the end, never in the beginning, which means that insertions and deletions never require mass moves of data in memory. A friend of mine, who was like a guru to me when it comes to programming or any technology at all, suggested this system to me, and I thought that all "real" editors in the world do that. In the end -- my memory is hazy on this and I don't think I still have a copy -- I think my editor was plagued with all kinds of mysterious bugs and random crashes, which led me to abandon the project eventually. Also I never liked working with ncurses, and I still don't. I like Slang much better. The editor that I created much more recently for DOS uses a vector of vectors instead. The outer vectors store each line of the file, and the inner vectors store character-color pairs for all characters on a single line. Because I'm using 16-bit sizes, that's where the limit of 65535 lines per file, and 65535 characters per line, comes in this editor. I _began_ with writing a gap buffer implementation, but I found that to be a too inconvenient design to work with on segmented memory, so I switched. I think most editors today use something called a "gap buffer". Emacs uses a "rope" instead. Some editors do what I did with the vector of vectors, but use a doubly-linked list for the outer vector instead.
@rafaelmoura8688
@rafaelmoura8688 9 лет назад
Bisqwit Yes... I'm a subscriber to your channel for some time, So I already knew about the google+ thing, but man my config was like "who can reply my posts" - everyone. So I dint notice the that I ACTUALLY have to include your username there, I'm so sorry for that., dint want to make you repeat that. About the editor: Again, THANKS for sharing the experience, I'll look into Slang too and then try to write a complete editor, but i think that the hardest thing will be the keywords colors to work nice. I got some text inputter working but I dont think I did is the right way to color the keywords... I wanted to write in pure C code but that would take more time for me, so I used C++ STL to help. Your videos teach me a lot of cool things, I always liked the hardware level programming and I always want to learn more, so I found your channel inspiring. So thanks again for the tips with the text editor and stuff.
@Bisqwit
@Bisqwit 8 лет назад
+Dhust, how did your writing of editor go?
@rafaelmoura8688
@rafaelmoura8688 8 лет назад
Hey, thanks for asking! Unfortunately I didn't push that project ahead. But since then, I created a Chip8 interpreter and ported it to Android ( github.com/dhustkoder/XChip your Chip8 video helped me at the time). The project is much bigger than needs to be. But I wanted to practice library design, make it customizable and implemented sound/video/input plugins. Now, I'm writing a Gameboy emulator without the OOP model or C++ libraries/exceptions. Just libc and SDL, practcing 'data oriented design' and how C++11 can be of help there.
@andrewfischer-garbutt2867
@andrewfischer-garbutt2867 4 года назад
Can you suffle with the sort command. Why do you need to write your own shuffle?
@Bisqwit
@Bisqwit 4 года назад
I could have used sort -R or many other options. But the point of this video was not the tool to begin with. The tool was just a plot device so that I could make a video about the actual topic, which is in the video title.
@andrewfischer-garbutt2867
@andrewfischer-garbutt2867 4 года назад
@@Bisqwit thanks I should have read the description before commenting
@KishoreG2396
@KishoreG2396 4 года назад
What is the first song that is played at the beginning 1:10 ? It isnt in the description it seems.
@Bisqwit
@Bisqwit 4 года назад
Top Gear title theme, as indicated on screen a bit earlier in the window where the command is running that plays those files.
@AssassinThatCreates
@AssassinThatCreates 6 лет назад
Why do you use Windows for opening X windows just to connect to a Linux server? Why not cut out the middle man of Windows and just got Linux front to back? Just curious
@Bisqwit
@Bisqwit 6 лет назад
I used the preinstalled Windows in that laptop because I did not want to deal with problems with finding Linux drivers for possible proprietary hardware / unorthodox solutions / missing features, that often may come up with laptops.
@rennerjc
@rennerjc 9 лет назад
Are you working on any new programming videos at the moment?
@Bisqwit
@Bisqwit 9 лет назад
+Jon Renner Yes, I am. Stuff takes time.
@jimgao7395
@jimgao7395 8 лет назад
You are awesome!
@rjd324
@rjd324 9 лет назад
Bisqwit Hi. Can you do a video on your chosen editor. For example why not vim/emacs. Why not cscope/ctags etc. Cheers.
@kodabrome
@kodabrome 9 лет назад
r16815 I use the same editor on a daily basis, for everything that involves text editing, not only programming (e.g. write emails, essays, and articles). I've been using it for more than 15 years, and muscle memory won't let me use anything else. I'm aware that editors with more features are available, but I'm also perfectly happy with joe. I believe that +Bisqwit is in a similar situation.
@Bisqwit
@Bisqwit 9 лет назад
r16815 I don't think I'm going to do a video on Joe, but I can share you the history. My first experiences with a fullscreen editor were with QBasic and the MS-DOS Editor. Soon around the same time, I began learning Turbo Pascal. The Turbo Pascal IDE uses keyboard bindings that are derived from Wordstar. Because Turbo Pascal was my ticket into making quick and efficient EXE files (especially in comparison to QuickBASIC), I learned to use the TP editor efficiently, and I became accustomed to the Wordstar bindings. For non-programming editing, I used mostly either MS-DOS Editor or QEdit. I did not know C back then. When I upgraded to Borland Pascal, I also made some scraping contact with Borland C++ and Microsoft's QuickC, but I actually disliked C strongly. Somehow in particular the pointer syntax in C seemed reverse and stupid in my opinion. I had a fundamental misunderstanding or two there. A year or two later when I began learning Linux, Joe was the only editor that came out-of-the-box compatible with the Wordstar bindings. None did work with the MS-DOS Editor inputs, as shift-arrows or shift-pageup/shift-pagedown were handled specially by the Linux kernel, I think. (I used Linux directly at the TTY level, without X, for many years, even as my primary "desktop".) Joe didn't even have syntax coloring at that time, but I could _work_ with it, because I was fluent with most of its keyboard bindings, and I could keep learning more. And that's how Joe became the editor in which I do everything, up until today. I'm also familiar with the input bindings of pico/nano, however inferior they might be, because they're used in Pine/Alpine, another ancient unix program I still use up to this day, and because it was often the only editor installed in servers I was managing at my work. And I know just enough of vi/vim to know how to exit. Similarly for emacs. If I run into a system that has nothing but vi/vim installed, and I need to edit some files, I use cat and sed. There was no Pascal compiler on Linux -- at least none that were even remotely as professional products as TP and didn't feel like gimmicks -- so I had to learn to use C, and I did. And when I did, I also began using C in Borland C++ (DOS), which led me to learn C++ as well. This happened about 20 years ago. For cscope, I had to google what it is. Clearly I haven't been needing it :-) I have used ctags a few times, because Joe has support for using the tag file. However, I can't be bothered to keep the tags file up to date, so it has been just a curiosity kind of thing.
@hrothgar1
@hrothgar1 5 лет назад
why don't you use tmux or screen? that'd make it much easier to switch between tabs.
@Bisqwit
@Bisqwit 5 лет назад
This was just a virtual machine that I set up for the sake of this video. One of the myriad workarounds I used because none of my computers was fast enough for real-time desktop recording.
@Richard-xh5iw
@Richard-xh5iw 4 года назад
How do you make an operating system with the windows API from 0? and how to make the kernel for said operating system simple?
@Bisqwit
@Bisqwit 4 года назад
Maybe this Wiki will help you. wiki.osdev.org/Expanded_Main_Page
@aberba
@aberba 4 года назад
Where can I get your soundtracks?
@Bisqwit
@Bisqwit 4 года назад
Which ones?
@minege02
@minege02 7 лет назад
Hello, if your only reason for being on windows is the terminal for connecting to your linux server with SSH, so why you don't you use directly linux or use linux and connect to your linux server with SSH ?
@Bisqwit
@Bisqwit 7 лет назад
Nowadays I do. (Note the Linux machine in question is headless; it has only an old CRT, no GUI, no mouse.)
@minege02
@minege02 7 лет назад
Ho, ok! Thanks for the reply!
@chris_tzikas
@chris_tzikas 5 лет назад
You can use zeal for c++ doc, or any other language, api etc.
@tersbersirs
@tersbersirs 9 лет назад
11:45??? Whaaaat? xD
@chewie481
@chewie481 8 лет назад
+Freak Head english and finnish are supposedly two very different languages.
@tersbersirs
@tersbersirs 8 лет назад
+M1zzu q I know, but that voice sounds like a damaged robot xD
@saltyman7888
@saltyman7888 7 лет назад
maybe he is a robot?
@Samuelfodao
@Samuelfodao 7 лет назад
He tried to speak "such" but missed. "Suchi, Sa, Suc... and finally such.
@predragmiletic3078
@predragmiletic3078 6 лет назад
sorry to ask you again, i forgot the answer.. could you tell me what font do you use at 0:17 in that first terminal?
@Bisqwit
@Bisqwit 6 лет назад
The font is either ‑misc-fixed-bold-r-normal‑‑15-140-75-75-c-90-iso10646-1 or ‑misc-fixed-bold-r‑*‑*-30-280-75-75-‑-iso10646-1, in this case probably the former, or some other character-set variant of it (such as iso8859-15).
@rishavmajumdar6954
@rishavmajumdar6954 8 лет назад
Hi, I'm new to c++ and I noticed you always type std:: before all your lines. Why don't you use namespace directive so you dont have to write those std:: before every line.
@Bisqwit
@Bisqwit 8 лет назад
If everyone was supposed to do using namespace std;, why would the language even have such a misfeature, forcing developers to circumvent it? There is a purpose and intention to every feature in the C++ language, and with namespaces the purpose is in differentiating symbols that come from user code from symbols that come from the standard library. The C++ standard library is very large, and not every developer can be expected to remember all symbols that exist in it. With namespaces, when you run into, say, std::iota or std::lexicographical_compare or std::sort or std::map, you know immediately on sight that this is something defined in the standard library. If you don't remember what it is, you know that you will find the answer in the library documentation (such as at en.cppreference.com). Without the std:: prefix, there is a moment of confusion when you aren't sure whether this symbol is possibly defined elsewhere in the program and you just missed it. After doing this systematically, it becomes the second nature. The minor inconvenience of your code being littered with std:: prefixes is minor compared to the benefit you get from doing this, and the benefit you give to other people who read your code. Additionally and perhaps even more importantly, the namespaces prevent there from arising nasty mixups and conflicts from user code and library code defining the same symbol (such as vector, list, or map). And now with C++11 and its "auto" keyword, the situations where you _need_ to repeat the std:: prefixes is even diminishing.
@rishavmajumdar6954
@rishavmajumdar6954 8 лет назад
oh wow thanks for fast reply! c:
@ltefrt9287
@ltefrt9287 6 лет назад
Please explain in new.php what are strange strings in the definitions of delays and sf1 etc
@Bisqwit
@Bisqwit 6 лет назад
The strings for F1, UP, INS etc. are keyboard input sequences. On the PC platform, when the BIOS is asked to return the key that was pressed, special keys that are not character codes, such as F1 or the up arrow are returned as a sequence where the first byte is zero (your editor may show the zero byte as an inverted @ or a box or a question mark) and the second byte is a “scan code”, where its number value is important and its character representation is insignificant. For example, the up-arrow is 0 72 (or 00 48 in hexadecimal), so as a string it will appear as "\0H" or "@H" (nul characters cannot be entered in RU-vid comments so I used @ as a placeholder)). The slow-down sequences like DELAY8s include one or more of these special inputs (such as Alt-F, which does nothing in the editor so it can be used as an idle key) and a special sequence that begins with ÿÿ and is followed by a character code that instructs inputter.com to change its entry speed.
@kyanhluong
@kyanhluong 9 лет назад
So if you using window machine ssh to linux server, why do i see you execute command from ssh then i see dosbox window start right to the program you want ?
@haakonness
@haakonness 9 лет назад
+Luong Kyanh He has a X-Server running in windows, so the X applications on his linux is started with a window in his windows machine. When he SSH's with the -Y option, he is tunnelling the X data via the ssh connection.
@marci0_cr
@marci0_cr 6 лет назад
Arriba arriba deja con eso xD, and good video
@andreslb151
@andreslb151 5 лет назад
Why didn't you use the "sort -R" command instead?
@Bisqwit
@Bisqwit 5 лет назад
I am aware that the command I created at 4:55 is needlessly complicated, and could be replaced with: find /WWW/music/spc -name \*.spc | sort -R | tr '\12' '\0' | xargs -0 -L1 sh -c 'spcplay "$0" ﹤/dev/tty' However, I had temporarily forgotten about "sort -R" when I made this video, and it did make for a small enough example program to serve as a plot device.
@Yonac
@Yonac 7 лет назад
רק אני הבנתי את ההתחלה?
@shmuel-k
@shmuel-k 5 лет назад
לא רק. גם יש לו וודיוא מיוחד להסביר את ההתחלה.
@GrzesiekJedenastka
@GrzesiekJedenastka 5 лет назад
Wait... What? You have two computers, Linux on both, and one is server and the other your PC. On PC you have QEMU instance with Windows as guest... Just to SSH to the server? Why not just use host OS to connect to the server?
@Bisqwit
@Bisqwit 5 лет назад
Back when this video was made, none of my computers was fast enough to do desktop recording in real time, so I needed some crafty measures to make this video happen.
@GrzesiekJedenastka
@GrzesiekJedenastka 5 лет назад
@@Bisqwit Oh... I didn't notice the upload date. I came from card in one of latest videos. Thanks for quick response anyways!
@NikitaLindmann
@NikitaLindmann 6 лет назад
Shalom! Maybe you should use tmux or screen instead of opening lots of terminal windows?
@Bisqwit
@Bisqwit 6 лет назад
Maybe. Not sure why I didn't think of it here. But I use ctrl-a and ctrl-b lots in editing so I don't like to edit under screen/tmux, because they use those keys respectively as command keys.
@NikitaLindmann
@NikitaLindmann 6 лет назад
Bisqwit I think it can be redefined in tmux.
@Bisqwit
@Bisqwit 6 лет назад
As can be in screen, but I prefer not having to learn a new set of hotkeys for the same software on every machine I work on.
@HolyAvgr
@HolyAvgr 8 лет назад
Why not script the copying and setting up of new projects instead of typing each and every file every single time?
@Bisqwit
@Bisqwit 8 лет назад
Which files am I typing every time?
@HolyAvgr
@HolyAvgr 8 лет назад
Didn't you say that everytime you start a new project you copy those same files (at which point you proceed to cp a few .php and apache files, I believe). Roughly 7:50 mark.
@Bisqwit
@Bisqwit 8 лет назад
So if I'm copying them I'm not typing them from scratch, right?
@HolyAvgr
@HolyAvgr 8 лет назад
I mean, if you always copy "those same files" (which might be something I misunderstood) I'd rather write a quick bash file to do it all for me and run one line instead of N-many lines.
@Bisqwit
@Bisqwit 8 лет назад
I usually take them from the most recent project, where they have my most recent edits to them. So it would be a bit different each time. Considering I only do this like two or seven times in a year, it's not that much a big deal.
@seanpianka1818
@seanpianka1818 8 лет назад
Bisqwit, what font do you use?
@Bisqwit
@Bisqwit 8 лет назад
Usually when I make videos I use things specially designed for video production, readability etc. It is (sometimes very) different than what I use normally.
@MrKian-xe1so
@MrKian-xe1so 9 лет назад
Can someone explain to me what that anime character is that appears on the top of the active window? Character, and application/extension that allows it?
@Bisqwit
@Bisqwit 9 лет назад
Kianou The window sitter is a program called MaCoPix. You can download it here: rosegray.sakura.ne.jp/macopix/index-e.html
@MrKian-xe1so
@MrKian-xe1so 9 лет назад
Bisqwit Ah thankyou :)
@4strokeperro949
@4strokeperro949 5 лет назад
ArRibA! aRriBa!
@reductor_
@reductor_ 6 лет назад
The numbering reminds me of working with basic, I'm guessing you use gaps of 10 for the same reason to insert things n the middle when needed
@Bisqwit
@Bisqwit 6 лет назад
Yes, that is exactly the same idea.
@RaaynML
@RaaynML 9 лет назад
I wonder how long it takes to know C++ so well that you can make programs so easily as that. It takes me a lot longer to learn what functions in the C++ std library do exactly and how to use them properly.
@BGBTech
@BGBTech 9 лет назад
ShadowMassacr13 even for someone who has been writing code for 15 years or so on a fairly regular basis, there is still occasional need to check documentation or similar, and occasionally turning out to be a little off about something, ... not sure if anyone really fully internalizes the standard library (or OS libraries). though maybe some people have more reliable memory, dunno... in terms of peak output speed, I think around my upper limit is around 2kLOC/day or so, which if one assumes writing code for 10 hours, would work out to an average of around 18 seconds per line. per-year estimates tend to be a bit lower (if this were maintained, it would be around 0.73MLOC/yr, averages had tended more towards net code inflation of around 0.2 or 0.3 MLOC/yr). recent values have likely dropped a fair bit, as I haven't been doing as much coding (been working a lot more on other stuff, and currently lack any big high-level coding projects, instead working a lot more on electronics and similar, and code for controlling said electronics, which is nowhere near as much code).
@RaaynML
@RaaynML 9 лет назад
Brendan Bohannon Wow that is a ton of code to me. I guess I'm just a slower coder, hopefully I can get that fast semi-soon.
@BGBTech
@BGBTech 9 лет назад
ShadowMassacr13 I guess it depends. if I really get into it, typically if there is something compelling to work on, then can write code a bit faster. have noted that factors for speed are not as much about how quickly it can be typed, but more how much thinking is needed. things can be done a bit faster in cases where not as much thinking is needed (needing to think about things slows everything down). debugging time is also a factor, but in my case I suspect I haven't really been having too much trouble with bugs being difficult to track down, but this still happens occasionally. much of the rest of the time seems to be things like YT videos and online forums, or occasionally doing things IRL like soldering components to make circuit boards or similar.
@nthexwn
@nthexwn 8 лет назад
+Brendan Bohannon Are these estimates from paid work? The biggest shock to me upon entering the professional world has been how little code I actually get to write. Most of my time is spent on meetings, e-mail, or dealing with all the various tools and enterprise infrastructure. I'd be very happy if I got to write even 100 lines of code a day!
@nthexwn
@nthexwn 8 лет назад
+Brendan Bohannon "typically if there is something compelling to work on, then can write code a bit faster." - This is so true! I remember a hardware class I took back in school where our group was tasked with writing a 68K disassembler... In 68K assembly language. I thought about it all day, went home, and hammered out 4,000 lines in a sitting. It was one of the most engaging experiences of my life! I actually had to hold myself back and not complete the entire thing right there so that my teammates could still feel like they contributed, lol. In the professional world it seems rare to get a project that you can just 'do' like that.
@igronus
@igronus 5 лет назад
Why didn't you use 'sort' command?
@Bisqwit
@Bisqwit 5 лет назад
Quote from video description: I am aware that the command I created at 4:55 is needlessly complicated, and could be replaced with: find /WWW/music/spc -name \*.spc | sort -R | tr '\12' '\0' | xargs -0 -L1 sh -c 'spcplay "$0" ﹤/dev/tty' However, I had temporarily forgotten about "sort -R" when I made this video, and it did make for a small enough example program to serve as a plot device.
@multicoloredwiz
@multicoloredwiz 9 лет назад
hey i'm one of the fifteen accounted for... where'd that number come from?
@Bisqwit
@Bisqwit 9 лет назад
multicoloredwiz It is called "estimation".
@csdolan6128
@csdolan6128 9 лет назад
99 like 0 dislikes Do you recommend any books? (C++)
@Bisqwit
@Bisqwit 9 лет назад
Counter_Sanic I'm just borrowing other people's recommendation: C++ Primer (ISBN 978-0321714114). I wouldn't know, I don't read many books. Sorry.
@DjVortex-w
@DjVortex-w 9 лет назад
Counter_Sanic Scott Meyers has written many excellent C++ books, such as _Effective C++_ and _More Effective C++_ (they are a tad old now, but still quite relevant.) I haven't read _Effective Modern C++_ but I'm assuming it's also good, given his track record.