Watch and track your favorite playlist.
Curated by: Xah Lee (862 videos)
Write an Emacs Lisp command to evaluate selected regions of code, specifically for fsharp. • Demo JavaScript Eval Region (0:52). • Intro the Problem: fsharp Eval Region (4:19) • Code Copying and Modification (5:37). involves changing the command name and identifying necessary adjustments for fsharp. • learning dotnet fsi (6:40): how to execute fsharp scripts, specifically using the dotnet fsi command. • The challenge lies in passing fsharp expressions as standard input rather than as files. • Exploring Command Line Options and Documentation (10:00): look into the help documentation for the dotnet command, discussing the complexities of command-line arguments, especially when dealing with various programming languages and their execution environments. • Discussion on File vs. Standard Input (17:08): A detailed explanation is provided about the benefits of piping code to standard input versus writing to and reading from temporary files, emphasizing performance and avoiding file management overhead. • Seeking AI Assistance (30:19): The presenter uses an AI tool to inquire about how dotnet fsi accepts fsharp expressions from standard input, confirming that piping directly to it is the intended method. • Testing and Initial Results (36:15): The newly modified fsharp evaluation command is tested. • While it successfully executes the fsharp code, it also outputs extraneous copyright and interactive shell information, which needs to be addressed. • Acknowledging Remaining Issues and Future Steps (37:54): The video concludes with the presenter acknowledging that the output needs to be refined and that further investigation into the dotnet fsi command-line options is required to suppress the unwanted output. • The presenter also shares the Emacs Lisp code developed during the show. Notes at http://xahlee.info/talk_show/xah_talk_show_ep748.html If browser says security error, that is because it auto changes URL from HTTP to HTTPS. It's a way to censor 22 million old websites. Remove the S in HTTPS. Or use brave browser or safari.