Wikipedia:Reference desk/Computing
of the Wikipedia reference desk.
Main page: Help searching Wikipedia
How can I get my question answered?
- Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
- Post your question to only one section, providing a short header that gives the topic of your question.
- Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
- Don't post personal contact information – it will be removed. Any answers will be provided here.
- Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
- Note:
- We don't answer (and may remove) questions that require medical diagnosis or legal advice.
- We don't answer requests for opinions, predictions or debate.
- We don't do your homework for you, though we'll help you past the stuck point.
- We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.
How do I answer a question?
Main page: Wikipedia:Reference desk/Guidelines
- The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
September 16[edit]
.NET C# process memory usage utility for Windows?[edit]
Is there some kind of utility program for Windows that could attach to a .NET C# process and show as it is running, which C# objects the process is keeping in its memory and how much memory they are using at the moment? JIP | Talk 18:05, 16 September 2023 (UTC)
- A sufficiently good debugger or profiler.
- I have no real experience with C# or .NET I'm afraid. Do .NET runtimes have debugging or profiling options? If so that might be all you need. Here's MS on .NET profiling. Some searching along the lines of "dotnet profiler" may be profitable. 47.155.41.104 (talk) 06:58, 17 September 2023 (UTC)
- Oh also I should have mentioned this as it possibly may wind up saving you from wasting a lot of time. As noted in the MS article, if the C# code winds up itself calling into "unmanaged" (non-.NET) code, e.g. it calls into a C or C++ library, C# profiling by itself can't tell you anything apart from, the leak's in there somewhere, and a C# debugger can give you the stack trace. If it turns out the leak is in the library, if you want to diagose it you have to then switch into debugging that lib, which is more involved. Tip: you will need debug symbols for the binary loaded into your profiler/debugger (or a binary compiled with them).
- This is distinct from either the .NET runtime, or underlying code called by the runtime like the Win32 API, leaking memory. If that happens you've probably found a bug in one of those! Might want to report it, but in the meantime you might be able to work around it. 47.155.41.104 (talk) 22:21, 17 September 2023 (UTC)
September 18[edit]
Universities that transitioned their Programming I-II course.[edit]
Somewhat of a poll. Does anyone know what years certain universities (like maybe ones you attended) changed the language of their Programming I-II course. For example, I attended a 4-year state university in Chicago/USA, and fall 2006 was the last year Programming I was C++. Fall 2007 it became Java. Before C++, it was Pascal. I don't know what year it changed from Pascal, but likely in the 1980s. I'm curious to know about Programming I and II are in other continents, and what they changed from. Also when my university transitioned from C++ to Java, there was no time it offered both courses at the same time. I suspect larger universities do? Thanks. 170.76.231.162 (talk) 18:31, 18 September 2023 (UTC).
- Names of courses is an issue here. Many early courses around the world that were primarily about programming didn't have that name. In the 1960s, in Melbourne, Australia, I learnt Fortran and Assembler language in a course called Theory of Computation. HiLo48 (talk) 02:10, 19 September 2023 (UTC)
- At least in Europe, the preferred teaching language before Pascal was ALGOL 60. I think the switch to Pascal took mainly place in the period of 1975 to 1980. --Lambiam 10:02, 19 September 2023 (UTC)
- At Durham University 1976-9 the teaching language was PL/1 (including its minor variant PL/C). Those doing engineering also has a one week crash course after exams in FORTRAN IV. Martin of Sheffield (talk) 10:14, 19 September 2023 (UTC)
September 21[edit]
RfA edit counts.png, I don't know where to ask[edit]
I find this chart fascinating. Generally curious, somewhere summer 2008, a user with less than 100 edits was appointed for adminship. Who is he? NotAGenious (talk) 16:19, 21 September 2023 (UTC)
- The link you provided appears to be broken; I just get an error. Matt Deres (talk) 16:32, 21 September 2023 (UTC)
- My bad. Here: https://commons.wikimedia.org/wiki/File:Successful_RfA_edit_counts.png NotAGenious (talk) 16:36, 21 September 2023 (UTC)
- Unable to name the user, but as the Comment box content indirectly suggests, it might be that the user in question was known to have had many edits under a previous account, and had switched to a new account for some legitimate reason. {The poster formerly known as 87.81.230.195} 51.198.107.25 (talk) 18:40, 21 September 2023 (UTC)
- My bad. Here: https://commons.wikimedia.org/wiki/File:Successful_RfA_edit_counts.png NotAGenious (talk) 16:36, 21 September 2023 (UTC)