Friday, November 08, 2024

NVIDIA: 30x in 5 years

 Fueling High-Performance Computing with Full-Stack Innovation | NVIDIA Technical Blog


nvidia stok price - Google Search



How Much Energy Does a ChatGPT Query Use?

 Forward Future AI, 2024-11-08


A single ChatGPT query consumes approximately 2.9 watt-hours (Wh) of electricity, which is roughly equivalent to the power needed for 10 Google searches. 

This may seem small, but with millions of queries processed every day, the collective energy usage becomes substantial. For instance, if ChatGPT processes 10 million queries in a day, that’s roughly equivalent to the average daily electricity consumption of over 3,200 U.S. households.


How Many Watts does a Phone Charger use? - A1 SolarStore

The average 5000mAh battery phone might require somewhere about 19 watt-hours for a full charge.

so this is roughly equivalent to about 6 ChatGPT queries. 

a phone could run for hours with electric power OpenAI spends for a single query!

BASIC programming language

Microsoft as company was created on one product: BASIC interpreter.
BASIC still exists

BASIC - Wikipedia

BASIC (Beginners' All-purpose Symbolic Instruction Code)[1] is a family of general-purposehigh-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College in 1963


QBasic - Wikipedia

Like QuickBASIC, but unlike earlier versions of Microsoft BASIC, QBasic is a structured programming language, supporting constructs such as subroutines.[2] Line numbers, a concept often associated with BASIC, are supported for compatibility, but are not considered good form, having been replaced by descriptive line labels.


Tiny BASIC - Wikipedia

Tiny BASIC is a family of dialects of the BASIC programming language that can fit into 4 or fewer KBs of memory.

davidtorosyan/ti-js: TI-Basic interpreter written in JavaScript.

JavaScript BASIC Interpreter (online)

10 cls
20 let h="Hello "
30 let w="World!"
40 for n=1 to 10 step 1
50   gosub 100
60   next n
70 end
100 print h;
110 print w
120 return


FreeBASIC - Wikipedia

FreeBASIC Language | Home

FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft Windows, DOS and Linux.

primeimages/freebasic - Docker Image | Docker Hub


Code


10 REM FACTORIAL
20 REM COMMODORE BASIC 2.0
30 INPUT "N=";N: GOSUB 100
40 PRINT N;"! =";F
50 GOTO 30
100 REM FACTORIAL CALC USING SIMPLE LOOP
110 F = 1
120 FOR I=1 TO N
130   F = F*I
140 NEXT
150 RETURN