"SkypeApiException: 404 response from PUT" on init

Hi! First of all, great project, thank you!
I have written a script that sends messages using SkPy. There are around 50 microsoft live accounts that work well and good.
However, there is one account, insignificant in any way, that raises error on this line :
sk = Skype(login, pass)
Where login is<EMAIL_ADDRESS>. (btw, this non-working one is @outlook.com)
Full Traceback:

File "C:\Python27\Lib\site-packages\skpy\main.py", line 69, in init
self.conn.getSkypeToken()
File "C:\Python27\Lib\site-packages\skpy\conn.py", line 263, in getSkypeToken
self.liveLogin(user, pwd)
File "C:\Python27\Lib\site-packages\skpy\conn.py", line 362, in liveLogin
self.getRegToken()
File "C:\Python27\Lib\site-packages\skpy\conn.py", line 423, in getRegToken
endpoint.config()
File "C:\Python27\Lib\site-packages\skpy\conn.py", line 867, in config
"version": "908/<IP_ADDRESS>"}})
File "C:\Python27\Lib\site-packages\skpy\conn.py", line 216, in call
raise SkypeApiException("{0} response from {1} {2}".format(resp.status_code,
method, url), resp)
skpy.core.SkypeApiException: ('404 response from PUT https://client-s.gateway.me
ssenger.live.com/v1/users/ME/endpoints/bee77efb-7a06-692a-aafd-97a003fd126c/pres
enceDocs/messagingService', <Response [404]>)

Response body is
{"errorCode":729,"message":"You must create an endpoint before performing this o peration."}

Sounds like #42 again...  🙁
Please try the following:

set SKPY_DEBUG_HTTP=1 in your environment
add a line to debug the response headers:

diff --git a/skpy/conn.py b/skpy/conn.py
index de1fcdd..58df16c 100644
--- a/skpy/conn.py
+++ b/skpy/conn.py
@@ -116,4 +116,5 @@ class SkypeConnection(SkypeObj):
         if os.getenv("SKPY_DEBUG_HTTP"):
             print("=> [{0}] {1}".format(datetime.now().strftime("%d/%m %H:%M:%S"), resp.status_code))
+            print(pformat(dict(resp.headers)))
             try:
                 print(pformat(resp.json()))

uncomment those endpoint lines and retry
paste the output for the failing step (PUT messagingService) and the previous one (POST endpoints)

I suspect you're seeing something similar -- 200 response on the POST but no viable endpoint.

Thanks for answer!
Yep, you are right, 200 response and then fail.
Looking at #42, can't tell how it was worked out though :)

<= [03/03 22:25:09] POST https://client-s.gateway.messenger.live.com/v1/users/ME/endpoints
{'json': {'endpointFeatures': 'Agent'}}
=> [03/03 22:25:10] 200
[{u'id': u'ce48cee1-22ba-158c-4e70-a08f915dc9e7',
u'isActive': True,
u'networks': [],
u'policies': {},
u'subscriptions': [{u'channelType': u'TcpSocket',
u'conversationType': 0,
u'eventChannel': u'',
u'eventServiceName': u'',
u'id': 0,
u'interestedResources': [u'/abch',
u'/v1/threads/ALL',
u'/v1/users/ME/conversations/ALL/messages',
u'/v1/users/ME/conversations/ALL/properties',
u'/v1/users/ME/contacts/ALL'],
u'packageSid': u'',
u'template': u'',
u'type': u'Subscription',
u'xuid': u''}],
u'type': u'Endpoint'},
{u'id': u'e06514b6-b0e3-bd1a-b0e3-42c442c4b0e3',
u'isActive': False,
u'networks': [],
u'policies': {},
u'subscriptions': [{u'channelType': u'TcpSocket',
u'conversationType': 0,
u'eventChannel': u'',
u'eventServiceName': u'',
u'id': 0,
u'interestedResources': [u'/v1/threads/ALL',
u'/v1/users/ME/conversations/ALL/messages',
u'/v1/users/ME/conversations/ALL/properties'],
u'packageSid': u'',
u'template': u'',
u'type': u'Subscription',
u'xuid': u''}],
u'type': u'Endpoint'}]
<= [03/03 22:25:10] PUT https://client-s.gateway.messenger.live.com/v1/users/ME/endpoints/ce48cee1-22ba-158c-4e70-a08f915dc9e7/presenceDocs/messagingService
{'json': {'id': 'messagingService',
'privateInfo': {'epname': 'skype'},
'publicInfo': {'capabilities': '',
'nodeInfo': 'xx',
'skypeNameVersion': 'skype.com',
'type': 1,
'version': '908/<IP_ADDRESS>'},
'selfLink': 'uri',
'type': 'EndpointPresenceDoc'}}
=> [03/03 22:25:11] 404
{u'errorCode': 729,
u'message': u'You must create an endpoint before performing this operation.'}

Yep, the only endpoint there is a TcpSocket, presumably a desktop/mobile client?
It would help if I put the extra debug line in the right place...
diff --git a/skpy/conn.py b/skpy/conn.py
index de1fcdd..37e1d77 100644
--- a/skpy/conn.py
+++ b/skpy/conn.py
@@ -116,4 +116,5 @@ class SkypeConnection(SkypeObj):
         if os.getenv("SKPY_DEBUG_HTTP"):
             print("=> [{0}] {1}".format(datetime.now().strftime("%d/%m %H:%M:%S"), resp.status_code))
+            print(pformat(dict(resp.headers)))
             try:
                 print(pformat(resp.json()))
@@ -206,4 +207,5 @@ class SkypeConnection(SkypeObj):
         if os.getenv("SKPY_DEBUG_HTTP"):
             print("=> [{0}] {1}".format(datetime.now().strftime("%d/%m %H:%M:%S"), resp.status_code))
+            print(pformat(dict(resp.headers)))
             try:
                 print(pformat(resp.json()))

I've just pushed that to master, can you retry and paste the output again?  Should have headers this time.

Something new!
This is what I got.
http://pastebin.com/nGWJKdn6

Hrrm, now that looks like #44 (https://account.live.com/RecoverAccount in the output) -- what happens if you sign in with that account at https://web.skype.com?

Hello again, sorry for my silence. Everything works now!
Though I've done nothing in code and account. Signing in web.skype.com is ok now and was before.
Thanks for help! If you need more info I could try and get you some.

Given the similar results here and in #42, it's looking like this is a temporary issue on the server side.  That said, I'm guessing Skype for Web has some handling for whatever this is, which is missing from SkPy.
I'll close this for now, but please report back if you get stuck again.  Best thing to do is to login from scratch (incognito or otherwise) to Skype for Web, with DevTools open to log the network requests, then we can compare with SkPy and see what's missing...

I have the same problem reproduced in version 0.8
    self._skype = Skype(self.__username, self.__passwd, self.__token_path)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/skpy/main.py", line 69, in __init__
    self.conn.getSkypeToken()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/skpy/conn.py", line 264, in getSkypeToken
    self.liveLogin(user, pwd)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/skpy/conn.py", line 363, in liveLogin
    self.getRegToken()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/skpy/conn.py", line 423, in getRegToken
    endpoint.config()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/skpy/conn.py", line 866, in config
    "version": "908/<IP_ADDRESS>"}})
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/skpy/conn.py", line 217, in __call__
    raise SkypeApiException("{0} response from {1} {2}".format(resp.status_code, method, url), resp)
skpy.core.SkypeApiException: ('404 response from PUT https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/endpoints/{995483a1-a64b-4684-ad5c-ee121280ea34}/presenceDocs/messagingService', <Response [404]>)

See previous comments:

If you can reliably reproduce this, please compare the failing request with the corresponding one made by Skype for Web in dev tools, it might be doing something differently to handle this case.

As this is something I've yet to reproduce on my account, I don't know what's missing unless you can find a difference between SkPy and Skype for Web.

I think this may be due to the fact that I run this code on two different machines, the one that got the token first, can continue to receive it normally, the other will receive this error

Different regions?  That'll probably be the servers blocking you for possible abuse if you authenticate from multiple locations, though that normally gets caught earlier on...

Yes in different regions, when the instances are behind one gateway everything works fine, thanks for the help, I'll try to divide the regions into different accounts.
Maybe it's worth mentioning this in the documentation?
Thanks for the help again.

Yes in different regions, when the instances are behind one gateway everything works fine

I second this. When I tried locally, it worked fine, but when I tried in my AWS machine (east region), it returned 404. Then, I tried in Google cloud (west region), and it worked fine.

And, one more thing. I wanted to say that this library is really cool! I just finished writing a bunch of wrapper scripts around it, and now I have an interactive bot in our company's Skype group. It's already turned out to be useful. So, thanks for doing this! 😄


Adding columns in data table destroys formatting and search

This one has be plaguing me for days. Even using the out of the box, downloaded, unzipped example files pages\tables\data.html -  any time I try to add another column my search vanishes, the ability to sort disappears, and every item in the table is present (no more paging).
This is okay with the appropriate formatting

`

                  Rendering engine
                  Browser
                  Platform(s)
                  Engine version
                  CSS grade

`

This breaks everything

                  Rendering engine
                  Browser
                  Platform(s)
                  Engine version
                  CSS grade
                  This won't work

I'm really not sure what to do here. I've tried upgrading to the newest database.net and, while some CSS was enhanced, the issue is still the same.
How can I add columns to data tables in AdminLTE while preserving the search and other functionality?

@BRebecca have you also included this additional column in your ALL data rows and Footer as well ?

I'm both grateful and embarrassed in regards to the resolution.
@vibs2006 I did not have the footer or php listed correctly. I tried creating headers just to see how the formatting would look and did not append the additional columns with php - just left them blank to see how the headers would look.
Everything is in place and working fine. Thanks for your comment and smacking some common sense into me :)


support of ipadapter in diffusers

Describe the bug
A clear and concise description of what the bug is.
This is a follow-up to issue #839
the main branch doesn't support ipadapter in diffusers. and the #837 doesn‘t support set ipadapter scale. and different resolution will trigger recompile
Your environment
OS
OneDiff git commit id
OneFlow version info if you have installed oneflow
Run python -m oneflow --doctor and paste it here.
How To Reproduce
Steps to reproduce the behavior(code or script):
The complete error message
Additional context
Add any other context about the problem here.

@zhangvia Got it.
@marigoold Please follow this https://github.com/siliconflow/onediff/pull/837#issuecomment-2074277725

@zhangvia Got it.
@marigoold Please follow this #837 (comment)

It also doesn‘t support set ip-adapter scale in Comfyui, Is this the same question?

@zhangvia Got it.
@marigoold Please follow this #837 (comment)

It also doesn‘t support set ip-adapter scale in Comfyui, Is this the same question?

change scale is a problem and we are working on it.


empty matcher against Map

Hi, is there Map<K, V>.shouldBeEmpty()?
If not, please add.

Probably quicker to add the feature than open an issue :)

We don't have matchers for Map. Maybe we should think to add others too.

We do have matchers for maps tho https://github.com/kotlintest/kotlintest/blob/master/doc/matchers.md
But we're always open to new matchers!


K8SSAND-1723 ⁃ JMX does not appear accessible via a port forward

What happened?
Attempting to access JMX via a k8s port-forward does not appear to work.
Did you expect to see something different?
Yes, JMX should be accessible when forwarding a local port to the cassandra pod's JMX port.
How to reproduce it (as minimally and precisely as possible):
Apply the below manifest, run:
kubectl port-forward test-dc1-default-sts-0 10000:7199

Try to launch jconsole and connect to localhost:10000.
You should see a failed connection.
Environment

Manifests:

apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: test
spec:
  auth: false
  cassandra:
    telemetry:
      prometheus:
        enabled: true
    serverVersion: "4.0.4"
    datacenters:
      - metadata:
          name: dc1
        size: 1
        cdc:
          pulsarServiceUrl: pulsar://pulsar-proxy.pulsar.svc.cluster.local:6650
        storageConfig:
          cassandraDataVolumeClaimSpec:
            storageClassName: standard
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 5Gi
        config:
          jvmOptions:
            heapSize: 384Mi

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1723
┆priority: Medium

My guess is that since auth is disabled and there is no component requiring remote JMX (e.g. Reaper), the LOCAL_JMX env var in cassandra-env.sh is being set to yes and as a consequence, the JMX port is only accessible from a process running locally to the pod.

I am having a hard time figuring out what the value of the LOCAL_JMX environment variable is being set to in cassandra-env.sh. Without being able to manipulate that file (e.g. via the changes in this PR) it is pretty hard to determine it.
Looking through, I can see this logic in cassandra-env.sh:
if [ "x$LOCAL_JMX" = "x" ]; then
    LOCAL_JMX=yes
fi

This seems to suggest that indeed, LOCAL_JMX might be turned on if not explicitly set false. The script then proceeds as follows:
if [ "$LOCAL_JMX" = "yes" ]; then
  JVM_OPTS="$JVM_OPTS -Dcassandra.jmx.local.port=$JMX_PORT"
  JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
else
  JVM_OPTS="$JVM_OPTS -Dcassandra.jmx.remote.port=$JMX_PORT"
  # if ssl is enabled the same port cannot be used for both jmx and rmi so either
  # pick another value for this property or comment out to use a random port (though see CASSANDRA-7087 for origins)
  JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT"

  # turn on JMX authentication. See below for further options
  JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=true"

  # jmx ssl options
  #JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=true"
  #JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl.need.client.auth=true"
  #JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl.enabled.protocols=<enabled-protocols>"
  #JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl.enabled.cipher.suites=<enabled-cipher-suites>"
  #JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.keyStore=/path/to/keystore"
  #JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.keyStorePassword=<keystore-password>"
  #JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.trustStore=/path/to/truststore"
  #JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.trustStorePassword=<truststore-password>"
fi

I don't think there's any way for me to inject an environment variable into the container, so I'm trying to unwind the changes made by cassandra-env.sh via the following set of additionalOptions:
# - -Dcassandra.jmx.remote.port=5000 I've tried with and without this option.
- -Dcom.sun.management.jmxremote
- -Dcom.sun.management.jmxremote.authenticate=false
- -Dcom.sun.management.jmxremote.ssl=false
- -Dcom.sun.management.jmxremote.local.only=false
- -Dcom.sun.management.jmxremote.port=5000
- -Dcom.sun.management.jmxremote.rmi.port=5000
- -Djava.rmi.server.hostname=<IP_ADDRESS>

This should:

Use 5000 as the remote JMX port.
Turn remote JMX back on.
Turn SSL off.

However, while I now don't seem to get an error straight back, I don't see a JMX connection come up either. I'll have to keep working on it.

I got it! The key to getting this to work is:

Use the above JVM arguments.
The port forward needs to be on the same port you've defined in Dcom.sun.management.jmxremote.port. Forwarding from a different port (e.g. 10000:5000) will not work.

I'm going to leave this open because I think we need to provide better support here. Having to manually unwind the config instantiated by LOCAL_JMX is not a good user experience.

I'm trying to unwind the changes made by cassandra-env.sh via the following set of additionalOptions:

Yes that's what I ended up doing as well for Reaper. I don't see what else we can do. Imho we can't just change cass-config-builder and remove the LOCAL_JMX variable completely because some users might be relying on it.

Imho we can't just change cass-config-builder and remove the LOCAL_JMX variable completely because some users might be relying on it.

Agreed. I think if we could inject environment variables into the containers that would solve this issue - do you agree?
It would also avoid this concern:

Also worth noting: overriding JVM options by setting the same options many times relies on an undocumented feature: JVM options are applied sequentially in the order they were provided in the command line. All Java impls out there respect this, but it's not in the Java spec.

(which is a good point, and we should be looking at the 3 instances of those arguments being added, it isn't pretty.)

If we were able to add environment variables that would be sufficient to serve this use case. We already have a ticket for that, so I'm closing this one.


Show server-generated deprecation warnings at the end of coda upload.

 Makes the CLI show the same output as the web editor when uploading a new pack version if the server determines there are deprecation warnings. In theory this is the same output as what validateMetadata() with checkDeprecationWarnings: true would return locally, but we should consider the server authoritative in case we add server-side only checks.
All the changes are in upload.ts. The rest is just bringing the API codegen up to date to get the new type def that includes deprecation warnings on the upload response.
PTAL @dweitzman-codaio @patrick-codaio @coda/packs

Oops forgot to include screenshot


NullReferenceException from Analyzer when running via msbuild

I don't currently have a stack trace for this, but buildserver logs are full of warnings about NREs in the analyzer:

CSC : warning AD0001: Analyzer 'Bridge.React.Analyser.ReactElementAnalyser' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'. [D:\CI\W\BLAH\BLAH\BLAH.csproj]

In the middle of debugging something else, but will try and get a better error/stack when I have more time.

Is it doing this with the latest code?
Sounds similar to this:
https://forums.bridge.net/forum/community/help/3885-unexpected-warning-in-bridge-react

@DanTup Did you get a chance to follow up on my question? Hopefully this issue has already been addressed. Re-open the issue if not.

Foolishly, I didn't keep a note of where I saw this. I can't find them in any logs now (not even from last week when I opened this!). It does look like exactly the same issue you linked to though, so I suspect it's fixed. If I see it again and I'll do more digging and get a better repro.


"Resources" section doesn't have fields supported for Docker 1.13 or higher version

Hi,
We are using windows "Docker version 1.13.1-cs1" and we would like to customize resources section for my docker image using "--cpus=0.3" but we don't see such properties to assign value in resources section. we are referring to https://docs.docker.com/engine/admin/resource_constraints/#configure-the-default-cfs-scheduler
Can you please help me at this.
Thanks,
Naresh Ch

Hi Naresh,
The same effect than the --cpus option can be achieved using the CPU Period and CPU Quota settings.
The CPU period defines at which frequency the container's processes access to the CPU must be reallocated. By default, the period length is set to 100000μs (100ms).
The CPU quota defines the total amount of time the container's processes can run inside a period.
The number of CPU available in percent can therefore be expressed as cpu-quota / cpu-period. So, to achieve the desired result with the default CPU period you should set the CPU quota to 30000μs in the cloud profile settings.
The Docker API version 1.26 has support for expressing the CPU availability in percent and nanoseconds (just like with the --cpus argument). This option is likely more portable than the quota/period approach (which rely on the underlying Linux scheduler), but the container editor is currently limited to the features available in the 1.24 API at this time.

It is to my understanding that --cpu-quota doesn't work on Windows docker, as it works with the CFS (Completely Fair Scheduler). Thus for windows containers --cpus flag would be required.

If this issue relates to Windows containers (and not a virtualized Docker installation on Windows), then yes, there is effectively a whole set of settings that will simply be ignored by the Docker daemon, the Linux scheduling options are just some of them.
Some further reflection has to be made on which settings from the newer APIs to include (and how to do deal with settings that are specific to a given kernel), but the limitation of CPU usage is a fairly common requirement, and the ability to do it in a portable way would indeed be interesting.
I'll try to integrate it in the near future (some work has to be done first to handle multiple API version while preserving backward compatibility).

A new option "Number of CPUs" has been added to the container settings UI. This field should work exactly as the --cpus command line argument.
You can give it a try using this development artifact: docker-cloud_0.4.0-SNAPSHOT_63814db.zip
A bulk integration of the other configuration fields introduced in Docker 1.13 (there are a couple of them) is currently not planned, but you can still raise new issues in order to prioritize them.


Citation for NeuralLDA and ProdLDA

Hi, thanks for sharing this amazing work!
I think the current citations for NeuralLDA and prodLDA is for the repo only.
These models are from the Autoencoding Variational Inference for Topic Models (Srivastava and Sutton 2017) paper. please consider citing the paper as well. Thanks!

Hello,
I just fixed the readme with the correct citation. I'm going to add a direct link to the paper in the next few days. Thank you for reporting this!
Cheers,
Silvia

Thank you very much Silvia!
I've updated the official repo (which is quite outdated) (https://github.com/akashgit/autoencoding_vi_for_topic_models) to point OCTIS.

Wow, thank you so much!!


Items are vanishing upon insert via any method.

Issue description:
I've been running a SkyFactory 3 server for several days now and just two days ago the RS system stopped accepting items most of the time. I have an interface connected to an EIO farm and the items are being sent to the interface and they disappear but are not appearing in the RS system. Manually inputting items into the RS system may put 0, some, or all of the items in seemingly at random.
I have the following RS blocks:
2x Interface
25x crafter
3x importer
1x solderer
2x disk drive
2x exporter
11x 1k storage block
95x cable
1x crafting grid
1x pattern grid
1x crafting monitor
1x controller
What happens:
Items deposited into the RS system are vanishing.
What you expected to happen:
I put in items, and I am able to take out items.
Steps to reproduce:

Not quite sure. It started happening randomly, but it's currently happening every time I try to deposit items.

...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>2
Refined Storage: 1.2.16
SkyFactory 3: 3.0.4

Does this issue occur on a server? yes
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

You sure some storages aren't in "insert-only" mode?

I did see another post regarding missing items that mentioned checking if anything was set in insert only mode so I did check the disks and the 1k storage blocks. They were not set in insert only mode.

Check again please. It's the only way this issue can occur.

I will do so. Let me ask are the disks and storage blocks the only blocks that I would need to check.

Also external storages if you have any. Also note that exporters can be removing items from your storage and exporting them elsewhere.

Ok, sorry for wasting your time. Someone on my server fixed it. Not sure how they did it yet. Thank you for your help.


Confusing max execution time for Premium plan

The document has two sections that are confusing.
The Premium plan section says:

Unlimited execution duration (60 minutes guaranteed)

While the summary section Function app timeout duration for default and maximum duration says:

30 / Unlimited

Is the default 30 or 60 minutes?
if the default is either 30 or 60, what does it mean "unlimited with 60 mins guaranteed"?

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

ID: 06436739-8586-23b1-6b69-1960e93c26be
Version Independent ID: 8f7abfae-cf6d-56cb-1d20-f02041a6f6d9
Content: Azure Functions scale and hosting
Content Source: articles/azure-functions/functions-scale.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@SeanFeldman,  Apologies for any inconvenience with this. Thanks for taking time to share your valuable feedback! We are taking a look into this and will get back to you soon.

I have assigned the issue to the content author to review further and update the document as appropriate. Thanks for bringing this to our attention.

@SeanFeldman this has been fixed, thanks for reporting it! #please-close

@SeanFeldman this has been fixed, thanks for reporting it! #please-close


Refresh data handbook

Closes https://github.com/meltano/internal-data/issues/55

@pnadolny13 I'll fix the pre-commit issue.


Fix presigning bug with content-length and content-type in S3

Motivation and Context

https://github.com/awslabs/aws-sdk-rust/issues/466.

Description
Rather than remove content-length and content-type when signing and creating a presigned request, this PR refactors MakeOperationGenerator to not produce default values for those headers when making an operation for presigning.
Testing

Updated S3 presign tests
Ran Polly presign tests
Manually tested S3 presigning:

Set content-length to a value in the input, and then verified there is a signing error when uploading a file that is not that length, and that it succeeds with the matching file size.
Set content-type to a value in the input, and then verified there is a signing error with a different content-type, and that it succeeds when it matches.

Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Going to add S3 to the codegen diff so that we can see these changes in the PR.

It looks like it's not so simple to just include S3. It should already be in the diff output, but it seems like diff2html is dropping files when the diff is exceedingly large. Going to punt on this for now.


Uniformize environments and update dependencies

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)
[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Reorder the environment files to fit what's in  setup.py (an alphabetical order)
Remove fixes for esmpy 8.4, as xESMF 0.7 takes care of that (the pin is bumped).
Add a (brand new!) fix for esmpy 8.4 to avoid installing packages with pip with running pip install -e .  on xscen
Remove numba for the envs, it is not a direct dep and the bug related to version 0.55 is caduc with 0.56.
Uniformize the two envs : h5netcdf, pyarrow, fsspec

Does this PR introduce a breaking change?
No.
Other information:
This still install netCDF4 1.6.2, I'm not sure if  this version has been fixed or not?

Well...
It works on my machine though...

Looks like an issue with ESMF?

Related RTD issue is : readthedocs/readthedocs.org#4067. We will need to patch this environment variable in the code, I'll push something.

I'm just curious, but is there any way for us to manually restart the environment using the .readthedocs.yml? I.e.:
build:
  jobs:
    pre-build:
      - conda deactivate
      - conda activate xscen-env

Well, I thought of that and decided not to do it for 2 reasons:

I didn't want to interfere with RTD's machinery.
Can you cal conda activate if you haven't called conda init ? Does RTD call the latter? I'm suspecting it doesn't and this is why the conventional activation mechanism isn't used.

That makes sense. Was just wondering. Your fix is clear enough for me. :+1:


amplify add auth aborts after first selection

** Which Category is your question related to? **
AWS Amplify Auth
** What AWS Services are you utilizing? **
CloudFormation, Lambda, Cognito
** Provide additional details e.g. code snippets **
So I managed to add hosting and published my basic react app to CloudFront, which works as expected. However, when I try to add Auth by running the amplify auth add or amplify add auth commands, it brings me to the first set of questions, like so:
Do you want to use the default authentication and security configuration? (Use arrow keys)
Default configuration
Default configuration with Social Provider (Federation)
Manual configuration
I want to learn more.
and when I select Default configuration it aborts any further steps and takes me back to the prompt.

My package.json contains this:
{
  "name": "amplify",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "webpack && webpack-dev-server --mode development",
    "build": "webpack"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "webpack": "^4.29.6",
    "webpack-cli": "^3.1.0",
    "copy-webpack-plugin": "^4.5.2",
    "webpack-dev-server": "^3.1.5"
  },
  "dependencies": {
    "@aws-amplify/auth": "^1.2.22",
    "aws-amplify": "^1.1.26",
    "aws-amplify-react": "^2.3.5"
  }
}

Am I missing anything obvious here?

@ashleydass Take a look at my screenshot below. I was able to install the latest CLI (v 1.6.1) on a windows workspace and use powershell to add auth using the CLI and I was successful in doing so.

I'm using node v 8.12 on my windows workspace. Which node version are you using?

@kaustavghosh06 thanks for your response.
I was on node v10.10.0 on windows and had installed aws-amplify as a local package by following the Get Started guide.
But with your tip I got it working locally by following these steps:

Upgraded to the latest v11.14.0 of node js
Uninstalled aws-amplify local package
Installed @aws-amplify/cli globally
Followed by configure and init

Finally amplify add auth didn't abort itself after the first prompt and life is back to normalcy now.
Thanks a ton.

Just ran into the same issue on Windows, node -v 10.5.0

Just ran into the same issue on Windows, node -v 10.5.0

Can also confirm that I had to upgrade node to latest version and start over to get it to stop crashing when I ran the add auth command.


ota reference: Add architecture diagram

This was mostly made with asciiflow.com. Then I made some small
enhancements to make it render more cleanly with ditaa. Rendering was
done with:
ditaa ./source/_static/ota-arch.asciiflow ./source/_static/ota-arch.png -T -S
Signed-off-by: Andy Doan<EMAIL_ADDRESS>

Docs for 077b27d24bb43eee7fea2ef1712f4ec999fd9ec8 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/630/docs/artifacts/html/index.html

Docs for a805e01e15520d45e05b3b8a62940692732c15d3 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/636/docs/artifacts/html/index.html

seems like a big branch re-write happened. I'll try and straighten this out. In the meantime, this is now two changes:
https://github.com/foundriesio/docs/pull/119/commits/a805e01e15520d45e05b3b8a62940692732c15d3
https://github.com/foundriesio/docs/pull/119/commits/077b27d24bb43eee7fea2ef1712f4ec999fd9ec8
Which  produces:
https://ci.foundries.io/projects/fio-docs/builds/636/docs/artifacts/html/reference-manual/ota/ota-architecture.html
https://ci.foundries.io/projects/fio-docs/builds/636/docs/artifacts/html/reference-manual/testing/testing-architecture.html


User attribute mapping incorrect

In the Snowflake provisioning docs the section that goes through user attribute mapping references fields that aren't available.  The two in question are urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:defaultRole and urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:defaultWarehouse.  When configuring in Azure, those don't show up and it looks like there is no way to add them:

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

ID: b6311c7b-41d1-21d0-c833-f4f290c41e04
Version Independent ID: 264ebeac-f5c4-e869-a1dd-c7e14494b474
Content: Tutorial: Configure Snowflake for automatic user provisioning with Azure Active Directory
Content Source: articles/active-directory/saas-apps/snowflake-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @zchia
Microsoft Alias: zhchia

@svickers, thanks for the question. We're investigating this and will get back to you shortly.

@svickers, assigning this to author to add further details.

hello,
was there any update on this issue ?

Hello,
Recently i faced this problem, we review with the team that administers azure in the company and we identify that the following must be added in the url? forceSchemaEditorEnabled = true, this after azure.com/ and before #blade
with this you can add the missing attributes
Example:
Original url:
https://portal.azure.com/#blade/Microsoft_AAD_IAM/ManagedAppMenuBlade/ManageProvisioning/...
url with forced schema editor:
https://portal.azure.com/?forceSchemaEditorEnabled=true#blade/Microsoft_AAD_IAM/ManagedAppMenuBlade/ManageProvisioning/...

#reassign:twimmers

Thanks @svickers  for the feedback. I have made a doc change to address this issue and it should be live in next couple of days
#please-close


Request to update scores of claude models

Hi,
Anthropic has released their new claude-2 and claude-instant-1.2. It'll be nice to have their scores updated.
ref:

https://www.anthropic.com/index/releasing-claude-instant-1-2
https://docs.anthropic.com/claude/reference/selecting-a-model
https://www.anthropic.com/index/claude-2

Code-Llama would also be interesting to see.

Any news here?

Hi, we've updated the result.

Where?
I dont see it here nor in the README
https://llmbench.ai/agent/data

Please make sure you are on branch main. You can see the result of claude-2 and codellama here https://github.com/THUDM/AgentBench#leaderboard. We'll upload the new data to our website shortly.


Improve spans of pallet macro

This PR does 2 things:
1 - Improve spans of most code generations: all code generated are span from the attribute which generates them. (note: the generated code should be correct when the user rust code is correct. Thus if it is failing the first error should generally be in the user code, not in the expansion, an exception to that is the trait store, if the trait store is public and some storages are private then the rust error will point to generated code, but this is in ui tests and error is good I think).
2 - Improve error message of type_value: before we were removing the user code and generating the struct and implement get on the struct. Now we keep the user code, change the function name to an internal name and generate the struct and impl get by calling the function written by user. This way, when the function is incorrect, then the error message will be better. (see added ui test).
Thanks @kianenigma for reporting these unhelpful spans.
Sidenote on type_value syntax
This makes me think of type_value syntax: would something like this make more sense ?
#[pallet::type_value(pub struct Foo)]
pub fn foo() -> u32 { 0u32 }

it would not even touch the user input and just generate the struct Foo.
Anyway I think it is fine as it is now

bot merge

bot merge


Namespace with -1 limit stuck in Activating

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create a cluster with a new project. Note the cluster id and project id.

Other details that may be helpful:
Note, the UI does not allow you to create a namespace with a -1 limit. This should be blocked by API if it's not a valid option.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
v2.3.4
Installation option (single install/HA):
single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory):
t3a.medium on aws
Kubernetes version (use kubectl version):

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.1", GitCommit:"d224476cd0730baca2b6e357d144171ed74192d6", GitTreeState:"clean", BuildDate:"2020-01-15T15:50:38Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.9", GitCommit:"2e808b7cb054ee242b68e62455323aa783991f03", GitTreeState:"clean", BuildDate:"2020-01-18T23:24:23Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

$ docker version
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:22:05 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea838
  Built:            Wed Nov 13 07:28:45 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

gz#8092

@cclhsu please help with this.

Unable to reproduce the issue:
Test Environment:
Rancher Version: v2.3.4
Cluster 1: v1.18.13+rke2r1
Cluster 2: v1.19.5+k3s2
Cluster 3: v1.2.3+rke
Cluster 4: v.1.17.4+rancher1-2
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-18T12:09:25Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

Testing with following testing parameters to check if it is older Kubernetes or kubectl issue.
Rancher Version: v2.3.4

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.1", GitCommit:"d224476cd0730baca2b6e357d144171ed74192d6", GitTreeState:"clean", BuildDate:"2020-01-14T21:04:32Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}

Server Version: v1.15.11, v1.16.8, v.1.17.4 (3 customerize versions in the Rancher 2.3.4)

Still cannot reproduce the issue.  Not sure if the issue is related to I currently cannot gain AWS access using Openbare since the web has 500 error.  I will try to reproduce the issue once I have aws access.

Able to reproduce the issue. When we created the project, we also need to set "Resource Quota" in order to encounter the issue.  I have created a manifest below to test negative value when we set limited range.
---
apiVersion: v1
kind: Namespace
metadata:
  name: test
---
apiVersion: v1
kind: LimitRange
metadata:
  name: mem-limit-range
  namespace: test
spec:
  limits:
  - default:
      memory: -1Mi
    defaultRequest:
      memory: -1Mi
    type: Container
---
apiVersion: v1
kind: LimitRange
metadata:
  name: cpu-limit-range
  namespace: test
spec:
  limits:
  - default:
      cpu: -1
    defaultRequest:
      cpu: -1
    type: Container
---
apiVersion: v1
kind: Pod
metadata:
  name: default-demo
  namespace: test
spec:
  containers:
  - name: default-demo-ctr
    image: nginx

And encounter message as following:
the Pod "default-demo" is invalid:
* spec.containers[0].resources.limits[cpu]: Invalid value: "-1": must be greater than or equal to 0
* spec.containers[0].resources.limits[memory]: Invalid value: "-1Mi": must be greater than or equal to 0
* spec.containers[0].resources.requests[memory]: Invalid value: "-1Mi": must be greater than or equal to 0
* spec.containers[0].resources.requests[cpu]: Invalid value: "-1": must be greater than or equal to 0

We should add some condition to rancher/pkg/controllers/managementuser/resourcequota/resource_quota_sync.go => validateAndSetNamespaceQuota

I tested this on Rancher V2.3.4, to reproduce the issue, when creating project, set the resource quota, also using the script provided which set the limit to "-1". If set the namespace quota limit to some resonable value such as 0.1, it works fine.

I am able to reproduce the issue using v2.5.3 also.  While building Rancher, which working earlier today, we now encountered
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: error initializing: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Failed to fetch https://kubernetes-charts.storage.googleapis.com/index.yaml : 403 Forbidden
The command '/bin/sh -c curl -sLf ${!HELM_URL_V2} > /usr/bin/rancher-helm &&     curl -sLf ${!TILLER_URL} > /usr/bin/rancher-tiller &&     chmod +x /usr/bin/rancher-helm /usr/bin/rancher-tiller &&     ln -s /usr/bin/rancher-helm /usr/bin/helm &&     ln -s /usr/bin/rancher-tiller /usr/bin/tiller &&     helm init -c &&     helm plugin install https://github.com/rancher/helm-unittest' returned a non-zero code: 1
FATA[0034] exit status 1
make: *** [Makefile:11: ci] Error 1

It is due to New Location For Stable and Incubator Charts.  Need to resolved this issue first.

@Ellenqs Can you provide more information on what you see on v2.5.4?  Is namespace-with-1 in the UI stuck at Activating state?

@Ellenqs Can you provide more information on what you see on v2.5.4?  Is namespace-with-1 in the UI stuck at Activating state?

@cclhsu
I redo the tests on both 2.5.3 and 2.5.4-rc6, below is the updated result:
On the rancher UI, this time there is no stuck on activating.

When view in API, we can see the limits set:

On rancher logs, there is error message said "invalid value...":

@cclhsu
I redo the tests on both 2.5.3 and 2.5.4-rc6, below is the updated result:
On the rancher UI, this time there is no stuck on activating.

When view in API, we can see the limits set:

On rancher logs, there is error message said "invalid value...":

No longer an issue on Rancher 2.5.9. I reproduced this on Rancher 2.6 with the new UI because the new UI uses the k8s native API which has no validation code for namespace creation. The validation code is in the non-native API, which is called from the old UI. Sent to UI team to work.


[CMake] Updates to allow inclusion using FetchContent

Various updates that allow swift-syntax to be included using FetchContent.
Mostly this is just not replacing target_link_libraries since that is a global replacement, but we also now use a couple of variables from the swift if they're set (eg. SWIFT_HOST_LIBRARIES_DEST_DIR and SWIFT_HOST_MODULE_TRIPLE).

Updated to remove export if not a top level project + add to SWIFT_EXPORTS otherwise.


Not saved option: Do you want to integrate AppImages by default?

Hi, nice package! I want to configure zap to ask for AppImages integration. When I run zap init and answer ask to question Do you want to integrate AppImages by default? then it has no effect when installing firefox_esr, no asking. firefox_esr.desktop file is created, so integration works.
When I run zap init again then yes is selected again.
OS: PureOS 10 (Debian based)
zap installed without sudo

Ah, right! I just realized that I forgot to implement the ask part of it. Thanks for raising this issue!


getting "Cannot complete value of unexpected type X" error with children

I'm having trouble resolving the children of a model.  I definitely might be doing something super dumb though.  What's odd is, in my other vapor/graphql app (yes, I have two now...) I haven't hit this problem, but I use parent/children a decent bit.  Anyway, I have models like this:
final class Order: Model, Content {
  static let schema = "orders"

  @ID(key: .id)
  var id: UUID?

  @Field(key: "email")
  var email: String

  @Children(for: \OrderItem.$order)
  var items: [OrderItem]

  init() {}
}

final class OrderItem: Model, Content {
  static let schema = "order_items"

  @ID(key: .id)
  var id: UUID?

  @Parent(key: "order_id")
  var order: Order

  @Field(key: "title")
  var title: String

  init() {}
}

The schema looks like this:
let AppSchema = try! Graphiti.Schema<Resolver, Request> {
  Scalar(UUID.self)

  Type(Order.self) {
    Field("id", at: \.id)
    Field("email", at: \.email)
    Field("items", with: \.$items)
  }

  Type(OrderItem.self) {
    Field("title", at: \.title)
    Field("order", with: \.$order)
  }

  Query {
    Field("getOrder", at: Resolver.getOrder) {
      Argument("id", at: \.id)
    }
  }
}

And the resolver looks like this:
final class Resolver {
  struct IdentifyEntityArgs: Codable {
    let id: UUID
  }

  func getOrder(
    request: Request,
    args: IdentifyEntityArgs
  ) throws -> Future<Order> {
    return Order.query(on: request.db)
      .with(\.$items)
      .filter(\.$id == args.id)
      .first()
      .unwrap(or: Abort(.notFound))
  }
}

But when I send a graphql query like so:
query {
  order: getOrder(id: "FBF9C172-E57E-49A8-8806-85F6C923E55A") {
    id
    items {
      title # <-- trying to get one of the children causes the error, without this, it works
    }
  }
}

I get the error Cannot complete value of unexpected type \"OrderItem\".
  I think I'm sort of following your examples for users/todos in the readme.
If the code above isn't clear enough, I've created a super minimal reproduction repository using an in-memory sql-lite db.  If you want to take a look, you can just clone the repo, then run swift run and (in another terminal tab) try bash ./test-error.sh to send the query shown above.

Sure enough, that completely fixes it.  Although I can't say that I understand fully why.  It seems like there's a very explicit registration of the OrderItem type in the schema, when I define it as a GraphQL type using Type(OrderItem.self) { ... on this line.  But I'm probably still missing a something.
Really appreciate the help, as always.

I agree, this doesn't seem perfect from an API perspective. But I also don't know enough about the Graphiti implementation so I can't explain the reason for this.
Maybe there will be a better way in the future.


Switch gcs to modular file system on tensorflow/io

This PR is part of the effort to switch to modular file system support.
This PR switches gcs file system and direct user to use modular file system
from tensorflow-io instead. See PR #46955 for related changes.
A TF_ENABLE_LEGACY_FILESYSTEM=1 will allow the usage of original gcs file
system the same way as before (a warning will be displayed).
/cc @mihaimaruseac @vnvo2409 @tensorflow/sig-io-maintainers @burgerkingeater
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

thanks for making this change!

This seem to break TPUs on internal code, will have to look deeper into this. Sorry for the delay.

@mihaimaruseac I think it might be because we haven't fully implemented the gcs plugin yet. When @yongtang sent the first PR to copy the code from tensorflow to io, we didn't have enough c headers. I've just exposed them recently. I will send a PR by the end of the week and I think we could retry this PR.

I didn't look at the log in detail

@mihaimaruseac @vnvo2409  I don't have a lot of context on TPU but just wondering if https://github.com/tensorflow/io/pull/919 is related? /cc @marioecd

Errors seem to be F0225 15:29:50.816806    4040 grpc_tensorflow_server.cc:331] Non-OK-status: Env::Default()->GetFileSystemForFile("gs://dummy/file", &fs) status: Unimplemented: File system scheme 'gs' not implemented (file: 'gs://dummy/file')
So I'll try to see why this happens internally, probably next week when I get some more time.

@mihaimaruseac Wondering if there is any update. Given the upcoming R2.5 branch cut on 3/25/2020, it would be great if this PR can be merged before 03/25.

Sorry I didn't get to look into this.
P0 is enabling all py39 on all platforms and testing. I'll try to get this PR in by the branch cut date but at the moment team is overswamped with breakages.

Thanks @mihaimaruseac for the update 👍 . Let me know in case there is anything I can help.

Sorry it took so long. I think now I managed to fix everything that was broken. Pending a few more tests, this should land today

Thanks @mihaimaruseac for the great help! 👍 🎉 🔥


Remove contributor-guide section

Correct our docs, it seem that we do not need section contributor-guide anymore
and closes: https://github.com/apache/dolphinscheduler/issues/6107

Thank for merging.


Issues capturing output of algolia cli / running on headless systems

A couple of issues spotted when running algolia CLI headless:
1 - important - using algolia cli for reporting from scripts
Seems like algolia CLI is a good component for no code integrations if this was fixed
psql -t postgres://user@pass:host.name/mydb -c 'select row_to_json(a) from my_data a' \
    |      algolia objects import my_poc --file - \
| tee /tmp/result.txt ; cat /tmp/result.txt && echo ===END==

results in this output on console and the empty file /tmp/result.txt:
===END==

I would expect to see  something like the below in the file and console but it's empty.
✓ Successfully imported 9999 objects to my_poc 9.99999s

This one is less important but still significant
Shows that the CLI is written with some assumptions about what type of system it's running on.  In this case a headless VM in the cloud:
   $ algolia open cli-repo
   exec: "xdg-open": executable file not found in $PATH

In this case where xdg-open is unavailable I'd expect the tool to echo the URL.

Hi @dr-kd and thanks for your detailed report.
For your first point, output messages of the objects import command amongst others (objects delete, etc.) were not designed to be machine readable in the first place, and that's why we skip them if we detect a non-tty output.
For most of those commands, the return code can be used to detect success / failure.
I am curious about your use case, your intent was to parse the success message and to extract information from it?

Return code makes sense - in that manner I can run extra stuff in the pipe with some && [success command here] || [fail command here] - I just found the absence of output a little confusing and counter-intuitive as it's not the usual behaviour I'd expect to see.  I would imagine if I was getting the output I'd be piping it straight into our opensearch dashboards analytics via syslog for reporting.  And in that case there would be fewer moving parts and thus a smaller surface for failure rather than relying on extra && || type constructs.

I think a flag --tty or maybe --stdio might be a better fit - then one's script has to explicitly point out the fact that it's a script with standard output handles  at the time it is is told to run.

Agreed on the flag.
Just a gotcha: This thing could not play nice with the progress indicators / loaders that the CLI currently have. Outputting those to something else than a terminal might wield weird results. We will have to check if we can avoid forcing tty on those.


Updating Docker image location

After onboarding with MCR, there is a new name for the Docker image that customers should be using. We will continue to support existing tags in Docker Hub for the time being as a syndication of the images available at mcr.microsoft.com.

Docs Build status updates of commit 524f95e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/run-azure-cli-docker.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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

@marstr Thanks so much for taking care of this for me! Been a crazy busy week.

I'm always happy to help!


Resource Error

Resource bug when adding ListBox with ModernStyle.
Working good, but Preview in VS don't work.
This errors appeared after today's update.

@Youshida-sama  this style is only available in Custom version

Thanks


HADOOP-8728. Display (fs -text) shouldn't hard-depend on Writable serialized sequence files.

Description of PR
Display (fs -text) shouldn't hard-depend on Writable serialized sequence files.
The Display command (fs -text) currently reads only Writable-based SequenceFiles. This isn't necessary to do, and prevents reading non-Writable-based serialization in SequenceFiles from the shell.
JIRA - HADOOP-8728
How was this patch tested?
UT
For code changes:

[X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 43s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
40m 41s

trunk passed

+1 :green_heart:
compile
24m 54s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
22m 10s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 59s

trunk passed

+1 :green_heart:
mvnsite
2m  4s

trunk passed

+1 :green_heart:
javadoc
1m 30s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m  5s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  6s

trunk passed

+1 :green_heart:
shadedclient
24m 57s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  8s

the patch passed

+1 :green_heart:
compile
24m 58s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
24m 58s

the patch passed

+1 :green_heart:
compile
22m 55s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
22m 55s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m 26s
/results-checkstyle-hadoop-common-project_hadoop-common.txt
hadoop-common-project/hadoop-common: The patch generated 2 new + 139 unchanged - 12 fixed = 141 total (was 151)

+1 :green_heart:
mvnsite
1m 52s

the patch passed

+1 :green_heart:
javadoc
1m 13s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 50s

the patch passed

+1 :green_heart:
shadedclient
23m 50s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
19m 21s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
1m 22s

The patch does not generate ASF License warnings.

225m 43s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5010/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5010

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 89a0146c9c8b 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a1b61e136d05ad4069f96c625470c35340302375

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5010/1/testReport/

Max. process+thread count
2075 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5010/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@aajisaka @goiri please help in reviewing this PR. Thanks

Thank you @ashutoshcipher for your contribution.

Thanks @aajisaka for reviewing and merging.


Using Table Aliases.

Hi,
Is it possible to add alias automatically as autocomplete after each table name in sql editor  for example:
select * from TABLE_AAA_BBB_CCC   [AS]  tabc (first letter of each word).
it would be also very useful if we can activate/deactivate this alias logic in parameters as checkbox option.
thanks.

I agree this would be useful, but the logic probably isn't as trivial to implement as you suggested. For example, the following would generate conflicting aliases:
SELECT * FROM product_sales AS ps
SELECT * FROM product_shipments as ps
SELECT * FROM inventory
SELECT * FROM items

Hi,
I agree, the problem occurs when you use those tables in the same qurey for joining purpose
but you can avoid this situation by concatenating an incremental digit
For Example :
SELECT * FROM product_sales ps, product_shipments  ps1, product_sxyz ps2 where ......

prefs option:

Awesome! Looking forward to this.

Verified (first letter of each word is used)

Would be nice to have the AS as in option so that this will work for Oracle DB's

Such an annoying feature. While I can see that some people may find this useful, why is it enabled by default?

Would be nice to have the AS as in option so that this will work for Oracle DB's

I created an issue for Oracle database: #7084

Latest version of dbeaver is inserting table alias by default which is very irritating. Please disable by default option and let people who need this can have this enabled.

I really like this feature but why is it only auto-inserting an alias on the first table? I'd like aliases to be autofilled on JOINs as well.
In the following example:
SELECT * FROM table_one AS to JOIN table_two AS tt
The first alias gets automatically inserted if I accept an auto-complete suggestion of the table name, but I have to type out the second one myself. This entirely prevents me from getting used to using the feature because I can't always expect it to happen or not.

I really like this feature but why is it only auto-inserting an alias on the first table? I'd like aliases to be autofilled on JOINs as well.
In the following example:
SELECT * FROM table_one AS to JOIN table_two AS tt
The first alias gets automatically inserted if I accept an auto-complete suggestion of the table name, but I have to type out the second one myself. This entirely prevents me from getting used to using the feature because I can't always expect it to happen or not.

I really miss this feature in JOIN too. Why not have an option "Insert Table Alias (in Join Clause)" too? This would be nice!

I just found out that DBeaver doesn't add aliases to the second (or subsequent) tables in a JOIN clause. This will indeed be a very useful feature to have since it correctly creates alias for first table and then just stops creating them if a JOIN clause is used.
I logged this as a bug here: https://github.com/dbeaver/dbeaver/issues/8912

As of DBeaver v21, this setting can be now be found under Window -> Preferences -> Editors -> SQL Editor -> Code Completion -> Insert Table Alias -> N/A


perf: Cache the pod request calculation in memory

Fixes #N/A
Description
Cache pod request calculations in memory during scheduling
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

11 of 11 (100.0%)  changed or added relevant lines in 3 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 81.022%

Files with Coverage Reduction
New Missed Lines
%

pkg/test/expectations/expectations.go
2
94.73%

pkg/scheduling/requirements.go
2
98.01%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.03%

Covered Lines:
8624

Relevant Lines:
10644

💛  - Coveralls

/hold
There's one more occurrence in NodeClaim which isn't using the cached value on line 110.

/lgtm
/unhold


Fixing missing Config.groovy with Asgard

There is an open issue with Asgard right now that causes a nasty on boot error about missing AWS credentials.
com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
In speaking with some folks, it sounds like Netflix won't be adding many features to Asgard in the near future as they are working on other things. Thus, the only solution is to add a Config.groovy with all the values you need to boot (no more interactive prompt until this is fixed)
Official discussion: https://github.com/Netflix/asgard/issues/612

Thanks!


Make the Swin Transformer example model savable

This is a really quick and small PR for the example I recently contributed, Image classification with Swin Transformers. While my further experiments, I today noticed a really minor problem while saving the model using model.save(). We don't do this in the example which is why I might have missed it, but this change would be helpful if people want to take this example further and probably save the models they trained in this example.
Instead of using:
rank = len(input_shape)

which creates problems on calling model.save() we now use the dynamic shape:
rank = input_shape.shape.as_list()[0]

@fchollet Thanks for the review, I have incorporated your suggestion (x.shape.rank)

Hi Rishit,
That's really a great work.
Would you mind please sending me code explained or algorithm to understand your code.
Appreciate if you can prepare a youtube explanation of the code.
Thanks


[Python] Drop unnecessary null termination

The ctypes data type c_char_p takes care of null-terminating the byte array provided to it. The additional null termination doesn't hurt in practice, but it's unnecessary.

I've verified this to be the case by checking what is present at memory address strlen(), +1/+2. Also this StackOverflow comment mentions that the implicitly called z_set function calls PyBytes_AsString which takes care of null termination, from the PyBytes_AsString docs:

Return a pointer to the contents of o. The pointer refers to the internal buffer of o, which consists of len(o) + 1 bytes. The last byte in the buffer is always null, regardless of whether there are any other null bytes.


fix: improve imports in actor and reactor packages to fix code sandbox

Fixes #129

Codecov Report
Base: 93.52% // Head: 93.52% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (50cf605) compared to base (3be3136).
Patch coverage: 98.34% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   93.52%   93.52%
=======================================
  Files         216      219    +3
  Lines       14160    14191   +31
  Branches     2872     2894   +22
=======================================
+ Hits        13243    13272   +29
- Misses        831      833    +2
  Partials       86       86

Impacted Files
Coverage Δ

packages/actor/src/main/index.ts
100.00% <ø> (ø)

...ges/stream/src/async-custom/async-stream-custom.ts
88.57% <85.18%> (-0.12%)
:arrow_down:

...tream/src/async-custom/async-fast-iterator-base.ts
94.95% <92.85%> (-0.10%)
:arrow_down:

packages/actor/src/immer/index.ts
100.00% <100.00%> (ø)

packages/actor/src/immer/slice-immer.ts
100.00% <100.00%> (ø)

packages/actor/src/main/action.ts
100.00% <100.00%> (ø)

packages/actor/src/main/actor.ts
100.00% <100.00%> (ø)

packages/actor/src/main/generate-uuid.ts
100.00% <100.00%> (ø)

packages/actor/src/main/internal.ts
100.00% <100.00%> (ø)

packages/actor/src/main/lookup.ts
100.00% <100.00%> (ø)

... and 13 more

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

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


Vocab file for pre-trained model

I find no corresponding vocab file in pre-trained files to the 50000  you may have used. The finished files from https://github.com/JafferWilson/Process-Data-of-CNN-DailyMail seems to have have a 200000 vocab file
There is "vocab_metadata.tsv" - with 50000 words; should this be used - though it does not have counts?
As vocab file important in decode would help if you please share a vocab file that went with the pretrained model.
Regards
Jayanta@Kolkata

The vocab file is obtained here: https://github.com/JafferWilson/Process-Data-of-CNN-DailyMail
in the finished files folder.!


:shower: refactor parsers

Currently, This gem define parsers for each models.
I think this should be refactored and make more simple code.
This pull request will done these tasks.

LGTM !


Fix incorrect TBB version in Java API

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:
closes #1254

/intelci: run

/intelci: run

/intelci: restart

/intelci: run

@Alexsandruss Could you check CI error and help to fix this?


Fixed case where .unwrap was being called instead of the Option just being propagated up the call chain

I ran into a case where Juniper was unwrapping a value and then placing it back into an Option.  It seems reasonable to just pass the Option up the call stack.
I've been playing with Juniper the last few weeks and it's really cool!  Thanks for building, maintaining and extending it!

As near as I can tell, my change shouldn't have caused these failures but I'm happy to put in some effort to make it pass with some guidance :)

@joshmarlow thanks!
Could you maybe add a test that validates the expected behaviour?

@theduke totally!  I'll try to do that this weekend.

@joshmarlow are you still interested here?
If not, no problem, just say so.
Then I'll merge this and add some tests myself.

@theduke I am but the holidays through me off - I should be able to Sunday but I'll ping you if I can't find thetime.

@theduke I don't think I'll be able to get to a test here anytime soon, but there should no longer be any merge conflicts if you want to merge this.  Thanks!

Codecov Report

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

@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   89.03%   89.03%
=======================================
  Files          95       95
  Lines       13431    13431
=======================================
  Hits        11958    11958
  Misses       1473     1473

Impacted Files
Coverage Δ

juniper/src/types/base.rs
89.41% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


"The 20 Game" Project

Note: The project is completed, but we may edit it before the discussion.

Nice job


How to do the key rotation?

Can I simply select another key from the key vault? Does it mean the previous written data are encrypted by the old key and the new written data are encrypted by the new key?

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

ID: 6dc2f1a2-3f5a-baf3-94e7-37bf4539530b
Version Independent ID: 13dd580d-f249-62eb-13e2-da76f2f7f7dc
Content: Azure Storage Service Encryption using customer-managed keys in Azure Key Vault
Content Source: articles/storage/common/storage-service-encryption-customer-managed-keys.md
Service: storage
GitHub Login: @lakasa
Microsoft Alias: lakasa

@bingosummer, Thanks for the feedback. We are actively investigating and will get back to you soon.

Thanks @femsulu .
We have a discussion with Cloud Foundry community. Many people are very interested in the key rotation story of custom key/BYOK in SSE.
How does it work end to end? After you create a new version in Azure Key Vault, what then triggers re-encryption of all the data at rest, to actually use the new key?
https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/issues/363

@bingosummer I assigned the case to the author to see if they can add the requested documentation, I couldn't find any specifics about it in public documentation

@lakasa How is it going?

Yes, how's it going?  What is the process?  Is this documented somewhere?  Thank you in advance.

Not sure how I didn't see this, but according to https://azure.microsoft.com/en-us/blog/announcing-storage-service-encryption-with-customer-managed-keys-ga/, it's used to encrypt the Account Encryption Key, not the data.

Well, the second line in the article suggests that data is encrypted.

One way that Azure Storage protects your data is via Storage Service Encryption (SSE), which encrypts your data when writing it to storage, and decrypts your data when retrieving it.

We know the data is encrypted. The question here is "does it mean the previous written data are encrypted by the old key and the new written data are encrypted by the new key?" The excerpt from my previous comment reads as if old and new key are both used to encrypt the Account Encryption Key and the Account Encryption Key is used to encrypt the data, which is why no re-encryption of the data takes place and why it only takes 5 minutes to change the key regardless of how much data th there is. If this is standard practice, fine. If this satisfies the business requirement typical for key rotation, fine. I just want it to be more clear.

When you rotate the key in Key Vault it only re-encrypts the root account key (AEK) for encryption. All unique writes are encrypted using a derived key Data Encryption Key (DEK). This is derived from AEK. When user rotates the key in Azure Key Vault, the AEK is re-encrypted with the new key from AKV. Hope that helps!

Can I use this feature to have unique DEK and AEK/KEK per user? Meaning, we are using same storage account to store details of various customers - can we use this feature so that we will have different DEK and AEK/KEK per customer on same storage account?

Today you cannot have a different root key per user.  We are working on ways to provide more granularity and control in the future.

It looks like this issue has been addressed, so I am closing this. Thanks!

@MarkMcGee1 I think this information is important and should be added to this page:
https://docs.microsoft.com/en-us/azure/storage/common/storage-service-encryption

Hi everyone, I am actually looking for the same information about how would be the right process to rotate the customer-managed key.


fix(mouse manager): fix mouse up triggered twice instead of once every time item is moved

:tada: This PR is included in version 2.1.4 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enhancing Library Usability with Communication Error Handling in Queries and Mutations

Hello~
I've been enjoying using this library. During its use, I've made some modifications.
I would appreciate it if you could review them.
Thank you for creating such a great library. If circumstances allow while I continue to study, I plan to make further modifications.
P.S.:
I am a React Native developer currently studying Compose and SwiftUI in the React paradigm.
Below are the reference materials.
// query

@Composable
fun TestQuery() {
    Column() {

        val queryResult by useQuery {
            delay(200)
            val response =  Req2.client.get("https://www.test-error.com")
            "Fetched: ${response?.status}"
        }
        when(queryResult){
            is QueryState.Loading -> {
                Text("loading")
            }
            is QueryState.Error -> {
                val th = (queryResult as QueryState.Error).th
                val statusCode : Int = when (th){
                    is RedirectResponseException -> { //Http Code: 3xx
                        (th.response.status.value)
                    }
                    is ClientRequestException -> { //Http Code: 4xx
                        (th.response.status.value)
                    }
                    is ServerResponseException -> { //Http Code: 5xx
                        (th.response.status.value)
                    }
                    is UnresolvedAddressException -> { // Network Error - Internet Error
                        1000
                    }
                    else -> 9999
                }
                Text("error : ${statusCode}" )
            }
            is QueryState.Content -> {
                val data = (queryResult as QueryState.Content<String>).data;
                Text("data :  $data")
            }
        }

    }
}

// mutation
@Composable
fun TestMutation() {
    var buttonText by remember { mutableStateOf("idle") }

    val testMutation = useMutation { (username, password) ->
        delay(500)
        val url = "https://www.test-error.com"
        val response =  Req2.client.get(url)
        "secret_token:$username/$password Fetched ${response?.status} "
    }

    Column() {
        Button(onClick = {
            testMutation.reset()
        }) {
            Text("reset")
        }
        Button(onClick = {
            println("click")
            testMutation.mutate("pavi2410", "secretpw123") {
                buttonText = it
            }

        }) {
            Text(text = buttonText)
        }

        when(testMutation.state){
            is MutationState.Idle -> {
                Text("idle")
            }
            is MutationState.Loading -> {
                Text("loading")
            }
            is MutationState.Error -> {
                val th = (testMutation.state as MutationState.Error).th
                val statusCode : Int = when (th){

                    is RedirectResponseException -> { //Http Code: 3xx
                        (th.response.status.value)
                    }
                    is ClientRequestException -> { //Http Code: 4xx
                        (th.response.status.value)
                    }
                    is ServerResponseException -> { //Http Code: 5xx
                        (th.response.status.value)
                    }
                    is UnresolvedAddressException -> { // Network Error - Internet Error
                        1000
                    }
                    else -> 9999
                }
                Text("error : $statusCode" )
            }
            is MutationState.Success -> {
                Text("Success : $buttonText")
            }
        }
    }
}

//swift ui
https://github.com/unixzii/swiftui-for-react-devs
// compose
https://tigeroakes.com/posts/react-to-compose-dictionary/

Wow! I thought nobody uses this library. Thanks for using this. It's bedtime right now, I will read this issue in the morning.


Is project still maintained ?

Hi @enesozturk , congratulations with your new job and Center Pixel and relocation to USA.
What do you think of transfering this repo to one of fork authors?
Project is still used, but forks can help only with one-time temp fixes that ultimately should land in main repository:

@athombv @SohelIslamImran what do you think, is there oss maintainer with good reputation to take over or a least merge PRs with fixes and keep dependencies (expo. haptics etc) up-to-date ? Expo has 6 month compatibility window, so this should be done on a regular basis.

That would be great.

Can you publish your fork under different npm coordinates , post link there - so people can add pull requests from their fork to that new repo ? Until @enesozturk is back, we would have consolidated version with fixes. For example , fork of @athombv (which is most fresh) is missing zIndex fix that is present in other fork .

Hey @n0mer. Thank you for considering the state of this package. I don't think about moving this package to another author. It's been a while since I couldn't take care of the issues & PRs, and I am still not pretty sure that this production-ready package is. Running this animation on low-end devices might lead to a bad user experience. I am open to PRs that improve the user experience especially low-end & Android devices.
Let me check out the recent PRs and merge them if they are ok. Thanks, have a great day.

@enesozturk can you please re-consider #76 and corresponding contribution from #77 by @SohelIslamImran SohelIslamImran

Hey @n0mer. Thank you for considering the state of this package. I don't think about moving this package to another author. It's been a while since I couldn't take care of the issues & PRs, and I am still not pretty sure that this production-ready package is. Running this animation on low-end devices might lead to a bad user experience. I am open to PRs that improve the user experience especially low-end & Android devices.
Let me check out the recent PRs and merge them if they are ok. Thanks, have a great day.

Hi
We use it in production for a while and it works good
rn-reanimated and rn-gesture-handler libs on which this package is based proved that they're fast and stable
So it would be great to see this package have maintenance


Addition to Supplies Used Tracker Suggestion

Basically this:
https://github.com/runelite/runelite/issues/13821
Thoughts?

Any update?

I have taken ownership of the plugin. This is one of the features I was considering as well and hopefully I find time to work on it. It's a large change though and I'm tackling the easier issues first.

I have taken ownership of the plugin. This is one of the features I was considering as well and hopefully I find time to work on it. It's a large change though and I'm tackling the easier issues first.

@pwatts6060 any progress?

I have taken ownership of the plugin. This is one of the features I was considering as well and hopefully I find time to work on it. It's a large change though and I'm tackling the easier issues first.

@pwatts6060 any progress?

I don't have time to work on this plugin currently.

I have taken ownership of the plugin. This is one of the features I was considering as well and hopefully I find time to work on it. It's a large change though and I'm tackling the easier issues first.

@pwatts6060 any progress?

I don't have time to work on this plugin currently.

Hi, I'm interested in this feature as well, any chance you've found time? @pwatts6060

This would be quite a big addition to the plugin and it barely works as is with tracking the normal supplies. It's still in consideration but won't happen anytime soon. Probably someone else should make a new plugin that tracks your inventory changes when you leave a bank and return to one or something to monitor profit/trip and summarize it overtime or something like that.


What getter to use to retreive message from UnexpectedResponseException|CurlException|\Exception

I am trying to figure out what the correct getter is to retrieve the protected message when an UnexpectedResponseException|CurlException|\Exception is thrown.
Any pointers appreciated.

I don't understand the question. What is "the protected message"? And where is that exception thrown from?

Sending a SEPADirectDebit with the wrong format throws an Fhp\UnsupportedException:
Fhp\UnsupportedException Object
(
    [message:protected] => The bank does not support the XML schema urn:iso:std:iso:20022:tech:xsd:pain.008.003.02, but only urn:iso:std:iso:20022:tech:xsd:pain.001.001.03, urn:iso:std:iso:20022:tech:xsd:pain.001.001.09, urn:iso:std:iso:20022:tech:xsd:pain.008.001.02, urn:iso:std:iso:20022:tech:xsd:pain.008.001.08
    [string:Exception:private] =>
    [code:protected] => 0
    [file:protected] => C:\xampp\htdocs\vendor\nemiah\php-fints\lib\Fhp\Action\SendSEPADirectDebit.php
    [line:protected] => 152
    [trace:Exception:private] => Array

How to get the message? Just $e->message won't work since "message" is protected.

https://www.php.net/manual/en/exception.getmessage.php

I recommend you use some kind of IDE (like VS Code with some PHP extensions) that is capable of auto-completing $e->getMessage(). Even the 90s-style IntelliSense can do that after you've typed $e->mess.... Modern AI-based suggestion tools can probably even do it after just $e.

Mistakes, your best teacher are!


Add @time package

This PR adds a time package, including types and methods for date and time manipulation. We currently need to use FFI to acquire the timestamp and time zone.

LGTM. I think we can discuss how to include the timezone database in the future.


Easier way to animate bullet points?

Does anyone here have suggestions for an easier way to "animate" or "per-slide" a list of bullet points? This is my current solution:
---

## Virtual Machines

* Simulate physical machine
--

* Provide local file system
--

* Accessible over network
--

* Full/independent OS ("guest")
--

* Virtualized device drivers
--

* Resource and memory management
--

* Requires a hypervisor

This shows 1 bullet point on each click to the next slide. I have countincrementslides off so that's not an issue. The above just makes the source/Markdown look cumbersome. I am hoping for a class: that I can add to the slide that will auto-make them individual slides.
Better yet would be a way to make all of the above 1 slide, but with transitions between each bullet point using animate.css. If you add animate to the main slide class, you get the animation on the entire slide each click instead of on the individual text lines.

I feel you @utdrmac, I guess you want something like "tell the whole list to sub-slide each bullet point" but the simplest I can imagine is below (a CSS class).
Still, I think users who want this will reach the same trick, even if it takes a few steps of trial and errors. So it's easier for them to do just that, than for us to add the feature, document it, and for users to learn this by rote.
Also I'm reluctant to make anything "too strict" like "all the bullets on one page" because there will always be someone that has two lists, or will want 1 step, 1 step, then 2 steps at once... and our feature will be useless and they'll have to use your trick anyway.
So while I totally understand your need, I think I will close the ticket.
# title

.bullets-as-sub-slides[
* bullet 1
* bullet 2
* bullet 3
]


FIX: #721 fix format M d, Y h:i A, the time always minus one

Checklist before pull request

[x] There is an associated issue that is labelled 'Bug' or 'help wanted' or is in the Community milestone
[x] Code is up-to-date with the master branch
[ ] You've successfully run npm test locally
[ ] There are new or updated tests validating the change

Fixes
About your changes
I change the hour always minus one。 when i use format: 'M d, Y h:i A',

You've only commited the build directory?


Planning to add support to sqlalchemy 1.4?

Hi, I am developing a project in FastAPI and wishing to use turso.
FastAPI works mainly with sqlmodel, a mix between pydantic and sqlalchemy.
It does not support sqlalchemy 2.0 so far.
How to implement this project to use FastAPI?
Is there a plan of migrating this to previous sqlalchemy versions?
Thanks!

hi @SantiMNV we can look into porting it to older versions, will check about the priorities and when we could do it.
But if you're willing to do that, the code should be pretty simple: https://github.com/libsql/sqlalchemy-libsql/blob/main/sqlalchemy_libsql/init.py#L85
See we build on top of the sqlite3 dialect, since our Python API is compatible with dbapi2 (import sqlite3.dbapi2 can be replaced with import libsql_client.dbapi2), then we expose that in https://github.com/libsql/sqlalchemy-libsql/blob/main/sqlalchemy_libsql/init.py#L91, with connect() being rewritten to not restrict the URL to be only files https://github.com/libsql/sqlalchemy-libsql/blob/main/sqlalchemy_libsql/init.py#L109 (compare to https://github.com/sqlalchemy/sqlalchemy/blob/main/lib/sqlalchemy/dialects/sqlite/pysqlite.py#L578-L586)


LDAP Issue - Unable to connect via LDAPS to OpenLDAP server

Describe the bug
I'm unable to connect FileGator (docker container) to my LDAP server. The LDAP server is OpenLDAP and it is configured to only accept LDAPS connection over SSL/TLS. No issues connecting other services (KeyCloak, etc.) to the server, but cannot seem to figure out FileGator.
I've searched documentation/issues and see no mention of anyone else using LDAPS. Is this potentially the problem? I've tried specifying the port (636), but still same error displays.
I'd very much appreciate the help, trying to have a web based file browser for family to use but need one that can let me manage users/logins via either LDAP or OIDC
LDAP configuration.php
        'Filegator\Services\Auth\AuthInterface' => [
            'handler' => '\Filegator\Services\Auth\Adapters\LDAP',
            'config' => [
                    'private_repos' => false,
                    'ldap_server'=>'ldaps://openldap.example.com',
                    //'ldap_server'=>'ldaps://openldap.example.com:636',
                    'ldap_bindDN'=>'cn=admin,dc=example,dc=com',
                    'ldap_bindPass'=>'SoMePa5sWoRd',
                    'ldap_baseDN'=>'dc=example,dc=com',
                    'ldap_filter'=>'(&(uid=*)(objectCategory=inetOrgPerson)(objectCategory=person)(objectClass=posixAccount))',
                    'ldap_attributes' => ["uidNumber"],
                    'ldap_userFieldMapping'=> [
                        'username' =>'uid',
                        'username_AddDomain'<EMAIL_ADDRESS>                        'username_RemoveDomains'<EMAIL_ADDRESS><EMAIL_ADDRESS>                        'name' =>'cn',
                        'userDN' =>'dn',
                        'default_permissions' => 'read|write|upload|download|batchdownload|zip',
                        'admin_usernames' =>['admin', 'user1'],
                    ],
            ],
        ],

Error displayed when viewing at filegator.example.com
Fatal error: Uncaught Exception: Cannot Bind to LDAP server: Wrong credentials? in /var/www/filegator/backend/Services/Auth/Adapters/LDAP.php:184 Stack trace: #0 /var/www/filegator/backend/Services/Auth/Adapters/LDAP.php(129): Filegator\Services\Auth\Adapters\LDAP->getUsers() #1 /var/www/filegator/backend/Services/Auth/Adapters/LDAP.php(140): Filegator\Services\Auth\Adapters\LDAP->find('guest') #2 /var/www/filegator/backend/Services/Router/Router.php(33): Filegator\Services\Auth\Adapters\LDAP->getGuest() #3 /var/www/filegator/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(143): Filegator\Services\Router\Router->__construct(Object(Filegator\Kernel\Request), Object(Filegator\Services\Auth\Adapters\LDAP), Object(Filegator\Container\Container)) #4 /var/www/filegator/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(71): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition), Array) #5 /var/www/filegator/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php(71): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition), Array) #6 /var/www/filegator/vendor/php-di/php-di/src/Container.php(390): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\ObjectDefinition), Array) #7 /var/www/filegator/vendor/php-di/php-di/src/Container.php(139): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition)) #8 /var/www/filegator/backend/App.php(32): DI\Container->get('\\Filegator\\Serv...') #9 /var/www/filegator/dist/index.php(50): Filegator\App->__construct(Object(Filegator\Config\Config), Object(Filegator\Kernel\Request), Object(Filegator\Kernel\Response), Object(Filegator\Kernel\StreamedResponse), Object(Filegator\Container\Container)) #10 {main} thrown in /var/www/filegator/backend/Services/Auth/Adapters/LDAP.php on line 184

Check your LDAP information and LDAP path.
Cannot Bind to LDAP server: Wrong credentials

@ardacetin I've dried dozens of different paths/bindings, cannot get this to work for FileGator. I have several other containers connected via LDAP no problem.
Any chance would you be able to provide an example config that is working with OpenLDAP? I'm using the container made by osixia

I'm assuming it works on 389. Is your ldap server using a self signed certificate? Are you loading the CA chain in filegator?

I am sorry to just drop in like this, but what would be the best way to load my own CA chain into filegator when running as a docker container?

For my issue it seems that the issue was the URL to the LDAP-Server. When I removed "ldaps://", it worked. Maybe this is applicable to the OPs case as well


fix mssql timestamp insert

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
✔/❌

Fixed issues
19074

it's wrong solution


⚠ Bofrost.be has degraded performance

In bc5ed08, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2520 ms

Resolved: Bofrost.be performance has improved in a946798.


Added Hash and Encryption support in Web component

Here I integrated essential cryptography utilities into Web component to secure personal data for local and cloud use.
Supported utilities:

Hashing: md5, sha-1, sha-256, sha-384, sha-512
HMAC: hmacmd5, hmacsha1, hmacsha256, hmacsha384, hmacsha512
AES-256 symmetric encryption/decryption
RSA asymmetric encryption/decryption
DSA signature/verification

For details, please refer to the proposal: https://docs.google.com/document/d/1XuiftqF1hICxZebNpay2mF6PKQXi3c8azh_89iZZ59M/edit?usp=sharing
Try it on http://ai2-enc.appspot.com with its Companion app
Demo projects: HashEncDemo.aia, FileEncryptDemo.aia, DsaDemo.aia
Post: https://groups.google.com/forum/#!topic/app-inventor-open-source-dev/nKlVsW_JR8c

Request re-opening this? Complexity is a poor reason to not include something that is so important (keeping secrets).

Please add it .We need it for store user information.And hash password

Hi dear friend. The companion provided with  http://ai2-enc.appspot.com is not working with it. Also I am unable to make changes in your application and building the apk. Its giving the error regarding local server.  Plz can you give some solution for it. error while building the apk is "Build failed! Can not contact the BuildServer at localhost" . I installed local build server for it by installing app inventor standalone on my computer but it still giving this message thus unable to more work on it and build. It is a valuable app plz help me for building it more comprehensive and useful.


Fixed division by zero in linear regresion function (with test)

Hi,
Just extending the information provided in the previous PR (https://github.com/raphaelvallat/antropy/pull/20), I provide a serie of screenshots about the problem I was facing when computing the detrended fluctuation of my signals.
See below one of the segments of my signal where the method fails:

Results of the tests with this signal:

After the proposed solution:

I hope these new commits and test help to clarify the issue.
Thanks,
Tino

Thanks @Arritmic! This looks great. Tests are failing but it's unrelated, I just need to a bit of updating in my dependencies.
One last thing, would you be able to add a short description of the PR to the changelog?

You're welcome @raphaelvallat!
And yes, of course, today along the day I will add a short description in the changelog.

@Arritmic Awesome thanks. I've updated the changelog and fixed the unit tests. Merging now!


Swift 3 Support

updated for Swift 3 support

Thank you so much for the PR @elleck. I've just merged another PR that was sent before. Closing yours now.


freshadminvm: removed domain from vm addr

The domain contained dot at the end which failed to resolve.
In addition, the master version doesn't have the domain and it's easy
to define the address in /etc/hosts on adminhost.

 Update scale cloud to latest bits and use SAP node distribution

failed to resolve

was probably due to hickups with Nuremberg network/DNS - IMHO we should revert this, because otherwise it will only work when /etc/resolv.conf searches in the cloud.suse.de. domain.

@bmwiedemann but the master version has no domain there as well... in provo I'm using /etc/hosts for these nodes


Incomplete list of OutputModels?

Hiya,
I'm struggling to figure out what the config flag output_model_noise: VectorOutput maps to in the code? Has the VectorOutput model been renamed?
Thanks!!

Hi @a-r-j, thanks for your question (and sorry for the late response)! Indeed, the config field VectorOutput maps to a module that's called EquivariantVectorOutput. This config parsing happens here, and the module is defined here. Hope that helps!

Gotcha, thanks!!


Updated SFX for Slider Tap Notes

Changed every SlideStart and SlideEnd SFX to normalPerfect.
[NormalSlideStart and NormalSlideEnd]

Right now, the engine plays the perfect/great/good SFX depending on the judgment, which is not the case in the main game--- it plays the same normalPerfect SFX regardless of the judgment.

[CriticalSlideStart and CriticalSlideEnd]

The engine plays criticalTap SFX, which is different from the main game, which plays the normalPerfect SFX.

Please edit the PR to include video references of the original game and timestamp those differences, if possible.


showLabel not working for TabBarBottom

I have a tab bar nested inside of a stack navigator and, within my tabBarOptions, I have showLabel set to false. However, this does not produce the desired effect of hiding the label and only keeping the icon for a given tab. Below is my code and the tab bar that it produces:
const TabBar = TabNavigator({
  Companies: { screen: CompanyList },
  Favorites: { screen: FavoritesPage },
  Portfolio: { screen: PortfolioList },
}, {
  tabBarOptions: {
    activeTintColor: '#F57C00',
    showLabel: false,
  },
});

Thanks in advance for any input :)

@danstepanov is it solved?

@sonnylazuardi it is yes, simply update to the latest beta of the project and you should be all good :)

I'm sorry, I have the latest version and it doesn't work for me. Could you please provide another solution?

Hello, I'm currently using "react-navigation": "^1.0.0-beta.11" and the showLabel: false does not work as expected. How can I fix this?

@Alexandra-Assembly false should not be a string value, it is of type boolean. Changing showLabel: 'false' to showLabel: false should fix your problem.

Oops! My apologies, you are correct @danstepanov & thank you for the speedy reply.

same issue with react-navigation :3.11.0

same

Anyone find a fix? Ive tried using a boolean and a string. Not working

DOC: https://reactnavigation.org/docs/en/material-bottom-tab-navigator.html
If you are using Material Bottom Tab
use ' labeled: false' property
{
initialRouteName: 'Home',
labeled: false
}


Moving A Script That Extends Resources Lead To Missing Dependecy

Tested versions
Reproducible in 4.2.2
System information
Windows 11, Godot v4.2.2 Forward Renderer
Issue description
When moving a folder or a script that extends Resources, it could result in missing dependencies.
Steps to reproduce
I was able to reproduced this issue using my dialogue system, which relies on resources. Based on the reproduction project, follow these steps:

Open the project.
Move the dialogue_res_scripts folder to a different location (e.g., dialogue_resources folder).
Reload the project.

Video Guide
https://github.com/godotengine/godot/assets/45304248/91c54af3-6a5a-4d39-91d7-ad1f88aaf180
Minimal reproduction project (MRP)
ResMissingDependecy.zip

A fix for global class data corruption from moving gdscript files was merged at some point. Please try again on the latest beta

A fix for global class data corruption from moving gdscript files was merged at some point. Please try again on the latest beta

As of Godot v4.3 beta2, it's still broken. I think this issue might actually be related to https://github.com/godotengine/godot-proposals/issues/7363 I'm just not hundred 100% sure.