Upgrade react-apollo package to latest version

We have a policy to try to use the latest version of our dependencies in all repositories.
In the Frontend, we're currently using react-apollo version 2.5.2 and the upgrade to version 2.5.3 (and later) has breaking changes.

PR with react-apollo 2.5.5:
https://github.com/opencollective/opencollective-frontend/pull/1776
Sample failure on CI:
https://circleci.com/gh/opencollective/opencollective-frontend/26447

We want to:

upgrade the package react-apollo >= 2.5.5
make sure tests are passing

Likely related: https://github.com/apollographql/react-apollo/issues/2900

I'll work on this.

Thank you @Shorpee ! It's merged.
To claim the bounty, you can:
a) submit an invoice to https://opencollective.com/engineering
b) or ask for an Open Collective gift card of the same value (to donate to other collectives)


Updated to ubi9 [SC2]

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/64200

Regression results
ubi-reg.pdf
SCIM results
ubi-scim.pdf
Results are as expected


davfs2: 1.5.6 -> 1.6.0, unison: 2.51.2 -> 2.51.3

Motivation for this change
A few things I needed to implement a better syncing strategy without nextcloud-client, but with unison and davfs2:

Removed myself from the maintainer-list of nextcloud-client as I no longer intend to use this.
Update davfs2 to 1.6.0 and added a patch to make sure that umount is properly invoked.
Update unison to 2.51.3.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 103453 1

3 packages built:

davfs2
unison
usync


TypeError trying to start ikhal

% ikhal
Traceback (most recent call last):
File "/usr/bin/ikhal", line 9, in
load_entry_point('khal==0.7.1.dev109+ng3fb3973.d20160208', 'console_scripts', 'ikhal')()
File "/usr/lib/python3.5/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/click/core.py", line 675, in main
_verify_python3_env()
File "/usr/lib/python3.5/site-packages/click/_unicodefun.py", line 69, in _verify_python3_env
if locale.lower().endswith(('.utf-8', '.utf8')):
TypeError: a bytes-like object is required, not 'str'

Thank you for reporting this, but I believe this is a bug in click, see https://github.com/mitsuhiko/click/issues/490.

Please try updating click.

Sorry, Python isn't a language I'm all that familiar with. Thanks for the
help.
On Feb 22, 2016 2:57 PM, "Markus Unterwaditzer"<EMAIL_ADDRESS>wrote:

Please try updating click.
—
Reply to this email directly or view it on GitHub
https://github.com/geier/khal/issues/350#issuecomment-187404725.

How did you install khal?

Using the AUR from arch Linux.
https://aur.archlinux.org/packages/khal-git/
On Feb 22, 2016 3:05 PM, "Markus Unterwaditzer"<EMAIL_ADDRESS>wrote:

How did you install khal?
—
Reply to this email directly or view it on GitHub
https://github.com/geier/khal/issues/350#issuecomment-187408557.

Ok, the [community] repo should soon-ish have python-click 6.3 and this bug will fix itself.

Perfect. Thank you.
On Feb 22, 2016 3:12 PM, "Markus Unterwaditzer"<EMAIL_ADDRESS>wrote:

Ok, the [community] repo should soon-ish have python-click 6.3 and this
bug will fix itself.
—
Reply to this email directly or view it on GitHub
https://github.com/geier/khal/issues/350#issuecomment-187412262.

Closing based on comments that this is a bug in mitsuhiko/click

Ok, please reopen if the bug persists with click  6.3
On 23 February 2016 17:29:59 CET, Micah N Gorrell<EMAIL_ADDRESS>wrote:

Closing based on comments that this is a bug in mitsuhiko/click

Reply to this email directly or view it on GitHub:
https://github.com/geier/khal/issues/350#issuecomment-187774627

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Will do, thanks again.
On Feb 23, 2016 10:18 AM, "Markus Unterwaditzer"<EMAIL_ADDRESS>wrote:

Ok, please reopen if the bug persists with click 6.3
On 23 February 2016 17:29:59 CET, Micah N Gorrell <
<EMAIL_ADDRESS>wrote:

Closing based on comments that this is a bug in mitsuhiko/click

Reply to this email directly or view it on GitHub:
https://github.com/geier/khal/issues/350#issuecomment-187774627

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
—
Reply to this email directly or view it on GitHub
https://github.com/geier/khal/issues/350#issuecomment-187797664.


[data quality] npm/nyc v11.4.1

I noticed some odd dependency versionKy names seemingly only on version 11.4.1 of the npm package nyc with > symbols
https://api.deps.dev/v3alpha/systems/npm/packages/nyc/versions/11.4.1:dependencies
versionKey": {
  "system": "NPM",
  "name": "nyc>11.4.1>align-text",
  "version": "0.1.4"
},

later versions of nyc such a 15.1.0 have normal versionKey names
https://api.deps.dev/v3alpha/systems/npm/packages/nyc/versions/15.1.0:dependencies
versionKey": {
  "system": "NPM",
  "name": "color-convert",
  "version": "2.0.1"
},

Also noticed it on browser-launcher 0.3.5 https://api.deps.dev/v3alpha/systems/npm/packages/browser-launcher/versions/0.3.5:dependencies

This is because these dependencies are "bundled", and the name in this case "nyc>11.4.1>align-text" specifies the version (nyc version 11.4.1) that is bundling package align-text.
Note that the bundled field of the node object is set to true:
    {
      "versionKey": {
        "system": "NPM",
        "name": "nyc>11.4.1>align-text",
        "version": "0.1.4"
      },
      "bundled": true,
      "relation": "INDIRECT",
      "errors": []
    },

This is documented by the GetDependencies endpoint docs.


de-unincreasing jokes

Short description of what this resolves:
added a few jokes I could find laying around
Changes proposed in this pull request:

Fixes: #

Thank you for taking the time to contribute! This is sincerely appreciated. 😇
(Powered by GitMate.io)


[FLINK-27691][table-planner] Remove unnecessary state ttl to avoid unstable results of RankHarnessTest

What is the purpose of the change
Try to fix the long stand unstable test case RankHarnessTest. testUpdateRankWithRowNumberSortKeyDropsToNotLast.
Most probably caused by the unnecessary state ttl of RankHarnessTest which will lead unstable result when execution gets slow (and I checked recent failures, all of their execution duration is greater than 2 second while state ttl in the test is 1 second).
Brief change log
remove unnecessary state ttl of RankHarnessTest
Verifying this change
existing tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@lincoln-lil Could you also open a PR for release-1.16 branch?

@leonardBang I've created one: https://github.com/apache/flink/pull/21568


Bug 🐛:  "Routing Navigation Errors" For The Pages after refreshing.

WebMasterLog Repository (Proposing new issue)
:red_circle: Project Title : WebMasterLog
:red_circle: Bug :  Pages only work for a short time, when you refresh the page, it shows a 404 page.
:red_circle: Category :  React, Vanilla
:red_circle: Changes :   It only happens if you don't configure your vercel.json The routes don't get recognized except the "/" Home page routes. To rectify the {404 Not Found Error}, it is necessary to establish redirect and rewrite rules for the React Router application. These rules will assist the application in preventing the "Page Not Found" error. We have to create a vercel.json file
Screenshots 📷

After refreshing ' Angular JS/Front End/Next JS/Node JS/React JS/Vanilla JS/Vue JS" Pages

it shows 404 Not Found Error (You can check that)

We can call it a Hidden BUG which can lead to a failed user experience and a bad impression.
I would like to take care of all these pages' Navigation errors. @Avdhesh-Varshney

:white_check_mark: To be Mentioned while taking the issue :

Full name : Mastan Sayyad
GitHub Profile Link : https://github.com/MastanSayyad
What is your participant role? : GSSOC 24

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@MastanSayyad Assigned to you.


black screen on startup

not sure what would cause this but fwiw these are my specs

I have only tested this on MacOS Ventura and Sonoma because that is what my M1 macbook came with as I recall.
When you open Omori, can you go to the top menu bar and go to "View" -> "Toggle Developer tools"? This should open a window on the right. From there can you go to "Console" tab if not already selected and copy+paste or screenshot what it says? Ensure any information/details you don't want exposed to the public are blacked out or otherwise removed.

Additionally, can you go to Steam, right click Omori from the list -> Click "Properties" then click "Updates" and post what your App ID and Build ID are?
Mine:
App ID: 1150690
Build ID: 8879120
The mod only supports the latest version of the game, so if your version is behind this it may not work.

yikes...

I have the latest version, 1.0.7 installed

I have the latest version, 1.0.7 installed

The latest major version is 1.0.8. You can see that your Build ID is not the same as mine, and that in your steam games list it displays 1.0.7.
Can you go to your steam list, right click OMORI -> Properties -> Betas -> Beta Participation and ensure the dropdown displays "None"?

If you had 1.0.7 in the dropdown you will have to go to Manage-> Browse Local Files and delete your OMORI.app and then reinstall OMORI.


new specific errors, exposed setRestrictedListerRoleOnly and `token…

…sPerBuy`

@ayshptk please look at the lgtm-com bot comment, you're missing some await calls.

mb @atbe

@ayshptk assuming you fixed those names for those error classes, please get this merged.


Standardize presentation of more detailed information

Feedback from the walk-in sessions showed that having the decision help information as a collapsed 'spoiler' tag under the question text and input fields.
The help ⭐  at the top of the page was hard to find by most people, especially if they had already noticed the spoiler tag under a different question first.

Fixed in https://github.com/SS-NES/docassemble-SMPDecisionTree/pull/38


tfevents not generated if specifying model_dir for tf.estimator.Estimator

System information

I've been following the tutorial to create a custom estimator on this page: https://www.tensorflow.org/get_started/custom_estimators
OS: Linux Ubuntu 16.04
TensorFlow installed from (source or binary): installed through pip
TensorFlow version (use command below): ('v1.8.0-0-g93bc2e2072', '1.8.0')
Python version: Python 2.7

Describe the problem
tfevents file is not found in the model_dir if I specify model_dir when creating the Estimator. However, graph file and checkpoints are present.
autoencoder = tf.estimator.Estimator(
    model_fn = my_model_fn,
    #model_dir = logs_path, # <--- tfevents not created if I specify model_dir here...
    params = {
        'feature_columns': feature_columns,
        'input_units_num': num_input
    },
    #config = tf.estimator.RunConfig(model_dir = logs_path) # <--- ... nor if I specify model_dir here.
)

However, if I don't specify model_dir parameter neither in the config, nor as one of the Estimator parameters, tfevents file is written into the /tmp/<folder> along with graph and checkpoints.
Many thanks!

Apologies, very strange issue. If I specified model_dir as /home/<user_name>/<directory>/tensorflow, the tfevents file wasn't generated. But if I changed the model_dir to /home/<user_name>/<directory>/tensorflow123 or to /tmp/tensorflow, the tfevents file was present. Closing this issue.


Module did not self-register

Sorry if it's duplicate, me and my team are tripping on this for a while now.
When we follow instructions on the output it does not solve the problem.
I've read similar issues and didn't find a proper way to fix this. It might be because we use Volta?
What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages?
➜ gatsby develop

Something went wrong installing the "sharp" module

Module did not self-register.

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues

➜ rm -rf node_modules/sharp
➜ npm install

><EMAIL_ADDRESS>install /Users/frank/tina/tinacms-site/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.8.1/libvips-8.8.1-darwin-x64.tar.gz

added 2 packages from 58 contributors, removed 8 packages and audited 34060 packages in 35.478s

➜ gatsby develop

 ERROR

Something went wrong installing the "sharp" module

Module did not self-register.

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues

What is the output of running npx envinfo --binaries --languages --system --utilities?
  System:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
    Memory: 4.12 GB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.volta/tools/image/node/10.16.3/6.9.0/bin/node
    Yarn: 1.17.3 - ~/.volta/tools/image/yarn/1.17.3/bin/yarn
    npm: 6.11.3 - ~/.volta/tools/image/node/10.16.3/6.9.0/bin/npm

Let me now if you need other info. Thanks.

 You should commit this file.
npm info lifecycle undefined~postshrinkwrap: undefined
npm WARN enoent ENOENT: no such file or directory, open '/Users/frank/code/sharp/package.json'
npm verb enoent This is related to npm not being able to find a file.
npm verb enoent
npm WARN sharp No description
npm WARN sharp No repository field.
npm WARN sharp No README data
npm WARN sharp No license field.

+<EMAIL_ADDRESS>added 71 packages from 103 contributors and audited 164 packages in 8.387s
found 0 vulnerabilities

npm verb exit [ 0, true ]
npm timing npm Completed in 8961ms
npm info ok

Thanks, no errors there.
If you've not done so already, please remove /Users/frank/tina/tinacms-site/node_modules and try running npm install again. Make sure there's only one version of sharp in your dependency tree and/or lockfiles.

I did that before same result:
➜ npm install
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.

><EMAIL_ADDRESS>install /Users/frank/tina/tinacms-site/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/frank/tina/tinacms-site/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" is installed via remote

><EMAIL_ADDRESS>install /Users/frank/tina/tinacms-site/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached /Users/frank/.npm/_libvips/libvips-8.8.1-darwin-x64.tar.gz

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/final-form
> node -e "console.log('\u001b[35m\u001b[1mUsing final-form at work? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/final-form/donate\u001b[0m')"

Using final-form at work? You can now donate to our open collective:
 > https://opencollective.com/final-form/donate

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/styled-components
> node ./scripts/postinstall.js || exit 0

Use styled-components at work? Consider supporting our development efforts at https://opencollective.com/styled-components

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/react-final-form
> node -e "console.log('\u001b[35m\u001b[1mUsing react-final-form at work? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/final-form/donate\u001b[0m')"

Using react-final-form at work? You can now donate to our open collective:
 > https://opencollective.com/final-form/donate

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/gatsby-telemetry
> node src/postinstall.js

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/cwebp-bin
> node lib/install.js

  ✔ cwebp pre-build test passed successfully

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/mozjpeg
> node lib/install.js

  ✔ mozjpeg pre-build test passed successfully

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/gatsby/node_modules/gatsby-cli
> node scripts/postinstall.js

><EMAIL_ADDRESS>postinstall /Users/frank/tina/tinacms-site/node_modules/gatsby
> node scripts/postinstall.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

added 2357 packages from 2012 contributors and audited 34060 packages in 94.892s
found 2 vulnerabilities (1 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

tinacms-site on  master [$✘!] is 📦 v1.0.0 took 1m 36s
➜ gatsby develop
success open and validate gatsby-configs - 0.125 s

 ERROR

Something went wrong installing the "sharp" module

Module did not self-register.

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues

⠋ load plugins

<EMAIL_ADDRESS>/Users/frank/tina/tinacms-site
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>deduped
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>deduped
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>deduped
└──<EMAIL_ADDRESS>

Thanks, what does npm list -g sharp output?

/Users/frank/.volta/tools/image/node/10.16.3/6.9.0/lib
└── (empty)

What's the output of running otool -L node_modules/sharp/build/Release/sharp.node?
Are you able to reproduce this when not using volta?

@lovell I ended giving up on npm and switched to yarn and believe it or not, now when running yarn develop npm script, it's running fine. 🤷♂

I am getting this too locally, works on my server but is stumbling on development

I am getting the same error.

I am getting this too locally, works on my server but is stumbling on development

And I have opposite situation: works fine locally (on Mac) and fails on ubuntu server

Closing as the original reporter has solved their problem with the use of volta.
For anyone else, please note the following question in the "installation" issue template:
Have you ensured the platform and version of Node.js used for npm install is the same as the platform and version of Node.js used at runtime?
If you're still having problems, please open a new "installation" issue and please be sure to consider and answer all of the questions it asks.

This shouldn't be closed, it still happens

@netfoundry-ui If you're still having problems, please open a new "installation" issue and please be sure to consider and answer all of the questions it asks.

gatsby: Module did not self-register
Same here, @DirtyF switch to yarn from npm, everything is a ok.

for me, this issue happen after upgrading node version.
I solved it by:

remove folder node_modules
npm install

Then everything works fine.


upload: add a config for ensuring directories prior to upload

BREAKING CHANGE
This config will allow to disable directory creation on SFTP file uploads. Some servers have strict permissions which do not allow this.

Codecov Report

Merging #86 (600546e) into master (c40a17f) will increase coverage by 0.12%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   41.31%   41.44%   +0.12%
==========================================
  Files          87       87
  Lines        3565     3569       +4
==========================================
+ Hits         1473     1479       +6
+ Misses       1805     1804       -1
+ Partials      287      286       -1

Impacted Files
Coverage Δ

internal/upload/sftp.go
66.03% <87.50%> (+1.27%)
:arrow_up:

internal/service/model_upload.go
44.32% <100.00%> (+1.17%)
:arrow_up:

Continue to review full report at Codecov.

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


Update sage to 7.5.1

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Odd. It's definitely available:
> curl -sI http://mirrors.mit.edu/sage/osx/intel/sage-7.5.1-OSX_10.11.6-x86_64.app.dmg
HTTP/1.1 200 OK
Content-Type: application/x-apple-diskimage
Accept-Ranges: bytes
ETag: "2530429729"
Last-Modified: Mon, 16 Jan 2017 20:52:11 GMT
Content-Length:<PHONE_NUMBER>
Date: Sat, 04 Feb 2017 03:33:40 GMT
Server: lighttpd/1.4.28

Verified locally.

Thanks @miccal


Fix documentation

Description
Changes proposed in this pull request:

Fix documentation

Related issue(s)

See also: https://github.com/kyma-project/keda-manager/issues/16

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: m00g3n:x: grego952You have signed the CLA already but the status is still pending? Let us recheck it.


'destroy' method added.

see https://github.com/CarlosBonetti/jquery-loading/issues/10

Just merged your PR, also added some unit tests at 9e125b7e29f01c5b6af8dd311ef099b512b87a83


Update faq.md : Unknown file extension ".svelte" : how to solve

Too few help for this issue on the web...
Solution 1: Found here https://stackoverflow.com/a/76570669
Solution 2: Found here https://githubissues.com/hperrin/svelte-material-ui/608#error
But FORGOT TO MENTION to "just stop the running vite dev server (if any), and run npm run dev again". Instead of simply "just run npm run dev."
Could you edit the commit with this precision before merging ?
Solution 3: Worked for me

Thank you for this suggestion. To learn more about your problem please share a reproduction. The links you provided describe different problems. The first one looks like a sveltekit issue where the manifest is not up to date, it's out of scope for vite-plugin-svelte.
Please focus on the second one that describes a problem when installing new dependencies while the devserver is running. Vite itself is able to detect new dependencies and trigger a new optimization+reload at runtime so there could be a bug here that needs to be fixed. So the right course of action here is to file an issue with a reproduction. If it turns out that restarting the dev server is indeed the recommended resolution for this, we can work on improving the FAQ towards this.


Ingest Catalogs: get position from existing catalog (by id)

Some catalogs like PS1-PSC (provides star/galaxy score for all PS1 sources) do not provide coordinates, but the identifier of an object in another catalog that has the coordinates.
This PR adds the code needed to crossmatch (by id) new entries to the entries of an existing catalog to fetch the relevant coordinates, and add them as the coordinates of the documents of the new catalog.
Also, we refactor the main method to split it in 3 methods, one per file format

Gotta love that html parsing.

2024 and API's are still a luxury not a standard 🤡


Error 'Command 'ccx compr-rotor' returned non-zero exit status<PHONE_NUMBER>.'

Hi Justin,
I installed the latest master branch in Windows 10 64 bit, but when I try to run any example it returned the following:
Traceback (most recent call last):
File "test.py", line 106, in
prob.solve()
File "C:\Users\user\Anaconda3\lib\site-packages\pycalculix\problem.py", line 277, in solve
subprocess.check_call(runstr, shell=True)
File "C:\Users\user\Anaconda3\lib\subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'ccx compr-rotor' returned non-zero exit status<PHONE_NUMBER>.
I uninstalled and reinstalled anaconda, I tried a virtualenv, but i always get the same error.
I also tryed on another computer and there everithing works fine.
Do you have any idea what I am doing wrong?
Thakyou

I am no longer maintaining this repo and will archive it


https://github.com/buzz-lang/Buzz relation / conflict?

Not sure anyone is aware of it. There is already a programming language called Buzz. https://github.com/buzz-lang/Buzz
Would there be any conflicting issues or concerns around this?
Probably should've opened a discussion. Pls feel free to move it.

Not sure how much this is an issue. They seem to have a completely different goal. I'll reach out to them but I doubt they care.

Yeah, but from the SEO perspective it isn't great to have a duplicate name at this point. They've quite years of development already.

Time will tell, but it's a little late to consider changing name :)


Two-Factor authentication issue

So, firstly I never even set up Two-Factor
But today when I booted up vrcx, it suddenly began needing one such code, I got one code in my email, but no more. Can anyone help me out here?

Can you login to the website? you may need to contact VRChat support.

Indeed I can, I can still log on on vrc website and the mobile app, vrctracker

Is the dialog title "Email Two-factor Authentication" or something else? any error after entering that 2FA code? because VRChat has done a staged rollout this feature is untested and can't be tested. Worst case you'll need to enable mobile 2FA for now.

Here's what it said:
Hello, (My username)
Here's your one-time code: (Gave me the code)
This code is only valid for 15 minutes
VRChat staff will never ask you for this code. Never give it out to anyone!
For your own security, only enter this code into the official VRChat website or official VRChat application.

It just says what my one time code is, there's nothing about an error or anything

It just asks for the Two-Factor authentication code
"Enter a numeric code from your authenticator app", which doesn't exist because I never set it up-
And asks me to use OTP for an alternative, and of course the verify button
Clicking OTP asks for a saved One-time code, which again, doesn't exist

Hmmm yup so something wrong with VRCX, are you running the latest VRCX version?

Should I delete and reinstall the app? I can't check the vrcx version without logging in

Should I delete and reinstall the app? I can't check the vrcx version without logging in

might wanna change that natsumi, make the VRCX app information aswell as updater accessible from the login page.

Apparently I am running the latest version
2022.11.04

There isn't much more I can do other that put you through a lot of annoying debugging.
Press Ctrl + Shift + I run $app.debugWebRequests = true; in console, try login, expand json, look for requiresTwoFactorAuth and send the contents back here.
Could also force open the correct 2FA dialog with $app.promptEmailOTP();

You weren't lying when you said it was annoying lmao, I'm just trying to look through everything and see what I can do with the commands you provided, I have to go do some chores though, so I'll be taking more advice from others as well, and look to my partner when he's more awake to see if he can help out too

This is what I have so far
requiresTwoFactorAuth: Array(0)
length: 0
[[Prototype]]: Array(0)
[[Prototype]]: Object

And trying to run the force open command just gives me "undefined" as a result

requiresTwoFactorAuth being empty makes me think this is a different issue entirely try run webApiService.clearCookies(); then login again.

That worked! Thanks a ton Natsumi, you're a lifesaver!


Compile to JavaScript and drop runtime dependency on tsx

I love tsx during development, but I think we should compile to JavaScript on publish and drop the runtime dependency. This would allow us to support Node 18+ instead of requiring Node 20.6+, and it would fix confusing errors such as #847. It would just be “fewer moving parts” and more robust, and it shouldn’t be too technically challenging to run esbuild or tsc or whatever on publish.

Some things I learned so far in #963:

Use find instead of glob (ref. https://github.com/evanw/esbuild/issues/263#issuecomment-660405381)
Drop --target=esnext because it’s the default
Add --platform=node because we’re not building for the browser

In general it seems to work well, but the fact that the generated sources live in a different directory I think are going to cause problems for methods such as getClientPath which assume they are in src/client/. I also would like our testing and local development environment to be as close as possible to what we publish, so that we are less likely to have issues that only affect the published distribution. esbuild has some lovely built-in watch and serving features for local development, which makes me wonder if we couldn’t just drop tsx entirely? But I also want to minimize churn, so my primary goal for this week is to get a no-tsx distribution working.


Run ct_icp on Jetson Nano

Hello, I would like to run this slam on my Jetson Nano 4Gb.
I have manage to install and build on it, but even if I use Ceres as solver, I can not manage to run the solver on the board GPU.
I know that only some type of Ceres option are currently supperted by CUDA:
"CUDA If you have an NVIDIA GPU then Ceres Solver can use it accelerate the solution of the Gauss-Newton linear systems using the CMake flag USE_CUDA. Currently this support is limited to using the dense linear solvers that ship with CUDA. As a result GPU acceleration can be used to speed up DENSE_QR, DENSE_NORMAL_CHOLESKY and DENSE_SCHUR. This also enables CUDA mixed precision solves for DENSE_NORMAL_CHOLESKY and DENSE_SCHUR. Optional."
So, I would like to know which dense linear solver have you use.

Hello,
So we use the default Ceres solver (which should be DENSE_QR).
To be honest, I doubt that this will speedup significantly the process, as the linear system solved if of small size (6 or 12 parameters, thus the matrix to invert is of size up to 12x12).
What is costly in our method is the construction of the neighborhoods (and the point associations),
As well as the evaluation of the residuals, rather than solving the Linear Problem.

Hello @pdell-kitware thank you for your answer.
In fact I have notice that even on my Deskot PC the slam is a little slow to give the correct output, but in my dataset on a straight path of 250m inside a raillway tunnel it gives 20m of error that is a really good result in this type of test field (concrete flat walls, no signal, no marker,ecc...).
When you run it on a real hardware (in my case is an Ouster OS0-1) do you subsample the pointcloud to speed up?
Another thing, I have see that I can use GTSAM or CERES as solver, based on your experience which is the best in term of solving speed?
Is mandatory to use DENSE_QR as solver or I can try with DENSE_NORMAL_CHOLESKY and DENSE_SCHUR?
Last thing, I am doing these experiments because I wish to run your slam on a drone inside tunnels to make a 3D reconstruction. Have you ever test the slam performance on a real hardware with real sensors(even not on a derone)? For example I am planning to run the slam on the jetsnon and all the other thing on an i7 intel nuc. Do you think is a good choiche?

What do you suggest to speed up the lidar odometry?


LATEST resolves to deleted (deprecated) package versions for dependencies

Summary
LATEST does not exclude deleted package versions when resolving dependencies.
If the most recently generated version of a package has been deleted, executing sfdx force:package:version for another package that refers to LATEST of the aforementioned package will resolve to the deleted version.
Steps To Reproduce:
Repository to reproduce: [dreamhouse-lwc](https://github.com/jonnypetraglia/sfdx-error1)
Obviously if you run this your 04t IDs will be different.
Step 1: Create two packages
    "packageDirectories": [
        {
            "package": "Foo",
            "path": "Foo",
            "versionNumber": "1.0.0.NEXT",
            "default": true
        },
        {
            "package": "Bar",
            "path": "Bar",
            "versionNumber": "1.0.0.NEXT",
            "dependencies": [
                {
                    "package": "Foo",
                    "versionNumber": "1.0.0.LATEST"
                }
            ]
        }
    ],

sfdx force:package:create -n Foo -r Foo -t Unlocked
sfdx force:package:create -n Bar -r Bar -t Unlocked
Step 2: Generate a Foo package version twice
sfdx force:package:version:create -p Foo -x --wait 9001
sfdx force:package:version:create -p Foo -x --wait 9001

=== Package Versions [2]
Package Name  Namespace  Version Name  Version  Subscriber Package Version Id  Alias  Installation Key  Released  Validation Skipped  Ancestor  Ancestor Version  Branch
────────────  ─────────  ────────────  ───────  ─────────────────────────────  ─────  ────────────────  ────────  ──────────────────  ────────  ────────────────  ──────
Foo                      1.0.0         <IP_ADDRESS>  04t3n000000ZnCrAAK                    false             false     false               N/A       N/A
Foo                      1.0.0         <IP_ADDRESS>  04t3n000000ZnCwAAK                    false             false     false               N/A       N/A

Step 3: Delete the latest Foo
sfdx force:package:version:delete -p 04t3n000000ZnCwAAK --noprompt

Successfully deleted the package version. 04t3n000000ZnCwAAK

Confirm it's really gone:
sfdx force:package:version:list -p Foo

=== Package Versions [1]
Package Name  Namespace  Version Name  Version  Subscriber Package Version Id  Alias        Installation Key  Released  Validation Skipped  Ancestor  Ancestor Version  Branch
────────────  ─────────  ────────────  ───────  ─────────────────────────────  ───────────  ────────────────  ────────  ──────────────────  ────────  ────────────────  ──────
Foo                      1.0.0         <IP_ADDRESS>  04t3n000000ZnCrAAK<EMAIL_ADDRESS>false             false     false               N/A       N/A

Step 4: Attempt to create Bar package version
sfdx force:package:version:create -p Bar -x --wait 9001

Dependency on package Foo was resolved to version number <IP_ADDRESS>, branch null, 04t3n000000ZnCwAAK.
WARNING: versionName is blank in sfdx-project.json, so it will be set to this default value based on the versionNumber: 1.0.0
Request in progress. Sleeping 30 seconds. Will wait a total of 540060 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 540030 more seconds before timing out. Current Status='Verifying dependencies'
Request in progress. Sleeping 30 seconds. Will wait a total of 540000 more seconds before timing out. Current Status='Verifying dependencies'
ERROR running force:package:version:create:  An error occurred while trying to install a package dependency, ID 04t3n000000ZnCw: The AppExchange package has been deprecated and can no longer be installed.
Please try installing a newer version, or contact the package owner directly to resolve.

Expected result
Depend on the latest non-deleted version, i.e. <IP_ADDRESS>

Dependency on package Foo was resolved to version number <IP_ADDRESS>, branch null, 04t3n000000ZnCrAAK.

Actual result
Depends on the latest version, even if it has been deleted, i.e. <IP_ADDRESS>
System Information
{
        "cliVersion": "sfdx-cli/7.150.0",
        "architecture": "win32-x64",
        "nodeVersion": "node-v17.8.0",
        "pluginVersions": [
                "@oclif/plugin-autocomplete 0.3.0 (core)",
                "@oclif/plugin-commands 1.3.0 (core)",
                "@oclif/plugin-help 3.3.1 (core)",
                "@oclif/plugin-not-found 1.2.6 (core)",
                "@oclif/plugin-plugins 1.10.11 (core)",
                "@oclif/plugin-update 1.5.0 (core)",
                "@oclif/plugin-warn-if-update-available 1.7.3 (core)",
                "@oclif/plugin-which 1.0.4 (core)",
                "@salesforce/sfdx-diff 0.0.6",
                "@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
                "alias 2.0.0 (core)",
                "apex 0.11.0 (core)",
                "auth 2.0.2 (core)",
                "community 1.1.4 (core)",
                "config 1.4.6 (core)",
                "custom-metadata 1.1.0 (core)",
                "data 0.6.15 (core)",
                "generator 2.0.0 (core)",
                "info 2.0.0 (core)",
                "limits 2.0.0 (core)",
                "mo-dx-plugin 0.3.2",
                "org 1.12.1 (core)",
                "plugin-lightning-testing-service 1.0.1",
                "salesforce-alm 54.3.0 (core)",
                "schema 2.1.0 (core)",
                "sfdx-cli 7.150.0 (core)",
                "sfdx-git-delta 4.12.1",
                "sfdx-git-packager 0.3.3",
                "sfdx-isdot 4.0.0",
                "sfdx-jayree 4.3.10",
                "├─ @jayree/sfdx-plugin-prettier 1.1.4",
                "└─ @jayree/sfdx-plugin-manifest 2.2.0",
                "signups 1.0.0 (core)",
                "source 1.9.7 (core)",
                "telemetry 1.4.0 (core)",
                "templates 54.6.0 (core)",
                "texei-sfdx-plugin 1.14.4",
                "trust 1.1.0 (core)",
                "user 1.7.1 (core)"
        ],
        "osVersion": "Windows_NT 10.0.19042"
}

Additional information
Passing --dev-debug shows that the following SOQL query is run via the Tooling API:
SELECT MAX(BuildNumber) FROM Package2Version WHERE Package2Id = '0Ho3n000000KyjzCAC' AND MajorVersion = 1 AND MinorVersion = 0 AND PatchVersion = 0 AND Branch = null
Unless there's a use case that this would break, simply appending  AND IsDeprecated = false to the end would fix it.
Here is the chunk of code it is on:
https://github.com/forcedotcom/salesforce-alm/blob/608ff7e2afb537392e160453dfd4721d901d1429/src/lib/package/packageVersionCreateCommand.ts#L229-L248
We are only using unlocked packages.

Thanks @jonnypetraglia.  We'll get it fixed.

This was fixed in sfdx v7.154.0, see release notes: https://github.com/forcedotcom/cli/tree/main/releasenotes/sfdx#71540-june-9-2022


Ory Network login results in infinite login loop

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Ory Network Project
https://friendly-wright-dwvyo7y5ff.projects.oryapis.com/
Describe the bug
When I log in to my app via OAuth using Ory, I end up in an endless verification loop, i.e. the dialog
"Confirm it's you To authenticate XXX
Please confirm this action by verifying that it is you."
Just keeps being shown.
Flushing cookies did not help.
Reproducing the bug
Steps to reproduce:

Visit https://www.opensanctions.org/account/
Sign in using either OIDC or username password
Get into loop

Relevant log output
No response
Relevant configuration
No response
Version
hosted
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Ory Network
Additional Context
No response

Hi there, sorry to hear that you have troubles. Thank you for the reproducible case. As far as I can tell, the issue appears that the /account route in your app is always initiating login, even if a valid session is available.

You can see that the required session cookies are available:

It's probably some misconfiguration or bug in the code handling the authentication session.

Heya! Absolutely my bad, there was a cookie mixup. Have a nice weekend!


Reward is always 0 in Hopper

In Hopper, reward is always 0 independent of the action. The problem is that this code which is used in reward calculation in hopper.py get_reward(self, physics) function, always return 0 as the value of standing:
standing = rewards.tolerance(physics.height(), (_STAND_HEIGHT, 2))
When I check env._physics.height() after environment reset, I saw that the height is initialized as a negative value always. Therefore it is impossible for this code fragment rewards.tolerance(physics.height(), (_STAND_HEIGHT, 2)) to return 1, since _STAND_HEIGHT is defined as 0.6 for Hopper.

In Hopper, reward is always 0 independent of the action. The problem is that this code which is used in reward calculation in hopper.py get_reward(self, physics) function, always return 0 as the value of standing: standing = rewards.tolerance(physics.height(), (_STAND_HEIGHT, 2))
When I check env._physics.height() after environment reset, I saw that the height is initialized as a negative value always. Therefore it is impossible for this code fragment rewards.tolerance(physics.height(), (_STAND_HEIGHT, 2)) to return 1, since _STAND_HEIGHT is defined as 0.6 for Hopper.

Hi!
did you solve the problem? much appreciation


[shapely 2] Unexpected warning for simple intersection

Expected behavior and actual behavior.
Running the following code gives a strange warning
from shapely.geometry import box

p1 = box(0, 0, 1, 1)
p2 = box(0, 2, 1, 3)

i = p1.intersection(p2)
print(f"{i.wkt=}")

Output:
/opt/conda/lib/python3.10/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
  return lib.intersection(a, b, **kwargs)
i.wkt='POLYGON EMPTY'

Steps to reproduce the problem.
Here is a Dockerfile
FROM mambaorg/micromamba:jammy as build-stage
RUN micromamba install --name base --yes --channel conda-forge \
    "python 3.10.*" \
    "shapely >=2.0"
ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN python -c "from shapely.geometry import box; p1 = box(0, 0, 1, 1); p2 = box(0, 2, 1, 3); i = p1.intersection(p2); print(f'{i.wkt=}')"

Running with docker build --progress plain -f debugging.Dockerfile . gives:

Output
#1 [internal] load build definition from debugging.Dockerfile
#1 sha256:00b07bd6960201cc4f6115e55efd0046bfa5d1ad57b0f17636fa39019a8226e9
#1 transferring dockerfile: 54B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:1290880ac1dee60249526a73eda2cfa4186bb29b72c0357fe140aa88aaf120b9
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/mambaorg/micromamba:jammy
#3 sha256:70f396090a53ab9b6a069cc5d6d0672a0924b076e550e08e2f4c414e429987cc
#3 DONE 2.2s

#4 [1/3] FROM docker.io/mambaorg/micromamba:jammy@sha256:3e3d2899397fb031d57d4269a19f7700d4eb72e802d1d1b8f6054acd93b6fe47
#4 sha256:4a94cba5ef489da4fe85e3887c63904a40cb788f5ac27ff5dff6a4f3998815af
#4 CACHED

#5 [2/3] RUN micromamba install --name base --yes --channel conda-forge     "python 3.10.*"     "shapely >=2.0"
#5 sha256:12fa428ad4fe3844995127364b6790624c1b4fd407b24624af353ed1792b0b4c
#5 0.243
#5 0.243                                            __
#5 0.243           __  ______ ___  ____ _____ ___  / /_  ____ _
#5 0.243          / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
#5 0.243         / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
#5 0.243        / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
#5 0.243       /_/
#5 0.243
#5 20.70
#5 20.70 Transaction
#5 20.70
#5 20.70   Prefix: /opt/conda
#5 20.70
#5 20.70   Updating specs:
#5 20.70
#5 20.70    - python=3.10
#5 20.70    - shapely[version='>=2.0']
#5 20.70
#5 20.70
#5 20.71   Package               Version  Build                Channel                   Size
#5 20.71 ──────────────────────────────────────────────────────────────────────────────────────
#5 20.71   Install:
#5 20.71 ──────────────────────────────────────────────────────────────────────────────────────
#5 20.71
#5 20.71   + _libgcc_mutex           0.1  conda_forge          conda-forge/linux-64       3kB
#5 20.71   + _openmp_mutex           4.5  2_gnu                conda-forge/linux-64      24kB
#5 20.71   + bzip2                 1.0.8  h7f98852_4           conda-forge/linux-64     496kB
#5 20.71   + ca-certificates   2022.12.7  ha878542_0           conda-forge/linux-64     146kB
#5 20.71   + geos                 3.11.1  h27087fc_0           conda-forge/linux-64       2MB
#5 20.71   + ld_impl_linux-64       2.39  hcc3a1bd_1           conda-forge/linux-64     691kB
#5 20.71   + libblas               3.9.0  16_linux64_openblas  conda-forge/linux-64      13kB
#5 20.71   + libcblas              3.9.0  16_linux64_openblas  conda-forge/linux-64      13kB
#5 20.71   + libffi                3.4.2  h7f98852_5           conda-forge/linux-64      58kB
#5 20.71   + libgcc-ng            12.2.0  h65d4601_19          conda-forge/linux-64     954kB
#5 20.71   + libgfortran-ng       12.2.0  h69a702a_19          conda-forge/linux-64      23kB
#5 20.71   + libgfortran5         12.2.0  h337968e_19          conda-forge/linux-64       2MB
#5 20.71   + libgomp              12.2.0  h65d4601_19          conda-forge/linux-64     466kB
#5 20.71   + liblapack             3.9.0  16_linux64_openblas  conda-forge/linux-64      13kB
#5 20.71   + libnsl                2.0.0  h7f98852_0           conda-forge/linux-64      31kB
#5 20.71   + libopenblas          0.3.21  pthreads_h78a6416_3  conda-forge/linux-64      11MB
#5 20.71   + libsqlite            3.40.0  h753d276_0           conda-forge/linux-64     810kB
#5 20.71   + libstdcxx-ng         12.2.0  h46fd767_19          conda-forge/linux-64       4MB
#5 20.71   + libuuid              2.32.1  h7f98852_1000        conda-forge/linux-64      28kB
#5 20.71   + libzlib              1.2.13  h166bdaf_4           conda-forge/linux-64      66kB
#5 20.71   + ncurses                 6.3  h27087fc_1           conda-forge/linux-64       1MB
#5 20.71   + numpy                1.24.1  py310h08bbf29_0      conda-forge/linux-64       7MB
#5 20.71   + openssl               3.0.7  h0b41bf4_1           conda-forge/linux-64       3MB
#5 20.71   + pip                  22.3.1  pyhd8ed1ab_0         conda-forge/noarch         2MB
#5 20.71   + python               3.10.8  h4a9ceb5_0_cpython   conda-forge/linux-64      23MB
#5 20.71   + python_abi             3.10  3_cp310              conda-forge/linux-64       6kB
#5 20.71   + readline              8.1.2  h0f457ee_0           conda-forge/linux-64     298kB
#5 20.71   + setuptools           65.6.3  pyhd8ed1ab_0         conda-forge/noarch       634kB
#5 20.71   + shapely               2.0.0  py310h8b84c32_0      conda-forge/linux-64     421kB
#5 20.71   + tk                   8.6.12  h27826a3_0           conda-forge/linux-64       3MB
#5 20.71   + tzdata                2022g  h191b570_0           conda-forge/noarch       108kB
#5 20.71   + wheel                0.38.4  pyhd8ed1ab_0         conda-forge/noarch        33kB
#5 20.71   + xz                    5.2.6  h166bdaf_0           conda-forge/linux-64     418kB
#5 20.71
#5 20.71   Summary:
#5 20.71
#5 20.71   Install: 33 packages
#5 20.71
#5 20.71   Total download: 63MB
#5 20.71
#5 20.71 ──────────────────────────────────────────────────────────────────────────────────────
#5 20.71
#5 20.71
#5 20.71
#5 20.71 Transaction starting
#5 27.69 Linking _libgcc_mutex-0.1-conda_forge
#5 27.69 Linking python_abi-3.10-3_cp310
#5 27.69 Linking ld_impl_linux-64-2.39-hcc3a1bd_1
#5 27.69 Linking ca-certificates-2022.12.7-ha878542_0
#5 27.69 Linking libstdcxx-ng-12.2.0-h46fd767_19
#5 27.70 Linking libgfortran5-12.2.0-h337968e_19
#5 27.70 Linking libgomp-12.2.0-h65d4601_19
#5 27.70 Linking libgfortran-ng-12.2.0-h69a702a_19
#5 27.70 Linking _openmp_mutex-4.5-2_gnu
#5 27.70 Linking libgcc-ng-12.2.0-h65d4601_19
#5 27.71 Linking libuuid-2.32.1-h7f98852_1000
#5 27.71 Linking libopenblas-0.3.21-pthreads_h78a6416_3
#5 27.71 Linking openssl-3.0.7-h0b41bf4_1
#5 27.74 Linking ncurses-6.3-h27087fc_1
#5 29.39 Linking libffi-3.4.2-h7f98852_5
#5 29.39 Linking bzip2-1.0.8-h7f98852_4
#5 29.39 Linking geos-3.11.1-h27087fc_0
#5 29.45 Linking xz-5.2.6-h166bdaf_0
#5 29.51 Linking libzlib-1.2.13-h166bdaf_4
#5 29.51 Linking libnsl-2.0.0-h7f98852_0
#5 29.51 Linking libblas-3.9.0-16_linux64_openblas
#5 29.68 Linking readline-8.1.2-h0f457ee_0
#5 29.68 Linking tk-8.6.12-h27826a3_0
#5 29.73 Linking libsqlite-3.40.0-h753d276_0
#5 29.74 Linking libcblas-3.9.0-16_linux64_openblas
#5 29.91 Linking liblapack-3.9.0-16_linux64_openblas
#5 30.08 Linking tzdata-2022g-h191b570_0
#5 30.12 Linking python-3.10.8-h4a9ceb5_0_cpython
#5 30.48 Linking wheel-0.38.4-pyhd8ed1ab_0
#5 30.70 Linking setuptools-65.6.3-pyhd8ed1ab_0
#5 30.73 Linking pip-22.3.1-pyhd8ed1ab_0
#5 30.80 Linking numpy-1.24.1-py310h08bbf29_0
#5 31.04 Linking shapely-2.0.0-py310h8b84c32_0
#5 31.19 Transaction finished
#5 DONE 32.2s

#6 [3/3] RUN python -c "from shapely.geometry import box; p1 = box(0, 0, 1, 1); p2 = box(0, 2, 1, 3); i = p1.intersection(p2); print(f'{i.wkt=}')"
#6 sha256:f718ddd103a34ea0575856c9b9b34fbf982688a992c5a7d8c3eaf49b1bb2591d
#6 0.415 /opt/conda/lib/python3.10/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
#6 0.415   return lib.intersection(a, b, **kwargs)
#6 0.415 i.wkt='POLYGON EMPTY'
#6 DONE 0.4s

#7 exporting to image
#7 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#7 exporting layers
#7 exporting layers 7.8s done
#7 writing image sha256:c21470e9cccc183f8126e36fff52be0abe13bad0e658936c9341faf7fbfb3be4 done
#7 DONE 7.9s

Other information
Setting grid_size=1 in the intersection call makes the error message go away

See also https://github.com/shapely/shapely/issues/1552#issuecomment-1259429629 and the linked issues for some context.
The problem is that some code in GEOS causes floating point error flags to be set, and then the numpy ufunc machinery picks this up and generates those warnings.
We should maybe look into whether we can clear those flags in the c code after calling a GEOS function and before returning to numpy land.

I suppose the numpy C API has some features that we could use for this: https://numpy.org/doc/stable/reference/c-api/coremath.html#low-level-floating-point-manipulation
cc @caspervdw

Running at scale, and we're getting a lot of these clogging up our logging. Can you see any harm in a temp solution of filtering the warnings?
warnings.filterwarnings("ignore", message="invalid value encountered in intersection")

It is unfortunate that these warnings now pop up, but I don't think that it is a good idea for us to hide the fact that these flags are set by GEOS. It should be fixed upstream.
I usually use numpy.seterr(invalid="ignore") to hide these message when they pop up and I am sure that I am not doing anything wrong (https://numpy.org/doc/stable/reference/generated/numpy.seterr.html#numpy-seterr)

It should be fixed upstream.

Ideally yes, but it's a bit problematic if upstream devs tried and don't know how to fix it (cfr https://github.com/libgeos/geos/issues/515)
The main reason why I would consider hiding this on our side is because up to now, I haven't yet seen any example where those warnings are actually actionable (that indicates something that you can do as a user). As a consequence, they are IMO just confusing. And while it is indeed easy to ignore/hide them (either with numpy's API or with generic filterwarnings), I am not sure it is needed to expect from every user to do this (and to know it is OK to do this)

I haven't yet seen any example where those warnings are actually actionable

I suppose when you accidentally got NaNs in your coordinates, that would be a valid reason to get warnings (although even then the warning is not super clear about what the issue is)
Anyway, for this specific case (the example in the top post, intersection of non-overlapping polygons), I took a quick look in GEOS and here it was actually easy to track down and fix -> https://github.com/libgeos/geos/pull/790

This is fixed in upstream GEOS main (https://github.com/libgeos/geos/pull/791), and also backported to 3.10 / 3.11. So once there is a new release of any of those versions, the warnings should go away.


Add a new Go linter: gopls

gopls is a new Language Server Protocol implementation for Go. With recent releases, it can also be used as a standalone linter.
This new checker uses gopls to check Go programs.

Your commit doesn't include the actual checker. :smile:
Anyway, please consider adding this to ALE and / or vim-go instead.  The go checkers in syntastic are still around only for backwards compatibility, they don't serve any real purpose these days.

From my end, the checker seems to be in the commit.
gopls is already supported by ALE and vim-go.
I'm using syntastic, so this checker was useful to me.

From my end, the checker seems to be in the commit.

Right, I can see it now too.  So either I discovered a race condition in GitHub, or I was just imagining things.  I guess I'll spend the rest of my life wondering.

I'm using syntastic, so this checker was useful to me.

Well, the point still stands: go checkers should have been deleted a long time ago, and adding more checkers for me to take care of is not a step towards that direction.  Also, syntastic is essentially dead these days.
Anyway, about the checker:

In IsAvailable() you should probably parse the output rather than check v:shell_error.  The latter is known not to work reliably under the cmd.exe shell on Windows, so it should be avoided when possible.
You probably want let errorformat = ... '%f:%l:%c-%\d%\+: %m,' ....  Backslashes have no special meaning inside single quotes.
The exec in CreateAndRegisterChecker() is redundant but not wrong.

Parsing the output in IsAvailable would no really be helpful. The first versions of gopls did not understand the commands "version" and "check" (this is the case of the gopls available in Debian). So either "gopls version" fails as it does not understand "go version", and we can't use it. Or it succeed, and can be used.
I've correcter errorformat.

I also tested gopls on Windows. It does correctly return an error code if it does not understand the option provided.


[Request] Modrinth Support

Hi,
Would it be possible to also upload soft-togglesneak to modrinth?
Thanks!

I'm not really familiar with modrinth, but i threw together a quick thing.


build: correct the DT_SONAME

When ninja is invoked from a subdirectory it will convert the path to a
relative path, and that resulted in incorrect test results. This
ensures that we get the correct soname.

@swift-ci please test


SCRUM-1712 & SCRUM-1733

@oblodgett - Adam's code now merged, and sync endpoint updated to cope with curie changes (required for after deployment to beta/prod and when the Literature System curies get changed)


Transition to Distroless image

What would you like to be added:
The etcd-custom-image should be based on a distroless image. See also https://github.com/etcd-io/etcd/pull/13556.
Why is this needed:

To reduce the common perception of an extended attack surface of non-distroless images.
To reduce maintenance effort of updating images and tooling.

This issue depends on https://github.com/gardener/etcd-custom-image/issues/16.

/close in favour of #16


Resource Removal: Add resource Group support for mg level deployments

Closes #1042
Change

Allowed 'Resource Group Removal' within a 'Management Group' Scope deployment.

Without this, removal stage for deployments that happen at the management group scope and target resource group as child will not be able to find the right deployment as the original one only supports subscription as a child
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

Log Evidence
VERBOSE: Invoke task with
  VERBOSE: {
    "ManagementGroupId": "***",
    "DeploymentName": "roleDefinitions-20220225T0502569172Z",
    "ResourceGroupName": "validation-rg",
    "Verbose": true,
    "TemplateFilePath": "/home/runner/work/ResourceModules/ResourceModules/arm/Microsoft.Authorization/roleDefinitions/deploy.bicep"
  }

  VERBOSE: Template file path: [/home/runner/work/ResourceModules/ResourceModules/arm/Microsoft.Authorization/roleDefinitions/deploy.bicep]
  VERBOSE: Module name: [roleDefinitions]
  VERBOSE: Handling resource removal with deployment name [roleDefinitions-20220225T0502569172Z]
  VERBOSE: Determined deployment scope [managementgroup]
  VERBOSE: Found deployed resource [/subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Authorization/roleDefinitions/2abcf71f-a840-5ac1-bac2-9d12[546](https://github.com/Azure/ResourceModules/runs/5329519376?check_suite_focus=true#step:4:546)e0ba9]
  VERBOSE: Total number of deployment target resources after fetching deployments [1]
  VERBOSE: Total number of deployment target resources  after pre-filtering (duplicates) & ordering items [1]
  VERBOSE: Total number of deployment target resources after formatting items [1]
  VERBOSE: Using local tokens [namePrefix]
  VERBOSE: Total number of deployments after filtering all dependency resources [1]
  VERBOSE: Total number of deployments after final ordering of resources [1]
  VERBOSE: Performing the operation "Remove" on target "[1] resources".
  VERBOSE: Performing the operation "Remove" on target "[1] Resource(s) with a maximum of [3] attempts.".
  VERBOSE: - Remove [/subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Authorization/roleDefinitions/2abcf71f-a840-5ac1-bac2-9d12546e0ba9]
  VERBOSE: ----------------------------------
  VERBOSE: Removing resource [2abcf71f-a840-5ac1-bac2-9d12546e0ba9] of type [Microsoft.Authorization/roleDefinitions]
  VERBOSE: Performing the operation "Remove" on target "Resource [/subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Authorization/roleDefinitions/2abcf71f-a840-5ac1-bac2-9d12546e0ba9]".
  VERBOSE: Resource ID [/subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Authorization/roleDefinitions/2abcf71f-a840-5ac1-bac2-9d12546e0ba9]
  VERBOSE: Resource Type [Microsoft.Authorization/roleDefinitions]
  VERBOSE: Performing the operation "Execute" on target "Post-resource-removal for [/subscriptions/***/resourceGroups/validation-rg/providers/Microsoft.Authorization/roleDefinitions/2abcf71f-a840-5ac1-bac2-9d12546e0ba9]".
  VERBOSE: ----------------------------------
  VERBOSE: The removal completed successfully

Pipeline tested
Tested on the Role Definition Pipeline by adding a new parameter that targets Resource Group. Switched the workflow to use the root deploy.bicep and then reverted the configuration


WIP: Send auth packet to all IPs

Description of the change

Description here

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists
Development

[ ] Lint rules pass locally
[ ] The code changed/added as part of this pull request has been covered with tests
[ ] All tests related to the changed code pass in development

Code review

[ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[ ] Changes have been reviewed by at least one other engineer
[ ] Issue from task tracker has a link to this pull request

Deployment

[ ] The environment (heroku config) has been updated with any new required ENV variables

This was partly done in https://github.com/84codes/sparoid.rb/commit/120f6984b1411447bf5dcca3cafe25a7186c5dd9 (that commit lacks the ip? check)

Totally missed this one. But the IP check isn't needed, Resolv returns the IP if the address is an IP.


MISD dataset

Hello, I have two questions about the dataset MISD: (1) In the data I downloaded from the official website at https://doi.org/10.5281/zenodo.5525829, one image corresponds to 2 masks, do I need to fuse the 2 masks into one mask before testing? (2) The MISD published here has 303 forged images, I see you only used 227, is it convenient to provide the txt of this dataset you used, or can you provide this dataset for both? Thank you very much.

Thanks for your interest. Due to some errors (mismatch, etc.), I screened and verified the 303 pictures and only retained these 227 pictures. The MISD dataset used in the paper can be downloaded from this link for your research / comparison.

您好，您的邮件我已收到，我会尽快回复的，谢谢！

Thanks for your interest. Due to some errors (mismatch, etc.), I screened and verified the 303 pictures and only retained these 227 pictures. The MISD dataset used in the paper can be downloaded from this link for your research / comparison.

Thank you very much.


Main store and sibling renderers don't get updated (alpha.9)

Describe the bug
We're finding that Redux devtools says actions have occurred in our renderer, but the value in the store in the renderer does not reflect that except in the window where the value update was initiated.
The really confusing this is that even though the value in Redux's devtools indicates that it's been updated, as far as I can tell the value in the store has not actually been updated.
Our app has three windows that all come up at the same time, I'm not sure if that may be relevant.
With version one I know it was important to place the enhancer before/after other enhancers. Is it possible the issue is anything like that?
Our code looks like this:
configurestore.js

  middleware.push(sagaMiddleware);

  if (scope === 'renderer') {
    if (options.runStorage) enhancers.push(electronStorage());
    enhance
  }
  if (scope === 'main') {
    enhancers.push(require('electron-redux').mainStateSyncEnhancer());
  }

  const store = createStore(
    rootReducer,
    initialState,
    composeEnhancers(...enhancers)
  );

  storeProvider.register(store);

storeProvider.js
 const DEFAULT_STORE_OBJ = { getState: () => ({}) };

 class Store {
  constructor() {
    this.reset();
  }

  register = store => {
    this.store = store;
  };

  access = () => this.store;

  getState = () => this.store.getState();

  reset = () => {
    this.store = DEFAULT_STORE_OBJ;
  };
}

export const storeProvider = new Store();

Important to note this occurs even without using the hack outlined in #293

Update: This may be as simple as moving enhancers.push(applyMiddleware(...middleware)); to be before where we add the electron-redux enhancers.

Confirming that fix works.

Mmmmm.... A lot of redux-saga code doesn't seem to fire with this configuration, not sure what to make of that.

I've tried a lot of things to get this working, but no luck as of yet.
According to redux-saga's docs, the middleware should come after any other middleware. I'm not sure if electron-redux's enhancers are technically middleware? Any thoughts on how to accomodate redux-saga in 2.x?
https://redux-saga.js.org/docs/api/#middleware-api

I wonder if this comment on async middleware AFTER redux-saga's middleware is relevant to the problems we're seeing? https://github.com/redux-saga/redux-saga/issues/1334#issuecomment-366675496
The current architecture is creating its own middlewares, and I'm guessing those would be async?

Related to https://github.com/klarna/electron-redux/issues/260 I guess?

@Slapbox Middleware creation is synchronous, the async part is only the store hydration -> in default, sync scenario, we will fetch the main store state with blocking ipc call (as in here), and with async scenario we will dispatch message that will than fetch the store with async messaging and than hydrate the store via a built in reducer. But middleware itself is a synchronous code for its creation, and same goes for the store enhancer

Seems to be resolved by #285.


add kusionstack topic

Please confirm this pull request meets the following requirements:

[X] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[X] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[X] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[ ] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[X] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[X] My folder contains a *.png image (if applicable) and index.md
[X] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

KusionStack is a Unified Programmable Configuration Tech Stack and with a new KCL configuration language. and it would be nice to showcase projects using it.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

This topic and its aliases aren't applied on any repositories outside of the KusionStack org yet:

kusionstack
kusion-stack
kusion
kusionstack-examples

To keep our repo manageable, we try to only curate topics once they're seeing some kind of organic adoption in the community at large, so we're going to pass on this for now. Sorry!


Support handling atropisomers without coordinates

Reference Issue
atropisomers should be reprented in CXsmiles and other formats when coordinates are not present
What does this implement/fix? Explain your changes.
If no coordinates are present, and a wedge bond is present to indicate an atropisomer, the convention is now to assume that the lowest numbered atoms on each end are on the same side of the atropisomer.
Any other comments?

Thanks @tadhurst-cdd, I will merge this after the CI builds go through

Note: this was merged and then I immediately discovered problems, so the merge has been reverted.

Fixed to resolve the CIP comparison errors you summarized above, and new tests were added for these


Include AEM Maintenance Task configurations in Archetype

It would be nice if the Maven Archetype would generate the AEM Maven Archetype with AEM Maintenance Task OSGi Configurations as well as Maintenance Window definitions.
These configurations should:

Target the correct run-modes (Author) when possible. (ie. OSGi configurations places in config.author, the Maintenance Window context-aware configs likely are fine to deploy Author/Publish since deploying mutable content only on author requires a discrete Content package, which seems heavy-handed for something that will simply NOOP)
Provide reasonable defaults

Hi @davidjgonzalez, can you provide a PR for this?


Deconstruct empty array.

Maybe not [...Array(n)] should not be compiled to Array(n).slice() ?
The former is [undefined * n] yet the later is [empty * n]. The key difference is that the former is iterable.
[...Array(5)].map(_ => 1) produces [1, 1, 1, 1, 1] while Array(5).slice().map(_ => 1) produces [empty * 5] which remains uniterable.
I know I can fill it like Array(5).fill(1), but I think the situation above is still a bug.
Code
[...Array(5)].map(_ => 1)

Expected behavior:
[1, 1, 1, 1, 1]
Actual behavior:
[empty * 5]
@PG

Looks like a duplicate of #8856.


[HPRO-595] Handle centrifuge type for kit orders

Also notice that in we should be getting the mayo account number using the current site id when sendOrderToMayo method is called in Order Controller (which I changed yesterday to fix the issue for biobank users).


[Feature Proposal] A more flexible and efficient syntax for variable assignment

Issue with current version
The current assignment syntax seems cumbersome to me.
 a = b translates to 昔之「甲」者。今「乙」是矣。
So, how about chain assignment like a = b = c = d?
昔之「丙」者。今「丁」是矣。
昔之「乙」者。今「丙」是矣。
昔之「甲」者。今「乙」是矣。

Also, how about self assignment like x=f(x)？
施「法」之术于「斯」。昔之「斯」者。今其是矣。

What's even worse, this might lead to ambiguity when dealing with multiple assignment like x, y = f(x,y)
施「法」之术于「斯」于「外」。昔之「斯」者「外」者。今其是矣。

In my opinion, such Chinese syntax is hard to compile to equivalent programming codes and could lead to unecessary copy/assign operations. Can we think of something to make it more concise and efficient?
My proposal
I understand that a compromise must be made between Chinese fluency and execution efficiency. I can think of two more concise syntaxes.
Syntax 1

wenyan
Python

赋「甲」以「乙」
a=b

赋「甲」以「乙」以「丙」以「丁」
a=b=c=d

施「法」之术于「斯」。以之赋「斯」。
x=f(x)

施「法」之术于「斯」于「外」。以之赋「斯」赋「外」。
x, y=f(x, y)

We use "以“ to represent the assignment operator "="，and for assigning the output of a function, we can use ”之“，which in my opinion can be reserved as a keyword of the wenyan-language.
However, this would definitely compromise efficiency, as x=f(x) is actually executed as  _ = f(x), x = _ with one more copy and assignment.
I don't know if these two are equivalent in javascript. But there is this thing called right-value reference in C++ language, and such different would cost much if x is a very large object.
Also in python 3.8 a new feature called assignment operation is introduced, allow the assignment expression itself to be evaluated again. Say you want to read lines from a file and search for a special pattern, the traditional way would be
l = file.readline()
while l != 'result':
    l = file.readline()

With assignment operator, now it becomes
while (l := file.readline()) != 'result:
    pass

So here is the point. A bad syntax does not only affect readibility, it also drags down the efficiency of compiled codes.
Syntax 2
If we use ”于“ to indicate an assignment before the current expression, it could lead to improved efficiency for chain assignment and self assignment at the expense of readability (The chain order is reversed)

wenyan
Python

赋「乙」于「甲」
a=b

赋「丁」于「丙」于「乙」于「甲」
a=b=c=d

施「法」之术于「斯」。赋于己。
x=f(x)

Syntax 3
I think the best way is to combine the merits of syntax 1 and 2, leading to more flexible balance between fluency and efficiency.

wenyan
Python

赋「乙」于「甲」 or 赋「甲」以「乙」
a=b

赋「丙」以「丁」，于「乙」，于「甲」
a=b=c=d

施「法」之术于「斯」。赋于己。
x=f(x)

施「法」之术于「斯」于「外」。赋于「斯」「外」。
x=f(x)

Advanced topic
List comprehension
Say if you want to take entrywise square for a list of integers and return the squared list, a C++ learner would probably write this:
吾有一列，名之曰「数列」。充「数列」以一以二以三
吾有一列，名之曰「方列」。
凡「数列」中之「元」。
    乘「元」以「元」。名之曰「方」。充「方列」以「方」。
云云

intlist = [1,2,3]
squarelist = []
for item in intlist:
    square = item * item
    squarelist.append(item)

Is there a more elegant way to do this thing in wenyan? As you may know, Python support list comprehension by mapping a function to every entry of a list. Here we can achieve the same thing with much concise and elegant wenyan
凡「数列」中之「元」。乘「元」以「元」。充于「方列」  # squarelist = [i*i for i in intlist]

This shows the power of ”于“ keyword，where the key is to re-use the return value of a math operation or a function for chained assignment.
Conclusion
The grammar discrepancy is the key issue for designing a Chinese programming language and the corresponding compiler. Existing solutions either directly copy the syntax of an existing language (like 易语言）or drop some complicated syntax supports to maintain chinese fluency. It's still a challenge to design proper syntax for the wenyan language. Python would be the ideal target language for a Chinese wenyan compiler. Since it has more flexible grammar and dynamic data type check. And to fully utilize the grammer trick, a effective way is to use keyword ”于“ to invoke right-value assignment.
Hope my discussion aids your development of THE BEST programming language in Chinese!

Nested Function calling
#155  @UltimatePea proposed that Nested function calling like var e = (f (g a) b (h c d)) or in python e = f(g(a), b, h(c,d)),  can be implemented by introducing temporary variables
施「庚」於「甲」名之曰「其一」。
施「辛」於「丙」於「丁」名之曰「其二」。
施「己」於「其一」於「乙」於「其二」名之曰「戊」。

or using lambda expressions
施「己」
於數。欲得是數，施「庚」於「甲」。
於「乙」
於數。欲得是數，施「辛」於「丙」於「丁」。

Actually by simulating the stack of functions, there is a third solution, which allow a serialized syntax that is more elegant and doesn't involve complex syntax like lambda expression. The compilation should not be to hard with the help of an extra stack.
入「甲」求「庚」入「乙」「丙」「丁」取二求「辛」求「己」得「戊」

We have four keywords in the above expression:

入[x]：push an item x into the stack

求[f]：receives a function f, pops out elements from the stack for evaluation, and push the result back into the stack. By default, all the elements from the stacks are poped out as function arguments.

取[n]求[f]：Only pop the top n items for function evaluation

得[x]：pop the top of the stack and assign it to variable x

The execution procedure is as follows:

operation
Stack
expression

入「甲」
a
a

求「庚」
_1
g(a)

入「乙」「丙」「丁」
_1, b, c, d
g(a), b, c, d

取二求「辛」
_1, b, _2
g(a), b, h(c, d)

求「己」
_3
f(g(a), b, h(c, d))

得「戊」
empty
e = f(g(a), b, h(c, d))


Test connection

As a developer I want to debug connection issues. I don't want to have to do any real work (i.e. run a dummy query or test the existence of a document) because that's extra work and potentially introduces other errors. I just want to see if my auth*n and network are configured correctly.
As an ETL tool maker, I want to provide a "Test Connection" button in my UI.
The Client REST API has the undocumented (?) /v1/ping endpoint that might be related.
Related to marklogic/node-client-api#346.

package com.marklogic.datamovement.examples;

import com.marklogic.client.DatabaseClient;
import com.marklogic.client.DatabaseClientFactory;
import com.marklogic.client.DatabaseClientFactory.SecurityContext;
import com.marklogic.client.document.DocumentDescriptor;
import com.marklogic.client.document.DocumentManager;

public class TestDefaultLocalhostConnection {

  public static void main(String[] args) {
    final SecurityContext auth = new DatabaseClientFactory.DigestAuthContext(
        "user", "********");
    final DatabaseClient marklogic = DatabaseClientFactory.newClient("localhost",
        8000, auth);
    System.out.println(marklogic.getHost());
    final DocumentDescriptor doc = marklogic.newDocumentManager().exists("¯\_(ツ)_/¯");
    System.out.println(doc); // null
  }

}

I was looking for this very thing in the Java API. Something like exposing the /v1/ping endpoint is exactly what I want.

Tests run fine.

Can this be closed since the "checkConnection" method now exists in DatabaseClient?

Most definitely.


HerokuApp is broken

As I see heroku app is broken after converting the project to Typescript.
We need to specify some extra arguments to help him load the project.
I will create a PR adding this settings, can you assign me this task?

Great. I will assign you to it.


Unable to use kube-ctl because of missing CA certificate in RKE cluster

Rancher server version -
DockerHub: master (26 march 2018)
Rancher agent version -
DockerHub: master (26 March 2018)
Steps to reproduce the problem:

Create a PKE Cluster
Add Worker, Etcd, Controlplane node(s)
Navigate to Cluster Dashboard
Click Launch kubectl
Execute random kubectl command

User is presented with this error message:
error: unable to read certificate-authority /etc/kubernetes/ssl/ca.pem for Default due to open /etc/kubernetes/ssl/ca.pem: no such file or directory
Docker version: (17.03.2)
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
ubuntu 16.04 LTS
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Node Rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Default RKE
Results:
I did find out the specific pem file is missing.

Fix here: https://github.com/rancher/rancher/pull/12285/commits/cfadad1a2a17eac60df147978580ea79db3688dd

Tested with latest master (5pm at 3/26).


Constituency codes

Switches to the official constituency codes (except for TG, where we are broken)

Deploy preview ready!
Built with commit 6783b32dc1de7cca57e71bffa96cb634a4c50b5e
https://deploy-preview-17--speakforme.netlify.com


Fixed committee label clipping to header

Affected issue: #8
This commit fixes the problem of the label clipping inside the site header (example https://www.iare.se/committee/clubmaesteriet). However, it also moves the label further down on the committee landing page https://www.iare.se/chapter/committee. This is a temporary fix, it would be best to find a way to set the margin persistent across the default page and the committee pages.
On landing page

On committee page

Compare these photos to the linked issue to check #8 to compare before-after

Update: this commit moves the content of all pages down a few pixels. Might not be worth it.


Import changes from Golos chainbase.

The chainbase in Golos contains several fixes for multi-threading.

Source code was refactored from chainbase to chaindb


Memory issues detected by Valgrind

Hello,
Here is some feedback about memory errors detected by Valgrind, using this simple example:
#include "cf/cfuture.h"

int main() {
   return cf::make_ready_future(true)
   .then([](cf::future<bool> p) {
      return 1;
    }).get();
}

Property shared_state_base::executed_ is not initialized properly

==3308== Conditional jump or move depends on uninitialised value(s)
==3308==    at 0x401EC7: _ZN2cf6detail17shared_state_baseINS0_12shared_stateIbEEE12set_callbackIZNS_6futureIbE9then_implIZ4mainE3$_0EENSt3__19enable_ifIXntsr6detail9is_futureINSA_9result_ofIFNSA_5decayIT_E4typeES7_EE4typeEEE5valueENSA_11conditionalIXsr9is_futureISJ_EE5valueESJ_NS6_ISJ_EEE4typeEE4typeEOSE_EUlvE_EEvSQ_ (cfuture.h:179)
==3308==    by 0x401D7F: _ZN2cf6futureIbE12set_callbackIZNS1_9then_implIZ4mainE3$_0EENSt3__19enable_ifIXntsr6detail9is_futureINS5_9result_ofIFNS5_5decayIT_E4typeES1_EE4typeEEE5valueENS5_11conditionalIXsr9is_futureISE_EE5valueESE_NS0_ISE_EEE4typeEE4typeEOS9_EUlvE_EEvSL_ (cfuture.h:429)
==3308==    by 0x401C83: _ZN2cf6futureIbE9then_implIZ4mainE3$_0EENSt3__19enable_ifIXntsr6detail9is_futureINS4_9result_ofIFNS4_5decayIT_E4typeES1_EE4typeEEE5valueENS4_11conditionalIXsr9is_futureISD_EE5valueESD_NS0_ISD_EEE4typeEE4typeEOS8_ (cfuture.h:510)
==3308==    by 0x401BA3: _ZN2cf6futureIbE4thenIZ4mainE3$_0EENSt3__111conditionalIXsr9is_futureINS4_9result_ofIFNS4_5decayIT_E4typeES1_EE4typeEEE5valueESD_NS0_ISD_EEE4typeEOS8_ (cfuture.h:449)
==3308==    by 0x401AE7: main (main.cpp:4)

Memory leak using .then()

==3308== HEAP SUMMARY:
==3308==     in use at exit: 256 bytes in 3 blocks
==3308==   total heap usage: 4 allocs, 1 frees, 360 bytes allocated
==3308==
==3308== 256 (104 direct, 152 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 3
==3308==    at 0x4C226B0: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
==3308==    by 0x4EBF969: operator new(unsigned long) (in /basejail/usr/lib/libc++.so.1)
==3308==    by 0x4027E7: __allocate (new:156)
==3308==    by 0x4027E7: allocate (memory:1634)
==3308==    by 0x4027E7: std::__1::shared_ptr<cf::detail::shared_state<bool> > std::__1::shared_ptr<cf::detail::shared_state<bool> >::make_shared<>() (memory:4279)
==3308==    by 0x4024D6: make_shared<cf::detail::shared_state<bool>> (memory:4644)
==3308==    by 0x4024D6: cf::future<bool> cf::make_ready_future<bool>(bool&&) (cfuture.h:680)
==3308==    by 0x401AD6: main (main.cpp:4)
==3308==
==3308== LEAK SUMMARY:
==3308==    definitely lost: 104 bytes in 1 blocks
==3308==    indirectly lost: 152 bytes in 2 blocks
==3308==      possibly lost: 0 bytes in 0 blocks
==3308==    still reachable: 0 bytes in 0 blocks
==3308==         suppressed: 0 bytes in 0 blocks

Looking at the code, it looks like then_impl() stores a lambda in the shared state (cb_ property), but the lambda captures a shared_ptr to the shared state. So there is a cyclic reference there.
Using a weak reference in the lambda would probably solve the issue

Thank you.  Fixed and fixed.


GitHub OAuth doesn't work

The use_github_oauth operation in the application CE doesn't work, because the OnCreatingTicket event is never handled. After a bit of debugging, I figured out the reason: the code creates a new OAuthEvents instance and registers the OnCreatingTicket event on that instance, but what it should be doing is getting the OAuthEvents instance from the opt.Events property. With this one change, the use_github_oauth operation works.

BTW, I've tested PR #82 locally (building a new NuGet package from it) and can confirm that it works: with that change, I can use GitHub OAuth and get any info my app might find relevant (GitHub user ID, email address, full name, etc.) into ctx.User.Identities, just by doing:
    use_github_oauth myClientId myClientSecret "/oauth_callback_github" [
        ClaimTypes.NameIdentifier, "id"
        "urn:github:login", "login"
        ClaimTypes.Email, "email"
        ClaimTypes.Name, "name"
        ]


provide closed list of values for @mfunc

From<EMAIL_ADDRESS>on September 17, 2012 16:48:26
Humdrum **embel provides a list of melodic function values:
aln - accented lower neighbor
ant - anticipation
app - appogiatura
apt - accented passing tone
arp - arpeggio tone (chordal tone)
arp7 - arpeggio tone (7th added to the chord)
aun - accented upper neighbor
chg - changing tone
cln - chromatic lower neighbor
ct - chord tone (i.e., not an embellishment)
ct7 - chord tone (7th added to the chord)
cun - chromatic upper neighbor
cup - chromatic unaccented passing tone
et - escape tone
ln - lower neighbor
ped - pedal
rep - repeated tone
ret - retardation
23ret - 2-3 retardation
78ret - 7-8 retardation
sus - suspension
43sus - 4-3 suspension
98sus - 9-8 suspension
76sus - 7-6 suspension
un - upper neighbor
un7 - upper neighbor (7th added to the chord)
upt - unaccented passing tone
upt7 - unaccented passing tone (7th added to the chord)
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=108

From<EMAIL_ADDRESS>on September 17, 2012 14:11:42
Also, @-mfunc should only be allowed on note

From andrew.hankinson on October 17, 2012 07:52:52
Labels: -Milestone-Release2013 Milestone-ReleaseNext

From<EMAIL_ADDRESS>on November 19, 2012 08:46:39
This issue was closed by revision r721 .
Status: Fixed


Some synonyms marked as "erroneous" in GO

Hi,
You may want to look into the following synonyms, and remove them if they really are erroneous, or edit them if not:
GO:0016711 flavonoid 3'-monooxygenase activity
exact synonym: flavonoid 3-hydroxylase (erroneous)
exact synonym: flavonoid 3-monooxygenase (erroneous)
GO:0047082 3,9-dihydroxypterocarpan 6a-monooxygenase activity
exact synonym: 3,9-dihydroxypterocarpan 6alpha-monooxygenase (erroneous)
GO:0004574 oligo-1,6-glucosidase activity
broad synonym: limit dextrinase (erroneous)
GO:0051060 pullulanase activity
broad synonym: limit dextrinase (erroneous)
Thanks,
Paola

Interesting. It looks like these are coming in after a reclassification in EC. @hdrabkin or @deustp01 we could remove them or make them related for searching purposes and remove the (erroneous). Which do you think serves the community better? I guess it's kind of like having old gene symbols, some people might still look for them based on the old string even though it's misleading.

In some cases I have come across when the EC changes, etc., I remove the EC reference in the synonyms if the new EC does not list the same synonyms and make them related solely so someone might find them.

Thanks! That's my general thought too. I will move them to related.

nothing to add from here. Thanks, Harold.

For 'limit dextrinase' we do have a term, 'limit dextrinase activity' - isn't it the practice to add a comment that says 'do not confuse with x' or something like that ?
Its seems misleading to use 'related synonym' if they are erronous.

I don't think these are errors; it's just that the NEW EC number does not list them as synonyms; EC might add them back.

Frankly, I don't get how we actually DO use the EC alt names since they are not classified as exact, narrow, related, etc. ; Just alternative names

I just emailed EC to see what their policy is.

Reply from EC
Hi Harold,
I am not sure I understand the difference between 'exact synonym' and 'related'
in GO terminology. In IUBMB terminology alternative names are synonyms, related
names would belong to related enzymes that should have their own EC numbers.
Generally, there is no fixed policy concerning synonyms in the EC list, it is
up to the person doing the transfer to decide whether he or she wants to keep
the existing synonyms or not. A transfer often means that what was originally
thought to be the activity of the enzyme is not correct. So enzymes linked to
the 'original' function stop making sense as well. In such a case we do not
keep the original synonym.
In addition, if you get your EC data from ENZYME, we do not show all the
synonyms listed by IUBMB, as IUBMB synonyms include gene names and old versions
of the IUBMB systematic name. the IUBMB systematic name is not part of ENZYME
data, and gene names are shown and maintained in UniProtKB so we do not like to
duplicate it in ENZYME where is it not certain to be up-to-date.
Best,
Kristian
So I think we should not assume EC alt names are always exact.


The slider, which is the navigation for another slider, displays badly on the IOS.

Hi, I've got a problem with nav, like in the title. The nav display like this only at IOS:

Can anybody help me with this? Thank you in advance for your response.
====================================================================
http://jsfiddle.net/gondziu/Lwxj5bdw/
Live example: http://bravebrain.pl/#portfolio
====================================================================
Steps to reproduce the problem
Just open live example with your iphone. Portfolio section of the website should display like in the screenshot above.
====================================================================
What is the expected behaviour?
List of logotypes should display in one line, without duplicating logo like in the screen above.
====================================================================
More Details

Which browsers/versions does it happen on?
The problem occurred on every iPhone which I could test the page.
Which jQuery/Slick version are you using?
jQuery 3.1.1
Slick 1.6.0
Did this work before?
No

check the order in which the js code is loaded in the page. the $(...).slick method should be called only after the slick.min.js file is loaded.

Thanks for reply. Unfortunatelly this is not a problem.
script.js file which contains $(...).slick method is loaded after slick.min.js... so everything here should be ok..


Moving old p5 2.3 2.4 and 2.6 to archive

Relates to #3095 and #3096

We can move map() for now from 2.4-archive to the playlist at 2.5. I may redo it but for now the old version can stand but be renumbered.

Ah, also 2.6 can stay as well. So the new sequence is:

2.1 - NEW
2.2 - NEW
2.3 - NEW
2.4 - NEW random()
2.5 - OLD 2.4 map() renumbered
2.6 - STAYS THE SAME

Should I hold off on merging this until we conform to the above? Or merge now and adjust after the fact?

Ah, and we will also have to change and existing references to these videos. For example:


[Serving Stability] one request crashed, other requests can not be posted

Hi, I found that when one request processing crashed, other requests can not be posted normally. The client script is stuck when calling client.generate.

Can you share the stack trace of the error that causes the process to crash? If it's the server process that crashes, we do not automatically restart the server, which is one reason why the client script may get stuck.

@mrwyattii OK，I will pay attention to the server log when the client is stuck next time.


Incorrect index links to files whose names contain #

https://unbox.ifarchive.org/?url=/if-archive/games/pc/spanish/zoo.zip
This zip file contains files where the name contains #, e.g. M#ROCKY.1.
To repro: Go to https://unbox.ifarchive.org/?url=/if-archive/games/pc/spanish/zoo.zip and click on the link to M#ROCKY.1
Actual: The link points to https://unbox.ifarchive.org/0impc5w62r/M#ROCKY.1 i.e. https://unbox.ifarchive.org/0impc5w62r/M with a "fragment identifier" of #ROCKY.1
Expected: https://unbox.ifarchive.org/?url=/if-archive/games/pc/spanish/zoo.zip should link to https://unbox.ifarchive.org/0impc5w62r/M%23ROCKY.1 (which does work)

Oops!
This should be fixed now, though the cache is still showing the error pages. I don't know if the IFArchive admin uncache button affects the individual unboxer file pages or not. But in any case, error pages should now only be cached up to one day.

I bounced the cache for that file.


Won't run post update

Microsoft PowerToys version
0.58.0
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
After updating to Windows 11 build 22000.708, Powertoys fails to open. The following is logged in the event viewer as Event ID 1000:
Faulting application name: PowerToys.Settings.exe, version: <IP_ADDRESS>, time stamp: 0x622f78e0
Faulting module name: Microsoft.WindowsAppRuntime.Bootstrap.dll, version: <IP_ADDRESS>, time stamp: 0x622fc69c
Exception code: 0xc0000409
Fault offset: 0x000000000000124d
Faulting process id: 0x1848
Faulting application start time: 0x01d8731e54e04500
[Uploading PowerToysReport_2022-05-28-22-42-49.zip…]()

Faulting application path: C:\Program Files\PowerToys\Settings\PowerToys.Settings.exe
Faulting module path: C:\Program Files\PowerToys\Settings\Microsoft.WindowsAppRuntime.Bootstrap.dll
Report Id: 4275ce40-4554-4a67-a442-d2a3cb640cae
Faulting package full name:
Faulting package-relative application ID:

I have also attached the debug dump from Powertoys
✔ Expected Behavior
It to work :P
❌ Actual Behavior
No response. Tray icon is present and menu options available, but clicking yields nothing.
Other Software
No response

Uploading PowerToysReport_2022-05-28-22-42-49.zip…

/dup #18015
Please check if anything there helps you.


ROX-14127: VulnScanWithGraphQLTest multi-arch image update

Updates test image to use the multiarch version
Following changes have been made in the test case for the mulitarch image

Updated total number of CVE's in image
Updated CVE in graphQL query from CVE-2017-18190 to CVE-2017-12611
Updated base image from debian:8 to ubuntu:20.04

/test ocp-4-10-qa-e2e-tests
/test ocp-4-12-qa-e2e-tests

/retest

/test ocp-4-10-qa-e2e-tests
/test ocp-4-12-qa-e2e-tests

/test ocp-4-13-qa-e2e-tests

/retest


Support Bazel auth_headers qualifier

This allows for headers set by repository rules (via repository_ctx.download auth parameter) to be handled by bb-remote-asset

@Qinusty done!


Add redirects for GitHub URLs

This adds some redirects so that you can replace github.com with hud.pytorch.org and go to the relevant page on the HUD. This should make it easier to get to the HUD without hunting for the Dr. CI comment

I'll add it to the wiki which should hopefully be more apparent with #144


Cast a website

I'd love to be able to cast a website using this project. Something like castnow http://www.bbc.co.uk/news

Chromecast doesn't support HTML work around would be to take a screenshot of the page and stream it.

Are you sure? I just 3 minutes ago got it working
It seems to be rendering just like Chrome, but on my chromecast
jquery .ajax is working, at least
and css3 eg flexbox
Wowwww
Overscan is bad though, but that's my TV.
My problem was google said "app id ready to use in 15 min" but actually
more like 2 hours
James
On 28 November 2015 at 19:15, hemanth.hm<EMAIL_ADDRESS>wrote:

Chromecast doesn't support HTML work around would be to take a screenshot
of the page and stream it.
—
Reply to this email directly or view it on GitHub
https://github.com/xat/castnow/issues/118#issuecomment-160330035.

Well, as per the docs: Supported Media for Google Cast

If you are using their API from a chrome extension then that's a different story, castnow is focusing on CLI if you have cracked it on the same, well and good!

Duplicate #69

So after this work, I would like to update the request to:
"Please can I launch an APPID from castnow"
Something like castnow appid://YouTube would show a red background with a huge YouTube logo in the middle, and castnow appid://794B7BBF would show "Talk to me" (it's a sample app by Google)

phantom.js could take the screenshot of website fast.


docs may be misleading for Google Pixel 6 Pro

specifically:
https://github.com/DenisovAV/flutter_gemma/blob/main/README.md?plain=1#L50
In my experience, the absence of those lines from the manifest resulted in:
Failed to get gemma response, lateinit property inferenceModel has not been initialized, null

nice project btw :)

Hi  @ewann, thanks for highlighting this! Are you also experiencing this error with the CPU version of Gemma? On my Pixel 8, I only need these lines for the GPU model

Can you please try with it-cpu-int4


"Title" property should show the action first, organization last

This applies to most of the views (see below for list).
The title is set by the views like this:
<% content_for :title, "#{current_organization.name} - Inventory - Barcode Items" %>

However, this results in the title of the tab always showing the organization name first, which makes multiple tabs all look identical. The order should be reversed, so that the tab titles :
<% content_for :title, "Barcode Items  - Inventory - #{current_organization.name}" %>

This is a pretty trivial change, but it hits a lot of files. It may break some specs (if it does, feel free to evaluate those tests for brittleness)
/diaper/app/views/ $ grep -lR "content_for :title" *
adjustments/index.html.erb
adjustments/show.html.erb
adjustments/new.html.erb
admin/organizations/edit.html.erb
admin/organizations/index.html.erb
admin/organizations/show.html.erb
admin/organizations/new.html.erb
admin/barcode_items/index.html.erb
admin/users/index.html.erb
admin/users/new.html.erb
admin/canonical_items/edit.html.erb
admin/canonical_items/index.html.erb
admin/canonical_items/show.html.erb
admin/canonical_items/new.html.erb
barcode_items/edit.html.erb
barcode_items/index.html.erb
barcode_items/show.html.erb
barcode_items/new.html.erb
dashboard/index.html.erb
devise/registrations/edit.html.erb
diaper_drive_participants/edit.html.erb
diaper_drive_participants/index.html.erb
diaper_drive_participants/show.html.erb
diaper_drive_participants/new.html.erb
distributions/index.html.erb
distributions/pick_ups.html.erb
distributions/reclaim.html.erb
distributions/show.html.erb
distributions/print.html.erb
distributions/new.html.erb
donations/edit.html.erb
donations/index.html.erb
donations/add_item.html.erb
donations/remove_item.html.erb
donations/show.html.erb
donations/new.html.erb
donations/scale.html.erb
donation_sites/edit.html.erb
donation_sites/index.html.erb
donation_sites/show.html.erb
donation_sites/new.html.erb
items/edit.html.erb
items/index.html.erb
items/show.html.erb
items/new.html.erb
organizations/edit.html.erb
organizations/show.html.erb
partners/edit.html.erb
partners/index.html.erb
partners/approve_partner.html.erb
partners/show.html.erb
partners/new.html.erb
purchases/edit.html.erb
purchases/index.html.erb
purchases/show.html.erb
purchases/new.html.erb
requests/index.html.erb
requests/show.html.erb
storage_locations/edit.html.erb
storage_locations/index.html.erb
storage_locations/show.html.erb
storage_locations/new.html.erb
transfers/index.html.erb
transfers/show.html.erb
transfers/new.html.erb
users/index.html.erb
users/new.html.erb

Hi @armahillo ,
Let me work on this issue

@baonguyen1320 Go for it!


Client: Wrap icons to prevent duplicates

For example Users are using Meh icon, thus create UsersIcon to wrap antd's one.

Done.


Ensure fsid of all daemons are the same

In a cluster, fsid of all daemons must be the same. But there could be an issue if multiple clusters are running on the same machines and fsid's get mixed up.

I think this isn't something we're going to see (multiple Ceph clusters sharing hosts). So I am closing this.