Serving the Quantitative Finance Community

  • 1
  • 6
  • 7
  • 8
  • 9
  • 10
 
User avatar
Cuchulainn
Topic Author
Posts: 18786
Joined: July 16th, 2004, 7:38 am
Location: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

Re: Hello World in all Languages, post here

February 14th, 2023, 8:44 pm

Leftist, Alt Right, Marxist, Nihilist, Neo Celtic Reconstructionists, and splitters, all opinions appreciated. (Obviously that doesn't include Liberal Democrats.)
 
User avatar
tagoma
Posts: 2729
Joined: February 21st, 2010, 12:58 pm

Re: Hello World in all Languages, post here

February 18th, 2023, 1:55 pm

Stumbled on TurtleGraphics

Serious, just seen that Python supports Turtle Graphics. I used it on an Apple II way back to create business graphics package for project management (software product stayed in production for 19 years; Cost Control dept loved it, Procurement dept not..). Low level but it could do anything (output to shlow matrix printers).
turtle — Turtle graphics.


Sample (flashback>>)

import turtle
import time

c =turtle.Turtle()
c.getscreen().bgcolor("black")
c.color("red","yellow")
c.begin_fill()
c.fd(100)
c.lt(120)
c.fd(100)
c.lt(120)
c.fd(100)
c.end_fill()

time.sleep(10)

When I was 8 or 9 - the Commodore64 and ZX spectrum times! - my teacher brought with him a computer one day. He explained commands to draw line segments and asked each of us to write a program. We were fascinated then! In my memories commands were like what you’re showing here Cuch.
 
User avatar
Cuchulainn
Topic Author
Posts: 18786
Joined: July 16th, 2004, 7:38 am
Location: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

Re: Hello World in all Languages, post here

February 20th, 2023, 12:08 pm

We describe the problem to be analysed as follows. An engineering company works
on projects for internal and external customers. A project represents the sequence
of activities that are executed by departments and the project is deemed to be
complete when each activity has been completed. A project has a start date and
duration. A project can be an internal project or an external project. An employee
works on several activities in a project and is allocated a certain number of hours
and other resources for each activity. Each department has its own area of expertise
(for example, steel design, mechanical engineering). Departments are grouped into
divisions and a given division may sponsor a number of internal projects. Companies
are the sponsors of external projects. The resources (in this case hours) are allocated
to departments and employees on a project basis.
An employee belongs to one department. In principle, the employee’s department
is the cost centre for the employee’s resource usage. A system needs to be built that
registers, validates and monitors basis project resource usage (in this case hours)
on a regular basis. In particular, the following requirements must be supported in
the system:
• MPC (Manpower Control System) processes transaction data once per period (e.g. per month).
• Resource utilization must be monitored.
• Status reporting capabilities must be available to stakeholders.
This is how many enterprise software systems are born, namely from an initial feature list.
 
(1980, Written in Pascal on Apple II with 128 KB memory, including hand-crafted reporting subsystem based on TurtleGraphics primitives, right up to that logo in left upper corner).
I would need 1000 to explain the output. Funny, but 10 years learn I wrote a MIS system to manage disk space in a network of VAX/VMS machines in oil and gas. The use cases and structure are almost in 1:1 correspondence with MPC.
In 2004 I formalised MIS models.
Attachments
mpc.jpg
Leftist, Alt Right, Marxist, Nihilist, Neo Celtic Reconstructionists, and splitters, all opinions appreciated. (Obviously that doesn't include Liberal Democrats.)
 
User avatar
Cuchulainn
Topic Author
Posts: 18786
Joined: July 16th, 2004, 7:38 am
Location: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

Re: Hello World in all Languages, post here

May 22nd, 2023, 11:02 pm

Toki pona
Leftist, Alt Right, Marxist, Nihilist, Neo Celtic Reconstructionists, and splitters, all opinions appreciated. (Obviously that doesn't include Liberal Democrats.)
 
User avatar
Paul
Posts: 6341
Joined: July 20th, 2001, 3:28 pm

Re: Hello World in all Languages, post here

May 23rd, 2023, 5:49 am

At one time that was my first language. In the sense that I knew a larger fraction of its vocabulary than any other language. My family tried learning it on a holiday.
 
User avatar
Cuchulainn
Topic Author
Posts: 18786
Joined: July 16th, 2004, 7:38 am
Location: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

Re: Hello World in all Languages, post here

May 23rd, 2023, 3:04 pm

Image
Leftist, Alt Right, Marxist, Nihilist, Neo Celtic Reconstructionists, and splitters, all opinions appreciated. (Obviously that doesn't include Liberal Democrats.)
 
User avatar
Cuchulainn
Topic Author
Posts: 18786
Joined: July 16th, 2004, 7:38 am
Location: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

Re: Hello World in all Languages, post here

May 23rd, 2023, 8:23 pm

I suppose toki pona is a kind of pidgin, a word which when used may launch a tirade of insults. It is a precise term but many only remember the historical connotations. 
I would hate  to be a cultural anthropologist these days. Maybe quotes help.
// no Oxford commas used.

Image
Leftist, Alt Right, Marxist, Nihilist, Neo Celtic Reconstructionists, and splitters, all opinions appreciated. (Obviously that doesn't include Liberal Democrats.)