Protected: Summer Research in Computing & Embedded Systems – 2024 Program (starts July 8th)

Spread the love

This content is password protected. To view it please enter your password below:

A tiny high-level language runtime for embedded computing with the power of C and the extensibility of Forth or LISP.

Spread the love


We are delighted to announce the successful completion of a tiny footprint high-level computing language for high-speed, low-power, embedded computing on bare silicon (no BIOS, no OS). In terms of size, cost, and carbon footprint, the kernel clocks in at 730 bytes which includes a fully extensible runtime kernel providing DSL (domain specific language) capability for application specific computing.
Continue reading this article…

TinyPhoto: Embedded Graphics and Low-Fat Computing

Spread the love

TinyPhoto is a small rotating photobook embedded graphics project that uses the low-power ATtiny85 microcontroller (3mA) and a 128×64 pixel OLED display (c.5-10mA typical, 15mA max). This combination can deliver at least 20 hrs of continuous play on a 3V coin cell battery (225mAh capacity). TinyPhoto can be readily built from a handful of through-hole electronic components (12 parts, £5) organized to fit onto a 3cm x 7cm single-sided prototype PCB. The embedded software is c.150 lines of C code and uses less than 1,300 bytes of on-chip memory. TinyPhoto rotates through five user-selectable images using a total of 4,900 bytes (yes, bytes!) stored in the on-chip flash RAM. The setup produces crisp photos on the OLED display with a real-time display rate that is instantaneous to the human eye with the Tiny85 boosted to run at 8MHz. A custom device driver (200 bytes) sets up the OLED screen and enables pixel-by-pixel display. Custom Forth code converts a 0-1 color depth image into a byte-stream that can be written to the onboard flash for rapid display. It is a reminder of what can be accomplished with low-fat computing

The magic, of course, is in the software. This article describes how this was done, and the software that enables it. Checkout the TinyPhoto review on Hackaday!

Tiny Photo – 3cm x 7cm photo viewer powered by ATTiny85 8-bit microcontroller sending pixel level image data to OLED display (128×64 pixels), powered by 3V coin cell battery. Cycles through 5 images stored in 5kB of on-chip Flash RAM. (Note, this is 1 million times less memory than on a Windows PC with 8GB RAM). The magic is in the software.

Continue reading this article…

The Sacred & the Profane: the search for simplicity in the total hardware-software combination

Spread the love


If you haven’t done so already, you may want to start by reading the Preface to Knowledge Engineering & Emerging Technologies.


January 31st, 2024 (4th ed)1

When designing a system, what should you optimize? If it is a user-interface or process, you should be minimizing clicks, or process steps. But for hardware-software systems, the answer is not obvious, and a common mistake is to fail to consider the end-to-end problem. This article explores what is involved in optimizing end-to-end in hardware-software systems. The goal here is to minimize the overall complexity of the system, i.e. of the triple hardware-software-user combination. The following remarks set the stage for our discussion:

  1. “Any [one] can make things bigger, more complex. It takes a touch of genius, and a lot of courage, to move in the opposite direction.” – Ernst F. Schumacher, 1973, from “Small is Beautiful: A Study of Economics As If People Mattered”.2
  2. “The goal [is] simple: to minimize the complexity of the hardware-software combination. [Apart from] some lip service perhaps, no-one is trying to minimize the complexity of anything and that is of great concern to me.” – Chuck Moore, [Moore, 1999] (For a succinct introduction to Chuck Moore’s minimalism, see Less is Moore by Sam Gentle, [Gentle, 2015]
  3. “We are reaching the stage of development [in computer science] where each new generation of participants is unaware both of their overall technological ancestry and the history of the development of their speciality, and have no past to build upon.” – J.A.N. Lee, [Lee, 1996, p.54].
  4. “The arc of change is long, but it bends towards simplicity”, paraphrasing Martin Luther King.3

Between complexity and simplicity, progress, and new layers of abstraction.

Continue reading this article…

  1. 3rd ed. (Jul 20, 2021), 2nd ed. (Apr 9, 2014, addition of GCC history), 1st ed. (May 2, 2010)
  2. This quote by Ernst F. Schumacher is often incorrectly attributed to Einstein
  3. Martin Luther King’s actual phrase was “The arc of the moral universe is long, but it bends towards justice.”, 1965 You can see an example of this in Ian Hogarth’s discussion about the contest between tokamak and stellerator in the evolution of nuclear fusion technology. (Short version: the tomkamak surged ahead despite its complexity to operate as it was easy to design, but the real breakthrough will likely be achieved by the stellerator as it is simple to operate though harder to design.)

Insider perspectives: Mathematicians on Mathematics

Spread the love

Revised & Expanded May 2023. First published November 1998.

This article provides a selection of quotes, written mostly by mathematicians, that convey especially clearly essential aspects of mathematics and its culture. Comments are collected in the endnotes.

Contents
1. The Essence of Mathematics
2. The ‘Why’ of Mathematics
3. The ‘How’ of Mathematics
4. Tension in the Teaching and Learning of Mathematics
5. Doing Mathematics
6. Motivating the Required Effort
7. People in Mathematics
8. The Place of Anthropology and Historiography
9. Mathematical Humour

Continue reading this article…

The Prehistoric Origins of Mathematics

Spread the love


3rd ed. Aug 2023 (expanded appendices). 2nd ed. Nov 2019 (revised to include advances in linguistics, genomics, interpretive theory, and Mesopotamian mathematics); 1st ed. (Dec 29, 2009)

Part 1 in Ancient Mathematics series. (Part 2: The Mathematics of Uruk and Susa 3500-3000 BCE, Part 3: Exploring Cuneiform Culture 8500-2500 BCE)

Abstract
How far back in time can we trace mathematical understanding and mathematical practice? When did humans acquire the neurological circuitry for the cognitive and linguistic capabilities on which mathematics depends? Advances in multiple disciplines over the past 30 years have fundamentally changed what we know about our past and about the biological capacity for, and cultural impulses behind, cognitive precision (language, number sense, cultural transmission). Exploring these questions will take us on a journey across archaeology, Assyriology, artifact analysis (close reading theory), anthropology, genomics, linguistics, neurobiology, and animal cognition.

The Anthropology and Archaeology of Conceptual Thought leading to the Birth of Mathematics

Continue reading this article…

What is Mathematics?

Spread the love

4th ed. Jan 2024; 3rd ed. May 2023; 2nd ed. Dec 2009; 1st ed. Sep 2004

“It is not philosophy but active experience in mathematics itself that alone can answer the question: `What is Mathematics?'” – Richard Courant & Herbert Robbins, 1941, What is Mathematics?, Oxford University Press)

“An adequate presentation of any science cannot consist of detailed information alone, however extensive. It must also provide a proper view of the essential nature of the science as a whole.” – Aleksandrov, 1956, Mathematics: Its Content, Methods, and Meaning

‘What is mathematics?’ Much ink has been spilled over this question, as can be seen from the selection of ten respected responses provided in the footnote1, with seven book-length answers, and three written in the current millenium. One might well ask, is there anything new that can be said, that should be said? We’ll start by clarifying what a good answer should look like, and then explore the answer proposed.

The rest of the paper follows the structure below:

   1. Criteria for a Good Definition of Mathematics
   2. Definition 1: covering mathematics up to the end of the 18th century (1790s)
   3. Two Perspectives 
       Mathematics as Dialectic (Lakatos)
       Mathematics shaped by its Anthropology (Hoyrup)
   4. Definition 2: covering all mathematics, including contemporary mathematics
   5. The emergence of contemporary mathematical practice from 1800s onward
   6. Three Facets of Mathematics
       1. Mathematics as an Empirical Science
       2. Mathematics as a Modeling Art
       3. Mathematics as an Axiomatic Arrangement of Knowledge
   7. Mathematics "from the inside": Mathematicians writing about Mathematics
   8. Continue Reading
   9. References

Continue reading this article…

  1. Responses from 1941 to 2017: (Courant, Robbins, 1941), (Alexandrov, Kolmogorov, Lavrentiv, 1963), (Renyi, 1967), (Halmos, 1973), (Lakatos, 1976), (Davis, Hersh, 1981), (MacLane, 1986), (Hersh, 2006), (Zeilberger, 2017), (Hoyrup, 2017), 7 books, 3 articles.

The Benefits of Enriched Mathematics Instruction

Spread the love

2nd ed. June 2023; 1st ed. April 2010

The term “mathematical maturity” is sometimes used as short-hand to refer to a blend of elements that distinguish students likely to be successful in mathematics. It is a mixture of mathematical interest, curiousity, creativity, persistence, adventurousness, intuition, confidence, and useful knowledge.[1],[2],[3]

With advances in machine learning, computer science, robotics, nano-materials, and many other quantitative, fascinating subjects, students today have increasingly more choice in technical studies besides mathematics. To attract and retain mathematics students, it is important that mathematics instruction be experienced as both intellectually and culturally rewarding in addition to being technically empowering. Losing students from mathematics who are otherwise capable, engaged and hard-working is tragic when it could have been avoided.

In this article, building on observations gained over the years teaching and coaching students in mathematics, we consider how enriched mathematics instruction (inquiry-based/discovery learning, historiography, great ideas/survey approaches, and philosophical/humanist) can help (1) develop mathematical maturity in students from at-risk backgrounds and prevent their untimely departure from quantitative studies, (2) strengthen the understanding of those that are already mathematically inclined, (3) expand mathematical and scientific literacy in the wider population.

Continue reading this article…

Knowledge Engineering & Emerging Technologies*

Spread the love

2nd ed. Jan 2023 (before the ChatGPT/LLM AI release), 1st. ed. 2005

Overview

In the intersection between Mathematics, Modern Statistics, Machine Learning & Data Science, Electrical Engineering & Sensors, Computer Science, and Software Engineering, is a rapidly accelerating area of activity concerned with the real-time acquisition of rich data, its near real-time analysis and interpretation, and subsequent use in high quality decision-making with automatic adjustment and intelligent response. These advances are enabled by the development of small, energy efficient microprocessors coupled with low-cost off-the-shelf sensors, many with integrated wireless communication and geo-positional awareness, communicating with massive high-speed databases. For teams able to bridge the disciplines involved, the potential for economically productive application is limitless.

Figure 3.

Traditional science and technology disciplines are in the outermost ring, often isolated from each other. The result of their integration is driving the areas out of which a large portion of technology in the coming decades is likely to appear.

Continue reading this article…

Mathematical Finance and The Rise of the Modern Financial Marketplace

Spread the love


Updated May 2024 (added non-banking financial sector), Updated March 2023 (added latest bank collapses in US/EU). First published July 5, 2010 (two years after the financial collapse triggered Great Recession).

Mathematical Finance is an area of applied mathematics that has developed rapidly during the late 80s and 90s after the deregulation of U.S. financial markets, and accelerated further in the 2000s concurrently with the rise of data science/’big data’ and computational platforms able to run complex models in close to real-time. For its financial models for risk and pricing, Mathematical Finance draws upon the partial differential equations of mathematical physics, stochastic calculus, probabilistic modeling, mathematical optimization, statistics, and numerical methods. The implementation of these often complex numerical mathematical models requires efficient algorithms and exploiting the state-of-the-art in software engineering (real-time and embedded development, low latency network programming) and computing hardware (FPGAs, GPUs, and parallel and distributed processing). Taken together, the technical aspects of mathematical finance and the software/hardware aspect of financial engineering lie at the intersection of business, economics, mathematics, computer science, physics, and electrical engineering. For the technologically inclined, there are ample opportunities to contribute.

But the relevance goes beyond mathematics. There is a kernel of core financial ideas that are at the heart of the global free market capitalist system that is in place across most of the world today. These ideas affect not only economics but also politics and society. Ideally, every citizen in a democracy should understand the essential mechanics of the modern financial world and how it has arisen, regardless of whether we agree with its principles or with the impact of the financial system on social structures.

This article presents a simplified account of the rise of the modern financial marketplace including some history, and contemporary financial context. Update (2012): A highly recommended graphic novel Economix, by Michael Goodwin has just been published that presents a panoramic yet highly accessible narrative.)

Continue reading this article…

Stats: 1,089,379 article views since 2010 (Aug '24 update)

Dear Readers:

Welcome to the conversation!  We publish long-form pieces as well as a curated collection of spotlighted articles covering a broader range of topics.   Notifications for new long-form articles are through the feeds (you can join below).  We love hearing from you.  Feel free to leave your thoughts in comments, or use the contact information to reach us!

Reading List…

Looking for the best long-form articles on this site? Below is a curated list by the main topics covered.

Mathematics History & Philosophy

  1. What is Mathematics?
  2. Prehistoric Origins of Mathematics
  3. The Mathematics of Uruk & Susa (3500-3000 BCE)
  4. How Algebra Became Abstract: George Peacock & the Birth of Modern Algebra (England, 1830)
  5. The Rise of Mathematical Logic: from Laws of Thoughts to Foundations for Mathematics
  6. Mathematical Finance and The Rise of the Modern Financial Marketplace
  7. A Course in the Philosophy and Foundations of Mathematics
  8. The Development of Mathematics
  9. Catalysts in the Development of Mathematics
  10. Characteristics of Modern Mathematics

Topics in Mathematics: Pure & Applied Mathematics

  1. Fuzzy Classifiers & Quantile Statistics Techniques in Continuous Data Monitoring
  2. LOGIC in a Nutshell: Theory & Applications (including a FORTH simulator and digital circuit design)
  3. Finite Summation of Integer Powers: (Part 1 | Part 2 | Part 3)
  4. The Mathematics of Duelling
  5. A Radar Tracking Approach to Data Mining
  6. Analysis of Visitor Statistics: Data Mining in-the-Small
  7. Why Zero Raised to the Zero Power IS One

Technology: Electronics & Embedded Computing

  1. Electronics in the Junior School - Gateway to Technology
  2. Coding for Pre-Schoolers - A Turtle Logo in Forth
  3. Experimenting with Microcontrollers - an Arduino development kit for under £12
  4. Making Sensors Talk for under £5, and Voice Controlled Hardware
  5. Computer Programming: A brief survey from the 1940s to the present
  6. Forth, Lisp, & Ruby: languages that make it easy to write your own domain specific language (DSL)
  7. Programming Microcontrollers: Low Power, Small Footprints & Fast Prototypes
  8. Building a 13-key pure analog electronic piano.
  9. TinyPhoto: Embedded Graphics and Low-Fat Computing
  10. Computing / Software Toolkits
  11. Assembly Language programming (Part 1 | Part 2 | Part 3)
  12. Bare Bones Programming: The C Language

Technology: Sensors & Intelligent Systems

  1. Knowledge Engineering & the Emerging Technologies of the Next Decade
  2. Sensors and Systems
  3. Unmanned Autonomous Systems & Networks of Sensors
  4. The Advance of Marine Micro-ROVs

Maths Education

  1. Maxima: A Computer Algebra System for Advanced Mathematics & Physics
  2. Teaching Enriched Mathematics, Part 1
  3. Teaching Enriched Mathematics, Part 2: Levelling Student Success Factors
  4. A Course in the Philosophy and Foundations of Mathematics
  5. Logic, Proof, and Professional Communication: five reflections
  6. Good mathematical technique and the case for mathematical insight

Explore…

Timeline