Adds new "Short-Sighted" trait!

About the PR
There is now a trait for short-sightedness. Your vision is severely degraded compared to normal vision, however it is not considered legally blind, and glasses do help your condition considerably!
Welding will still damage your eyesight further, and oculine can be used to recover additional damage back to where you started, you cannot however cure your eyes completely no matter how many carrots you eat.
With this trait you start with glasses, similar to how blindness starts you with a cane. I'm still open to input on whether you should start with glasses or not, as glasses are pretty easy to find.
Why / Balance
I thought it would be cool. And for those who liked roleplaying as disabled persons, you now have yet another way to do so without crippling yourself quite as much.
Technical details

BlindableComponent and BlindableSystem now have MinDamage, which works exactly the same as MaxDamage but the opposite.
Setting MinDamage is done through a call to BlindableSystem, and in order to avoid repeating ourselves, updating blindness is now handled by its own method which is called by both AdjustEyeDamage and SetMinDamage.
I'd like to thank ShadowCommander who was indispensable during the coding process, and informed me of some useful resources as well.
Media
With glasses:

Without:

There are 9 levels of blindness, the blindness trait sets level 9, this is level 4. I did consider making it 3 instead, I'd like input on whether it should be 4 or 3.

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
I don't think this should break anything, BlindableSystem was changed quite a bit, however all calls should behave exactly the same as before, and everything worked in testing. That said I also am not particularly knowledgeable.
Changelog
:cl:

add: CentCom has now started hiring crew who are short-sighted.

Does the character have a custom description? Like with blindness and how their eyes are glassy.

No, I took that out as you can't really tell that someone is short-sighted from looking at them...

No, I took that out as you can't really tell that someone is short-sighted from looking at them...

you could say their eyes scatter or they cant focus well when the glasses are not equipped

I suppose. If folks really want I can look into implementing that tomorrow morning.

What would make this really fun for me would be if glasses almost completely corrected for this, but were breakable and took damage when the wearer did. Maybe they could even fall off if the wearer gets hit hard enough. So you're basically fine until suddenly you're stumbling around looking for them like Velma.
That sounds like a separate PR though.

The effect looks a little more like astigmatism, but it's very good.

No, I took that out as you can't really tell that someone is short-sighted from looking at them...

you could say their eyes scatter or they cant focus well when the glasses are not equipped

you could say they are squinting! i usually squint a lot when i don't have my glasses..

I completely forgot about this PR, I seem to do that a lot. I'm gonna try and work on the feedback I've been given and have another commit out probably tomorrow. If I go another 2/3 days without anything please message me on discord because chances are if that happens that I forgot again.

add: CentCom has now started hiring crew who are short-sighted.

The changelog would benefit from being more direct, and OOC; perhaps something like:

add: Added new "Short-Sighted" trait, which impedes your vision.

Reference: https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html#writing-an-effective-changelog

changed PermanentBlindnessSystem to use the new MinDamage like you suggested, making the system much simpler. I considered making it where there's some examine text when you examine someone short-sighted who is not wearing glasses but imo that doesn't really make sense, you wouldn't be able to tell someone is short-sighted by looking at them. Plus I couldn't actually figure out how to implement it so that you only see that when they aren't wearing glasses.

are you planning to come back to this?

I legitimately forgot about it. I also have had a lot going on in the last few weeks, but I'll try to finish it up soon.

I forgot again. shoot me
anyway I actually opened vscode this time (wow) and I'm gonna work on it now

ba-bam

I don't know why the build check failed when it didn't before, as far as I can tell there's nothing wrong with the changes I made, but evidently there is...

test is just heisenbug

will get to this tomorrow if review not done since its fairly simple

I've made modifications so that permanentBlindness handles both blindness and short-sightedness traits, I'm just waiting on some help for one little problem and then I'll commit it.


Bug Report: Reloading songs with spaces in the name

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows (x86_64).
What version of the game are you using? Look in the bottom left corner of the main menu.
1.5.4. Most up to date on Stable.
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Bring up a song like Dad Battle, which has a space in the name, and reload the JSON. This will cause a crash.
Please describe your issue. Provide extensive detail and images if possible.
Reloading songs should be a part of the charter, similar to how it handles folders with spaces in the name, as to help with charting songs. Yes, we could change the name of the song, but that's boring, stupid, and honestly the names with spaces in the name can hit much better than anything else.

already fixed


Unresolved dependencies -- org.apache.tinkerpop

More of an sbt matter, but is there some build prerequisite that allows org.apache.tinkerpop to resolve? My sbt setup can only find com.tinkerpop. I am hoping to not have to resort to Gremlin-Java.
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: org.apache.tinkerpop#gremlin-core;3.0.0-SNAPSHOT: not found
[warn] 	:: org.apache.tinkerpop#tinkergraph-gremlin;3.0.0-SNAPSHOT: not found
[warn] 	:: org.apache.tinkerpop#gremlin-test;3.0.0-SNAPSHOT: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn] 		org.apache.tinkerpop:gremlin-core:3.0.0-SNAPSHOT (/Users/fpatton/third-party/gremlin-scala/build.sbt#L7-24)
[warn] 		  +- com.michaelpollmeier:gremlin-scala_2.11:3.0.0-SNAPSHOT
[warn] 		org.apache.tinkerpop:tinkergraph-gremlin:3.0.0-SNAPSHOT (/Users/fpatton/third-party/gremlin-scala/build.sbt#L7-24)
[warn] 		  +- com.michaelpollmeier:gremlin-scala_2.11:3.0.0-SNAPSHOT
[warn] 		org.apache.tinkerpop:gremlin-test:3.0.0-SNAPSHOT (/Users/fpatton/third-party/gremlin-scala/build.sbt#L7-24)
[warn] 		  +- com.michaelpollmeier:gremlin-scala_2.11:3.0.0-SNAPSHOT

cloning and building from the incubator made a difference, but not quite there...
git clone https://github.com/apache/incubator-tinkerpop.git
from incubator-tinkerpop root > mvn clean install
then back to my gremlin-scala root, freshly cloned from git
sbt compile
yielded parse exceptions...
[error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.tinkerpop#gremlin-core;3.0.0-SNAPSHOT: java.text.ParseException: The element type "hr" must be terminated by the matching end-tag "".
[error] unresolved dependency: org.apache.tinkerpop#tinkergraph-gremlin;3.0.0-SNAPSHOT: java.text.ParseException: The element type "hr" must be terminated by the matching end-tag "".
[error] unresolved dependency: org.apache.tinkerpop#gremlin-test;3.0.0-SNAPSHOT: java.text.ParseException: The element type "hr" must be terminated by the matching end-tag "".
[error] Total time: 2 s, completed Mar 4, 2015 11:14:21 AM

Did the mvn clean install on incubator-tinkerpop work for you? it used to work for me in the past, however with the latest master (revision 57ae2b6) I'm getting errors:
COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/mp/Projects/tinkerpop/tinkerpop3/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/spark/util/SparkHelper.java:[109,87] incompatible types: inferred type does not conform to upper bound(s)
    inferred: org.apache.tinkerpop.gremlin.process.computer.MapReduce<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object>
    upper bound(s): org.apache.tinkerpop.gremlin.process.computer.MapReduce<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object>,org.apache.tinkerpop.gremlin.process.computer.MapReduce<K,V,?,?,?>
[ERROR] /home/mp/Projects/tinkerpop/tinkerpop3/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/spark/util/SparkHelper.java:[123,89] incompatible types: inferred type does not conform to upper bound(s)
    inferred: org.apache.tinkerpop.gremlin.process.computer.MapReduce<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object>
    upper bound(s): org.apache.tinkerpop.gremlin.process.computer.MapReduce<java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object>,org.apache.tinkerpop.gremlin.process.computer.MapReduce<K,V,OK,OV,?>
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache TinkerPop: A Graph Computing Framework ...... SUCCESS [ 56.101 s]
[INFO] Gremlin Core: The Primary Components of TinkerPop3 . SUCCESS [ 26.529 s]
[INFO] Gremlin Algorithms: Graph Computing Algorithms for TinkerPop3 SUCCESS [  1.881 s]
[INFO] Gremlin Test: Gremlin Structure and Process Test Suite SUCCESS [ 12.161 s]
[INFO] Gremlin Groovy: Gremlin for the Groovy Language .... SUCCESS [ 12.818 s]
[INFO] Gremlin Groovy Test: Gremlin Structure and Process Test Suite SUCCESS [  7.600 s]
[INFO] TinkerGraph Gremlin: The Reference Implementation of TinkerPop3 SUCCESS [  3.901 s]
[INFO] Neo4j Gremlin: An Implementation of TinkerPop3 for the Neo4j Graph Database SUCCESS [  7.542 s]
[INFO] Hadoop Gremlin: An Implementation of TinkerPop3 for Hadoop FAILURE [01:36 min]
[INFO] Gremlin Driver: Connect to Gremlin Server with Java  SKIPPED
[INFO] Gremlin Server: Gremlin on the Server .............. SKIPPED
[INFO] Gremlin Console: Gremlin Groovy REPL ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

here's my environment:
java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
mvn clean install -DskipTests

Thanks, Michael. mvn clean install on incubator-tinkerpop worked for me after I manually purged the ivy cache. I haven't had any trouble building incubator-tinkerpop from HEAD, but I do have compiler errors when building gremlin-scala, so I should probably traverse back to an earlier tinkerpop revision, and lock down on something for a quick POC.
java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
Fred-Pattons-MacBook-Pro:gremlin-scala fpatton$ sbt compile
[info] Loading global plugins from /Users/fpatton/.sbt/0.13/plugins
[info] Loading project definition from /Users/fpatton/third-party/gremlin-scala/project
[info] Set current project to gremlin-scala (in build file:/Users/fpatton/third-party/gremlin-scala/)
[info] Updating {file:/Users/fpatton/third-party/gremlin-scala/}gremlin-scala...
[info] Resolving jline#jline;2.12 ...
[info] Done updating.
[info] Compiling 5 Scala sources to /Users/fpatton/third-party/gremlin-scala/target/scala-2.11/classes...
[error] /Users/fpatton/third-party/gremlin-scala/src/main/scala/gremlin/scala/GremlinScala.scala:82: overloaded method aggregate needs result type
[error]   def aggregate() = GremlinScalaEnd, Labels
[error]                                                                  ^
[error] /Users/fpatton/third-party/gremlin-scala/src/main/scala/gremlin/scala/GremlinScala.scala:135: polymorphic expression cannot be instantiated to expected type;
[error]  found   : [K, R]org.apache.tinkerpop.gremlin.process.graph.traversal.GraphTraversal[$1(in value traversal)(in value traversal)(in value traversal)(in value traversal),java.util.Map[K,R]]
[error]  required: org.apache.tinkerpop.gremlin.process.graph.traversal.GraphTraversal[, End]
[error]   def group() = GremlinScalaEnd, Labels
[error]                                                          ^
[error] /Users/fpatton/third-party/gremlin-scala/src/main/scala/gremlin/scala/GremlinScala.scala:141: polymorphic expression cannot be instantiated to expected type;
[error]  found   : [E2]org.apache.tinkerpop.gremlin.process.graph.traversal.GraphTraversal[$1(in value traversal)(in value traversal)(in value traversal)(in value traversal),java.util.Map[E2,Long]]
[error]  required: org.apache.tinkerpop.gremlin.process.graph.traversal.GraphTraversal[, End]
[error]   def groupCount() = GremlinScalaEnd, Labels
[error]                                                                    ^
[warn] /Users/fpatton/third-party/gremlin-scala/src/main/scala/gremlin/scala/LabelledPathStep.scala:5: imported `Traverser' is permanently hidden by definition of type Traverser in package scala
[warn] import org.apache.tinkerpop.gremlin.process.Traverser
[warn]                                             ^
[warn] one warning found
[error] three errors found
[error] (compile:compile) Compilation failed
[error] Total time: 6 s, completed Mar 4, 2015 4:36:24 PM

Ok, that sounds more like it. Note that the current snapshot is still in alpha - the TP3 crew is still making loads of changes quickly, and hence breaking Gremlin-Scala. I'm getting married in a few days, so have to sort out some other things now ;) If you manage to fix it yourself please send me a PR, otherwise either wait or use the last release (3.0.0.M7).


Allow for dynamic webpack public paths

According to the webpack docs, you can configure a dynamic public path for output files (like the web worker file) at runtime by adding  __webpack_public_path__ = myRuntimePublicPath; to the top of your entry. However, this plugin generates a one-line entry e.exports = __webpack_public_path__ + "rustworker.worker.js".
It would be great if there were some configuration option for this plugin to allow adding the runtime public path override line to the generated entry.

@ScottPeterJohnson hmm - wouldn't this work though? The plugin generates a URL based on webpack_public_path, which you are assigning a new value to.
One thing I wanted to clarify - setting webpack_public_path in your code will never change asset locations on disk. For that you need to set the output.publicPath Webpack configuration option.

Looking into this further it seems like the __webpack_public_path__ might be effectively global, but the generated entry for the service worker will be called before the entry that uses it.
Here's what I'm looking at, though I can't find the source or documentation on how webpack does this so it's pretty much unreadable. https://gist.github.com/ScottPeterJohnson/caa0051a8bad7f287683f23b5175b61e
__webpack_public_path__ translates to r.p, set on line 65. Line 69 (the generated entry) will be called before it on line 67.
Admittedly I might be doing something wrong? My use case seems simple enough: I just want users of my library to be able to specify the path where my worker will be loaded from.

@ScottPeterJohnson Sorry for the delayed reply. I think you're right that this is a timing issue, but I can't think of any way to defer WorkerPlugin's usage of __webpack_public_path__ / r.p - it's only reading that value when the module gets executed (the first time it gets required on the client).
I think we might be able to fix your issue though, and it doesn't require a change in webpack or Worker Plugin:  the key is that you need to set __webpack_public_path__ in your code before requiring anything.
In your app's entry file, this just have the assignment before anything else:
// src/index.js
__webpack_public_path__ = window.hashwall_asset_path;
require('./rest-of-your-app');

Note that Webpack will transform any __webpack_public_path__ assignment in your modules to r.p = .., so there's no need to modify webpack itself.

@developit  I'm also facing a similar problem. I'm publishing a library which internally uses a Sharedworker. When bundling this, the sdk.js, and my worker.js are generated.
The problem is when  the client imports sdk.js, it's part of it's vendor bundle. However worker file is not on the clients public path.
This is the code that gets generated by the plugin:
    './node_modules/worker-plugin-shared/dist/loader.js?{"name":"0"}!./src/sdk/socket/worker.ts': function(
      e,
      t,
      n,
    ) {
      e.exports = n.p + 'js/0.70afebd5.worker.js';
    },

The generated worker file is not available in the publicPath of the client. Not sure how this can be handled. @developit  do you have any thoughts?

@skmvasu what do you have output.publicPath set to in your Webpack configuration?
Are you setting __webpack_public_path__ to something at runtime?

@developit. I've not set the publicPath inthe webpack outputs.
No haven't overriden the __webpack_public_path__ either, I guess what's happening is that, when the client is installing my npm package, the main.js file is added in the vendor bundle by webpack.  And the worker.js is NOT copied inside the static/js folder.
This is my build folder structure:
static/
   vendor.js
   js/
     1.js
     2.js
    // worker.js is NOT available here
     .....

I'm guessing that, copying the generated worker code manually to static/js should fix this problem.
Please let me know if this make sense. Will give it a try on Monday and update here.

Ah - I didn't realize this was a module you were distributing via npm. Honestly there's no consensus on Workers should be published to npm, I'm not sure this plugin or any other could provide a solution that works in more than a handful of cases.

Makes sense. Thanks for taking a look :)
We're exploring a few options. Will update if something works.

@skmvasu just happened upon your reply here and wanted to point you at an npm module myself and Guy Bedford recently released that we hope may offer a fix for distributing Worker-based libraries to npm:
https://github.com/developit/web-worker

@developit  this is wonderful. I'll check this out this week and see if this works for us.

I got the same issue when using CDN.
Web App is running at http://localhost:3000. It loads JS files from the CDN at http://localhost:4000.
The SharedWorker is blocked because it is not same origin:
DOMException: Failed to construct 'SharedWorker': Script at 'http://localhost:4000/f2b8a59.worker.js' cannot be accessed from origin 'http://localhost:3000'.

I'd like to request the feature for dynamic webpack public path. If options.publicPath is provided, we will use it instead of __webpack_public_path__.
For example:
// webpack.config.js

    publicPath: 'http://localhost:4000',
    plugins: [
      new WorkerPlugin({
        sharedWorker: true,
        globalObject: 'window',
        publicPath: 'http://localhost:3000'
      })
    ]


Update for new vasp-potcar interface of aiida-vasp

I updated aiida-vasp to follow the update of aiida-vasp on the treatment of POTCAR. I tested with vasp.pymatgen parser and it seems working.

Thanks, I will merge


ExpressJS Adapter Implementation

We should create an adapter for the JS/TS Runtime that works with ExpressJS so users can import and use scale functions with expressJS applications as if they were native.

Completed in scale-http-adapters repo.


[Accessibility] Problem with space bar event bubbling

Hi,
When using the demo with keyboard, focusing on the play/pause button is somewhat embarassing: using the space bar to activate the button makes the player to stop (if it was playing), but immediatly to play again since the space bar event is listened on the entire player and bubbles from the button.
I think every control buttons should stop propagation of their own events (at least, when space bar is pressed).

@ffoodd Is this still an issue?

Hi,
The demo on the website still has this bug. I guess it's using the last player version. Just tab to the play button, use space or enter to click it, then hit space again to see the bug happen.
I know it's very specific but since every button should be activated when hitting space bar, letting this event bubble through the entire player and fire the play/pause event is weird. Using other buttons with space bar (CC or full screen) fires this play/pause event too, which is awful (going full screen using keyboard could pause the video, for example).

@ffoodd I tested this on Chrome and I'm unable to replicate it following these steps:

Press tab until I reach the Play/Pause button in the video
Use space bar to start playing it
Pressed space bar again to stop it

And it stopped. Am I missing a step here? Was this on a specific browser?

Oh sorry I didn't mention it, I'm using Firefox. I don't replicate the bug on Chrome either. Maybe a browser bug?

@ffoodd Probably. I'll test it today and let you know

@ffoodd Sorry for my late response. I played with this quite some time, and I found out that Firefox is not consistent on how it manages the keydown event. I have a PR on its way to fix this, but if you can provide any information about how FF manages keyboard events and how it prevents the events bubble effectively I can create something less "hacky", since I'm just targeting Firefox to prevent certain things

@ron666 I'll try to find this out. Thanks for the effort!

Hi,
I just ran a few console.log()to see where Firefox and Chrome are diverging.
It seems that Firefox goes a step further than Chrome. They both goes by keydown, then keyActions for space bar key then pause the media.
I don't really get the logic behind this, but at this point they both act the same way.
Then Firefox fires the click event on button's parent. This toggles again the play/pause state, what Chrome doesn't do.
So as far as I understand this, the space bar keydown event on the play button does bubble to its div parent as a click event, only in Firefox.
I don't really get it, but it's now clear that the click event isn't fired on Chrome when button is activated through space bar. I'm still searching but that may help you. I'm moving slowly since this lib is kinda complex :)
Thanks for your patience!

As a complementary thought, I also found this SO explaining that the problem also exists for the mute button. Indeed, when focusing on the mute button and pressing the space bar (to mute the video, obviously) in Firefox you also play/pause the video (which is  weird).
The same way, when focusing on full screen and pressing space bar, you do go full screen but also toggle play/pause state.
It's really annoying for Firefox keyboard users.

This is great information. I'll see what we can do with this, given that this is a browser related issue. Thanks for this info and I'll keep you posted on any progress

@ffoodd Sorry for the delay; I created a PR that solves this issue (#1848). Please test it and let me know if it works for you. Thanks.

Hi @ron666, I just tested and it works fine now :)
Only tested in Firefox 48, but since you're using UA sniffing I guess it wouldn't cause any trouble to other browsers.
Thanks!

Closing issue since fix has been merged


[Snyk] Security upgrade golang from 1.10 to 1.17.10

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

vendor/github.com/aws/aws-sdk-go/awstesting/sandbox/Dockerfile.test.go1.10

We recommend upgrading to golang:1.17.10, as this image has only 102 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

786
Directory Traversal SNYK-DEBIAN9-DPKG-2847943
No Known Exploit

714
CVE-2019-1353 SNYK-DEBIAN9-GIT-537142
No Known Exploit

714
CVE-2019-9636 SNYK-DEBIAN9-PYTHON27-340070
No Known Exploit

714
Directory Traversal SNYK-DEBIAN9-PYTHON27-341379
No Known Exploit

714
Out-of-bounds Write SNYK-DEBIAN9-WGET-342192
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Directory Traversal

Snyk] Atualização de segurança golang de 1.10 para 1.17.10


Inconsistency with mathlib-cache input

The current situation is:
mathlib-cache:
    description: |
      Run "lake exe cache get" before build.
      Project must be downstream of Mathlib.
      Allowed values: "true" or "false".
      If mathlib-cache input is not provided, the action will attempt to automatically detect if the project is downstream of Mathlib.
    required: false
    default: ""

    - name: detect mathlib
      # only detect Mathlib if the user did not provide the mathlib-cache input
      if: ${{ inputs.mathlib-cache == '' }}
      # etc...

An input here of either "true" or "false" will have the same effect. Possible solutions:

the description of the input is changed,
or, set required: true and default: false for this input and change the conditional to ${{ inputs.mathlib-cache == 'false' }}

Style note: could be clearer for the input name to be "get-mathlib-cache" or "use-mathlib-cache". (At the moment "mathlib-cache: true" could be understood to mean that the action can expect mathlib-cache to have already been obtained in a step prior to lean-action.)

An input here of either "true" or "false" will have the same effect.

I don't think I fully understand. Even though an input of true or false has the same affect on detect mathlib, this difference should impact the execution of get mathlib cache.
The intention here is:

if the user provides any value for mathlib-cache (other than empty string), we don't try to automatically detect if a package is downstream of mathlib.
if the user sets mathlib-cache: true, we run lake exe cache get

I do agree the semantics of this input could be improved.
One note, I am hesitant to make the mathlib-cache input required as it seems to me it will be seldom used as lean-action can automatically detect mathlib in most cases.

Style note: could be clearer for the input name to be "get-mathlib-cache" or "use-mathlib-cache". (At the moment "mathlib-cache: true" could be understood to mean that the action can expect mathlib-cache to have already been obtained in a step prior to lean-action.)

Totally agree on this.

OK, at the moment the description doesn't match with the implementation. And I realise my previous comment wasn't as coherent as I would like.
I should have started at the beginning: what is the desired behaviour? Is it:

The user of the action can choose to skip the mathlib check? (This is currently what is implemented.) Or,
The user can force the run of lake exe cache get, irrespective of any check? (This is what is suggested by the description field.) Or,
The user can force the run of lake exe cache get or force not running lake exe cache get, irrespective of any check? (This is what is suggested by another interpretation if the description field.)

Very soon I believe this will be superfluous since the detection of mathlib as a dependency will be made robust. Just worthwhile avoiding confusing inputs which will be stuck in the action for a while.

I believe that the implementation does currently achieve A, B, and C. Have you encountered another case?

OK! Thanks for your explanation. Yes, the action does implement behaviour exactly as you describe.
In my mind this is a case of Allowed values: "true", "false" or "" and so I was confused by the description.
Anyway, I believe the detection of mathlib use will work fine everywhere this action gets used. The people who have very strange setups in their projects will mostly prefer to have their own custom workflow instead.

Thanks for the input here. I think others are likely to experience confusion along these lines.
I have created #29 to make doc and naming improvements based on this issue. Feel free to give additional feedback on that PR if there is anything else which will improve clarity.


Make gRPC timeouts user-configurable

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
PR https://github.com/apache/arrow-ballista/pull/115 specifies timeouts but they are hard-coded.
Describe the solution you'd like
I would like these to be configurable using the extensible config mechanism that was recently added in DataFusion but has not yet been integrated with Ballista. Adding this would allow users to configure DataFusion-specific options in Ballista as well.
Describe alternatives you've considered
None
Additional context
None

I can work on this.


Snowflake database not accesible

I am building a CLI to handle Snowflake databases using the Automation API inline program mode for Golang.
The code is taken from this example and adapted as:
	fmt.Println(color.Colorize(color.Yellow, "Creating/checking SnowFlake database instance..."))
	var defaultShortUUID string = genShortUUID()
	deployDataBaseFunc := func(ctx *pulumi.Context) error {
		_, err := snowflake.NewDatabase(ctx, cm.RESOURCE_TAG+dbName, &snowflake.DatabaseArgs{
			Name:                    pulumi.String(cm.RESOURCE_TAG + dbName + "_" + defaultShortUUID),
			Comment:                 pulumi.String("Created by Jarvis"),
			DataRetentionTimeInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
[....]
    return executePulumiFunction(deployDataBaseFunc, destroy)

The database is correctly created but not accessible, getting a Cannot perform CREATE TABLE. This session does not have a current database. Call 'USE DATABASE', or use a qualified name. when connecting to it.
I am using the same Snowflake user and password to create databases from Pulumi and from the Snowflake UI.
Example created from Pulumi:

Example created from the Snowflake UI:

It seems like the creation from Pulumi is missing something, or some other initialization may happen.
Here is the Pulumi resource:

I am missing something when creating the Snowflake database resource?

Hi @jandroav -
could you let us know the output of pulumi about in your project folder?

Hi @guineveresaenger !
As I am using Pulumi in an inline way I don't have a Pulumi.yaml in my project folder but the output is the following:

I am attaching here the scrubbed output generated from the Pulumi service when creating the resource:
{
  "version": 3,
  "deployment": {
    "manifest": {
      "time": "2022-11-22T07:42:36.553494+01:00",
      "magic": "2d188b4b8e68bd30f127471b3d597459b26fe3603e3a668d8fc3131995cf292d",
      "version": "v3.47.1"
    },
    "secrets_providers": {
      "type": "service",
      "state": {
        "url": "https://api.pulumi.com",
        "owner": "jandroav",
        "project": "jarvis",
        "stack": "jandro"
      }
    },
    "resources": [
      {
        "urn": "urn:pulumi:jandro::jarvis::pulumi:pulumi:Stack::jarvis-jandro",
        "custom": false,
        "type": "pulumi:pulumi:Stack"
      },
      {
        "urn": "urn:pulumi:jandro::jarvis::pulumi:providers:snowflake::default",
        "custom": true,
        "id": "9b77e8c9-ea17-4f6d-9f64-5fd42595c787",
        "type": "pulumi:providers:snowflake",
        "inputs": {
          "account": "fk56316",
          "password": "",
          "region": "eu-west-3.aws",
          "username": "jarvis"
        },
        "outputs": {
          "account": "fk56316",
          "password": "",
          "region": "eu-west-3.aws",
          "username": "jarvis"
        }
      },
      {
        "urn": "urn:pulumi:jandro::jarvis::snowflake:index/database:Database::jarvis_trips",
        "custom": true,
        "id": "jarvis_trips_812787e0",
        "type": "snowflake:index/database:Database",
        "inputs": {
          "__defaults": [
            "isTransient"
          ],
          "comment": "Created by Jarvis",
          "dataRetentionTimeInDays": 1,
          "isTransient": false,
          "name": "jarvis_trips_812787e0"
        },
        "outputs": {
          "comment": "Created by Jarvis",
          "dataRetentionTimeInDays": 1,
          "id": "jarvis_trips_812787e0",
          "isTransient": false,
          "name": "jarvis_trips_812787e0"
        },
        "parent": "urn:pulumi:jandro::jarvis::pulumi:pulumi:Stack::jarvis-jandro",
        "provider": "urn:pulumi:jandro::jarvis::pulumi:providers:snowflake::default::9b77e8c9-ea17-4f6d-9f64-5fd42595c787",
        "propertyDependencies": {
          "comment": null,
          "dataRetentionTimeInDays": null,
          "name": null
        }
      }
    ]
  }
}

A quick thought - does your database perhaps need privileges?
https://www.pulumi.com/registry/packages/snowflake/api-docs/databasegrant/
What you're seeing lines up with fSnowflake forum answers around insufficient access privileges.

Hi @guineveresaenger
It seems there is an issue with uppercase and lowercase when setting the database name. Snowflake is supposed to pass the database name in double quotes if we do not want to change the name to UPPERCASE otherwise snowflake will take the object name in upper case:
https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#identifier-requirements
I am trying to connect to the database through JDBC and it is supplying the database name in lowercase but Snowflake will take it as uppercase only. There is a parameter QUOTED_IDENTIFIERS_IGNORE_CASE to control this behavior but it seems it can not be set through JDBC URi parameters.
https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter-howto
So my fix was creating the database from Pulumi in uppercase.

Ah! Thank you for the find! I'm glad you found a fix. I'll close this issue for now then. Feel free to reopen if you have further concerns. 🎉


Highlight code folding section on mouse over

Similar to https://github.com/atom/bracket-matcher/issues/30 but with code folding.
Here's a feature currently present in the Kate text editor that I think would be a great addition to Atom. When you hover your mouse over the code folding icons, it highlights the section that will be folded to give a quick and easy visual indicator.
Here's a screenshot:

It looks like something that could also be implemented as a package.

I think it should be an integrated feature.

Any news on this?


Create H2 report on related works

I’d like a report from H2 for all the free text related works entries. I'm not interested in the related links entries.
Just these:

I'd like the report to include the following:

druid
work title
owner
collection title
work type
related work entry

In the case where there are multiple related works for one item, it's fine for there to be multiple lines in the report, one for each entry.
Not urgent. Thanks.

For the owner, is the email what you'd prefer? Or name?

@lwrubel just the sunet id is fine. Thanks.

Completed report and emailed to Amy. There were 2,717 related works. See https://github.com/sul-dlss/happy-heron/pull/3577

Great, thanks @lwrubel. This should do it.


Device Question

Is possible to use VideoPredictor in a device without GPU installed?

I haven't tested that yet, Let me get back to you.

I'm test the library with the notebook of official repo of SAM2 and it doesn't work! The model is loaded properly on the CPU

But when you are going to init the state, it doesn't work

Could you try the code in https://github.com/SauravMaheshkar/samv2/blob/af7e893259b48992be4dd9793aab3fd68803952f/tests/test_video_predictor.py
https://github.com/SauravMaheshkar/samv2/blob/af7e893259b48992be4dd9793aab3fd68803952f/tests/test_video_predictor.py#L11-L27

Thank you for your great work to run SAM2 on CPU device. I also tried this issue and found that the model load is completed (by device "CPU").
After trying build_sam2_video_predictor, I faced the following error message from sam2. This could be related to the original issue https://github.com/facebookresearch/segment-anything-2/issues/25
Do you have any idea to resolve this for SAMV2? (or, have you already resolved?)
ImportError: cannot import name '_C' from 'sam2' (/<My Path>/.venv/lib/python3.12/site-packages/sam2/__init__.py)

@cocomoff Can you share your script ? I've got a test that runs successfully for one click on the CPU here:
https://github.com/SauravMaheshkar/samv2/blob/af7e893259b48992be4dd9793aab3fd68803952f/tests/test_video_predictor.py#L11-L27

@cocomoff thanks for sharing your environment. Can you download the latest package from Github and then try the script again? (I haven't pushed a new release to pypi because I want to test more)
rye add samv2 --git https://github.com/SauravMaheshkar/samv2.git

I mostly run python 3.10.3 locally, and the CI tests for versions 3.8-3.11.

@SauravMaheshkar Thank you for sharing your versions and the installation method with --git option. It works as we expected :) Maybe, my rye add did not work well (to fetch the latest version).
JFYI: I encountered another issue of using .cuda() inside SAM2Base, which I manually fixed in my local environment. I just share this issue for you.
Here, .cuda() may cause the error like AssertionError: Torch not compiled with CUDA enabled if we use SAM2 only with CPU.
https://github.com/SauravMaheshkar/samv2/blob/main/sam2/modeling/sam2_base.py#L569-L572
Again, thanks for your great fork.

Glad to know, it worked out. I'm patching all the CUDA stuff in https://github.com/SauravMaheshkar/samv2/tree/saurav/make-gpu-optional

I'm test the library with the notebook of official repo of SAM2 and it doesn't work! The model is loaded properly on the CPU
But when you are going to init the state, it doesn't work

@emi-dm where you able to get it working with the latest changes in https://github.com/SauravMaheshkar/samv2/tree/saurav/make-gpu-optional

@emi-dm I'm going to close this issue for now, I've tested that the model works for video prediction on the CPU in https://github.com/SauravMaheshkar/samv2/blob/main/tests/test_video_inference.py.
I've also added example notebooks, feel free to reopen this issue if you have questions or open another one.


NameError: name 'amp_C' is not defined

When I run the code, I get the message that NameError: name 'amp_C' is not defined（in BERT\optimization.py）。But I can't find where to download this package. Could you please provide it to me? And what is the use of this package。thankyou so mush.

@LonieLee Excuse me, I have the same question, could u please share your solution?

I didn't fix the problem, I just commented on them
import amp_C

multi_tensor_l2norm = amp_C.multi_tensor_l2norm
lamb_compute_update = amp_C.multi_tensor_lamb_stage1_cuda
lamb_apply_update = amp_C.multi_tensor_lamb_stage2_cuda
scale = amp_C.multi_tensor_scale
------------------ 原始邮件 ------------------
发件人:                                                                                "cuhksz-nlp/DGSA"                                                                                @.>;
发送时间: 2021年4月7日(星期三) 晚上8:43
@.>;
<EMAIL_ADDRESS>主题: Re: [cuhksz-nlp/DGSA] NameError: name 'amp_C' is not defined (#2)
@LonieLee Excuse me, I have the same question, could u please share your solution?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update main.yml

Checkmarx One – Scan Summary & Details – ae6c691a-ac68-4f09-9a69-c58c3b42ce9f
No New Or Fixed Issues Found


Test building libraries in CI (on PRs/merge to main)

Some of our libraries are not currently built in CI for PRs. This prevents us from verifying that changes will build. We need to build a library as part of CI checks if it is changed in a PR.

Upon reviewing the workflows, it seems that everything is already in place. Am I missing something or is this already implemented? @svix-dylan @tasn


Pol 316 add savings aws old snapshots

Description
Added savings in the incidents
Issues Resolved

Include Estimated Monthly Savings to each resource
Include Total Estimated Monthly Savings in the incident summary

Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5f452e60256320000191fe4a

I have fixed the conflict and committed the changes. Thanks


⚠ Jenkins Plugins Artifactory has degraded performance

In e75f972, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1199 ms

Resolved: Jenkins Plugins Artifactory performance has improved in feeffe1 after 1 hour, 11 minutes.


Subclasses of OSError being highlighted as not imported

The subclasses of OSError, which are imported by the interpreter during runtime in Python 3 is highlighted as F821 - Undefined Name.
Here is a list of the errors:
https://docs.python.org/3/library/exceptions.html#os-exceptions
Is it supposed to be like that? Most other errors that are imported by the interpreter are not highlighted.

Without code to reproduce this I can't say for sure, this sounds like an issue that should be reported over on flake8 though as this project is just a wrapper around that.

Closing due to a lack of response.


Fix 0 values in smarty transformation

Currently it is not possible to set a value to "0" (zero) with the smarty conversion, because if($evalData) is false in case $evalData is "0".
Please see:
https://forum.shopware.com/discussion/comment/215298/#Comment_215298
https://3v4l.org/iX613

I changed to comparison.
Currently 0 values are not processed, but after my changes it will be possible to use them in the conversion. See: https://3v4l.org/vIWYh

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-8910
Please use this issue to track the state of your pull request.

Thanks for your contribution


[Feature]:For Team page requesting the implementation of a "scroll to top" feature on our website. This feature will be built using JavaScript for scroll behavior and will be styled with Tailwind CSS.

Is your feature request related to a problem? Please describe.
#Feature Request: Scroll to Top Button
#Implementation: This feature will be developed using JavaScript and styled with Tailwind CSS.
Describe the solution you'd like
The button will appear when the user has scrolled down a certain distance (e.g., 200 pixels) to indicate its availability.
Clicking the button will trigger a smooth scrolling animation that takes the user back to the top of the page.
https://github.com/NSCC-BPIT/NSCC-BPIT-Website/assets/65588552/6d247c70-69c3-432d-8b71-35ef099e8148

Could you please assign me this issue @sagarbee ?

@sagarbee go ahead

Hi @pradeeptosarkar sir,
I'd like to clarify a situation with Pull Request #474
Pull Request #474 doesn't have a specific label, but it contains the changes that address the issue #469. These changes have been successfully merged into the master branch.
I apologize for any confusion, and I want to ensure that you are aware that the changes from issue #469 have been incorporated in Pull Request #474.
Please review Pull Request #474, which contains the resolved issue #469, and let me know if any further action is required.
Thank you for your time and understanding.
Best regards,
@sagarbee

got it


Add option to run in light client mode

https://github.com/celestiaorg/rollmint/pull/646

This was resolved by #681 .


Scalar Market on trading pg displaying Scientific Notation

Under the Outcome section the Max of the range is being displayed as scientific notation
the range I used to create this market is 0-50

issues found
"maxPrice":"0.00000000000000005",
"cumulativeScale":"0.00000000000000005",
"settlementFee":"0.1000000000000001",
"reportingFeeRate":"0.0000000000000001",
tickSize":"0.00000000000000000001"


optimizning image

add an optimizing and minimize the image size in webpack configurations

i will work for it

working

done


DB: Handle null ExpiryDate for custom volume snapshots

Fixes #9736 "sql: Scan error on column index 2, name "expiry_date": converting NULL to string is unsupported"
Also fixes similar issue for backups.

Looks like tests are unhappy, looking into it.

Fixed tests


Delete and add back fingers on device not working on Android

I'm currently using this library in a project for Android and IOS.
One of the requirements is to store some information behind fingerprint/faceid protection, so I have used this library.
So far all worked well apart from one scenario. I want the user to be able to delete all fingers and then add a new one and don't lose the access to the information saved on the secure storage. Currently, this is working on IOS and Android simulator, but not on real Android devices.
Steps to reproduce it:

Add finger 1 to the device (if it is not already there)
Open your app and call to setItem
Try to do getItem, the fingerprint is requested and the value returned.
Go to system settings > security > add a new finger, or remove all fingers and add a new/same finger
Open your app and use getItem

Following that process on Android emulator, the value is returned.
On ios real device it is also working. This behaviour is defined by the kSecAccessControl defined
But on Android device is not returning me the item.
Is there anything similar to kSecAccessControl to set for android in order to make this work?

I have found a solution to the problem.
Inside RNSensitiveInfoModule.java file in the section where KeyGenParameterSpec.Builder is created just by adding builder.setInvalidatedByBiometricEnrollment(false); it will solve the issue.
If we look at androids documentation https://developer.android.com/reference/android/security/keystore/KeyGenParameterSpec.Builder.html#setInvalidatedByBiometricEnrollment(boolean) it does explain what that flag actually means.
It will be a great option to include an extra property for Android to specify this option. At for some people, it will make more sense to invalidate the keys on enrollment.
I'll try to work on a PR if I have time after the project that I'm on is finished.

Thanks man! I'll close the issue, but your PR is always welcome!

This problem still reproduce. Can anybody fix this? Thank you

@AliakseiDouhal I just created a PR with the changes I proposed on my previous comment. https://github.com/mCodex/react-native-sensitive-info/pull/138.
Until @mCodex reviews it and decides if it is worth including it, you can try it from my GitHub fork. It'll be good as I haven't had time to test it, that is why I was taking time to publish it, but as I've seen that I'm not the only one trying the same thing I decided to put it so it can receive feedback from anyone.

@AliakseiDouhal I just created a PR with the changes I proposed on my previous comment. #138.
Until @mCodex reviews it and decides if it is worth including it, you can try it from my GitHub fork. It'll be good as I haven't had time to test it, that is why I was taking time to publish it, but as I've seen that I'm not the only one trying the same thing I decided to put it so it can receive feedback from anyone.

It looks good @AJM88 . I think you should add @mCodex in reviewers in your PR, may be it will help him see PR sooner


Develop 3.0

Replaces https://github.com/basho/riak_repl/pull/790 resolving issues with rebar.lock (now removed)


enhance: Increase test coverage of getSubRange() in ReadWriteDataRange

Increase the code coverage of the tests that tests the getSubRange() method in the class ReadWriteDataRange.

This issue was closed through PR #18


[FEAT] Workflows

Is your feature request related to a problem? Please describe.
No workflows!!!
Describe the solution you'd like
Add the below workflows:

Testing workflow (on main PR + on main push)
Build workflow (on main PR + on main push)
Publish to npm (on main push)

Need to figure out how to do versioning.

Describe alternatives you've considered
For the publish, maybe doing it manually.
Additional context
Add any other context or screenshots about the feature request here.

Added build and test workflows


Aleaverfay/pose stack to canonical form

Add code to convert back from PoseStack format to the "canonical form" that's input to "pose_stack_from_canonical_form."

I'm really not sure why code-cov is highlighting the fact that there's some amount of untested code in the canonical-form-to-pose-stack code path here in this branch that's exclusively dedicated to the reverse pose-stack-to-canonical-form code path. The new code is all being tested, fwiw.


YoloNAS_Pose_Fine_Tuning_Animals_Pose_Dataset. tuturial Error

💡 Your Question
I'm trying to run your tutorial "YoloNAS_Pose_Fine_Tuning_Animals_Pose_Dataset.ipynb", but I got the following error message. Can you help me with this?

Versions
No response

@ShunitTruzman the download urls has been changed and they are yet to merge it to master ,
in your case this is the new url: "https://sg-hub-nv.s3.amazonaws.com/models/yolo_nas_pose_m_coco_pose.pth"


cairo: error: X11/extensions/XShm.h: No such file or directory

I'm trying to install cairo on linuxbrew using:
    brew install cairo

it fails with error:
    ==> ./configure --prefix=/home/pb/.linuxbrew/Cellar/cairo/1.14.2_1 --enable-gobject=yes --enable-svg=yes --enable-tee=yes --enable-xcb=no
    ==> make install
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/tmp/cairo20150907-9581-1xl4e8d/cairo-1.14.2/src'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/tmp/cairo20150907-9581-1xl4e8d/cairo-1.14.2'
    make: *** [install] Error 2

gist created by:
    brew gist-logs cairo

is: https://gist.github.com/7b1ebc1171d2707dba67

cairo-xlib-surface.c:71:33: fatal error: X11/extensions/XShm.h: No such file or directory
https://gist.github.com/anonymous/7b1ebc1171d2707dba67#file-02-make-L137
Try
brew install linuxbrew/xorg/xorg cairo --with-x11

--with-x11 should be the default for cairo on Linuxbrew.

Bob, would you like to take a stab at fixing this, when you have time? On non-Mac systems, :x11 should be :recommended rather than :optional.

On second thought, don't worry about it, Bob. I had forgotten that Piotr had worked on this issue. I've asked him to take a look at it in #974.

A look has been taken ;)


ButtonGroup appearance missing option 'ghost'

As the title says, ButtonGroup prop appearance only allows filled and outline, but not ghost. This should be fixed as there's no reason to not allow ghost appearance in buttongroup.

@arafatzahan this is handled, but of course if you'll pass 'ghost' as appearance, it will be applied by nested components.
I see no reason to add an additional condition for handling that. Any problems with manual handling of that?

@arafatzahan

no reason to not allow

This would be the same as using multiple Buttons without wrapping it into a Group. Any reason to allow it?

@artyorsh It feels inconsistent, as filled and outline options work, but not ghost. I wanted to create a rating buttongroup like this.
`
<ButtonGroup
style={styles.reviewButtons}
appearance="ghost"
status="warning"

{steps.map((v, i) => (
	<Button
		key={i}
		icon={
			ratingReview > i ? StarIconFill : StarIcon
		}
		onPress={() => setRatingReview(v)}
	/>
))}

`
ended up doing what you suggested:
<View style={styles.reviewButtons}> 	{steps.map((v, i) => ( 		<Button 			key={i} 			appearance="ghost" 			status="warning" 			icon={ 				ratingReview > i ? StarIconFill : StarIcon 			} 			onPress={() => setRatingReview(v)} 		/> 	))} </View>
I reported the issue because I thought it's kind of inconsistent how filled and outlined works but ghost doesn't. It's up to you.
Thanks.

I'm in the same boat here.
It would be best to not discriminate the "ghost" appearance option for a ButtonGroup as it is ultimately passed into it's child Button elements — I still want to maintain the rounded corners for the pressed highlight when you have many ghost buttons in a group.

Quick fix: You can eliminate the warning message by patching in a functional appearance mapping for ButtonGroup via ApplicationProvider, hence making the "ghost" appearance a valid option.
import * as eva from "@eva-design/eva";

...

const { outline } = eva.mapping.components.ButtonGroup.appearances;
const ghostStatusKeys = Object.keys(outline);
const ghostStatusGeneric = {
  borderColor: "transparent",
  dividerBackgroundColor: "transparent",
};

eva.mapping.components.ButtonGroup.appearances.ghost = {
  mapping: {},
  variantGroups: {
    status: ghostStatusKeys.reduce(
      (acc, key) => Object.assign(acc, { [key]: ghostStatusGeneric }),
      {}
    ),
  },
};

...

<ApplicationProvider {...eva} theme={eva.light}>


Trouble with DNS Made Easy plugin

I am trying to use the DNS Made Easy Plugin I have the following for example. Obviously I have removed large parts of the key and secret.
I tried this with POSH-ACME and everything worked as expected. So the DNS script should/could work.
C:\WIN-ACME>wacs --test --verbose --target manual --host test.nbn.org.il --store permfiles c:\nss\test --validationmode dns-01 --validation script --dnscreatescript "./Scripts/DMeasy.ps1" --dnscreatescriptarguments "DMEkey='310f5a9c' DMESecretInsecure='cfee518a'"
[VERB] Verbose mode logging enabled
[VERB] Looking for settings.json in C:\WIN-ACME
[DBUG] Config folder: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org
[DBUG] Log path: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Log
[DBUG] Cache path: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Certificates
[VERB] Arguments: --test --verbose --target manual --host test.nbn.org.il --store permfiles c:\nss\test --validationmode dns-01 --validation script --dnscreatescript ./Scripts/DMeasy.ps1 --dnscreatescriptarguments DMEkey='310f5a9c-71db-4815-8382-78c1501f6b11' DMESecretInsecure='cfee518a-4a12-4c7e-93ec-f2f9b93af34393af343'
[DBUG] Renewal period: 55 days
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>0 (RELEASE, PLUGGABLE)
[INFO] ACME server https://acme-staging-v02.api.letsencrypt.org/
[DBUG] Connection OK!
[INFO] IIS version 10.0
[INFO] Running with administrator credentials
[WARN] Scheduled task not configured yet
[INFO] Please report issues at https://github.com/PKISharp/win-acme
[VERB] Test for international support: 語言 язык لغة
[INFO] Running in mode: Unattended, Test
[INFO] Target generated using plugin Manual: test.nbn.org.il
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Adding <IP_ADDRESS> as DNS server
[VERB] Checking [Manual] test.nbn.org.il
[VERB] Loading ACME account signer...
[DBUG] Loading signer from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Signer_v2
[VERB] Constructing ACME protocol client...
[DBUG] Send GET request to https://acme-staging-v02.api.letsencrypt.org/directory
[VERB] Request completed with status OK
[DBUG] Send HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce
[VERB] Request completed with status OK
[DBUG] Loading account information from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Registration_v2
[DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/new-order
[VERB] Request completed with status Created
[DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/40854210
[VERB] Request completed with status OK
[INFO] Authorize identifier: test.nbn.org.il
[INFO] Authorizing test.nbn.org.il using dns-01 validation (Script)
[INFO] Script ./Scripts/DMeasy.ps1 starting with parameters DMEkey='310f5a9c-71db-4815-8382-78c1501f6b11' DMESecretInsecure='cfee518a-4a12-4c7e-93ec-f2f9b93af34393af343'
[DBUG] Process launched: powershell.exe (ID: 20656)
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:144 char:19
[EROR] Script error: +               Sign up
[EROR] Script error: +                   ~
[EROR] Script error: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
[EROR] Script error: quotation marks ("&") to pass it as part of a string.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:171 char:190
[EROR] Script error: + ... ata-ga-click="(Logged out) Header, go to Features">Features <span cla ...
[VERB] Process output without data received
[EROR] Script error: +                                                                 ~
[EROR] Script error: The '<' operator is reserved for future use.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:171 char:261
[EROR] Script error: + ... ="Bump-link-symbol float-right text-normal text-gray-light">→</s ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
[EROR] Script error: quotation marks ("&") to pass it as part of a string.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:184 char:255
[EROR] Script finished with exit code 1
[EROR] Script error: + ... ogged out) Header, go to Customer stories">Customer stories <span cla ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The '<' operator is reserved for future use.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:184 char:326
[EROR] Script error: + ... ="Bump-link-symbol float-right text-normal text-gray-light">→</s ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
[EROR] Script error: quotation marks ("&") to pass it as part of a string.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:185 char:231
[EROR] Script error: + ... ata-ga-click="(Logged out) Header, go to Security">Security <span cla ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The '<' operator is reserved for future use.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:185 char:302
[EROR] Script error: + ... ="Bump-link-symbol float-right text-normal text-gray-light">→</s ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
[EROR] Script error: quotation marks ("&") to pass it as part of a string.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:205 char:222
[EROR] Script error: + ... a-click="(Logged out) Header, go to Explore">Explore GitHub <span cla ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The '<' operator is reserved for future use.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:205 char:293
[EROR] Script error: + ... ="Bump-link-symbol float-right text-normal text-gray-light">→</s ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
[EROR] Script error: quotation marks ("&") to pass it as part of a string.
[EROR] Script error: At C:\WIN-ACME\Scripts\DMEasy.ps1:208 char:107
[EROR] Script error: + ...  text-normal text-mono f5 mb-2 border-lg-top pt-lg-3">Learn & con ...
[EROR] Script error: +                                                                 ~
[EROR] Script error: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
[EROR] Script error: quotation marks ("&") to pass it as part of a string.
[EROR] Script error: Not all parse errors were reported.  Correct the reported errors and try again.
[EROR] Script error:     + CategoryInfo          : ParserError: (:) [], ParseException
[EROR] Script error:     + FullyQualifiedErrorId : AmpersandNotAllowed
[VERB] Process error without data received
[VERB] Process error without data received
[VERB] Waiting for process to finish...
[INFO] Answer should now be available at _acme-challenge.test.nbn.org.il
[VERB] Querying server <IP_ADDRESS> about org.il
[DBUG] Querying name servers for org.il
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying server <IP_ADDRESS> about nbn.org.il
[DBUG] Querying name servers for nbn.org.il
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying IP for name server
[VERB] Name server IP <IP_ADDRESS> identified
[VERB] Querying server <IP_ADDRESS> about test.nbn.org.il
[DBUG] Querying name servers for test.nbn.org.il
[VERB] Querying server <IP_ADDRESS> about _acme-challenge.test.nbn.org.il
[DBUG] Querying name servers for _acme-challenge.test.nbn.org.il
[DBUG] Preliminary validation will now check name server <IP_ADDRESS>
[WARN] Preliminary validation at <IP_ADDRESS> failed: jnjjiI0rj0P_896quQ6-dXlY51jnlNugdjdntM7KXK0 not found in Z7RXfMJLqV7L7Z-KrfQ5Jdbkbt5GZj_Eksm1lRlhIcY
[INFO] Will retry in 30 seconds (retry 1/5)...
^C
C:\WIN-ACME>

I'm sorry but POSH-ACME scripts are not exactly drop in compatible with win-acme, you'll have to figure out how to make the necessary changes.


TypeError: 'module' object is not iterable

I have been trying to get this program to run but I'm having a problem, i keep getting an error in django which breaks everything, i tried to downgrade to version 2.2.6 but that didn't help either
M:\Downloads\Stock-Market-AI-GUI-master>python36 manage.py runserver
Watching for file changes with StatReloader
Performing system checks...

Exception in thread django-main-thread:
Traceback (most recent call last):
  File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 591, in url_patterns
    iter(patterns)
TypeError: 'module' object is not iterable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "M:\pythons\3.6\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "M:\pythons\3.6\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "M:\pythons\3.6\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper
    fn(*args, **kwargs)
  File "M:\pythons\3.6\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
    self.check(display_num_errors=True)
  File "M:\pythons\3.6\lib\site-packages\django\core\management\base.py", line 396, in check
    databases=databases,
  File "M:\pythons\3.6\lib\site-packages\django\core\checks\registry.py", line 70, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
  File "M:\pythons\3.6\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
    return check_resolver(resolver)
  File "M:\pythons\3.6\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
    return check_method()
  File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 408, in check
    for pattern in self.url_patterns:
  File "M:\pythons\3.6\lib\site-packages\django\utils\functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 598, in url_patterns
    raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
django.core.exceptions.ImproperlyConfigured: The included URLconf 'StockMarket.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.

Don't downgrade Django, it should be higher than v3. When I wrote this project, I used Django version 3.1.5. Try installing that and it should work :)

i uninstalled it and installed the 3.1.5 version and I'm still having the same issue
M:\Downloads\Stock-Market-AI-GUI-master>python36 manage.py runserver
Watching for file changes with StatReloader
Performing system checks...

Exception in thread django-main-thread:
Traceback (most recent call last):
  File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 591, in url_patterns
    iter(patterns)
TypeError: 'module' object is not iterable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "M:\pythons\3.6\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "M:\pythons\3.6\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "M:\pythons\3.6\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper
    fn(*args, **kwargs)
  File "M:\pythons\3.6\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
    self.check(display_num_errors=True)
  File "M:\pythons\3.6\lib\site-packages\django\core\management\base.py", line 396, in check
    databases=databases,
  File "M:\pythons\3.6\lib\site-packages\django\core\checks\registry.py", line 70, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
  File "M:\pythons\3.6\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
    return check_resolver(resolver)
  File "M:\pythons\3.6\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
    return check_method()
  File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 408, in check
    for pattern in self.url_patterns:
  File "M:\pythons\3.6\lib\site-packages\django\utils\functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "M:\pythons\3.6\lib\site-packages\django\urls\resolvers.py", line 598, in url_patterns
    raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
django.core.exceptions.ImproperlyConfigured: The included URLconf 'StockMarket.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.

Have you made any modifications to the urls.py file ? It looks like the urlpattern was modified. Check your urls.py in the Stock folder and the StockMarket folder, and ensure that it says
urlpatterns = [ .......... ]
According to the error it seems like it has been changed to url_patterns. I hope this fixes the error :)

both of the urls.py files are unmodified, here's their copy paste, you can see there's no _ in urlpattern
"""StockMarket URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path('admin/', admin.site.urls),
    path("", include("Stock.urls"))
]

from django.urls import path

from . import views

urlpatterns = [
    path("", views.index, name="index"),
    path("stock", views.stock, name="stock"),
    path("predict", views.predict, name="predict"),
    path("predict_stock/<str:symbol>/<str:period>/<int:sim>/<int:future>", views.stock_predict, name="predict_stock"),
    path("trade", views.trade, name="trade"),
    path("trade_stock/<str:symbol>/<str:period>/<int:init>/<int:skip>", views.stock_trade, name="trade_stock")
]

Have you made any other changes to the project ? I am unable to reproduce your error. I cloned the repository and ran the server with no errors. If you have made any changes, let me know so I can try to reproduce the error to fix it.

i havent made any change, i suspect something with my python or dependencies isn't right but im not sure

I will add a requirements.txt file as soon as possible. Give me an hour or so, I have a class now.

I have added the requirements.txt as well as an environment.yml file (to use if you are working with Anaconda which I recommend) to the root of the repository.
To create new Anaconda environment with the file:
conda env create -f environment.yml

i installed anaconda, opened it and run the commend to make a new environment then tried to install the requirements and i keep getting this error (out of anaconda too), probably because I'm on windows
(base) M:\Downloads\Stock-Market-AI-GUI-master>pip install -r requirements.txt
Collecting absl-py==0.11.0
  Using cached absl_py-0.11.0-py3-none-any.whl (127 kB)
Requirement already satisfied: alabaster==0.7.12 in m:\users\gay\anaconda3\lib\site-packages (from -r requirements.txt (line 2)) (0.7.12)
Requirement already satisfied: anaconda-client==1.7.2 in m:\users\gay\anaconda3\lib\site-packages (from -r requirements.txt (line 3)) (1.7.2)
Requirement already satisfied: anaconda-project==0.8.3 in m:\users\gay\anaconda3\lib\site-packages (from -r requirements.txt (line 4)) (0.8.3)
Collecting applaunchservices==0.2.1
  Downloading applaunchservices-0.2.1-py3-none-any.whl (6.1 kB)
Collecting appnope==0.1.0
  Downloading appnope-0.1.0-py2.py3-none-any.whl (4.0 kB)
Processing m:\opt\concourse\worker\volumes\live\91c8994f-17d8-4d72-71d5-86defaef485b\volume\appscript_1594840169383\work
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'M:\\opt\\concourse\\worker\\volumes\\live\\91c8994f-17d8-4d72-71d5-86defaef485b\\volume\\appscript_1594840169383\\work'

Instead of installing it into the base environment, try creating an environment with the dependencies installed on creation.
Run the following line:
conda env create -f environment.yml
This should practically give you a clone environment like mine.

i managed to get it working manually with anaconda but not with your file, trying to import it gives me a ResolvePackageNotFound error, but still thanks!

I didn't write the code with GPU support and it's using Tensorflow v1.15. So GPU supported version should be installed separately with
pip install tensorflow-gpu==1.15
Refer to this for details: https://www.tensorflow.org/install/gpu

i did do it like that i just had other errors (which i managed to fix), thx for the help! also 1 question before you close this, are you gonna update this? because its pretty cool

Thank you, I hope you enjoy using it :)
I plan to update this project to tensorflow v2 and add GPU support during my summer vacations, currently I am a little busy with university classes.

If anybody wants the fixed .yml file:
name: myenv
channels:
  - defaults
dependencies:
  - alabaster=0.7.12=py36_0
  - anaconda=2020.07=py36_0
  - anaconda-client=1.7.2=py36_0
  - anaconda-project=0.8.4=py_0
  - applaunchservices=0.2.1=py_0
  - argh=0.26.2=py36_0
  - asn1crypto=1.3.0=py36_0
  - astroid=2.4.2=py36_0
  - atomicwrites=1.4.0=py_0
  - attrs=19.3.0=py_0
  - autopep8=1.5.3=py_0
  - babel=2.8.0=py_0
  - backcall=0.2.0=py_0
  - backports=1.0=py_2
  - backports.shutil_get_terminal_size=1.0.0=py36_2
  - beautifulsoup4=4.9.1=py36_0
  - bkcharts=0.2=py36_0
  - blas=1.0=mkl
  - bleach=3.1.5=py_0
  - bokeh=2.1.1=py36_0
  - boto=2.49.0=py36_0
  - ca-certificates=2020.6.24=0
  - certifi=2020.6.20=py36_0
  - chardet=3.0.4=py36_1003
  - click=7.1.2=py_0
  - cloudpickle=1.5.0=py_0
  - clyent=1.2.2=py36_1
  - colorama=0.4.3=py_0
  - contextlib2=0.6.0.post1=py_0
  - contextvars=2.4=py_0
  - dask=2.20.0=py_0
  - dask-core=2.20.0=py_0
  - decorator=4.4.2=py_0
  - defusedxml=0.6.0=py_0
  - diff-match-patch=20200713=py_0
  - distributed=2.20.0=py36_0
  - docutils=0.16=py36_1
  - entrypoints=0.3=py36_0
  - et_xmlfile=1.0.1=py_1001
  - filelock=3.0.12=py_0
  - flake8=3.8.3=py_0
  - flask=1.1.2=py_0
  - fsspec=0.7.4=py_0
  - future=0.18.2=py36_1
  - glob2=0.7=py_0
  - heapdict=1.0.1=py_0
  - html5lib=1.1=py_0
  - idna=2.10=py_0
  - imageio=2.9.0=py_0
  - imagesize=1.2.0=py_0
  - importlib-metadata=1.7.0=py36_0
  - importlib_metadata=1.7.0=0
  - intervaltree=3.0.2=py_1
  - ipykernel=5.3.2=py36h5ca1d4c_0
  - ipython=7.16.1=py36h5ca1d4c_0
  - ipython_genutils=0.2.0=py36_0
  - ipywidgets=7.5.1=py_0
  - isort=4.3.21=py36_0
  - itsdangerous=1.1.0=py36_0
  - jdcal=1.4.1=py_0
  - jedi=0.17.1=py36_0
  - jinja2=2.11.2=py_0
  - joblib=0.16.0=py_0
  - json5=0.9.5=py_0
  - jsonschema=3.2.0=py36_0
  - jupyter=1.0.0=py36_7
  - jupyter_client=6.1.6=py_0
  - jupyter_console=6.1.0=py_0
  - jupyter_core=4.6.3=py36_0
  - jupyterlab=2.1.5=py_0
  - jupyterlab_server=1.2.0=py_0
  - keyring=21.2.1=py36_0
  - mccabe=0.6.1=py36_1
  - mock=4.0.2=py_0
  - more-itertools=8.4.0=py_0
  - mpmath=1.1.0=py36_0
  - multipledispatch=0.6.0=py36_0
  - nbconvert=5.6.1=py36_0
  - nbformat=5.0.7=py_0
  - networkx=2.4=py_1
  - nltk=3.5=py_0
  - nose=1.3.7=py36_2
  - notebook=6.0.3=py36_0
  - numpydoc=1.1.0=py_0
  - olefile=0.46=py36_0
  - openpyxl=3.0.4=py_0
  - packaging=20.4=py_0
  - pandoc=2.10=0
  - pandocfilters=1.4.2=py36_1
  - parso=0.7.0=py_0
  - partd=1.1.0=py_0
  - path=13.1.0=py36_0
  - path.py=12.4.0=0
  - pathlib2=2.3.5=py36_0
  - pathtools=0.1.2=py_1
  - patsy=0.5.1=py36_0
  - pep8=1.7.1=py36_0
  - pexpect=4.8.0=py36_0
  - pickleshare=0.7.5=py36_0
  - pip=20.1.1=py36_1
  - pkginfo=<IP_ADDRESS>=py36_0
  - pluggy=0.13.1=py36_0
  - ply=3.11=py36_0
  - prometheus_client=0.8.0=py_0
  - prompt-toolkit=3.0.5=py_0
  - prompt_toolkit=3.0.5=0
  - py=1.9.0=py_0
  - pycodestyle=2.6.0=py_0
  - pycparser=2.20=py_2
  - pydocstyle=5.0.2=py_0
  - pyflakes=2.2.0=py_0
  - pygments=2.6.1=py_0
  - pylint=2.5.3=py36_0
  - pyopenssl=19.1.0=py_1
  - pyparsing=2.4.7=py_0
  - pysocks=1.7.1=py36_0
  - pytest=5.4.3=py36_0
  - python=3.6.10
  - python-dateutil=2.8.1=py_0
  - python-jsonrpc-server=0.3.4=py_1
  - python-language-server=0.34.1=py36_0
  - python-libarchive-c=2.9=py_0
  - pytz=2020.1=py_0
  - qdarkstyle=2.8.1=py_0
  - qtawesome=0.7.2=py_0
  - qtconsole=4.7.5=py_0
  - qtpy=1.9.0=py_0
  - requests=2.24.0=py_0
  - rope=0.17.0=py_0
  - seaborn=0.10.1=py_0
  - send2trash=1.5.0=py36_0
  - setuptools=49.2.0=py36_0
  - simplegeneric=0.8.1=py36_2
  - six=1.15.0=py_0
  - snowballstemmer=2.0.0=py_0
  - sortedcollections=1.2.1=py_0
  - sortedcontainers=2.2.2=py_0
  - soupsieve=2.0.1=py_0
  - sphinx=3.1.2=py_0
  - sphinxcontrib=1.0=py36_1
  - sphinxcontrib-applehelp=1.0.2=py_0
  - sphinxcontrib-devhelp=1.0.2=py_0
  - sphinxcontrib-htmlhelp=1.0.3=py_0
  - sphinxcontrib-jsmath=1.0.1=py_0
  - sphinxcontrib-qthelp=1.0.3=py_0
  - sphinxcontrib-serializinghtml=1.1.4=py_0
  - sphinxcontrib-websupport=1.2.3=py_0
  - spyder=4.1.4=py36_0
  - spyder-kernels=1.9.2=py36_0
  - sympy=1.6.1=py36_0
  - tblib=1.6.0=py_0
  - terminado=0.8.3=py36_0
  - testpath=0.4.4=py_0
  - threadpoolctl=2.1.0=pyh5ca1d4c_0
  - toml=0.10.1=py_0
  - toolz=0.10.0=py_0
  - tqdm=4.47.0=py_0
  - traitlets=4.3.3=py36_0
  - typing_extensions=<IP_ADDRESS>=py_0
  - urllib3=1.25.9=py_0
  - wcwidth=0.2.5=py_0
  - webencodings=0.5.1=py36_1
  - werkzeug=1.0.1=py_0
  - wheel=0.34.2=py36_0
  - widgetsnbextension=3.5.1=py36_0
  - xlrd=1.2.0=py36_0
  - xlsxwriter=1.2.9=py_0
  - xlwings=0.19.5=py36_0
  - yapf=0.30.0=py_0
  - zict=2.0.0=py_0
  - zipp=3.1.0=py_0
  - zope=1.0=py36_1
  - zope.event=4.4=py36_0
  - pip:
    - absl-py==0.11.0
    - asgiref==3.3.1
    - astor==0.8.1
    - django==3.1.5
    - gast==0.2.2
    - google-pasta==0.2.0
    - grpcio==1.33.2
    - keras-applications==1.0.8
    - keras-preprocessing==1.1.2
    - markdown==3.3.3
    - mpld3==0.5.2
    - multitasking==0.0.9
    - opencv-python==<IP_ADDRESS>
    - opt-einsum==3.3.0
    - pandas-datareader==0.9.0
    - pillow==5.0.0
    - protobuf==3.14.0
    - scipy==1.0.1
    - sqlparse==0.4.1
    - tensorboard==1.15.0
    - tensorflow==1.15.0
    - tensorflow-estimator==1.15.1
    - termcolor==1.1.0
    - yfinance==0.1.55
prefix: /Users/atinsaki/miniconda3/envs/myenv


Build apk(android) error

When I run 'flutter build apk' in terminal, I got the error like this :

How can I solve this problem?

@wangjacsi
안녕하십니까?
I guess that It caused by your android/app/build.gradle and the plugin's version are different
compileSdkVersion 28
However, the pull-request was not merged yet. It may help you happy.
https://github.com/NilsBacke/PHSpeechBubble/pull/17/files
@NilsBacke Hello. Do you still maintain the plugin?

@NilsBacke
hey

Sorry this was neglected for so long. I am barely maintaining this package anymore. Thank you for tagging me.

@NilsBacke
Thank you


Fix logserver validation

This is to validate the input stream to perform validation

alluxio-bot, merge this please


Global Mutable Variables

See the global_mutable_variables branch for a test case and an attempted failed fix for this.
The issue is that the parser falls back on statements (because we allow statements at the top level for testing).
Because of that we have a lot of conflicts of various kinds (specifically looking at the _top_level_definition conflicts).
This causes it to think that the following is invalid.
List<String> animations = ['1', '2', '3', '4', 'Default'];
final String assetFile = "assets/myasset.flr";
class MyClass {

}

This is because it parses the List and final String as local variable definitions rather than top_level definitions. And since top level definitions must happen before statements, the class is unable to be parsed.
According to the spec (I'm looking at the informal spec page 188):
topLevelDeclaration ::= classDeclaration
| mixinDeclaration
| enumType
| typeAlias
| external? functionSignature ‘;’
| external? getterSignature ‘;’
| external? setterSignature ‘;’
| functionSignature functionBody
| getterSignature functionBody
| setterSignature functionBody
| (final | const) type? staticFinalDeclarationList ‘;’
| late final type? initializedIdentifierList ‘;’
| late? varOrType initializedIdentifierList ‘;’

Currently we don't support the last entry (that is global mutable variables). Ignoring late right now of course.
There are a few different solutions as I see it.

Remove the ability to have statements in the top level program.

Pro: Removes a ton of issues / conflicts
Pro: Closest to actual language spec, and real parsed files
Con: Bloats the tests, because we have to wrap all statements in a void main(){}

Make it so that it doesn't matter whether statements come before or after top_level_definitions (eg. move statement as last entry in top_level_definition and remove it from program).

Pro: Less bloating in the tests from void main(){}
Con: Allows invalid code, however this is already allowed somewhat.

Try to resolve all of the conflicts we run into by figuring out proper precedence numbers for all the rules

Pro: Keeps things the way they are currently organized
Con: We have a lot of conflicts, and are sure to run into more, and it is hard & takes a lot of time to determine proper precedence

What are your opinions?
@UserNobody14

Another option would be to combine the definitions of local_variable_declaration, and the top level variable declarations. You don't capture as much about the restrictions in the global scope, but I'm not sure there are that many restrictions anyways. And it's pretty much impossible to distinguish them in the grammar, unless you know whether you are in the global scope.

Fixed this. Turned out to be an issue with using _type_name rather than _type.


Slow Access To Models with Submodels

When you have a model like below:
public class Book extends SugarRecord {
    String name;
    Author author;
    ...
}

When you load a Book the Author is loaded at the same time.  For a simple class like this that's fine but when you have a large database of say 1000 books, SugarORM will then run 1001 queries.  One query to load the initial list of Books and one query for each book to get it's Author.  This is extremely cumbersome.
Is some kind of lazy-loading of submodels in the midst of being implemented or does anyone have a plan for how to do it?

this would be a great feature, could u work on a PR for this please? I will be glad to review

Trying to set my android studio project to use the master version.  I did a git clone into a dir on my PC, then followed the other instructions from the readme.md im master but no luck.  Depending on what I do I get one of the following errors:

Putting the compile project(':sugar') in app.gradle gives the error Gradle DSL method not found: 'isReleaseBuild()'.
If I add the function isReleaseBuild() to app.gradle (always returning false) I then get the
Putting the following main Project's build.gradle (ie not the Module app.gradle but the Project one) gives the error Gradle DSL method not found: 'compile()'.

dependencies {
    compile project(':sugar')
}

For the 1st three above I used /path/to/sugar/library, as in, path to the /library directory in the cloned sugar repo.  Here I just use /path/to/sugar.  It builds (gradle) but com.orm package does not exist and so I cant use sugarORM at all.

any ideas?


[BUG] - Task Time Resets After Comment is Added, Instead of Accumulating

Describe the Bug
When a task is moved to "Done" and a comment is added, the task automatically moves back to "Doing" and then "Blocked." During this process, the task’s time is reset, instead of being cumulative as expected. The user observed that only the credits and tokens accumulate, but the total time does not reflect the full duration of the task.
KaibanJS Team Config
Provide a link to a playground or configuration file to reproduce the issue in your KaibanJS setup, if applicable. For example, see: Example Playground
Steps to Reproduce

Move a task to "Done."
Add a comment to the task.
Observe that the task moves back to "Doing" and then "Blocked."
Check the task time — it gets reset instead of accumulating.

Current vs. Expected Behavior
Current Behavior: When a comment is added to a completed task, the time resets and the task status moves from "Done" to "Doing" and "Blocked."
Expected Behavior: The task time should be cumulative, continuing to accumulate even after a comment is added, without resetting when the task's status changes.
Environment

Framework/Library: Playground
KaibanJS Version: 0.3.0
JavaScript Runtime: Chrome

@dannleft Do you mind checking this out? See if we can find more examples of this behavior/bug?

@darielnoel I'm going to look at it. I'll let you know if I see anything.


API Endpoint

Is your feature request related to a problem? Please describe.
Request for API Endpoint for calling this as a local search provider.
Describe the solution you'd like
I'm looking for a curl based possibly endpoint off the existing search, an example would be with an json output such as
{
"status": "complete",
"results": [
{
"body": "Raw output",
"sources": "Comma separated sources with numbers"
}
],
"sources": [
{
"source": "1",
"url": "URLHere"
}
]
}
Describe alternatives you've considered
I don't know if the sources need to be broken down in detail in a separate list, was an initial thought however.
I think any open standard the data can be retrieved would be useful, but I do believe a status response is needed, as well as the text and sources, even if individual sources are not provided in the raw text.

This would be a nice addition.

+1  great for integration into ai agent apps

Hi everyone, I am looking into this right now. Lets see what can be done over here.

Hi everyone, I am looking into this right now. Lets see what can be done over here.

Hey @ItzCrazyKns excellent work with Perplexica
I can see that you have closed this issue, if this task is completed , can you guide on how to use perplexica over APIs , looking for example

Hi everyone, I am looking into this right now. Lets see what can be done over here.

Hey @ItzCrazyKns excellent work with Perplexica
I can see that you have closed this issue, if this task is completed , can you guide on how to use perplexica over APIs , looking for example

The issue is still open.

Thanks @ItzCrazyKns
Tracking this , happy to be a tester once this arrives

its important

hope this could be done ASAP.

I recently tried Perplexica and was impressed with its web research capabilities. However, API access is essential for us to integrate this in our automated workflows. We would greatly appreciate having this as soon as possible.
Also, I'm assuming that the current design uses some backend API to fetch search results, even if it's not publicly documented. Is there a way to directly access this API, even if it's not well formatted? Thanks

Hello,
I tried this tool 2 days ago, and was hoping to find any API for it, and I didn't, so I created a selenium automation that automates the process of sending queries and getting responses back to validate my Excel sheet list :D thank you for this amazing tool and I really hope there will be API available soon :D

Oh my god, people are finding their own way. I'll try to release the API before the discover feature.

@ItzCrazyKns it would be also quite helpful, and I understand there is a lot on your plate right now, to have the API calls have multiple-threads rather than having a single one occupied all the time since a single call does take several seconds at least.

Yes, ofcourse

Also waiting for the API release!
In the meantime, I am using a simple Python script to call the search API(WS) as python function.
For anyone looking for a API or a way to integrate with other tools before the official release, I think this script could be a good start.
https://gist.github.com/jacepark12/1886f6e95d9051f198992323758defa1

Oh my god, people are finding their own way. I'll try to release the API before the discover feature.

Is it possible to receive citations back with search results with the API?

We need the endpoint like how Perplexity provides oai compatible endpoint.

Is this a complex thing to tackle? I've made an AI assistant that uses perplexity api and would love to be able to leverage this in our stack instead. Great idea! Kudos!

+1

Would love to have this officially support. Trying to implement this into my toolset as we speak :)

+1

+1

+1
my recommendation would be to match the Perplexity API, which is really just one endpoint that starts as a subset of the OpenAI ChatCompletions endpoint - that would make it a drop-in replacement for tons of software out there with no coding required.
The minimum subset of the API would be:

POST to an endpoint including "messages": [ {"role": "system/user/assistant", "content":"text or jsonstring"}]
receive a response including "choices": [{"message": {"role":assistant, "content": "text or jsonstring"}] or "error": "some string"

https://docs.perplexity.ai/api-reference/chat-completions

Waiting patiently for the api. Good work on the project though.

The API has been released quite a while a ago: https://github.com/ItzCrazyKns/Perplexica?tab=readme-ov-file#using-perplexicas-api


mobilenet_v1 tensorflow to caffe: Empty result files

Platform (like ubuntu 16.04/win10):
Win 10
Python version:
Python 3.5.4
Source framework with version (like Tensorflow 1.4.1 with GPU):
TF 1.8.0 with GPU
Destination framework with version (like CNTK 2.3 with GPU):
2.5.1
Pre-trained model path (webpath or webdisk path):
model.ckpt.meta: https://ufile.io/vssw2
model.ckpt.index: https://ufile.io/2q0ge
model.ckpt.data-00000-of-00001: https://ufile.io/97p1v
model.ckpt is a mobilenet_v1 model build and pre-trained by the tensorflow object detection api.
Running scripts:
mmconvert -sf tensorflow -in model.ckpt-24724.meta -iw model.ckpt-24724 -df caffe -om mobilenet_v1_caffe --inputShape 3 224 224 --dstNodeName Squeeze
When I run the script from cmd
mmconvert -sf tensorflow -in model.ckpt-24724.meta -iw model.ckpt-24724 -df caffe -om mobilenet_v1_caffe --inputShape 3 224 224 --dstNodeName Squeeze
I get the following output:

Parse file [model.ckpt-24724.meta] with binary format successfully.
Tensorflow model file [model.ckpt-24724.meta] loaded successfully.
Tensorflow checkpoint file [model.ckpt-24724] loaded successfully. [587] variables loaded.
Tensorflow has not supported operator [Iterator] with name [Iterator].
Tensorflow has not supported operator [NoOp] with name [IteratorGetNext:8].
Tensorflow has not supported operator [IteratorGetNext] with name [IteratorGetNext].
Tensorflow has not supported operator [ExpandDims] with name [ExpandDims].
Tensorflow has not supported operator [Cast] with name [ToFloat].
IR network structure is saved as [9b2b46ad93cb4c0bbc1b54a49bad2815.json].
IR network structure is saved as [9b2b46ad93cb4c0bbc1b54a49bad2815.pb].
IR weights are saved as [9b2b46ad93cb4c0bbc1b54a49bad2815.npy].
Parse file [9b2b46ad93cb4c0bbc1b54a49bad2815.pb] with binary format successfully.
Warning: Graph Construct a self-loop node ToFloat. Ignored.
Target network code snippet is saved as [9b2b46ad93cb4c0bbc1b54a49bad2815.py].
Target weights are saved as [9b2b46ad93cb4c0bbc1b54a49bad2815.npy].
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0601 14:13:37.378664 11640 net.cpp:51] Initializing net from parameters:
state {
phase: TRAIN
level: 0
}
I0601 14:13:37.378664 11640 net.cpp:255] Network initialization done.
W0601 14:13:37.379667 11640 _caffe.cpp:175] DEPRECATION WARNING - deprecated use of Python interface
W0601 14:13:37.379667 11640 _caffe.cpp:176] Use this instead (with the named "weights" parameter):
W0601 14:13:37.379667 11640 _caffe.cpp:178] Net('mobilenet_v1_caffe.prototxt', 1, weights='mobilenet_v1_caffe.caffemodel')
I0601 14:13:37.380669 11640 net.cpp:51] Initializing net from parameters:
state {
phase: TEST
level: 0
}
I0601 14:13:37.380669 11640 net.cpp:255] Network initialization done.
Caffe model files are saved as [mobilenet_v1_caffe.prototxt] and [mobilenet_v1_caffe.caffemodel],
generated by [9b2b46ad93cb4c0bbc1b54a49bad2815.py] and [9b2b46ad93cb4c0bbc1b54a49bad2815.npy].

unfortunatly the resulting files
mobilenet_v1_caffe.caffemodel and mobilenet_v1_caffe.prototxt
are empty (or more detailed: they have 2 lines which are empty)

Hi @svebert , MMdnn can only convert the architecture of a network, so the destination node can't be 'Squeeze', it contains the box predictor part which has not been supported now. We support to extract subgraph in tensorflow parser now. You can try te following script:
python -m mmdnn.conversion._script.convert -sf tensorflow -in ./issue/model.ckpt.meta -iw ./issue/model.ckpt -df caffe --inputShape 224 224 3 --dstNodeName FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/Relu6 --inNodeName Preprocessor/sub  -om mobilenet_v1_caffe

and see if it works? Thanks.


Added GetLatestEntry method

I realize this has conflicts with master, my plan is to publish this version from this branch to unblock mobile team and to avoid pulling in WIP on the master branch.


question about blockingType

When an AGV performs an action sequence on a specific node, [N1, H1,  N2, H2,  N3], (H means HARD, S means SOFT, N means NONE) the execution is as follows:

stop AGV and perform H1
After completing H1, perform H2

My question is, which is correct next step, A or B?
A) Once H2 is completed, continue driving and perform N1 N2, N3 in parallel.
B) Once H2 is completed, perform N1 N2, N3; when all done, continue driving
(According to the definition of blockingType, I guess the answer should be A, AGV can start driving immediately),
(according to the figure 15, the parallel execution list should be empty then continue to handle order; seems B is right)

I think Figure 15 shows something different:

put N1 into parallel execution list
stop driving, execute N1, then execute H1
put N2 into parallel execution list
execute N2, then execute H2
put N3 into parallel execution list
execute N3
continue order handling
Question: Can the vehicle starts driving again during executing N3? I would say: yes. Can you rely on it: no. This depends on the specific vehicle. The action N3 cannot make any assumption whether the vehicle is driving or not. Otherwise the action shall not be executed as non blocking action or (if driving is necessary) as action on an edge.