Template not found and other installation issues

Carrying over from the Doccano repo. I cannot run the Annotation tool. It gives me a Template not found error. I tried it with both the docker and without. Installation completes but with errors.
System: MacOs Mojave 10.14
Python: 3.7.6
Django: 3.0.7
Node.js: 12.18.0
Without Docker installation gives this error:
ERROR: mixer 6.1.3 has requirement Faker==0.9.1, but you'll have faker 0.8.8 which is incompatible.
Then the
make build-statics
Returns this error:
cd src/piaf/front/static && npm run build
/bin/sh: line 0: cd: src/piaf/front/static: No such file or directory
make: *** [build-statics] Error 1

If I run the npm run build manually where the package.json is via npm run build then I get

><EMAIL_ADDRESS>build /Users/ozan/repos/piaf/src/piaf/front
> vue-cli-service build --dest '../static/front' "package.json"

sh: vue-cli-service: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>build: `vue-cli-service build --dest '../static/front' "package.json"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR!      /Users/###/.npm/_logs/2020-06-18T06_41_17_498Z-debug.log

Anyhow, I was able to finish installation somehow via Python and Docker and then TemplateNotFound error shows up when I try to launch the app.
Thanks,
Ozan

Thanks for your issue. One thing you can do is install vue/cli globally on your computer by typing npm install -g @vue/cli
This should do the trick.
Note :  if you don't want to do that, you can switch to the docker implementation.
Please try this and let me know if it works. About the Docker problem, I'll have to look deeper since it works on my machine

Thanks, that did not work.  Received all kinds of npm deprecated warnings and finally
npm install -g @vue/cli
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

Then I thought this was a permission issue and ran it as sudo, similar situation and then the front end does not work.  I will try to re-install via  Docker and report but this seems like a dead-end for me.

Let's come back to docker installation. I just tried installing Piaf from scratch again, and it works on my machine. So maybe there is something I don't explain right in the README.md ?
Can you tell me what log error are you seeing ?
Note: don't forget the line cp .env-example .env otherwise, you'll see some log error like

django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

@oersoy1 did you manage to install and run Piaf through Docker ?

Without docker, the step make build-statics fails with below error
sh: 1: vue-cli-service: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>build: vue-cli-service build --dest '../static/front'
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

I will have a look ASAP, thanks for your feeedback

Hello,
Sorry for the delay.

I added in the prerequisite the VueCli
I modified the script for make build-statics in order to avoid the missing static folder.
Is it working now @oersoy1 and @arunzz ?

Hello,
I just cloned the repository, here are the issues I came across:

Faker in requirements is 0.8.8 whereas another dependency is requesting 0.9.1, pretty straightforward to fix
Login page displays correctly, after logging in, comes the next issue
TemplateDoesNotExist at /app/ , for this one, I tried make build-statics (had to manually create the static folder though), but this issue persists

Quick update: Actually it works, it's just taking a very long time to build resources. The web server is up before the static finishes the build. So wait for: webpack_1   | --> build => bundle finished

I updated most packages today. You shouldn't see any issues previously mentioned. Feel free to re-open this issue if it doesn't fix your problem


Error with RNNs

I have tried to use it with RNNs and I get the following error:
KeyError: 'lstm'  with LSTMs, KeyError: 'gru'  with GRUs, KeyError: 'simplernn' with SimpleRNNs ...
Did anyone else experience this behavior? It is not supported for RNNs?

Hi Jokin,
DeepLIFT does not have an implementation that supports elementwise operations. I recommend looking at DeepSHAP in the SHAP repository, which builds on the connection between the SHAP method and DeepLIFT and has support for RNNs.


UI-9384 - Preserve KPI titles when migrated KPI widgets from 4.3 to 5.0

This ensures that KPI titles manually entered by users on Atoti UI 4.3 are still honored when they open their dashboards after a 4.3 -> 5.0 content migration.

The changes might seem bigger than expected. It is because both Atoti UI 4.3 and 5.0 use the unique names of its members in order to identify a tuple, but they don't do it in the same order unfortunately.
Atoti UI 5.0 does:

fields on columns (including measures if present)
fields on rows (including measures if present)

Atoti UI 4.3 does:

fields on rows (including measures if present)
fields on columns (including measures if present)

@antoinetissier can you have a look at the last commit and make sure this is what you had in mind?

Can it actually happen that a hierarchy is not expressed in the tuple (i.e. that namePath is undefined) ?

It can legitimately happen:

add Currency and create a title
remove Currency
add City and create a title

=> There is a tuple in legacyTitles which does not have any entry for [Geography].[City]. If we throw an error here in this case, it means that we fail to migrate the KPI titles for this widget. So I think that we shouldn't throw here.
I also think that your suggestion still works in this case.

Right, with this in mind we shouldn't throw, although then cleaning up the obsolete titles would be better than not doing anything IMO.

I'll merge this: I consider the cleanup as out of scope here. I think that it would be nice to have it as a part of Admin UI, rather than coupled to the migration script. For instance, we could have a "Clean up" button that does an audit of the content and offers clean up actions to the user, like removing stale references to tuples from widget states or deleting saved dashboards/widgets/filters that do not have an entry under structure.


Refactor ByteBlockPool so it is just a "shift/mask big array"

While working in the code base I stumble with this TODO and this issue so I give it a try to simplify ByteBlockPool so it does not contain specific logic for terms.
The result here is that I moved all the  hairy allocSlice stuff as static method in TermsHashPerField and I introduce a BytesRefBlockPool to encapsulate of the BytesRefHash write/read logic.
I updated javadocs accordingly.

While working in the code base I stumble with this TODO

Yay, TODO mining for the win :)  We should scour our TODOs more often!

I run luceneutil for wikimedium10m and I don't think it shows any slow down (I find hard to understand the output):
                            TaskQPS baseline      StdDevQPS my_modified_version      StdDev                Pct diff p-value
     BrowseRandomLabelTaxoFacets       48.70     (42.5%)       41.90     (42.5%)  -14.0% ( -69% -  123%) 0.299
       BrowseDayOfYearTaxoFacets       37.40     (26.4%)       34.50     (27.0%)   -7.8% ( -48% -   62%) 0.358
            BrowseDateTaxoFacets       37.26     (26.5%)       34.40     (27.1%)   -7.7% ( -48% -   62%) 0.365
     BrowseRandomLabelSSDVFacets       19.63     (11.3%)       19.23      (9.2%)   -2.0% ( -20% -   20%) 0.535
                    OrHighNotLow      548.43      (4.7%)      539.05      (3.2%)   -1.7% (  -9% -    6%) 0.180
                        HighTerm      809.05      (4.7%)      797.24      (3.5%)   -1.5% (  -9% -    7%) 0.269
                    OrNotHighLow     1288.89      (4.7%)     1270.45      (4.2%)   -1.4% (  -9% -    7%) 0.312
                        PKLookup      326.62      (3.2%)      322.04      (3.8%)   -1.4% (  -8% -    5%) 0.205
           BrowseMonthSSDVFacets       23.98      (9.0%)       23.67      (2.1%)   -1.3% ( -11% -   10%) 0.526
                   OrHighNotHigh      490.49      (4.3%)      484.16      (4.5%)   -1.3% (  -9% -    7%) 0.355
                    OrHighNotMed      548.16      (4.5%)      543.09      (3.6%)   -0.9% (  -8% -    7%) 0.477
                    HighSpanNear       27.03      (2.6%)       26.78      (2.0%)   -0.9% (  -5% -    3%) 0.210
                   OrNotHighHigh      477.00      (3.3%)      473.00      (3.0%)   -0.8% (  -6% -    5%) 0.397
                      TermDTSort      279.13      (3.8%)      276.83      (4.7%)   -0.8% (  -8% -    7%) 0.539
                        Wildcard      681.29      (2.7%)      676.44      (2.2%)   -0.7% (  -5% -    4%) 0.368
                          Fuzzy2      122.34      (2.6%)      121.56      (2.0%)   -0.6% (  -5% -    4%) 0.384
                         Respell      108.58      (2.4%)      107.89      (1.8%)   -0.6% (  -4% -    3%) 0.343
                      AndHighLow     1251.02      (4.3%)     1243.31      (3.4%)   -0.6% (  -7% -    7%) 0.611
                       MedPhrase      745.27      (2.6%)      740.73      (2.4%)   -0.6% (  -5% -    4%) 0.444
           HighTermDayOfYearSort      635.99      (3.1%)      632.70      (2.9%)   -0.5% (  -6% -    5%) 0.589
                         MedTerm     1336.93      (3.7%)     1330.69      (3.7%)   -0.5% (  -7% -    7%) 0.692
                     AndHighHigh       34.01      (1.8%)       33.85      (1.2%)   -0.5% (  -3% -    2%) 0.337
                         LowTerm     1157.65      (4.6%)     1152.62      (4.0%)   -0.4% (  -8% -    8%) 0.751
         AndHighMedDayTaxoFacets       66.07      (1.5%)       65.80      (2.0%)   -0.4% (  -3% -    3%) 0.440
                          Fuzzy1       99.74      (2.8%)       99.32      (2.2%)   -0.4% (  -5% -    4%) 0.595
        AndHighHighDayTaxoFacets       52.67      (1.4%)       52.51      (1.6%)   -0.3% (  -3% -    2%) 0.515
                      HighPhrase       53.17      (2.6%)       53.01      (2.4%)   -0.3% (  -5% -    4%) 0.706
                     MedSpanNear       56.71      (2.3%)       56.55      (1.8%)   -0.3% (  -4% -    3%) 0.669
                      AndHighMed      197.01      (1.6%)      196.51      (1.7%)   -0.3% (  -3% -    3%) 0.629
                    OrNotHighMed      552.27      (2.8%)      551.27      (2.3%)   -0.2% (  -5% -    5%) 0.824
                HighSloppyPhrase        3.98      (4.4%)        3.98      (5.8%)   -0.2% (  -9% -   10%) 0.919
                 LowSloppyPhrase      246.31      (6.5%)      245.91      (8.1%)   -0.2% ( -13% -   15%) 0.944
            MedTermDayTaxoFacets       90.86      (1.7%)       90.71      (1.6%)   -0.2% (  -3% -    3%) 0.755
                      OrHighHigh       64.09      (7.0%)       63.99      (5.2%)   -0.2% ( -11% -   12%) 0.935
                       LowPhrase       30.38      (2.4%)       30.33      (2.6%)   -0.1% (  -4% -    4%) 0.856
            BrowseDateSSDVFacets        5.28     (18.5%)        5.28     (19.0%)   -0.1% ( -31% -   45%) 0.983
                         Prefix3      357.47      (3.0%)      357.07      (2.9%)   -0.1% (  -5% -    5%) 0.904
                     LowSpanNear       48.78      (3.2%)       48.79      (3.1%)    0.0% (  -6% -    6%) 0.978
               HighTermMonthSort     4113.83      (3.3%)     4115.73      (6.2%)    0.0% (  -9% -    9%) 0.976
                       OrHighLow      816.30      (4.7%)      817.94      (4.6%)    0.2% (  -8% -   10%) 0.892
          OrHighMedDayTaxoFacets        3.63      (6.9%)        3.64      (7.7%)    0.3% ( -13% -   15%) 0.907
                 MedSloppyPhrase      150.12      (6.4%)      150.96      (7.2%)    0.6% ( -12% -   15%) 0.796
               HighTermTitleSort      314.87      (4.9%)      317.15      (4.1%)    0.7% (  -7% -   10%) 0.616
                       OrHighMed      309.56      (6.8%)      312.09      (3.5%)    0.8% (  -8% -   11%) 0.633
                          IntNRQ       83.15     (17.7%)       83.86     (16.9%)    0.9% ( -28% -   43%) 0.876
            HighTermTitleBDVSort       32.41      (2.7%)       32.71      (5.3%)    0.9% (  -6% -    9%) 0.486
       BrowseDayOfYearSSDVFacets       23.79      (8.8%)       24.04      (8.6%)    1.0% ( -15% -   20%) 0.708
             MedIntervalsOrdered      119.02     (11.9%)      120.29     (10.4%)    1.1% ( -19% -   26%) 0.764
             LowIntervalsOrdered      164.17     (11.5%)      166.07      (9.6%)    1.2% ( -17% -   25%) 0.730
            HighIntervalsOrdered       11.13     (15.5%)       11.33     (13.4%)    1.8% ( -23% -   36%) 0.696
           BrowseMonthTaxoFacets       36.32     (30.0%)       39.04     (23.2%)    7.5% ( -35% -   86%) 0.377

I run luceneutil for wikimedium10m and I don't think it shows any slow down (I find hard to understand the output):

Hmm, surprisingly noisy, especially for the biggest regression and anti-regression.  Did this run for the full 20 iterations?  Maybe re-run with wikimediumall?
Actually, sorry, this change should only impact indexing, I think?  We only use this (complex) memory store to store interleaved slices of postings lists?
I think it's fine to leave this to the nightly benchmarks -- let's watch after pushing if they catch any slowdown.  This is otherwise a rote refactoring (separating the logic of packed BytesRef from the paged byte[] storage).

What do you think of making a class like ByteSlicePool to separte concerns from other TermsHashPerField functionality?

This sounds compelling to me.  The byte slicing/interleaving is complex enough to be self contained and separated from both ByteBlockPool (low level block storage) and TermsHashPerField (in-memory postings hash).

Overall, we could do the slices and BytesRef in this PR and I'll try to rebase #12506 after or we can try to merge the two PRs now.

Hmm it looks like this PR was merged already, so I guess @stefanvodita we should continue your ideas in #12506.
Very exciting that two devs are suddenly interesting in improving this complex low level code -- thanks!

I've rebased #12506. I like having a separate class for slice allocation, but if there's disagreement over that, I can put the code back in TermsHashPerField.

Thanks @stefanvodita -- I'll try to have a look soon at your rebased PR #12506.
And thank you for gracefully handling the "two people made very similar changes" situation :)
This happens often in open source, but it's actually a good thing since you get two very different perspectives and the final solution is best of both.


NoClassDefFoundError: org/bouncycastle/jcajce/provider/digest/Keccak$Digest384

IotaAPI api = new IotaAPI.Builder().build();
GetNodeInfoResponse response = api.getNodeInfo();
System.out.println(response.toString());
NoClassDefFoundError: org/bouncycastle/jcajce/provider/digest/Keccak$Digest384
why？

same here, seems like something in the dependencies is missing?

@xiaoGreaat Am I correct that you compiled the repository and linked to the generated jar, instead of importing through maven/gradle? If that is the case you should compile "jota-parent" with the profile "release", and link to the generated jar.
It should look like the following:
jota-[version]-jar-with-dependencies.jar
I will update the documentation for this on the main page.
Thank you for informing us the instructions are not clear enough.

Hey!
Just an update, since we switched to multi-module build, the jitpack dependency automatically links to the one without dependencies included.
A fix is on the way!

Hey @xiaoGreaat @TestTokenGenerator
I have updated the maven instructions in the README.
Our default jar is exported with just our classes, and no dependencies.
If you wish to get the dependencies jar instead, add the following to your <dependency>
<classifier>jar-with-dependencies</classifier>
Example:
<dependency>
    <groupId>com.github.iotaledger.iota~lib~java</groupId>
    <artifactId>jota</artifactId>
    <classifier>jar-with-dependencies</classifier>
    <version>17e0de8ed5</version>
</dependency>

You can replace the version with any other hash (first 10 characters), or a release tag.
Please let me know if you have any questions!


Update to InvalidConfigException message

Update to InvalidConfigException message.
The message referenced a different class and property so could cause confusion with errors.

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

@alex-code would you please add a line for changelog?

@alex-code would you please add a line for changelog?

Done 👍

Thanks!


Fix link to github branch/tag

The link to the GitHub branch or tag is missing in the status page.
https://github.com/alanshaw/david/master : 404
https://github.com/alanshaw/david/tree/master : Correct :smile:

Thank you!


Allow setting access token in the app

Fixes #44 by adding a form in the app where the user can set their GitHub access token.

/cc @probablycorey

Opened #52 as a way to further enhance this.


Missing keypoint coordinate when exporting dataset into coco keypoint 1.0

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
When exporting the dataset(which I had annotated) into coco keypoint 1.0 format,I found that the json is missing the coordinate data of the keypoints,inversely,there were just names of the keypoints,did I misunderstood the function of cvat?Sincerely appreciate for any reply.

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Hello,
What is expected COCO keypoints format? May you refer to official documentation that would say that exported file from CVAT is incorrect?

Hello,
Could you kindly clarify the expected format for COCO keypoints? Additionally, would you be able to point me to the official documentation that indicates the exported file from CVAT may not be in the correct format?
Thank you!
Yes!Here is the official documentation dataset from COCO keypoints annotations:We can see that in this format,the keypoints data are coordinate information,the first two number represent the location of the point and the third number represents if the keypoint is occluded.

Please try to scroll the file down. The section with annotations goes after "categories", which are shown on the screenshot in the issue description.
The format specification is available here: https://cocodataset.org/#format-data

Please try to scroll the file down. The section with annotations goes after "categories", which are shown on the screenshot in the issue description. CVAT can export skeleton annotations in this format. The format specification is available here: https://cocodataset.org/#format-data

Thanks for your reply!Unfortunately,later I found that the problem was when I annotated the picture,I chose the "track" rather than "shape",when I switched to "shape" then the exported json file had the "keypoints number"


Migrate good practice for container images into Containers section

Migrate good practice for container images into Containers section: https://kubernetes.io/docs/concepts/containers/images/ [preview]
(eventually, I want https://kubernetes.io/docs/concepts/configuration/overview/ to disappear - the “configuration” concept should be principally about ConfigMaps and Secrets, rather than a medley of different things broadly to do with configuring something in your cluster).

Sorry about the wait. Updated following feedback.

/lgtm to me

/lgtm


Viewing a TextLog as a TextDocument does nothing -- and we recommend doing so

https://github.com/rerun-io/rerun/assets/2910679/09ed2829-c142-4d08-a2e8-8e6c40f1692d
The opposite is also true and problematic, i.e. trying to view an actual TextDocument as a TextLog:
https://github.com/rerun-io/rerun/assets/2910679/ee77262e-0a6d-42aa-9aad-9285a1317ed4

Let's see if we can do a quick fix for 0.18


Add Robot Tests for hover

Elevator Pitch
We should test hover behaviors.
Motivation
Hover is an important feature for understanding code that should be pretty responsive.
Design Ideas

In 01_Editor.robot, each server that supports hover should have a hover=Message here.
A new keyword, Editor Shows Hover  ${selector}   ${message}. Maybe have a configurable timeout... some language servers probably have a cache.

Working on this now, will PR soon (though not for all servers and in notebooks only - feel free too pick up and add tests in 01_Editor.robot afterwards!)

Kind of depends on https://github.com/robotframework/SeleniumLibrary/issues/1639.
Though I think we could have a setting to show the hover tooltip after n seconds anyways. n > 5

Action chains do work, but are non-obvious... I had to ctrl+shift drag
something once (nightmares). I'll see i can dig it up.

Actually I just realised that I implemented hover in the way that it is sufficient to press the modifier after hover to bring the tooltip up, which is intended so that the user does not have to move the mouse again :)

Extracted the idea of adding delay-based activation to #362.

As of today hover is tested in Hover.robot:
https://github.com/jupyter-lsp/jupyterlab-lsp/blob/7ae3c056ed5092b8081719138ead8d12902434e5/atest/05_Features/Hover.robot#L13-L45
This issue proposed to add a basic test of hover per-server. Given the simplicity of this feature I am not convinced it is necessary; I do think that testing some features for all supported servers is a good thing (e.g. diagnostics as a sanity check "is this server working" + rename because it is very complex) just not sure if the added burden of adding hover to the list is worth it -> I will not be working on it, but if anyone wants to, I am happy to review the pull request :)


Fixed bug blocking parent handler after removing sequence from child

Hey,
we encountered the following problem:
1a) We had a parent HotKeys component that handled enter.
1b) We had a child HotKeys component that handled enter aswell.
2) After the childs handler was called (after pressing enter) we removed the child's handler for enter.
3) The parents handler was still blocked by __lastChildSequence__  although the child doesn't have a handler for that anymore
With the proposed change, this case works for us.
Best
Ansgar

Hey @ansgarm, thanks for the pull request and clear use cas.
Out of curiosity, how did you remove the child's enter handler? Did you unmount that component (but keep the parent mounted)?

Hey Aleck,
we removed the handler from the props (so triggering via
componentDidUpdate).

I've published this fix in v1.1.4.

Perfect, thank you!

Thanks for the pull request. Please let me know if you have any further issues or bugfixes.


network data

Whether it supports network data loading？

You need to load your data as usual, only data binding will change a little. See demo project on how to deal with different sections.

but my section title is network data too，
I added the function and modified setupVerticalStack () to remove the previously added button
 func reloadTitle() {
        setupVerticalStack()
        setNeedsLayout()
    }```

@wxlpp ok. Just pushed version 1.0.1 and now GlidingCollection have reloadData method which does actually what you need. Just make sure that your datasource is up to date!


Added Possible Building Construction in C++ and C

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added Possible Building Construction in C++ and C
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#7058

@ankitaggarwal23  Sir plz review this PR and let me knw if any changes are required.

If only one language is allowed then let me know I will remove the other one. Thank you sir!


Add person list panel in info panel

CLI version will be done after this is merged

Coverage increased (+0.2%) to 92.594% when pulling 4565a0fb8d645d99661d8d8b24383a3acc7a7357 on khooroko:Add_PersonListPanel_in_InfoPanel into 2482da0d5e1ed83c6219390d61d11ffcc98c9043 on CS2103AUG2017-T17-B1:master.

Coverage increased (+0.2%) to 92.635% when pulling 895861beaaf2f2e8220c5a6fc7fcbcab8aa853b2 on khooroko:Add_PersonListPanel_in_InfoPanel into 2482da0d5e1ed83c6219390d61d11ffcc98c9043 on CS2103AUG2017-T17-B1:master.

Coverage increased (+0.2%) to 92.469% when pulling c4e67a48eca285ac600343074fce880221b6a86b on khooroko:Add_PersonListPanel_in_InfoPanel into 12e7bad0ec1e9200c06a42f375df2a7aa8b7bbb0 on CS2103AUG2017-T17-B1:master.


Can I install annyang using npm and webpack?

Expected Behavior
using next command to use Annyang in my application:
npm install annyang --save

and add using it inside my JavaScript code like this using webpack:
var annyang = require('annyang');

Current Behavior
You need to add this html code:
<script src="//cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js"></script>

Possible Solution
Several things to do that. See also this link.
Context
Minify all code inside one JavaScript file named bundle.min.js.

Can I take this up ? I am a beginner on github. Let me know whatI  need to do ? is minification needed for js files ?

the npm module is on https://www.npmjs.com/package/annyang

Try import * as annyang from 'annyang';.

tried to import it that way, but i always get:
[ts] Property 'addCommand' does not exist on type 'typeof "node_modules/@types/annyang/index"'.

You can import with the help of the exports-loader like this:
import annyang from 'exports-loader?annyang!annyang';

or
const annyang = require('exports-loader?annyang!annyang');


Update dependencies other than K8s

This PR updates dependencies other than K8s to the latest.

⚽ 🥅

Trying to get creative for positive icons 😄


Add star button in the homepage list

Clean up webpack config for dev env
Replace the https://microsoft.github.io/HydraLab/ entry, since we won't maintain it in a short time.

Here is how the star button looks like:

Move the star button to the left of the About button

APVD


@default should apply values for create mutations

I haven't tried @default with v0.14.0 yet, but from the documentation it doesn't look like it's going to apply the default values unless I am using Postgres, and it is going to rely on Postgres to handle applying default values on creation.
I think it would be better to also allow create mutations to apply these values. I have a legacy application whose Postgres schema was not created with Graphback, and now I don't believe any of my @default annotations are actually going to work because of this.

Hi @lastmjs thank you for opening this issue.

I haven't tried @default with v0.14.0 yet, but from the documentation it doesn't look like it's going to apply the default values unless I am using Postgres, and it is going to rely on Postgres to handle applying default values on creation.

Yes, current the @default annotation is only taken into account when using the graphql-migrations package and only works for Postgres.

I think it would be better to also allow create mutations to apply these values. I have a legacy application whose Postgres schema was not created with Graphback, and now I don't believe any of my @default annotations are actually going to work because of this.

The team have been exploring ways on how to achieve this and making the annotation agnostic of the underlying database  and we have recently https://github.com/aerogear/graphback/pull/1450 discussed at doing this on the mutation and query level (using mapping) level or the mutation input type level.
This will be a good feature. /cc @craicoverflow and @wtrocki to further triage this .


Request reply need events

fixes #860
can be tested: startup the whole environment normally, shutdown solr matcher, create needs and let matching service save or crawl them, then restart solr matcher, solr matcher should request these needs that were created while it was down. to check this check out its solr index for example
tested this on integration test => seems to work

Tried the steps, but in the solr matcher logs I'm finding this:
[INFO] [10/20/2016 21:31:46.702] [ClusterSystem-akka.actor.default-dispatcher-15] [akka://ClusterSystem/user/MatcherPubSubActor] initialized property 'lastSeenNeedDate' to -1, no need updates requested

@fkleedorfer sorry the steps description was not accurate. This behavior is also intended, but i described the steps wrong. Before stopping the solr matcher at least one need has to be created so that it is sent to the solr matcher and updates its lastSeenNeedDate variable. Then it can be stopped and need can be created, and after restarting it should request and process them.

so in the special case that the solr matcher sees nothing, this would happen:

solr macher is started,
sees 0 needs because none are created
solr matcher is stopped
some needs are created
solr matcher comes up again
solr matcher does not ask for what it missed
If so, this does not sound right to me

@fkleedorfer i made the change that if no need has been seen so far, the last need is requested to get the timestamp eventually
=> pushed to integration-test


Update repositories.txt

@ArduinoBot

Thanks for your interest in contributing to the Arduino Library Manager index @Dhanabhon Please resolve the error(s) mentioned in the previous comment.
After resolving the issue, trigger this check again by doing one of the following:

Commit the required change to the branch you submitted this pull request from.
Comment here, mentioning @ArduinoBot in the comment.

❗ NOTE: It is not necessary to open a new pull request. ❗
More information: https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

@ArduinoBot

Library is missing a library.properties metadata file.

@ArduinoBot

A problem was found with your submission https://github.com/Dhanabhon/TomIBT2
❌ ERROR: Library is missing a library.properties metadata file.
See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata

@ArduinoBot

@ArduinoBot

Thanks for your interest in contributing to the Arduino Library Manager index @Dhanabhon Please resolve the error(s) mentioned in the previous comment.
After resolving the issue, trigger this check again by doing one of the following:

Commit the required change to the branch you submitted this pull request from.
Comment here, mentioning @ArduinoBot in the comment.

❗ NOTE: It is not necessary to open a new pull request. ❗
More information: https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

@ArduinoBot

@per1234 Hi, What happens to my request that "ERROR: Library is missing a library.properties metadata file." In the TomIBT repository already exist the library.properties file.

Hello @Dhanabhon. I see you have fixed the error reported by the bot. However, Library Manager works exclusively from Git tags, so the bot won't be able to see the fix you made until you create a new release or tag in the library repository.
If you look at the repository contents at the latest tag, you can see that the version the bot is checking still has the problem:
https://github.com/Dhanabhon/TomIBT2/tree/v1.0.0
❗ Remember to update the version field in the library's library.properties file as needed before making a release/tag.
Once you have done that, simply mention @ArduinoBot in a comment here to trigger it to run the automated checks again. After those are passing, your library will automatically be added to Library Manager.
If you have any questions or concerns, please let me know.
Regards, Per

Thanks for your interest in contributing to the Arduino Library Manager index @Dhanabhon Please resolve the error(s) mentioned in the previous comment.
After resolving the issue, trigger this check again by doing one of the following:

Commit the required change to the branch you submitted this pull request from.
Comment here, mentioning @ArduinoBot in the comment.

❗ NOTE: It is not necessary to open a new pull request. ❗
More information: https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

@ArduinoBot

Hello @Dhanabhon. I see you have fixed the error reported by the bot. However, Library Manager works exclusively from Git tags, so the bot won't be able to see the fix you made until you create a new release or tag in the library repository.
If you look at the repository contents at the latest tag, you can see that the version the bot is checking still has the problem:
https://github.com/Dhanabhon/TomIBT2/tree/v1.0.0
❗ Remember to update the version field in the library's library.properties file as needed before making a release/tag.
Once you have done that, simply mention @ArduinoBot in a comment here to trigger it to run the automated checks again. After those are passing, your library will automatically be added to Library Manager.
If you have any questions or concerns, please let me know.
Regards, Per

Thank you for your recommendation. The problem is solved by your recommendation.


Missing dates for ChangeLog

From<EMAIL_ADDRESS>on 2013-12-06T10:50:30Z
https://code.google.com/p/spyderlib/wiki/ChangeLog I miss release dates in ChangeLog to see how good are we at bugfixing. =)
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1667

From ccordoba12 on 2013-12-11T17:48:11Z
You could get them from our mercurial history. Sorry but I don't have time to do it.

This can easily obtained from git log.


`GLIBCXX_3.4.29' not found

There's something wrong with the installation of GWB... SEPAL does it with https://github.com/openforis/sepal/blob/master/modules/geospatial-toolkit/script/init_gwb.sh as it is recommended in https://forest.jrc.ec.europa.eu/en/activities/lpa/gwb/... however, the following error happens after running the tool either by CLI or the GUI
/opt/GWB/tools/idl/bin/bin.linux.x86_64/idl: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/GWB/tools/idl/bin/bin.linux.x86_64/libidl.so)

/opt/GWB/tools/idl/bin/bin.linux.x86_64/idl: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/GWB/tools/idl/bin/bin.linux.x86_64/libalan.so)

The issue can be related to the sepal Ubuntu version which is required by the latest version of GWB...

Hi Daniel,
which version of GWB is installed? See /opt/GWB/tools/GWB_version.txt
Most likely not the recent version 1.9.3, which can be easily installed by running as root: /opt/GWB/tools/GWBupdate_deb.sh
This is just a shell-script to facilitate keeping GWB uptodate. Can you try this and report back?
Thanks!

Isn't there a way to pin to an specific version? It would be easier and safer to not automatically upgrade the gwb package until we have ready the UI, otherwise, we'll end with errors that were not expected.

The directory packages now has all versions. There is no way or need to pin a specific version because GWB is not in the official Debian repo. You will only get the note that an older version is outdated, that's all. To use any version, simply download it from the above location, then use the apt command to uninstall the currently installed version and then install the deb-package of your choice.
And to automatically have the current version installed, place the script /opt/GWB/tools/GWBupdate_deb.sh in a cron job.
Does this help?

I'm sorry, I didn't mean to say pin, but "point" to a specific version, Thanks for sharing the package version folder, we might use it to downgrade the currently installed version until we upgrade our Ubuntu version.

On buntu 20.04 LTS (SEPAL) the most uptodate GWB version that should work is version 1.9.1. GWB version 1.9.2 and up uses the uptodate IDL framework, which works fine on buntu 22.04 LTS.

This has been solved on our test server. We are now using latest version, as soon as we release the changes it will be fully available.


[Wikipedia] Would you please create a traditional Chinese version? Thank you

Extension
https://www.raycast.com/vimtor/wikipedia
Description
Hello, I noticed there's a Simplified Chinese version in the Wiki Extension. I was wondering if it's possible to add a Traditional Chinese version. Thank you!
Who will benefit from this feature?
It is mainly used in regions such as Taiwan, Hong Kong, and Macau. Additionally, in some Chinese communities and places where overseas Chinese gather, Traditional Chinese is also used, such as in the United States, Canada, Australia, Singapore, and other countries and regions.
Anything else?
No response

As discussed in #4605 Raycast itself currently does not support localization. Therefore manually implementing localization on an extension basis is not a sustainable approach in the long run.
Hence, this feature is unlikely to be merged into main until Raycast natively supports localization.
In the meantime, you can directly clone the above PR and try it out as an experimental POC.

Hi @menahishayan! Creator of the extension here.
From what I understand from #4605, we can add a preference for tranditional Chinese (similar to what we have for Spanish, German, French, etc.), but we cannot translate the titles in the dropdown, correct?

Keeping the issue alive until @menahishayan answers.

I will probably implement it this week.


Added Vue-CheatSheet

What is Vue CheatSheet?
It is an interactive cheatsheet of Vue, Vue Router, and Pinia. 🎊 The only Vue CheatSheet you will ever need whether you are using Vue, Vue Router & Pinia in your Vue project or starting a new Vue project.
It is aimed at a large community of Vue users who find it difficult to search for Vue, Vue Router, and Pinia.
Key Features 🛠

Comprehensive Coverage of Vue, Vue router, Pinia
Interactive search
Concise code snippet
Easily copy code snippet and use it
Open source

Hi @ajayts07 !
Sorry I missed your pull request until now, and thank you for the contribution
The list we are curating is meant to be focused solely on project with a social impact (see for example https://operationcode.org/), and your project doesn't align with the list we build unfortunately.
That said, it is always good to have cheat sheets, so keep it up!


MongoDB Sharded Clusters

Currently it is not known if Prisma MongoDB works with shareded clusters. We could run our tests on a Docker MongoDB setup that emulates a sharded cluster to know more.
Examples:
https://github.com/bitnami/bitnami-docker-mongodb-sharded
https://github.com/minhhungit/mongodb-cluster-docker-compose
https://dzone.com/articles/composing-a-sharded-mongodb-on-docker
https://medium.com/the-glitcher/mongodb-sharding-9c5357a95ec1

Internal investigation by @dpetrick: https://www.notion.so/prismaio/MongoDB-Sharding-Prisma-449c728007d44402a5f6138c58c02972

@janpio Any updates on this? Would Prisma work correctly with sharded clusters?

I am using Mongo DB in a Sharded Cluster configuration and have tested Prisma in my test environment.
As a result, I found that data can be read without any problem, but replicas in the Shard are not recognized when data is written by insert, delete, etc., and the following error occurs.
Error: Transactions are not supported by this deployment.
To address this issue, it is necessary to take action to prevent transaction control errors when the presence or absence of a Replica cannot be determined from DATABASE_URL.

To address this issue, it is necessary to take action to prevent transaction control errors when the presence or absence of a Replica cannot be determined from DATABASE_URL.

What exactly do you mean by this?

It works, but there are some random errors that occur like the following (our cluster is sharded but we're not querying a sharded collection when we got this error):
Kind: Server selection timeout: No available servers. Topology: { Type: Sharded, Servers: [ { Address: [****-shard-****.*****.mongodb.net:27016](http://***-shard-****.mongodb.net:27016/), Type: Unknown, Error: Kind: I/O error: Device or resource busy (os error 16), labels: {} }

We use mongodb+srv in our connection string to connect to the right node and handle failover and load balancing as needed.


Setup travis for tensorflow/k8s

We need to enable travis on the new repo: tensorflow/k8s

Travis is running as post submit
Presubmits are failing though
git clone --depth=50 https://github.com/tensorflow/mlkube.io.git tensorflow/mlkube.io

Why is it calling the repo tensorflow/mlkube?

Its working.


Add support for script command.

The script command is used by redlock and fakeredis doesn't support it.
Implementation pulled from https://github.com/guilleiguaran/fakeredis/issues/94

👍
It'd be great not to have to maintain a fork. If you get a chance, worth opening a PR in fakeredis + potentially adding a if defined?(Redlock) check into the codebase to ensure the overrides only run when Redlock is being used


sws-v2.8.1 on one of my Mac OS 10.9 computers always causes down-sampling to 41khz

Remove the sws extension, and Reaper will correctly play my 96,000 kHz file (Macintosh standard output device)
Put the sws extension back in place, and the device settings info in the menubar show downsampling to 41.4 kHz, regardless of how I configure reaper preferences and /or Audio Midi preferences.
Work around for this one computer - revert to sws-2.8.0

The problem returned on this computer even when using the older SWS - so I have concluded that last time when changing versions seemed to fix the problem, that actually it was some side effect of moving files etc (even though I had previously  tried wiping the entire REAPER application support folder). So I'll  mark this SWS issue as closed, and then look for a solution elsewhere.


main: restore more help information

Due to negligence in the loss of this part of #103 , now restored.
Signed-off-by: zhouhao<EMAIL_ADDRESS>

@coolljt0725 @vbatts @stevvooe PTAL

@opencontainers/image-tools-maintainers PTAL

LGTM

LGTM

@Mashimiao  PTAL

LGTM


Native goodwe support

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
No native goodwe support
Expected behaviour
Hi,
Native goodwe support would be nice , so I prepared some information to help you.
Possible Solutions
Read this file
goodwe.txt
Mode
lite
Context / Reason
The context is in added file

Thanks will take a look

Added to 3.3.0


Q: How to contact a MCUDev_DevEBox_H743_M?

Hi,
few days ago I got 2 boards for my DIY project.
I don't get any communication with the boards, although they seem to be alive:

via USB is not possible because there is no USB<->Serial converter on the board
via SWD doesn't work! I don't know why and I don't want to waste my time (hours for hours...) to investigate this problem.

What kind of communication with this boards is possible?
Thanks in advance,
Michael

Hi,Bro,
you can use stlink v2(SWD) to connect it with stlink utility(dont use stm32cube programmer)...I tried it by myself and it works


Something wrong with the CE loss?

Hi,
In dataset:
lanes[lane_pos, 0] = category #which is 1 in the code
While in loss_label,  target_classes is all 1  when self.num_classes==1
...
target_classes = torch.full(src_logits.shape[:2], self.num_classes, dtype=torch.int64, device=src_logits.device)
target_classes[idx] = target_classes_o
loss_ce = F.cross_entropy(src_logits.transpose(1, 2), target_classes, self.empty_weight)

!!! loss_ce can be alway 0 there.
Thanks for your work,  wish a reply

Hi, correct, actually the target_classes is initialized as an all 'background class' tensor, so if self.num_classes == 1, the target_classes would be all 1, which would be confused for the network since the 'lane class' is set as 1.
If self.num_classes == 1, then target_classes should not be initialized by 'torch.full'. E.g., initializing target_classes by torch.ones + 1
Just make sure target_classes is not initialized as an all "lane class" vector.

Thanks a lot!


Rename ID fields to align with domain terminology, and maintain views in this context

This PR brings the PostrgreSQL view management back to the current context, as the tooling in Hasura has improved to better suite our workflow. It was done in this PR to make a single reverting change in cardano-db-sync, removing the application-specific code and re-establishing the correct dependency hiarachy.
@disassembler  As Hasura 1.2.1 introduces a new metadata format (v2), it was best to upgrade now, so the nix service will need to be upgraded, and hasura-cli packaged to now apply the migrations. It also makes sense to use metadata apply instead of the current HTTP API call. Deferred. Tracking in #178
Breaking Changes :warning:

Previously fields referred to as id are now hash
Block.merkleRootHash is now just merkelRoot

Closes #173 Closes #174
Draft until https://github.com/input-output-hk/cardano-db-sync/pull/92 is merged

@KtorZ The diff is large due to bringing the application-specific views into the codebase, and changing the metadata format, but the primary aspect to review is the interface changes. Viewing the .graphql file diff shows you exactly this

Rebuilding the Jenkins postgres-data volume now, and will rerun the tests once complete.
[db-sync-node:Info:60] [2020-05-14 11:29:04.64 UTC] epochPluginInsertBlock: Inserting row in epoch table for epoch 22
[db-sync-node:Info:60] [2020-05-14 11:29:13.68 UTC] insertABlock: slot 500000, block 499937, hash 226ef612830945c3068da0f2298d88aa45bf3ae19364ff1e1f88c536b8ccf503
[db-sync-node:Info:60] [2020-05-14 11:29:26.11 UTC] insertABlock: slot 505000, block 504937, hash 5f846e22ce7e1bcc6f0950b3356c375cfe93175e2b2e6da8a68b812f8f897cbe
[db-sync-node:Info:60] [2020-05-14 11:29:40.31 UTC] insertABlock: slot 510000, block 509937, hash b5dc28679903b7d97feb172809a364da9ff4b444a61d0666a29507f0b8847082
[db-sync-node:Info:60] [2020-05-14 11:29:52.54 UTC] insertABlock: slot 515000, block 514935, hash 388e22deb7e6045492912f1b451afb8fd457ba3529374e5913ffcadcbec4a88c
[db-sync-node:Info:60] [2020-05-14 11:29:59.72 UTC] insertABOBBoundary: epoch 24 hash 471ee59bee5cadc22ec85c4519acd4ee6f843eb30b34793db6ba1a9eb0426afb

There currently a conflict with the migration strategy in cardano-db-sync, where it drops and re-applies views on each startup, whereas Hasura tracks the catalog version to make a decision. I will have to modify our start procedure and create a custom Docker image that uses a similar strategy of rolling back to the first version, then forward to the latest. The custom Docker image was already on the cards in https://github.com/input-output-hk/cardano-graphql/issues/120


AL Validation with Previous Apps is failing

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
 All rights reserved

Compilation started for project 'G/L Source Names' containing '41' files at '19:34:10.410'.

C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\AppSourceCop.json(1,1): error AS0003: The version '<IP_ADDRESS>' of the extension with publisher 'Objects4NAV' and name 'G/L Source Names' could not be found in the baseline package cache folder. If you do not want to validate breaking changes, remove the property 'version' from the AppSourceCop.json.

Compilation ended at '19:34:25.553'.

Unexpected error while validating app. Error is: App generation failed
at Compile-AppInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Compile-AppInNavContainer.ps1: line 473
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlCops.ps1: line 68
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlCops.ps1: line 208
at Run-AlCops, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlCops.ps1: line 110
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlValidation.ps1: line 513
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlValidation.ps1: line 496
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlValidation.ps1: line 411
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlValidation.ps1: line 385
at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\1.0.19\AppHandling\Run-AlValidation.ps1: line 383
at <ScriptBlock>, F:\agent\_work\12\s\Template\scripts\Validate-App.ps1: line 78
at <ScriptBlock>, F:\agent\_work\_temp\4880f928-63db-4e86-9c9b-ad35f0fed480.ps1: line 3
at <ScriptBlock>, <No file>: line 1

Additional context
Source of build
https://github.com/gunnargestsson/glsourcenames

And the above error is not breaking the pipeline.

And the above error is not breaking the pipeline.

Please include the full output - I cannot see the important parts.

Please include the full output - I cannot see the important parts.

{
"name":  "Run-AlCops RuleSet",
"description":  "Generated by Run-AlCops",
"includedRuleSets":  [
{
"path":  "C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\appsource.default.ruleset.json",
"action":  "Default"
}
]
}
Using Symbols Folder: C:\ProgramData\BcContainerHelper\ef4cfd0e-2d99-4a42-a0c6-3d538cbdcad0
Copying Microsoft_Application_17.2.19367.20585.app from Container
Copying Microsoft_Base Application_17.2.19367.20585.app from Container
Copying Microsoft_System Application_17.2.19367.20585.app from Container
Downloading symbols: Microsoft_System_17.0.19353.20441.app
Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS>&tenant=default
Compiling...
.\alc.exe /project:"C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42" /packagecachepath:"C:\ProgramData\BcContainerHelper\ef4cfd0e-2d99-4a42-a0c6-3d538cbdcad0" /out:"C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\Objects4NAV_GL Source Names_<IP_ADDRESS>.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /ruleset:C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\170\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\170\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version <IP_ADDRESS>101
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'G/L Source Names' containing '41' files at '19:34:10.410'.
C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\AppSourceCop.json(1,1): error AS0003: The version '<IP_ADDRESS>' of the extension with publisher 'Objects4NAV' and name 'G/L Source Names' could not be found in the baseline package cache folder. If you do not want to validate breaking changes, remove the property 'version' from the AppSourceCop.json.
Compilation ended at '19:34:25.553'.
 All rights reserved
Compilation started for project 'G/L Source Names' containing '41' files at '19:34:10.410'.
C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\AppSourceCop.json(1,1): error AS0003: The version '<IP_ADDRESS>' of the extension with publisher 'Objects4NAV' and name 'G/L Source Names' could not be found in the baseline package cache folder. If you do not want to validate breaking changes, remove the property 'version' from the AppSourceCop.json.
Compilation ended at '19:34:25.553'.
 'F:\agent_work\12\s\Template\scripts\Validate-App.ps1' -artifactsFolder "F:\agent_work\12\a" -appFolders "AL" -branchName "refs/heads/master" -version current
2021-01-04T19:10:24.0387347Z ========================== Starting Command Output ===========================
2021-01-04T19:10:24.0994047Z ##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ".  All rights reserved 2021-01-04T19:34:25.6617662Z  2021-01-04T19:34:25.6654592Z Compilation started for project 'G/L Source Names' containing '41' files at '19:34:10.410'. 2021-01-04T19:34:25.6665204Z  2021-01-04T19:34:25.6695304Z C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\AppSourceCop.json(1,1): error AS0003: The version '<IP_ADDRESS>' of the extension with publisher 'Objects4NAV' and name 'G/L Source Names' could not be found in the baseline package cache folder.  'F:\agent_work\12\s\Template\scripts\Validate-App.ps1' -artifactsFolder "F:\agent_work\12\a" -appFolders "AL" -branchName "refs/heads/master" -version current
2021-01-04T19:10:24.0387347Z ========================== Starting Command Output ===========================
2021-01-04T19:10:24.0994047Z ##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ".  All rights reserved 2021-01-04T19:34:25.6617662Z  2021-01-04T19:34:25.6654592Z Compilation started for project 'G/L Source Names' containing '41' files at '19:34:10.410'. 2021-01-04T19:34:25.6665204Z  2021-01-04T19:34:25.6695304Z C:\ProgramData\BcContainerHelper\c7a7aec8-e5ca-48e6-8f64-7df45847be42\AppSourceCop.json(1,1): error AS0003: The version '<IP_ADDRESS>' of the extension with publisher 'Objects4NAV' and name 'G/L Source Names' could not be found in the baseline package cache folder.
I have done this.
Could you email me the 2 app files - then I will try this, thanks

Please remember to mark output with "Insert Code" which makes it readable.
I have done this.
Could you email me the 2 app files - then I will try this, thanks

The problem is the URL.
I will fix the bug.
In the meantime, download the app and run validation with a local path.

The problem is the URL.
I will fix the bug.
In the meantime, download the app and run validation with a local path.

Shipped in BcContainerHelper 2.0.0

Shipped in BcContainerHelper 2.0.0


Fixing typo in faithfulness

Fixing a typo of "faithfulness" in the docs (extra 's')

Thanks @jamesbraza


Improve speed of rPNG generation

Currently rPNG generation is quite slow. This is not a huge issue but could become one with documents that contain many reproducible elements (e.g. lots of within text code expressions providing analysis results). The pandoc.test.ts which involves generation of six rPNGs is noticebly slow  https://travis-ci.org/stencila/convert/jobs/532638335#L144
A little test
Here are Markdown document with some non-textual nodes:
A !number(1) and a !boolean(true) and an !array(1,2,3,4,5) and an !object("a":1, "b":2)

When converted to Word bin/stencila-convert temp.md ./temp.docx the "non-textual" nodes get converted to rPNGs:

Which takes an average of 3.5s (and shows spike in network traffic associated with fetching highlight.js presumably):
bash -c "time for i in {1..10}; do bin/stencila-convert temp.md ./temp.docx; done"

real    0m35.710s
user    0m21.296s
sys     0m4.856s

If you remove the exclamation marks (i.e. remove the Commonmark inline extension syntax):
A number(1) and a boolean(true) and an array(1,2,3,4,5) and an object("a":1, "b":2)

Then there are no rPNGs and the time drops to 1.1 seconds (only slightly above the base startup time, https://github.com/stencila/convert/issues/60).
bash -c "time for i in {1..10}; do bin/stencila-convert temp.md ./temp.docx; done"

real    0m11.092s
user    0m13.652s
sys     0m1.008s

Potential solution
It seems that the first approach would to lazy, and only once, initialise a rendering page. That is, do this https://github.com/stencila/convert/blob/99975bbdcd3526d98041d98bf0f098b867d770d4/src/rpng.ts#L208-L216 outside of the unparse function, and only as needed.

Re. network dependency, I can investigate bundling Highlight.js as part of the package and referencing the JS that way. Without a build tool inclusion of CSS is a little tricker, since TS compiler doesn't support it natively, so we'd have to either manually bundle the CSS during build, copy-paste the CSS as a string, or introduce a build tool into the mix.
The latter option does open up further optimizations like tree-shaking mentioned in #60 though.

:tada: This issue has been resolved in version 0.43.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[QUERY] Compatiblity with Spark 3.2.2-hadoop3.2 and scala 2.12?

Query/Question
I have been trying to connect using your com.microsoft.azure:azure-cosmosdb-spark_2.4.0_2.11:1.3.5 but it keeps giving error java.lang.NoSuchMethodError: 'scala.collection.mutable.ArrayOps scala.Predef$.refArrayOps(java.lang.Object[]) after a quick google search I came to the conclusion that currently cosmos support spark 2.* versions and not 3. Am I correct? or am I missing something here?
Why is this not a Bug or a Feature Request?
Your docs claim an older spark version than what I am using.
Setup (please complete the following information if applicable):

OS: Ubuntu 18 LTS (WSL)
Spark 3.1.2
Java 11
IDE: VSCode
Library/Libraries: [(com.microsoft.azure:azure-cosmosdb-spark_2.4.0_2.11:1.3.5)]

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Query Added
[X] Setup information Added

You can find the Spark 3 connector for Cosmos DB in Maven here:
Spark 3.1: https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-1_2-12/4.17.2/jar
Spark 3.2: https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-2_2-12/4.17.2/jar
Spark 3.3: https://search.maven.org/artifact/com.azure.cosmos.spark/azure-cosmos-spark_3-3_2-12/4.17.2/jar
Config reference: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/configuration-reference.md
Quickstart: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md
Migration from Spark 2 to Spark 3: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/migration.md

Thanks


Draft: add production docker-compose setup

This a draft or "proof of concept" for a "production" Otterwiki than can be run with Docker Compose or Podman Compose. This is meant to be a basis for discussion and not a finished product.
This Otterwiki setup does not make use of supervisord. It reuses the work done in Dockerfile-slim with a minor change (http-socket -> socket) required by the nginx reverse proxy. The setup is composed of three containers:

web: uwsgi process that serves otterwiki
nginx: reverse proxy for uwsgi
db: runs the postgresql database for otterwiki

These containers are configured with environment files:

.env.prod.web
.env.prod.nginx
.env.prod.db

There are four volumes:

db: used by the db container
app-data: configuration files for the web (otterwiki/uwsgi) container
static: shared static data for web (rw) and nginx (ro) containers
letsencrypt: certificates used by nginx (ro) container

The assumption is that nginx will use Letsencrypt certificates. Creating an renewing those certificates is done outside of the Compose setup. A certbot renewal script for Podman is provided nginx/certbot-renew.sh.
Despite the naming the certificate setup is not tied with Letsencrypt. Renaming the volume and the paths would make it the SSL certificate setup more generic and less confusing when Letsencrypt is not used.
This code has only been tested with Podman on Rocky Linux 9. Theoretically it should work equally well on Docker, except for the certbot-renew.sh script which would require a few minor changes.

@redimp does this look somewhat reasonable to you?

Sorry for the late review.
Thinking about this: I'm not sure if this should be part of the repo or the image, but it would be a useful additon as tutorial to the documentation. With. additional remarks for handling SELinux, podman and the certbot.

Yeah, no worries. I'll deploy the thing and send documentation your way.


nemo container link in the README is not accessible any more

can you please update the link for the compatible nemo container?
those nvcr.io/ea-bignlp/nemofw-training:23.05-py3 require authorization
the basic [nvcr.io/nvidia/nemo:23.10.] has compatible issues with NeMo-Megatron-Launcher.

apply regular API key from nvcr, not the personal key.


Implement correct iOS button press dynamics

I noticed a certain behavior in iOS alert dialogs when buttons are pressed. This behavior might be generic to iOS, or it might be specific to alert dialogs. Either way, the following behavior should be implemented.
Dragging between buttons while pressed:
Consider an alert dialog with an "OK" button and "Cancel" button sitting next to each other.  The user presses on the "OK" button causing that button to appear pressed. Then, while pressing on the "OK" button, the user drags over to the "Cancel" button. On iOS this causes the "OK" button to go back to the normal state, and causes the "Cancel" button to now appear pressed.  Moreover, if the user releases the "Cancel" button then the "Cancel" button receives the tap event.
The above tap/drag behavior is also true for vertical lists of buttons in an alert dialog.
What about scrollable lists of buttons?
If the buttons overflow and are scrollable then the behavior is different. When the user presses down on a button it causes the expected effect.  When the user starts dragging beyond the "slop" then the button press disappears and vertical scrolling begins.  This is a typical and expected behavior. I believe this is the behavior we have today. We need to make sure that this aspect of our behavior remains unchanged.
What happens when the user presses multiple buttons with multiple fingers?
TODO: I need to verify this on a physical device. Will update when I try it.
CC @Hixie @xster

Might be related to #11385

I'm able to reproduce this with the latest version of the Gallery app.
Dragging between buttons while pressed is not possible, the OK button loses the pressed state as soon as you start dragging and the CANCEL button does not gains the pressed state. In the video bellow I'm pressing one of the buttons and trying to drag to the other.

What about scrollable lists of buttons? This not true too, the Gallery app has a different behavior with the native iOS messages app. In the video bellow I'm pressing and dragging over the buttons in the list without releasing my fingers. We can notice that the native Messages app set the Pressed state to the button with the finger over it and it does not happen with the Gallery app.

I can still reproduce this issue on Master (3.7.0-4.0.pre.48). Updating labels to reflect the same

@dkwingsmt is this resolved by your recent work in #149471?

Close, but not yet. https://github.com/flutter/flutter/pull/149471 supported sliding tap for action sheet, but this issue describes alert dialog, which I'm currently working on.
As a side note, I just learned this morning that many other (if not all) iOS buttons support sliding tap, which is described in https://github.com/flutter/flutter/issues/91581. But yeah we should be able to close this issue once alert dialog supports it.


Breaking change: make mandatory argument a mutable WeakSet

If Agoric/make-hardener#35 is merged, then we have the following:
@erights wrote, in Agoric/make-hardener#35 (comment):

I don't like the redundancy between initialFringe and opt.fringeSet. Perhaps it would be better if the one mandatory argument were a set instead of an iterable?
Note that any such change would be a compat break, which we now need to worry about. So we need to discuss this.

Changing the API would obviate the need for options.fringeSet.

Closing as per #412 make-hardener will not be public API going forward.


New Landscape Entry - gem5

Project Name
gem5
Description
The gem5 simulator is a modular platform for computer-system architecture research, encompassing system-level architecture as well as processor microarchitecture. The gem5 project is community-led with an open governance model. The gem5 simulator was originally conceived for computer architecture research in academia, but it has grown to be used in computer system design by academia, industry for research, and in teaching. The gem5 simulator contains cycle-level models for processors, cache hierarchies, memory systems, and devices. It can boot Linux and run most application for a variety of ISAs including Arm, RISC-V, and x86.
Homepage URL
https://www.gem5.org/
Repository URL
https://github.com/gem5/gem5
Organization hosting or owning the project
gem5 community
Evidence of RISC-V ecosystem support
gem5 has full support for running applications with the RISC-V ISA and booting RISC-V Linux. gem5 has support for many RISC-V extensions including Keystone and RVV-1.0 support is actively being developed. gem5 has been used for a large number of research papers with RISC-V.
See https://github.com/gem5/gem5/tree/stable/src/arch/riscv
Logo

Category
Design Tools

@bprestonlf +1.

Thanks!


linux-firmware: license checksum is failing

The linux-firmware recipe was recently updated in upstream.
See: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3bec3951b2f95e5f9a592cc3f64c8f5fb152f57
The license checksum is failing and needs updating.
I'm logging the issue as reminder and I'm providing a PR as soon as the current PRs are merged.
ERROR: linux-firmware-1_0.0+gitAUTOINC+d114732723+86e88fbf03+e28cd7ee86-r0 do_populate_lic: QA Issue: linux-firmware: The LIC_FILES_CHKSUM does not match for file://LICENCE.cypress;md5=cbc5f665d04f741f1e006d2096236ba7
linux-firmware: The new md5 checksum is 48cd9436c763bf873961f9ed7b5c147b
linux-firmware: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
### CYPRESS WIRELESS CONNECTIVITY DEVICES
### DRIVER END USER LICENSE AGREEMENT (SOURCE AND BINARY DISTRIBUTION)

PLEASE READ THIS END USER LICENSE AGREEMENT ("Agreement") CAREFULLY BEFORE
DOWNLOADING, INSTALLING, OR USING THIS SOFTWARE, ANY ACCOMPANYING
DOCUMENTATION, OR ANY UPDATES PROVIDED BY CYPRESS ("Software").  BY
DOWNLOADING, INSTALLING, OR USING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND
BY THIS AGREEMENT.  IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, PROMPTLY RETURN AND DO NOT USE THE SOFTWARE.  IF YOU HAVE
PURCHASED THE SOFTWARE, YOUR RIGHT TO RETURN THE SOFTWARE EXPIRES 30 DAYS
...
enforce any of its rights under this Agreement will act as a waiver of such
rights.  If any portion hereof is found to be void or unenforceable, the
remaining provisions of this Agreement shall remain in full force and
effect.  This Agreement is the complete and exclusive agreement between the
parties with respect to the subject matter hereof, superseding and replacing
any and all prior agreements, communications, and understandings (both
written and oral) regarding such subject matter.  Any notice to Cypress will
be deemed effective when actually received and must be sent to Cypress
Semiconductor Corporation, ATTN: Chief Legal Officer, 198 Champion Court, San
Jose, CA 95134 USA.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For future readers, further information is in the closed PR #272


Rename repo to uk-carbon-dividend

Since we're doing this in the US too. I'll do this now. @nikhilwoodruff @inesfb

lol this already exists https://github.com/UBICenter/uk-carbon-dividend, I'll kill that one first

done


Implement Cache

int ebx, ecx;
asm {
    mov EAX, 4;
    xor ECX, ECX;
    cpuid;
    mov ebx, EBX;
    mov ecx, ECX;
}
writefln("L1 Cache: %s",
    ((ebx >> 22) + 1) * (((ebx >> 12) & 0x3ff) + 1)
    * ((ebx & 0xfff) + 1) * (ecx + 1));

just a myself kinda note

Done Intel, doing AMD at the moment (very different!)

Done in commit f95f8e8

Caching was verified on my Intel Core i7-3770 and my AMD Ryzen 5 2400G


Cleanup configuration for networking in 1.6

The node networking configuration needs to be updated, as it has changed significantly in capabilities with the introduction of conman.
This change should be made to the conman branch (see #4551).
Should include configurability for conman and juliet parameters (as long as they are not required to be part of the chainspec) and include a method turning ACK-bubbling on and off.

This has been completed and merged in https://github.com/marc-casperlabs/casper-node/pull/9 and  #4607


Text not visible

The text for PANNA and PEDRO is not visible in computer with Node v14.14.0 and npm v6.14.8. The screen for OLGA is completely blank and nothing is visible.

Can you check in the network tab wether the fonts are being loaded?

How exactly do I know if it is being loaded? I checked the networks tab. It just shows react_devtools_backend.js with a status of 200

If I click on font then it shows no entries under that


Add support for async job

Or hooks to customize response and StatusCode, for example, return 202.
link http://farazdagi.com/blog/2014/rest-long-running-jobs/

@liubog2008, do you have a concrete example of what you want to do?
Async job in itself would work just fine via a hook (or other mechanism). But even for long running jobs, 202 isn't necessarily the right response, so it would be nice to better understand your use-case.
E.g. if i want to POST a job to /jobs, and the job is created immediately, 201 created would be the right response, even if the job takes a really long time to complete. More specifically, whether the job is complete or not is only the state of the job, which could be represented as a field.
A more real use-case arise if you want to, say cancel /jobs/42, which for some reason may take a long time to complete. I don't know what would be the best API to allow for that, but it could be:

A custom HTTPHandler for requests ala http POST localhost:1337/jobs/42/cancel kill=true, returning 202 Accepted.
A rest-framework hook for http PATCH localhost:1337/jobs/42 state=canceled that somehow returned 202 Accepted.

Personally I think I would have preferred 1.

I hope to use POST /clusters to create a new cluster which is deployed with long time. So, I design another resource named job to track cluster creation.
@smyrman Job can't be created (at least in my case) by user, it's a server behavior. The reason I don't use job as a field of cluster is that many log messages may be stored in job. A created cluster don't care about these messages.
# return 202 and Location is set to /jobs/{jid}
POST /clusters

# return 200 and job status is tracked (job phase, creating messages, progress)
GET /jobs/{jid}

#  return 204 and stop creating the cluster
DELETE /jobs/{jid}

# By the way, delete cluster will also return 202 and another job will be created to delete cluster
DELETE /clusters/{cid}

Sorry for my pool English.
another link for the case: http://restcookbook.com/Resources/asynchroneous-operations/

@smyrman Job can't be created (at least in my case) by user, it's a server behavior.

@liubog2008, that's alright, just wanted to understand your use-case. It looks like what you are trying to achieve is very sane ot me.
@rs, was there an easy way to support this?

An idea could be to have a construct like that:
cluster := schema.Schema{
    Fields: schema.Fields{
        "id": schema.IDField,
        "name": {
            Required: true,
            Validator: &schema.String{},
        },
    },
}

job := schema.Schema{
    Fields: schema.Fields{
        "id": schema.IDField,
        "payload": {
            Required: true,
            Schema: cluster,
        },
    },
}

index := resource.NewIndex()
jobs := index.Bind("jobs", job, mem.NewHandler, resource.DefaultConf)
clusters := index.Bind("clusters", cluster, mem.NewHandler, resource.DefaultConf)
clusters.SetAsyncResource(jobs, "payload") // please bear with me for terrible naming

So basically, when one resource is linked to another like that, we can expect the storage handler to create a resource in "jobs" with the "payload" field set to the payload of the POSTed document set on "clusters". As a result you get a 202 with a Location pointing to the newly created "jobs" (and no "cluster" resource created).
The "jobs" storage handler could be wrapped with a storage handler that would send any inserted document into a queue like Kafka so you can have some async processing managing those jobs. Or you can opt for a polling system when a cron lookup for "jobs" using some other fields to manage the state.
The SetAsyncResource logic could event be implemented as a hook so so we don't have clutter the resource API.
Would something like that fulfill you need @liubog2008?

Sorry for delay...
It looks good to me ~ @rs

@rs, let's close this.


Request: Add Panda grammar

Panda syntax is a nice editor theme. Have a look: http://panda.siamak.work/.
A highlight.js panda style would be nice.

The core team doesn't have a plan for ongoing development of new syntaxes (typically it's all we can do to keep up with support, issues, PRs, etc) - building support for new languages is all up to the larger community.  If you'd really like to see this language, perhaps you know a developer who'd be willing to put in the time to develop and maintain a grammar for it?

Rather than leave these issues open to languish forever (as we have in the past) we're going to start closing them (to clean up the issues list).
I've moved this request to the wish list:
https://github.com/highlightjs/highlight.js/wiki/Grammar-Requests


Port query_planners_service_capability

This will fail since its waiting for https://github.com/AcutronicRobotics/moveit2/pull/39
Ported:

Updated move_group cmakelist to build just query_planners_service_capability
Update planning and perception cmakelists
Port move_group_capability

This depends from planning_scene_monitor, the CI will not pass

Rebased the repository but this is still not building for me:
colcon build --merge-install --packages-select moveit_ros_move_group
Starting >>> moveit_ros_move_group
--- stderr: moveit_ros_move_group
CMake Warning at /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
  Package 'moveit_ros_planning' exports library
  'moveit_constraint_sampler_manager_loader' which couldn't be found
Call Stack (most recent call first):
  /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/moveit_ros_planningConfig.cmake:38 (include)
  CMakeLists.txt:15 (find_package)

CMake Warning at /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
  Package 'moveit_ros_planning' exports library
  'moveit_trajectory_execution_manager' which couldn't be found
Call Stack (most recent call first):
  /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/moveit_ros_planningConfig.cmake:38 (include)
  CMakeLists.txt:15 (find_package)

CMake Warning at /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
  Package 'moveit_ros_planning' exports library 'moveit_plan_execution' which
  couldn't be found
Call Stack (most recent call first):
  /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/moveit_ros_planningConfig.cmake:38 (include)
  CMakeLists.txt:15 (find_package)

In file included from In file included from /Users/victor/ros2_moveit_ws/src/moveit2/moveit_ros/move_group/src/default_capabilities/query_planners_service_capability.cpp/Users/victor/ros2_moveit_ws/src/moveit2/moveit_ros/move_group/src/move_group_capability.cpp:37:
In file included from /Users/victor/ros2_moveit_ws/src/moveit2/moveit_ros/move_group/include/moveit/move_group/move_group_capability.h:41:
In file included from /Users/victor/ros2_moveit_ws/install/include/moveit/planning_scene_monitor/planning_scene_monitor.h:40:
/Users/victor/ros2_ws/install/tf2_ros/include/tf2_ros/message_filter.h::40:1037::
 In file included from fatal error/Users/victor/ros2_moveit_ws/src/moveit2/moveit_ros/move_group/src/default_capabilities/query_planners_service_capability.h: :'message_filters/connection.h' file not found40
:
In file included from /Users/victor/ros2_moveit_ws/src/moveit2/moveit_ros/move_group/include/moveit/move_group/move_group_capability.h:41:
In file included from /Users/victor/ros2_moveit_ws/install/include/moveit/planning_scene_monitor/planning_scene_monitor.h:40:
/Users/victor/ros2_ws/install/tf2_ros/include/tf2_ros/message_filter.h:40:10: fatal error: 'message_filters/connection.h' file not found
#include <message_filters/connection.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include <message_filters/connection.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
make[2]: make[2]: *** [CMakeFiles/moveit_move_group_capabilities_base.dir/src/move_group_capability.cpp.o] Error 1*** [CMakeFiles/moveit_move_group_default_capabilities.dir/src/default_capabilities/query_planners_service_capability.cpp.o] Error 1

make[1]: *** [CMakeFiles/moveit_move_group_capabilities_base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/moveit_move_group_default_capabilities.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< moveit_ros_move_group	[ Exited with code 2 ]

I fixed the problems that I had with this commit https://github.com/AcutronicRobotics/moveit2/pull/41/commits/64f660c38f78251d0e1eb34e7f4bb2b3395233fb, but the problem that you are having is related to message_filters

CMake Warning at /Users/victor/ros2_moveit_ws/install/share/moveit_ros_planning/cmake/ament_cmake_export_libraries-extras.cmake:116 (message):
  Package 'moveit_ros_planning' exports library 'moveit_plan_execution' which
  couldn't be found

moveit_plan_execution is needed, but the PR is already opened on https://github.com/AcutronicRobotics/moveit2/pull/46


Create tox tests and add CI

Create basic tox tests and add CI (github actions?).

Started working on this. Some notes:
(1) No D-Bus -> All tests will fail
In GitHub actions, the runner used is very bare bones Ubuntu 20.04 / 22.04. There is (unsurprisingly) no Desktop Environment, and no session D-Bus. Therefore, the used D-Bus methods will fail. From a recent job output
Checking for dbus process (only system dbus started):
Run ps -ef | grep dbus | grep -v grep
message+     656       1  0 20:48 ?        00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

and tests failing because inhibition would use session dbus:
>               ) from e
E               NotImplementedError: DBUS_SESSION_BUS_ADDRESS environment variable not set! If running in subprocess, make sure to pass the DBUS_SESSION_BUS_ADDRESS environment variable.

.tox/linux-py37/lib/python3.7/site-packages/wakepy/_deprecated/_linux.py:45: NotImplementedError

I'm not sure if it is possible to install a Desktop Environment, launch the session D-Bus, and get the test working. Perhaps. But that only works here. All the other packages using wakepy are probably also failing all their CI tests because of this..  So clearly, this needs some good solution for CI of other packages using wakepy.  Something like:

with long_task_mode() as m:
    if not m.success:
        ...
    else:
        # do something that might take a while.

would allow to gracefully exit if a inhibitor lock could not be taken. Another possibility would be to provide some mock context manager with would "always succeed" (for patching in tests). Not sure if that would help.
(2) Python 3.6 experience
Tried to run the tests with Python 3.6 and they failed (even faster) since there is no support for
from __future__ import annotations

That's used quite a lot to make development nicer with type annotations. Not sure if it's worth it to look at python 3.6 some day, but at least for now it seems that I could try to make wakepy support 3.7 and above (was previously >=3.8).

wakepy in CI?
User's perpective
Thinking about this problem again. If someone is writing a library superlib or application my-awesome-app, and using wakepy to keep it alive with code similar to:
with long_task_mode() as m:
    if not m.success:
        bail()
    else:
        do_the_thingy()

they would, in most CI pipelines, not get do_the_thingy called, but  bail. That would mean that the application/library might not get tested properly. It could also mean that the code simply raises an exception. This is in the case if wakepy does not happen to support inhibiting the suspend/idle mode/whatever on whichever linux server that code is being ran. In most cases, there will be no Desktop Environment, so no GNOME/KDE/Xfce to respond to any D-Bus calls. While adding support to any possible system is in at least in theory in scope, there should be better solution for this.
Possible solution: env variable WAKEPY_FAKE_SUCCESS
What I now can come with from the top of my head would be:

Wakepy first tries all methods (or all given methods) to enter a specified mode
If that fails, look if there is environment variable WAKEPY_FAKE_SUCCESS set to "yes".

if "yes", make the return value of the context manager __enter__ to have .success of  True, even if it would have failed. There could be also ._real_success or something which would be False.
If "no", continue normally; m.success is False.

Setting environment variables for CIs is quite easy, and it does not require any application/library code changes, nor it requires any changes / mocking in tests. There could even be possibility of WAKEPY_INSTANT_FAKE_SUCCESS  which would short-circuit to success (and not try any methods).

Wakepy development perspective
From the point of view of wakepy development, it would be nice to have tests on runners with some specific systems and Desktop Environments +  programs installed. Let's see if that's possible at all on GitHub actions.
In any case, it would be good to systematically take notes on behavior of different methods on different systems and store them. The testing in any CI solution will be quite limited, and will be focused on preventing obvious bugs in the python code and alarming if something is not available in Python 3.7 or the used OS.

There's now some basic tests with tox + GitHub actions. These will test all the python parts with linux, windows and macos --> Closed this.
It's a bit different thing to start testing that the OS / Desktop Evironment / other commands called, like the D-Bus Inhibit method of org.freedesktop.ScreenSaver actually does what it is supposed to do. I think that's something what does not need automatic tests in wakepy, but manual tests and documentation (how different methods work on different Desktop Environments).


Unable to Install via pacman on Manjaro

Trying to do see yields an error around a corrupted package / PGP signature. Perhaps something with how the package was generated?
  sudo pacman -S libratbag
resolving dependencies...
looking for conflicting packages...

Packages (1) libratbag-0.16-1

Total Download Size:   2.71 MiB
Total Installed Size:  4.21 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libratbag-0.16-1-x86_64                              2.7 MiB  2.89 MiB/s 00:01 [##############################################] 100%
(1/1) checking keys in keyring                                                  [##############################################] 100%
(1/1) checking package integrity                                                [##############################################] 100%
error: libratbag: signature from "Filipe Laíns (FFY00<EMAIL_ADDRESS>is unknown trust
:: File /var/cache/pacman/pkg/libratbag-0.16-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Hi, this is a problem with your distro, not libratbag itself. I think that this may be a problem with the keyring, actually, so try this: How to solve keyring issues in Manjaro.

Right on - was thinking that could also be the case. I’ll give that a look


Random ClickHouse exception, code: 1002

Hello,
I'm facing an UnknownException using the JDBC for ClickHouse
The problem
I got the exception randomly on some queries (any kind). I can execute those queries by hand or re-run the program and they will work. It happen maybe 1 time for 100 000 queries. It's not a big issue, but we are still loosing some data when it happens on an insert.
What is confusing is the absence of log server-side.
How to reproduce
I'm not able to reproduce it, it just happen randomly on different queries at different moment.
Error messages
On client side, I got this exception :
Caused by: java.sql.SQLException: ClickHouse exception, code: 1002, host: <IP_ADDRESS>, port: 8123;
	at com.livingobjects.swalo.tools.sql.SqlPool$4.run(SqlPool.java:568) ~[collector-core-3.18.2.jar:na]
	... 3 common frames omitted
Caused by: java.sql.SQLException: INSERT INTO `*****`.`*****` ....... (cutted)
	... 4 common frames omitted
Caused by: ru.yandex.clickhouse.except.ClickHouseUnknownException: ClickHouse exception, code: 1002, host: <IP_ADDRESS>, port: 8123;
	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.getException(ClickHouseExceptionSpecifier.java:91) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:55) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:28) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.ClickHouseStatementImpl.checkForErrorAndThrow(ClickHouseStatementImpl.java:875) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.ClickHouseStatementImpl.sendStream(ClickHouseStatementImpl.java:851) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.ClickHouseStatementImpl.sendStream(ClickHouseStatementImpl.java:824) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.ClickHouseStatementImpl.sendStream(ClickHouseStatementImpl.java:817) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.ClickHousePreparedStatementImpl.executeBatch(ClickHousePreparedStatementImpl.java:335) ~[clickhouse-jdbc-0.2.3.jar:na]
	at ru.yandex.clickhouse.ClickHousePreparedStatementImpl.executeBatch(ClickHousePreparedStatementImpl.java:320) ~[clickhouse-jdbc-0.2.3.jar:na]
	at com.zaxxer.hikari.proxy.StatementProxy.executeBatch(StatementProxy.java:116) ~[HikariCP-java6-2.3.8.jar:na]
	at com.zaxxer.hikari.proxy.PreparedStatementJavassistProxy.executeBatch(PreparedStatementJavassistProxy.java) ~[HikariCP-java6-2.3.8.jar:na]
	at com.livingobjects.swalo.tools.sql.SqlPool$4.run(SqlPool.java:550) ~[collector-core-3.18.2.jar:na]
	... 3 common frames omitted
Caused by: java.lang.Throwable:
	at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:53) ~[clickhouse-jdbc-0.2.3.jar:na]
	... 13 common frames omitted

I also know the precise hour 2020-07-23T10:00:03,891
Knowing this I can check server-side if there is a log for this hour :

clickhouse-server.err.log :

2020.07.23 09:57:43.960240 [ 15728 ] {99f1324f-4bc3-42e6-a4b6-4e98b8578411} <Warning> ConnectionPoolWithFailover: Connection failed at try №1, reason: Code: 32, e.displayText() = DB::Exception: Attempt to read $
EOF

clickhouse-server.log :

2020.07.23 10:00:00.488332 [ 15632 ] {} <Debug> MemoryTracker: Peak memory usage: 275.98 MiB.
2020.07.23 10:00:05.966916 [ 15650 ] {} <Trace> SystemLog (system.trace_log): Flushing system log

Additional context
The connection to the server is multi threaded by HikariCP 2.8.3
We are using ClickHouse server version 20.4.5 revision 54434
and JDBC v0.2.3

duplicate https://github.com/ClickHouse/clickhouse-jdbc/issues/290

duplicate #290

It's not the same error ..

Trust me, that is it. Back then they use another jdbc version, it showed another message.

Just I met the same error,do you know how to figure it,so I found other error,when i use select name from table where id = 1 order by create_time desc limit id 1 and timeout

Just I met the same error,do you know how to figure it,so I found other error,when i use select name from table where id = 1 order by create_time desc limit id 1 and timeout


The validity of “rpConfig.Name” needs to be verified.

https://github.com/openGemini/opengemini-client-go/blob/00cca69028e8aac2b5de2dd6c522d393d7b8091e/opengemini/retention_policy.go#L114

closed by #155

你的邮件已经收到:)


Proposal Details Voting Power Tooltip

Proposal Details Voting Power Tooltip
Text on voting power tooltip is too long. Please wrap text to match other tooltip designs

Originally posted by @xraystyle1980 in https://github.com/decentdao/fractal-interface/issues/1578#issuecomment-2101323779

done

Closing


Fix "Call to a member function getConfig() on null"

Fixes #66.

Same pb and I've done the same fix
hope it will be integrated soon to a release


Front end devs

For the Front End Devs...
For the PC app because of what has been said earlier, Apple will never allow an app and Android may be ending soon. I can use the browser but prefer the app.

if posting, can you leave the focus on an open tags list until you click off of it or until it's full (5 tags) like it does in the Android app? One must open the list every time to put a tag as it is now.
change the wording when attempting 6 tags to 'you can only use up to 5 tags'
When viewing a image or a video in the modal box is it possible to just click off the container instead of having to chase the exit X in the upper right hand corner? Something akin to Telegram.
I know this is a big one and will necessitate rewriting the front end at some point because of the modal window but a picture in a picture would be nice ;-)

Pasted -- original was someone else's comment

@reignmen, thanks for creating this list of enhancements. Sorry for late answer, we are working hard to answer all requests as soon as possible.
P.S - For future it is better to create separate issues 😉
Completed

[x] Enhancement 2 was completed on some step of development. Not sure when, but looks like resolved.
[x] Enhancement 3 was completed on 13 january 2022 by merging #303.
[x] Enhancement 4 was completed on 1 march 2022 by merging #359.

Still in work

[ ] Enhancement 1 is still not made. I'll ask the team if we will do it. Will update this issue soon with more info.

Enhancement 2 already mentioned on #97


Simulator crashes after running make px4_sitl jmavsim

Describe the bug
The simulator crashes when running make px4_sitl_default jmavsim.
This is what I am seeing in my console:
BUILD SUCCESSFUL
Total time: 0 seconds
Options parsed, starting Sim.
Starting GUI...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO  [simulator] Simulator connected on TCP port 4560.
Init MAVLink
INFO  [commander] LED: open /dev/led0 failed (22)
/Users/adamcooper/Firmware/build/px4_sitl_default/tmp/rootfs/etc/init.d/rc.vehicle_setup: line 81: /etc/init.d/rc.interface: No such file or directory
ERROR [px4] Startup script returned with return value: 256

To Reproduce
Steps to reproduce the behavior:

Follow the instructions for Mac installation found here
Follow the instructions for Building the code found here
Navigate into the Firmware directory and start jMAVSim using the following command: make px4_sitl jmavsim

Expected behavior
The simulator should not crash
Log Files and Screenshots
BUILD SUCCESSFUL
Total time: 0 seconds
Options parsed, starting Sim.
Starting GUI...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO  [simulator] Simulator connected on TCP port 4560.
Init MAVLink
INFO  [commander] LED: open /dev/led0 failed (22)
/Users/adamcooper/Firmware/build/px4_sitl_default/tmp/rootfs/etc/init.d/rc.vehicle_setup: line 81: /etc/init.d/rc.interface: No such file or directory
ERROR [px4] Startup script returned with return value: 256

I think this is a duplicate of #15795.

Closing as a duplicate of https://github.com/PX4/PX4-Autopilot/pull/15970