mojodojodev / mojodojo.dev

Learning materials for the Mojo🔥programming language
https://mojodojo.dev/
87 stars 16 forks source link

Add examples for FloatLiteral #17

Closed StitchyPie closed 1 year ago

mojodojodev commented 1 year ago

Hi @StitchyPie thanks very much again for your contribution, I need to the .ipynb file though to be able to make changes if the syntax ever changes in the future.

By the way you can connect to your playground from VS Code and that makes it way easier to save notebooks locally

StitchyPie commented 1 year ago

Oo okay thank you that will make things much faster, hmm when trying to select my kernel server on VS code I need to enter a password. What is that password since I logged in using Google and that password does not work.

mojodojodev commented 1 year ago

on VS code I need to enter a password

You shouldn't need to enter a password, make sure the server url is like this:

https://playground.modular.com/user/<your_email>/?token=<your_token>

So if you generate a token at https://playground.modular.com/hub/token that is 123456789 and your email is billy@gmail.com it'd look like this:

https://playground.modular.com/user/billy@gmail.com/?token=123456789
StitchyPie commented 1 year ago

OO I see thank you got it will push later today XD.

mojodojodev commented 1 year ago

Awesome thanks!