Doing some real-world work in VIM!

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 179

  • @simonedeiana2696
    @simonedeiana2696 5 ปีที่แล้ว +390

    As the saying goes: ”if your only tool is VIM then every problem looks like an ASCII text file”

    • @IrizarryBrandon
      @IrizarryBrandon 5 ปีที่แล้ว +35

      As it should.

    • @TehKorwinMikke
      @TehKorwinMikke 5 ปีที่แล้ว +29

      Vim works really nice with UTF-8 too.

    • @matteolacki4533
      @matteolacki4533 5 ปีที่แล้ว +12

      precisely! a simple db would solve the problem elegantly

  • @ansgar123
    @ansgar123 5 ปีที่แล้ว +54

    5:50
    C.S. Lewis, Evola, Nietzche
    BASED

  • @channalbert
    @channalbert 5 ปีที่แล้ว +92

    Careful! Your Stephen Hawking's _A Brief Story of Time_ wasn't matched to the regex because of the space between

  • @Lsvy97
    @Lsvy97 5 ปีที่แล้ว +49

    Hahah, look, it's Brave! Luke fell on memes again.

  • @MMedic23
    @MMedic23 5 ปีที่แล้ว +60

    Here's a bit of advice from a librarian:
    Your personal archive rarely benefits from international classification standards. Whatever floats your boat, I guess, but I would organize my books in my own way, the way I'm comfortable with, and recommend anyone else to do the same.

    • @Axlefublr
      @Axlefublr 5 หลายเดือนก่อน

      I think it's just the autism. Well, at least as an autistic, organizing books by some sort of cool number related standard sounds incredibly exciting.

  • @ianpan0102
    @ianpan0102 5 ปีที่แล้ว +37

    The man who inspired my vim passion

  • @ac130kz
    @ac130kz 5 ปีที่แล้ว +25

    sql with vim, sounds legit

  • @catwhisperer911
    @catwhisperer911 5 ปีที่แล้ว +21

    Hey, Luke, I've got 10+ years of Vim behind me and I'm still amazed at its versatility and adaptability. I just recently subed you; I'd been watching you for a long time and it finally dawned on me, hey, why aren't I following this guy?

    • @imtiyazshaikh5331
      @imtiyazshaikh5331 5 ปีที่แล้ว

      @@javaman4584 Even I want to know this.

    • @catwhisperer911
      @catwhisperer911 5 ปีที่แล้ว +1

      @@javaman4584 I don't think everyone learns the same way but when I was first diving into vim I'd use the editor that I was most fluent with 90% of the time I was editing but always devote the remaining 10% of the time during the day to vim. As I became more comfortable with vim I'd increase the amount of time I allocated to using it each day. At some point I felt confident enough to make it my full time, go to editor of choice. And of course I also watched a lot of videos and read a lot of articles about vim. Like I said, I think everyone learns differently but what I described worked for me, starting first with baby steps and gradually building my confidence over time.

  • @alkeryn1700
    @alkeryn1700 5 ปีที่แล้ว +11

    The sort command has delimiters tho, so you could in theory sort by a delimiter
    also awk can do more advanced sorting ^

  • @simonced
    @simonced 5 ปีที่แล้ว +12

    you could `g/something/d` to delete matching lines, no need of `norm dd` for that.

  • @ryujin7177
    @ryujin7177 5 ปีที่แล้ว +19

    Luke uses Brave now
    AAAAAAAAAA

  • @TdTSimonBE
    @TdTSimonBE 5 ปีที่แล้ว +16

    Power of :g and sort combined:
    :g/

  • @damonmassey4426
    @damonmassey4426 5 ปีที่แล้ว +3

    Definitely a cool use of globals in VIM.. I usually use globals for search and replace of lines containing specific text. eg. ":g/search/s/replace/with/g" - search for lines containing "search" then replace "replace" with "with". Also, the actual job you are doing here really feels like something I'd do with sqlite3 which would enable much more powerful and complex queries against the data set, but I realize that's not the point of what you showed.

  • @CarlOfHoly
    @CarlOfHoly 5 ปีที่แล้ว +5

    As a new user of VIM, I'm loving these videos! Subbed.

  • @jw_yt
    @jw_yt 5 ปีที่แล้ว +3

    You could use the data attribute instead of a comment. That way the classification number is a part of the element and you could do useful things with it using JavaScript (if you felt so inclined). The lines are still sortable, too.
    Ex: . . .
    Note: the data attribute can be anything with the form “data-*”

  • @BradMitchell4
    @BradMitchell4 5 ปีที่แล้ว

    Organizing the pacman mirror list is what inspired me to learn VIM global commands.

  • @matrix04923
    @matrix04923 5 ปีที่แล้ว +7

    BROOOO, I just love your miniatures, best miniatures ever on YT xD

    • @vivekpanchagnula815
      @vivekpanchagnula815 5 ปีที่แล้ว

      @K19 I don't think we'll ever find out.

    • @b4ssripper
      @b4ssripper 5 ปีที่แล้ว

      miniatures.vim or minis.el

    • @maurov2104
      @maurov2104 5 ปีที่แล้ว +1

      miniature = thumbnail

  • @ej_sykes
    @ej_sykes 5 ปีที่แล้ว +49

    So many uploads, is it Christmas already?

    • @cunjoz
      @cunjoz 5 ปีที่แล้ว

      PADORU PADORU!

  • @MurderHornetProductions
    @MurderHornetProductions 5 ปีที่แล้ว

    You should see what some of us ancient guys do with Emacs in evil mode. Evil mode makes the keystrokes like vim, a far more extensible vim.

  • @holalluis
    @holalluis 5 ปีที่แล้ว +7

    I think that using a separated json file for all the books, then rendering the json file with some simple frontend library like Vue.JS it's even easier than this. Also, you could still :g/re/p and sort the json file to get the columns sorted as you want, or even create a simple shell script in Javascript to retrieve info about the books (using node.JS, as a Javascript interpreter). Maintaing a "database" in plain html can be very painful sometimes

    • @Amaraticando
      @Amaraticando 5 ปีที่แล้ว

      If the books are organized by HTML tags, I imagine he's going to use the browser to view the final result.
      In this case, Javascript is already one step away, so why not?

  • @tekvax01
    @tekvax01 5 ปีที่แล้ว +5

    or you could have just used sort -k

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +2

      Lol that would only word if literally every book title was the same number of words.

    • @ckth
      @ckth 5 ปีที่แล้ว +2

      ​@@LukeSmithxyz sort -k2 -t'!' file.html

  • @Paul-zw6lc
    @Paul-zw6lc 5 ปีที่แล้ว

    Just a tip, when you go to do the sorting, it's much faster to do it in two parts, kind of like an irl sorting algorithm.
    What you wanna do is take your sorted list and split it evenly into however many piles you can manage within arm's reach of your computer, then create a new list that's just the book title and what pile it goes in. Then you make a big intake pile nearby and use whatever kind of fuzzyfinder you want to start typing in titles and as soon as it pulls up the group/pile that's where you put the book and move on to the next one. If you do it right you can rough sort like 20-30 books a minute. Then it's pretty easy to make the second pass and sort your stacks of 30ish books from each pile into their correct interstack order, then you just shelve stack 1 then 2 etc... The description is convoluted, but the actual process is simple and is more or less what large libraries do but just with typing and stacks instead of scanning and book carts.

  • @anirudhrowjee1378
    @anirudhrowjee1378 5 ปีที่แล้ว +2

    Wanted to download a calculus textbook but the chapters were in individual links - used vim, converted the html file into csv and used python to download everything

    • @ThaEzioAuditore
      @ThaEzioAuditore 5 ปีที่แล้ว +3

      You should have used assembly. Python is so much bloat these days

    • @anirudhrowjee1378
      @anirudhrowjee1378 5 ปีที่แล้ว +1

      @@ThaEzioAuditore No, I only used python because the downloader I built directly from logic gates did not work

  • @piimae
    @piimae 5 ปีที่แล้ว +1

    Btw fyi, the "Lexical-Functional Syntax"-entry has a typo: Toivonen instead of Tolivonen :)

  • @wulymammoth
    @wulymammoth 3 ปีที่แล้ว

    Surprised that no one mentioned that once the HTML comments have been moved to the beginning of the line, can simply run :sort on select lines or :sort u to dedupe if there are duplicates that one wants removed

  • @fuseteam
    @fuseteam 5 ปีที่แล้ว +1

    "super del" sounds like a good way to say goodbye :3

  • @GavinFreeborn
    @GavinFreeborn 5 ปีที่แล้ว

    Not to take away from the video since this is definitely an effective method but I thought I would point out that you can use sort on more then just the start of the line.
    You could use `sort --field-separator='!' --key=2 library.html` or `sort -t '!' -k 2 library.HTML` to sort based on everything after the comment marker.
    That being said this has some obverse limitations, such as the fact that it sorts the entire file and the fact that it will sort other comments that you may not want sorted and most importantly no ! can occur in any of the book titles. Just figured I find myself using variations of this particular sort feature a lot and you all might find this useful.

  • @telotawa
    @telotawa 5 ปีที่แล้ว +12

    in library
    >kropotkin
    >engels
    >GEORGE SOROS
    guys watch out

  • @Axlefublr
    @Axlefublr 5 หลายเดือนก่อน

    I wanna point out that in :g and :s, you can use any special character instead of the / as the pattern separator. I personally use ;
    Pretty sure this is the case in any command that expects a pattern with separators, in vim

  • @krystiankowal5715
    @krystiankowal5715 5 ปีที่แล้ว +3

    Why not to use SQL? Keep data in SQLdb (i.e. SQLite - single file db), and create html dynamically (i.e. using at least PHP)

  • @AngelRamirez-th8xo
    @AngelRamirez-th8xo 5 ปีที่แล้ว

    Awk could handle this job right on the command line! I really apreciate tour videos man! Thanks a lot

  • @tractatusviii7465
    @tractatusviii7465 5 ปีที่แล้ว

    "I Am A Strange Loop" in SCIENCE & MATH
    lmaoo the depths unplumbed

  • @blackie5566
    @blackie5566 4 ปีที่แล้ว

    Thank you Luke, that was a great help! You made me use Vim - and I love it :)!!!!!!

  • @brandonr1981
    @brandonr1981 5 ปีที่แล้ว

    I see your Feyerabend Against Method - it's a great work in the philosophy of science.

  • @barungh
    @barungh 5 ปีที่แล้ว +3

    Vim geekness to the next level

  • @gery49
    @gery49 5 ปีที่แล้ว

    Here is an idea: using your webcam as a barcode reader (ZBar) you could really quickly build a database like this as the barcode usually stores the ISBN number. Pipe the read code into curl with the database website. Find the information you want in the output. Profit!

  • @jadew6652
    @jadew6652 5 ปีที่แล้ว +6

    Based and techpilled

  • @kapyonik2424
    @kapyonik2424 4 ปีที่แล้ว +2

    Thank you for your video, I found this usage of vim a good example of its power. I like editors with some sort of "macro" mode. (One of my favorites is Textpad on windows even though it's a paid software with an endless trial version)
    But honestly it is not really a "daily task" to sort such a badly organized file, no offence meant ! Instead of editing or organizing manually a giant html file, you should code in order to generate it from an XML let's say, it would be so much more powerful. You could add new books without needing to resort the list everytime. Just an idea :)

    • @strictnonconformist7369
      @strictnonconformist7369 2 ปีที่แล้ว +2

      Simpler yet is merely a plain csv file that is imported into html, using CSS: html should be the last amount of formatting complexity, not the first.
      Ideally you'd never store your data mixed with you formatting: this why there are stylesheets.

  • @insidetrip101
    @insidetrip101 5 ปีที่แล้ว

    Luke, I mean, I love vim and everything too, but this is really something that would be done better with sed; then you can use sort and don't even have to pipe to grep:
    sed -E 's/(.*)()/\2\1' | sort
    But honestly, this is really a job for awk. You could write a script to do this and sort these lines in place without even having to pipe it into anything, although it would be complicated enough that it probably does deserve its own (albeit short) awk script file.

  • @ГригорийХовер
    @ГригорийХовер 5 ปีที่แล้ว +12

    Розенбаум плохого не посоветует, спасибо!

    • @scarholmen
      @scarholmen 5 ปีที่แล้ว +1

      Ахаха, вимеры всех стран объединяйтесь!

  • @balmar3
    @balmar3 5 ปีที่แล้ว

    As for less, it's an alias for me to vim "+noremap q :q" -p -R -M . Much better than less.

  • @typeer
    @typeer 2 ปีที่แล้ว

    stayed up all night learning vim now upset my day's responsibilities aren't the editing of text files

  • @Konnen-l9h
    @Konnen-l9h 5 ปีที่แล้ว +6

    Do a walk-through your books...

  • @ultrahalf
    @ultrahalf 5 ปีที่แล้ว +4

    Make a video on regular expression

  • @andychrzanowski1520
    @andychrzanowski1520 5 ปีที่แล้ว +1

    Some book reviews would be nice.

  • @gnomenclature17
    @gnomenclature17 5 ปีที่แล้ว

    Gödel, Escher, Bach, Mere Christianity, AND Differential Games!?
    my dude

  • @budbin
    @budbin 4 ปีที่แล้ว

    I've been using VIM for years and I didn't know about the global command, feeling like a real brainlet rn 2bh senpai

  • @jaybakerwork
    @jaybakerwork 4 ปีที่แล้ว

    Nice tip. I too have tended to use macros for this. The approach you outline here is way better.

  • @johannesdegen9225
    @johannesdegen9225 5 ปีที่แล้ว +2

    Can't you just do sort /

  • @RealYethal
    @RealYethal 5 ปีที่แล้ว +1

    Have you tried using xmllint or any other commandline xpath parser for that?

  • @Cobalt_027
    @Cobalt_027 5 ปีที่แล้ว

    How practical, thanks for the tip

  • @forgiveness_denied
    @forgiveness_denied 5 ปีที่แล้ว +7

    but have you heard about MS Excel?

  • @UnlucksMcGee
    @UnlucksMcGee 5 ปีที่แล้ว +1

    Could use the 'sed' command to bring the comment to the beginning (using regex groups) and then pipe that to the 'sort' command

    • @MrDadidou
      @MrDadidou 5 ปีที่แล้ว

      my thoughts exactly. but i think the point of the video was about being a better vim user.

  • @xGOKOPx
    @xGOKOPx 5 ปีที่แล้ว

    The fact that you just happen to have exactly 333 books is oddly satisfying

  •  5 ปีที่แล้ว

    Cool! I didn't knew this technique

  • @soda9023
    @soda9023 5 ปีที่แล้ว +10

    Is he still /ourguy/?

    • @ctmctm2031
      @ctmctm2031 5 ปีที่แล้ว +1

      is Luke based about (them)? Havent heard him talk about it.

    • @ssgomad
      @ssgomad 5 ปีที่แล้ว

      @@ctmctm2031 hes got culture of critique on his booklist lol

  • @rodhash
    @rodhash 4 ปีที่แล้ว

    I've seen couple times a (funny) saying .. something more or less like this:
    No matter how good you are, there is always an asian better than you!
    but in reality asians (like me) are thinking:
    No matter how good you are, there is always luke out there!

  • @mikewilliams564
    @mikewilliams564 5 ปีที่แล้ว +1

    Your cs Lewis library needs to be larger.

  • @l2ubio
    @l2ubio 5 ปีที่แล้ว +1

    same, I used to write stupid long commands on my shell to do similar things, now I use an editor (insert-emacs-joke)

    • @humm535
      @humm535 5 ปีที่แล้ว

      Emacs needs an own doctor for its users!

  • @justin555666
    @justin555666 5 ปีที่แล้ว

    Awesome Vim tutorial, but dude, you should use a DB.

  • @MediocrePap
    @MediocrePap 5 ปีที่แล้ว +1

    Why not store your data in a representation-agnostic format (i.e. YAML, JSON, CSV, bibtex etc.) and then simply have a small script to transform to the desired format (rich-HTML, plaintext, different formatting etc.). While this is nice, the mental friction to get to where you wanted to get is simply way too high. Just some thoughts. Still love your content! :-)

  • @dyonatha97
    @dyonatha97 5 ปีที่แล้ว +1

    Read "Who if I Cry Out" by brazilian Gustavo Corção. Just amazing f amazing (or if you can read portuguese: Lições de abismo)

    • @marcovirtual
      @marcovirtual 4 ปีที่แล้ว +1

      Nice, I'll look into it!

  • @rul1175
    @rul1175 2 หลายเดือนก่อน

    I saw in one of your video that you use some similar to grep to preview pictures. What is that???

  • @JannisAdmek
    @JannisAdmek 4 ปีที่แล้ว

    Are relation databases or a table based methods bloated? nice tutorial though

  • @hammerheadcorvette4
    @hammerheadcorvette4 5 ปีที่แล้ว

    I need to learn vim. . .

  • @kyraiki80
    @kyraiki80 5 ปีที่แล้ว

    He lives! Praise be!

  • @ingwarpetersen2304
    @ingwarpetersen2304 5 ปีที่แล้ว

    QB981 is missing a space.

  • @Geolimber
    @Geolimber 5 ปีที่แล้ว

    Really love this kind of videos. Thank's a lot.

  • @uwuster
    @uwuster 4 ปีที่แล้ว

    So I was on a forum looking for an IDE for C and someone said use Vim and spend 2 months learning that instead of C.
    Laughed hard and assumed they were a linux hater. :(

  •  5 ปีที่แล้ว +1

    The terminal font size is too small, it should be like 3:29 the whole video

  • @ReLoneR
    @ReLoneR 5 หลายเดือนก่อน

    Bro is vim librarian

  • @LinuxLuddite
    @LinuxLuddite 4 ปีที่แล้ว

    there should be a Chad mode in nvim

  • @Skeleton-wn2zu
    @Skeleton-wn2zu 3 ปีที่แล้ว

    I found the guy from the math problem with 300 plus books

  • @TheAlison1456
    @TheAlison1456 5 ปีที่แล้ว

    Are there more videos like this? Solving real world problems.

  • @rohanofelvenpower5566
    @rohanofelvenpower5566 ปีที่แล้ว

    woah Luke smith read the kybalion and blavatsky!!! !!! !!!

  • @ptaszor9779
    @ptaszor9779 ปีที่แล้ว

    This is the guy from all those math questions XD

  • @svenwindpassinger2170
    @svenwindpassinger2170 3 ปีที่แล้ว

    Hi Luke.
    Is there a way to sort paragraphs by headers?
    I use vim now for 3 months. I began to write a book in Markdown. Now I like to reorganize like this:
    # A
    Content A
    # B
    Content B
    Transform to
    # B
    contents of B
    # A
    Content of A
    And this by a large document with a lot of h1, h2 and h3.
    I tried out a lot and looked in internet. But I failed till yet. May you can help me. I learned a lot of your videos.
    Nice greetings
    Sven

  • @lamprospitsillou6325
    @lamprospitsillou6325 3 ปีที่แล้ว

    Doesn't sort have a sort by column? I think '-k'

  • @darthbumblebee7310
    @darthbumblebee7310 5 ปีที่แล้ว

    Why don't you just store the book name and identifier in a spreadsheet, or any sort of application/format that supports tables? It seems like a more structured, organized and scalable way of maintaining something like this

    • @chrisbannister1684
      @chrisbannister1684 5 ปีที่แล้ว +1

      Ouch!!! It's never a good idea to use a spreadsheet as a database.

    • @Fakheet
      @Fakheet 5 ปีที่แล้ว +1

      @@chrisbannister1684 yeah, it's much better to fuck around with html and write regexes the size of an essay to accomplish anything significant with your data

    • @Amaraticando
      @Amaraticando 5 ปีที่แล้ว

      Spread shit programs are among the most bloated pieces of software ever written.
      The way to go is to use some relational database system, SQLite is fine for personal usage. Then, you make your queries to sort/filter/join everything you want. Then, create a simple backend and frontend to access and view the data.
      Or use Calibre, which is full featured and full bloated.

  • @gorudonu
    @gorudonu 5 ปีที่แล้ว +5

    well.. I guess sqlite would be better choice ;)

    • @pokefreak2112
      @pokefreak2112 5 ปีที่แล้ว +1

      sqlite is bloat if you dont need to do complex queries

    • @gorudonu
      @gorudonu 5 ปีที่แล้ว +7

      @@pokefreak2112 yeah... so are gui programs and precompiled distros ;)

    • @Amaraticando
      @Amaraticando 5 ปีที่แล้ว +1

      SQLite is not bloat.
      Using your text editor to sort shit that might be by book, author, index, etc is bloat.

  • @kovacsgyorgy5043
    @kovacsgyorgy5043 5 ปีที่แล้ว

    I guess all these things could also be done with a little programming, but I do use Haskell to automate stuff like this so idk

  • @hakovatube
    @hakovatube 5 ปีที่แล้ว

    Always useful, always inspiring!

  • @pedrovinicius5128
    @pedrovinicius5128 5 ปีที่แล้ว +1

    Why don't you use vim's sort function?

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว +2

      I don't want to change the file, just see the output sorted temporarily so I can go through it.

  • @AlexHookMusic
    @AlexHookMusic 5 ปีที่แล้ว

    Great video! Thank you.

  • @smallsnippets
    @smallsnippets 5 ปีที่แล้ว

    Other people would use python, Luke uses vim instead ;-)
    BTW: You like Linux / free technology and books?
    You might read Ivan Illich: Tools for Conviviality.

  • @GrubbyWubby
    @GrubbyWubby 5 ปีที่แล้ว +1

    NOOOOOOOOO YOU CANT USE BRAVE NOOOOO BRAVE SHILL

  • @eduardofcgo
    @eduardofcgo 3 ปีที่แล้ว

    Or open your file in a browser and use xpath to get the contents of li...

  • @andrej4342
    @andrej4342 5 ปีที่แล้ว +1

    Evola, nice.

  • @cookiedestroyer402
    @cookiedestroyer402 5 ปีที่แล้ว +1

    this can all be solved if you switch to E books

  • @ReneHoffmann194
    @ReneHoffmann194 5 ปีที่แล้ว

    Ehm ... why not sort not by the first column but instead another one with sort?

    • @LukeSmithxyz
      @LukeSmithxyz  5 ปีที่แล้ว

      Okay: which number column would I tell it to sort by?

    • @ReneHoffmann194
      @ReneHoffmann194 5 ปีที่แล้ว +1

      @@LukeSmithxyz sort has the option "-t" to define the separator. So you can set "!" maybe even "

  • @jorschachblatant1934
    @jorschachblatant1934 5 ปีที่แล้ว +1

    Let's just pretend to forget that DBMS is useful or call that "NOT MINIMALIST" even longer than needed so we can forget there are tools that can make your life better.
    BUT GUI? NO!!!!!!! EVIL!!!!!
    (It is a joke BTW.)

  • @mahmoudagha4060
    @mahmoudagha4060 5 ปีที่แล้ว +1

    Good to have you back luke

  • @theodore2495
    @theodore2495 5 ปีที่แล้ว

    I guess Luke is back. 3 videos in under a week? WOOOOO

  • @ThePiones
    @ThePiones 2 ปีที่แล้ว

    Duuude, you have a mistake in your library in the american literature section, José Saramago is portuguese! Please put your website offline until this is fixed!!

  • @0M9H4X_Neckbeard
    @0M9H4X_Neckbeard 5 ปีที่แล้ว +32

    You really need to learn about structured data. I know it's a Windows-thing, but formats like CSV, YML, XML and JSON exist for a reason.
    Instead of wrangling HTML comments like some zoomer, why not just store the library in a CSV? You can then easily read that in and use it to auto-generate the HTML page or any other autistic endeavour you can think of. But if you hand-code your website and try to use that as the "database" you are unironically doing it wrong.

    • @alessandroceloria
      @alessandroceloria 5 ปีที่แล้ว +18

      Well structured data is not really a Windows thing. Binary proprietary unreadable format is a Windows thing, you could go through a json or css with less and scrap paper if you wanted to, not so much with word files, for example.

    • @mendess248
      @mendess248 5 ปีที่แล้ว +8

      /etc/passwd is a csv

    • @ivbit
      @ivbit 5 ปีที่แล้ว +3

      Data is a bloat! Use Vim!

    • @0M9H4X_Neckbeard
      @0M9H4X_Neckbeard 5 ปีที่แล้ว +1

      @@alessandroceloria that's wrong and shows how little you know. Windows is entirely object-oriented and so is all other Microsoft Software, they really love it. Word (all Office) files are literally XML Inside a ZIP btw, nothing binary about that.

    • @alessandroceloria
      @alessandroceloria 5 ปีที่แล้ว +10

      @@0M9H4X_Neckbeard Do you even know what object oriented means? It has nothing to do with how a file is laid down, it's a programming paradigm you dumbass.
      I said that structured data is not a Microsoft exclusive, prove me wrong if you can. Last time I checked csv,json,yaml,xml,html and so on were not created by Microsoft and were open, non-proprietary standards that anyone can use without royalties and that are completely plaintext, hence can be read with less/cat and restructured on a piece of paper in a more plain way. And as somebody else here said, /etc/passwd in unix is a csv file, so the one that knows little about what structured files are is you.
      I know that office files are compressed XMLs, hence the x in the extension name (docx,pptx,...) and the file header, but the file as-is, prior to decompression, is binary data since it cannot be used in any meaningful way (apart from extracting some metadata like the author name) and to access the raw, structured data you have to first decompress it. Binary file in its broader meaning indicates any file that cannot be fully represented as human-readable text with ASCII or UTF-8/16/32 encoding. In its narrower meaning it indicates an executable program but that's not what I was talking about.

  • @julkip
    @julkip 5 ปีที่แล้ว +1

    Or you could have used the vim command :sort

    • @aidhoss
      @aidhoss 5 ปีที่แล้ว +1

      @Christopher Medlin unless you have all your numerics correctly padded, alphabetic sorting is definitely not the same as numeric sorting.

  • @abeidiot
    @abeidiot 4 ปีที่แล้ว

    But not a single one of these did he do faster than he could have done with a modern text editor. If it's the commands he likes I'm sure they might have vim bindings or something. I extensively use regex search in vscode to do the same things in a very minimalistic UI

  • @marksmod
    @marksmod 5 ปีที่แล้ว

    why not database

  • @jienfak5228
    @jienfak5228 4 ปีที่แล้ว

    When you use Acme.

  • @iandonaldson56
    @iandonaldson56 5 ปีที่แล้ว

    hey check out the 3TB or whatever size repository of scientific literature at libgen.is , i found 7 editions of James Stewart's Calculus book that I used in that class. Could've saved $150 but didn't know about it. Just found it out a couple days ago. I'd appreciate it if someone told me about it before I spent money on books, so I'm tellin you now!