Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 20 16:46
    carlosperate commented #2238
  • May 20 16:45
    carlosperate edited #2238
  • May 20 16:44
    carlosperate commented #2238
  • May 20 16:21
    carlosperate commented #2091
  • May 20 16:04
    carlosperate milestoned #908
  • May 20 16:04
    carlosperate demilestoned #908
  • May 20 16:03
    carlosperate milestoned #1863
  • May 20 16:03
    carlosperate demilestoned #1863
  • May 20 16:03
    carlosperate milestoned #2237
  • May 20 16:03
    carlosperate milestoned #2218
  • May 20 16:03
    carlosperate milestoned #2141
  • May 20 16:02
    carlosperate milestoned #2168
  • May 20 16:01
    carlosperate opened #2238
  • May 20 16:00

    carlosperate on fix-super-mock

    Fix tests by reducing builtin m… (compare)

  • May 20 15:43
    carlosperate labeled #2091
  • May 20 15:43
    carlosperate labeled #2091
  • May 20 12:40
    carlosperate commented #1926
  • May 20 10:52
    carlosperate edited #2237
  • May 20 10:52
    carlosperate opened #2237
  • May 20 10:51

    carlosperate on isolate-jupyter-creation

    venv: Use -I flag to isolate Ju… (compare)

Tiago Montes
@tmontes
@xbecas …can you take the signed windows installer for a spin? :)
(in a rush, but for future discussion: there’s a serious limitation WRT to portable Mu - not packaging related but VENV related - if Mu moves around, the venv will be deemed invalid, I suspect)
Vasco Mora
@xbecas
image.png
image.png
image.png
Vasco Mora
@xbecas

Hi all!
Publisher: Nicholas Tollervey! Yeah!!!!
After pressing "Run anyway" I got the "Welcome to the Mu Editor" windows and it took like 30 seconds to move on (automatically, without the need to press "Next").
Windows 10 Pro 21H2 (OS Build 19044.1415)

PS: it did a parallel installation, right next to the former 1.1.0b7 not-signed msi.

Nicholas Tollervey
@ntoll
Hurrah. :tada:
I did say that the "organisation" for the certificate was "The Mu Editor" but I guess that metadata isn't displayed.
Vasco Mora
@xbecas
🎉
image.png
Nicholas Tollervey
@ntoll
So cool.
Turtleroids / Asterutles
Vasco Mora
@xbecas
:) Will work on the collisions over the weekend eheheh!
Turtle-trek? ahahah
The ship is definitely the Turtleprise :D
Nicholas Tollervey
@ntoll
Hahahaha
Very good.
Carlos Pereira Atencio
@carlosperate
@ntoll is building signed executables via CI viable (i.e., are env variables with secrets all that's needed?) or does it need something like pen drives or similar?
Nicholas Tollervey
@ntoll
So, I was wondering that. To make it work I needed to use IE to import the certificate file into the keyring such that the CNAME referenced in the pup related envar was available. Not sure if pup could just reference the cert file itself..? I'm not sure. Or perhaps there's a way to automate the import of the cert (needs investigation), although I followed some sort of multi step wizard built into IE. Worth investigating, and I may take a look over the weekend. We can't be the first to think of this.
Carlos Pereira Atencio
@carlosperate
Cool, let us know how it goes! Hopefully it can all be done via GitHub actions (even if it's in the private fork)
Nicholas Tollervey
@ntoll
Yeah
Nicholas Tollervey
@ntoll
Hmmmm.... so the cert is also password protected too.
(I was feeling paranoid when requesting the certificate and followed their most-trusted certificate instructions walk through)
I guess we need to just work out what the IE based wizard actually does to import the certificate so the CNAME is referenceable in the envar for pup.
Nicholas Tollervey
@ntoll
Just taken a quick Google, and it looks like this might be the underlying command: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/certutil#-installcert But I'm not sure how to get around the password challenge when installing the certificate.
Anyway.... something for the weekend.
Terry King
@TerryKing
Hi Everyone, trivial question but I want to start off correctly with educational materials I am writing: Should I refer to:
The Mu Editor
or is just
MuEditor OK?? Thanks!
Nicholas Tollervey
@ntoll
I say "the Mu editor" or just "Mu" :-)
Terry King
@TerryKing
Good Enough! Thanks! I'll start with "the Mu Editor" and after someone is along in the tutorial/info I'll drop to "Mu" just to show I embrace SparseNess...
OTHER: What facility has been used to author the animated instructions in CodeWith.mu etc.? I might want to do something like that for students.
Vasco Mora
@xbecas
Hi Terry. Great question: looking forward to knowing the answer. Meanwhile I looked for a simple way to transform videos to GIF and there is a Library for that - moviepy! https://pypi.org/project/moviepy/ You only need to record a screen video, and that depends on your OS, but should be easy to do. I will give it a try myself. Cheers
Nicholas Tollervey
@ntoll
@TerryKing I use a screen recording tool (on Linux, called PEEK) that allows me to save windows or sections of my screen as GIF (and MP4 etc...). There are similar tools for Windows / OSX.
Vasco Mora
@xbecas
https://www.screentogif.com/ seems to be the go-to tool for Windows. It has a portable version (always nice).
Nicholas Tollervey
@ntoll
Yeah, that's exactly like PEEK on Linux.
Carlos Pereira Atencio
@carlosperate
ScreenToGif is go-to screen recorded for Windows. It's been a couple of years since I looked in this area, but at the time it was the best free programme available, even if you don't end up using any of the editing tools.
1 reply
Terry King
@TerryKing
THANKS, people. I'll Git to work...
Terry King
@TerryKing

Hi Everyone, I'm seeing a funny non-working result thart USED to work:
---( CLASSIC BLINK)---
while True:
led.value(1) # turn LED on
sleep(0.5)
led.value(0) # turn LED off

sleep(0.5)

So that uses PinName.value(0or1)
BUT I was ReadingTHeDocs and saw you could do led.on or led.off it WORKED:
----( version 2)----
while True: # (FOREVER here )

led.on  # turn LED on
sleep(0.5)  # 1/2 second
led.off  # turn LED off
sleep(0.5)
i = i + 1
print("I = ", i)
sleep(1.0)

---(end)----
This runs (I can see the prints) but the pin with LED does not light or change...

?? SHould I NOT use that pin.on type statement? I swear it worked the first couple of times...

THANKS, No Functional Problem but I am trying to decrease confusion for newbies...
Regards, Terry

5 replies
Tiago Montes
@tmontes
/all I won’t be able to join today’s moot. Working like crazy (past three days, next two, too) - isn’t working with computers fun? ;)
Carlos Pereira Atencio
@carlosperate
I won't be able to attend today's moot either, work it's been crazy as well, so I don't have much of an update anyway.
The only thing I wanted to mention is that if anybody has any free time to look into the issue creating venvs with spaces in the username that would be great, as that is still the most common crash report we get these days: https://github.com/mu-editor/mu/issues/1926#issuecomment-994687363
Nicholas Tollervey
@ntoll
OK... I'm going to make an "executive decision" and bump the meeting to next week. I'll send an email via the invite.
Nicholas Tollervey
@ntoll
One more thing... I think we're ready for 1.1-final release. I'd like to have a go/no-go decision at next week's meeting and I'm going to try to merge as many things as I find outstanding this week. I further propose that we soon follow 1.1 with a 1.2 but with Python, PyQt, and other library dependencies bumped up to their latest version. I also think we should include the Snek mode in 1.2 (so we have an added feature too). This way old-equipment users have 1.1 and nice-and-shiny users get 1.2. As with everything, all this is "moot" and up for discussion and feedback since I enjoy our working together as a consensus based thing, and with everyone having the opportunity to give feedback and constructive criticism. This intervening time will also give me a chance to try to get the docs on the website 1.1 ready. Thoughts..?
@tjguk:matrix.org @xbecas ^^^
I also have some Windows laptops I could use to try to recreate the #1926 venv issue with spaces in the username.
Feels like a permissions problem, perhaps related to the non-signed version folks have been using..? Perhaps antivirus is getting in the way? shrug
tjguk
@tjguk:matrix.org
[m]
Sorry; just catching up on messages. Looks like I'll see you all next week.... I'll definitely try to get to the venv spaces issue. Thanks, @carlosperate for reminding..
Vasco Mora
@xbecas
Hi all. @ntoll, I'm sorry but I didn't follow you on your message. I understood the go for 1.1 but missed the 1.2 thing. Is it related to allow Python 3.9+? But will Mu keep both versions or will we drop the older?
Nicholas Tollervey
@ntoll
@xbecas I mean that there will be two releases (both of which will be available - as all our releases are available), 1.1 will cater for users of older systems, 1.2 (with updated dependencies) for users with modern systems. We can link to both / include instructions on our download page so our users are self-selecting for the version they install. Does that help..?
Vasco Mora
@xbecas
Hi. All clear now. Thank you. One "legacy" and one "up-to-date" versions for users to pick from. Will we continue updating both or the 1.1 will be a closure?
Nicholas Tollervey
@ntoll
I think it best we treat that as "closure" unless there's something very serious (in which case, we release a patched 1.1.1, 1.1.2 etc), but we should make it clear that 1.1 is for legacy and we're focusing on 1.2 and (future) 2.0. :+1:
1.1 is the answer to questions like, "I'm running on a 15 year old laptop, what do I install?" ;-)