News for hackers. Stuff that matters.
Re:Students are failing AP tests because the College Board c... by thaumasiotes on Friday May 22, 2020 @10:26PM (#23279291)
But it is incredibly unlikely that web uploads are piped directly into custom software rather than just being written as files which are processed later. That would be an extreme amount of extra work for no benefit at all.
Re:Students are failing AP tests because the College Board c... by imtringued on Saturday May 23, 2020 @04:59AM (#23281317)
Tomcat gives you a http request object where you can just grab the input stream object and pass it to pretty much every library that processes files because opening a file just gives you a fileinputstream so adding general support for inputstreams is much easier than actually adding support that only works on files.
Re:Students are failing AP tests because the College Board c... by root_axis on Saturday May 23, 2020 @01:33PM (#23284779)
It's not at all unlikely, this is the default behavior for various setups, e.g. nodejs with express which is primarily a streams based system where you'd have to do extra work to write to disk.