bugGNU Octave - Bugs: bug #55627, Simple function produces...

 
 

bug #55627: Simple function produces inappropriate string

Submitter:  None
Submitted:  Fri 01 Feb 2019 09:26:26 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Gerard Davison Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * other
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 02 Feb 2019 11:27:21 PM UTC, comment #5: 

If you can control your setup at your school/university, just remove the following file and the rest of Octave will work fine:


>> which fact
'fact' is a function from the file /path/to/octave/4.4.1/m/miscellaneous/fact.m


Otherwise you can tell your students to remove that file right after setup.  Furthermore, you can teach your students more useful ways to find the right command, instead of blind guessing and wasting time:


lookfor fact


I must admit, that I really had to laugh, when reading this bug report :D

Kai Torben Ohlhus <siko1056>
Group Member
Sat 02 Feb 2019 09:53:12 PM UTC, comment #4: 

So this package was created for use by undergraduate, and I guess extending this high school students in advances programs.

I would see this being inappropriate in what I know of Amearica school and that in the UK. In what countries would this be appropriate?

Anonymous
Sat 02 Feb 2019 07:26:53 PM UTC, comment #3: 

"inappropriate" varies widely across the globe, and it is not within our remit to enforce the mores of one locale in another.  If Octave is not appropriate for your particulare locale then discontinue using it.

Rik <rik5>
Group administrator
Sat 02 Feb 2019 09:18:08 AM UTC, comment #2: 

It doesn’t matter that this is an Easter egg this in at appropriate in either a work setting or a  educational setting that it was discovered in.

Anonymous
Sat 02 Feb 2019 06:09:56 AM UTC, comment #1: 

As you have no doubt discovered, "factorial" is the command you are looking for.  "fact" is an easter egg.  Every time you invoke it you'll get another amusing quote, somewhat like the UNIX fortune command.

Rik <rik5>
Group administrator
Fri 01 Feb 2019 09:26:26 PM UTC, original submission:  

I was trying to guess the command to perform factorial and I tried as follows:

octave:13> fact(20)

Richard Stallman doesn't need a qwerty/dvorak keyboard only two buttons "1" and "0" and his erect penis.

octave:14>

I was using Octave 3.8.0 on a Mac

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-02 siko1056 Operating SystemMac OS Any
    2019-02-02 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code