If you want to bet one way or the other on this question, here's a prediction market on it: https://manifold.markets/GregBaker/will-a-major-australian-bank-report
IFOST Blog
A blog about technology, running tech companies, data science, religion, translation technology, natural language processing, backups, p-adic linguistics, academic lecturing and many other topics.
Search This Blog
Saturday 27 April 2024
Do Australian banks care about AI?
Sunday 21 April 2024
Mysterious latitude and longitude coordinates
There's the coincidence of the Pyramid of Giza's latitude being a very similar-looking number to the speed of light. It's nonsense of course, because when the Pyramid of Giza was being built (roughly 2600BCE):
- No-one knew that the earth was round (so the concept of latitude didn't make any sense). It was more than 2000 years later Eratosthenes calculated the circumference of the earth (around 200BCE). He also made a map that connected the Atlantic Ocean with the Gulf of Arabia, and had the Equator substantially south of all of Africa.
- No-one described angles in degrees, only ratios of lengths or ratios of quadrature (so describing a latitude in degrees wouldn't have been possible). Angles were probably Babylonian (2000 years later); Aristarchus of Samos (2300 years later) is the first writer we know who used them.
- They didn't have decimal numbers; they didn't even have fractions with numerators. It's only in the Middle Kingdom period of Egypt (2000BCE, about 600 years later) that we see fractions of any kind. Even then they couldn't represent 2/3 other than saying (1/3 + 1/3, or 1/3+1/5+1/12+1/20). It was the height of mathematics six centuries later than the Pyramid of Giza to be able to say that 1/5 + 1/12 + 1/20 = 1/3. So they wouldn't have been able to represent 29.979.
- The length of the metre was defined as being the distance travelled by light in 1/299792458 seconds. That is, we chose that the speed of light would be that in 1983. If we had chosen 1/299792459 instead, presumably the great pyramid would have shifted north a bit. (I suppose some physicist might have been playing a prank on the world by making the speed of light match the latitude of the Great Pyramid of Giza. But that's not a mystery then, and it doesn't involve ancient aliens. It just involves a physicist with a sense of humour.)
- Actually, the metre was defined before that. One of the complaints of the French revolution peasants was the inconsistent measures imposed by their pre-revolution feudal lords, who would change the size of measures when they were buying vs selling. So they defined the metre by saying "a metre is one ten-millionth of the distance from the equator to the north pole via Paris." They knew that the Earth wasn't completely round, and it solved the problem that they had, but they still got it a bit wrong anyway.
- Before that, a metre was the length of a seconds pendulum -- a pendulum that swings every two seconds is roughly a metre long, as long is it only swings a little bit and the flexibility of the pendulum arm doesn't count. Anyway, yes, the ancient Egyptians had pendulums, but they didn't have the concept of seconds. They probably had some way of dividing up time into units smaller than an hour using water clocks, but nothing as small as minutes. They didn't know that pendulums swung at a constant rate, that wasn't until later, so even if they had had the concept, they couldn't measure it.
- Port Neches Elementary School in Texas, Latitude=29.97925, Longitude=-93.95905, according to Geonames. Presumably this is the address of the entrance, if you just move 47cm south (18.5 inches), you'll be spot on. Fun fact for Port Neches Elementary School students: if you travel east or west (and don't deviate even a little bit), you'll eventually hit the Great Pyramid of Giza. Google maps puts Port Neches Elementary School well away from this, and says that the Subway opposite the Neches Federal Credit Union / Magnolia Church is the speed-of-light latitude.
- Crowne Plaza Astor New Orleans Latitude=29.97922, Longitude=-90.1137. If you are the events manager for the Crowne Plaza Astor, I hope you have locked up the lucrative market for Physics Conferences at important latitudes. Just 2.87 metres north and you're on the light speed location. (Google Maps is again out-of-sync with geonames, and suggests the pedestrian crossing on North Tonti Street where it meets Aubry Street; it also suggests the Jewish Cemetry near the Hurrican Katrina Memorial... and the Mortuary Haunted House.) I don't know whether to believe Google maps or Geonames. I was on the Google Maps SRE team briefly in 2006--2007, but I spent the majority of my time on the maps team nowhere near any other maps team members, so I don't have an insider opinion on Google Maps accuracy.
- The Omnipotent Missionary Baptist Church. This seemed to have disappeared from Google Maps, if it was ever there, which I guess is a thing you can do if you are an Omnipotent Missionary. (But what do Omnipotent Missionaries evangelise about? Themselves?) It was at Latitude=29.9792, Longitude=-90.03.
- I tried to find a few places in China, but between inaccurate maps and other problems it's hard to be sure. The Wuhan Institute for Virology is just a little bit too far north to be on the light-speed latitude.
- According to Google Maps, the Benedictine Monastery of Toumliline is very close. But Wikipedia puts it several degrees of latitude in a different direction. For Moroccoa, Geonames suggests the town of of Aguerd Issegane, which seems like cheating because it's a town... but it's surprisingly small.
- Geonames also suggests New Orleans' East Bank Sewage Treatment Plant.
So for longitude 29.97925E:
- It's quite close to the Chernobyl nuclear power plant (51°23′21″N 30°05′58″E) -- but the powerplant is about 8km too far east.
- Suri Suri Dam in Zimbabwe is very close to the light-speed longitude (-18.08597,29.97944)
- Playing around with Google Maps, I found that the southern most shed of the University of Alexandria's Faculty of Agriculture Poultry Farm was is on the speed-of-light longitude.
- Taman LEP 7 Stop (which I think is a bus stop in Kuala Lumpur). Latitude=2.99793, and longitude=101.64858. The KL bus transit authority has encoded the speed of light in the bus stop!
wget http://download.geonames.org/export/dump/allCountries.zip
unzip allCountries.zip
createdb geonames
Then in the postgresql session:
CREATE TABLE geoname (
geonameid int,
name varchar(200),
asciiname varchar(200),
alternatenames varchar,
latitude float,
longitude float,
fclass char(1),
fcode varchar(10),
country varchar(2),
cc2 varchar(60),
admin1 varchar(20),
admin2 varchar(80),
admin3 varchar(20),
admin4 varchar(20),
population bigint,
elevation int,
gtopo30 int,
timezone varchar(40),
moddate date
);
\copy geoname (geonameid,name,asciiname,alternatenames,latitude,longitude,fclass,fcode,country,cc2, admin1,admin2,admin3,admin4,population,elevation,gtopo30,timezone,moddate) from 'allCountries.txt' null as '';
create index on geoname(latitude);
create index on geoname(longitude);
select * from geoname where latitude < 29.980 and latitude > 29.979 order by abs(latitude - 29.9792458);
And then likewise for different latitudes and longitudes.
Bonus:
- Gungele is at Pi latitude. Latitude=3.14159, Longitude=28.14137. (So close to being 10 times e!)
- Villedonné is at e longitude (to 6 decimal places) Latitude=47.27323, Longitude=2.71828
- A beach in Tiomann Island (Pasir Gerenggan) in Malaysia is at e latitude. Latitude=2.718, longitude=104.1724
Monday 15 April 2024
Interview with the Australian Writers' Centre
I was interviewed about ChatGPT, Anthropic and other GenAI tools and their impact on jobs for writers. We ended up talking about speech recognition, why SEO might be becoming irrelevant and the computer gaming industry.
https://www.writerscentre.com.au/blog/copywriter-070/
Tuesday 2 April 2024
Setting up a custom GPT
If you are running a class, you might want to have a bot that students can ask questions of -- questions about the content, possible exam questions, dates and times for assessments, and so on.
I walked Dr Emily Don through this process -- it's not long or complicated. We also talked about transcribing lectures with many technical terms.
There is an equity problem, though: students without access to ChatGPT Pro (or Microsoft Copilot Pro, or equivalent) can't access it. There are various workarounds for this.
Monday 4 March 2024
Why isn't there a degree called a Bachelor of Contact Centre Adminstration?
It would cover IP networking, VoIP and telephony. It would teach students about AI and its applications in all aspects of compliance, optimisation, training, CSAT improvement, translation; and enough maths to understand queue behaviour under pressure. Contact centres often have high turnover / transient staff, unique training needs and large numbers of staff, so there should be a strong HR component. Perhaps there should be units on contract negotiation, sales techniques and other parts from a business degree.
I was thinking about this yesterday when I was creating an assignment for my students where they have to write a telephony speech recognition and intent detection system for a contact centre. I realised I would need to explain a few background concepts (e.g. like call routing and queueing)... and it quickly snowballed into "there's actually quite a lot of stuff to know in order to understand a modern contact centre".
Everyone I know had to learn everything about contact centre management on-the-job. Every call centre I know of has people in it studying part-time to get a degree in something other than their current occupation.
Why is a Bachelor of Call Centre Administration not a thing?
Tuesday 13 February 2024
Multi-lingual versions of natural language processing lectures
Last year I taught an introduction to Natural Language Processing at Macquarie University. I grabbed all the recordings, and started editing them so that I could publish them. I’m not even half way through the first two hour lecture, but at least I’ve made some progress.
Here’s what’s working so far, and what isn’t.
I have a “intro theme music” for the first few seconds of the videos that I publish.
https://soundcloud.com/greg-baker-574386084/another-solresol-company-theme
That theme music consists of several phrases in the musical language Solresol, an artificial language that lasted almost as long as Esperanto has. The alto flute opens with a call out (in solresol) “today; tomorrow”, then there’s a gong because everyone needs a gong and it says something. The timpani then taps out (in morse code) the name of my company. Meanwhile, the harp is saying (in solresol) “wisely useful” then “wisdom - create a model”. The bells sing out (in solresol) “behold: yours! Behold!”. The orchestral strings just fit all the pieces in the background to make it sound complete.
This all seems very appropriate theme music for a series of lectures on natural language processing, particularly on the first few that focus on encoding text in different languages around the world.
I signed up to ElevenLabs (affiliate link http://elevenlabs.io/?from=partnerrobles3623 ) so that I could translate my lectures.
They seem to be using Whisper to do speech-to-text into English. This interacts strangely with the start of my videos, because it seems to think that I’m saying something (which indeed, I am! But in Solresol) and often hallucinates greetings or other comments like that. So it tries to modify the Solresol music with words, which just warps the sound and makes it slightly out of tune.
Other issues:
- I’m finding that its algorithm for identifying the number of speakers is unreliable. It often thinks that there are two of me.
- Translation into Indonesian and Malay (which are close to the same thing) was not recognisable as being in those languages. It’s not just me thinking “that doesn’t sound like Bahasa”; fluent speakers weren’t even sure if they were listening to Bahasa or random babble.
English https://www.youtube.com/playlist?list=PLnUusltxXvTdi6q_uTj4zt4ArCRoGBBUA
Chinese https://www.youtube.com/playlist?list=PLnUusltxXvTeryUuujEiLkhPYwRmYyufj
Hindi https://www.youtube.com/playlist?list=PLnUusltxXvTfOXqfpc5aIbrcgjxSZ9CoN
Spanish https://www.youtube.com/playlist?list=PLnUusltxXvTczVNLSAUFwSoyOf-PWZAcl
Japanese https://www.youtube.com/playlist?list=PLnUusltxXvTeRozp7XbEd90Gh32GAgP9H
Arabic https://www.youtube.com/playlist?list=PLnUusltxXvTfUEtbOqGBL6chpMWx1sApM
Korean https://www.youtube.com/playlist?list=PLnUusltxXvTcE4kecg6x0wHpTOdDMoseK
If you or your colleagues or friends speak one of these languages and want to hear a bit about the history of text encoding, forward them on and let me know if they are useful.
Friday 2 February 2024
Programming language theology
What does the Bible have to say about different programming languages?
- Perl (Matthew 13:45-46)
- Haskell (we are called to a life of purity)
- Ocaml (it’s easier for OCaml to pass through the eye of a needle and all that, Matthew 19:24)
- Forth It's part of the great commission in Mark 16:15)
- Go Again, it's part of the great commission, but also Isaiah 18:2 seems to promote message passing between Golang and Swift)
- Java (covered in He-brews)
- Lazarus (which is cheating a bit, because it’s a framework for FreePascal, but John 11 covers it in some detail)
- SQL isn't specifically mentioned, but Proverbs 2:3-5 seems to describe it
- C/C++/C# in Genesis 1;10 God gathered the waters together and called them the seas. But in Revelation 21:1 it says that there will be no more C, so presumably C++ and C# take over in a new heaven and new earth.
- Ada according to Genesis 36:4 Eliphas was bored by Ada, which does indeed speak holy truth about programming in Ada
- Python This is one of those difficult topics. My best interpretation of John 3:14 says that Jesus should be lifted up like a snake was. I guess that means we should kill Python and see if it comes back to life: presumably we did that with the Python 2 -> 3 transition.
- Swift I'm unsure of what the Bible says about this generally. Isaiah 5:26 applies to programmers at the ends of the earth, and Romans 3:15 presumably refers to programming with one's feet so hard that they bleed.
- Rust It seems we should avoid Rust based on Matthew 6:19-20.