- juki parentThere are shorter options in Nim too, depending on your stylistic preferences I suppose you could change the whole proc to something like
- 8 points
- You're misreading that. The survey ranks USA as #3 overall, but #22 on quality of life. The overall ranking is mainly thanks to the agility (#1), power (#1), entrepreneurship (#2) and cultural influence (#3). The other categories aren't that good: https://www.usnews.com/news/best-countries/united-states
- I think a lot of people here are being confused by all the talk about "implicit interfaces" in the article. It's not actually talking about interfaces in C# at all, just about the old-fashioned way of passing callbacks.
If you consider that a problem, you would also have the same problem in any other language with first class functions. Someone might define a `readSomething(string -> int) -> ...` function. Does that mean everyone who now defines a `string -> int` function must make it suitable for `readSomething`? Obviously not. It's up to the caller to pass correct arguments to the functions they are calling.
- The Java course (https://java-programming.mooc.fi/) was being updated every year until a couple years ago when they switched to Python. I did it in 2020 and it was certainly a good introduction to programming. I don't know about the new Python edition.
Their web development course is also very good: https://fullstackopen.com/en/
- You could just build the example in C#, grab all the required dlls from it and then load them in PowerShell with `Add-Type -Path '.\QuestPDF.dll'`.
Unfortunately it looks like this uses extension methods for everything, and those are a pain to use in PowerShell. You'll probably want to write the PDF creation bits as a C# cmdlet instead.
- They don't. What aidenn0 said applies to all CL implementations, although with a small correction that it's not "any already compiled forms", but rather any variables/objects that already hold the value of `#'foo` that will keep pointing to the old definition. Compiled code calling `(funcall #'foo ...)` will get the new definition normally (unless `foo` is inlined).
- Also, for those who speak Finnish, the materials that Lönnrot and others gathered are nowadays freely available online at the Suomen Kansan Vanhat Runot database: https://skvr.fi/
- > And I still don’t know what the Sampo is!
No one does. Sampo is basically just a magical MacGuffin that brings wealth to whoever has it. In Kalevala it is usually understood as a mill that creates infinite grain, salt and money, but different folk stories have different interpretations.
- Also make sure you're on latest version of PSReadLine (I had some problems with it not updating properly and had to do a manual `Install-Module PSReadLine -Force`) and try
You can also toggle between the default inline and listview with F2. Also if you installSet-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListView
and add this to your profile:Install-Module CompletionPredictor
you also get the normal intellisense autocompletions in the listview. And remember that if you have all the help files installed locally you can use F1 to view help for the current parameter/command.Import-Module -Name CompletionPredictor Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListView - The ImportExcel (https://github.com/dfinke/ImportExcel) PowerShell module is quite useful.