Torn
Torn
CC#
Created by Torn on 1/6/2025 in #help
Unable to find symbol file
No description
7 replies
CC#
Created by Torn on 1/6/2025 in #help
Unable to find symbol file
I even caught a glimpse of some loading bar where it said it was loading symbols. 🤷
7 replies
CC#
Created by Torn on 1/6/2025 in #help
Unable to find symbol file
Nope, no change.
7 replies
CC#
Created by Torn on 1/6/2025 in #help
Unable to find symbol file
Yes, this should be the newest major release.
7 replies
CC#
Created by Torn on 11/27/2024 in #help
How would you abstract these two functions together most cleanly?
Does this seem reasonable?
public LinkedList<Game> FetchGames(Func<LinkedList<Game>, bool> ContinueCondition) => Fetch(games, games => AppendGames() && ContinueCondition(games), FixDates);
public LinkedList<Game> FetchGames() => FetchGames(_ => true);
public HashSet<int> FetchIDs() => Fetch(ids, _ => AppendIDs());

public T Fetch<T>(T collection, Func<T, bool> ContinueCondition, Action? Finalize = null) {
int retryCount = 0;
while (retryCount < 3) {
try {
while (ContinueCondition(collection)) {
retryCount = 0;
}
break;
} catch (Exception ex) {
if (ex is JsonException) {
jsonExceptions++;
} else {
Log.Write($"Error while fetching games on entry {start}, retry {retryCount}:\n{ex}");
}
retryCount++;
System.Threading.Thread.Sleep(3000);
}
}

Finalize?.Invoke();

return collection;
}
public LinkedList<Game> FetchGames(Func<LinkedList<Game>, bool> ContinueCondition) => Fetch(games, games => AppendGames() && ContinueCondition(games), FixDates);
public LinkedList<Game> FetchGames() => FetchGames(_ => true);
public HashSet<int> FetchIDs() => Fetch(ids, _ => AppendIDs());

public T Fetch<T>(T collection, Func<T, bool> ContinueCondition, Action? Finalize = null) {
int retryCount = 0;
while (retryCount < 3) {
try {
while (ContinueCondition(collection)) {
retryCount = 0;
}
break;
} catch (Exception ex) {
if (ex is JsonException) {
jsonExceptions++;
} else {
Log.Write($"Error while fetching games on entry {start}, retry {retryCount}:\n{ex}");
}
retryCount++;
System.Threading.Thread.Sleep(3000);
}
}

Finalize?.Invoke();

return collection;
}
6 replies
CC#
Created by Torn on 8/7/2023 in #help
❔ Performance Profiler results blank
Well, I doubt anyone will ever find out how to fix it that isn't some miracle "works for me" cure. I've switched to NProfiler for now. Seems simple enough. If you ever get yours to work, @coreclr, do let me know.
12 replies
CC#
Created by Torn on 8/7/2023 in #help
❔ Performance Profiler results blank
I found in the chat logs that I had had the exact same problem on 15.05.2022, but I got exactly zero responses back then. I do not know how, but I am quite sure I got it working again for a while after that.
12 replies
CC#
Created by Torn on 8/7/2023 in #help
❔ Performance Profiler results blank
I have verified that a reinstall and restart has not helped, though it has wiped a bunch of my settings, which is unfortunate.
12 replies
CC#
Created by Torn on 8/7/2023 in #help
❔ Performance Profiler results blank
If you don't know what the issue is, but are willing to help, you could send me a .diagsession you recorded, so I could verify if it's the recording or the displaying that's broken.
12 replies
CC#
Created by Torn on 5/5/2023 in #help
Process.Start fails with 'unterminated quoted string' in Linux
I'm just trying to run a shell command, this doesn't require a whole library...
3 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
I'd have to assume it's the old one then - .vstemplate
9 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
It's in the %USER%/Documents/Visual Studio 2022/Templates/ProjectTemplates folder
9 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
This is a project template, not an item template?
9 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
Wait, are we talking about the same thing?
9 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
It also didn't come with the exported project template (but then I suppose that's broken anyways, since it doesn't show).
9 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
But I didn't have that in the .NET 6 version either. Is this something new?
9 replies
CC#
Created by Torn on 12/26/2022 in #help
❔ Custom template not showing up
I do not...
9 replies
CC#
Created by Torn on 12/18/2022 in #help
❔ Compilation option questions
No, see, if I remove that variable, it still says I have defined stuff like NET7.0, and DEBUG or whatever the name for the profile I'm compiling is, but what else does it add?
61 replies
CC#
Created by Torn on 12/18/2022 in #help
❔ Compilation option questions
So if I remove that, I can no longer define preprocessor symbols in code?
61 replies
CC#
Created by Torn on 12/18/2022 in #help
❔ Compilation option questions
The ones that have been defined in code?
61 replies