liquidcloud9

u/liquidcloud9


r/GRIMEgame•

I keep having instances of a heal triggered when pressing a different button or just randomly after taking damage. Anyone else experience this? Pretty sure the controller is fine - no issues on other games

10

r/jazzdrums•

Hey Jazz Drummers - was having a convo that referenced Neil Peart’s “signature” ride pattern and was wondering if any jazz drummers come to mind when thinking of such a thing. I’m familiar with some of the jazz greats, and even some newer players, but not to a depth where I could think of an example.

39

r/csharp•

I'm looking to learn how to write a cli rest client. Using the [MS Docs example] was pretty straightforward. But as soon as I tried to move everything out of Program.cs, things starting going downhill. Now when I run the program, I get no output. At first, I tried setting up the app with a generic host. Couldn't figure out what was going wrong. Eventually, I stripped it down to two files:

Program.cs `using WebAPIClient;

var wc = new MyWebClient(new HttpClient()); wc.PrintRepos(); `

MyWebClient.cs ` using System.Net.Http.Headers; using System.Text.Json; namespace WebAPIClient;

public class MyWebClient { private readonly HttpClient _httpClient;

public MyWebClient(HttpClient httpC
16


r/AskHistorians•

In most fiction I’ve read, a ship’s captain is the ultimate authority, with maybe a second in command that does most of the hands-on work with the crew. But in Clavell’s novel, he paints a picture of the pilot actually being the one in charge, giving order and often a captain deferring to his judgment. Is this how the power dynamic actually worked on ships of the time, or is the author’s creation?

5110

r/vim•

Is there a way to fix capitalization with camel case? I'm aware of how to change the case of a word or line, but I'll often look at a line of code and realize I capitalized two letters in a row, like 'someVAriableNAme' that should be 'someVariableName'. Is there an easy fix for this that I've missed?

716

r/Blasphemous•

After beating the game, I ascended to NG+, and what was a lot of fun is becoming…tedious, with all the 1 or 2 hit deaths. Am I missing anything by just starting a new save file and forgoing NG+? My first time through, I completed about 87% of the map and I’d like to do 100% this time.

1018

r/fsharp•

I'm trying (and failing) to figure out how to accept input piped from the command line. For example:

open System

[<EntryPoint>]
let main argv =    
    printfn "args: %A" argv
    printfn "env.cmdline: %A" <| Environment.GetCommandLineArgs()    
    0
    

It works if run like this:

args.exe "HELLO"

args: [|"HELLO"|]
env.cmdline: [|"C:\Users\bjm25\Desktop\dev\temp\args\bin\Debug\net5.0\args.dll"; "HELLO"|]

But run by piping the contents of a file returns nothing:

cat .\hello.txt | .\args.exe
args: [||]
env.cmdline: [|"C:\Users\bjm25\Desktop\dev\temp\args\bin\Debug\net5.0\args.dll"|]

Can anyone point me in the r

1511

r/csharp•

Is there an idiomatic way to print out help for console apps? In Powershell, this is really simple, but I can't find a mention of it in MS Docs or the Yellow Book. Googling shows a number of people rolling their own approach over the years. Am I missing an 'official' or at least, best practice, way of printing help for a command line utility?

27

r/Racket•

I've tried looking through the Reference Guide, but I think I may using the wrong terminology. I'm looking for a way of inspecting what is in a binding and/or what it is doing, like with DESCRIBE/INSPECT/TRACE in CL or maybe to a lesser extens, something like Get-Member and .GetType() in Powershell.

Are there equivalents in Racket?

14

r/lisp•

I'm attempting to read a csv, build a hashtable with the first column, "uid". It looks like I'm doing this, but I get no results when I test a known key.

CSV file

uid,name,endyear,status
bmm25,Brian,2021,on
bjx26,Bryan,2099,off
ksd23,kansa,2020,on
opm,oncle,2022,off

My code (with SBCL) looks like this:

(ql:quickload 'read-csv)
(in-package read-csv)

(defparameter dataf (with-open-file (s "test.csv")
                      (parse-csv s)))
(defparameter *hash* (make-hash-table))
(dolist (csvline dataf)
  (setf x (first csvline))
  (setf (gethash x *hash*) csvline))

This works and then I try to a known key and I get the following:

818

r/bjj•

I'm in the Seattle/Bellevue area next week for work. Any suggestions for drop-in friendly gyms? I'm a lowly white belt, but would like to get a class or two in, if I can.

25