4 ms·
I was tasked with building a small utility for copying out a few GB of files from a super-complicated folder structure, and convert it into a different structur
by samuell 10y ago
I was tasked with building a small utility for copying out a few GB of files from a super-complicated folder structure, and convert it into a different structure, with the requirement that it should have an interactive GUI (to do various selections interactively), and run natively on Windows and Mac.
Couldn't have found an easier route than to build this in FPC with Lazarus.
Even though I had hardly coded a line in the language before, it was built from scratch to "happy end-user" in 80 hours, including learning the language.
I built it on Xubuntu, then imported it on my Windows VM and compiled, WITHOUT A SINGLE CHANGE! On Mac, I needed to add a missing import statement or so.
Simply an outstandingly productive tool for open source, cross-platform GUI development.
(The tool: https://github.com/NBISweden/mdc-file-export https://github.com/NBISweden/mdc-file-export )
- samuell 10y agoBtw, a shoutout to the awesome OmniPascal project, which allows you to write Delphi and FreePascal in the Visual Studio Code editor (when you are not building GUI apps, and and/or don't need a full blown visual IDE, or just for navigating around in legacy code bases): http://www.omnipascal.com http://www.omnipascal.com Unfortunately, code completion is so far only available on Windows [1], but will hopefully come in due time (you can vote for the issue in [1]). [1] https://bitbucket.org/Wosi/omnipascalissues/issues/6/add-rich-language-support-for-mac-and https://bitbucket.org/Wosi/omnipascalissues/issues/6/add-ric...
- girvo 10y agoIt's amazing to see how fast VS: Code is picking up extensions with full autocomplete, go-to definition, and other IDE-styled features. Atom's equivalents are rarely as nice, unless you're using Nuclide because they wrote their own damned framework inside the editor to achieve those features! I think it's because VS: Code's APIs are built around exposing those sorts of features nicely and simply. - OCaml [0]: IntelliSense, go-to-definition, interactive debugging. This plugin is so well done that I feel VS Code is the best editor for my OCaml work now! - Nim [1]: IntelliSense, go-to-definition, linting, Nimble building integration - Purescript [2]: IntelliSense, compilation, linting, quick fixes for common errors, and type inspection Seriously, more and more are added every day, which is just awesome. I'm still annoyed at small UI parts of VS: Code, but honestly the functionality and speed make it second to none in my opinion. --- [0] https://marketplace.visualstudio.com/items?itemName=hackwaly.ocaml https://marketplace.visualstudio.com/items?itemName=hackwaly... [1] https://marketplace.visualstudio.com/items?itemName=kosz78.nim https://marketplace.visualstudio.com/items?itemName=kosz78.n... [2] https://marketplace.visualstudio.com/items?itemName=nwolverson.ide-purescript https://marketplace.visualstudio.com/items?itemName=nwolvers...
- samuell 10y ago(Correction: A few hundred GB of files actually ... an extraction took like 7-8 hours in total, so the progress bar was kind of crucial for the users :) )