Stickler --fix ?

Eslint provides a --fix option which is a relief to the laborious hunting of trivial errors.I might be wrong, but I think stickler currently doesn't support it.
Can we have an option stickler --fix?

Ya autoformatting does take care of the majority of lints, but there are certain rules like use var, use const, have a look at rules having 🔧 at https://eslint.org/docs/rules/ .

I don't think we should auto --fix those rules, but favor manual changes.

Hm, I guess use var is one case where you could try to mass-change everything — but not sure that one rule is worth building in support for --fix. Maybe something we can consider down the line.


Use Java launcher script. Fixes #198.

Can one of the admins verify this patch?

@johnynek @sdtwigg It is done. Please take a look.

LGTM

@chaoren the Travis build is broken. Skimmed over the log from my phone and it seems like the setup of scala library is not right.

First discrepancy that comes up is that the regular java rules will put double quotes around the CLASSPATH. I changed it to:
raw_classpath = [what you have now for classpath]
classpath = ""%s"" % raw_classpath
However, it still seems to have issues.
What is odd is that locally all the tests pass but the same tut rules return odd and different errors involving the SymbolTable:
Exception in thread "main" java.lang.NullPointerException
at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:256)
at scala.tools.nsc.interpreter.IMain$Request.x$20$lzycompute(IMain.scala:903)

I just noticed that the java_stub_template is using exec. This will replace the shell with java. Thus, the trap being setup to restore stty will also be blown away.

@ittaiz Thanks for the heads up, I'll look into it.
@sdtwigg Fixed. Used a wrapper forJAVABIN like we discussed.

test this please

The failure looks like we exposed a tut bug: https://github.com/tpolecat/tut/issues/85
I don't know if I want to invest any more time fixing this.

The tut rule is really simple:
https://github.com/bazelbuild/rules_scala/blob/master/tut_rule/tut.bzl#L17
My fear is that actually this script has changed the classpath seen by targets and so perhaps the scala-compiler is no longer on the classpath? I'd like to get tut working at a minimum.
It may be that tut should have had an explicit dependency on the compiler and this exposes a real issue, or it may be that the script will break others as well and our tests are weak and only doing very naive compilations/runs.

I was getting the same failures when I just changed the original script from export CLASSPATH={classpath} to -classpath {classpath}.
Very unclear on the why though. I'm tempted to submit a PR with JUST that change to see if travis and CI fail with the same error as well.

My fear is that actually this script has changed the classpath seen by targets and so perhaps the scala-compiler is no longer on the classpath? I'd like to get tut working at a minimum.

If that were the case, other scala rules shouldn't compile either.

@chaoren tut needs the compiler at runtime, generally scala builds don't need that (only at compile time).

well, we are depending on the compiler: https://github.com/bazelbuild/rules_scala/blob/master/src/scala/io/bazel/rules_scala/tut_support/BUILD#L8
but maybe we need scala-reflect at runtime?

@johnynek This is the classpath the tut compiler (//test/tut/some_example_compiler) is running with:
${TEST_SRCDIR}/io_bazel_rules_scala/../scala/lib/scala-library.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/../scala/lib/scala-reflect.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/test/tut/test_dep.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/../scala/lib/scala-compiler.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/../io_bazel_rules_scala_org_tpolecat_tut_core/jar/tut-core_2.11-0.4.8.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/src/java/io/bazel/rulesscala/io_utils/libio_utils.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/src/scala/io/bazel/rules_scala/tut_support/tut_compiler_lib.jar:
${TEST_SRCDIR}/io_bazel_rules_scala/test/tut/some_example_compiler.jar

It does include reflect and the compiler.

I pushed a PR at #203 that only changes from export CLASSPATH to -classpath (which, theoretically, is a more thoroughly tested path since that is what the native java rules are doing).
At least locally, I was seeing some divergences in behavior with tut and was curious if anyone else had insight.

I wonder if just bumping the tut version to something more recent will fix things?

Also @sdtwigg discovered that the issue only happens when the classpath is passed with the -classpath argument instead of using the CLASSPATH environment variable. The people on the tut bug (https://github.com/tpolecat/tut/issues/85) discovered that forking triggers the issue as well. I'm inclined to think that the issue might be improper propagation of classpath.

I tried the latest version: 0.5.2. Doesn't work either.

I wonder if the issue is that setting CLASSPATH means it is set when
tut calls the compiler, but when we do -classpath tut has no way of
reading it back and somehow it's invocations of scalac don't have the
classpath? Totally stabbing in the dark here.
On Tue, May 23, 2017 at 10:54 AM Chaoren Lin<EMAIL_ADDRESS>wrote:

I tried the latest version: 0.5.2. Doesn't work either.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/202#issuecomment-303529062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJdg_4yZ1gGwqm3Apf5rrBS1ZIRRsHks5r80d9gaJpZM4Ni2td
.

https://gitter.im/tpolecat/tut?at=5924a22cfcbbe1891c3a4450
where I asked a question.

That would make sense:
Is tut calling the compiler by instantiating a compiler object in the same JVM and running it? If so, then it shouldn't matter.
If tut calling the compiler by making a subprocess? If so, then can definitely see how they might forget to propagate the classpath correctly and we were just getting lucky before due to env parenting.

Alright, I added a hack to bypass the bug. This should pass now.

test this please
(dearest cibot).

ERROR: /home/travis/build/bazelbuild/rules_scala/tut_rule/tut.bzl:15:3: no such package '@io_bazel_rules_scala_org_tpolecat_tut_core//jar': Failed to fetch Maven dependency: Could not transfer artifact org.tpolecat:tut-core_2.11:jar:0.4.8 from/to io_bazel_rules_scala_org_tpolecat_tut_core (https://dl.bintray.com/tpolecat/maven/): NullPointerException and referenced by '//external:io_bazel_rules_scala/dependency/tut/tut_core'.
ERROR: Analysis of target '//test/tut:some_example__tut' failed; build aborted.
:rage:

@johnynek it looks like you need to add scala-reflect to the -classpath argument you pass to TutMain.  I'll try to fix this for tut 0.5.3
tut-test$ tree
.
└── in
    └── test.md

1 directory, 1 file

tut-test$ coursier launch -r "https://dl.bintray.com/tpolecat/maven/" org.tpolecat:tut-core_2.11:0.5.2 -- in out '.*\.md$'
[tut] compiling: in/test.md
Exception in thread "main" java.lang.NullPointerException
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:256)
	at scala.tools.nsc.interpreter.IMain$Request.x$20$lzycompute(IMain.scala:896)
        ...

tut-test$ coursier launch -r "https://dl.bintray.com/tpolecat/maven/" org.tpolecat:tut-core_2.11:0.5.2 -- in out '.*\.md$' -classpath $(coursier fetch -p org.scala-lang:scala-reflect:2.11.8)
[tut] compiling: in/test.md

tut-test$ cat out/test.md
```scala
scala> 1 + 1
res0: Int = 2
```

@tpolecat That is not the problem. See this comment for the classpath given to the tut compiler. It does include scala-reflect. See this hack that we're using to bypass the issue. It just puts everything passed through the -classpath argument into the CLASSPATH environment variable.

@chaoren I think he is saying that TutMain also has a -classpath argument. Is that right @tpolecat?

TutMain also has a -classpath argument.

Do you mean this thing takes a classpath argument? That doesn't make any sense. The JVM already has the classpath.

@chaoren I'm guessing but it isn't that weird. Tut should have two
classpaths: the one it needs and the one the code it is compiling needs.
On Wed, May 24, 2017 at 06:53 Chaoren Lin<EMAIL_ADDRESS>wrote:

TutMain also has a -classpath argument.
Do you mean this thing
https://github.com/tpolecat/tut/blob/master/core/src/main/scala/tut/TutMain.scala#L8
takes a classpath argument? That doesn't make any sense. The JVM already
has the classpath.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/202#issuecomment-303785009,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJdgkeI8yqcDZ2MVgSMxddkIAzfiRtks5r9GBvgaJpZM4Ni2td
.

The arguments to TutMain are
<input-path> <output-dir> <pattern> [<scalac-arg> ...]
where any provided args are used to construct the Settings used to construct the IMain that interprets your code blocks. The REPL has its own classloader and its own Scala runtime settings, independent of the caller's, which makes sense. You're running an embedded environment.
Application/library classes on the caller's classloader are available by delegation, so it is not necessary to pass the classpath again if you're running in-process, as when called from sbt. But if you're running out of process it makes more sense to pass the classpath as an argument to TutMain. For some reason the scala-reflect library seems to be twitchy about how it's specified. I don't know why. This is what I need to investigate. But I think you can solve your problem by passing everything as an argument.

Cool fixed.

test this please
(kind ci-bot).
Also thanks @tpolecat for looking into a solution for us, and thanks @chaoren for pushing this all the way through.
Let's merge when green.

test this please (does it work when I say it?)

test this please

Thanks again all!


Changed case of single word ('very') from uppercase to lowercase in R…

…EADME.md

Can one of the admins verify this patch with one of the following commands:

"jenkins test please" for a one time test run
"ok to test" to accept latest and future commits on this pull request for testing
"add to whitelist" to add the author to the whitelist


Investigate monitoring tools

Investigate monitoring tools to be able to setup an initial MVP version for OSS monitoring dashboard.

Pre-requisite to this issue is to define the purpose statement. #41


How to Generate large-scale (global level) routerdb

@xivk Hello sir,I am new to this topic , even to this foreign platform.. I have some questions and I will really appreciate the forgiveness if there is any word nonstandard in my description..
In 2016 I saw you uploaded a planet-wide routerdb file only for car routing with no contracted graph. I've downloaded it and it works. But when I want to generate a planet-wide routerdb file by myself I failed for out of running memory on my computer (16G) or even on the server of our laboratory.  So i wonder how you compress this planet-wide routerdb file to 10G(planet.osm.pbf is already more than 50G)  or how to successfully generate large-scale routerdb file without stucking.. Thank you!

You would probably have to keep the stream open and not use memory mapping e.g. RouterDb.NoCache I believe.
You can also use osmium to strip out various pieces you don't need and then load a RouterDb for each that you do.
E.g. I break down Rail and Highway into separate files using that tool.
If you need an example of a command to drop everything but rail see:
https://nielswarburton.net/2019/03/18/traveling-by-train/
It can also be adapted to drop highway or other parts you don't need for each router instance and then depending on the type of transport your requiring you then load up that specific routerDb instance.
Hopefully that helps!


Implement GraphQL as API v2

[x] Setup basically
[x] News/List
[ ] Admin with tokens
[ ] Migrate rugby dict API
[ ] Ready for React

Since there is not many objects in rugby-board, I prefer use restful api instead.


Cook County information assistance

Provided a number of Comment markups to the Google Sheet to provide notes or additional info (under Cook County Webmaster).
If there are additional items that we can assist with in providing feeds/api or other sources directly, happy to help save some scraping time. There are some items that we have in development or consideration already.
Please feel free to let us know.
You can also email us at<EMAIL_ADDRESS>Thanks and hope we can assist in moving some of this info forward for you.

Thanks for the help and suggestions, Kathy. We'll definitely be in touch as the project progresses, and place feel free to weigh in any time.

@KathyLynch this is awesome. We'd love to see you at the Design-A-Thon if you or a colleague to swing by.

@KathyLynch Is there any further info available re: when the Cook County RSS feed might be up and running?

The cook_county spider works for now, closing this issue.


I am still having trouble. I went to env settings and created a PATH to rendermanproserver20 and still a trace back error.

The guys at my company are really having trouble.
http://imgur.com/YfRTjTv

You don't by any chance have a 32 bit version of blender installed do you?

I haven't checked in this guy's computer. I will. Does 32 bit not work? What makes you think there's 32 bit blender on the computer.

Actually I take that back.  It looks like from the error you copied the prman.py from the RenderMan Pro Server/bin directory to the addon directory.  Don't do that.

Actually I downloaded the zip file, extracted all of it. And placed it in the blender addons folder. I own Renderman for Maya in PRman 19. I wanted PRman for blender to keep my teams workflow as short as possible. So I deleted everything related to Renderman, and redownloaded it. And that's when I got the error.

I'm just not sure what to do, since I really am a fan of PRman and it's Ptex integration.I don't wanna keep bugging you guys ya know?

Addon doesn't work with PRMan 19, I think.

PonchoVillegas,
I think that MarshallRoss has the solution (it looks like the typical error
message for not finding the prman 20 python module). Also keep bringing any
problems you have. The way this add-on gets better is if the users find
flaws in it and report them.
MWY3510
On Thu, Jul 23, 2015 at 3:20 AM, MarshallRoss<EMAIL_ADDRESS>wrote:

Addon doesn't work with PRMan 19, I think.
—
Reply to this email directly or view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/51#issuecomment-124003437
.

But I'm not using PRman 19. I deleted everything Renderman related then redownloaded Renderman 20.
That's when I got this error.

Can I see what you have for the RMANTREE variable? Also do you have anything in the PYTHONPATH variable?

Sorry, you have still have it configured wrong.  In the Renderman/bin folder there is a file called prman.py.  You moved this to your addon folder.  You can see that from the error in the lines I underlined.  Please delete your addons folder.  And remove your RMANTREE and PYTHONPATH variable.  Then reinstall the addon.  Start from scratch.

To be more clear.  There is not normally a prman.py file in the addons folder.

You also have to set the system PATH variable to include the path to the
bin folder of PRMan.
Like so...
"...;C:\Program Files\Pixar\RenderManProServer-20.1\bin;..."
On Thu, Jul 23, 2015 at 11:46 AM, bsavery<EMAIL_ADDRESS>wrote:

Sorry, you have still have it configured wrong. In the Renderman/bin
folder there is a file called prman.py. You moved this to your addon
folder. You can see that from the error in the lines I underlined. Please
delete your addons folder. And remove your RMANTREE and PYTHONPATH
variable. Then reinstall the addon. Start from scratch.
[image: yfrtjtv]
https://cloud.githubusercontent.com/assets/1892220/8854886/2737f982-3117-11e5-921a-2624ded9b668.jpg
—
Reply to this email directly or view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/51#issuecomment-124147480
.

I created a variable called PATH and set it to C:\Program Files\Pixar\RenderManProServer-20.0\

Right now I am redownloading blender. I deleted everything to start from scratch. I kept renderman 20 though.

Editing the path variable to include bin. Let's see how this goes.

Poncho.  I'd really like to help you here.  But I think we're just confusing you a bit.  Please take a second to stop and read the installation instructions before continuing:
https://github.com/bsavery/PRMan-for-Blender/blob/master/installation.txt
The main thing to read and understand here is that you DO NOT have to set any environment variables by default if you just install the RenderMan software.  "If you are installing PRMan to the standard location you shouldn't have to do anything!"
However before you had your RMANTREE environment variable set to RenderMan 19.0 location which did not work because you need a 20.0 or later version of RenderMan.  That is why we suggested you change that.  To make it more simple for people in your situation I've fixed the latest version of the plugin to skip loading 19.0 and go to 20.0.  Additionally I think on windows that installing RenderMan 20.0 will set your RMANTREE variable correctly to 20.0.  You just need to reboot for it to take effect.
Please let me know if any of this isn't clear.

Ok. I had deleted the addons folder and started from scratch. That didn't wprk and I got this error:

So I repaired blender and tried again and got this:

PonchoVillegas,
It still looks like there is a problem with having prman.py in the addons folder. If you can go to C:\Users\Admin\AppData\Roming\Blender Foundation\Blender\2.25\scripts\
Then delete the addons folder you find there.
Hope this helps,
MWY3510

Well I'll be damned! It works. Thanks for the help comrades. Sorry you had to put up with my lack of knowledge of programming. Anyways, thanks for the help. I'm marking this closed.


Links not working properly

This link at help/create-a-stream.md does not lead to anywhere. Is this deliberate or an error?

This link at help/create-a-stream.md does not lead to anywhere. Is this deliberate or an error?

Hm, what happens when you click on it?
The link from https://zulip.com/help/create-a-stream correctly goes to https://zulip.com/help/create-streams.

I'm getting this. Actually I'm accessing this from within the .md file rather than the website. Does it affect the accessibility of certain links?

Yes, you can't expect links from the Markdown source code for our Help Center on GitHub to work; read the Help Center on zulip.com/help/.

Ohh okay. Thank you.


Add Sneha-Watharkar to Contributors list

Awesome!
Best way for beginners to start!
Thanks a lot!

Hi  @Sneha-Watharkar, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Max length of items in a column

Hi @chrisbra. Thanks for a great plugin!
Can you please add the ability to calculate the max length of items in a column?
For example, if you have the following values in a column:
mike
joseph
roger
The max length would be 6 (joseph)

You mean like for :AnalyzeColumn?

I'm afraid not. While that command provides very useful information, what I'm looking for is the maximum length of the values in the column. How about adding a Length column to the output of the CSVAnalyze command?
Thanks!
  From: Christian Brabandt<EMAIL_ADDRESS>
To: chrisbra/csv.vim<EMAIL_ADDRESS>Cc: Michael Wolfe<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Wednesday, May 10, 2017 2:24 PM
Subject: Re: [chrisbra/csv.vim] Max length of items in a column (#109)
You mean like for :AnalyzeColumn?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks @chrisbra !


fix dapp crash from undefined

The dapp is crashing becuase of an undefined error.
I needed to replace
const allowance = parseFloat(
        allowances.coinNeedingApproval.allowanceCheckKey
      )

with
const allowance = parseFloat(
        get(allowances, 'coinNeedingApproval[allowanceCheckKey]')
      )

not sure why Github posted my comment twice... sorry :D

Was this tested I think it shouldn't work

it stopped crashing on the preview but maybe worth it for @HrikB to review it


Update packages' recipes to their latest versions from litex-conda-packages

This appears to be failing on travis.

This appears to be failing on travis.

libftdi was failing and the next stage didn't even started because of it. I didn't notice it has been disabled in litex-conda-packages from building on Linux for a few months now. Such changes fix the problem with conflicts on Linux: https://github.com/litex-hub/litex-conda-prog/pull/1/commits/c1e3332f8a8cceaeb2e325975ce5719ea8b22a7f .
I tested the same recipe changes also on Windows and macOS and the package still builds successfully there.

Trying to fix the problem I tested using newer libftdi source files (v1.4 vs v1.3 used now) and it didn't solve the problem but libftdi v1.4 can be build successfully after applying changes from https://github.com/litex-hub/litex-conda-prog/commit/c1e3332f8a8cceaeb2e325975ce5719ea8b22a7f. Would you like me to add an additional commit updating libftdi to v1.4?


[App]: apparent limit on number of viewable images in workspace viewer, but not in single run viewers

Current Behavior
I log a lot of images for each training run. When I try to visualize them in the workspace web interface viewer, the ones that make it on the first few pages (the first 36 image metrics per group) show up just fine. However, when I filter to find metrics that are not on the first page, they show up as an empty scatter plot with each datapoint listed as "images/separated".
If I click a single run, and try to view the same metrics, they show up just fine.
This seems to be something about bandwidth. Is it possible there is a maximum number of image metrics to be stored per group in the workspace viewer? If so could this maximum be increased?
Expected Behavior
All plotted image should be viewable in the multi-run editor
Steps To Reproduce

Track > 50 (or 100) image metrics for a single grouping in wandb
Go to the workspace
Try to view all the images, probably only 36 will show up in the workspace editor
Click the run
Try to view all the images, probably all will show up

Screenshots
Viewed correctly (metrics 1-36)

Viewed incorrectly (metrics 37->)

Environment
OS: Windows (to view), Linux (to run)
Browsers: Chrome
Version: 108.0.5359.125
Additional Context
No response

Hi @nblauch, thank you for reporting this! Could you send me a link to the Workspace where this is happening? Also, in the bottom left corner, could you try to load the default workspace and see if the same issue appears?

Oh, very interesting. Changing to the default workspace solved the issue, thanks! Not sure why though. We can close this if you prefer, I can't yet make the workspace public (but could share privately with you). Though I'm not sure you would see the problem since it seems to depend on whatever is custom about my own workspace.

Update: saving the default workspace to my own, and making edits to it, haven't yet had the problem reemerge. Let's close this and if at some point I find out what causes it to emerge again, I can reopen if needed. Thanks for the help!


add download feature for mod and datapack support

Texts (Itemnames etc.):
Direct implementation in the web files. Maybe also as separate files
Icons:
If we choose the route of external hosting of the icons to get the jar smaller, support for mods will also run through it
Notes:

First see how mod packages and data packs can be integrated into the standalone. Mod and data packs use different ways to identify the items (own_name, ItemNBT, name, name with sub id, etc.)
Since Villager Market is a Bukkit plugin, ModItems will only be usable if Villager Market is integrated into a mod package via Cardboard . We'll just focus on the data packs for now since Cardboard doesn't support version 1.20

Discarded for another solution https://github.com/CptGummiball/MC-Dealer/issues/20


Support Electron environment

Electron app runs on Node.js environment, so isGlobal should be true.  But Electron app has its own binary to execute.  Its process.argv will be ['/path/to/MyApp'], not ['/path/to/node', '/path/to/entrypoint.js'].  So we can't detect Electron app from process.argv[1].
Instead, we can do that with existence of process.versions.electron.  It will not be undefined only in Electron environment.
This change will not break other environment because of just adding above check.
This fix will make remark-lint detect Electron environment as Node.js environment correctly.
Already Checked

Build and linter passed
All test passed
Coverage 100%
Tried in my Electron app

My Environemnt

Node.js 5.9.0
Electron 0.37.2
OS X 10.11.4

Cool!

Oeh, I like GHs new squash support!
I’ll publish this later!

Thank you for such a quick response :smile:


Llvmremove

@pseudotensor looks like llvmlite is required by numba. Looks like we're only using it in one place to push numpy arrays to the GPU, maybe we could remove numba from requirements and substitute it with PyCUDA's to_gpu?

@mdymczyk Hmm, but seems to be issue only for ppc builds.  x86 builds went through fine.  So I guess numba is getting re-compiled for ppc and that needed llvm.
But originally, I deduced that llvm was only added due to pyenv requirements, which we no longer use.
So I wonder if we can avoid llvm requirement for ppc.  Maybe removing numba, but I feel odd that I never added llvm for numbda, only for pyenv.
https://github.com/pyenv/pyenv/wiki/Common-build-problems#requirements

@pseudotensor it looks like on ppc llvm isn't even installed and that's why the Python install of llvmlite fails (it complains about missing LLVM_CONFIG). So I guess that's why we were downloading it and setting up all the env variables (to install it).
On the other hand llvm is required by numba https://github.com/numba/numba/blob/master/requirements.txt#L2 which we have in requirements but only use it here (and in one notebook).
So maybe we can remove numba and use the pycuda stuff I linked in my previous comment.

Ya, I understand your idea.  Maybe can do, although maybe can keep it for now.  @hemenkapadia modified the conda install to work and included llvm updates (that's why I started poking around since I didn't understand if that was necessary).

PR671 includes versions of llvmlite, numba and LLVM that compile for both ppc64le wheel and conda, and the LLVM is the same that is used for dai (i think datatable). If we think there is no issue to upgrade LLVM then we can go with whatever is done in PR 671 post your review.
This will atleast help us start release conda package for h2o4gpu to meet the request of citi. Then we can review and trim down unnecessary stuff if needed.
What do you think @pseudotensor  and @mdymczyk

I think it's ok if you merge your stuff @hemenkapadia , ignore my concern about llvm.  Just make sure it's green :)


Specify default values where applicable

IMHO it's better to have default values specified in default keyword, as it's supported by JSON Schema, because it's machine readable, not just some side note in the description. I've left them in descriptions for information purposes, it might be handful for the user to see it too.

Cool, thanks, merging in!


Update compute_pricing.py

Issue #, if available: https://github.com/aws-samples/amazon-omics-tutorials/issues/46
Description of changes: If name is not in run or task keys, set to empty string.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Would setting these explicitly to None work as well?


[CI/Build]Reduce the time consumption for LoRA tests

The current CI LoRA tests is quite time-consuming, which hampers the development of LoRA-related features. Based on testing on my local single 3090, the three most time-consuming tests are:

case
time

test_punica_variation.py
33minutes

test_layer_variation.py
23minutes

test_punica_sizes.py
10minutes

Therefore, I make the following modifications:

For test_punica_variation and test_punica_sizes, I  reduce the number of test items as much as possible without impacting the test scope.
I delete test_layer_variation directly, there are two main reasons:

Various layers and ranks are tested across different model-related tests, making this script somewhat redundant.
In this script, PEFT initializes LoRA weights by setting lora_b weights to zero, this may prevent it from achieving its intended test effects.

Additionally, I clean up some redundant code.
ping @Yard1  @simon-mo

/ready

https://buildkite.com/vllm/ci-aws/builds/6547#_ can be used as a comparison

@simon-mo  Could you please merge this PR?


Page returns 500 when using react-async and/or react-graphql

Overview
Marketing team has started seeing this error on Bugsnag very frequently on marketing-related routes:
Element type is invalid: expected a string (for built-in components)
or a class/function (for composite components) but got: object.

I couldn't reproduce this error neither locally running with production assets nor on prod but @darrenhebner was able to reproduce it on his prod store:

At this point JS bundles for marketing were prefetched but the GraphQL query wasn't fired.
Darren has also captured profile of the error: #130 error.zip
Because it was hard to debug this on production, my assumption that this is happening in react-graphql because we started seeing error spikes around the same time when I shipped prefetching for Marketing route (May 9th):

Darren thinks it could be happening in react-async package somewhere in https://github.com/Shopify/quilt/blob/9aa1fe9a694019559073ec876a734853599e586b/packages/react-async/src/utilities.ts#L13-L70
Consuming repo
web on admin/marketing and /admin/discounts/automatic/
cc: @lemonmade @michelleyschen

In order to reproduce it I did the following:

Refresh Home
Quickly navigate to Marketing

I saw this error maybe 1 in 10 times.
The stack trace did seem to point in to the async utilities file that Anna mentioned. But I really don't have a clue what causes the error.

Took a look at this. I could reproduce it, although very infrequently (probably closer to 1 in 20 for me). Just given that, I assumed it was a timing issue. When I took a look under the hood, I found that the error happened while trying to async load the MarketingIndex component (via import('./MarketingIndex')). The import works fine, but the thing that gets imported is just a Module object from Webpack with no exports of any kind (including no default export, which is what is there in the success cases).
I couldn't really figure it out more than that. I suspect that the issue is that there is some script that the page you are navigating from brings in, that downloads after page load, and then that the async import for MarketingIndex resolves before that dependency, so you get into a situation similar to some types of cyclical imports where nothing ends up being available (cc/ @GoodForOneFare in case you have smarter ideas of what might be going wrong in Webpack land).
My proposal for this is to just turn the import into a retryable import. This is something I've felt probably makes sense anyways, given that things like random network flakiness can cause scripts to fail flat out already. You'd change your async component creation to look something like:
const MarketingIndex = createAsyncComponent({
  load: retryableImport(() =>
    import(/* webpackChunkName: 'marketingIndex' */ './MarketingIndex'),
  ),
  renderLoading: () => <SkeletonMarketingIndex />,
  renderPrefetch: () => (
    <>
      <MarketingIndexQuery.Prefetch variables={DEFAULT_QUERY_VARIABLES} />
      <MarketingRecommendationsQuery.Prefetch
        variables={{
          campaignId: null,
        }}
      />
    </>
  ),
});

Where retryableImport is something like:
function retryableImport<T>(importer: () => Promise<T>): (() => Promise<T>) {
  let retryCount = 0;

  const load = async (): Promise<T> => {
    const imported = await importer();
    const normalized =
      imported &&
      ('default' in imported ? (imported as any).default : imported);

    if (normalized == null || normalized[Symbol.toStringTag] === 'Module') {
      return retry();
    }

    return normalized;
  };

  const retry = (previousError?: Error) => {
    retryCount += 1;

    if (retryCount > MAX_RETRIES) {
      throw previousError || new Error('Failed to load module');
    }

    return new Promise<T>((resolve) =>
      setTimeout(async () => {
        try {
          const result = await load();
          resolve(result);
        } catch (error) {
          resolve(retry(error));
        }
      }, retryCount ** 2 * 50),
    );
  };

  return load;
}

I did not verify that this works locally, and I think to truly know if it helps we'd need to roll it to production.
I am away until Tuesday, if you want to investigate this approach feel free to do so 👍


Add icons for cjs, cts and mts

Add icons for .mjs, .cts, .mts.

TODO

[x] Use cargo fmt
[x] Add necessary tests
[x] Add changelog entry

Thanks as always to all contributors and maintainers!

Codecov Report

Merging #829 (9fa2066) into master (c267a04) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #829   +/-   ##
=======================================
  Coverage   87.38%   87.38%
=======================================
  Files          45       45
  Lines        4280     4280
=======================================
  Hits         3740     3740
  Misses        540      540

Impacted Files
Coverage Δ

src/theme/icon.rs
100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bypass wandb check

Hello,
I need to run the supervised training as a batch job, and as such I will not be able to interact with the script at all once it is running. Is there a way to bypass the wandb check? ie this prompt:
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice:

Thank you!

Hi @jeffreyzhang92,
If you provide wandb token as an environment variable, then this check will not be used. If you don't want to use wandb at all, then you should uninstall it from your environment. That will also bypass this check.
Let me know if you have any further questions.

Closing as it is stale. Feel free to re-open if you have any more questions.


What kind of detector would you recommend for trocr?

The TrOCR models do recognition. Thus, in order to apply it to arbitrary images, one needs a boundingbox detector.
Which one would you recommend?
I am currently using the one from paddleocr.
Cheers,
Chris

+1

Hi, @wendlerc and @Mohammed20201991. Any recommendations for a text detector (for handwritten texts on images) to combine with TrOCR? Your insights would help immensely.

In this repo here: https://github.com/LAION-AI/OCR-ensemble  we mainly used the one from paddleocr. We also started looking into https://github.com/open-mmlab/mmocr that seems to have a 'complementary' text detector. Complementary in the sense that it has quite different strenghts/weaknesses compared to the paddleocr detector.

Hi @bit-scientist as @wendlerc  mentioned in addition to integrate with other approaches like PyLia & transkribus this might help .

In this repo here: https://github.com/LAION-AI/OCR-ensemble we mainly used the one from paddleocr. We also started looking into https://github.com/open-mmlab/mmocr that seems to have a 'complementary' text detector. Complementary in the sense that it has quite different strenghts/weaknesses compared to the paddleocr detector.

Thank you, @wendlerc. Could you share your handwritten samples for comparison. It turns out some algithms work well only with clean background. Mine, however, has somewhat different background.

Hi @bit-scientist as @wendlerc mentioned in addition to integrate with other approaches like PyLia & transkribus this might help .

Thank you, @Mohammed20201991. I think PyLaia can be of help, but is transkribus available for free? Looks like it isn't free.


Support alias in field

Fixes #186
TODO:

need to update ts lib
test with subquery

This PR has been done from scratch #219


Allow explainers to be pickled

I am using lime version lime==<IP_ADDRESS>, and I am not able to pickle explainers. I think the problem is down to the use of some lambda functions in BaseDiscretizer constructor.
Code snippet that causes the error:
import pickle
from lime import lime_tabular

exp = lime_tabular.LimeTabularExplainer(xtrain.values, feature_names=list(xtrain.columns))
with open("explainer.pickle", "wb") as f:
    pickle.dump(exp, f)

xtrain is a pandas DataFrame.
Error message:
AttributeError: Can't pickle local object 'BaseDiscretizer.__init__.<locals>.<lambda>'

See #195


VOD did not download at end of stream

Describe the bug
VOD did not download.
To Reproduce
Steps to reproduce the behavior:

Set channel to download VOD at end of stream (Note: I did add this channel while this stream was already live. Then I restarted the container.)
VOD does not download.

Expected behavior
VOD should download.
Screenshots

Logs
2024-03-16 00:47:41 | automator.end | info | Stream end
-- | -- | -- | --
2024-03-16 00:47:41 | automator.end | info | Stream offline for arilyna
2024-03-16 00:47:41 | clientBroker.notify | info | (streamOffline) arilyna has gone offline!:
2024-03-16 00:47:41 | clientBroker.notify | warn | No body specified
2024-03-16 00:47:41 | automator.end | warn | Stream offline notification for arilyna but channel is not capturing.
2024-03-16 00:47:41 | route.channels.download | error | Failed to fetch video data: GQL requests are disabled. Check your config.
2024-03-16 00:47:41 | tw.vod.downloadVideo | info | Prepare to download VOD<PHONE_NUMBER>
2024-03-16 00:47:41 | tw.vod.downloadVideo | info | Downloading VOD<PHONE_NUMBER>...
2024-03-16 00:47:42 | helper.execAdvanced | success | Spawned process 88 for download_vod_2092207347
2024-03-16 00:47:42 | job.save | info | Save job download_vod_2092207347 with PID 88 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_2092207347.json
2024-03-16 00:47:42 | helper.execAdvanced | info | Attached to all streams for process 88 for download_vod_2092207347
2024-03-16 00:47:43 | job.clear | info | Clear job download_vod_2092207347 with PID 88
2024-03-16 00:47:43 | job.clear | success | Job download_vod_2092207347 removed from jobs list
2024-03-16 00:47:43 | helper.execAdvanced | error | Process 88 for download_vod_2092207347 exited with code 1
2024-03-16 00:47:43 | automator.getStartDate | error | No start date for arilyna
2024-03-16 00:47:43 | automator.getStartDate | error | No start date for arilyna
2024-03-16 00:47:43 | automator.vodBasenameTemplate | error | Invalid start date:
2024-03-16 00:47:43 | automator.getStartDate | error | No start date for arilyna
2024-03-16 00:47:43 | automator.getVodID | error | No VOD ID for arilyna
2024-03-16 00:47:43 | automator.end | error | Error downloading VOD at end: {year}.{month}.{day}_Arilyna_𝕧𝕚𝕕𝕖𝕠𝕘𝕒𝕞𝕖 𝕞𝕦𝕤𝕚𝕔 🌙 !HelloFresh_[false] (Failed to download vod: Process 88 for download_vod_2092207347 exited with code 1)

Server:

OS or Docker: Docker for Mac 4.28.0

it seems like that video is deleted, are you sure it existed when the stream ended?

Thank you for your quick reply.
Interesting. No, I am not sure that it existed when the stream ended. I'm new to LiveStreamDVR, so I'll see how it goes with a livestream that's currently happening (with a different streamer) and let you know if the problem persists.
That does point out to me the advantage of capturing rather than downloading once the stream is over, though.

It did it again. This time I can see that the broadcast is indeed available. I just noticed the error about not having GQL enabled. The message advises to do it at my own risk, so I didn't enable it. But would that solve my problem?
2024-03-16 22:26:38 | clientBroker.notify | warn | No body specified
-- | -- | -- | --
2024-03-16 22:26:38 | automator.end | warn | Stream offline notification for sashagrey but channel is not capturing.
2024-03-16 22:26:38 | route.channels.download | error | Failed to fetch video data: GQL requests are disabled. Check your config.
2024-03-16 22:26:57 | tw.vod.downloadVideo | info | Prepare to download VOD<PHONE_NUMBER>
2024-03-16 22:26:57 | tw.vod.downloadVideo | info | Downloading VOD<PHONE_NUMBER>...
2024-03-16 22:26:57 | helper.execAdvanced | success | Spawned process 103 for download_vod_2092956221
2024-03-16 22:26:57 | job.save | info | Save job download_vod_2092956221 with PID 103 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_2092956221.json
2024-03-16 22:26:57 | helper.execAdvanced | info | Attached to all streams for process 103 for download_vod_2092956221
2024-03-16 22:26:59 | job.clear | info | Clear job download_vod_2092956221 with PID 103
2024-03-16 22:26:59 | job.clear | success | Job download_vod_2092956221 removed from jobs list
2024-03-16 22:26:59 | helper.execAdvanced | error | Process 103 for download_vod_2092956221 exited with code 1
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.vodBasenameTemplate | error | Invalid start date:
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.getVodID | error | No VOD ID for sashagrey
2024-03-16 22:26:59 | automator.end | error | Error downloading VOD at end: {year}.{month}.{day}_sashagrey_COSPLAY !POBOX UNBOXING !TTS !PATREON_[false] (Failed to download vod: Process 103 for download_vod_2092956221 exited with code 1)

@MrBrax
It did it again. This time I can see that the livestream is indeed available. I just noticed the error about not having GQL enabled. The message advises to do it at my own risk, so I didn't enable it. But would that solve my problem?
2024-03-16 22:26:38 | clientBroker.notify | warn | No body specified
-- | -- | -- | --
2024-03-16 22:26:38 | automator.end | warn | Stream offline notification for sashagrey but channel is not capturing.
2024-03-16 22:26:38 | route.channels.download | error | Failed to fetch video data: GQL requests are disabled. Check your config.
2024-03-16 22:26:57 | tw.vod.downloadVideo | info | Prepare to download VOD<PHONE_NUMBER>
2024-03-16 22:26:57 | tw.vod.downloadVideo | info | Downloading VOD<PHONE_NUMBER>...
2024-03-16 22:26:57 | helper.execAdvanced | success | Spawned process 103 for download_vod_2092956221
2024-03-16 22:26:57 | job.save | info | Save job download_vod_2092956221 with PID 103 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_2092956221.json
2024-03-16 22:26:57 | helper.execAdvanced | info | Attached to all streams for process 103 for download_vod_2092956221
2024-03-16 22:26:59 | job.clear | info | Clear job download_vod_2092956221 with PID 103
2024-03-16 22:26:59 | job.clear | success | Job download_vod_2092956221 removed from jobs list
2024-03-16 22:26:59 | helper.execAdvanced | error | Process 103 for download_vod_2092956221 exited with code 1
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.vodBasenameTemplate | error | Invalid start date:
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.getVodID | error | No VOD ID for sashagrey
2024-03-16 22:26:59 | automator.end | error | Error downloading VOD at end: {year}.{month}.{day}_sashagrey_COSPLAY !POBOX UNBOXING !TTS !PATREON_[false] (Failed to download vod: Process 103 for download_vod_2092956221 exited with code 1)

is it still broken? this could have been streamlink being out of date

I'll have to find some time to test it out. I kind of gave up so I haven't used it. Will report back.


Migrate deprecated cdk methods in createStack

See createStack.ts.  VSCode will show which are deprecated as crossed-out lines.  There's a variety.

I've made the easy migrations in #61.
Transition from apigateway to apigatewayv2 is a bigger migration.  It requires migrating from RestAPI to HttpApi - https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html.  v2 doesn't seem to have feature parity with v1 but that is the goal.  Notably so far:

throttle settings on the API -<EMAIL_ADDRESS> May be able to set it after the fact using the AWS SDK or CLI - https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-throttling.html
lambda integration requestTemplates -<EMAIL_ADDRESS> Maybe this is replaced by something else entirely or not needed.

I'm going to leave this bigger migration as a future exercise when a must-have feature pushes us to see it through.

Here's the list of methods shown as deprecated

apigateway.CfnApiV2
apigateway.CfnIntegrationV2
apigateway.CfnDeploymentV2
apigateway.CfnStageV2

Migrating AWS CDK v1 to v2 - https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html
Migrating to SDK for Javascript v3 - https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html
Getting started with CDK + Typescript - https://docs.aws.amazon.com/cdk/v2/guide/work-with-cdk-typescript.html
Migration tips - https://www.serverlessguru.com/blog/migrating-from-api-gateway-v1-rest-to-api-gateway-v2-http


Unable to connect to MySQL server 8.0.12 from docker image python:3.7-stretch

My Dockerfile:
FROM python:3.7-stretch
COPY code/ /code/
WORKDIR /code
RUN apt-get update
RUN pip install -r requirements.txt
EXPOSE 8000
RUN python manage.py migrate
CMD python manage.py runserver

I been trying to build a docker image based on python:3.7-stretch but getting following error:
Sending build context to Docker daemon 3.784 MB
Step 1/9 : FROM python:3.7-stretch
 ---> cec0ca15a953
Step 2/9 : COPY bayanpay-e-commerce-portal-vaibhav/ /code/
 ---> Using cache
 ---> 58c975670b62
Step 3/9 : WORKDIR /code
 ---> Using cache
 ---> 885e9b2a1918
Step 4/9 : RUN apt-get update
 ---> Using cache
 ---> edf06d6bc6fd
Step 5/9 : RUN pip install -r requirements.txt
 ---> Running in 40fc0a140980

Collecting django==3.0.4
  Downloading Django-3.0.4-py3-none-any.whl (7.5 MB)
Collecting django-environ==0.4.5
  Downloading django_environ-0.4.5-py2.py3-none-any.whl (21 kB)
Collecting bcrypt==3.1.7
  Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB)
Collecting mysqlclient==1.4.6
  Downloading mysqlclient-1.4.6.tar.gz (85 kB)
Collecting psycopg2==2.8.4
  Downloading psycopg2-2.8.4.tar.gz (377 kB)
Collecting pytz
  Downloading pytz-2019.3-py2.py3-none-any.whl (509 kB)
Collecting sqlparse>=0.2.2
  Downloading sqlparse-0.3.1-py2.py3-none-any.whl (40 kB)
Collecting asgiref~=3.2
  Downloading asgiref-3.2.7-py2.py3-none-any.whl (19 kB)
Collecting six>=1.4.1
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting cffi>=1.1
  Downloading cffi-1.14.0-cp37-cp37m-manylinux1_x86_64.whl (400 kB)
Collecting pycparser
  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: mysqlclient, psycopg2
  Building wheel for mysqlclient (setup.py): started
  Building wheel for mysqlclient (setup.py): finished with status 'done'
  Created wheel for mysqlclient: filename=mysqlclient-1.4.6-cp37-cp37m-linux_x86_64.whl size=100495 sha256=6014dba73bcd32d844b1844326b122cb771cbf4f90df6a712fb2686ce249d182
  Stored in directory: /root/.cache/pip/wheels/0d/77/50/313243794eb2e9f37ca5cbb677288009b2828c22f5f03dc7ff
  Building wheel for psycopg2 (setup.py): started
  Building wheel for psycopg2 (setup.py): finished with status 'done'
  Created wheel for psycopg2: filename=psycopg2-2.8.4-cp37-cp37m-linux_x86_64.whl size=430214 sha256=5cc7fa353b40dac3ae7f9be510a22f06740c12560c5893a536a27bfa3743fce0
  Stored in directory: /root/.cache/pip/wheels/e5/95/7b/9065a4dfe97a9b0e458215ea04fa87c169e20c9bddf49f766a
Successfully built mysqlclient psycopg2
Installing collected packages: pytz, sqlparse, asgiref, django, django-environ, six, pycparser, cffi, bcrypt, mysqlclient, psycopg2
Successfully installed asgiref-3.2.7 bcrypt-3.1.7 cffi-1.14.0 django-3.0.4 django-environ-0.4.5 mysqlclient-1.4.6 psycopg2-2.8.4 pycparser-2.20 pytz-2019.3 six-1.14.0 sqlparse-0.3.1
 ---> c40cafac6662
Removing intermediate container 40fc0a140980
Step 6/9 : EXPOSE 8000
 ---> Running in 7f098cd1a143
 ---> 05499104eeca
Removing intermediate container 7f098cd1a143
Step 7/9 : RUN python -V
 ---> Running in 1d7c55ff070a

Python 3.7.7
 ---> 036341bfe6e0
Removing intermediate container 1d7c55ff070a
Step 8/9 : RUN python manage.py migrate
 ---> Running in cae9c854898a

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 197, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 233, in get_new_connection
    return Database.connect(**conn_params)
  File "/usr/local/lib/python3.7/site-packages/MySQLdb/__init__.py", line 84, in Connect
    return Connection(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/MySQLdb/connections.py", line 179, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
MySQLdb._exceptions.OperationalError: (2059, "Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory")

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

Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 328, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 366, in execute
    self.check()
  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 395, in check
    include_deployment_checks=include_deployment_checks,
  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 63, in _run_checks
    issues = run_checks(tags=[Tags.database])
  File "/usr/local/lib/python3.7/site-packages/django/core/checks/registry.py", line 72, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/usr/local/lib/python3.7/site-packages/django/core/checks/database.py", line 10, in check_database_backends
    issues.extend(conn.validation.check(**kwargs))
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/mysql/validation.py", line 9, in check
    issues.extend(self._check_sql_mode(**kwargs))
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/mysql/validation.py", line 13, in _check_sql_mode
    with self.connection.cursor() as cursor:
  File "/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 260, in cursor
    return self._cursor()
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 236, in _cursor
    self.ensure_connection()
  File "/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/base.py", line 197, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 233, in get_new_connection
    return Database.connect(**conn_params)
  File "/usr/local/lib/python3.7/site-packages/MySQLdb/__init__.py", line 84, in Connect
    return Connection(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/MySQLdb/connections.py", line 179, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2059, "Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory")
The command '/bin/sh -c python manage.py migrate' returned a non-zero code: 1

My deduction is that docker image is unable to connect to MySQL server because it requires updated mysql connector which is missing.
I really appreciate if anyone can suggest how can I resolve the issue?

"Authentication plugin 'caching_sha2_password' cannot be loaded
/usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

It seems the MySQLdb library doesn't support caching_sha2_password. You can either change your mysql user's authentication options to use mysql_native_password by adding --default-authentication-plugin=mysql_native_password as the command to mysql, or to its server config
Or use mysql:5.7 which uses mysql_native_password
https://github.com/docker-library/mysql/issues/454#issuecomment-406711790

@wglambert
I knew this approach but the problem is I don't have rights to update anything in MySQL server. Also the DB team suggested to update the libraries instead of changing things in DB because it will requires to restart the DB and DB has production data in it.

This Stack Sverflow thread might help https://stackoverflow.com/a/54649081
But this isn't an issue with the image so I'm going to close, you could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum


Stopping the session loop when exited

Description
This PR fixes the problem that you can't exit the Backed with CTRL + C.

It still doesn't terminate properly - the background process doesn't stop. I get these messages in the terminal after stopping
ERROR:capellacollab.sessions.idletimeout:Could not collect idle sessions from Prometheus

When exactly is this happening and does it only occur once? After stopping, I get these messages in the terminal
INFO:uvicorn.error:Finished server process [84334]
ERROR:capellacollab.sessions.idletimeout:Could not handle idle sessions
...
asyncio.exceptions.CancelledError
INFO:     Stopping reloader process [84332]

and then nothing happens (so no more messages). My understanding is that the loop simply adds a single task to the thread pool and then waits the specified interval before adding the next task. So theoretically there could be another error message Could not collect idle sessions from Prometheus, but not more than one.


weakly supervised training?

Will you share the details of the weakly supervised part?
Thanks.

@WeihongM For more details about the weakly supervised part, pls refer to our paper.

Hello, thanks for your reply.
Recently I continue to finish this part of the work. I have some questions which I forgot to ask you before.
If there are no detection result in the current single real images, do you will calculate loss in this image (just continue it)?
@Real-YeJ @ying09 @Alwinator


Add vlan and mtu parameters to OVNOverlayNetworkAttachmentDefinition

Short description:
Add vlan and mtu parameters to OVNOverlayNetworkAttachmentDefinition.
What this PR does / why we need it:
Needed for the localnet feature.

/hold

/hold cancel

/verified

/verified

/verified

/verified

/verified

/verified

/verified

/cherry-pick v4.15

What does it do???


Add initial Objective C support

Hi! I made an attempt to support parsing objective c headers. This is very much incomplete,
and likely not quite yet ready for merging, but I thought I'd share the progress so far.
Comments appreciated, I'm still very much a newbie in just about everything related to this change (rust as a language, rust ast, libclang, rust-bindgen), and there were many parts of code I wasn't quite sure about.
Commit message:
It parses interfaces and protocol but ignores base classes,
methods that don’t have arguments, the arguments are currently ignored.
Also you can pass objc class instances to C functions.
Next steps are inheritance/base classes, method signatures,
properties, categories.
Then check with system headers what is missing.

The failure is due to me hardwiring the use objc; etc. for my testing.. I suppose the raw_line option is meant for that.

I'm still missing documentation and testing.
How should I make it run some of the headers in -x objective-c? I suppose I could just name them with .m suffix, or add somehow add the -x flag when header_name.containts("objc")

Right now we rely on the automatic language detection for most of the tests, but you can annotate a test with // bindgen-flags:, and they'll get passed to the harness.
So it seems you either want m files (that's fine by me), or otherwise do something like what we do in tests/headers/dash_language.h, which does // bindgen-flags: -- -x c++.

Heres my latest, with some rudimentary tests and docs.
Also fixed some objc pointers in structs and global variables to emit the 'id' type there as well.
I'm using the id here to mimic the cocoa-rs convention, thought I think some have suggested trying struct Foo(id) type of wrapping of the type, and impl the traits on those types. But I think that kind of experimentation is ok to day later when it otherwise works.

:umbrella: The latest upstream changes (presumably #456) made this pull request unmergeable. Please resolve the merge conflicts.

You need to add the objc dependency to the tests/expectations directory, so they compile.

Quite, it didn't seem quite as simple.
Either I did something wrong that I don't understand, or things really are this complicated, but I ended up adding a bindgen flag, that toggles the generated prologue from emitting either use objc; or #[macro_use] extern crate objc;, as the generated tests were run individually, and adding the extern crate to the tests lib.rs didn't seem work.

Ehh, botched rebase, I was sure I had run the tests one more time. Sorry for the noise

ngggh. of course, it needs some cfg guards

Woo, finally a passing commit! :D
I opted to add cfg(target_os="macos") to the objc tests. It seemed to be the simplest change, though I'm not sure the .contains("objc_") is good enough toggle for it. I guess this also means that the travis config would need a osx target as well, to have those tests be exercised.

:umbrella: The latest upstream changes (presumably #461) made this pull request unmergeable. Please resolve the merge conflicts.

Looks good to me! I've opened https://github.com/servo/rust-bindgen/pull/464 to re-enable testing on OSX, after that lands this is good to go \o/

@bors-servo r+
Thanks for this! :)

:pushpin: Commit 4736263 has been approved by emilio

:hourglass: Testing commit 4736263 with merge c1aaa6a...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing c1aaa6a400d4a92ae442bfeaa188c5303810611b to master...


Explore the possibility to hook on unittest and pytest

Finished unittest support in #11 and pytest support in #17


update Reception page accordingly to the client feedback

Moved the workflow selector to the pipeline section.
Filtered workflows based on the selected pipeline.
Dynamically hide or show the user swipecard input depending on the workflow's status (selected or unselected).
Added validation to the swipecard input: display an error message if it is not set and a workflow is selected.
Displayed an error message if the Scan In operation fails due to missing required inputs.

I think we still need to update the swipecard fields (in different part of the app) to make them password fields, but I suppose this is can be addressed in different story

Happy to approve. I presume this is working in local as expected?

yes, tested locally and it is working as expected


Fix typo in tokens_response, all_tokens_response schema

Rename start_from to start_after following the actual contract definition.

I'm going to close this PR for now since it should really be fixed in cw-nfts


Update Posts “welcome”

Automatically generated by Netlify CMS

👷 Deploy Preview for superb-sawine-40c5c7 processing.

Name
Link

🔨 Latest commit
df5e38607d450ef44cf130ca7f52d37eb000793a

🔍 Latest deploy log
https://app.netlify.com/sites/superb-sawine-40c5c7/deploys/62983fbdd76bd700093301d2


Mining Plugin Timer Not functioning Correctly in MLM

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 10
Bug description
Mining Plugin in Runelite not properly displaying timer in MLM. Nodes refresh at around %70 of the timer pie chart.
Screenshots or videos

RuneLite version
Runelite version 1.9.10
Oldschool Revision: Rev 211
Launcher version 2.1.3
Logs
No response

veins respawn randomly from 150 to 277 ticks after depleting, the green color shows its possible, the full chat shows the max time

veins respawn randomly from 150 to 277 ticks after depleting, the green color shows its possible, the full chart shows the max time

Okay, thank you, I was unaware of that.
Is there any reason why the mobile implementation allows for exact respawn timers but the mining plugin on runelite does not?

Some data is sent to the enhanced client (steam and mobile) which is not sent to the Java client, that may be among it.


Add specific fams or samples

Codecov Report
Base: 48.37% // Head: 66.72% // Increases project coverage by +18.35% :tada:

Coverage data is based on head (6c76f45) compared to base (37f72de).
 Consider uploading reports for the commit 80e68bf to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #305       +/-   ##
===========================================
+ Coverage   48.37%   66.72%   +18.35%
===========================================
  Files          64       67        +3
  Lines        4552     5154      +602
===========================================
+ Hits         2202     3439     +1237
+ Misses       2350     1715      -635

Impacted Files
Coverage Δ

models/__init__.py
100.00% <0.00%> (ø)

sample_metadata/parser/generic_parser.py
82.78% <0.00%> (ø)

sample_metadata/parser/cloudhelper.py
58.13% <0.00%> (ø)

test/test_joint_calling_workflow.py
18.18% <0.00%> (+15.15%)
:arrow_up:

test/test_add_samples_for_joint_calling.py
44.44% <0.00%> (+27.77%)
:arrow_up:

sample_metadata/parser/sample_file_map_parser.py
73.80% <0.00%> (+64.28%)
:arrow_up:

scripts/process_ont_products.py
76.33% <0.00%> (+70.99%)
:arrow_up:

sample_metadata/parser/generic_metadata_parser.py
77.62% <0.00%> (+74.86%)
:arrow_up:

scripts/parse_ont_sheet.py
81.69% <0.00%> (+76.05%)
:arrow_up:

test/test_parse_ont_processor.py
100.00% <0.00%> (+76.19%)
:arrow_up:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I'm so sorry that I forgot about this one @illusional! Hopefully have addressed everything :)


Google G-Suite and Basic SAML configuration - Identifier domains with HTTPS

Due to Azure AD update and limitation in portal.azure.com, you can not specify also HTTPS url when specifying whole domain, so need to remove two https options on Configure Azure AD SSO - step 5.  Basic SAML Configuration - Identifier

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3fdf59c4-653e-956e-d675-f7e17ed7d488
Version Independent ID: 57b9c048-a938-6e21-633b-e0aabdd59946
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with Google Cloud (G Suite) Connector
Content Source: articles/active-directory/saas-apps/google-apps-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@hkusulja Thank you for your feedback! We will review and update as appropriate.

@hkusulja, Thanks for reaching out.
As shown below, I was able to configure the identifier (Entity ID) with https. Could you kindly send a snapshot of the issue you're seeing? Thanks.

Uh, now it is working, few days ago it sad that it can not add, since the domain is already up.
Anyhow, is it necessary to add both google.com and https://google.com ? i think not, since the first one covers the second one.

#please-close


CloudLab provider integration

[x] 1. @disprosium8 experiments with CloudLab stitching manually
[ ] 2. @abessiari automates the provider operations based on steps learned from 1.
[ ] 3. add stitching support for the provider and prepare stitching capable service profiles

Before Production network ARM is updated, let's use FacilityPort UKY-AL2S as a fake for stitching tests on the DEV topology.

@abessiari and I met 2/16/2023 to discuss current workflow and succeeded in manually stitching Utah Cloudlab to FABRIC UTAH switch.

Use fabfed-stitch profile in fabfed Cloudlab project
Select vlan 3211 for testing
Utah Cloudlab VM gets <IP_ADDRESS> IP assignment
FABRIC Utah switch has vlan 3211 subinterface on facility port with IP <IP_ADDRESS> for testing.
ICMP/ping test works

Branch cloudlab has basic usage of Cloudlab portal-tools (XMLRPC) to recreate stitching workflow above. Next step is to integrate the portal-tools more closely with the fabfed provider modeling.


Upload via button only works once

Don't know if I did something wrong, but when I upload some file via the browsers browse button I have to reload the component again to be able to upload another file... heres my template:
{{#if error}}

{{error}}

{{/if}}

{{#pl-uploader
for="upload-attachment"
onError="handleEerror"
extensions="pdf mp3 mov mp4 mpg m4v txt doc docx xls jpg gif bmp png tiff jpeg"
multiple=true
onfileadd="upload" as |queue dropzone|}}
  {{log "dropzone active: " dropzone.active}}

    {{#if dropzone.active}}

      {{#if dropzone.valid}}

            {{t "event.attachments.drop_to_upload"}}

      {{else}}

            {{t "event.attachment.file.invalid"}}

      {{/if}}

    {{else if queue.length}}

                Uploading {{queue.length}} files. ({{queue.progress}}%)

    {{else}}

{{t "event.attachments.upload_files"}}

          {{#if dropzone.enabled}}
            {{t "event.attachments.drag_drop_label"}}
          {{/if}}

                <input type="file" id="upload-attachment" class="form-control"/>

    {{/if}}

{{/pl-uploader}}

I don't see any errors popping up so ... really don't know where to start debugging here. Seems the 'for' property loses the connection to the file-input somehow?

Found out, it works with just a html-link (as in your example) - so my problem is solved. I don't know why its not working with a standard file-input but I don't care for now ;)

No biggie! Yeah, not sure what may cause this. Plupload tends to do some interesting things.


The Example of pod in projected volume  is getting in CrashLoopBackoff State

The yaml in the Example of Projected volume  needs to be updated; as the pods is always getting in CrashLoop Backoff state instead of running state.

Suggestion
Problem is not with the volumes, but with the image, we are using, busy box 1.28 as the image, but as there is no process that keeps the container running, the pod is completing and getting in CrashLoopBackoff state.
So in yaml to run the pods  we need to change.

name: container-test
image: busy box
command: ["sleep", "60"]
Related Page :
https://kubernetes.io/docs/concepts/storage/projected-volumes/#example-configuration-secrets-nondefault-permission-mode

So we can change the yaml file with the command labels to put pod in running state. It will be helpful for all.

/langugae en

/language en

As per https://github.com/kubernetes/kubernetes/issues/118526

Hey @niranjandarshann , I have already raised an PR for the same,
https://github.com/kubernetes/website/pull/41715
Waiting for the approval 😃

/assign

How about we add a comment to the manifest to:

make it clear that the manifest only works when the two Secrets are set up correctly
use a different container image that is much more obviously an example, not a real image

?

@sftim  observing on these points its  true that the example given here in the pod use image busybox which get in crashloopbackoff state until we doesn't give command to perform like (command:["sleep","3600"] ) but with some other image like nginx, and my static image pod is in running state without the command to perform.
As i tried with: (Result may vary with other images as well)
image: busybox:1.35 and image : busybox. whose Pod getting in CrashLoopBackoff state without command labels in yaml file.
whereas
using
image: nginx and image:niranjandarshan/bihartour , The pod is getting in running state without Command labels in yaml file.
Yes it is obvious that the Manifest will run only when the two secrets are set up correctly.
So in given example i think we should either remove the busybox image or use the command label ( command: ["sleep","3600"]). To Set the Pod used in example in running state.

closing this issue marking as completed
/close


Continuation of previous animation

Hello, love the results!
I was wondering if there is a way to continue an existing animation by providing multiple starting frames (and optionally a new end frame)? i.e. custom mask ala OSP
If no, is there a plan to add something like this for inference?
Keep up the great work
Thanks

Is it a continuation of the video?

Yes, that would be the idea.
Currently, when I have 4 keyframes for example, I need to make 3 runs to get an animation from frame 1->2, 2->3, 3->4 and stitch the 3 videos together to get 1 long animation over the 4 keyframes. The issue with that is that the animation of the individual segments might be completly different (see this I made for example) and therefor doesn't really look continoues.
One solution to this could be to allow multiple starting frames (like a video, yes) such that the model can continoue the animation in a natural flow.
Another solution would be to directly allow multiple keyframes at once (i.e. all 4 in this example) for the model to create the complete animation via all 4 frames.
Is it understandable what I mean with this?
PS. I'm working with https://github.com/kijai/ComfyUI-CogVideoXWrapper, so I'm not sure if this is a limitation of the wrapper or the model.
Thanks for any suggestions.


Updated to point to main documentation

Docs Build status updates of commit 963a569:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 963a569:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Enable-SPOCommSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit dbd758a:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit dbd758a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Enable-SPOCommSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Suggested Improvements for EPA Waters App

•	Weaknesses of the App
The location search can return feature names that do not match the search term. This may be confusing to the user as it seemingly selects a different location.
There are navigation problems associated with the different views on the app interface. There is only one vertical scroll bar for the whole interface, but it mainly controls the map. This may hide functions and features on the left-side navigation menu; it seems to have separate scroll controls without a scroll bar. Moreover, when the left-side navigation menu is collapsed, the map view enlarges, but this may hide the map zoom and information buttons (top left and bottom right of the map view).
In some instances, the “delineate downstream watershed” function has encountered errors. The Error message received reads: “Flowline comid 10373572 at measure 100 not found in NHDPlus stream network.” The cause of this error has not be understood.
•	Opportunities for the App
During the testing phases, no notable additional opportunities were mentioned. The use-case seems to finish without the need for additional help.
•	Potential pitfalls from the demo or external factors
The map is interactive. This information was not given to the user, so accidental clicks can change the selected Feature name.
Find out more about the strengths and testing done to date in this State of the App (SOTA) report:
EPAwaters_April2017assessment_SOTAreport.docx
also organized in the HydroShare Google Drive in the State of the App Reports folder
Any updates should also be applied to this HydroShare Help page: EPA Waters App

This issue was moved to CUAHSI-APPS/tethys_watershed_delin#1


Reactome release 82 models from geneontology/reactome-go-cams#9

Drop-N-Reload of Reactome models in Noctua production using Reactome release 82 data. Models are from https://github.com/geneontology/reactome-go-cams/pull/9. @ukemi and @deustp01 have tested these in noctua-dev as noted in https://github.com/geneontology/pathways2GO/issues/176#issuecomment-1294939557.
Hopefully this can be pulled in during the 2022-11-10 Noctua outage?

Noting an issue spotted by @ukemi but it doesn't block this PR from going in. The group search does not work for these models and I figured out that it's due to "https" in each model's providedBy vs "http" in groups.yaml:

@deustp01 @ukemi Which do you prefer, "http" or "https"?
We'll make a ticket in the appropriate repo (depends on the answer) and plan to get this in on the next load.

When I navigate to Reactome it is https. I guess that would be the correct one. You probably know better than I.  :)

If this data has not leaked elsewhere (remember that these are identifiers, not URLs), it would be good to get them onto the one with a more likely future: https.

https should be right.


bug(navis): Target view positions conversion is incorrect

What package are you referring to?
Navisworks Connector
Describe the bug
The viewpoint conversion is correct for camera position, but the conversion of target geometry varies between slightly wrong and very wrong.
To Reproduce
Send a commit having selected "include view", inspect the Navis viewpoint settings and compare with the View data object
Expected behavior
Data in each should match. FOV isn't a setting to commit, so actually viewpoint may vary, but target position should match.
Screenshots

Technical Update: The conversion logic needs to branch depending on the internal Up and Forward states of the ActiveDocument and the directionality of the view relative to the default base orientation.


docs(v2): add docs on static assets

Motivation
part of #1640  Guides / Docs / Static Assets
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
netlify tbd
https://deploy-preview-1648--docusaurus-2.netlify.com/docs/static-assets

test https://deploy-preview-1648--docusaurus-2.netlify.com/docs/static-assets


Set dist default address to containerd.DefaultAddress

Change default address of dist to use the containerd default address. Similar to ctr, this lets other platforms (Windows) use different addresses.
Signed-off-by: Darren Stahl<EMAIL_ADDRESS>

Codecov Report

Merging #1144 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1144   +/-   ##
=======================================
  Coverage   31.88%   31.88%
=======================================
  Files          27       27
  Lines        2161     2161
=======================================
  Hits          689      689
  Misses       1324     1324
  Partials      148      148

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9fb279...1e7c47d. Read the comment docs.


Skip all borders if borderSkipped === true

This will allow you to skip all borders (not just one side) if you set borderSkipped to boolean true and so allow you to have a consistent legend marker even for bars without borders. Reason is that even if same colored borders are set there are artifacts that make the bar look bad and also even with inflateAmount the bars do look good when big but when only a few pixel in size they start to look bad too so this was the only way for me to make it work so legends are looking good and bars too.

Hi LeeLenaleee, unfortunately if you set borderWidth to 0 the legend points (like bars, circle and so on) won't be the same as for those that have borders. So if you have for e.g. lines with borders and then bars without borders the legend points will be different.


Some changes breaks Code Formating for other file types

Hi, I have been using BashSupport plugin for quite some time now.
Recently, after I created a new workspace and enabled and installed all my plgins, I noticed that the IDE takes forever to do indexing. Also, the Code style formatting stopped working and started saying "content is already properly formatted"
I did multiple iterations of disabling/removing and enabling/installing plugins to narrow down to the plugin which is causing this.
Now it's clear that it's indeed because of BashSupport Plugin. When I enable it, my code formatting don't work. If I disable it, they start working.
Did something change recently at BashSupport which can cause something like this?
Please help.

@bijayrungta Thanks for the report!
I don't remember any change which may cause what you're observing.
I need some more details about this to narrow this down.

Name and version of your IDE
name and content of a file which is incorrectly detected as Bash file
Have you recently updated your IDE or BashSupport?
Are you sure that BashSupport is not assigned to the incorrectly detected files at Settings->File types?

IDE is IntelliJ IDEA Ultimate 2017.2.6 (172.4574.11)

Files aren't really detected as Bash. But somehow, the formatting of PHP files aren't working.

I think there was no update of the IDE or plugins. I changed workspace and imported my settings exported before.

I also tried things by removing all file types from Bash Support. Still same result.

I also had a look at the BashSupport Doc and noticed this.
https://www.plugin-dev.com/project/bashsupport/#file-extensions

Often Bash scripts are saved without a file extension. BashSupport can be configured so that it accepts files without extensions as Bash scripts. If you enable this options then all files will be linked to BashSupport. But if you want to only link those files to BashSupport which really are Bash scripts then you can enable the other option. Then BashSupport will look at the file content to guess the file type.
Maybe I set it up somewhere to detect all files as Bash. If that's the case, how can I unlink this behavior

PHP Code lines don't matter. Doesn't do any formatting. extension is php[Not in Excluded resource]
Does BashSupport need any other plugin to be installed and enabled?
I am sharing a few details.
 Have shared a list of all installed, enabled and disabled plugins.
Disabled Plugins
### Disabled Plugins
- Bytecode Viewer,
- CVS Integration,
- ClearCase Integration,
- DBHelper,
- TFS Integration,
- ANSI Highlighter,
- Spring AOP/@AspectJ,
- Copyright,
- Guice,
- J2ME,
- Emma,
- Time Tracking,
- ASP,
- Open in GitHub,
- Cucumber for Java,
- HighlightBracketPair,
- BashSupport,
- AngularJS,
- CFML Support,
- Playframework Support,
- Cucumber for Groovy,
- Action Tracker,
- Eclipse Integration,
- Osmorc,
- AspectJ Support,
- Flash/Flex Support,
- GlassFish Integration,
- JBoss Integration,
- JSR45 Integration,
- Jetty Integration,
- Resin Integration,
- Tomcat and TomEE Integration,
- CloudBees integration,
- Geronimo Integration,
- WebSphere Integration,
- WebLogic Integration,
- Java EE: Bean Validation Support,
- Java EE: Contexts and Dependency Injection,
- Java EE: Batch Applications,
- Java EE: JMS, JSON Processing, Concurrency, Transaction ,
- Application Servers View,
- Java EE: WebSockets,
- JBoss Frameworks Base Support,
- JBoss Drools Support,
- JBoss Arquillian Support,
- Java Server Pages (JSP) Integration,
- Struts 1.x,
- Java EE: Java Server Faces,
- JBoss Seam Support,
- JBoss Seam Pageflow Support,
- JBoss Seam Pages Support,
- Spring Support,
- Cloud Foundry integration,
- Java EE: Web Services (JAX-WS),
- dmServer Support,
- GWT Support,
- Google App Engine Integration,
- Vaadin Support,
- Spring Batch,
- Spring OSGi,
- Spring Data,
- Spring MVC,
- Spring Security,
- Spring Integration Patterns,
- Spring Web Flow,
- Spring WebSocket,
- Spring Web Services,
- Struts 2,
- Tapestry support,
- Thymeleaf,
- Java EE: RESTful Web Services (JAX-RS),
- Grails,
- Android Support,
- Stylus support,
- PHP RegExp Support,
- Framework MVC Structure Support,
- Spring Boot

### List of enabled Plugins
- Bunyan Pretty Print,
- Compare Tab With Editor,
- Grep Console,
- Key Promoter X,
- String Manipulation,
- CMake simple highlighter,
- Code Review for IntelliJ IDEA,
- Archive browser,
- Apache config (.htaccess) support,
- Ideolog,
- AppleScript Support,
- JB SDK Bintray Downloader,
- Ini4Idea,
- File Watchers,
- Twig Support,
- JSON Viewer,
- GitLab Projects,
- nginx Support,
- .ignore,
- Makefile support,
- CSV Plugin,
- Yeoman,
- Cucumber.js,
- HashiCorp Terraform / HCL language support,
- Tasks Navigation,
- Directory editor,
- NodeJS,
- Kotlin,
- EduTools,
- Chef integration,
- LiveEdit,
- PHP,
- PHP PSR-4 Namespace Detector,
- Blade Support,
- Command Line Tool Support,
- Laravel Plugin,
- Go,
- PHP Remote Interpreter,
- TextMate bundles support,
- Vagrant,
- AWS CloudFormation,
- Docker integration,
- PHP Docker,
- Python,
- Kubernetes and OpenShift Resource Support,
- Ruby,
- PHP composer.json support,
- .env files support,
- GitLab integration,
- GitLink

@bijayrungta PHP lines are needed if the file has no extension.
If the file has a .php extension then nothing in BashSupport is looking into this file except when you manually assigned the extension (which doesn't seem to be the case)
BashSupport looks into files without extension to detect a shebang line.
I don't see anything in your settings, except that BashSupport is disabled. Are you sure that you'd not using something like the IntelliLand code injection which puts Bash into php code?
I'll try BashSupport with an enabled PHP plugin when I have the time (can't promise atm)


Provide a CreateNetworkFromBinary method for the ONNX parser

Currently (22.08.01) there is only a CreateNetworkFromBinaryFile method for the ONNX parser. For my project, however, I need to read a binary buffer from some external device, and I'm hoping that I could directly create a network from the buffer, instead of first saving it to disk.
I see that there is a CreateNetworkFromBinary method for the TFLite parser. I'm wondering if a similar method will be added to the ONNX parser. Thanks.

Hi @Inlinebool
thank you for bringing that omission to our intention, I've created a review that adds that function:
https://review.mlplatform.org/c/ml/armnn/+/8695
It is too late for the 22.11 release but should be there for 23.02 and should merge cleanly into our existing releases. Can you check if it works for your needs and let me know?
Best regards,
Mike

Hi @Inlinebool,
The above patch has been merged so I'll close the ticket, please reopen if necessary.
Thanks,
Francis.


added URITemplate for urijs  and knockout.punches

added UriTemplate class + expand method for urijs
added knockout.punches plugin: module + enableAll

close the PR because this is too old.


Imexam modules bug

Hi everyone!
I installed imexam using pip install method: " sudo - H pip3 install imexam", it was ok.
But certain classe/fucntion did not load as :
-list_active_ds9()
-ds9('...')
-display_help()
error: " module 'imexam' has no attribute..... "
AND worst:
when calling -> "window=imexam.connect('ds9')'" ( or many others  analogs steps, as explained in the imexam webpage docs, no single one worked out),  the following error happened ..:
**"
NotImplementedError                       Traceback (most recent call last)
 in
1
----> 2 window=imexam.connect('ds9')
/usr/local/lib/python3.6/dist-packages/imexam-0.8.2.dev375-py3.6-linux-x86_64.egg/imexam/connect.py in init(self, target, path, viewer, wait_time, quit_window, port)
84             warnings.warn("Unsupported viewer, check your installed "
85                           "packages\n")
---> 86             raise NotImplementedError
87
88         # init sets empty data array until we can load or check viewer
NotImplementedError:**
"
I tried GINGA, but the same issue/error
Well, after many tries, I decide to uninstall it, and using the installation instructions I decide to try :
"git clone --recursive...etc ", and then "sudo -H python3 setup.py install" . All good, no error.
But after  importing imexam module (unitl this point all fine) the same before bugs appeared !

I tryed, also change to  "inet", "local"  , and as well I tried all examples explained on the issues, waiting time, XAP_method,... nothing works :(

Is it supposed to work inside an env astroconda ?
I am using: Ubuntu 18.4, Jupyter notebook, and pyhon 3.6, ds9  last version, ginga last version

EDIT1 :
After reinstalling GINGA, using conda install , imexam.connect recognized it, finally
But DS9 keeps same issue: " ...n("Unsupported viewer, check your installed "
85 "packages\n")..."

EDIT 2:
inside   ../imexam/connect.py there are the following lines:
" try:
import xpa
have_xpa = True
from .ds9_viewer import ds9
except ImportError:
have_xpa = False
"
So I tested import xpa and an error of no 'module xpa' occurred, so I believe the variable "have_xpa" is set to False, and the package is not capable to recognize 'ds9' viewer, as the variable :'_possible_viewers" is empty.

Hi there.. lets try a quick check. You have ds9 installed either in your machine, or as part of the virtual environment that you are using. You should be able to get the path to the executable, try launching DS9 and see if it come up. If it's on your path, which ds9 should return the correct location.
If that works, you can give connect the path to your ds9 executable when you instantiate:
`viewer=imexam.connect(path='the-path-to-ds9')
Let me know if either of those things succeed or fail and we can debug from there :-)

Hi ,
the path to ds9 is : '/usr/local/bin/ds9'
it takes long time to load, but it works.
I tried also loading inside jupyter notebbok and it is loaded all right, no problem.
But the bug keeps happening:
viewer=imexam.connect(path='/usr/local/bin/ds9',)
'
usr/local/lib/python3.6/dist-packages/imexam-0.8.2.dev375-py3.6-linux-x86_64.egg/imexam/connect.py:84: UserWarning: Unsupported viewer, check your installed packages
warnings.warn("**Unsupported viewer, check your installed "

NotImplementedError                       Traceback (most recent call last)
 in
----> 1 viewer=imexam.connect(path='/usr/local/bin/ds9', wait_time=120)
/usr/local/lib/python3.6/dist-packages/imexam-0.8.2.dev375-py3.6-linux-x86_64.egg/imexam/connect.py in init(self, target, path, viewer, wait_time, quit_window, port)
84             warnings.warn("Unsupported viewer, check your installed "
85                           "packages\n")
---> 86             raise NotImplementedError
87
88         # init sets empty data array until we can load or check viewer
NotImplementedError:
'

EDIT 3:
BTW, even functions/classes described above don't load.

Hi there - I'm having problems recreating your issue. I've included a screen shot of some of the functions you mention, there are 3 different ds9 windows in it that were opened in different ways, they have different names and different things displayed in them according to the commands on the terminal that's also in the image.
It looks like you might be running on linux? Will you send me your os spec, uname -a? Also, from a python terminal try and import the xpa and let me know what it says: import xpa. if it imports tell me the path to it with xpa.__file__
we'll figure this out!

uname -a:
Linux  4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
In [1]: import xpa
In [2]: xpa.file
AttributeError                            Traceback (most recent call last)
 in
----> 1 xpa.file
AttributeError: module 'xpa' has no attribute 'file'

Edit:
imexam.path   :
['/usr/local/lib/python3.6/dist-packages/imexam-0.8.2.dev375-py3.6-linux-x86_64.egg/imexam'
imexam.version:
0.8.2dev375'
Seems your version is former...

The difference in our versions shouldn't be an issue, for completeness I pulled the version you installed for testing.  I'm unable to replicate your issue, as long as the location to ds9 is on my path, or I give imexam the startup location for the executable, then it's able to start ds9 and make the connection. I've tried this inside several environments, and using the pip installed release and the master branch. One usage question, are you running this from a single notebook cell that tries to execute all the calls at once? If so, import imexam and start the connection in one cell, that will give the process time to establish, then start using the control object (what you assigned to connect() in the next cell.
You're paths make me think that you are not running in a virtual environment, it should be working inside a conda environment and it also shouldn't care if your install of ds9 is internal or external to the environment, as long as it's on your PATH or you give it the path to the executable. I also see your import of xpa is coming from a source other than I expected. Do you also have pyds9 installed? That package installs it's own xpa.py directly into site-packages. imexam uses a cython wrapped extension that installs into site-packages/xpa.py along with a .so file. When you import xpaand thenxpa.fileit should be referencing the shared object file. It's possible that installation of the two packages are conflicting on your system. The latest version ofpyds9` should be installing the xpa file into its local area and looking for a system installed xpa.
If you have pyds9 installed, try uninstalling, then try imexam again.  I should probably move the imexam .so file to it's own directory as well, I thought I already had, but let me know if the above works for you. If you don't have pyds9 also installed, I'll have to think a little more what could be going on with your system. You might also check what version of ds9 you are running as at least v8.0.1 for the Quartz installed app had a bug with the xpa socket specification that imexam uses. The lasted release of that fixes the issue, I didn't see it show up on any of the linux/Xwin versions I tried locally.

Hi !
In fact, I did not create a 'conda env'.
So, for just testing, I uninstalled pyds9, and now no more DS9 bug.
The error now is:
"RuntimeError: The ds9 process is externally killed."
But I did not reinstall yet a new pyds9.
So my next step  will be create an "imexam env", and try again.
Also, apparently the modules bug  are fixed:
imexam.list_active_ds9()
_DS9 imexam1562767514.592104 gs 7f000101:39229 decicco
{'7f000101:39229': ('imexam1562767514.592104', 'decicco', 'DS9', 'gs')}_
:)

excellent, I'm glad we're making progress...let me know how it continues to go :)

HI!! Uninstalled imexa, installed again, and voi la...:)

Now, I ll redo all steps for a conda env   "name"
P.S.: I did not reinstall pyds9, is it really necessary?

If you're not using pyds9 then it's not necessary to install. If you do decide to install, make sure its the most recent version that doesn't stick the xpa.py file directly in the site-packages/ directory.
just for completeness on my end, when you startup a python session, and import xpa what does xpa.__file__ return for you now?

I did not : 'import xpa...

I can reload my jup notebook session again importing xpa, if you want

right, but give it a go separately, in a terminal with a python session for example, and let me know what file path is returned?

Done!! decicco@patolino:~$ ipython
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import xpa
In [2]: xpa.file
Out[2]: '/usr/local/lib/python3.6/dist-packages/xpa.cpython-36m-x86_64-linux-gnu.so'
In [3]:

interesting. thanks.
shall we close this help call for now? If you have any more problems as you start playing with the package definitely report back and we'll figure them out. :)
cheers


Tamil Translation of Bookstack

Language to Add
Tamil
Confirmation of Intent

[X] I confirm I'm offering to help translate for this new language via Crowdin.

Sorry @charleseya, I had missed this. Do you still desire to perform translations of BookStack in this language?


Fix type validation

Please have a look at the individual commit messages for the details.

FYI, I'm working to get Travis CI fixed by using their new GitHub app integration.


[KYUUBI #4728] [Authz] [Bug] Resolve the unresolved Project node Resolve the unresolved Project node so that we can access the input information.

Why are the changes needed?

To fix https://github.com/apache/kyuubi/issues/4728.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #4729 (e1b9430) into master (f6331a2) will decrease coverage by 0.09%.
The diff coverage is 33.33%.

:exclamation: Current head e1b9430 differs from pull request most recent head ababac9. Consider uploading reports for the commit ababac9 to get more accurate results

@@             Coverage Diff              @@
##             master    #4729      +/-   ##
============================================
- Coverage     58.07%   57.98%   -0.09%
  Complexity       13       13
============================================
  Files           581      581
  Lines         32297    32301       +4
  Branches       4313     4313
============================================
- Hits          18755    18729      -26
- Misses        11745    11767      +22
- Partials       1797     1805       +8

Impacted Files
Coverage Δ

.../kyuubi/plugin/spark/authz/PrivilegesBuilder.scala
87.00% <33.33%> (-3.63%)
:arrow_down:

... and 10 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more