Sending sensor data through hardware gateway

Hi, What if I cannot add required properties to device's message? In my case, there's a single third party gateway device that collects telemetry from multiple sensors and sends it as a JSON array to configured endpoint. I cannot modify the message.
Is there a way to support this case without adding another gateway/web app or something between the existing gateway device and Digital Twins?

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

ID: ed7028fa-961b-c7da-212d-686ba8672130
Version Independent ID: 55d0fa05-72e8-47a0-660f-828fd0504e31
Content: Device connectivity and telemetry ingress with Azure Digital Twins
Content Source: articles/digital-twins/concepts-device-ingress.md
Service: digital-twins
GitHub Login: @alinamstanciu
Microsoft Alias: alinast

@xelossan Thanks for the feedback! We are currently investigating and will update you shortly.

No, the gateway has its own message format that cannot be modified without changing its firmware, which cannot be done without manufacturer's help.
The message looks like this:
{"d0f01843e9cd":{"Time":"7","Type":"Care T","Rssi":"-74","Name":"","Batt":"2.88","Alarms":"4","Temperature":"25.58"},"d0f01843e9cc":{"Time":"0","Type":"Care T","Rssi":"-89","Name":"","Batt":"3","Alarms":"0","Temperature":"9.60"}}
so actually it's not even a JSON array, but a dictionary, where the key is sensor's hardware ID.
I'm pretty sure that most of hardware gateways has some proprietary message formats that end users may not be able to modify, so the question is: is there a way (or any plans to add it in future) to somehow preprocess the telemetry message on Digital Twins service side before running matchers and UDFs, something like a special UDF that fires for every message and can modify it so it has a correct format and every required property.

Hi @xelossan - Thank you for your great question! First things first, you'll absolutely want to upgrade your firmware to the latest spec regardless. Many vendors supply important security updates along with new features.
To answer the question regarding format interoperability:
Presently, messages that are submitted to ADT must conform to the Message entity specified in the Azure IOT SDK. Specifically, Device Client Message which must be sent through the Device Client namespace. There are a variety of protocols supported (MQTT, HTTP) and JSON is one of the message formats you can use (providing quite a bit of flexibility). You can, for instance, specify the contents of a message using a Map and add filterable Properties (that are intercepted and can be used for routing).
However, even in those circumstances, you'd still want to serialize your message into the appropriate format. One way to accomplish that is to submit the Gateway's telemetry to an API where it can be serialized using custom code and then send that further downstream. In fact, you may find that useful even with an update to your firmware. On the other hand, it's probably easier to accomplish that using custom programming on your device itself.
PS - I will make sure to relay your observations surrounding format interoperability to the PM and Engineering teams. Thanks!

Thanks for your answer @KingdomOfEnds, in that case using additional API between the gateway and ADT is the way to go for us.
I've got one more question - where can I post issues related to ADT but not to any specific docs page? We've encountered some strange behavior: we have 4 sensors added to the same Device in ADT graph, and one of them is working correctly, but values from the rest are ignored with a message like: Ignoring telemetry received from Device Id '3b8449a8-4f88-454f-82dd-aca586afcea2' due to no identifiable Sensor Id. Sensor Hardware ID: [d0f01843e9cc].
But the sensor with this ID is defined:
{         "pollRate": 0,         "spaceId": "ab817e89-2e79-4077-a77e-01d8bc393ea5",         "deviceId": "3b8449a8-4f88-454f-82dd-aca586afcea2",         "id": "7d7f99af-93a3-4e1b-bc6b-94ffbe574624",         "portTypeId": 8,         "dataUnitTypeId": 38,         "dataTypeId": 18,         "dataSubtypeId": 5,         "typeId": 9,         "hardwareId": "d0f01843e9cc"     }

@xelossan For product feedback (feature requests or similar) you can find the link called "This Product" at the footer of each doc in Azure docs

Another good source for development questions is StackOverflow and also you could open a support ticket if you have access to a support plan?

@KingdomOfEnds Thanks for the help! @xelossan We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Candidate can apply on an unopened exercise

Describe the bug
A candidate was able to complete pages of any exercise for JAC0015 before it had officially opened.
To Reproduce
Steps to reproduce the behavior:

Go to any open exercise
Click on 'apply'
Click on any page
In a separate browser tab - go to the vacancy page and pick an exercise on the  Future applications list
Follow steps 2 and pick the same page as on the other tab
From the url take the exercise reference code and copy it
Copy the exercise reference code into the url on the original vacancy
See the error

Expected behavior
All the pages of an exercise should not be accessible until it is open for applications.
Screenshots
Feedback from a candidate
I am now struggling to get beyond the stage where I click review application despite having completed all of the tabs. I have however struggled to select the only option available (none) on the Jurisdiction Preferences section which may explain the problem.
I’m grateful for your assistance.
Test on a Mac with Chrome.
Additional context
Monika is aware of the issue and has a potential solution

Discussed with @YaaL and @ClaireTroughtonJAC . And flagged by Senior Leadership and CEO. This needs to be a high priority to stop this from happening. Suspect candidates have a tab open before 1pm and they can then click apply after 1pm from this opened tab.
Next exercises closing which we should try and get this fixed by:
Fee-paid Financially Qualified Members, First-tier Tribunal, Social Entitlement Chamber (Social Security and Child Support) Closing 1pm 7 April
Fee Paid Specialist Lay Members First-tier Tribunal Health Education and Social Care Chamber (Mental Health jurisdiction) and Mental Health Review Tribunal for Wales (MHRT Wales). Closing 1pm 9 April
Judge of the First-tier Tribunal Closing 1pm 14 April

This has now been fixed.
Also includes preventing users from submitting an application if they started applying just before close time and tried to submit after the close time passed.
Plus in the last hour we're showing a countdown timer to let people know how much time they have left.


Closure conversion: super calls

Closure conversion needs to be able to handle super calls in hoisted functions.

Initially we can just do closure conversion after mixin resolution.
But that does not support modular compilation, nor does it support runtime resolution of mixins, which JS compilers need. Progress on this is blocked by two conflicting features in the language: super calls in mixins, and allowing a mixin applied multiple times in a class hierarchy. I personally think the latter is a useless feature that we should just drop, but I haven't been able to get a clear ruling from the language team.

Does mixin resolution also address the fact that super implicitly refers to this, but this gets rewritten to this.self?

Yes, a super call is rewritten to a direct call with a ThisExpression as receiver. If we run closure conversion afterwards, it should pick up the ThisExpression without needing any special treatment for super calls.

That's good. I'll close this issue for now.


Chore: Exercise Overview adjustments and PR cleanup

Description
This PR is follow-up PR to #42 in order to resolve some minor problems, that were pointed out here. Logic has been extracted into view models and strings have been replaced with resource strings. Furthermore, it introduces modifications to the exercise overview and fixes design issues (see screenshots).
Merging this branch will solve #75
Screenshots
Before:

After:

I just noticed that the exercise info container is cut off for quiz exercises:

Could you check again? I was not able to reproduce this issue. The changes could be resolved now, as the buttons are not displayed anymore.


[WIP] document kubectl explain openapi v3

re: https://github.com/kubernetes/enhancements/issues/3515
this enhancement changes the data backing for kubectl explain to use OpenAPIv3 instead of v2 as earlier. It is toggled by en environment variable KUBECTL_EXPLAIN_OPENAPIV3=true.

/retitle [WIP] document kubectl explain openapi v3

Does OpenAPI version switch belong in a cheat sheet? I doubt that many readers look for it in a hurry.

Agreed. Though I did not come across a natural place in the existing docs where I thought it fit. Open to suggestions

Hi @alexzielenski , Thank you for the draft doc PR here, Please update to Ready for Review, the deadline it's on Tuesday 15th November 2022. Thank you!

@alexzielenski , Please can you create this PR against the branch 1.26? Here the instructions.
This enhancement is marked as ‘Needs Docs’ for 1.26 release. Please follow the steps detailed in the documentation to open a PR against dev-1.26 branch in the k/website repo. This PR can be just a placeholder at this time, and must be created by November 9. Also, take a look at Documenting for a release to familiarize yourself with the docs requirement for the release.
cc: @cathchu

@alexzielenski , Please can you create this PR against the branch 1.26? Here the instructions.
This enhancement is marked as ‘Needs Docs’ for 1.26 release. Please follow the steps detailed in the documentation to open a PR against dev-1.26 branch in the k/website repo. This PR can be just a placeholder at this time, and must be created by November 9. Also, take a look at Documenting for a release to familiarize yourself with the docs requirement for the release.
cc: @cathchu


Mutable TaskStatus results in apply losing differences

During apply we lose status information that results in no differences being show during output.  The root cause is that because the TaskStatus being returned by modules is the Task with an embedded resource.Status, so when we call Check with plan.Result.Task it mutates the apply.Result.Status that we have stored.
The fix is to separate out tasks from status, have each module return an actual status.  Reflection should automatically populate a map[string]interface{} inside of the status to handle lookups, and then both the task and the status should be made immutable.

Proposal, from the module author's perspective: separate Task and Status.
Lookups will be handled with struct tags on the task.
type Directory struct {
  Destination string `export:"destination"`
}

The above configuration would cause a field destination to be available on lookup. If the lookup struct tag is not present, the field would not be exported.
Generated fields (like a full image tag from docker.image) could also be represented:
type Image struct {
  // existing fields
  FullTag string `export:"full-tag"`
}

In this case, FullTag would be set by Image.Apply rather than from the preparer.
The implementation of Plan and Apply would construct new Statuses instead of embedding them, and the fields would be added by the runtime. Existing semantics (other than embedding) should not change.
We should also be able to generate documentation from these lookup tags.

From an implementation perspective:

Add a fields map to Status
Add code to all places statuses are created to introspect tags from the task and export to the fields struct. This may work better as a wrapper, á la resource.Preparer. The code to do this could probably live in a method on the status.
Change lookup code to use the fields map instead.
Remove embeds from existing modules and test that wrapping works correctly with their exports
Modify documentation generation code to automatically generate docs for the new exports.


Using periods in Hindi labels

In Hindi language file, there is an inconsistent use of [ . ] and also [ | ] at the end of the line.
We can use period which is [ | ] for end of the line.

verified as fixed in the build with commit id in the below screenshot."C:\Users\ADMIN\Downloads\image.png"


docs: Add section for Kiali and distributed tracing OpenShift integration

Add new section in the docs for Kiali and distributed tracing OpenShift integration.
Fixes https://github.com/istio-ecosystem/sail-operator/issues/324

Hi @josunect. Thanks for your PR.
I'm waiting for a istio-ecosystem or istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

/ok-to-test

@josunect: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
b749290346ce74bc124a7d68bf43862c51e6c5f1
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@josunect: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
7d87263734703575b25698a3d76d3e91ba926ca9
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@josunect: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
f1611de3d4e7cc2d9dfede0c38d4a791677a8065
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest

@josunect: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind-olm_sail-operator_main
f1611de3d4e7cc2d9dfede0c38d4a791677a8065
link
true
/test e2e-kind-olm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


Error popup : close button lacks contrast

It's almost invisible.

@williambout thanks for making an issue.


Circle fft + uni-pcs (minus FRI)

just drafting, needs cleanup

@jorgeantonio21 Thanks for all your helpful comments!! I agree with the vast majority and will fix. Admittedly, in my enthusiasm to get the paper implemented I may have overlooked some details.
To note is that performance isn't super important atm, I just want to get the skeleton in and make sure the math works. Next PR is FRI, and then adding a lot of tests, and then I will start working on performance.

@rjeli thanks for your comment ! This is great work, I totally understand that performance is not a big issue now. I am leaving a few comments also to had a mental note for the future. Feel free to leave them unresolved and we can always point to them in future work on optimisations.

@ulrich-haboeck

some of the domain specific logic (for example evaluation of the Lagrange basis) seems to support only DEEP points from a field which allows a complex extension. (Not sure if this is what we really want. We might choose a degree 6 extension, e.g.?)

No, it supports DEEP queries from any extension of the base field, that's why we have a rotate method, otherwise we would just use complex multiplication.
It's confusing in some places because we use this Complex<F> for affine (X,Y) coordinates. Due to how the rust type is defined, it's legal to create a Complex<F> and basically use it as a 2-tuple, but it will error if we try to actually use field operations.


Should be the last time we have to do a mass merge for a bit

dont mind me completely forgetting you wanted to do this


Finish setting up account causes issues with preference/sub loss

Whatever logic we added here helped, but it does still happen and users lose prefernces/subs:
https://github.com/lbryio/lbry-desktop/blob/45bc5182ce39660c5952c4db2ae56af6c9705dc7/ui/component/userSignUp/view.jsx#L141
Can try running the sync loop before that or fix the logic

Believe this is fixed now.


Added translation of 3 files as mentioned in issue

Worked on Issue- #1771
Added translation of quick-start.md,installation.md and index.md and made changes in yml file.
@Wauplin can you please take a look at it ?
It would mean to lot.
Thank you.

@Wauplin  I have made the necessary changes as mentioned before review.
@Vaibhavs10 I have made the required changes as mentioned during review like replace translated library into English.
It would be great if you take a look at it.
Thank you,
Aneesh.
😄

Made Changes as mentioned in Review 2 of the branch aneeshd27-translation

Updated the necessary changes as mentioned in the review.
@Vaibhavs10 Can you please take a look at it?
Thank you,
Aneesh 😄

I have made the told changes as mentioned in the review.
@Wauplin  Can you please take a look at it?
Thank you,
Aneesh 😄

I have made all the changes like deleting files from concepts and guides folder which have not been translated.
@Wauplin Can you please check if the right changes have been made?
Thank you,
Aneesh 😄

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[NFC] Remove old comment related to port diagnostics to new framework

Found while investigating another issue, I think this comment doesn't apply anymore

Friendly ping @xedin ;)

Sorry, I completely missed this one! Looks good!

No worries, thanks :)


Create a Project Without a Security Token

Having a security token is useful but this is limiting when moving the project to a different computer as VoTT requires to maintain security tokens, project folder paths e.t.c.
It would be really nice user to choose if project needs a security Tokens or not.

i second that

+1

Is there a workaround for when you need to transfer files to other people if there is no option to not select having a security token at the beginning? About a year out from this post so hoping someone found one!


need version field in CLI config yaml

Is your feature request related to a problem? Please describe.
for future upgrades / compatibility, we need to know what version the config.yaml file is.
Describe the solution you'd like
the CLI config yaml needs a version field

Resolved by #1749


[#2584] Reduce memory allocation when creating ActiveTraceHistogram

Reduce snapshot creation

Codecov Report

Merging #3254 into master will increase coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #3254      +/-   ##
==========================================
+ Coverage   39.44%   39.44%   +<.01%
==========================================
  Files        2077     2076       -1
  Lines       68097    68100       +3
  Branches     9464     9464
==========================================
+ Hits        26858    26860       +2
+ Misses      38635    38634       -1
- Partials     2604     2606       +2

Impacted Files
Coverage Δ

...monitor/metric/activethread/ActiveTraceMetric.java
0% <ø> (ø)
:arrow_up:

...ler/context/active/EmptyActiveTraceRepository.java
0% <0%> (ø)
:arrow_up:

...ler/receiver/service/ActiveThreadCountService.java
25.45% <100%> (ø)
:arrow_up:

.../metric/activethread/DefaultActiveTraceMetric.java
83.33% <100%> (+11.9%)
:arrow_up:

...r/stat/activethread/ActiveTraceMetricProvider.java
50% <50%> (-5.56%)
:arrow_down:

...r/context/active/DefaultActiveTraceRepository.java
78.04% <77.27%> (-1.96%)
:arrow_down:

...pinpoint/rpc/ChannelWriteFailListenableFuture.java
42.85% <0%> (-28.58%)
:arrow_down:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
57.14% <0%> (-8.58%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (-1.93%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
70.68% <0%> (-1.73%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Feature request: please provide a way to disable g:Lf_ShortcutB / F

This a feature request.
I've my own way to call LeaderfFile and LeaderfBuffer. So I want to disable let g:Lf_ShortcutF/B.
After I set
let g:Lf_ShortcutB = ''
, when starting, vim prompts "no mapping found"
Currently, I used eg
let g:Lf_ShortcutB = <leader><leader><leader>b (, which I never use actually).
as a workaround. But I don't think it's good.
So please provide a way to disable g:Lf_ShortcutB / F

Duplicate of #291, now you can set let g:Lf_ShortcutB = '' or let g:Lf_ShortcutB = ''  to disable the mapping.

thanks.


Ability to keep whitespace/backspace '\n'

What problem does this feature solve?
I want to maintain my data/text format in the cell as it is, meaning that if I have multiple rows, VTable should preserve the line breaks...
for eg.

ID
content

1
ID: 123Github: BujupahVerified: Yes

2
ID: 321Github: OtherVerified: No

Translated to CN: (Sorry for translation)
我想保持单元格中的数据/文本格式不变，这意味着如果我有多行内容，VTable 应该保留换行符。
What does the proposed API look like?
Style options should have something like this
whiteSpace: 'pre' maybe?
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space

https://visactor.io/vtable/faq/22-How to deal with line-break
https://visactor.io/vtable/option/ListTable#enableLineBreak
应该是这个配置吧

enableLineBreak 对 customLayout 中的 VText 不生效呢，如何让VText 支持换行符呢？


DOMException: Blocked a frame with origin

Version
5.3.4
Browser and OS info
Chrome 90 on macOS 11.3.1 (20E241)
Steps to reproduce
using vue cli, npm run serve to watch you application on localhost:8080, inspect vuex and reload the app.
What is expected?
you can see a red error in console:
Uncaught (in promise) DOMException: Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame.
What is actually happening?
vuex state is not consistend,
also event aren't captured anymore, the frame is empty

Same issue here. I have to clarify that it only happens if the New Vuex Backend is enabled. Disabling this option fixes the problem.

I'm getting the iframe error also in version 6.0.0 beta 14. There's no option to disable "New Vuex backend" in my case.


runtime: write oom file to notify CRI-O OOM occurred

Fixes: #2955
Signed-off-by: bin liu<EMAIL_ADDRESS>

/test

Hi @liubin - does this need porting to 2.0?

/test


CI: K8sHealthTest checks cilium-health status between nodes

https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/14127/testReport/Suite-k8s-1/10/K8sHealthTest_checks_cilium_health_status_between_nodes/
/home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.10-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:420
Never saw cilium-health ip <IP_ADDRESS> in pod cilium-f6jtr
Expected error:
    <*errors.errorString | 0xc0002e3220>: {
        s: "Timeout reached: <IP_ADDRESS> is not in the output after timeout",
    }
    Timeout reached: <IP_ADDRESS> is not in the output after timeout
not to have occurred
/home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.10-gopath/src/github.com/cilium/cilium/test/k8sT/Health.go:84

Confirmed that <IP_ADDRESS> is missing from the output:
Probe time:   2019-08-07T01:57:28Z
Nodes:
  k8s2 (localhost):
    Host connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=919.643µs
      HTTP to agent:   OK, RTT=301.641µs
    Endpoint connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=634.866µs
      HTTP to agent:   OK, RTT=255.633µs
  k8s1:
    Endpoint connectivity to <IP_ADDRESS>:
      ICMP to stack:   OK, RTT=1.530365ms
      HTTP to agent:   OK, RTT=840.562µs

52a4b36d_K8sHealthTest_checks_cilium-health_status_between_nodes.zip

https://jenkins.cilium.io/job/Ginkgo-CI-Tests-Pipeline/8170/

https://jenkins.cilium.io/view/Cilium-v1.6/job/cilium-v1.6-standard/89/


add inference_mode context manager with decorator support

This is https://github.com/tinygrad/tinygrad/pull/3281 but with the right API.
Introduces inference_mode context manager akin to torch.inference_mode:
with Tensor.inference_mode(): ...
# OR
@Tensor.inference_mode()
def f(): ...

Also adds ability to use Tensor.train() as a decorator:
@Tensor.train():
def f(): ...

Why is it val and not mode to match torch?

Cool, merged


Redirect HTTP to HTTPS

Anyone visiting any HTTP URL should be redirected from HTTP to HTTPS with the same URL and query params.

@rickr, Would you mind taking a look at https://github.com/tskuse/operationcode_frontend/commit/3c1b456ce5c10bad0ed74fb4e64af2d5ebe565b4 ?
Enabling Express trust proxy:
(Recommend reviewing config options: http://expressjs.com/en/guide/behind-proxies.html. I'm not fully aware of the serving arrangement.)

Although the app will not fail to run if the application variable trust proxy is not set, it will incorrectly register the proxy’s IP address as the client IP address unless trust proxy is configured.

Setting a non-false trust proxy value results in three important changes:

The value of req.hostname is derived from the value set in the X-Forwarded-Host header, which can be set by the client or by the proxy.

X-Forwarded-Proto can be set by the reverse proxy to tell the app whether it is https or http or even an invalid name. This value is reflected by req.protocol.

The req.ip and req.ips values are populated with the list of addresses from X-Forwarded-For.

That looks like a sane change. We can merge it in and test it out in prod before we launch this week.

Fixed in #95


Problem with postgres password

I am trying to use openfrontier/gerrit:latest -> 2.11.2 with an existing postgres database. Since the database already exists (in a container called postgres), I just created a user/pw gerrit2/gerrit in the database

CREATE USER gerrit2 PASSWORD gerrit;
CREATE DATABASE gerrit2 OWNER gerrit2 LOGIN;

and started up the gerrit container with this command line:

sudo docker run --detach
--restart always
--name gerrit
--link postgres:db
-p 8200:8080
-p 29418:29418
-e WEBURL=http://gerrit.XXXXXX.com
-e DATABASE_TYPE=postgresql
-v /srv/gerrit:/var/gerrit/review_site:Z
openfrontier/gerrit

But I am getting this in the gerrit logs:

fatal: DbInjector failed
fatal: Unable to determine SqlDialect
fatal:   caused by org.postgresql.util.PSQLException: FATAL: password authentication failed for user "gerrit2"

And this in the postgres logs:

FATAL:  password authentication failed for user "gerrit2"
DETAIL:  Connection matched pg_hba.conf line 95: "host all all <IP_ADDRESS>/0 md5"

So the two containers are talking correctly.
This looks like the password is wrong. I have also tried with password gerrit2 without success. Can you tell me the password to use?  Perhaps you can make the postgres user and password configurable?

There are basically three environment variables involved in database connection from gerrit to postgresql.
The DB_ENV_POSTGRES_DB specifies which database to be connected.
The DB_ENV_POSTGRES_USER and DB_ENV_POSTGRES_PASSWORD specify the user name and password.
These variables can be created automatically in gerrit container by --link postgres:db if POSTGRES_DB, POSTGRES_USER and POSTGRES_PASSWORD are defined in the postgres container which is what I recommend in the README.
Since you are using an existing postgres container which means those three environment variables may be occupied by another existing database or even not existed at all. You can check it by execute docker exec postgres env.
In this case you can define these environment variables as the docker run options like:
docker run
--link postgres:db
-e DATABASE_TYPE=postgresql
-e DB_ENV_POSTGRES_DB=gerrit2
-e DB_ENV_POSTGRES_USER=gerrit2
-e DB_ENV_POSTGRES_PASSWORD=gerrit
....
You can reference [Section database] in gerrit-entrypoint.sh if you want to know how these variables are used to define gerrit.config file.

Thanks! After reading the Docker documentation on --link it makes much more sense.


test suite

Maybe you would be interested in a test suite for this plugin
https://travis-ci.org/albfan/nerdtree-git-plugin/builds/89796111
Just let me know

I will close this as it is proposed on https://github.com/Xuyuanp/nerdtree-git-plugin/pull/72


chore(package): update @kronos-integration/service to version 5.2.1

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Is this feature still in beta?

testing travis

Out of curiosity, wtf is this

Was testing to see whether Travis had brought this out of beta yet http://docs.travis-ci.com/user/multi-os/

OH took me a minute, I thought you were talking in 3rd person haha

No worries. I am actually a sentient CI suite, and even I get confused sometimes and think I am a human.


Why influxdb query can only find a period of time, not the entire time range

Why influxdb query can only find a period of time, not the entire time range

mistake


Does not work

I tired the ScreenUpdating on one macro, but it does not work. I get Error saying: Invalid outside procedure.

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

ID: af799e67-e8bf-bc1c-9f6f-80b7916a01f0
Version Independent ID: ec9acd03-9ba9-4bc6-a950-67dee5138f3f
Content: Application.ScreenUpdating property (Word)
Content Source: api/Word.Application.ScreenUpdating.md
Product: word
GitHub Login: @o365devx
Microsoft Alias: o365devx

@Hagy959 Thanks for your feedback. We use Github issues for documentation bugs, not for developer support. Please try the VBA developer community on Stack Overflow (https://stackoverflow.com/questions/tagged/vba) where you can get help from actual developers. If you find a bug in our documentation, please let us know. Thanks!


PyOpenColorIO Processor.getDynamicProperty() doesn't return a Python type

Stumbled on this issue in the Python bindings for v2.0.0-rc1
DynamicProperty can be returned from a CPUProcessor, but not from Processor. We are wrapping DynamicProperty in a PyDynamicProperty wrapper, which is not being used in this case.
TypeError: Unable to convert function return value to a Python type! The signature was
	(self: PyOpenColorIO.Processor, type: PyOpenColorIO.DynamicPropertyType) -> OpenColorIO_v2_0rc1::DynamicProperty

Will fix

Will fix


[Feature Request] Single binary support

First of all thank you so much for this amazing project. I actually succeeded creating a "fork" version which runs in a PyQT5 (WebEngine) desktop application.
However there are a few things I don't like much about this project such as the inability of changing the path of the assets (which in terms of distributing the package is not the best approach) and most importantly the fact that without the proper Python virtual environment, it cannot be run.
I'd kindly like to know, if there's in the developers plans, if a single binary (which bundles all the necessary dependencies) will be ever released.
I tried using Nuitka as well as pyinstaller and cxfreeze without any success. Have you ever succeeded doing it?
Thank you so much
dreamwhite

First of all thank you so much for this amazing project. I actually succeeded creating a "fork" version which runs in a PyQT5 (WebEngine) desktop application.
However there are a few things I don't like much about this project such as the inability of changing the path of the assets (which in terms of distributing the package is not the best approach) and most importantly the fact that without the proper Python virtual environment, it cannot be run.
I'd kindly like to know, if there's in the developers plans, if a single binary (which bundles all the necessary dependencies) will be ever released. I tried using Nuitka as well as pyinstaller and cxfreeze without any success. Have you ever succeeded doing it? Thank you so much dreamwhite

changing a few lines of code you can move the paths of the .pt, .pth, .bin… files, we have our version with the dependencies compiled, we don’t plan to do more than that

btw join to discord and feel free to share your project


Reset QR code on component mount

Reset QR code on component mount, as an alternative to https://github.com/keybase/client/pull/7371

@keybase/react-hackers @chrisnojima

The commits 38572d55c1b8...8f360b354015 introduce visual changes on linux. :mag_right: 1 changed

Changed: Tracker-New_user_Scroll_1 (before) (after)

i'm fine to do this just to close this out but i think its better philosophically for this to be driven by redux.

This isn't like an uncontrolled input. In that case what you're typing doesn't really matter so it doesn't need to go into the store. All you care about is the ultimate output and not some temporary value. No external force will affect that value so its essentially invisible
Here we have ways in which this could be reset by external sources. The daemon could say its not valid, there could be some timeout, etc etc. If its in the component there's no good way for us to communicate this in (other than making some prop thats driven by redux, so why not just store this in redux in the first place)
If we wanted to test this logic it'll be easier to do it in redux

The commits e90914f4ba8b...d7fbe060368f introduce visual changes on linux. :mag_right: 1 changed

Changed: Tracker-New_user_Scroll_1 (before) (after)


qdrant: module init

Description of changes
initial service for qdrant, I'll be testing over the next few days. Opening this early in case people are interested
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

I've just tested and it all runs well.
I'd be happy to take of feedback later on should there be any.


About the gt traj collision rate

Hi, I followed your detailed guideline to train the second stage, and after 5860 steps using 8 A100, the collision rate is computed:

I just get shocked by the obj_col metric, which is the gt traj collision rate if I was not wrong.

forgive my misunderstanding, just did not notice the percentage sign


backport 3130

https://github.com/fedimint/fedimint/pull/3130

Call: if backport bot fails, open issue automatically

Closed by the two referenced PRs


Broadcast to private/presence channels with custom user_id

Laravel Version: 5.4.22
PHP Version: 7.1

Description:
        Broadcast::channel('user.{userId}', function ($user, $userId) {
            return $user->uuid === $userId;
        });

Firstly the Broadcast::channel method abstracts which type of channel we are listening on. If I have a presence-channel-name and private-channel-name they both get handled by the same method. Is there a way to get the raw channel name? For presence channels we might wish to use a different mechanism to authorize.
Secondly, the user_id is returned as whatever the $user->id value is. This should be overridable, for example we may wish to use a uuid or other value such as email address.

This is not a bug. Open an issue in the laravel/internals repo

would be awesome to use uuid´s instead of int for the channel names, like:
private-notifications.b7dac8ac-c57f-40a0-a27e-55a6c4b97944


Property 'cpuUsage' does not exist on type 'Process'

TypeScript Version:
tsc -v
Version 2.14

Code
// Type definitions for Node.js v6.x
// Project: http://nodejs.org/

let cpuUsage = process.cpuUsage();

Expected behavior:
Expected definition for: process.cpuUsage([previousValue])
Actual behavior:
Definition is missing, getting error:
tsc -p .
error TS2339: Property 'cpuUsage' does not exist on type 'Process'.

declare module "v8" {
    interface HeapSpaceInfo {
        space_name: string;
        space_size: number;
        space_used_size: number;
        space_available_size: number;
        physical_space_size: number;
    }
    export function getHeapStatistics(): { total_heap_size: number, total_heap_size_executable: number, total_physical_size: number, total_avaialble_size: number, used_heap_size: number, heap_size_limit: number };
    export function getHeapSpaceStatistics(): HeapSpaceInfo[];
    export function setFlagsFromString(flags: string): void;
}

should it be:
declare module "v8" {
    export interface HeapSpaceInfo {
        space_name: string;
        space_size: number;
        space_used_size: number;
        space_available_size: number;
        physical_space_size: number;
    };

    export interface HeapInfo {
        total_heap_size: number,
        total_heap_size_executable: number,
        total_physical_size: number,
        total_avaialble_size: number,
        used_heap_size: number,
        heap_size_limit: number
    };

    export function getHeapStatistics(): HeapInfo;
    export function getHeapSpaceStatistics(): HeapSpaceInfo[];
    export function setFlagsFromString(flags: string): void;
}

The declaration file comes from DefinitelyTyped. Feel free to send an PR fixing the declaration and i would be happy to merge it.

PR1: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358
In next PR I will make changes to v8 module.

PR2: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13677


[core][search] log additional headers on requests

Updates the standard list of logged headers to include CORS headers.
Also, adds service-specific allowed headers to the SearchIndexClient.
Fixes #7644

/cc @johanste any concerns? Especially as it relates to including CORS headers in the default set of allowed headers for logging?


Fix regressions affecting both the 'pagemode' hash parameter and certain 'namedaction' types (PR 5971)

Please refer to the individual commit messages.
Both these regressions are from PR #5971.

/botio-windows preview

Looks good to me with the nit addressed. I'm leaving the final review for @yurydelendik as he was the author of the PR that caused the regressions.

I removed the unnecessary newline; I also made a couple of small improvements in the first commit (e.g. better comments for the bookmarks/outline case).
/botio-windows preview

Nice patch, thank you!


update SDK constraint and package deps

/cc @nilsdoehring

/cc @kevmoo

@nilsdoehring : could you take a look at this one?  Builds using coveralls are currently broken due to stale deps.
Thanks!

Fixes: #83

/cc @srawlins

Thanks all!


[Event Request] codeunit 86 "Sales-Quote to Order" - OnBeforeDeleteSalesQuote new parameter

Could we please have additional parameter (SalesQuoteLine) in event OnBeforeDeleteSalesQuote in Codeunit 86?
    //OnBeforeDeleteSalesQuote(Rec, SalesOrderHeader, IsHandled);
    // start kvspsa - Event Raiser
    OnBeforeDeleteSalesQuoteKVSPSA(Rec, SalesOrderHeader, SalesQuoteLine, IsHandled);
    // stop kvspsa

Event:
local procedure OnBeforeDeleteSalesQuote(var QuoteSalesHeader: Record "Sales Header"; var OrderSalesHeader: Record "Sales Header"; var SalesQuoteLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

Thank you and kind regards

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


google ar services didn't work

I tried it on pixel reloaded caf which is almost same as pixel experience in ui and features wise, but after flashing December hal3 zip, some features are working but google ar services is still not showing on playstore

Clear playstore data and check.
If not check whether camera hal3 is enabled or not using app like cam2api probe.

it worked! btw will google assistant 2.0 okay google features work with this props? or do I've to manually open the assistant

It works for English(US) and English (UK), will also be there for others as Google rolls it out. Option to enable voice match will be there inside Google app settings if voice match is available for the language.


Review comments on CONTRIBUTING.md

The CONTRIBUTING.md document includes most of the required material, but there are a few issues.
The links in the document lead to the site home pages rather than the specified pages due to misplaced >. The document would benefit from including additional links, such as a link to the relevant GitHub documentation in the first "Get Started!" list item.
This document has very different installation instructions to the README. They should be harmonized, and it will probably be simpler to maintain if CONTRIBUTING refers the user to the README, with notes about changes required to create a dev environment. It's quite confusing to have one document require conda and another require virtualenvwrapper. Ideally both should just use standard library venv.
This document specifies tox but the main project seems to use pytest. The Tips section uses unittest. The project should pick one testing framework and stick to it throughout.
https://github.com/openjournals/joss-reviews/issues/2432

This issue was closed as part of the PR, but was not actually resolved.

@lincoln-harris update https://github.com/czbiohub/cerebra/blob/master/CONTRIBUTING.md

@afrubin checkout 283dfe2 to see if this has been properly addressed?

This looks much better. The "Pull Request Guidelines" section still needs some work, though. For example, it doesn't specify test coverage and README.rst doesn't exist (you have a README.md).

The Contributing section in the README mentions a CONTRIBUTING.md that no longer exists.

@afrubin closing this issue, pending any objections


GoogleMaps.load() not working on iOS (with Iron)

I don't know if it's related to the package itself or Iron. The map is showing up correctly in my browser but when I try it out with iOS Simulator (iPhone 6 / iOS 8.3) it just never loads ... Here's a repository I setup for you to reproduce the problem
https://github.com/Loschcode/meteor-iron-google-maps-issue
I'm not sure it's a human mistake or an issue, but it's been hours i'm on it and i really don't get it
NOTE : I let the some alert() to fire on iOS to see the problem clearly.

Hey @Loschcode have you added the access rules? See: https://github.com/dburles/meteor-google-maps#mobile-platforms

It seems it was the problem, sorry i didn't close this issue ;)


Rename normalize/normalize.rs to normalizer.rs

Rename normalize/normalize.rs to normalize/normalizer.rs to avoid "module inception" warnings and for the sake of consistency with inspection stuff.

Trivial change. Merging once CI passes.


El Capitan support for pl2303

El capitan support

How do those changes look? Thanks.

Looks good. Could you please squash your commits?

All squishy! Thanks.

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


add toggles for ENCRYPT + DECRYPT permissions + udpdate values for SUPER permissions

What does this PR introduce?
📓 Docs

add toggle documentation for permissions ENCRYPT and DECRYPT
⚠ update values for SUPER permissions (SUPER permissions are now on the left bits range).

🎨 Figures/Drawings

update top figure to include ENCRYPT + DECRYPT permissions.
add figure for SUPER permissions range.

Related to:

https://github.com/lukso-network/LIPs/pull/124
https://github.com/lukso-network/lsp-smart-contracts/pull/314

@Hugoo I put that as a draft, as we are not definitely agreeing on the SUPER permission range.

@CJ42 needs fixing right?


Add GovCloud functionality to background/script.js

Should allow script to function for SAML sessions for AWS GovCloud (US)

Adding wildcard before 'signin' in 'urls' to accommodate possibility of SAML URL including the region (as witnessed via a SAML tracer add-on).


feature: engine config files

feature that could be implemented in fast-chess sometime in the future. cutechess allows engine options to be set in a config file, see: https://github.com/cutechess/cutechess/blob/master/docs/cutechess-engines.json.5.txt

you can do the same with the current config?

the current config is for the entire tournament options, the cutechess engine configs allows to define engine options for each engine specifically, so its two seperate configs

but why would you want two ? you can achieve the behaviour with the current config

hmm i guess so yeah, ur right


[BUG/ISSUE] v1.6.1 wiped all chocolatey packages during update

Before submitting the issue

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

Describe the bug
Automatic update to v1.6.1 wiped all chocolatey packages that were installed with version 1.6.0

Dit update to v1.6.2 also do that?

I have disabled Chocolatey since last update so I couldn't check, sorry.

Then the introduced changes worked


FeatureRequest: able to add a prefix to the created font

Hi.
I need to mix a two fonts in the same page (one is global, and other is item-specific).
I can do it if I add a prefix to the css classes, but when I am changing the font css I am breaking the css files.
I want to able to set a prefix for CSS  like [class^="icon-r-"]:before, [class*=" icon-r-"]:before and similar.
Thanks for  usable  application !

thanks.


Fix proxy configuration not getting set

Before i merge i also want to check if the proxy setting isnt handled in the /inc/acs.class.php as well.

Pr didn't change much tbh, would love to help you unfortunately it's pretty hard between personal and work life at this time.

I hear ye. Well consider it an standing invite then 👍


How to deal with this problem?

   Describe*

(Not only the adblock has this problem, when I install Tampermonkey kiwi also warning that.
   To Reproduce*

Enter kiwi://extensions, click "+(from .zip/.crx/...)", select the extension flie to install, click the extension's switch and kiwi will warning that.
I can click "OK"  and then start the extension, but in fact it not work.
Smartphone :

Device: vivo T1x(2123A); Alibaba Tmall Media box_M18
Android Version : 11; 6
Kiwi Browser Version 107.0.5304.75

This has been fixed with latest v116. After you press "ok" now extension works . Tested with Tampermonkey .crx


where exactly should we load secret.env file? Haizz, my memory is having some trouble, can you repeat what you just said?

Question, where exactly should we load secret.env file?
agent name Lucy starting agent name Jenny
agent name Paul starting agent name Jenny
agent name Jenny starting agent name Jenny
agent name Lucy starting agent name Jenny
agent name Paul starting agent name Jenny
agent name Jenny starting agent name Jenny
Exception as below, will retry
The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
Exception as below, will retry
The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
Exception as below, will retry
The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
Every response says same
Haizz, my memory is having some trouble, can you repeat what you just said?

Hi @james-tn do you have any update on this issue?  The same obstacle is preventing us as well.

Hi @james-tn cloud please let me know which files we are using for payroll_hr and payroll_hr_cache.
AZURE_SEARCH_INDEX_NAME="payroll_hr"
CACHE_INDEX_NAME="payroll_hr_cache"
Should these indexes be created in the search service?

Hi @james-tn , does this code deploy the model automatically or we should deploy it manually?

I was able to fix the issue after updating the deployment_id value with the actual OpenAI deployment name instead of self.engine but the agent is only able to reply for employee name and id not for further questions, getting the below error
using faiss
Exception as below, will retry
RetryError[<Future at 0x2708ca62150 state=finished raised InvalidRequestError>]
tried both using azcs and faiss, any idea on the same?
thanks

If you want to use Azure Cognitive Search, you need to setup index and import docVectors.json to AZURE_SEARCH_INDEX_NAME="payroll_hr". If not, just set USE_AZCS="False".
There's a feature to use Semantic caching (with ACS) to retrieve same meaning previously asked questions from ACS instead of hitting GPT-4. To use that, need to setup an empty index named payroll_hr_cache and set the variable CACHE_INDEX_NAME="payroll_hr_cache" , then set USE_SEMANTIC_CACHE="True"
and SEMANTIC_HIT_THRESHOLD=0.9


Cannot install via composer

I tried to add this repository to my project via composer, but got this error:
[InvalidArgumentException]
Could not find a matching version of package davebarnwell/model-orm-php. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Also, this repository is not found on packagist. Can you update please to be able to install? (see https://packagist.org/? -> Publishing Packages)
Also it would be nice to speak about installation in the readme file.

@DWMcload Great to hear you like the library. I've never placed it on packageist as I've always treated this lib as a side project, although I've used it in my own production projects.
To install via composer you need to define the VCS repo see https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository
Something like this will work
{ 	"minimum-stability": "dev", 	"prefer-stable": true,     "repositories": [         {             "type": "vcs",             "url": "https://github.com/davebarnwell/model-orm-php"         }     ],     "require": {         "Freshsauce/Model": "dev-master"     } }


chore: refresh roadmap after v1.2.0 release

Description
What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Refresh roadmap after v1.2.0 release
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

@susanshi @akashsinghal can you help to merge this PR, I do not have the right. Thanks.


Provide minified javascript

Is there any chance that you can provide the minified javascript /css as part of the release?

thank you for your issue!


The "Application Settings" node isn't alphabetically sorted after renaming one application setting

OS: Win 10
Build Version: 20201127.1
Repro Steps:

Add a new application setting for a web App.
Rename this application setting and check if the "Application Settings" node is alphabetically sorted.

Expect:
The "Application Settings" node is alphabetically sorted after renaming one application setting.

Actual:
The "Application Settings" node isn't alphabetically sorted after renaming one application setting.

More Info:
Refresh can fix this issue.

https://github.com/microsoft/vscode-azurefunctions/issues/2525#issuecomment-740235836


Test on older Homebrew & MacOS versions

Currently, this package assumes PHP binary is located at/opt/homebrew/opt/php@$PHP_VERSION/bin
But older homebrew versions don't store PHP bin into /opt/homebrew/ prefix also, it doesn't store on the same location.

Possible paths:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /opt/homebrew/etc/php/7.0/bin
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /usr/local/Cellar/php/8.0.2/bin
- /usr/local/Cellar/php/8.1.2/bin
-

Sources:

https://stackoverflow.com/questions/48585578/where-does-homebrew-install-php-on-mac-high-sierra
https://stackoverflow.com/questions/66137934/macos-change-default-php-version-with-homebrew

use brew --prefix to determine homebrew prefix

from valet
/**
* Typical homebrew path resolutions are like:
*<EMAIL_ADDRESS>* or older styles:
* "../Cellar/php/7.4.9_2/bin/php
* "../Cellar/php55/bin/php.
*/
preg_match('~\w{3,}/(php)(@?\d\.?\d)?/(\d\.\d)?([_\d\.]*)?/?\w{3,}~', $resolvedPath, $matches);


Non blocking connect/reconnect function

mqttConnect function has blocking loops which is unusable many for practical IoT devices.
--added mqttConnect_nonBlocking which rids all the blocking delays and loops
--fixed typo. For jwt token,  "iss" was used instead of "iat" which created some confusion.
--added publishTelemetry wrapper functions with QoS(quality of Service) parameter

Tested with ESP8266 2.4.2 Core.
Planning to put together another example using the mqttConnect_nonBlocking() function later.
Works well with my private project codes.

Thanks for your PR Ahmad, I'll test this soon!


Implemented the tooltip for table column headers

The PR fulfills these requirements: (check all the apply)

[x] It's submitted to the main branch.
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. feat: Add a button #xxx, where "xxx" is the issue number).
[x] When resolving a specific issue, the PR description includes Closes #xxx, where "xxx" is the issue number.
[x] If changes were made to ui folder, unit tests (make test) still pass.
[x] New/updated tests are included

Closes #1792
Added a optional tooltip parameter to table_column
ui.table(name='table', columns=[
            ui.table_column(name='col1', label='Column 1', tooltip="I am a tooltip"),
            ui.table_column(name='col2', label='Column 2'),
        ]

The column header with tooltip property is displayed with a tooltip icon and the tooltip content is displayed when it's hovered.

cc @mturoci

Fixed the styling issues. Will update the tests. Meanwhile please let me know your thoughts.
cc: @mturoci

[x] The tooltip is too far away from the icon.
[x] Hovering over icon shouldn't bring up pointer cursor since clicking the info icon triggers no action.
[x] The table column styling should remain intact.
[] Please add a unit tests to verify that the info button with tooltip is only rendered when tooltip prop is specified on a col. Columns without the prop should not render the info icon.

The table styling should remain intact as mentioned previously.
You can use our visual regression testing tool
The tooltip is not centered, the icon is way too small and the spacing between other column icons is uneven.
Also, the tooltip probably needs either a border or slightly different background so that it's easier to spot:
Maybe needed for the rest of the tooltips as well so prefer generic solution.

Got it! I'll try to refine this further. Thanks!

Fixed the issues with header stylings and verified with the visual regression tool.
Increased the visibility of the icon
Fixed the misalignment of the tooltip with the icon
Removed the unnecessary looping in table.test.tsx
Properly typed tooltipHostProps with IDetailsColumnRenderTooltipProps

cc: @mturoci


Show the active client in the info panel at the bottom when you are acting as a proxy

Issue by infmally from Thu Oct 17 05:40:10 2013
Originally opened as https://github.com/UWNetworksLab/UProxy/issues/84

Closing, we now have the getting and sharing status bars.


Add identity equals method

The IEntity interface needs a new method: bool IdentityEquals(IEntity). This compares two entity instances by their identity. Returns true if their identities are equal, false otherwise, or if one is null.
This also needs adding as a static method on the Entity type, so it can handle null entities.

This is part-done already. The static method:
Identity.Equals


I can't run this project to contribute

after run ember s:
Livereload server on port 35729
Serving on http://localhost:4200/
ENOENT: no such file or directory, scandir 'node_modules/ember-cli-ic-ajax/node_modules/'
Error: ENOENT: no such file or directory, scandir 'node_modules/ember-cli-ic-ajax/node_modules/'
    at Error (native)
    at Object.fs.readdirSync (fs.js:813:18)
    at /Users/flama/Projects/ember-validations/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:32:21
    at Array.map (native)
    at mergeRelativePath (/Users/flama/Projects/ember-validations/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:30:29)
    at /Users/flama/Projects/ember-validations/node_modules/ember-cli/node_modules/broccoli-merge-trees/index.js:23:5
    at lib$rsvp$$internal$$tryCatch (/Users/flama/Projects/ember-validations/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/flama/Projects/ember-validations/node_modules/rsvp/dist/rsvp.js:1048:17)
    at lib$rsvp$$internal$$publish (/Users/flama/Projects/ember-validations/node_modules/rsvp/dist/rsvp.js:1019:11)
    at lib$rsvp$asap$$flush (/Users/flama/Projects/ember-validations/node_modules/rsvp/dist/rsvp.js:1198:9)

My environment:
ember-cli: 2.5.0
node: 4.0.0
os: darwin x64
npm: 3.8.6
```

I am going to close this issue for now, feel free to reopen this issue if you feel like it's still relevant and we should take a look at it.


Add @implicitNotFound annotation to FromMap

Part of #123

Current coverage is 81.50% (diff: 100%)

Merging #667 into master will not change coverage

@@             master       #667   diff @@
==========================================
  Files            69         69
  Lines          2633       2633
  Methods        2371       2371
  Messages          0          0
  Branches         88         88
==========================================
  Hits           2146       2146
  Misses          487        487
  Partials          0          0

Powered by Codecov. Last update 88e8c56...8349f5a

LGTM! Many thanks ... merging :-)


Typo: 'notcomplaint' instead of 'notcompliant'

https://github.com/sisimai/p5-sisimai/blob/e90952bc7ce0054c9729285df6c985d4bcb4211b/lib/Sisimai/Rhost/YahooInc.pm#L35

@bohwaz Thanks for the report! I'll fix the issue soon.
% find lib t xt -type f -exec grep -i 'notcomplaintrfc' {} +
lib/Sisimai/Rhost/YahooInc.pm:        'notcomplaintrfc' => ['headers are not rfc compliant'],

Fix this issue after merging #547 (it may conflict)

@bohwaz Fixed and released as v5.1.0p3 :-)

Thank you :)


Testing on an unscene Scene

Hi, I am looking into extending NeRF to generalize across different subjects in our camera setup. I am well aware that the original NeRF version cannot generalize to new scenes but I want to see how it looks. How do I test it on a scene with same camera poses but the centered object has changed, so its essentially a new scene? Running eval.py only queries xyz and direction, which makes sense but I want to know how do I test I test a network learned on one scene on a different scene?
Sorry if the question is too basic.

I am well aware that the original NeRF version cannot generalize to new scenes.
So there is no way you can check "how it looks" in a new scene. The network is learnt to represent the scene that it is trained on, so no way it can know what the new object looks like. There are many works that allow generalization now, I suggest that you check them, e.g. MVSNeRF or IBRNet.


Add files via upload

Added The File

@yehia-yosry alexu.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


'Download' should be a real downlod

Hi,
The option to 'download' data from AmiGO converts the data to a html page. It should download a tab-delimited file instead.
Thanks, Pascale
@cmungall

If it's the usual download pages, it's currently Content-Type | text/plain; charset=UTF-8


Error in streaming mode noting that execute function should return None

System Info
GPU:H100
With latest v0.9.0 code and image from ngc
Who can help?
No response
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction

Build llama2 13B engine
Launch triton server in decoupled mode
Use inflight_batcher_llm/client/inflight_batcher_llm_client.py code to test stream mode.

Expected behavior
Normal stream output.
actual behavior
Exception as follows:
0603 11:27:18.631800 29219 pb_stub.cc:751] "Failed to process the request(s) for model 'tensorrt_llm_0_0', message: Python model 'tensorrt_llm_0_0' is using the decoupled mode and the execute function must return None."
Received an error from server:
Python model 'tensorrt_llm_0_0' is using the decoupled mode and the execute function must return None.
Encountered error: Python model 'tensorrt_llm_0_0' is using the decoupled mode and the execute function must return None.
Encountered error: Python model 'tensorrt_llm_0_0' is using the decoupled mode and the execute function must return None.
Exception ignored in: <function InferenceServerClient.del at 0x7f6e5c42f910>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tritonclient/grpc/_client.py", line 257, in del
File "/usr/local/lib/python3.10/dist-packages/tritonclient/grpc/_client.py", line 265, in close
File "/usr/local/lib/python3.10/dist-packages/grpc/_channel.py", line 2250, in close
File "/usr/local/lib/python3.10/dist-packages/grpc/_channel.py", line 2231, in _close
AttributeError: 'NoneType' object has no attribute 'StatusCode'
additional notes
In previous versions, things are normal.

Please share the detailed reproduced steps.

It turns out the backend config in the tensorrt_llm file should be set to tensorrtllm instead of the default python. Problem solved and close this issue.


[ListItemButton] Render as link if href specified

Closes #29030

[ ] I have followed (at least) the PR section of the contributing guide.

I looked into details of failed check.
It says Please run 'yarn prettier' and commit the changes ...
I run yarn prettier.
There is nothing to commit

The logic looks good to me. cc @siriwatknp we probably should apply something similar in Joy too. cc @michaldudak not sure if applicable for base too, but worth checking it up.

Noted!


Unit Test UtilMath

Unit Test everything testable in this class.
Cover all edge cases.

I reworked the functions for UtilMath and create Tests for them all.


Tweak CM page line brightness on dark themes

As per Reddit report (https://redd.it/1d8opte), on dark CodeMirror themes, it can be difficult to read the folded text between the bright backgrounds of \page lines. This PR tweaks the brightness down slightly by reducing opacity of the background from 75% to 50%.

Visual preview of the change:

Talk about a minor change...
when you're showing the change, it'd help more to see a comparison from old to new.
Also, this is an unnecessary change that depends too much on personal taste.

Also, this is an unnecessary change that depends too much on personal taste.

If so, should we then fork this particular theme for both tastes or is that too far?

Also, this is an unnecessary change that depends too much on personal taste.

If so, should we then fork this particular theme for both tastes or is that too far?

i don't think anyone would notice the change.

fork the theme

I wonder if it's best to start making modifications to individual themes.  Not necessarily solely for the reason raised in this PR, but it might be something we have more and more reasons for over a long enough time.  And getting used to that now, rather than realizing we missed the opportunity far in the future, might be good.
We will have more and more custom syntax, widgets (some day), and other editor enhancements that could all benefit from thematic style customizations.  For example, right now we are only modifying the codemirror instance-- but I could see a future where the Snippet Bar and Menus are matched to the codemirror theme.  Are we offering the opportunity to customize the "Editor" (which to me includes the Editor Tools aka the snippets) or just the writing space?   I'd say we allow themes to change the whole Editor.
That's a whole other thing, though.  For this PR, I think the change is minor, it's specific to dark themes, doesn't make things worse, and easily reversible.
Just for reference, here is the original reddit users screenshot of the existing styling:


Auth support for TCP

Problem summary https://docs.google.com/document/d/1-R9muDf78bA-f5WcxXtnZ_noFFR4MLb00xI2djGS0Ps/edit

How would this work for https (without double encrypting all the traffic) ?

@ldemailly No, the key issue is missing LDS, for HTTP we can route traffic to different services by inspecting host header, but for TCP it needs LDS to know which service that app is talking to. The underlying encryption happen at same level. See the docs for details.

@kyessenov , just to confirm: this is done, right?

LDS is implemented and supports TCP clusters, if that's the question.

Yes, thanks.

@kyessenov , so the secure naming in CDS for TCP also works, right?

I think so. We have no negative tests for auth, so this remains to be verified.

i see, i will take care of that.

I fixed it in https://github.com/istio/istio/pull/711 and I'm starting to write a negative test but if you want to do it I can do something else


CMake do not differentiate between source- and header-files

@TheKnarf thanks for the PR! Looks good to me.


Fix brew tap thoughtbot/formulae

https://github.com/thoughtbot/laptop/issues/437
https://github.com/thoughtbot/laptop/issues/448

This worked for me!


Java class can not be find when preparing the dataset.

After I executed the following commands.
bash twitter.sh
bash uk-2006-05.sh

The same error occurs as follows.
Error: Could not find or load main class it.unimi.dsi.webgraph.BVGraph
Error: Could not find or load main class ipads.samgraph.webgraph.WebgraphDecoder

I don't know much about the Java language. How can I solve this problem? I will be very grateful if you could give any hints.

Sorry, there is a missing step in data gen. Go to utility/webgraph and execute mvn clean package. It is required to properly installe maven & jdk. A successful build should generate utility/webgraph/target/webgraph-0.1-SNAPSHOT.jar file.

Sorry, there is a missing step in data gen. Go to utility/webgraph and execute mvn clean package. It is required to properly installe maven & jdk. A successful build should generate utility/webgraph/target/webgraph-0.1-SNAPSHOT.jar file.

It works!
And when I executed bash twitter.sh, another error occurs: ../utility/data-process/build/coo-to-dataset: No such file or directory. Then, I enter utility/data-process/build to execute make and cooto-dataset exists now.
Thanks for solving my question quickly, I will close this Issue since it has been solved.

Hello,

Because the original dataset has no features data, we fill "zero" to all features for them in the dataset loading step.
A example for DGL dataset loading, you can see line 73 in the file utility/fastgraph/fastgraph/dataset_loader.py.
As for samgrahp, you can see L138 in the file samgraph/common/engine.cc.


Support setting an optional base context for functions.

Issue #, if available:
n/a

Description of changes:
Adds support for setting a base context to be given to functions that take context as their first argument. Current implementation is to provide a context.Background(). This implements a similar feature as seen in net/http where a http.Server can be given a BaseContext function which returns a context.Context to be given to all http requests: https://golang.org/src/net/http/server.go#L2572
This avoids the need for injecting context values into the context before a function is called.
This is a non breaking API change as new explicit methods have been added to support passing in a base context.

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

Codecov Report

Merging #287 into master will decrease coverage by 0.66%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #287      +/-   ##
==========================================
- Coverage   74.51%   73.85%   -0.67%
==========================================
  Files          13       13
  Lines         624      635      +11
==========================================
+ Hits          465      469       +4
- Misses        121      128       +7
  Partials       38       38

Impacted Files
Coverage Δ

lambda/entry.go
0.00% <0.00%> (ø)

lambda/function.go
59.32% <55.55%> (-1.47%)
: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 c67fade...890fb34. Read the comment docs.


Binary2x machine

I could think of solutions that are way cheaper and can be expressed in PIL (but not assembly)...

For example, in the main machine, instead of having a permutation like:
instr_xor {...} is binary.sel[0] {....};

we could have
call_binary1_xor {...} is binary1.sel[0] {...};
call_binary2_xor {...} is binary2.sel[0] {...};

where call_binary1 and call_binary2 are witness columns that can be set by the prover under the constraint that exactly 1 is 1 if instr_xor is 1, otherwise both are 0.
That would cost two witness columns and a few simple constraints.

Closing in favor of either rewriting the binary machine to support this directly or VADCOP. Will keep the branch alive


Feature/deseng662: Implemented new footer

Feature New footer (public and admin) 🎟 DESENG-662

Implemented new footer design for desktop and mobile viewports.
Addressed some issues with z-index between footer and side nav.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.07%. Comparing base (48adce8) to head (2cf432e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2571      +/-   ##
==========================================
+ Coverage   76.04%   76.07%   +0.03%
==========================================
  Files         609      609
  Lines       22075    22036      -39
  Branches     1782     1782
==========================================
- Hits        16786    16763      -23
+ Misses       5025     5009      -16
  Partials      264      264

Flag
Coverage Δ

metweb
65.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...eb/src/components/feedback/FeedbackModal/index.tsx
88.73% <100.00%> (ø)

met-web/src/components/layout/SideNav/SideNav.tsx
94.23% <100.00%> (ø)

met-web/src/styles/Theme.ts
100.00% <ø> (ø)

... and 3 files with indirect coverage changes


Actor some times is not able to dash

I'll have to dig a bit on this, but as far as I could see is something related to states transitioning, either from or to the dash.gd.
But It needs further investigation, cuz now I have 0 clues of what triggers this.

This is why we need better debug printing system.


Missing accessibility slider gestures

As noted by @NicolasBrunnerSRF the accessibility slider increment / decrement gestures do not work properly. The slider namely reflects the current playback position and therefore the incremented / decremented position is immediately reset.
Issue type
Incorrect behavior
Environment information

Library version: 6.2.2
iOS / tvOS version: Any
Device: Any

Reproducibility
Always reproducible
Steps to reproduce

Run the demo.
Enable VoiceOver and play some on-demand example.
Select the slider using VoiceOver and swipe up (increment) or down (decrement). The playback position does not change.

Fixed on the feature/accessibility-slider-navigation branch.


Tautology and Falsum symbols?

Description
Falsum is technically present as perp, but I can't find taut.
Use Case
Logic.

top

perp is U+27C2, which is actually "perpendicular". For a falsum, you want U+22A5, the "up tack", which is available as bot or tack.t. Similarly, for a tee/verum, you want U+22A4 DOWN TACK, available in Typst as top or tack.b.
(see also tack.b.short and tack.t.short).

Neat! Do you know how the website does search aliases? Seems like all we need to do is add some

I don't... but I definitely agree that the search can be a little unwieldy at times. Searching for 'tack' gives braces, card suits, triangles, squares, and arrows all before the actual tacks way at the bottom. I wonder if there's an open issue for symbols' search yet. 🤔

The search uses fuse.js and it just isn't really good in my experience so far.


Improve the dart:collection API docs

Here are the dart:collection pages that are in the top 100 views on api.dartlang.org:
/dart_collection.html
/dart_collection/HashMap.html
/dart_collection/Maps.html
/dart_collection/LinkedList.html

The good:

dart-collection only has a one-sentence description. Probably fine.
HashMap has great docs.

The bad:

Maps doesn't have (any?) docs.
LinkedList doesn't have many docs.

The Maps class really, really shouldn't exist. It's a left-over from before we had mixins. That said, it exists, so it should be documented (so we can recommend you use MapMixin instead!).
The LinkedList would also be a prime candidate for moving into a package if that ever becomes possible. It is significantly different from the remaining collections in core.
Again, it should still be documented. And maybe copied to package collection, so we can recommend people use that version, in a bid to - eventually - deprecate it.

@lrhn +1 for adding docs that say "you should be using this instead!" and perhaps even adding a @Deprecated('2.0') indicating that it's a candidate for removal in 2.0.

The Maps class has been deleted. LinkedList has great docs on the class, and doc comments on all class members.


[0D-Tensor] Add ExpandZeroDimPass, support 0D input and output

[0D-Tensor] Add ExpandZeroDimPass, support 0D input and output
Note: What does ExpandZeroDimPass do?
Expand all 0D-Tensor (both inputs and outputs) to 1D-Tensor. To change the 0D-Tensor back when we fetch outputs, this PR records the 0D outputs Tensor's name before ExpandZeroDimPass.
Note: Why register program pass instead of graph pass?
In the beginning, I try to register ExpandZeroDimPass as the first graph pass to handle 0D-Tensor, however, before the graph passes, the program passes such as Decomposer will change instructions with 0D-Tensor input.
Such change is not what we want, and adapting the program pass with ExpandZeroDimPass will introduce a lot of redundant codes which couple program pass and graph pass. So I register ExpandZeroDimPass as the first program pass in this PR.

在python/tests/passes目录下加个python端的Pass测试吧

Done


Update draggable.mdx

This is a component in MDX, not code - but I understand that we probably need both!
https://cobe.vercel.app/docs/showcases/draggable

Oh got it, I was linked to this GitHub file from the docs, so maybe the docs link just pointed to the wrong place?

Ah, nvm. I clicked “view source code” but there’s no highlighting there. Yeah a separate file would be useful.


WIP: Correctly ignore fields using ObjectTypeExtension

Closes #3776

@michaelstaib Do you see a better way on how to solve the issue at hand? It feels weird that I have to instantiate a ObjectFieldBinding by hand.