Click here to Skip to main content
15,867,568 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Forbidden File Names? Pin
obermd3-Jan-23 3:56
obermd3-Jan-23 3:56 
GeneralRe: Forbidden File Names? Pin
kmoorevs3-Jan-23 5:03
kmoorevs3-Jan-23 5:03 
GeneralRe: Forbidden File Names? Pin
Dave Kreskowiak3-Jan-23 6:41
mveDave Kreskowiak3-Jan-23 6:41 
GeneralRe: Forbidden File Names? Pin
Gee.3-Jan-23 9:34
Gee.3-Jan-23 9:34 
GeneralRe: Forbidden File Names? Pin
kmoorevs3-Jan-23 9:52
kmoorevs3-Jan-23 9:52 
GeneralRe: Forbidden File Names? Pin
trønderen3-Jan-23 19:35
trønderen3-Jan-23 19:35 
GeneralRe: Forbidden File Names? Pin
kmoorevs3-Jan-23 9:46
kmoorevs3-Jan-23 9:46 
GeneralRe: Forbidden File Names? Pin
trønderen3-Jan-23 19:47
trønderen3-Jan-23 19:47 
My freshman year at the Tech. University was the last year of two huge Univac 1100 mainframes as the primary computers for student exercises. Those who have ever worked with the EXEC-8 OS will remember that the file system had "files", which were fairly large disk areas that you organized in "elements" which were e.g. source program units (i.e. what we call "files" in other systems).

Usually, students were given a single such "file" to hold all their work, customary named by the student's name. One of my classmates were refused: Her name was not accepted as a file name, and we could not see the reason.

We asked the system managers, who explained that Exec-8 used a Master File Directory organized as a hash table on the complete file "path" (not a hierarchical one, but a concatenation of a project name and the file name. The code doing the hashing could not handle bucket overflow. So the rejection of my classmate's name really was "Sorry, this hash bucket is full - please select a file name hashing to another bucket!"
GeneralRe: Forbidden File Names? Pin
ormonds4-Jan-23 15:18
ormonds4-Jan-23 15:18 
GeneralRe: Forbidden File Names? Pin
englebart15-Jan-23 10:00
professionalenglebart15-Jan-23 10:00 
GeneralRe: Forbidden File Names? Pin
kmoorevs16-Jan-23 7:24
kmoorevs16-Jan-23 7:24 
GeneralRe: Forbidden File Names? Pin
LM Hess29-Jan-23 7:27
LM Hess29-Jan-23 7:27 
GeneralClassic FORTRAN Pin
trønderen30-Dec-22 5:28
trønderen30-Dec-22 5:28 
GeneralRe: Classic FORTRAN Pin
Graeme_Grant30-Dec-22 6:32
mvaGraeme_Grant30-Dec-22 6:32 
GeneralRe: Classic FORTRAN Pin
Craig Robbins30-Dec-22 7:21
Craig Robbins30-Dec-22 7:21 
GeneralRe: Classic FORTRAN Pin
Slacker00730-Dec-22 7:36
professionalSlacker00730-Dec-22 7:36 
GeneralRe: Classic FORTRAN Pin
trønderen30-Dec-22 9:18
trønderen30-Dec-22 9:18 
GeneralRe: Classic FORTRAN Pin
haughtonomous2-Jan-23 21:56
haughtonomous2-Jan-23 21:56 
GeneralRe: Classic FORTRAN Pin
lewist573-Jan-23 8:43
lewist573-Jan-23 8:43 
GeneralRe: Classic FORTRAN Pin
trønderen3-Jan-23 9:21
trønderen3-Jan-23 9:21 
GeneralRe: Classic FORTRAN Pin
lewist573-Jan-23 9:49
lewist573-Jan-23 9:49 
GeneralRe: Classic FORTRAN Pin
jsc423-Jan-23 10:53
professionaljsc423-Jan-23 10:53 
GeneralRe: Classic FORTRAN Pin
Peter_in_27803-Jan-23 11:07
professionalPeter_in_27803-Jan-23 11:07 
GeneralRe: Classic FORTRAN Pin
jsc423-Jan-23 23:25
professionaljsc423-Jan-23 23:25 
GeneralRe: Classic FORTRAN Pin
trønderen3-Jan-23 16:54
trønderen3-Jan-23 16:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.