Don Y <blockedofcourse@foo.invalid> wrote: |-----------------------------------------------------------------------| |"[I knew of a piece of code that read a byte at a time from a | |file and incremented a counter after each successful read -- to | |determine the size of the file. Clearly a naive approach and | |terribly inefficient. But, the result was always accurate, | |even if costly to compute!]" | |-----------------------------------------------------------------------|
Websites often allow users to upload a file but such websites often
impose a size limit.
Today I used an imperfect website which is oriented for Gaelic
purposes to upload a file. This website had not warned that it imposes
a size limit. I attempted to upload that 122-megabyte file: HTTP://Gloucester.Insomnia247.NL/drochdhliodoiri/mu/Eirinn/Mary_O_Malley_Costello/2026-03-18a_Judge_Mary_O_Malley_Costello_rudely_left_whilst_I_spake_to_her__2026_03_18_12_27_41OnlineConverter_com.m4a
"Le fichier charg‚ d‚passe la taille de fichier maximale autoris‚e."
said HTTPS://eComplaint.WorkplaceRelations.Ie/ga-IE/complaint-equal-status/?stepid=b8f96d59-49a6-ed11-aad1-000d3a4bb61c&sessionid=affeb351-7441-4611-b1ea-36ad8712a9a6
today AFTER I have uploaded much of that file! In other words, this
website inefficiently did not bother to check in advance whether or
not that file is small enough before it dared to emit an error message
in French instead of Gaelic!
|-----------------------------------------------------------------------| |"Because, if I had built a discrete device to close the garage door |
|at sundown, I would never think of giving it access to the thermostat!"| |-----------------------------------------------------------------------|
You are thinking of it right now!!! :)
|------------------------------------------------------------------------| |"(I have no idea what the capabilities | |of client-side apps esp considering sandboxing issues) I.e., is it even| |possible for it to know the size of the file before "collecting" it?" | |------------------------------------------------------------------------|Clearly, a mismatch between what the developer THOUGHT the user would
Yes. This web app is not written to bother to check, whereas different
web apps do check sizes so they refuse to even begin to upload big
files.
=?UTF-8?Q?Niocl=C3=A1s_P=C3=B3l_Caile=C3=A1n?= de Ghloucester <thanks-to@Taf.com>wrote:
Don Y <blockedofcourse@foo.invalid> wrote: >|-----------------------------------------------------------------------| >|"[I knew of a piece of code that read a byte at a time from a | >|file and incremented a counter after each successful read -- to | >|determine the size of the file. Clearly a naive approach and | >|terribly inefficient. But, the result was always accurate, | >|even if costly to compute!]" | >|-----------------------------------------------------------------------|
Websites often allow users to upload a file but such websites often
impose a size limit.
Today I used an imperfect website which is oriented for Gaelic
purposes to upload a file. This website had not warned that it imposes
a size limit. I attempted to upload that 122-megabyte file: >HTTP://Gloucester.Insomnia247.NL/drochdhliodoiri/mu/Eirinn/Mary_O_Malley_Costello/2026-03-18a_Judge_Mary_O_Malley_Costello_rudely
_left_whilst_I_spake_to_her__2026_03_18_12_27_41OnlineConverter_com.m4a
"Le fichier charg‚ d‚passe la taille de fichier maximale autoris‚e."
said >HTTPS://eComplaint.WorkplaceRelations.Ie/ga-IE/complaint-equal-status/?stepid=b8f96d59-49a6-ed11-aad1-000d3a4bb61c&sessionid=affe
b351-7441-4611-b1ea-36ad8712a9a6
today AFTER I have uploaded much of that file! In other words, this
website inefficiently did not bother to check in advance whether or
not that file is small enough before it dared to emit an error message
in French instead of Gaelic!
Don Y <blockedofcourse@foo.invalid> wrote: >|-----------------------------------------------------------------------| >|"Because, if I had built a discrete device to close the garage door |
|at sundown, I would never think of giving it access to the thermostat!"| >|-----------------------------------------------------------------------|
You are thinking of it right now!!! :)
(S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 494928:17:12 |
| Calls: | 162 |
| Files: | 568 |
| D/L today: |
14 files (349K bytes) |
| Messages: | 74,957 |