A bit of insomnia this early Tuesday morning. I call it โthe witching hourโ, whatever can go wrong, will go wrong and the brain is defenceless. Reality, of course, is more nuanced, but brain doesnโt care. :)
Any conversation
I'm doing experiments with short attention-span students and code. Starting with python, and, oddly, now working in BASIC. As a C programmer of 40+ years, I find this aesthetically and pedagogically displeasing, but I am delighted to see them getting fully absorbed in writing
130 PRINT "You have been eaten by a bear!" : GOTO 900. Yes there is spaghetti, but it's their spaghetti and they seem to take delight in debugging it. Python will come later. ๐ฒ๐ ๐๐ฐ๐ฏ ๐ฆ๐ฏ๐๐๐ฒ๐ผ๐ ๐ ๐๐ซ๐ ๐ฅ๐น ยท๐ก๐จ๐๐ฉ๐ฏ๐ฐ๐ ๐๐ต๐ ๐ค๐ฑ๐๐ค๐ฆ ๐๐ด ๐ ๐๐ฆ๐ฏ๐ผ ๐ฒ ๐ฅ๐ฑ๐ ๐๐จ๐ฅ๐ฉ๐ฏ ๐๐ง๐ฎ๐ฆ๐๐ญ๐๐ฐ, ๐ฅ๐ฐ๐๐ด ๐๐ต๐, ๐ฎ๐ฒ๐, ๐ฏ ๐๐ฆ๐๐ฉ๐ค๐.
Iโve been inspired to cook more Japanese food lately so for dinner I made salmon teriyaki, miso soup, rice, and pickles.
mandelbrot
for y in range(10):
s=''
for x in range(25):
a=[]
for q in range(2):
z=c=x/25*3-2+1j*((y*2+q)/10-1);n=40
while n and abs(z)<2:z=z*z+c;n-=1
a+=[n<5]
s+=" โโโ"[a[0]+2*a[1]]
print(s)
โโ
โโโโโโโโ
โ โโโโโโโโโ
โโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโ
โโโ โโโโโโโโโ
โโโโโโโโ
โ โโโโ
โโ
