That’s awesome thank you! I was missing the norns.script.load() part of things. And indeed that would be an excellent upgrade to give developers access to the repl outside of the browser. Thanks for your work on this project!

Hi just got a new Norns and i just wanted to share that Maiden is very nice and was quite a joy to install patches/projects with
very enjoyable

3 Likes

An awesome feature for Maiden would be the ability to programmatically make the Norns sleep.

Periodically when I’m developing scripts I’ll jack up the menu system on the Norns or make it so I can’t load new scripts, and it would be nice to not have to twiddle around on the device trying to get it to navigate to sleep.

Or is there a way to do this from the REPL?

(A way bigger ask would be to have code in our scripts sandboxed, so it couldn’t mess up system level stuff like the menu)

os.execute(“sudo shutdown now”)

But this is kinda harsh and norns won’t save state, etc.

The quickest way to recover from lockup’s in the menu system due to script problems is generally to run ;restart in the matron REPL. That should get you a functioning menu system (and REPL) again.

2 Likes

Oh excellent, ;restart sounds like a great place to start.

pardon the basic question just wondering how i get maiden up and running on my mac?

i downloaded maiden 1.0 and can’t seem to figure out how to open the program

maiden is designed to be run from norns and is part of the base software install. If you’ve updated your norns software to the latest version you should have maiden 1.0 already installed.

Under normal circumstances one would enable wifi on norns then open up a web browser and use the http://norns.local URL to access maiden.

The binary downloads on GitHub are compiled to run on an ARM based linux machine like norns. The only time one would really want to run the maiden server directly on their desktop machine is when making modification to maiden itself.

ahh i see, i have a fates and i’m trying to wrap my head around accessing maiden on it

With fates accessing maiden should be similar. Just get the machine on your network, determine the IP address of the machine and then navigate there in a browser.

If the current fates image doesn’t include the latest version of maiden I’m not sure how to advise since I don’t know how the fates image is setup.

It’s the same as norns.

FWIW zeroconf is not installed on windows machines by default, so if you’re on windows, the you would need to access via the IP address instead of norns.local

fwiw, some in-depth info about maiden can be found here :slight_smile:

I do realize that this page should specify that maiden is already bundled with the norns software and require no additional downloads, thank you for posting about this!

2 Likes

Hi, new fates user here, trying to wrap my head round the whole ecosystem. I’ve been enjoying adding repos from github over SSH, but discovering/installing them through maiden seems so much easier. However, even though I’m pretty sure I’m on the latest norns, I’m not seeing the books icon. How can I check the version of maiden I’m running, and how would I update to 1.0 from SSH or SFTP if I have an older version? Thanks.

Could still be the old maiden depending on which disk image you started from. DM me and I can help you figure it out.

If you click on the gear/cog icon in the bottom left corner of the maiden UI that will bring up the settings dialog. Down at the bottom of the dialog you should see the version number for maiden itself.

The current release version is: v1.0 (d9c99ae).

maiden itself doesn’t have a well defined installer since new versions have historically been bundled as part of a norns system update. That said a fully built release copy is available on GH, if need be that can be downloaded and untar’d to replace ~we/maiden directory. For the 1.0 release only you’d also need to run ~we/maiden/tools/project-setup.sh in order to prepare the directories used by the package manager.

1 Like

Thanks, somehow maiden was still at 0.13 while the rest was recent. Bricked it trying to install 1.0 manually but okyeron kindly supplied me a brand new up to date image, and now all is golden.

so, following the directory structure here

if I add a mod script to the top level folder of an existing script on my norns, will it get removed when I update that script ?

if you are doing any modding of a script, i’d suggest you copy the folder and rename it (or fork it on github as your own copy).

the maiden manager is not aiming to be a full git client. updating just pulls the newest version. any changes are discarded.

2 Likes

Maiden is so lovely and helpful and fun. Working through the tutorials in the docs now and it’s a great time.

Some thoughts: the “highlight” colors in the file manager are a little hard to distinguish – I keep trying to modify the name of a new file and end up modifying the name of the file I’m working on. Is there a way to distinguish more between the color of a file currently loaded in the text editor, and the one highlighted in the file manager? Does this question make sense?

Also, pro tip: if you name a new script with “.lua” on the end, it does all the syntax highlighting and stuff. Common knowledge for people with coding background, but I just discovered it and I love it.

Thank you for calling attention to this. The current UX could use some work. The file tree is one of the oldest parts of the app and it isn’t always as intuitive as it could be. I’ve opened a GitHub issue for this.

The earliest versions of maiden where internally hard coded to assume that the file was lua code regardless of what it was named. Around the time of the norns 2.0 release a year ago the file layout on the device was changed such that more file type (like Supercollider code and JSON data) where exposed for editing so the behavior was changed to be more in line with other code/text editors where the file extension dictates which syntax checking/highlighting the editor should attempt to use.

1 Like