Show newer

@ampanmdagaba @treyhunner I somehow suspect that many servers will very soon shift to enabling markdown like qoto.org does

@ampanmdagaba @treyhunner I did have the back ticks when I wrote it in markdown setting (which my editor/server has), and my toot was rendered like this for me and others on my server, but shows as plain text for others

@ampanmdagaba @treyhunner Yes, does, which is what I'm on. The problem is that only other QOTO users or those on the (few, I assume) servers who support markdown will see it.

For example, this below will show as a proper code block to qoto.org users, but only them, unfortunately

`print("I love markdown")`

Still one of the oldest #Python oddities I've ever seen 🐍🤔

>>> a = ([],)
>>> a[0] += ["what"]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
>>> a
(['what'],)

Note that an exception was raised but the operation also worked! 😳 #pythonoddity

This evening I've played a wee bit more with my #Textual Mandelbrot Set plotter. Some tweaks mean that it's now easier to move/zoom and home in on interesting features (zoom wasn't well done before).

Standard disclaimers apply: this isn't done as an efficient Textual app; it's written to really test the edges. Even so, it's performing really well!

#Python

youtube.com/watch?v=_-aJwLqQDF

@mattkram Thank you! In a previous life, I was an optical physicist, so for me, the Fourier Transform is in 2D first and foremost, and for spatial data. When I see 1D Fourier transforms in the temporal domain I need to readjust!

A lens is a real-life Fourier transform calculator, after all!

@mattkram One of the admins on QOTO explained that it's only visible as markdown by the QOTO server, unfortunately, which sort of defeats the purpose a bit!

@mattkram Yes, I find that I need to focus either on the coding aspect or on the science aspect, but you can't really do both–the article is already long as it is!

Agreed, in _real-world_ cases, the dynamic aspect adds an extra dimension which can help convey the results, in some cases, of course!

I should do an #introduction

My name is Will McGugan, I am a software developer that works mainly with #Python

You may know me from the #Python community as the creator of Rich.

I'm also the CEO of Textualize, a startup dedicate to improving terminals. We're currently building #Textual, a Python #TUI framework.

@trinsec in an external service I was looking at. I assume it's not a standard naming, then!

@trinsec so does that mean that only QOTO members are likely to see the markdown, and everyone else just sees the plain text?

@walterbogers Thank you. Hope you enjoy it. To be honest, most of the _real-world_ 3D plotting I've needed in the past was static. This is dynamic 3D plotting which, arguably, is less common (although of course it's useful for 4D data!)

Not sure whether you're only meant to get a single shot at an , but I'll extend on mine a bit now that I'm starting to find my feet here

My main focus is on communicating about , specifically . That includes teaching!

However, my first career was as a physicist

---

After studying and and then getting my PhD in Physics from Imperial College, London, I went down the _normal_ route of a few postdocs, an academic fellowship, and then a lectureship.

Most of my science work centred around novel retinal imaging technology with the primary aim of early disease diagnosis, plus a bit more about the optics of the eye.

I learnt to code as part of my PhD work and then relied on programming (mostly MATLAB, at the time, before the Python-era) for all of my research work, from simulation and modelling, to running the lab experiments, to analysing the data.

---

When I left academia, I decided to focus on teaching programming to both children and adults.

I spend a lot of time creating learning content, including **[The Python Coding Book](thepythoncodingbook.com)** and regular articles on the blog.

I also run **[codetoday](codetoday.co.uk)** which runs live lessons for children from age 7 to learn coding in Python (only Python, no kids-platforms. Yes, starting from age 7, you'd be surprised how well they pick the basics up)

---

I'll be sharing bits on content regularly here too, typically aimed at intermediate learners (including those aiming to move from beginners to intermediate), including steering towards scientific programming and related fields.

OK, I've abused 's longer character limit too much, so I'd better stop!

Show thread

question: Is a _private_ toot the same as _followers-only_?

It's nice to be able to post using **markdown** - it will also make posting code more natural

`print("Hello, Mastodon!")`

Although I've noticed that on the iOS app I'm using (the official one), markdown is not rendered. It is on the web platform.

Not sure about other apps…

_PS: I believe this is not a feature on all servers…_

@martinpeck `turtle` is a fun module to use, beyond the basic _draw a few squares_ type of tutorials you find.

I use it a lot for teaching and I try to push it to its limits and use it to teach more advanced topics, too

@martinpeck both projects were fun to write (both the code itself and the articles!)

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.