Git Product home page Git Product logo

zxcvbn's Introduction

zxcvbn's People

Contributors

ambv avatar hallmar avatar schollz avatar vehka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zxcvbn's Issues

PSET function locked and scanning

Describe the bug
PSETs get limited to the number of existing saved PSETs and no more can be saved. All other functionality remains the same. However, the delete function only takes effect after reseting the norns shield. No new saves can be made.

Additionally, attempting to load a different script generates a screen that reads "scanning...." and never loads the script menu. The screen times out and goes back to the "SELECT/SYSTEM/SLEEP" screen.

Only restarting allows the norns to return to the full script menu.

System log
Follow these instructions to capture your system log and attach it here.
//////// current boot

system.log

Function key does not open menu

zxcvbn is an incredible piece of work. Congratulations and thank you. Unfortunately, here is a bug.

Describe the bug

  1. I am in zxcvbn and am editing a script
  2. I read that I can hit a function key to open a menu.
  3. I hit 'Fn' + 'F4' on my keyboard.
  4. No menu appears. Also...
  5. ...In maiden on my laptop (which is connected to norns.local) I see an error message (below).
lua: 
/home/we/dust/code/zxcvbn/zxcvbn.lua:470: bad argument #1 to 'find' (string expected, got nil)
stack traceback:
	[C]: in function 'string.find'
	/home/we/dust/code/zxcvbn/zxcvbn.lua:470: in function 'core/keyboard.code'
	/home/we/norns/lua/core/keyboard.lua:130: in function 'core/keyboard.process'
	/home/we/norns/lua/core/hid.lua:177: in function </home/we/norns/lua/core/hid.lua:162>

System log
Attached.

system.log

Thanks for your amazing work.

zxcvbn via headless norns(64bit)

I'd love to try zxcvbn but in order to do so i have to go through norns:) i've got a RPi4 and your headless-hack(https://schollz.com/blog/norns/) installed but have encountered a few speed bumps. Do you have any advice to get around.... "/home/we/dust/code/zxcvbn/lib/cjson.so: wrong ELF class: ELFCLASS32"?

error loading module 'cjson' from file '/home/we/dust/code/zxcvbn/lib/cjson.so':
/home/we/dust/code/zxcvbn/lib/cjson.so: wrong ELF class: ELFCLASS32
stack traceback:
/home/we/norns/lua/core/norns.lua:146: in function </home/we/norns/lua/core/norns.lua:146>
[C]: in ?
[C]: in function 'require'
/home/we/dust/code/zxcvbn/zxcvbn.lua:28: in main chunk
[C]: in function 'dofile'
/home/we/norns/lua/core/script.lua:198: in function </home/we/norns/lua/core/script.lua:198>
[C]: in function 'xpcall'
/home/we/norns/lua/core/norns.lua:147: in field 'try'
/home/we/norns/lua/core/script.lua:198: in function 'core/script.load'
/home/we/norns/lua/core/menu/preview.lua:23: in function 'core/menu/preview.key'
/home/we/norns/lua/core/menu.lua:144: in field 'key'
/home/we/norns/lua/core/osc.lua:92: in upvalue 'remote_handler'
/home/we/norns/lua/core/osc.lua:107: in function </home/we/norns/lua/core/osc.lua:100>

script clear

lua: /home/we/norns/lua/core/clock.lua:58: bad argument #1 to 'resume' (thread expected)
stack traceback:
[C]: in function 'coroutine.resume'
/home/we/norns/lua/core/clock.lua:58: in function 'core/clock.resume'

archive not working

been having a blast learning zxcvbn, thank you for the amazing tool.

i tried saving something as an archive last night, but it didn't seem to work correctly. when i go to load the archive, it creates another archive and wont load in any of the text or the clade selections to the tracks. it does however load the text to the data/zxcvbn/pages files, so at least i know its saving something. this is a factory norns fwiw. i attached the system log and the archive. thanks zach!

system.log

b274255a.zip

Swing added unexpectedly

Describe the bug

  1. Start up zxcvbn and hit Ctrl-8 to get to an empty track with mx.synths.
  2. Enter f e f e and hit Ctrl-S and Ctrl-P to save and then play the track.
  3. Notice the two notes are played with an even rhythm, as expected.
  4. Hit Ctrl-P to stop the track.
  5. Edit the track so that it's now (f e) (f e) and again hit Ctrl-S and Ctrl-P to save and then play the track.
  6. Notice the two notes are no longer played with an even rhythm. The f is shorter, as if there is some kind of swing.

There is further unexpected behaviour if you change this last pattern to (f e) (f e) (f e) - some f e pairs have even rhythm and some have swing.

I'm happy to be told this is my misunderstanding of the syntax.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.