Multiple indexes without ssl verification

uv platform:  ubuntu 20
uv version: 0.4.0
Hello, I tell you my case.
I currently work with pipenv as a manager of virtual environments in projects.
In my company there is a pypi proxy and other indexes that the different areas use to upload their libraries.
With pipenv I can configure the indexes where to search for the project's libraries and disable ssl validation, as follows.
[pipenv]
install_search_all_sources = true

[[source]]
url = "https://nexus.cloudint.com/nexus/repository/pypi-proxy/simple"
verify_ssl = false
name = "pypi-proxy"

[[source]]
url = "https://nexus.cloudint.comr/nexus/repository/infraestructura-pypi/simple"
verify_ssl = false
name = "infra"

[packages]
fastapi = "==0.111.0"
pyownsecurity = {version = "==2.0.6", index = "infra"}
...

When installing the libraries of a project by doing: pipenv install
It is capable of installing them by searching the configured indexes.
Is there something similar in uv, for example configuring pyproject.toml ?
I have tried adding:
[tool.uv]
index-url = "https://nexus.cloudint.com/nexus/repository/pypi-proxy/simple/"
extra-index-url = ["https://nexus.cloudint.com/nexus/repository/infrastructure-pypi/simple/"]

When doing uv add uvicorn for example, it tries to search for the library in the extra-index-url, but not in index-url, which is where it is located, and it gives an ssl validation error. Log extract:
retrying: error sending request for url (https://nexus.cloudint.com/nexus/repository/infraestructura-pypi/simple/uvicorn/)
Caused by: client error (Connect)
Caused by: received fatal alert: HandshakeFailure
error: Request failed after 3 retries
Caused by: error sending request for url (https://nexus.cloudint.com/nexus/repository/infraestructura-pypi/simple/uvicorn/)
Caused by: client error (Connect)
Caused by: received fatal alert: HandshakeFailure
Thanks in advance.

Hi! Do you mind reading these to see if they address your questions?

https://docs.astral.sh/uv/pip/compatibility/#packages-that-exist-on-multiple-indexes
https://docs.astral.sh/uv/reference/settings/#index-strategy
https://docs.astral.sh/uv/configuration/authentication/#custom-ca-certificates

I tried adding to pyproject.toml:
[tool.uv]
allow-insecure-host = ["nexus.cloudint.com"]
but it seems to have no effect and the handshake error continues.

Can you run a command with --show-settings, and see if the setting is being picked up properly?

uv add uvicorn --show-settings
GlobalSettings {
    quiet: false,
    verbose: 0,
    color: Auto,
    native_tls: false,
    concurrency: Concurrency {
        downloads: 50,
        builds: 8,
        installs: 8,
    },
    connectivity: Online,
    show_settings: true,
    preview: Disabled,
    python_preference: Managed,
    python_downloads: Automatic,
    no_progress: false,
}
CacheSettings {
    no_cache: false,
    cache_dir: None,
}
AddSettings {
    locked: false,
    frozen: false,
    no_sync: false,
    packages: [
        "uvicorn",
    ],
    requirements: [],
    dependency_type: Production,
    editable: None,
    extras: [],
    raw_sources: false,
    rev: None,
    tag: None,
    branch: None,
    package: None,
    script: None,
    python: None,
    refresh: None(
        Timestamp(
            SystemTime {
                tv_sec:<PHONE_NUMBER>,
                tv_nsec: 41840693,
            },
        ),
    ),
    settings: ResolverInstallerSettings {
        index_locations: IndexLocations {
            index: None,
            extra_index: [
                Url(
                    VerbatimUrl {
                        url: Url {
                            scheme: "https",
                            cannot_be_a_base: false,
                            username: "",
                            password: None,
                            host: Some(
                                Domain(
                                    "nexus.cloudint.com",
                                ),
                            ),
                            port: None,
                            path: "/nexus/repository/pypi-proxy/simple",
                            query: None,
                            fragment: None,
                        },
                        given: Some(
                            "https://nexus.cloudint.com/nexus/repository/pypi-proxy/simple",
                        ),
                    },
                ),
                Url(
                    VerbatimUrl {
                        url: Url {
                            scheme: "https",
                            cannot_be_a_base: false,
                            username: "",
                            password: None,
                            host: Some(
                                Domain(
                                    "nexus.cloudint.com",
                                ),
                            ),
                            port: None,
                            path: "/nexus/repository/infraestructura-pypi/simple/",
                            query: None,
                            fragment: None,
                        },
                        given: Some(
                            "https://nexus.cloudint.com/nexus/repository/infraestructura-pypi/simple/",
                        ),
                    },
                ),
            ],
            flat_index: [],
            no_index: false,
        },
        index_strategy: FirstIndex,
        keyring_provider: Disabled,
        allow_insecure_host: [
            TrustedHost {
                scheme: Some(
                    "https",
                ),
                host: "nexus.cloudint.com",
                port: None,
            },
        ],
        resolution: Highest,
        prerelease: IfNecessaryOrExplicit,
        config_setting: ConfigSettings(
            {},
        ),
        no_build_isolation: false,
        no_build_isolation_package: [],
        exclude_newer: None,
        link_mode: Hardlink,
        compile_bytecode: false,
        sources: Enabled,
        upgrade: None,
        reinstall: None,
        build_options: BuildOptions {
            no_binary: None,
            no_build: None,
        },
    },
}

Interesting, that all looks correct.

I suspect that your server is misconfigured in some other way... When the certificate is invalid, you tend to get invalid peer certificate?

Do you know what software is being used to run the PyPI proxy? I tried to connect to nexus.cloudint.com but I suppose that it is internal only. A packet capture might help a little but we'd probably need to setup SSLKEYLOGFILE support which I guess uv might not support out of the box.

This is unlikely to be related to the server certificate. Instead, the server does not have any overlap with the client's TLS settings, so it sends a TLS alert saying a handshake is impossible. That is the "received fatal alert: HandshakeFailure" output; the client doesn't get any more information than this.
Suggest running a local tool like sslscan against the host to see what TLS versions and cipher suites it does support.

Thanks for the quick responses.
I don't have the option to run sslscan on the server.
My main doubt is why this error occurs with UV, but not with pipenv, pip, or even curl.

No, you'd run sslscan on the client, against the server.

I'm not allowed to do that.
But I can run curl using the index url:
curl https://nexus.cloudint.com/nexus/repository/pypi-proxy/simple/uvicorn/ -v
I write the log extracts:
...
Connected to nexus.cloudint.com port 443 (#0)
...
SSL connection using TLSv1.2
...
HTTP/1.1 200 OK
...

<title>Links for uvicor</title>
  <meta name="api-version" value="2"/>

Links for uvicor

        uvicorn-0.0.1.tar.gz

....

With pipenv I can disable ssl verification with verify_ssl = false on each index (see configuration in the first comment), is it possible to do this in uv?

You can add each URL to allow-insecure-host. It's not a property of the index because it applies to arbitrary URLs, not just indexes.

Unfortunately that didn't work (see previous comments). Neither in v0.5.1.


Add pid to latest

Please add my adapter ioBroker.envertech-pv to latest.
Replacement for PR #2228 which was closed on error during test
NOTE: adding bluefox does not work dues to insufficient permissions. Please check. Adapter was created directly inside community area
npm owner add bluefox iobroker.pid"
This operation requires a one-time password.
Enter OTP: npm ERR! code EOWNERMUTATE
npm ERR! Failed to update package: "canceled"

npm ERR!      C:\Users\Martin\AppData\Local\npm-cache\_logs\2023-05-07T12_41_53_596Z-debug-0.log

E:\GitHub\mcm1957\create-adapter>

E:\GitHub\mcm1957\create-adapter>

E:\GitHub\mcm1957\create-adapter>npm owner add bluefox iobroker.pid
This operation requires a one-time password.
Enter OTP: 151651
npm ERR! code EOWNERMUTATE
npm ERR! Failed to update package: "403 Forbidden - PUT https://registry.npmjs.org/iobroker.pid/-rev/2-07d5f40ee96290dae59956f9b37fec62 - You do not have permission to publish \"iobroker.pid\". Are you logged in as the correct user?"

npm ERR!      C:\Users\Martin\AppData\Local\npm-cache\_logs\2023-05-07T12_42_09_723Z-debug-0.log

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:E:\GitHub\mcm1957\create-adapter\.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:C:\Users\Martin\.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\Martin\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 11ms
19 timing npm:load:configload Completed in 11ms
20 timing npm:load:mkdirpcache Completed in 1ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm owner add bluefox iobroker.pid
23 verbose argv "owner" "add" "bluefox" "iobroker.pid"
24 timing npm:load:setTitle Completed in 1ms
25 timing config:load:flatten Completed in 2ms
26 timing npm:load:display Completed in 4ms
27 verbose logfile logs-max:10 dir:C:\Users\Martin\AppData\Local\npm-cache\_logs
28 verbose logfile C:\Users\Martin\AppData\Local\npm-cache\_logs\2023-05-07T12_42_09_723Z-debug-0.log
29 timing npm:load:logFile Completed in 11ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 28ms
33 verbose owner add bluefox to iobroker.pid
34 silly logfile start cleaning logs, removing 2 files
35 silly logfile done cleaning log files
36 http fetch GET 200 https://registry.npmjs.org/-/user/org.couchdb.user:bluefox 413ms (cache updated)
37 http fetch GET 200 https://registry.npmjs.org/iobroker.pid 62ms (cache revalidated)
38 http fetch PUT 401 https://registry.npmjs.org/iobroker.pid/-rev/2-07d5f40ee96290dae59956f9b37fec62 850ms
39 http fetch PUT 403 https://registry.npmjs.org/iobroker.pid/-rev/2-07d5f40ee96290dae59956f9b37fec62 710ms
40 timing command:owner Completed in 30839ms
41 verbose stack Error: Failed to update package: "403 Forbidden - PUT https://registry.npmjs.org/iobroker.pid/-rev/2-07d5f40ee96290dae59956f9b37fec62 - You do not have permission to publish \"iobroker.pid\". Are you logged in as the correct user?"
41 verbose stack     at Owner.changeOwners (C:\Program Files\nodejs\node_modules\npm\lib\commands\owner.js:225:9)
41 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:96:5)
41 verbose stack     at async Owner.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\owner.js:77:7)
41 verbose stack     at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:78:5)
42 verbose cwd E:\GitHub\mcm1957\create-adapter
43 verbose Windows_NT 10.0.19045
44 verbose node v16.17.0
45 verbose npm  v8.15.0
46 error code EOWNERMUTATE
47 error Failed to update package: "403 Forbidden - PUT https://registry.npmjs.org/iobroker.pid/-rev/2-07d5f40ee96290dae59956f9b37fec62 - You do not have permission to publish \"iobroker.pid\". Are you logged in as the correct user?"
48 verbose exit 1
49 timing npm Completed in 30902ms
50 verbose code 1
51 error A complete log of this run can be found in:
51 error     C:\Users\Martin\AppData\Local\npm-cache\_logs\2023-05-07T12_42_09_723Z-debug-0.log

RE-CHECK!

Automated adapter checker
ioBroker.pid

[ ] :heavy_exclamation_mark: [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.pid
[ ] :eyes: [W171] "common.title" is deprecated in io-package.json
[ ] :eyes: [W400] Cannot find "pid" in latest repository

Add comment "RE-CHECK!" to start check anew

RE-CHECK!

@Apollon77
Please fix access for Bluefox. I do not have sufficient rights

RE-CHECK!

RE-CHECK!

@mcm1957
This adapter has been released to latest repository and should be visible within 24h maximum.
Please create a thread at https://forum.iobroker.net/category/91/tester titled like "Test Adapter " to collect some user feedback and provide a link to this topic when requesting addition to stable repository later.
Note: If an other testing topic already exists, ist OK to continue using this topic too.


unable to find valid certification path to requested target : How to disable SSL in secor for S3 uplaod

Hi @HenryCaiHaiying
I am finally able to test sector against AWS S3 and it is able to move kafak messages to S3 buckets.
Next i am trying to test sector against Ceph S3 ( which is S3 compliant object storage ), the S3 endpoint that i have for Ceph are not HTTPS ( AWS SDK by default uses SSL, but Hadoop s3a can toggle that to true / false using this parameter fs.s3a.connection.ssl.enabled . Details here
In secor how can i turn off SSL such that the S3Uploader should not try to reach https Ceph S3 endpoint. I can see that you have closed the issue    #580  , can you please share the solution how to turn it off for non AWS S3 storage systems like Ceph S3 / others.
Thanks
2020-06-24 12:19:40,343 [Thread-3] (com.pinterest.secor.uploader.Uploader) INFO  uploading topic india partition 0
2020-06-24 12:19:40,344 [Thread-3] (com.pinterest.secor.common.FileRegistry) INFO  Deleting writer for path /mnt/secor_data/message_logs/partition/1_12/india/offset=0/1_0_00000000000000000005
2020-06-24 12:19:40,347 [Thread-3] (com.pinterest.secor.io.impl.SequenceFileReaderWriterFactory) INFO  Closing sequence file writer: /mnt/secor_data/message_logs/partition/1_12/india/offset=0/1_0_00000000000000000005
2020-06-24 12:19:40,363 [Thread-3] (com.pinterest.secor.uploader.S3UploadManager) INFO  uploading file /mnt/secor_data/message_logs/partition/1_12/india/offset=0/1_0_00000000000000000005 to s3://my-kafka-backups-ks/raw_logs/india/offset=0/1_0_00000000000000000005 with no encryption
2020-06-24 12:19:40,868 [s3-transfer-manager-worker-1] (com.amazonaws.http.apache.utils.ApacheUtils) WARN  NoSuchMethodException was thrown when disabling normalizeUri. This indicates you are using an old version (< 4.5.8) of Apache http client. It is recommended to use http client version >= 4.5.9 to avoid the breaking change introduced in apache client 4.5.7 and the latency in exception handling. See https://github.com/aws/aws-sdk-java/issues/1919 for more information
2020-06-24 12:19:42,590 [Thread-3] (com.pinterest.secor.consumer.Consumer) ERROR Thread failed
java.lang.RuntimeException: Failed to apply upload policy
	at com.pinterest.secor.consumer.Consumer.checkUploadPolicy(Consumer.java:197)
	at com.pinterest.secor.consumer.Consumer.run(Consumer.java:178)
Caused by: com.amazonaws.SdkClientException: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1207)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1153)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:802)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:770)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:744)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:704)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:686)
	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:550)
	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:530)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5062)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5008)
	at com.amazonaws.services.s3.AmazonS3Client.access$300(AmazonS3Client.java:394)
	at com.amazonaws.services.s3.AmazonS3Client$PutObjectStrategy.invokeServiceCall(AmazonS3Client.java:5950)
	at com.amazonaws.services.s3.AmazonS3Client.uploadObject(AmazonS3Client.java:1812)
	at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1772)
	at com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInOneChunk(UploadCallable.java:168)
	at com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:148)
	at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:115)
	at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:45)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:198)

@ksingh7 Is this issue resolved?


Add Azure ManifestWork support

Support Azure Cloud Provider credential via ManifestWork
Include an AWS quickstart DRAFT
Add Azure DiskSizeGB for 120GB
Make sure we process the ProviderSecret when Configuration: False
for Azure only
Validated that Azure HypershiftDeployment was successful with ManifestWork

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>

Issue reference: https://github.com/stolostron/backlog/issues/20477

ci/prow/sonar

/cc @ianzhang366 @zhujian7


ENG-1501 Manage Deposits Decimals

The Manage Deposits modal was only showing two decimal places.
With the fix it shows all decimal places

Looks good!


Better readme

I fail to understand what that fork is for. Is that for the native ports in gray area such as reverse enginered and/or leaked codes? Is it a 3rd party repo for Luxtorpeda or needs to be installed separately? A more explanatory readme would be better.

@Jpxe @decolux @neuromancer

I need to add this repository to my watchlist, sorry for the delay. Anyway, there is a discussion about this here: https://github.com/luxtorpeda-dev/luxtorpeda/discussions/264 but it is still unclear how luxtorpeda could enable users to enable these packages (or any others)

In terms of the client, that's what that new config feature is for, where you can provide additional packages links, then lux client would see those additional engines supported for those games


Error Compiling on Ubuntu 18_04, gcc 7.5.0, XMP version 201607

This is additional information/bugs for the issue which was closed (? why ?): Compiling on Linux with gcc 7.5.0 ( https://github.com/adobe/XMP-Toolkit-SDK/issues/8 )  .
I'm compiling the version XMP-Toolkit-SDK-CC201607.  I followed the Readme file and fixed the bugs described here: https://github.com/adobe/XMP-Toolkit-SDK/issues/8.
In addition I set up the libuuid as per this description: https://noknow.info/it/os/install_libuuid_from_source?lang=en
Here's the gcc version:

I can run "make StaticAll" and it is finished successfully: *.ar were created.
If I try to build dynamic libs: "make DynamicAll" - I got the following errors:
[100%] Linking CXX shared library /home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/public/libraries/i80386linux_x64/release/libXMPFiles.so
CMakeFiles/XMPFiles.dir/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/XMPFiles/source/PluginHandler/OS_Utils_Linux.cpp.o: In function XMP_PLUGIN::GetFunctionPointerFromModuleImpl(void*, char const*)': OS_Utils_Linux.cpp:(.text+0x25): undefined reference to dlsym'
OS_Utils_Linux.cpp:(.text+0x62): undefined reference to dlerror' CMakeFiles/XMPFiles.dir/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/XMPFiles/source/PluginHandler/OS_Utils_Linux.cpp.o: In function XMP_PLUGIN::LoadModule(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)':
OS_Utils_Linux.cpp:(.text+0x51f): undefined reference to dlopen' OS_Utils_Linux.cpp:(.text+0x544): undefined reference to dlerror'
CMakeFiles/XMPFiles.dir/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/XMPFiles/source/PluginHandler/OS_Utils_Linux.cpp.o: In function XMP_PLUGIN::UnloadModule(void*, bool)': OS_Utils_Linux.cpp:(.text+0x70b): undefined reference to dlclose'
collect2: error: ld returned 1 exit status
/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/XMPFiles/build/gcc/dynamic/i80386linux_64/Release/CMakeFiles/XMPFiles.dir/build.make:2019: recipe for target '/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/public/libraries/i80386linux_x64/release/libXMPFiles.so' failed
make[3]: *** [/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/public/libraries/i80386linux_x64/release/libXMPFiles.so] Error 1
make[3]: Leaving directory '/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/build/gcc/dynamic/i80386linux_64/Release'
CMakeFiles/Makefile2:144: recipe for target '/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/XMPFiles/build/gcc/dynamic/i80386linux_64/Release/CMakeFiles/XMPFiles.dir/all' failed
make[2]: *** [/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/XMPFiles/build/gcc/dynamic/i80386linux_64/Release/CMakeFiles/XMPFiles.dir/all] Error 2
make[2]: Leaving directory '/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/build/gcc/dynamic/i80386linux_64/Release'
Makefile:83: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ubuntu/tmp/XMP-Toolkit-SDK-CC201607/XMP-Toolkit-SDK-CC201607/build/gcc/dynamic/i80386linux_64/Release'
Makefile:49: recipe for target 'DynamicRelease64' failed
make: *** [DynamicRelease64] Error 2

Only libXMPCore.so was created (no libXMPFiles.so).

Please provide the instructions how I can fix this issue.

After investigation and checking the following links:
https://stackoverflow.com/questions/27607130/undefined-reference-to-dlsym-and-dlopen
https://stackoverflow.com/questions/20369672/undefined-reference-to-dlsym?rq=1
The following fix worked: open build/ProductConfig.cmake file and add the following flags
-Wl, --no-as-needed before the -ldl flag.


GDL

Could you add the header of the template notebook into this one, so we list the links for filled notebook, the GColab badge, and at least the authors? I will put the saved models from this notebook in our repo where we store all of them, so we have them at one place.

Moved to different pull request


sync certs tasks (fix #2596 #2667)

Certificates and keys wasn't synchronized when cert_management is set to  script. Especially the new ones: front-proxy-ca* and service-account-key.pem
I made a review of the usage of the different facts set in roles/kubernetes/secrets/tasks/check-certs.yml

only in check-certs

kubecert_master
kubecert_node

both check_certs_script & check_certs_vault:

gen_certs

only check_certs_script:

gen_master_certs
gen_node_certs
sync_certs

So I moved sync_certs to check_certs_script and used the fact *_certs (list of certificates) to check if they are present on masters and nodes.
Verification about checksum is done over each file.
Questions:

run_once: true seems to have the same goal as delegate_to: "{{groups['kube-master'][0]}}", should I make this keyword uniform among the tasks?
I have only modified files in roles/kubernetes/secrets/tasks directory, should I copy these changes to the other directories? (i.e. extra_playbooks/roles/kubernetes/secrets/tasks)
When this issue will be fixed: https://github.com/ansible/ansible/issues/15405, may we kind of revert this commit https://github.com/kubernetes-incubator/kubespray/commit/c7b00caeaac992e8dbb623994515dd9affe1b1b3 and simplify file synchronization with ansible synchronize module?

Thanks in advance for your feedbacks.

ci check this

@romaindequidt This looks pretty good. Thanks for the PR!

Questions:

run_once: true seems to have the same goal as delegate_to: "{{groups['kube-master'][0]}}", should I make this keyword uniform among the tasks?

Consistency would definitely be nice, but for readability I favor being as explicit as possible when indicating that the tasks are being ran on the first master.

I have only modified files in roles/kubernetes/secrets/tasks directory, should I copy these changes to the other directories? (i.e. extra_playbooks/roles/kubernetes/secrets/tasks)

I think the extra_playbooks roles are actually supposed to be a symlink to the files you modified so you should be covered.

When this issue will be fixed: ansible/ansible#15405, may we kind of revert this commit c7b00ca and simplify file synchronization with ansible synchronize module?

Sounds good to me. Feel free to add a # TODO comment with a link to that issue if you wish.
Question for you and anyone else with input: (@mattymo @bradbeam)
This is totally optional for this PR, but it looks like all_master_certs is actually unused, I'm wondering if we could remove it, or otherwise define the entries that overlap with my_master_certs in a single shared list so that we can maintain a single source of truth? It seems that keeping these in sync has been inconsistently maintained.
It would even better if we could maintain a single source of truth across all cert provisioners, including vault and kubeadm.

in response to questions:
1 - run_once is preferrable over delegate_to when it's possible. delegate is a very slow operation
2 - the etcd secrets tasks hsould be updated accordingly
3 - Synchronize module doesn't work with sudo, so it's not an option. My workaround with slurp is the best we have around for now
Going forward, we should move the checks actually back to check-certs.yml task so the tasks are located in the right spot. We can move the set_fact for files to defaults/main.yml


HSEARCH-3431 Upgrade to Hibernate ORM 5.3.7.Final (master branch)

https://hibernate.atlassian.net//browse/HSEARCH-3431
Same as #1816 , but for master (6.0) instead of 5.10.

Pull Request Test Coverage Report for Build 1

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.592%

Totals

Change from base Build 83:
0.0%

Covered Lines:
11773

Relevant Lines:
13596

💛  - Coveralls


Step 1 is not step 1

Step 1. Create new policy
Which Microsoft Admin website am I supposed to be on? A how to needs to include how you get to step 1. Azure AD admin center looks nothing like the example anymore and I can't find where to do step 1.

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

ID: 9561a367-20d8-62e9-57e5-694bab4c0878
Version Independent ID: a7c757e0-052b-fc42-70c5-030081baa573
Content: Configure authentication session management - Azure Active Directory
Content Source: articles/active-directory/conditional-access/howto-conditional-access-session-lifetime.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@ckidwellIT
Thanks for your feedback! We will investigate and update as appropriate.

Thank you! I made a pull request to update this to make the instructions consistent with what exists in our other documentation, such as the RBAC guide.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/183370
You create the policy by going to the Azure portal, searching for Conditional Access, and selecting policies.


Insert Image

Hello and thank you for the template.
I would like to add a small image (e.g. QR code) on the first column.
Using \begin{figure} I have the following error:
Not in outer par mode. \begin{figure}
Could you please help me to solve this problem
Thank you in advance
Alex

It uses a some old libraries which might be causing the issue. If you fix it lmk or send it here I will try to look into it.


d7b460d appears to break --match-filters

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Both 2023.01.02 and 2023.01.06 give me all playlists back when using this command:
$ yt-dlp 'https://www.youtube.com/c/CohhCarnage/playlists?view=1&sort=dd&shelf_id=0' --get-filename --flat-playlist -o '%(id)s :: %(title)s' --match-filters 'title~=(?i)outward'

Whereas 2022.11.11 works as I'd come to expect (and versions prior were in use when I initially put that command together).
If I remove what d7b460d added to 2023.01.06, it works again and looks like this:
$ yt-dlp 'https://www.youtube.com/c/CohhCarnage/playlists?view=1&sort=dd&shelf_id=0' --get-filename --flat-playlist -o '%(id)s :: %(title)s' --match-filter 'title~=(?i)outward'
PLN39y5i_H0FkcqHi9PB_g7liZsN7ZrPYY :: CohhCarnage Plays Outward： The Three Brothers(Complete)
PLN39y5i_H0FltO7LtMJ93xXj8m-cUwf_T :: CohhCarnage Plays Outward： The Soroboreans (Complete)
PLN39y5i_H0FmfdEqe-IpCPWUXCMnkYsly :: CohhCarnage Plays Outward (Melee Run)(Complete)
PLN39y5i_H0FmcrbKCxMbVA_MvxWpab13B :: CohhCarnage Plays Outward (Complete)

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.youtube.com/c/CohhCarnage/playlists?view=1&sort=dd&shelf_id=0', '--get-filename', '--flat-playlist', '-o', '%(id)s :: %(title)s', '--match-filter', 'title~=(?i)outward']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version 2023.01.06 [6becd25] (zip)
[debug] Python 3.10.9 (CPython x86_64 64bit) - Linux-6.1.7-1-default-x86_64-with-glibc2.36 (OpenSSL 1.1.1s  1 Nov 2022, glibc 2.36)
[debug] exe versions: ffmpeg 5.1.2 (fdk,setts), ffprobe 5.1.2
[debug] Optional libraries: Cryptodome-3.16.0, brotlicffi-<IP_ADDRESS>, certifi-2022.09.24, mutagen-1.46.0, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[youtube:tab] Extracting URL: https://www.youtube.com/c/CohhCarnage/playlists?view=1&sort=dd&shelf_id=0
[youtube:tab] CohhCarnage/playlists: Downloading webpage
[debug] [youtube:tab] Selected tab: 'playlists' (playlists), Requested tab: 'playlists'
[download] Downloading playlist: CohhCarnage - Playlists
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 1: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 2: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 3: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 4: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 5: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 6: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 7: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 8: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 9: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 10: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 11: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 12: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 13: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 14: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 15: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 16: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 17: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 18: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 19: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 20: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 21: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 22: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 23: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 24: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 25: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 26: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 27: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 28: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 29: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 30: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 31: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 32: Downloading API JSON
[youtube:tab] UCp9TXGvv2-7JVVdyKEi0A6A page 33: Downloading API JSON
[youtube:tab] Playlist CohhCarnage - Playlists: Downloading 1017 items of 1017
[debug] The information of all playlist entries will be held in memory
[download] Downloading item 1 of 1017
PLN39y5i_H0FlBYD-3-SNQRx6tIdJdh53C :: CohhCarnage Plays S.T.A.L.K.E.R.： Shadow Of Chernobyl (2023 Playthrough)
... I can add the rest as an attached file, got 'body is too long' error ...

Here's the full output: gh_yt-dlp_issue6073.txt

--match-filter was never supposed to filter playlists, only videos. It was previously filtering playlists due to a bug in 8f18aca8717bb0dd49054555af8d386e5eda3a88. But considering that the buggy behavior existed for over an year, I don't blame you for relying on it. What I can do is to add a --compat-option to revert to that behavior.
PS: In long term, what we really want is for multiple stages of match-filter to be implemented similar to --print etc.

Just wanted to say "Thank you!" for this, working well.


Add Copy button to gists

Everything is working fine. There is an issue while copying Markdown file. I know it can't be done by using the same method so I tried sending XHR request which gives some Github error. So if u have any approach for copying content for Markdown file, suggest me. And tell me if there is something to be changed :smiley:

@sindresorhus Can u merge this?

Everything is working fine. There is an issue while copying Markdown file. I know it can't be done by using the same method so I tried sending XHR request which gives some Github error.

I think we should just not show the Copy button if it's not displaying source code, like a rendered markdown file. That would be the simplest solution.

There needs to be some spacing between the Copy and Raw buttons. Use the same spacing as the other buttons.

Needs to be added to the Highlights section in the readme.

On it Sir!! :smile:

Done :+1:

Alrighty done :smiley_cat: I think its complete now :joy:

Looks great now. Thanks for working on this :)


Offline message is not positioned correctly for settings page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Go to admins chat
Open details page
Click on settings
Go offline

Expected Result:
Offline message is at the bottom of the page
Actual Result:
It is not at the bottom of the page
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.25-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @aman-atg
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685906171088159
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
The offline message on the settings page is not positioned correctly.
What is the root cause of that problem?
The root cause of this problem is that the page is not utilizing the entire available height, causing the error message to appear in the middle of the page rather than at the bottom.
What changes do you think we should make in order to solve the problem?

To fix this issue we need to use ScrollView with styles.flex1 inside src/pages/Report/ReportSettingsPage.js
Demo

Reproduced:

@aman-atg @kushu7 I just try to use ScrollView and it looks good without flex1. Is flex1 necessary to solve this issue?

Proposal
##Please re-state the problem that we are trying to solve in this issue.

The message youAppearToBeOffline on the admin settings page is not currently positioned at the bottom.

What is the root cause of that problem?

In the ReportSettingPage.js file, the children of the ScreenWrapper component do not take up the full height.

What changes do you think we should make in order to solve the problem?

To address this problem, a View with the flex1 style is added beneath the ScreenWrapper. This solution resolves the issue not only for the Admin Screen but also for any other component that does not occupy the full height.

Solution Code is as below

What alternative solutions did you explore? (Optional)

Although a ScrollView was mentioned earlier as a possible solution, it is unnecessary in this context as it would most likely be redundant and provide no significant benefit.

No, flex: 1 is not necessary. However, using flex: 1 on a child component typically ensures that it takes up all the available space in its parent container. This approach is also consistent with the majority of our codebase.

Yes, I'm inclined to have consistency between page components.
@AndrewGable Let's go with @aman-atg proposal since they propose it first.
Thanks everyone for the other proposals!
🎀 👀 🎀 C+ reviewed!

Bump @AndrewGable @kadiealexander

@kevinksullivan I'm going OOO so I've reassigned this to ensure everyone gets paid on time. I've sent out all the offers which you can find here, and  @mollfpr and @aman-atg  are due an #urgency bonus for their quick work (here). Thanks so much for your help!

Sounds good @kadiealexander !

Awaiting payment


Revision 2016-01-01

This revision brings the ARM packages up-to-date with the latest Swagger files in https://github.com/Azure/azure-rest-api-specs. See the CHANGELOG.md for full description of changes.

@brendandixon LGTM

Ok. I'll merge and tag the result.


Humitity stays at 0%

No matter how I start the charge manually or through the plug-in the status never changes to charging and the humidity stays at 0%.
it also seems to be over clocking my cpu to 100% on my raspberry pi when sending some requests through to the easee but not sure if that’s the reason or something else.
but absolutely love it never thought I’d be able to control my charger through homekit!

The characteristic for humidity is not something that is used so it showing as 0%. As far as the status to charging not updating. I would need debug logs to look at that.

No worries I read this as would create humorists sensor showing battery level.
mum new to homebridge how do I get you those debug logs? Thanks

Sorry, you're correct, forgot that was there. I don't actually own a device to test with but it mirrors another plugin. If you can send me the debug log I can take a look. In homebridge setting you can enable debug logging then in the Easee plugin you can go to extra login and show the observation messages. Also could you send me a copy of you config.
Does this also show a 0% in homebridge?

it does show 0% in Homebridge.
homebridge.log.txt
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"name": "Easee",
"username": "",
"password": "j*",
"cars": [
{
"carName": "Zelda",
"kwH": 73
}
],
"showControls": 3,
"showLight": false,
"useOutlet": false,
"showReboot": false,
"showOverride": false,
"socSensor": false,
"showEqualizer": false,
"showSignalRMessages": true,
"showAPIMessages": false,
"experimental": false,
"eqMin": 15,
"eqMax": 100,
"platform": "easee"
}
]
}

I have the same problem. I get this error in the log:
Failed to update battery.
TypeError: Cannot read properties of undefined (reading 'includes')
at /var/lib/homebridge/node_modules/homebridge-easee/easeeplatform.js:338:60
at Array.filter ()
at easeePlatform.calcBattery (/var/lib/homebridge/node_modules/homebridge-easee/easeeplatform.js:338:23)
at easeePlatform.updateService (/var/lib/homebridge/node_modules/homebridge-easee/easeeplatform.js:618:52)
at HubConnection. (/var/lib/homebridge/node_modules/homebridge-easee/easeeapi.js:778:18)
at HubConnection._invokeClientMethod (/var/lib/homebridge/node_modules/homebridge-easee/node_modules/@microsoft/signalr/src/HubConnection.ts:707:31)
at HubConnection._processIncomingData (/var/lib/homebridge/node_modules/homebridge-easee/node_modules/@microsoft/signalr/src/HubConnection.ts:555:30)
at WebSocketTransport.HubConnection.connection.onreceive (/var/lib/homebridge/node_modules/homebridge-easee/node_modules/@microsoft/signalr/src/HubConnection.ts:113:57)
at WebSocket.webSocket.onmessage (/var/lib/homebridge/node_modules/homebridge-easee/node_modules/@microsoft/signalr/src/WebSocketTransport.ts:111:30)
at WebSocket.onMessage (/var/lib/homebridge/node_modules/homebridge-easee/node_modules/ws/lib/event-target.js:132:16)

The error message indicates that the chargerName property is undefined in at least one of the items in the this.cars array. This causes the error when trying to access the includes method on charger.chargerName.


Add Todo App

Describe the project
I want to add a Todo App using React Js with Add and Delete features.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Additional context
Add any other context or screenshots about the project here.
Screenshots

If applicable, add screenshots to help explain your problem.

!assign

Already present in the repo


Outlook Phishlet error

Hello, i am getting this error still in latest 2.3.3 version:
https://gyazo.com/36569ed38bbaa68143bd1a17c223028e
This is in Outlook after entering password in login page.
And in o365 one i get this error:
https://gyazo.com/431a3b3f96bdb8da25e669280de3976d
This one instead is after entering the email.
Hosting in kali vps in one cloud host.
Any ideas on how to fix @kgretzky ?

Hello sir can you help me with even getting the page loaded?

Hello, i am getting this error still in latest 2.3.3 version:
https://gyazo.com/36569ed38bbaa68143bd1a17c223028e
This is in Outlook after entering password in login page.
And in o365 one i get this error:
https://gyazo.com/431a3b3f96bdb8da25e669280de3976d
This one instead is after entering the email.
Hosting in kali vps in one cloud host.
Any ideas on how to fix @kgretzky ?

The 0365 simply asking you to set a url to redirect the page after capturing creds.

@3much no, that's not the case. It shows after just entering the email.

Hello, i am getting this error still in latest 2.3.3 version:
https://gyazo.com/36569ed38bbaa68143bd1a17c223028e
This is in Outlook after entering password in login page.
And in o365 one i get this error:
https://gyazo.com/431a3b3f96bdb8da25e669280de3976d
This one instead is after entering the email.
Hosting in kali vps in one cloud host.
Any ideas on how to fix @kgretzky ?

i can help you with the<EMAIL_ADDRESS>

I sent you an email please check<EMAIL_ADDRESS>

Hello bro..I can do anything concerning evilginx2...,but not free...so if
you are interested contact me...
On Sat, Feb 1, 2020, 8:03 PM 3much<EMAIL_ADDRESS>wrote:

I sent you an email please check<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/383?email_source=notifications&email_token=ANKXTUMN3L2CDWB6HD54RYDRAYLURA5CNFSM4JD4G5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRKWJI#issuecomment-581085989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANKXTUIXZDHOPOPEXSHFW4DRAYLURANCNFSM4JD4G5WA
.

Hello bro..I can do anything concerning evilginx2...,but not free...so if you are interested contact me...
…
On Sat, Feb 1, 2020, 8:03 PM 3much @.> wrote: I sent you an email please check @. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#383?email_source=notifications&email_token=ANKXTUMN3L2CDWB6HD54RYDRAYLURA5CNFSM4JD4G5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRKWJI#issuecomment-581085989>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKXTUIXZDHOPOPEXSHFW4DRAYLURANCNFSM4JD4G5WA .

you can do anything, can you fix gmail phishlet?

Yeah...the problem with Gmail is in the config files.., for the fact you
are using Mr kgretzky evilginx2,,, you can never be able to Phish Gmail....
If you think am lying,,I will send you my link and you will test it out
On Sun, Feb 2, 2020, 6:59 AM horllste<EMAIL_ADDRESS>wrote:

Hello bro..I can do anything concerning evilginx2...,but not free...so if
you are interested contact me...
… <#m_7150630267526729510_>
On Sat, Feb 1, 2020, 8:03 PM 3much @.> wrote: I sent you an email
please check @. — You are receiving this because you commented. Reply to
this email directly, view it on GitHub <#383
https://github.com/kgretzky/evilginx2/issues/383?email_source=notifications&email_token=ANKXTUMN3L2CDWB6HD54RYDRAYLURA5CNFSM4JD4G5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRKWJI#issuecomment-581085989>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANKXTUIXZDHOPOPEXSHFW4DRAYLURANCNFSM4JD4G5WA
.
you can do anything, can you fix gmail phishlet?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/383?email_source=notifications&email_token=ANKXTUJGPJE4OOIKHTED4D3RA2YQ7A5CNFSM4JD4G5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRVBUI#issuecomment-581128401,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANKXTUJL5U7ECQUKE7V5LADRA2YQ7ANCNFSM4JD4G5WA
.

send it, if it works, we will talk.

Are you on WhatsApp...?
On Sun, Feb 2, 2020, 7:12 AM horllste<EMAIL_ADDRESS>wrote:

send it, if it works, we will talk.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/383?email_source=notifications&email_token=ANKXTUK6ZPQWLLU2PZKPSB3RA22DPA5CNFSM4JD4G5WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRVKMA#issuecomment-581129520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANKXTUIHDBHKMU4VRSG3AOTRA22DPANCNFSM4JD4G5WA
.

yes, +18634205027


[DO NOT MERGE] Nightly Azure SDK for C++ CI validation

This is a long-lived draft PR should not be merged. Its branch is be updated periodically to validate the Azure SDK for C++ against the vcpkg CI.

Closing in favor of https://github.com/microsoft/vcpkg/pull/17119


ParticleSystem widget

There are currently no particle systems in Flutter, except confetti (which is commonly used and quite abused) and newton_particles which is weak and has only basic features.
Flame has a solid particle system.
But they can't be used outside of a GameWidget instance.
How about adding an independent ParticleSystem widget, allowing to render particles anywhere on the screen, without having a Flame viewport?
Or, I have an another idea: add an option to make a transparent background in a GameWidget. So we can see the widget tree through it. And to draw particles in a GameWidget.
But it looks heavy to have a Flame engine instance just to have a particle effect.

You can already set the FlameGame background to transparent by overriding the backgroundColor:
class MyGame extends FlameGame {
  @override
  Color backgroundColor() => const Color(0x00000000);
}

But it looks heavy to have a Flame engine instance just to have a particles effect.

It shouldn't be more heavy than to just drive it manually (or not noticeably heavier at least).
So you can just put your GameWidget on top of the rest of your app with a Stack.
You could also quite hackily let your particles draw outside of the size of the game, since it isn't doing any cropping by default (like most other Flutter widgets).

Cool!
I would probably want to place my GameWidget in the middle of the Stack. So the particles would be drawn on top of some widgets and below others.
Is it possible?

Cool! I would probably want to place my GameWidget in the middle of the Stack. So the particles would be drawn on top of some widgets (like decorations) and below others (like input fields). Is it possible?

Sure, the GameWidget is like any other widget, you can place it anywhere you'd like in the widget tree.


Provide a consistent structure for top-level feedback, suggestions, and decisions

Right now our suggestions and decisions share a lot of structure. We should formalize this to
include uuid, label, create and delete, as well as two new
optional elements (assessment and about). This gives us a pretty goood base structure
that can be used for suggestions, decisions, and top-level feedback. Here's the rough idea:
Add a new top-level feedback
At the top level of CDS Hooks response, we define a new array-valued feedbaack property, where
each feedback item follows the augmented suggestion structure. For example:
{
  "decisions": [],
  "cards": [],
  "feedback": [{
    "uuid": "c91554be-a7ec-4067-b544-33efabffe9d6",
    "about": ["ProcedureRequest/123"],
    "assessment": {
      "rating": {
        "value": 4,
        "unit": "Rating Scale",
        "system": "https://acr.org"
      },
      "radiation": {
        "value": 3,
        "unit": "Relative Radiation Level",
        "system": "https://acr.org"
      }
    }
  }]
}

The specific assessement properties ("ratings", "radiation") would be hook-specific,
so here I'm imagining a "radiology imaging order" hook...
Individual suggestions can be decorated with assessments, too
Same structure applies to any given suggestion in a suggestion card:
{
  "suggestions": [{
    "uuid": "c91554be-a7ec-4067-b544-33efabffe9d6",
    "delete": ["ProcedureRequest/123"],
    "create": [{"resourceType": "ProcedureRequest", "code": {}}],
    "assessment": {
      "rating": {
        "value": 4,
        "code": "appropriateness-scale",
        "system": "http://acr.org"
      },
      "radiation": {
        "value": 3,
        "code": "relative-radiation-scale",
        "system": "http://acr.org"
      }
    }
  }]
}

And of course decisions
The items in a decisions array could also be decorated with this same structure.
I won't repeat here, for brevity...
{
  "cards": [],
  "decisions": [{
    "uuid": "c91554be-a7ec-4067-b544-33efabffe9d6",
    "delete": ["ProcedureRequest/123"],
    "assessment": {
      "rating": {
        "value": 4,
        "unit": "Rating Scale",
        "system": "https://acr.org"
      },
      "radiation": {
        "value": 3,
        "unit": "Relative Radiation Level",
        "system": "https://acr.org"
      }
    }
  }]
}

In general, I like the solution. It provides an answer to where to put the data discussed in #13. It also provides the reference in the 'about' field which is requested in #20. However I think it should also be available at the card level similar to the top level feedback (at the card level it should include the 'about' in addition to the assessment).

This could be nice. The approve we've been trying is to provide this sort of structure in the FHIR resources embedded in the decision. This can be difficult.
One note, I think this group should look at JSON Schema (http://json-schema.org) to specify all the structures in CDS Hooks. This could allow us to iterate on things like this (and https://github.com/cds-hooks/docs/pull/26) in a less "example-driven" manner. I'd be happy to do a PR with a JSON schema representation of the current state of master, if that's helpful.

I'm a little concerned about modeling things like assessment and radiation directly as part of the CDS Hooks service API. I thought one of the advantages of having CDS Hooks be separate was that we could leverage the clinical modeling in FHIR, and avoid modeling those items in CDS Hooks directly.

@brynrhodes - I think that makes a lot sense. The assessment/score value isn't obviously part of the clinical/business model, though. Is there a reasonable and established way that we can include this score as part of the business model?

Echoing @brynrhodes, I hope that inclusion of radiation was just an example, and not an indication of intent to model radiation dosing. If you decide to head down that route, please contact HL7 Imaging Integration to discuss the complexities involved.

A note on decisions; in the case the decision indicates an item to be deleted, it makes sense to have the value be a string identifier. However, in the create case, we are finding it much more convenient (and less ambitious as to what the root URL / fhir-server is) if the resource is inlined (much like the context is.

@isaacvetter - Here's a link to the extension defined as part of QI-Core that supports identifying the assessment score as part of a GAO request/response. The idea is that the ProcedureRequest that was submitted as the procedure being assessed is returned with this assessmentScore extension applied:
appropriatenessScore

Fixing in #64

@isaacvetter Does the fix in #64 cover all of the above need, or is the expectation to implement that as well as the solution in #64?

@robs16 - good point. The idea is that the approach in #64 should cover all of the above need. I'm modifying the above comments from "Fixing" to "Closing in favor of".
Sounds reasonable? What do you think?
Isaac

I saw two features combined in the original solution:

Scoring
I thinks this works in the general sense - however there is an important workflow issue here - For the case where the user can dismiss the dialog or ignore it, there must be a default/dismiss suggestion that is taken in this case. To put another way, the only time a rating should not be applied is when the triggering order/etc was deleted. Without a default/dismiss suggestion, there is no way for the appropriate rating to be retrieved by the EHR. This further requires some form of 'type' of suggestion as mentioned in #21, such that the EHR can understand which suggestion is the default/dismiss.

About
As mentioned in my comment at the top of this issue I could see the original solution solving #20 also. This solution does not cover that need.

On issue 1, I agree that there's still a need for some sort of response processing, but since that's not part of the 1.0 scope, we can address it when we resolve #21. Within the 1.0 timeframe, the use case could be addressed with extensions and pre-coordination.
On issue 2, agree that a resource pointer would be useful, but also out of scope for 1.0, so we can address when we resolve #20.

It's worth noting that we will address #76 for 1.0 which will allow developers who want to address these types of scenarios with CDS Hooks today the ability to do so.


Updating installation instructions in readme

Here are some changes I'd like to make.  Once we've agreed on the basics of the changes, I'll create a PR.  I'll try to address this issue as well, in the PR.
Major Issues

The link to download Anaconda via continuum.io is broken.  I believe this is because Continuum renamed to Anaconda (continuum.io redirects to https://www.anaconda.com now, at least).  I'm guessing we want to link here instead: https://www.anaconda.com/distribution/#download-section

When I try to run a module in step 6, I get “ModuleNotFoundError: No module named 'HARK'”, and Matt confirms his students are getting this too.  Seems like it's fixed by pip install econ-ark in the Spyder console - we need to add this step or an alternate fix to the install instructions in whatever cases it applies.  It may only be an issue with Python3, although that seems weird to me, but for the record I'm using Ubuntu 16.04 and Python 3.7.3.  Matt notes that this issue might be related.

re: #173 - we should tell people how to install via conda and via pip, and explain why they would chose one over the other.  We should also recommend one over the other.  According to MNW, we use conda because Conda, via Spyder, allows us to easily view the graphical elements.  You can still see visualizations without conda but it's either really ugly and clunky if you do it from a command line, or it needs to be in a Jupyter notebook.

tangential, but the conda links in packaging.md are broken too

Minor Issues

Step 1 and 2 can probably be combined.  I'd also include a sentence at the end that confirms you've finished correctly, eg "When you're done with this step, you should be able to successfully open Anaconda Navigator."

Step 3 could be phrased more succinctly, I think.

In Step 5, let's rephrase so it's clear that you're being asked to navigate to the right directory in the iPython console in Spyder.

Not a huge fan of the “this is going to be easy!” framing because sometimes installing a thing turns out to be unexpectedly hard and we don’t want people to feel like they’re struggling with something easy.

Let's add an “instructions last tested” table to readme: Linux, Mac, Windows (and versions), python 2.7, python 3.6.  Then one of the things we can do at PyCon is ask people to do test installs for anything major we're missing.

Implemented in #257


Default logo does not show up

Hello,
I have not changed anything in the config.php because I am fully satisfied with the default logo, but it does not show up. When I open the direct link to the file in the browser URL bar, it loads the dashboard page.
https://i.imgur.com/xCOQeQH.png
Any ideas?
Thanks in advance!

Hi @RazrSaw most likely access to the folder is denied add an .htaccess file in the following path files/Nebula/Assets/images/
Example for Apache
# Apache 2.2
<IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    <Files ~ "(?i)^.*\.(jpg|jpeg|gif|png)$">
        Allow from all
    </Files>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
    Require all denied
    <Files ~ "(?i)^.*\.(jpg|jpeg|gif|png)$">
        Require all granted
    </Files>
</IfModule>

Yes, now working!
Thank you so much! :)

Same issue with Nebula installed from the Docker container. As the docker container use nginx, how should I fix this?


HHH-16832 Bytecode enhancement leads to broken constructor for a generic embedded field in a MappedSuperclass

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

Thanks! Looks like my reproducer included way too many changes caused by an IDE refactoring gone wrong. I force-pushed to your branch to fix that @dreab8


Documentation for publishing the crate

https://github.com/Bitshala-Incubator/rust-coinselect/pull/75


Issue with text in dark mode

Not sure how to fix or would attempt to, but https://pgm.dev/docs/reference/misc/formatting#chat-colors in dark mode doesn't correctly swap the numbers and letters above each coloured squared (right below "Chat Colors") when swapped to dark mode and makes it super hard to read

That's simply because it's an image and not actual text. The solution would be creating a new one

Resolved in 3c9205bd89ef929b497b3aa5ed826b16e4ed3c11


Android Basics: Get data from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-getting-data-internet#6
In which task and step of the codelab can this issue be found?
7. Add Internet permission and Exception Handling - Android Permissions - step 2
Describe the problem
the app still crashed with 2error socket failed eperm (operation not permitted)"
In order to fix it, I had to disinstall the app from the emulator and reinstall it
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@cScocco
Thank you for reaching out to us. The issue is not reproducible on my end. I really appreciate if you provide screenshots clarifying the problem.

The issue is closed as no further clarification was provided.


Url Containing hashtags not working

Hi,
I am not sure if this is an issue or just my lack of information but am facing a problem with urls containing hashtags
For eg: When i click a url like: http://sandbox.unixbox.com/?p=1#comments
from some page like: http://sandbox.unixbox.com/?cat=4
then the statechange event is never triggered. So all i have is just the change of url in address bar and
the content of page http://sandbox.unixbox.com/?p=1#comments or http://sandbox.unixbox.com/?p=1 is never loaded.
Can you please assist me.
I hope it makes sense, If i got you confused please let me know.
Thanks a lot for this great script. Love it.

I'm observing this behavior, too. Probably it has something to do with History.js using the Hash-Part of the URL for backward compatibility.

I just hit that with a script I'm using history.js in. Can someone please just tell me where to look, I'll make a fix, pull request and stuff. I just need a hint what may be causing the problem.

I just hit this issue too.
In History.replaceState, an exception is thrown if the URL contains a hash, and it's using an emulated pushState. I'm using Firefox 9.0.1, which has a native pushState, so this exception isn't thrown, but it's still not working.

I just implemented a workaround: I now strip off the hash when I record URLs with pushState and replaceState. If I need the anchors in the future then I'll add them to the data. The anchors no longer appear in the address bar, but they didn't serve much purpose there anyway.


Aria product speed

merge back into dev branch the parallel functionality of the class loading.
code and bug fixes

@dbekaert I made the basic fixes. @rzinke alerted me to a rounding issue in the ranked pixel function which was inconsistent vis-a-vis the default resampling. This has now been resolved.
After this is committed, I plan to create another PR addressing a host of other recommended codacy issues, but for now I took care of the major flags.


No LAUNDERING-TORNADO-CASH alert for tornado cash laundering

BOT ID - 0x4adff9a0ed29396d51ef3b16297070347aab25575f04a4e2bd62ec43ca4508d2
tx - https://bscscan.com/tx/0x55b84471d9a52f90e9ae4579844581286a2b67f85869ee44449aa5e882289a63
https://bscscan.com/tx/0x3ca50ae3792b14f91cc71256f7d9d496725783215fba2888ac7a60e371f4a553

all these txns together with https://github.com/forta-network/starter-kits/issues/306 happened in the same hours and even almost same minutes. so I suspect that there was something odd in the network at that time. this is indeed an FN but I can reproduce locally. I'll consider a possible drop as well. thanks 👍


Invalid directory - missing lib directory

Hi
I overriden USER_LIBRARIES_DIR as '/opt/streamsets-datacollector/' as given in Dockerfile. I am getting the "Invalid directory /opt/streamsets-datacollector/user-libs , missing lib directory" exception streamsets bootstrap..
I removed the workaround code to copy the user-libs from SDC_DIST to User defined folder. Streamsets was able to bootstrap successfully. Looks like we dont need to perform this step as 'streamsets-dev-lib' is present under streamsets-libs folder for version >3.0 I believe.

Hi Rajesh, wanna submit a pull request?

sure will do.

You need to re-build the image if you override that dir since its created in configure-sdc.sh and not the entrypoint script.
One fix would be to make it a build arg and make it more obvious that it requires a rebuild. Curious as to why you are interested in overriding the directory we specify?

sorry for the confusion in my statement earlier. I did not override it. I generally mean to say that you overriden USER_LIBRARIES_DIR and not using dir which is in streamsets home folder.  And  you added workaround code to copy the dev lib folder from /opt/streamsets-datacollector/user-libs to overriden directory to avoid SDC-8005.  now its time to remove that workaround code as it causing issues while using sdc v<IP_ADDRESS> . I think that is code is safe to remove now as I see the dev lib folder is now added to streamsets-lib fodler under sdc install directory.

I don't think it causes issues in <IP_ADDRESS>, though. The image we pushed to Docker Hub is what we continue to use for testing. I'm not following what issue needs solving here.


Does not play well with grid or flex "gap" property

The spacing between draggable elements is wrong (when dragging) if the container is a using css-grid or flexbox with the "gap" property for spacing instead of margin.
How can we fix this ?
Thanks!

Hi @VincentDauliac will place this is issue on queue!


Generate cheatsheet from custom tailwind.config.js

It would be nice to be able to specify a custom tailwind.config.js file and have the values in the cheatsheet correspond to those rather than the defaults.

I'm not really sure how to go about this, because we actually have hardcoded all the utilities and we'll need to generate then dinamically to allow it

I'm not really sure how to go about this, because we actually have hardcoded all the utilities and we'll need to generate then dinamically to allow it

Dynamically build the cheatsheet.json based off the config file?

I don't think it's an easy task 😅
PRs are welcome

Hi @UnsolvedCypher, for now, I think this is not possible because we build a cheatsheet.json statically.
But we will discover this in the future.


Better explanations for all of the keywords

We have many different keywords that can be specified in the params.ini file. The documentation for these is very scattered at the moment (or not existing for some), and right now it's just telling the user to look at the dictionary in the source file: https://github.com/Probe-Particle/ppafm/wiki#running-calculations. I think we would benefit from having a clear table of all of the keywords with explanations for what they do in the wiki.
ToDo:

[x] Move the description of parameters into tables (@yakutovicha)
[x] Add KPFM stuff (@aureliojgc)
[ ] Pre-final look (@ondrejkrejci)
[ ] Final look and close the issue (@ProkopHapala)

Sketched something on this wiki page:
https://github.com/Probe-Particle/ppafm/wiki/Params
NOTE there are some parameters which I don't know what they mean and if they are usefull anyhow. I was searching for them in the code using vscode and I did not find they are used. Most notably these
'FFgrid0':     np.array( [ -1.0, -1.0, -1.0 ] ),                # [A] ?????? does not seem to be used anywhere
'FFgridA':     np.array( [ -1.0, -1.0, -1.0 ] ),                # [A] ?????? does not seem to be used anywhere
'FFgridB':     np.array( [ -1.0, -1.0, -1.0 ] ),                # [A] ?????? does not seem to be used anywhere
'FFgridC':     np.array( [ -1.0, -1.0, -1.0 ] ),                # [A] ?????? does not seem to be used anywhere
'moleculeShift':  np.array( [  0.0,      0.0,    0.0 ] ),       # [A] ?????? does not seem to be used anywhere

@ondrejkrejci  - is this made by you ?
'tip_base':  np.array( ['None', 0.00 ]),                       # ???? perhaps not used, probably some additional poential form tip on which  probe-particle is anchored
'Rtip'         :  30.0,                                        # ???? perhaps not used Rtip
'permit'       :  0.00552634959,                               # ???? Permitivity? This is certainly from Aurelio/KPFM ?
'Vrange':   0.0,                                               # ???? Randge of voltage - seems to be from Aurelio/KPFM ? or STM ?

These seem to be related to KPFM, or to STM, @aureliojgc , @ondrejkrejci , do you know something about these?

NOTE: I have feeling that KPFM stuff from Aurelio is missing in the main branch ? @aureliojgc

The FFgrid{0,A,B,C} parameters are something that I added recently when implementing the parameter saving/loading for the GUI: #139. I needed some way of saving the force-field lvec separately from the sample lvec because they can be different in the AFMulator. These probably don't need to be documented on the same level as the other keywords, but maybe add there a notice that these can appear when saving the parameters from the GUI.

'tip_base':  np.array( ['None', 0.00 ]),                       #
Yes that is by me. This is for the double electrostatics, which I wanted to put back to the code, as it is not there in the current form.
np.array is not necessary. Any array-like is enough. The first think is string "None", "s", "pz", or "dz2". The second is a charge for "s" or charge of dipole for "pz" (dip.mom = charge x sigma) or charge of quadrupole for "dz2" (quad.mom = charge x sigma x sigma). Once it is not "None" it should start the whole second electrostatic (not in current form).
Some explanation is here https://github.com/Probe-Particle/ppafm/wiki#note-on-parameters-in-paramsin-and-double-electrostatics

Hi!
'Rtip'         :  30.0 is the radius of the metallic tip to calculate de cuadratic term of KPFM as if it was a capacitor form by a plane and a sphere.
permitivity is mine yes
Vrange I am pretty sure is mine, I will dig a bit to make sure and will confirm it.
I will check the main branch to see all I added or wanted to ad is there. There is a few experimental things from my lets say "draft version" that I did not add because I wanted to clean and test before but the basic stuff from KPFM should be there.
What is it that you're missing?
Best,
A. =)

As soon as the following page is complete, we can close the issue:

@aureliojgc, @ondrejkrejci, @ProkopHapala
I put most of the information from the wiki page into a table, and now it is looking quite good. In the comment at the top I collected tasks for us, please do your part and check the box once your part is done. Then ping the following person so he can take it over.
Don't spend too much time, the document is live, so we can always update it more in the future.
@aureliojgc it is your turn now.

I added a bit of a description on the KPFM stuff.
tip_base is not mine as long as I remember and based on a quick grep in the ppafm directory is not used.
@ondrejkrejci I think the ball is in your court now.

@ondrejkrejci would you be able to work on it before our next meeting?

@ProkopHapala, can you maybe just do the final review? I am not sure that @ondrejkrejci will work on it before the meeting.
I assume this is a very easy and quick check.
Thanks

Still not clear what are these.
FFgrid0 | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
FFgridA | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
FFgridB | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
FFgridC | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
moleculeShift | [0.0, 0.0,0.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
perhaps we should try remove them and see if something breaks ?

FFgrid0 | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
FFgridA | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
FFgridB | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
FFgridC | [ -1.0, -1.0, -1.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere
perhaps we should try remove them and see if something breaks ?

@ProkopHapala No, please don't remove them. As I said above, they are for compatibility between the OCL code and the params.ini specification of the CPU code:

The FFgrid{0,A,B,C} parameters are something that I added recently when implementing the parameter saving/loading for the GUI: https://github.com/Probe-Particle/ppafm/pull/139. I needed some way of saving the force-field lvec separately from the sample lvec because they can be different in the AFMulator. These probably don't need to be documented on the same level as the other keywords, but maybe add there a notice that these can appear when saving the parameters from the GUI.

moleculeShift | [0.0, 0.0,0.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere

This one I don't know about.

@ProkopHapala No, please don't remove them. As I said above, they are for compatibility between the OCL code and the params.ini specification of the CPU code:

@NikoOinonen, could you please update the table with this information? https://github.com/Probe-Particle/ppafm/wiki/Params

I have went through. Added some more explanation, when I thought that it would be good.

moleculeShift | [0.0, 0.0,0.0 ] | np.array(float) | Angstrom | ?????? does not seem to be used anywhere

My guess is that is some relict from the online version of PPAFM, as it seems not te be used, it is temporarily moved to the final sub-section: Temporary or past parameters. These can be basically removed. At the moment.

Did some updates:

Changed the page name to "Setting simulation parameters" to be more descriptive: https://github.com/Probe-Particle/ppafm/wiki/Setting-simulation-parameters
Added a description for the FFgrid{0,A,B,C} parameters.
Changed np.array(type) -> list(type) and float -> real and added a list explaining the types to the beginning. I believe this is more understandable for someone not familial with Python/Numpy/programming in general.

I think the page looks good now. This issue is probably done now?

I think the page looks good now. This issue is probably done now?

Let's ask @ProkopHapala to do the final look and then close. Prokop, can you do that?

@ProkopHapala went through, it seems to OK for now.


Soret effect in cylindrical/spherical coordinates

Currently, the Soret effect can be used with cartesian meshes. It would be nice to extend the functionality for cylindrical and spherical cases.

Yep, that's my bad.
At the time I didn't need Soret for cylindrical applications and I was too lazy to figure out how/if the equations would change for Soret in cylindrical (I guess so?).

We just have to use a proper gradient, no? So, the Soret term in the form would be similar to the Fick diffusion term.

Yep, in theory that's all.
We'll need to have a verification case for this formulation (that could go in https://github.com/festim-dev/V-V-report/issues/64)

I can do it, since I'd need Soret in cylindrical coordinates.
Moreover, if #723 is going to be solved before v1.3, I can try to make it in time too.


Disaster recovery restoration

According to #534 and the docs, when creating a disaster recovery volume, it shouldn't be possible to activate it until the icon turns from grey to blue.
But when I created a disaster recovery volume from a 60 GB backup (in a machine off site), the blue icon appears immediately and the "activate" option is available.
For testing purposes I activated the DR volume and created a PVC wich I can attach and mount in a pod. There I can see the volume grow in "actual size".

@jocarren
The first time DR volume was attached, the first backup has already been restored automatically. That's why it shows blue immediately. When the newer backups are created later, the icon will become grey while the incremental restoration in progress, and turn back to blue while it's ready to be activated.
If you want to simply restore a backup to a volume, you can choose the backup after click the volume name in the Backup page, then create the volume from the backup directly there.

I see, thanks.
Just to be clear: Actual data transfer from backupstore to backupcluster begins once the DR recovery volume is attached to a node in backupcluster. Not when DR volume is created.

@jocarren Yeah, we will make it easier in the next release to automatically attach the DR volume once it's created. And the only way to detach it would be to activate the volume.

In v0.6.1, DR volume is automatically attached.


Fix define order and add tests to cover behaviour

What's the Problem?
After Bind performance shipped last week to Shopify core, where the order of binding construction was now changed to rely on the order of attribute definition, a new edge case was found for define in relation to eval that caused a new error of which 99.6% of instances were from Firefox:

The scenario is when the eval binding is constructed before define. eval executes its definition immediately and if it depends on variables in the define definition then it throws an error.
Why does this happen?
If the attributes are arranged like so,

then data-eval will execute first.
However even if the attributes are arranged the other way like this:

then Firefox will sort the attributes alphabetically when generating the array for node.attributes and therefore data-eval still executes first. This does not happen on Chrome though, which is why this was not caught in testing.
What's the fix?

define joins the ranks of bind as a first order binding that needs to be constructed first before all other bindings.
It does not matter which of the two comes first in the list of bindingConstructors as long as they are both in the first two.

How are you sure that define does not need to come after bind and vice versa?
Let's lay out the dependencies and side effects of each binding constructor:

define

Dependencies:

Uses context to evaluate the new definition values.

Side Effects:

Assigns the new definition values to context.
Does not attach listeners to any events.

bind

Dependencies:

Uses context to fetch the value of the bind key if it exists and is a 2-way-binding.

Side Effects:

Assigns the key-value pair of the bind definition to the context if the key doesn't already exist in the context and is a 2-way-binding.
Attaches an event listener to 'input keyup change'.

If define executes before bind, then bind successfully fetches the value of its key from the context.
If bind executes before define, then bind sets the incorrect/empty key-value pair in the context at first, but when define executes, it overrides the same key with the correct value.
In either case, the context ends up with the correct definitions and bind still is the first binding to attach its listener to 'input keyup change'. Therefore define and bind do not have order dependencies between each other.
I have added tests to preserve this non-dependency between define and bind in addition to a test ensuring define is run before eval.
For Review:
@GoodForOneFare @DrewMartin @Shopify/tnt

Amazing write-up!
One question:

If bind executes before define, then bind sets the incorrect/empty key-value pair in the context at first, but when define executes, it overrides the same key with the correct value.

What about this scenario:
<input data-define="{foo: new Foo()}" data-bind="foo.bar">

where
class Foo
  constructor: ->
    @foo = 'test'

If bind runs before define, I might expect foo.bar == 'test' in the context, but if define runs first, I'd expect it in the context and present on the value of the input in the DOM.  Is that the case?

Thanks for the write-up 👍
This feels like the order of execution should be even more explicit here, especially when some browsers automatically reorder attributes. We'd want to avoid questions like above and the order should be clear. Any thoughts?

They may appear in any order.

https://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

What if instead of unshift we guarantee order with something like
ORDERED_BINDINGS = [
  'define',
  'bind'
]

bindingConstructor = {other: []}
...
if type in ORDERED_BINDINGS
  bindingConstructors[type] = [constructor, definition]
else
  bindingConstructors['other'].push([constructor, definition])
...

for type in ORDERED_BINDINGS when bindingConstructors[type]?
  [constructor, definition] = bindingConstructors[type]
  binding = constructor(node, context, definition, element)
  element.bindings.push(binding) if binding

for [constructor, definition] in bindingConstructors
  binding = constructor(node, context, definition, element)
  element.bindings.push(binding) if binding

Then we get guaranteed order on elements of our choice. Might be a small performance hit but as long as ORDERED_BINDINGS is small it should be negligible

@qq99 In the case of the DOM not having the correct value, Twine.refreshImmediately or any future call to Twine.refresh will take care of that.
On Shopify core, and in our tests, we call Twine.refreshImmediately right after Twine.bind.

@drewmartin
It will be much less performant as the list of ordered bindings grows since we need to check for each node.attributes, whether or not it is a member of the ORDERED_ATTRIBUTES list and if so, assign the definition to the right place in the list.

ORDERED_ATTRIBUTES wouldn't be all of them, it would just be the list of those where order is important that need to run first (ie define and bind, maybe eval)

what about 3 arrays?

Okay after the edit, Drew's solution is pretty much what I was going for and outlines my concerns about performance.

Do we envision new bindings (especially ones that fundamentally need to run before other bindings) to be added to Twine?
If not, then we can keep the simpler unshift solution since define and bind are agnostic of each other.

I'd say eval could potentially be on the list too, although I am not 💯  on all its use cases.

from what I've seen, typically people will define a thing, then call a method on it using eval @tsov

@DrewMartin , I've updated the branch with your suggestion.
@qq99 @tsov eval will still execute its definition first even if it is not placed into ORDERED_BINDINGS since it is the only binding left that executes its definition at construction time. If we were to add another binding that executes its definition at construction time then we would need to disambiguate behaviour by moving eval or the other binding into ORDERD_BINDINGS.
However I feel that this may be pre-mature optimization.

On Shopify core, and in our tests, we call Twine.refreshImmediately right after Twine.bind.

Doesn't this sound like a bug more than a feature? Isn't it poor for performance that we need to do a refresh of the bindings immediately after initial bind? It's also boilerplate that is unintuitive.

Also, you could do something like
BINDING_ORDER = {
 define: 1,
  bind: 2
}

Which would let you do a hash key check instead of an iterative check. I think if you used array.sort over the bindings with this method you could get a more scalable solution.

@TheMallen I think the point is that we don't want to scale this solution. Having bindings that are dependant on other ones unnecessarily makes Twine more complicated and also degrades the performance of Twine.bind. Adding array.sort on a 2 element array is premature optimization, and right now we're focused pretty heavily on Twine performance.
For your comment about Twine.refreshImmediately, I think that it is by design that bind and refresh are 2 separate actions. bind sets up the elements and their refresh callbacks so that when refresh is called (once at the beginning, and multiple times during runtime) the context can update the DOM values.
Also, Twine.refreshImmediately takes about 2% of the time of Twine.bind so it is both a necessary and low impact task performance wise.

(Twine.refreshImmediately is the small highlighted chunk at the end of the light blue bar taking 3.65 ms. Twine.bind takes 169.28 in comparison.)

Adding array.sort on a 2 element array is premature optimization, and right now we're focused pretty heavily on Twine performance.

I meant you'd sort the array of bindingConstructors. You wouldn't have a 2 element array to sort in the first place if you were using an object.

It's fine if refreshImmediately is much smaller, but we should still expose a method that calls both of them if we are really doing both everywhere. Twine.initialize or something.

I'd prefer eval to go in the list as well for explicitness sake. Having its order happen to be correct just seems like it's a bug waiting to happen if new things get added.

@TheMallen I tried a solution using array.sort and passing in a bindingOrder comparison function:
  bindingOrder = ([firstType], [secondType]) ->
    ORDERED_BINDINGS = {
      define: 1,
      bind: 2,
      eval: 3
    }
    return 1 unless ORDERED_BINDINGS[firstType]
    return -1 unless ORDERED_BINDINGS[secondType]

    ORDERED_BINDINGS[firstType] - ORDERED_BINDINGS[secondType]

I then conducted a performance test with CPU Throttling (5x slowdown)

Trial
Master
Current Solution
array.sort Solution

1
719.00ms
666.11ms
708.83ms

2
739.66ms
703.91ms
729.67ms

3
868.25ms
580.68ms
612.42ms

4
797.67ms
596.93ms
642.33ms

5
863.62ms
784.29ms
660.84ms

Averages:
797.64ms
666.384ms
670.818ms

It looks like the 2 solutions are fairly equivalent performance wise and I personally prefer the array.sort method since it is cleaner and reduces the amount of logic in Twine.bind.

I've added the array.sort solution on top of the old solution but I'll revert it if we decide to go with the old one.

@justinthec This looks done.  Should I be tophatting today?

@GoodForOneFare I'll get this merged and then tag you on the Core PR.

I'm going to merge this if there's no more feedback.

👍
I'm surprised by the speed using sort. I would have expected slower, comparable to the original speed before any of these changes.


draft: Fix incorrectly centered topics in drafts modal

GIFs or screenshots:
Before:

After:

Merged, thanks @andersk!


4.15 with gcc 8

previous attempts over 4.13.3 (see #30 and #27) suggest that closed to 4.14 version there are some issues/regressions with retrospectively recent compiler version...
So I've tried with 4.15 with make defconfig; make
pager.c: In function 'pager_preexec':
pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
  select(1, &in, NULL, &in, NULL);
            ^~~

root@f795d8285355:/linux-4.15# gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

considered as a compiler bug here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919
but a patch exists and fixes the situation:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad343a98e74e85aa91d844310e797f96fee6983b

same issue with tinyconfig
root@ad1cc9a80f87:/linux-4.15# KCONFIG_ALLCONFIG=../TuxML/compilation/x64.config make tinyconfig
gcc --version gcc (Debian 8.3.0-6) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
https://bugzilla.kernel.org/show_bug.cgi?id=198299
https://patches.linaro.org/patch/137848/

same issue with tinyconfig
root@ad1cc9a80f87:/linux-4.15# KCONFIG_ALLCONFIG=../TuxML/compilation/x64.config make tinyconfig
gcc --version gcc (Debian 8.3.0-6) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
https://bugzilla.kernel.org/show_bug.cgi?id=198299
https://patches.linaro.org/patch/137848/


Generated types are incompatible with ECMAScript modules

Hello,
when having "module": "NodeNext" in tsconfig.json, I get the following error:

There doesn't seem to be an option to make typescript generate imports with file extensions. When I manually modify the typescript files and the extensions (.js or /index.js) to all the imports the issue disappears. Is there a way to enable this? If not would be great to have the support.
The repository I am working on is open-source so I can send a link if somebody would like to reproduce it.
Thank you

I have implemented support for this here: https://github.com/dethcrypto/TypeChain/pull/799

@silasdavis Thank you! 👍

This should not be closed as long as the PR is still opened

Merged as: https://github.com/dethcrypto/TypeChain/pull/840

For those running into this issue, I just execute a js script that add the .js extension to relative imports right after the typechain command as follows
&& node addExtensionJs.js

The script command: https://github.com/dappnode/toolkit/blob/main/addExtensionJs.js

Im running into the same issue as @pablomendezroyo where the .js isn't being added as the suffix. For now, I don't mind adding it manually,
I was also getting this error in my index.ts file:
Cannot find module './factories.js' or its corresponding type declarations.

For the line:
export * as factories from "./factories.js";

The output when --node16-modules is enabled is almost correct but still not valid ESM code. The output includes both direct exports and rolled up exports using the * as Foo syntax, which imports from barrel files that do not include the needed file extension. See here for an example: https://github.com/dethcrypto/TypeChain/pull/840/files#diff-a13cd542099b350a17167268ac727e5d459fae33143fd0a1baf4cbb77f191f51R5
Is there a way to disable the * as exports which are unnecessary and undesirable as they reduce the effectiveness of tree shaking?


Increment total for multiple  burnTokens() calls within a single transaction

It appears that if one calls burnTokens more than once in a single transaction execution for the same token, the last write will win.
Within burnTokens.ts:
https://github.com/GalaChain/sdk/blob/main/chaincode/src/burns/burnTokens.ts#L200-L205
    const newBurn = await createTokenBurn(ctx, owner, tokenQuantity.tokenInstanceKey, tokenQuantity.quantity);
    const newBurnCounter = await createTokenBurnCounter(ctx, newBurn);

    await putChainObject(ctx, userBalance);
    await putChainObject(ctx, newBurn);
    await putRangedChainObject(ctx, newBurnCounter);

The above code will just create new object and directly write.
The ChainKey specificity of TokenBurn objects saved to chain is only as precise as the transaction time stamp:
https://github.com/GalaChain/sdk/blob/main/chain-api/src/types/TokenBurn.ts
Within GalaChainStub.ts:
https://github.com/GalaChain/sdk/blob/main/chaincode/src/types/GalaChainStub.ts#L78
    this.writes[key] = value;

The stub cache simply overwrites the previous write. The original object will be lost and not written when the cache is flushed at the end of transaction execution.
For most cases, this is desirable - however there are use cases for burns specifically where I would argue we want to support multiple calls for a. single token in different parts of the code.
Some examples -
Charging a fee in $GALA on the BurnTokens method to burn $GALA.
Charging a fee in $GALA to bridge out $GALA to an external chain, via a burning (vs locking) bridge.
Fees executed before the main transaction code. I expect that in the above examples, the TokenBurn normally written for the fee would be overwritten. But the TokenBalance would correctly reflect both burns as most code uses fetchOrCreateBalance which would read from the cache if the chain object had already been fetched at least once during transaction execution.

Fix ready for review: https://github.com/GalaChain/sdk/pull/375


Supports multiple renames

Make the rename-to tag support to multiple renames. Here is an example:
foo/bar
├── README.md
└── bin
    ├── a.sh
    ├── b.sh
    └── c.sh

If you want to load as a command all files ending in sh within the bin directory of that repository:
zplug "foo/bar", as:command, use:"bin/*.sh", rename-to:"*"

$ ls -l ~/.zplug/bin
lrwxr-xr-x 1 b4b4r07 staff  50 Dec 18 01:03 a -> /Users/b4b4r07/.zplug/repos/foo/bar/bin/a.sh
lrwxr-xr-x 1 b4b4r07 staff  54 Dec 18 01:03 b -> /Users/b4b4r07/.zplug/repos/foo/bar/bin/b.sh
lrwxr-xr-x 1 b4b4r07 staff  65 Dec 18 01:03 c -> /Users/b4b4r07/.zplug/repos/foo/bar/bin/c.sh

The above zplug syntax means this in zmv command.
zplug "foo/bar", as:command, use:"bin/(*).sh", rename-to:'$1' # single quotes

It is more convenient to use shorthand notation when executing from the command line. However, in the case of zplug, since it is assumed to write in zshrc file, the latter syntax will be easier to understand than the former notation.

Like zmv command with no options specified, you can now rename a command to load with the string captured with use tag.
zplug 'foo/bar', as:command, use:'(*).sh', rename-to:'$1'

Also,
zplug 'reorx/httpstat', as:command, use:'(httpstat).py', rename-to:'$1'

is acceptable.
Therefore, expand the glob and the capture results even if no wildcards specified.


feat: expose initializer for stack builders

Spoke offline, going to close this as resolved by: b6c5e503d25b57dda35e38f084a0417a7e06fe6e.


Intended meaning of era:inCountry

Currently IRI: http://era.europa.eu/ns#inCountry is defined with the intended use
Indicates the country in which the entity resides.
    rdfs:label "in country"@en ;
    rdfs:comment "Indicates the country in which the entity resides."@en ;
    rdfs:isDefinedBy era: ;
    rdfs:domain [ a owl:Class ;
                  owl:unionOf ( era:OperationalPoint era:VehicleType )
                ] ;
    rdfs:range skos:Concept ;
    dct:created "2020-09-01"^^xsd:date ;
    dct:modified "2020-09-01"^^xsd:date ;
    vs:term_status "stable" .

It has domain owl:unionOf ( era:OperationalPoint era:VehicleType . OP have location rather than residence. For VT the issue the intended use is ambiguous: "manufactured in", "spend most of it's lifecycle in", "has manufacturer with coutry of residence" etc.
Possible solutions: changing the comment, creating a sub-property, changing the domain (OP or Manufacturer).

Addressed in #10.


New structure for test repositories and added testing suites

Description
This PR enhances our test repositories to better simulate existing repositories for accurate testing. It also adds new testing suites for the refactored code from the most recent merge.
Current Repository Structure:

High_entropy

File_1.md:

Baseline content (commit 1)
High entropy added (commit 2)

Low_entropy

File_1.md:

Baseline content (commit 1)
Low entropy added (commit 2)

Improved Repository Structure:

Test_repo_1

File_1.md:

Baseline content (commit 1)
High amount of added change (commit 2)

File_2.md:

Baseline content (commit 1)
Medium amount of added change (commit 2)

File_3.md:

Baseline content (commit 1)
Low amount of added change (commit 2)

Test_repo_2

File_1.md:

Baseline content (commit 1)
Low amount of added change (commit 2)

This updated structure allows for robust testing, specifically with calculate_normalized_entropy, which measures changes at a file based level relative to the repository. Implemented through add_data.py and add_entropy.py, these repositories now feature varying levels of code changes.
In entropy.py the functions calculate_normalized_entropy,  aggregate_entropy_calculation needed testing suites.
In repo_helper, a test suite for process_repository is needed, but due to significant changes in the upcoming PR, it's better to implement the test suite there.
I would appreciate any feedback or suggestions!
Closes #66, #64, #77

What is the nature of your change?

[X] Content additions or updates (adds or updates content)
[ ] Bug fix (fixes an issue).
[ ] Enhancement (adds functionality).
[ ] Breaking change (these changes would cause existing functionality to not work as expected).

Checklist
Please ensure that all boxes are checked before indicating that this pull request is ready for review.

[X] I have read the CONTRIBUTING.md guidelines.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own contributions.
[X] I have commented my content, particularly in hard-to-understand areas.
[X] I have made corresponding changes to related documentation (outside of book content).
[X] My changes generate no new warnings.
[X] New and existing tests pass locally with my changes.
[X] I have added tests that prove my additions are effective or that my feature works.
[X] I have deleted all non-relevant text in this pull request template.

@d33bs, thanks for the review! I have implemented most of your feedback. I agree that it makes more sense to stray away from using the word "entropy" in instances where LOC are being implemented.
I have also made changes to the folder and file names. Please let me know what you think!
I also think that refactoring is needed, since we made the switch to pygit2. I will reference that comment in a new issue, and create a separate PR.