Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 38:01:29 |
Calls: | 631 |
Calls today: | 2 |
Files: | 1,187 |
D/L today: |
22 files (29,767K bytes) |
Messages: | 173,681 |
"%LOGFILE%" echo === Diagnostic Run: %DATE% %TIME% on %COMPUTERNAME% ===
"%LOGFILE%" echo.
wmic path Win32_PerfFormattedData_PerfProc_Process get Name,PercentProcessorTime /format:csv | more >> "%LOGFILE%""%LOGFILE%" echo === CPU Usage (WMIC snapshot) ===
wmic process get Name,ProcessId,WorkingSetSize /format:csv | more >> "%LOGFILE%""%LOGFILE%" echo.
"%LOGFILE%" echo === Memory Usage (WMIC snapshot) ===
tasklist /v | findstr /i "Not Responding" >> "%LOGFILE%""%LOGFILE%" echo.
"%LOGFILE%" echo === Unresponsive Apps ===
powershell -NoProfile -Command ^"%LOGFILE%" echo.
"%LOGFILE%" echo === Top 10 CPU Consumers (excluding Idle/System/_Total) ===
powershell -NoProfile -Command ^"%LOGFILE%" echo.
"%LOGFILE%" echo === Top 10 Memory Consumers ===
powershell -NoProfile -Command ^"%LOGFILE%" echo.
"%LOGFILE%" echo === Potential Resource Hogs (CPU > 10 or Memory > 500MB) ===
powershell -NoProfile -Command ^"%LOGFILE%" echo.
"%LOGFILE%" echo === Suggested Manual Kill Commands ===
@echo off
setlocal
REM 20250901 cpu.bat rev 1.5 - what's slowing things down & how to kill it
:: ---- Config ----
set "EDITOR_PATH=C:\app\editor\txt\vim\vim82\gvim.exe"
:: ---- Elevation check ----
net session >nul 2>&1
if %errorlevel% neq 0 (
echo Requesting administrator privileges...
powershell -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
exit /b
)
:: ---- Timestamp and log file ----
for /f %%I in ('powershell -NoProfile -Command "(Get-Date).ToString('yyyy-MM-dd_HHmmss')"') do set "TS=%%I"
set "LOGFILE=%TEMP%\cpu_diag_%TS%.log"
:: ---- Header ----
>> "%LOGFILE%" echo === Diagnostic Run: %DATE% %TIME% on %COMPUTERNAME% ===
>> "%LOGFILE%" echo.
:: ---- CPU usage (filtered) ----
>> "%LOGFILE%" echo === CPU Usage (WMIC snapshot) ===
wmic path Win32_PerfFormattedData_PerfProc_Process get Name,PercentProcessorTime /format:csv | more >> "%LOGFILE%"
:: ---- Memory usage (raw) ----
>> "%LOGFILE%" echo.
>> "%LOGFILE%" echo === Memory Usage (WMIC snapshot) ===
wmic process get Name,ProcessId,WorkingSetSize /format:csv | more >> "%LOGFILE%"
:: ---- Unresponsive apps ----
>> "%LOGFILE%" echo.
>> "%LOGFILE%" echo === Unresponsive Apps ===
tasklist /v | findstr /i "Not Responding" >> "%LOGFILE%"
:: ---- Top CPU consumers (excluding Idle/System/_Total) ----
>> "%LOGFILE%" echo.
>> "%LOGFILE%" echo === Top 10 CPU Consumers (excluding Idle/System/_Total) ===
powershell -NoProfile -Command ^
"Get-Process | Where-Object { $_.Name -notin @('Idle','System','_Total') } | Sort-Object CPU -Descending | Select-Object -First 10 Name,Id,@{N='CPU';E={[math]::Round($_.CPU,2)}} | Format-Table -AutoSize | Out-String -Width 500" ^
>> "%LOGFILE%"
:: ---- Top Memory consumers ----
>> "%LOGFILE%" echo.
>> "%LOGFILE%" echo === Top 10 Memory Consumers ===
powershell -NoProfile -Command ^
"Get-Process | Sort-Object WorkingSet -Descending | Select-Object -First 10 Name,Id,@{N='Memory(MB)';E={[int]($_.WorkingSet/1MB)}} | Format-Table -AutoSize | Out-String -Width 500" ^
>> "%LOGFILE%"
:: ---- Resource hogs (CPU > 10 or Memory > 500MB) ----
>> "%LOGFILE%" echo.
>> "%LOGFILE%" echo === Potential Resource Hogs (CPU > 10 or Memory > 500MB) ===
powershell -NoProfile -Command ^
"$procs = Get-Process | Where-Object { $_.CPU -gt 10 -or $_.WorkingSet -gt 500MB }; $procs | Select-Object Name,Id,@{N='CPU';E={[math]::Round($_.CPU,2)}},@{N='Memory(MB)';E={[int]($_.WorkingSet/1MB)}} | Format-Table -AutoSize | Out-String -Width 500" ^
>> "%LOGFILE%"
:: ---- Suggested kill commands ----
>> "%LOGFILE%" echo.
>> "%LOGFILE%" echo === Suggested Manual Kill Commands ===
powershell -NoProfile -Command ^
"$procs = Get-Process | Where-Object { $_.CPU -gt 10 -or $_.WorkingSet -gt 500MB }; $procs | ForEach-Object { \"taskkill /PID $_.Id /F :: $_.Name (CPU=$($_.CPU), Mem=$([int]($_.WorkingSet/1MB))MB)\" }" ^
>> "%LOGFILE%"
:: ---- Open log in editor or fallback to console ----
if exist "%EDITOR_PATH%" (
start "" "%EDITOR_PATH%" "%LOGFILE%"
) else (
echo Editor not found at %EDITOR_PATH%. Viewing in console...
type "%LOGFILE%" | more
)
endlocal
I don't know enough. Is this a batch file or powershell?
I find some of it interesting. Can't test till I boot up Windows.
This morning my Windows 10 computer was suddenly slower than...
a lame dog.
Nothing was working. I couldn't get the process-explorer
three-fingered salute to come up.
I couldn't even get "whatishang" or "whocrashed" or anything...
to come up.
So I ... hacked out that script for next time.
So I force rebooted the damn PC & hacked out that script
for next time.
On Mon, 9/1/2025 2:09 PM, R.Wieser wrote:
Arlen,
This morning my Windows 10 computer was suddenly slower than...
a lame dog.
Nothing was working. I couldn't get the process-explorer
three-fingered salute to come up.
I couldn't even get "whatishang" or "whocrashed" or anything...
to come up.
So I ... hacked out that script for next time.
If the three-finger salute isn't coming up and neither do those programs
than you can bet your life on it that script won't run either.
So I force rebooted the damn PC & hacked out that script
for next time.
And that shows you that it won't be easy to find out which program/process >> causes the slow-down: You either can't run anything (including your batch >> script), or you can but than the processes causing the slow-down are not
running (duh) and you therefore can't find them.
Yup, a classic catch-22 :-)
Regards,
Rudy Wieser
I'm not convinced you can necessarily measure everything on this OS.
It makes significant usage of virtualization. Yes, we get some cyclic
counts for things that use virtualization, but on occasion they
"don't look reasonable or meaningful". The Memory Compressor is not
reported in Task Manager, yet it is visible in Process Explorer.
That's how I measure that one, if I need to know.
I don't think this is necessarily a job for scripts. Maybe back in
the WinXP era, when things were still sane and rational, a script would
have been perfect for summarizing a situation. Today, we have the
Intel performance counters as an absolute -- if you can figure out
what to do with them in a given situation. They measure "something" at
the hardware level. But if a containerized NVidia video driver
starts doing "GeForce Experience Things", how would you know ? It's
in another Ring. Similarly, the RealTek NIC driver, the file names
and release notes kinda hint that Microsoft made them containerize as
well. These might be officially part of the kernel, and reported
as a component of System.
When VirtualBox is "stuck" during the boot process, what is that ?
At one time, it really was "stuck". Well, I figured out what was
happening there, and if you set your VM to 6144MB of RAM (6GB),
as the OS boots, it is doing a malloc that runs at 300MB/sec (implies
a malloc running a 4KB page-at-a-time). And while that malloc is
slowly running, the screen animation stops until it is complete.
What broke there ? Is the malloc running through layers of virtualization ? >Who really knows ?
I've looked at Task Manager before, something is going on, and the CPU numbers >all read zero. If I use Process Explorer, the extended precision readout >there shows the activity level is not 0, it's finite and makes sense.
But just adding two more zeros on the end of the Task Manager readout,
may still not provide a satisfying answer. There are still going to be
things where you can't be sure.
What I use these days, for "honest weights and measures", is the power
meter connected to the cord of this PC. When it measures 33 watts, nobody
is fooling around in that box. If it reads 57 watts and Task Manager
reads "0" for everything, then we know someone has their finger
on the scale. You can hide from me in software, you can't hide from
my power meter.
Paul
I hope I'm not highjacking the thread if I start asking about wattage measurements? I'll start another thread if that's needed. I'd never
checked wattage on my i6 chip Asus Z790 motherboard before so this
thread got me started.
I have 53 background processes running in my Win11 Taskmanager. I
don't know how to safely turn off the ones running to make
measurements. Just idling along the KWMeter is reading watts from 53.3
to 136. CoreTemp reading watts from 7.9 to 19.8
On the boot I see 119 to 214 watts.
Machine shut down, reads 1.3 to 1.4 watts.
Can you tell me a safe way to stop those processes in Taskmaster that
aren't needed without crashing the machine?
On Tue, 9/2/2025 3:55 PM, John B. Smith wrote:
Ah, a plaintive question which has been around for a Very Long Time, andCan you tell me a safe way to stop those processes in Taskmaster that
aren't needed without crashing the machine?
Microsoft has done a lot already, to optimize things. They have
had studies running on machines, to find things they can turn down.
On 2025/9/3 0:16:4, Paul wrote:
On Tue, 9/2/2025 3:55 PM, John B. Smith wrote:
[]
Ah, a plaintive question which has been around for a Very Long Time, andCan you tell me a safe way to stop those processes in Taskmaster that
aren't needed without crashing the machine?
to which no _simple_ answer has ever been given!
[]
Microsoft has done a lot already, to optimize things. They have
had studies running on machines, to find things they can turn down.
Because of who is saying it I have to believe that, but for anyone who
has been using the various Windows versions for a lot of years, it's
very _hard_ to believe: the number of background tasks which anyone with
less than Paul's (or possibly VanguardLH's, or one other) level of
knowledge just has to, for practical purposes, _accept_ running, has
risen significantly with each version, from about 9x on. (I'm not sure
if 3.1 had any.)
[]
What's snipped in my two []s in this post is _very_ knowledgeable. But
beyond my capability to understand now. This is no criticism, just an acceptance that _my_ processing power is declining!
On 2025/9/3 8:41:2, Paul wrote:
On Tue, 9/2/2025 8:25 PM, J. P. Gilliver wrote:
On 2025/9/3 0:16:4, Paul wrote:
On Tue, 9/2/2025 3:55 PM, John B. Smith wrote:
[]
Ah, a plaintive question which has been around for a Very Long Time, and >> to which no _simple_ answer has ever been given!Can you tell me a safe way to stop those processes in Taskmaster that >>>> aren't needed without crashing the machine?
[]
Microsoft has done a lot already, to optimize things. They have
had studies running on machines, to find things they can turn down.
Because of who is saying it I have to believe that, but for anyone who
has been using the various Windows versions for a lot of years, it's
very _hard_ to believe: the number of background tasks which anyone with >> less than Paul's (or possibly VanguardLH's, or one other) level of
knowledge just has to, for practical purposes, _accept_ running, has
risen significantly with each version, from about 9x on. (I'm not sure
if 3.1 had any.)
On Wed, 3 Sep 2025 09:18:24 +0100
"J. P. Gilliver" <G6JPG@255soft.uk> wrote:
On 2025/9/3 8:41:2, Paul wrote:My [XP] box:
On Tue, 9/2/2025 8:25 PM, J. P. Gilliver wrote:
On 2025/9/3 0:16:4, Paul wrote:
On Tue, 9/2/2025 3:55 PM, John B. Smith wrote:
[]
Ah, a plaintive question which has been around for a Very Long Time, and >>>> to which no _simple_ answer has ever been given!Can you tell me a safe way to stop those processes in Taskmaster that >>>>>> aren't needed without crashing the machine?
[]
Microsoft has done a lot already, to optimize things. They have
had studies running on machines, to find things they can turn down.
Because of who is saying it I have to believe that, but for anyone who >>>> has been using the various Windows versions for a lot of years, it's
very _hard_ to believe: the number of background tasks which anyone with >>>> less than Paul's (or possibly VanguardLH's, or one other) level of
knowledge just has to, for practical purposes, _accept_ running, has
risen significantly with each version, from about 9x on. (I'm not sure >>>> if 3.1 had any.)
Image Name PID Session Name Session# Mem Usage ========================= ====== ================ ======== ============ System Idle Process 0 0 16 K System 4 0 36 K smss.exe 728 0 48 K csrss.exe 784 0 2,852 K winlogon.exe 808 0 1,044 K services.exe 852 0 1,924 K lsass.exe 864 0 1,300 K svchost.exe 1020 0 1,268 K svchost.exe 1068 0 1,600 K svchost.exe 1264 0 9,404 K explorer.exe 1568 0 34,916 K PERSFW.exe 1644 0 572 K svchost.exe 1696 0 2,176 K sylpheed.exe 1760 0 4,040 K wmiprvse.exe 1984 0 5,060 K cmd.exe 2236 0 2,892 K ntvdm.exe 984 0 2,392 K wmiprvse.exe 3904 0 5,980 K tasklist.exe 2872 0 4,408 K
[]
sylpheed.exe because I'm looking at usenet right now
wmiprvse snuck in whilst I was looking,
cmd.exe and ntvdm.exe are because I ran tasklist in a command box, tasklist.exe is because it is reporting on itself!
but otherwise it's as minimal as I can get it.
On Tue, 9/2/2025 8:25 PM, J. P. Gilliver wrote:
On 2025/9/3 0:16:4, Paul wrote:
On Tue, 9/2/2025 3:55 PM, John B. Smith wrote:
[]
Ah, a plaintive question which has been around for a Very Long Time, andCan you tell me a safe way to stop those processes in Taskmaster that
aren't needed without crashing the machine?
to which no _simple_ answer has ever been given!
[]
Microsoft has done a lot already, to optimize things. They have
had studies running on machines, to find things they can turn down.
Because of who is saying it I have to believe that, but for anyone who
has been using the various Windows versions for a lot of years, it's
very _hard_ to believe: the number of background tasks which anyone with
less than Paul's (or possibly VanguardLH's, or one other) level of
knowledge just has to, for practical purposes, _accept_ running, has
risen significantly with each version, from about 9x on. (I'm not sure
if 3.1 had any.)
I'm suggesting it isn't particularly practical to get stressed about this.
If you're off the grid, you would shop for a low power machine in the
first place, and then most of the work is already done for you.
Like one of those $250 mini-PC that are making the rounds right
now, and have a quad core "6 watt" CPU inside. There are probably
a few tablets that would make good candidates for the same reason.
Nouveau for the video driver versus NVidia). On a recent distro,
with the Nouveau driver, in the "top" display I watched as the
desktop rendering used 400% CPU (four railed CPU cores) to replace
You *might* be able to save some power on Windows, by disabling--
all the security features. I don't know if I could manage that
on my own, or not. Like the Virtualization Based Security,
maybe just one setting in bcdedit could smother that.
Paul
What is slowing down my WIndows PC & what can I do to kill it now
I rather like your the Subject line:
What is slowing down my WIndows PC & what can I do to kill it now
What, indeed, can you do to kill your Winodows PC :-?
I rather like your the Subject line:
What is slowing down my WIndows PC & what can I do to kill it now
What, indeed, can you do to kill your Winodows PC :-?
Throw it out from the second or higher floor.
JJ to Anton Sheplelev:Is that a UK second or a US second?>
I rather like your the Subject line:
What is slowing down my WIndows PC & what can I do to kill it now
What, indeed, can you do to kill your Winodows PC :-?
Throw it out from the second or higher floor.
That's the standard method, if it supports the drag'n'drop technology.
I rather like your the Subject line:
What is slowing down my WIndows PC & what can I do to kill it now
What, indeed, can you do to kill your Winodows PC :-?
On Wed, 8 Oct 2025 02:10:28 +0300, Anton Shepelev wrote:
I rather like your the Subject line:
What is slowing down my WIndows PC & what can I do to kill it now
What, indeed, can you do to kill your Winodows PC :-?
That's funny. My most common typo is Widows, for which a spell
checker is no help at all.
My most common typo is Widows
On 2025/10/8 9:35:15, Anton Shepelev wrote:
JJ to Anton Sheplelev:
I rather like your the Subject line:
What is slowing down my WIndows PC & what can I do to kill it now
What, indeed, can you do to kill your Winodows PC :-?
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Stan Brown:
My most common typo is Widows
Same here, also: `starndads', and `GoggleGropus`.
Stan Brown:
My most common typo is Widows
Same here, also: `starndads', and `GoggleGropus`.
On Thu, 9 Oct 2025 01:53:11 +0300, Anton Shepelev wrote:
Stan Brown:
My most common typo is Widows
Same here, also: `starndads', and `GoggleGropus`.
When I first got a home computer, I often made the mistake of entering "LUST" when it was supposed to be "LIST".
--
77 days until the winter celebration (Thursday, December 25, 2025 12:00
AM for 1 day).
Mark Lloyd
http://notstupid.us/
"If there is a God, atheism must strike Him as less of an insult than religion." [Edmond and Jules de Goncourt]
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:Not when it comes to floors (storeys)! In British English, the ground
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American English, the ground floor is the first floor, upstairs is the second
floor, and so on.
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American English, the ground floor is the first floor, upstairs is the second
floor, and so on.
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American English, the ground floor is the first floor, upstairs is the second
floor, and so on.
J. P. Gilliver <G6JPG@255soft.uk> wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American>> English, the ground floor is the first floor, upstairs is the second
floor, and so on.
dragging ourselves a little more on-topic; in computing terms this is the difference between 0-based and 1-based indexing. C-based languages always
use 0-based indexing whereas others (like R, S) use 1-based.
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American English, the ground floor is the first floor, upstairs is the second
floor, and so on.
On Fri, 10 Oct 2025 00:40:02 +0100, J. P. Gilliver wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American
English, the ground floor is the first floor, upstairs is the second
floor, and so on.
Didn't know that, since I'm in Asia. So, thanks.
Which one or do both still superstitious on having 13th floor?
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American English, the ground floor is the first floor, upstairs is the second
floor, and so on.
On Fri, 10 Oct 2025 00:40:02 +0100, J. P. Gilliver wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American English, the ground floor is the first floor, upstairs is the second
floor, and so on.
In this as in s many things, the US is out of step. In both French
and Spanish classes, we learned translations of floor numbers that
match what the British do.
On Fri, 10 Oct 2025 00:40:02 +0100, J. P. Gilliver wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American
English, the ground floor is the first floor, upstairs is the second
floor, and so on.
Didn't know that, since I'm in Asia. So, thanks.
Which one or do both still superstitious on having 13th floor?
So we probably should have a poll on whether there is *any* country
*other* than the US, which calls the ground floor the first floor.
On 11 Oct 2025 17:20:39 GMT, Frank Slootweg wrote:
So we probably should have a poll on whether there is *any* country
*other* than the US, which calls the ground floor the first floor.
Reminds me of a 1981 Isaac Asimov essay, where in a footnote he said
that the two most powerful countries not on the metric system were
the United States and Liberia. And I believe Liberia has gone metric
since then.
On Fri, 10 Oct 2025 00:40:02 +0100, J. P. Gilliver wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American
English, the ground floor is the first floor, upstairs is the second
floor, and so on.
In this as in s many things, the US is out of step. In both French
and Spanish classes, we learned translations of floor numbers that
match what the British do.
JJ <jj4public@gmail.com> wrote:
On Fri, 10 Oct 2025 00:40:02 +0100, J. P. Gilliver wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American
English, the ground floor is the first floor, upstairs is the second
floor, and so on.
Didn't know that, since I'm in Asia. So, thanks.
Which one or do both still superstitious on having 13th floor?
Both. It's a common western phobia.
I've not seen it in buildings - in the UK buildings with more than 13
floors aren't that common - but many airlines don't have a row 13.
On 12/10/2025 12:04 am, Chris wrote:
JJ <jj4public@gmail.com> wrote:I can't say I've ever noticed it but I have heard that some tall
On Fri, 10 Oct 2025 00:40:02 +0100, J. P. Gilliver wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with >>>> the second floor, if there is one, above that, and so on); in American >>>> English, the ground floor is the first floor, upstairs is the second
floor, and so on.
Didn't know that, since I'm in Asia. So, thanks.
Which one or do both still superstitious on having 13th floor?
Both. It's a common western phobia.
I've not seen it in buildings - in the UK buildings with more than 13
floors aren't that common - but many airlines don't have a row 13.
buildings don't actually have a 13th Floor .... they just have a gap ...
to allow the Wind to blow THROUGH rather than causing the building to
sway from side to side.
Hmm! One of my Brothers-in-Law is/was an Architect ... prehaps I should discuss this with him. ;-)
J. P. Gilliver <G6JPG@255soft.uk> wrote:
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American
English, the ground floor is the first floor, upstairs is the second
floor, and so on.
dragging ourselves a little more on-topic; in computing terms this is the difference between 0-based and 1-based indexing. C-based languages always
use 0-based indexing whereas others (like R, S) use 1-based.
On 10/10/2025 11:14 pm, Chris wrote:
J. P. Gilliver <G6JPG@255soft.uk> wrote:"C-based languages" I can live with, although I've never studies it/them
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the ground
floor is called the ground floor, and the first floor is upstairs (with
the second floor, if there is one, above that, and so on); in American
English, the ground floor is the first floor, upstairs is the second
floor, and so on.
dragging ourselves a little more on-topic; in computing terms this is the
difference between 0-based and 1-based indexing. C-based languages always
use 0-based indexing whereas others (like R, S) use 1-based.
... but "0-based" and "1-based"??
On 12/10/2025 11:57, Daniel70 wrote:
On 10/10/2025 11:14 pm, Chris wrote:
J. P. Gilliver <G6JPG@255soft.uk> wrote:"C-based languages" I can live with, although I've never studies
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the
ground floor is called the ground floor, and the first floor is
upstairs (with the second floor, if there is one, above that,
and so on); in American English, the ground floor is the first
floor, upstairs is the second floor, and so on.
dragging ourselves a little more on-topic; in computing terms
this is the difference between 0-based and 1-based indexing.
C-based languages always use 0-based indexing whereas others
(like R, S) use 1-based.
it/them ... but "0-based" and "1-based"??
Think of fields in an array. The first field may be given the index 0
or 1.
On 12/10/2025 10:38 pm, MikeS wrote:
On 12/10/2025 11:57, Daniel70 wrote:
On 10/10/2025 11:14 pm, Chris wrote:
J. P. Gilliver <G6JPG@255soft.uk> wrote:"C-based languages" I can live with, although I've never studies
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the
ground floor is called the ground floor, and the first floor is
upstairs (with the second floor, if there is one, above that,
and so on); in American English, the ground floor is the first
floor, upstairs is the second floor, and so on.
dragging ourselves a little more on-topic; in computing terms
this is the difference between 0-based and 1-based indexing.
C-based languages always use 0-based indexing whereas others
(like R, S) use 1-based.
it/them ... but "0-based" and "1-based"??
Think of fields in an array. The first field may be given the index 0
or 1.
Oh!! Are you talking about 2^0, 2^1, 2^2, etc?? Is that all?? Just never heard of it expressed that way.
Think of fields in an array. The first field may be given the index 0
or 1.
Oh!! Are you talking about 2^0, 2^1, 2^2, etc?? Is that all?? Just never heard of it expressed that way.
Daniel70 <daniel47@nomail.afraid.org> wrote:
On 12/10/2025 10:38 pm, MikeS wrote:
On 12/10/2025 11:57, Daniel70 wrote:
On 10/10/2025 11:14 pm, Chris wrote:
J. P. Gilliver <G6JPG@255soft.uk> wrote:"C-based languages" I can live with, although I've never studies
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the
ground floor is called the ground floor, and the first floor is
upstairs (with the second floor, if there is one, above that,
and so on); in American English, the ground floor is the first
floor, upstairs is the second floor, and so on.
dragging ourselves a little more on-topic; in computing terms
this is the difference between 0-based and 1-based indexing.
C-based languages always use 0-based indexing whereas others
(like R, S) use 1-based.
it/them ... but "0-based" and "1-based"??
Think of fields in an array. The first field may be given the index 0
or 1.
Oh!! Are you talking about 2^0, 2^1, 2^2, etc?? Is that all?? Just never
heard of it expressed that way.
No. An array is a structure used in programming to manage a list of variables. The list is indexed by an integer which either starts at 0 or 1 depending on the programming language.
Daniel70 <daniel47@nomail.afraid.org> wrote:
On 12/10/2025 10:38 pm, MikeS wrote:
On 12/10/2025 11:57, Daniel70 wrote:
On 10/10/2025 11:14 pm, Chris wrote:
J. P. Gilliver <G6JPG@255soft.uk> wrote:"C-based languages" I can live with, although I've never studies
On 2025/10/10 0:34:47, JJ wrote:
On Wed, 8 Oct 2025 11:48:06 +0100, J. P. Gilliver wrote:
On 2025/10/8 9:35:15, Anton Shepelev wrote:
Throw it out from the second or higher floor.
Is that a UK second or a US second?>
Wait, what? Aren't both the same?
Not when it comes to floors (storeys)! In British English, the
ground floor is called the ground floor, and the first floor is
upstairs (with the second floor, if there is one, above that,
and so on); in American English, the ground floor is the first
floor, upstairs is the second floor, and so on.
dragging ourselves a little more on-topic; in computing terms
this is the difference between 0-based and 1-based indexing.
C-based languages always use 0-based indexing whereas others
(like R, S) use 1-based.
it/them ... but "0-based" and "1-based"??
Think of fields in an array. The first field may be given the index 0
or 1.
Oh!! Are you talking about 2^0, 2^1, 2^2, etc?? Is that all?? Just never
heard of it expressed that way.
No. An array is a structure used in programming to manage a list of variables. The list is indexed by an integer which either starts at 0 or 1 depending on the programming language.
Some languages start the index of the array at 1 instead. Maybe Pascal ?
On Sun, 12 Oct 2025 15:48:51 -0400, Paul wrote:
Some languages start the index of the array at 1 instead. Maybe Pascal ?
Pascal's 1-based index is for Pascal String (ShortString), where index 1 is the first character. But physically it's 0-based, where index 0 is the
string length. Pascal simply doesn't allow direct reference to index 0 of ShortString.
The one I know which use 1-based index is AutoHotkey. Both the original v1, and the newer v2 (which is supposed to have better syntax).