text:
Reformat workflows + Catch future formatting issues

1. Reformat all workflows nicely so that future diffs are more readable (until we switch to yaml).
2. Add a validator to check that workflows are 1) valid json, 2) keys sorted.
The second check is specifically because an invalid workflow was merged in #1179 which I only caught by accident.
Maybe we should also remove workflows like this one which don't actually have any steps?
Edit: This PR will fail until #1179 is corrected.

@bebatut this fails due to some travis issue it looks like? Any ideas?

repo: galaxyproject/training-material


text:
Install bam2fastx

TODO: Please replace this header with a description of your pull request.
Installation sequence for tool-installers

[ ] Test using @galaxybot test this
[ ] Inspect CI output for expected changes
[ ] Deploy using @galaxybot deploy this if test install was successful
[ ] Merge this PR

In this repo only the galaxybot commands do anything :). The tool is installed now: https://usegalaxy.org/root?tool_id=toolshed.g2.bx.psu.edu/repos/iuc/bam2fastx/bam2fastx/3.1.1+galaxy0

source: gharchive/pull-request

repo: galaxyproject/usegalaxy-tools

license: MIT

license_type: permissive

license_source: github-api


text:
TestRegisterSEESubscriptionReconnectsStreamOnError fails on windows

--- FAIL: TestRegisterSEESubscriptionReconnectsStreamOnError (0.50s)
        Error Trace:    subscription_test.go:429
        Error:          did not receive event in time

I am able to reproduce it only on Windows (tested golang 1.8.3 and 1.6.2, Windows 10 Pro Creators Update).  Can be solved by setting http client timeout to e.g. 50 milliseconds -  PR ok?

I also ran across this and came to the conclusion that the timeout may be set too low.
@marco-jantke WDYT?

This sounds as the initial connect happens at a moment in time the endpoint1 of that test case is just closing and the connection attempt stays idle. Otherwise I could not explain myself why a client timeout could fix this. @ondrej-smola out of curiosity can you add a short sleep before this line and check whether this also fixes the issue?
Anyway we were longer experiencing flakiness in that test case without having an explanation. Great catch therefore @ondrej-smola, PRs are happily welcome :)

@marco-jantke sleep before endpoint1.Close() does not work

Also notice that timeout must be very low < 100 ms. Otherwise it fails even when SSEConnectWaitTime or eventPublishTimeout is set to seconds)
Logs during registerSSESubscription (with custom log line)
Error subscribing to Marathon event stream: Get http://127.0.0.1:63307/v2/events: dial tcp 127.0.0.1:63307: i/o timeout
Error subscribing to Marathon event stream: Get http://127.0.0.1:63307/v2/events: dial tcp 127.0.0.1:63307: i/o timeout
Error subscribing to Marathon event stream: Get http://127.0.0.1:63307/v2/events: dial tcp 127.0.0.1:63307: i/o timeout
Listen on SSE subscription 2017-07-06 12:43:58.124575 +0000 UTC
Error on SSE subscription: EOF, 2017-07-06 12:44:01.6705144 +0000 UTC
--- FAIL: TestRegisterSEESubscriptionReconnectsStreamOnError (4.00s)

Hangs for 3 seconds inside eventsource.SubscribeWith call

How did you produce this logoutput? Is it now with a client timeout setting? Which timeout setting are you using in specific? I am a bit surprised about it, because it should mark the first cluster member as down immediately, given it can not establish a connection to it. In general a client timeout is tricky here, because it is a SSE connection and so that connection should stay open. So only a timeout on the initial Dial would make sense to me.
If you have a fix reproducible fix for that case btw, feel free to open the PR and we can discuss from there. Then I can also verify it on my machine and Travis will also build it automatically.

I think i found few parts that can together cause this problem.

Config uses default go client when no HTTPClient client, this is bad by design IMHO as it does not set any timeout [good explanation
in  https://github.com/ondrej-smola/go-marathon/blob/master/testing_utils_test.go#L175 first endpoint URL is registered 3 times, so when first attempt fails, it tries seconds (duplicate) and without timeout it hangs here

I will try to remove all debug lines and create PR ... maybe split it to 2 separate PRs?

@ondrej-smola two separate PRs would be preferable -- thanks!

source: gharchive/issue

authors: marco-jantke ondrej-smola timoreimann

license_source: bigquery


text:
Add chownFilesTo

Changes

Added chownFilesTo

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

Can you confirm that this works?
You can use game-ci/unity-test-runner@3cb1997ca99e78c8c206f67b4f45b0b5f334d5a4

Thanks, I tried that and it doesnt work. I get
</test-run>chown: invalid user: ‘undefined’
chown: invalid user: ‘undefined’
chown: invalid user: ‘undefined’
Changing to "/github/workspace/_activate-license" directory.
/github/workspace/_activate-license /github/workspace
/github/workspace

Would you mind having a look @webbertakken?
I am using this for my workflow:
      # Test
      - name: ✅ Run tests
        uses: statespacelabs/unity-test-runner@3cb1997ca99e78c8c206f67b4f45b0b5f334d5a4
        id: tests
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
        with:
          chownFilesTo: '1001:1001'
          unityVersion: ${{ matrix.unityVersion }}
          testMode: ${{ matrix.testMode }}
          artifactsPath: ${{ matrix.testMode }}-artifacts
          githubToken: ${{ secrets.GITHUB_TOKEN }}
          checkName: ${{ matrix.testMode }} Test Results
          coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+AimLab.*'
          gitPrivateToken: ${{ secrets.PAT }}

I had forgot to save a file, which showed up in git as changed when I closed VS Code :) That fixed it

That fixed it

Great! Can you confirm this works with the latest commit hash?

That fixed it

Great! Can you confirm this works with the latest commit hash?

Yes, I used statespacelabs/unity-test-runner@a629f6ebace0d7fcfd8ae94c081150210f94a172 to test with

authors: skjalgsm-statespace webbertakken

repo: game-ci/unity-test-runner


text:
use TARGET_PLATFORM for config

Signed-off-by: Erin Schnabel schnabel@us.ibm.com

This change is

Reviewed 8 of 8 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

authors: BarDweller ebullient

repo: gameontext/gameon-mediator


text:
Feature Request: drag threshold

Issue description:
First, thank you for great library. I think it would be better if this library has drag threshold. Currently, slides change even with one pixel movement. It's very uncomfortable when using in mobile(Some touches are regarded as drags in mobile, so some slide changes with one touch)
Demo link/slider setting:
https://flickity.metafizzy.co/options.html#dragthreshold

+1 for this option!

+1

This would be a great feature and one that I tried to implement but I keep getting lots of errors when trying to make changes and minifying the js. Has anyone been able to get this thing working?

authors: ZeroCho dijkermans joebillings jqn

repo: ganlanyuan/tiny-slider

license: mit


text:
Kairos: Preemptive Data Center Scheduling Without Runtime Estimates

https://infoscience.epfl.ch/record/255339/files/Kairos.pdf?subformat=pdfa

dup with #83

repo: gaocegege/papers-notebook


text:
在结合vue开发时报错

[HMR] Waiting for update signal from WDS...
vue.runtime.esm.js?2b0e:587 [Vue warn]: Error in render: "TypeError: Cannot call a class as a function"
found in
--->  at src/components/HelloWorld.vue
 at src/App.vue

warn @ vue.runtime.esm.js?2b0e:587
logError @ vue.runtime.esm.js?2b0e:1733
globalHandleError @ vue.runtime.esm.js?2b0e:1728
handleError @ vue.runtime.esm.js?2b0e:1717
Vue._render @ vue.runtime.esm.js?2b0e:4542
updateComponent @ vue.runtime.esm.js?2b0e:2784
get @ vue.runtime.esm.js?2b0e:3138
Watcher @ vue.runtime.esm.js?2b0e:3127
mountComponent @ vue.runtime.esm.js?2b0e:2791
Vue.$mount @ vue.runtime.esm.js?2b0e:7995
init @ vue.runtime.esm.js?2b0e:4133
createComponent @ vue.runtime.esm.js?2b0e:5604
createElm @ vue.runtime.esm.js?2b0e:5551
createChildren @ vue.runtime.esm.js?2b0e:5678
createElm @ vue.runtime.esm.js?2b0e:5580
patch @ vue.runtime.esm.js?2b0e:6087
Vue._update @ vue.runtime.esm.js?2b0e:2656
updateComponent @ vue.runtime.esm.js?2b0e:2784
get @ vue.runtime.esm.js?2b0e:3138
Watcher @ vue.runtime.esm.js?2b0e:3127
mountComponent @ vue.runtime.esm.js?2b0e:2791
Vue.$mount @ vue.runtime.esm.js?2b0e:7995
init @ vue.runtime.esm.js?2b0e:4133
createComponent @ vue.runtime.esm.js?2b0e:5604
createElm @ vue.runtime.esm.js?2b0e:5551
patch @ vue.runtime.esm.js?2b0e:6126
Vue._update @ vue.runtime.esm.js?2b0e:2656
updateComponent @ vue.runtime.esm.js?2b0e:2784
get @ vue.runtime.esm.js?2b0e:3138
Watcher @ vue.runtime.esm.js?2b0e:3127
mountComponent @ vue.runtime.esm.js?2b0e:2791
Vue.$mount @ vue.runtime.esm.js?2b0e:7995
(anonymous) @ main.js?56d7:6
./src/main.js @ app.js:2142
webpack_require @ app.js:725
fn @ app.js:102
0 @ app.js:2155
webpack_require @ app.js:725
(anonymous) @ app.js:792
(anonymous) @ app.js:795
vue.runtime.esm.js?2b0e:1737 TypeError: Cannot call a class as a function
at i (bundle.js?af06:19)
at e (bundle.js?af06:19)
at resolveAsyncComponent (vue.runtime.esm.js?2b0e:2334)
at createComponent (vue.runtime.esm.js?2b0e:4215)
at _createElement (vue.runtime.esm.js?2b0e:4416)
at createElement (vue.runtime.esm.js?2b0e:4353)
at vm._c (vue.runtime.esm.js?2b0e:4485)
at Proxy.render (eval at ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules\.cache\vue-loader","cacheIdentifier":"25898f58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/HelloWorld.vue?vue&type=template&id=469af010&scoped=true& (app.js:924), :11:6)
at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:4540)
at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:2784)

vue-flow.zip

怎么可以跟vue结合吗

@axingqiyi GGEditor 基于 React 技术栈：）

authors: axingqiyi gaoli

repo: gaoli/GGEditor


text:
3.11.7版本撤包？

正在使用一个小时前发布的3.11.7版本，不是一般的好用，为啥撤掉了这个版本啊

怎么fa发这么多个包？好像有重复的

github 自动发布的有问题啊，我重新发布了

repo: gaozhangmin/aliyunpan


text:
🛑 Pablo Furchi is down

In e6be74b, Pablo Furchi (http://pablofurchi.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pablo Furchi is back up in fb735fc.


text:
Fixed labels in etcd resources to help in grouping

What this PR does / why we need it:
This PR changes the labels in etcd resources deployed to make grouping of resources pertaining to a role possible. This is needed to help etcd-druid adopt existing etcd resource.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

cc @swapnilgm

@rfranzke, I have made the changes suggested. PTAL

repo: gardener/gardener


text:
Fix failing beta test for ARM shoot

How to categorize this PR?

/area testing
/kind bug
What this PR does / why we need it:
This PR fixes failing beta testmachinery test for ARM shoot.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test pull-gardener-e2e-kind

/milestone v1.55

authors: acumino oliver-goetz


text:
Handle v1alpha1 config for PodSecurity admission plugin

How to categorize this PR?

/area control-plane
/kind bug
What this PR does / why we need it:
In #6549, we had considered only apiVersion: pod-security.admission.config.k8s.io/v1beta1 for the PodSecurity config.
This could break if the user provides an v1alpha1 config.
From https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/#configure-the-admission-controller,

v1beta1 configuration requires v1.23+. For v1.22, use v1alpha1.

Also we don't add PodSecurity to default plugins for cluster below v1.23. So we should exit early if PodSecurity is not found in the plugins.
Which issue(s) this PR fixes:
Part of #5250
Special notes for your reviewer:
Release note:

Added handling for `v1alpha1` config of `PodSecurity` admission plugin for clusters v1.22.x.

/cherrypick release-v1.55


text:
Install the hard-coded cloud-init version

How to categorize this PR?

/kind bug
/area os
/os garden-linux
/priority 1
/platform alicloud
What this PR does / why we need it:
Fix the cloud-init installation for Alicloud, as with the latest version the VMs cannot be initialized properly
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

/invite @marwinski @gehoern
/assign @marwinski @gehoern

I have built locally the image and the only diff in rootfs.manifest compared to the build from ae20c2f16d96457878a9da26309aec8d676566b3 is
< cloud-init 20.4.1-1
---
> cloud-init 20.2-2

repo: gardenlinux/gardenlinux


text:
Implement a Search Component

As a user
I need to search for specific types of gifts
So that I can quickly find items I'm interested in
Details and Assumptions

Search should filter by keywords, categories, and location
Search results should update dynamically

Acceptance Criteria
Given that I am on the listings page
When I enter search criteria and submit
Then the results should update to show only matching gifts
And I should be able to further refine my search if needed

repo: gardogit/fullstack-capstone-project


text:
Upgrade org.scala-sbt:zinc to 1.9.0 to fix a CVE

I saw a CVE that was being flagged can now be resolved by upgrading the zinc version
Link to CVE details: https://www.mend.io/vulnerability-database/CVE-2022-36944
Link to Zinc release details: https://github.com/sbt/zinc/releases/tag/v1.9.0

Actually, we don't need PRs for upgrading dependencies.
We have scala-steward configured to run once a week on the upstream repository and then commits get flushed in this one.
Thanks anyway.

Awesome, glad it'll be upgraded automatically. Thanks!

See https://github.com/gatling/gatling/commit/a903db65b3bce078234951a0bce104574c69ea8e :)

authors: CodedChai slandelle

repo: gatling/gatling


text:
Bump supported remote plugin versions to support WPGraphQL v0.10.1

When using WPGraphQL v0.10.1 with gatsby-source-wordpress-experimental 0.7.14 a build error gets thrown saying "our remote version of WPGraphQL is not within the accepted range".

try to update wpgraphql ?  and the wordpress

The issue seems to be that there has been a major update to WPGraphQL and this project (along with https://github.com/gatsbyjs/wp-gatsby I guess) are not compatible with the new version. It's not entirely clear which versions are actually supposed to be compatible with each other, does anyone know?

The issue seems to be that there has been a major update to WPGraphQL and this project (along with https://github.com/gatsbyjs/wp-gatsby I guess) are not compatible with the new version. It's not entirely clear which versions are actually supposed to be compatible with each other, does anyone know?

Not aware of how all possible versions work together, but to my knowledge and experience with WP Multisite, the working combos look like this...
WORKING COMBINATIONS
Normal WordPress site:
WPGraphQL < v0.10.0 works with gatsby-source-wordpress-experimental < v0.8.0
WPGraphQL > v0.10.0 works with gatsby-source-wordpress-experimental > v0.8.0
WordPress Multisite:
WPGraphQL < v0.10.0 works only with gatsby-source-graphql.
The reason is that in previous version of WPGraphQL, the url wasn't avaulable on generalSettings for multisites (see https://github.com/wp-graphql/wp-graphql/issues/1334, but was required by gatsby-source-wordpress-experimental (see #23 ). That mismatch is fixed with combining the latest versions.
The only combo feasible for using gatsby-source-wordpress-experimental with WP Multisite is...
WPGraphQL > v0.10.1 together with gatsby-source-wordpress-experimental > v0.8.0
Hope this helps :)

Hey everyone! The latest release supports WPGraphQL 0.10.* gatsby-source-wordpress-experimental@0.8.1.
I think the error messaging is a bit confusing if the remote WP plugins are a newer version than what's supported so we'll have to look at that. Opened a new issue to track that here https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/issues/35

authors: HumidBrains TylerBarnes adel0559 muhzulzidan


text:
How about upgrade to gatsby 3.0 ?

This repo is referenced in the 3.0 release, but is still using v2.

@KarlBaumann from my understanding, I think the breaking changes with gatsby-image in particular need to be fixed in the gatsby-source-wordpress plugin. Only then this starter will be unblocked for v3 upgrade. I'm also looking forward to it.

authors: KarlBaumann vinayraghu

repo: gatsbyjs/gatsby-starter-wordpress-blog


text:
Android violations

The Android API is quite large and changed over time; I wonder if modernizer can help people keep up with the latest versions?  We would need a separate version field for this.

Closing this as there does not seem to be a good use case.

repo: gaul/modernizer-maven-plugin


text:
[m2e] Add m2e hint

Hint for m2e (maven 2 eclipse) to tell it to do nothing with this plugin so users of plugin don't need to setup anything in their pom such as is setup in this plugin already for maven-plugin-plugin regarding m2e.

For reference the older m2e config is no longer needed in pom to override but only documented location to this point has been a note here https://eclipse.dev/m2e/documentation/release-notes-17.html#new-syntax-for-specifying-lifecycle-mapping-metadata.  And its not exactly clear to end users that way.  Having it in the plugin metadata helps avoid the additional setup.

Thank you for your contribution @hazendaz!

authors: gaul hazendaz


text:
Prevent loading lightmaps if mesh is a glb file that has an occlusion-metallic-roughness texture

🦟 Bug fix
Summary
When loading this water bottle glb file, I manually saved the lightmap texture file (loaded by assimp) to examine what it looks like. It turns out the lightmap texture is just a copy of the occlusion-metallic-roughness texture, which is not correct.  There are issues reported upstream (see inline comments in code).
Currently if an occlusion-metallic-roughness texture exists, we extract the roughness texture map from the g channel and the metalness map is in the b channel of this texture.  I suspect that the right thing to do is to extract the r channel as a separate occlusion texture and use that as the lightmap (not quite the same but occlusion maps are not yet supported in gz-rendering). This needs to be investigated. For now, this PR prevents setting incorrect lightmap textures for glb meshes.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

the homebrew warning should be fixed in https://github.com/gazebosim/gz-common/pull/529

repo: gazebosim/gz-common


text:
DEM: Add support for GDAL vsicurl, vsizip support and avoid segfaults with huge VRT datasets

🎉 New feature
Closes #596
Summary

Adds initial support to load super large DEM datasets by exposing an API to limit the size of the loaded DEM.
Adds an alternative way of loading datafiles that make use of features like vsizip and vsicurl that aren't true filepaths.
Adds a compiler warning for if you use new versions of GDAL, which will lose precision in the current implementation, and potentially misrepresent NoData values.
Add a few asserts for safety to catch coding errors earlier
The user-configurable size limits can be used to prevent segmentation faults by loading too big of a raster dataset
FIxed overflow and segfault in RasterIO for massive DEM's and overflow risk in vector resize operations

Test it
I added a unit test which is self explanatory.
I also hacked a demo with one SRTMHGT file, and confirmed it can load. Gazebo does not perform well with this terrain size (3601 x 3601), but it does load. SDF needs ability to truncate the size of the heightmap in order to be usable, or perhaps decimate the data resolution.

Open Questions

How do we want the logs to look? Perhaps queue the errors and only report them if the DEM loading fails.
Do we need to solve user-configurable origin to load? The previous implementation loaded everything in the raster, so there was nothing to configure
Should we rely on ArduPilot's terrain server being up for the test, or generate a large in-memory dataset for testing large rasters?

Future Improvements

File  an upstream GDAL bug about the segfault and ask for a recommendation how to prevent it: https://github.com/OSGeo/gdal/issues/9713
Expose an API to let users change which part of the large DEM is initially loaded
Expose an API to let users, after an inititial load, to re-load  more terrain to handle a drone flying very far

Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@ahcorde Would you be able to provide another round of feedback on the functionality of this PR. I'm looking for some direction on how to best contribute my time to Gazebo's support of terrain data. We can use Gazebo for outdoor 3D aerial robotics applications that the aerial working group is currently working on.

Also, please merge from gz-common5 to get the latest changes that fix CI failures.

@Ryanf55 we are now in Feature freeze for Gazebo Ionic. Since PR is already open, I've applied the beta label which means it's slotted for the Ionic release if we can get it merged before 08/28/2024. Do you think that's feasible? If not, please let me know and I'll remove the beta label.

Thanks for the heads up, I'll do my best to make time over the next 2 days.

gz-common5

Rebase complete.


text:
Mesh/material memory leak

Maybe related to https://github.com/ignitionrobotics/ign-rendering/issues/39
After investigating this issue more, it is more suited to be inside https://github.com/ignitionrobotics/ign-rendering as it occurs for both GUI and camera sensors. Please move the issue there if possible.
Environment

OS Version: Ubuntu 20.04
Ignition - built from source

Both Dome and Edifice experience this issue

Ogre Version:

Both ogre and ogre2 (2.1) experience this issue

Description

Expected behavior: Various models can be added and removed arbitrary number of times without running out of memory.
Actual behavior: Mesh/material (texture) is not freed after a model is removed. It affects both GUI and camera sensors. For GUI, reinserting the same model repeatedly introduces some extra memory usage, but at much smaller magnitude (negligible in the grand scheme of things).

I should note that this behaviour might be advantageous for headless simulation if an environment repeatedly utilises a limited number of models, as reinsertion of a model is much faster if its resources already loaded to memory. Duality of bug/feature is real with this one. Therefore, having an option to allow both behaviours might be preferable, i.e option A - unload all resources after removing model, option B - keep the resources (with some policy that makes sure the system does not run out of memory/exceed some threshold).
Steps to reproduce

ign gazebo -s
ign gazebo -g
Open RAM usage monitor of your choice. Optionally, monitor VRAM usage as well.
Run the following example script ign_gui_memory_leak_reproducibility_script.bash (gist)

This script iteratively inserts and removes models with mesh geometry and material texture using service calls
Note: Script downloads models from Fuel (total of ~650MB)
Note: About ~4GB RAM will be leaked with the utilised 50 models

ign_gui_memory_leak_reproducibility_script.bash
#!/usr/bin/env bash

## Get list of first <n_models> models from <owner> (using Fuel)
owner="googleresearch"
n_models=50 # 50 corresponds to ~650MB disk usage and ~4GB RAM (leaked) usage, use less if your system does not allow it
echo "Getting list of '$n_models' models owned by '$owner'. This might take few minutes during the first execution... Please be patient :)"
model_names=$(ign fuel list -o $owner -t model -r | head -n $n_models | sed -n -e 's/^.*models\///p')

## Download models if needed (done separately because "/world/default/create" service might timeout)
for model_name in $model_names; do
    if [[ ! -d "$HOME/.ignition/fuel/fuel.ignitionrobotics.org/$owner/models/$model_name" ]]; then
        model_uri="https://fuel.ignitionrobotics.org/1.0/$owner/models/$model_name"
        echo "Downloading model '$model_uri'"
        ign fuel download -t model -u "$model_uri" &
    fi
done
for job in $(jobs -p); do
    wait $job
    echo "Model downloaded"
done

world_name="default"
# world_name="camera_sensor"
for model_name in $model_names; do
    ## Spawn model
    echo "Spawning model $model_name"
    model_uri="https://fuel.ignitionrobotics.org/1.0/$owner/models/$model_name"
    ign service -s "/world/$world_name/create" --timeout 5000 \
        --reqtype ignition.msgs.EntityFactory \
        --reptype ignition.msgs.Boolean \
        -r 'sdf_filename: "'$model_uri'" name: "'$model_name'"' 1>/dev/null
    sleep 0.5
    ## Remove model
    echo "Removing model $model_name"
    ign service -s "/world/$world_name/remove" --timeout 5000 \
        --reqtype ignition.msgs.Entity \
        --reptype ignition.msgs.Boolean \
        -r 'type: 2 name: "'$model_name'"' 1>/dev/null
    echo ""
done

Service calls are used here to easy reproducibility. This issue occurs also when using C++ API directly (I originally experienced the issue while using gym-ignition).
Output
Below is a video of performing the steps above. Notice also that the aligned bounding boxes of objects remain visible if object was removed while selected (and they cannot be removed). Speculation: This might be the small negligible amount of memory that accumulates on model reinsertion for GUI (or part of it).
https://user-images.githubusercontent.com/22929099/113486605-00994180-94b4-11eb-8945-597deb17d6c7.mp4
I tried to investigate the issue with Heaptrack, however, only a fraction of the leaked memory gets logged (as far as I can see). Peak resident memory (RSS) matches the total RAM usage (4.8GB), but I was not able to figure out what the largest contributor is. The mesh/texture data is not logged. I am not sure if it's caused by having Ruby in the loop or because rendering engine is loaded as plugin?
Log file: heaptrack.ruby.3172402.gz
Summary:

Consumption (each spike is insertion of a new model):

Overlapping collision geometries
While making the reproducibility example, I also noticed that if I resume the simulation after all the model insertions/deletions, the server freezes completely and outputs a bunch of ODE collision-related messages. I have seen these before when two or more models have their collision geometry largely overlapping. Therefore, it seems the collision geometry is not immediately removed from server when the simulation is paused. Is this a design choice or a bug?
ODE Message 2: Trimesh-trimesh contach hash table bucket overflow - close contacts might not be culled in AddContactToNode() [collision_trimesh_trimesh.cpp:224]

There is actually a memory leak inside server too, but at much smaller scale. Using the same procedure, here is a Heaptrack of ign gazebo -sr.
Log file: heaptrack.ruby.2904453.gz
Summary:

Consumption:

Investigating further, the full issue occurs also for camera sensors totalling to ~5GB memory leaked (headless), and adding up to ~10GB leaked for 50 models if GUI is also opened. Therefore, the issue might be inside ign-rendering after all. Heaptrack for ign gazebo camera_sensor.sdf -sr is below (sorry for spam)
Log file:
heaptrack.ruby.2949814.gz
Summary:

Feel free to move this issue under another repository if you think it fits better there.

I have been digging a little bit more about this problem and I think I found the source.
There are two places where we handle meshes

ign-common with the MeshManager which is going to keep the meshes, load them and we are also able to fetch them.
ign-rendering we will use the MeshManager from Ignition-common and we fetch the mesh and convert it to the right RenderEngine (Ogre, Optix, etc,).

The first thing to take in account is that we don't have a method in the MeshManager Class to remove meshes, this will make imposible to delete some kind of memory
I made a simple C++ example to load and destroy some meshes using only the MeshManager (I added a method to remove them, I will create the PR soon). And as you can see in the following image we are able to destroy the memory properly.

The problem is inside ign-rendering, when we destroy the mesh using this new method there is no call to destroy the Ogre material which in this particular case will contain a texture image (quite big) which makes the memory to growth but we are not cleaning this up.
In the following image we can see how we create the meshes and at the end I try to destroy then but we are only able to destroy the memory in the MeshManager but not in ign-rendering.

TODO

[ ] In the MeshManager class there is no method to remove any mesh.
[ ] Remove the OgreMaterial

FYI @iche033

Some more details:
We have some duplicated materials. When we create the mesh and we load the material in memory in particular in this methos bool OgreMeshFactory::LoadImpl(const MeshDescriptor &_desc). We create "general " Material which is passed to the submeshes, I think this is because we can have some submeshes with the same material but with different properties.
Then when we try to remove the mesh which potencially has some submeshes with textures we are going to remove the texture associated with the submesh but we are not removing this general material which will live in the memory forever or when we remove the engine with the method Destroy.

I added this PR in ign-gazebo https://github.com/ignitionrobotics/ign-gazebo/pull/824 that allows to remove the mesh when an entity is removed or the UserCommand remove is called.
The following image shows how the memory is removed

NOTE. This is using a world without any sensors. Which means the materials are not loaded, and there is no leak.

I openned this other draft PR https://github.com/ignitionrobotics/ign-rendering/pull/324
With this one we should be able to remove the material from the memory there are still a memory leak which I'm not able to identify.
Server

Client

As you can see in both cases there is a small memory leak.

Thank you for investigating and mitigating this issue @ahcorde!

According with an offline discussion with @iche033, These changes may affect the performance in some special cases such us:

When repeatedly spawning large models in ignition
A world with hundreds of the same model

This is very true. From my experience, it is currently much faster to spawn a model with mesh geometry and image texture if its assets are already loaded to the memory. I don't have specific numbers, but it is especially noticeable for high-res textures (even if stored on SSD).
This behaviour is definitely beneficial if a limited number of diverse models is used. Currently, the only problem that really occurs is when a system runs out of RAM.
I forgot to mention in the original description that utilised VRAM is kept at a steady size just few MB below the available size (at least for CUDA). I assume it is due to some form of smart buffer poll management in OpenGL/OGRE? Having a similar solution for RAM would allow to keep the advantage of faster re-insertion of models while addressing the issue with lack of memory. I have no idea about the feasibility of such implementation, but having a maximum memory limit for assets (especially textures) would definitely be nice - with some policy that would free old and unused data [limit default to system memory].

Hello everyone
I also faced with a memory leak problem and after several experiments I noticed that memory leaking by a small amount with some consistent speed even if I'm running empty simulation. (I know that this thread is quite old and something already changed)
With valgrind and very raw xml report viewer and quite frequently saw a traces which ends inside QtQml library:
{"obj":"/usr/local/libexec/valgrind/vgpreload_memcheck-amd64-linux.so","fn":"operator new[](unsigned long)","dir":"/root/valgrind-3.23.0/coregrind/m_replacemalloc","file":"vg_replace_malloc.c","line":729}
{"obj":"/root/qtbase/lib/libQt5Qml.so.5.15.14","fn":"QQmlContextData::initFromTypeCompilationUnit(QQmlRefPointer<QV4::ExecutableCompilationUnit> const&, int)"}
{"obj":"/root/qtbase/lib/libQt5Qml.so.5.15.14","fn":"QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*, int)"}
{"obj":"/root/qtbase/lib/libQt5Qml.so.5.15.14","fn":"QQmlComponentPrivate::beginCreate(QQmlContextData*)"}
...

(I also saw some other problems, not related to Qt, but seems they are constant memory leak, not increasing)
And on a Qt bugtracker there is a bug https://bugreports.qt.io/browse/QTBUG-119301 with quite similar reference to my observation with initFromTypeCompilationUnit() (or at least IMHO)
QQmlObjectCreator class seems quite complex, and I can't find a place where context data member are should be destroyted (actually it should be called context->destroy() method afaiu), but maybe it shared with something.
 (Qt 5.15.14, built from source; Ubuntu22 has 5.15.3 I guess, with similar result AFAIR)
Not sure how this observation can exactly help, but just in case I decide to share it.
Please take it with grain of salt  C:

authors: AndrejOrsula ahcorde ntfshard

repo: gazebosim/gz-gui


text:
Setting multiple light properties using  sim::Light doesn't work properly

Environment

OS Version: all
Source or binary build? 8.6.0

Description

Expected behavior: Calling sim::Light::SetDiffuseColor followed by sim::Light::SetSpecularColor to work. Example:

gz::sim::Light light(light_entity);
light.SetDiffuseColor(ecm, gz::math::Color(1.0, 0.0, 0.0, 0.0));
light.SetSpecularColor(ecm, gz::math::Color(1.0, 0.0, 0.0, 0.0));

Actual behavior: Only the last set value takes effect. Looking at the code in https://github.com/gazebosim/gz-sim/blob/523b01b390ed9572522c99f792df01f583bb579f/src/Light.cc#L326-L344 calling SetDiffuseColor or SetSpecularColor  will set the LightCmd component.  But if you call one after the other without a whole step in between, the LightCmd from one will overwrite the other. The code already checks if there's a LightCmd component, but instead of updating the value of the component, it always replaces it with a new value.

hi, i would like to contribute.

Thanks @shr-eyas ! I'll go ahead and assign this to you.

@azeey thank you! i have been an avid user of gazebo and ros for past 2 years and this would be my first open-source contribution.
i have read the guidelines but it would be great if you can share some resources to help me get started.

hi @azeey , i believe i have solved the issue but as this is my first contribution, i am facing some difficulties with how to fulfill the prerequisites for creating a PR. specifically, with the tests. can you please help/guide me with the same?

hi, @azeey ! i believe i have solved the issue however, i am having issues testing it. this is my first open-source contribution and it would be great if you can provide some help/guidance.

authors: azeey shr-eyas

repo: gazebosim/gz-sim


text:
Add support for Garden

🎉 New feature
Summary

Update CMakeLists.txt and package.xml files to reference Garden dependencies.
Update README and RELEASING to document Garden support
Add workflow job for Fortress + Humble

Test it

Checklist

[ ] Signed all commits for DCO
[ ] Added tests (not applicable)
[ ] Added example and/or tutorial (not applicable)
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

I presume the Github workflow won't support Garden until binary releases exist; correct me if I'm wrong.


text:
Collision: add optional density parameter to API

🎉 New feature
Quick API change in support of https://github.com/gazebosim/sdformat/issues/1329
Summary
This adds a std::optional<double> parameter to override the density in Collision::CalculateInertial to support the //link/inertial/density parameter. This is submitted as a quick API change before the Harmonic release without the implementation of the parameter. If we don't merge this, then we can add an overloaded Collision::CalculateInertial method afterwards.
cc @jasmeet0915
Test it

Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[X] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[X] codecheck passed (See contributing)
[X] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Thank you for the changes @scpeters. I would also like to point out that a link-level <auto_inertia_params> element (//link/inertial/auto_inertia_params) was also added in #1304 for similar reasons as the link-level <density> element (this is also mentioned in the proposal). So should we further modify the API to take an optional sdf::ElementPtr for the same?
cc: @azeey  @quarkytale

I would prefer to wait until after Harmonic to add an overload that also takes into account auto_inertia_params.

we will add an overloaded API after the harmonic stable release and include the implementation at that time

authors: azeey jasmeet0915 scpeters

repo: gazebosim/sdformat


text:
splitting entities

Hello there gazoodle
Great work on this project if only they all worked this well!
I am hoping you can add entities for
-current temp
-current operation mode
-switch operation mode
I know these can be accssed by lovelace but alas I have a seperate TFT sceen with only minimal interface options
many thanks

Just so I understand:
Current Temp = The actual temperature of the water in the tub (as opposed to the user setpoint in the UI, or indeed the real setpoint after taking eco mode into account)
Current Operation = Cooling/Heating
I'm not sure what you mean by switch operation mode.

my apologies poor posting on my part
-current temp of the water in the tub
-each of the settings i.e standard, weekender, etc
-turn heating up/down

I'm pretty sure you can access all the parameters you want from the climate entity that the integration provides for the spa
If you use the developer tools, type in the name of your spa, select the climate entry, you can see all that data
hvac_modes:
  - auto
min_temp: 15
max_temp: 40
preset_modes:
  - Away From Home
  - Standard
  - Energy Saving
  - Super Energy Saving
  - Weekender
current_temperature: 32
temperature: 32
hvac_action: idle
preset_mode: Standard
icon: mdi:hot-tub
friendly_name: 'Spa: Heater'
supported_features: 17

You can use an automation to change any of the attribute values, you can use the {template} engine to extract just a specific value from the attributes.
How are you driving your TFT screen?

Also, sometimes it's useful to explain what you're trying to achieve in case there is already an existing way to get what you want. I'm continually amazed at what I can get HA to do.

nice thanks, sorry still new to this so often not sure what I'm looking for lol. spend hours trying to get a page to change on a button press!!

I know! Early on when I first discovered HA, I was trying to absorb so much information that I kept spinning and not really getting anywhere.
I've got dozens of panels in the UI where I've been playing around with panels and so on, I've added loads of integrations, add-ons, UI tweaks and so on. This ecosystem is huge!
I'm still discovering things and the HA team and community have so many releases, I seem to spend ages just updating stuff. I still have hundreds if not thousands of orphaned entities in my HA config that I've not got around to cleaning up.
Anyway, I peeked in your GitHub repo and saw you're interested in the Sonoff NS Panel which I'm guessing is why you're interested in breaking out various parts of the temp controls. I can give you some pointers on how to do this without needing any extra sensors from this integration, I think you can get the control that you need with what we've already got in here.
I should probably add some examples like this to the README.md file then it'll be available for others if they need it.

@stevenfletcher125 did you get anywhere with your project? Is this issue still valid, or can it be closed?

Hi gazoodle, sorry for the reply years on but yes it was a sonoff panel and it works well, never got it to be able to set the temperature but alas not my skill set lol.  but since the fit of the panel I have had a visual of the tub temp from in the house its a great addition.

repo: gazoodle/gecko-home-assistant


text:
Identifiers validation failed for dataset Dermaptera in the icipe collection

Identifier validation failed for the dataset Dermaptera in the icipe collection:

Crawler attempt: 294
Publishing organization: International Centre for Insect Physiology and Ecology
Publishing country: UNKNOWN
Installation: ICIPE IPT
Number of occurrences indexed for this dataset at the time of the issue: 154
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 154 total records; 154 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3331338/step

New IDs sample:

Old IDs sample:

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Dermaptera in the icipe collection : https://doi.org/10.15468/gfbto2.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Dermaptera in the icipe collection:

Crawler attempt: 295
Publishing organization: International Centre for Insect Physiology and Ecology
Publishing country: UNKNOWN
Installation: ICIPE IPT
Number of occurrences indexed for this dataset at the time of the issue: 154
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 154 total records; 154 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3331420/step

New IDs sample:

Old IDs sample:

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Dermaptera in the icipe collection : https://doi.org/10.60798/qoaus1.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Migration from a TAPIR dataset to IPT. Released for ID change

authors: ahahn-gbif gbif-pipelines

repo: gbif/ingestion-management


text:
Geographical coverage: bounding box is not saved when using IPT in multiple languages

We have identified an issue related to establishing geographical coverage when attempting to set the geographic bounding box for the area covered by the resource by either dragging the markers or filling in the fields. We have noticed that this problem arises when using IPT at least in Spanish, Portuguese, Russian, and French, as the selected area fails to display.
The temporary workaround is to use IPT in English.
We hope this information is helpful, and we trust that the issue will be resolved in future IPT updates : )

Thank you for reporting the issue.

There are template errors

repo: gbif/ipt


text:
Idea for a babel plugin: strip inj / prj

inj / prj are just identity functions at runtime, they could be stripped out by a babel plugin

naive implementation https://github.com/gcanti/flow-static-land/blob/master/test/babel-plugin.js

repo: gcanti/flow-static-land


text:
Support new way of assigning advice method name

Currently, you just add the advice method as the last argument, it looks a bit confusing. e.g. :meth4 is the advice method below, you won't tell that easily.
before :meth1, :meth2, :meth3, :meth4
Solution 1:
before [:meth1, :meth2, :meth3], :meth4
Solution 2:
before :meth1, :meth2, :meth3, :run => :meth4

In the mean time, we should still support this:
before :meth1, :meth2    # :meth2 is the advice method

Solution 1 is good enough


text:
Extension blocked in Microsoft Edge

The extension is blocked in Microsoft Edge and says it contains malware. I am unable to enable the extension.

Probably same as #72
edge emailed me that they removed it but strange that it's still listed but says it contains malware.  In any case, I'm currently working on re-uploading it to the chrome+edge stores, but I need to upgrade from MV2 to MV3 since new uploads need to be MV3.  Should be ready in a couple days, if not today.

repo: gchenfc/sci-hub-now

license: WTFPL


text:
Feature request: Glob

Describe the solution you'd like
Add Glob, which is commonly used.

Can you give an example of input/settings/output?

check this https://www.digitalocean.com/community/tools/glob

To add fuel to the fire, this would be really helpful as AWS CloudWatch Log Insights queries' parse command use glob, as do things like .gitignore and other commonly used simple pattern writing. I know I may get flak for commenting on a 1 1/2 year-old feature request, but it's either this or making a new duplicate feature request.

authors: chengxuncc clubby789 rabinowitz

repo: gchq/CyberChef


text:
Feature request: SOSEMANUK, Salsa Variants, ChaCha Variants, HC-256, HC-128, RC5, RC6, TEA, XTEA

Is your feature request related to a problem? Please describe.
The ciphers SOSEMANUK, Salsa, ChaCha8, ChaCha12, HC-256, HC-128, RC5, RC6, TEA, XTEA are all currently missing, but are ones I have seen used in malware at one point or another or are otherwise popular.
Describe the solution you'd like
Please consider adding support for these ciphers
Describe alternatives you've considered
Using other tools or creating custom one off decoders is the current workaround
Additional context
ChaCha variants: https://cr.yp.to/chacha.html vary in the internal number of rounds they compute
The Salsa20 directory in version 2008.01.20 of the eSTREAM benchmarking suite includes several implementations of ChaCha8 (and ChaCha12 and ChaCha20):

Reference
ChaCha8: https://cr.yp.to/streamciphers/timings/estreambench/submissions/salsa20/chacha8/ref/chacha.c
ChaCha12: https://cr.yp.to/streamciphers/timings/estreambench/submissions/salsa20/chacha12/ref/chacha.c
ChaCha20: https://cr.yp.to/streamciphers/timings/estreambench/submissions/salsa20/chacha20/ref/chacha.c
Salsa20: https://cr.yp.to/snuffle/salsa20/ref/salsa20.c
Salsa 20/8 and Salsa 20/12 variants:
https://cr.yp.to/snuffle/812.pdf
I could not find a reference implementation for these variants, but exactly like chacha variants. They only vary in the number of internal rounds. Please also include the variants with differing rounds or make it a parameter which defaults to 20.
SOSEMANUK: https://www.ecrypt.eu.org/stream/e2-sosemanuk.html
TEA: https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm
XTEA: https://en.wikipedia.org/wiki/XTEA

Note that ChaCha8 and ChaCha12 are available through the ChaCha operation; you can set the round number from 20 to 12 or 8.

ChaCha is present yea, the others are not though

@stevemk14ebr Salsa, ChaCha and XXTea are now present in the application.  Would you be willing to break the others out into separate issues?  It should make it easier for people to contribute individual features, ❤ .

Sure! Give me a few days please and I will. Thank you!!


text:
Add RegisterAction

It helps to create and register new releases.
https://github.com/julia-actions/RegisterAction

Thanks, we are aware of this option but it is still unclear what the optimal design is, or whether we want to transfer the package to the JuliaDiff organization. This package is still experimental, but when it reaches a stable state we will either register it or merge it with AbstractDifferentiation, and you'll be the first to know 😉

Is this action even required when using the Julia Registrator? I've never had to use this action before.

The action is like an interface for Registrator. It facilitates version increasing and prompting Registrator before registration.

Using Registrator, I already just have to comment @ JuliaRegistrator register on a commit to register a new version. What does this action add?

It gives you an interface in Github Action page that gets "major", "minor", or "patch" as the version input (or the literal version)

then creates a new bump version commit with @ JuliaRegistrator register

Thanks, TIL!

me too!

now DI is having its second release. are you still considering this?

And having TagBot also helps.
https://github.com/JuliaRegistries/TagBot

RegistrationAction can indeed help, but TagBot is apparently broken for packages located in subdirectories.

authors: adrhill gdalle prbzrg


text:
🛑 Stalwart is down

In 6aa92a7, Stalwart ($SITE_STALWART) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Stalwart is back up in 326a049 after 21 minutes.


text:
I get 2 notifications for everything. How do I change that?

For some reason I started getting 2 Notifications for everything. Is there a way to stop this?

Hi @darrenph1,
My guess is that somehow you ended up with duplicated entries in your plugin configuration. Do the following to confirm if this is your case:

ssh into your octopi box (I'm assuming you are using octopi)
cd .octoprint
Edit config.yaml and go to plugins: -> octopod -> tokens
You should see an entry for each combination of printer and iOS device. If you have duplicates you will see more entries than you expected
Feel free to delete all tokens and restart both OctoPrint and OctoPod app. OctoPod will register with new tokens again

People that tried to spawn a new OctoPrint instance by doing a backup and restore of the configuration are the ones that ended up duplicating entries. Not sure if that was your case. There is a ticket to show in OctoPrint UI the list of registered tokens so you can manage them from there.
Hope this helps,
Gaston

Thanks, I could never find where the location is via the GUI but via ssh I
found the tokens and deleted them. I'll know in about 6 hours if it worked
but sound like it should. I noticed the " - " that you mentioned also in
other plugins I have. I guess that means I have duplicates for those as
well.  I should be able to delete those also, yes?
Thanks for your help and the great app!!
Darren
On Sun, Sep 6, 2020 at 6:58 PM Gaston Dombiak notifications@github.com
wrote:

Hi @darrenph1 https://github.com/darrenph1,
My guess is that somehow you ended up with duplicated entries in your
plugin configuration. Do the following to confirm if this is your case:

ssh into your octopi box (I'm assuming you are using octopi)
cd .octoprint
Edit config.yaml and go to plugins: -> octopod -> tokens
You should see an entry for each combination of printer and iOS
device. If you have duplicates you will see more entries than you expected
Feel free to delete all tokens and restart both OctoPrint and
OctoPod app. OctoPod will register with new tokens again

People that tried to spawn a new OctoPrint instance by doing a backup and
restore of the configuration are the ones that ended up duplicating
entries. Not sure if that was your case. There is a ticket to show in
OctoPrint UI the list of registered tokens so you can manage them from
there.
Hope this helps,
Gaston
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gdombiak/OctoPod/issues/366#issuecomment-687976290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIR4EK3CVEXKQQK2IMM35QDSEQ43LANCNFSM4Q4WT3EQ
.

@darrenph1 , remember that a restart of OctoPrint and also of the OctoPod app are going to be needed for the changes to make effect and have the phone registered to receive notifications from the plugin.
The "-" that you see in that file means that the property (e.g. tokens) has many values. Under "plugins" you also see that each entry has a "-" which means a value of the list of plugins. In yaml this is called a collection.

That fixed the issue. Thanks!

I'd like to re-open this as I was not able to resolve this. I only see one token in my config.yaml file, although I have restored from a backup a couple times. Should I try to delete the token and set it up fresh?

Hi @spartan152, the instructions on this ticket are no longer necessary. You can now use your browser to go to OctoPrint's settings. Go to the OctoPod Notifications page and click on Devices. That page shows all the devices that are registered with that OctoPrint instance. You can click on the trash icon to delete any device you no longer want to be notified. If you delete all the entries then open the OctoPod iOS app and it will register again.
Hope these instructions help.
Gaston

repo: gdombiak/OctoPod


text:
Known issue: animations are broken in beta 10

In Godot 4 beta 10 animations don't work properly, Godot's throwing this error:

EDIT: this error is fixed, but animations still don't work as intended. We recommend using beta 7/8 until this is fixed

It is caused by trying to travel to a state play_idle that does not exist in bee_root.gd.
I will consider changing state machine to throw a clear error when traveling to a non-existent state in core later.

Thanks, it does solve this one error, and a more precise error message would be great. Animation tree state changes still don´t work in the game, but I'll see if it can be fixed.

After some fiddling, I'm unsure if it's an issue on our side or if there's an issue on Godot's side. The animation state machine graph we've used so far, with simple transitions using default properties, doesn't work anymore: AnimationNodeStateMachinePlayback.travel() doesn't seem to manage to travel to various states, and aside from setting some states to auto-advance, I couldn't get the others to work properly.
If anyone has an idea or time to look into it, help would be much appreciated.

Maybe related https://github.com/godotengine/godot/issues/70536#issuecomment-1364710796

It seems like it, thanks much @TokageItLab!

@NathanLovato Looking into this. You wouldn't happen to have any examples of this would you? I have one MRP, but it seems to indicate issues with the _process_graph rather than the transitions, which I can't seem to replicate.

Okay I sent https://github.com/godotengine/godot/pull/70576 for path checking.
Also I sent https://github.com/godotengine/godot/pull/70572 to fix a bug which is StateMachine's fading isn't finish correctly, please can you check it? It would be helpful to know if it will make your project correct.

@TokageItLab I'll build with your PR and test now
@SaracenOne If Tokage's fix doesn't solve the issue I'll make an MRP for you

https://github.com/godotengine/godot/pull/70572 does help, thanks!

Mostly fixed in 8353148
Only the beetle's animation tree doesn't work. @gtibo would you be able to fix or remake the beetle's anim tree? Godot 4 is getting to release candidate now, it should be relatively stable at this point.

Fixed in latest RC

authors: NathanLovato SaracenOne TokageItLab


text:
Create weight prediction.ipynb

Related Issue
Closes: #11

@SURYACODER I just some problem with your file

could you please resolve it and let me know and I'll merge it

repo: gdsc-gvp/Machine-learning


text:
Evaluate Blazegraph opensource triplestore

Blaze graph is a higher performance opensource graph.   It is GPL so we don't want to distribute it, but we could provide instructions for users.
For this task:
(1) download and run blazegraph
(2) wire up enough semtk code to ingest and run queries
(3) kick the tires with basic performance tests
Decide whether it is good to complete:
a) upload owl functions through semtk
b) construct query results
c) other odds-and ends

After a lot of work, it seems we're probably just as well sticking with Fuseki for now.

Fuseki did better than expected up to 2M triples, which is several hundred thousand rows of data
Blazegraph was faster here, slower there;  I don't feel compelled to make a change

Results are checked in to documentationFiles/performance-to-2M-fuseki-blaze-virt.xlsx

After a lot of work, it seems we're probably just as well sticking with Fuseki for now.

Fuseki did better than expected up to 2M triples, which is several hundred thousand rows of data
Blazegraph was faster here, slower there;  I don't feel compelled to make a change

Results are checked in to documentationFiles/performance-to-2M-fuseki-blaze-virt.xlsx

After taking a couple week off of this one, I'm re-opening it.
I found a possible flaw in my test.  New results are coming out differently.   There are many variables to consider, so I need to re-sort this out.

My early guess is that PerformanceTest.java was allowing some internal SemTK data structures (ImportSpecHandler) to be re-used.  This was allowing it to skip a COUNT query that is very expensive in Fuseki.
It will take 1-2 days to re-run all tests to 2,000,000 triples.
If the COUNT query is the problem,

fuseki will be back in the doghouse and blazegraph may be much quicker
UNLESS I experiment with changing the COUNT query to an ASK.  (I believe it is a COUNT LIMIT 1.)

I've re-run enough results to trust my original results.

Moving this back to in progress AGAIN.
I think the bug from Greg has exposed the type of query Fuseki is really bad at (graph traversal queries like subclassOf*) and this type of query had slipped through my performance test.
I'll re-run performance tests, that jugulars suggest will prove BlazeGraph is much better at real-life data ingestion where it needs to do lookup on something like REQUIREMENT which might be subclassed.

repo: ge-high-assurance/RACK


text:
Wordpress?

How can this be incorporated with WordPress? Will the wp_navwalker.php have to be modified?

@jaycbrf4 use something like @import url("../custom_path/yamm.css"); or insert content of css directly in style.css

Closed as this is not an issue with Yamm.

authors: geedmo jaycbrf4 mjrev


text:
fedora 下无法从剪贴板粘贴图片

Description
无法通过剪贴板粘贴图片
1.2 的时候可以
Specifications

Version of Electron (run $ electron --version): 1.3.0
OS: Fedora 23 X64
Stack trace from the error message (if any)

一样…… 我也是 1.2 的时候确定可以。
1.3 之后，某次 crash 就和你一样了。
我是 OS X。

@geeeeeeeeek
在1.4.0之前，我的客户端可以完美从剪贴板上拷贝图片，并且不会产生崩溃问题（桌面环境：XFCE4）
在1.4.0的时候，客户端有时候可以从剪贴板上拷贝图片，这种情况基本只会在开机后的一点时间里可以完成。但是，有很多时候都不可以。
尤其是，Crtl+V后会导致客户端假死5秒左右的时间。甚至讨厌，微信客户端的传送截图是个很看好的功能，望修复

@Gabirel 有可能是升级了 Chrome 和 Electron 版本导致的，很难保证没有 regression 。只能等他们修复了。

昨天早上更新了Electron之后就不行了...

所以说不要手贱更新 electron ，使用我每次发布时建议的版本就行了……

authors: Gabirel GitatHub MrBowen geeeeeeeeek oXnMe

repo: geeeeeeeeek/electronic-wechat


text:
EP-0118 does not respond via i2c

I have bought an EPS-0118 a while back (like 3 years ago) and I started using it now.
It did not respond via i2c at first, and then I noticed that the pogo pins connecting the i2c connectors on the Pi were not connected. I have now soldered connections, but it still does not respond to any i2c packets. I have a scope and looked at the actual i2c messages and my Pi does send out the frames but then no response.
I started wondering if I needed a firmware upgrade, but how to upgrade if i2c is not working? Any guidance would be appreciated.

Could you please refer to this URL: wiki.52pi.com/index.php?https://wiki.52pi.com/index.php?title=EP-0136 ? and follow the instructions to upgrade firmware via OTA.

authors: bazsi yoyojacky

repo: geeekpi/upsplus


text:
Should the failsafe destroy thread be detached?

AFAIK, the default state of a pthread is joined.
Not waiting for it means it "leaks" on termination.
Should we make it detached to take care of that, or am I missing some Qt quirk?
(I can take care of & test that, just wanted to double-check first ;)).

Yes, it seems I overlooked that earlier.

Cool, I'll give it a go after dinner ;).


text:
[Feature Request] 调试脚本支持传入 argument

Surge 的 HTTP-API 运行脚本支持传入 argument 字段了
curl 'http://127.0.0.1:6171/v1/scripting/evaluate' \
      --data '{
      "script_text": "console.log($argument)\n$done();",
      "mock_type": "cron",
      "argument": "this is it",
      "timeout": 5
  }'

{"result":null,"output":"22:16:33.482967 this is it\n22:16:33.483433 [Script Completed]\n----------------------------\n"}

我会在近期增加支持

目前仅测试脚本功能支持传入参数，触发 Cron 脚本时不支持。请更新 2.1.0。

authors: geekdada xream

repo: geekdada/yasd


text:
PHP 5.6

I changed the _ php_version_ to 5.6 in config.yml, however php 7.0 is still installed for both web and cli?
I have a site that won't work on 7.0, so what other changes do I need to make to only install 5.6?

http://docs.drupalvm.com/en/latest/other/php-56/

@kurtsalsa - Also, note that currently you can't change the PHP version on the fly (hopefully coming in https://github.com/geerlingguy/drupal-vm/pull/714), so if you have 7, and you want to switch to 5.6, you'll have to make the changes in the docs (e.g. change OS to Ubuntu 14.04 as well), then run vagrant destroy to destroy the VM, then vagrant up to bring it back up.

authors: geerlingguy kurtsalsa thom8

repo: geerlingguy/drupal-vm


text:
🛑 Département GEGI website (prod) is down

In 1210a2d, Département GEGI website (prod) (https://www.usherbrooke.ca/genie-electrique-informatique/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Département GEGI website (prod) is back up in 7f53854.


text:
mitotic cytokinetic process descendants

mitotic actomyosin contractile ring disassembly
cellular bud site selection
mitotic division septum assembly
mitotic actomyosin contractile ring assembly
cellular bud neck septin ring organization
need to move under:
mitotic cytokinetic process

You must be looking at the spreadsheet. I assume you wan these to be is_a children.

I'm not looking at the spreadsheet yet, I'm processing a  community curation session on cytokinesis...
Next task!

I'm pretty sure some of these are on the spreadsheet. Is is_a correct?

ignore. I think they are already there. The relations I was looking at are part_of

authors: ValWood ukemi

repo: geneontology/go-ontology


text:
broaden MF terms  for capping activities

@pgaudet  I think this is what you had in mind.

GO:0140818 mRNA 5'-phosphatase activity
GO:0004484 mRNA guanylyltransferase activity
GO:0004482 mRNA 5'-cap (guanine-N7-)-methyltransferase activity

are the first 3 steps in
GO:0006370   7-methylguanosine mRNA capping
however these enzymes  are not specific for mRNA, (also used for  other pol II transcribed snRNA/snoRNA/some lncRNA but with additional steps to make different caps)
propose broadening these to
GO:0140818 RNA 5'-phosphatase activity
GO:0004484 RNA guanylyltransferase activity
GO:0004482 RNA 5'-cap (guanine-N7-)-methyltransferase activity
The specific pathways  (which diverge after these 3 steps)
will be  described using  the associated BP terms
i.e.
GO:0140818 RNA 5'-phosphatase activity part_of GO:0006370   7-methylguanosine mRNA capping
GO:0140818 RNA 5'-phosphatase activity part_of sno/snRNA TGS cap formation
etc

This was agreed after discussion with @pgaudet

@pgaudet
The EC and RHEA xrefs will now be too specific, how do I deal with that?
e.g https://www.ebi.ac.uk/QuickGO/term/GO:0140818
the other possible issue  is that the human and yeast enzymes which perform at least the first 2 steps are not orthologous,
so I'm not sure if there are other species differences and the higher eukaryotic  versions are specific for RNA?

I'm not sure if there are other species differences and the higher eukaryotic versions are specific for RNA?

In the first comment you write "however these enzymes are not specific for mRNA, (also used for other pol II transcribed snRNA/snoRNA/some lncRNA but with additional steps to make different caps)" >> sounds like this is not clear?
What I would do as a first step is to check which enzymes catalyze mRNA, snRNA and snoRNA dephosphorylation, and see what EC/RHEA these are annotated to.

It's the same 3 enzymes  for the first part, but  the enzyme which do  these steps are only described
I asked an expert about this previously
:m7G as normal (cap 0) and then tgs1 converts that to 2,2,7 tri-methylG.   At least I know that for snRNAs; I presume it’s the same for snoRNAs. "
so,
It's well known that the same 3 enzymes form the  "7-methylguanosine RNA cap" (this has to be the case because it is added to the nascent RNA, when there is no information to distinguish RNA type)
but then the sn/snoRNA is further modified to produce the  2,2,7-trimethylguanosine (TMG) cap (I think this is signalled by  a stem-loop structure  present in the elongation sno/sno)
The problem is that these have never been annotated anywhere.
GO:1990273 snRNA capping has zero annotations
there are 8 annotations to the
GO:0036261 7-methylguanosine cap hypermethylation
which represents only the second part of sn/snoRNA cap formation
but nobody has yet annotated the first 3 steps in this pathway to snRNA capping
So is it better to remove RNA from the terms above or create a more general term for each?
The genes are shared except for the  GO:0140818 mRNA 5'-phosphatase activity

which in human is also catalysed by RNGTT

GO:0140818   mRNA 5'-phosphatase activity
A 5'-end triphospho-[mRNA] + H2O = a 5'-end diphospho-[mRNA] + H+ + phosphate. PMID:9473487

there is  a non-mRNA specific term:
GO:0004651 | polynucleotide 5'-phosphatase activity
Catalysis of the reaction: 5'-phosphopolynucleotide + H2O = polynucleotide + phosphate.
[Note this term has only been used for   mRNA 5'-phosphatase activity 8 experimental annotations
S. cerevisiae CET1(2)
S. cerevisiae CTL1 (1)
C.albicans CET1 (2)
C. elegans cel-1 (2)
human DUSP11 (1)
However,
1.
GO:0004651 | polynucleotide 5'-phosphatase activity
is not a parent of
GO:0140818   mRNA 5'-phosphatase activity
and
2.
The Rhea reaction doesn't match the definition:

because the reaction is for mRNA
SUGGEST

standardize defs
Ask Rhea to make reaction GO:0004651 | polynucleotide 5'-phosphatase activity non mRNA specific?
make GO:0004651 | polynucleotide 5'-phosphatase activity a parent of GO:0140818   mRNA 5'-phosphatase activity

@pgaudet

Rhea 67012  add GO:0008192
delete Rhea on child (will be merged)
add xref /add sKos narrow match
make parent definition include snRNA/snoRNA/mRNA

authors: ValWood pgaudet


text:
NTR:  lncRNA processing

Please provide as much information as you can:

Suggested term label:

need lncRNA processing for the processing or telomerase RNA etc

Definition (free text)

Any process involved in the conversion of one or more primary lncRNA transcripts into one or more mature RNA molecules.

Reference, in format PMID:#######
PMID:24210919

Gene product name and ID to be annotated to this term

https://www.pombase.org/gene/SPAC140.04

Parent term(s)

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

required for reannotation
https://github.com/geneontology/go-annotation/issues/5124


text:
与flask集成

与flask集成

与fastapi集成


text:
Loading a saved session doesn't restore properly

Hey,
I gave this a go and unfortunately I can't get it working, which may well be an issue on my end, but I would appreciate some pointers trying to figure it out.
I have loaded the plugin using Packer, and my config looks like this:
local possession = require("nvim-possession")
possession.setup()
vim.keymap.set("n", "<leader>sl", function()
  possession.list()
end)
vim.keymap.set("n", "<leader>sn", function()
  possession.new()
end)
vim.keymap.set("n", "<leader>su", function()
  possession.update()
end)

I can save a session and have it appear in the list correctly, but when I select one and hit enter, I get taken into that directory, but none of the files I had open are visible. It's like it has remembered the working directory of the session but no other details.
I also get a lot of other sessions pop up in the list that I am not explicitly creating via nivm-possession, it is like Vim is auto saving those, but they also fail to load correctly if I try to select them. Are there additional details I need to have this all work, or is the problem likely deep within my config? I am happy to debug further if required. Thanks!

Good afternoon and thank your for reporting this issue. First of all let us verify that your session files are properly located and loadable independent of the plugin: in order to do so invoke
lua vim.cmd.source(/path/to/session/file)

from within neovim, where /path/to/session/file/ is the full path of your session file on your computer (such path should ideally correspond to vim.fn.stdpath("data") .. "/sessions/"`). The above command is nothing but what the plugin does to load sessions, see here up to appending the proper paths to the file name.

Apologies for the noise, I had an old session plugin that I thought I had uninstalled but I had not. It was conflicting. Once I properly removed those files from my system, this plugin works perfectly. Thanks!

authors: gennaro-tedesco jackfranklin

repo: gennaro-tedesco/nvim-possession


text:
command parsing needs to be case-insensitive

at the moment we only accept UPPER CASE commands, but specs state that MAIL == mail == MaiL, etc. There are easy str methods to solve this.

fixed by bdf776a23d8034c0897966c0298d7a1d65c58912

repo: gennyble/sail

license: ISC


text:
Update maven-external-version-plugin

Fix: https://github.com/genome-nexus/genome-nexus/issues/554
We had similar problem in cbioportal, apply same fix https://github.com/cBioPortal/cbioportal/pull/8978

131.3 [ERROR] [ERROR] Some problems were encountered while processing the POMs:
131.3 [ERROR] Unresolveable build extension: Plugin com.github.cbioportal.maven-external-version:maven-external-version-plugin:f09c2b9608 or one of its dependencies could not be resolved:
131.3   Failed to read artifact descriptor for com.github.cbioportal.maven-external-version:maven-external-version-plugin:jar:f09c2b9608
131.3  @
131.3  @
131.3 [ERROR] The build could not read 1 project -> [Help 1]
131.3 [ERROR]
131.3 [ERROR]   The project org.cbioportal.genome_nexus:genome-nexus:0-unknown-version-SNAPSHOT (/genome-nexus/pom.xml) has 1 error
131.3 [ERROR]     Unresolveable build extension: Plugin com.github.cbioportal.maven-external-version:maven-external-version-plugin:f09c2b9608 or one of its dependencies could not be resolved:
131.3 [ERROR]           Failed to read artifact descriptor for com.github.cbioportal.maven-external-version:maven-external-version-plugin:jar:f09c2b9608
131.3 [ERROR]     -> [Help 2]
131.3 [ERROR]
131.3 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
131.3 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
131.3 [ERROR]
131.3 [ERROR] For more information about the errors and possible solutions, please read the following articles:
131.3 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
131.3 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

I don't know what that means, but for mef09c2b9608744881111f24e55d55a91e54e6cb5 Is right

authors: leexgh user-tq

repo: genome-nexus/genome-nexus


text:
seccompIter: allow blocking calls

If a syscall isn't rejected after 100ms, it's allowed and is just
blocking.
In particular MSGRCV will block on a message entering the queue - https://linux.die.net/man/2/msgrcv
This leaks 1 goroutine per allowed-but-blocking syscall, which is probably OK from main.go.
Closes https://github.com/genuinetools/amicontained/issues/18

CI failure does not look related.

If the seccomp program returns SECCOMP_RET_TRACE, the decision will be deferred to an external tracer and it can block for longer. But container runtimes don't use that facility yet, so it should be good :)

awesome, thanks!

authors: alban jessfraz thepwagner

repo: genuinetools/amicontained


text:
Alpine version installs 400 megabytes of dependencies

Suggested command apk add img --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing installs gcc and go, along with some other packages, and this FS layer turns out to be more than 400 megabytes. I doubt there is need for compilers in order to install a binary.

That is because the APKBUILD requires the go package which depends on gcc.
This issue should be brought up with the Alpine Linux developers, since that is how they handle golang in their distribution.
Otherwise, I would recommend downloading the static binaries provided under releases.

repo: genuinetools/img


text:
Update qld-resource-permit-status.ttl

Adding the new definitions (please review) from Jodie and eliminating: on-hold oil shale; expired under granted; and accepted under granted. We can sort out the remainder tomorrow, 29.10.2019.
Cheers

Hey John. Need to have a chat about this to match changes to discussions on Friday.

I added the definitions as we still need them, and the concepts that were eliminated were to be eliminated in any case.

authors: KellyVance johnmckellar


text:
GEOPM integration automation does not always add GEOPM to the LD_LIBRARY_PATH

Describe the bug
I tried to run geopmlaunch impi -n 1 -ppn 1 hostname. I expected the run to simply print the host name and exit. Instead, several errors about LD_PRELOAD were printed before the hostname.
GEOPM version
Output from geopmread --version: 1.1.0+dev1917g7f9ed5b3
Expected behavior
When running an application that is not already linked to GEOPM, the launcher should preload the GEOPM runtime.
Actual behavior
The GEOPM launcher failed to preload the GEOPM runtime.
Error messages produced
ERROR: ld.so: object 'libgeopm.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): **ignored.**

Additional context
This issue was encountered on an OpenSUSE 15.3 machine. I guess something about our automatic build configuration selects a different lib path in that case. GEOPM's python libraries are installed to <prefix>/lib in our OpenSUSE 15.3 rpm. Our C libraries are installed to <prefix>/lib64. The integration/config/run_env.sh prepends only GEOPM's lib directory to LD_LIBRARY_PATH, so LD_PRELOAD is not able to find the .so files.
Workaround
Modify run_env.sh: LD_LIBRARY_PATH_EXT=${GEOPM_INSTALL}/lib
To look like: LD_LIBRARY_PATH_EXT=${GEOPM_INSTALL}/lib:${GEOPM_INSTALL}/lib64

Just tried on 2.0.0+dev826g01470fd59, SLES15.2 (which also has lib and lib64) and everything worked fine. Also explicitly added --geopm-preload but still no repro.
This issue may be obsolete, but my re-run example is also a slightly different config. Need to investigate what else changed in the launcher in case it was fixed by something else.

Repro on 2.0.0+dev826g01470fd59 with:
./configure --prefix=$HOME/build/geopm --libdir="$HOME/build/geopm/lib64" --libexecdir="$HOME/build/geopm/lib"
make -j && make install
# libdir is /usr/lib64 on this system (rpm --eval '%{_libdir}'). libexecdir is /usr/lib. Doing it this way to mimic how our specfiles do it
# compute node:
source ~/geopm/integration/config/run_env.sh
geopmlaunch impi --geopm-ctl=application --geopm-profile=anything --geopm-preload -n 1 -ppn 1 -- hostname

repo: geopm/geopm


text:
Question: Why does the latitude change when moving at a bearing of 90 degrees? (GreatCircleDistance)

Hello,
I am looking at the code here:
https://github.com/geopy/geopy/blob/af0eedcfeb4e3eec88f19e2f822e7f14ac3468eb/geopy/distance.py#L478
Perhaps naively, I would expect a bearing of 90 degrees to move along the longitudinal without any change in latitude. However, this is clearly not the case here. When bearing=90, the equation reduces to:
lat2 = asin(
    sin(lat1) * cos(d_div_r)
)

And so lat1 != lat2.
Can someone advise on why this is the case?
Thanks!

bearing=90 is just the initial bearing of the track.  In order to stay on a great circle, the bearing will change and the track will cross the equator.  If the bearing is kept at 90°, the track follows a little circle, the circle of latitude.  If you need to clarify your thinking, imagine the problem when your starting point is 10 m north of the south pole.

Hi @cffk, thank you for your response, which makes a lot of sense. I had indeed confused the great circle distance with the "little" circle distance.

authors: cffk danjampro

repo: geopy/geopy


text:
Support requests' AuthBase in addition to basic password authentication

Why? OWSLib should support more kinds of authentication
OAuth2/Digest/etc without needing to change further.

How? Since the Authentication object is already plumbed throughout
OWSLib, just add a new auth_delegate property which can be any object
derived from requests.AuthBase and make sure that is honored at the
points where actual requests' kwargs are built.

The issues seem to fail on a service timeout, I think this PR is good.

The issues seem to fail on a service timeout, I think this PR is good.

authors: achapkowski symbioquine

repo: geopython/OWSLib


text:
fix update of exception response

Overview
update of response document need to use OWS.ExceptionText.
Related Issue / Discussion
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x ] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Coverage remained the same at 76.349% when pulling d6567c48d7387a19e71b336545d140e04b4c0a19 on bird-house:fix-exception-response into e2ded1770754b5c6727393abdabee965b4a6fa1f on geopython:master.

authors: cehbrecht coveralls

repo: geopython/pywps


text:
[#48] exclude reactor projects

fixes #48
This PR will exclude reactor projects. See description from the issue.
Contents:

Added mavenSession to read projects
Updated tests to have a mavenSession
Verified that in a project with dependencyManagement, no reactor dependency is being updated.

Build failed because of something with mockk. I have to check it locally if it's reproducable.

Build failed because of something with mockk. I have to check it locally if it's reproducable.

I used the SDK from .sdkmanrc which worked fine on MacOS. But I saw serious problems with ANY other JDK and JDK version: Neither OpenJ9 nor any Java 11/17/18/19 JDK would work. 😢

On local Linux it also works. I check the docker image. It uses openjdk 8u233. I will check if we can use another docker image.

With mockk 1.9.3 it works. I will sync the docker image jdk version sdkmanrc and in a separate PR

https://github.com/georgberky/dependency-update-maven-plugin/pull/53/
syncs the version between SDKMAN and DroneCI

@bmarwell I think we should do the version update in a separate PR to go further with this PR

@bmarwell I think we should do the version update in a separate PR to go further with this PR

Yes. I will rebase it once https://github.com/georgberky/dependency-update-maven-plugin/pull/55 and another (tbd PR) is merged. Will create it momentarily.

@sparsick rebased onto https://github.com/georgberky/dependency-update-maven-plugin/pull/57 (because #57 is needed anyway). So it looks like two commits, but it is only one after merging #57.

Codecov Report
Base: 68.27% // Head: 67.17% // Decreases project coverage by -1.10% :warning:

Coverage data is based on head (85be902) compared to base (15e0d76).
Patch coverage: 58.82% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #52      +/-   ##
============================================
- Coverage     68.27%   67.17%   -1.11%
- Complexity       40       46       +6
============================================
  Files            10       10
  Lines           186      198      +12
  Branches         10       16       +6
============================================
+ Hits            127      133       +6
- Misses           51       53       +2
- Partials          8       12       +4

Impacted Files
Coverage Δ

.../georgberky/maven/plugins/depsupdate/UpdateMojo.kt
0.00% <0.00%> (ø)

...rgberky/maven/plugins/depsupdate/UpdateResolver.kt
80.00% <71.42%> (-5.00%)
:arrow_down:

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

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

Thanks for your PR @bmarwell

authors: bmarwell codecov-commenter sparsick


text:
IParallaxSettings.customContainer?: boolean Type 'string' is not assignable to type 'boolean'

I tried to use the code provided from README.md; however, the code breaks because on the compiled library, customContainer is a boolean type, but on the README, it is supplied with a string value.

Are you using the latest version? Because this should have been fixed with this commit.

I closing this issue for now, let me know if you are still encountering it.


text:
How add a function to template ?

How add a function to template ?

How Using Custom Functions in Template?

@bishen the default view that comes with utron doesn't support  custom template functions yet.

authors: bishen gernest

repo: gernest/utron


text:
🛑 k3s WeatherForecast is down

In 0fca7a4, k3s WeatherForecast (https://k3s.g11s.cc/WeatherForecast) was down:

HTTP code: 502
Response time: 585 ms

Resolved: k3s WeatherForecast is back up in d55cf22 after 5 minutes.

repo: gerrited/upptime


text:
Update Wesak Day Holidays for 2021 to 2024

@gerrymanoim , I am new to GitHub but would like to do my part.
I updated the xkls_holidays.py for Wesak day holiday from 2021 to 2024. Source is https://publicholidays.com.my/wesak-day/

@mrkgoh - LGTM - thanks!

authors: gerrymanoim mrkgoh


text:
Update README.md

"r" was missing in the word "you"

thanks

authors: markitosgv tuncerdamat

repo: gesdinet/JWTRefreshTokenBundle


text:
数据解析出错

框架版本【必填】
11.8
问题描述【必填】
升级targetSDKVersion至34（Gradle 8.2.1，JDK 17），打release包进行网络请求时出现数据解析问题。若是 minifyEnabled 为false则无问题。确认已按照框架要求填写混淆规则。我另一个应用的框架版本是12.8，也遇到同样问题。
问题定位到Type类型为class java.lang.Void，所以无论用什么模板解析都失败。
我尝试使用Demo去复现，但因为gradle版本和JDK版本问题，Demo同步失败。
复现步骤【必填】
targetSDKVersion升至34， minifyEnabled 为true,打包运行应用进行网络请求就会出现
是否必现【必填】
是
项目 targetSdkVersion【必填】
34
出现问题的手机信息【必填】
OPPO CPH1823
出现问题的安卓版本【必填】
Android 10
问题信息的来源渠道【必填】
自己遇到的
是部分机型还是所有机型都会出现【必答】
所有机型
框架最新的版本是否存在这个问题【必答】
是
框架文档是否提及了该问题【必答】
否
是否已经查阅框架文档但还未能解决的【必答】
是
issue 列表中是否有人曾提过类似的问题【必答】
否
是否已经搜索过了 issue 列表但还未能解决的【必答】
是
是否可以通过 Demo 来复现该问题【必答】
否
提供报错堆栈
No response
提供截图或视频

提供解决方案
No response

我的临时解决方案是不混淆有网络请求的类 -keep class com.xxx.xxx.ui.activity.** { ; }（PS：仅不混淆内部类也可以.$* { *; }）。我哥说：看了一下编译后的文件，自动生成了一个内部类文件导致的

@ChunmingWu 你确定这个问题文档上面没有写？

同步请求的时候的确是有混淆的问题，一样的代码编译运行时没问题，混淆打包后有问题，但是异步混淆打包也没问，同步请求和异步请求的代码如下：同步请求:
` PostRequest postRequest = EasyHttp.post(ApplicationLifecycle.getInstance())
.schedulers(ThreadSchedulers.IO);
try {
HttpData baseBean = postRequest
.api(new UploadImgFileApi()
.setParamsWithFile(stepId, state, "", imgFile))
.execute(new ResponseClass<HttpData   >() {
});
LogUtil.i(TAG, "uploadImgSyn--服务器返回结果：" + baseBean, false, true);
if (baseBean != null && baseBean.getStatus() != null
&& baseBean.getStatus().equals("success") && baseBean.getResult() != null) {
return "";
} else {
return "baseBean = null" + baseBean;
}
    } catch (Throwable e) {
        LogUtil.e(TAG, "上传图片失败 Exception：" + e.getMessage(), false, true);
        return "Exception:" + e.getMessage();
    }`

异步请求：
`EasyHttp.post(ApplicationLifecycle.getInstance())
.schedulers(ThreadSchedulers.IO)
.api(new UploadImgFileApi()
.setParamsWithFile(stepId, state, "", imgFile))
.request(new OnHttpListener<HttpData    >() {
@Override
public void onHttpSuccess(HttpData     baseBean) {
LogUtil.i(TAG, "upload--onHttpSuccess：" + baseBean.toString(), false, true);
}
                @Override
                public void onHttpFail(Throwable e) {
                    LogUtil.e(TAG, "upload--onHttpFail：" + e.getMessage(), false, true);
                }

            });`

应该是ResponseClass<HttpData>被混淆了，并且即使异步，如果泛型里是List集合，也会被混淆，如：HttpData<List>

同步请求的时候的确是有混淆的问题，一样的代码编译运行时没问题，混淆打包后有问题，但是异步混淆打包也没问，同步请求和异步请求的代码如下：同步请求: ` PostRequest postRequest = EasyHttp.post(ApplicationLifecycle.getInstance()) .schedulers(ThreadSchedulers.IO); try { HttpData baseBean = postRequest .api(new UploadImgFileApi() .setParamsWithFile(stepId, state, "", imgFile)) .execute(new ResponseClass() { }); LogUtil.i(TAG, "uploadImgSyn--服务器返回结果：" + baseBean, false, true); if (baseBean != null && baseBean.getStatus() != null && baseBean.getStatus().equals("success") && baseBean.getResult() != null) { return ""; } else { return "baseBean = null" + baseBean; }
    } catch (Throwable e) {
        LogUtil.e(TAG, "上传图片失败 Exception：" + e.getMessage(), false, true);
        return "Exception:" + e.getMessage();
    }`

异步请求： `EasyHttp.post(ApplicationLifecycle.getInstance()) .schedulers(ThreadSchedulers.IO) .api(new UploadImgFileApi() .setParamsWithFile(stepId, state, "", imgFile)) .request(new OnHttpListener() { @OverRide public void onHttpSuccess(HttpData baseBean) { LogUtil.i(TAG, "upload--onHttpSuccess：" + baseBean.toString(), false, true); }
                @Override
                public void onHttpFail(Throwable e) {
                    LogUtil.e(TAG, "upload--onHttpFail：" + e.getMessage(), false, true);
                }

            });`

@Spikoss 你加上这段混淆规则再试一下：
-keep public class * implements com.hjq.http.model.ResponseClass {
    *;
}

authors: ChunmingWu Spikoss getActivity

repo: getActivity/EasyHttp


text:
Write static channel backup to disk

For easy file backups it might be interesting to store static channel backups in the working directory.
For people running on their own devices this is another easy way to have a channel backup.

Later we can write a guide too.

authors: bumi rolznz

repo: getAlby/hub


text:
Improve LNURL-Pay notification

Current Scenario 1:

On the send screen, I'm pasting in: bumi@getalby.com
The details screen shows: Send payment to: getalby.com
Paying a few sats shows a notification: Paid x sats to Alby

Desired Scenario 1:

On the send screen, I'm pasting in: bumi@getalby.com
The details screen shows: Send payment to: bumi@getalby.com
Paying a few sats shows a notification: Paid x sats to bumi@getalby.com

What's currently also weird is that "Send payment to:" is using details.domain while the notification uses: metadata.name, I think they should use the same info.

utACK

authors: bumi dylancom

repo: getAlby/lightning-browser-extension


text:
PACKAGES: mod-ion

Create the mod-ion package

Master Page

list of other line ( does that now as you will see)

Detail page

actual video conf view

If oyu can use the Master Detail responsive package that we use for mainTemplate even better as it will scale nicely for desktop and mobile

We dont need all the other stuff for demo, like data channel pags etc.

Master Detail with client list + call. Currently working only in same network. Master-Detail is a custom implementation since MasterDetailScaffold caused a deep problem with maintemplate.

repo: getcouragenow/packages

license: Unlicense


text:
PACKAGES: mod-chat server basic sync

Implement Mod-chat allows to write documents:

server side dev:

make a basic sync between devices using grpc liftbridg to broadcast changes between devices.

Later:

Need to find how we can resolve conflict between devices in serveur or client side?
Generate pdf file in server or client side?

Thanks for raising this issue.
Mod-chat is only for chat and NOT for writing documents.
mod-write is for writing documents and broadcasting the changes to a document using the quill format.


text:
[cli] Fix the UAF with by-value receivers and --weak-refs

Fixes https://github.com/rustwasm/wasm-bindgen/issues/2447
@konstantinbe @hamchapman While waiting for the official PR to be fixed, feel free to use this branch in the meantime: replace the following step in the jakefile:
cargo install -f --version 0.2.69 wasm-bindgen-cli

with:
cargo install -f --version 0.2.69 wasm-bindgen-cli \
    --git https://github.com/getditto/wasm-bindgen \
    --branch ditto/fix-weak-refs-UAF-with-by-value-receivers

(This PR is not the public one (https://github.com/rustwasm/wasm-bindgen/pull/2448) since it is based off the 0.2.69 tag we were using, it's just there for us to have a maximally compatible patch to use in our pipeline 🙂)
cc @mbalex99

We are no longer using this special commit (since everything has been merged upstream and released, so this PR can be closed, and its backing branch, removed.

repo: getditto/wasm-bindgen


text:
Page not found when using Skype

Bug description:

Skype would just show a Page not found screen. It worked normally until today.
Re-adding the services and re-login makes it work again, but only for a while before the error happens again.
Update: it randomly works again as well
Steps to reproduce:

Log into Skype and close/reopen the app a few times.
Expected behavior

Skype does not show this page not found screen.
Screenshots

Environment:

Operating System: Arch Linux

Ferdi Version: 5.5.0

Server: Ferdi

Debug information: https://pastebin.com/raw/5yj45h7P

👍

Same issue in version 5.6.0 nightly build

Same issue in version 5.6.0 nightly build

Workaround: instead of re-adding the service and re-login, you can:

click on the "Go to Skype.com homepage" link
scroll to the bottom and click the blue "Chat now" button

Cannot reproduce this with the latest releases. This was probably a temporary issue.

repo: getferdi/ferdi


text:
Make workspaces sortable

Is your feature request related to a problem? Please describe.
Creating a workspace is also setting the order in which workspaces are displayed. It would be a nice improvment to be able to manually set the workspace display order.
Describe the solution you'd like
It would be great to sort/order the workspaces in the setting menu. As a little bonus it would be cool if we are able to set little icons to our workspaces in order to identify them quickly.

Duplicate of #245

authors: cdjost vantezzen


text:
[add-resource] New Plugin : grav-plugin-speech-bubble

I would like to add my new plugin/theme to the Grav Repository._Here are the project details: https://github.com/kinformation/grav-plugin-speech-bubble
This plugin display a dialogue style speech bubble with shortcodes.

Added to GPM for next update

authors: kinformation rhukster

repo: getgrav/grav