Error 500 with cli-python and dynamic Infrastructure (Pipeline yaml Azure DevOps)

Hello,
We have a number of issues with setting up yaml pipeline to launch our load shots on a kubernetes cluster. Our Kubernetes cluster is correctly configured as dynamic infrastructur in neoload web.
We use exaclty the same pipeline than ur example :
`- task: Bash@3
displayName: Install NeoLoad
continueOnError: false
inputs:
targetType: 'inline'
script: |
pip install neoload
neoload --version

task: Bash@3
displayName: Configure the NeoLoad test
continueOnError: true
inputs:
targetType: 'inline'
script: |
neoload login --url ${{parameters.neoloadApiUrl}} ${{parameters.neoloadToken}}
test-settings --zone ${{parameters.zoneId}} --lgs ${{parameters.lgs}} --scenario sctest patch "poc-test"
project --path project_poc/ upload "poc-test"

task: Bash@3
displayName: Run the NeoLoad test
continueOnError: true
inputs:
targetType: 'inline'
script: |
neoload run
--name "TestLaunchedFromAzureCI_build_$(Build.BuildNumber)"
--description "Azure example with meta; $(Build.BuildUri)"
"poc-test"`

When we launch the pipeline, we have first several error during the configuration step :
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.5/x64/bin/neoload", line 11, in
load_entry_point('neoload==1.1.3', 'console_scripts', 'neoload')()
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/click/core.py", line 1289, in invoke
rv.append(sub_ctx.command.invoke(sub_ctx))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/neoload/commands/project.py", line 20, in cli
upload(path, name_or_id)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/neoload/commands/project.py", line 33, in upload
neoLoad_project.upload_project(path, get_endpoint(settings_id))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/neoload/neoload_cli_lib/neoLoad_project.py", line 50, in upload_project
display_project(rest_crud.post_binary_files_storage(endpoint, file, filename))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/neoload/neoload_cli_lib/rest_crud.py", line 97, in post_binary_files_storage
response = requests.post(__create_url_file_storage(endpoint), headers=__create_additional_headers(),
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/neoload/neoload_cli_lib/rest_crud.py", line 17, in request_patch
return slf.request_orig(*args, **kwargs, timeout=timeout)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='neoload-files.saas.neotys.com', port=443): Read timed out. (read timeout=5)
After that, during the run step, the dynamic infrastructure starting well. The controler and the load generator are correctly configured and start well. But we have a problem with downloading project to the controler :

The controller on kubernetes cluster log :
2020/09/18 10:33:24 INFO  - neoload.controller.agent.ControllerAgent: Stopped connection to URL: https://neoload-api.saas.neotys.com on Zone: KzHpZ
2020/09/18 10:33:24 INFO  - neoload.controller.agent.ControllerAgent: Controller is stopped
2020/09/18 10:33:24 INFO  - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY
2020/09/18 10:33:24 INFO  - neoload.controller.agent.ControllerAgent: Controller is stopping
2020/09/18 10:33:08 [RxNewThreadScheduler-3] ERROR com.neotys.nlweb.resources.definition.api.a.d - An error occurred while processing callback for order NEOLOAD_CONTROLLER_AGENT_DOWNLOAD_PROJECT on this resource side
java.lang.IllegalArgumentException: Could not download file. Status code was not 200, got: 500
at com.neotys.nl.controller.agent.b.m.a(m.java:73)
at com.neotys.nl.controller.agent.b.m.a(m.java:55)
at com.neotys.nl.controller.agent.b.i.a(i.java:187)
at com.neotys.nl.controller.agent.c.c.a(c.java:40)
at com.neotys.nlweb.resources.definition.api.a.d.a(d.java:65)
at com.neotys.nlweb.resources.definition.api.a.d.a(d.java:50)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
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)
2020/09/18 10:33:08 ERROR - neoload.controller.agent.ControllerAgent: Could not download file. Status code was not 200, got: 500
2020/09/18 10:33:07 INFO  - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY_DOWNLOADING_PROJECT
2020/09/18 10:32:26 INFO  - neoload.controller.agent.ControllerAgent: Successfully connected to URL: https://neoload-api.saas.neotys.com on Zone: KzHpZ
2020/09/18 10:32:26 INFO  - neoload.controller.agent.ControllerAgent: Try to register to URL: https://neoload-api.saas.neotys.com
2020/09/18 10:32:26 INFO  - neoload.controller.agent.ControllerAgent: Controller Agent Status changed to: BUSY
2020/09/18 10:32:26 INFO  - neoload.controller.agent.ControllerAgent: Connection test to NeoLoad Web successful.
2020/09/18 10:32:25 INFO  - neoload.controller.agent.ControllerAgent: Testing connection to NLWeb... URL: https://neoload-api.saas.neotys.com Zone: KzHpZ
2020/09/18 10:32:24 INFO  - neoload.controller.agent.ControllerAgent: Starting controller agent (7.5.1 build=20200909-44)...
2020/09/18 10:32:24 INFO  - neoload.controller.agent.ControllerAgent: JVM Version:BellSoft - 1.8.0_252 - OpenJDK 64-Bit Server VM - Xmx=<PHONE_NUMBER> bytes
2020/09/18 10:32:24 INFO  - neoload.controller.agent.ControllerAgent: OS Version:amd64 - Linux - 4.15.0-1092-azure

The issue is  "neoload-files.saas.neotys.com 443 Read timed out."
Which size is your zip file ?

The zip file is 126MO. I just checked and there is several file that is not necessary...
I will delete all the not necesary files, re launch the pipeline and keep u informed.
What is the size of a "normal" zip ?

There is no "normal" size for the zip. But it seems the CLI had  a too short timeout that seems to prevent the file for being successfully uploaded.
A  fix is merged, and will be released on pypi soon.

The limit of project size is 250Mo for SaaS.

Please try new release 1.1.4 and reopen this issue if you have the same error.


"self" is not defined

Trying to import the "isomorphic-fetch" package so that I can use fetch on the server (node env.)
It errors out with this:
module.exports = self.fetch.bind(self);
ReferenceError: self is not defined

the output of the bundle is this:

Looks like there is no self object being defined. Is this something that needs to be defined in the fusebox config? I've never had an issue using this in webpack.
Thanks!

I think I know what's happening, we need to update docs .. bundle your server like this: [index.ts]

That did fix it, sorry for the late reply. Could you give me some more info on what that changes?
Thanks!

So it did help?

Yes, that removed the error I was seeing. Was wondering what wrapping it in [] changes.

it's called bundle isolation =) You don't need to bundle libraries on npm for server bundles -)


[Utility] DSL For end-to-end testing

* Requirments for this are still a WIP
Objective
Create a DSL for scripting end-to-end tests.
Origin Document
We want to be able to easily simulate pre-defined "user flows" or "user stories" as well as enable end-to-end fuzzing.
This ticket tracks the first iteration of such a framework.
For example, one potential solution to this could involve the use of Cucumber and Gherkin.
Goals / Deliverables

[ ] Research frameworks or libraries that can be leveraged for scripting end-to-end tests.

This should be timeboxed to one day and json can be used if this is not done

[ ] Define & document the specification of the format, actors and operations this DSL will provide
[ ] Implement the specification to support the base functionality (stake/unstake/send/etc) operations a protocol actor would want to do

General issue checklist

[ ] Update the appropriate CHANGELOG
[ ] Update the README
[ ] Update any relevant global documentation & references
[ ] Document small issues / TODOs along the way

Non-goals

Add new functionality to the utility module
A complete "final" implementation of such a framework
Automation of scripts using this DSL
Fuzzing of scripts using this DSL

Testing Methodology

[ ] A new testing framework
[ ] All tests: make test_all
LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md
Remove

Creator: @Olshansk
Co-Owners: @andrewnguyen22 @okdas

I think Gherkin+Cucumber will do the trick, because it would allow us to build our DSL from a solid base.
Gherkin works by having collections of steps that map to code, thus linking a natural language description to functionality; it gives us a parser, interpreter, tooling, and part of our language. The steps we design are the other part of our language.
For instance, in e2e testing we need to check that some cli invocations of the executable react by adequately erroring out. These three steps help us cover any such scenario:
We have a step that provides an executable from the checked out code:
Given the user has the current version of pocket

A step that runs any command via the provided executable (capturing its stdout and stderr under the hood):
When the user runs the command "command"

And a step to check the contents of the captured stderr:
Then the user should be able to see error containing "error message"

The second and third steps are implemented parametrically, so "command" and "error message" are placeholders.
I want to illustrate with an example, given the steps I mentioned above. Say we add a mystery command to pocket and decide that including a _ or a / as part of a parameter should produce an error. We then think through the different ways we want to test it. Let's choose the specific scenario of rejecting bad parameters, which can be checked with the steps we have defined above.
Scenario Outline: Mystery Command Rejects Bad Data
Given the user has the current version of pocket
When the user runs the command <command>
Then the user should be able to see error containing "invalid character"
Examples:
|command                                                 |
|mystery "_"                                             |
|mystery "/"                                             |
|mystery "this is a valid argument, except it contains/_"|

And given the steps have already been implemented to test other scenarios, we're done. This is not hypothetical and would work verbatim in the current e2e suite.
New steps are meant to be added only when we need to test in novel ways.
To keep with this example: when we build the "positive" scenarios that check having proper parameters should output a success message of some sort, we'll need to add a step that is capable of examining the stdout of the command.
Step suites are easy to grow organically; adding new steps doesn't need to break old steps. If we add an unimplemented step, it's reported as "undefined" by cucumber without breaking anything. We can define the missing steps and grow the ~step suite~ language organically and in collaboration with whomever thinks up new ways to poke at or observe the system.

Superseded by #466.


[manuf] provision attestation key seed (output of DRBG) during personalization

This provisions the attestation keygen DRBG output seed into flash info page 4, in bank 0, partition 0. These seeds will be read out of flash and used by the otbn_boot_services lib to generate the attestation keys that will be FIPS 186-5 compliant.

@jadephilipoom I ended up just writing the DRBG output to the flash info page, as it will be easier to forward along the various attestation_seeds to the otbn_boot_attestation_keygen() function. Lmk if this is ok, if I used the entropy complex cryptolib API correctly.

Closing this as commits were merged as part of #20255


FancyZones doesn't work well on switching between different DPI scaling.

ℹ Computer information

PowerToys version: 0.25.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: 19042.630

📝 Provide detailed reproduction steps (if any)

Set a custom layout of FancyZones in 'zone editor' with external monitor(different scaling, e.g. 150%, mode: second screen only)
Then switch back built-in screen with scaling 200%

✔ Expected result
The layout should work in a same way on different scaling (keep same relative layout for each zone).

❌ Actual result
The layout seems to be in pixel-wise. Looks bigger when I use it with scaling 200%.

@BenjaminChoou
is it a canvas layout or a grid based layout?
Canvas layout are defined in absolute coordinates and cannot be scaled.
Grid based layouts are defined in % of the working area and scaled automatically.


use pydendic v2 api

#1198  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @BelSasha and the rest of your teammates on  Graphite


Score mechanism

For each uninfected ball we add 10 points
We set a threshold for every level, say 30, 40
If the score is greater than threshold at the end of the timer, the player can go to the next level

@vkanduku1995 @patrick-assaf Could you document (doesn't have to be too detailed) how you set up a rule to score?


Update README.md

Abstain vs Absent fix
Abstain: A neutral vote a.k.a. blank vote/ballot
Absent: No-Show / In Absentia

I didn't notice this PR until now, apologies! It seems they are obsolete now, though. thanks for the help!


ModuleNotFoundError: No module named 'tensorflow.contrib'

Code brakes with tensorflow 1.14.0, module tensorflow.contrib was removed
https://github.com/tensorflow/tensorflow/issues/31350
had to move to 1.14 because has a fix for something else
https://github.com/tensorflow/tensorflow/issues/34551

hey, guys so the solution for this issue is to use old tf versions ?????


Bug with ADI calculation

https://github.com/bukosabino/ta/blob/953be3d7bdd1b1ec2442701e508d565a1ebe8e90/ta/volume.py#L33-L34
I believe this not calculating the ADI correctly.
Per wikipedia the ADI should be ADI(prev) + volume X CLV
What those lines above are doing is (volume x CLV)(prev) + (volume x CLV)
So it's not propagating the previous ADI value to calculate the next ADI value, but rather the previous (volume x CLV) value.

Hi @jfeust,
Thank you so much, and sorry about the time delay to answer.
Finally, I have fixed the ADI indicator using cumsum Pandas function, and I have written some tests to validate the results (following the dataset on https://school.stockcharts.com/doku.php?id=technical_indicators:accumulation_distribution_line).
Please, take a look at this commit, and let me know your opinion.
Best,
Dario

The new implementation was included in the last version (0.5.6). Instructions to update:
pip install --upgrade ta

or
pip install ta==0.5.6

Best,
Dario


Change how initial demo languages are loaded

Currently, languages are pre-loaded into the startup database.  This is a hassle sometimes, as changing a language's stories (e.g the Tutorial) can cause the entire DB file to change, even though it's only data that's changed.  The data exists in the language def files, there's no need for that thrash to impact the db diffs as well.  This will also simplify database versioning, I think.
To do:

[ ] add a system flag, something like 'shouldLoadDemoData', which is only set for the new database
[ ] on app startup, check that flag, and load from the appropriate def files
[ ] once app is started, remove 'shouldLoadDemoData' flag
[ ] if any data exists, nothing should happen even if 'shouldLoadDemoData' flag is present - can't write over existing stuff
[ ] Try load without mecab installed - eg if a lang is marked as a preload but its parser isn't supported then we shouldn't do that
[ ] db.reset should set it back to an empty db
[ ] do a beta release and fresh install?

Started work in issue_534_change_initial_demo_data_load branch.  Currently 127 pytest tests fail, as the baseline db no longer has the demo languages and books.  pytest -xand fix the rest.

re speeding up the tests: test perf chars:
this branch
unit: 393 passed in 115.20s (0:01:55)
accept: 45 passed in 209.42s (0:03:29)

develop
unit: 385 passed in 46.24s
accept: 45 passed in 210.53s (0:03:30)

so the unit tests are quite a bit slower.

All seems good, opening PR for CI check.

Released in 3.6.1.


CI build is getting stuck after executing gradlew build but when i kill the GradlWrapperMain or GradleDaemon process then build is going through fine

Expected Behavior
CI build should go through fine after executing gradlew build
Current Behavior
CI build is getting stuck after executing gradlew build command. As you can see in the below logs the build is getting successfully executed and the daemon which executed the build is getting stopped as well but after that the build is getting stuck for infinite time until it time outs. we are using java 11.0.17, spring boot 2.x and gradle wrapper 7.6
Below is the CI build logs in debug mode
`2023-06-28T11:38:17.325+0000 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed.
Steps to Reproduce
please see the above versions of java, spring boot and gradle and suggest what could be going wrong and what we can do to resolve it.
Gradle version
7.6
Build scan URL (optional)
No response
Your Environment (optional)
No response

Thank you for your interest in Gradle!
Your issue appears to be a question about how to use Gradle. Your question might be answered in Gradle documentation or on our community Slack or forums. Find links to these resources on help.gradle.org.
If you think you have come across a Gradle bug, please file a new issue describing the problem and how to reproduce it.
If you think Gradle is missing a feature, please file a new issue describing your use case for the feature.

Hello József Bartók, I have already gone through gradle documentation, tried many google search but still nothing helped me. could you please help me getting this resolved or at least some lead so that i can work on it. please guide me the documents relevant to the issue

I have hit exactly same issue.
My stack is:

Gradle 8.7
JDK 8
Jenkins 2.440.3

Daemon worker is stuck for some thread to complete and it seems to be Stdin Handler, but not sure why?
Any solution?
"Stdin handler" #23 prio=5 os_prio=0 tid=0x00007f90dc00e000 nid=0x7077 in Object.wait() [0x00007f912439d000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:273)
        at java.io.PipedInputStream.receive(PipedInputStream.java:231)
        - locked <0x00000004f4aea338> (a java.io.PipedInputStream)
        at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
        at java.io.OutputStream.write(OutputStream.java:75)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$1.onInput(ForwardClientInput.java:54)
        at org.gradle.launcher.daemon.server.DefaultDaemonConnection$StdinQueue.doHandleCommand(DefaultDaemonConnection.java:299)
        at org.gradle.launcher.daemon.server.DefaultDaemonConnection$StdinQueue.doHandleCommand(DefaultDaemonConnection.java:286)
        at org.gradle.launcher.daemon.server.DefaultDaemonConnection$CommandQueue$1.run(DefaultDaemonConnection.java:259)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
        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:750)

"Asynchronous log dispatcher for DefaultDaemonConnection: socket connection from /<IP_ADDRESS>:46335 to /<IP_ADDRESS>:36866" #22 prio=5 os_prio=0 tid=0x00007f90dc00c800 nid=0x7076 waiting on condition [0x00007f912449e000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.gradle.launcher.daemon.server.exec.LogToClient$AsynchronousLogDispatcher.run(LogToClient.java:108)

"Daemon worker" #21 prio=5 os_prio=0 tid=0x00007f90e0014800 nid=0x7073 waiting on condition [0x00007f912459e000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000004f47b2688> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
        at org.gradle.internal.concurrent.AbstractManagedExecutor.stop(AbstractManagedExecutor.java:86)
        at org.gradle.internal.concurrent.DefaultExecutorFactory$TrackedManagedExecutor.stop(DefaultExecutorFactory.java:116)
        at org.gradle.internal.concurrent.AbstractManagedExecutor.stop(AbstractManagedExecutor.java:76)
        at org.gradle.launcher.daemon.server.DefaultDaemonConnection$CommandQueue.stopConsuming(DefaultDaemonConnection.java:227)
        at org.gradle.launcher.daemon.server.DefaultDaemonConnection$CommandQueue.useHandler(DefaultDaemonConnection.java:211)
        at org.gradle.launcher.daemon.server.DefaultDaemonConnection.onStdin(DefaultDaemonConnection.java:109)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:83)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:64)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
        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:750)


Add module version check

Test a strict version check, initially only with MockWebServer if two release builds of okhttp jars are used.  Any snapshot or dev builds are allowed and may or may not fail for other incompatibility reasons.  But mixing release builds is enforced as a failure.
Support for actual breaking changes has been pretty light recently, so occasional reports of users confused by version incompatibilities when mixing versions is more notceable.  I hope this PR just removes a class of bug reports and stackoverflow questions, since the error is immediately obvious.
If any snapshot versions are used, then I don't want to stop people working around issues, so strictly doing this with released versions.

I thought about moving this into MockWebServer.COMPANION, but I suspect that causes confusing errors during general classloading etc.  So figure direction objection creation is safer.  The test case should fail to be created, or run, rather than the test run terminating while building the list of test cases.

Although we see lots of version skew errors in our issues, I assume most version skew is benign and doesn’t harm users in practice.

I'm surprised you are ok with this, maybe less with mockwebserver which is mainly annoying.  But eventually with okhttp-logging-interceptor, we should strictly enforce this and catch during development before an APK gets shipped.
But overall, happy to wait until we promote a BOM more.

Will close for now, consider reopening in future.

One other option is to avoid sharing internal stuff between modules. This is easy in most things but not MockWebServer; the HTTP/2 internals are pretty huge.

Will wait for a signal if you change your mind on this.

Another case https://github.com/square/okhttp/issues/6231

@swankjesse saw https://stackoverflow.com/questions/64351110/no-static-method-delimiteroffset-in-class-lokhttp3-internal-util
Do you have an example for the BOM?

Another example which I presume is down to version skew https://stackoverflow.com/questions/66888631/ionic-android-app-crashes-with-okhttp-error


Feature Request: Markdown and LaTex Support

Thanks a lot for the component, I really like it so far and it works very well for plain text.
Currently, when the text is formatted as Markdown or as LaTeX the text selection also seems possible. However, the text does not get rendered correctly as Markdown / LaTeX in the user interface.
Hence my feature request: it would be great to have an argument like 'format', which can take ['text', 'markdown', 'latex']. For the latter two, the text in the user interface should be rendered with "st.markdown" or with "st.latex". The text selection itself should work just as it does currently. Ideally, this should also work well for tables and formulas.
PS.: I think this request goes in the direction of the issue https://github.com/kevin91nl/text-highlighter/issues/8. However, it goes beyond just rendering new line characters.

Thank you for your suggestion, that would be a great addition! I don't have the time to implement this at the moment, but feel free to create a pull request.


bring back sharing

This PR:

brings back url sharing while also keeping the schedule in your browser's local storage.
changes default setting to check for the url hash first, then local storage.

This way you can share your settings with people, view theirs in your browser like the good old times and still easily access your settings in your browser on tetick.xyz.

@duck2 told me in person that he finds this unnecessary, two many options are not really his thing.


Fix TypeScript compiler setup

Motivation 💪
This PR fixes some small details that were overlooked when adding TypeScript support that led to the library not being installable.
Changes 🔧
This is the outcome of trying to install v1.18.0 in a TypeScript-powered project 🔴

This is the result after the changes suggested by this PR ✅

Will replace with #106.


Target for azure file system (file shares)

Hello!
I have created a custom target for microsoft azure file system and want to make it publicly available so everyone can use it. I checked and the current available targets for azure do not include support for azure file system (file shares).
Can it be added to the custom targets available here: Targets
Here is my repo and nuget link: Github
What do you think?

Sounds good! You could add your target here: https://github.com/NLog/NLog.github.io/blob/master/config/targets.json


State value to set for "hue.0.Custom_group_for_$lights_LightGroup.ct" has value "2000" less than min "2179"

Admin  v5.1.23
Hue v3.5.19
JS v12.21.0
NPM 6.14.11
Adapter neu gestartet
Gruppe neu angelegt
Iobroker neu gestartet
Errorlog

Don't want to open a new issue, but i got pretty much the same errors in my log...
It's an "innr e14 colour" lamp

https://github.com/iobroker-community-adapters/ioBroker.hue/blob/4174bfac57853b5015c585aba356fbfaf0cbb1a2/main.js#L1417
changing the value of gobj.common.min to 1800  would work for me.
gobj.common.min = 1800;

hm okay so fallback ct needs to be even lower

controlling the light directly so without a group shows no problems? So can you show min/max of the light object

I'm getting the error controlling the light with my HUE Android App. When i come below ct value 2000, i'll got that error in log. (Adapter is polling -> spitting errors under value 2000, no matter how or what is controlling the light)
The object min/max values of the light self, are right. No, issues with that.
{
  "_id": "hue.0.innr_e14_color.ct",
  "type": "state",
  "common": {
    "name": "innr e14 color.ct",
    "read": true,
    "write": true,
    "type": "number",
    "role": "level.color.temperature",
    "unit": "°K",
    "min": 1802,
    "max": 6536,
    "def": 1802
  },

Schönen Sonntag noch!


Unexpected behaviour in proving sum-to-n-foundry-spec.k

The sum-to-n-foundry-spec.k file contains a circular proof of the usual sum of the first n integers. Currently, at the critical point, the branching that happens is unexpected to me and appears to require a lemma that I don't think should be required. I believe that Kore incorrectly returns a result that can then be interpreted as a split instead of a non-deterministic branch. The lemma in question is:
rule [rangeBool-not-zero-l]: notBool (X ==Int 0) => X ==Int 1 requires #rangeBool(X) [simplification]

The most important parts of the claim are the K cell and the word stack, and they are as expected:
<k>
  (JUMPI 1569 bool2Word(N:Int ==Int 0) ~> #pc [ JUMPI ] => .K)
  ~> #execute
  ...
</k>

<wordStack>
    (S => (S +Int ((N *Int (N +Int 1)) divInt 2)))
  : 0
  : (N => 0)
  : 334
  :<PHONE_NUMBER>
  : .WordStack
</wordStack>

and the path condition is
{ true #Equals 0 <Int N:Int }
{ true #Equals 0 <=Int N:Int }
{ true #Equals 0 <=Int S:Int }
{ true #Equals N:Int <Int pow256 }
{ true #Equals S:Int <Int pow256 }
{ true #Equals ( 178 *Int N:Int ) <=Int GAS_AMT:Int }
{ true #Equals ( S:Int +Int ( ( ( N:Int *Int ( N:Int +Int 1 ) ) -Int ( ( N:Int *Int ( N:Int +Int 1 ) ) modInt 2 ) ) /Int 2 ) ) <Int pow256 } ) ) ) ) ) ) )

Now, the critical node in the proof is node 18, whose K cell and word stack are
<k>
  JUMPI 1569 bool2Word ( N:Int ==Int 1 )
  ~> #pc [ JUMPI ]
  ~> #execute
  ~> K_CELL_de090c3b:K
</k>

<wordStack>
  ( ( S:Int +Int N:Int ) : ( 0 : ( ( N:Int +Int -1 ) : ( 334 : (<PHONE_NUMBER> : .WordStack ) ) ) ) )
</wordStack>

and whose path condition is the same as above. Without the lemma above, the execution branches into the following split:
┃ (branch)
┣━━┓ subst: .Subst
┃  ┃ constraint:
┃  ┃     ( ( S:Int +Int N:Int ) +Int ( ( ( ( N:Int +Int -1 ) *Int N:Int ) -Int ( ( ...
┃  ┃     ( S:Int +Int N:Int ) <Int pow256
┃  ┃     1 <Int N:Int
┃  ┃     N:Int <Int<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584...
┃  ┃     ( 178 *Int ( N:Int +Int -1 ) ) <=Int ( GAS_AMT:Int +Int -178 )
┃  ┃     1 <=Int N:Int
┃  │
┃  └─ 19 (leaf, pending)
┃      k: JUMPI 1569 bool2Word ( N:Int ==Int 1 ) ~> #pc [ JUMPI ] ~> #execute ~> K_CELL_de ...
┃      pc: 1539
┃      callDepth: CALLDEPTH_CELL:Int
┃      statusCode: STATUSCODE_CELL:StatusCode
┃
┗━━┓ subst: .Subst
   ┃ constraint:
   ┃     notBool ( N:Int ==Int 0 )
   │
   └─ 20 (leaf, pending)
       k: JUMPI 1569 bool2Word ( N:Int ==Int 1 ) ~> #pc [ JUMPI ] ~> #execute ~> K_CELL_de ...
       pc: 1539
       callDepth: CALLDEPTH_CELL:Int
       statusCode: STATUSCODE_CELL:StatusCode

and since the second branch carries no additional information, the execution keeps branching infinitely. This appears to be a remainder branch of some kind, but the backend returns a non-empty rule predicate for every next state.
With the lemma above in place, Kore somehow uses it to make the split condition of node 20 become N ==Int 1. I have looked at all possible logs and I do not understand how.
As part of one of the latest PRs, I have added that lemma locally to that file so that it could pass, but I think that we should not have that lemma anywhere and that have a bug either in the backend reasoning or in the results returned by the backend or in how we interpret these results.
I am attaching the failing (without the lemma) and successful (with the lemma) bug reports for inspection by the backend team (@geo2a @goodlyrottenapple @jberthold).
succ.tar.gz
fail.tar.gz

So, notBool (N ==Int 0) is already implied by the prior path condition 0 <Int N, and so the first branch on N ==Int 0 is incorrect basically, it sohuld be vacuous?

It is possible that it is vacuous, yes, because I think at that point the circularity should just apply for N mapped to N -Int 1.

@goodlyrottenapple and I have understood what's happening. There's an additional constraint in the path condition, N <=Int 1***, which is the negation of the requires of the circularity, and which both:

Does not get propagated to the rule_predicate part of the response, which I think it should, and I would argue that the meaning of rule_predicate should be 'what must hold for this rule to be applied in this configuration' rather than 'requires clause of the rule'.
Allows the simplification to fire, creating N ==Int 1 from notBool ( 0 ==Int N ) correctly.

***Technically, a disjunction of a bunch of negations, but in which the only disjunct to possibly hold is N <=Int 1.

@PetarMax can we close it now that https://github.com/runtimeverification/evm-semantics/pull/2618 has been merged?

Well, the problem has not been fixed, but the test has.


Resources was updated from DIPS.Mobile.DesignTokens

Here is the latest resources that was generated by DIPS.Mobile.DesignTokens repository

Just for testing


Add new TFT Queue (Set 3.5 Revival: Galaxies)

Fixed in https://github.com/stelar7/R4J/commit/285afa6762249608e17798ea3c9b90af47fdfa91


Security test, please do not approve a ucsloh

Security test, please do not approve a ucsloh

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?


enable ThreadPool to join worker threads

Adds an option to ThreadPoolBuilder to configure the resulting ThreadPool
to join the worker threads when dropped.
fixes #1470

We might also (additionally or instead!) add a shutdown method that does the same.

This PR is garbage :scream: Sorry for that!
I didn't quite understood how the pool is shared with every task.


add okchain.json

I'm going to be restarting the testnet tomorrow. Merging this in anticipation of that. Please see gaiad and rly version details here


Issue-#37: correcting the reference to LambdaHelper class

Correcting the reference to LambdaHelper class in lambda_handler.py
Description
The AutoCleanup lambda wasn't able to read DynamoDB table auto-cleanup-whitelist-${stage}.
The get_whiteList() method of lambda_handler.py used LambdaHelper class which exist in lambda_helper.py , the reference is incorrect.
https://github.com/servian/aws-auto-cleanup/blob/master/auto_cleanup/lambda_handler.py#L193
def get_whitelist(self):
                parsed_resource_id = lambda_handler.LambdaHelper.parse_resource_id( ....

def get_whitelist(self):
                parsed_resource_id = lambda_helper.LambdaHelper.parse_resource_id( ...

@samit2040 thanks very much for the fix. I'm having some trouble with Travis. I've reached out to them for support. Once I fix the build we'll get this merged in.

@samit2040 apologies for taking so long to fix this. Just found out that Travis doesn't work with forked merge requests due to secret environment variables. I've created my own request to validate this change #41


clarifications on rfc process

Migrated from Private Gitlab. Original Author Daniel Chen (@chenbh)

What's the criteria to designate something as an RFC vs regular discussion? What are some examples of a substantial change that should be discussed in an RFC instead of slack/jira/gitlab issues/zoom call?
What's the process after submitting an RFC? Who's reviewing it and how many reviewers can be expected?
What does it mean for an RFC to be merged? Does it signal that the team is comfortable with the idea, but doesn't have any responsibility to actually implement it; or does it turn into an item in the backlog that the team will eventually pick up?
How does editing merged RFCs work (follow ups, modifications, deprecations)?

I've seen a couple of places where this whole process is documented as RFC-0000 or RFC-0001: python, kubernetes, rust

I've run into a similar question today. RFC 14 supersedes RFC 3, and I was looking for the proper way to address that. I've decided to adopt the Status header from python and kuberenetes (linked above) and mark the RFC as Withdrawn. This preserves the history of that RFC (which would otherwise live forever in a branch, in danger of being deleted).

Comment from #458

At community meeting Stephen suggested - every change should be covered by an RFC, but a single RFC could cover multiple change. It is okay to capture uncertainty in RFC and work iteratively - check out CNCF

From exploring other OSS projects with a RFC process, some observations or common patterns arise:
When to RFC?

Adding/removing features
Process changes
Breaking changes to the public API

See react and gRPC as example projects.


Azure Bastion - ERROR: Compute allocation failed. Please retry later - InternalServerError

Hello, I think this issue needs to be reopened. Im getting similar issue using Powershell Module, Azure Cli and Terraform using the WestEurope region. See below samples.
Terraform:
╷
│ Error: waiting for creation/update of Bastion Host: (Name "bastion-test-01" / Resource Group "rg-test-01"): Code="GatewayAllocationFailed" Message="Compute allocation failed. Please retry later." Details=[]
│

Azure cli:
PS C:\Users\devBox005> az network bastion create --name "Bastion-Test" --public-ip-address "Bastion-Test-pip" --resource-group "rg-test-01" --vnet-name "vnet-test-01" --location "westeurope"
Command group 'network bastion' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
(InternalServerError) An error occurred.
Code: InternalServerError
Message: An error occurred.

Powershell module:
PS C:\Users\devBox007> New-AzBastion -ResourceGroupName "rg-test-01" -Name "Bastion-Test-01" `
>>    -PublicIpAddressRgName "rg-test-01" -PublicIpAddressName "Bastion-Test-pip" `
>>    -VirtualNetworkRgName "rg-test-01" -VirtualNetworkName "vnet-test-01" `
>>    -Sku "Standard"
New-AzBastion: Long running operation failed with status 'Failed'. Additional Info:'An error occurred.'
StatusCode: 200
ReasonPhrase: OK
Status: Failed
ErrorCode: InternalServerError
ErrorMessage: An error occurred.
PS C:\Users\devBox007>

What I don't understand is why it keeps the resources even if its in a failed state. See below:
Sample on the Azure portal:

I also requested the below issues be reopened as the issue is similar:
https://github.com/Azure/azure-cli/issues/21678#issuecomment-1128947414
https://github.com/Azure/azure-powershell/issues/18155#issuecomment-1128953059
https://github.com/Azure/azure-cli/issues/22433#issuecomment-1128960016

route to CXP team

Also fails in region east-us:
az network bastion create --name test-bastion --public-ip-address test-ip --resource-group test-group --vnet-name test-vnet --sku Standard --location eastus
Gives:
ERROR: (GatewayAllocationFailed) Compute allocation failed. Please retry later. Code: GatewayAllocationFailed Message: Compute allocation failed. Please retry later.
Or:
ERROR: (InternalServerError) An error occurred. Code: InternalServerError Message: An error occurred.

@leom-restack @GeneralGorgonzola Apologies for the late reply. Thanks for reaching out to us and reporting this issue.
The Compute allocation failed error message would occur when there is a capacity related resource crunch in that particular region. During such issues, you can wait for sometime and then retry the operation. Alternatively you could also try to create the resource in some other region.
If its a production down issue, you could also open a support ticket so that our support professionals can reach out to the product group team in the background to fix the issue on priority.

@leom-restack I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you have any pending queries. Awaiting your reply.

@leom-restack I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you have any follow-up queries. Awaiting your reply.

@navba-MSFT
It works now.
It seems to have improved significantly sometime last week.
I also noticed that cleaning up resources is a lot faster now.

@GeneralGorgonzola Thanks for getting back. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Support partitioned parquet files

At the time, Modin fallback to pandas on parquet files that have partitioned columns:
import pandas
import modin.pandas as pd

file_name = "modin_issue#0000.parquet"

pandas.DataFrame({"a": [1, 2, 3, 4], "b": [1, 1, 2, 2]}).to_parquet(file_name, partition_cols=["b"])

df = pd.read_parquet(file_name) # 'default to pandas' warning
print(df)

This would be a very important feature, it can also be used to further improve performance for sorting, grouping or filtering.
(but right now, just making read_parquet() work in generell would be great


Show all channels in chat mention hud

Adds a loading state to the channel mention hud and a call to TeamsGen.getChannels on mount if we haven't loaded it before. The teams teamNameToChannelInfos doesn't have any cache busting, so this can get out of date if channels are removed/created. I'll make tickets for a notification for this and we can decide how to refresh the data / integrate with this PR. r? @keybase/react-hackers

we discussed IRL. i think we need to just have this info and sync and not try and load this on starting up the hud


fix: A lot of RAM is needed #26

Description
Added loadIntoMem parameter to Soloud.loadFile().
By default is set to true which means no breaking changes.
if true Soloud::wav will be used which loads all raw audio data into memory. This will be useful when loading short audio, ie for game sounds, mainly used to prevent gaps or lags when starting/seeking a sound (less CPU, more memory allocated).
Every second of a 44100Hz stereo sound takes about 350kB of memory, means that a minute is about 20 mB. Shouldn't be a problem nowadays, but it could be if a lot of audio files are loaded as the issue #26 states.
If false, Soloud::wavStream will be used and the audio data is loaded
from the given file when it's needed (more CPU less memory allocated). But, using false, a drawback is evident when seeking backward using ie a slider with mp3 files:  the audio position must be reset to the start and then the new seek position can be calculated. This produce a little lag when using a slider, so, on most situation, I think it's better to load audio into memory.
Type of Change

[x ] ✨ New feature (non-breaking change which adds functionality)
[ x] 📝 Documentation

Using loadIntoMem=false with MP3s lags when seeking.
The MP3 frames do not have a fixed size, therefore the correct seeking position must be computed by reading all data in between the current position and the new seeking position. The lag to calculate it is more evident when seeking backward where it is necessary to rewind to the start position and calculate the new position.
This doesn't happen with FLACs, OGGs, and WAVs. So I disabled seeking functionality using this mode with only MP3s.
Loading an audio file using this mode could be useful, especially for background music (not ie with an audio player where a seeking slider is a must).
Anyways, the need to use loadIntoMem=false comes from issue #26 where an uncommon use-case of loading more the 30 MP3 audio files.
I don't know if this could cause problems for developers who will use this package even if well documented.
How do you feel about this @filiph ?


asterisk issue fixed.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Exchange-Server-2013/edge-subscriptions-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/edgesync-replication-data-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/exchange-admin-center-in-exchange-2013-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/manage-mail-enabled-security-groups-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/message-size-limits-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Server-2013/sender-id-exchange-2013-help.md
:white_check_mark:Succeeded
View

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


[FEATURE]: [Iatapay] Use connector_request_reference_id as reference to the connector

:memo: Feature Description

We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard.
Presently, there is a lack of uniformity in this process, as some implementations employ payment_id while others utilize attempt_id.
This inconsistency arises from the fact that payment_id and attempt_id correspond to two distinct entities within our system.

:hammer: Possible Implementation

To mitigate this confusion, we've introduced a new field called connector_request_reference_id in our RouterData.
This id should replace them as a reference id to the connector for payment request.
One might need to have exposure to api docs of the connector for which it is being implemented.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052

:bookmark: Note : All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

Hey @soumya-dash3, , I see that you're already assigned to #2295 and are working on it. For now, we'll leave this issue open to any other interested contributors. You may pick this up once your work on #2295 is completed, and if no other contributors have expressed interest on this. I hope that's fine by you

@AkshayaFoiger I'm interested to work on this issue. Can I be assigned this issue?

Hi @SoumyoPurkayastha , I have assigned this issue to you 👍

Thanks a lot for assigning me the issue, I'll start working on it right away.
I have a small doubt though. The IATA Pay API references that I could find don't explicitly mention if the field iataPayementId is necessarily returned for every payment request. Ref:

So should I write a fallback code for the connector_response_reference_id field, and if so, is there any prescribed field to fallback to.
@AkshayaFoiger @Sakilmostak

Hello @SoumyoPurkayastha, for the fallback you can add the merchantPaymentId which we are already receiving in the response.

I finished issue, assigned to me, I can pick this one
But it feels like it has been fixed in #2524

Hey @daniloff200 ,
This issue is for connector_request_reference_id but #2524 is for connector_response_reference_id.

oh, my bad
Anyway, I'm available
cc @swangi-kumari

Hey @daniloff200 , sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with


Fixes #51 Use parent.location.href as the current URL when inside a srcdoc iframe

https://github.com/Mikhus/domurl/issues/51

Thanks, I'll review and merge it soon!


ACL issue

Environment

VerneMQ Version: docker erlio/docker-vernemq:latest
vernemq variables
DOCKER_VERNEMQ_ALLOW_ANONYMOUS: 'off'
DOCKER_VERNEMQ_ACCEPT_EULA: 'yes'
DOCKER_VERNEMQ_LISTENER__TCP__ALLOWED_PROTOCOL_VERSIONS: 3,4,5
DOCKER_VERNEMQ_LISTENER__TCP__DEFAULT: '<IP_ADDRESS>:1883'
DOCKER_VERNEMQ_PLUGINS__VMQ_DIVERSITY: 'on'
DOCKER_VERNEMQ_LISTENER__SSL__CAFILE: '/etc/ssl/ca.crt'
DOCKER_VERNEMQ_LISTENER__SSL__CERTFILE: '/etc/ssl/server.crt'
DOCKER_VERNEMQ_LISTENER__SSL__KEYFILE: '/etc/ssl/server.key'
DOCKER_VERNEMQ_LISTENER__SSL__USE_IDENTITY_AS_USERNAME: 'off'
DOCKER_VERNEMQ_LISTENER__SSL__REQUIRE_CERTIFICATE: 'off'
DOCKER_VERNEMQ_LISTENER__SSL__DEFAULT: '<IP_ADDRESS>:8883'
DOCKER_VERNEMQ_VMQ_DIVERSITY__AUTH_POSTGRES__ENABLED: 'on'
DOCKER_VERNEMQ_VMQ_DIVERSITY__POSTGRES__HOST: 'host.docker.internal'
DOCKER_VERNEMQ_VMQ_DIVERSITY__POSTGRES__PORT: '5432'
DOCKER_VERNEMQ_VMQ_DIVERSITY__POSTGRES__USER: 'admin'
DOCKER_VERNEMQ_VMQ_DIVERSITY__POSTGRES__PASSWORD: 'admin'
DOCKER_VERNEMQ_VMQ_DIVERSITY__POSTGRES__DATABASE: 'mydb'
DOCKER_VERNEMQ_VMQ_DIVERSITY__POSTGRES__PASSWORD_HASH_METHOD: 'crypt'
DOCKER_VERNEMQ_LOG__CONSOLE__LEVEL: 'debug'

Actual behaviour
I am trying to authorize clients to specific topics. SSL is working, authentication is working (when i change password to 1234 i can't connect). My setup in DB for publish_acl and subscibe_acl is both [{"pattern": "x"}] but i am able to send message to any topic i want.
mosquitto_pub  --cafile ca.crt --cert client.crt --key client.key -h localhost -m hello -t topic -p 8883 -i test-client -u test-user -P 123 -d
Client test-client sending CONNECT
Client test-client received CONNACK (0)
Client test-client sending PUBLISH (d0, q0, r0, m1, 'topic', ... (5 bytes))
Client test-client sending DISCONNECT
Expected behaviour
I would expect that I can publish only to topic x
Note
I don't know if that docker image i am using is the right one.

Are you testing with a connected subscriber?
vernemq/vernemq are the images on Dockerhub.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

The difference in the images is that the one you use is more than 2 years old. OTOH the new ones need a subscription in case you want to use commercially.
Please test with a subscriber to verify whether the Publish ACL is enforced or not. You'll see what I mean.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

Ok, I tried this docker image and situation is same. Also with subscribing. See the result, I am able to listen on topic "topic", even it is not present in database.
vondracekmac2:certs vondracek$ mosquitto_sub  --cafile ca.crt --cert client.crt --key client.key -h localhost  -t topic -p 8883 -i inbound -u core-user -P 123 -d
Client inbound sending CONNECT
Client inbound received CONNACK (0)
Client inbound sending SUBSCRIBE (Mid: 1, Topic: topic, QoS: 0, Options: 0x00)
Client inbound received SUBACK
Subscribed (mid: 1): 0
Client inbound sending CONNECT
Client inbound received CONNACK (0)
Client inbound sending SUBSCRIBE (Mid: 2, Topic: topic, QoS: 0, Options: 0x00)
Client inbound received SUBACK
Subscribed (mid: 2): 0

@LukasVondracek Plugins run in chains. If you have vmq.acl switched on, it will be the first plugin to match (& wrongly authorize the subscribes)
refer to docs: https://docs.vernemq.com/configuring-vernemq/db-auth#introduction-and-general-setup

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

It helped for subscribing, thanks. But why is it able to send (publish) messages without problem? Or is it problem of client "mosquito_pub" ? I am new to it, so maybe I just don't understand some concept....

Hi, @LukasVondracek   We are facing the same kind of issue .
Can u please tell how it worked for you?


Add node_exports query type that returns the exports of a given node.js module file

This PR adds a new query type, node_exports, in the node plugin that returns the exports of a given node.js module file.
This new query type makes it easier for editors to show a symbolic view of node.js modules, and it makes it easier to generate automatic reference graphs and documentation from node.js modules.
The current workaround using the existing public API is to request completions on module.exports. in the file context, but (as far as I know) that requires appending a fake code fragment to the file and does not cleanly handle the case where module.exports has been reassigned (e.g., to a function).
The query type is described in the updated docs:

node_exports (node plugin only)
List the exports of a given node.js module.

Takes a file field to specify the node.js module file whose exports we want to list.

Returns an object whose exports property holds an array of {name, doc, origin, start, end, type} objects, which represent the exports of the module. If the module’s module.exports was reassigned (e.g., to make the module itself directly callable as a function), then the object in the array corresponding to that reassigned value will have a null name property.

Example query and response for the included test/cases/node_exports/main.js file:
// query:
{query: {
  type: "node_exports",
  file: "test/cases/node_exports/main.js"
}}

// yields response:
{ exports:
   [ { name: null, origin: 'main.js', start: 51, end: 66, type: 'f' },
     { name: 'x',
       origin: 'main.js',
       start: 106,
       end: 107,
       type: 'number' },
     { name: 'f2', origin: 'main.js', start: 42, end: 44, type: 'f' },
     { name: 'f1', origin: 'main.js', start: 35, end: 37, type: 'f' },
     { name: 'f3', origin: 'main.js', start: 70, end: 72, type: 'f.f3' } ] }

TODOs

Respect the lineCharPositions option in the response.
Accept a similar set of options to completions: types, docs, urls, origins, etc.

Questions

Are you, @marijnh, interested in merging this PR? Or is it too node-specific?
I had to create a new directory, test/cases/node_exports, with my main.js file, since the existing main.js file was used to test other, conflicting situations. Should I instead update runcases.js to run multiple files within a directory (instead of always just main.js)?
Is there a good way to accept a similar set of options to completions without reimplementing all of that logic?

Just a heads-up that the node_exports query is now simply called exports, and works on all module-loading plugins that are based on the new modules plugin.


click on VM/Instance.. in Edit/Tags create leads to error

No route matches [GET] "/vm_cloud/x_button/1"

Rails.root: /Users/liborpichler/manageiq
Application Trace | Framework Trace | Full Trace

actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:36:in `call_app'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:26:in `call'
request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (<IP_ADDRESS>) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (<IP_ADDRESS>) lib/rails/engine.rb:522:in `call'
puma (3.3.0) lib/puma/configuration.rb:224:in `call'
puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
puma (3.3.0) lib/puma/server.rb:406:in `process_client'
puma (3.3.0) lib/puma/server.rb:271:in `block in run'
puma (3.3.0) lib/puma/thread_pool.rb:111:in `call'
puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'

@miq-bot add_label ui, bug

@lpichler do you know if this is upstream only or also exists in Darga?

@hayesr same issue is also manage profiles

@dclarizio in Darga VMs are not clickable in those screens. So it is correct behavior ? (not clickable)

@lpichler @hayesr Correct, when VMs are displayed as a reference to what is being changed, they should not be clickable.


Verify behavior of KVIKIO_BOUNCE_BUFFER_SIZE

When attempting to analyze large task sizes, it appears that the size of a copy is always capped at 16 MiB.
Even with KVIKIO_BOUNCE_BUFFER_SIZE of 40 MB and KVIKIO_TASK_SIZE of 40 MB, I observe copies capped at ~16 MiB in the profile. Is there a way to enable larger task sizes?

Does your kvikio contain 0b8525a ?

There was a bug with the bounce buffer, which should be fixed in https://github.com/rapidsai/kvikio/pull/454.
Locally, nsys now reports correct memcpys, which should be the lowest of KVIKIO_BOUNCE_BUFFER_SIZE and KVIKIO_TASK_SIZE.


Remove trailing spaces

:+1: I blame PHPStorm for no longer removing all trailing space as it used to ;)


$WOTLK_CMD make host failing due to protobuf install

Describe the bug
On macOS, I attempted to make host after doing some dev to warlock,  first, I got a esbuild error due to image being created in linux but me being in OS, fixed that by deleting the node_modules file and running npm install, then, this new error popped up, when trying to make host, following error message is displayed on the terminal.
npx protoc --ts_opt generate_dependencies --ts_out ui/core/proto --proto_path proto proto/api.proto
@protobuf-ts/protoc failed to download protoc v21.5.
Did you misspell the version number? The version number must look like "3.0.12", without a leading "v".

To Reproduce
Steps to reproduce the behavior:

Delete node_modules
Run npm install
node_modules is created but error message is displayed when re running.

Expected behavior
A host page is built with the changes I've made to the sim
Sim Links and Screenshots
If applicable, add links to your sim settings or screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS
Version : 12.4 Monterey

Additional context
Make host worked when I made zero changes with the default instructions on README.md

Issue was that WOTLK_CMD was not set as a environment variable so I wasn't connecting to the container to run the make commands. That was also why make test was working.
An easy fix to not fall into this problem is to add
WOTLK_CMD="docker run --rm -it -p 8080:8080 -v $(pwd):/wotlk wowsims-wotlk
to ~/.bash_profile.


Questioin: What is the production cost ?

Hi @ddB0515,
What is the actual production cost  ?
Have you been able to recently have some boards made ?
Have you tried connecting E-Paper or LoRa devices at all yet ?
Here is a DIY Meshtastic using nRF52840 Dongle PCA10059 dongle 3.71inch E-Paper and NiceRF SX1262 868 LoRa
But these and other nRF82540 based devices are missing WiFi

Hello @markbirss
I haven't calculated price for a board but can give some estimate based on current prices (keep in mind that are higher now then is were back when I was making this board)
E73-2G4M08S1C - 9$(from eByte Alibaba store- I think on larger quantity you get discount)
AP2112K-3.3 - 0.37$
LTC4054 - 2.52$ (but not needed if you don't have battery)
AO3407 - 0.41$
USB-C - 0.6$
Other(passive components & connectors) - 3-5$
So total estimate for one board is 15-18$ (depends where you sourcing components)
That is almost double the price I have paid back then (think less than 10$ was whole BOM)
But if you would go for more boards ( >10) that should be way less
For LoRa or WiFi can be added extra chip but maybe then think about using ESP32 that have BT and WiFi in one
Also there is a lot of boards to choose from
Hope this helped a bit

@ddB0515 Ok, yes thank you than helps
I understand the price increases and sourcing components sometimes make it difficult to actual have boards made...
Here some more info if you might be interested in Meshtastic below
Meshtastic currently supports both ESP32 and nRF82540, but your board looks interesting as it adds wifi to nRF82540
Meshtastic has a neat web interface
The nRF82540 is just much more low power friendly than ESP32 (outdoor solar install)
Incidentally I did the Adafruit UF2 bootloader support for the MDBT50Q-DB-40
https://www.raytac.com/product/ins.php?index_id=81
https://github.com/adafruit/Adafruit_nRF52_Bootloader/pull/233
and added Meshtastic support for faster e-Papers on Meshtastic
https://github.com/meshtastic/Meshtastic-device/pull/1240
But im having odd issues drive the same e-Inks on the PCA10059 dongle, the partial screen updates are leaving lots of ghosting so I need to use full updates
The RAK6431 drivers 1.54, 2.9 and 4.2 inch with fast parital updates with no issues (but wont work with the 3.71 inch)
https://youtu.be/B_LEgEg2m9w
https://youtu.be/CKjeupzCYN8
For comparison here is a RAK nRF82540 based supported Meshtastic kit ($25)
https://store.rakwireless.com/collections/kits-bundles/products/wisblock-meshtastic-starter-kit
Adding OLED or e-Paper prices increases quickly

I think it would be easy to add SX1262 module to my board and have it tested
I don't have currently any SX1262 but can order one (as is 8$ pieceLINK) but bigger issue for me is to get that EPD 3.7"
Where did you order it? Can you send link pls
Also does it needs to be RAK modules? or you can work with any LoRa modules?

Hi
No it does not have to be RAK modules, there are quite a few supported Meshtastic LoRa modules
ie RFM96 and SX126x variants
I have the E-Paper screens listed in the PR here would also work 1.54, .9 and 4.2 (actually more might work as the GxEPD2 library is used)
https://github.com/meshtastic/Meshtastic-device/pull/1240
200x200
1.54 inch e-paper display high resolution 200x200 partial refresh fast speed GDEW0154M09
https://www.buy-lcd.com/products/-381
296x128
2.9 inch e-paper display SPI Support for partial refresh 4 grayscale e-ink module screen GDEW029T5D
https://www.buy-lcd.com/products/-51
300x400
4.2 inch e-ink panel SPI interface 4 Grayscale buy e-paper display partial refresh GDEW042T2
https://www.buy-lcd.com/products/-85
Epaper HAT Connection Adapter Board for E Ink Display
https://www.buy-lcd.com/products/-27

@ddB0515
You will need a SPI SX1262 module
e.g
https://www.amazon.com/dp/B07K2WTLYY

Thanks for link but already ordered 2x LoRa Module
It's same SPI one different manufacturer
Also for your issue with partial update are you sure that EDP controller on that 3.7" supports partial update?
Also have you checked with other MCU(ESP32, STM32 or any other) just to be sure is not till controller on EDP
I can't test anything until get this and looks like that is not going to be until May/June :(

Ok, meshtastic uses RadioLib for SPI LoRa Radio communication
https://github.com/jgromes/RadioLib
The 3.71 actually supports via GxEPD2 what is called "charge balancing waveform table for differential update" for that display
https://github.com/ZinggJM/GxEPD2/blob/master/MyEPDs_UpdateInfos.pdf
But the 2.9 and 4.2 (fast partial update) inch ones that i have added support for the RAK4361 nRF82540 board gives me the same bad ghosting effect also on my DIY PCA100059 but works perfectly in the youtube video links i sent earlier
It only the 1.54 inch that works with fast partial updates on my DIY board
So it might relate more to the chosen pin out i used as i already moved to a regulated 3.3v supply (too avoid possible bad too little current from USB supply)

<EMAIL_ADDRESS>

@ddB0515
I managed to find out why my e-paper picture gets ghosting, i had use the E-Paper RESET line, but it is not needed

@ddB0515
I have changed my LoRa Radio module to make use of the Waveshare SX1262 which adds TXEN and RXEN and is much more stable that the NiceRF868
https://www.waveshare.com/core1262-868m.htm


[AutoRelease] t2-containerservice-2023-02-20-27747(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/3771
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=982

issue link:https://github.com/Azure/sdk-release-request/issues/3771

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2202674&view=results

https://pypi.org/project/azure-mgmt-network/23.0.0b2/


"Reveal Active File in Sidebar" no longer works with Jupyter notebooks

VSCode Version:
Version: 1.38.1
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:30:08.229Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-66-generic

Steps to Reproduce:

Upgrade to the latest VSCode (1.38.1) and have the default (Microsoft) python extension enabled.
Open a jupyter notebook with the Visual Studio Code Python extension enabled.
Attempt to run command "reveal active file in side bar", note that it doesn't reveal the active file in the side bar.
Open a regular file, run command "reveal active file in side bar", note that it works as expected.

Does this issue occur when all extensions are disabled?: No, with all extensions disabled, revealing the file works as expected.

This is because Python uses WebviewPanel for showing their notebooks. This will be fixed if they use WebviewEditor based ones instead


Cleaned up some imports

Some imports were done in a slightly unusual way, which caused PyCharm to give me a bunch of errors. This PR makes imports more standard.

Thank you for cleaning up the codebase! I'll wait for @pfliu-nlp 's comment on this. Do you think it'll be useful to enforce linting with something like flake8? We can enforce this automatically during the pre-commit stage and in the CI pipeline (we have something like this for the TS portion of the web app repo). btw, I think we have a "black" badge in the README too but this repository doesn't really use black😂. I can add a formatter (black) to the pipeline too if you guys agree on that.
Also, an issue I have struggled with when I work on this repository is that sometimes it can be difficult to find where the modules are referenced. I think it may be nice to avoid using wildcard imports (from  xxx import *) when it's not necessary. Another related issue is the use of eval. It is a really smart way of structuring our analysis code because it makes it flexible and easy to support new features and metrics. But the tradeoff is that I can't rely on IDEs to find references. And if we make a modification, it's difficult to know which modules it will affect. This works perfectly well now so we probably don't want to refactor it now. But I think it might be an issue we can consider in the future as it may become a barrier if we want people from the community to join and work on this project.

Thanks @lyuyangh ! I agree with all of the above actually (formatting, import*, and eval). In particular, the use of eval is both a bit opaque, and seems like a little bit of a security risk.

"Do you think it'll be useful to enforce linting with something like flake8? We can enforce this automatically during the pre-commit stage and in the CI pipeline ... I can add a formatter (black) to the pipeline too if you guys agree on that."

Sounds good!

"I think it may be nice to avoid using wildcard imports (from xxx import *) when it's not necessary."
Agree. But it maybe also depends on. For example, utlis -based scripts are usually used as "import *"

"But the tradeoff is that I can't rely on IDEs to find references. And if we make a modification, it's difficult to know which modules it will affect. This works perfectly well now so we probably don't want to refactor it now. But I think it might be an issue we can consider in the future as it may become a barrier if we want people from the community to join and work on this project."
yeah, it's kinda a problem left over by history. It's not in a higher priority in my list but could keep that in mind.

Sounds good! I resolved the merge conflict and I'm gonna merge this PR. I'll add flake8 and black when all the remaining PRs have been merged. It'll be nice to add those during a time when nobody is actively committing. otherwise, I'll introduce tons of merge conflicts. For Pengfei's comment about import syntax (multi-line import to avoid merge conflicts), I'll see if black or some other formatter enforces it by default. If not, we can probably add this custom rule.


NullReference from the library from Rest.RestResponse.Dispose()

Recently there has been a flurry of NREs coming out of the interface. All from the Dispose() method:
TMDB:929282 [Halo: The Fall of Reach]
System.NullReferenceException: Object reference not set to an instance of an object.
at TMDbLib.Rest.RestResponse.Dispose()
at TMDbLib.Client.TMDbClient.d__140.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__139.MoveNext()

System.AggregateException: One or more errors occurred. --->
System.NullReferenceException: Object reference not set to an instance of an object.
at TMDbLib.Rest.RestResponse.Dispose()
at TMDbLib.Rest.RestRequestExtensions.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__218`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__238.MoveNext()
 --- End of inner exception stack trace ---  --->

(Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at TMDbLib.Rest.RestResponse.Dispose()
at TMDbLib.Rest.RestRequestExtensions.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__218`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__238.MoveNext()
<---    ---> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object.
at TMDbLib.Rest.RestResponse.Dispose()
at TMDbLib.Rest.RestRequestExtensions.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__218`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TMDbLib.Client.TMDbClient.d__236.MoveNext()
<---

I have the same issue.
System.NullReferenceException
HResult=0x80004003
Mensaje = Object reference not set to an instance of an object.
Origen = TMDbLib
Stack trace:
at TMDbLib.Rest.RestResponse.Dispose()
at TMDbLib.Client.TMDbClient.d__213.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
...

I just realized that checking if its null before disposing the response in RestResponse.Dispose() solves the problem. I dont know why is getting disposed before that.

        [SuppressMessage("IDisposableAnalyzers.Correctness", "IDISP007:Don't dispose injected.", Justification = "RestResponse owns the response")]
        public virtual void Dispose()
        {
            Response?.Dispose(); // <--there
        }

I have pushed 1.9.2 which includes the null check proposed by @carlosmanri - hope this works out for all of you :)


Disable github action

After delete the repo (e.g luvata.github.io) that was created from this template, whenever I create a new repo with the same name, even if my repo have only one github workflows (defined in .github/workflows/publish.yaml)  there is always a github action named pages-build-deployment that run this template. Sorry I'm quite new to github action, how can I disable this github action?
Test project: https://github.com/Luvata/luvata.github.io/tree/master/.github/workflows

I think it's a GitHub pages feature. Check Github Changelog, Your test projects' Workflows and Github Pages Docs
I will test this from my side, but I don't think it has anything to with this theme.

I also don't think this issue could relate to your theme, but the static site that was generated by the pages-build-deployment have the same theme with jekyll garden, and it also happened after I used this template, so at some point it could be.
Oh I found the github-pages in "environment" in the setting, I tried to delete it but nothing change, the pages-build-deployment still run.

I discovered that the template I used actually disable jekyll by default publish. With that, the pages-build-deployment will not override the custom build.
But I can only successfull deploy this gh-page by renaming my repo into e.g blogs instead of my-gh-handle.github.io. It's quite strange but it worked.

I discovered a workaround by using the template as a repo with name different with the gh page (e.g blogs), then run the custom build once and after that rename the repo back to [GH HANDLE].github.io, then the custom build worked.
So I guess it's a bug in gh page and not related to this theme. Sorry for bothering you.
Your theme looks sooo clean and the search page is really awesome, but I missed some functions from the custom build (e.g query, date time, ...) so I came back to my previous template. I will give it a go in the future release.
Once again, thank you for your time and your support. Have a nice weekends!


Revert "lookup: prefer Swift types over Clang ones when multiple types are present in lookup"

Reverts apple/swift#40440

@swift-ci please smoke test


Tasks/295

connects #295

@datphan build failed, need to get it passed.
cc @phuonglm: make sure to send review feedback asap (within 3 days since the day PR was sent)

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


Add Adot sample config

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

Why does this need to live in this repo? Shouldn't this belong in docs

We don't have much of anything in here that is package specific.

The issue I have with docs is that it's really hard for customers to customize what they want to use just through copy and paste what we have offered there. The most valuable piece ADOT offers is the ability for customers to customize any receiver, collector, and exporter they want. And we should offer them various examples that are easy for them to leverage. This may be different from other packages we have today.

Well adot doesn't have to follow the form in docs like everything else. Perhaps this is more of a workshop thing? There is only a Harbor workshop, but maybe an adot? I know people think the docs is too spread out, so that wouldn't help with that though.  Other than that, add it to tasks or reference, but no one is going to find it here
/hold

All the configs here does exit in our doc site, which includes a workshop, so ADOT is following all conventions for docs similar to any other packages. A question was raised during workshop review about how can we make it easy for customers to modify configs (and again, ADOT is all about configs). A long-term solution is to modify generate packages command to support multiple pre-defined configs, but we are not there yet. So we agreed on a short-term solution to park configs here for customers to grab (and I will reference here from the doc). I'm happy to consider other alternatives if you have other suggestions.

Perhaps download feature of Hugo would help for this and it keeps the docs all in one repo


Process titles does not change when using upx to compress the binary

Reproduce
package main

import "github.com/erikdubbelboer/gspt"

func main() {

        gspt.SetProcTitle("some title")
        select {
        }
}

go build main.go
upx main

expected behavior
process title have been change to some title
current behavior
process title is ./main
environment
~/test❯ go version
go version go1.17.1 linux/amd64
~/test❯ uname -a
Linux polaris 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
~/test❯ cat /etc/issue
Ubuntu 20.04.3 LTS \n \l

upx does something with how the process is started (to decompress) which seems to makes it impossible for setproctitle to work. I'm afraid there isn't anything I can do about this.

But, if the program is a C program, eg:
/*
== Compilation

gcc -static -o main main.c

== Before upx compression

./main
ps aux | grep 123

== After upx compression

upx ./main
./main
ps aux | grep 123

*/

#include <unistd.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <sys/prctl.h>

# define MAXLINE 2048

extern char **environ;

static char **g_main_Argv = NULL;    /* pointer to argument vector */
static char *g_main_LastArgv = NULL;    /* end of argv */

void setproctitle_init(int argc, char **argv, char **envp)
{
    int i;

    for (i = 0; envp[i] != NULL; i++) // calc envp num
        continue;
    environ = (char **) malloc(sizeof (char *) * (i + 1)); // malloc envp pointer

    for (i = 0; envp[i] != NULL; i++)
    {
        environ[i] = malloc(sizeof(char) * strlen(envp[i]));
        strcpy(environ[i], envp[i]);
    }
    environ[i] = NULL;

    g_main_Argv = argv;
    if (i > 0)
        g_main_LastArgv = envp[i - 1] + strlen(envp[i - 1]);
    else
        g_main_LastArgv = argv[argc - 1] + strlen(argv[argc - 1]);
}

void setproctitle(const char *fmt, ...)
{
    char *p;
    int i;
    char buf[MAXLINE];

    extern char **g_main_Argv;
    extern char *g_main_LastArgv;
    va_list ap;
    p = buf;

    va_start(ap, fmt);
    vsprintf(p, fmt, ap);
    va_end(ap);

    i = strlen(buf);

    if (i > g_main_LastArgv - g_main_Argv[0] - 2)
    {
        i = g_main_LastArgv - g_main_Argv[0] - 2;
        buf[i] = '\0';
    }
    //修改argv[0]
    (void) strcpy(g_main_Argv[0], buf);

    p = &g_main_Argv[0][i];
    while (p < g_main_LastArgv)
        *p++ = '\0';
    g_main_Argv[1] = NULL;

    //调用prctl
    prctl(PR_SET_NAME,buf);
}

int main(int argc, char *argv[])
{
    char argv_buf[MAXLINE] = {0}; // save argv paramters
    int i;

    for( i = 1; i < argc; i++)
    {
        strcat(argv_buf, argv[i]);
        strcat(argv_buf, " ");
    }

    //修改argv[0]所指向的内存空间的内容
    setproctitle_init(argc, argv, environ);

    //调用prctl修改进程名
    setproctitle("%s@%s %s", "12345678", "ip", argv_buf);

    for (i = 0; environ[i] != NULL; i++)
        free(environ[i]);
    getchar();

    return 0;
}

after it is UPXed, the title changed as expected.
So, I think maybe it is not because of the upx compression, and there is some methods to change golang program title...

That very similar code to what this library uses: https://github.com/erikdubbelboer/gspt/blob/master/setproctitle.h
I'm thinking the difference is what Go does with environ and argv which make this not work with upx. It's all very tricky code that depends on a bunch of assumptions about your system that could be different as well (process titles are replaced by overwriting argv in memory).


about use similar_images

glClient = google_images_download.googleimagesdownload()
arguments = {'similar_images':'http://www.bosidata.com/resource/images/201605/201605310947574t5l_o.png', 'chromedriver':'/root/chromedriver', 'metadata':True, 'limit':10}
absolute_image_paths = glClient.download(arguments)
print(absolute_image_paths)
The above is the code I used, but after searching out, it is different from the results found in the browsing.
After searching with this code, the results are all products, not the corresponding image of the specified image.
Did I use the wrong parameters?

@smallevil thanks for reporting this. For now, this is by design. When you do a reverse image search on Google with this URL, Google matches this image to the text 925 sterling silver earrings korean version with. The algorithm then does a search with that text and returns images.
I will try to modify the behavior for the code to consider visually similar images instead of the closest keyphrase match. Considering this as a feature request for now.

Hello,
Will this feature still do?

@hardikvasa any new information?
Thanks in advance.

bump on the feature request.

Hi,
Has this feature been implemented?
I just tried it, it seems that it still doesn't work.
Will this feature not be added later?


Error: undeclared identifier: 'AxisUseArray'

I just install gintro 0.4.6, import gtk and gobject
import gintro/[gtk, gobject]

and I got this error:

~/.nimble/pkgs/gintro-0.4.6/gintro/gtk.nim(44677, 72) Error: undeclared identifier: 'AxisUseArray'

Thanks for reporting. I do not get this error myself currently, must be something new in your latest GTK version. I assume it is Linux?
For testing please edit file
~/.nimble/pkgs/gintro-0.4.6/gintro/gtk.nim
with a plain text editor.
At the start of that file you will see some dummy entries like
type
  BindingArg00Array* = pointer
type
  StockItemArray* = pointer

Try to add these two lines somewhere near the top of that file:
type
  AxisUseArray* = pointer

Maybe you need to add some more similar data types. If that helps, then let me know, and I will update gintro package.

proc gtk_gesture_stylus_get_axes*(self: ptr GestureStylus00; axes: gdk.AxisUseArray;
    values: var cdoubleArray): gboolean {.
    importc: "gtk_gesture_stylus_get_axes", libprag.}

proc getAxes*(self: GestureStylus; axes: gdk.AxisUseArray; values: var cdoubleArray): bool =
  toBool(gtk_gesture_stylus_get_axes(cast[ptr GestureStylus00](self.impl), axes, values))

proc axes*(self: GestureStylus; axes: gdk.AxisUseArray; values: var cdoubleArray): bool =
  toBool(gtk_gesture_stylus_get_axes(cast[ptr GestureStylus00](self.impl), axes, values))

it says AxisUseArray comes from gdk

added AxisUseArray to gdk and the problem gone

Fine -- will update gintro package soon.

thank you!


WIP update type annotations for decorators

Description
Fixing type annotations to better support mypy

For now it's stale, will have to wait until TypeIs support comes into mypy and typing-extensions


Incorrect word

Also, your services have the free benefit of being naturally indempotent (each service receives a COPY of the message, so one service can't mess with the objects of another service) increasing your code security.

There's a typo on the bolded word, most likely you meant idempotent, but that's not really what idempotence means. I think it's clearer to replace the sentence with the explanatory text in parens, as the services are not necessary idempotent, nor are the arguments necessarily immutable. Really there's just the guarantee that the called services will not mutate the arguments because the arguments are sent via message passing.

You're absolutely right @tejacques . Already fixed. Thx for your help. Would be also great to hear your thoughts on the project

@ericholiveira awesome. I've been checking it out and will let you know!


Revised entity design

Update Activity schema, manifest spec, and examples to reflect revised way of passing entities into actions.

What a mess


Understanding Different Gestures in Android with Kotlin

[Android] Understanding Different Gestures in Android with Kotlin
Introduction paragraph (2-3 paragraphs):
Making use of different Android gestures is critical to offering an outstanding user experience.
When a user places one or more fingers on the touch screen, your application understands that sequence of touches as a specific motion. The detection of gestures is divided into two stages:

Collect information about touch events.
Examine the data to see if it satisfies the criteria for any of the motions supported by your app.

In  this tutorial, you will learn how to recognize motion such as:

Touching
Scrolling
Double-tapping
Swiping
Dragging
Scaling
Time-delayed touching

At the end of this tutorial, you will have a solid understanding of detecting and responding to gestures, which will aid you in developing responsive mobile applications.
Key takeaways:

Understand the different gestures in Android
Creating custom gestures.
Adding gestures to a Recyclerview

References:

[Android documentation] (https://developer.android.com/training/gestures)

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@calvinombati
We're really looking for unique/original content, and based on the content provided, it seems that information that you intend to cover is already readily available through the documentation or via many other blog sites.
Could you please expand upon how your content will differ from what is already available through other websites and documentation? We lean towards content that offers an original viewpoint/approach around programming-centric topics.
Also pinging our resident expert on Kotlin @LinusMuema  for more insight.

Hi @calvinombati
I would also like to see what more does your article offer. When it comes to gestures, there are a lot of articles and even the official docs have more info on them.
There are youtube videos explaining your second takeaway and section already has three articles on recyclerviews. It will be more helpful if you gave a clear explanation of what makes your article unique?


Remove gogoproto replace statement from async-icq/v8

I'm currently assisting the Provenance Blockchain in migrating to sdk 50. One step in this migration process is the ability to remove github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 from go.mod since cosmos/gogoproto is being used. The Provenance Blockchain cannot remove this dependency because it was not removed from async-icq/v8. This ibc-app should be able to remove it since it is no longer needed.

Official documentation can be found here

This means you should replace all imports of github.com/gogo/protobuf to github.com/cosmos/gogoproto. This allows you to remove the replace directive replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 from your go.mod file.

Making note: I need to check PFM too

we're good


Add vobcopy

As I understand it, while it's possible to use MakeMKV to rip a DVD into a .mkv file there isn't a way to create a .iso copy of a DVD for backup purposes.  This is useful for real backups which will maintain all features.  It would make sense to include the vobcopy utility into this image as there can be only one running container which has access to a system's optical drive.  I'm not suggesting to include a way to access this from the GUI, but at least I could use Unraid's "console" feature to jump into the container to run vobcopy -m myself.

There is a backup feature in MakeMKV: File->Backup
Maybe this is something you can use ?

Closing this issue, please re-open if needed.


MAINT: Set --nprocs and --omp-nthreads on CircleCI, increase verbosity

Codecov Report

Merging #33 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   40.43%   40.43%
=======================================
  Files           9        9
  Lines         591      591
  Branches       93       93
=======================================
  Hits          239      239
  Misses        351      351
  Partials        1        1

Continue to review full report at Codecov.

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

@garikoitz I requested your review so that you could check what was missing in #31. Long story short, the --sloppy flag sets configurations to run fast versions of image registrations.
I just kicked another build, this time should be reusing cached results. If that works, we're done with the smoke test infrastructure.

I was waiting until the check was finished, I saw that it already jumped
where the error was the last time. Good news!
On Sat, Nov 2, 2019 at 6:14 PM Oscar Esteban<EMAIL_ADDRESS>wrote:

@garikoitz https://github.com/garikoitz I requested your review so that
you could check what was missing in #31
https://github.com/nipreps/dmriprep/pull/31. Long story short, the
--sloppy flag sets configurations to run fast versions of image
registrations.
I just kicked another build, this time should be reusing cached results.
If that works, we're done with the smoke test infrastructure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nipreps/dmriprep/pull/33?email_source=notifications&email_token=ABCZAV47X52EZT5CK52UGV3QRYQXZA5CNFSM4JIHWB52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5ISHQ#issuecomment-549095710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCZAV2OPJNAERCU6KLZ6ITQRYQXZANCNFSM4JIHWB5Q
.

And we are generating our first reports! - https://108-206670456-gh.circle-artifacts.com/0/tmp/THP002/derivatives/dmriprep/sub-THP0005.html
Have a look @arokem (they are only for the anatomical workflow, which just pulls from sMRIPrep like fMRIPrep does).


Sugestion- "Plane/ Atmosphere Bases"

You can orbit a Gas Giant, but you can't land on it, (Makes sense) However, the pressure could be a source of fuel, and if something like planes ever get added in, it would be cool if you could make a base that's in the atmosphere, but only barley. Meaning you are protected by the gas giant, but with the cost of power, not being destroyed. Also, since it's a plane-like base, it's moving. Making landing "Harder" So, if you control the rockets, it's hard, and with auto-pilot it's even harder! (Energy+ Fuel)!
However, this is just a suggestion!

Thanks!


Could not install the extension on .Net 5 project

Error	NU1107	Version conflict detected for Microsoft.Extensions.DependencyInjection. Install/reference Microsoft.Extensions.DependencyInjection 5.0.0-preview.7.20364.11 directly to project Test.WebClient to resolve this issue.
Test.WebClient -> Test.DataService -> Test.Entity -> Microsoft.AspNetCore.Identity.EntityFrameworkCore 5.0.0-preview.7.20365.19 -> Microsoft.EntityFrameworkCore.Relational 5.0.0-preview.7.20365.15 -> Microsoft.EntityFrameworkCore 5.0.0-preview.7.20365.15 -> Microsoft.Extensions.DependencyInjection (>= 5.0.0-preview.7.20364.11)
Test.WebClient -> Microsoft.OData.Extensions.Client 1.0.2 -> Microsoft.Extensions.DependencyInjection (>= 2.1.0 && < 4.0.0).	Test.WebClient	D:\Projects\Test.WebClient.csproj	1

@groovyfeng

This issue is resolved after upgrading to 5.0.0-preview.8 and by installing relevent Microsoft.Extensions.DependencyInjection dependency nuget packages