text:
Multi-language posts

From Ronald on Slack

Perhaps it’s a good idea to be able to set preferred languages before we go public. If the trending timeline is full with posts written in chinese that is going to be a problem.

Possible solution is.. on on-boarding let the person select preferred languages, preselecting the current device language.
When a person is posting, we can try to detect the language and show this somewhere at all times.
The person can then tap this to override it if wrong. We can show the preferred languages list first.
After these two things are set, we can filter the timelines on language/s.

Another option is having a translate button.
We can look into open-source, pretrained translations models and perhaps start from there?
http://opennmt.net/Models/

Someone in the comments on OB mentioned: https://www.deepl.com/pro.html#pricing

We can detect the content of a language on posting locally with https://github.com/Mimino666/langdetect

So... We're bumping this up in prio and we'll pick it up right after reporting flows are done.
How it looks like so far is:

Detect language locally on server with the langdetect library and store it as a post attribute.
When someone retrieves the post, check if the post language matches the device language. *1
If it does, do nothing, if it does not, show a Translate button.
When translate is pressed, call a /postUuid/translate/ api with the desired language.
The server calls an external translation API and returns the result *2

*1 Although device language might work for first iterations, this should become something like preferred language that can be bootstrapped to the device language.
*2 There's 2 options so far, deepl.com and AWS translation API.
Deepl looks like a great option being based in Germany and claiming to have strong privacy principles but.. is yet another third party. Using amazon's translate would keep it all within the AWS ecosystem but they do say they "may" use the contents to improve their translation models.
Thoughts welcomed as usual.

With regards to point 3, there should also be an option to never show a translate link for a certain language. My device is set to Dutch, but I don't want the translate button to appear for English posts. Google added a similar option after their translate function in Chrome generated a lot of backlash from multilingual people.
Language detection is not flawless and will get it wrong or does not support a language at all. How should those cases be handled? Should the poster be able to override it if needed?

The downside with deepl (and maybe AWS) is that they only support a limited selection of languages (so far). Of course, a majority of the userbase will be covered with just English, German, French and Spanish, but the remaining few percent will have a lesser experience.
Bing and Google aren't really options, though, given privacy concerns.

The quality of DeepL results is great but I agree that the limited range of available languages might become a problem.
Another thing is costs. I don't know about AWS but DeepL charges 4.99€ / month for developers plus 0.01ct per 500 characters.

Thanks for the info @oliverzet !

At this time, Amazon Translate supports translation between the following 21 languages: Arabic, Chinese (Simplified), Chinese (Traditional), Czech, Danish, Dutch, English, Finnish, French, German, Hebrew, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Swedish, and Turkish. Between these languages, the service supports 417 translation combinations

And for pricing

Not sure how expensive it might turn out to be but definitely supports more languages.
@schmitzel76 Definitely, we'll add an option for "Never translate LANGUAGE posts".
Not sure how should we deal with wrong translations 🤔 .
As for deepl vs AWS, we can design it to be replaceable so question is just which one to try first.
Also, this will most likely only be available for public posts.

I'm not sure that applies directly with this issue. But it should be possible to change the language attribute. Especially with very mixed posts with several foreign words, it can happen that the wrong language is stored. Even MS Word produces regular errors from my experience.

authors: Komposten RvMp duichwer lifenautjoe oliverzet schmitzel76

repo: OpenbookOrg/openbook-api


text:
Increasing font size and a number of small changes

Overview
Looking to increase the size of a few type styles to make the app more readable. This affects a few components.
Acceptance Critera
That the app matches the design in the following ways:
Type changes

[ ] h1 is now 19/24px, 1.188rem/1.5rem
[x] P style is now 13/20px, .813rem/1.25rem
[x] our label is now 11px/12px, .688rem/.75rem
View type system on figma

De-scoping

[ ] Remove module icon column on the protocol cards

Mini toast style

[ ] Add new mini toast style (view on figma)
[ ] Make sure the min-height on the mini toast card is 32px

Module cards

[ ] Change the size of the img of the module to 60x54px
[ ] Change the 'firmware update' toast in all of the module cards to be the new mini toast style
[ ] Change the h/s 'module is too hot' toast in to be the new mini toast style
[ ] Change the pipette 'POC missing' toast in to be the new mini toast style
[ ] Change the pipette 'POC needed' toast in to be the new mini toast style
[ ] Change the pipette 'POC recommended' toast in to be the new mini toast style

Type changes
The second and the third were made by brent's PR #9951

Mel to split this ticket up

@mikecardarelli Are you able to close this ticket? I've pulled the outstanding items and merged them with future tickets

source: gharchive/issue

authors: koji mikecardarelli mmencarelli

repo: Opentrons/opentrons

license_type: permissive

license_source: github-api


text:
Fix js page

Deleted the header portion of the js page and contained the rest of the page. Looks better.

Not sure what happened but his pulled in my previous request too, which has already been merged

source: gharchive/pull-request

repo: OperationCode/operationcode

license: MIT


text:
Need repository-s3 during bootstrap for remote-backed storage

Hello,
I'm trying to utilize remote-backed storage. However, it seems that during the bootstrap process, the repository-s3 plugin is required. As of now, plugins cannot be used during bootstrap, rendering the use of remote-backed storage impossible.
Is there a workaround for this or any plans to support plugins like repository-s3 during bootstrap? This capability would greatly enhance our workflow.
Thank you!

Summary:
Remote-backed storage in OpenSearch allows for the automatic creation of backups of all index transactions, sending them to remote storage. This feature requires segment replication to be activated. The main mechanism involves indexing write requests to Lucene on the primary shard only, then uploading the corresponding translog to a remote store. This storage method must be enabled during the cluster bootstrapping process, and once set, cannot be toggled on/off. The communication with the configured remote cluster is facilitated through the Repository plugin interface, and this is compatible with various storage solutions like Amazon S31.
Analysis:
Given your initial concern about the necessity of the repository-s3 during bootstrapping, it's clear from the documentation that during the bootstrapping process, the remote-backed repositories listed in opensearch.yml are automatically registered. This means the repository configurations, such as those for S3, are vital at this stage. The inability to use plugins like repository-s3 during bootstrapping poses a challenge for those wanting to use remote-backed storage, especially if they are looking to utilize solutions like Amazon S3. This could be a significant limitation for users who rely on S3 or similar services for their storage solutions.

Hi @kuro96al. Your issue looks a lot like the one from #430. Does the workaround described there work for you?

It is a separate issue.
In order to utilize remote-backed storage, it is necessary to configure S3 during bootstrap. Therefore, it is necessary for repository-s3 to be referable during bootstrap.
Remote-backed storage is a cluster level setting. It can only be enabled when bootstrapping to the cluster.
https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/remote-store/index/

If the plugin is not referenced during bootstrap, the following error will occur during node startup:
[2023-10-12T19:08:30,565][INFO ][o.o.c.c.JoinHelper       ] [opensearch-test-nodes-0] failed to join {opensearch-test-bootstrap-0}{JS8nlEHCT2aOwmW1y0fC-g}{mXL7GcmDTHazlvq99Estyg}{opensearch-test-bootstrap-0}{10.233.89.222:9300}{m}{shard_indexing_pressure_enabled=true} with JoinRequest{sourceNode={opensearch-test-nodes-0}{8Y82plKwQZuSXp32J5bC7g}{8D66PwhcTpKjVzzJkp3PFw}{opensearch-test-nodes-0}{10.233.89.215:9300}{dim}{remote_store.repository.my-repo.settings.region=dev, remote_store.repository.my-repo.type=s3, remote_store.repository.my-repo.settings.base_path=store, remote_store.state.repository=my-repo, remote_store.repository.my-repo.settings.bucket=abyss2-test-opensearch-store, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo, remote_store.translog.repository=my-repo}, minimumTerm=1, optionalJoin=Optional[Join{term=1, lastAcceptedTerm=0, lastAcceptedVersion=0, sourceNode={opensearch-test-nodes-0}{8Y82plKwQZuSXp32J5bC7g}{8D66PwhcTpKjVzzJkp3PFw}{opensearch-test-nodes-0}{10.233.89.215:9300}{dim}{remote_store.repository.my-repo.settings.region=dev, remote_store.repository.my-repo.type=s3, remote_store.repository.my-repo.settings.base_path=store, remote_store.state.repository=my-repo, remote_store.repository.my-repo.settings.bucket=abyss2-test-opensearch-store, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo, remote_store.translog.repository=my-repo}, targetNode={opensearch-test-bootstrap-0}{JS8nlEHCT2aOwmW1y0fC-g}{mXL7GcmDTHazlvq99Estyg}{opensearch-test-bootstrap-0}{10.233.89.222:9300}{m}{shard_indexing_pressure_enabled=true}}]}
org.opensearch.transport.RemoteTransportException: [opensearch-test-bootstrap-0][10.233.89.222:9300][internal:cluster/coordination/join]
Caused by: java.lang.IllegalStateException: a remote store node [{opensearch-test-nodes-0}{8Y82plKwQZuSXp32J5bC7g}{8D66PwhcTpKjVzzJkp3PFw}{opensearch-test-nodes-0}{10.233.89.215:9300}{dim}{remote_store.repository.my-repo.settings.region=dev, remote_store.repository.my-repo.type=s3, remote_store.repository.my-repo.settings.base_path=store, remote_store.state.repository=my-repo, remote_store.repository.my-repo.settings.bucket=abyss2-test-opensearch-store, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo, remote_store.translog.repository=my-repo}] is trying to join a non remote store cluster
        at org.opensearch.cluster.coordination.JoinTaskExecutor.ensureRemoteStoreNodesCompatibility(JoinTaskExecutor.java:579) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinTaskExecutor.ensureNodesCompatibility(JoinTaskExecutor.java:507) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinTaskExecutor.ensureNodesCompatibility(JoinTaskExecutor.java:470) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinTaskExecutor.lambda$addBuiltInJoinValidators$3(JoinTaskExecutor.java:598) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.Coordinator.lambda$handleJoinRequest$6(Coordinator.java:606) ~[opensearch-2.10.0.jar:2.10.0]
        at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
        at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?]
        at org.opensearch.cluster.coordination.Coordinator.lambda$handleJoinRequest$7(Coordinator.java:606) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.core.action.ActionListener$1.onResponse(ActionListener.java:82) ~[opensearch-core-2.10.0.jar:2.10.0]
        at org.opensearch.transport.ClusterConnectionManager.connectToNode(ClusterConnectionManager.java:138) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.transport.TransportService.connectToNode(TransportService.java:493) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.transport.TransportService.connectToNode(TransportService.java:473) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.Coordinator.handleJoinRequest(Coordinator.java:602) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinHelper.lambda$new$1(JoinHelper.java:209) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.security.ssl.transport.SecuritySSLRequestHandler.messageReceivedDecorate(SecuritySSLRequestHandler.java:215) ~[?:?]
        at org.opensearch.security.transport.SecurityRequestHandler.messageReceivedDecorate(SecurityRequestHandler.java:315) ~[?:?]
        at org.opensearch.security.ssl.transport.SecuritySSLRequestHandler.messageReceived(SecuritySSLRequestHandler.java:163) ~[?:?]
        at org.opensearch.security.OpenSearchSecurityPlugin$7$1.messageReceived(OpenSearchSecurityPlugin.java:763) ~[?:?]
        at org.opensearch.indexmanagement.rollup.interceptor.RollupInterceptor$interceptHandler$1.messageReceived(RollupInterceptor.kt:113) ~[?:?]
        at org.opensearch.performanceanalyzer.transport.PerformanceAnalyzerTransportRequestHandler.messageReceived(PerformanceAnalyzerTransportRequestHandler.java:43) ~[?:?]
        at org.opensearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:106) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.transport.InboundHandler$RequestHandler.doRun(InboundHandler.java:454) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:908) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) ~[opensearch-2.10.0.jar:2.10.0]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
        ```

The most important part of the error is as follows, and occurs because the S3 configuration was not included during bootstrap:
is trying to join a non remote store cluster

The following setting(opensearch.yml) should be passed specifically:
  bootstrap:
    jvm: '-Xmx2048M -Xms2048M  -Dhttp.proxyHost=pwg01-8080.yahoo-net.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=pwg01-8080.yahoo-net.jp -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts="localhost|*.nonproxy.com|127.0.0.1|*.corp.yahoo.co.jp|*.dev.yahoo.co.jp|*.icos-d.yahoo.co.jp"'
    additionalConfig:
      cluster.indices.replication.strategy: 'SEGMENT'
      node.attr.remote_store.segment.repository: my-repo
      node.attr.remote_store.translog.repository: my-repo
      node.attr.remote_store.state.repository: my-repo
      node.attr.remote_store.repository.my-repo.type: s3
      node.attr.remote_store.repository.my-repo.settings.bucket: abyss2-test-opensearch-store
      node.attr.remote_store.repository.my-repo.settings.base_path: store
      node.attr.remote_store.repository.my-repo.settings.region: "dev"

Duplicate of #430 . Installing plugins in the bootstrap pod is tracked there. Closing this issue.


text:
Using upstream versions of aws-nuke

How often do you guys update the included aws-nuke version?  We are unable to sanitize accounts and add them back to the pool as aws-nuke is missing a filter we need for our Org.
I've submitted a PR to aws-nuke, but its unclear to me once merged, how to get that deployed via the dce deployment.
Any advice or assistance would be very appreciated!
ryan

Hey @rwhelan -- we're actually looking to contribute back a few resources to aws-nuke in the next couple weeks, so we should be keeping up to date regularly.
As far as the process for upgrading aws-nuke:
We're using a fork of aws-nuke for the time being. So we would need to PR for an upstream merge from the core aws-nuke repo into Optum/aws-nuke, and then a second PR in Optum/dce to upgrade the version of aws-nuke in our go.mod file.

Thank you!

authors: eschwartz rwhelan

repo: Optum/dce


text:
Change the behavior of forced enrollment for service instances

Currently, the autosleep service does not allow service instances to be deleted if the forced-autoenrollment parameter is set to forced guarded by the secret. A side effect of this is: Org/Space managers who would want to delete a space won’t be able to do it since this service instance won’t be deletable and not all Org/Space managers may have access to the secret parameter (especially in a public PAAS).
However, now that there is this plan of introducing "Automatic scans for orgs/spaces too" via this feature, can we change this behavior of forced enrollment for service instances to the same as it is for binding instances. That is: we allow an user to delete the service instance and if the space is not deleted till the inactivity period, the service instance is created again.
This allows Org/Space managers to delete their owned spaces as and when they would want to. This is a pretty important use case for us.

Thanks @pradyutsarma for your feedback.
The proposed behavior makes sense to me in the context of #201
I'd prefer to include this feature as part of #201 , keep the discussion there, and this issue as duplicate. Any objection ?

Thanks @gberche-orange. No objection at all. That's basically the sole reason why I referred that issue in my comment https://github.com/Orange-OpenSource/autosleep/issues/201#issuecomment-226734488
As you suggested in the other thread, would be a good idea to have a call and discuss the rest of the use cases and workflows.

Thanks @pradyutsarma
Closing this issue for now. Looking forward to receiving your email and having a call with you.

authors: gberche-orange pradyutsarma

repo: Orange-OpenSource/autosleep

license_source: bigquery


text:
DSurroundings crashing the client:

*Mod Version: 3.4.10.2 *
Forge Version: 2772
dsurround-ss can water freeze.log
showfrostbreath crash.log

Update to v3.4.10.3 - it has the fixes.

@Adam-R-Kaminski Have you had a chance to update?

Yes, i did, update fixed the issues. I'll report new ones if i find them.

Cool!  I will close the issue then.  Thanks!

authors: Adam-R-Kaminski OreCruncher

repo: OreCruncher/DynamicSurroundings

license: mit


text:
Selective merge of feature-egm branch into master

Changes

no dependencies on the unreleased abb_egm_interface and abb_rws_interface packages in yumi_hw and yumi_cameras
added vel/pos controllers for both arms in yumi_control/config
added traj controllers for both arms in yumi_control/config
included install directives in the CMakeList.txt files which are necessary for a future release
removed KTH accessories and KTH setup related features in yumi_description and yumi_launch

TODO
Tested only in simulation - test on the actual robot with the launch files in yumi_launch; might need changes in yumi_support/yumi_hw

Hey,
I'll be running tests on the real robot tomorrow. I'll keep you updated on the results.

I just checked this pull request, and fixed some network parameters, to have yumi_support running with interfaces for left arm, right arm, and the grippers.
I also commented the ROS controllers action servers from MoveIt! controllers.yaml, so that its ready to use faster.
For running yumi_support we need industrial core MAX_NUM_JOINTS to be equal to 10. We should add a comment regarding this somewhere.
About the RWS interface to ROS control (not yumi_support), we haven't used it at KTH. Do you also want me to check it? Are we providing support for it?

authors: YoshuaNava rtkg

repo: OrebroUniversity/yumi


text:
大佬，能做个 dumi 的 vuepress 主题吗?

😎

感觉你这个需求受众太少了，theme-default它不香吗？手动@PeachScript(doge

要是能把主题市场搞出来就更香了😍
dumi-theme-antd
dumi-theme-antv
dumi-theme-material
dumi-theme-semantic
dumi-theme-vuepress
dumi-theme-yy
...

有道理哦，整

VuePress的写了，先关了哦@xrkffgg  https://github.com/OrekiSH/dumi-theme

authors: OrekiSH PeachScript xrkffgg

repo: OrekiSH/vuepress-dumi


text:
Resolved issue #696

Added implementation for route user requests for documents.
Issue #696

Close PR for fix problems. Will open new PR with changes

repo: OrienteerBAP/Orienteer


text:
Checklist for new release of origin.js

Creating checklist of tasks to be completed for each new release, ideally at the end of each sprint.
A lot of these steps could be automated someday, but for now probably good to do it by hand a few times.
Confirm readiness

[X] Check version number in package.json
[X] demo dapp: Confirm all tests passing
[X] origin-js: Confirm js tests passing

npm run setup
npm start

[X] platform: Confirm smart contracts (.sol) tests passing

cd contracts && truffle test

Publish

[ ] demo-dapp: Merge develop into master and push
[ ] platform: Merge develop into master and push
[ ] (If contracts are changed)

[X] Deploy new smart contracts to Rinkeby. Be sure addresses are listed in ABI files.

export ROPSTEN_MNEMONIC="<mnemonic>"
truffle migrate --network ropsten

[ ] Deploy new smart contracts to Ropsten. Be sure addresses are listed in ABI files.

export RINKEBY_MNEMONIC="<mnemonic>"
truffle migrate --network rinkeby

[ ] Migrate data from old contracts to new. (Once we get around to writing migrations!)

[ ] Build origin.js (in dist/origin.js)
[ ] platform: Create new GitHub release with origin.js code,

[ ] Version in form v0.1.2 (This will add git tag on master)
[ ] Include addresses of smart contracts in description

[ ] demo-dapp: Add git tag to master to match platform.
[ ] Publish to npm. (npm publish)
[ ] Deploy new version of dapp to heroku (url to be determined)

Special case

[ ] Deprecate @originprotocol/origin - https://stackoverflow.com/a/28841779/59913
[X] Re-publish as origin

Follow-up

[ ] Confirm published origin.js file is accessible via code.originprotocol.com redirect
[ ] platform + demo-dapp: Increment version number on develop to for next release
[ ] Review docs for needed updates. Confirm example code on playground site (jsfiddle?) still work.
[ ] demo-dapp: Confirm that "one-line setup & run" command works on master branch shown by default
[ ] Copy this to-do list into new issue for next sprint.

Copied this into latest sprint. We'll see how it goes!

Rinkeby result:
~/Origin/platform/contracts$ truffle migrate --network rinkeby
Using network 'rinkeby'.

Running migration: 1_initial_migration.js
  Deploying Migrations...
  ... 0xfceacb3782f52faa590f19a2bc377baad31aeb2630742b4a4dc472ea2fcbf9cf
  Migrations: 0x46a1e3eafad0e54dbbdcc4ab1c447bcebc4bf842
Saving successful migration to network...
  ... 0x5b4bedc41f2c52775a5e0a0029ab6669ecd1d144fb1bcbe9c5e90ff362266bb1
Saving artifacts...
Running migration: 2_deploy_contracts.js
  Deploying PurchaseLibrary...
  ... 0x163416b5cc7113d6148d8203cc6804d63fdd008eee41f710029d4da79fcc866e
  PurchaseLibrary: 0xf06038afe9ed6daa8f9d2ba4b0dc3bd4fe6266e9
  Linking PurchaseLibrary to ListingsRegistry
  Linking PurchaseLibrary to Listing
  Deploying ListingsRegistry...
  ... 0xf719a2b523d14fdefb2af79a23866e23988b4bf2d6acbc6e832561852e0dd899
  ListingsRegistry: 0xbc16a0193de4cbbb39c188850df711340d151b3f
  Deploying UserRegistry...
  ... 0x9156609f8787fc345e32f80f667e3947caf42c7168480f06cedc21ea10082df2
  UserRegistry: 0x90d36e62f94fb2a59206d113b938671b758c1c97
Saving successful migration to network...
  ... 0xe27ccf31f1cc915b08fed870029d3f4095380b9ab09ac58e084d8ca148d08007
Saving artifacts...
Running migration: 3_create_sample_listings.js
network rinkeby
Saving successful migration to network...
  ... 0x71e68b5d8570ba37cc88e01f97411e2e59288b6089bf109b2a211a5fe1435505

Ropsten:
~/Origin/platform/contracts$ truffle migrate --network ropsten
Using network 'ropsten'.

Running migration: 1_initial_migration.js
  Deploying Migrations...
  ... 0xecd68f6e1d2005be54e066714337a2a06320edf609ee048b729eca6a06acf14d
  Migrations: 0x90d36e62f94fb2a59206d113b938671b758c1c97
Saving successful migration to network...
  ... 0xd8940638c12640d3f4224dbb0d8ae5086cb272ae7a5dcc194a49bcd6f9461e1e
Saving artifacts...
Running migration: 2_deploy_contracts.js
  Deploying PurchaseLibrary...
  ... 0xf310456ee2e1a0c30a1a40d9cda91f2b348e9c3c57651dd15c19709fbdaa42cd
  PurchaseLibrary: 0x70e8efa36452239f773218a70cf6710f5f8fd40e
  Linking PurchaseLibrary to ListingsRegistry
  Linking PurchaseLibrary to Listing
  Deploying ListingsRegistry...
  ... 0xbba2511c77143bb202e751c091378c991249099e0c12a2185d235e793379a5c7
  ListingsRegistry: 0xac824c89eab1b2e1b92f0e1675b49d5ddaee06fe
  Deploying UserRegistry...
  ... 0xae40e84971a6f557d854c9e7e7478dc26ac2dc16974c27d8a2b7c3fb06c0fbb4
  UserRegistry: 0xe6f31abe55f5d33b7acdf7b545ade50d95c7f3a3
Saving successful migration to network...
  ... 0x2514551419f1af0f277b04372a8545890c87c820f34100f85996dec3e4889acb
Saving artifacts...
Running migration: 3_create_sample_listings.js
network ropsten
Saving successful migration to network...
  ... 0x8581369c36bd5583727bf4c15a376fa0627c54c4dafeb3801842d5080dba104c
Saving artifacts...

All was done according to the holy checklist. Release 0.5.8 is hereby released, and this issue thereby, and in good conscious, closed.

repo: OriginProtocol/origin-js


text:
git-town hack broken on windows

git-town hack fix-welcome

[master] git fetch --prune

cd C:/workspace/js/sites-app

[master] git rebase origin/master
Current branch master is up to date.

[master] git checkout -b fix-welcome master
Switched to a new branch 'fix-welcome'

[fix-welcome] git push -u origin fix-welcome
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/ory/sites-app.git
 * [new branch]      fix-welcome -> fix-welcome
Branch fix-welcome set up to track remote branch fix-welcome from origin.

cd C:\workspace\js\sites-app
2017/06/01 10:06:32 open /tmp/hack_C:_workspace_js_sites-app: The system cannot find the path specif
ied.

This should be fixed by https://github.com/Originate/git-town/commit/ac68293714e2257629c1e6d6812bfe8e442145b7, which will be released later today via https://github.com/Originate/git-town/pull/953.

closing as a duplicate of #925

4.1.0 released with a fix

Not working, probably because /tmp isn't a directory on windows...
cd C:\workspace\go\src\github.com\ory\fosite
2017/06/04 15:46:41 open /tmp/hack_C--workspace-go-src-github-com-ory-fosite: The system cannot find the path specified.

We should use os.TempDir to determine the root temp directory to use.

authors: arekkas charlierudolph kevgo

repo: Originate/git-town


text:
why mount logs on volume?

Is there a specific reason why you want to mount logs on volume? https://github.com/Osedea/nodock/blob/f851f5e/docker-compose.yml#L59

Hey @0x13a, that way you can access the logs from the host. If your container crashes on boot or you just want to use your host's tools it's quite useful.
If you're running NoDock in production, it makes it easier to use log monitoring software.
Let me know if this answers your question :smile:

If your container crashes on boot
You can still check logs with docker logs <container>
You can still plug monitoring tools as docker images and share the volume. This can be a feature request, add ELK stack as a new image in the docker-compose file

I guess is against the idea of docker compose to have logs mounted on the host machine

You can still check logs with docker logs

Fair point.
ELK sounds like the way to go for production but as far as development environments go I think we still need direct access to the logs for simplicity's sake.
I think this can be separated into 2 issues:

Enhancement: Removing the mounted volume for the logs + adding the instructions on how to access the logs from the host (through exec probably)
Feature: Adding the ELK stack image https://github.com/deviantony/docker-elk

@0x13a Any more thoughts on this?

Makes sense!

repo: Osedea/nodock


text:
🛑 ComboList is down

In e2615e7, ComboList (https://combolist.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Combo-List is back up in f87735f.

repo: OsintUK/Up-or-Down


text:
shop4All-2 Log in and register

delete .formLogin from WebSecurityConfiguration
moved JwtRequest and JwtResponse to DTO package
all controllers return ResponseEntity
resolved comments order
deleted templates properties
created Factory Pattern for seller, buyer and admin

created UserService and UserEntity
removed AdminService, SellerService, BuyerService and their entities
created custom exceptions(only for basic exceptions)
Integed Id added
register validate email and password
changed the name of the packages, but omitted to put them in the plural

Resolved basic exception handler
Added @Setter and @Getter
Deleted target folder


text:
add new student

Hello,
It's my first commit, pls add me to organization

Здравствуйте!)
Репозитории созданы, приглашение должно быть у вас в почте
Постарайтесь принять их как можно быстрее


text:
:sparkle: Unfold header attribute value by default

Pull Request
My patch is about

[ ] :bug: Bugfix
[ ] :arrow_up: Improvement
[ ] :pencil: Documentation
[ ] :heavy_check_mark: Tests
[x] :sparkle: Feature

Checklist

[x] I accept that my PR will be distributed under the MIT license.
[x] Test cases added for changed code if necessary.

Describe what you have changed in this PR.
Sometime an header can have folded content. This PR allow end-user to get attribute value unfolded by default. It won't alter original content. Still can accessible from content property of Header.

Codecov Report

Merging #22 into develop will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #22      +/-   ##
===========================================
+ Coverage    90.28%   90.30%   +0.02%
===========================================
  Files            7        7
  Lines          916      918       +2
===========================================
+ Hits           827      829       +2
  Misses          89       89

Impacted Files
Coverage Δ

kiss_headers/models.py
92.73% <ø> (ø)

kiss_headers/utils.py
94.85% <100.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: Ousret codecov-io

repo: Ousret/kiss-headers


text:
32位的软件能调用这个64位dll吗？

如果32位软件无法调用64位dll，该怎么使用您这个dll？

#5 添加了Win32平台。
注意32位版本必须使用32位的OpenCV.


text:
OnEntityLeaveAll add hook

OnEntityLeaveAll to fix the zone management

Closing, as this isn't needed anymore.

authors: lukespragg strykes

repo: OxideMod/Oxide


text:
deployment of assembly mate pair support

After the app spec and wrapper script changes have been deployed assign to @aswarren for interface deployment.

Done.

This has been deployed fully.

authors: aswarren olsonanl


text:
README.md ccmake typos

in README.md, shouldnt it be cmake instead of ccmake ?

ccmake is the GUI version of cmake, it presents a 'graphical' user interface where you can review settings and then create the makefiles that are used with cmake --build build.
On windows, ccmake can be replaced with cmake-gui.exe.
But you're right, maybe I should explain that more clearly in the Readme.

authors: alphataubio mhekkel

repo: PDB-REDO/libcifpp


text:
OP all permissions?

Is there anyway to give op all the permissions to pex or gives a rank all the permissions rather than having to write up all the permissions?

First and foremost, don't use /op on anyone.  The OP command is intended for vanilla servers that have no plugins at all.  Using that command on someone can make you think the server (that is using plugins) is setup correctly when it actually is not.
If you want to give all permissions from every plugin on the server to someone: /pex user <user> add * [world]
If you want to give all permissions from every plugin on the server to a group: /pex group <group> add * [world]
<user> and <group> must be replaced with a username or a group name.
[world] would be replaced with an exact world name, if you're using multiworld or multiverse settings.
Keep in mind that both of the above commands also give the user/group permission nodes that are not wanted, such as a vanish plugin's permission node that makes them join the server silently (not announcing that joined) and invisibly (unable to interact with anything on the server, no breaking blocks, picking up items, etc.).
If you're the server owner, you may want to give yourself all of the permission nodes from a specific plugin, like all of the PEX commands so that you can use all of those commands while you're testing groups on the server.  In that case, you would use the following command: /pex user <user> add permissions.*

repo: PEXPlugins/PermissionsEx


text:
Pex keeps shutting down!!

Hey Everyone,
So I have been making servers for a while now and I love using PEX on all my Projects and when to download it and then as soon as I put my Perms in and hit reload it just did not work. It still did not work even after a complete shutdown. So I redownloaded it and tried it again and it worked but soon as I wanted to add more perms I made sure to Shut the server down. Soon as I got back on it still not working. It's like it works for one reload then it shutdown.
If there is anyone that could help me or Mabey tell me what's going on?
Mabey another plugin is affecting its work. Here's a List of the plugins.

ChestShop
EasyWarp
Essentials
iConomy
mcMMO
Multiverse-Core, Portals, and SignPortals
"PEX"
PluginMetrics
Updater
Vault
WorldEdit
WorldGuard

Please Help...

Any errors in the server startup log?  Copy the full startup log to Pastebin and leave the link in this thread.
Which version of PEX?  Copy your full permissions.yml file to Pastebin and leave the link in this thread.
Are you running a Bungeecord server?  (I can't help you with those.)
Are you using SQL?  (I can't help you with that.)

Hello,
Thx for the help. Here is all the info to your questions "Stormbow"
Here's the Startup - http://pastebin.com/f2kCbHsk
Here's the Permissions.yml - http://pastebin.com/NrCz96mv
No, this server is not a Bungeecord Server. It is a CraftBukkit 1.8
No, I don't believe I am using SQL.
I believe as well I'm using the "Essentials" reload function.
If there is anything else that you need to figure the issue out please list below.

• Your server version is actually "1.8.8".  It's very important to be specific on this because plugins for "1.8" may not function on a server that is "1.8.8".
• Because you're running a Craftbukkit server, it's important to make sure your plugins are also for Craftbukkit and not actually for Spigot, which can sometimes be a problem.  This may be a problem for you too; see below.
Because the official "Craftbukkit" server wrapper— which was from the "Bukkit" website —was shut down by one asshole coder who DMCA'd (claimed copyright infringement against everyone else on the "Craftbukkit" project) the entire thing out from under the entire Minecraft community, you're better off running a Spigot server since the whole DMCA thing can't happen to Spigot.
• You have a corrupted PermissionsEx file.  Download PEX 1.23.4 from right here.  (This seems to be the solution for previous "invalid plugin.yml" errors.)  This is the primary reason your server is not functioning correctly.
• It appears you have iConomy 7 for Minecraft "1.10" on your server.  This should not be expected to function properly on a "1.8.8" server until it has been completely tested.  The original "iConomy" plugin was discontinued about 8 years ago or so; most Minecraft servers today have "EssentialsX" handle their economy needs.
• It appears you are actually attempting to use "EssentialsX", and your version is is for Spigot "1.11.2" servers.  This, also, should not be expected to function properly on a "1.8.8" server until it has been completely tested.  "Essentials" for "Craftbukkit" was discontinued at version 1.8 by the original author (KHobbits) after the DMCA issues I mentioned above.  Since Spigot became the primary server wrapper, a user took up the "Essentials" name and created "EssentialsX" to run on Spigot servers.
• Your mcMMO plugin is also for "1.11.2" Spigot servers.  This should not be expected to function properly on a "1.8.8" server until it has been completely tested.  The final release for "Craftbukkit" was for "1.7.9" servers.
Once you have addressed all of these issues, post another server startup log for me to review if you are still experiencing problems and I'll help you get those straightened out too.

Dude, Thank you.
I will give them a try and I will get back to you.
Thanks Again!

You're welcome.  Good luck!

Dude, Dude, Dude
You are a Master at what you do!! XD
Thx Again, everything is working!!
Keep Helping People!!

Fantastic!  Have fun.  :)


text:
Bug - Biome Inheritance and CustomStructure()

If you inherit a Biome that already has a CustomStructure, and add one yourself, the Final Config file will have two CustomStructure() ressources, which is invalid, and throws an Error.
It would be great if OTG would Merge the CustomStructure() from both Biomes, or if OTG can handle multiple CustomStructure() ressources in a single biome.

Hey, thanks for reporting this, will see if I can fix this for the next release.

Could look at overriding the parent's customstructure with the child's.

For v8_r2: When using BiomeExtends with ResourceInheritance: true, if there are 2 customstructures, the child's structure overrides the parent. To override a parent structure with an empty value, use an empty CustomStructure() resource.


text:
Document respawn filters

Merged in PR https://github.com/PGMDev/PGM/pull/762
Looks like it uses apply ordering so the first one that passes is used.

Documented in d1183a86145b38b5957c967161b02e4d41f63f0d

authors: CoWinkKeyDinkInc Pugzy

repo: PGMDev/Website


text:
[Request] No Network Connection Notification

Also, I think a new feature to add a notification if network errors occur would be a good idea. It would help others figure out if the wallet is not loading balance for that reason.
Originally posted by @mteam88 in https://github.com/PIVX-Labs/MyPIVXWallet/issues/14#issuecomment-1019294452

Pull request

repo: PIVX-Labs/MyPIVXWallet


text:
investigate grunt-perfbudget

https://github.com/tkadlec/grunt-perfbudget

https://github.com/PJL101/fedkit/issues/11


text:
1.0.5表格视图编号排序错乱

如上图所示。
p.s. 新的路线图风格非常赞，同一数字或字母层级的笔记之间联系更一目了然了，跟结构图也是相辅相成。

该 bug 已于 1.0.6 修复。

authors: Dirtyuri terrychenzw

repo: PKM-er/obsidian-zettelkasten-navigation


text:
有一些文献不能导入？

有一些文献选择后不能导入进来，不知道什么原因，另外注释的图片也不能正常显示
例如：https://ieeexplore.ieee.org/document/10097479

先试下新版还有没这个问题？

好像还是有不能导入的文献，在 Zotero 里 "Create Literature Note(s)" 会跳转但是没有生成笔记。比如这个：http://ieeexplore.ieee.org/document/5222004/

我尝试复现了一下不能导入的问题，可能是由于 Zotero 的版本变化？
我这边满足下面情况的文献导入、更新、引用都不行：

至少有一个笔记附件；
笔记中的内容是用 Zotero 6 写的，而我已经更新到 Zotero 7。

笔记中是纯文本，没有添加任何格式。解决方法我也试了，只要在 Zotero 里把整个笔记内容全选并清除格式，就可以用 ZotLit 导出了。
另外，附上报错信息如下：
![image](https://github.com/PKM-er/obsidian-zotlit/assets/22237751/f26f0d4b-8196-4602-93cd-e3183d0cc069)

咋办啊有解决办法了吗

咋办啊有解决办法了吗

这个库还在开发中呢，这明显是个BUG，解决办法就是等他们更新，或者你pr一个你的解决方案

authors: PandaK404 Postroggy aidenlx alephpiece chineiraku

repo: PKM-er/obsidian-zotlit


text:
文件管理中如何同时下载多个文件或者下载整个目录？

目前文件管理中，文件只能一个一个下载，如何同时下载多个文件？或者如何下载整个目录？

好像没有这个功能，我是在自己在任务里面打包的。

能增加这个功能吗？

近期版本暂无增加该功能的计划，可以进入shell压缩打包后再下载

authors: liu-shaobo vanstriker zhengkang2020

repo: PKUHPC/SCOW


text:
Packages required to run gRPC on AXC

What packages are required to be installed on the AXC platform to use gRPC with Python?
I believe I have generated the stubs correctly as per the instructions in the folder in the repository. And I've generated a simple python script to write to a string port in the PLC.
On the PLC I have run the following commands:
pip install grpcio
pip install protobuf
Then I attempt to run my test script, but then receive the following error:
ImportError: cannot import name 'cygrpc' from 'grpc._cython' (/opt/plcnext/.local/lib/python3.8/site-packages/grpc/_cython/init.py)
Am I missing a package? Trying to install cygrpc via pip, just generates a lot of errors?

Here I have the same problem.
Did you find any solution ?

I can get the gRPC to work on the AXC F 3152 platform after install the following App from the plcnextstore:
Python Basics
I have run through the basic functions to Read / Write data to the PLCnext runtime, but I haven't gone through all the features yet.
I haven't yet got it working on an  AXC F 2152. The current thinking is that some of the required Python packages are not compiled for ARM (2152 = ARM, 3152 = x86). So some cross compilation may be required (it may be easier to do this in a docker container on an x86 machine), but I haven't got that far yet. Once I get a working system on X86, I'll look at cross compilation and maybe a container - however that is something I'm going to have to take time to learn as I've not had to do that yet ;-)

There's an example here for the AXC F 3152
https://www.plcnext-community.net/makersblog/grpc-python-read-and-write-process-data/

authors: AndyE-PxC SidMarc martinboers

repo: PLCnext/gRPC


text:
🛑 MUSA is down

In 66f43fb, MUSA (https://storemusa.com/) was down:

HTTP code: 403
Response time: 252 ms

Resolved: MUSA is back up in 44e4e3b after 12 minutes.

repo: POCLANOS/status


text:
CUDA error even when using cpu yaml

Hello and thank you for your great work.
I was trying to use this command python pin_slam.py ./config/lidar_slam/run_demo_cpu.yaml to run the initial test but i get this error:
  File "pin_slam.py", line 380, in <module>
    run_pin_slam()
  File "pin_slam.py", line 103, in run_pin_slam
    T0 = get_time()
  File "/home/omar-nour/catkin_ws/src/PIN_SLAM/utils/tools.py", line 273, in get_time
    torch.cuda.synchronize()
  File "/home/omar-nour/miniconda3/envs/pin/lib/python3.8/site-packages/torch/cuda/__init__.py", line 799, in synchronize
    _lazy_init()
  File "/home/omar-nour/miniconda3/envs/pin/lib/python3.8/site-packages/torch/cuda/__init__.py", line 302, in _lazy_init
    torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available

I am trying to run PIN-SLAM on Ubuntu 20.04 Virtual Machine (Virtual Box) with ROS Noetic

Thanks for your interest in our work and the report of this bug.
This is due to the blind torch.cuda.synchronize() call in get_time() when there's no cuda devices (CPU only).
Now you can pull the latest version and try it again.

authors: Omar-Nour YuePanEdward


text:
建议增加配置转项答题不翻页

有些人的专项答题已经全做完了，只要查看最新的有没有做，可以增加一个配置项，不需要再翻页查找没有做的

一般20分钟每天的任务就完成了。
或者程序设置下30分钟后自动关闭。

一般20分钟每天的任务就完成了。 或者程序设置下30分钟后自动关闭。

请问一下如何设置时间自动关闭 我找了好久没找到这个功能

repo: PRaichu/xxqg


text:
pixhawk 2.1 voltage issues.

@dagar @Tony3dr
I had problems with pixhawk 2.1 voltage reading,  I have calibrated the voltage several times  and even with the full battery, activate the fail safe immediately.
I already tested with another voltage sensor and reset the parameters and it's still the same.
https://review.px4.io/plot_app?log=8c1f6603-3183-4bf6-87fd-6d527988a276
https://review.px4.io/plot_app?log=23ce4f5f-e26c-4a00-96e7-5e7cf5c8138c

Obviously there isn't much to go on, but can you describe the full flight, the fly away, and post the last few logs from this vehicle that you do have?
Did the flyaway correspond with telemetry disconnecting?
Did the vehicle look stabilized?
What was the exact build you were testing?

@dagar I will gather the data and details and send it over to you. Thanks.

Setup of the build.
DJI F450
Pixhawk 2.1 (cube)
GPS here +
Motors Tmotors 2212 920kv
ESC DJI 420 lite 20A
Frsky D4r-II
Holybro 433 telemetry radio
The copter had two successful flight before the flyaway. On the flight of the flyaway, upon the takeoff and during the mission, the copter was fly stable, we lost sight of it for a moment and we did not see it again.
Please note- The copter was not connected to the telemetry that is the reason why we didn't find it. We were having an issue connecting to the telemetry so we decided to fly it without telemetry.
The commit of this flight was the 44f650f.
This is one of the last logs that was made with this copter.
https://review.px4.io/plot_app?log=a8246a6a-d917-495a-ad5e-3295b9e93c02

authors: Avysuarez Tony3dr dagar


text:
Gimbal Control with QGC User Interface is Not available!

I am aware that there is an app in PX4 that allows to control a gimbal. However, it's not activated/running by default, and there is no User Interface for it in QGC. There is something similar in APMCopter firmware which it is very convenient. It would be very useful to have it in PX4/QGC.
Thanks.

Working on it ;)

Awesome!

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)

authors: PX4BuildBot mhkabir mzahana


text:
Add jsbsim bridge to enable jsbsim for px4 SITL on jsbsim

Describe problem solved by this pull request
Current SITL integrations either lack good aerodynamic simulation (gazebo) or does not support lockstep (flightgear). This has shown to be problematic on modeling complex aerodynamics for fixedwing / VTOL applications
Describe your solution
This is a PX4 HIL/SITL integration into JSBSim. JSBSim is an open source flight dynamics model (http://jsbsim.sourceforge.net/), which allows simulating complex flight dynamics behavior.
The implementation comes from Auterion/px4-jsbsim-bridge
and is directly integrated into JSBSim, allowing lockstep with PX4 SITL simulations.
The difference with flightgear-bridge is Flightgear is only used as a visualizer and is not part of the flight dynamics simulation. This means that the simulation rate does not depend on the render rates and can be sped up faster than realtime with lockstep.
Currently there are three models available which is the rascal(fixedwing), quadrotor_x(multirotor), hexarotor_x(multirotor) integrated into the bridge.
The visualization is done with flightgear and is done by the bridge sending UDP packets to flightgear. To disable the visualization HEADLESS=1 when running the make command.
The simulation can be configured through the configuration files under the config directory through a xml file.
Dependencies

JSBsim can be installed through one of the rolling releases
For visualization, the latest flightgear needs to be installed

Test data / coverage
The simulation can be run with the firmware with the following command for example
make px4_sitl jsbsim_rascal

@hamishwillee Docuementation will folllow

@Jaeyoung-Lim  This is great!
I want to ask how should I add new models (e.g. tailsitter)? thanks :smiley:

@xdwgood I will add documentation on how to configure the jsbsim-bridge. Prior to this, you would need a tailsitter jsbsim model.
You can find how this can be done in the jsbsim Reference Manual

authors: Jaeyoung-Lim xdwgood


text:
WIP: add attitude estimation to LPE

Since I was able to lower the cpu usage considerably for LPE and it looks very stable, this is a branch to evaluate if we can add the attitude estimation to it as well.
Still need to add correction and initialization.
@mhkabir @kd0aij

@jgoppert although I am quite sure that this could be achieved with reasonabke results, I am curious, what the benefit in terms of evolvable strategy would be.

The main benefit would be increased accuracy of position and attitude by combining the estimation. The downside would be more cpu usage. EKF2 and LPE are both really benefiting from healthy competition between the two estimators and they both have strengths and weaknesses. One of LPE's current weakness is lack of support for direct attitude estimation and airspeed estimation, which this is a step towards addressing.

I'm closing this until its ready.

authors: LorenzMeier ecmnet jgoppert


text:
ecl ekf tools: fix integration errors affecting hagl, optical flow & gps checks, add sideslip and gps fix type plots

not integrated estimator innovation_check_flags & gps_check_fail_flags bit changes resulted in wrong hagl & optical flow checks as well as gps check plots. This pr solves these issues and adds additional sideslip and gps fix type plots.
changes (see estimator_status msg for documentation of  innovation_check_flags & gps_check_fail_flags):

add the sideslip innovation fail check and move the hagl innovation and optical flow innovations fail checks to the correct bit (one up)
add plot for sideslip innovation fail check
add the gps fix type fail flag and move the all other gps checks up by one bit
add a plot for the gps fix type

I think we should consider changing the estimator logging to use booleans per flag instead of these bitmasks. We now have the same duplicated constants in ECL, PX4 uORB, PX4 Tools, and Flight Review. They're also much harder to review quickly in Flight Plot.

@dagar I agree, the changes to the bitmasks were actually made about 2 years ago (at least the one for the sideslip), but the doc in estimator status was only updated about 1 year ago. Hence, it's really difficult to find these kind of bugs.

Hence, it's really difficult to find these kind of bugs.

I suspect it would be much easier with booleans (more or less self describing), but the transition would be annoying.

authors: JohannesBrand dagar


text:
[BACKPORT] arm/stm32h7x3x_rcc.c: Add External Power Supply option to stm32h7x3x …

Targets: Devices using arm/stm32h7x3x_rcc.c
Summary
This adds the option of using an external power supply connected directly to the VCAP pin.
This is necessary if the board designer decides to power the uC through an external power supply, which can help to decrease the temperature, have a stable current delivery, etc.
I kept this modification as simple as possible, so further combinations could be applied as shown in the reference manual RM0399, pages 275 and 329. It also is adapted to requirements shown in RM0433, pages 260 and 307.
Impact
This should have minimal or lack of any impact on present targets, as it's using a new setting built around the existing power options structure, keeping the current configurations untouched.
Testing

Checked correct compilation against nucleo-h743zi and stm32h747i-disco targets, modifying the configuration of settings involved.
Tested in HW with downstream (PX4) using 3DR Control Zero H7 OEM rev G.

This is a backport of apache/nuttx #12902.

@TOTON95 Please add [BACKPORT] to the commit message and force push.
For CI testing, please also add a PX4 PR that uses this commit

@davids5 Done, let me know if I can help with anything else.


text:
[Terrain estimator] Continuously reset terrain height on ground using known ground clearance

Ground clearance is the best estimate we can have when we are on the ground and we should not rely on a distance sensor that could output bad data before flight.
This also helps when the drone is carried over as it avoids starting with a crazy downward distance for optical flow scaling.
Prior to this PR:
The dist_bottom starts at 3 meters because it initializes on wrong range finder data.

With this PR:
The dist_bottom starts from the ground clearance and reject properly measurements until they actually make sense.

@bresch I was about to do another cleanup regarding the entire logic of checking range data validity.
There are some things I wanted to get rid of such as:

We are replacing range data with known ground clearance at multiple locations instead of doing it at a central point, e.g.
https://github.com/PX4/ecl/blob/master/EKF/control.cpp#L1170
https://github.com/PX4/ecl/blob/master/EKF/control.cpp#L1275
https://github.com/PX4/ecl/blob/master/EKF/control.cpp#L1084
https://github.com/PX4/ecl/blob/master/EKF/terrain_estimator.cpp#L106

So I was wondering if we could consolidate this into a single location such that we don't need to have those checks all over the code. I think this would also solve your case as range data would automatically be set to the ground clearance when the vehicle is not in air.
What do you think?

Note for myself: remove if ((_rng_hgt_faulty || !_range_data_ready) && !_control_status.flags.in_air && _vehicle_at_rest &&

The last commit changes the snake_case functions to camelCase to follow the general convention. I also ran astyle for general formatting.
For now, the camelCase function naming isn't used for most of the EKF functions, but I think we should move towards this every time we do an update somewhere, do you agree? Or is this a no-no because it breaks the interface (i.e.:other projects than PX4 using ecl should update their code)

todo: wrap new functions into old function call for backward compatibility

@RomanBapst Can you review and approve again please?

Thanks @bresch

authors: RomanBapst bresch priseborough


text:
No LICENSE

See title.

fixed by 92fb79edeb4dd6f6bd2be47c328f56f469e36275

cool. thanks for the quick reply (and permissive license!)

authors: awalton mischief

repo: PacketFire/go-ircd


text:
allergies_load.cql error

Mapping the source data to graph book pdf pg 89
git file allergies_load.cql
line 13, column 33 (offset: 459))
"      WHERE row.STOP IS NOT NULL. and row.STOP <> ''"
Offending token NULL.
Should be / Fix NULL without the '.'

Thanks for pointing out the issue. I have fixed it now.

authors: exaptations ravi-anthapu

repo: PacktPublishing/Cypher-Querying


text:
Rename the game

When you start the game the title is Space Explorer. The game should be named Space Invaders.

Hey, I am interested in fixing this issue. And provide me with a better description.

repo: PacktPublishing/Github-For-Young-Coders


text:
Chapter 3 Xacro files and urdf files results are different while xacro being wrong

W.r.t to chapter 3 I would like to raise some issues.
**ROS ** - Noetic
Issue one :
roslaunch robot_description arm_gazebo_control.launch and roslaunch robot_description arm_gazebo_control_xacro.launch produces different results.
The results can be seen below.

Manipulator urdf file launch gives correct results while xacro file throws error. Plus in source code of manipulator xacro launch you are launching the urdf file only.

result of xacro launch

result of urdf file launch

I have also checked whether urdf files generated through rosrun xacro xacro filename > outfilename are working or not. They are giving the same error.
I have spent many hours thinking I was making some mistake.

Hey... Can you tell me which standard Robotic arm has been used in this project ?
can you give me the reference of Inverse Kinematics of this robot ?


text:
udpate install doc to 1.6, test=develop

udpate install doc to 1.6

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: JepsonWong claassistantio

repo: PaddlePaddle/FluidDoc


text:
paddle转换onnx，包含一些特殊算子如matmul,constant

将特别简单的模型如下：

使用paddle和tensorflow同时实现，均转换为onnx，paddle转换的onnx模型包含matmul,constant 等特殊算子，而tensorflow转换的不包含

Linear在Paddle2ONNX会被转换为Matmul, 至于Constant为不同转换的规则。 Paddle2ONNX将所有的权重保存为Constant节点。而有些则可能是将权重保存为initializers

能否通过配置，转换成不用matmul等特殊算子的方式？

authors: jiangjiajun jiwenfei


text:
数据列表文件 delimiter

貌似配置里面不能设置数据列表的delimiter，我这数据集里面文件名带空格，能用 | 的话会很方便

您好，目前PaddleClas还没有支持delimiter可配置，如果您需要修改为"|"的话，可以将这里手动修改为
https://github.com/PaddlePaddle/PaddleClas/blob/7dc5bc9b730321ee31e55f69052fb2dc1ad260bb/ppcls/data/reader.py#L191
img_path, label = line.split("|")

我们也会尽快支持可配置delimiter的功能，感谢您的关注。

收到，已经看到了。paddleseg有这个功能觉得很方便，希望能添加。辛苦啦

authors: davidlinhl littletomatodonkey

repo: PaddlePaddle/PaddleClas


text:
build检索库的时候， pq_size的大小设置，需要如何和我所要检索的类别数量与单个类别多张图片相适应

就是我看你们在初始化设置的时候pg_size=100,那假如我需要识别的类别有150类，其中有一类的图片达到100多张，其他类别也有几十张的，或者几张的。那么这个pg_size是否需要相应的变大，所以这里我想知道pg_size设置的依据是啥，设置它的作用是啥。希望能得到你们的帮助，谢谢🙏

pq_size和类别数没有关系，不需要修改

pq_size是pq检索算法的参数。可以简单理解为这是一种分层检索算法，pq_size是每层的容量。在数据量不太大的情况下，这个参数对性能的影响不是很大，不需要修改

不需要修改，几千张图问题不大。
不过，不建议每个类别放太多图，找2-10张有代表性的图就可以了。


text:
fix hybrid export doc

fix hybrid export doc

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant heavengate

repo: PaddlePaddle/PaddleFleetX


text:
机器阅读理解将官方的baseline里的内置数据集改为本地的数据集报错，改了好久，一直不知道啥问题

https://aistudio.baidu.com/aistudio/projectdetail/4306696?shared=1

same as #2770

authors: abc-w guoshengCS

repo: PaddlePaddle/PaddleNLP


text:
PaddleNLP server支持多模型同时部署

Feature request
使用paddlenlp server 命令部署时，希望可以同时部署多个模型。
现只能部署一个taskflow，导致如果需求有几个模型服务，需要启动多个端口，造成资源浪费。且上游服务就多出很多配置。
若app可以同时添加多个taskflow，这样配置就可以变得简单，且无需占用太多端口。
Motivation
对端口资源浪费太多，导致先进只能用docker+一个流量转发服务的形式统一起来
Your contribution
PR

https://github.com/PaddlePaddle/PaddleNLP/blob/b3b4fd0a9dffe81f810e13f408b9cb783f9fd927/paddlenlp/server/taskflow_manager.py#L38
目前PaddleNLP server不支持该项操作，因为这个操作和我们的负载均衡策略有冲突，目前没有计划放到server的研发计划里面；
可以通过下面的代码修改可以轻易实现该项操作，
https://github.com/PaddlePaddle/PaddleNLP/blob/b3b4fd0a9dffe81f810e13f408b9cb783f9fd927/paddlenlp/server/taskflow_manager.py#L38
可以在client的parameters参数里面传入服务化的id号来实现

在client端可以设置taskflow_id来实现路由到某个server上
import requests
import json

url = "http://0.0.0.0:8189/taskflow/uie"
headers = {"Content-Type": "application/json"}
texts = ["城市内交通费7月5日金额114广州至佛山", "5月9日交通费29元从北苑到望京搜后"]
data = {
    "data": {
        "text": texts,
    },
   "parameters": {
       "taskflow_id": 1
    }
}
r = requests.post(url=url, headers=headers, data=json.dumps(data))
datas = json.loads(r.text)
print(datas)
```python

目前没有计划这个功能，因为和核心功能有一定冲突

authors: turkeymz wawltor


text:
add llama and nv-embed training

Description

add llama and nv-embed training

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant Li-Z-Q


text:
是否有变化检测的预训练模型

语义分割、目标检测等任务可以在PaddleSeg和PaddleDet中找到预训练模型，但是没有找到变化检测相关预训练模型，不知后续是否会提供？

那请问这些变化检测模型中，哪个在levir-cd上指标是最好的呢？请问是否有实验记录呢？

那请问这些变化检测模型中，哪个在levir-cd上指标是最好的呢？请问是否有实验记录呢？

这些模型只经过『粗训练』（尚未经过精细化调参），所以只做预训练加载用，不做benchmark。目前没有记录具体精度，但已知『粗训练』模型中精度最高的是P2V-CD。
我们正在完善遥感影像变化检测模型的benchmark中。

遥感影像变化检测任务公开benchmark可参考这里：
https://paperswithcode.com/task/change-detection
https://paperswithcode.com/task/change-detection-for-remote-sensing-images
https://paperswithcode.com/task/building-change-detection-for-remote-sensing
PaddleRS中的ChangeFormer、FCCDN、STANet、SNUNet、P2V-CD等变化检测模型均经过严格验证，在相同超参数配置条件下能够达到或超越原论文精度。

authors: Bobholamovic KrisZHH

repo: PaddlePaddle/PaddleRS


text:
中英文混合 TTS 现在还是在内侧阶段？

我看到你们已经更新了中英文混合TTS，但是好像还是不能用啊？
paddlespeech tts --am fastspeech2_mix --voc pwgan_ljspeech --lang mix  --input "我们的声学模型使用了 Fast Speech Two, 声码器使用了 Parallel Wave GAN and Hifi GAN." --spk_id 1  --output mix_spk1.wav

今日预计发布 paddlespeech 1.1.0, 发布后可用，现在可以安装 develop 版本的 paddlespeech

欢迎到 https://pypi.org/ 安装最新的 paddlespeech 1.1.x 体验中英文混合 TTS 功能

您好，流式语音服务，支持中英文混合的合成吗？看源码 lang好像只能选英文和中文，没有mix选项？

authors: AI-Mart hackerxiaobai yt605155624

repo: PaddlePaddle/PaddleSpeech


text:
nano运行报错 KeyError: 'result'

在Nono板端，python版本3.7

开发者你好，感谢关注 PaddleSpeech 开源项目，抱歉给你带来了不好的开发体验，目前开源项目维护人力有限，你可以尝试通过修改 PaddleSpeech 源码的方式自己解决，或请求开源社区其他开发者的协助。飞桨开源社区交流频道：飞桨AI Studio星河社区-人工智能学习与实训社区


text:
PaddleSeg模型C++windows部署model_infer.exe异常退出， model->Init(FLAGS_cfg_file, FLAGS_key);异常

Checklist:

查找历史相关issue寻求解答
翻阅FAQ常见问题汇总和答疑
确认bug是否在新版本里还未修复
翻阅PaddleX 部署文档说明

描述问题

编译exe文件后，运行异常，经过排查是model->Init(FLAGS_cfg_file, FLAGS_key);异常
复现

c++部署方式

您是否按照文档教程已经正常运行我们提供的demo？

您是否在demo基础上修改代码内容？还请您提供运行的代码

c#部署方式

您是否按照文档教程已经正常运行我们提供的demo？

您是否在demo基础上修改代码内容？还请您提供运行的代码

如果c# demo无法正常运行，c++ demo是否已经正常运行？

您使用的模型和数据集是？

请提供您出现的报错信息及相关log

环境

如果您使用的是python部署方式，请提供您使用的PaddlePaddle、PaddleX版本号、Python版本号

如果您使用的是c++或c#部署方式，请提供您使用的PaddleX分支、推理引擎（例如PaddleInference）版本号
c++

请提供您使用的操作系统信息，如Linux/Windows/MacOS
windows

请问您使用的CUDA/cuDNN的版本号是？
10.2   7.6

这样看不出什么问题，麻烦提供多谢啦信息，贴下deploy.yaml。
另外PaddleSeg的本身提供的部署流程，之前有试过吗，可以正常运行不：https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.5/docs/deployment/inference/cpp_inference_cn.md

authors: FlyingQianMM gong-bit

repo: PaddlePaddle/PaddleX


text:
window 启动serving RuntimeError:     An attempt has been made to start a new process before the

Traceback (most recent call last):
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\error_catch.py", line 97, in wrapper
res = func(*args, **kw)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\error_catch.py", line 163, in wrapper
result = function(*args, **kwargs)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\pipeline_server.py", line 51, in init_helper
self._dag_executor = dag.DAGExecutor(response_op, dag_conf, worker_idx)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\dag.py", line 86, in init
self._is_thread_op, tracer_interval_s, server_worker_num)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\profiler.py", line 45, in init
self._data_buffer = multiprocessing.Manager().Queue()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\context.py", line 56, in Manager
m.start()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\managers.py", line 563, in start
self._process.start()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\popen_spawn_win32.py", line 46, in init
prep_data = spawn.get_preparation_data(process_obj._name)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\spawn.py", line 143, in get_preparation_data
_check_not_importing_main()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\spawn.py", line 136, in _check_not_importing_main
is not going to be frozen to produce an executable.''')
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

Classname: PipelineServicer.init..init_helper
FunctionName: init_helper

I meet the same problem, have you solved this problem?

repo: PaddlePaddle/Serving


text:
fix paddle.stack cn docs

任务需求：https://github.com/PaddlePaddle/docs/issues/4244
增加cases2的输出示例

@TCChenlong

repo: PaddlePaddle/docs


text:
Swipe gesture and on tap not working in iPhone 8

I am trying to switch controller with swipe and tap in iPhone 8 but there is blank page showing while swiping and switch on tap but not selected menu updated. Please give me the solution. Thanks

I had a similar issue. This occurred with my UIViewControllers because of ambiguous constraints applied to views. My solution was to set the views to a fixed size and then update the constraint based off the size of the frame when adding them to the PageMenu.

I'm having the same problem too - version 2.0.0

Quick update - I believe mine was a simulator bug. Behaviour is now back to normal

Yes, I also agreed. Sometimes it is working properly.

I had a similar issue when using the PageMenu from CocoaPods. There is an issue that cause the first layout to be incorrect. It affects the layouts intermittently (https://github.com/PageMenu/PageMenu/pull/364). It was corrected in the master branch, but it has not been updated in the CocoaPod. It can be fixed by pulling down the latest branch and referencing the source directly. A workaround until the CocoaPod version is updated.

repo: PageMenu/PageMenu


text:
API feedback - create

it might be nice to have a modelled-in-Python version of objects.
E.g. rather than passing a free form dict to create(), pass in an EscalationSchedule object, which would allow things like 'help()' to work locally rather than having to dig up the v2 API docs from online and then translating that to Python - having to guess what needs to be supplied, and whats mandatory etc.

Yep, that's kind of what the models are all about - however, I purposely only have added models that are officially supported by the v2 documentation as endpoints. What could be a win/win would is:
class EscalationPolicy(...):
    """
    Some up-to-date-docs.

    The data parameter expects a dictionary like:
    {'schedule':
        ...
     }
    """
   ...

help(EscalationPolicy)

There's also validate class method which does the assertion perhaps the documentation from that function could be borrowed somehow.
Probably least amount of work and best practice to just be better at making docs than enforcing another abstraction.

Hey there,
Thanks for your contribution but we decided to deprecate this project. Please use PDPyras instead.

authors: bzmw jdcumpson rbtcollins

repo: PagerDuty/pagerduty-api-python-client


text:
A custom JavaScript error caused an issue loading your dashboard....." Palo Alto Networks Splunk App

When going to the Threats and Activities dashboards in the Palo Alto Networks App on Splunk on-prem version  I get the error "A custom JavaScript error caused an issue loading your dashboard. I updated the Palo Alto Networks App in Splunk to the latest version 7.0.4 and still no fix.  Any solutions? All I have to do to replicate it is click any dashboard under the Threats or the Activities menus.

Environment name and version  : Chrome Version 99.0.4844.82
Operating System and version Window 10 pro 20H2

The PANOS version is 9.0.5

I'm seeing this same issue with v7.0.4 and v7.1.0 of the app running on Splunk v8.1.2

We are currently working with Splunk Cloud on this issue.

Hi Team
do we have any update for the above issue , as we are currently facing the same issue on 7.1.0

Thanks

Hey everyone, if you are seeing this message please uninstall and reinstall the app/add-on. The nature of Splunk upgrading leaves old files as they only replace files and not delete. You will need to remove the app/add-on and reinstall to remove the older files.

@paulmnguyen I see this error on brand new installation and freshly install add-on and app, running on SplunkCloud version 8.2+. This does not happen on regular on-prem installations. Javascript error:
TypeError: mvc.createService is not a function
    at eval (eval at <anonymous> (dashboard_1.1.js:331:84868), <anonymous>:40:21)
    at Object.execCb (eval at e.exports (common.js:556:18524), <anonymous>:1658:33)
    at Module.check (eval at e.exports (common.js:556:18524), <anonymous>:869:55)
    at Module.enable (eval at e.exports (common.js:556:18524), <anonymous>:1151:22)
    at Module.init (eval at e.exports (common.js:556:18524), <anonymous>:782:26)
    at eval (eval at e.exports (common.js:556:18524), <anonymous>:1424:36)

@dtwersky were you able to find a a resolution for this?

authors: Cliffcy aattelli91 paulmnguyen rfrey-splunk siddharth-golchha

repo: PaloAltoNetworks/Splunk-Apps

license: ISC


text:
Documentation Update

Description
Updated the links in the Contributing.md file to point to the correct IronSkillet issues board. Also removed the redundant Get Started section.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

re-submitting pull request.

repo: PaloAltoNetworks/ironskillet-components


text:
Documentation is not clear

Documentation link

Describe the problem
Documentation is not clear for the implementation.

Suggested fix
Pls create step-by-step instructions to be able to implement is successfully.

Hi @sm-joe
Sorry that I noticed late. Please review the docs to see if it fits your needs.

No further requirement to update the documentation

authors: jfmontufar sm-joe


text:
Wz/feature/pypi distribution

Change Summary

updated gitignore to ignore distribution and packaging files

closing this one - updating the readme as well

repo: Pan-ML/panml


text:
多级表头，如何实现导出功能？

一层表头可以导出，但是多层的话就不太会了，请问有没有这样的demo？

曾经我也遇到过这样的问题，但是让我把多级给拍平了，还有一个办法 后端导出
可以试试这个
但是当你在导出的时候要注意--生命周期

https://panjiachen.github.io/vue-element-admin/#/excel/export-merge-header
是这个需求么？

authors: PanJiaChen cnsummer jackC58

repo: PanJiaChen/vue-element-admin


text:
Login issue

Bug report（问题描述）
Steps to reproduce（问题复现步骤）

我是一个前端初学者，纯靠猜和console.log在学习，过程中发现一个问题，LOGIN以后无法获取TOKEN，因为我的后端是flask，不是NODE，我的解决方式如下
@/utils/request.js中响应拦截器const res = response.data; return res
@/store/modules/user.js中login和其它action中，then(resonse => const { data } = response为空，直接response即可
因为我不确定是否为前端本身的BUG，所以我就先不提交PR了，还没玩过NODE
Screenshot or Gif（截图或动态图）
Link to minimal reproduction（最小可在线还原demo）

Other relevant information（格外信息）

Your OS: Ubuntu 18.04
Node.js version: 无
vue-element-admin version: 4.0.0（master分支我看了也是一样的）

能够正常获取啊，还有你这个说实话没看懂....

如果是初学接口不通，大部分应该是因为跨域，至少得有报错信息不然没法定位

不是跨域问题，因为我把@/store/modules/user.js中login和其它action中，then(resonse => const { data } = response这一行注释掉，下面data.token改成response.token就可以正常读到了。
在拦截器里返回的res已经是response.data了

抱歉，我大概知道原因了，是我没看懂{}，因为我的reponse.data里没有data的字段了，应该是这个原因

authors: freedeaths mayunhai


text:
Setup initial Electron shell wrapper - [3]

Includes basics for build system, root js, and renderer. Verify build and runtimes.

Hi James, I will be in there hangout now. Meet me there when you get a chance. Thanks
Slim Geransar
(646)706-3382
slim@storebound.commailto:slim@storebound.com
[cid:CE92FAD3-CF75-4CDD-A3D3-9B390309CBAB]
On Jul 27, 2015, at 1:14 PM, James T <notifications@github.commailto:notifications@github.com> wrote:
Includes basics for build system, root js, and renderer. Verify build and runtimes. [3]
—
Reply to this email directly or view it on GitHubhttps://github.com/PancakeBot/PancakeCreator/issues/2.

Root is in, basic build is working on Windows & Mac with size constraints. Will complete tomorrow morning.

repo: PancakeBot/PancakeCreator


text:
FI: St1

Brand : St1
Category : fuel
Opening rule : shops open as usual
Wikipedia / Wikidata : https://fi.wikipedia.org/wiki/St1
Opening hours : https://www.st1.fi/asemahaku
Source : https://www.st1.fi

Integrated, thanks :+1:

authors: PanierAvide lehtojaa


text:
E-Mail Newsletter

Hey,
My Idea is, wenn you realse a New Papier Version, then Users can get a E-Mail so the knoe there is a now Version
Like a News Letter :)
LG
SGirl

We don't do traditional releases, though. People do utilise things like bots to poll the API and send a message to their Discord. I don't think that email is worth it, especially as the content would be pretty limited, as we're not going to invest time into publishing an actual letter for every build.

Can you tell me how this works whit this Bots and how can i used them?

You would need to self-host a piece of software that will do this or find somebody already hosting a bot that does this. I've seen one or two in various discords that I'm a member of, not sure if those are public, but, I know that people have devised various solutions for this in the past.

generally, just check once a week, thats good enough for most people

authors: MiniDigger SGirl-Zockt electronicboy

repo: PaperMC/website


text:
setState 동기처리

기존코드
...
const [prevDateArr, setPrevDateArr] = useState<Array<number>>([]);
const [dateArr, setDateArr] = useState<Array<number>>([]);
const [nextDateArr, setNextDateArr] = useState<Array<number>>([]);
...

useEffect(() => {
  refreshDate();
}, [year, month]);

// 이전 혹은 다음달 달력 표시
const refreshDate = () => {
  let lastMonthLastDate: number;
  if (month === 0) {
    lastMonthLastDate = new Date(year - 1, 12, 0).getDate();
  } else {
    lastMonthLastDate = new Date(year, month, 0).getDate();
  }
  const thisMonth = new Date(year, month);
  const thisMonthLastDate = new Date(year, month + 1, 0).getDate();

  setPrevDateArr(createPrevDateArr(thisMonth, lastMonthLastDate));
  setDateArr(createThisDateArr(thisMonthLastDate));
  setNextDateArr(createNextDateArr(prevDateArr.length, dateArr.length));
}
...

setNextDateArr 에서 createNextDateArr 메소드에 매개변수로 들어가는 prevDateArr.length, dateArr.length 값이 이전 값으로 적용되는 문제

useEffect 를 이용하여 해결
...
const [prevDateArr, setPrevDateArr] = useState<Array<number>>([]);
const [dateArr, setDateArr] = useState<Array<number>>([]);
const [nextDateArr, setNextDateArr] = useState<Array<number>>([]);
...

useEffect(() => {
  refreshDate();
}, [year, month]);

useEffect(() => {
  setNextDateArr(createNextDateArr(prevDateArr.length, dateArr.length));
}, [prevDateArr, dateArr]);

// 이전 혹은 다음달 달력 표시
const refreshDate = () => {
  let lastMonthLastDate: number;
  if (month === 0) {
    lastMonthLastDate = new Date(year - 1, 12, 0).getDate();
  } else {
    lastMonthLastDate = new Date(year, month, 0).getDate();
  }
  const thisMonth = new Date(year, month);
  const thisMonthLastDate = new Date(year, month + 1, 0).getDate();

  setPrevDateArr(createPrevDateArr(thisMonth, lastMonthLastDate));
  setDateArr(createThisDateArr(thisMonthLastDate));
}
...

근데 console.log 찍어보면 setNextDateArr 메소드가 들어있는 useEffect 부분이 처음 앱 로딩 시 두번 실행되버림. 다른 해결 방법이 없을까?

repo: Park-hoho/calendar-todolist


text:
Inconsistent file INSTALL

The references to the string "https://github.com/ARDroneSDK3" should be replaced with the string "https://github.com/Parrot-Developers"

Indeed, we'll change that.
In the meantime, as the repositories were moved from ARDroneSDK3 to Parrot-Developers, it happens that you can still clone them using their old url (just tried to do a git clone http://github.com/ARDroneSDK3/ARSDKBuildUtils and it worked).

authors: N-Bz mzambrini

repo: Parrot-Developers/Docs


text:
GET on collection with 'sort' parameter fails

Check out https://github.com/ParsePlatform/parse-server/issues/1271 for an ideal bug report. The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
Many members of the community use Stack Overflow and Server Fault to ask questions. Read through the existing questions or ask your own!

Stack Overflow: http://stackoverflow.com/questions/tagged/parse.com
Server Fault: https://serverfault.com/tags/parse

For database migration help, please file a bug report at https://parse.com/help#report
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[X] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[X] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[X] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

Environment Setup

Server: 2.2.9 , Max OS X 10.11.14, Macbook Air, local?
Database: ??, AWS, hardware ??, remote?

Steps to reproduce
When the following code is called
                $.ajax({

                    url: "http://localhost:1337/parse/classes/SocialPosting/",
                    dataType: "son",
                    type:"GET",
                    headers: appModel.parse._headers,

                    data:{where: kendo.stringify(
                            {
                                'vendor':appModel.getParsePointer(appModel.parse._vendor, "Vendor"),
                                'autoGenerated':options.data.autoGenerated
                            }
                        ),sort:"_createdAt"},
                    success: function(jsonResponse) {
                        options.success(jsonResponse.results);
                    },

                    error: function(jqXHR,textStatus,errorThrown) {
                        options.error(options.data);
                    }
                });

            },

The response is
{"code":102,"error":"Invalid paramater for query: sort"}
Of course if we remove the sort then everything works fine.

_createdAt is not a valid key. Try _created_at or createdAt.

Tried both. No change in behavior.

Why is this defect closed? Do I need to log this again?

I checked with api.parse.com, and api.parse.com won't crash if you pass a "sort" parameter, but it also won't actually sort the data. The parameter you need to use is "order".

Thanks Drew. That did the trick. I guess it was a but that we brought over from Parse.com. Once I changed it to order I then get the exception that _createdAt is not a valid key. Once I changed it to createdAt everything works.
Thank you. Please close.

authors: araskin drew-gross

repo: ParsePlatform/parse-server


text:
Create a project to track the status of support for Postgres

Now that we can create and manage projects on Github, it might be helpful to create one in this repo for completing Postgres support. This way people willing to contribute code can see what's already done and what we can work on to help out.

I've added the Postgres support project:
https://github.com/ParsePlatform/parse-server/projects/2
Please file issues in the original issue tracker and I'll add those to the project to help tracking.

Thanks @flovilmart
By original issue tracker, are you referring to #20? Or do you just mean that we should continue creating postgres related issues in the normal manner using Github Issues?

I mean file issues normally! :)

authors: flovilmart kulshekhar


text:
REST API LOGIN ERROR

i followed this and the server gives me this error
https://parse.com/docs/rest/guide#users-logging-in
ERROR:
Uncaught internal server error. bad obj: undefined undefined
THANKS :-)

Can you provide the server configuration and a curl command that demonstrates the issue please?

authors: drew-gross pazalvin


text:
Fix dependency on gevent to get pykafka installing again

The pykafka 2.2.1 is not installing in a clean virtualenv at the moment, because it appears to be having some trouble using >= and < with gevent's release candidate version number scheme. This switches over to ~, which should be equivalent to what was originally intended, but appears to work with versions
like 1.1rc6. This may need to be revisited once gevent 1.1 actually is released though.

Thanks for catching this, @erickt.

repo: Parsely/pykafka


text:
Draining HTEX workers near end of walltime

Is your feature request related to a problem? Please describe.
At present, htex is not aware of worker walltime limits imposed by a batch system: what HTEX sees is that workers are killed, just like they would be killed for other reasons (such as out-of-memory situations).
Those tasks then can be retried by parsl's retry mechanism - sometimes they are retried immediately on the worker that is part-way through being killed and fail again immediately.
It's natural to ask "can you make Parsl not send tasks to workers near the end of their walltime?".
The work queue executor has such a facility: a worker can be told a walltime limit, tasks can be annotated with a walltime, and Work Queue will not schedule tasks onto workers without sufficient remaining walltime.
Some HTEX users would like this sort of behaviour for htex.
What options are available?
In the based htex model, htex does not pay attention to any kind of resource beyond a collection of n x "indiivdual worker available right now".
I think it could be straightforward in that model to implement a less expressive model:
managers can decide they are expiring "soon" and tell the interchange to stop sending tasks - for example, by setting their total worker count to 0 in their registration. Managers could decide in two different ways: they could be told a walltime to expect to live; or the batch system could tell them via a Unix signal that they will be killed soon. This model does not accomodate tasks of varying expected walltime: the manager would decide it's near the end and stop accepting new tasks of any kind. (compare to the Work Queue model where a worker nearing end of life will ramp down the required walltime for new tasks but can continue running short tasks up until the very end).
Unmerged PR #3016 introduces a notion of per-task resource requirement - in that PR, that resource requirement is only a count of required MPI nodes - and so introduces the notion that some tasks cannot be scheduled on what is available now, but might be schedulable later, and that despite that, some other tasks might be schedulable now.
It's possible that this #3016 framework could be extended to other resource types. In the context of this current issue, that would be remaining walltime required by a task (but more generally might include dynamically allocating GPU accelerators rather than having them fixed per task, or number of CPU execution units (cores, hyperthreads, ...)).
Additional context
For University of Ghent

crossref https://github.com/Parsl/parsl/issues/3323 which is related work

repo: Parsl/parsl


text:
Update ourToken-unit.test.js

Getting rid of unnecessary ourToken1 and moving comment to proper place.

Thanks!

authors: Neftyr PatrickAlphaC


text:
Support reporting Step State

The API supports reporting the state of individual test steps. Would be nice for this reporter to also support that.

I've been advised that this may not be possible with TestCafe... Needs investigation.


text:
When the machine gets locked, deactivate the window

What Changed?
Added logic to set isActive to false when locked or disconnected from machine
Issues Closed
Resolve #33

No problem. My first PR in an open source project. :)

If you wanted another nice simple one, #32 should just need the logic for the toolstrip message in connect put in for activate and deactivate window with correct text. 🙂

repo: PaulStovell/ServiceBouncer


text:
How to pause and seek at a moment?

I am a little bit confused on the seek method, when I seek to a part while the video is paused then it doesn't display the frame, means it only displays the seeked part when it is played.
I tried this method after seek while pausing the video and it worked but we have to use the time module and I think its not accurate;
vid_player.seek(int(5))
vid_player.play()
time.sleep(0.1)
vid_player.pause()

Any fix for this? I just want to display the video frame when seeked without playing it.

@PaulleDemon I tried this method but it was not working. Thats why I used the time method. Please let me know if this is happening in your system also.
The pause method just pauses the video while playing but don't seek to the frame.

@Akascape Hmm sorry I hadn't tested that, my laptop is given for repair. I am using my phone so you can probably give this code a shot.
def seek(sec):
    vid_player.seek(sec)
    vid_player.after(5, vid_player.pause) # test this, the first parameter is time in milliseconds, u can change this according to ur need.

seek(20)

@PaulleDemon It worked but we have to add another line:
def seek(sec):
    vid_player.seek(sec)
    vid_player.play() #have to play it so that it display the seeked frame
    vid_player.after(50, vid_player.pause)
seek(20)  ```

authors: Akascape PaulleDemon

repo: PaulleDemon/tkVideoPlayer


text:
Updates to download button

The downloaded file includes some data unnecessary for the user and lacks some necessary information. Remove the columns 'id', 'score', and 'highlights'. Add a header to the file with the publication citation and the user's filter and query. Add a local time-date stamp to the filename.

I'll provide you the license excerpt. Ideally that should be configurable as we intend to standardize how data is licensed in Gemma very soon.

authors: arteymix libby-natola

repo: PavlidisLab/GemBrow


text:
wrong conflicts in the module file

I've created a cyg file for NAMD 2.12 but after using it with maali/1.4.1 I get the following in my module file:
Compiled with intel/17.0.5
Compiled for sandybridge
Compiled for broadwell
Compiled for knl
Compiled for CUDA with cuda
...
conflict sandybridge
conflict broadwell
conflict knl
conflict (D)
conflict gcc/5.5.0
conflict gcc/7.2.0
conflict libjpeg-turbo/1.5.2
conflict libjpeg-turbo/1.5.2
conflict cuda/8.0
conflict libjpeg-turbo/1.5.2
so, I am not able to load the module cause it conflicts with everything it was compiled with.
The .cyg file is attached as a .txt.
namd.txt

Hi Maciej,
Can you try running with the -l flag?
I think the issue is in the TCL module conflict code.
Yours sincerely,
David

Hi David,
it is a bit better now, but seems that cuda is still in conflict list:
...
whatis( [[Compiled with intel/17.0.5]] )
whatis( [[Compiled for sandybridge]] )
whatis( [[Compiled for broadwell]] )
whatis( [[Compiled for knl]] )
whatis( [[Compiled for CUDA with cuda]] )
conflict("ivybridge")
conflict("haswell")
conflict("gcc/5.5.0")
conflict("gcc/7.2.0")
conflict(cuda/8.0)
conflict(libjpeg-turbo/1.5.2)
if (mode() == "load") then
if (isloaded("cuda") ~= true) then
load("cuda/8.0")
end
end
load("fftw")
....
I am also having different issues:
mcytowski@zeus-1:/group/pawsey0001/mcytowski/tmp2> module load namd-gpu
Lmod has detected the following error: Unable to load module:
/group/pawsey0001/mcytowski/software/sles12sp3/modulefiles/namd-gpu/2.12.lua: [string "help("Sets up the paths you need to use namd ..."]:23: malformed number near '1.5.2'
While processing the following module(s):
Module fullname  Module Filename
---------------  ---------------
namd-gpu/2.12    /group/pawsey0001/mcytowski/software/sles12sp3/modulefiles/namd-gpu/2.12.lua
Which is related to the first line in the lua file:
help("Sets up the paths you need to use namd version 2.12")
Best regards,
Maciej

Hi Maciej,
I have checked in some code to fix the issue on Zeus.
You should be able to run it using -m to just re-created the module file.
Make sure you use "$MAALI_DEFAULT_CUDA_COMPILERS" for the cuda version (or make sure you have cuda/8.0 listed with the version).
Yours sincerely,
David

Hi David,
it is working fine now. Thanks!
mcytowski@zeus-1:/group/pawsey0001/mcytowski/zeus/namd> maali -t namd -v 2.12 -n -d -m -l
Searching for /home/mcytowski/.maali/sles12sp3/cygnet_files/namd.cyg
Searching for /home/mcytowski/.maali/cygnet_files/namd.cyg
Searching for logs/cygnet_files/namd.cyg
Searching for ./namd.cyg
Using ./namd.cyg for tool configuration information
Warning: non-system build detected, overriding MAALI_TOOL_TYPE (currently apps) and setting to tool type to 'apps'
just re-creating the module file
creating module in /group/pawsey0001/mcytowski/software/sles12sp3/modulefiles/namd-gpu
differences between /group/pawsey0001/mcytowski/software/sles12sp3/modulefiles/namd-gpu/2.12.lua and /group/pawsey0001/mcytowski/software/sles12sp3/modulefiles/namd-gpu/2.12.lua~
17c17
< whatis( [[Compiled for CUDA with cuda/8.0]] )

whatis( [[Compiled for CUDA with cuda]] )
21a22
conflict(cuda/8.0)
Complete - Built namd version 2.12 with MAALI v1.4.1
mcytowski@zeus-1:/group/pawsey0001/mcytowski/zeus/namd> module load namd-gpu
mcytowski@zeus-1:/group/pawsey0001/mcytowski/zeus/namd>

I will probably have to rebuild it since I have all installed in:
/group/pawsey0001/mcytowski/software/sles12sp3/apps/broadwell/intel/17.0.5/cuda/namd-gpu/2.12
instead of
/group/pawsey0001/mcytowski/software/sles12sp3/apps/broadwell/intel/17.0.5/cuda/8.0/namd-gpu/2.12/
Kind regards,
Maciej

authors: mcytowski schibeci

repo: Pawseyops/maali


text:
Add .clang-format

This includes (requires) #403.
The idea to introduce .clang-format was based off a discussion in #394.
I have applied clang-format on a handful of files to show the effects (I didn't want to break everything by doing all files).
Command line:
clang-format -style=file -i coincontrol.h db.h noui.cpp addrman.cpp allocators.h mruset.h protocol.h version.cpp checkpoints.h db.cpp init.h key.h addrman.h

This formatting looks good. It's easy to read. This should be a trivial change as it should not break any features in the software.

I like it apart from my inline comments.

If we chose to use clang on the entire repo; we'd have a lot to go through and sort. It'd be worth it for future. A lot of the code within Paycoin is currently messy and could do with looking smarter.

@jwrb I agree with the exception of my comments.

Hmm I knew this was possibly going to be an issue with my pull but my clang-fu isn't up to scratch. I'll have to investigate those comments further but I'm not sure if it's possible or not and if we do find a fix the there is also the possibility that the fix might actually cause imperfections in other places.
Could be a lesser of two evils type commit. Let me know your thoughts before I dive in too deep...

@mitchellcash that's why I generally don't rely entirely on format tools. They're great for fixing format sometimes but once you've got the bulk of it fixed there's almost always something you want to tweak manually afterwards lol

Agreed. I don't mind either way. Do we want this or not?

I'd still prefer right aligned pointers. @IngCr3at1on?

@jwrb semi-indifferent but that's how I would normally write them.

@IngCr3at1on Agreed. I always use right-side pointers when I'm working. It looks nicer in my opinion too.

authors: IngCr3at1on jwrb mitchellcash

repo: PaycoinFoundation/paycoin


text:
q

qqqqq

ty

repo: PedroSilvaSilva/apiprojecto


text:
New build with updated dependencies

Updated dependencies to resolve hls.js audio issue introduced in hls.js 5

@kprigel it also appears that the dist/ folder is not normally checked into the repo. It should probably be added to the .gitignore if we want to continue like that, but adding the dist file seems out of scope for the change you're pushing for here.

Also, so that GitHub can do its magic, this would resolve #7

authors: boushley kprigel


text:
[BC-413] Fix queries for latest forkInfo

PR Description
Store "best block" / chainhead info in an atomic datastructure, preventing race conditions.
This PR fixes errors related to retrieving the most recent ForkInfo (see error below).  It appears these errors are the result of a race condition where:  we pull the latest head root and then look up the corresponding state.  If the corresponding state is pruned before we can look it up, we'll throw an error on failure to retrieve this state:
2020-05-05 17:54:48.022-04:00 | ForkJoinPool.commonPool-worker-11 | ERROR | Eth2IncomingRequestHandler | Unhandled error while processing request /eth2/beacon_chain/req/status/1/ssz_snappy
java.util.NoSuchElementException: No value present
	at java.util.Optional.orElseThrow(Optional.java:382) ~[?:?]
	at tech.pegasys.teku.networking.eth2.rpc.beaconchain.methods.StatusMessageFactory.createStatusMessage(StatusMessageFactory.java:40) ~[classes/:?]
	at tech.pegasys.teku.networking.eth2.rpc.beaconchain.methods.StatusMessageHandler.onIncomingMessage(StatusMessageHandler.java:40) ~[classes/:?]
	at tech.pegasys.teku.networking.eth2.rpc.beaconchain.methods.StatusMessageHandler.onIncomingMessage(StatusMessageHandler.java:24) ~[classes/:?]
	at tech.pegasys.teku.networking.eth2.rpc.core.Eth2IncomingRequestHandler.handleRequest(Eth2IncomingRequestHandler.java:80) ~[classes/:?]
	at tech.pegasys.teku.networking.eth2.rpc.core.Eth2IncomingRequestHandler.processInput(Eth2IncomingRequestHandler.java:69) ~[classes/:?]
	at tech.pegasys.teku.networking.p2p.libp2p.rpc.RpcHandler$Controller.lambda$setRequestHandler$0(RpcHandler.java:206) ~[classes/:?]
	at tech.pegasys.teku.util.async.SafeFuture.fromRunnable(SafeFuture.java:106) ~[classes/:?]
	at tech.pegasys.teku.util.async.AsyncRunner.lambda$runAsync$0(AsyncRunner.java:22) ~[classes/:?]
	at tech.pegasys.teku.util.async.DelayedExecutorAsyncRunner.lambda$runAsync$1(DelayedExecutorAsyncRunner.java:57) ~[classes/:?]
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426) [?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) [?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) [?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) [?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) [?:?]

One other thing we could do - when we finalise a new epoch, we could ensure that the best block is at least that finalised block.  Given there are potential race conditions, we'd need to ensure that the best block didn't go backwards but we already check for a re-org so if we're not re-orging and the slot is lower, just ignore the update as stale. If we are re-orging then it's fine.
Not sure if we need to do that but it would help to avoid having our best block before the finalised block which is a pretty weird place to be and I think possible at the moment.

authors: ajsutton mbaxter

repo: PegaSysEng/teku


text:
HSVS 5TT Output not in DWI space

Hello,
I am using 0.16.0RC3 QSIRecon to make HSV segmentations. In the output anat directory I see two files:
$SUBJECT_desc-preproc_space-fsnative_desc-hsvs_5tt.mif and
$SUBJECT_desc-preproc_desc-hsvs_5tt.nii.gz
The first is explicitly in fsnative space, but I thought that the desc-hsvs file was supposed to be in DWI/T1w space, as suggested by the anatomical recon workflow code

For evidence, here is the QSIPrep b0 ref and QSIRecon 5tt side by side:

Is this the intended output or a bug? I am trying some GMWMI seeding ACT tractography outside of the QSIprep/recon so having the 5tt in subject space would be nice.
Thanks,
Steven

Hi @smeisler there should be 2 versions of the 5tt image. One will be aligned with the freesurfer input and the other will be aligned to the QSIPrep T1w image.

Turns out this was just a subject specific error, closing.

authors: mattcieslak smeisler

repo: PennLINC/qsiprep


text:
Why do we set pd legality in the DB so often?

This is frequently a slow operation both INSERT INTO card_legality and DELETE FROM card_legality. We could certainly put time into making it faster. What bothers me is - why are we even doing this so often? Shouldn't this happen approximately once/season?

Exceeded slow_query limit (5.9 > 5.0) in mysql: ```INSERT INTO card_legality (format_id, card_id, legality)

Now I've dropped the warning time to 2s I'm seeing this multiple times per day as a slow query.

We do have to stop whatever is happening here happening.

The set at 7am might be reprime_cache?

We use 4 uWSGI processes (not threads) which is smart. This makes concurrent requests faster. However the processes do not share memory. This means module-level vars are populated per-process and not just once. I'm not clear on when processes die or get created. When a process starts up (which we are not in charge of and seems to happen on the regular) it will trigger all the app initialization and module-level var populating that happens on Flask startup because it's a completely independent instance of python.
The first time after a process starts up running the webserver and we enquire about legal cards (in various scenarios) we call oracle.legal_cards. This function checks the module-level var LEGAL_CARDS and if it's not populated it kicks off set_legal_cards which makes a call to pdmtgo.com (or gets it from cache) and then unavoidably DELETEs from card_legality and repopulates it in a transaction. Most of the time this is very unnecessary. What we have in the db already is perfectly acceptable. This is the cause of the INSERT happening so many times per day. It's called every time a process starts up. So if you are the first client of a new process you will get a delay while all this is done. As we re-set legality forcibly in the post_rotation script (the only time it is strictly necessary) this seems like the wrong behavior.

b87eb12a.

repo: PennyDreadfulMTG/Penny-Dreadful-Tools


text:
Fix ambiguous function overload with newer compiler when using streaming AVX ops

Before submitting
Please complete the following checklist when submitting a PR:

[ ] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[ ] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[ ] Ensure that the test suite passes, by running make test.

[ ] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[ ] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context: This PR fixes an issue with failed overload acceptance using newer GCC toolchains.
Description of the Change: Adds more overloaded load/store/stream operations for the kernel definitions.
Benefits: Supports newer GCC (13.2+)
Possible Drawbacks:
Related GitHub Issues:

[sc-63398]

repo: PennyLaneAI/pennylane-lightning