gaming32 / arrayv Goto Github PK
View Code? Open in Web Editor NEWNew home of https://github.com/MusicTheorist/ArrayVisualizer
License: MIT License
New home of https://github.com/MusicTheorist/ArrayVisualizer
License: MIT License
This is an issue in MATE and GNOME, not sure about KDE.
This would replace the huge if-else-if chain in RunComparisonSort.java
and RunDistributionSort.java
.
will there be an array writing api? like, you could write your own sorting algorithms or something, with some api and then it'll be sorted when you like compile and run it? idk but i think that is a really awesome idea
what does it mean to run ./run in shell or ./mvnw clean verify? the run.bet file says something about java-home
The main window appears at the corner of the screen. I can't move it and the "choose sort" window opens offscreen.
Exception in thread "main" BUG! exception in phase 'semantic analysis' in source unit 'jar:file:/C:/Users/anton/Downloads/ArrayV-5.1.jar!/scripts/categories/exchange.groovy' Unsupported class file major version 63
at org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:861)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:653)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:627)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:368)
at groovy.lang.GroovyClassLoader.lambda$parseClass$2(GroovyClassLoader.java:311)
at org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute(StampedCommonCache.java:163)
at org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut(StampedCommonCache.java:154)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:309)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:543)
at groovy.lang.GroovyShell.parse(GroovyShell.java:556)
at groovy.lang.GroovyShell.parse(GroovyShell.java:568)
at groovy.lang.GroovyShell.parse(GroovyShell.java:586)
at io.github.arrayv.groovyapi.ScriptManager.loadScript(ScriptManager.java:232)
at io.github.arrayv.groovyapi.ScriptManager.loadBuiltinScripts(ScriptManager.java:310)
at io.github.arrayv.groovyapi.ScriptManager.loadDefaultScripts(ScriptManager.java:274)
at io.github.arrayv.main.ArrayVisualizer.(ArrayVisualizer.java:556)
at io.github.arrayv.main.ArrayVisualizer.main(ArrayVisualizer.java:1526)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 63
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:199)
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:180)
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:166)
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:287)
at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:83)
at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:255)
at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:193)
at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:175)
at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:129)
at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:57)
at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:44)
at org.codehaus.groovy.ast.decompiled.TypeSignatureParser.visitEnd(TypeSignatureParser.java:113)
at groovyjarjarasm.asm.signature.SignatureReader.parseType(SignatureReader.java:206)
at groovyjarjarasm.asm.signature.SignatureReader.accept(SignatureReader.java:122)
at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.parseClassSignature(ClassSignatureParser.java:104)
at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.configureClass(ClassSignatureParser.java:36)
at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitSupers(DecompiledClassNode.java:222)
at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getUnresolvedSuperClass(DecompiledClassNode.java:129)
at org.codehaus.groovy.ast.ClassNode.getUnresolvedSuperClass(ClassNode.java:1049)
at org.codehaus.groovy.ast.ClassNode.getSuperClass(ClassNode.java:1043)
at org.codehaus.groovy.control.ResolveVisitor.transformPropertyExpression(ResolveVisitor.java:944)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:790)
at org.codehaus.groovy.ast.expr.Expression.transformExpressions(Expression.java:49)
at org.codehaus.groovy.ast.expr.ArgumentListExpression.transformExpression(ArgumentListExpression.java:67)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:805)
at org.codehaus.groovy.control.ResolveVisitor.transformMethodCallExpression(ResolveVisitor.java:1146)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:796)
at org.codehaus.groovy.ast.expr.BooleanExpression.transformExpression(BooleanExpression.java:46)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:805)
at org.codehaus.groovy.ast.expr.TernaryExpression.transformExpression(TernaryExpression.java:50)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:805)
at org.codehaus.groovy.control.ResolveVisitor.transformPropertyExpression(ResolveVisitor.java:913)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:790)
at org.codehaus.groovy.ast.expr.Expression.transformExpressions(Expression.java:49)
at org.codehaus.groovy.ast.expr.ArgumentListExpression.transformExpression(ArgumentListExpression.java:67)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:805)
at org.codehaus.groovy.control.ResolveVisitor.transformMethodCallExpression(ResolveVisitor.java:1146)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:796)
at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:108)
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:41)
at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:86)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:168)
at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1413)
at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:70)
at org.codehaus.groovy.control.ResolveVisitor.transformClosureExpression(ResolveVisitor.java:1124)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:798)
at org.codehaus.groovy.ast.expr.Expression.transformExpressions(Expression.java:49)
at org.codehaus.groovy.ast.expr.ArgumentListExpression.transformExpression(ArgumentListExpression.java:67)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:805)
at org.codehaus.groovy.control.ResolveVisitor.transformMethodCallExpression(ResolveVisitor.java:1146)
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:796)
at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:108)
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:41)
at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:86)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:168)
at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1413)
at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:70)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:142)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:115)
at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:66)
at org.codehaus.groovy.control.ResolveVisitor.visitConstructorOrMethod(ResolveVisitor.java:299)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:110)
at org.codehaus.groovy.control.ResolveVisitor.visitMethod(ResolveVisitor.java:269)
at org.codehaus.groovy.ast.ClassNode.visitMethods(ClassNode.java:1135)
at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1128)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:52)
at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1357)
at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:259)
at org.codehaus.groovy.control.CompilationUnit.lambda$addPhaseOperations$3(CompilationUnit.java:204)
at org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:857)
... 16 more
When I have the array size above a certain level, the array is blank when I set the distribution to Perlin noise, and I have to click on another distribution and then Perlin noise again until the array isn't blank anymore.
This is going to continue to happen unless you actually just supply it like a normal person rather than rely on ancient github actions.
It'll scan through the open files and is able to detect a whole range of problems and suggestions, such as the cyclomatic and cognitive complexity of code, and what and how it needs refactoring.
Some sorts are attempting to access indice 32768 on 32768 numbers, which is out of bounds. This does not happen on 2048 numbers.
If I shut my laptop, after opening it again, sound will be delayed in ArrayV.
Should be self-explanatory enough. Pixel mesh, but it uses parts of an inputted image.
And after it freezes, it cannot be closed without either closing the terminal that runs it or using a task management program.
Just run Parallel Block Merge Sort yourself and view the carnage.
For reference: https://youtu.be/0ae2q700NNc?t=8249
The output of ./mvnw.cmd clean verify:
[ERROR] Failed to execute goal on project ArrayV: Could not resolve dependencies for project io.github.arrayv:ArrayV:jar:5.2-SNAPSHOT: Failed to collect dependencies at org.apache.groovy:groovy:jar:4.0.2: Failed to read artifact descriptor for org.apache.groovy:groovy:jar:4.0.2: Could not transfer artifact org.apache.groovy:groovy:pom:4.0.2 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/groovy/groovy/4.0.2/groovy-4.0.2.pom: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/146.75.116.215] failed: connect: Address is invalid on local machine, or port is not valid on remote machine -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
More customizability for statistics. Examples include:
Hi,
please add to your beautiful collection the fastest (known to me) Quicksort:
https://www.qb64.org/forum/index.php?topic=3518.msg138244#msg138244
If program is downloaded, windows defender detects a "virus" in the program and the download is blocked. no viruses are in arrayv
Run certain sorts (e.g. Grailsort) on the max length, and the entire program will freeze up.
The statistics HUD should also include stats like recursion depth and the number of recursions, like in PCBoy's videos. This is also to accurately measure the space complexity of recursive sorts.
ArrayV at the start it shows this:
After that, it works just fine (and even plays the sound), but trying to choose a soundbank shows me this:
OS: Microsoft Windows 11, 21H2
CPU: Intel Core i3-1005G1 @ 1.20 GHz
GPU: None (Intel UHD Graphics)
RAM: 4 GB (3,81 GB available, other dedicated to UHD Graphics I suppose)
Type: Laptop
So I opened the .jar file and started using ArrayV. However I got this error:
java.io.IOException: mark/reset not supported
at java.util.zip.InflaterInputStream.reset(Unknown Source)
at java.io.FilterInputStream.reset(Unknown Source)
at com.sun.media.sound.AudioFileSoundbankReader.getSoundbank(Unknown Source)
at javax.sound.midi.MidiSystem.getSoundbank(Unknown Source)
at io.github.arrayv.utils.Sounds.loadInstruments(Sounds.java:346)
at io.github.arrayv.utils.Sounds.prepareDefaultSoundbank(Sounds.java:276)
at io.github.arrayv.utils.Sounds.(Sounds.java:156)
at io.github.arrayv.main.ArrayVisualizer.(ArrayVisualizer.java:475)
at io.github.arrayv.main.ArrayVisualizer.main(ArrayVisualizer.java:1526)
As the transition happens between Selection and Insertion, the sound disappears for the rest of the category, returning at Merge. https://www.youtube.com/watch?v=l3SS-cymAUg?t=2640
Some sorts rapidly create and delete external arrays, creating extreme flashing when they are shown.
Possible solutions include:
Internally creating the arrays
Fixing the number of aux arrays shown, such as by reusing aux arrays or creating a new system to set the number of aux array slots shown
There is also a possible concern of strobing/flashing caused by problems other than showing aux arrays.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.