News for hackers. Stuff that matters.
Re:Most 16-year-olds don't have servers in their rooms by asveikau on Friday December 22, 2023 @02:09PM (#38737448)
What is he studying? I feel like a lot of older people in non technical fields, even if they work with files, could not reason through exactly how to define a file.
Re:Most 16-year-olds don't have servers in their rooms by loughnane on Friday December 22, 2023 @02:39PM (#38737757)
Went to a trade high school, the usual classes but a focus on carpentry.
Re:Most 16-year-olds don't have servers in their rooms by adolph on Friday December 22, 2023 @03:28PM (#38738278)
What is your definition of a file?

Does it include bundles of files?

What metadata does it include?

Can it exist in more than one place? When a file is opened, is the file what is in processor and cache/RAM or what gets serialized to some persistent media?

Metaphorically, is a file a sheet of paper or folded tan cardstock that holds many sheets of paper?

Is a file unitary or can it contain other files? Is a directory a file? Is a link? Is a device a file?

Re:Most 16-year-olds don't have servers in their rooms by asveikau on Friday December 22, 2023 @03:37PM (#38738387)
I mean, a file is an abstraction of several of the choices you are asking about in these questions, and different people will answer different things. ps. I've worked on filesystem drivers...
Re:Most 16-year-olds don't have servers in their rooms by adolph on Friday December 22, 2023 @10:56PM (#38741490)
Ok, can you "reason through exactly how to define a file?"

Is defining something as an "abstraction" the same as saying you can't provide a definition?

Since you are a driver worker, do you consider something a file before it is written to a filesystem?

Re:Most 16-year-olds don't have servers in their rooms by asveikau on Saturday December 23, 2023 @11:06AM (#38745222)
I read you as needlessly combative here, getting far from the points made. Commenter said they told a kid that websites are just a collection of files, kid replied "what's a file?", and I chimed in that that's not so strange, because even people who work with them might have a hard time nailing down a definition. None of this is incompatible with your soap box, but you're writing as if we disagree.
Re:Most 16-year-olds don't have servers in their rooms by walteweiss on Friday December 22, 2023 @02:44PM (#38737806)
Everything is a file!
Re:Most 16-year-olds don't have servers in their rooms by arcanemachiner on Friday December 22, 2023 @03:01PM (#38737982)
You're a file.
Re:Most 16-year-olds don't have servers in their rooms by walteweiss on Friday December 22, 2023 @04:37PM (#38738974)
I’m a file. You’re a file. Everything is a file!