Strict the stylelint rules or remove?

Hello @juwai/frontend , We always encounter warning notification about stylelint,
Some rules are as below:
        "font-family-name-quotes": [ "always-where-recommended", {
            "severity": "warning"
        }],

        "font-weight-notation": [ "numeric", {
            "severity": "warning"
        }],

        "unit-blacklist": [ ["cm", "mm", "q", "in", "pt", "pc"], {
            "severity": "warning"
        }],

        "declaration-no-important": [ true, {
            "severity": "warning"
        }],

        "selector-no-id": [ true, {
            "severity": "warning"
        }],

        "selector-no-type": [ true, {
            "severity": "warning"
        }],

        "no-duplicate-selectors": [ true, {
            "severity": "warning"
        }],

        "no-indistinguishable-colors": [ true, {
            "severity": "warning"
        }],

There're too many informations would disturb us
Do we really need them or we could set severity to error(strict) and then replace the problems?

@arkhi @HouCoder what's your input on this?

No one cares about warning, unless they encountered an error.
I just glanced all the stylelint errors in latest master branch in our most important project. I can sort them in to those types:
1: Expected "#ff0000" to be "#f00" (color-hex-length)
Reasonable, we should fix this and make a rule more strict, convert it to a error.
2: Unexpected named color "white" (color-named)
Reasonable, we should fix this and make a rule more strict, convert it to a error.
3: Unexpected unit (length-zero-no-unit)
Reasonable, we should fix this and make a rule more strict, convert it to a error.
4: Expected double quotes (string-quotes)
Most of them were caused by postcss-assets plugin, I checked their documentation, seems they didn't provide a way to specify single quote or double quote. I think we can leave it for now.
5: Unexpected !important (declaration-no-important)
Not reasonable, we use !important in every single responsibility classes, e.g. is-hidden, is-active, I know sometimes people(also include me) abuse !important, but they will be noticed during the code review process.
6: Unexpected type selector (selector-no-type)
selector-no-type, I tried my best to give every HTML DOM a proper class name as possible as I can, but for me sometimes it's very hard to work out a proper name, we can keep it, but reasonable class names take more time.
7: Unexpected indistinguishable colors "#ddd" and "#dcdcdc" (no-indistinguishable-colors)
My biggest concern about our color settings is we migrated legacy color to a brand new project, we have new standards, and we should drop legacy colors in our new project, if we could remove all the legacy colors I'm OK with removing this rule.

I personally don't pay that much attention to the warnings (I know it's bad) so I am in favor of changing it to errors instead. However I have not worked much with juwai.com front-end so I think @HouCoder's suggestions are more important for the warnings listed. I personally think a lot of developers abuse !important but for legacy systems we don't have much choice but to use it. So for new systems I think we can set !important warning to an error but keep it as a warning for previous systems.

Fellows, does my proposal was made sense to you, if it doesn't please speak up. I'll close this PR and create a new ticket for applying my proposal in this Friday.

Closed during Retro meeting.

Issue created: CON-554


How to avoid running multiple sagas/requests with the same arguments

Hi,
I got a saga that looks something like this:

function * getFromServer(query) {

   var state = yield select(selectQueryState)
   if (state.queryState[query]) {
     return
   }

   yield PUT(queryIsExecuting(query))

   yield doXhttpRequest(query)
   ... handle responses etc

}

My question is: How do I avoid multiple queries for the same resource here?
Should I move the pending query state handling outside of the saga and handle that by having the reducer listen to the action triggering the query?
It seems so because I see that the state changes I do within the saga do not happen at the same time (as per this comment: https://github.com/yelouafi/redux-saga/issues/167#issuecomment-192672932)

I also note in the API docs that you write: "A saga should preferably depend only on its own internal control state when possible."
Isn't this a bit against the credo of Redux? I.e. keeping and modifying state outside of the Store.
It seems to me that the only way to achieve what I want is to maintain a hash of queries that my getFromServer method checks.
Am I right?
Regards,
Tarjei

it's not clear from your first question if you need to

memoize xhr call results for queries to the same resource all the time
prevent requests for the same result to run concurrently ie you don't want to memoize results for all queries but just for those running concurrently at a given time

Isn't this a bit against the credo of Redux? I.e. keeping and modifying state outside of the Store.

There is a distinction between 'view state' and 'control state'. The first is meant to be presented (directly or indirectly) to the application user. The second is meant to drive the operations and not meant to be presented to the user.
The question of course is whether we should keep the control state inside the Redux Store or not. Well as usual there are different opinions and pros and cons
If you keep the control state inside the Store then you'll achieve that famous credo 'keep all state inside the Store', your entire control flow can be time-traveled (in theory, I've yet to see that in practice, because time-traveling control flow present some conceptual challenges i.e. keeping the control state in the Store doesn't give you control-flow time-traveling for free).
But now, you'll have to drive all your control flow from inside the reducers, this means you'll have to keep all 'program control variables' in the store to keep track where you're actually on the flow; this is not an issu with simple fire-and-forget ajax requests; but as soon as you get to more serious cases (handling concurrent requeusts, long-running flows like login-logout etc...) the reducer code will become more complicated.
redux-loop implements a similar concept, the reducer function has a signature (state, action) => (newState, ...Effects) : you return your desired side effects (e.g. ajax call) right from the reducers thus you'll keep all your control state inside the store
redux-saga OTOH implements the 2nd approach, implements the control flow outside of the reducers: thus if you opt for Sagas you already adheres to keeping your control state outside of the store. Suppose you have this Saga
function* congratulateAfter3TodosCreation() {
  yield take('CREATE_TODO')
  yield take('CREATE_TODO')
  yield take('CREATE_TODO')

  yield put({type: 'SHOW_CONGRATULATION'})
}

I know we could've done it with a for but I wanted to point to something more subtle, suppose we took 2 CREATE_TODO actions and now the Saga is waiting for the 3rd one. The fact the Saga is now at the 3rd take statement can be viewed as a control state itself, and this control state is implicit (ie implied by the execution sequence that leads to that statement). My point is that using redux-saga you'll forcibly externalize your control state. In fact, that's the purpose of Sagas.
So does that mean you must never use the redux Store to drive the Saga operations ? Well there are pros and cons for this too (as usual). Using the store's state means the Saga will be coupled with state shape (this can be alleviated with yield select) but OTOH there are some situations where the view state itself is inveitably needed by the Saga.
For example, think of a real shopping cart application : the Cart state inside the Store is constructed across multiples views (checkout different products from different pages) but when checking out the cart, we'll need to submit our Cart to the server: The Saga responsible for this operation will have to access the store to get the Cart (otherwise it'll have to reuse the Cart reducers itself to keep track of a local copy of the Cart state). So this is a case where we can allow a Saga to access the Store's state (others will disagree with this) because IMO the pros/cons balance IMO is in favor of accessing the existing state rather than duplicating the Store/reducer work.

It seems to me that the only way to achieve what I want is to maintain a hash of queries that my getFromServer method checks.

Yes. Where to keep this hash is related to the previous question. I would keep it inside the Saga unless we need to display it into the view

Thank you for this long and thoughtfull answer! Much appreciated.
You write:

it's not clear from your first question if you need to

memoize xhr call results for queries to the same resource all the time
prevent requests for the same result to run concurrently ie you don't want to memoize results for all queries but just for those running concurrently at a given time

I think this is a bit of both as I both need to prevent multiple requests if a resource is being requested and if it has already been fetched. Also the UI needs to know it a resource is being loaded.
I was hoping to use a simple PUT call to tell the store that the request is being fetched, but that didn't work out too well due to PUT not being synchronous. I ended up solving it by listening to the action triggering the saga instead and updating the state there.
I like your example of the click having to happen twice to execute the request, but in I found in inapplicable to my use case.
Anyhow, thanks for your time and answer and thanks for redux-saga.

I was hoping to use a simple PUT call to tell the store that the request is being fetched, but that didn't work out too well due to PUT not being synchronous.

I don't see why this is a problem actually. Microtasks are always finer-grained than user events: it means even if you get 2 consecutive click events they will be processed in this order : first click -> put -> second click. Unless of course you have a code that dispatches 2 successive actions synchronously in the code like
dispatch({type: 'FETCH', query: 'resource1'})
dispatch({type: 'FETCH', query: 'resource1'})

It's pretty rare but it can be the case actually if 2 Components mounted at the same time dispatches 2 requests to the same resource.
In this case you may want to store the query state inside the watcher itself (if you need to keep it in the Redux store you may also uses ana additional put)
function* watchFetch() {
  const queryState = {}
  while(true) {
    const { query } = yield take('FETCH')
    const prevTask = queryState[query]
    if( !prevTask || !prevTask.isRunning() ) {
      queryState[query] = yield fork(getFromServer, query)
    }
  }
}

function * getFromServer(query) {
   // if needed for the view : yield put(queryIsExecuting(...))
   yield doXhttpRequest(query)
   ... handle responses etc
}


gh-1941 improving cache to be type safe

Codecov Report

Merging #1942 into develop will decrease coverage by 0.92%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1942      +/-   ##
=============================================
- Coverage      64.73%   63.81%   -0.93%
  Complexity      2228     2228
=============================================
  Files            882      832      -50
  Lines          28950    27627    -1323
  Branches        3616     3478     -138
=============================================
- Hits           18741    17630    -1111
+ Misses          8738     8571     -167
+ Partials        1471     1426      -45

Impacted Files
Coverage Δ
Complexity Δ

...hq/gaffer/hbasestore/retriever/HBaseRetriever.java
78% <0%> (-2%)
0% <0%> (ø)

...e/operation/handler/FederatedOperationHandler.java

...e/operation/handler/FederatedTransformHandler.java

...ain/java/uk/gov/gchq/gaffer/mapstore/MapStore.java

...k/gov/gchq/gaffer/mapstore/multimap/MapOfSets.java

...ation/handler/FederatedOperationOutputHandler.java

...eratedstore/operation/FederatedOperationChain.java

...andler/impl/FederatedOperationIterableHandler.java

...on/handler/impl/FederatedGetAllGraphIDHandler.java

...ration/handler/FederatedAddGraphHandlerParent.java

... and 39 more

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 e8a1616...9ae1c52. Read the comment docs.


BPMSPL-116: [GSS-RFE] Ability to sort Artifact Repository by 'Name' and 'Date'

See https://issues.jboss.org/browse/BPMSPL-116

https://github.com/droolsjbpm/guvnor/commit/70ae4f06ff07b3af29c0de07460e98a29f49c344


Allow users to indicate they are done submitting jobs to a session

Summary
WIP
Details and comments
Fixes #1008

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

33 of 60 (55.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 74.417%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/api/clients/runtime.py
1
2
50.0%

qiskit_ibm_runtime/api/rest/base.py
10
14
71.43%

qiskit_ibm_runtime/session.py
10
20
50.0%

qiskit_ibm_runtime/api/rest/runtime_session.py
11
23
47.83%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
2554

Relevant Lines:
3432

💛  - Coveralls

closing this and reopening on a fresh branch since this no longer depends on a different PR


Can't find  User Attributes checkbox

Docs say, "To view or edit the claims issued in the SAML token to the application, open the application in Azure portal. Then select the View and edit all other user attributes checkbox in the User Attributes section of the application."  I can't find the page being referenced. I am looking under Active Directory enterprise applications and don't see the reference above anywhere.

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

ID: d362c1b5-1460-4de9-c53d-f0ec1ef07742
Version Independent ID: 9dc0a4df-81c8-13eb-720f-f589a3712e42
Content: Customizing claims issued in the SAML token for enterprise applications in Azure Active Directory
Content Source: articles/active-directory/develop/active-directory-saml-claims-customization.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

@lunar87 Thanks for your feedback! We will investigate and update as appropriate.

@lunar87 You can find the page under Enterprise Applications > Your Application > Single Sign-On.  Please find below the screenshot for your reference -

@SaurabhSharma-MSFT for us the "Single sign-on" disappears immediately after it shows up. Any idea what could be causing that?


UI doesn't work inside bootbox popup

  $(".graph-file-import").click ()->
    bootbox.dialog
      title: "Select a graphML or graphSON file to be uploaded for use in a script"
      message: Blaze.toHTML(Template.GraphUploadPopUp)
      buttons:
        success:
          label: "Done"
          className: "btn-success"
          callback: ()->
            alert 'yahoo'

<template name="GraphUploadPopUp">

Upload a graphML or graphSON file

    {{> upload_bootstrap fileTypes=['.graphml','.graphson','.json','.xml'] multiple=true }}
</template>

Clicking Browse brings up the file chooser, but after selection, nothing shows up in the progress bar and clicking Upload does nothing.
I've verified my setup by using the same {{> upload_bootstrap}} in my top-level Home Template and it all works normally
Any clues?

Hi, pleae, if you see that the component is written in Javascript, be of that kind heart and provide examples in javascript. I personally dislike the language, but I respect the preference. Second, your file types list looks suspicious, please check the documentation. Try to download the sources and check your events. My guess that your modal is not opened within the main document HTML, away from the template code and therefore its events are not picked up by Meteor. Check the location of where the HTML of modal is inserted and if it remained in the template. Please reopen if necessary,


Encountered issues during training

When I started training, I got stuck on this interface and couldn't continue training. What is the reason for this?
I hope to receive your help！！！

Hi, I guess the dynamic plots block the training process. There are two suggestions to fix this issue.

Comment out from line 429 to 432 in main.py file (necessary) and use tensorboard or wandb to visualize the real time plots (optional).
or
Run the program with Spyder IDE.

Thanks for help！I run the program with Spyder IDE(version=4.2.2), then the training process image can be dynamically updated, but the number of training rounds cannot be displayed in the terminal.

When i comment out from line 429 to 432 in main.py file, i can see the following info in terminal.

Can't these two types of information be displayed simultaneously?

Well, I saw the process bar is already displayed at the last line of the Spyder Console, I didn't get the state "the number of training rounds cannot be displayed in the terminal", can you provide more details?
As for the spawn model error, try to set the parameter called "sim_time" to 0 in RRC1.world file.
If you'd like to run the program in the terminal, then the best way to visualize the dynamic images is to utilize the third party dependencies. In this case, as I mentioned above, the Tensorboard or Wandb will help. You may check the manual through following links:

Tensorboard: https://pytorch.org/docs/stable/tensorboard.html
Wandb: https://github.com/wandb/wandb

Thank you very much for your answer!


results.pkl   how can i get AP

after results.pkl it gives 3 folder

Task1_results
Task1_results_nms
Transed_Task2_results_nms

what should i do with them???
I need get AP , mAP , ....

You should submit the zip of Task1_results_nms or Transed_Task2_results_nms to the evaluation server (https://captain-whu.github.io/DOTA/evaluation.html).

You should submit the zip of Task1_results_nms or Transed_Task2_results_nms to the evaluation server (https://captain-whu.github.io/DOTA/evaluation.html).

tnx for answering
i upload that and get this:

mAP: 0.3745174540144275
ap of each class: plane:0.5300541025955471, baseball-diamond:0.27181818181818185, bridge:0.43130126717635453, ground-track-field:0.14171122994652408, small-vehicle:0.24575509050331162, large-vehicle:0.25701370866991136, ship:0.7015457849808598, tennis-court:0.5453346126169345, basketball-court:0.3152847152847153, storage-tank:0.09090909090909091, soccer-ball-field:0.18932806324110674, roundabout:0.1655011655011655, harbor:0.6844767188033766, swimming-pool:0.6143607552420431, helicopter:0.4333673229272884

why its not equal your mAP that told in the pdf(thats in order 60-70 in pdf)??? and why its too low???
how can i get more detail( something like pr & recall plot)???
where i can get more .pth files??? i tried to train the other configs but it takes too more time and colab put me out ):
could you give me your checkpoints???pls

您应该将Task1_results_nms 或Transed_Task2_results_nms 的zip 提交到评估服务器（https://captain-whu.github.io/DOTA/evaluation.html）。

请问一下提交后，一般多久可以获得结果？


Update ADOPTERS.md

Hey, I just made a Pull Request!
Adding empathy.co as adopter
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Welcome empathy.co and @guillermotti! 🎉  🎉
Backstage commits must be signed-off (DCO), there's instructions on how to fix that in the failed DCO check.
If you're committing on the command-line with git, you can add a -s flag to commits to sign automatically. This requirement unfortunately doesn't play nicely with the GitHub web UI, if you used that. Eager to merge this once the check is fixed!


VSCode keeps forgetting my python interpreter

Issue Type: Bug

In Terminal navitage to a directory of Python code.
Delete the .vscode directory.
Open VSCode on the directory using vscode .
VSCode asks me to select the python interpreter. Again, For the umpteenth time. Despite the fact that I have a python configured in User preferences.

When I look in User Preferences I see the python interpreter path correctly set (I have confirmed it is correct by copying the path to Terminal and running it). Yet VSCode seems to refuse to use it as the default for new projects. It is maddening.
I'm not sure if it's relevant, but:

My standard python interprefer is a conda python.
~/Library/Application Support/Code/User is a symlink to another directory on my local hard drive (so I can synchronize my settings without logging into github). I made the symlink using ln -s. All other items in ~/Library/Application Support/Code/User are normal.

Extension version: 2021.4.765268190
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:36:32.643Z)
OS version: Darwin x64 20.4.0
I have seen this bug ever since I switched to VSCode (a month or so ago) and on macOS Mavericks and Big Sur.

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 3

Memory (System)
24.00GB (10.04GB free)

Process Argv
. --crash-reporter-id 0ce2be71-8c13-481c-af4d-534ecfe66fa9

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602cf:30294773
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsnew554cf:30291488
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority.
Thanks for your understanding and patience!

Hi @r-owen 👋 what user setting are you using to set it in User preferences? I assume by User preferences you're referring to User settings. Please set both of these setting,
"python.defaultInterpreterPath": "<path to python>",
"python.pythonPath": "<path to python>"

We use different setting key based on whether you're in DeprecatePythonPath experiment or not.
If that doesn't work, please provide the logs as mentioned in the issue template.
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Good question. I figured out how to open my user setting json. Here are the two you mentioned plus my conda path (in case that is relevant, since I use conda python):
"python.condaPath": "/Users/rowen/UW/LSST/lsst_stack/miniconda/bin/conda",
"python.pythonPath": "/Users/rowen/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python",
"python.defaultInterpreterPath": "/Users/rowen/UW/LSST/lsst_stack/miniconda/envs/local/bin/python",

The two python paths match. I have checked the paths by copy/paste to Terminal and they work.

Here is the log information you requested:
User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJediLSPcf'
User belongs to experiment group 'pythonDiscoveryModulecf'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'AlwaysDisplayTestExplorer - experiment'
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'LocalZMQKernel - control'
User belongs to experiment group 'NativeNotebook - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'RunByLine - control'
User belongs to experiment group 'CustomEditorSupport - control'
> pyenv root
> python3.7 ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/bin/conda info --json
Error 2021-05-05 15:29:59: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file '/Users/rowen/UW/LSST/tsrepos/ts_externalscripts/.vscode/settings.json' (Error: Unable to resolve non-existing file '/Users/rowen/UW/LSST/tsrepos/ts_externalscripts/.vscode/settings.json')
	at _handleError (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87:156171)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async y.readText (/Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension.js:9:339523)
	at async p.doesFileNeedToBeFixed (/Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension.js:59:577126)
	at async /Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension.js:59:576253
	at async Promise.all (index 1)
	at async p.getFilesToBeFixed (/Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension.js:59:576199)
	at async p.updateTestSettings (/Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension.js:59:575826)] {
  code: 'FileNotFound'
}
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/bin/conda env list
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Starting Jedi Python language engine.
> ~/UW/LSST/lsst_stack/miniconda/bin/conda env list
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2021-05-05 15:29:59: Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.
Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.
----------Generating Tags----------
ctags --options=/Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/resources/ctagOptions --languages=Python --exclude=**/site-packages/** -o /Users/rowen/UW/LSST/tsrepos/ts_externalscripts/.vscode/tags .
> ctags --options=/Users/rowen/.vscode/extensions/ms-python.python-2021.4.765268190/resources/ctagOptions --languages=Python --exclude=**/site-packages/** -o ~/UW/LSST/tsrepos/ts_externalscripts/.vscode/tags .
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/UW/LSST/tsrepos/ts_externalscripts/setup.py
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/UW/LSST/tsrepos/ts_externalscripts/setup.py
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import flake8"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import flake8"

Linter 'flake8' is not installed. Please install it or select another linter".
Error: spawn /Users/rowen/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ENOENT
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.prefix)"
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.prefix)"
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py site --user-site
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py site --user-site
cwd: ~/UW/LSST/tsrepos/ts_externalscripts
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ~/.vscode/extensions/ms-python.python-2021.4.765268190/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"

Thanks. "python.defaultInterpreterPath" value seems to be different than what "python.pythonPath" carries in your settings, can you point them to the intended interpreter path? I assume that is ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python, and you have already verified it works when run in terminal, can you send me a screenshot of that?
Also, as you can see in the logs, we do attempt to run the selected interpreter but for some reason it gives Error: spawn /Users/rowen/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python ENOENT which signifies /Users/rowen/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python doesn't exist, hence we do not select it.
Can you use Python: Select Interpreter command to select that conda environment instead?

The settings I copied from the user json settings (in my first reply) do have the correct absolute path to the desired Python interpreter. I have no idea where the path ~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python came from. It is not valid because lsst-scipipe is not one of my conda environments. In fact I doubt it ever was valid because the lsst environments have version information at the end of the name, such as lsst-scipipe-0.4.1. I don't use these with my editor because the version is too fluid and I prefer a dedicated environment for my editor tooling.
Here is output from my Terminal that I think approximates what you were asking for:
(local) ~/UW/LSST/tsrepos % ls ~/UW/LSST/lsst_stack/miniconda/envs
eups-base		local			lsst-scipipe-0.4.1	square
(local) ~/UW/LSST/tsrepos % which python
/Users/rowen/UW/LSST/lsst_stack/miniconda/envs/local/bin/python
(local) ~/UW/LSST/tsrepos %

In any case I tried the Python: Select Interpreter command and that seems to have fixed my problem!
Once I issued it and selected my desired interpreter I was able to quit VSCode, delete my .vscode directory, run it again and it did NOT ask for my interpreter. Thank you very much. If you have time to answer: I am curious why this command worked when the automatic "you don't have a Python interpreter" message that had me select an interpreter (every time I opened a directory that didn't have a .vscode directory) did not "stick"?
I'll save that tips and hope not to need it again.

~/UW/LSST/lsst_stack/miniconda/envs/lsst-scipipe/bin/python came from the python.pythonPath setting you mentioned in this comment https://github.com/microsoft/vscode-python/issues/16113#issuecomment-833091478. Please delete that entry if that's invalid. That was likely an old environment which was deleted.
Regarding your other command, I'm not sure why that was the case. We launch Python: Select Interpreter in both cases. Did you have the workspace folder open? Note that it works differently based on whether you have a file opened outside the workspace.
In any case, glad you were able to get it working, closing this issue now.


GodRaysEffect skinning support

GodRaysEffect currently doesn't support masking skinned meshes. Enabling skinning on renderPassMask.overrideMaterial fixes the issue, but maybe there's a more efficient way?

Hi,
thanks for reporting this issue.

Enabling skinning on renderPassMask.overrideMaterial fixes the issue

We'd also need to enable morphTargets then, but you're right that this isn't a very efficient solution. The OutlinePass has the same performance issues.

maybe there's a more efficient way?

Yes, I think it should be possible to avoid the additional render pass by relying on the depth texture of the scene. I was planning on revising the GodRaysEffect next, but I'm not sure when I'll be able to start working on that. For now I'll enable skinning and morphTargets for the GodRaysEffect.

Added preliminary skinning and morph targets support to GodRaysEffect in<EMAIL_ADDRESS>

The scalability of the GodRaysEffect has been improved in<EMAIL_ADDRESS>The effect now uses depth textures to create a masked light scene and no longer re-renders the main scene.


Please provide AsciidocFX as GraalVM / GluonVM Native image for more speed

The recently advances have made JavaFX on mobile a reality, thanks to GluonVM.
So you can provide AsciidocFX as a mobile app for android and iphone, I have tried and I can help.
And also the native image for desktop is surely worth publishing, the difference in speed is CLEARLY felt.
If the main developers need any help in this regard I can help. I am probably going to compile it to native for my personal use.
Thanks

Hi @shashaanktulsyan ,
I would be glad if you contribute for this.

Hi @shashaanktulsyan ,
I would be glad if you contribute for this.

I would like to help, but to be honest, completely end to end I don't think I will be able to deliver. Can we chat or something and I can get to ask some questions about the build process so that I can make a native version out of it ?

Sure, I'm sharing my skype: rahmanusta


i18n(ko-KR): update backend/

Description (required)

update /backend
#9240

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

ko/guides/backend/appwriteio.mdx
Localization changed, will be marked as complete.

ko/guides/backend/google-firebase.mdx
Localization changed, will be marked as complete.

ko/guides/backend/index.mdx
Localization changed, will be marked as complete.

ko/guides/backend/neon.mdx
Localization changed, will be marked as complete.

ko/guides/backend/sentry.mdx
Localization changed, will be marked as complete.

ko/guides/backend/supabase.mdx
Localization changed, will be marked as complete.

ko/guides/backend/turso.mdx
Localization changed, will be marked as complete.

ko/guides/backend/xata.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


This is valid Cron syntax

Turns out this is actually a duplicate of https://github.com/javan/whenever/pull/576, but I prefer the fewer branches in this regex. In the absence of any test demonstrating a functional difference between the two, I'm merging this version. /cc @kibitan


Number of projects fetched

Hi,
Firstly, good job :-)
Nowadays the number of projects fetched from the server is 50 (fix in mainCtrl.coffee:58). For administrators or organizations with a bigger number of projects, this fix number could be a limitation. What do you think about adding a new configurable parameter (as "Number of issues per Page.") for allowing to configure this number?

Today, it has been updated with your PR. please try it :-)


qlog: align reference_time field with qlog spec

Separated reference_time alignment as suggested in pull request #1390

Thanks for the PR! Could you please rebase on top of master to get the CI builds to pass?

@ghedo I think I am up to date with current master branch.
@LPardue Do you have any comments for my response in #1390 ?


Added condition to DELETE images, if last image, then image set is al…

…so deleted. Updated unit tests to reflect this.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
What is it?

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I run make pre-commit to check fmt/vet/lint/test-no-fdo

Codecov Report
Base: 38.05% // Head: 38.12% // Increases project coverage by +0.06% :tada:

Coverage data is based on head (149fb08) compared to base (d2d09de).
Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1685      +/-   ##
==========================================
+ Coverage   38.05%   38.12%   +0.06%
==========================================
  Files          68       68
  Lines        9494     9509      +15
==========================================
+ Hits         3613     3625      +12
- Misses       5443     5446       +3
  Partials      438      438

Impacted Files
Coverage Δ

pkg/services/images.go
32.12% <60.00%> (+0.30%)
:arrow_up:

pkg/services/devices.go
50.43% <0.00%> (+0.32%)
:arrow_up:

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.


test(esl-event-listener): tests for ESLWheelTarget

Tests for #2017

@fshovchko, please manually rebase that PR to save the commit's authorship.

:tada: This PR is included in version 5.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.15.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix(dependency): update plugin to use KUI v10.3.z

Update the plugin dependencies from KUI v6 to KUI v10.3.z and resulting minor code changes (and now including change to correct branch name in package.json from master to main)
BREAKING CHANGE: This version of the plugin must be used with kui-web-terminal that is also using
KUI v10
fix for open-cluster-management/backlog/issues/12072

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Exposing the HTTPS port and the TCP Secure port

I have the clickhouse operator  running inside my cluster and I'm trying to configure it with a ClickHouseInstallation which is shown below.
I'm trying to expose the https port 8443 and the tcp secure port 9440, so that I can connect to my pod through those. What I've tried is:
Attempt 1

    hostTemplates:
    - name: clickhouse-host-template
      spec:
        httpPort: 8123
        tcpPort: 8321
        interserverHTTPPort: 9009
        httpsPort: 8443
        tcpPortSecure: 9440

Attempt 2
  configuration:
    settings:
      https_port: 9441
      tcp_port_secure: 9440

Attempt 3
  configuration:
    files:
      settings.xml: |
        <yandex>
          <https_port>8443</https_port>
          <tcp_port_secure>9440</tcp_port_secure>
        </yandex>

Attempt 4 inspired by this ClickHouseInstallation
    podTemplates:
      - name: clickhouse-template
        spec:
          containers:
            - name: clickhouse-pod
              image: yandex/clickhouse-server:20.7
              ports:
              - name: https
                containerPort: 8443
              - name: secureclient
                containerPort: 9440

I'm expecting to see the https and the tcp secure port in the ports column below but I still just see the usual three ports which are set in the hostTemplate.
NAME                         TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)                      AGE
kubernetes                   ClusterIP   <IP_ADDRESS>     <none>        443/TCP                      5m22s
chi-tornado-tornado-db-0-0   ClusterIP   None          <none>        8123/TCP,8321/TCP,9009/TCP   2m58s

How do I expose the https port and the tcp secure port correctly?

Full installation.yaml
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "tornado"
spec:
  defaults:
    templates:
      podTemplate: clickhouse-template
      serviceTemplate: chi-service-template
      volumeClaimTemplate: clickhouse-storage-template
  configuration:
    users:
      default/password: 12345
    zookeeper:
      nodes:
        - host: zookeeper-0.zookeepers.zoo1ns
          port: 2181
    clusters:
      - name: tornado-db
        templates:
          podTemplate: clickhouse-template
        layout:
          shardsCount: 1
          replicas:
            - templates:
                hostTemplate: clickhouse-host-template
  templates:
    hostTemplates:
    - name: clickhouse-host-template
      spec:
        httpPort: 8123
        tcpPort: 8321
        interserverHTTPPort: 9009
    podTemplates:
      - name: clickhouse-template
        spec:
          containers:
            - name: clickhouse-pod
              image: yandex/clickhouse-server:20.7
              volumeMounts:
                - name: clickhouse-storage-template
                  mountPath: /var/lib/clickhouse
    serviceTemplates:
      - name: chi-service-template
        spec:
          ports:
            - name: http
              port: 8123
            - name: tcp
              port: 9000
            - name: interserver
              port: 9009
          type: ClusterIP
          ClusterIP: None
    volumeClaimTemplates:
      - name: clickhouse-storage-template
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 1Gi

All your attempts are right, but you just change only ClickHouse server settings inside clickhouse Pod
you also need to change serviceTemplate which render Kind: Service
to allow Kubernetes pass traffic to your pods
    serviceTemplates:
      - name: chi-service-template
        spec:
          ports:
            - name: http
              port: 8123
            - name: tcp
              port: 9000
            - name: interserver
              port: 9009
            - name: https
              port: 8443
            - name: http
              port: 9440
          type: ClusterIP
          ClusterIP: None

All your attempts are right, but you just change only ClickHouse server settings inside clickhouse Pod
you also need to change serviceTemplate which render Kind: Service
to allow Kubernetes pass traffic to your pods
    serviceTemplates:
      - name: chi-service-template
        spec:
          ports:
            - name: http
              port: 8123
            - name: tcp
              port: 9000
            - name: interserver
              port: 9009
            - name: https
              port: 8443
            - name: http
              port: 9440
          type: ClusterIP
          ClusterIP: None


Support \n symbols in json string.

Hi. First of all, thanks for the great job you performed all this time. Your tool turned out to be very helpful for me.
My question is: is there any endline symbols support planning in the near future or it violates standard json formatting rules?
For example, this code will crash the framework (C++):
string valueJSON = "{\"test\n\":[1,2,3]}";
json j = json::parse(valueJSON);

with an error: std::invalid_argument: parse error - unexpected '"'; expected string literal
and without \n the parser works ok.
Thanks.
Miroslav

Newlines in strings must be escaped, see.

Therefore, you get a parse error. In version 3.0.0, the error description will be a bit more explanatory.
Your example should read:
string valueJSON = "{\"test\\n\":[1,2,3]}";

Oh, didn't notice this, thank you. Now it works perfectly.


Text display: check ref before trying to set style

Context
saw some console errors when resizing and moving text elements.
Summary
This fixes some issues when resizing text elements and target is null, so trying to set target.style would cause errors.
Relevant Technical Choices
Just checking if target is truthy.
To-do

User-facing changes

Testing Instructions

QA

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[x] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Duplicate of #7147


Create and document serialization format for Quantile Digests

In prestodb/presto#11680, we would like to introduce quantile digests as a type for users to create and save for later.  In order for this to be safe from future updates, a serialization format needs to be created which introduces versioning, and strictly documents the binary format of these serialized qdigests (similar to the documentation that exists for HyperLogLog).

Fixed in #679


Rake task to change ownership of Taxon content items

Currently, most taxons have been created via collections-publisher. We now
moved the taxonomy tools to content-tagger, therefore we should change the
ownership of the Taxon content items so we can edit them on content-tagger.
We can delete this rake task after it runs in production.

👍 Looks good to me

👍


Fix #682: ingestion of Security Hub - part 2

Address #682

Just double checking, but this is meant to fix the KeyError that you messaged me about right? Can you paste in the contents here for posterity?

Of course, the triggering error was:
INFO:cartography.intel.aws.secretsmanager:Syncing Secrets Manager for region 'us-west-2' in account ''.
WARNING:neo4j:FIXME: should always disconnect before connect
INFO:cartography.graph.statement:Completed None statement #None
INFO:cartography.graph.job:Finished job aws_import_secrets_cleanup
INFO:cartography.intel.aws.securityhub:Syncing Security Hub in account ''.
ERROR:cartography.sync:Unhandled exception during sync stage 'aws'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/cartography/sync.py", line 73, in run
    stage_func(neo4j_session, config)
  File "/usr/local/lib/python3.9/site-packages/cartography/util.py", line 73, in timed
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/__init__.py", line 202, in start_aws_ingestion
    _sync_multiple_accounts(
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/__init__.py", line 139, in _sync_multiple_accounts
    _sync_one_account(
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/__init__.py", line 57, in _sync_one_account
    RESOURCE_FUNCTIONS[func_name](**sync_args)
  File "/usr/local/lib/python3.9/site-packages/cartography/util.py", line 73, in timed
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/securityhub.py", line 68, in sync
    load_hub(neo4j_session, hub, current_aws_account_id, update_tag)
  File "/usr/local/lib/python3.9/site-packages/cartography/util.py", line 73, in timed
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/securityhub.py", line 45, in load_hub
    subscribed_at = datetime.datetime.strptime(data['SubscribedAt'], "%Y-%m-%dT%H:%M:%S.%fZ")
KeyError: 'SubscribedAt'
Traceback (most recent call last):
  File "/usr/local/bin/cartography", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/cartography/cli.py", line 441, in main
    return CLI(default_sync, prog='cartography').main(argv)
  File "/usr/local/lib/python3.9/site-packages/cartography/cli.py", line 421, in main
    return cartography.sync.run_with_config(self.sync, config)
  File "/usr/local/lib/python3.9/site-packages/cartography/sync.py", line 150, in run_with_config
    return sync.run(neo4j_driver, config)
  File "/usr/local/lib/python3.9/site-packages/cartography/sync.py", line 73, in run
    stage_func(neo4j_session, config)
  File "/usr/local/lib/python3.9/site-packages/cartography/util.py", line 73, in timed
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/__init__.py", line 202, in start_aws_ingestion
    _sync_multiple_accounts(
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/__init__.py", line 139, in _sync_multiple_accounts
    _sync_one_account(
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/__init__.py", line 57, in _sync_one_account
    RESOURCE_FUNCTIONS[func_name](**sync_args)
  File "/usr/local/lib/python3.9/site-packages/cartography/util.py", line 73, in timed
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/securityhub.py", line 68, in sync
    load_hub(neo4j_session, hub, current_aws_account_id, update_tag)
  File "/usr/local/lib/python3.9/site-packages/cartography/util.py", line 73, in timed
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/cartography/intel/aws/securityhub.py", line 45, in load_hub
    subscribed_at = datetime.datetime.strptime(data['SubscribedAt'], "%Y-%m-%dT%H:%M:%S.%fZ")
KeyError: 'SubscribedAt'


[CLI] Add a version command

In the CLI world it's a common usage and behavior to have a command printing the version of the CLI with -vand/or version command :).
$ cyphernetes
Cyphernetes allows you to query Kubernetes resources using a Cypher-like query language.

Usage:
  cyphernetes [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  operator    Manage the Cyphernetes operator
  query       Execute a Cypher-inspired query against Kubernetes
  shell       Launch an interactive shell
  web         Start the Cyphernetes web interface

Flags:
  -A, --all-namespaces     Query all namespaces
  -h, --help               help for cyphernetes
  -l, --loglevel string    The log level to use (debug, info, warn, error, fatal, panic) (default "info")
  -n, --namespace string   The namespace to query against (default "default")
      --no-color           Disable colored output in shell and query results

Use "cyphernetes [command] --help" for more information about a command.

In cyphernetes it seems that it does not exists.

Thanks for opening the issue @scraly, we'll add this to the upcoming release.
@naorpeled would you like to take this one?
Let's take it internally how we align the program version with the GitHub release.

Thanks for opening the issue @scraly, we'll add this to the upcoming release.
@naorpeled would you like to take this one?
Let's take it internally how we align the program version with the GitHub release.

Sure thing:)


Deploying Infrastructure Stacks manually (via compose)

We are trying a modified version of the Rancher-EBS stack but when deploy it from the UI or via compose the stack ends up as a normal "User" stack instead of getting under Infrastructure as when deployed from the catalog, is there a tag/label that we can use to mark a stack as Infrastructure from the compose files ?

rancher stack create has a --system flag. I don't think anything currently exists in the UI for this use case unless you add your own catalog.

Doesn't seem to work:
$ /home/user/rancher stack create TESTEBS -s -e
1st813
$ /home/user/rancher stack -s |grep TESTEBS
ID        NAME                    STATE       CATALOG                                       SERVICES   SYSTEM    DETAIL
1st813    TESTEBS                 healthy                                                   0          false
`
By the way the CLI Help system needs to be updated , as you can see below the "stack create" (and probably every other stack command) are not documented:
`$ /home/user/rancher help stack
Operations on stacks
Usage: rancher [global options] stacks [OPTIONS] [arg...]
Options:
--system, -s    Show system resources
--quiet, -q     Only display IDs
--format value  'json' or Custom format: {{.Id}} {{.Name}}
`

I've noticed the same problem. "system" parameter for rancher cli doesn't work. The resulting new stack isn't marked as system/infra service.

I was struggling with this issue and realize the rancher-cli restrict creation / update of system stacks with environment api keys. Tried to create a stack with system flag (-s) with account api key and rancher cli creates new stack as a system stack.


Clarification on Data Collection and Usage

Hello,
I'm currently exploring your research paper and its associated codebase on GitHub. In your paper, you mentioned that you used 8 towns and 21 weathers for training. Each town internally has 1 long, 1 short route, and 1 tiny route. I have a few questions regarding the data used in your experiments to better understand your methodology:
Weather Data:
Did you use all 21 weather conditions for training, or did you use a subset of them for specific routes?
If you used a subset of weather conditions, could you please specify which weather conditions were used for each town's routes? For example, did you use the first 5 weathers for town 1 routes and the next 5 weathers for town 2 routes?
Route Types:
In your training routes folder available on GitHub, there are mentions of long, short, and tiny routes. Did you use all three types of routes for training, or did you focus on specific types?
I believe these details will help the community better understand and replicate your experiments. Thank you for your time and assistance in clarifying these points.
Thank you

Hi! Sorry for the late reply
About the Weather Data: we use 0-9 and 15-18 for training, the others for testing. I haven't specified the weather conditions for different towns, which means for all towns we use the same wather conditions in training/testing split.
About the Route Types: we have used all three type of routes for data collection and following training.


Fixed-dots.png doesn't load after refresh in guidelines component

This PR resolves #124
This PR deals with issue on GSOC2021 page on ScoreLab website.In Guidelines Component the background image dots.png doesn't get load after refresh.As i mentioned the issue in detailed in #124.I have add withPrefix to the path of the image in Guidelines Component which may solve this issue in production.

I would request @charithccmc and @wdevon99 to review this PR.


Data set changing

Can I use the UCF Sports Action Data Set instead of the UCF101?

Can I use the UCF Sports Action Data Set instead of the UCF101?

If your data is embedded and labels are available, you can use the following repository:
https://github.com/ms-unlimit/Transformer-Based-Machine-Learning-Framework


groupHideGroupColumns not always respected when grouping

When grouping via the column menu or the tool panel, this setting is respected and the column is left visible in the grid.  When grouping via drag and drop, the column is hidden, counter to the setting on the grid properties.

Possibly related but if you drag a column that is not enabled for grouping into the grouping drop target, it hides the column.  In fact, if you drag a column away from the column header it seems to hide the column.

change is v4.0.x, see change log
Took out property groupHideGroupColumns, if you don't want a column to be shown, just hide it. This feature was not necessary and caused complexity in the design.
this property is not mentioned in any of the docs.
re the second query, if you drag a column out of the grid, it hides. regardless of where you drag it to. you can override this with property suppressDragLeaveHidesColumns


[BUG] !!! CustomerError: : Invalid Monorepo spec provided. The "appRoot" key needs to be a string

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have removed any sensitive information from my code snippets and submission.

Amplify Hosting feature
Backend builds, Monorepo
Is your feature request related to a problem? Please describe:
I had a working app during the last commit. The new commit does not add any code or change any files except for logs (app and src remain untouched). Now every time I try to build the app I get a [ERROR]: !!! CustomerError: Invalid Monorepo spec provided. The "appRoot" key needs to be a string.
Along with an error that states "There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again."
Even though this was never an issue in the previous 34 successful builds of the same app. I haven't modified the build setting or any other feature within the studio in the time since my last commit. Neither have I changed anything in the source code. It doesn't not make sense to me. I have tried surrounding the appRoot key with quotation marks, yet the issue persists. I have also tried using an older branch containing an old version of the app that worked and that too failed. I have also tried building the app on the last working commit and that was also unsuccessful and gave the same error. In short, Nothing was changed but now I can't build any new versions of the same app, despite having the exact same code and settings on the console.
The old deployed version of the app is still accessible on the internet and works just as intended when the last commit was deployed.

I have also correctly set the environment variables according to the provided documentation. I also don't have a amplify.yml file in the repo, although I already tried to include it in the repo to see if it solved the problem but it didn't.
Describe how you'd like this feature to work
I hope this isn't a small oversight on my part. I am raising this issue to see if there is any way I can solve the issue without having to build the entire backend of the app using amplify again. I believe that this is a bug and the error messages might be misleading as the app was build without errors using the same code and build settings a few weeks earlier.

@ullattil I'm having the same exact issue when deploying a new version of an app today. Changes were only text modification in an Astro build, nothing major.
Was working fine before and I also did not make changes to any config or such.
It's also really confusing to get two, completely unrelated, error messages as you said:
Invalid Monorepo spec provided. The "appRoot" key needs to be a string

and
There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again.

I tried reconnecting the repo but that did not work.

Hi 👋 , could you please provide the AppId and also the buildSpec you are using to build your application?

Ok so I spoke with Jay in the AWS Amplify discord and he solved the issue for me, in case it helps @ullattil
We initially had the frontend and backend together and, even though the backend has always been deployed separatelly, because the frontend lived under the frontend directory in the repo, I had to set up the app root with an empty backend:
version: 1
applications:
  - frontend:
      phases:
        preBuild:
          commands:
            - npm ci
        build:
          commands:
            - npm run build
            - mv node_modules ./.amplify-hosting/compute/default
      artifacts:
        baseDirectory: .amplify-hosting
        files:
          - '**/*'
      cache:
        paths:
          - node_modules/**/*
    appRoot: frontend
  - backend:
      phases:
        build:
          commands:
            - amplifyPush --simple

We've recently moved the backend and frontend separately, so I modified the app root a couple of weeks ago:
...
    appRoot: .
...

Jay said that "We recently added a check which validates if this attribute within the buildSpec is accurate and if not the build would fail." And thus the reason for the error we began experiencing.
I solved it by changing my build spec and removing the backend and appRoot completely:
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
        - mv node_modules ./.amplify-hosting/compute/default
  artifacts:
    baseDirectory: .amplify-hosting
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

I am having the same issue and it is not yet resolved even after removing the app root and backend from the yml file.

I tried all the solutions on the previous comments without any success. After reviewing the AWS Amplify hosting documentation again (https://docs.aws.amazon.com/amplify/latest/userguide/monorepo-configuration.html) I modified the syntax of my amplify.yml file and this solved the bug. Basically, for monorepo aplications, the appRoot becomes the main node that encapsulates the environments like this:
version: 1
applications:
- appRoot: apps/react-app
env:
variables:
key: value
backend:
phases:
build:
commands:
- enter command
frontend:
buildPath: / # Run install and build from the monorepo project root
phases:
build:
commands:
- enter command

@martin-stefan Can you please share your build spec?

This is what it looked like before removing appRoot. The structure of my monorepo is:
monorepo
    frontend
        frontendReactApp
        awsLambdaBackend

yml file:
applications:

  - frontend:
      phases:
        preBuild:
          commands:
            - npm ci
        build:
          commands:
            - npm run build
      artifacts:
        baseDirectory: build
        files:
          - '**/*'
      cache:
        paths:
          - node_modules/**/*
    appRoot: frontend

  - backend:
      phases:
        build:
          commands:
           - npm i -g @aws-amplify/cli
           - amplifyPush --simple

My environment variable looks like:
AMPLIFY_MONOREPO_APP_ROOT | frontend

I tried all the solutions on the previous comments without any success. After reviewing the AWS Amplify hosting documentation again (https://docs.aws.amazon.com/amplify/latest/userguide/monorepo-configuration.html) I modified the syntax of my amplify.yml file and this solved the bug. Basically, for monorepo aplications, the appRoot becomes the main node that encapsulates the environments like this:
version: 1 applications:   - appRoot: apps/react-app     backend:       phases:         build:           commands:             - enter command     frontend:       phases:         build:           commands:             - enter command

I tried this and it finally fixed the issue I had, Thanks a lot for every ones contribution, I will keep this issue open for another week in case someone else is also migrating to the new format.

I was able to fix this issue by changing my yml from:
applications:
  - frontend: ...
    appRoot: frontend
  - backend: ...

to:
applications:

  - appRoot: frontend
     frontend: ...
     backend: ...


Feature request: providing a linux-arm64 build

Hi,
Could it be possible to provide wheels for GNU/Linux on arm64 architecture?
Not familiar with Rust’s build system, but my understanding is that adding aarch64-unknown-linux-gnu (for GNU glibc) and aarch64-unknown-linux-musl (for MUSL libc) to the target matrix should be enough?

Sure - done! Should be on Pypi shortly.

Thanks!


The update of the onPartyChange event is unreliable, so player.job may be inaccurate.

The entire text was generated by a translation software. If there are any parts that are not clear, please let me know.
Outside of duties (such as hunting, Timeworn Maps, etc.), if a party member changes their job, it will not trigger the onPartyChange event.
Consequently, we often observe situations where healers/DPS use 'Provoke'.
This trigger will promptly update the job, addressing the aforementioned issue.
{
  id: 'General Update Player Job',
  type: 'AddedCombatant',
  netRegex: {},
  condition: (_data, matches) => {
    return matches.id.startsWith('1') && matches.job !== '00';
  },
  run: (data, matches, _output) => {
    const target = data.party.details.find((v) => v.name === matches.name);
    if (target) {
      target.job = parseInt(matches.job, 16);
    }
  },
},

But perhaps a better solution would be to modify the triggering timing of OverlayPlugin's PartyChange.

I think we could add a handler for AddedCombatant to party.ts (e.g. onAddedCombatant) with this code, and then call it from popup-text.ts OnNetLog as needed.

But perhaps a better solution would be to modify the triggering timing of OverlayPlugin's PartyChange.

Also, yes. Fixing OverlayPlugin to have more reliable party events would also help here, but I think that's much harder.

Re: Fixing OverlayPlugin events, I have an open PR for this but I'm working on what I believe is a better solution that doesn't rely on updating FFXIVClientStructs every patch, but it's still very much work in progress unfortunately.

This should be fixed by https://github.com/OverlayPlugin/OverlayPlugin/pull/226


error in condition in file RemotePharVerifier

https://github.com/koto/phar-util/blob/master/PharUtil/RemotePharVerifier.php#L2
Missing a closing parenthesis )
Thank you !

fixed in trunk, will release next version this week. thanks for noticing!

Fixed in 0.6.1


groupby() fails with a stack trace when Dask 0.15.3 is used

Hi xarray team!
Our unit tests broke when Dask got updated to 0.15.3, after a quick investigation it became clear that groupby operation on an xarray Dataset fails with this Dask version.
The following example:
import xarray as xr
import numpy as np
import dask

def plus_one(da):
    return da + 1

print(xr.__version__)
print(dask.__version__)

ds = xr.Dataset({
    'first': (['time', 'lat', 'lon'], np.array([np.eye(4, 8), np.eye(4, 8)])),
    'second': (['time', 'lat', 'lon'], np.array([np.eye(4, 8), np.eye(4, 8)])),
    'lat': np.linspace(-67.5, 67.5, 4),
    'lon': np.linspace(-157.5, 157.5, 8),
    'time': np.array([1, 2])}).chunk(chunks={'lat': 2, 'lon': 4})

ds_new = ds.groupby('time').apply(plus_one)

Produces the following output when Dask 0.15.3 is used:
0.9.6
0.15.3
Traceback (most recent call last):
  File "/home/ccitbx/Development/dask_test/dask_test.py", line 20, in <module>
    ds_new = ds.groupby('time').apply(plus_one)
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/groupby.py", line 617, in apply
    return self._combine(applied)
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/groupby.py", line 621, in _combine
    applied_example, applied = peek_at(applied)
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/utils.py", line 114, in peek_at
    peek = next(gen)
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/groupby.py", line 616, in <genexpr>
    applied = (func(ds, **kwargs) for ds in self._iter_grouped())
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/groupby.py", line 298, in _iter_grouped
    yield self._obj.isel(**{self._group_dim: indices})
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/dataset.py", line 1143, in isel
    new_var = var.isel(**var_indexers)
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/variable.py", line 570, in isel
    return self[tuple(key)]
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/variable.py", line 400, in __getitem__
    values = self._indexable_data[key]
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/xarray/core/indexing.py", line 498, in __getitem__
    value = self.array[key]
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/dask/array/core.py", line 1222, in __getitem__
    index2 = normalize_index(index, self.shape)
  File "/home/ccitbx/miniconda3/envs/cate-new-dask/lib/python3.6/site-packages/dask/array/slicing.py", line 762, in normalize_index
    raise IndexError("Too many indices for array")
IndexError: Too many indices for array

It works as expected when Dask < 0.15.3 is used.
I don't have enough understanding regarding what's really going on in Dask-land, so I leave it to you guys to open an issue in their Issue tracker if needed!

It looks a duplicate of #1591.
This bug is issued in the upstream.

Yes, must be the same issue. Thanks for fixing it! Feel free to close this as a duplicate.


Alien race bug fix #643 & #642

Hi Hoff,
Finally got used to github.
This is a pull request that fixes some issues with HAR compatibility.
BR
Brust

After doing some digging and talking with Brrainz he pointed me to this article he wrote:
https://harmony.pardeike.net/articles/execution.html#anatomy-of-a-patched-method
Reapplying transpilers is not needed because Harmony does that on its own already.

Actually you do need to apply them :
While the transpiler does get applied to the original method to generate a modified method, that gets entirely bypassed by the destructive prefix introduced by RT.
What we are transpiling is the prefix in RT... not the original method in RW .

Yes you are right. This one can be merged.


Compute: Hierarchical navigation for models

– Hierarchical tree shall be used  for navigation that dynamically updates the list of icons on the right side of screen
– Search / Tag functionality works simultaneously with Hierarchical tree

@alex-aprm is it true the groups are now hard-coded?

If so, we'd still need the groups editor to assume this completed.


"Puzzle not created because the form was invalid." doesn't explain why the form was invalid

I think it was invalid because I included a URL that wasn't valid.

Ah, yes, I can repro this easily. Thanks for reporting.

Going to take the assignment for this one since the errors have changed with the new API.

This error doesn't exist any more in the React UI. The API returns more descriptive error messages when adding a puzzle so I don't think this is an issue.

This error doesn't exist any more in the React UI. The API returns more descriptive error messages when adding a puzzle so I don't think this is an issue.


added serde derives for messages

This PR adds a derive-serde feature flag so that generated mesages can be sent over non-ROS transport layers.
I couldn't figure out how to build rosrust, so I have no idea if this compiles, please forgive obvious mistakes.

Does this build for messages that have fixed arrays of very long length? For example, geometry_msgs/TwistWithCovariance.


Support Alternate Icons

WIP for supporting alternate icons

Looks like the AlternateIconsInsert action is failing.

Had to put up a PR in rules_apple to get past our issues in the integration tests: https://github.com/bazelbuild/rules_apple/pull/1671

What a journey! Thanks @maxwellE!


PDF Renderer not working

I am getting an error when I try to load PDF file. It was working fine before your last upgrade. I see the code modified and I see that the pdf-dist module is removed from the package.json, but the workerSrc is added from the same module: https://github.com/Alcumus/react-doc-viewer/commit/30c429c7b415ef352d3abb83576f30534cd88970.
A screenshot of the error is attached.

@ruchirV This GitHub repo is related to @cyntler/react-doc-viewer. Your issue concerns another repo - original that I forked from. Are you sure you you are using @cyntler/react-doc-viewer? Your error on the screenshot tells about react-doc-viewer.


Query for Active/Passive batches by Resource

How to check for the batches that occupying a given resource at either Active and Passive status?

Implemented in Version 3.7


Can't open windows programs in WSL2 after leaving PC on for a while

Version
Microsoft Windows [Version 10.0.19042.1348]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu-20.04
Other Software
Any Windows software that you can launch with WSL2
Aka the commands like code
Repro Steps

Leave PC on for a very long time (Around a few hours)
Then try to run code
Program does not launch open and you have to Ctrl C out of it.

Expected Behavior
Program should launch open, even when leaving my computer on for a very long time.
Actual Behavior
When running a command like code, it will show no message nor the windows program will appear.
Diagnostic Logs
No response

I had the same on Windows 11 Pro 21H2 build 22000.318 with Ubuntu 20.04 on WSL2.
I was unable to run Intellij Idea with project stored on wsl or even enter wsl directory in Windows File Explorer - it was loading endlessly.
When I tried to open wsl shell in Windows Terminal it showed blank window although I was able to enter wsl by calling wsl.exe in powershell.

/logs

I'm not going to provide logs for this one since I have some private stuff that I don't want to show on my screen and the feedback hub seems to record all of your monitors. Hopefully someone else can provide them.

Just found out, this is no longer an issue with how long it stays open now.
It does open when its under the /mnt/c/ directory. But if it's under any other directory, it will refuse to open.
Note that if I do code in any directories under /mnt/c, I can navigate to the directory I want to in vscode in wsl mode.

Attempted to update and upgrade Ubuntu, it didn't seem to do anything. Especially when running wsl --shutdown in powershell and starting Ubuntu again.

Oddly enough when executing a command like code, you can type anything in afterwards though nothing executes, aka the only way to leave is to Ctrl C.
https://user-images.githubusercontent.com/16618467/143319523-a72b6656-aaab-4445-9648-a4f52c33f492.mp4

I have the same problem on Windows 11. When I try to reach my files that are located in my /home directory like \\wsl$\Ubuntu\home, or just trying to execute explorer.exe . - explorer is not able to open it, just an infinite load bar is displayed. wsl --shutdown doesn't help. Only Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux => reboot => Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux => reboot => wsl --shutdown helps. But in a few minutes, sometimes 10 or more, it is always random, the access to \\wsl$\Ubuntu  is disabled via the explorer.

Adding what I've found:

You can only open a Windows exe two or three times before it stops
Restarting WSL via wsl --shutdown or wsl --terminate does not help
Full reinstall of the distro using wsl --unregister does not help
A full reboot of the host Windows OS is required to get applications to start working again for a short time
An strace between a working (/mnt/c) and non-working (/home/) showed nothing but an exec and then output stops
Distribution isn't a factor, used Ubuntu 20.04 and 21.04 community preview and both had the same issue (I can't remember if one breaking also meant the other breaking however, I think it did but I'm not 100%)

Now some good news however, I've narrowed it down to Windows Subsystem for Linux Preview from the Microsoft Store. If you go into apps, uninstall it and reboot then launching apps from non-Windows dirs will stay working. I'm at 12+ hours of exe's launching.

I don't have Windows Subsystem for Linux Preview in the Microsoft Store though I do see Windows Subsystem for Linux Update in Apps & features in Settings

Now some good news however, I've narrowed it down to Windows Subsystem for Linux Preview from the Microsoft Store. If you go into apps, uninstall it and reboot then launching apps from non-Windows dirs will stay working. I'm at 12+ hours of exe's launching.

I have Windows Subsystem for Linux Preview, and sometimes it works for a long period of time, but then something goes wrong, and explorer and my IDE hang. So, I have to reboot, and sometimes do the manipulations I have mentioned in a comment above. After it will work for a couple of minutes.

I wonder if this issue is caused from upgrading Ubuntu?

Someone told me to check to see if mono is installed on ubuntu. They told me that mono installs a binary handler which is what I was told of.
They told me to do apt list --installed | grep mono to see if mono was installed.
This is the output I then got:
ubuntu-mono/focal,now 19.04-0ubuntu3 all [installed,automatic]

After that I was then told to run this command: sudo apt remove ubuntu-mono
Now I can run windows programs again on wsl2 anywhere. I'm not sure if this will work for other people.

For anyone interested in investigating this issue further, look into removing the binfmt_misc handler for mono; that clashes with the handler for windows PE2 exes because they have the same magic number.


[release-4.15] OCPBUGS-26600: set KAS runtime-config in alignment with feature gates

manual pick of https://github.com/openshift/hypershift/pull/3377 due to https://github.com/openshift/hypershift/pull/3304 not needed in 4.15

/test e2e-aws

/test e2e-aws

/lgtm

/jira refresh


Front End Development -> JavaScript Basics -

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

Hi @.
Thanks for reporting this issue.
Here are some next steps that you should follow before we can help you with your query:

Check these troubleshooting steps first.
Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

IMPORTANT:
Please NOTE that this tracker is for reporting bugs and enhancements to freeCodeCamp's code base only.
Happy Coding!


Change Default Behavior of "fix_com" and "fix_orientation"

Describe the bug
I've been bitten by this multiple times. I forget that unless I explicitly tell QCElemental to not rotate or translate my molecule, it does. And then I wonder why there's no gradient in the z-axis, or something like this.
I think a better default is to not change people Molecule objects unsuspectingly unless they explicitly tell QCEl to do it. How about swapping out these defaults to True?
Code here: https://github.com/MolSSI/QCElemental/blob/8e5a8cff52a6438ff9d6c1c6bbf1aeb4f02f12e1/qcelemental/models/molecule.py#L263-L282
To Reproduce
Pass any .xyz file or geometry to Molecule. Get surprised when you suddenly have a different object on your hands with a different geometry! Or worse, do calculations and get confused about why gradients are suddenly missing components along the z-axis!
Expected behavior
If I pass a geometry and don't tell QCElemental to mess with it, I expect that Molecule object to faithfully represent the data I passed it upon instantiation. If I explicitly tell QCel to translate and rotate my object, then I'd expect it to do so.
Additional context
If you agree with changing this default behavior let me know and I'll create a PR.

I agree that it can be surprising -- I've gotten burned myself. A lot of QC programs do the same by treating input cartesians as eligible for reorientation. I think it's a case of either default will surprise in a good fraction of cases, so best to leave as-is. It wouldn't be too hard to switch here, but a lot of QCEngine logic would change.
That said, the description you quoted about QCEl pre-processing the Mol doesn't ring quite true to me (though I could be mistaken). It sounds more like what QCPortal might do rather than the Mol constructor alone.

For my own edification, why do "a lot of QC programs do the same by treating input cartesians as eligible for reorientation"? I don't actually know why this would be considered desirable--what's the intention behind doing this?

It's a lot easier to detect and exploit symmetry when molecules are in the "standard orientation", which reduces cost. It also just generally makes things consistent (in the standard orientation, principal/highest order rotation axis gets aligned with the Z-axis).
See for example, Gaussian: https://gaussian.com/symmetry/

Another thing to watch out for is that some QC programs shift to center of mass, and some shift to center of charge (so that isotope substitutions use the same frame).

Yikes! Thanks for the heads up!
If using QCEngine and I set fix_com and fix_orientation to True will this prevent all the various harnessed programs from doing these things?

If using QCEngine and I set fix_com and fix_orientation to True will this prevent all the various harnessed programs from doing these things?

It's supposed to, but testing rolled out after several of the harnesses, so I can only vouch for the ones I worked on and tested: https://github.com/MolSSI/QCEngine/blob/master/qcengine/programs/tests/test_alignment.py#L88-L95


Minecraft 1.7.10 Unable to lock

LWC Version: 1.9.6
Server version: Spigot 1.7.10
Short five word summary of issue:
All items are packaged in the configuration.
Unable to lock
Detailed description of problem:
Unable to lock, the background did not prompt any errors.

Thanks for the report. It looks like 1.9.6 only supports MC 1.8 or higher. This was a mistake on the plugin page. I apologise for the inconvenience.
You'll need an older version of LWC. I'm not sure where you would find this, however. Good luck!


ActualEquipment :: EquipmentType :: version

No default value defined in the ONF CoreIM.
In general, it is expected that a valid entry in this field is supporting identifying the right components in the live network.
If some component would not have a version, or the device not provide such information a default value should be provided.
Potential Proposal:
The two entries for the version in the two tables in §31 of chapter 9 of the TransmitterEquipment Spec. shall be complemented with the following statement "If some vendor, respectively hardware would not apply the concept of versions, an empty string shall be provided. If the device would apply versions, but not be able to provide the version information, "Version not yet provided." shall be represented as a default."

Potential Proposal to the LF ONMI x-haul call on ?th of ? 2024:
The default value of the EquipmentType :: version attribute (both ActualEquipment and ExpectedEquipment) has already been covered in Equipment issue#38.
If decided as proposed, this issue would be a duplicate and shall just be closed.

Issue has been closed without further activity after Equipment issue#38 has been decided as proposed.


Unexpected mis-matched flows in eLCI.csv

In the latest eLCI model inventories (e.g., solar, solarthermal, wind), emissions are already mapped to the FEDEFL, which is causing our flow mapping to fail. For example, '1,3-Butadiene' does not match any source flows in eLCI, but matches a target flow.
https://github.com/USEPA/fedelemflowlist/blob/7f2550a383a026ade3d23c8b0e3f6d1ba411bdd3/fedelemflowlist/flowmapping/eLCI.csv#L1206
The result is that mapped flows are being dropped from our inventories.
It would be nice if all the mapped FEDEFL flows were also listed in the sources (i.e., no change; map to itself). If there is an alternative recommendation to updating the CSV, I'm happy to take suggestions.

@dt-woods - any tips on the setup to be able to get to a place to test this?
I am trying to run:
df = get_upstream_process_df(2020)
but get a KeyError: 'fuel_group' in
File ~\Code\src\electricitylci\electricitylci\coal_upstream.py:617 in generate_upstream_coal_map
coal_criteria = eia_fuel_receipts_df['fuel_group']=='Coal'
This is on KeyLogic dev branch

Another option would be to use esupy's apply_flow_mapping() which was intended to help streamline mapping operations across packages. I think in this case you could use keep_unmapped_rows=True, but that would only work if you want to keep all unmapped flows, not just those flows that are already FEDEFL.

Because of how the flow names were adjusted (made lowercase) and contexts were added, but FEDEFL UUIDs were not maintained, I determined this solution above is not possible at this time. In the future it would be good to revisit when and how different input files are integrated and mapped.


[Issue]: Symlink seems not working in exFAT filesystem

What happened?
I tried run nvm install 20.12.1 and nothing wrong happend, but when I tried run nvm use 20.12.1, although UAC pop up and nvm promped Now using node v18.18.2 (64-bit), but I still cannot use node and there's no nodejs symlink created in my node folder.
What did you expect to happen?
The nodejs folder should be created correctly.
Version
1.1.11 or newer (Default)
Which version of Windows?
No response
Which locale?
Asian
Which shell are you running NVM4W in?
PowerShell
User Permissions?
Standard Use, Non-Elevated
Is Developer Mode enabled?
Yes
Relevant log/console output
No response
Debug Output
misaliu is not using admin or elevated rights.

pwsh in misaliu
Windows Version: 10.0 (Build 19045)

Windows Developer Mode: UNKNOWN (user cannot read registry)

NVM4W Version:      1.1.12
NVM4W Path:         D:\Develop\nvm\nvm.exe
NVM4W Settings:     D:\Develop\nvm\settings.txt
NVM_HOME:           D:\Develop\nvm
NVM_SYMLINK:        D:\Develop\nodejs
Node Installations: D:\Develop\nvm

Total Node.js Versions: 1
Active Node.js Version: none
(run "nvm use <version>" to activate a version)
NVM_SYMLINK does not exist yet. This is auto-created when "nvm use" is run.

IPv6 is enabled. This can slow downloads significantly.

PROBLEMS DETECTED
-----------------
"pwsh in misaliu" is not an officially supported shell. Some features may not work as expected.

Find help at https://github.com/coreybutler/nvm-windows/wiki/Common-Issues

Anything else?
No response

I guess I found the issue:
My D: partition, for some reason, is using exFAT filesytem, and I found some posts about Windows cannot create symlink on exFAT (at least now)^* so I reinstall nvm to my C: partition (which is using NTFS filesystem) and everything works fine.

Glad you got it working. I was not aware of the exFAT limitation for symlinks. Thanks for bringing that to my attention. It's something to consider for Runtime.


dnd research

gather information on the rules of DND and how to properly build a character

Put DND Info into google docs for easy access


Image Vectors do not render on Retina iPads on iOS 8+.

Right off the bat, I've got to tell you this is a weird one. (I've spent the better part of two weeks trying to figure this out.)
The Problem
As the title says, Image Vector layers will not render on Retina iPads running iOS 8+.  They even render on Retina iPads running iOS 7. Most telling of all, they render on Retina iPads running iOS 8+, if you set pixelRatio to 1. (Actually, any number lower than about 1.8.)
I only have access to an iPad 2, and multiple iPad 4th gens; I've not been able to test with an iPad Air or Air 2.
Reproduction

Test Case: https://gist.github.com/Morgul/364c2e94be23e7ba6e56

I've been able to reproduce this in multiple openlayers 3 applications. I've tested all of the 3.0.0-gamma releases and the current v3.0.0 release. All have this bug.
(The Vector Image example on the site does not show the bug, however, copying the code from the example, which is my test case, it demonstrates the problem, so I'm guessing something about the examples site causes the pixelRatio to get calculated as < 2.)
Steps to reproduce

Serve the files from the Test Case above using any web server.
Navigate to the page on an iPad with a retina class display.
You will not see any of the image vectors drawing.

To work around:

Add pixelRatio: 1 to the map configuration.
Navigate to the page.
You will now see the Image Vectors render.

Impact
For us, as iPad is one of the launch platforms for our application, this is important. We need Image Vectors because we have a maximum of ~2000 polygons (averaging ~7 points each) that we need to draw on the screen at once. (That number may go up at any time; these are farmer's fields, and if any of our farmers merge their operations, that can increase that total number.) Currently, Vector performance simply isn't good enough to handle this.
For now, the pixelRatio work around is fine; but as one of our selling point is our high resolution imagery, we'd prefer to support the high-dpi screens. But, as this seems to be a very odd bug, likely in mobile safari, we may simply be stuck with this for now, and I get that.

Having the same problem on retina devices.
We would like to use Image/ImageVector together with a dynamically generated GeoJSON source to render a large grid of rectangles (<1200).
Using an  IPad 4 / iOS 8.1.3 VectorImage seams not able to render. However the example on openlayer.org mentioned by @Morgul works.
We made sure the map renders without errors. We also saw that the style function added to VectorImage gets called and only when I add pixelRatio = 1 to the map configuration the layer is able to render. I guess its the same for other retina devices.
I tested my implementation against Android 4.4.2 / chrome 39.0.2171.93 on a Samsung SM-T520 and Windows 7 / 40.0.2214.111 m both work fine.
Here is a gist with a code snipped showing how we use ImageVector:
https://gist.github.com/piscis/0ec630e3a080de5975b1
For now I added pixelRatio:1 to the constructor of the map what implications does this have?

@piscis As far as implications, it means the entire map (images, vectors, etc) are being rendered at a pixel ratio of 1; they will be scaled up to the retina resolution. This tends to make images look 'fuzzy' or 'pixelated'. While it will clearly look better without that work around, my testing showed that most of my users don't notice, given that the imagery has a limited resolution anyway. I can tell, and am painfully aware of the drop in quality, but that's to be expected.
@elemoine, @bartvde You guys have any more thoughts, or ways we can dig into this? I just tested, and I can't reproduce it in Chrome's device emulation mode on desktop; it seems to only happen on a physical iPad.

It's an iPad physical limitation. See https://developer.apple.com/library/mac/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html
"The maximum size for a canvas element is 3 megapixels for devices with less than 256 MB RAM and 5 megapixels for devices with greater or equal than 256 MB RAM."

@Morgul thanks for the clarification!
@fredj wow I didn't know that. Thanks for sharing.
Is there any way to have an option for Image / ImageVector to subsample the information before its rendered to the OL canvas?

Closing due to lack of activity.