android:mergeDebugResources

AGPBI: {"kind":"simple","text":"C:\Users\sagar_000\Documents\MobileAssistantAndroidAppEngine\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited","sources":[{}]}
AGPBI: {"kind":"simple","text":"C:\Users\sagar_000\Documents\MobileAssistantAndroidAppEngine\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited","sources":[{}]}
AGPBI: {"kind":"simple","text":"C:\Users\sagar_000\Documents\MobileAssistantAndroidAppEngine\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-mdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited","sources":[{}]}
AGPBI: {"kind":"simple","text":"C:\Users\sagar_000\Documents\MobileAssistantAndroidAppEngine\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited","sources":[{}]}
AGPBI: {"kind":"simple","text":"C:\Users\sagar_000\Documents\MobileAssistantAndroidAppEngine\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited","sources":[{}]}
AGPBI: {"kind":"simple","text":"C:\Users\sagar_000\Documents\MobileAssistantAndroidAppEngine\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited","sources":[{}]}
I have tried building this project as it is with Android Studio ver: 1.3.2 and Gradle Ver: 1.3.0

Why did you close this?


Sequence of requests

Hi RESTler authors,
I'm using RESTler to test a small local-hosted service, for which RESTler doesn't seem to infer a lot of producer-consumer dependencies (please see attached dependencies.json.txt). In the fuzzing phase, however, I still see a lot of sequences of requests generated in various lengths (please see attached network.testing*.txt). I wonder why? If there is no dependency relationship, would a request be appended to any existing sequence? Is it because of checkers? Thanks!
dependencies.json.txt
network.testing.140060271036160.1.txt

In fuzz mode, RESTler will try to generate all kinds of request sequences, including requests that may not be related with dependencies.
Still, for this job, adding annotations or fixing the Swagger spec should increase the meaningfulness of the tests performed by RESTler. For more on annotations, please see https://github.com/microsoft/restler-fuzzer/blob/main/docs/user-guide/Annotations.md

@PatGod, thanks!

Sorry, I understand the issue was closed, but I have a few more questions. I wonder when dependency is not inferred, what rules RESTler uses to chain requests together to produce sequences? Would it try all combinations? Also, I wonder what rules RESTler uses to infer dependencies (does it consider any of the property/parameter names, types, endpoints, and the HTTP verbs; if it compares strings, does it support any fuzzing matching)? Thanks! I'm trying to have a deeper understanding of how RESTler works in my case.

If you want to understand how RESTler works, please read the research publications we wrote about it. Start with https://patricegodefroid.github.io/public_psfiles/icse2019.pdf Links to all 4 relevant publications can be found in https://github.com/microsoft/restler-fuzzer

@qixin Exact matching is used to compare strings when inferring dependencies, but identifiers are split per the convention of the specification (e.g. camelCaseName will be split into 3 words).  It's possible that your spec uses a convention not supported by RESTler - see 'NamingConvention' in the documentation /docs/user-guide/CompilerConfig.md

@qixin5 Can you attach your OpenAPI spec?  Dependencies won't be inferred if your spec is missing the full response schemas.  Your naming convention is supported, so that's not the issue.

@PatGod , thanks, I did read the papers (including the icse19 one) and enjoyed doing so, but still had the questions regarding details about dependency inference and handling non-dependent requests (according to icse19 paper Fig 3, lines 14-20, it seems RESTler would only append a request to a sequence with which it has a dependency relationship, so I had my previous question regarding what rules are used for chaining non-dependency requests). Sorry if I miss anything from the papers.
@marina-p , thanks, I attached the spec (swagger.json). I understand that the spec is not perfect and could be improved. But I was curious about the inference algorithm, which I was not sure after reading the papers. And thanks for your explanation. A quick follow-up question: In my case, I wonder why it doesn't infer that "GET /products/{productName}/features" depends on "GET /products/{productName}" which returns an object "Product" which has a property "name". Wouldn't "productName" match "name" after word splitting?
swagger.json.txt

@qixin5 Great, thanks.  I see from the spec that the POST doesn't return any schema.  Is that by design?   Without this, RESTler will not know that to create the product you need to call a POST.  It could infer a producer from the GET - there is an compiler option for this in config.json called 'AllowGetProducers'.  It's not on by default because it is mainly used in cases where there is no POST and someone is testing against an existing pre-created set of resources.  If the POST of your service returns details with the "name", I suggest adding the response schema, and the dependency should be inferred then.
        "responses": {
          "default": {
            "description": "successful operation"
          }

@marina-p I see, and thanks! The service in its implementation does not return the created resource after a post, but this could be improved.


How to deal with using requests and urllib3 together

Ran into an interesting issue in the past week while testing things out with SaltStack.  ( SaltStack is a remote execution engine / cfg mgmt tool ).  SaltStack uses requests internally.
However, one of the 'modules' you can use is python-etcd.  python-etcd uses urllib3.  But, because of request's wrapping of urllib3 exceptions, some of the python-etcd code bombs because it tries to catch urllib3 exceptions via fully-qualified names.
An example of this happening can be easily demo'd with:
#!/usr/bin/python

#import requests
import etcd

c = etcd.Client('<IP_ADDRESS>', 4001)
c.read("/blah", wait=True, timeout=2)

Without Requests, you get etcd.EtcdConnectionFailed.  With it, you get urllib3.exceptions.ReadTimeoutError.  python-etcd tries to catch urllib3 exceptions, but because of request's wrapping, it fails to catch them.
Is there a way to work around this properly ( besides going to the python-etcd author and asking him to change everything to use requests instead of urllib3 )?

How are you installing requests and urllib3?

Via RPM ( both from RHEL's official repos for RHEL6 )
[root@alpha site-packages]# rpm -qa | grep urllib3
python-urllib3-1.10.2-1.el6.noarch
[root@alpha site-packages]# rpm -qa | grep requests
python-requests-2.6.0-3.el6.noarch

So this is a version of requests that had some magic handling for downstream redistributors that remove parts of requests. This should be fixed in newer versions of requests but I have no control over RHEL's repos.

@sigmavirus24 No problem - the pip versions should be good though?

@sjmh should be!

@sigmavirus24 Alrighty - thanks, just confirmed those versions work! Do you know if there's any way to get around the issue with those RPM versions?  If not, is there a minimum version that this issue would be fixed in ( Looks like newest from pip is 2.8.1 ) or is this a general thing for all downstream redistributors in any version?
Thanks for the help.

I forget in which version we fixed it upstream but I'm tempted to say 2.7.0.


Bug: Scrolling gets stuck on one screen.

https://user-images.githubusercontent.com/33189136/108241044-6a82a500-7119-11eb-94f3-102d32b46547.mp4
The scrollbar still works but scrolling with the touchpad and with a scroll wheel doesn't move the screen

Okay so this bug is known and it's a big one, and I have absolutely no idea what causes it. It's existed on and off for a solid 2 years, same with the bug where avatars get mixed up.
I've looked into it countless times, and found absolutely nothing on how it works or what causes it, so if anyone has some time I would massively appreciate it if a fresh pair of eyes could look into it


add silent flag to read_dotenv function to suppress UserWarnings https://github.com/jpadilla/django-dotenv/issues/12

Configuration of warning messages can be configured in multiple ways via the warnings package. Suppression should not be exposed as an option at the django-dotenv level.


seed_everything() runs _select_seed_randomly() even if PL_GLOBAL_SEED is set

🐛 Bug

There is a bug in pl.utilities.seed.seed_everything().
The problem is here:
https://github.com/PyTorchLightning/pytorch-lightning/blob/1.0.5/pytorch_lightning/utilities/seed.py#L44
If None is passed as a seed:
seed = os.environ.get("PL_GLOBAL_SEED", _select_seed_randomly(min_seed_value, max_seed_value))
is run. And _select_seed_randomly is run even if PL_GLOBAL_SEED is present in os.environ.
The seed is set properly, but there is a warning displayed that suggests a different seed had been set. This introduces some confusion, especially during training with ddp.
To Reproduce

import pytorch_lightning as pl
import os

pl.utilities.seed.seed_everything()
seed = os.environ.get('PL_GLOBAL_SEED')
print(seed)

pl.utilities.seed.seed_everything()
seed = os.environ.get('PL_GLOBAL_SEED')
print(seed)

Expected behavior
The code above produces the following output:
No correct seed found, seed set to<PHONE_NUMBER>
3315818503
No correct seed found, seed set to<PHONE_NUMBER>
3315818503

_select_seed_randomly(min_seed_value, max_seed_value) should only be run when there is no PL_GLOBAL_SEED set.
Environment

PyTorch Lightning Version (e.g., 1.0): 1.0.5

Thanks for the issue! Could you verify #4743 fixes this?

It seems that this fixes my problem. But it introduces another one, as any seed is now incorrect because of:
if not (seed < min_seed_value <= seed <= max_seed_value):
(someone already pointed it in PR comments)

Still waiting for a fix.

Still waiting for a fix.


In ios share doesn't work

I am using following code to implement share app functionality.
window.plugins.socialsharing.share('Check out App name', null, null, 'Google - https://play.google.com/store/apps/details?id=app-id Apple - https://itunes.apple.com/us/app/app-name/idapp-id');
It is working in android. But not in IOS.
Please help me to solve this.

Same

@borhademohini so you're doing this on iOS? window.plugins.socialsharing.share('Check out App name', null, null, 'https://itunes.apple.com/us/app/app-name/idapp-id');
What exactly happens when you try that?
@BMSTUDIO a bit more details would be appreciated.

IOS on the buttons do not work. Nothing happens .
The application is emulated in Cordova CLI and on the device is the same.
I followed the procedure "Automatically ".
(https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/tree/f5ac146f5bfb2bb940b026350c47a8b28ea11eb0)

@BMSTUDIO Can you share you project with me?

What should I send you ? Thk
2015-01-22 23:26 GMT+01:00 Eddy Verbruggen<EMAIL_ADDRESS>
@BMSTUDIO https://github.com/BMSTUDIO Can you share you project with me?
—
Reply to this email directly or view it on GitHub
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/271#issuecomment-71111977
.

--
Benoît Mislin
*BM-STUDIO | Développeur & Intégrateur Web / *Web-designer
----------------------------------------------------------------------------------------------
http://bm-studio.fr
Mobile : 06 59 55 79 64
Fixe : 04 84 26 34 03

As much as possible. An XCode project perhaps. Anything I need to reproduce your problem.

A bitbucket is ok for you ?
Can you give me your email that I will share the project?
2015-01-22 23:31 GMT+01:00 Eddy Verbruggen<EMAIL_ADDRESS>
As much as possible. An XCode project perhaps. Anything I need to
reproduce your problem.
—
Reply to this email directly or view it on GitHub
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/271#issuecomment-71112684
.

--
Benoît Mislin
*BM-STUDIO | Développeur & Intégrateur Web / *Web-designer
----------------------------------------------------------------------------------------------
http://bm-studio.fr
Mobile : 06 59 55 79 64
Fixe : 04 84 26 34 03

Sure thing, bb is fine. Mail me at eddyverbruggen at gmail, thanks!

running into the same issue on an ipod touch with 8.1.2.  i have imessage and twitter configured on the device and nothing happens when i hit the "share" button in my app. it works beautifully in WP8.1 and Android using this: window.plugins.socialsharing.share(mesg, null, null, null);
any help is appreciated.

Same problem for me. Was working fine till last week.

What changed last week?

Except upgrading to cordova 4.2.0 ... nothing

Can you share your project with me perhaps?

+1

@bradleyflood +1 what exactly?
Please share your project with me if you have a specific problem.

@EddyVerbruggen Turns out I didn't have the cordova.js file included. This isn't clear from the Cordova docs. Thank you


tasks: record first and last byte for retrievals

(see commit message)

Probably a good idea to read the commit message before the diff.


[FEATURE] Duplicate or copy/paste widgets

Summary
Add the ability to duplicate or copy/paste widgets using keyboard shortcuts and UI buttons
Motivation
This feature would help speed up the creation of apps, allowing for easy reuse of logic that has already been created.
Additional Context
It would be annoying if the duplicated widget were always placed underneath the original one, because that could shift/bump other components. It would be nice if the component would be dropped underneath my cursor when I paste, or really any feature that lets me control where the duplicated widget is dropped.

@bakerfugu We've released the feature to copy-paste widgets. This is available on https://app.appsmith.com or in our latest release v1.2.6.
I'm closing this issue now. If you face any issues with this feature, please feel free to re-open this issue.

Addressing the issue of where the widget is pasted, we decided that as a v1 we'll place the widget in the first free space of the container that is selected. So if no container is selected, it will place it below the existing widgets on the canvas (not moving anything). Do try out the interaction and let us know if you think it can be improved. (We didn't go with the approach of snapping the widget to the cursor because we wanted copy + paste to be fast and not need an additional cursor click)


[Jira] Delay until one can start typing

Extension
https://www.raycast.com/raycast/jira
Description
When entering basically any command in the jira extension, there is an initial loading period before one can start typing. This makes using the extension less smooth.
To be clear: I understand that a lot of information used by the extension is only available after some network requests, my remark here is solely about me expecting the input interface being available earlier, so one can start typing queries earlier, which are okay to only be executed once everything else loaded up.
See the videos and the loading bars below. I also understand this is more of a nit and not really to be considered a bug.
Steps To Reproduce

Install and setup jira extension.
Execute extension's "search issues" or any other command.
Observe load bar before the main text field becomes available.

Current Behaviour
https://github.com/raycast/extensions/assets/3015996/44ff2e86-4eae-4df3-8f1f-b8efcbd6d547
https://github.com/raycast/extensions/assets/3015996/af65f665-b63e-4c4e-9702-853d02a488ae
Expected Behaviour

Select command
Be able to type immediately

As a good example, compare with this screen recording of the confluence extension:
https://github.com/raycast/extensions/assets/3015996/7ae472a3-51d2-43d3-91d9-3fba8aba9b38

Thanks for bringing this up. It appears that this is a duplicate of issue #6960, so I'll mark it as such.


Set chunkedRequestBody to carry request body

#346

This simple change definitely makes the reported behaviors work as expected when using the default httpbin.org as an origin server.
As evidenced by the logs of the zuul-simple-webapp
REQUEST_DEBUG::ZUUL:: Entity > { "test": "some value" }

and more importantly from the original curl request made
$ curl -X POST \
>   http://zuul-simple-webapp:8080/post \
>   -H 'cache-control: no-cache' \
>   -H 'content-type: application/json' \
>   -d '{ "test": "some value" }'
{
  "args": {},
  "data": "{ \"test\": \"some value\" }",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip,deflate",
    "Cache-Control": "no-cache",
    "Connection": "close",
    "Content-Length": "24",
    "Content-Type": "application/json",
    "Host": "httpbin.org",
    "User-Agent": "curl/7.54.0"
  },
  "json": {
    "test": "some value"
  },
  "origin": "<my-public-ip-address>",
  "url": "http://httpbin.org/post"
}

Merged


[Datadog] Add /var/run/s6 volume to avoid noexec on some setups

What this PR does / why we need it:
Prevent the agent from crashing on some system where /var/run/s6 would not allow executions.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


[BUG/ISSUE] Selecting a package should highlight its row, but it doesn't

Before submitting the issue

[X] I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
[X] I have checked that I am running the latest version of WingetUI
[X] I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
[X] I have checked the FAQ section for solutions
[X] I have read the contributing guidelines and I agree with the Code of Conduct

Describe the bug
When selecting a package it's not being highlighted (taking focus from the previously selected package).
To Reproduce
Steps to reproduce the behaviour:

Go to "Discover Packages" tab
Click on package 1 from the list via mouse click, see that it's being highlighted.
Select a different package (check the V in the checkbox)
The package is not being highlighted (the row is not highlighted and the previous package is still being highlighted)

Expected behaviour
After selecting a package, its row should be highlighted and the previous highlighted package should not be highlighted.
See the issue below with the screenshot:

This issue was fixed on the lates commit. You will be able to experience the fix once a next version is released


NOISSUE - Add Send Invitation To Register Users

Signed-off-by: rodneyosodo<EMAIL_ADDRESS>What does this do?
Adds send invitation email for registering users
Which issue(s) does this PR fix/relate to?
No issue
List any changes that modify/break current functionality

Add ownerID if the token is either AccessToken or InvitationToken and there is no error while parsing the token
Remove email from JWT Claims as they are not being used
Change Reset Secret to Parse token with type ResetPassword i.e. AccessToken can't be used to reset secret
Modified emailing template to accommodate both password Reset and Invitation hence the contents of both emails are defined in code level

Have you included tests for your changes?
Yes
Did you document any new/modified functionality?
Not yet
Notes
There is a challenge with specifying more than one email template hence modifier template to accommodate 2 scenarios
Password Reset

Invitation Email

There is no need to integrate this into the Users service. It should be added as a separate Invitation service. Closing this one since we do not have an invitation model on the roadmap for an open-source solution anytime soon.


Packer: docker

Docker-based host for multiple whistlepost instances

Use ecs-optimised or fargate on aws


Rewrite local markdown links to markdown files

I'm trying to get the documentation as generated by YARD in order for reek. In the README.md and elsewhere we are using Markdown formatted links to other markdown files in the same repository. This works out very nicely when viewing the files on GitHub, but all the links are broken when the documentation is generated by yardoc, because it generates files with a different extension and relative path.
An alternative is to use the {file: ...} syntax, but that isn't part of standard markdown so leaves ugly bits when rendered, e.g., on GitHub.
It would be very nice if YARD could detect local markdown links to other files it is including in the documentation and rewrite them accordingly.

YARD doesn't post-process markup, but you can do one of the following:

Process the generated .html files yourself (grep/sed),
Write a YARD plugin to modify the output, or,
Switch to another markdown provider (-M) that may allow you to inject URL rewriting behavior.

I investigated a bit more, and it seems using yard server keeps the links working.

@lsegal thanks, I'll look into those options.

it seems using yard server keeps the links working.

Nope, they're broken in a different way.

it seems using yard server keeps the links working.
Nope, they're broken in a different way.

Well, it's not expected to work. your hard-coded links are probably assuming a lot of things about (a) the structure of the generated URLs, and (b) the extensions/filenames generated by the templates YARD uses. Neither of these things are reliable assumptions and will change across your tools/views (GitHub vs YARD HTML vs YARD server vs RDoc vs etc.), and may even change across versions of these tools. For one, YARD doesn't retain your path structure for extra files; it stores all files in a flat namespace. Similarly, the presence of a .html extension varies in different modes, for obvious reasons.

Hi @lsegal, I went with your option 2 and made a small plugin just for our specific case. See https://github.com/troessner/reek/blob/87b0e75091552c59fcf20105016ba6ce97a57b06/docs/yard_plugin.rb
Thanks!


Fix: remove isolated scope from directive

This is causing an issue if you have another directive on the same element with both asking for isolated scopes.

@jamesjwarren pls take a 👀

👍


Add a matrix tests on CI (for PHP 7.4, PHP 8.0 and PHP 8.1)

https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs


Replace usage of Optional.isPresent => get => else with map-> orElseGet

I am not sure how to word this recipe or if a recipe is appropriate here, but this is a common misuse of the Optional type
This is related to #1563 but it is not quite the same
The pattern is usually:

Check if the value of the optional is present
If present, return it (or apply some transformation)
Else, return a default

This is effectively the same as checking if something is null and returning a default value if that's the case.
This pattern can be replaced with map followed by orElseGet

--- a/src/Util.java
+++ b/src/Util.java
@@ -40,11 +40,7 @@ public class Util {
      */
     public static Json loadFrom(final String filePath) throws IOException {
         final Optional<String> jsonContent = loadJson(filePath);
-        if(jsonContent.isPresent()) {
-            return new Json(jsonContent.get());
-        } else{
-            return new Json();
-        }
+        return jsonContent.map(Json::new).orElseGet(Json::new);
     }

Linking this recent work on a similar recipe here; This recipe might have some of the same limitations, where we can only apply the transformation safely in a very select set of circumstances, and when the code paths in each if/else block are similar enough.
Not to say it can't be done; but we should take some extra care to be sure that we don't start off with naive implementation that might suffer from faults when ran outside select conditions.


express - redirected url not submitting form gives SAML assertion not yet valid

I am not sure if it is something related to the browser update but the url to which I get redirected successfully by the IDP doesn't submit the post request i.e. I am expected to do it via browser. Can I do anything about it ?
More details in the following SO thread,
https://stackoverflow.com/q/57290983/1503130

I see the issue was answered on SO. Closing here.


Create button not enabled if user manually input the resource on Role Creation page.

Setup

Rancher version: 2.9-head
Rancher UI Extensions: NeuVector
Browser type & version:

NeuVector QA was testing the newly added NeuVector permission with v2.9-head rancher build and found that they are not able to add roletemplate with services/proxy. This is very important for NeuVector SSO work for the user with non-admin role. This could be blocker for NeuVector Rancher RBAC feature configuration from Rancher UI. The create button is not highlighted if we type resource manually instead choosing from drop down.
it seems like the Create button is not enabled if user manually input the resource on Role Creation page. For NV SSO with Rancher to work, we need the Rancher Role to have *  verb on services/proxy resource
Screenshots

Additional context
Works in 2.9.0

/backport v2.9.1

@richard-cox do we need automation for this still?

Neuvector QA team manually confirmed fixes, updating labels and closing


Actually run the distributed tx expiry task

What does this PR do?
Actually create a timer and schedule the distributed transaction timeout task.
The com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl#startTxTimeoutTimerTask method creates the timeout task, but never schedules it on a Timer.
Motivation
During heap dump analysis we observed some transactions remaining in the tracking list forever.
Related issues
Additional Notes
Checklist
[x] I have run the build using mvn clean package command
[] My unit tests cover both failure and success scenarios

Perfect, Thanks!


Add iterative runner

This PR adds possibility to perform state machine testing with model that is aware of the system under test, as suggested in the https://github.com/proptest-rs/proptest/issues/378 I don't expect this code to be merged as is because while the approach is a fork with some modifications of the existing test_runner, there are some nuances here as well.
Some important changes additionally to iterative way of generating the transitions:

additional pass to try to Delete once all the transitions have tested for shrinking
when doing shrinking precondition check is less strict then when generating initial test. That's due to a good chance that operations will depend on each other, so as long as the test still fails after shrinking - droping more transitions because of the precondition is probably fine
initial state shrinking is dropped here, as I considered that to be a bit problematic with the iterative runner, but if necessary that could be revisioned
the approach that I picked doesn't change anything in the existing proptest library and could be potentially used as a standalone crate, but it will benefit from more tight integration, because of the way how the proptest runner functionality works.

Would love to hear some feedback about the PR

Thank you for spending time to reviewing this.

Why would someone use the SequentialRunner instead of just using the
IterativeRunner with no checking of the SutState?

One of the use-cases for the existing SequentialRunner that I can see is when the
developer has a well-defined self-contained reference model. If that's the case
and one would like to have strong guarantees that model implementation is
separate from the system under test - SequentialRunner would be prefered. Thus, I
guess, the choice of the terminology - Reference, as reference model, rather
than just the Model as in the IterativeRunner case.
But otherwise everything that one may want to implement using SequentialRunner
would be possible to do with IterativeRunner as well.

This got closed when i switched branch from master to main. I'll re-open against the main branch.


"Fixes" missing oddball behaviour with bitshift operations

Thanks to @mumencoder for fuzzing this one out for us.
Summary
DM actually allows the user to do bitshifting on things that are definitely not numbers. When doing so, the values are coerced to 0 for the purposes of the calculation. We now, regrettably, replicate this behaviour.
In an effort to provide good warning, I've added a new warning in Constant evaluation that informs the user when we are doing this stupid move.
You may ask, "But, Altoids, you didn't add this to the Runtime!" That's true, I didn't. Because it is a runtime error in BYOND, when the values given are not being const-rolled.
I hope this nonsense is first on the chopping block when we add pragmas.
Changelog

OD now correctly replicates some nonsense with the bitshift operators.

Converting to a draft for now.
This is done, but in order to work we need to refactor our constant-folding system actually attempt to run on all expressions.


[SQLite] Fix bug in timestamp literals. Add more testing.

Test composite keys, default values, and command timeout on SQLite.
Fix bug in SQLite timestamp literals.

:shipit:


granular readiness

We always return 200 on the readiness probe, but there are some race
conditions here, due to which it is still possible for the readiness
internal health endpoint to say we are ready to take requests when
in reality we are not.
This increases the granularity and gives us more control over how
we declare whether or not we're ready.

Hm, should chisel wait wait for /readiness instead of rpc_addr to start listening?  If not, then I'm unsure what the difference is.

One problem is that chisel options don't seem to include the API listen address:
https://github.com/chiselstrike/chiselstrike/blob/ec67428fd41e02640004e52f36e552d187a91cf8/cli/src/main.rs#L36-L42
We can add that option, but that will break existing uses of chisel wait -r.

@dekimir Aah, right. I guess it's better to just fix the RPC because chisel clients might not even have access to the internal API because of firewalls and network configuration.

Does RPC even need fixing?  It might very well not have the race condition that this PR fixes.  Isn't it true that when RPC listener is up, chiseld is up?


Cursor

Thanks for your config, been real helpful for me especially the script and secrets part.
Have you tried setting the following under 'exec-once' in your Hyprland config?
# set cursor for HL itself "hyprctl setcursor ${pointer.name} ${toString pointer.size}"
Edit: forgot I set a variable for pointer
let   pointer = config.home.pointerCursor; in

Thanks for the suggestion. Unfortunately no change.  I really appreciate you taking the time and am glad your finding my work helpful!
I'll be putting out a new video soon, if you watch those.


Use FUIAuthPickerViewController like RootViewController of the application

Environment

Objective C or Swift: Swift
iOS version: 10.0
Firebase SDK version: 3.14.0
FirebaseUI version: 3.1.0
CocoaPods Version: 1.0

Step 3: Describe the problem:
All the callbacks are in the completion block of the dismiss method of the navigation controller, which does not allow to use FUIAuthPickerViewController like RootViewController
I think we should separate callBack and dismiss actions, and we should not dismiss the controller
if the user implement the protocol, Like UIImagepickercontroller
Steps to reproduce:

Use FUIAuthPickerViewController as root view controller of the application

Observed Results:

The callbacks are not received

Expected Results:

We should receive the callbacks

@HamzaGhazouani Sounds reasonable, we will discuss issue internally and I'll update ticket with time frame.

@yramanchuk do you have an ETA on this?

@praveenvvstgy this isn't on our roadmap for the near future, but we're happy to review external contributions.

I've been struggling with this for a couple of hours in order to find why delegate is not being called
The issue can be easily solved by modifying code for dismissing view from
I am working on fixing this and I'll submit pull request when its done


Timer going up indefinitely  when "Notify When Distracted" is off

When the "Notify When Distracted" setting is off, the timer "Time since last distraction" keeps increasing without resetting:

I notice that after leaving the area and coming back the overlay is gone completely, so I guess this only happens if you disable the setting while thieving with the overlay on.
It would be nice, imo, if the overlay was still shown regardless of whether you receive a notification or not. I personally prefer using the in-game audio cues instead of OS notifications

Interesting, correct me if I'm wrong, but the sequence of events seems to be:

Turn on Notify When Distracted
Stand in the town square
Turn off Notify When Distracted
Observe the timer never resetting after

I can look at adding an audio cue instead of OS notification as a general "notification type" drop down.
Would that be what you're looking for, or would you look for  individual control for each notification type?

Yes, that's the correct sequence on how to reproduce this :)
What I meant by audio cue is that there's already a built-in audio cue that I prefer using, hence why I disabled notifications. I suppose it would be nice if the overlay would remain functioning normally regardless of notification setting.
Thank you for your response!

Awesome! Should be an easy fix :)
Ohh so the little jingle for the bonus chests right and the whistle for home owner returning?
I don't recall an audio cue for the distractions but I may be miss remembering, Haven't been back to Varlamore thieving for a few weeks.
So in essence just an "enable panel" option separate from the notifications options for better choice correct?
I love when people submit issues to help me make my plugins better ^.^ so thank you for reaching out!

Thank you! I think that'd be a great solution. I'd appreciate that a lot. Thank you for the plugin, it works very well!

Preview of the new configuration options:

Updates done and tested. Waiting on Runelite Devs to approve Pull request.
https://github.com/runelite/plugin-hub/pull/6168

It looks great, thanks a lot!


Custom SQL with sub queries no longer works

We have some charts with sub queries in custom SQL. It was working in 2.0.0, but not in 3.0.0rc3. Not completely sure if it is expected behavior or a regression. We are using Presto as backend.
How to reproduce the bug

Create a chart, and in the custom SQL filter, use a sub query
Refresh the page and see error

Expected results
Chart renders as expected as in 2.0.0
Actual results
Chart fails to render
Screenshots
In 3.0.0rc3

In 2.0.0

Environment
(please complete the following information):

browser type and version: Chrome latest stable version
superset version: superset version 3.0.0rc3
python version: python --version 3.9
node.js version: node -v
any feature flags active: I don't find any related feature flag

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

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Hi @zhaorui2022. Does setting ALLOW_ADHOC_SUBQUERY = True resolves this issue? It's False by default.

I submitted https://github.com/apache/superset/pull/25161 to include a note in UPDATING.md about that change.

@zhaorui2022 Closing this as I believe the feature flag configuration will resolve your problem. Feel free to reopen the issue if that's not the case.


Preview 1.72.4 Release

PS: Waiting for #352
What's New? - 1.72.14

[Fix] Fixed Double Empty issue on SevenZipExtractor that caused full crash
[Fix] Fixed missing subChanneID and channeID required on config.ini file

This fix HSR Distribution Error when launching the game #350

[Fix] Fixed Collapse not uninstalled correctly due to missing entries on InnoSetup log files
[Imp] Update SharpHDiffPatch submodule
[Imp] Implement plugin API to fetch games hotfixes automatically
[Loc] Sync translation from transifex

For tracking: Appveyor failure is expected for stable

For tracking: Appveyor failure is expected for stable

i just forgot to target the stable CI to only trigger on stable branch pull LOL
but yeah it is expected to fail until the #323 is merged


OCRSearch feature implementation

Implementation of the OCRSearch feature extractor for still images and videos.
Scene Text Detection: EAST
Scene Text Recognition: VGG-BiLSTM-CTC
Scene Text Extraction for Video: HyText (explained in bachelor thesis)
Scene Text Recognition module can be used for any CTC-based recognition (e.g. CRNN)
HyText allows for many custom modifications. The most notable one being the rate, which determines the rate at which detections are done. A higher rate leads to increased inference times, but slightly lower accuracy. Currently, one can choose between BoofCV's Circulant and TLD tracker (default is set to Circulant). The Circulant tracker should be chosen if high inference time is of importance.

@silvanheller yes, we would absolutely move the large files out of the repository afterwards, it was just easier to include them in the PR so they don't get lost.

@silvanheller Thanks for having a look at my code! I will go through your comments and make changes accordingly.

@ppanopticon Yes, as it is currently constituted the scene text is not just extracted from the most representative frame. Namely, detections are done for a subset of the frames, and tracking is applied between adjacent frames at which detections are done.
If I understand you correctly, inference time is a concern, and applying scene text extraction solely on the most representative frame would allow for superior inference time?! If wanted, I can easily extend my code to allow for the option to extract scene text only in the most representative frame.
Performance metrics for the final vitrivr implementation are still to be captured. I will inform you once I know more.


Dismiss fullscreen controller by vertical swipe

Yeah,If you add this,It will be awesome more !!!!Keep it up m8

Agreed, I was going to open an issue regarding exactly this one, was trying to find out if its possible ! Should add one like this buddy.

see #27

@kafejo Oh, that's amazing ! If there could be added a tapToDismiss , It'd be perfect. Thank you for the pull request ! It's what we all needed !

@EduardJS tapToDismiss is different functionality than this. I've just created a new issue #29 for it so we can discuss it separately.


loadstring cant load byte code

trying to load lua bytecode will result in a null pointer error. The below example would work in vanilla computercraft:
loadstring(string.dump(print))

Hmmm, I thought I'd tested this working. I'll have a test on the latest build.

Ahh. string.dump trims line numbers, so it tries to index items out of the array's bounds.

Merged changes as of 1ec8e7a6b818daae2097733ebdad64546986c6c6.
I don't know when the next official version will be released so you can grab a pre-release, though note that it is pretty unstable so you may want to back up everything first.
Thanks for reporting this!


returned version keys are incorrect in certain case

I have a model which uploads multiple versions of the file using carrierwave_direct, carrierwave and carrierwave-mongoid
Here is what I get while fetching versions of the file:
s.asset.versions

{:big_hexa=>https://almaconnect.s3.amazonaws.com/uploads/image/asset/4dd13443addf32399a000c74/d41d8cd98f00b204e9800998ecf8427e_big_hexa.jpeg?AWSAccessKeyId=AKIAJLV2DHJHGNXHNLSA&Signature=IqUhyyyZDfwe2JmG%2FZHZNqbm11M%3D&Expires=1372338511,

 :big=>https://almaconnect.s3.amazonaws.com/uploads/image/asset/4dd13443addf32399a000c74/d41d8cd98f00b204e9800998ecf8427e_big.jpeg?AWSAccessKeyId=AKIAJLV2DHJHGNXHNLSA&Signature=WgUNsKpD2Rtt9IHN8Rkk432%2FW0A%3D&Expires=1372338511,

  }

Now, I want to get keys of the versions uploaded, if I fetch the keys of the versions first as below, it works correctly
1.
s.asset.big_hexa.key
=> "uploads/image/asset/4dd13443addf32399a000c74/d41d8cd98f00b204e9800998ecf8427e_big_hexa.jpeg"

but, when I fetch the key of the original file first, and then fetch the key of the versions, as below, the returned key of the version is same as that of original file i.e incorrect

s.asset.key
=> "uploads/image/asset/4dd13443addf32399a000c74/d41d8cd98f00b204e9800998ecf8427e.jpeg"

incorrect
2.
s.asset.big_hexa.key
=>"uploads/image/asset/4dd13443addf32399a000c74/d41d8cd98f00b204e9800998ecf8427e.jpeg"

This should be fixed on master


Add deletion protection field to Table

Contains the following changes:

Update the aws-sdk-go version which includes the Deletion Protection field.
Regenerated the code

Note: There appears to be a Endpoints struct in types.go which is not actually used anywhere in the codebase. A field in that struct was dropped by since it's actually used it should not have any effect. The generated CRD also has not changed.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/test dynamodb-metadata-file-test

/test dynamodb-kind-e2e

/test all


text truncated with Filemaker

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.9.6
pyodbc: 4.0.32
OS: Windows 10
DB: Filemaker 12
driver: Filemaker ODBC

Issue
Hello!
I am connecting to a filemaker odbc data source like so:
import pyodbc
connection = pyodbc.connect("DSN=cura;UID=admin;PWD=123)
cursor = connection.cursor()
for row in cursor.execute("SELECT id, textcol FROM table"):
    print(row)

It appears the textcol data is truncated to 2047 cutting text off mid-word.
I found this ticket https://github.com/mkleehammer/pyodbc/issues/835 which mentions the same "limit", but I cannot make much of it.
I have checked the driver's docs and settings, it has a toggle for "Describe text fields as long varchar". But it does not change behaviour.
I tested with the pywin32 odbc module and it returns the correct text, so I assume this is an issue in pyodbc since pywin32.odbc works with the same data source.
Maybe you have a pointer what I could check to debug?
Thank you!

Please generate an ODBC trace log and upload it as an attachment to a comment.

Thanks! I have created one.
I guess the relevant part is:
flask           d40-310	EXIT  SQLGetData  with return code 1 (SQL_SUCCESS_WITH_INFO)
		HSTMT               0x00000272224CB3B0
		UWORD                        2
		SWORD                       -8 <SQL_C_WCHAR>
		PTR                 0x0000027225C77CA0 [    4096] ""
		SQLLEN                  4096
		SQLLEN *            0x000000C6B03EB8D0 (4640)

		DIAG [01004] [FileMaker][FileMaker] String data, right-truncated (0)

I have attached the full log of one query: SQL.LOG

Driver bug. pyODBC sees the truncation and makes another call to SQLGetData to retrieve the next block of 4k, but the driver returns no more data.
https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlgetdata-function#retrieving-variable-length-data-in-parts

Hm, I now tested with a newer driver from a Filemaker version, which is not supposed to be compatible (thats why I did not test tat before).... Now I get the whole text. Seems to work! Thank you!


Improve wercker release flow

By this improvement, even after git push without release tag,  we can put git tag later and release by the tag with using deploy to wercker task.
New release flow

Merge this PR(only once)
Wait for passing wercker builds
Put release tag on latest commit-id with git tag command locally
Update remote tags on github with git push --tags
Kick Deploy to button on the wercker job corresponding to tagged commit-id

Thank you a lot for your contribution @ainoya! I will look into the code.

:+1:

LGTM


Things we've done:

Installed the chart (no custom values)
Added a github-token secret with token with admin:org access as GH_TOKEN key
Added the GitHubActionRunner from the README (but adapted organization and removed unused settings-xml).

Fixed by #29

I have also been contemplating if this secret should rather be with the operator, so that the operator can run in it's own namespace along-side the secret (which has quite high permissions), so that it can create the shorter lived registration-tokens (which has lower permissions) in the namespace where the actual runners will run.
Any thoughts on this?

See this again here.

@Fresheyeball please open a new ticket with debug info.


Clean up inference around parsing name:version strings

We've had some rough heuristics how to find name and version but not a strict definition.
This adds strict definitions in RegisteredTypeNaming (first commit).
It then changes core to prefer these methods.  It doesn't change behaviour (except in a few fringe cases noted), but it does add log warnings where we were relying on hokey old strategies (previously assumed something was a version if it started with a number, that's it).
Then clean up a bunch of deprecated stuff where the above was used.
The methods in RegisteredTypeNaming let us hedge a little bit whether we want to be strict with OSGi versions or not.  That's a subject for another PR (but an important one as discussed at #672).

(There is a failing test, I'm working on that, otherwise this is good to review.)

@geomacy @neykov ready for review.  does not do the version changes discussed on ML but prepares us for them (and helped me understand them).  this is mainly to fix issues where people have used funny v1 version strings.

(the test failure is a test env config issue in hudson remoting)

re tests - see #740 which merges this and test pass

@ahgittin haven't ignored this but haven't been able to find the bandwidth to look at it - will be off tomorrow, but will look at this and related PRs on Monday!

Would also be interested in @neykov's comments on this!

@geomacy left my comments in https://github.com/apache/brooklyn-server/pull/740 which includes this PR.

👍  I was going to look at that next :-)

great comments here @geomacy , addressed all except where commented above; moving on to #740


Windows forced behind dock

I'm not 100% certain if this is actually a bug, per-se, but it'd be nice if kwm treated the doc as the edge of the screen so that window content can't appear underneath the dock.
Seeing this behavior with the dock on the bottom, left, and right of the screen.

This is not something i can forcefully do. However, see kwmc config padding bottom

Opplah! Would you look at that! That is perfect. :100:
Thanks! :+1:


Bypass the 77 token limit

This ought to be working but i don't know how it's supposed to behave so i haven't been able to verify. At least, I know the numbers are getting pushed all the way to the SD unet, i just have been unable to verify if what's coming out is what is expected. Please test.
You'll need to pip install -e . after switching to the branch, because it's currently pulling from a non-main compel branch. Once it's verified as working as intended i'll promote the compel branch to pypi.

I'm getting a discard warning from the token logging:
>> [TOKENLOG] Parsed Prompt: FlattenedPrompt:[Fragment:'0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8<EMAIL_ADDRESS>
>> [TOKENLOG] Parsed Negative Prompt: FlattenedPrompt:[Fragment:'complex, complicated, signed, signature, border<EMAIL_ADDRESS><EMAIL_ADDRESS>
>> [TOKENLOG] Tokens  (77):
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6

>> [TOKENLOG] Tokens Discarded (3):
7 8 9

...

thanks for the comments @JPPhoto - i think i've addressed them all in the latest commits. you'll need to pip install -e . again in the invokeai directory to pull the new compel code.

Just tried testing this out and getting an error when trying to generate an image:
>> Image Generation Parameters:

{'prompt': 'astronaut riding a unicorn', 'iterations': 1, 'steps': 25, 'cfg_scale': 7.5, 'threshold': 0, 'perlin': 0, 'height': 512, 'width':
512, 'sampler_name': 'k_euler_a', 'seed':<PHONE_NUMBER>, 'progress_images': False, 'progress_latents': False, 'save_intermediates': 5, 'generatio
n_mode': 'txt2img', 'init_mask': '...', 'hires_fix': False, 'seamless': False, 'variation_amount': 0}

>> ESRGAN Parameters: False
>> Facetool Parameters: False
>> Setting Sampler to k_euler_a (EulerAncestralDiscreteScheduler)
Compel.pad_conditioning_tensors_to_same_length() missing 1 required positional argument: 'c1'

Traceback (most recent call last):
  File "C:\invokeai-git\InvokeAI\invokeai\backend\web\invoke_ai_web_server.py", line 1313, in generate_images
    self.generate.prompt2image(
  File "C:\invokeai-git\InvokeAI\invokeai\backend\generate.py", line 512, in prompt2image
    uc, c, extra_conditioning_info = get_uc_and_c_and_ec(
  File "C:\invokeai-git\InvokeAI\invokeai\backend\prompting\conditioning.py", line 100, in get_uc_and_c_and_ec
    [c, uc] = compel.pad_conditioning_tensors_to_same_length([c, uc])
TypeError: Compel.pad_conditioning_tensors_to_same_length() missing 1 required positional argument: 'c1'

Windows 10 x64, Python 3.10.8, CUDA backend
(I'll mention that I'm not 100% sure I have InvokeAI installed properly from its git repo.)

Just tried testing this out and getting an error when trying to generate an image:

Did you update your venv first? You'll have to do that or this won't work.

Getting RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 154 but got size 77 for tensor number 1 in the list. on the latest pull.

Did you update your venv first? You'll have to do that or this won't work.

I created a new InvokeAI installation using the git repo with the PR already checked out, following these instructions.

@briankendall @blessedcoolant seems i didn't update to pypi correctly, please try again (it should fetch compel-0.1.10)

@briankendall @blessedcoolant seems i didn't update to pypi correctly, please try again (it should fetch compel-0.1.10)

Yep works perfectly. Now does the length make any difference at all, that's another story. But this is great. People can now prompt without truncating.

@blessedcoolant yes please go ahead


Image not appearing in PDF export

Exporting my talk to a PDF results in a nearly-perfect deck of slides, except for one image, on the 12th slide:
https://gitpitch.com/fonnesbeck/neurips_2018_talk#/11
It is a local image, and appears fine on the web, but does not get rendered in the PDF. I have tried it both as a background image and as a snap layout, with the same results.

Hi Chris. Nice looking presentation. So invariably when an image does not appear in PDF output it is because the image overflows the edges of your slide. Most frequently due to a mismatch in the aspect ratio of your source image and the aspect ratio of the slide. If you are interested you can read more about this issue here and here.
I suggest you make a small tweak to params on image-delimiter in your current PITCHME.md replacing this:
---?image=assets/img/pymc_fortran.png&size=auto 100%

With this:
---?image=assets/img/pymc_fortran.png&size=auto 90%

This will cause your image to display marginally smaller on the slide. But should fix the PDF printing issue. If you try it out let me know how it goes.
As an aside, looking at your presentation I noticed that the logo setting in your PITCHME.yaml file is pointing at a file that does not exist in your repo. There is a jpg file of the same name. But that jpg image is not suitable to be a logo as it has very large dimensions and is mostly whitespace which will not function well as an icon/logo.

Yes, that did the trick. Thanks for the advice.


Cannot modify Host-Header with header middleware in docker-syntax for dynamic configuration

Do you want to request a feature or report a bug?

Bug

What did you do?

I created a dynamic configuration do modify the Host-Header for a service. I have done this with docker-compose and the label-element like this:
version: '3.7'
services:
  whoami:
    image: emilevauge/whoami
    deploy:
      labels:
      - "traefik.enable=true"
      - "traefik.docker.network=proxy_development"
      - "traefik.http.routers.whoami-http.entrypoints=http"
      - "traefik.http.routers.whoami-http.rule=Host(`whoami.example.com`)"
      - "traefik.http.routers.whoami-http.middlewares=whoami"
      - "traefik.http.routers.whoami-http.service=whoami"
      - "traefik.http.services.whoami.loadbalancer.server.port=80"
      - "traefik.http.middlewares.whoami.headers.customrequestheaders.Host=foobar.foobaz"

networks:
  default:
    external: true
    name: proxy_development

Needless to say, that traefik is also in the network proxy_development.
What did you expect to see?
the output of whoami should be:
$ curl http://whoami.example.com
Hostname: 7b2b78e66fbe
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
GET / HTTP/1.1
Host: foobar.foobaz
User-Agent: curl/7.69.1
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: whoami.example.com
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: 7cb03b5ff3db
X-Real-Ip: <IP_ADDRESS>

What did you see instead?
the output of whoami is:
$ curl http://whoami.example.com
Hostname: 7b2b78e66fbe
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
GET / HTTP/1.1
Host: whoami.example.com
User-Agent: curl/7.69.1
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: whoami.example.com
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: 7cb03b5ff3db
X-Real-Ip: <IP_ADDRESS>

The Host-Header has not changed, despite the header-middleware.
Output of traefik version: (What version of Traefik are you using?)

 I just took your example (changed the host, and put the labels in normal configuration and not within deploy as its not on a swarm).
services:
  traefik:
    image: traefik:v2.2
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    command:
      - --api.dashboard=true
      - --api.insecure=true
      - --providers.docker=true
      - --providers.docker.exposedByDefault=false
    ports:
      - 80:80
      - 8080:8080

  whoami:
    image: emilevauge/whoami
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.whoami-http.entrypoints=http"
      - "traefik.http.routers.whoami-http.rule=Host(`whoami.localhost`)"
      - "traefik.http.routers.whoami-http.middlewares=whoami"
      - "traefik.http.routers.whoami-http.service=whoami"
      - "traefik.http.services.whoami.loadbalancer.server.port=80"
      - "traefik.http.middlewares.whoami.headers.customrequestheaders.Host=foobar.foobaz"

and it's working just fine.
Hostname: 8ed9e25e578a
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
GET / HTTP/1.1
Host: foobar.foobaz
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate, br
Accept-Language: en,de;q=0.9,en-US;q=0.8
Cache-Control: max-age=0
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: whoami.localhost
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: 7e7c9dfdc13b
X-Real-Ip: <IP_ADDRESS>

Therefore, I think it could be an issue with itendation or similar in your stack file and thus, I'll close that issue.
If you need more assistance, please head over to the community forum https://community.containo.us/c/traefik/traefik-v2/10 and ask your question there.


just gnome-extensions fails after switching to zsh shell

Describe the bug
just gnome-extensions fails after switching to zsh shell.

~% just zsh

Restart the shell and go through the zsh setup (anything will do).
~% just gnome-extensions
pip install --upgrade gnome-extensions-cli
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: gnome-extensions-cli in ./.local/lib/python3.12/site-packages (0.9.5)
Requirement already satisfied: colorama<0.5.0,>=0.4.5 in ./.local/lib/python3.12/site-packages (from gnome-extensions-cli) (0.4.6)
Requirement already satisfied: more-itertools<10.0.0,>=9.0.0 in ./.local/lib/python3.12/site-packages (from gnome-extensions-cli) (9.1.0)
Requirement already satisfied: packaging<24.0,>=23.0 in /usr/lib/python3.12/site-packages (from gnome-extensions-cli) (23.1)
Requirement already satisfied: pydantic<2.0.0,>=1.10.4 in ./.local/lib/python3.12/site-packages (from gnome-extensions-cli) (1.10.13)
Requirement already satisfied: requests<3.0.0,>=2.28.1 in /usr/lib/python3.12/site-packages (from gnome-extensions-cli) (2.28.2)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/lib/python3.12/site-packages (from pydantic<2.0.0,>=1.10.4->gnome-extensions-cli) (4.8.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/lib/python3.12/site-packages (from requests<3.0.0,>=2.28.1->gnome-extensions-cli) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.12/site-packages (from requests<3.0.0,>=2.28.1->gnome-extensions-cli) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.12/site-packages (from requests<3.0.0,>=2.28.1->gnome-extensions-cli) (1.26.18)
gext install<EMAIL_ADDRESS>sh: line 1: gext: command not found

What did you expect to happen?
I expected the extensions to install.
Output of rpm-ostree status
~% ostree admin status
* fedora 1f5f55a2d5dbcc93af64cd7bd98957f6c2304f1ac5165c28cc7b950508ba591b.0
    origin: <unknown origin type>
  fedora b05c80b401ac5fa80f7fa7fdc490f0b6bbbf0c56e2e26399a12340bbb9fd8063.0 (rollback)
    Pinned: yes
    origin: <unknown origin type>
  fedora 5c8f532dc2c0b82f6653ffba3d1f5967d267fae170b160d4f60a8f0bd5fa7f08.0
    Version: 39.20231128.0
    Pinned: yes
    origin refspec: fedora:fedora/39/x86_64/silverblue
    GPG: Signature made Mon 27 Nov 2023 07:51:47 PM EST using RSA key ID 75CF5AC418B8E74C
    GPG: Good signature from "Fedora<EMAIL_ADDRESS>
Extra information or context
It seems that the bash setup is doing some $PATH setup that doesn't get applied to the zsh shell after switching.
PATH when in zsh
~% echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin

.bashrc PATH configuration.
~% grep -A1 PATH .bashrc
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH

I can set this PATH config myself, but I would expect this to be supplied and working on a new install with minimal modifications.
I'd be happy to work on this issue and supply a sane set of zsh defaults if that is useful to the project.

I'd be happy to work on this issue and supply a sane set of zsh defaults if that is useful to the project.

This would be amazing! Feel free to dive in and fix it up!

By default from fedora, zsh is setting it's path in ~/.zprofile. Meanwhile, bash will set it in ~/.bashrc. So if we switch over to zsh in a ujust command we need to use zsh --login for that first shell.

Any progress on this? I keep getting this repeating error lately but I don't know what it means as I don't know what the "universal variable file" is...

error: Unable to open universal variable file '/': Permission denied
error: Unable to open universal variable file '/': Permission denied
error: Unable to open universal variable file '/': Permission denied
Any suggestions?


feat(build): support @use or @import in component styles

There are errors when building if my component styles contains @use.
Failed to compile stylesheet my.component.scss sass.Exception [Error]: Can't find stylesheet to import.
  ╷
2 │ @use 'my-styles' as *;
  │ ^^^^^^^^^^^^^^^^^^^^^

I thing we need this option to help sass compile successfully.
https://nx.dev/nx-api/angular/executors/webpack-browser#stylepreprocessoroptions
https://nx.dev/nx-api/angular/executors/browser-esbuild#stylepreprocessoroptions

Hi,
I update the PR to make the path consistency.


Feature: Notify event organizer and speaker supervisor when user updates their presentation/company and vice versa

Closed in #562


New command: aad user license list

Usage
m365 aad user license list [options]
Description
Lists the license details for a given user
Options

Option
Description

--id [id]
The ID of the user. Specify either id or name but not both.

--name [name]
User principal name of the user. Specify either id or name but not both.

Remarks
Don't specify any option to list license details of the current user.
Examples
List license details of the current logged in user
m365 aad user license list

List license details of a specific user by its UPN
m365 aad user license list --name<EMAIL_ADDRESS>
List license details of a specific user by its ID
m365 aad user license list --id 59f80e08-24b1-41f8-8586-16765fd830d3

Default properties

id
skuId
skuPartNumber

Additional Info
API docs: https://learn.microsoft.com/en-us/graph/api/user-list-licensedetails?view=graph-rest-1.0&tabs=http

name might be a bit missleading don't you think? Do you think upn will be clearer? or worse 😅?
other than that looks good to me

name might be a bit missleading don't you think? Do you think upn will be clearer? or worse 😅? other than that looks good to me

In most other commands we use userName, but according to our naming convention, we shouldn't repeat user here. So yeah that's how I ended up here.

Hi @milanholemans,
License is the last noun and userName applies to user, right? So technically, according to our naming convention, it should be called userName.

name might be a bit missleading don't you think? Do you think upn will be clearer? or worse 😅?

Also, I totally agree with @Adam-it here. userName is a unit with its own meaning. You can't really rename it to name, that would make it less clear as name might refer to displayName or fullName or some such.

Hi @milanholemans,
License is the last noun and userName applies to user, right? So technically, according to our naming convention, it should be called userName.

Yes in this case userName is indeed the right.

name might be a bit missleading don't you think? Do you think upn will be clearer? or worse 😅?

Also, I totally agree with @Adam-it here. userName is a unit with its own meaning. You can't really rename it to name, that would make it less clear as name might refer to displayName or fullName or some such.

Tbh, I don't find userName clear either. The only thing that is 100% clear is upn or userPrincipalName. But that naming is used nowhere.

LGTM! 🚀

Can I work on this?


Polybar freezes on click action

There should be a '&' after the click-left command.
[module/gmail]
type = custom/script
exec = ~/.config/polybar/gmail/launch.py
tail = true
click-left = xdg-open https://mail.google.com &

Not necessarily, it depends on xdg-open version, I guess.
https://unix.stackexchange.com/q/74605/169627


Support persian urls

Fix persian long urls error.

Can you please add a test that fails without this change?


Re-tile sample assets with Draco

We have 6 non-trivial 3D Tilesets used by Sandcastle that would benefit from being re-compressed with Draco:

[ ] AGI Headquarters
[ ] Power plant
[ ] Chappes Church
[x] New York City (CityGML)
[ ] San Miguel
[ ] Mount St. Helens

Basically we'll upload all new versions to the official CesiumJS ion account and then update the asset ids in the Sandcastle examples.
CC @shehzan10  I know you asked me to submit this a while ago, sorry for the delay.

When reconverting Mount St. Helens it would good to pass in --ignore-classification, lets us do more with shader styling.

AGI Headquarters

It's gonna be so much prettier yayyyy!

@mramato @lilleyse @likangning93
Is there a README explaining how to convert normal 3D tiles to draco encoded 3D tiles?
If not, can you pls provide references of how to re-tile with draco?

@cherukumilli Thanks for your interest, but this is something our team will have to update.  You would need access to a tool that can output 3D Tiles with Draco compression.  If this is something you are looking to use for your tiling your own data, we have 3D Tiles processing tools available for purchase.  You can contact<EMAIL_ADDRESS>for more information about this.  Thanks again!


How can I make this work

Hi, How can I make this work?  When I open the Markdown Preview, I get nothing inside the '''pikchr, does it need another extension to help it?  Thanks

Noo, it should render a valid pichr-code, but consider #2

that just shows the text as code, i.e with a grey background, as if ignoring the ```pikchr request
the markdown bit is previewing, but the pikchr is doing nothing

Works for me this way . Is the extension enabled ?

Enabled extension, your own example, just previewing as code

Sorry, no idea.

For those that follow, my problem was another extension, Markdown Preview Enhanced, which must interfere.  Disabled it, now renders.


Handle Solidity NatSpec whitespace

For a function specification like this:
/// @notice Perform initial contract setup
/// @dev    The initializer modifier ensures this is only called once, the owner should confirm this was properly
///         performed before publishing this contract address.
/// @param  _initialFee          fee to be paid on each sale, in basis points
/// @param  _initialFeeRecipient wallet to collets fees
/// @param  _initialPaymentToken address of the token that is used for settlement

I am hoping it can be parsed as:
Notice:
Perform initial contract setup
Dev:
The initializer modifier ensures this is only called once, the owner should confirm this was properly performed before publishing this contract address.
Param _initialFee:
fee to be paid on each sale, in basis points
Param _initialFeeRecipient :
wallet to collets fees
Param _initialPaymentToken :
address of the token that is used for settlement

Please let me know how this works and how I can help.
I am also the maintainer of the Solidity Style Guide and the Solidity NatSpec specification.

Just to be sure to understand the issue here: you are talking about extra spaces that are not managed correctly? If that's so, would trimming the extra spaces work?

Trimming whitespaces before and after each line and then combining lines with one space would fix it.


add support for fasthttp

Add support for using instead of net/http https://github.com/valyala/fasthttp

Has your opinion changed on this one @casualjim or do you still want to go with it?

not a priority because it essentially means a rewrite of runtime/middleware to accomodate the request/response of fasthttp.
Other than that there is already a compatibility layer in fasthttp which allows it to serve plain http.Handler which we expose already

@casualjim I am curious about this comment:

there is already a compatibility layer in fasthttp which allows it to serve plain http.Handler which we expose already

Are you referring here to https://godoc.org/github.com/valyala/fasthttp/fasthttpadaptor?
This looks like a server-side solution only.  I am interested in using the fasthttp client instead.  Is there a solution for that?
Thanks.

There are interfaces for the client that you can use:
https://github.com/go-openapi/runtime/blob/master/client_operation.go
https://github.com/go-openapi/runtime/blob/master/client_request.go
https://github.com/go-openapi/runtime/blob/master/client_response.go
https://github.com/go-openapi/runtime/blob/master/client_auth_info.go
But I think the runtime part would need to be re-implemented in terms of that
You can look at this package for the reference implementation with net/http. https://github.com/go-openapi/runtime/blob/master/client

Is there a solution now

This is how I solved it:
import (
  "github.com/fasthttp/router"
  "github.com/valyala/fasthttp"
  "github.com/valyala/fasthttp/fasthttpadaptor"
  httpSwagger "github.com/swaggo/http-swagger"
)

func main() {
  r := router.New()
  r.GET(
    server.Configs.GetString("service.paths.doc")+"/{filepath:*}",
    fasthttpadaptor.NewFastHTTPHandlerFunc(httpSwagger.WrapHandler),
  )

  fasthttp.ListenAndServe(
    server.HostName,
    r.Handler,
  )
}

This is how I solved it:
import (
  "github.com/fasthttp/router"
  "github.com/valyala/fasthttp"
  "github.com/valyala/fasthttp/fasthttpadaptor"
  httpSwagger "github.com/swaggo/http-swagger"
)

func main() {
  r := router.New()
  r.GET("/docs/{filepath:*}", fasthttpadaptor.NewFastHTTPHandlerFunc(httpSwagger.WrapHandler))

  fasthttp.ListenAndServe(
    server.HostName,
    r.Handler,
  )
}

It's work by the way, thanks!

on github: https://github.com/kecci/fasthttp-swagger


feat(Icon): add asterisk solid icon

PRO-2161
Description
We need this asterisk solid icon for the VettedSkills initiative.
This icon is part of our BASE design system.
It will be used in the new implementation of our Tag component.

Review

[ ] Read CONTRIBUTING.md and Component API principles
[ ] Annotate all props in component with documentation
[ ] Create examples for component
[ ] Ensure that deployed demo has expected results and good examples
[ ] Ensure that tests pass by running yarn test
[ ] Ensure that visuals tests pass by running yarn test:visual. If not - check the documentation how to fix visual tests
[ ] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run visual - Run visual tests
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version

/rebase

/rebase

/rebase


GH-439 support multiple handlers in webhook

Fixes #439

Add support for multiple handler for webhook
Add StateUpgrader func to migrate from v1 schema to v2 schema automatically

@chb0github ☝🏼


Add throttling stats in nodes stats API

Signed-off-by: Dhwanil Patel<EMAIL_ADDRESS>Description
Add throttling stats in _nodes/stats API.
In Active master node's stats these stats will appear, for other nodes it will be 0. From active master node's stats we can get visibility on how many tasks are getting throttled.
Below is sample stats for two node cluster.
curl "localhost:9200/_nodes/stats/cluster_manager_throttling?pretty"
{
  "_nodes" : {
    "total" : 2,
    "successful" : 2,
    "failed" : 0
  },
  "cluster_name" : "opensearch",
  "nodes" : {
    "PZmL3O7dRBOg3d8NTRsSOQ" : {
      "timestamp" :<PHONE_NUMBER>082,
      "name" : "a483e760c3eb.ant.amazon.com",
      "transport_address" : "<IP_ADDRESS>:9300",
      "host" : "<IP_ADDRESS>",
      "ip" : "<IP_ADDRESS>:9300",
      "roles" : [
        "cluster_manager",
        "data",
        "ingest",
        "remote_cluster_client"
      ],
      "attributes" : {
        "shard_indexing_pressure_enabled" : "true"
      },
      "cluster_manager_throttling" : {
        "cluster_manager_stats" : {
          "TotalThrottledTasks" : 18,
          "ThrottledTasksPerTaskType" : {
            "put-mapping" : 18
          }
        }
      }
    },
    "BPwWJ9vTSb2KJzPL9VZNcg" : {
      "timestamp" :<PHONE_NUMBER>083,
      "name" : "a483e760c3eb.ant.amazon.com",
      "transport_address" : "<IP_ADDRESS>:9301",
      "host" : "<IP_ADDRESS>",
      "ip" : "<IP_ADDRESS>:9301",
      "roles" : [
        "cluster_manager",
        "data",
        "ingest",
        "remote_cluster_client"
      ],
      "attributes" : {
        "shard_indexing_pressure_enabled" : "true"
      },
      "cluster_manager_throttling" : {
        "cluster_manager_stats" : {
          "TotalThrottledTasks" : 0,
          "ThrottledTasksPerTaskType" : { }
        }
      }
    }
  }
}

Issues Resolved
#479
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Precommit is passing, gradle check is failing.
It is failing due to some connection issue with ubuntu. I will retry it later.
* What went wrong:
Execution failed for task ':test:fixtures:gcs-fixture:composeUp'.
> Exit-code 1 when calling /usr/bin/docker-compose, stdout: Step 1/11 : FROM ubuntu:18.04
  18.04: Pulling from library/ubuntu
  Digest: sha256:c1d0baf2425ecef88a2f0c3543ec43690dc16cc80d3c4e593bb95e4f45390e45
  Status: Downloaded newer image for ubuntu:18.04
   ---> e28a50f651f9
  Step 2/11 : RUN apt-get update -qqy
   ---> Running in 7c3adacdf556
  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not connect to archive.ubuntu.com:80 (<IP_ADDRESS>), connection timed out Could not connect to archive.ubuntu.com:80 (<IP_ADDRESS>), connection timed out
  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Unable to connect to archive.ubuntu.com:http:
  W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Unable to connect to archive.ubuntu.com:http:
  W: Some index files failed to download. They have been ignored, or old ones used instead.

NOTE on gradle check.
Backward compatible tests are failing. ./gradlew ':qa:mixed-cluster:v2.6.0#mixedClusterTest'.
Since we have added 2.6.0 version check for stats, it is expected to happen. It will fix once we merge backport 2.x PR. (https://github.com/opensearch-project/OpenSearch/pull/5871). Gradle check is passing in backport PR.
Similar behavior has been observed in other stats PR as well with version check. (https://github.com/opensearch-project/OpenSearch/pull/4932#issuecomment-1301784236)


Primitive to wait on mutable state for updates

https://github.com/uber/cadence/commit/e1449d74947dcd5d2f30c12bfcbca96fd13d7e2d


add typescript types

Codecov Report

Merging #205 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #205      +/-   ##
=========================================
- Coverage   95.11%   95.1%   -0.02%
=========================================
  Files           6       6
  Lines         348     347       -1
=========================================
- Hits          331     330       -1
  Misses         17      17

Impacted Files
Coverage Δ

lib/collection.js
96.7% <ø> (-0.02%)
:arrow_down:

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 51eef56...e1c7069. Read the comment docs.


Cannot add additional tags to the client during runtime

We would like to be able to set additional tags to the client during run time from the request, such as the route name, HTTP method, etc.
It would be great if Client supported an addTag() method to do this. We are happy to fork and crate a PR for this if this is something that would be of interest.

Sorry for the long time answer.
Feel free to fork and create a PR, it could be very useful for the bundle to had new contributors.


(DOCSP-19987) Fix Windows "Permission Denied" Error

There seems to be a difference in behavior between Docker Compose on Windows and Mac:
On Mac, if a container is dependent on another container and the containers use the same image, you do not need to specify a build argument for the container which is built second as the image will be built when it is created.
On Windows, if a build argument is not specified for a container, then docker immediately checks docker-hub to see if the container exists (even if the container is dependent on another container).
To fix this error, build arguments were specified for the mongo1-setup container in all tutorials. This prevents docker from checking docker hub to see if the container exists.
I'm not sure this is a known issue, so it may be worth making an issue in the docker-compose repository to document this.

Created an issue!


Remove Amethyst

https://amethyst.rs/posts/amethyst--starting-fresh

Hmm, I'm curious about the purpose of this. I do agree that it might be confusing to keep the entires since Amethyst is moving towards archival, but for historic reasons, it seems appropriate to have around. For newcomers to the gamedev ecosystem, I think it is still valuable to see the work that was done at one point, even if it's not maintained right now.
On top of this, Amethyst has many other tools in the ecosystem that are widely used. Veloren uses Specs, and has evaluated other ECS crates, but hasn't found another that would offer better performance for what is needed (as far as I remember). I do hope that these can stay mentioned on the site.
Anyways, these are my thoughts, I'm interested to see what others think :)

:thinking: Ok, let's close this for now. I was going to prototype a special "archive" category anyway - maybe it's better to speed up this initiative :)


Unable to get the variables defined in range function in  .Files.Lines helper

I have scenario, where values.yaml includes array which indicates file names to loop over and using Files.Lines I want to add the contents of the file in the resource route.
There is files folder which has file1 and file2 files under chart.
Below is values.yaml file.
namespace: sprint

appGrpName: test
env: dev

virtualWebHosts:
- file1
- file2

virtualSvcHosts:
- sprint-xxx-svc

Below is route.yaml :
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: {{ $webHost }}
spec:
 host: {{ $webHost }}
 path: "/web"
 to:
  kind: Service
  name: {{ $.Values.appGrpName }}-{{ $.Values.env }}-web
  certificate: |
   {{- with $webHost }}
   {{- range $.Files.Lines "files/{{ $webHost }}" }}    <=== unable to get the variable resolved
   {{ . }} {{ end }} {{ end }}
{{ end }}

Output: ( As you see below certificate field is empty in route resource )
# Source: sample/templates/route.yaml
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: file1
spec:
 host: file1
 path: "/web"
 to:
  kind: Service
  name: test-dev-web
  certificate: |

# Source: sample/templates/route.yaml
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: file2
spec:
 host: file2
 path: "/web"
 to:
  kind: Service
  name: test-dev-web
  certificate: |

So the question is how do we get the $webHost variable resolved inside Files.Lines function ?
If I replace files/{{ $webHost }}" with files/file1" i see the contents of file in certificate field.

closing as duplicate of #12076


Improve wording

Just two minor changes to improve the wording on IRQ functions.

This fixes the second-half of https://github.com/raspberrypi/pico-feedback/issues/175
(the first-half of that issue is still in backlog)


Example missing for using the field tensor_content with Golang grpc client

Describe the documentation issue
With my python client i can call my model server properly with the code like this:
request.inputs["input"].CopyFrom(
    tf.contrib.util.make_tensor_proto([165, 60, 35],dtype=dtypes.int32)
)
response = stub.Predict(request,30.0)

And in python terminal i checked the output of the make_tensor_proto, i got something like this:
>>> tf.contrib.util.make_tensor_proto([165, 60, 35],dtype=dtypes.int32)
dtype: DT_INT32
tensor_shape {
  dim {
    size: 3
  }
}
tensor_content: "\245\000\000\000<\000\000\000#\000\000\000"

But I cannot make this work with Golang, tried to search with different terms cannot find one example how to fill the tensor_content field.
According to the documentations i got:
// Serialized raw tensor content from either Tensor::AsProtoTensorContent or
// memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation
// can be used for all tensor types. The purpose of this representation is to
// reduce serialization overhead during RPC call by avoiding serialization of
// many repeated small items.
TensorContent []byte `protobuf:"bytes,4,opt,name=tensor_content,json=tensorContent,proto3" json:"tensor_content,omitempty"`

(do i need to implement the above mentioned Tensor::AsProtoTensorContent and tensorflow::grpc::EncodeTensorToByteBuffer by myself?)
But tried different ways like:
pr          tf.PredictRequest
// Construct the `pr` structure properly.
// ...
pr.Inputs["input"].TensorContent = []byte{165, 60, 35}

etc cannot make it work, always resulted in error message:
panic: rpc error: code = Internal desc = transport: received the unexpected content-type "text/plain; charset=utf-8"

Also if i want to send such a request in JSON, what should i put in the tensor_content field:
{
  "model_spec": {
    "name": "gender",
    "version": "1"
  },
  "inputs": {
    "input": {
      "dtype": 3,
      "tensor_shape": {
        "dim": [
          {
            "size": 3
          }
        ]
      },
      "tensor_content": "WzEsMl0="
    }
  }
}

Pls help to provide a proper example in the corresponding docs, thanks.

It's somewhat nontrivial for dt.string; but for other data types it's relatively straightforward to implement a hacky version yourself.  Sadly I don't know golang so I can't translate into the language's syntax but basically:
if you have a vector of contiguous memory, the tensor_content is literally just that memory copied through.  So for example if you have a vector of 4 integers, you'd just copy the underlying memory buffer into tensor_content.  Assume a row-major format.
Same with all contiguous memory representations: floats, bools, ints.
BTW for bools, i dont know if golang does this optimization but in c++, std::vector uses a bitset rep so it's not a direct copy in that one case.  you have to ensure bools are encoded as integers.


Ch5 minor improvements

Add bibliography ref to WAM (I'm guessing this is WAM)
Add links to code/modules
Format: use monospace for code related parts

Thank you for the confirmation about WAM.


wrap code to 80 columns

Seems like it is the final pull request

Looks good to me 👍

Shouldn't you mark issue as a resolved?


How to: predefined MAC

Hi,
actually it's running fine, but how can i just publish a specified device, and not everything around me? :)

Then perhaps a MAC filter should be implemented into ESP32 firmware. Maybe a filter topic in MQTT to read the wanted list of MAC addresses from (into) ESP32 so you can dynamically manage the list. ESP32 would subscribe to this filter topic.

Thank you. Maybe my question was a little bit misleading. Not ESP sided, I ment from dashboard. Like a whitelist/known beacons or something like that.

You could for example implement MAC whitelist/blacklist list and check it here to discard all unwanted MAC addresses: https://github.com/jarkko-hautakorpi/iBeacon-indoor-positioning-demo/blob/10a22d9427e63cdf199e63d87789e0770ee3ac6c/dashboard/src/MessageStack/MessageStack.js#L27C24-L27C24
`
if(msg !== null) {
            for(let i=0; i<msg.e.length;i++) {
                let mac = msg.e[i].m.toLowerCase();
                if(this.blacklist.includes(mac)
                    break; // Skip message if mac is blacklisted

`
Probably a button to MAC list items in UI to add it to the list would be good, and persisting the list to localstorage or something..


Pinged server not updating when switching DCs?

Hi,
When I switch DCs, it doesn't update to ping the new DC.
This seems to resolve itself if I restart FFXIV.
Perhaps a function can be added to force a DC update?

Just realized this was an error on my end.

Reason: I was using PingPlugin and Resource Monitor to find out which server IP I was connecting to.
The IP address, when input into an IP checking website (e.g. https://whatismyipaddress.com/), seems to be showing the location of the OWNER of the IP address, instead of the location of the server itself.
E.g. The Materia server IP <IP_ADDRESS> (OCE) will show Japan, but if you do a tracert in cmd then it shows a route to Sydney.


Update http4s-async-http-client, ... to 0.23.2

Updates

org.http4s:http4s-async-http-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-client
org.http4s:http4s-core
org.http4s:http4s-dsl

from 0.23.1 to 0.23.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Superseded by #904.


How I can insert a link in a Notion table?

I tried to insert a text and a link into a Notion table it did work with the text but it didn't with the website link?
this is my express POST route any help?

Notion Table:

URLs can be inserted without content, and without brackets, so just like this:
  Website: { url: req.body.website },

Unfortunately didn't work I have no idea why but I will just insert it all as text type. Thanks 🙏

@wahibAbdouWbs Did you got any example code write to Notion Database using Next.js or React? Thank you so much.

@wahibAbdouWbs Did you got any example code write to Notion Database using Next.js or React? Thank you so much.

I did develop a separated API backend from my front-end I'm not sure if it is possible to do that directly using notion-sdk-js.

This is straight from my personal website:
I'm using the Fetch API directly since this library is not playing nice with Next.js
/api/create-contact:
import { createPage, databasesId } from '@lib';
import { NextApiRequest, NextApiResponse } from 'next';

export default async function handler(
  req: NextApiRequest,
  res: NextApiResponse
) {
  const { Name, Email, Company, Content, Deadline, Brief } = req.body;
  const newContact = await createPage({
    parent: { database_id: databasesId.sections.contact },
    properties: {
      Name: {
        title: [
          {
            text: {
              content: Name,
            },
          },
        ],
      },
      Email: {
        rich_text: [
          {
            text: {
              content: Email,
            },
          },
        ],
      },
      Company: {
        rich_text: [
          {
            text: {
              content: Company,
            },
          },
        ],
      },
      Content: {
        rich_text: [
          {
            text: {
              content: Content,
            },
          },
        ],
      },
      Deadline: {
        select: {
          name: Deadline,
        },
      },
      Brief: { url: Brief },
    },
  });

  return res.status(200).json({
    ok: true,
    data: newContact,
  });
}

And the createPage is defined like this:
const notionBaseApi = 'https://api.notion.com/v1';

const fetchConfig: RequestInit = {
  headers: {
    Authorization: `Bearer ${process.env.NOTION_TOKEN}`,
    'Notion-Version': '2021-05-13',
  },
};

export const createPage = async (
  args: WithAuth<PagesCreateParameters>
): Promise<PagesCreateParameters> => {
  const res = await fetch(`${notionBaseApi}/pages`, {
    ...fetchConfig,
    headers: {
      ...fetchConfig.headers,
      'Content-Type': 'application/json',
    },
    method: 'post',
    body: JSON.stringify(args),
  });
  const data = await res.json();
  return data;
};


Scroll docs fix

The change log seems broken. Can you apply the changes so that we see them properly. There are conflicts with main as-well


Instrument the dial task

Motivation
When we created the dial task, we forgot to instrument it with the global span. This fix makes sure that the git and network span appears on crawl logs.
Review
Anyone can review this routine diagnostic fix.
Related Issues
This fix is based on #2120. GitHub will automatically rebase it to main once #2120 merges.

Marking as draft until #2120 merges


What is the replacement for BizTalk HCM Hybrid Connection Manager?

I need to replicate the use case that BizTalk Hybrid provided. The above screenshot mentions App Service Hybric Connections. It is unclear to me what is the replacement for the above article? What you explain this? How is related to https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview

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

ID: 645d01fc-eae4-67c0-ef63-77d34d854d5e
Version Independent ID: 516bc8a7-d927-d080-36a6-69ca95686feb
Content: Hybrid connections - Azure App Service
Content Source: articles/app-service/app-service-hybrid-connections.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@masters3d,
Thank you for raising this question!
If I have understood you correctly - As mentioned in this blog - https://azure.microsoft.com/services/biztalk-services/ - BizTalk Services is no longer available to new customers and was retired entirely on 31st May 2018.
The Hybrid Connections (HCs) enables bi-directional, binary stream communication and simple datagram flow between two networked applications. Either or both parties can reside behind NATs or firewalls. HCs is both a service in Azure and a feature in Azure App Service. You can leverage them within App Service or outside App Service as well.
Within App Service, Hybrid Connections can be used to access application resources in other networks. It provides access from your app to an application endpoint. Whereas, An Azure Virtual Network (VNet) is a representation of your own network in the cloud. It is a logical isolation of the Azure cloud dedicated to your subscription
The Hybrid Connections feature of BizTalk Services lets you connect the Web Apps feature of Azure App Service or the Mobile Apps feature of Azure App Service, to any on-premises TCP or HTTP resource, such as SQL Server, MySQL or any web service with just a few configuration changes and without using any custom code.
On the other hand, Azure Virtual Network enables many types of Azure resources, such as Azure Virtual Machines (VM), to securely communicate with each other, the internet, and on-premises networks. A virtual network is scoped to a single region; however, multiple virtual networks from different regions can be connected together using Virtual Network Peering.
Kindly let us know if you need more information on this topic with more details on your requirement.

Got it. I am still unclear how I can replicate the HCM Hybrid Connection Manager on the host with out using App Service. My usecase is exactly what BizTalk was targeting so I’d like to know how to replicate since it was retired. I downloaded HCM exe but it’s not usable without being able to configure it on the portal. Do you have a sample of the code needed to configure something similar to HCM on the host side with out using BizTalk or App Service? I’ll be fine if I need to create an Azure Function. Thanks for the prompt response.

This is effectively the V2 of BizTalk Hybrid Connection Manager:
https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections

@masters3d, As David mentioned, it’s effectively V2 of BizTalk Hybrid Connection Manager.
Based on your requirement, within App Service, Hybrid Connections can be used to access application resources in other networks or you could leverage Hybrid Connections outside App Service for scenarios mentioned here -Azure Relay Hybrid Connections.
Since we have not heard back from you, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


DCC: Sanitize (Transcode/Encode/Store) scanned CBOR/JSON data strictly according to ehn-dgc-schema

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug affects both Android and iOS, for specific issues / questions that apply only to one operating system, please raise them in the respective repositories:

Android repository
iOS repository

[x] Bug is not already reported in another issue

Technical details

Device name: n/a
iOS/Android version: n/a
App version: 2.3.2

Describe the bug
For the time being, some authorities already issuing DCCs in Europe are not strictly following the ehn-dgc-schema when encoding certificate data. Wallet apps, such as CWA 2.3.2 iOS may however successfully scan, import and store such DCCs, when their scanning/validating algorithm is relaxed/lenient enough. Other wallet apps, such as CWA 2.3.2 Android or CovPass App 0.160.3 Android may crash while scanning or refuse to import these certificates. Verfying apps, such as CovPassCheck App 0.160.3 Android may also refuse presented DCCs as invalid.
For a current issue, see https://github.com/corona-warn-app/cwa-app-android/issues/3417 .
When investigating this issue, it became obvious that CWA 2.3.2 on iOS can successfully import a certificate with an invalid data field according to ehn-dgc-schema. When from this data set a QR code is generated in CWA iOS, to be presented to a verifier app - or in this case, CWA Android as a scanning/wallet app, CWA Android crashes due to the invalid data field. This means, that CWA iOS did not sanitize the scanned data, but stored and encoded them for QR code generation, exactly as they were scanned.
To enable CWA Android to also import/store DCCs with diverging data field contents according to the standard schema, a PR was introduced to make parsing data more lenient (https://github.com/corona-warn-app/cwa-app-android/pull/3418).
Which consequences does this have practically?
Wallet apps, that are able (lenient/relaxed enough) to store DCCs with invalid data fields and that generate QR codes with the exactly same scanned data, can cause bad surprises at border control, when the verifier app is strictly applying the standard schema to the QR code. While the traveller thinks, he presents a valid DCC, he is rejected at border control, because the verifier app does not accept it.
Steps to reproduce the issue

Craft your own DCC where some data fields are deverging from the standard schema, e.g., add a timestamp to your date of birth, like: 1968-31-12T23:59:59+2 (but with a vaild PKI signature, for sure ;) )
Scan this with CWA 2.3.2 iOS - and see everything is imported fine.
Scan this with CWA 2.3.2 Android - and see app crashing.
Pack your iOS device, travel by plane to any EU country.
Present your DCC QR code from your iOS device at border control, and experience all the things that might happen now...

Expected behaviour
There could be two options:

All wallet apps and also CWA refuse to scan DCCs with invalid data fields/types. OR:
All wallet apps MUST sanitize scanned data (CBOR/JSON) to meet the ehn-dgc-schema.

Possible Fix
According to the options above:

Regression of PR https://github.com/corona-warn-app/cwa-app-android/pull/3418 and make sure that also CWA iOS is not accepting DCCs with invalid data fields. OR:
Implement a sanitzing algorithm to both CWA iOS and Android, transcode/store data strictly according to ehn-dgc-schema.

Additional context
What will result from the proposed fixes?

Some EU countries need to correct their issuing IT solutions/apps for invalid data fields. Citizens of these countries need to exchange their already obtained DCCs with corrected ones, or they may experience problems at border control. OR:
Any EU citizen with an already issued DCC containing invalid data fields will not perceive any problem. The invalid data fields are sanitized to correct data, a valid QR code will be generated and can be presented at border control without any issue,

It is planned with the acceptance rules that all EU wallet app has to check the json schema before importing the DCC

@thomasaugsten

It is planned with the acceptance rules that all EU wallet app has to check the json schema before importing the DCC

You mean strictly according to ehn-dgc-schema?
Would this mean in the case of https://github.com/corona-warn-app/cwa-app-android/issues/3417 , that https://github.com/corona-warn-app/cwa-app-android/pull/3418 needs to be rolled back and CWA iOS would need to be more strict on importing DCCs?

The official schema will be adjusted to deviance of the real DCC. We will double check the schema validation in iOS

This means, also all Verifier Apps need to be adjusted to the extended schema (if data is not sanitized). Which in result means, that it may take a while longer, until the system works fully...

Please forgive me for joking (I usually don't do this), but

Pack your iOS device, travel by plane to any EU country.
Present your DCC QR code from your iOS device at border control, and experience all the things that might happen now...

sounds very realistic, I will do that now, please give me some time... 😉

@Ein-Tim At least there is a good chance that your DCC (you already have one?!) is in line with the schema...
Good luck with your 6s 😉 and enjoy your vacation! 🍹 🌴

Ok. I think, my proposal to sanitize data is not working:
When we're sanitizing data, the certificate's signature will become invalid when later generating a nicer QR code, right?
Can someone confirm?

Though it was an interesting trip through this subject, it finally led to nowhere.
Only two options:

adjust the schema and accordingly ALL apps/IT, or
restrict wallet apps to only scan/import according to the current schema.

As 2) is the politically not so beautiful solution, 1) seems the only way to go.
And I go into the week-end now. @thomasaugsten and @Ein-Tim : thanks for sharing and have a nice week-end also!

Just for reference, and for the interested reader:
In line with @thomasaugsten 's explanations, an updated and freshly released ehn-dcc-schema is available here:
https://github.com/ehn-dcc-development/ehn-dcc-schema
Looks like regex-patterns are introduced to make the deviations to the original schema possible.


[Nodepool_Sync] Sync_201906060222_modified_by_theopenlab-ci

see: https://github.com/theopenlab/labkeeper/pull/146