Unable to login with fresh clean install

Hey there!
So, I've tried to spin up an instance (self-hosted in my homelab), followed the docs. managed to get the container up and running but when trying to login for the first time I get an error as shown in the screen attached

And this in the container logs
[20/Oct/2023:20:01:25 +0000] "GET /favicon.ico HTTP/1.1" 200 4286 "http://<openpim ip>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" 2023/10/20 20:01:29 [error] 18#18: *15 connect() failed (111: Connection refused) while connecting to upstream, client: <my pc ip>, server: _, request: "POST /graphql HTTP/1.1", upstream: "http://<IP_ADDRESS>:8080/graphql", host: "<openpim ip>", referrer: "http://<openpim ip>/" <my pc ip> - - [20/Oct/2023:20:01:29 +0000] "POST /graphql HTTP/1.1" 502 575 "http://<openpim ip>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
Any idea of what is wrong here?
Thanks!

Hi,
Please take a look at the docker logs during container start. You should see some errors there related to the server.

@openpim yes, the errors are already provided in the original post, in particular, this bit
failed (111: Connection refused) while connecting to upstream, client:
seems the culprit, but not really sure where / what it's missing.
I've seen that error previously when working directly with Apache2 (or Nginx, can't remember which one) due to a misconfiguration of the webserver, so it's seem there is something wrong in the config of the docker image (I'd imagine)
Thanks

it should be more output in the log. But there is another way. You can execute the command
sudo docker exec -it  /bin/bash
where  is the id of container where OpenPIM is running. So you will start the shell script inside the container and there you can execute the command:
cat server.log
to see the output of the server log. There should be some addition information

Ok, seems there are issues while connecting to the database
`2023/11/09 10:00:38.569 [info]:  Arguments: /usr/local/bin/node,/server/dist/src/index.js
(sequelize) Warning: PostgresSQL does not support 'INTEGER' with LENGTH, UNSIGNED or ZEROFILL. Plain 'INTEGER' will be used instead.

Check: http://www.postgresql.org/docs/9.4/static/datatype.html
/server/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:130
reject(new sequelizeErrors.ConnectionRefusedError(err));
^
ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED <IP_ADDRESS>:5432
at Client._connectionCallback (/server/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:130:24)
at Client._handleErrorWhileConnecting (/server/node_modules/pg/lib/client.js:305:19)
at Client._handleErrorEvent (/server/node_modules/pg/lib/client.js:315:19)
at Connection.emit (node:events:513:28)
at Socket.reportStreamError (/server/node_modules/pg/lib/connection.js:52:12)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
parent: Error: connect ECONNREFUSED <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
},
original: Error: connect ECONNREFUSED <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432`

And by looking again at the logs, seems there was some issues during the import of the init.sql step of the docs, maybe some permission missing on the dedicated user?
Will try a different way later today, but are there any specific requirements / instructions for this part?
Thanks!

Oh wait...
Just realized that I'm getting a different error of the initial one...
In this case the login screen is not even showing up...
Further troubleshooting then

Success!
I was finally able to start it and using it.
The main issues were permissions on the database, in particular
2023/11/09 10:24:25.238 [info]:  Running a GraphQL API server at http://localhost:8080/graphql  node:internal/process/promises:279             triggerUncaughtException(err, true /* fromPromise */);             ^ Error     at Query.run (/server/node_modules/sequelize/lib/dialects/postgres/query.js:50:25)     at /server/node_modules/sequelize/lib/sequelize.js:313:28     at processTicksAndRejections (node:internal/process/task_queues:96:5)     at async PostgresQueryInterface.select (/server/node_modules/sequelize/lib/dialects/abstract/query-interface.js:396:12)     at async Function.findAll (/server/node_modules/sequelize/lib/model.js:1128:21)     at async ModelsManager.initLanguages (/server/dist/src/models/manager.js:397:27)     at async ModelsManager.initModels (/server/dist/src/models/manager.js:233:9)     at async ModelsManager.init (/server/dist/src/models/manager.js:226:9) {   name: 'SequelizeDatabaseError',   parent: error: permission denied for table languages       at Parser.parseErrorMessage (/server/node_modules/pg-protocol/dist/parser.js:287:98)       at Parser.handlePacket (/server/node_modules/pg-protocol/dist/parser.js:126:29)       at Parser.parse (/server/node_modules/pg-protocol/dist/parser.js:39:38)       at Socket.<anonymous> (/server/node_modules/pg-protocol/dist/index.js:11:42)       at Socket.emit (node:events:513:28)       at addChunk (node:internal/streams/readable:315:12)       at readableAddChunk (node:internal/streams/readable:289:9)       at Socket.Readable.push (node:internal/streams/readable:228:10)       at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {     length: 97,     severity: 'ERROR',     code: '42501',     detail: undefined,     hint: undefined,     position: undefined,     internalPosition: undefined,     internalQuery: undefined,     where: undefined,     schema: undefined,     table: undefined,     column: undefined,     dataType: undefined,     constraint: undefined,     file: 'aclchk.c',     line: '3447',     routine: 'aclcheck_error',     sql: 'SELECT "identifier", "name", "id", "tenantId", "createdBy", "updatedBy", "createdAt", "updatedAt", "deletedAt" FROM "languages" AS "Language" WHERE ("Language"."deletedAt" IS NULL) ORDER BY "Language"."tenantId" DESC, "Language"."id" ASC;',     parameters: undefined   },   original: error: permission denied for table languages       at Parser.parseErrorMessage (/server/node_modules/pg-protocol/dist/parser.js:287:98)       at Parser.handlePacket (/server/node_modules/pg-protocol/dist/parser.js:126:29)       at Parser.parse (/server/node_modules/pg-protocol/dist/parser.js:39:38)       at Socket.<anonymous> (/server/node_modules/pg-protocol/dist/index.js:11:42)       at Socket.emit (node:events:513:28)       at addChunk (node:internal/streams/readable:315:12)       at readableAddChunk (node:internal/streams/readable:289:9)       at Socket.Readable.push (node:internal/streams/readable:228:10)       at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {     length: 97,     severity: 'ERROR',     code: '42501',     detail: undefined,     hint: undefined,     position: undefined,     internalPosition: undefined,     internalQuery: undefined,     where: undefined,     schema: undefined,     table: undefined,     column: undefined,     dataType: undefined,     constraint: undefined,     file: 'aclchk.c',     line: '3447',     routine: 'aclcheck_error',     sql: 'SELECT "identifier", "name", "id", "tenantId", "createdBy", "updatedBy", "createdAt", "updatedAt", "deletedAt" FROM "languages" AS "Language" WHERE ("Language"."deletedAt" IS NULL) ORDER BY "Language"."tenantId" DESC, "Language"."id" ASC;',     parameters: undefined   },   sql: 'SELECT "identifier", "name", "id", "tenantId", "createdBy", "updatedBy", "createdAt", "updatedAt", "deletedAt" FROM "languages" AS "Language" WHERE ("Language"."deletedAt" IS NULL) ORDER BY "Language"."tenantId" DESC, "Language"."id" ASC;',   parameters: {} }
I've used the default postgres user and that seemed to work.
This means that the "standard" procedure of creating the database and a dedicated user, along with "grant all privileges" is not enough.
I believe it's worth mentioning that on the docs? That basically a "superuser" is required, at least from what I understand.
Beside this, feel free to close this one as completed!
Thanks for the support!

if you have PG installed and ,running docker on the same machine try to use host.docker.internal instead of <IP_ADDRESS> or localhost
example:
docker run -d -p 80:80 -v [path to file storage]:/filestorage --env OPENPIM_DATABASE_ADDRESS=host.docker.internal --env OPENPIM_DATABASE_NAME=[database name] --env OPENPIM_DATABASE_USER=[database user] --env OPENPIM_DATABASE_PASSWORD=[database password] openpim/production:2.0

I also got an error when logging in on a fresh install telling me the user was not authenticated, and I remained on the login screen. But the docker logs said
User admin was logged on. Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidGVuYW50SWQiOiJkZWZhdWx0IiwibG9naW4iOiJhZG1pbiIsImlhdCI6MTcyNzk0NjU4NywiZXhwIjoxNzI4MDMyOTg3fQ.07CUVDYv3bBsSYCwpmHXoSUSUTp75xX1qVA5k3ipFiE
Just had to manually go to the dashboard.


Support for combining characters

The way I usually type an accented character (on macOS with the British keyboard) is that I first type the accent, then the character it will combine with. For example, to get ü, I type Alt-U to get the umlaut, then 'u'.
If I do this in the editor demo, something strange happens. Starting with an empty editor window, I type the umlaut, and this appears:

Then when I type the 'u':

Hi Benjamin,
I have finished my other changes to SPEEDy and am ready to start
integrating your scripts. But I just wanted to check with you whether your
script will work with single characters at a time, or whether it has to be
given an entire text to make the decisions it makes. I ask, because SPEEDy
works on the basis that a single character maps to a single
HTMLSpanElement, and the only way I can think of integrating your script
would be to intercept the key-press event and pass the keyboard character
to the script. This means that I would need to call your library one
character at a time.
Is this possible?
Thanks,
Iian
On Wed, 20 Feb 2019 at 22:58, Benjamin Geer<EMAIL_ADDRESS>wrote:

The way I usually type an accented character (on macOS with the British
keyboard) is that I first type the accent, then the character it will
combine with. For example, to get ü, I type Alt-U to get the umlaut, then
'u'.
If I do this in the editor demo, something strange happens. Starting with
an empty editor window, I type the umlaut, and this appears:
[image: screenshot 2019-02-20 at 13 52 17]
https://user-images.githubusercontent.com/558389/53093106-cc9e7480-3516-11e9-922e-c81dcce17795.png
Then when I type the 'u':
[image: screenshot 2019-02-20 at 13 56 29]
https://user-images.githubusercontent.com/558389/53093312-5c442300-3517-11e9-8caf-6873047bfac7.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/argimenes/standoff-properties-editor/issues/19, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAj4oRLpE4-zHUzAt7o22ZccRXpIrGGPks5vPUZngaJpZM4bFJ__
.

Hi Iian,
Thanks for letting me know, that's great. I'll reply in #18.
Ben


Enable qt-dependent packages to cross-compile on arm64

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please re-render

Can you send a PR to fix the existing package? i.e. a PR to conda-forge-repodata-patches-feedstock

@isuruf, done: https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/225


Ngrok binary won't download

Hello,
Thanks for this extension. After activating this extension and restarting VSCode, I get the error:

Can't update ngrok binary. The extension may not work correctly.

Upon further inspection, in the debug logs, I get:

When I ll into the extension directory, I notice that the bin directory is missing. If I manually create this directory after installation, but before doing a ngrok start command (which kicks off the binary download), and THEN do ngrok start, it works!
Not sure why the bin directory is missing upon installation. I even completely wiped the extension directory and did a reinstallation and the same thing occurred.
ENV NOTES:

OSX 11.5.2
VS Code 1.60.0
Extension version: 1.9.1

Hey @synth, thanks for the report and sorry that it's currently broken. I have recently updated the ngrok dependency, so that might fix things. I'll see what I can do to release a new version that should work as soon as possible.

No problem, thanks!

Hi,
Just got the same error:
This was in the Log (Window)
2021-12-23 11:56:08.847] [renderer1] [error] [Extension Host] (node:25780) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (UseCode --trace-deprecation ...to show where the warning was created) [2021-12-23 11:56:10.722] [renderer1] [error] An unknown error occurred. Please consult the log for more details. [2021-12-23 11:56:48.682] [renderer1] [error] [Extension Host] ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip [2021-12-23 11:56:49.134] [renderer1] [error] [Extension Host]  ngrok - error downloading from URL RequestError: certificate has expired     at ClientRequest.<anonymous> (c:\Users\chris\.vscode\extensions\philnash.ngrok-for-vscode-1.9.1\dist\extension.js:2:72009)     at Object.onceWrapper (events.js:422:26)     at ClientRequest.emit (events.js:327:22)     at ClientRequest.e.emit (c:\Users\chris\.vscode\extensions\philnash.ngrok-for-vscode-1.9.1\dist\extension.js:2:10510)     at TLSSocket.socketErrorListener (_http_client.js:469:9)     at TLSSocket.emit (events.js:315:20)     at emitErrorNT (internal/streams/destroy.js:106:8)     at emitErrorCloseNT (internal/streams/destroy.js:74:3)     at processTicksAndRejections (internal/process/task_queues.js:80:21)     at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)     at TLSSocket.emit (events.js:315:20)     at TLSSocket._finishInit (_tls_wrap.js:932:8)     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12) . . . 2021-12-23 12:10:45.747] [renderer1] [warning] Settings pattern "keyboard.*" doesn't match any settings [2021-12-23 12:15:17.612] [renderer1] [warning] Settings pattern "keyboard.*" doesn't match any settings [2021-12-23 12:17:09.233] [renderer1] [error] spawn c:\Users\chris\.vscode\extensions\philnash.ngrok-for-vscode-1.9.1\dist\bin\ngrok.exe ENOENT: Error: spawn c:\Users\chris\.vscode\extensions\philnash.ngrok-for-vscode-1.9.1\dist\bin\ngrok.exe ENOENT     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)     at onErrorNT (internal/child_process.js:465:16)     at processTicksAndRejections (internal/process/task_queues.js:80:21)
as a workaround, I copied my ngrok.exe to the extension's bin folder:
c:\Users\chris.vscode\extensions\philnash.ngrok-for-vscode-1.9.1\dist\bin\ngrok.exe

I also ran into the same issue as @christopher-read and his solution fixed it

I've just updated the ngrok dependency again. If you are still getting this problem, could you try updating to 1.9.2 and running it again? Thanks!


Portfolio mobile version

Adding html file
Adding css file
Adding linters set up
Adding .stylintrc.json
Adding gitignore file
Adding .hintrc file

Hi @Hazard10-eng,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request

Kindly make sure all the sections on the template present on your Readme file and replaced with your project info. Also please add the MIT license file and make sure the related link to your license file on your Readme works finely. 👌
Kindly fix the merge conflicts.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


chart: support Talos Linux

Pull Request

[ ] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Features
Bug fixes
Docs
Tests

Add support for installing Kube-OVN on Talos Linux
It also requires https://github.com/kubeovn/kube-ovn/pull/3585 to work
Which issue(s) this PR fixes
Fixes #(issue-number)
WHAT
copilot:summary
copilot:poem
HOW
copilot:walkthrough

@zhangzujian thanks, PR rebased

Please resolve the conflict.

Please resolve the conflict.
Sure, done


Create a gulp plugin

to automatically incorporate this into your Javascript build process.

I'm going to close this. I don't honestly want to rewrite this in javascript, but I still think it's a good goal, regardless.


Result object always returned

From user

Smaller niggle:

res = dsl.query('search publications where doi = "10.1007/978-0-387-79061-9" return publications[times_cited]')
Then there should ideally not be any text written to the console.  Not sure if this is a Python problem. However I have never seen this with other calls of a method

One way at the moment is to do build the Dsl objects like this:
dsl = dimcli.Dsl(show_results=False)

The value is normally set to True to support better Jupyter, where the results is automatically transformed into a handy interactive JSON-widget.
I wonder if there's a way to detect the Jupyter environment some other way...


Adding key_prefix and dry_run to upload subcommand

This PR:

Adds --key-prefix and --dry-run (longform required) to taskcat upload subcommand
Fixes a bug in CliCore.longform_param_required that affected CLIModules that were classes (Upload, for example)
NOTE: CliCore.longform_param_required was not in use previously, so the bug was not encountered.

The use-case for dry-run is pretty edge, but in conjunction with key-prefix, it may be desirable to see the effects without uploading.
The upload logic and logging messages have been modified to reflect this flag. All other operations - object comparision, flagging for delete, and so on, still exist.
The net-result is that the user will see what objects are being uploaded/deleted, without the upload/delete actually occuring.

/do-e2e-tests


Awesom

Contribution Guidelines
Please ensure your pull request adheres to the following guidelines:

Search previous suggestions before making a new one, as yours may be a duplicate.
Suggested tools/tweaks should be tested and documented.
Make an individual pull request for each suggestion.
Use the following format: [tool/tweak](link) - Description.
New categories or improvements to the existing categorization are welcome.
Keep descriptions short and simple, but descriptive.
End all descriptions with a full stop/period.
Check your spelling and grammar.
Make sure your text editor is set to remove trailing whitespace.
The pull request should include a link to the tool/tweak and why it should be included.

Thank you for your suggestions!

Contribution Guidelines
Please ensure your pull request adheres to the following guidelines:

Search previous suggestions before making a new one, as yours may be a duplicate.
Suggested tools/tweaks should be tested and documented.
Make an individual pull request for each suggestion.
Use the following format: [tool/tweak](link) - Description.
New categories or improvements to the existing categorization are welcome.
Keep descriptions short and simple, but descriptive.
End all descriptions with a full stop/period.
Check your spelling and grammar.
Make sure your text editor is set to remove trailing whitespace.
The pull request should include a link to the tool/tweak and why it should be included.

Thank you for your suggestions!


admin dashboard

currently activate person, when it expires
recent person (contribute, skip?)
how many people are skipping (what method of comms?)
who is on deck
latest frames

any admin actions to consider?

pause action? if stuff is going haywire, tell cron to just do nothing maybe.


Adding card and intern images(small)

created a card of 8 intern and added all the small images of intern in images folder


Android support

Hi,
are there any plans for android support? :)
Regards
Philipp

Hi Philipp, I'm no plan. Because I did not follow up React Native's update. Who can do it？

@booxood Do you plan to further maintain this repo? If not, I could think about cloning it, adding android support and maintaining it further.

@PhilippKrone No plan recently. You can fork and maintain it.


[avocado-151] Fix build error due to downstream change in ADAM.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/avocado-prb/81/
Test PASSed.


Question: Should SMTP_FROM override the from of relayed emails?

Hey, I am successfully using this image to relay emails and I was wondering what the exact behavior of the SMTP_FROM variable is in this case. From what I understood it should overwrite the from of all incoming mails before relaying them to SMTP_HOST. Unfortunately thats not the case for me. The original from is just untouched. Am I doing something wrong, or do I need to enable the replacement of from separately?
P.S.: Thanks for this great image I really enjoy the simplicity of it.

@Smuerdt Sorry for the delay

I was wondering what the exact behavior of the SMTP_FROM variable is in this case. From what I understood it should overwrite the from of all incoming mails before relaying them to SMTP_HOST.

The envelope-from address will be set if the mail does not have one because set_from_header default to auto. I will add an option to be able to change that.

P.S.: Thanks for this great image I really enjoy the simplicity of it.

Thanks, that's why I created it. I wanted something simple and powerful.

@Smuerdt https://github.com/crazy-max/docker-msmtpd/releases/tag/1.8.15-r2


Save dashboard with board parameters

When there too many parameters in a board. it's not easy to recover all the params after session timeout. It would be good for user to save a dashbaord bind with their own parameters.

Finally, we figure out another solution by adding a filter save function for each board of user.


License

If this project is paid for by public funding, why isn't it licensed under the public domain?
https://creativecommons.org/publicdomain/zero/1.0/

What is wrong with Apache License Version 2.0 exactly?

In the UK, government funded work is under Crown Copyright rather than public domain. Crown Copyright has almost no restrictions except the government retains copyright. In practice this is as reusable as it would be if it were in the public domain but, in principle, the government can enforce copyright if it wanted to, which some might say could happen if the government wanted to manufacturer a legal position against a particular group or individual.
An agency can additionally state that the work is available under the Open Government Licence which is compatible with the Creative Commons Attribution license. I encourage the owners of the Gaffer repository to state that the code and documentation is also available under the OGL by following the guidance here

@iand Thanks for clearing that up.
In the US, public domain applies. That's what '18f' and the 'US Digital Service' use.
Since it's a government sourced project, it might be desirable to set a good precedent by using the government-specific open license.

On an unrelated note, since it's appears to be bundled with Apache Cumulo derivatives the project will need to retain the NOTICE(s) from that project.
Disclaimer: IANAL, just a guy who has spent a lot of time researching open licenses to cover my own backside.

@iand Thank you for your comment. We have taken advice and are happy that the Apache License is appropriate for this project, and do not think that additionally releasing it under the OGL would provide extra benefit to software developers.

@gaffer01 :+1:


Option to allow pretty print without alpha sorting

Right now, the options are colors, format, and all, but often the order of the json returned is intentional and for clarify. It would be nice to be able to pretty print the json without having it's keys sorted :)
Awesome tool, and thanks very much for everything!

+1
Please add this option. Sorting is a deal breaker for me.

Any news about this?

+1

+1

This problem is indeed misleading. I struggled a bit to understand why my (server side) OrderedDict was not correctly serialised in my app, then I finally understood that the culprit was not the server but indeed the client re-sorting the keys. It is sometimes useful to have the keys sorted, but for an HTTP client, having a default that changes the response content does not sound like the right thing.
Thanks for the amazing tool anyway ;)

@jkbrzt: You mention a while back in https://github.com/jkbrzt/httpie/pull/151#issuecomment-139560575 that you wanted a more generic solution to this problem; was any progress made on that?

@msabramo it's still on my to do list but not progress yet

1 this really needs to become a feature.

Thanks for this amazing tool!

I wrote an HTTP client for Sublime Text that's also built on top of Requests, called Requester. I also wanted to allow users to choose whether or not keys for JSON responses are sorted, so I added a 'fmt' argument to calls to requests.
I solved it like this. If the response body is JSON, calling res.json() on the response object res returns a Python dictionary. At this point you can pass the dict to json.dumps to specify indentation and whether keys are sorted. However, if you just return res.text (equivalent to returning the raw response body) the keys won't be sorted.

Has this feature been added? I tried with --pretty=unsorted but I get
http: error: argument --pretty: invalid choice: 'unsorted' (choose from 'all', 'colors', 'format', 'none')

Anyway, just passing --pretty=colors did the trick, the output is not sorted (I already format the output), but I found no wayt to specify something like --pretty=colors,format
$ http --version
0.9.9

This feature should be default. I love HTTPie, but resorting the keys - while convenient for some usage - is confusing if you don't realize, that client tool does this. Piping http to jq -C is a workaround, but it should be default behavior. While the order is not probably that important for a machine, it may be for a human observer.

Knock-knock... 7 years after... any updates?

Anybody know of an httpie fork that took care of this annoying issue?

I found the following workaround, instead of using httpie I found curlie, which seems to

Like curl but unlike httpie, headers are written on stderr instead of stdout.

So I can use it like this:
$ curlie GET localhost:3000/tasks | jq -C
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 304
ETag: W/"130-ED1W4hQo1i7na7wy5Ewc7iKdoJc"
Date: Wed, 27 May 2020 06:28:26 GMT
Connection: keep-alive

[
  {
    "id": 2,
    "title": "new task2",
    "description": "description2",
    "status": "OPEN"
  },
  {
    "id": 3,
    "title": "new task3",
    "description": "description3",
    "status": "OPEN"
  }
]

Where as with httpie I would the headers
BTW, I created this convenient script:
$ cat ~/bin/c
curlie "$@" | jq -C

How about this?
Disable the default header and JSON key sorting, and specify a custom JSON indent size:
$ http --format-options headers.sort=false,json.sort_keys=false,json.indent=2 httpbin.org/get

  --format-options FORMAT_OPTIONS
      Controls output formatting. Only relevant when formatting is enabled
      through (explicit or implied) --pretty=all or --pretty=format.
      The following are the default options:

          headers.sort=true
          json.format=true
          json.indent=4
          json.sort_keys=true

      You can specify multiple comma-separated options. For example, this modifies
      the settings to disable the sorting of headers and JSON keys:

          --format-options headers.sort=false,json.sort_keys=false

      This is something you will typically put into your config file.

It’s already master & feedback would be appreciated! (Install HTTPie from master.)

The idea behind the syntax is to allow more options to be easily added in the future. But I do realise that it’s quite a verbose one. On the other hand, I would expect people to set it once in the config file and not type it manually. Thoughts?

Thanks a lot for the reply, being able to configure those options for format output would be great, speacially if you can just put it on a conf file.
I tried to install from master but I have the following issue:
$ sudo apt install python-pip
[...]

$ pip install --upgrade https://github.com/jakubroztocil/httpie/archive/master.tar.gz
Collecting https://github.com/jakubroztocil/httpie/archive/master.tar.gz
  Downloading https://github.com/jakubroztocil/httpie/archive/master.tar.gz
     | 2.2MB 34.5MB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-9g7C_j-build/setup.py", line 74
        download_url=f'https://github.com/jakubroztocil/httpie/archive/{httpie.__version__}.tar.gz',
                                                                                ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-9g7C_j-build/

$ pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)

$ python --version
Python 2.7.17

$ uname -a
Linux xps 5.0.0-1052-oem-osp1 #57-Ubuntu SMP Mon May 4 11:39:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Do I need python 3?

@opensas thanks for testing it out! Yes, you need Python 3.6+ (Python 2.7 is dead, and since v2.0.0 HTTPie does not support it).

@opensas if you have Docker installed, you can test it in a container:
$ docker run --rm -it python:3.8-slim

Then inside container:
$ pip install --upgrade https://github.com/jakubroztocil/httpie/archive/master.tar.gz

$ http --version
2.2.0-dev

I could install it with python3 -m pip install --upgrade https://github.com/jakubroztocil/httpie/archive/master.tar.gz
I tested it and it works ok with http --format-options headers.sort=false,json.sort_keys=false,json.indent=2
I'm trying to set those options in my config file, but I guess I have a trouble with the xx=xx options, I'm trying like this:
$ cat ~/.config/httpie/config.json
{
    "default_options": [
      "--format-options=headers.sort=false,json.sort_keys=false,json.indent=2"
    ]
}

What should be the correct syntax for my config.json file? DO I have to escape the = signs?

ok, I tried copying exactly the example provided in the docs but it's not taking the changes in the ~/.config/httpie/config.json file
$ cat ~/.config/httpie/config.json

{
    "default_options": [
      "--style=fruity"
    ]
}

@opensas what output do you get when you run http --debug?

@opensas the syntax is correct (it should be the same like on the CLI, there nothing special about the config options).

Sorry, I found the issue, I had a ~/.httpie/config.json from previous installation, so it was bypassing the file I created at ~/.config/httpie/config.json
just removed the .httpie folder and now everything works as expected
thanks a lot! I hope you can release this changes in the near future!
Some feedback:

I would consider setting headers.sort and json.sort to false by default, I think that changing the output order should be the exception and not the rule

perhaps also add a --format-options sort=[true|false] shortcut to set both headers.sort and json.sort at the same time

anyway, congrats on the excellent job you are doing

more feedback:
I think the easiest thing to use from the command line would be to allow something like:
--pretty=colors,format,unsorted

--pretty=all,unsorted

Sorry, I found the issue, I had a ~/.httpie/config.json from previous installation, so it was bypassing the file I created at ~/.config/httpie/config.json
just removed the .httpie folder and now everything works as expected

The $XDG_CONFIG_HOME-based  ~/.config/httpie location is also new in the yet-to-be-released version. Looks like a warning if both the locations exist would be helpful.

thanks a lot! I hope you can release this changes in the near future!

Yes, it should be out pretty soon.

I would consider setting headers.sort and json.sort to false by default, I think that changing the output order should be the exception and not the rule

I agree that silently changing the output order is generally not a good idea. Here, however, it’s part of the "prettification" meant for human consumption on the terminal, and the HTTP header and JSON key order is insignificant. Also, this behaviour has been the default for a long time, so a lot of people would have to change their config files to get back what they’re used to.

perhaps also add a --format-options sort=[true|false] shortcut to set both headers.sort and json.sort at the same time
more feedback:
I think the easiest thing to use from the command line would be to allow something like:
--pretty=colors,format,unsorted
--pretty=all,unsorted

Good point, a shortcut for toggling both the sortings might be handy.
Thanks for the feedback!

Just released v2.2.0 that addresses this issue. Learn about about the new --unsorted, --sorted and --format-options here:
https://httpie.org/docs#colors-and-formatting


Jm/revit spaces conversion

Description

Addresses to-do item for Spaces in https://github.com/specklesystems/speckle-sharp/issues/394 (the ToSpeckle and ToNative methods for Space objects and SpaceSeparationLine objects added)
Fixes ToNative method for Room item in https://github.com/specklesystems/speckle-sharp/issues/394 (use scaled center point instead of speckle center point for placement)

Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

How has this been tested?

Manual Tests, sent space separation lines, spaces and rooms to/from Rhino/GH and Revit

Docs

Will be updated ASAP

Thanks @jenessaman , I'll review this week!


Update copyright notice to 2023

Updated the 'update_copyright' script to include only those file types that still have the copyright dates in them.
Updated those files that still have copyright dates in them.
Type of change

[X] Bug fix~~
[ ] New feature~~
[ ] Documentation update~~
[ ] Other~~

How Has This Been Tested?

Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

- [ ] I have commented my code where applicable.
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have confirmed new and existing unit tests pass locally with my changes.
- [ ] I have added new baselines for any new tests to the repo.

[X] I have NOT made any changes to protocol or public interfaces in an RC branch.~~

I don't believe it is documented. Do you have any suggestions for location? 'Preparing for a Release' ?


ciao-launcher: allow hard-reset without configuration

Currently calling the hard-reset fails on a multi homed systems. This is due to the fact that the configuration is not available when performing hard reset.
Due to this the network interfaces do not get cleaned up.
Hence we need to perform reset even if the CN init fails.
Hence we should remove this check
https://github.com/mcastelino/ciao/blob/master/ciao-launcher/main.go#L559
and always perform reset even if networking  is not set.
glog.Info("Reset networking")

err := cnNet.ResetNetwork()
if err != nil {
	glog.Warningf("Unable to reset network: %v", err)
}

@mcastelino It looks like this one has been fixed.  Could you confirm?

@markdryan this has been fixed. We can close this


Deployment to OpenShift broken after latest update?

Its possible that I'm missing something, but from what I can tell something has changed in the latest version that causes deployment to OpenShift to break.
remote: npm WARN package.json<EMAIL_ADDRESS>No repository field.
remote: npm WARN package.json<EMAIL_ADDRESS>No license field.
remote: npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained.  System Linux 2.6.32-573.12.1.el6.x86_64
remote: gyp ERR! command "/var/lib/openshift/569583602d5271d51f000088/app-root/data/.iojs/bin/iojs" "/var/lib/openshift/569583602d5271d51f000088/app-root/data/.iojs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
remote: gyp ERR! cwd /var/lib/openshift/569583602d5271d51f000088/app-root/runtime/repo/node_modules/utf-8-validate
remote: gyp ERR! node -v v3.3.1
remote: gyp ERR! node-gyp -v v3.2.1
remote: gyp ERR! not ok
remote: npm WARN<EMAIL_ADDRESS><EMAIL_ADDRESS>install: `node-gyp rebuild`
remote: npm WARN<EMAIL_ADDRESS>Exit status 1
remote:
remote: ><EMAIL_ADDRESS>postinstall /var/lib/openshift/569583602d5271d51f000088/app-root/runtime/repo
remote: > gulp
remote:
remote: [18:05:21] Requiring external module babel-core/register
remote: [18:05:22] Using gulpfile /var/lib/openshift/569583602d5271d51f000088/app-root/runtime/repo/gulpfile.babel.js
remote: fs.js:549
remote:   return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
remote:                                                   ^
remote:
remote: Error: EACCES: permission denied, open '/var/lib/openshift/569583602d5271d51f000088/.babel.json'
remote:     at Error (native)
remote:     at Object.fs.openSync (fs.js:549:18)
remote:     at Object.fs.writeFileSync (fs.js:1155:15)
remote:     at save (/var/lib/openshift/569583602d5271d51f000088/app-root/runtime/repo/node_modules/babel-register/lib/cache.js:45:19)
remote:     at doNTCallback0 (node.js:407:9)
remote:     at process._tickCallback (node.js:336:13)
remote:
remote: npm WARN<EMAIL_ADDRESS>No repository field.
remote: npm WARN<EMAIL_ADDRESS>No license field.
remote: npm ERR! Linux 2.6.32-573.12.1.el6.x86_64
remote: npm ERR! argv "/var/lib/openshift/569583602d5271d51f000088/app-root/data/.iojs/bin/iojs" "/var/lib/openshift/569583602d5271d51f000088/app-root/data/.iojs/bin/npm" "i"
remote: npm ERR! node v3.3.1
remote: npm ERR! npm  v3.5.3
remote: npm ERR! code ELIFECYCLE
remote: npm ERR<EMAIL_ADDRESS>postinstall: 'gulp`
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'gulp'.
remote: npm ERR! Make sure you have the latest version of node.js and npm installed.
remote: npm ERR! If you do, this is most likely a problem with the slackin package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR!     gulp
remote: npm ERR! You can get information on how to open an issue for this project with:
remote: npm ERR!     npm bugs slackin
remote: npm ERR! Or if that isn't available, you can get their info via:
remote: npm ERR!     npm owner ls slackin
remote: npm ERR! There is likely additional logging output above.
remote:
remote: npm ERR! Please include the following file with any support request:
remote: npm ERR!     /var/lib/openshift/569583602d5271d51f000088/app-root/runtime/repo/npm-debug.log
remote: CLIENT_RESULT: io.js modules installed.
remote: Preparing build for deployment
remote: Deployment id is fe4008e2
remote: Activating deployment
remote: CLIENT_MESSAGE: Starting io.js application...
remote: CLIENT_RESULT: Warning! Could not start io.js application!
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 569583602d5271d51f000088 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/569583602d5271d51f000088/iojs
remote: #<IO:0x000000025ee2d0>
remote: #<IO:0x000000025ee258>
remote: )
remote: Deployment completed with status: failure
remote: postreceive failed
To<EMAIL_ADDRESS> + 0bcc963...fcaae54 master -> master (forced update)

There is nothing in the  /var/lib/openshift/569583602d5271d51f000088/app-root/runtime/repo/npm-debug.log file, nor is there even a /var/lib/openshift directory

I just wanted to note I had the same problem when deploying in the node:4.2 docker image. I had to roll back to<EMAIL_ADDRESS>to get it to work.

@nsvrana reverting back to 0.7.3 fixed it for me as well.

This can be fixed with the following command:
rhc env-set -a slackin BABEL_CACHE_PATH="/var/lib/openshift/{instance}/app-root/repo/.cache/.babel.json"
Might be a more elegant way to do it to grab the path in an automated way, but that should fix that error.

reverting to 0.7.3 also fixed it for me, the fix from @joshelson didn't seem to work for me

@joshelson command did not work for me, even after restart Slackin application on OpenShift. Any idea why ??
Or can someone explain me how to rever to 0.7.3 ?
Welcome to io.js on OpenShift!

Everything seems to be in order.

Running io.js:
- http_parser: 2.5.0
- node: 3.3.1
- v8: <IP_ADDRESS>
- uv: 1.7.4
- zlib: 1.2.8
- ares: 1.10.1-DEV
- modules: 45
- openssl: 1.0.2d

Thanks !!

@Lopera - you can change the version number inside package.json, line 3 as shown below:

... I am lost :-/ Where is located that file ?
I found a package.json in rhc application at slackin-jlopera.rhcloud.com 57221dab0c1e66243f0001a1 folder /git/slackin.git/ but is a different file.

The one you show me is in the slackin-master, I change that value, but I don't know how to update the rhc application with that one.

@Lopera I'd suggest just starting again from step 5 of the instructions
As soon as you clone the repo, there should be a package.json in the root of the directory you have just created, the folder structure should be just like the repo: https://github.com/rauchg/slackin. The package.json I refer to is the one right there: https://github.com/rauchg/slackin/blob/master/package.json
Change that to the version you want, and then continue step 5.
See how that goes 👍

Just because I may not have been specific enough before, the set-env command I reference above needs to be run on a "clean" OpenShift instance before you've attempted to clone and deploy the code.  If you do it after the fact, it won't work quite how you expect.

Thanks @GraemeFulton @joshelson I'll keep trying. I'll tell you when it works :-)


Animations not working

Think it may have to do with priorities, or maybe the update blocks

In Mob.java: doing the following will make animations work again.
    public final void animation(Animation newAnimation) {         Optional<Animation> set = Optional.of(newAnimation);         if (set.isPresent()) {             animation = set;             updateFlags.flag(UpdateFlag.ANIMATION);         }     }
And here's original for reference:
    public final void animation(Animation newAnimation) {         Optional<Animation> set = animation.                 filter(newAnimation::overrides).                 map(it -> newAnimation);         if (set.isPresent()) {             animation = set;             updateFlags.flag(UpdateFlag.ANIMATION);         } }


OpenApi : $ref values must be RFC3986-compliant percent-encoded URIs

Expected Behavior
Visit xxx/spec to get the openapi file. Use tools like https://editor.swagger.io/ to import it works.
Actual Behavior
Due to the presence of a generic type for the requested in/out parameter. Gives the following error: $ref values must be RFC3986-compliant percent-encoded URIs .

Specifications

Version: poem-openapi 2.0.26

Some of the same questions
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/752

I think this is a duplicate of #318


[ASCII-2573] Add versioning to agent scrubber

What does this PR do?
This PR adds the version when each scrubber rule where implemented, it will be used in the rapid-flare service to inject a condition function to determine if we should apply the rule depending of the flare version to avoid to scrub twice and remove too much information from the flare.
Motivation
Describe how you validated your changes

Unit test are already covering the behavior
Possible Drawbacks / Trade-offs
Additional Notes

/merge


spacy

Chaquopy version

Relevant parts of your build.gradle file

Describe your issue

I want spacy on ios.
thank you.

Closed in favor of beeware/mobile-forge#5


custom filters

Added the ability to add custom filters . . . this was born from my desire to verify ansible filters with jinja2-live-parser . . .

Hello,
Sorry for the very late answer.  I added support for custom filters.
Thanks,
Antonin.


Window grid manager appears while the topbar is hidden

Title self explanatory, if i hold the mouse to where the maximize window button usually is, the window grid manager appears
https://github.com/user-attachments/assets/5c3ec61d-bcb7-4080-8bc6-6117e2b20968

Does this same problem also happens on the default zen compact mode?


[Accessibility][Keyboard Navigation - Homepage]: Multiple controls on homepage including ‘Examples’ section is not accessible via Keyboard.

User Experience:
For keyboard users it is difficult to complete the task is if any control is not accessible via keyboard.
Test Environment:
Environment: Chromium Edge (Anaheim) + Narrator
Build Version: 2004 (OS Build 19564.1005)
Microsoft Edge Version: 82.0.425.0 (Official build) canary (64-bit)
Test URL: http://localhost:3000/home
Repro Steps:

Open URL: http://localhost:3000/home
Navigate on homepage with tab key and observe the issue.

Actual Result:
Multiple controls on homepage i.e. ‘New’, ‘Empty Bot-1’ buttons, Video tutorial links and ‘Examples’ section  is not accessible via Keyboard.
Expected Result:
Every interactive control on homepage should be accessible via Keyboard.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={8492c4eb-c179-40ae-8777-cd044ed725a2}
Attachment:
MAS2.1.1_Bot Framework_Homepage.zip

@beyackle  As checked and verified on below environment, the highlighted controls are still not accessible with keyboard. I downloaded below Master build file last updated on 18th April.

Test Environment
Browser: Microsoft Edge Dev {Version 83.0.467.0 (Official build) dev (64-bit)}
OS build: 2004 (19588.1000)
Screen Reader: Narrator
URL: Bot Framework Composer
Prerequisite Here

@beyackle As well as now the focus lands on 'New' and "Recent Bot" card are accessible by keyboard but they are not opened when user press ENTER or Spacebar.
Please look into the attached video:
Bug 2011_regression 21042020.zip

As checked the issue is resolved. So HCL is closing the issue.


Fix types over memoization & migrate interface Event to ICalendarEvent

This address an issue with typings which were not making it through memoization.
Migrate the type Event<T> to ICalendarEvent<T> to avoid type collision with native Event type.

@acro5piano Don't know why the tests fails. I've tested under Windows and REHL 7 with no problem. Can you re-run it?

There seems to be a problem on our unit test. The result sometimes changes.

There seems to be a problem on our unit test. The result sometimes changes.

Tests pass every time locally. Might it be a CI problem?

There seems to be a problem on our unit test. The result sometimes changes.

Tests pass every time locally. Might it be a CI problem?

Yeah, it should be fixed, but for now rerunning test in CI might fix it.
Thanks for your contribution and I'll check it tomorrow and hopefully release a new version!

@sebastienfi Sorry for the delay and thank you!


Cast float to int in order to always have integer dimensions.

There seemed to be a problem with the dimensions not always being an integer, so I casted them in the appropriate locations.

I found there is actually a float problem in python3. You fixed this bug. :)


How to use 'andFilterWhere' with 'like' for integer fields in Yii2?

I try to make a filter for integer field in mongoDB using andFilterWhere.
$query->andFilterWhere(['like', 'code', $this->code ]);
This method work fine for String value but for integer value doesn't work. How to use this method for integer fields?

How should "LIKE" work for ints?

I have int fields in mongoDB, for example:<PHONE_NUMBER>8,<PHONE_NUMBER>, 134567989.
If I find 100, result should be<PHONE_NUMBER>8,<PHONE_NUMBER>

@andreyshade, please use Official Yii 2 forum to ask a questions - GitHub is a bug tracking system.


Cms<PHONE_NUMBER>557/globals/nav

👷 Deploy Preview for shiny-babka-998c7e processing.

Name
Link

🔨 Latest commit
61a3f1d87f26c85cfe4f9dcb0110df5fac74b56d

🔍 Latest deploy log
https://app.netlify.com/sites/shiny-babka-998c7e/deploys/628367d0742cb100080dddac


time: update zoneinfo_abbrs on Windows

time/zoneinfo_abbrs_windows.go has not been updated since go1.14 (in CL 201378).
A few things changed since then, we should generate it again before releasing go 1.21.
We could also do it for go 1.20, but I suppose it is too late.
@alexbrainman @golang/windows

We could also do it for go 1.20, but I suppose it is too late.

If it is important, you can always request a backport. (A backport to add entries to a data table seems pretty low-risk. 🤷♂)

We could also do it for go 1.20, but I suppose it is too late.

If it is important, you can always request a backport. (A backport to add entries to a data table seems pretty low-risk. 🤷♂)

I haven't had any issue with time zones myself, but probably someone in the wild had. Worth backporting if it's doable. How to file the request?

@gopherbot Please open backport issues
The zoneinfo_abbrs data on Windows has not been updated for several years.  We should update and backport if appropriate.

@qmuntal thank you for opening this issue.
SGTM to update time/zoneinfo_abbrs_windows.go file.
Alex

cc @golang/release
I think it's too late for the first 1.20 release. I don't know exactly what this does, but it certainly doesn't seem to be just adding things, so I'd be leery of putting it in at the last possible moment. If we haven't done this in years, I presume we can wait a little longer.
Can someone explain a little more why this is important enough to backport? What is the concrete effect on users?

Can someone explain a little more why this is important enough to backport? What is the concrete effect on users?

The abbrs map inside zoneinfo_abbrs.go is used when formatting the abbreviated local time zone retrieved from the  operating system. The problem it solves is that you can't get from Windows the system time zones as a standard IANA Time Zone  name, it gives instead the time zone using it's particular naming convention.  The map inside zoneinfo_abbrs.go relates the Windows time zone name with an IANA name or a particular offset.
If that map is not up to date, the user could see its time zone with an outdated offset or wrong name when using MST in the time format layout.
For example, with the following code snippet executed on August, someone in the Fiji Standard Time time zone will see the following output Mon Aug 28 19:23:36 +13 2023, but that time zone dropped DST last year, so the correct result would be Mon Aug 28 19:23:36 +12 2023.
package main

import "time"

func main() {
  println(time.Now().Format(time.UnixDate)) // layout: "Mon Jan _2 15:04:05 MST 2006"
}

I agree that it is too late for putting this on go1.20, considering that it is released in two days. On the other hand, I think it would be a good backport candidate for go1.19.6 and go1.20.1.


implementing a leaderboard

Would probably be good to have a somewhat temporary leaderboard (either in the README or as a separate markdown file that gets displayed prominently on the documentation page) and then in the long-term add it to Matbench. https://github.com/materialsproject/matbench/issues/150#issuecomment-1220182074
For the short-term implementation, maybe just tables with bolding applied to the best values within some tolerance (5% perhaps). Might be nice to be able to see composition vs. structural vs. composition + structure metrics, with the default or most prominently displayed metrics being composition + structure. In other words, display the combined metric where both structure and composition conditions need to be met. The other two (only req is meeting composition condition and only req is meeting structure condition) are instructive and help us understand where certain algorithms are lacking. Right now, I don't think the API tracks the composition and structure conditions independently from each other.

Happy to factor out code from https://github.com/kjappelbaum/mofdscribe/blob/main/dev_scripts/update_bench.py if it helps. The idea I use in mofdscribe is that there is one json that is produced.
These docs are compiled to RST which can then be used by a sphinx extension to create the tables. (And you can also embed some interactive plot as HTML).

Happy to factor out code from<EMAIL_ADDRESS>if it helps. The idea I use in mofdscribe is that there is one json that is produced.

@kjappelbaum ooh, interesting! I'd like to dig into this some more. mofdscribe really is a batteries-included package 😄 @ardunn + co. and I have been discussing integrating matbench-genmetrics into the Matbench leaderboard in a Matbench 2.0. @ardunn mentioned that it should be pretty straightforward. Rn I'm working on getting some leaderboard results before deciding on the final architecture of the leaderboard, since it might make sense to change some of the metrics depending on how the results are. At minimum I'd like to have a couple of models with xtal2png, one model with FTCP, and one with CDVAE. Rn I have one model trained using imagen-pytorch (ElucidatedImagen) + xtal2png using the default hyperparameters. Ran it on an A100 for a few days. So compute heavy..

Hi @kjappelbaum, I'm recircling this and planning to submit another JOSS manuscript. I think implementing a simple leaderboard within the repository would be best rather than trying to incorporate it elsewhere. Would you still be willing to factor out the leaderboard code from mofdscribe like you mentioned?

Ah, somehow I didn't get the notification from this issue.
From our email thread

I think we might have a simple config file for such a benchmarking package in which you can set:
—dir in which results are stored
—dir into which the leaderboard pages will be written
—path to conf.py for sphinx
—metrics to be logged
For the abstractions, I think I’d implement it as a workflow in which we have the option for users to add various callbacks, e.g. if they want to customize plotting.
Besides, there are some reusable utils, such as the watermark
—https://github.com/kjappelbaum/mofdscribe/blob/main/src/mofdscribe/bench/watermark.py
that we could also ship in such a package.
There would perhaps also be a “start” command/CLI that adds the required configuration to the sphinx configuration file.

@kjappelbaum no worries, I think I sent this message concurrently with the email thread. This sounds great to me. Thank you!


[FLINK-10628][E2E][SSL] Enable mutual REST SSL auth in e2e tests

What is the purpose of the change
This PR enables mutual SSL authentication in batch all around and streaming file sink end-to-end tests. It also splits deprecated ssl configs into separate SSL configuration for internal and external REST communication. The curl commands, which query Flink REST API, are fixed with relevant SSL args to check and provide certificates where needed.
Brief change log

separate common_ssl.sh from common.sh
switch to storetype PKCS12 because of deprecation messages from keytool about original JKS format, it also simplifies usage of openssl to convert keystore to PEM format
fix curls with SSL in common.sh which query external Flink REST API
enable mutual SSL authentication in test_batch_allround.sh and test_streaming_file_sink.sh

Verifying this change
build Flink and run:
FLINK_DIR=./build-target ./flink-end-to-end-tests/run-single-test.sh ./flink-end-to-end-tests/test-scripts/test_batch_allround.sh
FLINK_DIR=./build-target ./flink-end-to-end-tests/run-single-test.sh ./flink-end-to-end-tests/test-scripts/test_streaming_file_sink.sh
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, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Update: The loop changes are causing some test failures. Please open a separate JIRA as this is probably a larger issue.
Can we cut the loop changes out of this PR without breaking the test?


refactor: Finish organizing components

Description 📝

This PR's goal is to finish deprecating the src/components/core folder to bring consistency to how we consume components 🎉 📁

This means we can finally just trust src/components/[name] as the single source of truth 🥳

I know these PRs might be getting annoying but this should be the last one!!

Preview 📷
Before 😵💫
import React, { useEffect, useState } from 'react';

import { Notice } from 'src/components/Notice/Notice';
import { Typography } from 'src/components/Typography';
import { Paper } from 'src/components/Paper';
import { Tab } from 'src/components/core/ReachTab';
import { TabList } from 'src/components/core/ReachTabList';
import TabPanel from 'src/components/core/ReachTabPanel';
import TabPanels from 'src/components/core/ReachTabPanels';
import Tabs from 'src/components/core/ReachTabs';

export interface Tab {
...

After 🧼
import React, { useEffect, useState } from 'react';

import { Notice } from 'src/components/Notice/Notice';
import { Paper } from 'src/components/Paper';
import { Tab } from 'src/components/ReachTab';
import { TabList } from 'src/components/ReachTabList';
import { TabPanel } from 'src/components/ReachTabPanel';
import { TabPanels } from 'src/components/ReachTabPanels';
import { Tabs } from 'src/components/ReachTabs';
import { Typography } from 'src/components/Typography';

export interface Tab {
...

How to test 🧪

[!important]
There shouldn't be much manual testing needed. This PR mostly just updates imports and file names.

Verify automated checks pass
Glance over the diff
Verify Cloud Manager works as expected

Looks good on my end. Thanks for taking on this task and improving the repo's quality.


Remove thumbnail writing

Following https://jira.diamond.ac.uk/browse/LIMS-1134 we no longer need to write out thumbnail images, we should remove this code.
Acceptance Criteria

Thumbnail writing is removed

From https://github.com/DiamondLightSource/hyperion/issues/1465#issuecomment-2225296686 this is actually causing issues in hyperion so bumping it's prioirity

we think XS


Fix -resetguisettings

Starting with -resetguisettings results in settings being cleared not only on start but on shutdown too. The bug was introduced in #569 (5+ years ago 🙈 ). This should fix it by only setting the flag to true when the "Reset Options" button was clicked. I also renamed OptionsModel::resetSettings while at it to make it clearer what it's used for.

backported in https://github.com/dashpay/dash/pull/3670


Expose a public initializer to NoOptions so that tests can be written for commands that take NoOptions

Why was this not exposed earlier?

Probably because no one ever actually wrote tests that would drive this need out... because apparently, it's like taking crazy pills to actually test your stuff.

Why not just call NoOptions<Error>.evaluate(.Usage)?

Because NoOptions<Error>() is infinitely more readable.

This seems fine. :+1:

Why was this not exposed earlier?

I think it just wasn't obvious that it would be useful.


Update opensearch-sql.release-notes-<IP_ADDRESS>.md to conform with OpenSearch guidelines

Description

Updated opensearch-sql.release-notes-<IP_ADDRESS>.md to conform with OpenSearch guidelines

Issues Resolved
https://github.com/opensearch-project/sql/issues/2599
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks for the change! Is it possible to create a GitHub action to generate release notes automatically?

Thanks for the change! Is it possible to create a GitHub action to generate release notes automatically?

There are some examples based on PR labels but didn't explore much on this.

There are some suggestion for automation here: https://github.com/opensearch-project/opensearch-plugins/blob/main/RELEASE_NOTES.md#automation

created https://github.com/opensearch-project/sql/issues/2610 to track release notes automation.

Thanks for the changes.


[PowerToys Run] Fails to cancel/close

ℹ Computer information

PowerToys version: v0.31.2
PowerToy Utility: PowerToys Run
Running PowerToys as Admin: Yes
Windows build number: 19042.746

📝 Provide detailed reproduction steps (if any)

Press Alt+Space (or whatever shortcut you set to open PowerToys Run).
Either press outside the text box or press Esc.

✔ Expected result
What is the expected result of the above steps?
Expected for the dialog box to close/cancel.
❌ Actual result
What is the actual result of the above steps?
Doesn't close at all until something valid is entered to open something up.
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form
(N/A)

@TheAlienDrew
can you please use the Step Recorder to reproduce both pressing the Esc key and clicking on the desktop.
Thanks.

Oh weird... it seems to be working now. Not sure why. I think me rebooting might have fixed the issue.

@TheAlienDrew
I'll close it as no-repro for now. Reopen it if the problem happens again.


Openjdk 1957 quarkus fastjar ubi8

https://issues.redhat.com/browse/OPENJDK-1957
UBI8 version of #358

On second thought. JDK 8 tests are failing:
Failing scenarios:
  features/image/java/openjdk_s2i.feature:11  Ensure Quarkus CDS doesn't fail due to timestamp mismatch (OPENDJK-1673)
  features/image/java/openjdk_s2i.feature:15  quarkus fast-jar layout works out-of-the-box (OPENJDK-1957)
  features/image/java/openjdk_s2i.feature:24  quarkus uber-jar layout works out-of-the-box (OPENJDK-1957)

Do you know why? At least the latter two failures are caused by this patch, which are likely due to quarkus being JDK 11+ only.

Do you know why? At least the latter two failures are caused by this patch, which are likely due to quarkus being JDK 11+ only.

I think all three are. I seem to recall an open TODO to take a look at the CDS test again. I've (tried) to adjust test tagging so they're all excluded for JDK8. Let's see what colour the lights go. Thanks!


Access the Mac clipboard directly with the cocoa api

Instead of going through the command line program, access it directly through the API. This is an example program: https://developer.apple.com/library/archive/samplecode/ClipboardViewer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008825-Intro-DontLinkElementID_2

The richxerox project and by extension jaraco.clipboard utilize pyobjc to communicate with the APIs directly.


'az aks stop' gives No module named 'azure.cli.core.azclierror' error. tried re-installing azure cli but not helping

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks stop
Errors:
No module named 'azure.cli.core.azclierror'
Traceback (most recent call last):
lib/python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 553, in execute
    self.commands_loader.load_arguments(command)
site-packages/azure/cli/core/__init__.py, ln 477, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
.azure/cliextensions/aks-preview/azext_aks_preview/__init__.py, ln 39, in load_arguments
    from ._params import load_arguments
.azure/cliextensions/aks-preview/azext_aks_preview/_params.py, ln 18, in <module>
    from ._validators import (
.azure/cliextensions/aks-preview/azext_aks_preview/_validators.py, ln 17, in <module>
    from azure.cli.core.azclierror import InvalidArgumentValueError
ModuleNotFoundError: No module named 'azure.cli.core.azclierror'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks stop -n {} -g {}

Expected Behavior
Environment Summary
Linux-4.19.128-microsoft-standard-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.11.1 *

Extensions:
aks-preview 0.4.68

Additional Context

hi @houk-ms could you pls help to have a look firstly? thanks

@ameetkonnur Thanks for reporting the issue.
The reason is new error types were used in AKS extensions, while the minCliCoreVersion was not changed accordingly.
It will be fixed soon.

Hi,
Are there any updates on this error "No module named 'azure.cli.core.azclierror"?

Please upgrade to the latest version of azure-cli. You can run az upgrade if your current version >= 2.11.0.

The fix for the aks-preview extension is released. Please upgrade the extension if you do not wish to upgrade your azure-cli version.

@ameetkonnur The issue should be resolved, just close the issue here. You can reopen it if there are still problems.

thanks, I will upgrade and retry

thanks, I will upgrade and retry

Hi I am also getting similar error for az login. Below is my Azure Cli version.
azure-cli                         2.19.1 *
core                              2.19.1 *
telemetry                          1.0.6
C:\Users>az login
The command failed with an unexpected error. Here is the traceback:
No module named 'azure.cli.core.vendored_sdks.subscriptions.v2019_11_01.operations.subscription_client_operations'
Traceback (most recent call last):
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-yccaebu4\knack\cli.py", line 233, in invoke
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\commands_init.py", line 664, in execute
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\commands_init_.py", line 727, in run_jobs_serially
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\commands_init.py", line 720, in run_job
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-rg200gj8\six.py", line 703, in reraise
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\commands_init.py", line 698, in run_job
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\commands_init.py", line 331, in call
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core_init_.py", line 816, in default_command_handler
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-7as_bwui\azure\cli\command_modules\profile\custom.py", line 162, in login
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core_profile.py", line 197, in find_subscriptions_on_login
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core_profile.py", line 880, in find_through_authorization_code_flow
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core_profile.py", line 925, in find_using_common_tenant
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\vendored_sdks\subscriptions_subscription_client.py", line 160, in tenants
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\vendored_sdks\subscriptions\v2019_11_01_init.py", line 9, in
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\vendored_sdks\subscriptions\v2019_11_01_subscription_client.py", line 21, in
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-8u6uejh7\azure\cli\core\vendored_sdks\subscriptions\v2019_11_01\operations_init_.py", line 12, in
ModuleNotFoundError: No module named 'azure.cli.core.vendored_sdks.subscriptions.v2019_11_01.operations._subscription_client_operations'


cli interface review

Follow up for PR-40
Need to review the interface for how the cli tooling works.

Are the "direct files", "folders", or "glob patterns" options too confusing or inconsistent?
If a user runs standard-clj fix some/specific/file.clj, but they have a .standard-clj.edn config, should the program only fix their one file? Or combine the one file with the include from the config as well? I think if the user specifies a single file then maybe they expect the program to only format that one.
Anything else about the CLI options that are not obvious? Naming conventions?

Are the "direct files", "folders", or "glob patterns" options too confusing or inconsistent?

Yes. The --include arguments should support 1) direct files 2) direct folders 3) glob patterns regardless of where the arguments come from. ie: CLI args should work the same as arguments inside a config file.

If a user runs standard-clj fix some/specific/file.clj, but they have a .standard-clj.edn config, should the program only fix their one file? Or combine the one file with the include from the config as well?

If the user specifies files or folders as direct arguments, then we should only use those and ignore anything in their .standard-clj.edn config.

PR-128 simplifies the behavior around --include and --ignore with a config file.
Closing this issue for now, but we may need to revisit the CLI interface in the future.


allow passing through kwargs in destination collector

Necessary for #colcon/colcon-defaults#5. Connect to colcon/colcon-defaults#5.

Codecov Report

Merging #50 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   77.31%   77.31%
=======================================
  Files          49       49
  Lines        2588     2588
  Branches      413      413
=======================================
  Hits         2001     2001
  Misses        568      568
  Partials       19       19

Impacted Files
Coverage Δ

...lcon_core/argument_parser/destination_collector.py
100% <100%> (ø)
: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 0a844f7...e024e42. Read the comment docs.


Update checked attribute logic for checkbox field

On edit view, if model value == 0, and default value == 1, the checkbox will be checked.
The actual checked attribute is set by : old, than value  OR default value.
The logic process should be to set the checked attribute by old , than value, than default value.
I fix it by using the same logic of fields/text.blade.php.

Ouch! Thank you so much for noticing this and providing a PR @Mortred974 ! Just merged it into master. Will bundle a few more changes and release it ASAP (today or tomorrow, the latest).
Cheers!


too many image size suggestions

We need to determine what Image sizes are really worth suggesting.  Right now we have about 20 suggestions for an app that already has an icon.
Missing image group: A store logo of any of the following sizes is required for Windows: size 50x50, 70x70, 90x90. Platforms affected: windows10.
I think the rule of thumb should be once they use the image generator button, we shouldn't need to suggest anything else.   This is likely just rule changes once it's aligned with the generator

This was addressed in this PR:  https://github.com/manifoldjs/manifoldjs-windows10/tree/v0.3.0-development-pwabuilder


python311Packages.restrictedpython: 6.2 -> 7.0

Changelog: https://github.com/zopefoundation/RestrictedPython/blob/7.0/CHANGES.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Mention the two CVEs via
Fixes: CVE-2023-37271, CVE-2023-41039

and then we need to look into if and how we patch this for release-23.05.

nixpkgs-review happy, macos 10.15 & nixos x86_64

Result of nixpkgs-review pr 268256 run on x86_64-linux 1

7 packages built:

home-assistant-component-tests.python_script
portmod
portmod.dist
python310Packages.restrictedpython
python310Packages.restrictedpython.dist
python311Packages.restrictedpython
python311Packages.restrictedpython.dist


Update README.markdown

Change Bash completion source instructions to be consistent with the source instructions for nvm itself.

Thanks for the contribution! In this case, it's intentional - the double-bracket syntax will ensure it fails fast in a non-bash environment.

And, what about quoting . $NVM_DIR/bash_completion, i.e. writing . "$NVM_DIR/bash_completion" instead.

that is a very good idea :-)


Be clear at README.MD about Docker

I want to suggest an idea do let super clear in the README.MD by opening an section with title Docker saying at least the need open the server with --host <IP_ADDRESS>. It's subtle problem if you forget.
And maybe another item to say is about the --watch with the volume.

Just to make clear for those having the same issue as me and @kafeltz - new data not showing up when saved to the db.json file (--watch not working basically) when running inside a container:

--host <IP_ADDRESS> must be used otherwise it'll not work from host machine;
Docker volume (not direct mounting of db.json file) must be used.

Here are Dockerfile and docker-compose.yaml for someone running in the same problem:
Dockerfile
WORKDIR /data
RUN npm install -g json-server
CMD ["json-server", "--watch", "db.json", "--host", "<IP_ADDRESS>"]

docker-compose.yaml
version: '3'

services:
  json-server:
    container_name: json-server
    build:
      context: .
      dockerfile: Dockerfile
    volumes:
      # - Assuming your db.json is located in '/Users/meh/code/data/db.json' (adjust path to the correct one):
      - '/Users/meh/code/data:/data'
    ports:
      - '3000:3000'

FROM node:18.16.0-alpine3.17
RUN mkdir -p /app
WORKDIR /app

RUN npm install -g json-server
RUN mkdir /app/public

EXPOSE 3000
VOLUME [ "/app/public", "/app/db.json" ]
CMD [ "npx", "json-server", "/app/db.json", "--host", "<IP_ADDRESS>", "-s", "/app/public"]

File: Dockerfile
FROM node:18.16.0-alpine3.17
RUN mkdir -p /app
WORKDIR /app

RUN npm install -g json-server
RUN mkdir /app/public

EXPOSE 3000
VOLUME [ "/app/public", "/app/db.json" ]
CMD [ "npx", "json-server", "/app/db.json", "--host", "<IP_ADDRESS>", "-s", "/app/public"]

File: docker-compose.yml
version: '3.9'

services:
  api:
    build: .
    volumes:
      - ./db.json:/app/db.json:delegated
      - ./public:/public:delegated
    restart: unless-stopped

you should commit a PR😌


Bugfix - Consolidate providers and make autocompletion context sensitive.

Hello
This is a larger pull request that does the following things:

The static, self, parent and autocomplete providers have all been merged into one member provider, which provides (what's in a name) the members of an object or class (or keyword). This has reduced a great deal of code duplication.
The new member provider is context sensitive, which means that it will only list private members if you're working in the class itself and only protected members when you're working in the class itself or one of its parent classes. This also means that you will no longer see protected and private members that you can't use anyway.
Constants are now properly shown again (they seemed to have disappeared).
The parent keyword works again.
You will no longer incorrectly see autocompletion for members of $this when typing $this (instead of $this->).
As a side effect, valid PHP code $this::MY_CONSTANT now works.
Solves #127 and #142.

That's mostly it. The introduced changes will make our autocompletion a great deal more correct and useful. However, as the changes are large, this will require proper testing as usual.

Hi thank you.
I'll test it today

Ok, I'll also be testing it today, and looks like I already found a bug. The regex in member-provider should be:
@regex = /(?:[a-zA-Z0-9_]+)(?:\(.*\))?(?:->|::)([a-zA-Z0-9_]*)/g

As now it is only autocompleting after the arrow or double colons (it doesn't fuzzy match after that). I'll fix it as soon as I get to my development machine again, but I'm placing it here so you can change it in your local version for testing in the meantime.

Ok thank you, I'm changing it and push it

Looks like there's more I broke, this fixes fuzzy matching, but chaining methods now no longer works. This should fix it:
@regex = /(?:(?:[a-zA-Z0-9_]+)(?:\(.*\))?(?:->|::))+([a-zA-Z0-9_]*)/g

When I was testing this locally I was testing all the different keywords immediately after the -> and ::, which is why I didn't pick up any of these things. But hey, that's what testing is for, right ;-).

I didn't start to write a PHP code for the moment, so didn't test for the moment ^^
I push your new regex ^^

Thanks for quickly updating it, I haven't encountered any other bugs after this was fixed.

Me too, I pushed a new release ;)
Would you like to give me your full name in order to create a CONTRIBUTORS.md in the repo with your full name in (if you want)?

Sure, I've sent you an email about it (sadly no PM's are possible on GitHub).


[smoke-tests] Smoke tests do not run with samples v2

With samples v2, we introduced another directory into the samples path, and this has caused most packages (those that migrated to samples v2) to stop running their samples in smoke tests.

Old: sdk/formrecognizer/ai-form-recognizer/samples/javascript
New: sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript

Notice the included major version number v3.
Since there could now be multiple copies of the samples, I suggest that we modify the smoke-test scripts to choose the javascript subdirectory of the last child directory (lexically) of the samples folder as the root of the smoke tests for a given package. For example, if we have:

samples/v1/javascript
samples/v2/javascript

we'd pick v2. If we have:

samples/v2/javascript
samples/v2-beta/javascript

we'd pick v2-beta.
This strategy should always pick the most recent samples.
CC @benbp @JonathanCrd

See: https://github.com/Azure/azure-sdk-for-js/issues/14796

@ckairen is taking on this work


chore(main): release 2.2.2

:robot: I have created a release beep boop
2.2.2 (2024-10-04)
Bug Fixes

wrong entrypoint after migration to single tsconfig (72716b9)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.2.2
:sunflower:


castep: implement reading of absolute positions

The current castep cell IO class can only read fractional positions, but not not absolute positions. One should simply implement the equivalent of this part: https://github.com/phonopy/phonopy/blob/0de11107240fd6beb922fca0e5a76529e1f41b6f/phonopy/interface/castep.py#L238-L254
with reading the absolute positions and then converting those to fractional coords.
I am happy to help with implementing it if needed.

Thanks @stenczelt. Though I have no idea on the castep interface, I believe your contribution will be useful for other users. It was contributed by @ladyteam at #120. @ladyteam, how do you think?

Hi @stenczelt, I think there is a reason to implement such feature. Do you whant me to write the code, or you are going to do by yourself?

I am happy to write it!

On 25 Sep 2022, at 12:04, ladyteam @.***> wrote:
Hi @stenczelt https://github.com/stenczelt, I think there is a reason to implement such feature. Do you whant me to write the code, or you are going to do by yourself?
—
Reply to this email directly, view it on GitHub https://github.com/phonopy/phonopy/issues/235#issuecomment-1257169214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKZU7CSKAGUTAAAK54QONLWAAWTFANCNFSM6AAAAAAQUVNCNY.
You are receiving this because you were mentioned.


Run SonarCloud only on pull requests to maste

Run SonarCloud less often to reduce build times for normal CI builds

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


Add GC.getWeakRefTarget function.

A basic functionality for weak reference implementation. We want to be able to do things like this:
if(!atomicLoad(weakPtr)) // fast check
	return null;
return GC.getWeakRefTarget(weakPtr);

@MartinNowak will leave review and possible approval of this to you.

@MartinNowak will leave review and possible approval of this to you.

Sorry, weak references shouldn't be done this way as discussion above has shown.


Utilize Rings to impact discoveries

Currently Rings solely boosts Luck which increases chance of critical hit. To provide more dimensions to the rings, lets give them each a unique impact for discoveries.
Total Luck from jewlery will increase chance of discoveries. Maximum increase should be 10% which is achieved at Luck 50
Once a discovery is made, the rings will produce the following:
Gold Ring (T1): increases amount of gold for gold discoveries (large bonus)
Silver Ring (T2): increases amount of gold for gold discoveries (medium bonus)
Bronze Ring (T3): increases amount of gold for gold discoveries (large bonus)
Titanium Ring:  increase amount of health for health discoveries
Platinum Ring: increase chance of rare loot

This is a great idea


New paragraph/list items not distinguished correctly

In long documents, it sometimes desirable to indent body text to distinguish it from headings. Here is an example:
## Heading

   Paragraph 1.

   1.  Item 1 line 1.
       Item 1 line 2.

   2.  Item 2 line 1.
       Item 2 line 2.

   Paragraph 2.

The bug is that hoedown thinks that "Paragrpah 2" is part of Item 2 and generates the following HTML:

Heading

Paragraph 1.

Item 1 line 1.
   Item 1 line 2.

Item 2 line 1.
   Item 2 line 2.

Paragraph 2.

The CommonMark spec gets this right. See http://spec.commonmark.org/0.7/#list-item and this example.

These are implications of the four-space rule.
The stable Hoedown codebase (version 3) is not CommonMark compliant.
The development version (see develop branch) does target CommonMark compliance, and behaves as expected:

Heading

Paragraph 1.

Item 1 line 1.
Item 1 line 2.

Item 2 line 1.
Item 2 line 2.

Paragraph 2.

Therefore, I'm closing this.

Clarification, JIC: The stable version does not accept changes or issues unless it's for bugfixes. All development is focused on version 4, even though it's currently stalled on source mapping...


The document chooser: Sorry, no documents match ""

Issue Summary
The document chooser shows the following message by default when the side doesn't have any documents:

Sorry, no documents match ""

Steps to reproduce

Define a document chooser panel in a streamfield or as a separate field
Remove all documents from the document library, if it has any
Click the "Choose a document" button in the editor interface.

Technical details

Python version: 3.6.1
Django version: 1.11.5
Wagtail version: 1.12.1

Any takers to quickly define what this UI should show when there are no documents, so that contributors can more easily pick this up and go? Ping @wagtail/ux-design.

@wagtail/ux-design ideally it should default to the Upload tab being selected first if there are no documents present.
The Search tab could say something like:

No documents uploaded, upload one now.
With the text upload one now being a link to the internal modal tab of Upload.

I'm going to work on this during the sprint in Minsk


Show a modal dialog when transcript file(s) have been refreshed on disk

We need to decide what this looks like and how it behaves when multiple files in different folders change (e.g. on branch switch)

VSCode
Unmodified file

Open the file
Make sure it is unchanged
Switch to another app to modify the file
Switch back to VSCode

The file will automatically get refreshed.
Modified file

Open the file
Change a line, but not saving it
Switch to another app to modify the file
Switch back to VSCode

The file will not automatically refreshed. When you press "Save", VSCode will complain (show up a modal). And then you can select to show a diff viewer.

Addressed in #660


[firebase_dynamic_links] dynamic links are not working on Google Chrome browser on Android

Whenever we click on the dynamic link via the Google Chrome browser (which is default browser in Android One devices and Motorola devices), it navigate to Google play store even the app is installed on the phone and from there it does not remember the deep link.
Steps to reproduce :
Its easy to reproduce, just click on any dynamic link on Android device with Google Chrome web browser.
It works fine with other web browsers like Firefox/Opera or default browsers on other devices like in Mi(not Android One devices) and Samsung.

Yes, I facing with this problem too . Bump

Have you got any updates on this ?

Could you provide output from flutter doctor please? Thanks

Have you got any updates on this ?

Unfortunately not.

Could you provide output from flutter doctor please? Thanks

Of course, here it is:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.14.6 18G95, locale en-IN)
⣷^CPiyushs-Mac-mini:generic-template-flutter piyushrathod$ flutter doctor -v
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.14.6 18G95, locale en-IN)
• Flutter version 1.17.1 at /Users/piyushrathod/newer-flutter/flutter
• Framework revision f7a6a7906b (10 days ago), 2020-05-12 18:39:00 -0700
• Engine revision 6bc433c6b6
• Dart version 2.8.2
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/piyushrathod/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.44.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.10.2
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.

Yes, I facing with this problem too . Bump

@nvtuan96 indeed this is a blocker issue since most of the android devices use Google chrome as a default browser and we can not use flutter dynamic links efficiently. Can you please inform me if you got any solution for this?

Yes, I facing with this problem too . Bump

@nvtuan96 indeed this is a blocker issue since most of the android devices use Google chrome as a default browser and we can not use flutter dynamic links efficiently. Can you please inform me if you got any solution for this?

I have changed to paid service Appsflyer

I haven't got solution yet.


Docs: How-to - Scaling - Ralph

Can we close it? https://docs.openedx.org/projects/openedx-aspects/en/latest/technical_documentation/how-tos/production_configuration.html


Release as a nuget package

And add it to https://wiki.openstreetmap.org/wiki/Frameworks#Processing_OpenStreetMap_data

Alpha for now: https://www.nuget.org/packages/OsmTagsTranslator/0.0.1-alpha


GH-40745: [Java][FlightRPC] Support configuring backpressure threshold

Rationale for this change
gRPC uses a default backpressure threshold that is too low for services that send large amounts of data such as Arrow Flight. This causes excessive blocking and reduces throughput.
What changes are included in this PR?

Update to grpc-java 1.63.0
Add to FlightServer.Builder an option to set the number of bytes queued before blocking due to backpressure. Set the default to 10MB instead of gRPC's default of 64K.
Add a ServerInterceptor for automating setting the backpressure threshold on ServerCalls.

Are these changes tested?
Tested through existing unit tests.
Are there any user-facing changes?
The FlightServer.Builder class has an extra configuration option to let users change the backpressure threshold themselves.

GitHub Issue: #40745

@github-actions crossbow submit java


Ensure uniqueness of sentence duplication

The way we apply multiple transformations on the same Sample can lead to several instances of the same perturbed sentence.

Also check especially in bias tests, if no transformation done i.e original and test-case same, filter out those examples.


Merge pull request #3 from MicrosoftDocs/master

I believe I'm merging in the CsConferencingPolicy updates

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@islubin - I could definitely be missing something but when I click on the "Files changed" tab at the top of this PR I it doesn't show any files changed.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] File:../skype/skype-ps/skype/office-docs-powershell not existed.
[Error] Some error ocurred while parsing changelist file: W:\kszl-log-d617534e\change-list-with-redirection.tsv.
[Error] File:../skype/skype-ps/skype/office-docs-powershell not existed.
[Error] Some error ocurred while parsing changelist file: W:\kszl-log-d617534e\change-list-with-redirection.tsv.
[Error] File:skype-ps/skype/office-docs-powershell not existed.
[Error] Some error ocurred while parsing changelist file: W:\kszl-log-d617534e\change-list-with-redirection.tsv.
[Error] File:../skype/skype-ps/skype/office-docs-powershell not existed.
[Error] Some error ocurred while parsing changelist file: W:\kszl-log-d617534e\change-list-with-redirection.tsv.
[Error] File:../skype/skype-ps/skype/office-docs-powershell not existed.
[Error] Some error ocurred while parsing changelist file: W:\kszl-log-d617534e\change-list-with-redirection.tsv.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Memcached sessions are flushed, if one tomcat is restarated

From<EMAIL_ADDRESS>on September 24, 2013 11:04:51
What steps will reproduce the problem?

I am running 2 tomcat instances using memcached-session-manager.
Logging in at tomcat 1.
Restarting tomcat 2.
Getting logged out of tomcat 1, as soon as tomcat 2 is up and running.

Expected result: Staying logged in at both servers.

Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=179

From martin.grotzke on September 24, 2013 08:51:10
Please post your msm configuration, and also configure debug logging as described by https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration#Configure_logging and provide the log output for the different steps (for each tomcat). Also run memcached with -vv and provide memcached output for each step.


add sub domain for stmik akba mhs.akba.ac.id

Additional info
Official web page : https://akba.ac.id/website/
This is our website's header

@nrfitriani Pull request merged. Thank you!


config/environment.js usage

How should config values get into the config? I keep getting errors for anything I put in there. Is it different from a default Ember config?

Nevermind, I figured it out.


Typo in config, 'hight' should be 'height'

Typo in config, 'hight' should be 'height'.
The code runs because it's consistent, but it's also missing the 'e'

Thanks. Fixed it!

Also made sure everything builds with 2024.10.0


support undo with Ctrl + Z

I am on Ubuntu. Last installed from hackage maybe a week ago.

I tried to support keyboard shortcut but it seems that there is some bug in either gtk+ (my version is 2.20.1) or gtk2hs (0.12.2) when I use  'actionGroupAddActionWithAccel' ( I saw related comment in gtk2hs tutorial.  http://www.muitovar.com/gtk2hs/chap7-1.html ) I am going to implement it by directly using keyboard event though it's cumbersome.

Thanks! The only shortcut I really need is Undo (I screw up a lot!), particularly because the pen eraser doesn't work. Maybe if the eraser worked really well I wouldn't need it.

ahh, eraser button!  I actually almost forgot it because currently my pen has only pen tip and two side buttons. I implemented lasso selection and eraser when pen tip is pressed with side button. (You probably know this if you were a previous user of microsoft journal and xournal in linux.)  but i forgot that a wacom pen may have eraser button on the pen back end. ( I had a pen with eraser button before but lost it. ) Thanks for reminding me of this ;-) Probably I am going to buy a wacom pen with eraser button again. That's so convenient!

Just to clarify, I am using Linux on a X201 tablet with a wacom
driver. my pen has one button. Holding it down does for erasing works
in xournal but not in hxournal. There is also an eraser on the back
that does not erase in xournal or hxournal
On Tue, Feb 21, 2012 at 3:38 PM, Ian-Woo Kim
<EMAIL_ADDRESS>wrote:

. I implemented lasso selection and eraser when pe


NO-ISSUE: USHIFT_USER should have sudo access without password

During testing, found out that if USHIFT_USER have sudo access with password then test failure happen with following error
$ ../test/run.sh suites/standard1/networking-smoke.robot
[...]
+ /work/microshift/test/../_output/robotenv/bin/robot --randomize all --prerunmodifier /work/microshift/test/resources/SkipTests.py: --loglevel TRACE -V /work/microshift/test/variables.yaml -x junit.xml --outputdir /work/microshift/test/../_output/e2e-20240930-151647 suites/standard1/networking-smoke.robot
No tests to be skipped
==============================================================================
Networking-Smoke :: Networking smoke tests
==============================================================================
Router Smoke Test :: Run a router smoke test                          | FAIL |
Parent suite setup failed:
1 != 0
------------------------------------------------------------------------------
Load Balancer Smoke Test :: Verify that Load Balancer correctly ex... | FAIL |
Parent suite setup failed:
1 != 0
------------------------------------------------------------------------------
Ingress Smoke Test :: Verify a simple ingress rule correctly expos... | FAIL |
Parent suite setup failed:
1 != 0
------------------------------------------------------------------------------
Networking-Smoke :: Networking smoke tests                            | FAIL |
Suite setup failed:
1 != 0

Also suite teardown failed:
Several failures occurred:

1) Variable '${NAMESPACE}' not found.

2) Variable '${KUBECONFIG}' not found.

Looking at generated logs looks like it is because following ssh command failed to execute since user need password to have sudo permission.
${kubeconfig}, ${rc} = SSHLibrary . Execute Command cat /var/lib/microshift/resources/kubeadmin/${host}/kubeconfig, sudo=True, return_rc=True

Which issue(s) this PR addresses:

Closes #

/retitle NO-ISSUE: USHIFT_USER should have sudo access without password

/lgtm