Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:39
    r3dh0t opened #2249
  • May 25 20:10
    necromancybitches opened #2248
  • May 25 19:25
    carlosperate transferred #2230
  • May 25 19:25
    carlosperate edited #2242
  • May 25 19:22
    carlosperate edited #2120
  • May 25 19:21
    carlosperate edited #2120
  • May 25 19:18
    carlosperate edited #2120
  • May 25 19:18
    carlosperate edited #2120
  • May 25 19:14
    carlosperate commented #2120
  • May 25 19:01
    carlosperate edited #2120
  • May 25 18:46
    carlosperate commented #2224
  • May 25 18:46
    carlosperate edited #2224
  • May 25 18:42
    carlosperate transferred #2233
  • May 25 18:41
    carlosperate closed #2211
  • May 25 18:41
    carlosperate commented #2211
  • May 25 18:39
    carlosperate edited #2224
  • May 25 16:47
    carlosperate transferred #2241
  • May 25 16:47
    carlosperate commented #2241
  • May 25 16:46
    carlosperate labeled #2247
  • May 25 16:45
    carlosperate edited #2247
zbrown:matrix.org @zbrown:matrix.org had an entirely unproductive trip in last week where they ended up acting as proxy for various people who simply couldn't travel back with less than 48 hours notice
Nicholas Tollervey
@ntoll
Good news... just got an email saying the certificate is ready. Why oh why did I use that other company. So much of a "run around", and these new folks were relatively easy to work with. When I have time I'll download it, check it all, and try a build. Hopefully it'll "just work" :tm: but if not, I'll have questions. ;-)
Tiago Montes
@tmontes
Great! Standing by on your progress having pup signing Mu’s distribution “properly”! :) (fingers crossed!)
Nicholas Tollervey
@ntoll
Just found this from years ago.... the very first Mu, made after an evening's hacking. https://www.youtube.com/watch?v=I17t-AapgQo
I'm out rehearsing this evening, but hope to get to the cert stuff tomorrow..! :-)
Terry King
@TerryKing
Hello Nicholas. Thanks for the invite; I think you know the few questions I have so I will not repeat here.
I enjoyed the FirstMu video! You had a box full of tools and knew how to use them. There's some Theme there for Makers.
Nicholas Tollervey
@ntoll
:wave: welcome @TerryKing - WRT PortaMu, it sounds like a relatively simple CI task we could add to GitHub actions via an adjustment to the Makefile (so we can all do it on our local machines should we need to). Perhaps this is even something that could just be built into pup since I imagine many packagers would appreciate the "static" just deploy it on a memory stick nature of PortaMu. @tmontes "PortaPup" :-)
@TerryKing as/when you find problems or puzzles (such as the "Run" button thing in ESP mode) please add a ticket via GitHub (see: https://codewith.mu/en/howto/1.1/bugs for beginner level instructions for this process).
All feedback is most welcome.
Carlos Pereira Atencio
@carlosperate
One thing to keep in mind that maybe we should document is that the user virtual environments will point to the Mu-packaged Python interpreter, so with PortaMu, if that moves then the venvs will fail. Hopefully that will be detected when Mu launches, but it'd be good to test it to confirm
Nicholas Tollervey
@ntoll
Unless we put the venvs on the USB stick..? Then the venv will always be in the same (relative) location to Mu.
Not sure how (yet), but that would solve the problem.
Carlos Pereira Atencio
@carlosperate
It's likely that a virtual environment on the USB stick wouldn't be different than one in the user's folder, as generally full paths are used.
But to be fair, that depends on what version of venv of virtualenv is used to create it. Older versions on linux/macos had full paths on the scripts shebangs, as relative paths don't work, but newer versions might be using some tricks where the shebang call a shell program that admits relative paths.
For windows it would depend on how the venv/virtualenv creates the python.exe and pip.exe, the last few times I've looked at the exe hex dumps full paths were used, so I think that might still be the case
Nicholas Tollervey
@ntoll
@carlosperate I see you are (as always) several steps ahead of me. ;-) I guess we could work around things if we read the venv configuration from the user's JSON configuration file?
@tmontes as always, pup appeared to JustWork :tm: (link to signed Windows installer coming in a moment)
OK..... so I have a meeting to prepare for, but here's a link to the signed Windows explorer. Please give it a go and let me know how you get on! https://www.dropbox.com/s/lmcm80rggtikacb/Signed-Mu-Editor-1.1.0b7.msi?dl=0
Assuming we can merge any outstanding translations and so on, I think we're on for 1.1 final.
Anyway -> meeting
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).