[QUESTION] Could not resolve host: kinesisvideo.us-east1.amazonaws.com

Dear all,
I'm running a Docker container which launch a gstreamer pipeline to stream a rtsp camera to kinesis video stream. The pipeline was:
gst-launch-1.0 rtspsrc location="rtsp://admin:123456aA@<IP_ADDRESS>:554" short-header=TRUE ! rtph264depay ! video/x-h264,stream-format=avc,alignment=au,width=1280,height=720 ! kvssink stream-name="XXX" storage-size=512 access-key=XXXX secret-key=XXX aws-region=us-east1
(I removed the information about AWS access credentials).
This pipeline is OK on my real PC but I got the bellow error when running on a Docker container:
"2021-03-11 09:15:45 [140642044863296] WARN - curlCompleteSync(): curl perform failed for url https://kinesisvideo.us-east1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.us-east1.amazonaws.com
2021-03-11 09:15:45 [140641310746368] WARN - curlCompleteSync(): HTTP Error 0 : Response: (null)"
** Logging **
Setting pipeline to PAUSED ...
log4cplus:ERROR could not open file ./kvs_log_configuration
INFO - createKinesisVideoClient(): Creating Kinesis Video Client
2021-03-11 09:15:45 [140642044863296] INFO - heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001
2021-03-11 09:15:45 [140642044863296] INFO - heapInitialize(): Creating AIV heap.
2021-03-11 09:15:45 [140642044863296] INFO - heapInitialize(): Heap is initialized OK
2021-03-11 09:15:45 [140642044863296] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2021-03-11 09:15:45 [140642044863296] DEBUG - getSecurityTokenHandler invoked
2021-03-11 09:15:45 [140642044863296] DEBUG - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER>204041542 Expiration: 0
2021-03-11 09:15:45 [140642044863296] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000010
2021-03-11 09:15:45 [140642044863296] INFO - createDeviceResultEvent(): Create device result event.
2021-03-11 09:15:45 [140642044863296] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2021-03-11 09:15:45 [140642044863296] DEBUG - clientReadyHandler invoked
2021-03-11 09:15:45 [140642044863296] INFO - try creating stream
2021-03-11 09:15:45 [140642044863296] INFO - Creating Kinesis Video Stream frida
2021-03-11 09:15:45 [140642044863296] INFO - createKinesisVideoStream(): Creating Kinesis Video Stream.
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): Kinesis Video Stream Info
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Stream name: frida
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Streaming type: STREAMING_TYPE_REALTIME
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Content type: video/h264
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Max latency (100ns): 600000000
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Fragment duration (100ns): 20000000
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Key frame fragmentation: Yes
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Use frame timecode: Yes
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Absolute frame timecode: Yes
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Nal adaptation flags: 0
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Average bandwith (bps): 4194304
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Framerate: 25
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Buffer duration (100ns):<PHONE_NUMBER>
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Replay duration (100ns): 400000000
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Connection Staleness duration (100ns): 600000000
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Store Pressure Policy: 1
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	View Overflow Policy: 1
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Segment UUID: NULL
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Frame ordering mode: 0
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): Track list
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Track id: 1
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Track name: kinesis_video
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Codec id: V_MPEG4/ISO/AVC
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Track type: TRACK_INFO_TYPE_VIDEO
2021-03-11 09:15:45 [140642044863296] DEBUG - logStreamInfo(): 	Track cpd: NULL
2021-03-11 09:15:45 [140642044863296] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2021-03-11 09:15:45 [140642044863296] WARN - curlCompleteSync(): curl perform failed for url https://kinesisvideo.us-east1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.us-east1.amazonaws.com
2021-03-11 09:15:45 [140641310746368] WARN - curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.us-east1.amazonaws.com/describeStream
Request Headers:
Authorization: AWS4-HMAC-SHA256 Credential=XXXXX/20210311/us-east1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=XXXXX
content-length: 26
content-type: application/json
host: kinesisvideo.us-east1.amazonaws.com
user-agent: AWS-SDK-KVS/3.0.0 G
2021-03-11 09:15:45 [140641310746368] DEBUG - describeStreamCurlHandler(): DescribeStream API response:
2021-03-11 09:15:45 [140641310746368] INFO - describeStreamResultEvent(): Describe stream result event.
2021-03-11 09:15:45 [140641310746368] WARN - curlCompleteSync(): curl perform failed for url https://kinesisvideo.us-east1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.us-east1.amazonaws.com
2021-03-11 09:15:45 [140641302353664] WARN - curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.us-east1.amazonaws.com/describeStream
Request Headers:
Authorization: AWS4-HMAC-SHA256 Credential=XXXXXX/20210311/us-east1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=XXXXX
content-length: 26
content-type: application/json
host: kinesisvideo.us-east1.amazonaws.com
user-agent: AWS-SDK-KVS/3.0.0 G
Thanks and Best Regards!

@sonln5 ,
Pleasev check the network config for DNS resolution. It is not a KVS specific issue.

On docker contain, I tried pinging to some other hosts and it was OK. So I think it's not DNS resolution issue.
Thanks!

@sonln5 please debug your rocker/network configuration. This has got nothing to do with KVS and you should be able to reduce the problem down. Try running the samples with no modifications on stock now without rocket first.
Resolving as non KVS related


10.0.19041.1202 [Not listening] [fully supported]

I tried various ini files that have my version.
logs:
Initializing RDP Wrapper...
Base addr:  0x00007FFB70880000
SvcMain:    termsrv.dll+0x0000000000030250
SvcGlobals: termsrv.dll+0x0000000000030B80
Version:    10.0.19041.1202
Freezing threads...
Resumimg threads...
<<< SvchostPushServiceGlobals
>>> ServiceMain
<<< ServiceMain

Windows 10 Home VM

Some help please?

Try net start termService or reboot

net start termService results in 'The requested service has already been started'
I tried RDPWInst.exe -r

Try replace INI manually https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini

That didn't work either. I copy-pasted the text in that link to the file in C:\Program Files\RDP Wrapper\rdpwrap.ini, Even after a reboot and running RDPWInst.exe -r again
I noticed I don't get the StartService Error anymore.
RDPWInst.exe -r
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Restarting...
[+] TermService found (pid 1132).
[*] No shared services found.
[*] Terminating service...
[*] Starting TermService...
[+] Done.

but RDPConf.exe still shows:

and RDPCheck fails to connect.

Try restart service manually:
net stop termService
net start termService

Thank you for the suggestion. Unfortunately, I tried that too with no luck:
C:\Users\LTTS-TCH\Downloads\RDPWrap-v1.6.2>net stop termService
The Remote Desktop Services service is stopping.
The Remote Desktop Services service was stopped successfully.

C:\Users\LTTS-TCH\Downloads\RDPWrap-v1.6.2>net start termService
The Remote Desktop Services service is starting.
The Remote Desktop Services service was started successfully.

Sorry, i can't help
Please, send your problem to Telegram chat (see in README)

This will be closed.
See issues: https://github.com/stascorp/rdpwrap/issues/1883

I finally got it to work by following a link to a link to a link from one of your links haha
First, I tried updating the rdwrap.dll file as per these instructions and rebooted but it didn't work.

you need to restore the C:\Program Files\RDP Wrapper\rdpwrap.dll file. It can be downloaded here: rdpwrap-DLL.zip

Then, I ran the auto-update script from this link and it finally worked:

Notes:
1- Move contents of auto update script to C:\Program Files\RDP Wrapper
2- Move contents of RDPWrap-v1.6.2.zip to same folder.
3- Run autoupdate.bat from that folder:
Log:
c:\Program Files\RDP Wrapper>autoupdate.bat
___________________________________________
Automatic RDP Wrapper installer and updater

<check if the RDP Wrapper is up-to-date and working>

[+] TermService running.
[+] Found listener session: AllowTSConnection (ID: 1).
[+] Found windows registry entry for "rdpwrap.dll".
[+] Found file: "c:\Program Files\RDP Wrapper\rdpwrap.dll"
[+] Found file: "c:\Program Files\RDP Wrapper\rdpwrap.ini".
[+] Installed "termsrv.dll" version: 10.0.19041.1741.
[*] Read last "termsrv.dll" version from the windows registry...
[-] Current "termsrv.dll v.10.0.19041.1741" different from last "termsrv.dll v."!
[*] Update current "termsrv.dll" version to the windows registry...
The operation completed successfully.

[*] Uninstall and reinstall RDP Wrapper...

[*] Set windows registry entry for "rdpwrap.dll" to force uninstall...
The operation completed successfully.
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Uninstalling...
[+] TermService found (pid 7176).
[*] No shared services found.
[*] Resetting service library...
[*] Terminating service...
[*] Removing files...
[+] Removed file: c:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Removed file: c:\Program Files\RDP Wrapper\rdpwrap.dll
[-] RemoveDirectory error (code 32).
[*] Starting TermService...
[-] StartService error (code 1056).
[*] Configuring registry...
[*] Configuring firewall...

Deleted 1 rule(s).
Ok.

[+] Successfully uninstalled.
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Notice to user:
  - By using all or any portion of this software, you are agreeing
  to be bound by all the terms and conditions of the license agreement.
  - To read the license agreement, run the installer with -l parameter.
  - If you do not agree to any terms of the license agreement,
  do not use the software.
[*] Installing...
[*] Terminal Services version: 10.0.19041.1741
[-] This version of Terminal Services is not supported.
Try running "update.bat" or "RDPWInst -w" to download latest INI file.
If it doesn't help, send your termsrv.dll to project developer for support.
[+] TermService found (pid 9268).
[*] No shared services found.
[*] Extracting files...
[*] Downloading latest INI file...
[+] Latest INI file -> C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Extracted rdpw64 -> C:\Program Files\RDP Wrapper\rdpwrap.dll
[*] Configuring service library...
[*] Checking dependencies...
[*] Checking CertPropSvc...
[*] Checking SessionEnv...
[*] Terminating service...
[*] Starting TermService...
[*] Configuring registry...
[*] Configuring firewall...
Ok.

[+] Successfully installed.
[*] Set Network Level Authentication in the windows registry...
The operation completed successfully.
The operation completed successfully.
[*] Start searching [10.0.19041.1741] version entry in file "c:\Program Files\RDP Wrapper\rdpwrap.ini"...
[-] NOT found "termsrv.dll" version entry [10.0.19041.1741] in file "c:\Program Files\RDP Wrapper\rdpwrap.ini"!
[*] check network connectivity...

[*] Download latest version of rdpwrap.ini from GitHub...
    -> "https://raw.githubusercontent.com/asmtron/rdpwrap/master/res/rdpwrap.ini"
[+] Successfully download from GitHhub latest version to "c:\Program Files\RDP Wrapper\rdpwrap_new.ini".

[*] Restart RDP Wrapper with new ini (uninstall and reinstall)...

RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Uninstalling...
[+] TermService found (pid 9972).
[*] No shared services found.
[*] Resetting service library...
[*] Terminating service...
[*] Removing files...
[+] Removed file: C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Removed file: C:\Program Files\RDP Wrapper\rdpwrap.dll
[-] RemoveDirectory error (code 32).
[*] Starting TermService...
[-] StartService error (code 1056).
[*] Configuring registry...
[*] Configuring firewall...

Deleted 1 rule(s).
Ok.

[+] Successfully uninstalled.

[*] Use latest downloaded rdpwrap.ini from GitHub...
    -> "https://raw.githubusercontent.com/asmtron/rdpwrap/master/res/rdpwrap.ini"
      -> "c:\Program Files\RDP Wrapper\rdpwrap_new.ini"
        -> "c:\Program Files\RDP Wrapper\rdpwrap.ini"
[+] copy "c:\Program Files\RDP Wrapper\rdpwrap_new.ini" to "c:\Program Files\RDP Wrapper\rdpwrap.ini"...
        1 file(s) copied.

RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Notice to user:
  - By using all or any portion of this software, you are agreeing
  to be bound by all the terms and conditions of the license agreement.
  - To read the license agreement, run the installer with -l parameter.
  - If you do not agree to any terms of the license agreement,
  do not use the software.
[*] Installing...
[*] Terminal Services version: 10.0.19041.1741
[-] This version of Terminal Services is not supported.
Try running "update.bat" or "RDPWInst -w" to download latest INI file.
If it doesn't help, send your termsrv.dll to project developer for support.
[+] TermService found (pid 8940).
[*] No shared services found.
[*] Extracting files...
[+] Current INI file -> C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Extracted rdpw64 -> C:\Program Files\RDP Wrapper\rdpwrap.dll
[*] Configuring service library...
[*] Checking dependencies...
[*] Checking CertPropSvc...
[*] Checking SessionEnv...
[*] Terminating service...
[*] Starting TermService...
[*] Configuring registry...
[*] Configuring firewall...
Ok.

[+] Successfully installed.
[*] Set Network Level Authentication in the windows registry...
The operation completed successfully.
The operation completed successfully.
[*] Start searching [10.0.19041.1741] version entry in file "c:\Program Files\RDP Wrapper\rdpwrap_new.ini"...
[-] NOT found "termsrv.dll" version entry [10.0.19041.1741] in file "c:\Program Files\RDP Wrapper\rdpwrap_new.ini"!
[*] check network connectivity...

[*] Download latest version of rdpwrap.ini from GitHub...
    -> "https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini"
[+] Successfully download from GitHhub latest version to "c:\Program Files\RDP Wrapper\rdpwrap_new.ini".

[*] Restart RDP Wrapper with new ini (uninstall and reinstall)...

RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Uninstalling...
[+] TermService found (pid 9896).
[*] No shared services found.
[*] Resetting service library...
[*] Terminating service...
[*] Removing files...
[+] Removed file: C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Removed file: C:\Program Files\RDP Wrapper\rdpwrap.dll
[-] RemoveDirectory error (code 32).
[*] Starting TermService...
[-] StartService error (code 1056).
[*] Configuring registry...
[*] Configuring firewall...

Deleted 1 rule(s).
Ok.

[+] Successfully uninstalled.

[*] Use latest downloaded rdpwrap.ini from GitHub...
    -> "https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini"
      -> "c:\Program Files\RDP Wrapper\rdpwrap_new.ini"
        -> "c:\Program Files\RDP Wrapper\rdpwrap.ini"
[+] copy "c:\Program Files\RDP Wrapper\rdpwrap_new.ini" to "c:\Program Files\RDP Wrapper\rdpwrap.ini"...
        1 file(s) copied.

RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Notice to user:
  - By using all or any portion of this software, you are agreeing
  to be bound by all the terms and conditions of the license agreement.
  - To read the license agreement, run the installer with -l parameter.
  - If you do not agree to any terms of the license agreement,
  do not use the software.
[*] Installing...
[*] Terminal Services version: 10.0.19041.1741
[-] This version of Terminal Services is not supported.
Try running "update.bat" or "RDPWInst -w" to download latest INI file.
If it doesn't help, send your termsrv.dll to project developer for support.
[+] TermService found (pid 9500).
[*] No shared services found.
[*] Extracting files...
[+] Current INI file -> C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Extracted rdpw64 -> C:\Program Files\RDP Wrapper\rdpwrap.dll
[*] Configuring service library...
[*] Checking dependencies...
[*] Checking CertPropSvc...
[*] Checking SessionEnv...
[*] Terminating service...
[*] Starting TermService...
[*] Configuring registry...
[*] Configuring firewall...
Ok.

[+] Successfully installed.
[*] Set Network Level Authentication in the windows registry...
The operation completed successfully.
The operation completed successfully.
[*] Start searching [10.0.19041.1741] version entry in file "c:\Program Files\RDP Wrapper\rdpwrap_new.ini"...
[+] Found "termsrv.dll" version entry [10.0.19041.1741] in file "c:\Program Files\RDP Wrapper\rdpwrap_new.ini".
[*] RDP Wrapper seems to be up-to-date and working...

MARK


console.log auto imports import console=require('console');

VSCode Version:1.31.1
OS Version:Mac OS Current

Steps to Reproduce:
type console.. 7 times out of 10, vscode will insert import console=require('console');in the imports top of the file leading to a compilation error.
Single most annoying issue of vs code by far.

Does this issue occur when all extensions are disabled?: Not sure

Same issue very irritating ;)

Same here (Ubuntu 18.04). It came with the new VSCode update.. Very annoying.

Seems to be caused by node's type definition.  Removing:
declare module "console" {
    export = console;
}

in<EMAIL_ADDRESS>seems to be a temporary fix until that definition gets updated. Or it could be caused by another installed node module that declares a type definition for console. You can figure it out by following the path of where ever import console=require('console') leads to. Credit to this stackoverflow.


update rpi installation instructions

Maybe need add comment about the recommendation of the maintainer of repository in the future not to use it because gstreamer packages already present in the mainly repository RPi.


Custom Identifier name isn't allowed to be custom.

Bug Report

Q
A

BC Break
no idea

Version
2.0.1

Summary
In XML configuration, attempting to give custom field_name to IDs doesn't work. ClassMetadata fails.
<id field-name="uuid" strategy="UUID" type="bin_uuid" />
Current behavior
<id field-name="uuid" strategy="UUID" type="bin_uuid" />
Field-names both in document class, and in Db are "uuid". Yet, code here:
https://github.com/doctrine/mongodb-odm/blob/master/lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1953
resolves $mapping['fieldName'] value to id instead of intended uuid.
How to reproduce
Use this as ID field configuration in your XML document odm file:
<id field-name="uuid" strategy="UUID" type="bin_uuid" />
Expected behavior
For ClassMetadata to have $mapping['fieldName'] to actually be equal to $mapping['field_name'] (the latter having the correct value), being equal to uuid not id, as this example expects.

At https://github.com/doctrine/mongodb-odm/blob/master/lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1953 the dumped value of $mapping variable is as below:
array(15) {
  'id' =>
  bool(true)
  'fieldName' =>
  string(2) "id"
  'field-name' =>
  string(4) "uuid"
  'strategy' =>
  string(4) "UUID"
  'type' =>
  string(8) "bin_uuid"
  'options' =>
  array(0) {
  }
  'name' =>
  string(3) "_id"
  'isCascadeRemove' =>
  bool(false)
  'isCascadePersist' =>
  bool(false)
  'isCascadeRefresh' =>
  bool(false)
  'isCascadeMerge' =>
  bool(false)
  'isCascadeDetach' =>
  bool(false)
  'nullable' =>
  bool(false)
  'isOwningSide' =>
  bool(true)
  'isInverseSide' =>
  bool(false)
}

Field-names both in document class, and in Db are "uuid".

IIRC field named uuid cannot be an identifier in the document as MongoDB expects document's identifier to be named _id. I think we should rather block custom name for identifier fields.

After some research, I tend to agree with you @malarzm . I think this issue should be renamed appropriately into a task to disable custom fieldnames for IDs.

Identifier names in the database are fixed to the _id field - this is the identifier of a MongoDB document. There is a bug with handling the field-name attribute in XML mappings, which allows you to change the name of the class property the database field is mapped to. This bug is being fixed in #2097.
In your case, you can have a uuid field in the class and map it to the _id field by using the <id field-name="uuid" type="uuid" /> mapping. If you want to store this in a uuid field, then it is no longer an identifier.

@alcaeus , that IS the problem: I can't have field named $uuid in document class. It is being converted to $id. That might need fixing.

@alcaeus , I just checked your PR, and I believe change in XMLDriver is fixing the problem I described above.

I just wanted to make sure you don't have wrong expectations because of this:

Field-names both in document class, and in Db are "uuid".

With the id mapping you described, the database field will always be _id - the field-name attribute only affects the class property. If that's what you intended to do, I apologise for the confusion I caused.

Yea, updated the original post above, striking through some wordings.


Add sha256 payload check

Recent versions of Gogs use sha256 for payload checking:
        {
          "match":
          {
            "type": "payload-hash-sha256",
            "secret": "%{HOOKS_SECRET}",
            "parameter":
            {
              "source": "header",
              "name": "X-Gogs-Signature"
            }
          }
        }

Works fine with gogs

Thanks for the contribution! This looks awesome, could you just close this PR and open a new one on the development branch :-)

I changed the base but now I need to rebase the files.

I've rebased so it should be good now.

@adnanh this should be to go now.

Done, would you be kind enough to update the wiki pages :-)

@adnanh done!


Match Application Insights schema when exporting

Describe the solution you'd like
Custom events are exported to Application Insights (when connected via Export) but the data that reaches Application Insights does not match the schema used.  The mismatch results in more data being sent, which is invalid for non-mobile, and the custom event data in a sub-dictionary unlike AI.
Describe alternatives you've considered
There are no exposed alternative solutions, the SDK needs modification.
Additional context
We are gathering analytics for Windows print drivers and desktop applications.  The use of the AppCenter SDK is to add analytics to the macOS print drivers. The Windows group is using the Microsoft provided Application Insights SDK and the data format it sends is the basis for the data queries already created.
The macOS AppCenter SDK, when exporting to Application Insights, uses a different schema than AI does.  The custom event data from AppCenter is put in root:customDimensions:properties and the custom event data from AI is in root:customDimensions.
In addition, AppCenter sends along fields that are mobile specific and/or empty.  We are sending data from a background process so screen size is always 0x0, is this useful data to send?  The Windows users generate 2 GB of data each day so sending non-useful fields is just wasted bytes.
Attached are 2 screenshots showing the difference in data between macOS and Windows.

I need this!

+1 for merging AppCenter Properties into customDimensions rather than using a nested object
+1 for not sending invalid data (0x0, lots of "None", etc)

What does the "reviewed-DRI" tag mean and what is the resolution of this request?  Just closing it without comment is in no way helpful.

+1 for merging AppCenter Properties into customDimensions rather than using a nested object
+1 for not sending invalid data (0x0, lots of "None", etc)

Bump?
Plenty of work for this product team, I am sure, but it's hard to tell if this has even been triaged.

What is the plan for this bug?  It appears no one has even looked at it.
This is still an issue and still a desired change.

Has anyone looked at this yet?

Post to make this stay alive, why doesn't someone address this issue instead of letting it go stale?

Post to make this stay alive, why doesn't someone address this issue instead of letting it go stale?

No addresses this issue, which remains an annoyance, and no one provides feedback on why this hasn't been done or even won't be done, instead it's left idle so it will auto close.
Please address this issue!

Post to make this stay alive, why doesn't someone address this issue instead of letting it go stale?

I don't thnik appcenter in development. so porbaby we need to find something else

Fix this issue or at least comment if it won't be fixed.

I don't thnik appcenter in development. so porbaby we need to find something else
Hopefully it's still in development, have you found a different SDK to use?


Remove sync.Pool from udp.listener.readloop

As the read buff will be only allocated once, there is no need to use a pool here.
Description
Reference issue
Fixes #...

Thanks @cnderrauber :)


安装脚本无法成功安装v2ray

Please read the instruction and answer the following questions before submitting your issue. Thank you.
Please answer all the questions with enough information. All issues not following this template will be closed immediately.
If you are not sure if your question is truely a bug in V2Ray, please discuss it here first.

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?
v4.26.0

What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.
Github

What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)
Failed to stop v2ray.service: Unit v2ray.service not loaded

What's your expectation?
install v2ray

Please attach your configuration file (Mask IP addresses before submit this issue).

Server configuration:
    // Please attach your server configuration here.

Client configuration:
    // Please attach your client configuration here.

Please attach error logs, especially the bottom lines if the file is large. Error log file is usually at /var/log/v2ray/error.log on Linux.

Server error log:
    // Please attach your server error log here.

Client error log:
    // Please attach your client error log here.

Please attach access log. Access log is usually at '/var/log/v2ray/access.log' on Linux.

    // Please attach your server access log here.

Other configurations (such as Nginx) and logs.

If V2Ray doesn't run, please attach output from --test.

The command is usually /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json, but may vary according to your scenario.

If V2Ray service doesn't run, please attach journal log.

Usual command is journalctl -u v2ray.
Please review your issue before submitting.
旧版本已经使用脚本移除
bash <(curl -L https://install.direct/go.sh) --remove
然后使用新的安装
bash <(curl https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
提示截图报错, 如果使用旧的脚本安装是可以正常安装的, 系统CentOS7 X64, 这是要手动安装v2ray才可以吗

Centos7的生命周期已经要结束了吧

Centos7的生命周期已经要结束了吧

如果是因为新脚本不再支持CentOS7的话那我就懂了，我手动装…

@onlyJinx 我特意用 CentOS 7 試了一下，是可以安裝上的。
你是否在使用該腳本時，仍通過其它方式運行著 V2Ray 呢？


Refactor Trie Cursor

Referenced issues
Resolves #509.

Description of the Change
Refactor trie cursor with the main point being to make it process keys non-present in storage as a normal situation instead of an error.

Benefits
Better behaviour of the trie cursor.

Possible Drawbacks
Now it might be easier to overlook jumping at invalid key, because next() won't fail.

Usage Examples or Tests
Provided in the code.

I have been trying to get the test running that triggered all of this in w3f/polkadot-spec/pull/269 , but so far have been unable to get it to work as it should.
However I was able to track the issue down to the scale-encoded result returned by ext_storage_next_key_version_1 using the following patch:
diff --git a/core/runtime/binaryen/runtime_api/runtime_api.hpp b/core/runtime/binaryen/runtime_api/runtime_api.hpp
index 8eddb272..0834acb9 100644
--- a/core/runtime/binaryen/runtime_api/runtime_api.hpp
+++ b/core/runtime/binaryen/runtime_api/runtime_api.hpp
@@ -160,6 +160,7 @@ namespace kagome::runtime::binaryen {
       if constexpr (!std::is_same_v<void, R>) {
         WasmResult r(res.geti64());
         auto buffer = memory->loadN(r.address, r.length);
+        logger_->debug("Function returned: {}", buffer.toHex());
         // TODO (yuraz) PRE-98: after check for memory overflow is done,
         //  refactor it
         return scale::decode<R>(std::move(buffer));

This leads to the following debug output when calling next key on an empty storage (apart form ":code" and ":heappages") with the key "Optional":
[...]
[2020-09-08 19:09:30][debug] Executing export function: rtm_ext_storage_next_key_version_1
[2020-09-08 19:09:30][debug] Function returned: 3001283a686561707061676573

The returned buffer contains an array of length 12 (=0x30 as compact integer), containing an optional::some (0x01), which in turn contains another array of length 10 (=0x28) which then contains the string ":heappages".
This is concerning for two reasons:

the scale encoded buffer containing the expected optional is wrapped in an array again
the returned key is lexicographical speaking located before "Optional", which should never happen

I am still having some issues with this latest version, some things I noticed after a quick review are that the key returned are mangled, e.g. gfctatic instead of static or bject-oriented instead of object-oriented, which then also can mess with the expected ordering. Not sure what that is about.

Thanks, that fixed it. I have it running on our CI now, but I do not expect further problems.


The google file app removed shortcut to nearby sharing

The README would need to be updated accordingly.

+1 for this - I will note that adding a shortcut to the com.google.android.gms/.nearby.sharing.ReceiveSurfaceActivity activity mentioned in the README still works (at least for me).

Yes, google file removed nearby share tab so now it's impossible to do it

+1 for this - I will note that adding a shortcut to the com.google.android.gms/.nearby.sharing.ReceiveSurfaceActivity activity mentioned in the README still works (at least for me).

Great solution, thanks!

Which shortcut app did you use?

Which shortcut app did you use?

Root Activity Launcher

Which shortcut app did you use?

Root Activity Launcher

Than this?

Which shortcut app did you use?

I used this one: Activity Launcher
Just search the activity name, then you can tap the item in the list to test it, or click the menu icon to save a home screen shortcut.

Which shortcut app did you use?

I used this one: Activity Launcher
Just search the activity name, then you can tap the item in the list to test it, or click the menu icon to save a home screen shortcut.

I didn't find it

The search term I used that worked was com.google.android.gms.nearby.sharing.ReceiveSurfaceActivity

Which shortcut app did you use?

I used this one: Activity Launcher
Just search the activity name, then you can tap the item in the list to test it, or click the menu icon to save a home screen shortcut.

I didn't find it

The search term I used that worked was com.google.android.gms.nearby.sharing.ReceiveSurfaceActivity
It doesn't go through Files app, it goes through Google Play Services.

Thank you for the tip! In my case however I didn't find the exact the term you used, what I found instead was com.google.android.gms.nearby.sharing.receive.ReceiveActivity and it did work for me and I was this way able to have my phone get detected by NearDrop


Bower is DEAD, welcome NPM.

Can you do this? Thanks a lot.

why is bower dead? I dont think so!

It is not dead but there should exist a npm package. I will add it.

@misaon Can you please test it? I am not really a frontend developer, know just a little bit about npm.
Should I update the version in package.json each time a make some changes to assets?

@misaon ping :)

@misaon pong

@paveljanda yes, NPM doesn't follow the git repo like Bower and Composer do, so each time you release a new version you must update the version string in package.json and issue a npm publish command. It can easily be automated as part of a CI pipeline though - there's a handy NPM command called npm version <major|minor|patch>, which, when issued in a project directory with a clean working tree, updates the version in package.json accordingly and creates a new git tag; you can then use that to create releases and just have a simple CI build triggered by tags pushed to the github repo that then issues npm publish for the new tags. Even better, you can attach hooks to the npm version command being run - with those you can e.g. compile assets before the new tag is created - which means you'll never forget to do it before publishing a release.

@jahudka Thanks for explaining to me. I will look more deeply in the CI in following days. Appreciate that!

@paveljanda there is problem with dependencies, actual package hasn't dependencies like bower...
Can you fix it?
"jquery": ">= 1.11.0 <3.0",
    "happy": ">= 1.0.0",
    "bootstrap-datepicker": ">= 1.6.0",
    "nette-forms": "^2.3",
    "nette.ajax.js": ">= 2.1.0",
    "jquery-ui-sortable": "https://github.com/ryantbrown/jquery-ui-sortable.git",
    "bootstrap": ">= 3.3.0"

NPM package works. Closing it.


typing inject with flowtype

Hi! I've spent some time trying to figure out the best way to use inject and flowtype to check the props. I haven't found the perfect way to do it, but at least it's a start.
I don't want to add this to the readme directly, since I still feel like it can be improved, but if we include the link, perhaps other community members will help out to find the best pattern for this.
Thanks!

Thanks!


Partially fix transaction autocommit and fix compatibility fatal error

Some databases, including MySQL, automatically issue an implicit COMMIT when a database definition language (DDL) statement such as DROP TABLE or CREATE TABLE is issued within a transaction. The implicit COMMIT will prevent you from rolling back any other changes within the transaction boundary.

Source: https://www.php.net/manual/en/pdo.begintransaction.php
I've created a new method which checks if logs table exists, called in most cases only once. If the table exists, query CREATE TABLE... isn't called preventing transaction autocommit.
Todo: solution to prevent autocommit if table doesn't exist - first call of method createLogsTable() (when the table doesn't exist) still breaks transaction. See #25

Fix for: Fatal error: Declaration of MySQLHandler\MySQLHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in [...]\vendor\wazaari\monolog-mysql\src\MySQLHandler\MySQLHandler.php on line 164

I think it's better to handle a query with a flag than to run it. Also, I think this was solved by #42.


Model description

Hi. First of all thank you for your work.
I would like to know how can I have more information on the architecture of the model. Is it from a specific paper? (I see some references but I guess the model used are a bit different).
In particular I'm interested in che computation of 'target_shape' based on 'image_shape' in the config file, to experiment more.
Thank you,
Michela

+1 could you give more info on target_shape?
In particular, if I train with a non-square aspect ratio, should I keep target_shape square, or adjust it so both dimensions remain 0.25*image_dim
Thanks!


Feature/mariadb

Introduced MariaDB
I designed it with DAOs and Models.

Also, there is a new command: "udiq random"
You can get random knowledge from Udiq by using this command.


Chat UI is broken in Macbook

OS: Mac
Browser: Chrome
Version: v0.1.1
Step to reproduce:

Access teamrad.io
Click on a station
Observe the chat box

Expected result:
The chat box is in the right side of the song list.
Actual result:
The chat box is broken & displayed below the song list & player.

Hi @trinm90 and @mgm-sfrank , I've checked this problem on another MacBooks and it seems to be ok and I didn't see your problem, the chatbox is still full width. I think maybe your MacBook is cached and it is not updated to the latest version yet. Have you ever restart your Chrome browser (by pressing Ctrl + F5)? If not, please do that and respond to me if this happens again. Thanks.

I also tried "Device toolbar" of Chrome to test in different screen resolutions. But everything seems to be just fine.


Errror when calling dense_to_sparse function

Hi, xiaolong. Thanks for the great public code.
I tried to run your code and met the following error.
File "/mnt/cache/zhouyang4/.local/lib/python3.8/site-packages/torch_geometric/utils/sparse.py", line 37, in dense_to_sparse
    assert adj.size(-1) == adj.size(-2)
AssertionError

It seems that the line t2m_valid_mask = t2m_valid_mask_t.unsqueeze(2) & t2m_valid_mask_m.unsqueeze(1)              #[(N1,...,Nb),H,H*K]
doesn't follow the shape required by dense_to_sparse according to https://pytorch-geometric.readthedocs.io/en/latest/modules/utils.html#torch_geometric.utils.dense_to_sparse.

Hi, thank you for trying out the code and reporting this issue.
I apologize for the inconvenience. Based on the error you encountered, I suspect this might be due to the version of PyTorch Geometric you are using. In versions prior to 2.3.0, the dense_to_sparse function requires the tensor's last two dimensions to be of equal size. However, this requirement has been relaxed in version 2.3.0 and later. Could you please check your PyTorch Geometric version and consider updating it if it's older than 2.3.0?
This should resolve the issue. Please let me know if the problem persists after updating.

Cool. I upgrade pyg to 2.3.1 and now it seems fine for training. Thanks for your helpful solution.


Add support on base for github actions (optional)

Finally added for CLI and Library, and a future release will be done for github project


Design a new logo for the application

Create a custom logo for the application. You can use services from Adobe or any other service which will help you deliver the best logo.
The logo must be available in .PNG and SVG format and must be within 200*200 px at max.
The issue is open for all,so anyone can contribute to it.
Raise your PR to branch logo_samples.
Open for Everyone!! (10 people maximum).
Comment down if you're willing to work on the issue!

ill work on that

ill work on that, but need some info what type and looks are we preferring

You can reach out to admin for some inspiration or idea! He can guide you for UI/UX related issues! But anything which can either explain the app or similar will be accepted!

Any Help you can feel free to contact me

is it hard or medium?? @abhu-A-J

is it hard or medium?? @abhu-A-J

We'll give points based on the design of the logo!

@ritiksoni00 Progress on this?

Assign this task to me.

Assign this task to me.

Go for it! Make sure to make a PR on appropriate branch!

@ritiksoni00 Progress on this?

sorry for the delay, I was on my rest days! start working from today

hello @abhu-A-J  could you please assign this to me

@abhu-A-J Are you still accepting new logo ideas? (for hacktoberfest)

No.
But if you want to contribute some custom logos, feel free to give a PR to:

Doc2Pen
Awesome Portfolio Websites


[Bulk Messaging] Limited to messaging 10-12 users in a minute ?!

I'm developing a notifier, and I need to message 500 users, for example.
By the Reddit API limitations, it means that I can do it in 9 minutes (60 messages in 1 minute), but after testing it, I concluded that only 10 - 12 users can be messaged in 1 minute, and then an exception is thrown.
Is there any limitations in bulk messaging users, provided by this wrapper ?
Can someone clarify this for me ?
Thanks :)

What exception is thrown when this happens?  I'm not aware of any limitations that would prevent ~60 messages/min from going through, provided that you're not performing any other queries that would go against the API speed limit.

What exception is thrown when this happens?  I'm not aware of any limitations that would prevent ~60 messages/min from going through, provided that you're not performing any other queries that would go against the API speed limit.

Rate Limit Exception is thrown.
I made sure that I'm not performing any queries related to the Reddit API

Rate Limit Exception is thrown.
I made sure that I'm not performing any queries related to the Reddit API

How old is the account you're using?  Does it have a decent amount of both comment and post karma?  Reddit has been known to impose tighter rate limits in certain circumstances, particularly with newer and less-established accounts.


There should be a feature to add borders to an image

Suppose I want to add frames or borders to my image, there is no option to do so in your app. I really love your app, but it'd go a long way if you'd add this basic feature.
🙂

You can use crop resize mode for this, set preset more than 100, and borders will appear


[Feature Request] Add support for deploying WinSetView through Chocolatey

Basically, Chocolatey is apt-get for Windows. There are over 10 000 packages for installerd and portable software (and Chocolatey makes sure they don't bloat you environmental variables, and also keeps portable software organized!). It has support for auto-maintained/auto-updated packages and it's extensively documented, and supposed to be very streamlined for handling (pointing to the proper files, updating hashes, versioning etc.) releases from GitHub.
While anyone can submit and maintain packages for whatever software they'd like, sadly I won't be ready to deal with packages for quite some time, otherwise I would do it myself and then offer you ownership of the working self-maitained package, as it's always better if a package is maintained by the devs themselves.
Still, since WinSetView is in active development, perhaps this could be a little enhancement for a future release!
Thanks!

You make a strong case. I'll look into it and see what's involved.

You make a strong case. I'll look into it and see what's involved.

That's always a good thing to read :)
I think you'll find everything you'll need here:

The Chocolatey Automatic Package Updater Module repo;
The documentation pages that readme.md should be pointing to, on Chocolatey and the original wiki;
And the linked video-tutorial.

Please note that even if readme.md has a broken link and a warning/disclaimer on top, this fork (from the user created original, and endorsed by Chocolatey) has been made in 2022, since its owner would/could not maintain it anymore.
As of March 2024, the Chocolatey Team released the new 1.0.0 version and announced the process of deprecating the original (and still functional) tool.
Thank you again!

Today I perused some of the documentation and it all looks more involved than I'd hoped, but isn't that always the case with something one has never done before? I haven't given up, but now I'm more intrigued by what you said earlier:
"While anyone can submit and maintain packages for whatever software they'd like, sadly I won't be ready to deal with packages for quite some time, otherwise I would do it myself and then offer you ownership of the working self-maintained package"
That would be ideal for me. Does "I won't be ready to deal with packages for quite some time" mean you're too busy or is there a technical issue? I totally understand being too busy. I just want to understand.

Well, busy, but not strictly: I'm currently dealing with a quite big data loss. I just finished undeleting files and extracting what I could from JSONs and HTMLs, but now I have a few dozen versions of a SQLite file that I need to tackle. Except that I need to learn SQLite from scratch (seems doable, though).
After that, I have plans for doing this Chocolatey thing for a handful of software, some of them abandoned, and I would do it all at once. Still, I'm fairly familiarized with Chocolatey, so perhaps it'll come easier to me. I guess I'll consider it as a side-project, something to do when taking a break from the SQLites!
It's possible I get this done in one go, but I also may give up (for now) if it gets too heavy on PowerShell, so I'll try to set this as a goal for one week or so, then I'll check back here!

Sounds good. Thanks!

Status update: got quite busy here, didn't work on it at all. But apparently it seems that I'm the only one asking for this feature, so no worries.
I will update this comment by the end of the month!

No problem. Thanks for the update!

What about winget? It comes with windows.

I recommend opening a new issue. I'll mark it as an enhancement and may look at it someday, but it would be nice to get some help to create a WinGet package.
The last time this came up, a user created a WinGet package for WinSetView following the guidelines for a portable app and there was an issue. Those guidelines apparently required the use of a symlink instead of a shortcut. But a symlink won't work correctly from a Cmd or PowerShell prompt. It works fine when double-clicked or executed via the Run menu. If this is accurate, I think it was a very silly idea for the powers that be to insist on a symlink. If they still have that requirement, then a WinGet package for WinSetView (and any portable app you wish to run from the command line) will be at least partially broken.

The WinSetView repository now includes an installer, WinSetView-Setup.exe, created with Inno Setup. This may now be used to create a reliable Chocolatey package.

Hoping someone will come along and make a Chocolatey package that uses WinSetView-Setup.exe...

@fabiorzfreitas Are you still using Chocolatey? Since WinSetView now includes WinSetView-Setup.exe it should be easy for you to create a package.

@ekk88d Thanks! It would be great if you can create the package. Just let me know when the package is public and I'll add a link to the readme. Regarding auto-updating, if that's all on the Chocolatey side, that's great. If it involves adding components to the WinSetView repo, I'd rather not at this time.

@ekk88d Any update?


Kononovk dev doxygen

In this PR changed doxygen documentation template to doxygen awesome

Codecov Report

Merging #60 (9ae5b98) into main (44b8dba) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   96.51%   96.51%
=======================================
  Files          21       21
  Lines         660      660
=======================================
  Hits          637      637
  Misses         23       23

Impacted Files
Coverage Δ

include/yaclib/task.hpp
100.00% <0.00%> (ø)

src/executor/inline.cpp
100.00% <0.00%> (ø)

include/yaclib/util/result.hpp
92.68% <0.00%> (ø)

include/yaclib/executor/executor.hpp
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Add link to github profile with the names.

It will help to identify the person as well as help in #27

The idea is good but I forgot to add this at the start
and now most have added their entries

Now people will have 2 Pull requests.


added ZipFile instead of using raw p7zip_jll, still not completely re…

…moved.
All tests pass now.

We switched to ZipArchives.jl in https://github.com/ASML-Labs/PPTX.jl/pull/31, so closing this PR


Bug 1177003 - Change forum links to point to new forum

This looks good, impressive work, thanks @wagnerand !
r+


AuditManager is not instantiated automatically (v. 2.0)

Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

When using it as a Symfony Bundle, AuditManager has to be created manually or injected into some used service, otherwise it's not constructed and therefore no event listeners are registered.

version 2.0 ist in development. please use 1.x.


v-model on input field --- moves cursor to end of input field

Steps to reproduce
Attach v-model to an input field like this:
<md-input-container>
    <label>Username</label>
    <md-input v-model="username"></md-input>
</md-input-container>

data() {
    username: ''
}

Which browser?

Latest version of Chrome
IE 11
NOT A PROBLEM IN: Latest Firefox

What is expected?
What is actually happening?
When you click anywhere inside of a string inside an input field, after you input one character, the blinking cursor goes to the end of the string.
This happens if the input field is attached with v-model, and only in Chrome and at least IE 11. This does not happen in the latest Firefox.
Reproduction Link
Try for yourself in Chrome or IE 11:
http://codepen.io/anon/pen/NdaOKE
Enter some text in the username field (i.e. "testing"). Then click anywhere inside the text, and try typing. After inputting one character, the blinking cursor will go to the end of the string.

This looks like a duplicate of #367.


New GitHub PR review feature - Hovering on reactions is semi-broken

Adding a reaction for the first time works:

Hovering over an existing reaction

@DrewML I don't experience this. Possible A/B test?

@hkdobrev It's on a private repo. If you open up a sample PR, I can leave review feedback and we can use that as a test-case for this issue?

@DrewML I'm sorry. At the time of my comment I wasn't familiar with the new GitHub features. (They sound awesome BTW!). So I've read the title in a different way. I see what you mean now.

@DrewML I think GitHub has patched that now. Could you confirm it's fixed for you as well?

Yeah, it's fixed in GitHub. Closing


A question about the generated data

Thanks for your great job.

Hi @zxz0928, you didn't necessarily do something wrong. Indeed, writing two sentences that mean the exact same thing is what models have most difficulty with (as opposed to writing things that are somewhat similar or on completely different topics) - we have some more discussion of this in the final version of the paper. What we did for our experiments was to filter out examples where text_a == text_b (as those provide no signal to a biencoder architecture anyway).
You can also look at some of our publicly available datasets to compare the quality of sentences pairs in those datasets with the ones you've created.

Thank you very much for your answer.It really helps a lot.


I noticed that my go1.23.1 app panics when run with GODEBUG="sbrk=1" and tracked it down to net/netip, specifically this line. I saw https://github.com/golang/go/issues/69458 and thought this issue might already be fixed so I rebuilt with go master but saw the same issue. Any app that imports net/netip will crash when run with GODEBUG="sbrk=1"
What did you see happen?
$ cat main.go
package main

import "unique"

type addrDetail struct {
        isV6 bool
}

var (
        z6noz = unique.Make(addrDetail{isV6: true})
)

func main() {
}
$ go build main.go; GODEBUG="sbrk=1" ./main

fatal error: getWeakHandle on invalid pointer

goroutine 1 gp=0x10b290030 m=0 mp=0x104720320 [running, locked to thread]:
runtime.throw({0x10468f442?, 0x10462a4dc?})
        /Users/cbrasic/repos/goroot/src/runtime/panic.go:1069 +0x38 fp=0x1400008cc20 sp=0x1400008cbf0 pc=0x10467f038
runtime.getWeakHandle(0x10b2d5e58)
        /Users/cbrasic/repos/goroot/src/runtime/mheap.go:2157 +0x138 fp=0x1400008cc70 sp=0x1400008cc20 pc=0x104642d58
runtime.getOrAddWeakHandle(0x10b2d5e58)
        /Users/cbrasic/repos/goroot/src/runtime/mheap.go:2098 +0x20 fp=0x1400008ccc0 sp=0x1400008cc70 pc=0x104642a50
internal/weak.runtime_registerWeakPointer(0x1400008cd01?)
        /Users/cbrasic/repos/goroot/src/runtime/mheap.go:2045 +0x1c fp=0x1400008cce0 sp=0x1400008ccc0 pc=0x10467e95c
internal/weak.Make[...](0x10b2d5e58?)
        /Users/cbrasic/repos/goroot/src/internal/weak/pointer.go:62 +0x74 fp=0x1400008cd00 sp=0x1400008cce0 pc=0x10468acb4
unique.Make[...].func1()
        /Users/cbrasic/repos/goroot/src/unique/handle.go:64 +0xb4 fp=0x1400008cd50 sp=0x1400008cd00 pc=0x10468abe4
unique.Make[...]({0x0})
        /Users/cbrasic/repos/goroot/src/unique/handle.go:74 +0x144 fp=0x1400008cdf0 sp=0x1400008cd50 pc=0x10468aab4
main.init()
        /Users/cbrasic/repos/test/main.go:10 +0x28 fp=0x1400008ce10 sp=0x1400008cdf0 pc=0x104689828
runtime.doInit1(0x10471c350)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:7303 +0xd4 fp=0x1400008cf40 sp=0x1400008ce10 pc=0x10465fd44
runtime.doInit(...)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:7270
runtime.main()
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:254 +0x340 fp=0x1400008cfd0 sp=0x1400008cf40 pc=0x104650790
runtime.goexit({})
        /Users/cbrasic/repos/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400008cfd0 sp=0x1400008cfd0 pc=0x1046847e4

goroutine 17 gp=0x10b2d52f8 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:435 +0xc8 fp=0x1400002e790 sp=0x1400002e770 pc=0x10467f118
runtime.goparkunlock(...)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:441
runtime.forcegchelper()
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:348 +0xb8 fp=0x1400002e7d0 sp=0x1400002e790 pc=0x104650a28
runtime.goexit({})
        /Users/cbrasic/repos/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400002e7d0 sp=0x1400002e7d0 pc=0x1046847e4
created by runtime.init.7 in goroutine 1
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:336 +0x24

goroutine 18 gp=0x10b2d5548 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:435 +0xc8 fp=0x1400002ef60 sp=0x1400002ef40 pc=0x10467f118
runtime.goparkunlock(...)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:441
runtime.bgsweep(0x10b2d54c0)
        /Users/cbrasic/repos/goroot/src/runtime/mgcsweep.go:277 +0xa0 fp=0x1400002efb0 sp=0x1400002ef60 pc=0x10463cf10
runtime.gcenable.gowrap1()
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:203 +0x28 fp=0x1400002efd0 sp=0x1400002efb0 pc=0x1046310f8
runtime.goexit({})
        /Users/cbrasic/repos/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400002efd0 sp=0x1400002efd0 pc=0x1046847e4
created by runtime.gcenable in goroutine 1
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:203 +0x6c

goroutine 19 gp=0x10b2d5728 m=nil [GC scavenge wait]:
runtime.gopark(0x10b2d54c0?, 0x1046a8e88?, 0x1?, 0x0?, 0x10b2d5728?)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:435 +0xc8 fp=0x1400002f760 sp=0x1400002f740 pc=0x10467f118
runtime.goparkunlock(...)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:441
runtime.(*scavengerState).park(0x10471fba0)
        /Users/cbrasic/repos/goroot/src/runtime/mgcscavenge.go:425 +0x5c fp=0x1400002f790 sp=0x1400002f760 pc=0x10463a9ac
runtime.bgscavenge(0x10b2d54c0)
        /Users/cbrasic/repos/goroot/src/runtime/mgcscavenge.go:653 +0x44 fp=0x1400002f7b0 sp=0x1400002f790 pc=0x10463aee4
runtime.gcenable.gowrap2()
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:204 +0x28 fp=0x1400002f7d0 sp=0x1400002f7b0 pc=0x104631098
runtime.goexit({})
        /Users/cbrasic/repos/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400002f7d0 sp=0x1400002f7d0 pc=0x1046847e4
created by runtime.gcenable in goroutine 1
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:204 +0xac

goroutine 20 gp=0x10b2d5b40 m=nil [chan receive]:
runtime.gopark(0x14000032738?, 0x1046505c4?, 0x38?, 0x27?, 0x0?)
        /Users/cbrasic/repos/goroot/src/runtime/proc.go:435 +0xc8 fp=0x140000326f0 sp=0x140000326d0 pc=0x10467f118
runtime.chanrecv(0x10b2d5ac0, 0x0, 0x1)
        /Users/cbrasic/repos/goroot/src/runtime/chan.go:640 +0x408 fp=0x14000032770 sp=0x140000326f0 pc=0x104624c88
runtime.chanrecv1(0x104720320?, 0x104650850?)
        /Users/cbrasic/repos/goroot/src/runtime/chan.go:490 +0x14 fp=0x140000327a0 sp=0x14000032770 pc=0x104624874
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:1731
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:1734 +0x3c fp=0x140000327d0 sp=0x140000327a0 pc=0x104633f8c
runtime.goexit({})
        /Users/cbrasic/repos/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000327d0 sp=0x140000327d0 pc=0x1046847e4
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        /Users/cbrasic/repos/goroot/src/runtime/mgc.go:1729 +0xa0

What did you expect to see?
no crash

Related Issues and Documentation

unique: panic for Make(struct{}{}) #69458 (closed)
unique: Fatal errors (found bad pointer in Go heap, found pointer to free object) and memory corruption #69643
unique: fatal error: found pointer to free object #69210 (closed)
internal/concurrent: hashtriemap uses abi.NoEscape cause incorrect inlining decision #68511 (closed)
runtime: segmentation fault on linux/arm when GODEBUG=sbrk=1 #33159 (closed)
runtime: SIGBUS in initItab (write to readonly ITab.Fun) on unchecked type assertion with generics #65962 (closed)
fatal error: unexpected signal during runtime execution #49543 (closed)
cmd/compile: unreachable panic with GODEBUG=gotypesalias=1 #65778 (closed)
runtime: GODEBUG=efence=1 causes panic during build on M1 #44993
runtime: fatal error: found bad pointer in Go heap #29362 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

CC @mknyszek @golang/runtime

FWIW, I think GODEBUG=sbrk=1 has similar issues with finalizers, because it doesn't set up any runtime metadata. So, using os.File will cause similar issues.
This debug mode is a debugging tool to rule out the memory allocator when debugging super subtle issues with the runtime. It's not really meant to be used by developers using Go, only developers of Go. But even then, it's not used very frequently at all (I can't remember the last time someone used it to debug an isue). So just to set expectations, I don't think this is going to be fixed any time soon; it's not particularly high priority.

Related Issues and Documentation

unique: panic for Make(struct{}{}) #69458 (closed)
unique: Fatal errors (found bad pointer in Go heap, found pointer to free object) and memory corruption #69643
unique: fatal error: found pointer to free object #69210 (closed)
internal/concurrent: hashtriemap uses abi.NoEscape cause incorrect inlining decision #68511 (closed)
runtime: segmentation fault on linux/arm when GODEBUG=sbrk=1 #33159 (closed)
runtime: SIGBUS in initItab (write to readonly ITab.Fun) on unchecked type assertion with generics #65962 (closed)
fatal error: unexpected signal during runtime execution #49543 (closed)
cmd/compile: unreachable panic with GODEBUG=gotypesalias=1 #65778 (closed)
runtime: GODEBUG=efence=1 causes panic during build on M1 #44993
runtime: fatal error: found bad pointer in Go heap #29362 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)


Add the option to have events inside the app independent of the google calendar.

Is your feature request related to a problem? Please describe.
The google calendar does not work (already reported)
Describe the solution you'd like
Is good to have the option to set the events from the google calendar, but in my case the google calendar does not sync whit the app, also it could be good to have the option to add events inside the app without needing an external calendar app.
Describe alternatives you've considered
having another tab on the app that function as a calendar and that can add events inside the app, needing no connection to other apps.
Additional context
It will make the app less defendant on external sources that may have issues in the future.

The UI would be too complex for the app to be able to setup all possible events types. Google calender does a better job.


 Are there objections to stop them instead? That way we would have a chance to trap the SIGTERM signal and run a shutdown script in the container.
@frodenas do you remeber why this was originally coded as kill?
cc @drnic

I believe I had some problems when I tried to just stop the container instead of killing it. It has been a long time since I implemented this, but IIRC there were two issues:

At that time (Docker didn't even reach v1) sending a stop signal didn't work will all containers, they didn't stop and became somewhat of zombie's processes.
stop had a 30 secs timeout, this was not enough time to deal with the service broker's 60 sec timeout, so the CC request was killed (and returned an error to the user) but the container was deleted.

Again, this happened a long time ago. Maybe now this has been fixed, and sending a stop signal will work seamlessly.

Currently stop has a default timeout of 10 seconds and after that SIGKILL is sent. From tests using stop in our systems I have not seen any issues.
I assume the issues you encountered are no longer an issue and it is safe to merge.


Event-driven 2D GUI components

After evaluating at various levels of detail available options for 2D on 3D GUI frameworks (e.g., Swing, TWL, nifty-gui, and Thingie), and based on feedback from belga, it seems that our approach of creating a home-grown 2D gui toolkit is the best option.
The base functionality currently does exist, with org.terasology.rendering.gui.framework.UIDisplayElement as its top-level component.
The problem is that this widget system is neither even-driven nor especially modular. This has led to tight coupling between model-level behavior (e.g., Inventory) and display behavior (e.g., UIInventory). The resulting system is brittle and difficult to change. The problem will only get worse as we continue to build.
I've done some work with MVC approaches and think the same treatment here, in a lightweight way, could offer the project big advantages as we begin to build out the complexity of the 2D UI.
This system should support loose coupling between model-level objects (such as Inventory) and GUI elements (such as InventoryView), such that overall behavior can be directed through a controller.

Good stuff! Looking forward to seeing more of it. Would it be worth prefixing the class names with "UI" or so to differentiate against possible name clashes vs Entity System classes (components and some events) and maybe even a world event system?

Awesome! The GUI system was just a first (a bit rushed) implementation as a proof of concept using quads and OpenGL.

Making progress here, but need help. This is where I'm at:
449a203
I'm trying to render the background image to the main window, then have it scale as the window is resized.
It's coming out upside-down and in the upper-right corner. It looks like I need to apply a transform, and then apply a transform every time the window size changes. No?
I'm using this as a model system for my new Component system. Grateful if someone could give me a pointer on how to get the image to display correctly.
Thanks.

Paging @begla to here tomorrow then, or maybe @small-jeeper :-)

Yep – you'll have to do a bit more to do the 2D rendering work. I've created a base class for that to do the work.
https://github.com/MovingBlocks/Terasology/blob/develop/src/org/terasology/rendering/gui/framework/UIDisplayRenderer.java

@begla - much appreciated.


Use bravado-core methods for flattening specs

bravado-core v4.8.0+ defined Swagger spec flattening feature (PR #177).
The core logic used by bravado-core was partially extracted from pyramid_swagger and partially improved.
The goal of this PR is to start using the flattening feature defined into bravado-core by removing a big quantity of code related to pure swagger specs handling (which should not be the main focus of this library).
Approving this change we can improve separation of concerns between:

pyramid_swagger: handling pyramid related interactions
bravado-core: core swagger handling

Updated tests to use spec.flattened_specs instead of resolve_refs
Added new test defined into PR #209 to ensure that this PR already covers the reported bug.

Coverage decreased (-0.07%) to 99.526% when pulling a0c6c8ec959facfc8a28ec029e5d25bab21f2370 on macisamuele:maci-use-bravado_core-methods-for-flattening-specs into dd68221a9a634997de67e66d09c7aab809625abd on striglia:master.

Coverage decreased (-0.06%) to 99.527% when pulling 52e99123e555cd091e5ea0eb7580971f6edcfc03 on macisamuele:maci-use-bravado_core-methods-for-flattening-specs into dd68221a9a634997de67e66d09c7aab809625abd on striglia:master.

Sure thing
Il 30 ago 2017 7:48 PM, "Scott Triglia"<EMAIL_ADDRESS>ha
scritto:

@striglia commented on this pull request.
In pyramid_swagger/api.py
https://github.com/striglia/pyramid_swagger/pull/214#discussion_r136141850
:

@@ -102,298 +102,6 @@ def view_for_api_declaration(request):
return view_for_api_declaration

-def _low_level_translate(url, is_marshaling=True):
I very much 👍 removal of this kind of low-level detail from
pyramid-swagger. Can you add an entry in the Changelog for this
improvement? I usually just make a new "in development" heading to keep
track of improvements since the last release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/striglia/pyramid_swagger/pull/214#pullrequestreview-59639554,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGai13Nk4fsqFqbkAO6_SmzWEp48KO4mks5sdaBlgaJpZM4PGjuQ
.

Coverage decreased (-0.06%) to 99.527% when pulling 1f353f57b01d683ca8fc06ce21127c915d472096 on macisamuele:maci-use-bravado_core-methods-for-flattening-specs into dd68221a9a634997de67e66d09c7aab809625abd on striglia:master.

Thanks Samuele!


x2go installation from CC

#708

Done.

Successfully repeated the installation couple of times:

Fixed in master

Repeated the steps in prod.
Fixed


Modify MD88 IAS knob dataref

Currently chosen dataref does change the target speed, but does not rotate the cockpit knob, which messes up the immersion. Changing to this dataref still changes the at_target_speed dataref, but also rotates the cockpit knob.

Sorry about the earlier version of this; I submitted from the wrong account.

np - and thx for your contributions


Who wants to take over this project?

As you might have noticed, I don't have the time or energy to really take care of NixOS-WSL. The project seems to have some users, so the best way forward would probably be to hand it over to someone who actively maintains it. Any suggestions or volunteers?

I don't think I have enough time to help out with the project but when you find some bugs in nixpkgs you can ping me to get a merge.

First of all, thank you for making this work in the first place! i am using NixOS in WSL on a daily basis and have made some improvements in my own nix config, which i recently integrated into my fork of this repo. It would be sad to see the project die, so i'd be willing to adopt it

I'd like to throw my hat into the ring and offer to help @nzbr and collaborate. Could we apply to get this moved to the nix-community organisation

gettting this into nixos-community would be great. do you happen to know who we'd have to talk to about that?

for example @mic92

Let me know if you need an invite to nix-community. Than you can move the project yourself.

that would be fantastic @Mic92 I think @nzbr and I want to collaborate on this project

I invited both @nzbr and @Trundle

I think moving this project to nix-community is a great step forward. Thank you @nzbr, @b3vis and @Mic92.

@Trundle who should I give commit rights?

@Mic92: Considering, that @Trundle has not responded to this thread for more than a month, can you grant maintainer permissions to me and @grantbevis? Judging by the comments above, this seems to be @Trundle's intention and would enable us to continue development on this project

Sorry, yes, what @nzbr said.

I’m using nzbrs fork on a couple machines today. Looking forward to this getting a bit more attention, I think WSL is a good first platform for people new to nix.

I’ve been using this fork for work and I’ve had some quirks with DNS but this is due to our corporate VPN interfering with DNS settings on my machine. Using the custom kernel I was able to get docker running happily under 21.11 too

will do.

I created a team with access to this repo: https://github.com/orgs/nix-community/teams/nixos-wsl

Thanks @Mic92


Server Graphhopper with different  version then the iOS

Do i need to have Graphhopper in the same version as the GH of iOS?
Right now the server is 9.0 and the iOS app in version 8.2.
This is the error that i am having
2017-08-09 12:10:02.352 graphhopper-ios-sample[4442:3718897] *** Terminating app due to uncaught exception 'JavaLangIllegalStateException', reason: 'Encoding does not match:
Graphhopper config: car|speed_factor=5.0|speed_bits=5|turn_costs=false|version=1
Graph: car|speed_factor=5.0|speed_bits=5|turn_costs=false|version=1,foot|speed_factor=1.0|speed_bits=4|turn_costs=false|version=3, dir:/Users/tnmendes/Library/Developer/CoreSimulator/Devices/D0B97E86-16C8-414D-9621-ECCC904BCF91/data/Containers/Bundle/Application/AB8A70FE-DEB1-4658-B1D9-DC866E7CE616/graphhopper-ios-sample.app/graph-data.osm-gh/'
*** First throw call stack:
(
	0   CoreFoundation                      0x02198ded __exceptionPreprocess + 189
	1   libobjc.A.dylib                     0x01c63d6f objc_exception_throw + 49
	2   graphhopper-ios-sample              0x0012c881 -[GraphHopperStorage loadExisting] + 673
	3   graphhopper-ios-sample              0x0007f3e4 -[GraphHopper load__WithNSString:] + 3604
	4   graphhopper-ios-sample              0x0005b705 -[Directions hopper] + 565
	5   graphhopper-ios-sample              0x0005be95 __19-[Directions route]_block_invoke + 805
	6   libdispatch.dylib                   0x03f0ef05 _dispatch_call_block_and_release + 15
	7   libdispatch.dylib                   0x03f39cc9 _dispatch_client_callout + 14
	8   libdispatch.dylib                   0x03f17ba0 _dispatch_queue_override_invoke + 876
	9   libdispatch.dylib                   0x03f1a33e _dispatch_root_queue_drain + 1162
	10  libdispatch.dylib                   0x03f19e4c _dispatch_worker_thread3 + 138
	11  libsystem_pthread.dylib             0x04298d6e _pthread_wqthread + 1070
	12  libsystem_pthread.dylib             0x0429891a start_wqthread + 34
)
libc++abi.dylib: terminating with uncaught exception of type JavaLangIllegalStateException

Yes, both should be the same version. The error message also suggests this.

Thank you @clns , that was what I thought.

The problem was this line in the code...I just need to remove to work
hopper.setEncodingManagerWith(EncodingManager.init(nsString: "car"))


Update atraci to 0.7.0

After making all changes to the cask:

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

Thank you for the contribution. It was merged directly as f8449c23645b70508a177b40e94ad2693a73318d to keep commit history cleaner. Your contribution is still credited to you.


#36: Adding ES6 style module support

Also adding support for frameworks that override the require() function (like Meteor).
http://docs.sequelizejs.com/manual/tutorial/models-definition.html#import

@ktsashes ? @toxuin ? @RpprRoger ?  I don't mean to be impatient, but if someone could review/merge/release it'd be really great for us.

Thanks @litopia!  I've been waiting on this for awhile now.  Do you know when/if there will be a new release with this included soon?


chore: preparation

-ing~~~

[ ] ts type define
[ ] clarify which part need to be rewritten with rust
lib/svgo -> js
lib/parser、lib/xast、... -> rust

@knoxnoe Thank you, but i don't want to implement cli in JavaScript. I would rather use Rust to implement it.

@knoxnoe If you want to participate in the development of this project, I will update Roadmap in this weekend.

@knoxnoe Thank you, but i don't want to implement cli in JavaScript. I would rather use Rust to implement it.

ok, i will close this PR. And very much looking forward to see your Roadmap!


Please consider updating SDK for iOS

A warning displayed of upgrading SDK for admob.

Done! :+1:


AttributeError: module 'pyglet.window' has no attribute 'get_platform'

I'm trying to using this framework with a new version of pyglet. When I call:
platform = pyglet.window.get_platform()
result a error
AttributeError: module 'pyglet.window' has no attribute 'get_platform'
I found a solution replacing:
platform = pyglet.window.get_platform()
display = pyglet.canvas.get_display()
for just calling:
display = pyglet.canvas.get_display()
I found error also on execute:
self.fps_display = pyglet.clock.ClockDisplay()

Could you please specify the version of pyglet you are using?
And also some more information on the environment? OS and its version, python version.

Could you please specify the version of pyglet you are using?
And also some more information on the environment? OS and its version, python version.

Pyglet 1.5, Python 3.10, Windows 10


ghunt: 2.0.1 -> 2.1.0

Diff: https://github.com/mxrch/ghunt/compare/refs/tags/v2.0.1...v2.1.0
Changelog: https://github.com/mxrch/GHunt/releases/tag/v2.1.0
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages built:

ghunt
ghunt.dist


SCIM2 groups pagination is not implemented

OS, DB, other environment details and versions:
Db2 11.5
Ubuntu 19.10
Primary user store: Default LDAP
Secondary User store: Db2 11.5 - UniqueIdJDBC
Tenant user
email as username
Description
Groups pagination with count and startIndex parameters results in 501 not implemented response.

Pagination is a wrong approach on REST API as HTTP GET is supposed to be stateless.
What we need to implement is to have filtering with relevant criteria.
And there should be maximum records each list should return.
The UI need to implement such that it uses the filtering to search and get only the required limited set of records.
This has been the modern UI practice.
Pagination is an old technique and it is not used any more on any modern UI designs.

Duplicate issue https://github.com/wso2/product-is/issues/9237

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Updated TOC so ASP.NET Core appears as the top item

Internal Review
Minor change.  Fixed top item text with a change from "ASP.NET documentation" to "ASP.NET Core documentation".
Fixes #399

@Rick-Anderson, just a heads up for this one in AspNetDocs that can go live when there is time.  Thanks.


Adds Tracing.setNoop to disable tracing at runtime

If you are in a situation where you need to turn off tracing at runtime,
invoke Tracing.setNoop(true). This will turn any new spans into "noop"
spans, and drop any data until Tracing.setNoop(false) is invoked.
Fixes #435

This is pending review

Looks good. I like that it circumvents sampling too!

thx for having a look


Futures api example：authenticationError

Screenshots and code snippets
import asyncio
from kraken.futures import FuturesAsyncClient

async def main():
    client = FuturesAsyncClient(key=key, secret=secret)
    try:
        response = await client.request("GET", "/derivatives/api/v3/accounts")
        print(response)
    finally:
        await client.async_close()

asyncio.run(main())

err:
File "/Users/rubioc/PyProject/pykraken/myenv/lib/python3.13/site-packages/kraken/base_api/init.py", line 923, in __check_response_data
return self._err_handler.check(data)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Users/rubioc/PyProject/pykraken/myenv/lib/python3.13/site-packages/kraken/base_api/init.py", line 130, in check
raise exception(data)
kraken.exceptions.KrakenAuthenticationError: Credentials are invalid.
Details: {'result': 'error', 'error': 'authenticationError', 'serverTime': '2024-11-15T10:06:57.631Z'}
**Environment (please complete the following information)

OS: MacOs 15
Python3.13.0

It is normal to use the spot client, but the display error of the futures client, I did not do anything else, just use the example provided by the documentatio

It says auth error, did you ckecked to pass the correct fututes credentials?

Yes, I can use api and sec to get the spot balance

It says auth error, did you ckecked to pass the correct fututes credentials?

I will regenerate a token and if it passes, I will close it. Sorry to bother you


1st project member user is assigned gives them owner menu items and allow them to use them

v0.20.1
Steps:

In Chrome log in as you and authenticate
Create project named Project1 and add rancherdev as a member
In Firefox log in as rancherdev
Go to manage projects and click on menu for Project1

Results:
Menu items reflect an owner instead of member.  It also allows me to deactivate and access the edit screen.
Expected:
Menu should reflect member not owner
Comments:
rancherdev never had a default project (because they were given project1 before logging in).  If I add other projects in admin and add rancherdev as member it seems to work fine.  It's just that first project.

0.20.4
Failed - first project still let's member have owner access

v0.23.0-rc5
Verified Fixed


Cannot Get Billing to Show During Install

I can't seem to get billing to show during install. I have:

"ohmybrew/laravel-shopify": "^10.2"
SHOPIFY_BILLING_ENABLED=true
Laravel 6 w/ Valet
PHP 7.3.6

I've used this exact SQL to create a plan:
INSERT INTO `plans` (`type`, `name`, `price`, `capped_amount`, `terms`, `trial_days`, `test`, `on_install`) VALUES (1, 'Default Plan', 30.00, 30.00, 'Demo terms', 7, false, true);
I'm using the provided Shop model, no extending. I have tried custom and public apps thinking I can't test billing on a public app without approval. No luck.
Seems like each shop is created without a plan_id, despite having a plan with on_install set to true. This is probably something I'm overlooking, any help is greatly appreciated.

Found the issue, make sure you add the billable middleware to your routes!


Adding Open MPI and mpi4py to project.

I have added a script (./scripts/setup.sh) that builds Open MPI and mpi4py as dependencies. It provides a simpiler setup procedure for anybody that would like to contribute to this project. It has only been tested for CentOS 7.3.
Another benefit of keeping an Open MPI instalation local to this project, is that it allows me modify the open mpi source code to improve hardware utilization for these algorithms, while not conflicting with the MPI implementation that is currently installed on my system.
An aditional script ./scripts/run.sh and a file ./scripts/nodes.txt have been added. The nodes.txt file allows me to specify the nodes that I would like to use for my simulation. The run.sh script provides a simplier interface to run the programs on my multi-node envioment:
./run.sh $(num processes) $(algorithm)
The README.md has not been updated but I can if these changes are approved.

@Yiltan the updates look great! If you can also update the README that would be greatly appreciated


chore(dependencies): Update dependency semantic-release to v23

This PR contains the following updates:

Package
Type
Update
Change

semantic-release
devDependencies
major
21.1.2 -> 23.0.2

Release Notes

semantic-release/semantic-release
v23.0.2
Compare Source
Bug Fixes

deps: update dependency marked to v12 (#3176) (38105f5)

v23.0.1
Compare Source
Bug Fixes

deps: update dependency marked-terminal to v7 (9faded8)

v23.0.0
Compare Source
Bug Fixes

deps: update dependency cosmiconfig to v9 (#3105) (07dde04)
deps: update dependency marked to v11 (#3079) (6d2a6f1)
deps: upgraded to the latest version of env-ci (0d0ed9d)
use one note reference per tag to prevent conflicts (#2085) (020ea7d)

Features

node-versions: dropped support for node v18 and raised the minimum for v20 (2904832), closes /github.com/semantic-release/gitlab/pull/647#discussion_r1423131205

BREAKING CHANGES

deps: woodpecker ci users need to upgrade to v1.0.0 or higher to remain supported. see
https://github.com/semantic-release/env-ci/releases/tag/v11.0.0 for more information
node-versions: support for node v18 has been dropped and the minimum for v20 is now v20.8.1

related to https://github.com/semantic-release/semantic-release/discussions/3088

deps: if using release.config.js as the name of your config file, it needs to be moved to a .config/ directory or renamed to .releaserc.js to keep it in the root of the repository. see https://github.com/cosmiconfig/cosmiconfig/releases/tag/v9.0.0 for more detail

v22.0.12
Compare Source
Bug Fixes

Revert "fix(deps): update dependency cosmiconfig to v9" (#3104) (f6f1bf1)

v22.0.11
Compare Source
Bug Fixes

deps: update dependency cosmiconfig to v9 (b38cd2e)

v22.0.10
Compare Source
Bug Fixes

revert updating cosmiconfig to v9 (88efead)

v22.0.9
Compare Source
Bug Fixes

deps: update dependency cosmiconfig to v9 (#3072) (8b0dbd2)

v22.0.8
Compare Source
Bug Fixes

support windows absolute extends (#3062) (0d06f62)

v22.0.7
Compare Source
Bug Fixes

deps: update dependency read-pkg-up to v11 (#3047) (f09e55f)

Features

support extending ESM configuration files (#3036)(6900865)

v22.0.6
Compare Source
Bug Fixes

deps: update dependency figures to v6 (#3033) (305674d)

v22.0.5
Compare Source
Bug Fixes

deps: update dependency env-ci to v10 (#2983) (e759493)

v22.0.4
Compare Source
Bug Fixes

deps: update dependency marked to v9 (#2947) (84f2ee9)

v22.0.3
Compare Source
Bug Fixes

exports: removed the exports definition for the time being (561e2d6), closes #2968. see https://github.com/semantic-release/semantic-release/issues/2978 for more information.

v22.0.2
Compare Source
Bug Fixes

deps: update dependency marked-terminal to v6 (8a7befe)

v22.0.1
Compare Source
Bug Fixes

deps: upgraded release-notes-generator and commit-analyzer plugins to stable versions (041e4f7), closes #2934

v22.0.0
Compare Source
Bug Fixes

deps: updated to the latest beta of the commit analyzer plugin (03a687b)
deps: updated to the latest betas of the commit-analyzer and release-notes-generator plugins (de8e4e0)
deps: upgraded to the latest version of the npm plugin with npm v10 (a23b718)

Features

conventional-changelog-presets: supported new preset format (07a79ea)
defined exports for the package (72ab317)
node-versions: raised the minimum node v20 requirement to v20.6 (e623cc6)
node-versions: raised the minimum required node version to v18.17 and dropped v19 support (b9f294d)
node-versions: raised the minimum supported node version w/in the v20 range to v20.6.1 (b93bef4)

BREAKING CHANGES

node-versions: the minimum supported version for the v20 range of node has been raised slightly to
v20.6.1 to avoid a known node bug
node-versions: the minimum supported node version in the v20 major range is now v20.6
node-versions: node v18.17 is now the minimum supported node version and support for v19 has been dropped
exports prevents access to internal files, but they arent intended for public use anyway
conventional-changelog-presets: the new preset format is a breaking change when compared to the previous preset format. updating to support the new format means that the old preset format is no longer supported. update your preset to the latest version to maintain compatibility. this is also important if you are using a preset outside of the list of official conventional-changelog presets since your preset will need to be updated to export async functions to match the expected preset signature.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


support bulk order

I have a [FEATURE REQUEST]
I try to test market maker strategy on BitMEX.
the nonce is UnixSeconds.
will be rejected after the first order.
may be must support bulk api
https://testnet.bitmex.com/api/explorer/#!/Order/Order_newBulk

I've checked in some Bitmex changes, let me know if they work for you. I use the new api-expires header instead of the api-nonce header.


Add clang-tidy and upgrade clang-format in docker

Add clang-tidy to the sig build image and upgrade clang format to match the version of the other clang tools

Hi @MichaelHudgins Can you please resolve conflicts? Thank you!


Don't trigger superfluous logs

When an http.ResponseWriter calls WriteHeader after calling Write it will log a statement to stderr: 2023/12/29 22:54:08 http: superfluous response.WriteHeader call from github.com/mvrilo/go-redoc.Redoc.Handler.func1 (redoc.go:96).
This is happening because the stdlib http code doesn't want the caller to set the response header after calling Write. This PR moves the call to WriteHeader above the Write call to prevent this log from being generated.

Nice, thanks @grindlemire!


don't let user resize to a size smaller than brain.used()

in brain.resize(), check if the new size is smaller than brain.used()
If it is, stop it from happening and return an error message
depends on #6

Fixed in new release, forgot to make a new branch for it though.


Feature request: polarized gradient in tensorboard embeddings

Currently, default tensorboard color gradient goes from light yellow to dark blue (see screenshot), which works great for highlighting positive values (yellow dots become nearly invisible).
But it doesn't work well for displaying, let's say, sentiment scales (going from -1 to +1). The ability to choose a gradient going from red to blue would be helpful for visualizing polarized scales.

@dsmilkov Thoughts on this feature request?

I have migrated this issue to tensorflow/tensorboard#45 because TensorBoard has migrated to a different repo. Lets continue discussion there - sorry about how this issue is still open.


Running through TOR

Are there any limitations to my node if i choose to run it through TOR?

Ther are two things when behind TOR:

LND RPC (Port 10009) : Not much Mobile wallets or other services that making connection to LND RPC have TOR support (yet). Sometimes its possible you can use bridge thru a local TOR proxy but thats very tricky.

LND Node (Port 9735):  Other nodes that dont have running TOR cannot connect to you. But you should be able to open channels to non-TOR nodes.

This is at least based on my experience with TOR when trying it out. Would love to hear other experiences runnign a node behind TOR.

@tomski174 thats cool seeing better support for TOR inbound connections. I already preparing new LND 0.5 release for the next sd card image - hopefully being ready for next week.

TODO: recheck TOR with new setup

OK TOR is now part of the service section. Install and Deinstall look good on tests. Closing Ticket for now.


qlever project.script not working with pip install .

pip install .

seems to not work properly:
Defaulting to user installation because normal site-packages is not writeable
Processing /home/wf/source/python/qlever-control
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=5111 sha256=1f79a64c282f532143b3ea16551e4698077fd186ce36aa5c306bf6d08822ca26
  Stored in directory: /home/wf/.cache/pip/wheels/07/95/58/79d49197785a6e837569fd3f894d646428d2e272f53582c762
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0

The qlever script is not installed in the PATH and still has to be called manually with full path. As a workaround i created a qlever script in my $HOME/bin directory

updating pip from version 22 to 23 fixed the problem
python -m pip install --upgrade pip
pip --version
pip 23.3.2 from /home/wf/.local/lib/python3.10/site-packages/pip (python 3.10)
python --version
Python 3.10.12


Allow extra query parameters to be specified

The Query class now provides untyped accessors to a dictionary of extra parameters. Those parameters are appended to the query string after all the typed parameters. This allows using query parameters not supported by the current version of the API client.
The subscript operator is provided as an alias to the accessor methods.
Fixes #25.

Note: Travis has been failing for quite some time for an unknown, system-related reason. We'll investigate that, but we first need to release a new version.


feat: map vote

Implements a new behaviour for choosing the map that is to be played. All players that are added to the queue can vote for one of three maps being randomly chosen out of the pool. The map with the most votes is the winner. In case of draw, a random choice is being made. The previously played map is excluded from the map voting options.

Codecov Report

Merging #57 into master will decrease coverage by 0.06%.
The diff coverage is 79.68%.

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage    74.4%   74.33%   -0.07%
==========================================
  Files          76       78       +2
  Lines         875      896      +21
  Branches       51       53       +2
==========================================
+ Hits          651      666      +15
- Misses        202      207       +5
- Partials       22       23       +1

Impacted Files
Coverage Δ

src/app/queue/queue.service.ts
100% <100%> (ø)
:arrow_up:

src/app/queue/queue-events.service.ts
100% <100%> (ø)
:arrow_up:

...queue/map-vote-button/map-vote-button.component.ts
100% <100%> (ø)

...queue/queue-container/queue-container.component.ts
100% <100%> (ø)
:arrow_up:

src/app/queue/map-vote/map-vote.component.ts
100% <100%> (ø)

...c/app/queue/queue-status/queue-status.component.ts
100% <100%> (ø)
:arrow_up:

src/app/queue/queue.actions.ts
100% <100%> (ø)
:arrow_up:

src/app/queue/map-thumbnail.service.ts
23.07% <23.07%> (ø)

src/app/queue/queue.effects.ts
63.51% <83.33%> (+4.05%)
:arrow_up:

src/app/queue/queue.selectors.ts
91.3% <85.71%> (+0.82%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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