Brian is as hardcore as they come. He's almost 80 years old and takes on implementing Unicode in AWK as a fun summer project.
@MladenMijatov2 жыл бұрын
I hope to be like that one day. The more you keep your brain active slower it deteriorates. Doing stuff like this is not only fun but beneficial.
@TAP7a2 жыл бұрын
He also doesn't look a day over 64, which is wild
@tejeshreddy62522 жыл бұрын
He's 80!?? Wth he looks atleast 10years younger than that
@agranero62 жыл бұрын
@@tejeshreddy6252 Is he 80? He seems much younger.
@SMJSmoK2 жыл бұрын
@@agranero6 Only his year of birth is public. He was born in 1942, so he's either 79 or 80.
@rythgg2 жыл бұрын
Al Aho and Brian Kernighan both seem amazingly youthful still, despite them both being 80+ years old... Must've been something in the water at Bell Labs :)
@me0002 жыл бұрын
Doug McIlroy is still chatting on a UNIX mailing list :)
@Z-Diode2 жыл бұрын
It’s not the water at Bell Labs, but their decades of thorough mental training.
@sp33r2 жыл бұрын
i hope i age as well as them 😁
@1anre2 жыл бұрын
@@Z-Diode how did they exercise that?
@1anre2 жыл бұрын
@@me000 how can one join it?
@zzord2 жыл бұрын
You know someone is a legend when their programs are still widely used 4 decades later.
@magicjuand2 жыл бұрын
there's something very comforting knowing that Brian Kernighan is still out here with the rest of us, hacking away at the myriad problems that exist in this massive world of code we've built. he's all of our dads.
@thenoblerot2 жыл бұрын
I'm so glad these conversations are being had and documented! Thank you Mr. Kernighan and Computerphile!
@Yaxqb2 жыл бұрын
The part of him still contributing to awk to this day... I'm speechless. I don't stand up to unicode, but this man in his best 80s is doing it overnight. Legend
@nanokoder36352 жыл бұрын
They're both incredibly sharp for their age. Shows all you need to know about keeping yourself intellectually engaged throughout life.
@macdeep85232 жыл бұрын
How to be like then till end ?
@cyphercat.itat402 жыл бұрын
@@macdeep8523 Brian Kernighan: Use python!
@dorgeshuun Жыл бұрын
@@cyphercat.itat40Just import the "antiaging" module.
@spoddie2 жыл бұрын
The world owes so much to men like these, and especially Bell Labs
@andrewharrison84362 жыл бұрын
Absolutely spot on about COBOL. Fixed length records, redefined as required which fitted so well with financial processing and fixed layout forms such as invoices. Packed decimal so 2 digits per byte with no rounding issues. A verbose language so fairly readable/maintainable. The right language for the task it was intended for (and hideous for other tasks). This is such a civilised and knowledgeable conversation to listen to.
@janekschleicher96612 жыл бұрын
Also, it's hard to believe that fixed digit precision is 2nd or more 3rd class for all other programming languages. Even when working with databases as data engineer, once there are several data imports, exports and conversion, so numeric values tend to be differently or differently displayed what is at least confusing and can also easily give a false sense of precision. While, there's in databases a way to declare fixed precisions, most intermediate formats used for any conversions lack them: there's no way to declare fixed precision in JSON, CSV, Parquet, Protobuf, Numpy, Pandas and while most programming languages have a way (most often via 3rd party libraries), it's really common to get lost via any conversion. Usually you'll end up either working with strings (that could be invalid numbers and are hard to work with, e.g. creating a graph, calculating averages, stddevs, etc) or you work with floats and store a precision to them and hope that it does not get out of control if different system use float32 vs float64 and everybody remembers to round back them (doesn't also really work in practice and float64 is usually taking off more memory than most fixed precision formats would need). A third option would be to store it as multiplicated integer together with the information of the factor what is also done in practice, works somehow, but often has the danger to be misinterpretable, so it works more if you can represent a value in a smaller unit, e.g. time_ms or weight_ng, but not so well if there is no natural subunit (e.g. a ph of 6.24 would confuse people and programmer to be seen as 624). I wondered a lot in my last project (where I worked with biochemists joining different data sources and making them as accessible as possible without changing or "interpreting" the data - the FDA would not like any manipulations) - why this basic beautiful concept of fixed precision values got so much lost of support over time.
@andrewharrison84362 жыл бұрын
@@janekschleicher9661 Ouch, that's quite a rant - and well justified - upvoted. IBM supported packed decimal well, DEC Vax supported it but performance was awful (converting to float about 1000 times a float addition if I remember correctly)
@rajeshprajapati18512 жыл бұрын
We need more Coffee with Someone - Computerphile
@threeiem2 жыл бұрын
Thank you all so much for recording such a great discourse. It's great to have all of this documented and in such a pleasant setting.
@theinquisitor182 жыл бұрын
This makes my heart happy.
@eonraider2 жыл бұрын
These OGs are such amazing examples of clear minds, enthusiasm and accurate communication. They can be 70yo and still be getting after it after all this time. Their only difficulty is carrying the weight of their huge balls.
@vault13dweller152 жыл бұрын
They are nearly 80 not 70. I wish I will have mind as clear as them at that age (if I reach it).
@jg58752 жыл бұрын
Lol. Yeah these guys are great. And so humble 👍🏻
@macdeep85232 жыл бұрын
@@vault13dweller15 how to be like then ? What shd we do
@petersansgaming87832 жыл бұрын
@@vault13dweller15 same. Hope the dementia that seems to be genetic on my paternal side doesn't get me.
@VaibhavSharma-zj4gk Жыл бұрын
Brain Kernighan and Dennis Richie has changed the world. They are the real heros.
@m1k3e2 жыл бұрын
This guy is a saint. I watched this video, along with the Lex Fridman interview, and he always comes across as such a humble person despite his legendary accomplishments.
@Raatcharch2 жыл бұрын
I'm a (relatively) young developer, and AWK is hands-down one of my favorite tools. It's a bit arcane, but so flippin' powerful once you get the hang of it.
@davidclarke98242 жыл бұрын
Priceless! Two elder statesmen of Computer Science reminiscing over coffee in an English country garden. Prompted me to find my Bell Technical Journal of July 1978 "Unix Time-Sharing system" to re-read "Document preparation" (Kernighan / Lesk & Ossanna) and "Statistical text processing" (McMahon / Cherry & Morris) which immediately preceded the edition first talking about Awk. Awk (and in particular Tawk, from Thomson Automation) served me very well over about 20 years of developing and maintaining scripts for text re-formatting between mainframe datasources and typesetting and page layout systems (pre-DTP, mostly).
@JeannoC2 жыл бұрын
Professor Brailsford is the perfect host for this video for an uncountable number of reasons.
@novafawks2 жыл бұрын
Absolutely!! You can see how excited and happy he is, as well as how intent he is on listening. He's loving it!
@assert_justice37832 жыл бұрын
I love that adding utf-8 to awk was his "fun summer vacation project" 😂
@codecaine Жыл бұрын
😂
@SweDennis2 жыл бұрын
Everytime I see a clip with Brian K I stand up and make a salute, figuratively speaking. I've been using gawk for decades, and for what it is, for the domain where it's applicable, there's nothing that beats it. gawk's got everything these days, networking/sockets, sub-processes, name spaces, associative arrays ... I just love it and more often than not it's well enough for the task at hand. :-D
@Danny-hj2qg2 жыл бұрын
Indeed.
@kenwood71952 жыл бұрын
My little homage goes - "Everyone shut up, Kernighan's speaking".
@gromett2 жыл бұрын
Every time I see him I think of that fantastic book by him and Dennis Ritchie. That to me is still the best programmers reference manual ever written. Got my first copy in the 80's and still have one lurking in my collection to this day. "The C Programming Language" if you have never had a copy, go get one even if you don't program in C.
@atlantic_love2 жыл бұрын
I still haven't figured out how to make gui apps using C. Did that book ever teach that?
@RyanMartinRAM2 жыл бұрын
@@atlantic_love Need to use a library like QT or system calls like the Windows Forms API.
@supercompooper2 жыл бұрын
I've got mine signed 👍
@DominicMorris12102 жыл бұрын
@@supercompooper wtf OG
@1anre2 жыл бұрын
Why? When one can understand computer concepts from other languages, what especially unique about that book?
@beageler2 жыл бұрын
I'm a dilletant, and only used AWk when I was building scripts for automatic generation of jobfiles and parsing and visualising the results for write and transfer speed tests in HPC. It was also the first time I worked under linux for more than feeding jobs into the universities printer system. I was blown away by everything and how obvious it was once you thought about it. The pipeline and I/O manipulation alone blew my mind. My quintessential AWK experience was when I was working on parsing the output and was amazed that bash had not only the pipeline and the i/O redirection but also something this nice one could use to manipulate the data. When I realized that I was, at the moment, scripting gnuplot inside AWK which I used inside a bash script to manipulate the data I got back from the cluster after sending the command files that I generated in a bash script... And all of that was older than myself... Talk about amazement and humility.
@pervasivedoubt1502 жыл бұрын
Kernighan: “I couldn’t get my version of GRAP to work but someone online had a working version so I’m grateful.” Brailsford: “Who wrote GRAP?” Kernighan: “I did!” Hilarious
@laszlohosszu172 жыл бұрын
No, they’re talking about GRAP, the graph program for troff.
@pervasivedoubt1502 жыл бұрын
@@RobinWootton plus Kernighan didn’t write grep. Ken Thompson did
@profdaveb63842 жыл бұрын
what i was trying to recall was who collaborated with Brian in creating GRAP? The answer, I think, is Jon Bentley.
@RobinWootton2 жыл бұрын
Laszlo and Pervasive, thank you for your correction; I've withdrawn my comment on grep. Professor Brailsford, always an honour to be in your audience.
@laszlohosszu172 жыл бұрын
@@RobinWootton No worries, grep grap awk etc they have seen it all. I had never heard of Snobol before this video, which just goes to show how interesting these videos are.
@andljoy2 жыл бұрын
The look of horror on Professor Brailsford face when Brian says use python. :D Love it .
@utl942 жыл бұрын
At 2:49
@ArumesYT2 жыл бұрын
But he's right. While AWK might be better for specific tasks, why learn another language/tool when you already know Python? Python is such a great general purpose tool, there's really no need to learn AWK on top of that.
@coderider30222 жыл бұрын
Lol yeah. In theory yes but practice no. Lacks a big backer to be good.
@Rockyzach882 жыл бұрын
@@coderider3022 You're literally using a website written in python right now.
@dexter93132 жыл бұрын
I hate python so much (partly for being so popular that I HAVE to use that). I can understand this look.
@BlankBrain2 жыл бұрын
I remember having to mask (right character) and shift (left character) in integer array elements to process text in FORTRAN. The first program I wrote compressed magnetic tape backup indices so they could be printed. Later, they were sent out on tape to be put on microfiche. The program allowed the operator to enter tape numbers so once files were located in the index, the tape to be pulled was at the top of the column.
@chkhd2 жыл бұрын
Love AWK, and love Brian's energy! He could easily be in a Duracell commercial for nerds :D
@1anre2 жыл бұрын
Humbling to see Brian still sharp on his wits & brisking with details on Tech concepts & fundamentals
@black_platypus2 жыл бұрын
Awww yesss! When I watched the last video yesterday and saw the end slate, I thought there was nothing that sounded nicer than a cozy coffee chat with Prof Kernighan but alas the link wasn't up yet. Today I see this and my favorite computer scientist teddy bear Prof Brailsford is the other side of this chat! What a lovely evening 😊👌❤
@IAmPraki2 жыл бұрын
I learned a lot from the books BK, DMR and others wrote. As a young person with no formal training in this field, those books made my dream of working in CS true. Awk is a tool I still pull out for when pure shell scripting is 'awkward'. FWIW, I have used Troff, Scribe, TeX/LaTeX for typesetting and there is no better tool than TeX/LaTeX for producing text and graphics. The sheer number of packages that address the production of everything from pseudocode to Feynman diagrams makes LaTeX worth the effort it takes to learn it. TikZ is another reason I use LaTeX. I hope BK gives it try, despite the 5GB download (which is no more than streaming a single HD movie in terms of traffic).
@tekvax012 жыл бұрын
I use AWK every day, for all sorts of things! SED, TR, and CUT are also very helpful indeed!
@mosscliffe2 жыл бұрын
AWK - the best utility program ever. Thank you Prof Kernighan etc. I still use it and I have still got the book. Tim
@wxnut19412 жыл бұрын
I Introduced to UNIX in the 1980s and I still use awk, grep and originally troff but now groff. I have a copy of the 1988 version of "The AWK Programming Language" and now waiting patiently for the updated version. :-)
@linuxpropaganda2 жыл бұрын
Dr brailsford is always so relaxing, he should do an asmr series where he reads c libraries docs, I would sleep to it for the rest of my life lol
@mattsadventureswithart57642 жыл бұрын
For me, not so much c, but python.
@linuxpropaganda2 жыл бұрын
@@mattsadventureswithart5764 oh that'll do as well
@NeonGreenT2 жыл бұрын
Bruh this made my day
@jfwfreo2 жыл бұрын
This guy is one of the most important people in the history of computing IMO.
2 жыл бұрын
latex is an onion of layers build up on layers, many of which dating back to times when both of you where in there twenties... but once you invested a couple of hundreds of hours, it allows you to render gorgeous documents from simple markdown and a template... totally worth it!
@theRPGmaster2 жыл бұрын
Choosing between learning assembly or latex, I'm not sure which is worse
@petersansgaming87832 жыл бұрын
@@theRPGmaster why not both :)
@theRPGmaster2 жыл бұрын
@@petersansgaming8783 As a programmer, AKA someone who suffers for no reason, your challenge is very tempting
@chaoslab2 жыл бұрын
Wonderful stuff you two lovely gentlemen. Always a joy to see interviewing people Professor Brailsford.
@vimalk782 жыл бұрын
Am i evil if, while watching this video, i think and wish that Futurama's Head Museum was real? After a few years, there would be very few people left to talk about early computer history, programming, Unix etc. Though Computerphile has done a stupendous job of recording these conversations.
@captainepoch6 ай бұрын
Amazing listening to Brian, a truly OG of the computing world.
@ireallyamrumi2 жыл бұрын
It's astonishing to live in an era where you can watch a video with Brian talking about troff
2 жыл бұрын
These two together in an Video. What a treat 😍. Thanks alot
@romulusnr2 жыл бұрын
To this day I still reach for Awk time and again. It's choice for dealing with nearly any kind of structured text data. It's very powerful at it and fairly lightweight. I can't think of a language that does what Awk can do out of the box except maybe Perl, and yet it does it so more intuitively. I will routinely do bash one liners with Awk scripts in them to process, transform, aggregate, even mine data.
@darrellroyter46482 жыл бұрын
I was happy to hear James Clark mentioned in the conversation. He created DSSSL. It was a subset of Scheme for parsing and formatting SGML documents.
@mvadu2 жыл бұрын
As some e dealing with kubernates on a daily basis awk and grep are my most used commands.. Thank you professor for bringing it to us..
@dw14442 жыл бұрын
these two Professors are you best people on this channel
@danceswithdirt71972 жыл бұрын
7:03 - shout-out to Arnold Robbins! You can find books by him from O'Reilly about (you guessed it) awk as well as other programming-related stuff.
@sub-harmonik2 жыл бұрын
What a legend. I loved reading K & R too
@russellcannon91942 жыл бұрын
I love these UNIX history videos. Cheers, Russ
@emacsism17892 жыл бұрын
God bless these two men!
@itskdog2 жыл бұрын
Amazingly stable camerawork despite not being on a tripod. Good job to Sean and Steve here.
@baganatube2 жыл бұрын
Wow! The fact that the K himself is still coding new features into AWK makes me respect this piece of software I use basically everyday even more!
@richardnorton34532 жыл бұрын
A delightful conversation. Thank you very much for sharing this!
@martinbrabham24982 жыл бұрын
We need a double like button for this, brilliant.
@RealLimerickman2 жыл бұрын
AWK and grep is my most used command outside ls and cd.
@DontMockMySmock2 жыл бұрын
two Computerphile legends in one video! awesome
@GeorgeMacon2 жыл бұрын
You might look into tectonic, which is a XeTeX implementation that lazily downloads the packages instead of needing the 5GB all at once.
@Mnogojazyk2 жыл бұрын
Two of the greats. I hope there is more of this conversation, and we get to listen to it.
@paktric2 жыл бұрын
I could listen to these two talk for hours
@abhirajkarki82722 жыл бұрын
25:20 Definitely xelatex. I have used it to write notes in nepali unicode for five years now --the documents printon the printer, and has never failed me.
@wasabinator2 жыл бұрын
A living legend, and still as sharp as ever.
@Nethershaw2 жыл бұрын
Wow. Actually got an early scoop on a software update in the pipeline for a program from 1977. What a conversation.
I used AWK MANY years ago, and it was a lot of fun.
@nnm352 жыл бұрын
So exicited to hear awk will support UTF-8 ... AND a new version of "The Awk Language" may appear!!!! (please include a "how this document was published" look at the updated tool set! Awk forever!
@thingi2 жыл бұрын
Awk, grep, sed and bash were my daily tools for over 20 years in telecoms. Fascinating conversation, loved every bit of it :D
@gfhrtshergheghegewgewgew17302 жыл бұрын
always good to see and hear from brian
@BytebroUK2 жыл бұрын
OMG. BWK has added UTF8 to awk. Amazing. These days I would use Perl (old school, sorry!) but still very fond of awk.
@joinedupjon2 жыл бұрын
Love this series - when I came to unix we were using it for fileservers and graphic workstations and oracle databases but you could tell from exploring the shipped binaries and man pages that somewhere down the line it had been through the hands of guys who were really into their text files, reg expressions and linotype machines. didn't really get the linotype machines tbh but by then the apple mac and laserwriter had already been out a few years.
@ProVrakian8 ай бұрын
New goal: to make something so well I feel comfortable referring to it as ‘inscrutable’ Legend.
@madslothga2 жыл бұрын
This is awesome, thanks for recording it.
@sheumack2 жыл бұрын
Only been using awk since about 1993, and never knew the K was Kernighan (or why it was called awk at all). I assume that was written somewhere in the O'Reilly sed and awk book, but that bit of information didn't stick.
@codecaine Жыл бұрын
I could listen to them talk all day!
@Richardincancale2 жыл бұрын
Most of my computing life was working on non-numerical software - great to hear this discussion about programming languages I have loved (and hated)! I recall that using SNOBOL4 on the CDC6600 was the first time I could get to using 1/10ths of a second of CPU time instead of hundredths or thousandths of a second. Used Fortran on the same machine for some text processing - using 60 bit words to store one 6-bit character in each, fast but frowned on! Worst was trying to program a recursive database search in COBOL - very unnatural!!
@macdeep85232 жыл бұрын
Have you used PASCAL ?
@kevincozens68372 жыл бұрын
I frequently use AWK for simple text processing. I mostly use it to extract columns of text, or to reorder some columns of data, or sometimes to count or total columns where I need BEGIN and END blocks in addition to the one line of AWK. I rarely use its pattern matching features. When I need to do something with a text file that is a bit more complicated I turn to Perl. I still have my copy of the original book on AWK. It sits on a shelf right beside the first and second editions of the C bible. :)
@cyphercat.itat402 жыл бұрын
I imagine that if you just kept solving problems as a daily habit throughout your daily life, you'd come off like this no matter what age. There's a lot of humility here as well, I think.
@shayneoneill15062 жыл бұрын
Man I remember learning Awk at Uni in the early 90s. I just checked, Its installed by default on an OSX mac on 2022. I'm not even sure python is still installed by default, I think apple stopped bundling Python, Perl and Ruby. But Awk is still there, quietly unacknowledged and chugging away just fine. I wrote entire applications in that damn thing, back in the 90s. Probably not a good choice, but the only "real" language that was installed on those old refrigerator sizewd Unix machines at the time was bloody Cobol. Well probably C too, but I hadn't learned that yet. Different times lol. Also the weird name for AWK is very Unix. grep, sed, awk, sudo, as well as a host of even more inscrutable acronyms, dd, bc, ls, etc etc.
@ChrisSeltzer2 жыл бұрын
Absoulte legend. Our industry is better for having him in it.
@ChristopherHailey2 жыл бұрын
awk is one of my most commonly used tools, I don't think younger people realize the power of it and how easy it is to use and why it's a "daily user".
@BobFrTube2 жыл бұрын
The comment about decimal reminds me of the design decision in VisiCalc to do decimal arithmetic so the roundoff errors would match what accountants expected. Turns out they didn't care when all other spreadsheets did binary arithmetic.
@dankrukov18902 жыл бұрын
awk is the best text stream transform tool in unix pipeline, classic craftsmanship masterpiece.
@danzacjones2 жыл бұрын
Please follow this up with like "Rave with Donald Knuth"
@sisyphus_strives54632 жыл бұрын
Lovely work, these videos bring a smile upon my face as opposed to the absolutely infantile content I am recommended on youtube.
@phildenfer2 жыл бұрын
We're so lucky we have bwk's software and its variations for free on so many distros, saving time, saving money, with very few changes over time so you don't have to get used to it again when it changes.
@TesterAnimal12 жыл бұрын
I remember using awk to upgrade a whole software package from directly outputting hardcoded VT100/VT220 escape sequences and line feeds and carriage returns for terminal IO to using a simplified UI library which wrapped the language’s terminal windowing library. Handling all the coding styles, output statement types and ways that escape sequences and terminal control characters could be expressed took ages. But one day I ran the thing on the entire codebase. It evolved the system to use a UI library for all interactions. And that allowed it to evolve further to keep up with evolving UI standards.
@olivier25532 жыл бұрын
I used awk for one task tis year. I cannot remember where and why, but it was the tool to use at that time (or launch Perl in the middle of a shell script).
@supercompooper2 жыл бұрын
Looking healthy and not aging much Brian!! 👍
@thesecondislander2 жыл бұрын
When i am Brian's age i hope to be as humble and laid-back as he is.
@hugoestrada20892 жыл бұрын
I love how he will pick python to do some tasks. The living example of picking the right tool for the job
@yearswriter2 жыл бұрын
Hey, I still use awk in the scripts and config\log parsing all the time, it is powerful, and it is already there with all of the Linux distros.
@atlantic_love2 жыл бұрын
Except Linux is awful in other ways, that's why I stopped using it years ago. I'd love it if it could run all software that runs on Windows, natively without using the stupid WINE program.
@NitroNilz2 жыл бұрын
@@atlantic_love so you jumped over to Windows? I went the other way and landed in OpenBSD on my desktops. Fantastic - and in the spirit of UNiX.
@Lantalia2 жыл бұрын
I always found it easier to do this sort of thing in perl (and much easier to go from a perl 1 liner to a perl program)
@unsteadyeddy31072 жыл бұрын
Wood pigeons laying out the fundamental facts in the background: "Woo-WOO-WOoo-woo-woo!"
@devoiddude2 жыл бұрын
Always a pleasure to watch a video on this channel, thank you for making them, always a pleasure to listen to these two legends as well.
@dfs-comedy2 жыл бұрын
I still use AWK for one-liners pretty regularly.
@sirparksalot24612 жыл бұрын
The CSV update is much appreciated! I hope that makes its way to GAWK. Thanks Brian.
@SubTroppo2 жыл бұрын
My first experience with computers in a very minor way was with Fortran which was punch cards & wait. My second was operating an accounts computer and masses of print-outs. When I had to use them again there was spell-check and find. Now I know who is a major cog in the staggering changes. And still at it to boot! (Puppy Linux user)
@tobiasbraun1185 ай бұрын
How can anybody be so sharp at 80 years of age? Amazing.
@yash1152 Жыл бұрын
9:34 regression tests: (preciseness) reproduce what u did last 9:44 absolute tests: (accuracy) produce exactly this
@yash1152 Жыл бұрын
8:42 handling csv input so, just "c"-sv i.e. comma precisely, or can u specify any delimiter in general too - the "dsv" (spaces, tabs, pipes, etc..)
@WallaseyanTube2 жыл бұрын
AWK is a beautiful tool for some rather complex in-line stream filters.
@dellrazor38552 жыл бұрын
Nothing finer than sliding a sed/awk snippet into a bash command to gett'er done!
@jimcallahan4482 жыл бұрын
I always thought it was interesting the culture gap between IBM punch card fixed length records (& later databases). While AT&T had teletype rolls of continuous characters and the definition of files as a string of characters of random length.
@mattsadventureswithart57646 ай бұрын
I love that despite him still actively developing awk, he says if you only have 1 programming language in your life to use python.