Possible unmarshalling error

Operating system
Ubuntu 24.04
Helmfile Version
0.169.1
Helm Version
3.16.3
Bug description
Having a file "config-instances.yaml" like:
instanceOne:
  instanceOne-A:
    key1:  val-1
    key2:  val-2
  instanceOne-B:
    key1:  val-3
    key2:  val-4

and attempting to produce values with helmfile write-values result in error values file matching "map[key1:val-1 key2:val-2]" does not exist in "." . Expected is to produce values with the content of instanceOne-A.
The only way so far to achieve the expected result is to use yq in the helmfile like:
{{ $someConfig := exec "sh" (list "-c" "cat config-instances.yaml | yq '.instanceOne.instanceOne-A | . style = \"flow\"' " ) }}
On the other hand, when the last line in the helmfile is replaced with - key1: {{ $someConfig  | get "key1" }} , values are produced as fine.
Example helmfile.yaml
---
releases:
{{ $instances := readFile "config-instances.yaml"  | fromYaml }}
{{ $someConfig := $instances | get "instanceOne" | get "instanceOne-A" }}

  - name: try
    chart: ./try
    values:
      - {{ $someConfig }}

Error message you've seen (if any)
in ./helmfile.yaml: values file matching "map[key1:val-1 key2:val-2]" does not exist in "."

Steps to reproduce
helmfile write-values --output-file-template="values-A.yaml"
Working Helmfile Version
none
Relevant discussion
No response

Screenshot of the error:

Screenshot of the workaround:

Screenshot of another workaround:

@DragD please post the related files.

The related files are in the sections 'Bug description' and 'Example helmfile.yaml' above.

❯ cat config-instances.yaml
instanceOne:
  instanceOne-A:
  - key1:  val-1
    key2:  val-2
  instanceOne-B:
  - key1:  val-3
    key2:  val-4

❯ cat helmfile.yaml.gotmpl
---
{{ $instances := readFile "config-instances.yaml"  | fromYaml }}
{{ $someConfig := $instances | get "instanceOne.instanceOne-A" }}
releases:
  - name: try
    chart: ./try
    values:
{{- $someConfig | toYaml | nindent 6 }}

The proposed solution works fine. Thank you!


⚠ GitLab Server has degraded performance

In 172f2dd, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 5274 ms

Resolved: GitLab Server performance has improved in a788201.


Add python-resolvelib package to support ansible-galaxy

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
The ansible spec file within Mariner is missing a dependency on python-resolvelib for the ansible-galaxy command set. This pr adds and builds this python package within Mariner.
Change Log

Add python-resolvelib package to Mariner
Add runtime requires on python-resolvelib to ansible spec

Does this affect the toolchain?

NO
Test Methodology

local build
install ansible rpm in mariner container with resolvelib package
check failing command ansible-galaxy --help post install for errors

LGTM, but can you please run x64 + arm64 buddybuilds for the new package

LGTM, but can you please run x64 + arm64 buddybuilds for the new package

Started a buddy build for python-resolvelib and ansible here: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=392184&view=results


Review all parameters and add instructions when appropriate

To self-document the confusing parameters (e.g. jclouds credentials for abiquo)

I think this is done and outdated.
Can we close this issue ?


Generating samples from generated Mel-spectrograms

@bshall - First of all, thank you for this implementation. In this issue, you pointed out that you've generated a sample audio from generated Mel-spectrogram from VQVAE. It sounds pretty good.
My question is: how would one go about generating audio from Mel-spectrograms? Do we need to preprocess the Mel-spectrogram, if that's the only thing we're given?

Hi @francislata,
So the generate.py script does generate audio from Mel-spectrograms (if you look at the code it converts the raw audio into a Mel-spectrogram and then feeds that to the vocoder). If you want to use spectrograms created from another process (like tacotron or something) they need to use the same parameters as I've used. You can find the parameters in config.json and the steps I used for preprocessing in preprocess.py.

@bshall  - Can you be more specific which parameters that needs to match?

Hi @francislata, sorry about the delay.
I used librosa to generate the Mel-spectrograms and the specific parameters hop_length, win_length, etc. can be found here. If you've got mels from a TTS system the best approach would be to retrain the Vocoder. To do that you should replace the steps in preprocess.py with the exact steps used for preprocessing the mels for the TTS system (but include the padding step).
Unfortuately different preprocessing does have a big effect so its very important that the preprocessing pipeline for the TTS system and the vocoder line up.


PyTest fixed version number is removed from the requirements

Fixes #3

@bubenkoff any idea why coveralls is failing?


datepicker-popup remains on screen when launched from modal that goes away

Open a datepicker-popup from a modal, with datepicker-append-to-body set to true. Click outside the modal to close it. The datepicker stays around even though its scope was destroyed.
See http://plnkr.co/edit/YdWmqYPFBNbv4vhQZc4t?p=preview

This looks like a bug to me, but need further investigation. What appears to be happening is that the popup is binding to an incorrect template when appendToBody is used, causing a comment tag to be removed instead of the right element.

I am also having this issue, it does seem to be a bug.
Destroying the scope keeps the datepicker visible on the screen. The modal does not have anything to do with it, the issue happens with any $destroy event.

Yeah, the incorrect DOM node is being used to remove - this is a bug in our tracking of the popup DOM element.

Sounds good, will try to get out a PR for this in the next few days.


Add REMOTE_USER to werkzeug environment

Django RemoteUserMiddleware and RemoteUserBackend are able to authenticate users by looking at the REMOTE_USER request header.
In Werkzeug, this header isn't set unlike in Django's default WSGI server.
This patch add the variable to the Werkzeug environ if it's set.
Fixes #1708

Can't find a good way to test this. Suggestions welcome!


fix: add missing ocaml includes for flow-parser-bin

flow-parser-bin requires opam and ocaml static libs to be installed, from what I gather. Maybe it requires a dynamic lib instead, but I was unable to find it for osx. Suggestions welcome!

I think @mroch is the most familiar with this

nice, thanks. how did you run into this? wondering why it built for me and on circle without these changes.

@mroch we just built it on os x. Not sure if I'm talking nonsense but maybe it's setup for you on your workstations automatically as an available dynamically linked lib?


sink(ticdc): split event in mq sink if partition key updated

What problem does this PR solve?

Issue Number: close #11297
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/test all

/retest

/test all

/retest

/retest

/retest

/retest

/close since this feature is not verified by PM.


Add option to pass in request headers

closes #372
cc @wnordmann as this likely influences your fetch work as well

Coverage decreased (-0.03%) to 69.608% when pulling e6b0066ed3082ab86ceb7a6f5288c86894ccd55d on xhr-headers into b7f704573c8366349fc5cb9e2771090c48c15596 on master.


Add admin page link to /people page

Simple - add a link to /admin on the /people page

PR-issue#53 Here is the Pull Request for this issue.


SSMS Utility Batch File Issue with SSMS 2019

I use batch files to automatically launch SSMS.EXE using SQL Server authentication with a user name and a password. Everything works fine for earlier versions of SQL Server but not for version 2019 (v 18.6). When using the batch file I get a pop up message showing all of the command line switches. Unfortunately it appears that the "P" switch for password is missing so the batch files will not work with a password.
This web page clearly states that the "P" switch should work, but it does not.
Here is the command I am using. The user name and password has of course been changed.
"C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe" -S <IP_ADDRESS>,15150 -U william.smith -P Password01
Text from the web page:
Arguments
scriptfile Specifies one or more script files to open. The parameter must contain the full path to the files.
projectfile Specifies a script project to open. The parameter must contain the full path to the script project file.
solutionfile Specifies a solution to open. The parameter must contain the full path to the solution file.
[-S servername] Server name
[-d databasename] Database name
[-G] Connect using Active Directory Authentication. The type of connection is determined whether -U is included.
Note
Active Directory - Universal with MFA support is not currently supported.
[-U username] User name when connecting with 'SQL Authentication'
[-P password] Password when connecting with 'SQL Authentication'
[-E] Connect using Windows Authentication
[-nosplash] Prevents SQL Server Management Studio from displaying the splash screen graphic while opening. Use this option when connecting to the computer running SQL Server Management Studio by means of Terminal Services over a connection with a limited bandwidth. This argument is not case-sensitive and may appear before or after other arguments
[-log[filename]?] Logs SQL Server Management Studio activity to the specified file for troubleshooting
[-?] Displays command-line help

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

ID: 179d9df0-cfc8-d9f2-babc-e9b7d0732d87
Version Independent ID: c458bccb-8bba-f94c-658c-5d35eab7cdc7
Content: SSMS Utility - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/ssms-utility.md
Product: sql
Technology: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

@puffgroovy -- thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- please look into this issue.

@puffgroovy
First, we apologize for the delayed response.
Second, thank you for your feedback! We will investigate and get back to you with the relevant info.
However, please add your experience in SQL Server User Feedback to find if you see more people experience the same situation.

@puffgroovy
Thank you for bringing this to our attention.
The -P was removed starting back in version SSMS 18.0.
We apologize for the delay in updating the docs.
Expect an article update by the middle of next week.
Thank you.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.


IDEM-268

#268
Swap out Picker with ActionSheet
Screenshots
Android

iOS

iOS screenshot are before text change, see android screenshot for latest text

Looks a lot better! Can we have an enum with a display name, such as
"Medicare Card" instead of "medicare-card"

Document.title already exists in /src/data/documents.ts shouldn't need another enum yet imo
I've update text to use document's title instead of type


feat: add PostgreSQL storage

Update kvStore, docStore, and indexStore with required integrations (#1171)
Tested locally but unable to add tests due to dependence on a running pg instance.

For the sake of naming consistency, I recommend that we either:

rename PGVectorStore to PostgresVectorStore, or...
rename PostgresKVStore, ...DocStore, and ...IndexStore to PGKVStore, ...DocStore, and ...IndexStore

I would be in favor of having Postgres explicit in the filenames (instead of PG) but will leave it up to maintainers to decide.
(FWIW the Python package uses postgres in the filenames)

Reverted all changes to the vectorStore (they were mostly semantic anyway) - should help to avoid merge conflicts.


Update container widget doc

First draft available on google doc.

@cokoghenun - As discussed, we'll need a video for container widget. Just a thought, as the container widget is more like a placeholder, if you create an app around it, it'll be beneficial for users.

I am assuming this can be closed @jnikhila

@Rishabhkaul - We are awaiting an updated video. @cokoghenun

Hey @jnikhila I can work on a newer video async as I have higher-priority videos to work on right now. But I've added this update request to my list

Sure, @cokoghenun - Please raise a PR once you have updated the video.

Yes you can


Refactor Tree Node and Hash

In refresh_private_tree we currently have to sign an unfinished key package bundle in order to compute the parent hash. This is because the parent hash computation takes the key package from the node. With splitting unsigned key packages from signed key packages Nodes should be able to hold both. Alternatively the parent hash computation needs to be given the public key of the leaf.

The parent hash computation now takes place before the KeyPackage is made into a node, which avoids this issue.


refactor: use threadpool

@badvision looking for details from you on this one.

ThreadPoolExecutor should be created with a min and max size of 1.  Using the execute method you can schedule work to be processed in order.   This is ideal compared to other alternatives because you can pause or abort scheduled work more easily on an executor than if you were rolling your own thread.  Also, the executor stats can be used to generate progress statistics as well.

Also make sure your source and target version are 1.8 so that your IDE can offer refactoring and suggestions to make the most use from method references and lambda expressions.

@badvision look at this https://github.com/kaushalmall/aem-hotfix-installer/pull/20. Let me if this looks OK to merge

Should we close this issue now?

yeah. It's done. Closing it


Omit unroutable points from isochrones

I have seen a few isochrones that look like this (Honolulu, Hawaii, USA):

I discovered that some of the destination points that OSRM returns have a duration of null. This seems to be the response when there is no possible route.
Here the red points have duration == null, otherwise they are green (the gray points are the bounding box given that radius = 50):

This is with my fix applied:

Another case (Charlottetown, Prince Edward Island, Canada):

Before
After

Great! Merged!


refactor: utilize barrelsby for generation

Summary

add barrelsby initial implementation to assist with export generation

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve streaming /order_book endpoint

It looks like Horizon's streaming /order_book endpoint is unaware of changes to the data. It sends the entire orderbook every second over the eventstream.
Check out the Stellar Lab for an example.
Ideally it could do one of the following:

Only transmit the entire orderbook when there's a change to the orderbook
Even better, transmit a list of added & removed bids + asks when a change occurs
Best of all, compute both and transmit whichever is shorter

Either way, it could be rate limited to send at most an update every 200ms (configurable), to avoid flooding the client with a very busy order book.
@bartekn @tomerweller

Good idea, I think I vote for:

Only transmit the entire orderbook when there's a change to the orderbook

it's easy to check the difference in the client side (especially in React apps where you can simply push a new state to the app) and sending a diff would complicate this endpoint a lot.
I think along this change we could also keep a local cache of each active order book (that has listening clients) and send updates if there is a change. Then even if there are thousands of listening clients to a single order book it will only send a single DB query every X seconds.
I'm adding this to Horizon 0.14.X milestone as it's a performance fix but would be really great to have this.

Either way, it could be rate limited to send at most an update every 200ms (configurable), to avoid flooding the client with a very busy order book.

There will be no changes between ledgers so this can be updated every new ledger (2-5 sec.).


Add 200ms delay

Just wanted to add a 200ms delay because my computer lags even at 100ms delay. Now with 200ms delay my computer no longer lags while scanning.
Also I'm just a beginner programmer, i kinda just copy-pasted some code that already was there and modified it a little, so sorry if I somehow managed to break something. I'm not expecting this to be merged but it would be nice since I'm sure I'm probably not the only one with a potato PC that lags while scanning.

I added this. Thanks for suggestion.


Adding support to $projectname$ in Item Templates?

When creating item templates the documentation specifies that $rootnamespace$ can be used only for item templates, while $projectname$ only for new project dialogs, it makes sense to support using $projectname$ in item templates since it's part of the value of $rootnamespace$.
This specific case could be used in something like:
global::$projectname$.Properties.Resources
Which is why I attempted to do. Please reply if this is the wrong place to add this issue so I can fix it and thanks for your time.

@daniloToebdot If you feel this is a product suggestion rather than a docs issue, the best place to file it is at Developer Community.

@gewarren it indeed does feel more like a suggestion, the documentation is clear on what it does. I'm closing this issue and posting where you suggested,, thanks for the feedback.


CSS: Explain various CSS Libraries

Description
Description
I will be discussing about various CSS libraries in this issues
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct

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

/assign for documentation

/assign


Local PAM auth example

Hello i can't find an example on a full setup of the local/pam authetication in the documentation for both docker/bare metal install could you maybe add one so i can see where i wen't wrong?

Agree, this would be great!
Maybe I present my specific case..
I tried for some hours, got rid of all tls errors, but I can't get any further.
rdgw-auth
root@filesrv:~/rdpgw# bin/rdpgw-auth
2023/11/07 21:52:37 Starting auth server on /tmp/rdpgw-auth.sock

The service itself:
root@filesrv:~/rdpgw# bin/rdpgw
2023/11/07 21:52:48 Filesystem is used as session storage
2023/11/07 21:52:48 Setting maximum session storage to 8192 bytes
2023/11/07 21:52:48 Starting remote desktop gateway server
2023/11/07 21:52:48 enabling basic authentication

I did tries with mstsc and xfreerdp.
xfreerdp /v:win.vms.int /u:user /g:filesrv /gu:user /gp:passwort
[22:53:48:559] [72023:72024] [INFO][com.freerdp.core.gateway.rdg] - RD Gateway does not support HTTP transport.
[22:53:48:691] [72023:72024] [WARN][com.winpr.sspi] - InitializeSecurityContextA status SEC_E_INVALID_TOKEN [0x80090308]
[22:53:48:713] [72023:72024] [WARN][com.winpr.sspi] - InitializeSecurityContextA status SEC_E_INVALID_TOKEN [0x80090308]
[22:53:48:740] [72023:72024] [ERROR][com.freerdp.core.gateway.rpc] - error! Status Code: 404
[22:53:48:740] [72023:72024] [ERROR][com.freerdp.core.gateway.http] - HTTP/1.1 404 Not Found
[22:53:48:740] [72023:72024] [ERROR][com.freerdp.core.gateway.http] - Content-Type: text/plain; charset=utf-8
[22:53:48:740] [72023:72024] [ERROR][com.freerdp.core.gateway.http] - X-Content-Type-Options: nosniff
[22:53:48:741] [72023:72024] [ERROR][com.freerdp.core.gateway.http] - Date: Tue, 07 Nov 2023 21:53:48 GMT
[22:53:48:741] [72023:72024] [ERROR][com.freerdp.core.gateway.http] - Content-Length: 19
[22:53:48:741] [72023:72024] [ERROR][com.freerdp.core.gateway.tsg] - tsg_check failure
[22:53:48:741] [72023:72024] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[22:53:48:741] [72023:72024] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[22:53:48:741] [72023:72024] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure

I set TokenAuth: false , but it looks as if there is something with a wrong token. Connecting  to the server by browser I get a 404 too.
Before I took care of the certificates, I had at least TLS errors in the rdpgw log, but now I don't get anything anymore.
What would be a good step to investigate here?
Thanks!

So you need a valid cert and yes you then see a 404 page it you visit the page the only still enabled page is /tokeninfo but the rest is only needed for oidc

Thank you!
Then I understood at least from other tickets that this is the right behavior.
But shouldn't there be something on the server log when a client tries to connect?
Or do I need to set any additional protocol settings?
From the freerdp log 'Protocol Security Negotiation Failure' I assume there still might be some encryption settings necessary.

Is there a proxy infront or just direct?

It's a direct connection inside the local network.

With a valid cert?

I created a ca root that i added to the trust store in the client. Then i created and signed a certificate for the host.
The browser doesn't complain and before that mstsc told be there's no connection possible because the host couldn't be trusted.
So my assumption was that it should be working.

Have you tried to use oidc to just check if everything else works?

So, I finally got a setup running with openid by keycloak in a container. Wasn't that easy, I ended up using the docker example and comparing configs. Turns out I should keep the config file small.
Switching back to local didn't bring any messages, so I tried with kerberos. At some point I wanted to AD authentication anyway, so that I tried this, without success so far  I have to admit.
Sorry for switching over...
I tried with both mstsc and xfreerdp again on kerberos..
Using xfreerdp I get this similar message:
xfreerdp /v:win.vms.int /g:filesrv.jue.brk /tls-seclevel:0 /u:user<EMAIL_ADDRESS>GatewayPassword:
[21:37:00:942] [149467:149468] [INFO][com.freerdp.core.gateway.rdg] - RD Gateway does not support HTTP transport.
[21:37:00:081] [149467:149468] [WARN][com.winpr.sspi] - InitializeSecurityContextA status SEC_E_INVALID_TOKEN [0x80090308]
[21:37:00:103] [149467:149468] [WARN][com.winpr.sspi] - InitializeSecurityContextA status SEC_E_INVALID_TOKEN [0x80090308]
[21:37:00:129] [149467:149468] [ERROR][com.freerdp.core.gateway.rpc] - error! Status Code: 404
[21:37:00:129] [149467:149468] [ERROR][com.freerdp.core.gateway.http] - HTTP/1.1 404 Not Found
[21:37:00:129] [149467:149468] [ERROR][com.freerdp.core.gateway.http] - Content-Type: text/plain; charset=utf-8
[21:37:00:129] [149467:149468] [ERROR][com.freerdp.core.gateway.http] - X-Content-Type-Options: nosniff
[21:37:00:129] [149467:149468] [ERROR][com.freerdp.core.gateway.http] - Date: Fri, 10 Nov 2023 20:37:00 GMT
[21:37:00:129] [149467:149468] [ERROR][com.freerdp.core.gateway.http] - Content-Length: 19
[21:37:00:130] [149467:149468] [ERROR][com.freerdp.core.gateway.tsg] - tsg_check failure
[21:37:00:130] [149467:149468] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[21:37:00:130] [149467:149468] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[21:37:00:130] [149467:149468] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure

The mstsc always returned to the login prompt for the gateway. But in this case I got a message on the rdpgw log:
bin/rdpgw
2023/11/10 20:28:41 No valid `security.paatokenencryptionkey` specified (empty or not 32 characters). Setting to random
2023/11/10 20:28:41 Cookies are used as session storage
2023/11/10 20:28:41 Starting remote desktop gateway server
2023/11/10 20:28:41 enabling kerberos authentication
2023/11/10 20:28:53 Identity SessionId: 2594967d-3b14-4e13-9c79-d56b62157bc5, UserName: : Authenticated: false
2023/11/10 20:28:58 error reading from kdc dc01:88 due to read tcp <IP_ADDRESS>:60936-><IP_ADDRESS>:88: i/o timeout, trying next if available
2023/11/10 20:28:58 cannot forward to kdc due to no kdcs found for realm JUE.BRK
2023/11/10 20:28:58 Identity SessionId: 805708ee-a94a-4678-89ae-a36774e0ce04, UserName: : Authenticated: false
2023/11/10 20:28:58 <IP_ADDRESS>:59099 - SPNEGO error in unmarshaling SPNEGO token: not a valid SPNEGO token: asn1: structure error: explicitly tagged member didn't match

As of the keytabs file, I tried to authenticate:
klist  -kte /etc/keytabs/rdpgw.keytab
Keytab name: FILE:/etc/keytabs/rdpgw.keytab
KVNO Timestamp         Principal
---- ----------------- --------------------------------------------------------
   2 11/10/23 20:12:06<EMAIL_ADDRESS>(DEPRECATED:arcfour-hmac)

kinit  -kt /etc/keytabs/rdpgw.keytab<EMAIL_ADDRESS>
klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal<EMAIL_ADDRESS>
Valid starting     Expires            Service principal
11/10/23 20:24:43  11/11/23 06:24:43<EMAIL_ADDRESS>        renew until 11/11/23 20:24:43

That looks good to me, so far. I can't understand the message "no kdcs found" from the rdpgw log, yet.
The only idea could be that the encryption type arcfour-hmac could cause problems, but I couldn't find any suggestions in rdpgw.
To make sure I had any specific problems I repeated the process on a second machine with the same results.

How to use local PAM auth , is there an example available now?

Sadly there is no example and i also would like to get this to work with local auth but no response from @bolkedebruin.

There is now a docker compose file (docker-compose-local.yml) that exemplifies how this could be done.

I think you forgot to uplaod the docker-compose-local.yml file

good catch, fixed.

I have it setup with a lets encrypt cert with certbot with the fullchain & privkey files like in the docker-compose-local.yml. Only that the address is the domain with port 443. The reverse proxy is in tcp passthrough mode and I can reach the rdpgw container trough the subdomain. I don't know what I am doing wrong. I just get the signin promt over and over again for the gateway with this log message when i login with admin:admin:
Identity SessionId: bc184664-2c91-4f96-a333-a4af33fa822d, UserName: : Authenticated: false

The docker compose works out of the box. Start there.  What are you connecting with?

I also can't get it working if i set it up to listen on port 444 with a valid cert on the domain. How you tested it with the original RDP client on windows? And what settings did you use?

Did you try the original docker-compose-local with a Mac client? Or a NOT mstsc?
Yes it was tested with a windows client and a valid certificate. But start simple first

It works on the Android App of the microsoft RDP client even with the tcp proxy in front.

Apologies, what I probably forgot is that mstsc does not allow basic (non NTLM) authentication. So your only options are Kerberos or OpenID connect here. You can use a third party client or it might work with the client from the MS Store.

Kerberos is also username password right? Is there a ldap to kerberos "proxy"?

Keycloak does proxying for LDAP afaik with OpenID Connect, i'm not sure about Kerberos. Active Directory is basically LDAP+Kerberos which you can get with a real windows host or SAMBA. There might be others.

There seams to be a guide from ubuntu: https://ubuntu.com/server/docs/service-kerberos-with-openldap-backend
Will try that.


Compile problem on windows.

I did succeed to compile the library on Mac Os, yet I encountered this problem when trying the same on two separate windows machines with Qt version 5.3 and 5.4 respectively.
Issue:
C:\Users\PC\Downloads\QtTestsWindows\QtKnobs-master\QtKnobs\styles\needlestyle.cpp:72: error: C2360: initialization of 'points' is skipped by 'case' label

C:\Users\PC\Downloads\QtTestsWindows\QtKnobs-master\QtKnobs\styles\needlestyle.cpp:77: error: C2360: initialization of 'points' is skipped by 'case' label

On a side note, it would be good to have a compilable example.
Have a nice day.

Hi,
Thank you for bringing it to the notice. The problem was that Windows VC++ compiler required the case labels to be scope specific. Added parentheses for the cases. It should compile now. I had actually not tested on Windows and Mac OS yet. Another thanks for letting me know it works on Mac too :+1:
The changes have been comitted.
An example is already provided and can be used by creating a QtQuick Application and following the steps in README. Ill still look into providing a compilable example.
Best,
Ashish

Yes I do confirm that it works fine under Mavericks.
Thank you for the quick reply, and the fix.
Regards,
Dearn.


HHH-18491 Do no try to resume non-existant transaction in doInSuspendedTransaction.

This PR avoid calling  transactionManager.resume() in JtaIsolationDelegate.doInSuspendedTransaction when no surrounding transaction exists. It fixes an unpleasant warning in Atomikos' transaction manager.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

https://hibernate.atlassian.net/browse/HHH-18491

Thanks!

Thank you too !


How to bind '?'

I'm having trouble binding "?". I tried ['?'] and ['shift', '/'] with no luck. How can I bind to this combination ?
Also is it possible to bind two key combinations to one srcKey e.g. I want to have 'help' invoked by 'h' or by '?'

Right, I will check this out.
We don't have mapped some symbols and '?' probably is one of them

Use ['shift', '?']


Unignore 404-style-transfer notebook

Unignoring the 404-style-transfer notebook in CI pipeline. This change is intended to allow CI checks to run on this notebook, allowing to debug and ensure its functionality.

@AnishaUdayakumar it is scipped due to hangs on ci, so please make sure that it works

@eaidova , yes, we uncommented this to check if we can fix it somehow. We're not gonna merge it until we're sure it's fixed.
Does it hang randomly or every time?

@eaidova , yes, we uncommented this to check if we can fix it somehow. We're not gonna merge it until we're sure it's fixed.
Does it hang randomly or every time?

here example of job https://github.com/openvinotoolkit/openvino_notebooks/actions/runs/5130633162/jobs/9229665657
cancelled by timeout on ubuntu20 with python3.8 the last executed notebook 404.
The most times see it is reproducible on notebooks conversion, it has the same os and python version parameters.


Clarify "defaultValue" in Workspace Configuration section

https://github.com/microsoft/vscode/issues/105550

The documentation says explicitly that the effective value returned by WorkspaceConfiguration.get(section: string, defaultValue: T) is a merge of the inheritance for object value types, overrides for all other types.

Steps to Reproduce:

Provide {a: 1} as the second parameter of WorkspaceConfiguration.get(sectionL string, defaultValue: T)
Have {b: 2} in your user settings or workspace settings.
See the return is {b: 2}, not {a: 1, b: 2} as expected from reading the documentation.
Note that the docs may only be talking about defaults provided in package.json but that is not clear. Is the intent to have the defaultValue provided in the API overriden?

In https://code.visualstudio.com/api/references/vscode-api#WorkspaceConfiguration, we repeatedly use defaultValue in examples, referring to the default value the setting was created with. This behaves differently than the defaultValue parameter used when calling WorkspaceConfiguration.get. If I understand correctly, the former gets merged with other values in the settings hierarchy, and the latter is only used if the setting is undefined.

Not sure which default value you mean, if it is about following:
/**
 * Return a value from this configuration.
 *
 * @param section Configuration name, supports _dotted_ names.
 * @param defaultValue A value should be returned when no value could be found, is `undefined`.
 * @return The value `section` denotes or the default.
 */
get<T>(section: string, defaultValue: T): T;

As the documentation says above API returns the value for the given section, if there is no value found (ie., undefined) then passed in defaultValue is returned.
Let me know if there can be improvements, happy to do it.

@sandy081 The defaultValue parameter you're showing is different than the defaultValue at the root of the config hierarchy shown here (screen shot below).  The issue is that the same identifier is used for two different things and the documentation doesn't make a distinction.  I thought that by providing an argument to this parameter I was setting the base value used to compute the "effective value".  That is not the case.
The defaultValue parameter is not part of the "effective value" that is computed by WorkspaceConfiguration.get().  The only defaultValue that is considered when computing the "effective value" is defined in the extension's package.json.  After thinking through this, it makes sense; you wouldn't want one extension to be able to set defaults for another extension...

I see what you mean, the defaultValue in get<T>(section: string, defaultValue: T): T; is nothing to do with the defaultValue  of the configuration. Not sure if I can change the names as they makes sense in the context in which they are mentioned. To be clear, I can add a comment next to the defaultValue in the screen shot above

I think that would be appropriate.  I might suggest "(from package.json)" over "(if defined)", which I'd be afraid may still lead someone to believe the defaultValue can be defined with the get method.


SSUI Designer: Small refactoring and code optimization

Again, no visual GUI changes, just housekeeping :-)

👍


Bouncer contract implementation

depends on #882 (RBACOwnable)
assists #812 (ControlledAccessCrowdsale)
🚀 Description
 * @dev Bouncer allows users to submit a signature as a permission to do an action.
 * @dev If the signature is from one of the authorized bouncer addresses, the signature
 * @dev is valid. The owner of the contract adds/removes bouncers.
 * @dev Bouncer addresses can be individual servers signing grants or different
 * @dev users within a decentralized club that have permission to invite other members.
 * @dev
 * @dev This technique is useful for whitelists and airdrops; instead of putting all
 * @dev valid addresses on-chain, simply sign a grant of the form
 * @dev keccak256(`:contractAddress` + `:granteeAddress`) using a valid bouncer address.
 * @dev Then restrict access to your crowdsale/whitelist/airdrop using the
 * @dev `onlyValidSignature` modifier (or implement your own using isValidSignature).
 * @dev
 * @dev See the tests Bouncer.test.js for specific usage examples.

[x] 📘 I've reviewed the OpenZeppelin Contributor Guidelines
[x] ✅ I've added tests where applicable to test my new functionality.
[x] 📖 I've made sure that my contracts are well-documented.
[x] 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

Can you clarify how this assists #812? Should that one be modified to use this new contract?

gonna add tests for the toEthSignedMessage function tomorrow so coveralls stops complaining 👍

I was thinking perhaps the Bouncer name is too generic. If we were to implement a contract similar to Bouncer but using merkle proofs instead of signatures, wouldn't that be a Bouncer as well?

I mean I'd be down to add merkle proofs to the Bouncer contract itself with a onlyValidProof() modifier, etc.
But I could also see an argument for keeping those separate. Maybe the Bouncer contract here should be SignatureBouncer?

:+1: to SignatureBouncer


Map requestlocation returning neither valid error info, nor latitude/longitude

Map requestLocation is working incorrectly.  It is not returning the latitude / longitude NOR is it returning valid error information (it must, of course, do one or the other).
I'm not the first reporter, please see:
https://forums.coronalabs.com/topic/76856-requestlocation-errorcode-0/
In my handler for requestlocation, I get the following event structure:
{
["type"] = "request";
["name"] = "mapLocation";
["request"] = "10800 Torre Ave, Cupertino, CA 95014";"
["errorCode"] = 0;
["isError"] = true;
["errorMessage"] = "";
}
Of course, one should never get "no data" (i.e., no "latitude", "longitude") unless errorCode is non-0 and errorMessage is non-empty :)
BTW, I also don't get taps on the map, even though I've requested them like in the sample code :(
(I'll submit a separate report on that, with a demo program)
(Yes, I have a Google Maps API key)
(Android, Samsung Galaxy S7 Edge;  Corona 2020.3575)

Bug demo app and source at: www.sieler.com/corona
(click on either/both of 'bug_map1' links)


How can I remove the song that plays when I open the program?

How can I remove the song that plays when I open the program?

By paying for the game


Support for IPv6 in EC2 service discovery

Proposal
EC2 instances might not be reachable via private IPv4 addresses (if scraping is done remotely), and might not have public IPv4 addresses.
It would be a very nice addition to expand service discovery to include IPv6 addresses, if possible.
Thank you for your consideration.

@brian-brazil Although the PR seems to have resolved this issue, I noticed that it had not been merged, so I was curious about whether there's anything left to do here. Maybe some documentation? I'd like to pick up this issue, so please tell me there's more work to be done on it

See https://github.com/prometheus/prometheus/pull/7086#discussion_r403448643


Time ruler on google calendar

that would be very nice if i could see my Time-ruler view in google calendar.

That's out of scope—Time Ruler is just for Obsidian. However you can import events into Time Ruler using the settings.


[Question] Does Kepler only support a linear graph of module dependencies?

Judging by handlersContext in the kepler docs, and the implementation of ModuleList as an h-list I am assuming that only a linear graph of module dependencies is permitted? I am having trouble finding the image, but when reading through the cosmos sdk docs I came across a visualization of the module dependency graph as a dag. Is this a limitation of kepler or is it possible to encode a graph in the hlist?

I think it already is a dag in some sense. The only restriction is that no module depends on anything before it in the hlist, so for example all of the “BaseEffects” like logging, storage, etc are automatically inserted for you at the end of the hlist so you can use them out of the box. Does that answer your concern ?

Oh I think I get it now. So for modules [a, b ,c] both a and b can depend on c, and only a can depend on b? I thought that the hlist was saying a depends directly on b and b depends directly on c, and that's it.

yes, I think you have it with that example.


roc build panics with 'no entry found for key'

Using MacOS 13.3.1 with Apple Silicon CPU, roc_nightly-macos_apple_silicon-2023-04-14-77cf60b.
app "test"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.3.1/97mY3sUwo433-pcnEQUlMhn-sWiIf_J9bPhcAFZoqY4.tar.br" }
    imports [pf.Stdout]
    provides [main] to pf

main =
    list = ["foo", "bar"]
    linkedList = single "hello"
    updated = concat linkedList (List.walk list (empty {}) \state, elem -> push state elem)
    Stdout.line (Num.toStr (len updated))

LinkedList a := LL a

LL a : [Nil, Cons { first : a, rest : LL a, length : Nat }]

empty : {} -> LinkedList a
empty = \{} -> @LinkedList Nil

len : LinkedList a -> Nat
len = \@LinkedList list ->
    when list is
        Nil -> 0
        Cons { length } -> length

single : a -> LinkedList a
single = \item -> @LinkedList (Cons { first: item, rest: Nil, length: 1 })

push : LinkedList a, a -> LinkedList a
push = \@LinkedList list, item -> @LinkedList (Cons { first: item, rest: list, length: (len (@LinkedList list)) + 1 })

concat : LinkedList a, LinkedList a -> LinkedList a
concat = \@LinkedList list1, @LinkedList list2 ->
    concatenated =
        when list1 is
            Nil -> list2
            Cons { first, rest, length } ->
                Cons {
                    first: first,
                    rest: concat (@LinkedList rest) (@LinkedList list2),
                    length: (len (@LinkedList list2)) + length,
                }
    @LinkedList concatenated

The roc build output is:
thread 'main' panicked at 'no entry found for key', crates/compiler/alias_analysis/src/lib.rs:1454:32

This seems to work now (using roc_nightly-macos_apple_silicon-2023-12-16-786dfe93ec5). I can resume my project!


Using Prisma breaks ts-node-dev auto-reloading

Reproduction
You can access this repo https://github.com/alexsro/Chat-Project.
The project is in folder Auth and in the readme file are the instructions for making the environment available.
You can perform the following steps to reproduce the problem:
Make a request on the route http://localhost:3334/users/test. (The response will be "users");
change response text to "jhon doe" for example;
When you save changes container will restart auto and will be freeze in "Restarting: /usr/app/src/modules/users/infra/http/routes/users.routes.ts has been modified";
if you make another request to the same route the response will not be "jhon doe" as it should;
To demonstrate that the problem occurs by prisma connection you can perform the following steps:
Stop the containers if they are running;
In client.ts file comment line 3 and uncomment file 4;
Make the same step decribed above and the problem will not happen.
Any questions I am at your disposal.
Thanks!
Discussed in https://github.com/prisma/prisma/discussions/13208

Originally posted by alexsro May  5, 2022
Hello, I am just starting to use prism and I face a problem when I save my file and my containers are restarted, if the connection to prism has not been established yet everything is fine, otherwise the container cannot restart.
Obs. The connection with database and the requests work well.
message:

My docker-compose.yml:
version: "3"

services:
  postgres:
    image: postgres
    container_name: postgres-auth-api
    environment:
      - POSTGRES_USER=User
      - POSTGRES_PASSWORD=Pass
    ports:
      - 6432:5432
    volumes:
      - data_postgres

  data_postgres:
    image: cogniteev/echo
    command: echo 'Data Container for Postgres'
    volumes:
      - /var/lib/postgresql/data

  app:
    build: .
    command: yarn dev:server
    container_name: auth-api
    ports:
      - 3334:3334
    volumes:
      - .:/usr/app
      - /usr/app/node_modules
    links:
      - data_postgres
      - postgres
    restart: always

my database url :
DATABASE_URL="postgresql://User:Pass@<IP_ADDRESS>:5432/postgres?schema=public"

I created a network for communication between the containers with the following commands:
docker network create auth-api-network
docker network connect auth-api-network auth-api
docker network connect auth-api-network postgres-auth-api
```</div>

I fixed this issue by adding the --exit-child flag. It seems that nowadays ts-node-dev has some SIGTERM problems if you don't use this flag.

I add the flag and work fine. Thanks!

I fixed this issue by adding the --exit-child flag. It seems that nowadays ts-node-dev has some SIGTERM problems if you don't use this flag.

THANK YOU!!!! I wasted about an hour trying to figure out why my ts-node-dev broke, and I was pretty devastated when I learned something about Prisma was causing this issue. --exit-child fixed this issue for me.


reap stale connecting/disconneted peer connections

Current coverage is 55.40% (diff: 63.76%)

Merging #69 into develop will increase coverage by 0.65%

@@            develop        #69   diff @@
==========================================
  Files            23         23
  Lines          1927       1962    +35
  Methods         243        249     +6
  Messages          0          0
  Branches        233        240     +7
==========================================
+ Hits           1055       1087    +32
+ Misses          726        722     -4
- Partials        146        153     +7

Powered by Codecov. Last update 041e8d6...9502fcb


[WIP] debug kind job with network policy failures

The tests are deprecated and removed in 1.28
xref: https://github.com/kubernetes/kubernetes/pull/118915

interesting, operator and kube-scheduler are crashlooping
2023-07-05T10:09:43.0786192Z kube-system                 cilium-4cf87                                           1/1     Running            0                41m   <IP_ADDRESS>     cilium-testing-worker2         <none>           <none>
2023-07-05T10:09:43.0787770Z kube-system                 cilium-nvdnt                                           1/1     Running            0                41m   <IP_ADDRESS>     cilium-testing-worker          <none>           <none>
2023-07-05T10:09:43.0788596Z kube-system                 cilium-operator-b968b995f-64xsl                        0/1     CrashLoopBackOff   11 (6m16s ago)   41m   <IP_ADDRESS>     cilium-testing-worker2         <none>           <none>
2023-07-05T10:09:43.0806045Z kube-system                 cilium-qh8tz                                           1/1     Running            0                41m   <IP_ADDRESS>     cilium-testing-control-plane   <none>           <none>
2023-07-05T10:09:43.0807266Z kube-system                 coredns-5d78c9869d-8qs5n                               1/1     Running            0                44m   <IP_ADDRESS>   cilium-testing-worker          <none>           <none>
2023-07-05T10:09:43.0814981Z kube-system                 coredns-5d78c9869d-tm78j                               1/1     Running            0                44m   <IP_ADDRESS>   cilium-testing-worker          <none>           <none>
2023-07-05T10:09:43.0815820Z kube-system                 etcd-cilium-testing-control-plane                      1/1     Running            0                44m   <IP_ADDRESS>     cilium-testing-control-plane   <none>           <none>
2023-07-05T10:09:43.0839934Z kube-system                 kube-apiserver-cilium-testing-control-plane            1/1     Running            2 (15m ago)      44m   <IP_ADDRESS>     cilium-testing-control-plane   <none>           <none>
2023-07-05T10:09:43.0854489Z kube-system                 kube-controller-manager-cilium-testing-control-plane   1/1     Running            10 (2m45s ago)   44m   <IP_ADDRESS>     cilium-testing-control-plane   <none>           <none>
2023-07-05T10:09:43.0859446Z kube-system                 kube-scheduler-cilium-testing-control-plane            0/1     CrashLoopBackOff   7 (3m47s ago)    44m   <IP_ADDRESS>     cilium-testing-control-plane   <none>           <none>
2023-07-05T10:09:43.0895976Z local-path-storage          local-path-provisioner-6bc4bddd6b-w2lh4                1/1     Running            0                44m   <IP_ADDRESS>     cilium-testing-worker          <none>           <none>
2023-07-05T10:09:43.0926495Z netpol-x-1004               a                                                      1/1     Running            0                40m   <IP_ADDRESS>   cilium-testing-worker2         <none>           <none>

/test conformance-k8s-kind-network-policies

Should we remove them already given that we are still in k8s 1.27?

we should, but I'm trying to repro the flake first with debug mode, I hit it without the legacy tests too so

incredible, now 3/3 without failures, one more time

/test


Synthesis failed for Google.Cloud.TextToSpeech.V1

Hello! Autosynth couldn't regenerate Google.Cloud.TextToSpeech.V1. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to branch 'autosynth-Google.Cloud.TextToSpeech.V1'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/apis/Google.Cloud.TextToSpeech.V1/synth.py.
Cloning into 'gapic-generator-csharp'...
Submodule 'api-common-protos' (https://github.com/googleapis/api-common-protos.git) registered for path 'api-common-protos'
Submodule 'protobuf' (https://github.com/protocolbuffers/protobuf.git) registered for path 'protobuf'
Cloning into '/tmpfs/src/git/autosynth/working_repo/gapic-generator-csharp/api-common-protos'...
Cloning into '/tmpfs/src/git/autosynth/working_repo/gapic-generator-csharp/protobuf'...
Submodule path 'api-common-protos': checked out '93c9c383396b514193735292f6880fccc777614e'
Submodule path 'protobuf': checked out '815ff7e1fb2d417d5aebcbf5fc46e626b18dc834'
Submodule 'third_party/benchmark' (https://github.com/google/benchmark.git) registered for path 'protobuf/third_party/benchmark'
Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'protobuf/third_party/googletest'
Cloning into '/tmpfs/src/git/autosynth/working_repo/gapic-generator-csharp/protobuf/third_party/benchmark'...
Cloning into '/tmpfs/src/git/autosynth/working_repo/gapic-generator-csharp/protobuf/third_party/googletest'...
Submodule path 'protobuf/third_party/benchmark': checked out '5b7683f49e1e9223cf9927b24f6fd3d6bd82e3f8'
Submodule path 'protobuf/third_party/googletest': checked out '5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081'
Cloning into 'gapic-generator'...
Cloning into 'googleapis'...
> Task :buildSrc:compileJava NO-SOURCE
> Task :buildSrc:compileGroovy
> Task :buildSrc:processResources NO-SOURCE
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build
> Task :extractIncludeProto
> Task :extractProto
> Task :generateProto

> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :processResources
> Task :createProperties
> Task :classes
> Task :shadowJar

BUILD SUCCESSFUL in 15s
7 actionable tasks: 7 executed
Building existing version of Google.Cloud.TextToSpeech.V1 for compatibility checking
Generating Google.Cloud.TextToSpeech.V1
Building new version of Google.Cloud.TextToSpeech.V1 for compatibility checking

Changes in Google.Cloud.TextToSpeech.V1:
Unable to run your project.
Please ensure you have a runnable project type and ensure 'dotnet run' supports this project.
A runnable project should target a runnable TFM (for instance, netcoreapp2.0) and have OutputType 'Exe'.
The current OutputType is 'Library'.
synthtool > Failed executing /bin/bash generateapis.sh --check_compatibility Google.Cloud.TextToSpeech.V1:

None
synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 109, in <module>
    main()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 96, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/tmpfs/src/git/autosynth/working_repo/apis/Google.Cloud.TextToSpeech.V1/synth.py", line 20, in <module>
    hide_output = False)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/bin/bash', 'generateapis.sh', '--check_compatibility', 'Google.Cloud.TextToSpeech.V1')' returned non-zero exit status 1.

Synthesis failed

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


[ja] Translate content/en/docs/reference/glossary/device-plugin.md into Japanese

Note that this issue is for Japanese Speaker
This is a Feature Request
What would you like to be added
Translate content/en/docs/reference/glossary/device-plugin.md into Japanese
Why is this needed
There is no Japanese translation for this page
Comments

File to translate:

https://github.com/kubernetes/website/blob/main/content/en/docs/reference/glossary/device-plugin.md

Original:

https://kubernetes.io/ja/docs/reference/glossary/?all=true#term-device-plugin

日本語に翻訳する際は、以下のドキュメントを参考にしてください。

Japanese Localization document: https://kubernetes.io/ja/docs/contribute/localization/

/area localization
/language ja
/good-first-issue

/kind feature

/triage accepted

/assign


Create a Potion object

Create tests for the Potion object.
The Potion object will be used to give the player stat boosts.
If no stat is provided, the stat should be randomly selected.

Successfully created a Potion object which will give the player a stat boost.


Export node support values to JSON

Should be displayed in tooltips

Implemented in dev branch

Implemented in dev branch


Exec tachikoma update<PHONE_NUMBER>1149

:hamster::hamster::hamster:   Strategy bundler
Powered by Bundle Update as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 10.798% when pulling d2a0bbe3cfe02fb45ef4373d72eb20e301a05eac on pazjacket:tachikoma/update-20171102181149 into bcc0745f9364a4092060fadab1ab61cb92504230 on Protom512:master.


intensity does not seem to work

Hi there,
Changing the value of the intensities does not change the look of a map.
Is there anything I am missing?
Thank you!

Hi,
I have this problem too. The intensity attribute doesn't seem to work.
e.g.: [46.770439, 23.591423, "50"], [46.779439, 23.599423, "500.8"] looks the same on map.
@mourner Can you fix this bug in the near future ? Thanks a lot.

Unless you change the 'max' option (maximum point intensity) all points will look the same over the default value of "1". You are also passing the intensity as a string, it should be a number.
Try with:
[46.770439, 23.591423, 0.5], [46.779439, 23.599423, 1]
They should look different

@fullyBoricua  thanks for your response. I've change them as you said but the result in the same.

It seems like a bug .. @matthieu80

Hi,
I've submitted a pull request #78 which will hopefully resolve this

Looks like this is still an issue?

Can anyone confirm if this is still the case? I am using  leafletheat as part of a modified Node Red node called 'world map' and am seeing the same results as the people above. When I set max to say 10 and provide an intensity value of 9 I'm getting the same visual result as when I provide a value of 1.

Exactly me too i'm facing the same issue, the intensity doesn't change

Yes, I have got the problem, too. I use it with leaflet 1.1.0

Take the code from the pull request instead of master.


CSS3 Selektor not working in CartoCSS namedMap (invalid code)

Hello,
I pushed a namedMap to CartoDB with a new CSS-Code. After I call that namedMap i received an error:
    "errors": [         "style0:26:8 Invalid code: [abc_number *= '150'] {\n"     ],     "errors_with_context": [         {             "type": "unknown",             "message": "style0:26:8 Invalid code: [abc_number *= '150'] {\n",             "layerIndex": 0         }     ]
before I used the CSS3 syntax "*=" to get a wildcard search  I used the example below, which worked without problems:
I did it like that
#test [abc_number = '150']
// style here
#test [abc_number = '150K']
// same style here
#test[abc_number = '150KF']
// same style here

to have a specified style. However I noticed that its far more comfortable to use CSS3 like this:
#test [abc_number *= '150']
to get the same result.
So my question is - Does Carto not support this CSS3 feature?
It would be very nice to get it to work with this feature because It's just too much effort to do it without.

Hi @braintuts, CartoCSS is similar to CSS syntax, but it is not the same, so it is possible all filters you are used to with CSS are not available. A better documentation about selectors in CartoCSS is here.


Rethink accordion buildup for the different player screens

Right now, code is present both in the java code (dynamic content) and in the jsp files (static content with a few dynamic elements). Since the accordion builds up during a round with lots of repetition of elements, the static part of the code is now present in too many places. Maybe include files could help here. Since everything is prepared server-side, this should not be a problem.

<jsp:include> tags can indeed help here. The main content of the news page now looks as follows:
    <jsp:include page="header.jsp"></jsp:include>

Round ${playerData.getPlayerRoundNumber() } news

      <jsp:include page="accordion1.jsp"></jsp:include>
      <jsp:include page="accordion2.jsp">
         <jsp:param name="open" value="in" />
       </jsp:include>

The accordion buildup has been further extended to the next screens, such as the view-taxes screen:

  <jsp:include page="accordion1.jsp"></jsp:include>
  <jsp:include page="accordion2.jsp"></jsp:include>
  <jsp:include page="accordion3.jsp"></jsp:include>
  <jsp:include page="accordion4.jsp">
    <jsp:param name="open" value="in" />
  </jsp:include>


Getting Issue  Reading Pdf Files path

Hello
Getting issuse in Reading path  after space it doesnot read the complete path  for ex. my file is in D:\Tmp\pdf\abc - Abc123.pdf   but  after D:\Tmp\pdf\abc  it doesnt read  .Please Solve the issuse  how to read the complete path of any file .
Thank you
Vikram Chhajer
While Sending The File Getting this Error
(c) Microsoft Corporation. All rights reserved.
C:\Users\vikra>npx mudslide@latest send-file 9193********* E:\Sync\P M GRUP\2223\PM IM\2223\Invoice\DN-2200008-abc.pdf
×  error     Could not read image file: E:\Sync\P

Specify the file path in quotes, for example:
npx mudslide@latest send-file 9193********* "E:\Sync\P M GRUP\2223\PM IM\2223\Invoice\DN-2200008-abc.pdf"

weldance   the same error received
C:\Users\Admin>npx mudslide@latest  send-file<PHONE_NUMBER>88 "D:\CmsSync\Sync\Tejal\TEJAL 2223\2223\INVOICE\FSB2200002-2200002 - D B M"
×  error     Could not read image file: D:\CmsSync\Sync\Tejal\TEJAL 2223\2223\INVOICE\FSB2200002-2200002 - D B M

the file must have the extension?

Thank You Problem Solved


AudioTag trait.

Hey,
I just came across your Reddit thread were you mentioned these libraries (id3 and metaflac). What happened to the AudioTag trait? Have you replaced it.with some other unified api to access the data?
Got a question about metaflac too. How am I supposed to read the artist of flac files using your linrary? :(

Hi, which version were you using? I can not seem to find a trait named AudioTag in the documentation of 0.1.12. >0.2 does not have this trait. Check out the examples on how to read a tag from a file.
Metaflac is not a part of this library, as is reading metadata from FLAC which uses Vorbis Comments for metadata. This library is primarily about the ID3 format common in MP3 and WAV files.
However, If you find a good library which handles Vorbis Comments, I would accept a patch that transcodes between formats using Rust's From trait.

I was refering to this reddit post from you where you mentioned the AudioTag trait.
I am super new to rust :) Still learning the basic stuff (especially those life time markers, they are quite complicated to be honest).
I wanted to use this library and rust-metaflac to read the metadata from my music collection and pass the result to be Electron music player. This should speed up the scan process significally compared to plain old nodejs file access. I am not sure though if I can compile this to wasm...
Back to the topic. So this library is used for ID3 tag parsing, am I right? What about wav files that use ID3 tags? Can I scan those too?
Did you thought about creating some kind of "parent project" that merges all your parses and offers a generic API to access the metadata from songs? That might be a cool idea. I would gladly help out if you are fine with that. Though my Rust skills are quite rusty giggles in corner.

Ah, I think @jameshurst is better at answering about Metaflac and AudioTag then.
But yes, this library is about parsing ID3 tags. Currently, only the MP3 style of embedding, which places the tag at the start of the file, is supported. WAV files do not follow this convention because these files are split into multiple chunks with different functions. WAV is able to embed ID3 tags, but a tag has to be encoded in a separate chunk, which can be anywere in the file.
This library does have a stub where WAV support can be build upon. You could help us out with implementing ID3 in WAV support if you're interested.
I've also been busy writing a music player in Rust, including WAV support. Have a look if you'd like to know how parsing a WAV file works.

I can't recall exactly why I had removed the AudioTag trait but I would think a unified API would better be implemented as a separate library that abstracts over id3, metaflac, and any other metadata library. Creating a unified API that way would also mean that any other metadata type could be support without having to implement an arbitrary trait implement by these libraries.


Rely on Database now() to set the created_at and updated_at values

Hi guys, I think a better approach for this:
this.$attributes['created_at'] = moment().format(DATE_FORMAT)
this.$attributes['updated_at'] = moment().format(DATE_FORMAT)
It would be by getting the created_at and updated_at from the database using some kind of < select now(); >
I defined my connection using: Env.get('DB_CONNECTION', 'pg');
So Postgres by default is UTC and the NodeJS package 'pg' is setting the default session timezones to 'GMT' which is UTC too.
So there is anyway to rely on the Database server for this timestamps? I'm saving EST has UTC 'cuz my Node server is in EST but Pg is in UTC so i'm getting very confusing dates.
I know this imply a lot of logic, and certain databases maybe doesn't have a select now() function, Idk i will like to help with this if you guys think a good idea.
Best regards.

Using this.fn.now() inside schema


IndexError: list index out of range

When sending empty string as a value of Authorization header, i.e: Authorization:, then I get:
  File "/usr/local/lib/python3.6/site-packages/rest_framework_simplejwt/authentication.py", line 35, in authenticate
    raw_token = self.get_raw_token(header)
  File "/usr/local/lib/python3.6/site-packages/rest_framework_simplejwt/authentication.py", line 69, in get_raw_token
    if parts[0] not in AUTH_HEADER_TYPE_BYTES:
IndexError: list index out of range

(this is only a bottom part of traceback)
I believe the code responsible for this behaviour is:
    def get_raw_token(self, header):
        """
        Extracts an unvalidated JSON web token from the given "Authorization"
        header value.
        """
        parts = header.split()

        if parts[0] not in AUTH_HEADER_TYPE_BYTES:
            # Assume the header does not contain a JSON web token
            return None

        if len(parts) != 2:
            raise AuthenticationFailed(
                _('Authorization header must contain two space-delimited values'),
                code='bad_authorization_header',
            )

        return parts[1]

I think this situation should be handled somehow, right now this will result in 5xx type response. Should I prepare PR to fix that, supposing that this is fault of this library and not my code (otherwise suggest what might be the cause in my code) ?

I believe this issue has been addressed since the new release?  Feel free to re-open if that's not the case.


Example Code is Improperly Highlighted in Razor Pages Tutorial

Link to article:
https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/new-field?view=aspnetcore-2.1
Problem:
The issue is in the code snippet on the page where you are told where to add the Rating field to the Pages/Movies/Index.cshtml file. The section of the code where you are supposed to add the field is improperly highlighted.

@RyanLilla Thanks for you feedback. I transferred you feedback to aspnet team. They will help you there.


Pip install is unpredictable and often breaks Colab usage

I discovered that pip install doesn't actually make use of the poetry lock file, and essentially makes up the dependency tree on the fly from the pyproject.toml file.... This means that it's pretty easy to get into a weird state when we do the colab pip install: the lock file gives us a specific tested combination of dependency versions, with CI tests, but we don't have any real way to test what's going on with the pip-installed version.
Ideally, we should have pip install the exact set of dependency versions specified in the lock file, to ensure that our CI testing actually tells us that the Colab notebooks are working.
There's some pretty extensive discussion here of the problem:
https://github.com/python-poetry/poetry/issues/2778#issuecomment-1796356431

Sounds like the answer may be some combination of publishing a pre-built wheel and exporting a requirements.txt with poetry...
https://github.com/python-poetry/poetry/issues/2778#issuecomment-1960054750
all of this moves us in the direction of a 'real' release process, which... fair.

I spent a good chunk of time experimenting with pip install in Colab, using various permutations of requirements.txt files. Short version is I don't think that simply publishing a requirements file with locked dependencies is a workable solution:
# !pip install git+https://github.com/google-research/perch.git@8cc4468afaac730e77d84ac447f0874f09d10a25

# add requirements.txt - installs jax 0.4.23
# !pip install git+https://github.com/google-research/perch.git@08eb6b62605a5db436f6ee36c27c7963ab831369

# jax 0.4.25 is now the selected version in requirements.txt
# Fails to install because no pyproject.toml - so the pyproject file is required.
# !pip install git+https://github.com/google-research/perch.git@0b696dd69144a7550fd2e3d697467250d22f382f

# Put the pyproject.toml back in place. Pip ignores the requirements.txt file:
# Requirement already satisfied: jax<0.5.0,>=0.4.16 in /usr/local/lib/python3.10/dist-packages (from chirp==0.1.0) (0.4.23)
# !pip install git+https://github.com/google-research/perch.git@6007556871af08347396e52355cac0ec7d3d5100

# Try installying directly from the requirements.txt file?
# Hashes can't be verified
# !pip install -r https://raw.githubusercontent.com/google-research/perch/6007556871af08347396e52355cac0ec7d3d5100/chirp/requirements.txt

# Try installying directly from thee requirements.txt file?
# Try again after exporting with --without-hashes
# Successfully picks up jax 0.4.25.
# However, pip is still doing some work to resolve dependencies for some reason:
# INFO: pip is looking at multiple versions of scenic to determine which version is compatible with other requirements. This could take a while.
# And fails with a resolution conflict:
# The conflict is caused by:
#     The user requested optax 0.2.0 (from git+https://github.com/google-deepmind/optax.git@81c50220ba2479d066ec762202e0f627a41e3fef)
#     flax 0.8.1 depends on optax
#     scenic 0.0.1 depends on optax 0.2.0 (from git+https://github.com/google-deepmind/optax.git@main)

!pip install -r https://raw.githubusercontent.com/google-research/perch/c3701fc5e1ff1567e9e6a01000054a089c211b7c/chirp/requirements.txt

Notes on what to try next:

[DEAD] Possible solution: Publish a requirements.txt file.

Seems not to work. After some messing around, got pip to read the requirements.txt file (it strongly prefers the toml file), but it still ended with an error instead of a consistent environment.

Possible solution: Publish a wheel?

TODO. I think this folds all the deps into a pre-built binary.

Possible (partial) solution: Get scenic to release a fscking numbered version.

No numbered versions means we depend on them at head, only, which creates a volatile dependency situation.

Possible (partial) solution: Get rid of poetry and just use pip?

I don’t think this actually solves the problem of shifting untested dependency issue.

Possible (partial) solution: Split perch train/inference libraries.

Most of our volatile dependencies are Jax libraries.
Expect continued random breakages in the train library, but more stability in inference.

I investigated wheels... Same problem; it's a binary of the current repository, with a description of dependencies. We get a METADATA file which includes basically a version of the toml constratints:
Metadata-Version: 2.1
Name: chirp
Version: 0.1.0
Summary: A bioacoustics research project.
License: Apache 2.0
Author: Chirp Team
Author-email<EMAIL_ADDRESS>Requires-Python: >=3.10,<3.12
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: SPARQLWrapper (>=2.0.0,<3.0.0)
Requires-Dist: absl-py (>=1.4.0,<2.0.0)
Requires-Dist: apache-beam[gcp] (>=2.50.0,<3.0.0)
Requires-Dist: aqtp (>=0.5.0,<0.6.0)
Requires-Dist: chex (>=0.1.7,<0.2.0)
Requires-Dist: clu (>=0.0.9,<0.0.10)
Requires-Dist: etils[epath] (>=1.5.0,<2.0.0)
Requires-Dist: flax (>=0.8.1,<0.9.0)
Requires-Dist: imageio (>=2.5.0,<3.0.0)
Requires-Dist: jax (>=0.4.16,<0.5.0)
Requires-Dist: matplotlib (>=3.6.1,<4.0.0)
Requires-Dist: ml-collections (>=0.1.1,<0.2.0)
Requires-Dist: notebook (>=7.0.4,<8.0.0)
Requires-Dist: numba (>=0.57,<0.58)
Requires-Dist: optax (>=0.1.7)
Requires-Dist: pandas[gcp] (>=2.1.1,<3.0.0)
Requires-Dist: ratelimiter (>=1.2.0.post0,<2.0.0)
Requires-Dist: scenic @ git+https://github.com/google-research/scenic.git
Requires-Dist: tensorflow (==2.15.0)
Requires-Dist: tensorflow-datasets[dev] (>=4.9.3,<5.0.0)
Requires-Dist: tensorflow-hub (>=0.14.0,<0.15.0)
Requires-Dist: tensorflow-io (==0.36)

Pip (or whatever) then goes looking for versions which satisfy these constraints.
I'm moving more heavily towards splitting training code into a separate repository, as that will isolate the damage from Scenic. We might also be able to drop the tensorflow-io dependency, which complicates tensorflow by locking us to a specific version.

Ok, fun complication:
Colab relies pretty fundamentally on ipython, jupyter, zmq, oauth, and tornado for basic runtime stuff, and forcing specific versions can cause Extra Chaos:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
bigframes 0.22.0 requires pandas<2.1.4,>=1.5.0, but you have pandas 2.2.1 which is incompatible.
google-colab 1.0.0 requires notebook==6.5.5, but you have notebook 7.1.1 which is incompatible.
google-colab 1.0.0 requires pandas==1.5.3, but you have pandas 2.2.1 which is incompatible.
[...]
WARNING: Upgrading ipython, ipykernel, tornado, prompt-toolkit, pyzmq can
cause your runtime to repeatedly crash or behave in unexpected ways and is not
recommended. If your runtime won't connect or execute code, you can reset it
with "Disconnect and delete runtime" from the "Runtime" menu.

This pushes us back in the direction of /wanting/ to support loose dependency specification (so we can just use the Colab defaults as much as possible), which in turn means dealing with the problematic dependencies (TF-IO and Scenic).

Landed this pull request:
https://github.com/google-research/perch/pull/624
which should fix things nicely for now.


Add explode macro

I wrote a useful macro recently for a project and thought this crate might be a good home for it. If you're interested in adding it to your library, I can add it to the changelog and squash the commits (assuming that'd be your preference).

Running into an unexpected issue here. I'll comment again when I've fixed it.

error: cannot find macro `to_char_array` in this scope
 --> src/str.rs:101:13
  |
3 | let chars = to_char_array!("Hello");
  |             ^^^^^^^^^^^^^
  |
  = note: consider importing one of these items:
          const_str::__imp::to_char_array
          const_str::to_char_array
          const_str_proc_macro::to_char_array

I'm a little bit confused by the failing Clippy test.
error: restriction lints are not meant to be all enabled
Error:   --> const-str-proc-macro/src/lib.rs:24:5
   |
24 |     clippy::restriction,
   |     ^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> const-str-proc-macro/src/lib.rs:23:5
   |
23 |     clippy::all,
   |     ^^^^^^^^^^^
   = note: `#[deny(clippy::blanket_clippy_restriction_lints)]` implied by `#[deny(clippy::all)]`

It A) doesn't appear when I run cargo make check locally, and B) doesn't seem to be caused by anything I've added. The latter is true of the format check as well; when I run cargo make format and cargo fmt locally, nothing changes.

I'm a little bit confused by the failing Clippy test.
error: restriction lints are not meant to be all enabled
Error:   --> const-str-proc-macro/src/lib.rs:24:5
   |
24 |     clippy::restriction,
   |     ^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> const-str-proc-macro/src/lib.rs:23:5
   |
23 |     clippy::all,
   |     ^^^^^^^^^^^
   = note: `#[deny(clippy::blanket_clippy_restriction_lints)]` implied by `#[deny(clippy::all)]`

It A) doesn't appear when I run cargo make check locally, and B) doesn't seem to be caused by anything I've added. The latter is true of the format check as well; when I run cargo make format and cargo fmt locally, nothing changes.

When I ran into the eager expansion problem (#2) 5 months ago, I realized that the crate can't be as powerful as I thought. Basic macros are useful, but they can't be combined together. So I stopped updating the crate.
During the 5 months, clippy has moved forward. Some lint rules have been enhanced. If I re-run CI #16, it will fail.
You can remove the two lines (const-str/src/lib.rs#L53 and const-str-proc-macro/src/lib.rs#L24) to get around it.


Casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp with redshift

when  you go into sql editor and select a redshift schema and then a table superset attempts to show the table fields in the bottom right half of the screen. instead gets this error.
Expected results
a list of fields from the table i suppose.
Actual results
log shows:
Query 79: Running statement 1 out of 1
2021-08-23 14:16:50,956:INFO:superset.sql_lab:Query 79: Running statement 1 out of 1
[SupersetError(message='Casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp: -61979731200000000', error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'Amazon Redshift', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]
Traceback (most recent call last):
File "/app/superset/views/base.py", line 204, in wraps
return f(self, *args, **kwargs)
File "/app/superset/utils/log.py", line 242, in wrapper
value = f(*args, **kwargs)
File "/app/superset/views/core.py", line 2578, in sql_json
return self.sql_json_exec(request.json, log_params)
File "/app/superset/views/core.py", line 2767, in sql_json_exec
session, rendered_query, query, expand_data, log_params
File "/app/superset/views/core.py", line 2563, in _sql_json_sync
[SupersetError(**params) for params in data["errors"]]
superset.exceptions.SupersetErrorsException: [SupersetError(message='Casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp: -61979731200000000', error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'Amazon Redshift', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
go into sql editor and select a redshift schema and then a table superset
Environment
(please complete the following information):

superset version: latest docker image
python version: Python 3.7.9
node.js version: none
any feature flags active:
pip install psycopg2==2.9.1 redis==3.2.1 Authlib PyAthenaJDBC>1.0.9 PyAthena>1.2.0 sqlalchemy-redshift==0.8.4

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. YES
[ ] I have reproduced the issue with at least the latest released version of superset. YES
[ ] I have checked the issue tracker for the same issue and I haven't found one similar. THERE SEEM TO BE SIMILAR TIMESTAMP ISSUES WITH OTHER DATABASE TYPES/DRIVERS.

Additional context
Add any other context about the problem here.
It could be related to having redshift fields of type TIMESTAMP WITHOUT TIME ZONE and the values of the date is maybe a year in the future or some sort of redacted data.
It could also be related to how the psycopg2 has been changed in its handling of timestamp data.
naturally i can create queries in the AWS console that work against the redshift tables.
it would be better if the code didn't attempt to cast the timestamp values.

BUG +1

thanks for reporting! we are not able to prioritize db specific issues atm, if you can provide a solution, we are happy to help get it through. :)

I have tested it and its working as expected please recheck this issue and close if already fixed

I'm not sure if this is still an issue in current versions of Superset (3.x). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.


Add shields :D

What This Does:

[x] add downloads shield
[x] add stars shield
[x] add PR shield
[x] add issues shield

@Mkassabov approved, can you approve the badge placement?

@Mkassabov LGTM


ObjectRepository object id

Hi, when using an ObjectRepository with a mapped object how can i get the NitriteId for an object. i have checked the documentation and can only find an example of getting the id from a Document not a Object.

Here you go - NitriteIdAsIdTest

Thanks i will do that. while i was playing around i tried adding a variable called _id to the object to test what happens and it mapped the id correctly . would this be a bad idea to use ?

I'll suggest not to depend on database internals. If some day the default id key is changed to something else say $id, then your code will break after upgrading nitrite verson.

Ok thanks, will the method you are using not cause a performance issue though as you are generating an id twice ? i could be inserting thousands of rows at times.

I am not generating id twice, just reusing what is there in collection. There would not be any performance impact as far as I think, though you can confirm it by creating a stress test yourself.

there was a slight drop but its negligible when inserting 10000 records it took 14.1 seconds and with the addition it took 15.5 seconds. these were quite big reccords


Fix tokenization and indexSearchable parameter in to_dict of a property. ISSUE #1237

Fixes #1237

Hey Duda, thanks for the PR - could you add a test? This would be the best location: integration/test_collection_config.py

Added some tests.  Had to allow the factory to return the client.
While comparing different properties and configs, found some other bugs:
https://github.com/weaviate/weaviate-python-client/blob/6d1135fbb3e68f7e0ca8b9847a18e0d92a63ec85/integration/test_collection_config.py#L625
for instance:
            # TODO: this will fail
            Property(name="field_index_searchable", data_type=DataType.TEXT,
                     index_searchable=False),
            Property(name="field_skip_vectorization", data_type=DataType.TEXT,
                     vectorize_property_name=False),
            Property(
                name="name",
                data_type=DataType.OBJECT,
                nested_properties=[
                    Property(name="first", data_type=DataType.TEXT),
                    Property(name="last", data_type=DataType.TEXT),
                ],
            ),

Hey Duda, I tooke your commit and fixed the tests in this PR: https://github.com/weaviate/weaviate-python-client/pull/1249


Fun Duel Arena

Can you make it an option or make it standard that the duel arena is slightly fun ie: pendulum from colleseum.
IDK if this is what you are looking for but its not out of question I quote/paraphrase baumi saying in a video or stream: I like unusual ideas, you may think "this is the stupidest idea in the world there is no way he will implement it", but i will implement it anyways

Thank you for the idea! We're always looking for innovative concepts. This one would add randomness to duels, which is not quite what we are looking for - duels are complex enough as is. Keep up the good work!


[Dribbblish] Can't resize the buddy feed / right sidebar

Prerequisites
Before opening an issue, make sure

You have the most recent spicetify version.
Your Spotify version is compatible with the spicetify version you are using.
You have the most recent version of the themes.
You followed the installation instructions for the theme you are using (please go through the entire theme README).

Describe the bug
I can not resize the right sidebar/buddy feed to hide the text.
To Reproduce
Steps to reproduce the behavior:

Install Dribbblish.
Click on sidebar.
Try and drag mouse to change sidebar size.

Expected behavior
The Right sidebar/ Buddy Feed should be able to size down to show only icons and hide the text like the Left sidebar/ Navbar.
Screenshots

https://drive.google.com/file/d/13q0h7-u9g-CIMhwO-kuWfomeEqXvb9or/view?usp=sharing

OS: Windows 11
Spotify version: <IP_ADDRESS>7.g2b3ce637
Spicetify version: v2.16.2
Theme name: Dribbblish

Had the same issue for a couple of days, but now the right sidebar is just blank on dribbblish. Works fine on other themes.
Dribbblish ⬇⬇⬇

Ziro ⬇⬇⬇

UPDATE: Tried a clean spicetify-cli reinstall with Dribbblish and had the same results.

@harbassan Reencountered this issue today. Even after a clean reinstall, the issue's still persistent. Can you confirm if it's worth reopening this issue or if it is just a problem on my side?


[bug] pf-panel styles for raised and bordered

Description of the issue
Styles for pf-panel for raise and bordered variants do not seem to be working correctly.
See pf-panel demo and compare to PFv4 panel
https://www.patternfly.org/v4/components/panel/#bordered
https://www.patternfly.org/v4/components/panel/#raised

Yes, I will take this issue.

I have made changes for this issue - https://github.com/patternfly/patternfly-elements/pull/2436
closing this issue.


Enable Godot reinstantiation on iOS for embedding in a single view

Partially adresses : https://github.com/godotengine/godot-proposals/issues/1473.
The goal is to be able to run Godot from within a classically-made mobile app (think Snapchat Games). As underlined in the umbrella issue, several things will still be missing after this PR is merged :

boot splashscreen management : a way to enable / disable the boot splashscreen at will
export configuration : supporting project export as either an embeddable or a full-fledged standalone app

We faced many issues related to instanciating Godot several times. We fixed all of them, but are unsure for some fixes ; specificially, we came up using a queue to store StringName references. We are iOS developers and we're humble about our C++ knowledge, but we're committed to make this work ; any feedback is therefore much appreciated.
While the ability to embed Godot is functional with this PR, some manual adjustments are still required. An example implementation demonstrating how to embed Godot in a basic mobile app is available in our repository: here.

You have a lot of TODOs in your code, was this supposed to be a draft?

You have a lot of TODOs in your code, was this supposed to be a draft? Is this ready for review?

The several TODOs in the code are all linked to the same root cause.  This is the part we're unsure of, but couldn't find a better way to make it work.
It could definitely be seen as a draft, but we're at our wits' end on this, so any feedback would be much appreciated. Not sure about the etiquette here, let me know if it should be converted to a draft.

If it's ready to be reviewed and is in a form you would be comfortable merging it it should be marked as ready, if there are several issues still to resolve I'd suggest marking it as draft
Especially seeing how there's parts of the feature you haven't worked out how to solve yet

cc @kisg @migueldeicaza

We did originally try the clear approach a year ago, but found it very brittle, but it did serve as a good proof-of-concept that we could relaunch Godot multiple times.
For the stated goal of this PR, we ended up going with a more robust approach which is the libgodot/DisplayServerEmbedded approach patch that @kisg and his team developed and you can see in action here, and solves the iOS embedding problem, but also allows for not just embedding one view, but can support multiple views in the same screen (among other things):
https://github.com/godotengine/godot/pull/90510
You can take it for a spin on iOS with both Swift or Godot-cpp with the samples here:
https://github.com/migeran/libgodot_project
The patches here won't hurt, but in our view, are neither sufficient or desirable for the intended goal.   They did spot the challenging StringName issue, which is the ugliest part of the reset approach, but from memory, this is about a third of the static state that needs to be properly reset, there are plenty more globals and statics that need to be worked on.


support template

By https://pandoc.org/MANUAL.html#templates, it is possible to use a template. This allows many interesting things to be done. For example, the following simple template:
$if(toc)$
<div id="$idprefix$TOC">
$toc$
</div>
$endif$
$body$

adds table of content to every post.

Thanks for contributing. Can you also add such explanation to README.md?

I have lost my original fork to this PR. I will close it. I have added instruction on using template to README.md in https://github.com/wzpan/hexo-renderer-pandoc/pull/15


Action algorithm for Kaen

https://lo.swaytwig.com/enemies/Kaen_N
https://lo.swaytwig.com/enemies/Kaen_TU
https://lo.swaytwig.com/enemies/Kaen_Challenge1

has fixed


Documentation icons

lgtm

@lukechurch I was thinking about doing the header (int in this case) maybe a little bit larger, like font-size 13pt, thoughts ?

@kasperpeulen A little bigger sounds good to me I think. Then lets bring this in.

I'm going to merge this now, we can tweak going forwards


change_password.html was updated

Hello dear Amin

I cloned your project and I think it's great, but when I tried to try it, I logged in, and when I tried to change the user's password, I got an error NoReverseMatch at /user/password-change/ Reverse for 'login' not found. 'login' is not a valid view function or pattern name. and fixed it. I hope it was useful.

Hello there.
Thanks for your help 🙏🏻
I'll merge this pull request to main branch.


chore: improved report readability

roundtrip duration is rounded and displayed in (ms), default to 1ms for any μs duration.

I can see the benefit of rounding to ms. It loses precision.


Error in CI - Publish/Sign-App: "application" instead of Dependencies

Describe the issue
After some changes for other processes there appears an error in the build:

But the signing step was successfull:

Additional context
I have also have the reason (like in the title announced). I have changed the manuall dependencies to the "application" property:
From:

To:

Docs to that:

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files
After step back to manual dependecies all works fine again.
Could you reproduce that? Or did I get something wrong?
Kind regards,
Matthias

My app.json looks like this
https://dev.azure.com/businesscentralapps/_git/BingMaps?path=%2Fapp%2Fapp.json
and works fine - not sure what could be the cause of this.

mh, I'll try that in another project later!
I could reproduce it in that one.
I've more than this dependency. Could it be that?

That is very normal - I think the not-normal thing is to have none.
I will wait to see if other people have experienced the same.

Did you resolve the issue?

Currently I could not check another repo :/ sorry.
I will do this this week! :)

I wanted to do it this week. But the week was a bit stressful so I couldn't test it.
Sorry for that. I think it will be a problem with my repo :/
If you want, I could close it.

This was an issue with the "application" property: if your app uses the "application" property, then BC will complain about the app not being signed even though it is. This bug is present in the 16.0 version of Business Central and is resolved with 16.1 and up.
(See also this yammer topic for further info: https://www.yammer.com/dynamicsnavdev/threads/598313698058240)

wow, thanks for your help! :)
good to know!


Not able to start with webpack with release 2.4.1 (iOS / emulator)

Hi, I think there was a problem on the packaging that is preventing the plugin to start with webpack.

tns-core-modules: 2.4.0
tns-ios: 2.4.0

Specifically the problem is this one:
...
Successfully deployed on device with identifier '51CA4570-C725-4DAB-91E1-A47CBA8A18E3'.
objc[77354]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x118a0b998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x118830d38). One of the two will be used. Which one is undefined.
CONSOLE WARN file:///app/bundle.js:143025:15: Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl1" instead.
CONSOLE WARN file:///app/bundle.js:137723:15: Objective-C class name "Responder" is already in use - using "Responder1" instead.
CONSOLE WARN file:///app/bundle.js:137730:15: Objective-C class name "Window" is already in use - using "Window1" instead.
CONSOLE WARN file:///app/bundle.js:137762:15: Objective-C class name "NotificationObserver" is already in use - using "NotificationObserver1" instead.
CONSOLE WARN file:///app/bundle.js:163369:15: Objective-C class name "UIGestureRecognizerDelegateImpl" is already in use - using "UIGestureRecognizerDelegateImpl1" instead.
CONSOLE WARN file:///app/bundle.js:163381:15: Objective-C class name "UIGestureRecognizerImpl" is already in use - using "UIGestureRecognizerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:163671:15: Objective-C class name "TouchGestureRecognizer" is already in use - using "TouchGestureRecognizer1" instead.
CONSOLE WARN file:///app/bundle.js:143838:15: Objective-C class name "AnimationDelegateImpl" is already in use - using "AnimationDelegateImpl1" instead.
CONSOLE WARN file:///app/bundle.js:150033:15: Objective-C class name "TapBarItemHandlerImpl" is already in use - using "TapBarItemHandlerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:153683:15: Objective-C class name "UIViewControllerImpl" is already in use - using "UIViewControllerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:133386:15: Objective-C class name "TransitionDelegate" is already in use - using "TransitionDelegate1" instead.
CONSOLE WARN file:///app/bundle.js:133425:15: Objective-C class name "UINavigationControllerAnimatedDelegate" is already in use - using "UINavigationControllerAnimatedDelegate1" instead.
CONSOLE WARN file:///app/bundle.js:133460:15: Objective-C class name "UINavigationControllerImpl" is already in use - using "UINavigationControllerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:164731:15: The TypeScript constructor "TKListViewDataSourceImpl" will not be executed.
CONSOLE WARN file:///app/bundle.js:164873:15: The TypeScript constructor "ExtendedListViewCell" will not be executed.
1   0x10f9f4a6b NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2   0x11017490e ffi_closure_unix64_inner
3   0x1101752c2 ffi_closure_unix64
4   0x10db4009b _CFXRegistrationPost
5   0x10db3fe02 ___CFXNotificationPost_block_invoke
6   0x10db02ea2 -[_CFXNotificationRegistrar find:object:observer:enumerator:]
7   0x10db01f3b _CFXNotificationPost
8   0x1104550ab -[NSNotificationCenter postNotificationName:object:userInfo:]
9   0x112050d06 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:]
10  0x112056de9 -[UIApplication _runWithMainScene:transitionContext:completion:]
11  0x112053f69 -[UIApplication workspaceDidEndTransaction:]
12  0x1146d0723 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
13  0x1146d059c -[FBSSerialQueue _performNext]
14  0x1146d0925 -[FBSSerialQueue _performNextFromRunLoopSource]
15  0x10db47311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16  0x10db2c59c __CFRunLoopDoSources0
17  0x10db2ba86 __CFRunLoopRun
18  0x10db2b494 CFRunLoopRunSpecific
19  0x1120527e6 -[UIApplication _run]
Nov 20 17:56:13 MacBook-Pro-de-Ignacio com.apple.CoreSimulator.SimDevice.51CA4570-C725-4DAB-91E1-A47CBA8A18E3.launchd_sim[71408] (UIKitApplication:com.gynto.client[0x916c][77354]): Service exited due to Segmentation fault: 11
20  0x112058964 UIApplicationMain
Nov 20 17:56:13 MacBook-Pro-de-Ignacio gyntoclient[77354]: 21  0x11017511d ffi_call_unix64
Nov 20 17:56:13 MacBook-Pro-de-Ignacio gyntoclient[77354]: 22  0x136305250
Nov 20 17:56:13 MacBook-Pro-de-Ignacio gyntoclient[77354]: file:///app/bundle.js:137951:76: JS ERROR Error: A Frame must be used to navigate to a Page.
Nov 20 17:56:13 MacBook-Pro-de-Ignacio SpringBoard[71425]: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus

If I downgrade to 2.3.1 with the PR I submitted it does work.

The whole webpack implementation changed so this issue does not have more sense.


r.parent() is giving blank array even though control is inside another div

 <div class="col-md-12 herculesReducedGridFont" refresh-grid="" view="vm.initializedLabs">
          <flex-grid auto-height  additional-height="70"  dataset="vm.data">
                 Code Code
          </flex-grid>
</div>

When I run the website , the attached error is coming ( bcos, r.parent() is blank array )
r.parent() is giving blank array even though control is inside another div

Hi @abhi901abhi
Could you please create a JsFiddle or a Codepen (or guide me to the real implementation, if accessible) with your problem?
It looks like you're using a lot of other directives in your code, which may collide with angular-auto-heights implementation when replacing or changing the DOM.
Thanks!