Read.me is not perfect

@rultor release, tag is 4.4.1

@rultor release, tag is 4.4.1

@rultor release, tag is 4.4.1

@maxonfjvipon OK, I will release it now. Please check the progress here

@rultor stop

@rultor release, tag is 4.4.1

@maxonfjvipon Done! FYI, the full log is here (took me 1min)

@rultor stop

@maxonfjvipon OK, I'll try to stop current task.

@rultor stop

@maxonfjvipon Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 18s)
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1272994
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon 07 Nov 2022 11:21:45 PM CET
+ uptime
 23:21:45 up 132 days,  2:22,  0 users,  load average: 0.10, 0.12, 0.05
+ cat
com.rultor.spi.Profile: There is no 'stop' section in .rultor.yml
	at com.rultor.agents.req.StartsRequest.docker(StartsRequest.java:350)
	at com.rultor.agents.req.StartsRequest.vars(StartsRequest.java:255)
	at com.rultor.agents.req.StartsRequest.script(StartsRequest.java:148)
	at com.rultor.agents.req.StartsRequest.process(StartsRequest.java:109)
	at com.rultor.agents.AbstractAgent.execute(AbstractAgent.java:70)
	at com.rultor.spi.Agent.execute(Agent.java:84)
	at com.rultor.Routine.process(Routine.java:202)
	at com.rultor.Routine.unsafe_aroundBody0(Routine.java:180)
	at com.rultor.Routine.run(Routine.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:179)
	at com.jcabi.aspects.aj.MethodInterrupter.wrap(MethodInterrupter.java:108)
	at com.rultor.Routine.unsafe(Routine.java:175)
	at com.rultor.Routine.run(Routine.java:142)
	at com.jcabi.log.VerboseRunnable.run(VerboseRunnable.java:190)
	at com.jcabi.aspects.aj.MethodScheduler.lambda./run.sh(MethodScheduler.java:194)
	at java.base/java.util.concurrent.Executors.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor.run(ThreadPoolExecutor.java:635)
	at com.jcabi.log.VerboseThreads.run(VerboseThreads.java:222)
	at java.base/java.lang.Thread.run(Thread.java:833)

+ exit -1
'cid' file is absent, Docker container is not running
'cid' file is absent, most probably the Docker container wasn't started correctly

@rultor release, tag is 4.4.2

@rultor release, tag is 4.4.2

@maxonfjvipon OK, I will release it now. Please check the progress here

@rultor release, tag is 4.4.2

@maxonfjvipon Done! FYI, the full log is here (took me 1min)


Link to book a feedback interview doesn't work

Leads to a Bad Request message

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 19ddf42e-0a47-7717-52d4-e549155480a2
Version Independent ID: 4bbe9beb-233f-cfd5-097b-f280aab5fde8
Content: Microsoft Teams developer community support and feedback - Teams
Content Source: msteams-platform/feedback.md
Service: msteams
GitHub Login: @surbhigupta
Microsoft Alias: surbhigupta

Hello @SurbhiAgarwal12 - "book a slot" link is breaking in below section:
https://learn.microsoft.com/en-us/microsoftteams/platform/feedback#feature-request-and-general-help

Please help to update the link with appropriate.

This issue is resolved.


Property support for Dumping Newtonsoft.Json and System.Text.Json objects

Description
@Hejle has pointed out that our current support for dumping Newtonsoft.Json and System.Text.Json objects are lacking.
Examples/reproduction:

Suggested solution:
We can either use DumpConfig.Default.AddCustomTypeHandler(typeof(JValue), (obj, _, _, _) => obj.ToString()); or we can create a custom type renderer for Json objects.
I think we should compile a list of objects of both Newtonsoft.Json and System.Text.Json that we would have to custom render and decide how to render each one of them.
We may start with a simple solution, which is using AddCustomTypeHandler until we implement a proper custom renderer.

I can try out a few things on how to render json.
One thing I have already noticed, is that it is considerably harder to work with System.Text.Json, as its JValue equiviliant "JsonValue" is created as a JsonValueTrimmable which I can't really get the typeof.
But I can look around a bit, and see if I can figure it out.

I have tried a few things with Generating JSON, and so far the easiest would be to consider JValue (NewtonSoft) and JsonValue (System.Text.Json) as KnownSingleValues, and then generating them using the SingleValueDescriptor. Alternatively, I can add a separate Descripter + Render-method for the Json-Values, which would hopefully make it easier to customize in the future.
For the following JSON-input, we will then get the follwowing output:
[
  {
    "Sample":"Basic Sample",
    "Id": 1,
    "Text":"StringValue"
  },
  {
    "Sample": "Object Sample",
    "Id": 2,
    "Nested Object": {
        "Bool": false,
        "Text": "StringValue"
    }
  },
  {
    "Sample":"Array Sample",
    "Id": 3,
    "Array": [1,2,3]
  }
]

Great work @Hejle, thanks!
I want to keep the descriptors as general as possible, so creating a new type of descriptor only for Json-types should be our last resort.
A better options IMO is to create a custom renderer and register all of the Json-related types in our custom type handlers. Currently I don't like that we need to do it in  CustomValueGenerator. I would like to first work on a way to register the custom-types directly via the custom renderers, so we only have to specify types that need custom rendering in one place, which is the renderer itself. Once that is done, it will be easier to write a single ICustomTypeRenderer that support the json-related types.

Why not render them as json instead of table? Spectre.Console already support it. Doc here


Create a fetch and POST for reviews to be able to save and show the data

endpoint for listing all the reviews is already done.


added CSP link

this is my own PR, i added CSP link under Related topics

@RAJU2529
There seems to be no clear rationale for including links to a CSP article across 43 different articles with 43 PRs.
Although your long-term efforts to improve the documentation is appreciated as always, please do make sure to provide specific explanations on how a PR is going to improve the article, and why.
Further, It is not necessary to come up with tens of different PRs to introduce different changes that share the same purpose. The changes could have been bundled under a single PR.
You can find out more in the [https://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/CONTRIBUTING.md] guide.
Thanks.


(OS) Environment variable can't be used in environments file (YAML)

When I use the environment config as below
environments:   dev:     values:       - environments/values-common.yaml       - environments/values-dev.yaml       - branch: {{ requiredEnv "GIT_CURRENT_BRANCH" }}
I can use the variable branch, but when I put this line in the file values-common.yaml, I can't use it and the variable is not set (map has no entry for key "branch")
I would be handy to use the line below in an environment file (such as values-common.yaml or values-dev.yaml in my example)
branch: {{ requiredEnv "GIT_CURRENT_BRANCH" }}

Hi! I believe this is the same issue as #1142.

Hi! I believe this is the same issue as #1142.

Well, I think this is different. I have got the following situation.
helmfile.yaml
environments:
  default:
    values:
      - values.yaml
---
releases:
  - name: nginx
    chart: bitnami/nginx
    values:
      - hosts:
        - name: {{ .Values.host }}
          path: /

values.yaml
host: {{ requiredEnv "HOST" }}

I expect this will work, because the becauses the situation below works:
helmfile.yaml
environments:
  default:
    values:
      - host: {{ requiredEnv "HOST" }}
---
releases:
  - name: nginx
    chart: bitnami/nginx
    values:
      - hosts:
        - name: {{ .Values.host }}
          path: /

Anything new on this one? It seems to me kind of a different situation, as well, no?
Here's another scenario:
Case 1
releases:
- name: foo
  chart: stable/foo
  values:
  - x.bar: {{ env "BAR" }}
  - x.baz: {{ env "BAZ" }}

If BAR and BAZ are set, the above will render as expected -  x.bar and x.baz will not be empty.
Case 2
releases:
- name: foo
  chart: stable/foo
  values:
  - config.yaml.gotmpl

where config.yaml.gotmpl is:
x:
  bar: {{ env "BAR" }}
  baz: {{ env "BAZ" }}

In this case both x.bar and x.baz will be empty. Is this the expected behavior?
What prevents OS environment variables from being availabled/rendered in both cases?
Thanks in advance!

It turns out that x.bar was empty, because the contents of config.yaml.gotmpl were:
x:
  bar: {{ env "BAR " }}

Notice the whitespace.
Not sure how this should be handled, since env variable names do not include whitespaces by convention.


data: project addition by prrockzed

Add a new project to the list
I want to add a new project to the list
This is a 3D project named Haunted House. Fun project made using Three.js library in Javascript. It is an immersive and interactive experience that takes the user in a spooky atmospheric environment. It is not just an animation or a gif. It is a small world, where the user can go through the entire environment using their mouse.
Through the use of dynamic movement of ghostly character, details on the walls and doors of the house brings the haunted house project to life. Also with so many grave around and some spirited lights moving around the house in an eerie way intensifies the atmosphere.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

duplicate of https://github.com/priyankarpal/ProjectsHut/issues/788

@priyankarpal ig this is not a duplicate of #788. It was a rubik's cube game. This is a haunted house project made using three.js library. A 3D project(not like other 2D websites) where user can navigate around the canvas.
Please check into this.


This is correct sprite

this is wrt the mining-helmet-update sprite

Sorry but this goes against the style guide:

pixel-art (1x1 pixels)
realistic style
small palettes
no transparency - alpha value is either 0 or 255
no photorealism
no gradients


report guest uptime to the host

It appears that the host needs to know the guest's uptime information to determine if a soft reboot was succesful.
Closes #21

this PR might need make rekres

this PR might need make rekres

OK, a simple make rekres and git commit -m 'rekres update but with better wording' will do?

this PR might need make rekres

OK, a simple make rekres and git commit -m 'rekres update but with better wording' will do?

squash the commits anyways

Well, I thought I got to the bottom of the reboot-only-once-problem with the change status, but I was wrong. However while trying to find the flaws in my thinking, I stumbled upon some code from the original open-vm-tools, and a couple of interesting differences between logs of vmware fusion running talos-vmtoolsd and a debian guest.
So it turns out that the host needs the guest's uptime information to know that a soft reboot has happened, and that information must be sent at a very specific place in the communication: the capabilities request.
host: "what are your capabilities?"
guest: "i've been running for 56 seconds already!"


Add material farming integration to Item Printer RNG

Split out from #423. I recommend merging #423 first.
EDIT:
Ready to merge now.

Closing this pull request. These changes have been moved to #424.


Numeric error codes in addition to error messages

Yes, I know this is a superlogin issue, but at the moment, there is nobody really working that project.  So I would ask here from a client perspective if it would be useful to include a codified response for errors in addition to the current message property?
Currently I am using indexOf on the message to take different action on the client on the login with an invalid username and/or password.  Here are the 3 options I am handling when the login endpoint returns with error: "Unauthorized":

message: "Invalid username or password"
message: "Maximum failed login attempts exceeded. Your account has been locked for 10 minutes."
message: "Your account is currently locked. Please wait a few minutes and try again."

If each message included a code: ##### (or errorcode: #####) with a numeric value then client logic would be not only easier, but it would not break on changes to the message text coming from superlogin.  My current use case is for Invalid username or password I don't want to alert the user, just highlight the login form, for messages 2. and 3. I want to display an alert with the message contents.
It looks like superlogin only returns the error with "Unauthorized" and the message, but no other codified information, not even the status code is returned as part of the superlogin-client error response.  Working with strings instead of codes makes the client code a lot more brittle. Any thoughts?
EDIT: Another case is where username or password is missing the api returns only:
error: "Username or Password missing..."
There is no message: property returned in this case, so that adds yet another case to check for, but this time looking at the error string returned.  Again, a coded numeric value would make this all much easier and more immune to changes in the text messages.  Also, including the status code would also help, but is not the total solution.  For example, returning 401 is great so I know it means "Unauthorized", but it does not give any more detail to add more logic to the receiver.

Yes, that's something I would love to have for Superlogin.
We had a discussion about it here https://github.com/colinskow/superlogin/issues/99
It would be better for custom feedback to user (like for your case) and also internalization.

@micky2be - Thanks for the reference on the superlogin issue, I try to review all prior issues before posting, but good to see that I am not alone on this one.  I thought a numeric code would be best, but after reading that thread and Colin's comments, I am warming up to the codified string idea.  A codified string would be more self-documenting vs. a numeric code.
The question remains on how to actually get these changes in the repo?

That's the big problem at the moment for Superlogin. It's kinda dead.
If you wanna continue using it, you might use your own fork with your own features.
If it's too much work for you, you can try using services such as auth0.

@micky2be - Thanks for the information, I looked at auth0 before starting with superlogin, but was afraid of getting locked into a closed platform.  However, if auth0 has a solid business model and doesn't sell out to the likes of FB, then it could be a better solution in the long run.  Was hoping to avoid a fork of superlogin, but it doesn't matter if the master repo is not likely to see much change in the near future.


Update composer.json

updated phpseclib version to match cnp-payments-sdk repository.

Hi,
We are expecting a pull request from RM, so can you please send us the RM details?
Regards,
Immaniyelu Sunnapudi
Merchant Solutions - Global eCommerce
C:  +91.915.669.1989
E<EMAIL_ADDRESS>FIS | Advancing the way the world pays, banks and invests(tm)
@.@.@.***https://www.linkedin.com/company/fis
From: michaelm111 @.>
Sent: Thursday, August 3, 2023 12:09 AM
To: Vantiv/cnp-chargeback-sdk-php @.>
Cc: Subscribed @.***>
Subject: [Vantiv/cnp-chargeback-sdk-php] Update composer.json (PR #3)
updated phpseclib version to match cnp-payments-sdk repository.

You can view, comment on, or merge this pull request online at:
https://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3
Commit Summary

9567da9https://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3/commits/9567da9e111c7c75af1d809d0c5edd8b7e2e74a1 Update composer.json

File Changes
(1 filehttps://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3/files)

M composer.jsonhttps://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34 (2)

Patch Links:

https://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3.patch
https://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3.diff

Reply to this email directly, view it on GitHubhttps://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALKCB6G63LEGNQSDZOBK6DXTKNFTANCNFSM6AAAAAA3BVVPNY.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

Hi,  For this PR, please ask your RM to reach<EMAIL_ADDRESS>Regards, Immaniyelu Sunnapudi Merchant Solutions - Global eCommerce C: +91.915.669.1989 E<EMAIL_ADDRESS>FIS | Advancing the way the world pays, banks and invests(tm) @.@.@.https://www.linkedin.com/company/fis From: michaelm111 @.> Sent: Thursday, August 3, 2023 12:09 AM To: Vantiv/cnp-chargeback-sdk-php @.> Cc: Subscribed @.> Subject: [Vantiv/cnp-chargeback-sdk-php] Update composer.json (PR #3) updated phpseclib version to match cnp-payments-sdk repository.
…
________________________________ You can view, comment on, or merge this pull request online at: #3 Commit Summary * 9567da9<9567da9> Update composer.json File Changes (1 filehttps://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3/files) * M composer.jsonhttps://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3/files#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34 (2) Patch Links: * https://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3.patch * https://github.com/Vantiv/cnp-chargeback-sdk-php/pull/3.diff - Reply to this email directly, view it on GitHub<#3>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALKCB6G63LEGNQSDZOBK6DXTKNFTANCNFSM6AAAAAA3BVVPNY. You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

Hi,
For this PR, please ask your RM to contact<EMAIL_ADDRESS>


Use rack_test for system tests where possible

rack_test is noticeably faster on tests where we don't need javascript or other interactivity, so use capybara only where necessary.
In practice I think even more of these tests could be rewritten without capybara but I'm not sure. This is just a quick fix.

Is the base for this right?

@pixeltrix it is now. I spotted the time validation error when trying to get these to pass which is why I ended up rebasing this onto that branch.

It looks like this has roughly doubled the test speed: the largest groups have gone from about 4 minutes to about 2 minutes.
It might be feasible to group them based on capybara and non-capybara; on my M1 all the non-capybara system tests run in under 4 minutes total, but I'm not sure how that translates to GHA performance.


meson: Sort input file list

Describe your PR, what does it fix/add?
Sort cpp input file list
so that hyprland builds in a reproducible way
in spite of non-deterministic filesystem readdir order.
See https://reproducible-builds.org/ for why this is good.
This patch was done while working on reproducible builds for openSUSE.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
requires a POSIX shell. It should be possible to replace the find with a python script, but I did not find a builtin sort function in meson.
Is it ready for merging, or does it need work?
I tested that it builds, so it should still work the same as before.

how does the order of the files change anything?

It influences the link order of .o files into the hyprland binary, which makes a difference to how functions are laid out and optimizations are applied in the machine code.


How to Run in a Emulator?

How do I run my app in a emulator. Says Android Emulator?

For those on Windows, Android Studio must be installed on WSL2. I followed this tutorial and got the simulator working: https://www.charcoalstyles.com/blog/android-development-in-wsl2/

I am not on windows FYI and it works fine without WSL/WSL2

Assuming you didn't have any more questions I am going to close this for now.


Taught const expr eval to const-evaluate a struct field as a const value, even if the entire struct itself is not a const.

Resolves SR-8463.

@swift-ci please test tensorflow

Submitting to unblock Richard's dataset work. Happy to address any additional comments afterwards!

This might fix this one specific case, but this is not a general solution.  I don't think this is the right direction to go.

Thanks @lattner for the discussion today. Sent out https://github.com/apple/swift/pull/18650 as a follow-up fix.


Protractor 4.0 not used in skeleton-typescript?

I'm submitting a bug report

Aurelia Skeleton Version
skeleton-typescript

Framework Version:
1.0.0

Please tell us about your environment:

Operating System:
Linux Cinnamon

Node Version:
5.11.1

NPM Version:
3.9.5

JSPM OR Webpack AND Version
JSPM 0.16.41

TypeScript
Current behavior:
Protractor d.ts conflicts with jquery.d.ts b/c they both declare '$'
Per this thread, it was discussed updating to Protractor 4.0 to fix this bug:
https://github.com/aurelia/skeleton-navigation/issues/598
Per this commit it was corrected in the WebPack version:
https://github.com/aurelia/skeleton-navigation/commit/b2d0fa8155fff11d806f8ed3263ef91548c4b080
However, this is only for TS WebPack. The problem still happens in skeleton-typescript; no update was made. The Protractor library has to be manually deleted from the project skeleton-typescript to get rid of this error. The bug fix made for ts-webpack should also be made just for ts skeleton.

Yes, unfortunately the gulp-protractor package needs to be updated to Protractor 4, and it's something we have no control over. Once that's done, the TypeScript package can be updated to use the new version of Protractor.

Looks like gulp-protractor 3.0 was released, I'll look into migrating the skeletons soon.

@niieani If I look at the package.json file, the gulp-protactor package is set to version 3.0.0: "gulp-protractor": "3.0.0", which uses Protactor version 4 or greater. That means that this issue can be closed, right?

I think we still might need to tackle updating of the d.ts definition files. I'll assign myself.


Sprite component

Used for displaying 2D textures in a more intuitive manner than "faking" it with a 3D rect. Useful for eg. GUI (or 2D games).

Implemented in #204 .


Check if overrides are deactivated

Questions
Answers

Description?
Check if overrides are disabled and let the user disable them

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/PrestaShop#14781

How to test?
Change disable override setting and check the module.

Possible impacts?
Please indicate what parts of the software we need to check to make sure everything is alright.

I'll try or I'll open another one

Closed by https://github.com/PrestaShop/autoupgrade/pull/421


Small refactoring fo JCasC

Is this ready to review or is it a work in progress? If ready for review, can we please have a description. Thanks!

@rachely3n It was just POC for #53, But it seems its working so I will make it alive :)
Just give me few days..

Ok.. seems like its working now..

Interesting, what was the fix

https://github.com/jenkinsci/google-compute-engine-plugin/pull/54/commits/1a0abf46c901c40fe2951e287ef97c51bdbe71dc

Great work. Would like to see some integration tests added for this as well.

@craigatgoogle I have added IT tests..
But setup part is hacked..
It should be properly done in #60 (it should be easy there)

There appears to be a build error with these latest commits. Could you PTAL. Thanks.

Heck.. no no again..

@craigatgoogle There was issue with jenkins..
And now after merge of #60 everything broke..

@craigatgoogle Can we merge it?

@ingwarsw We're still getting IT test failures. I'll go ahead branch from your PR and see if I can tackle them.

@ingwarsw actually this provides us an opportunity to work out a better process for integrations testing with community submitted PRs. Let's collaborate off-line on a strategy we can employ going forward :)

On Windows, the I've been wrestling with this and ultimately the issue was not with these changes but solely with existing testing code (apart from the NPE mentioned above). For that reason I think this is okay. Here are the problems that I've addressed while testing this and will submit a PR for separately after a bit of polishing:

The way that the current that the 0.6 release of the oauth plugin interacts with files is not compatible with Windows, and this was emulated in "StringJsonServiceAccount.java". I was able to resolve the AccountIdNotSetExceptions by ultimately removing the use of files and just using the string and json key directly for integration tests.

There is a limit to the number of characters that can be provided for an environment variable on windows. I got around this by changing the credentials to be loaded from a file path stored in the environment variable, rather than setting the environment variable to include the file contents.

The tests are taking much longer than they did on my personal machine, so even though the current timeout of 5 minutes was thought to give enough cushion, I've increased the timeouts to be compatible.

One result of the original issue is that the ComputeClient objects used in the tests for managing instances outside of what Jenkins itself handles were set to null, and currently the teardownResources method doesn't account for this so we also got NPEs with every test. I've made ITUtil more failure tolerant to reduce noise when debugging the tests.

Fixed 123 time :P


Run prod commands in build

Cleancss shows our build as not being good enough. It will break the prod build, but the build passes, so we probably need to run the prod command at some point in travis so that we see failures for that.

This is fixed in https://github.com/porygonco/porybox/pull/643


Another Authorization token failure for backround.rb

I thought this might be related to https://github.com/SUSE/Portus/issues/1618 but it doesn't seem to be.
Running bundle exec rails r bin/background.rb in the container returns:
Exception: Cannot obtain authorization token: #<Net::HTTPUnauthorized:0x0000000006bf14f8>
logs from the container:
Started GET "/v2/token?account=portus&scope=registry%3Acatalog%3A%2A&service=hub-foobar-registry%3A5000" for XX.XX.XX.XX at 2018-01-24 16:55:35 +0000
Processing by Api::V2::TokensController#show as JSON
  Parameters: {"account"=>"portus", "scope"=>"registry:catalog:*", "service"=>"hub-foobar-registry:5000"}
Completed 401 Unauthorized in 399ms (ActiveRecord: 259.6ms)

I've double and triple checked that the portus users password is set correctly and what's strange is if I try to curl it from inside the container auth seems to work:
curl -ik --user portus:$PORTUS_PASSWORD  https://hub.foobar.com/v2/token?account=portus\&service=<IP_ADDRESS>:5000
HTTP/1.1 200 OK
Server: nginx/1.13.5
Date: Wed, 24 Jan 2018 17:02:16 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Vary: Accept-Encoding
ETag: W/"b829d4f05218e7b72d93db85c44d2cc4"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _portus_session=MlVodFZ3ZmNXWnVmVkc2RUttaUZ4bUVUL2JoYjVsSjJ3dFhkd1VIT3FXNnVKSUpUTm12bGNqeFdQWUtoM2JZeGNGbWtqd1UyZ2w3RTk5ellHL1FZMFE9PS0teVFMd0s5TGlNaDFwUzhXYU42NjU3Zz09--b96130a3684d3500d1e2845e569731dc1ffbbd15; path=/; HttpOnly
X-Request-Id: 707709ac-e3f9-4377-9b03-c2f34c4197d4
X-Runtime: 0.582178
Strict-Transport-Security: max-age=15724800; includeSubDomains;
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-UA-Compatible: IE=edge

{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjJPQ0M6TklLUDpOSllXOjdKVkg6V0dGTTpFUzVSOkdWT1c6S1RUUjpQNFFHOkszTjY6TUNSMjpRU0JUIn0.eyJpc3MiOiJodWIucHJvamVjdGljYXJ1cy5haSIsInN1YiI6InBvcnR1cyIsImF1ZCI6IjAuMC4wLjA6NTAwMCIsImlhdCI6MTUxNjgxMzMzNiwibmJmIjoxNTE2ODEzMzMxLCJleHAiOjE1MTY4MTM2MzYsImp0aSI6IkF1N0VQSHdnbnptVTk3ZHFIVnZHU1kxTGRyNXFVNGJLdDFhb2lkR1hNSCIsImFjY2VzcyI6W119.lVgxzvB2vCfvzrGweVlVvoF28GlCSdybRU6eATjgbeuSOIRzrz25ydmRaumh3xz8GKrjsS9JWLCaSE8yuLBuAINqy-qHsfozvf2zyf-kGmtZ37muYsH_dT5IK4CZvSU9zUwvvid9P7kOaeqdovyqj8y9bWAI2zltp0kMvJ68cKb00-ppuvtgtSn19Tacxi_XoHl6hWK9_CHfVhhrEjBVx9R5CX5j6QmABFDLMlihKXWbGwLvgJvE_tW5HweseRlLgmVYHIDySxW-J7megYCPE9RjxAQKtScSaeZcA0KAZS0YBuFy8ols-OVe-CxN3VRsv5-rCaBaYGsvSXq2HqgAmpX8EvWdNyjZe-KEuxh5fAHbXzMgq1NHUXL0P8tUfQesFnbPD3Sw8qf7Cvl6hctg2JgdQ2HnBWxwKR_zKslL3K-2nbRS6WhhEYSwcvDTv3YzNE_2TPSO1omLuOoXPSO60Ey4RdCyZVeYdB95XPf_1ZkkiZd-bLAUn91WaayPCAYl","expires_in":300,"issued_at":"2018-01-24T17:02:16+00:00"}

Portus is being deployed via the offical helm chart.
Here's the token portion of my nginx
 # Portus needs to handle /v2/token for authentication
        location = /v2/token {
          {{- if .Values.portus.tls.enabled }}
          proxy_pass https://{{ template "portus.fullname" . }};
          {{- else }}
          proxy_pass http://{{ template "portus.fullname" . }};
          {{- end }}

          proxy_set_header Host $http_host;   # required for docker client's sake
          proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header X-Forwarded-Proto https;
          proxy_read_timeout 900;
          proxy_buffering on;
        }

I can confirm this. Everything is setup correctly. I generally can push pull  image.
This node image was pushed by the user and it fails.
2018-02-05T16:59:44.136162701Z Handling 'push' event:
2018-02-05T16:59:44.136225610Z {
2018-02-05T16:59:44.136243275Z   "id": "c27e93a7-a4f5-4a88-851e-f8931377eed6",
2018-02-05T16:59:44.136259625Z   "timestamp": "2018-02-05T16:56:50.253380461Z",
2018-02-05T16:59:44.136274864Z   "action": "push",
2018-02-05T16:59:44.136290303Z   "target": {
2018-02-05T16:59:44.136306022Z     "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
2018-02-05T16:59:44.136322775Z     "size": 2007,
2018-02-05T16:59:44.136338074Z     "digest": "sha256:021c1dba94d141972a13f62194fea0f8ef2a081cd9c03fd3f70a529886a8af11",
2018-02-05T16:59:44.136354103Z     "length": 2007,
2018-02-05T16:59:44.136368891Z     "repository": "vadim/node",
2018-02-05T16:59:44.136384611Z     "url": "https://docker.for.mac.localhost/v2/vadim/node/manifests/sha256:021c1dba94d141972a13f62194fea0f8ef2a081cd9c03fd3f70a529886a8af11",
2018-02-05T16:59:44.136400691Z     "tag": "latest"
2018-02-05T16:59:44.136416040Z   },
2018-02-05T16:59:44.136430838Z   "request": {
2018-02-05T16:59:44.136445815Z     "id": "df26123a-20d2-4479-b6c6-10cd02dad179",
2018-02-05T16:59:44.136461284Z     "addr": "<IP_ADDRESS>",
2018-02-05T16:59:44.136476452Z     "host": "docker.for.mac.localhost",
2018-02-05T16:59:44.136491680Z     "method": "PUT",
2018-02-05T16:59:44.136506829Z     "useragent": "docker/17.12.0-ce go/go1.9.2 git-commit/c97c6d6 kernel/4.9.60-linuxkit-aufs os/linux arch/amd64 UpstreamClient(Docker-Client/17.12.0-ce \\(darwin\\))"
2018-02-05T16:59:44.136523351Z   },
2018-02-05T16:59:44.136538328Z   "actor": {
2018-02-05T16:59:44.136553456Z     "name": "vadim"
2018-02-05T16:59:44.136568304Z   },
2018-02-05T16:59:44.136583051Z   "source": {
2018-02-05T16:59:44.136598119Z     "addr": "492974b091b3:5000",
2018-02-05T16:59:44.136613237Z     "instanceID": "ae278fc6-9e2e-4ce1-9fa5-7b9b5f29a76e"
2018-02-05T16:59:44.136631934Z   }
2018-02-05T16:59:44.136647012Z }
2018-02-05T16:59:44.516430325Z Could not fetch manifest for 'vadim/node' with digest 'sha256:021c1dba94d141972a13f62194fea0f8ef2a081cd9c03fd3f70a529886a8af11': Cannot obtain authorization token: #<Net::HTTPBadGateway:0x000055f359267968>
2018-02-05T16:59:44.830970163Z /app/lib/portus/http_helpers.rb:120:in `request_auth_token': Cannot obtain authorization token: #<Net::HTTPBadGateway:0x000055f35805b198> (Portus::Errors::AuthorizationError)
2018-02-05T16:59:44.831366893Z 	from /app/lib/portus/http_helpers.rb:48:in `perform_request'
2018-02-05T16:59:44.831499377Z 	from /app/lib/portus/http_helpers.rb:63:in `safe_request'
2018-02-05T16:59:44.831700294Z 	from /app/lib/portus/registry_client.rb:58:in `manifest'
2018-02-05T16:59:44.831979257Z 	from /app/lib/portus/security.rb:46:in `vulnerabilities'
2018-02-05T16:59:44.832238932Z 	from /app/lib/portus/background/security_scanning.rb:39:in `block in execute!'
2018-02-05T16:59:44.832515710Z 	from /usr/local/bundle/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:51:in `block (2 levels) in find_each'
2018-02-05T16:59:44.832783525Z 	from /usr/local/bundle/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:51:in `each'
2018-02-05T16:59:44.833059962Z 	from /usr/local/bundle/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:51:in `block in find_each'
2018-02-05T16:59:44.833325723Z 	from /usr/local/bundle/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:124:in `find_in_batches'
2018-02-05T16:59:44.833563332Z 	from /usr/local/bundle/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:50:in `find_each'
2018-02-05T16:59:44.833815728Z 	from /app/lib/portus/background/security_scanning.rb:27:in `execute!'
2018-02-05T16:59:44.834076927Z 	from /app/bin/background.rb:55:in `block (2 levels) in <top (required)>'
2018-02-05T16:59:44.834451000Z 	from /app/bin/background.rb:53:in `each'
2018-02-05T16:59:44.834766294Z 	from /app/bin/background.rb:53:in `block in <top (required)>'
2018-02-05T16:59:44.835034882Z 	from /app/bin/background.rb:52:in `loop'
2018-02-05T16:59:44.835311660Z 	from /app/bin/background.rb:52:in `<top (required)>'
2018-02-05T16:59:44.835575816Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands/runner.rb:60:in `load'
2018-02-05T16:59:44.835846369Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands/runner.rb:60:in `<top (required)>'
2018-02-05T16:59:44.836103486Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:123:in `require'
2018-02-05T16:59:44.841530701Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
2018-02-05T16:59:44.841599926Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:90:in `runner'
2018-02-05T16:59:44.841617712Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2018-02-05T16:59:44.841634774Z 	from /usr/local/bundle/gems/railties-4.2.10/lib/rails/commands.rb:17:in `<top (required)>'
2018-02-05T16:59:44.841651577Z 	from bin/rails:12:in `require'
2018-02-05T16:59:44.841667297Z 	from bin/rails:12:in `<main>'
2018-02-05T21:48:09.222802348Z [Mailer config] Host:     docker.for.mac.localhost
2018-02-05T21:48:09.222995356Z [Mailer config] Protocol: https://
2018-02-05T21:48:25.173797886Z [Initialization] Running: 'Registry events', 'Security scanning', 'Registry synchronization'

I was also able to reproduce this (similar logs)...

here some more logs from the registry.
<IP_ADDRESS>  is background
<IP_ADDRESS> is Portus
08T15:27:48+01:00" level=info msg="response completed" go.version=go1.7.6 http.request.host=docker.portus.local http.request.id=b22d029d-bed4-4efc-b9b5-d90c1991b4ee http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/vadim/registry/manifests/latest" http.request.useragent=Ruby http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=337.67108ms http.response.status=200 http.response.written=1364 instance.id=45e4855a-57a9-42e8-b141-2300cc8aa525 version=v2.6.2
2018-02-08T14:27:48.256903038Z <IP_ADDRESS> - - [08/Feb/2018:15:27:47 +0100] "GET /v2/vadim/registry/manifests/latest HTTP/1.1" 200 1364 "" "Ruby"
2018-02-08T14:27:48.281660541Z time="2018-02-08T15:27:48+01:00" level=warning msg="error authorizing context: authorization token required" go.version=go1.7.6 http.request.host=docker.portus.local http.request.id=8df4edc5-574b-4eb4-ab4a-c2964da67fab http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/vadim/ruby/manifests/latest" http.request.useragent=Ruby instance.id=45e4855a-57a9-42e8-b141-2300cc8aa525 vars.name="vadim/ruby" vars.reference=latest version=v2.6.2
2018-02-08T14:27:48.281702610Z <IP_ADDRESS> - - [08/Feb/2018:15:27:48 +0100] "GET /v2/vadim/ruby/manifests/latest HTTP/1.1" 401 153 "" "Ruby"
2018-02-08T14:27:48.743046417Z time="2018-02-08T15:27:48+01:00" level=info msg="response completed" go.version=go1.7.6 http.request.host=docker.portus.local http.request.id=41cfd6c7-fda9-424c-9e68-1c34c2e3d0ba http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/vadim/ruby/manifests/latest" http.request.useragent=Ruby http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=317.931395ms http.response.status=200 http.response.written=1154 instance.id=45e4855a-57a9-42e8-b141-2300cc8aa525 version=v2.6.2
2018-02-08T14:27:48.743080546Z <IP_ADDRESS> - - [08/Feb/2018:15:27:48 +0100] "GET /v2/vadim/ruby/manifests/latest HTTP/1.1" 200 1154 "" "Ruby"
2018-02-08T14:27:56.873857312Z time="2018-02-08T15:27:56+01:00" level=warning msg="error authorizing context: authorization token required" go.version=go1.7.6 http.request.host=docker.portus.local http.request.id=2d00b17f-4682-40ee-849d-b1d2d551c0f7 http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/" http.request.useragent=Ruby instance.id=45e4855a-57a9-42e8-b141-2300cc8aa525 version=v2.6.2
2018-02-08T14:27:56.873914297Z <IP_ADDRESS> - - [08/Feb/2018:15:27:56 +0100] "GET /v2/ HTTP/1.1" 401 87 "" "Ruby"

Just

Just to share my experience - I'm deploying in kube cluster via our own internal pattern and this will happen to our background container logs when I bounce the portus pod, but it'll connect within a few minutes

Can confirm, after a few minutes the token is indeed pulled correctly and the background process starts normally.

I just gave it another shot and it turns out my problem was that I was not configuring the external_hostname part properly.
For the others, I see that it was a momentary setback (which I should investigate for the 2.4 release...).  So, I will schedule this for 2.4 with the aim of:

Better documentation.
Improve the examples (hopefully when the Helm chart is finally released we can get a more realistic use case).
Fixing any minor issues with the token not being ready when the background job starts.

@mssola Sorry, but was there a solution for this? I'm getting the same error (it crashes the background worker). I'm not sure if external_hostname is a configurable property?

So, after going through this issue again, I've decided to postpone it for the 2.5 release since:

The image is stable now and the points discussed here have been mostly addressed.
There's a described workaround.
In 2.5 providing a stable Helm chart will be top priority. This means that:

The Helm chart that I've talked here and there will be provided shortly after we start the development of 2.5 (which should happen sooner rather than later, considering that we may release 2.4 next week).
This issue, and similar issues that have been submitted, will be fixed once we submit this Helm chart because we will re-evaluate these issues when providing the Helm chart.
We will provide better documentation on the common pitfalls on all these scenarios.

Note that there are efforts of a stable Helm chart here as well.

Sorry for any inconvenience.

what's the described workaround for this issue? I"m still seeing this issue on 2.4 image

Me too...


pdctl: add member command

PTAL @huachaohuang @siddontang @overvenus

Changing cluster members is dangerous, can we double check the inputs?
>> member delete pd2
Do you want to continue? [Y/n]

Do you want to continue? [Y/n]
It is unnecessary, user can still send HTTP directly to remove the member.

LGTM

PTAL @siddontang

PTAL @overvenus

LGTM


Fix typos in README

What is this PR?
This is a:

[X] documentation update
[ ] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation
Add missing ]s in Supported Inputs tables.
Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake
[ ] Databricks

[X] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Tenets to keep in mind

A metric value should be consistent everywhere that it is referenced
We prefer generalized metrics with many dimensions over specific metrics with few dimensions
It should be easier to use dbt’s metrics than it is to avoid them
Organization and discoverability are as important as precision
One-off models built to power metrics are an anti-pattern

Sorry I didn't checkout CONTRIBUTING.md before submitting the PR 🙈 I've signed the CLA now, but imagine I don't need to verify the changes work locally or add an entry to CHANGELOG.md. Please let me know if I've misunderstood and thanks for the package, it looks very useful!

I updated this! Thank you!


Inflator issue when sending out a message.

There is a problem with the MessageAdapter inflating the message_left.xml into the listview. I am looking for a solution now.

Fixed crash. Still can't connect to message server.

Inflator Issue somewhat fixed. Since the SinchAPI does not allow for local inflation without a connection to the sinch network. I have not found a way to inflate the layout view without overriding the previous messages.
~ SystemFiles


Update docs fonts and sidebars

Description of changes:
Something has always seemed off about the font anti-aliasing and sidebars with the website. This pull request fixes that by including all of the font weights supported by the "Open Sans" font. This dramatically improves the look of the website, by reducing the amount of anti-aliasing the browser has to do.
This pull request also updates the styling of the sidebars to match that of the Bootstrap 5 documentation. This just improves the interaction feeling of these elements.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


add ml_model_data()

Adds method to extract training data for a Spark ML model. Closes #555

LGTM. Update to NEWS?


Align rule-splitters for Agents and the Public

This is somewhat complex code that is mostly equivalent to both,
and will also be mostly equivalent for when we write support for
setting Group access and other potential future targets. Thus, to
prevent confusion, make sure that the functions actually look
mostly the same in addition to behaving mostly the same.
Checklist

[ ] All acceptance criteria are met.
[x] Relevant documentation, if any, has been written/updated.
[x] The changelog has been updated, if applicable.
[x] New functions/types have been exported in index.ts, if applicable.
[x] Commits in this PR are minimal and have descriptive commit messages.

Do you think it would be worth considering factoring these two (soon three) functions into one, or would it add an additional complexity greater that the gain in reducing redundancy ?

Yeah I was thinking about that too - in fact, not just these functions, but the entire files are mostly the same. But I'm pretty torn; it feels like it would be very hard to follow, and the function names would get even more unwieldy, probably. So the answer is: maybe, I don't know :shrug:


Updating setup-python action version to add support for python 3.10. …

…making all quotes single to be consistent.
Signed-off-by: Alexander Xydes<EMAIL_ADDRESS>

I'm not sure why the proselint tool plugin tests are failing and can't replicate the failures locally. Since they're happening in other versions of python too (not just 3.10) I think we should consider that a separate issue.


Integrate NXT program

The NXT program was initially split of due to issues with Java 6 and MacOS. However, Java 6 is now completely deprecated on MacOS and very hard to work around. This means the NXT portions of the program could be included in the Connector to reduce the number of programs that need to be supported.

I understand that it can be good news... I mean, they're thinking of adding LegoNXT to the list of devices.
That would be great. There are many schools that still use these devices. Don't abandon us.


cancel doesn't work with API v 2.0

I always get this error:
{'success': False, 'message': 'NO_API_RESPONSE', 'result': None}

Are you up to date with the most current version of this repo?  Commit d25b5dd31f3d836882734ff6f50f7d9944caac94 has a fix that addresses the Cancel bug.

Yes you are right. I was just behind. Sorry.


[zh]: migrate zh to zh-cn

update config.toml, and migrate zh directory to zh-ch directory
related issue: https://github.com/kubernetes/website/issues/33955
I have noticed the pt-br language used pt-br directory, so I migrated zh to zh-ch
https://github.com/kubernetes/website/tree/main/content/pt-br
wait for https://github.com/kubernetes/website/issues/33476 close.

@zaunist How are we supposed to review such a big PR?

I'd propose closing this PR and do this huge task in a step-by-step way.

I'd propose closing this PR and do this huge task in a step-by-step way.

Got it.


feat(howitworks.jsx): designing a section component

Changes made:
Added a section explaining how the website works.
Screenshot:
Related issue:
Resolves #21
Related Issue

Resolve #21

well done Samira!


Updated validations.py python scirpt

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Good exercise to review collaboration workflows in GitHub.


HttpRequestMethodNotSupportedException

Out of the box when I make an API call to a method not implemented yet, HttpRequestMethodNotSupportedException exception is thrown which does not get handled and Spring handles this exception with its own handler and formats with the big stack trace and message
"error": "Method Not Allowed",
"message": "Request method 'GET' not supported",
"path": "/v1/api"
I tried to override it following examples
    http-statuses:
      org:
        springframework:
          web:
            HttpRequestMethodNotSupportedException: method_not_allowed

However it did not work .I think it is likely because Spring handles this exception before any of the custom exception handler can get to it. If that is what is happening I think it is better to register custom handlers before spring handlers with something like this @Order(Ordered.HIGHEST_PRECEDENCE)

Can you try if the workaround I posted on this other issue works: https://github.com/wimdeblauwe/error-handling-spring-boot-starter/issues/53#issuecomment-1245508653

Yes indeed that works, thanks for sharing this, this will keep my exception response consistent.
  {
      "code": "HTTP_REQUEST_METHOD_NOT_SUPPORTED",
      "message": "Request method 'GET' not supported"
  }

before knowing how to do this , I was basically doing this which was not consistent with just code and message
  server:
    error:
      include-stacktrace: never

Again thanks for helping out with this.

No problem. I will add a note in the documentation in case someone else runs into the same issue.


Limitied documentation on SDN Cmdlets

Most cmdlets have a required Properties field. Using the examples and reverse engineering the sdnscripts allowed me to find out some properties but can we please get documentation about what properties there are for each specific class type. thanks

Moved to https://github.com/MicrosoftDocs/windows-powershell-docs/issues/77


DSA

Description
Writing Solution for the problems.
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign
Saket Sagar Batch -2


Create package for usage with React

Add an individually published logging-react package that houses a React context which provides the logger.

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

npm package (@latest dist-tag)
GitHub release
v1.1.0

Your semantic-release bot :package::rocket:


Add OpenGL error checking in the Line class

Checking for OpenGL errors is now performed sporadically in the Line
class.
-The noexcept specifier was removed from various functions, which now
can throw exceptions.
-In any function where OpenGL is called, the function to check errors
from utilities is called.

I've renamed the shader folder environment variable to MXD_SHADER_ROOT, in order to avoid conflicting with environment variables which are part of other programs.


upload: fix possible memory leak

Never noticed it on most images but looks like there's a memory leak while uploading.

Confirmed and fixed. Also the --memprofile flag has been added to investigate on memory usage after an upload.


Enabling canto fails during gas estimation with provided fee < minimum global fee

After clicking "Enable REStake"
`Failed to broadcast: rpc error: code = Unknown desc = provided fee < minimum global fee<PHONE_NUMBER>000000acanto <<PHONE_NUMBER>00000000acanto). Please increase the gas price.: insufficient fee [evmos/ethermint@v0.19.3/app/ante/fees.go:65] With gas wanted: '0' and gas used: '15442' : unknown request

Recently canto passed a gov proposal bumping the feemarket to 10000 gwei and then stepping down a bit to 1000gwei.
I'm going to update chain-registry... but not sure if there's something else that needs modification for restake.

I suppose for canto we could set "gasPricePrefer": "1000000000000acanto"

@joeabbey gas config is now imported from Chain Registry so issues like this should be fixed now. I'll close but please reopen if any other problems


Allow running just the e2e tests

This is useful when working on the e2e tests, you can deploy once
and run e2e-tests many times.
make e2e status=keep
... modify your e2e tests here ...
make e2e-tests

@mkolesnik I have proposed an extended version of this, because -o deploy doesn't work in my system.
Also the new proposal brings new features and it's cleaner.
https://github.com/submariner-io/submariner/pull/510


Clean up old / dead branches

Let's all comment with candidates for deletion, and delete our own dead branches when they are correctly suggested or comment that they shouldn't be deleted.

[ ] feature/frameworks (Y4Rv1K)
[ ] feature/disable-auth (tymofii-polekhin)
[ ] feature/haproxy-ssl (BrianHicks)
etc. Sound good to everyone?

Sounds okay to me. I don't have too many branches, so it should be easy to clean them up.
Maybe the rule should be that a branch should be pruned if it has no PR associated with it, and it's older than X amount of weeks?

That'd be fine w/me Sam. I don't feel like we need to be too process oriented, but it has been commented on.

Alright, I've cleaned up my branches. The drone-ci branch should be kept, even though the PR for it #990 has been closed.

Thanks. We'll circle back on Drone, soon. There's work being done to facilitate what we're trying to accomplish. Beyond the issues raised by @siddharthist, there's also this discussion: https://github.com/drone/drone/issues/1476

This issue will always be a work in progress, but we've gone down from ~60 to ~30 branches, the vast majority of which are quite active. Closing for now, please reopen if this becomes a bigger issue again.


Can we get this peerDependency MR merged?

https://github.com/tracworx/nestjs-dataloader/pull/283
@nestjs/graphql is on version 11 now

🙏


unable to install version 2.0.2

When i do a $pip install django-jsonfield, the version gets installed is version 1.0.1
I also tried explicitly installing this version with $pip install django-jsonfield==2.0.2 this is what i see:
(django-1.11) Poojas-MacBook-Pro:medengine poojagada$ pip install django-jsonfield==2.0.2
Collecting django-jsonfield==2.0.2
  Could not find a version that satisfies the requirement django-jsonfield==2.0.2 (from versions: 0.6, 0.7, 0.7.1, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.7, 0.8.8, 0.8.10, 0.8.11, 0.8.12, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12b1, 0.9.12b2, 0.9.12, 0.9.13, 0.9.15, 0.9.16, 0.9.17, 0.9.18, 0.9.19, 1.0.0, 1.0.1)
No matching distribution found for django-jsonfield==2.0.2

I am running django-1.11.
This package is super important for us, your help is really appreciated !

actually nvm. i read your comment below, i installed $pip install jsonfield==2.0.2 and it works correctly. sorry for the confusion.


[fastpages] Automated Upgrade

Quinn's

2.7+ I liked how you personalized your website, maybe add more cuts to your video.

2.7+ Clear thorough explanation and very personalized, well done/1

He had no sound, but he did a really good job showing on what he was changing in his website
he had all the parts
2.7+

No sound on video.  Perhaps side by side stage.  Not sure about it being on your own computer.   2.5

2.7+
The website looked nice, and did all the requirements

2.7. Good job demonstrating all the different changes. However, a voiceover would be nice.

I think Quinn deserves a 2.7, as he did a good job showing what he did to make changes on the website; however, I think he could have added some audio to make it more clear to the viewers

2.6 audio would have been helpful to follow what you were doing

Good video that was very clear in what was being changed, maybe next time add audio. 2.7

No sound, but I could clearly see the changes on the webpage, but no changes on your fastpage. 2.6

no sound but great job, 2.7+

2.6
No sound and did not show fastpages
Showed that his webpage was running on his laptop

2.7, you did not have sound and did not have any captions for what you are doing


Kubernetes: initial upload

Vagrant file for Kubernetes cluster.
Tested with Oracle Container Services 1.1.9 for use with Kubernetes (Kubernetes 1.9)

Thanks for the review; amended as requested!


[Feature Request] myip subcommand for dual stack setups

Hi,
Thanks for the wonderful tool!
It would be awesome to return the assigned IPv6 address in dual stack setups!
Cheers,
PY

Will look to add this in Q4 2023

This is available in ipinfo myip -6 now.


Is this adapetr effected by shutdown of gigaset cloud? Will it work after 29.3.2024?

As gigaset announced a shutdown of gigaset-smart-home-care at 29.3.2024 (https://service.gigaset.com/de/support/solutions/articles/75000121636-deaktivierung-smart-home-care-dienste) please indocate whether this adapter will be affected and stop working at 29.3.2024.
If this adapter is effected, please indicate whether a cloud free solution (local connect) seems to be possible.
If this adapter is dead, please state this and set the repository to archived afterwards.

The adapter does not work anymore after the cloud services have been disabled. To my knowledge there is no way to operate the base station and elements locally.
I'm going to archive this repository.


Issue on swapping IOTX to IOTX-E

Hi everyone,
I've been trying to swap native IOTX to IOTX-E using the online tool but I keep getting the following message: "failed to execute contract: TypeError: e.toLowerCase is not a function".
I'm using the most updated version of IoPay and I still can't finish the transaction.
Please help me out. Thanks!

https://github.com/iotexproject/web-bp/blob/e2e2b941b80ae126334cf531f5d566d49ea7c053/src/shared/profile/moveto-ethwallet.js#L337

thanks but I can't see anything = 404 page not found error

sorry, that code reference is for our internal debugging purpose...
somehow I cannot reproduce the issue. what is the exact version number of your wallet? @cryPT-BR

sorry, that code reference is for our internal debugging purpose...
somehow I cannot reproduce the issue. what is the exact version number of your wallet? @cryPT-BR

I'm using the 0.6.1 version which I've downloaded twice just in case

@puncsky By the way, what would be this address:
Mapping ETH Address
0xf19185e3c89935b1224301d46f555979d3ad24cb
I noted the error takes place when I change the default option (Current ETH Address: 0xf19185e3c89935b1224301d46f555979d3ad24cb) to the 'Another ETH address' option, where I put my Atomic Wallet address.
Sorry if I've been doing something wrong but this is the first time I make this kind of transaction

Closed in favor of https://github.com/iotexproject/web-bp/issues/1384


Fix CI

First failure here: https://travis-ci.org/RxSwiftCommunity/Action/builds/220553535

/Users/travis/build/RxSwiftCommunity/Action/Sources/Action/Action.swift:99:14: error: value of type 'Observable' has no member 'bindTo'

Looks like RxSwift might not be adhering to semver? Help would be welcome here :bow:

Seems like this is good to by closed? Not seeing any errors in CI ATM


[Issue #335] Add Chinese test cases for KeywordMatcher and DictionaryMatcher

This PR adds Chinese test cases for KeywordMatcher and DictionaryMatcher.
The branch huang-chinese-testcase-keyword-dict will be merged into branch zuozhi-chinese-only.

LGTM


Account settings not saved

Hi,
first of all, thanks for that awesome app!
I am facing an issue where i try to set "Wind speed unit", "language" and "FTP auto update" on the account page.
I can change the settings and see the outgoing requests to the server. However, if I reload the page (e.g.: Strg + F5), the mentioned settings are resetted to it's original values.
Browser: latest Chrome
Request example:
POST https://strautomator.com/api/users/15751672/preferences
{
    "ftpAutoUpdate": false,
    "linksOn": 0,
    "delayedProcessing": false,
    "gearwearDelayDays": 2,
    "activityHashtag": false,
    "noSuffixes": false,
    "privacyMode": false,
    "weatherProvider": null,
    "weatherUnit": "c",
    "windSpeedUnit": "m/s", <-- changed value from "kph" to "m/s"
    "language": "en",
    "aiProvider": "openai",
    "aiPrompt": "",
    "dateResetCounter": false
}

BR,
Thomas

Hi @igoramadas,
looks good now. Maybe language and ftp auto update had a side effect from the wind speed unit setting. However, now the changed values remain also after reloading the page.
Thanks for the quick response & fix!
BR, Thomas


[ALLUXIO-2293] Fix javadoc in BlockMasterSync.java

https://alluxio.atlassian.net/browse/ALLUXIO-2293
Update "Id" to "ID" in the javadoc

Can one of the admins verify this patch?

ok to test

Jenkins, add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11817/
Test PASSed.

Thanks for the improvement, just need to sign the CLA and we can merge


Fixes broken link for Blinky sample

Blink moved to Samples/samples

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


Update README.md

Add info about the benchmarks.

Current coverage is 83.70% (diff: 100%)

Merging #494 into master will not change coverage

@@             master       #494   diff @@
==========================================
  Files            79         79
  Lines          3940       3940
  Methods        3611       3611
  Messages          0          0
  Branches        329        329
==========================================
  Hits           3298       3298
  Misses          642        642
  Partials          0          0

Powered by Codecov. Last update 5abbf0c...529287f

👍


issues in requests.txt

Following the README, folks will get errors. Here is a fix for requests.txt
click==6.7
Flask==1.0.0
Flask-Cors==3.0.3
itsdangerous==0.24
Jinja2>=2.10.1
MarkupSafe==1.0
six==1.11.0
Werkzeug==0.15.0
requests

You mean requirements.txt
Thanks!  this worked for me.


Optimize format for EVM txs & data

Closes: https://github.com/onflow/flow-evm-gateway/issues/123
Description
Update Cadence scripts & transactions to accept EVM tx & data as hex-encoded strings instead of Cadence byte arrays. This is far more effiecient with the current JSON-CDC encoder.

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the standards mentioned here.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Very nice indeed! 👌


build: Aries Framework JavaScript version update to 0.1.0

Codecov Report

Merging #86 (8a3c6f2) into main (053a3c7) will decrease coverage by 24.74%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #86       +/-   ##
===========================================
- Coverage   86.27%   61.53%   -24.75%
===========================================
  Files          28       28
  Lines         481      481
  Branches       68       68
===========================================
- Hits          415      296      -119
- Misses         66      185      +119

Impacted Files
Coverage Δ

...rc/controllers/connections/ConnectionController.ts
28.81% <0.00%> (-50.85%)
:arrow_down:

...ges/rest/src/controllers/proofs/ProofController.ts
30.37% <0.00%> (-50.64%)
:arrow_down:

...rc/controllers/credentials/CredentialController.ts
31.32% <0.00%> (-50.61%)
:arrow_down:

packages/rest/src/utils/ProofRequest.ts
80.00% <0.00%> (-20.00%)
:arrow_down:

...kages/rest/src/schemas/ReceiveInvitationRequest.ts
85.71% <0.00%> (-14.29%)
:arrow_down:

packages/rest/src/schemas/ProofRequestTemplate.ts
88.88% <0.00%> (-11.12%)
:arrow_down:

packages/rest/src/schemas/ProofProposalRequest.ts
81.81% <0.00%> (-9.10%)
:arrow_down:

...ages/rest/src/schemas/CredentialProposalRequest.ts
94.11% <0.00%> (-5.89%)
:arrow_down:

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 053a3c7...8a3c6f2. Read the comment docs.

Can I merge this?

Ci is failing, but otherwise yes!

@blu3beri can you fix the CI issues? I think increasing the timeout a bit could do the trick?


Works good with react 15 and up, also version bump

@gianu Could you please review and merge if OK?

+1

:+1:

Version 1.0.0 with React 15 support released!


"fatal" error logged to console, but execution continues

Describe the bug

To Reproduce
Run xata init, xata schema dump, or any command in a directory that isn't a git repo.
Expected behavior
Either a warning is displayed:

You're not in a git repo, so Xata branches will not be mapped to git branches. More in the docs:

Or, this "fatal" error is not rendered since it doesn't seem to cause any blocking problems.
Software version
@xata.io/cli/0.7.0 darwin-arm64 node-v16.15.1

Duplicated of https://github.com/xataio/client-ts/issues/466

Closing in favor of https://github.com/xataio/client-ts/issues/466


Error in Django 1.9 with date_hierarchy

If using date_hierarchy attribute in admin with Django 1.9 opening the changelist returns the following error:
AttributeError at /en/admin/stupid_blog/post/
'datetime.datetime' object has no attribute 'set_current_language'

See http://dpaste.com/36S7YKR
A reference application that triggers the issue is https://github.com/yakky/stupid-blog
https://github.com/nephila/djangocms-blog is also affected

Fixed by #118


TimeoutError

TimeoutError currently is an annoying error that sometimes happens after either TikTok or the client drop HTTP connections. There should be a parameter that allows this error to be ignored rather than displayed.
Simply check is_instance(error, TimeoutError) and use the user's config via kwargs to determine whether or not it should be displayed.

Released in https://github.com/isaackogan/TikTokLive/releases/tag/v0.8.9


Use node version from nvm config for bundle-size action

Might help prevent flakiness of this build job.
Background: this project uses .nvmrc to specify the Node version that this project works best with and has been tested against. It ensures that everyone runs the project with the same Node version via Node Version Manager (nvm).
Now, on a CI environment the default Node version might change, and might not be the same as the one we define in .nvmrc. This can cause issues, for example when installing modules with binaries that were compiled against a different Node version.
It is important that all tools work with the same node version.
This PR makes sure the compressed-size-action uses the same Node version as all other workflows and aspects of the project: the one specified in .nvmrc.
tl;dr: When the bundle-size workflow runs and executes npm install, it will now use whatever Node version we specifcy in .nvmrc rather than using the CI's default Node version.

Can you explain a little what this PR does?

@spacedmonkey Updated the description.


Ipad 201 volcano slowness d3 updates

@JoeDalen81 Can you please review the Jira Ticket?

@ternst23, Joe and I spoke about this, figured out the resize listener should use debounce (rather than setTimeout) and be unmounted in componentWillUnmount.  Thus, the bug you/we saw is fixed.

Whoops, meant to just close the comment, not the PR.  Making a comment here to reopen...


Using on iPhone X black space on top.

Issue Description

Helllo, When I implement it with iPhone X the moment I click it cut the top part out and left it black instead of full screen. Do you have any suggestion how to fix it? Thanks!

Please read the README carefully.


[MRESOLVER-153] Make TrackingFileManager use NamedLocks

Now that TrackingFileManager is shared singleton, let's make it use NamedLockFactory.
Commits:
Step1: drop all SyncContextFactory implementations and indirections, redo the same functionality using NamedLocks.
Step2: Pull out NamedLockFactory selection and expose selected one.
Step3: Tie up selected NamedLockFactory to TrackingFileManager.
Step4: use locking
Step5 keying for files., prefix + sha1(path)

Superseded by these two (sorry, as one depends on another, I could put it into my fork only, as I started all this work on a fork):
1st: https://github.com/apache/maven-resolver/pull/102
2nd: https://github.com/cstamas/maven-resolver/pull/3


Revoking a tenant wide consent

Please also tell or link to how to revoke tenant-wide consent. I have trouble finding that.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 17a52e9f-e485-bf0f-36d9-4e9061ad5a5a
Version Independent ID: 377c1a82-64af-4055-fd25-9f1c01ba6e06
Content: Manage consent to applications and evaluate consent requests - Microsoft Entra
Content Source: articles/active-directory/manage-apps/manage-consent-requests.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @psignoret
Microsoft Alias: phsignor

@donlassini
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@donlassini, thank you for the feedback. We have raised a PR #204724 to address your feedback. Will close the issue for now. Feel free to reach out if you have any other concerns.

#please-close


Consider supporting typescript？

[master] npm search @types/chai-json-pattern
No matches found for "@types/chai-json-pattern"

Hope to support typescript.

I recently added the types for this package, just install them with npm/yarn, e.g. yarn add -D @types/chai-json-pattern


problem with debugging file via lldb

Hello,
i have a problem with remote debugging crosscompiled binary file. The breakpoints doesnt hit. If i compile directly with cargo build, everything works fine. Do u have some advice, what might be wrong ? The cross binary file missing any debug symbols ?
I am using VS CODE and CODELLDB

I just compared binary filed compile with cargo build a cross build and they are different cross binary is smaller. Do anyone has any advice ?

@kytas I am having the same problem, how did you fix it?

@kytas I am having the same problem, how did you fix it?

hello, in older version u must use  "sourceMap": {
"/project": "${workspaceFolder}"
},  in launch.json
because the symbols has another path.
Nowdays i dont have the source map and debugging working. I have dockerfile for arm achitecture like Raspberry etc.

@kytas I am having the same problem, how did you fix it?

hello, in older version u must use "sourceMap": { "/project": "${workspaceFolder}" }, in launch.json because the symbols has another path. Nowdays i dont have the source map and debugging working. I have dockerfile for arm achitecture like Raspberry etc.

Thank your for your answer. I already figured out to use the sourceMap and now my breakpoints are hit.
For anyone stumbling on this issue in the future this is what you must do if your breakpoints are not getting hit (if you are using cross):
The paths must be the "remote" cross path as the key, and your local path as the value. They must both be absolute and point to their respective src directory. If you get an message of the form Could not resolve any locations for breakpoint at d:\<path>\<projectname>\src\main.rs:2, but found a valid location at /mnt/d/<path>/<projectname>/src/main.rs:2 (or similar) inside the "DEBUG CONSOLE" then your source mapping is not correct and you will not hit any breakpoints!
An example for a correct path mapping would be:
"sourceMap": {
    "/mnt/<path-to-project>/src/": "d:\\<path-to-project>\\src\\"
}

To find out the right paths just check the error message you get if your breakpoints are not getting hit.

I wonder if we could make this process a bit better, like a env var that we can set

@Emilgardis That may not be a bad idea. I also tried setting it up on another windows machine and there the source path wasn't /mnt/... but just /project/src/ so I don't know if the path always remains the same between different systems.

That's probably because you're using different versions of cross, on current cross from the main branch it should always use /mnt/ on windows

@Emilgardis Huh thats odd. I just started using cross on both machines and if i recall correctly they both installed the newest release 0.2.5. But I mean it is an easy fix if the paths get mixed up so its not a big issue i guess.

On 0.2.5, installed as cargo install cross the paths can be either absolute (i.e /mnt/drive/...) or "linked" to /project, depending on if the workspace has path dependencies or not. If there are no path dependencies, it'll use /project. Anyway, the more appropriate behaviour we determined is to just always use the absolute path


🌐 Add Russian translation for docs/ru/docs/tutorial/middleware.md

📝 Docs preview for commit a3d640c8e54c9697c24ff0fd612c3a511da3a634 at: https://14559915.fastapitiangolo.pages.dev

As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.

sorry for the late response, and thank you

From: Sebastián Ramírez @.>
Sent: Wednesday, February 7, 2024 9:14 PM
To: tiangolo/fastapi @.>
Cc: Subscribed @.***>
Subject: Re: [tiangolo/fastapi] 🌐 Add Russian translation for docs/ru/docs/tutorial/middleware.md (PR #10538)
Closed #10538https://github.com/tiangolo/fastapi/pull/10538.
—
Reply to this email directly, view it on GitHubhttps://github.com/tiangolo/fastapi/pull/10538#event-11740295382, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BE7DINCA2ZJRXCJFUSDXFE3YSQ7LDAVCNFSM6AAAAAA6T7UBAOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG42DAMRZGUZTQMQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Add reference to dynamic provisioning page to help new users

Closes #29641
Summary
Adds some changes to link to a page I found helpful in explaining a concept required by a prerequisite I spootted on https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/#before-you-begin
L10n
I speak French, basic German, and some Japanese. To my knowledge these edits are accurate, but I do not have enough fluency in Korean or Mandarin yet to assist with the others. :blush:

I'm looking to sign the Corporate CLA but getting an error when trying to reach out on the Linux Foundation form :sweat_smile:

I'm aligning with my company. I'll reopen when finished

I no longer work at Siemens and do not have access to the email linked on my Linux Foundation account, therefore I cannot sign the CCLA.
If anyone knows how to delete a Linux Foundation identity account, please let me know, as I do not have the password (I only used social login) and cannot change the email nor the password, nor retrieve a new password to get ... catch 22.


docker pull on swarm manager not working with private registry Images with docker-compose

Hi,
I am using swarm with 3 mangers , and 4 slaves.

docker -v

Docker version 1.11.1, build 5604cbe

docker-compose --version

docker-compose version 1.7.1, build 0a9ab35

docker info

Containers: 30
 Running: 13
 Paused: 0
 Stopped: 17
Images: 29
Server Version: swarm/1.2.2
Role: primary
Strategy: spread
Filters: health, port, containerslots, dependency, affinity, constraint
Nodes: 4
node-prod1: <IP_ADDRESS>:2375
  └ ID: C6VU:6RW6:BQIY:ITAI:RS53:IDYE:3TIE:SMVL:YZSX:6FF4:O5VC:R6GR
  └ Status: Healthy
  └ Containers: 12
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 10.25 GiB
  └ Labels: executiondriver=, kernelversion=4.4.0-22-generic, nodetype=app, operatingsystem=Ubuntu 16.04 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-06-04T06:42:02Z
  └ ServerVersion: 1.11.1
 node-prod2: <IP_ADDRESS>:2375
  └ ID: YY6H:5APF:LTVB:4F5G:5XSJ:KUIU:TAEX:OR7T:WRBF:N2R4:YRLH:KLB2
  └ Status: Healthy
  └ Containers: 8
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 10.25 GiB
  └ Labels: executiondriver=, kernelversion=4.4.0-22-generic, nodetype=app, operatingsystem=Ubuntu 16.04 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-06-04T06:42:08Z
  └ ServerVersion: 1.11.1
 web-prod1: <IP_ADDRESS>:2375
  └ ID: XQZQ:N3AF:OT3W:OH6R:GBBH:FN4C:6NO4:EHV2:VUWL:63HZ:BNCD:5IS7
  └ Status: Healthy
  └ Containers: 5
  └ Reserved CPUs: 0 / 2
  └ Reserved Memory: 0 B / 1.016 GiB
  └ Labels: executiondriver=, kernelversion=4.4.0-22-generic, nodetype=web, operatingsystem=Ubuntu 16.04 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-06-04T06:41:51Z
  └ ServerVersion: 1.11.1
 web-prod2: <IP_ADDRESS>:2375
  └ ID: UFOQ:FO2H:PVJG:KK4P:GC4E:YVTB:WZZM:MVMJ:HPDE:OH2B:6AG5:2HP4
  └ Status: Healthy
  └ Containers: 5
  └ Reserved CPUs: 0 / 2
  └ Reserved Memory: 0 B / 1.016 GiB
  └ Labels: executiondriver=, kernelversion=4.4.0-22-generic, nodetype=web, operatingsystem=Ubuntu 16.04 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-06-04T06:42:25Z
  └ ServerVersion: 1.11.1
Plugins:
 Volume:
 Network:
Kernel Version: 4.4.0-22-generic
Operating System: linux
Architecture: amd64
CPUs: 12
Total Memory: 22.54 GiB
Name: manager1
Docker Root Dir:
Debug mode (client): false
Debug mode (server): false
WARNING: No kernel memory limit support

cat docker-compose.yml

version: '2'
services:
 generic-ui:
  image: <privaterepo_URL>/generic-ui:latest

when I am doing the pull from the manager machine, I am getting following error.

docker-compose pull

Pulling generic-ui (<privaterepo_URL>/generic-ui:latest)...
web-prod2: Pulling <privaterepo_URL>/generic-ui:latest... : Error: image generic-ui not found
web-prod1: <privaterepo_URL>/generic-ui:latest... : Error: image generic-ui not found
node-prod1: Pulling <privaterepo_URL>/generic-ui:latest.. : Error: image generic-ui not found
node-prod2: Pulling <privaterepo_URL>/generic-ui:latest... : Error: image generic-ui not found
ERROR: Error: image generic-ui not found

but. if I try to use this file in my nodes it pulling the image. and the manger able to pull from the docker hub. so basically private repo not working with swarm for me.
I googled it, and find some link . and I did the following to solve this problem

Allowing insecure-registry in ALL my machines (including manger and slaves)

vim /etc/default/docker
DOCKER_OPTS="--insecure-registry privaterepo_URL:443 ...."

service docker restart

Installing the certs in ALL my machines (including manger and slaves)

echo -n | openssl s_client -connect <privaterepo_URL>:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/docker-reg.crt
sudo mv /tmp/docker-reg.crt /usr/local/share/ca-certificates/docker-reg.crt
sudo update-ca-certificates
service docker restart

And I logged in ALL my machines (including manger and slaves)

docker login https://privaterepo_URL

After that also I facing the same issue. with pulling image on swarm manger machines.
Please help me on this issue.

and my swarm version is

docker exec manager1 /swarm -v

swarm version 1.2.3 (eaa53c7)
@nishanttotla

hi @nishanttotla , very sorry . It works fine.
previously I user swarm:1.2.2 , after seeing this ticket , (https://github.com/docker/swarm/issues/2217)
I upgraded to 1.2.3, I missed to update in one manger node. after update that manger, it works perfectly. thank you. :)


Fix/mock server error no requests

This should now make your tests fail, which is a kind of strange thing to want. Fixes #15

Thanks Ron - the tests look good. I'll pull it down tomorrow and take it for a spin 👍

Thank for this Ron, looks good to me, tested against these 2 commits with a python and php gRPC test, that has no gRPC requests being made. and one against the Ruby spike here https://github.com/YOU54F/pact-ruby-ffi/
no matches

no matches

no matches, then matches

expecting a diff value in request contents to issued gRPC request.

Good point, I'll release it as 0.2.0


Crashes due to corrupted signatures.json

Description
Under "stressful" conditions (executing myth multiple times, aborting with CTRL+c,...) Mythril encounters exceptions such as JSONDecodeError  errors and ValueError as the signature file breaks.
E.g.
$ myth -mether_thief -x tokensale.sol --verbose-report
ERROR:root:Solc experienced a fatal error (code 1).

""tokensale.sol"" is not found

(mythril) cerebral-cortex:Medium_Posts bernhardmueller$ myth -mether_thief -x tokensalechallenge.sol --verbose-report
Traceback (most recent call last):
  File "/Users/bernhardmueller/.pyenv/versions/mythril/bin/myth", line 11, in <module>
    load_entry_point('mythril==0.19.6', 'console_scripts', 'myth')()
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/interfaces/cli.py", line 348, in main
    address, _ = mythril.load_from_solidity(args.solidity_file)  # list of files
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/mythril.py", line 406, in load_from_solidity
    solc_binary=self.solc_binary,
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/ether/soliditycontract.py", line 39, in get_contracts_from_file
    solc_binary=solc_binary,
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/ether/soliditycontract.py", line 101, in __init__
    super().__init__(code, creation_code, name=name)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/ether/ethcontract.py", line 22, in __init__
    self.disassembly = Disassembly(code, enable_online_lookup=enable_online_lookup)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/disassembler/disassembly.py", line 30, in __init__
    signatures.open()  # open from default locations
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/support/signatures.py", line 100, in open
    sigs = json.load(f)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/lib/python3.6/json/__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/lib/python3.6/json/decoder.py", line 342, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 245 (char 244)

Contents of signatures file:
 cat ~/.mythril/signatures.json
{"0x2eb00c1b": ["pwnContract()"], "0x41c0e1b5": ["kill()"], "0x70a08231": ["balanceOf(address)"], "0xa6e0e35e": ["activateBackdoor(bytes11)"], "0xb2fa1c9e": ["isComplete()"], "0xd96a094a": ["buy(uint256)"], "0xe4849b32": ["sell(uint256)"]}     "isComplete()"
    ],
    "0xd96a094a": [
        "buy(uint256)"
    ],
    "0xe4849b32": [
        "sell(uint256)"
    ]

How to Reproduce
Running mythril against the same file multiple times will usually result in an error.
Environment

Mythril version: develop
Solidity compiler and version: 0.4.24+commit.e67f0147.Darwin.appleclang
Python version: 3.6.4
OS and Version: Mac OS Mojave

Second error after running Mythril twice on tokensale.sol:
$ myth -x -minteger --verbose-report tokensale.sol
Traceback (most recent call last):
  File "/Users/bernhardmueller/.pyenv/versions/mythril/bin/myth", line 11, in <module>
    load_entry_point('mythril==0.19.7', 'console_scripts', 'myth')()
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/interfaces/cli.py", line 282, in main
    enable_online_lookup=args.query_signature,
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/mythril.py", line 101, in __init__
    enable_online_lookup=self.enable_online_lookup
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/support/signatures.py", line 61, in __call__
    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/support/signatures.py", line 80, in __init__
    self.open()
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/support/signatures.py", line 130, in open
    path, sighash, funcsig
ValueError: Malformed signature file at /Users/bernhardmueller/.mythril/signatures.json. 0x3432fcbb: TokenSaleChallenge(address) is not a valid entry

Dealing with the JSON file has been quite a pain, especially maintaining consistency for concurrent access. Over the weekend I hacked up a smaller signature DB that uses SQLite. I'm currently brushing it up a little and see how I can integrate it with the points where the old DB is currently used. :+1:

Yeah, the JSON file has always been a major pain 😢

#758 merged, major pain removed. Dr. Muhs signing off. :+1:


[Bug] ChatGPT doesn't receive the prompt

Describe the bug
I did my initial download of this, installed and signed in. Everything works perfectly, except that ChatGPT doesn't receive the prompt.
To Reproduce
Download, install, sign-in to all services, write prompt, send prompt.
Expected behavior
Prompt should show up in ChatGPT window, but it does not.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Sonoma 14.0
GodMode Version: Version 1.0.0-beta.9 (1.0.0-beta.9)

fixed by #267 it was just a breaking change from openai. should be fixed int he new version im building now


Making sure to always use lower paths.

Some devices send paths in lower format, some in upper format, and sometimes it depends on the method called. This lead to a problem in finding the right enums for a get request, if the cases didnt match. To avoid such situations in the future, we should make sure all paths are in one format (lower case).

Paths should always be lower case. I would therefore rather fix the places where upper case is called rather then doing this expensive operation in the client. If it can not be resolved on the server, we should do it in the core of the client rather than everywhere where we need a lower path.
Do you know where you saw the lower path?


Add Utility Functions to Enhance *ByExample Support

This is inspired by https://github.com/mybatis/generator/issues/472
Currently, the mapper interfaces generated by MyBatis Generator are a bit inconsistent. With the *ByExample methods, the user is required to code build().render(...) with every use. None of the other generated methods require this.
This change will introduce specialized functions that will enable a change to the code generated by MyBatis Generator. Ultimately it will allow a user to write a simpler lambda expression for a where clause. This will make client code more consistent and cleaner, and will place less burden on the user.
There will be a corresponding change in MyBatis Generator to use these new functions.

@jeffgbutler sorry (Translated by translation tools)
maybe it will increase your workload, but I really like this framework. I just found an interesting thing.
code a interface name Adapter
public interface Adapter<R> {
    R execute();
}

then let MyBatis3SelectModelAdapter、MyBatis3UpdateModelAdapter、MyBatis3DeleteModelAdapter implements  Adapter
public class MyBatis3UpdateModelAdapter<R> implements Adapter<R> {
}

public class MyBatis3SelectModelAdapter<R> implements Adapter<R>{
}

public class MyBatis3DeleteModelAdapter<R> implements Adapter<R>{
}

although it's not very useful, the code looks beautiful.
I don't know if there are any other classes that can do this.

Thank you for this idea. But I'm moving away from these generic adapters for updates and deletes because they force a box/unbox that isn't necessary - update and delete always return int with MyBatis. The new adapters are here: https://github.com/mybatis/mybatis-dynamic-sql/tree/master/src/main/java/org/mybatis/dynamic/sql/util/mybatis3
I will probably deprecate and ultimately remove the old adapters after I get the generator updated to use these new capabilities.


Update

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Test URLs:

Before: https://main--wknd--rrusher.hlx.page/
After: https://update--wknd--rrusher.hlx.page/

wrong repo


[Paris meetup] Security

[ ] RBAC
[ ] RBAC on File Level
[ ] Manage SSF badges
[ ] General SSF badge

RBAC / RBAC on File level should move to CoMPAS

[ ] OpenSCD can provide "guards" like canOpen/canClose.
Default getUserRole functions


Sending Session data?

I'm sending some data to the client via Meteor.call's (static data that doesn't have to be reactive), and store them in Session on the client. That way I get UI reactivity after I store the data in Session, since Meteor.call is asynchronous, this is the only way I figured how to make this work.
My question is, fast-render doesn't send the Session data with the initial page load it seems. Is there a reason for that? Something that could be added?

Fast Render can't handle session data since this happens when processing page in the server.
Anyway, you should not use session inside waitOn.


Initial Support for Windows Based Builds

Implemented logic for windows-based docker builds. Moved dockerfiles and scripts to platform specific folders.
Changes

Added win32 as a supported base platform
Added logic for pulling windows based docker images
Added logic for mounting windows based file systems to docker
Added checks for required windows components on the runner
Moved dockerfiles, entrypoint, and steps scripts to platform-based directories
Added dockerfile, entrypoint, and steps scripts for windows
Modified default build script to check for an android build before attempting to access an Android version variable that may not exist
Added various error messages for invalid configurations, ie: windows based runner trying to run a windows image on a version below 2019.3, missing required environment secrets for windows, missing required build tools on the host runner that are needed within the container.
Added build tests for windows il2cpp, WSAPlayer, and tvOS in build-test workflow
Modified Image Tag tests to be platform based

Checklist

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

Note that for me to be able to merge it, you'll have to either merge main into this branch or rebase the branch and force-push it.
Will look into building the images for testing this tomorrow.

@webbertakken How do I fix merge conflicts for the index.js.map file? Do I just remove it and it gets regenerated on commit?

Nvm I added the -X theirs flag and it did the merge

@webbertakken How do I fix merge conflicts for the index.js.map file? Do I just remove it and it gets regenerated on commit?

Indeed. It regenerates on a pre-commit hook. or you can yarn build manually.

There's now a compatibility check on tests that requires the base system to be linux or it throws an error in actions.test.ts. But when committing on windows it still runs that check and fails which cancels the commit. How do we want to proceed on this? Should windows be added as a valid platform?

Right. Feel free to delete the test or have it accept windows.

I just realized I read the test wrong. I thought it was saying the tests only run on linux. I've added windows as an allowed platform for the test now.

Here's part 1 https://github.com/game-ci/versioning-backend/pull/36

What's the next step? Is the backend already up and now we try building an image and a project?

The backend is what you see spamming in #news on discord every time there's a new Unity editor version or docker repository version out.
As for the steps, I'm thinking this:

Merge https://github.com/game-ci/versioning-backend/pull/36
Merge https://github.com/game-ci/docker/pull/141
Continue with the rest of the code that's needed to support windows builds on versioning backend
Run all windows builds over the course of 36 hours

During the last step we can simultaneously

debug failing windows builds, as well as
start testing windows baseed builds on unity-builder using the last commit from this PR and eventually merge this PR

wdyt?

Sounds good to me. Let's make it happen!

@davidmfinol Is the code from both branches exactly the same? In that case I also agree. If not the quality checks will not allow this because the complexity rises harder than code deduplication offers.

@davidmfinol Is the code from both branches exactly the same? looks like right? In that case I also agree. If not the quality checks will not allow this because the complexity rises harder than code deduplication offers.

Yep, its the exact same. If it weren't I would have recommended extracting the duplicate code into a function, and calling that function from both branches.

I did try to do fall through cases before but the precommit hook fails the build as the standard does not allow for it.

I did try to do fall through cases before but the precommit hook fails the build as the standard does not allow for it.

I just tested this. It allows it, but only if the cases are the same.
For example this shows an error:

But this does not

I now have the unity serial code in build parameters but now tests don't pass because there is no license for it to pull a serial from thus causing it to throw an exception (which is expected) but that means none of the tests can run. How should I fix the test?

I now have the unity serial code in build parameters but now tests don't pass because there is no license for it to pull a serial from thus causing it to throw an exception (which is expected) but that means none of the tests can run. How should I fix the test? Can I force environment variables somehow and put the license that is used in the workflows?

If I understand your comment correctly we probably have to do this: https://stackoverflow.com/a/58953365/3593896

Codecov Report

Merging #305 (79fc498) into main (7871734) will decrease coverage by 0.84%.
The diff coverage is 39.28%.

:exclamation: Current head 79fc498 differs from pull request most recent head 35cda86. Consider uploading reports for the commit 35cda86 to get more accurate results

@@            Coverage Diff             @@
##             main     #305      +/-   ##
==========================================
- Coverage   56.72%   55.87%   -0.85%
==========================================
  Files          23       23
  Lines         781      825      +44
  Branches      151      166      +15
==========================================
+ Hits          443      461      +18
- Misses        337      362      +25
- Partials        1        2       +1

Impacted Files
Coverage Δ

src/model/docker.ts
12.00% <0.00%> (-5.65%)
:arrow_down:

src/model/image-tag.ts
48.19% <22.22%> (-6.10%)
:arrow_down:

src/model/action.ts
80.64% <55.55%> (-11.03%)
:arrow_down:

src/model/build-parameters.ts
91.42% <81.25%> (-8.58%)
:arrow_down:


prisma format changes schema semantics

Bug description
If I remove a relation on one side and forget to remove it on the other side, Prisma will just silently add it back in under a generated name.
How to reproduce

Declare relation:model Parent {
  id       Int     @id @default(autoincrement())
  children Child[] // (1)
}

model Child {
  id       Int    @id @default(autoincrement())
  parentId Int
  parent   Parent @relation(fields: [parentId], references: [id])
}

Remove line (1)
Run prisma format on the schema
Prisma generates a new relation property:model Parent {
  id    Int     @id @default(autoincrement())
  Child Child[] // (2)
}

Expected behavior
I think the right move here would be to report the conflict instead of guessing which conflict resolution is correct. The formatter can't know what the author intended, after all. This seems more like a job for a linter to me.
Prisma information
n/a
Environment & setup

OS: Linux 6.10.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 15:16:37 +0000 x86_64 GNU/Linux
Database: PostgreSQL 15.3
Node.js version: v22.9.0

Prisma Version
prisma                  : 5.16.2
@prisma/client          : 5.16.2
Computed binaryTarget   : debian-openssl-3.0.x
Operating System        : linux
Architecture            : x64
Node.js                 : v22.9.0
Query Engine (Node-API) : libquery-engine 34ace0eb2704183d2c05b60b52fba5c43c13f303 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 34ace0eb2704183d2c05b60b52fba5c43c13f303 (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303
Default Engines Hash    : 34ace0eb2704183d2c05b60b52fba5c43c13f303
Studio                  : 0.502.0

Hi @jwueller, thanks, this is already tracked in https://github.com/prisma/prisma/issues/24227.


Detect locked keychain when building

Use case
Hi, I spent a good three hours just now trying to debug why flutter run -v did not work but building from XCode did. Turns out the answer is because I am running flutter run -v via SSH and XCode via Remote Desktop, so the keychain was locked in the SSH terminal.
There's a lot of documentation around the error that I saw, eg https://stackoverflow.com/questions/24023639/xcode-command-usr-bin-codesign-failed-with-exit-code-1-errsecinternalcomponen, but turns out the answer was actually deep in the flutter docs: https://docs.flutter.dev/development/tools/vs-code#selecting-a-target-device
Proposal
Can flutter run detect a locked keychain or codesign failure and either run security unlock-keychain automatically or surface a more useful error message?

Treating this as a potential proposal and for team's insights.

@kevmo314 to clarify, the error you saw was errSecInternalComponent during codesigning?
If we pattern match on this error and give a more userful error message, I'm not sure we can say for sure this error is due to a locked keychain, but it would be reasonable to say it's a "possible" reason and try unlocking.

From looking at man security, I found:
security list-keychains

Which will list the present keychains, but not whether they are locked or not. Also, I don't know if we have a way to detect which keychain is the one with the certificate we need to codesign.
Another question, were you able to run security unlock-keychain remotely over ssh? I thought you needed to press a button in the UI to allow this.

This is a duplicate of https://github.com/flutter/flutter/issues/106876#issuecomment-1183869558


FroehlichPolaron and number non-conserving Fock states

ONRFS Bosonic Fock states based on an occupation number representation. The particle number is not part of the type, so excitation operators can change the particle number in a type-stable way. The particle number per mode is restricted by the number of bits allocated to represent them. This provides an effective cutoff making Fock space finite.
FroehlichPolaron Hamiltonian for the Froehlich Polaron problem in a natural momentum space Fock basis. The Hamiltonian doesn't conserve boson number and makes use of ONRFS

TODO:

[ ] Finish the implementation of FroehlichPolaron (complete the AbstractHamiltonian interface with appropriate unit tests)
[ ] Add common Fock state methods to ONRFS, e.g. occupied_modes, etc.
[ ] (optimisation) Make methods to access ONRFS instances allocation-free
[ ] (optimisation) Faster bit-twiddling methods for accessing and manipulating ONRFS instances

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

101 of 111 (90.99%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 94.225%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/BitStringAddresses/onrfs.jl
72
75
96.0%

src/Hamiltonians/FroehlichPolaron.jl
24
31
77.42%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
5221

Relevant Lines:
5541

💛  - Coveralls

The work to be done was split up into two separate PRs #234 and #237.