Is there a way to turn off the bracket optimisation? I would like to save a formula in the format of x/(n*n)

Humm.. it is not expected optimization things..
This is just bug of the optimization plan
It's needed to fix ASAP as next plan

INPUT
metricParser.convert('1 / (2 * 3)')

{
   "operator":"/",
   "operand1":{
      "value":{
         "type":"unit",
         "unit":1
      }
   },
   "operand2":{
      "operator":"*",
      "operand1":{
         "value":{
            "type":"unit",
            "unit":2
         }
      },
      "operand2":{
         "value":{
            "type":"unit",
            "unit":3
         }
      }
   }
}

TRY
const input = /* the above json file */;
metricParser.convert(input);

EXPECTED
1 / ( 2 * 3 )

ACTUALLY
1 / 2 * 3

CONCLUSION
The bracket which uses same level operator flat,
An optimizor deletes that bracket when unparsing process

This issue will be handled within 5 days
If you are interested in contributing,
you can contribute by referring to the above.

This issue will be handled soon (It seems to take long 😢 )
If @ststaynov, You are interested in contributing,
you can contribute by referring to the above.

@KennethanCeyer unfortunately I don't think I have what it takes to dive and contribute into such a project. That being said do you have a time/plan for this repo and when this bug could be fixed? I'd love to integrate it in my project!

@ststaynov
I understand your point and I apologize that I can't solve this issue quickly.
This issue is very important to me, I already know this is.
(This library belongs https://github.com/KennethanCeyer/formulize as a dependency)
So this issue is on top of my job list.

@KennethanCeyer do you think it could be solved in a week or two? Or will it take more time?

@ststaynov
I try to fix this issue in this weeks
I already had tried to fix this issue, This issue is not difficult to fix but...
Typescript with UMD + Test occurred some error message(build error)
I think it is related to nyc(Istanbul)
So i will change coverage tool in this week
This is main point in this issue (yak shaving)

@ststaynov
This issue is related a follows codes
https://github.com/KennethanCeyer/metric-parser/blob/10c8333161cdfe131af10cd348c4b210552c6ce8/src/ast/ast.spec.ts#L28-L39
When above test code is passed, This issue is turned to solved
Thank you

This issue is solved, I will merge #12 PR within few minute 😄

All good!

npm published as v0.0.12
git tagged as v0.0.12
git pages published as v0.0.12

This issue is solved,
So this issue page will be closed within a week
Thank you 😄

@ststaynov
metric-parser latest version is v0.0.12
formulize is also updated to v0.0.13, That mean formulize already up-to-date metric-parser library 😄

My bad, I thought they had the same version numbering. Thanks again!


chore(README.md) correct httpd_config property

Description
The README shows the property "httpd_instance" being used inside the "httpd_config" resource block.
Issues Resolved
Prevent confusion regarding which properties to use in httpd_config block
Check List
No source-code files have been edited.

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@hank-ehly

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Thanks for spotting that


Version <IP_ADDRESS> TLS 1.2 usage

I see the following on the latest AAD Connect version "Added full support for TLS 1.2. This release supports all other protocols being disabled and only TLS 1.2 being enabled on the machine where Azure AD Connect is installed. "
Does this also mean that TLS 1.0 and 1.1 and being disabled system-wide? I ask because if so, this can become impacting if AAD Connect is co-located on a machine providing other services

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

ID: 57f5478b-3132-21d0-a420-a1140db235de
Version Independent ID: 266bbd16-2117-f680-6493-e183eb09fdbc
Content: Azure AD Connect: Version release history
Content Source: articles/active-directory/hybrid/reference-connect-version-history.md
Service: active-directory
GitHub Login: @billmath
Microsoft Alias: billmath

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

If TLS 1.2 is not available on the underlying operating system, AD Connect will incrementally fall back to older protocols (1.1 and 1.0).
See the prerequisites document.  https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-prerequisites
The note here just means that you can force it to use 1.2 and not use the other protocols.

@jopgommans we will now proceed to close this thread. If you have further questions please tag me in the comments and I will gladly continue the conversation.


An active Science Lab doesn't consume energy in background

Kerbalism simulates vessel's energy consumption in background and it seems to work with antennas, but I noticed it doesn't work with an active science lab : it calculates as if the lab was disabled.
When the mod shots a warning and turns off unessential systems, it should turn off the science lab as well (if it doesn't already).
PS: I would totally love the Climate Control system to make use of radiators (these babies are useless otherwise)

The lab isn't simulated in background currently, but it may be possible in a future version.

Postponed to <IP_ADDRESS>

This didn't make it for <IP_ADDRESS>, delayed to the next one.

At last, this has been implemented in next version.


JSON encoding/decoding is not symmetrical for unwrapped ADT's

If you encode an instance of an ADT, the discriminator field is not added to the JSON, and decoding will fail.
If you wrap the ADT instance in another case class, encoding/decoding works as expected.
See https://gist.github.com/dpennell/079a444ed01f560b115d7a18a1ea2d29 for a test case that demonstrates this.

I think this is because in the failing test, schema of Choice1 is being used instead of schema of OneOf.
If you want the discriminator field to be added, you may want to use schema of parent type, i.e. OneOf.
In the passing test it works because the type of field is parent type.

I think this is because in the failing test, schema of Choice1 is being used instead of schema of OneOf.
If you want the discriminator field to be added, you may want to use schema of parent type, i.e. OneOf.
In the passing test it works because the type of field is parent type.

You are correct.  Thanks!


Use youki's libcontainer APIs to implement wasmtime shim.

Implement Executor trait for wasmtime executor.
Use libcontainer's lifecycle APIs to implement runwasi's Instance
trait.

PTAL @utam0k

TODO

[x] refactor out common functions from both wasmedge and wasmtime shims
[x] figure out how to pass the "test_delete_after_create" test
[x]  figure out how to pass the "test_wasi" test
[ ] add more tests

@Mossaka Do you want me to review this PR?

@Mossaka Do you want me to review this PR?

I would appreciate your feedback once this PR is ready to review :)

This PR is ready to review for now. The test_wasi test is still failing with the following message:
Error: Any(failed to receive. "waiting for init ready". BrokenChannel

Caused by:
    channel connection broken)

I am trying to fix the failing integration tests on this one.

Hey there! The tests should all be passing now! Could you please take another look?

Umm this is strange, I could not re-produce the pipeline error locally at my ubuntu 22.04 machine https://github.com/containerd/runwasi/actions/runs/5395848131/jobs/9798781514?pr=142

@Mossaka How about using this? You can use bpftrace on the CI env.
https://github.com/marketplace/actions/debugging-with-tmate

All the tests are passing 🥳

Could you please take another look? 🙏 @utam0k , @ipuustin , @cpuguy83

Thanks everyone for reviewing!! 🥂🙌


Bug bounty test - PLEASE DO NOT APPROVE. qvmnld

Bug bounty test - PLEASE DO NOT APPROVE. qvmnld

Closing this PR as it seems malicious. Please comment if you think otherwise.


The uart_isr_free() and uart_isr_register() functions - have they been removed?

Hi there,
I was reading your code to demonstrate UART interrupt handling on the ESP32 with considerable interest! I am fairly new to the the ESP-IDF API, so there's been a steep learning curve. I want to handle interrupts directly (as you show) rather than processing them as an event queue, which I understand is an alternative approach for some cases.
The problem I'm having is with the uart_isr_free() and uart_isr_register() functions. Has Espressif removed them? If so, how are we supposed to register (or attach) an ISR?
I would very much appreciate your help, because I'm getting nowhere with this, and there seems to be little documentation available on this issue.
Thanks.

Ah, I'll answer my own question. Espressif has removed these functions, and now we must use the event queue method.


introduce incubator/drone

This is a continuation of the PRs https://github.com/kubernetes/charts/pull/821 and https://github.com/kubernetes/charts/pull/353.
TODO:

[x] upgrade to version 0.8.1
[x] standardize source to helm 2.7
[x] test service.type=ClusterIP
[x] test service.type=NodePort
[x] test ingress
[x] test bare install
[x] test source control provider installation
[x] README
[ ] test service.type=LoadBalancer

The Chart has been tested on a cluster configured via kubeadm with niginx-ingress installed and configured. The cluster version is 1.8.2. This cluster was installed on bare metal (Ubuntu 16.04) and unfortunately I do not have access to a LoadBalancer right now.
If you can contribute to the Chart by testing it on your cluster with different configurations and report if everything is working correctly it would be really appreciated.
Also, I really need help with the README, if anyone can improve it please let me know.

/ok-to-test

I tested with a LoadBalancer service and Github. I get redirected to Github and then get "cannot register unguiculus. registration closed". Maybe I misconfigured something. I guess this shouldn't stop us from merging?

You have to uncomment/set the environment variable server.env.DRONE_ADMIN="unguiculus"

Must have missed that. Working now.

/lgtm

@christian-roggia I tried the chart on my fresh v1.8.3 cluster. Syncing the git Repos worked fine. The build was also triggered. It seems like the communication between the worker doesn't work as expected:
UI Log
+ git init
Initialized empty Git repository in /drone/src/github.com/my/repo/.git/
+ git remote add origin https://github.com/my/repo.git
+ git fetch --no-tags origin +refs/heads/mybranch:
fatal: unable to access 'https://github.com/my/repo.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
exit status 128

drone-drone-agent log
{"time":"2017-11-22T15:18:27Z","level":"debug","message":"request next execution"}
INFO: 2017/11/22 15:18:27 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:9000: getsockopt: connection refused"; Reconnecting to {drone-drone:9000 <nil>}
INFO: 2017/11/22 15:18:28 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:9000: getsockopt: connection refused"; Reconnecting to {drone-drone:9000 <nil>}
{"time":"2017-11-22T15:19:41Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"received execution"}
{"time":"2017-11-22T15:19:41Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"listen for cancel signal"}
{"time":"2017-11-22T15:19:42Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","exit_code":0,"exited":false,"message":"update step status"}
{"time":"2017-11-22T15:19:42Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","exit_code":0,"exited":false,"message":"update step status complete"}
{"time":"2017-11-22T15:19:47Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","message":"log stream opened"}
{"time":"2017-11-22T15:20:41Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"pipeline lease renewed"}
{"time":"2017-11-22T15:21:41Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"pipeline lease renewed"}
{"time":"2017-11-22T15:22:41Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"pipeline lease renewed"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","message":"log stream copied"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","message":"log stream uploading"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","message":"log stream upload complete"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","message":"log stream closed"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","exit_code":1,"exited":true,"message":"update step status"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","image":"plugins/git:latest","stage":"clone","exit_code":1,"exited":true,"message":"update step status complete"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","error":"","exit_code":1,"message":"pipeline complete"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"uploading logs"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"uploading logs complete"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","error":"","exit_code":1,"message":"updating pipeline status"}
{"time":"2017-11-22T15:22:51Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"stop listening for cancel signal"}
{"time":"2017-11-22T15:22:52Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"updating pipeline status complete"}
{"time":"2017-11-22T15:22:52Z","level":"debug","message":"request next execution"}
{"time":"2017-11-22T15:22:52Z","level":"debug","repo":"my/repo","build":"1","id":"1","message":"pipeline done"}

drone-drone-dind log
time="2017-11-22T15:18:24.897826532Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
time="2017-11-22T15:18:24.898018137Z" level=warning msg="[!]
time="2017-11-22T15:18:25.997241996Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
time="2017-11-22T15:18:25.997910115Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
time="2017-11-22T15:18:25.998602435Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
time="2017-11-22T15:18:26.194142059Z" level=info msg="Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can be used to set a preferred IP address"
time="2017-11-22T15:18:26.249548225Z" level=info msg="Loading containers: done."
time="2017-11-22T15:18:26.255982607Z" level=info msg="Daemon has completed initialization"
time="2017-11-22T15:18:26.256009207Z" level=info msg="Docker daemon" commit=89658be graphdriver=overlay version=17.05.0-ce
time="2017-11-22T15:18:26.263192510Z" level=info msg="API listen on [::]:2375"
time="2017-11-22T15:18:26.263266912Z" level=info msg="API listen on /var/run/docker.sock"
time="2017-11-22T15:19:47Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
time="2017-11-22T15:19:47Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
time="2017-11-22T15:22:51.354480591Z" level=error msg="Error closing logger: invalid argument"
time="2017-11-22T15:22:51.808390049Z" level=error msg="Handler for POST /v1.26/containers/0_8410094534320841776_clone/kill returned error: Cannot kill container 0_8410094534320841776_clone: Container 6ee4d4c94ee7c36a769aeb69e59cad782579dca1837061581f39150fcd71fc6f is not running"

Hi @steffenmllr thank you for your report, I installed the drone chart in my cluster and the build was successful. I was therefore unsuccessful in reproducing your bug, my logs are clean and the build did not fail.
Can you open a new issue and provide more information? That would help a lot!

Hey @christian-roggia thanks for your reply. I've put everything I know in #2837 - if you need more information let me know. For now I've switched back to my normal k8n deployment of an older drone version which works. Thanks for your work.


xc7: ntemplate.nlut.sim.v and ntemplate.nlut.pb_type.xml don't match

Currently the ntemplate.nlut.sim.v file has the following;
https://github.com/SymbiFlow/symbiflow-arch-defs/blob/26687ddc283a255ad804453d1f61e8f71e6f533a/xc7/primitives/common_slice/Nlut/ntemplate.Nlut.sim.v#L31-L34
While the ntemplate.pb_type.xml file has the following;
https://github.com/SymbiFlow/symbiflow-arch-defs/blob/26687ddc283a255ad804453d1f61e8f71e6f533a/xc7/primitives/common_slice/Nlut/ntemplate.Nlut.pb_type.xml#L65-L74
The pb_type.xml indicates a routing mux on the output of one of the O6 line which selects between the second LUT5 and the F6MUX output. However, this information is not being communicated in the bitstream as there is no fasm feature associated with this MUX?
Is there something special going on with the SPLIT_LUT line below?
https://github.com/SymbiFlow/symbiflow-arch-defs/blob/26687ddc283a255ad804453d1f61e8f71e6f533a/xc7/primitives/common_slice/Nlut/ntemplate.Nlut.pb_type.xml#L77

I believe the relevant information might be in the comment here https://github.com/SymbiFlow/symbiflow-arch-defs/issues/619#issuecomment-487308569

I think I understand what is going on here.
The two modes are;

(a) When the block is used as a LUT6 there will be 2 * LUT5 + a F6MUX and hence VtR will use one path of the O6 mux.
(b) When the block is used as 2 * LUT5, no F6MUX will exist, hence VtR will effectively "bypass" the F6MUX and make the O6 output equal to the other LUT output.

In case (b) the A6 pin should be connected to VCC. I don't see how this ends up in the FASM however?

@litghost How does the A6 pin end up connected to VCC in case (b)?

@litghost How does the A6 pin end up connected to VCC in case (b)?

Implicitly.  A "disconnected" LUT pin is VCC.


ENYO-6318: Fix mediaTitle to adjust horizontal alignment

Enact-DCO-1.0-Signed-off-by: Hyeok Jo<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[ ] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
There is horizontal alignment issue between title and playing time.
The title has bottom: -5px.
I think that It is intended to be horizontally aligned with the baseline of the font.
But there is a problem in non latin languages.
Resolution
title has bottom: 5px in non latin languages
Additional Considerations
Links
[ENYO-6318]
Comments

Thanks for the find and the good analysis, @xbinary. I agree that the bottom rule is used to align the title text with the time. I believe this is necessary because the font sizes of each is different in latin locales so some adjustment is required to retain appropriate line heights but align the baselines.
In non-latin locales, the font sizes are the same and the current code has a smaller the line-height than the new default added by #2016. That, coupled with the bottom rule are the cause of pushing the text below the baseline.


[WIP] Upgrade doorkeeper

I've converted doorkeeper_for into a custom require_authentication wrapper instead of the before_filter directly, because that will tie in nicely with my next PR.
As far as my testing could tell we're still secure.

specs failing.

Looks fine to me, rebase needed.

Looks like i was wrong and PFE is using the resource owner passwords grant type...https://github.com/doorkeeper-gem/doorkeeper/wiki/Using-Resource-Owner-Password-Credentials-flow#configuration

this all looks fine, as long as we don't break login for PFE this is good.


always fetch failed

when I click to upload the document, it always shows "fetch failed"
I have installed the version of v1.1.2,  chatd-windows-x64.zip
can anyone help me.........

Hi, I am a freshman in tranformer.js, I have met the similar problem when uploading file. And I find the error was throw from embedding.js.

Is there any tips or advice on how to fixe this problem.
I appreciate your advice and assistance. Thank you!

Hi, I am a freshman in transformer. js, I have met a similar problem when uploading a file. And I find the error was thrown by embedding.js.
Is there any tips or advice on how to fixe this problem. I appreciate your advice and assistance. Thank you!

To clarify,  I selected "llama3.2" as local llm model


OverlayContainerPosition center?

How to center horizontally the box?

By supplying a left value of half the screen width minus half the width of the overlay box. That should center it horizontally.
Like so.
final deviceWidth = MediaQuery.of(context).size.width;
final overlayWidth = 20;
OverlayContainer(
  show: true,
  position: OverlayContainerPosition(
    (deviceWidth / 2) - (overlayWidth / 2),
    0
  ),
  child: Container(width: overlayWidth),
);


feat: GovTech internship cert schema

copied from config file

can you follow the steps I added in the readme ?


syncing. when the audio glitches or goes to mute after some time

ffmpeg pricess keeps on chugging but here is whats seen when the audio goes out on the output
tailing log messages switch from successful frame reports to iterations of:
[flv @ 0x558746fc9480] Non-monotonous DTS in output stream 0:1; previous: 152723348, current: 39273680; changing to 152723348. This may result in incorrect timestamps in the output file.
[flv @ 0x558746fc9480] Non-monotonous DTS in output stream 0:1; previous: 152723348, current: 39273703; changing to 152723348. This may result in incorrect timestamps in the output file.
[flv @ 0x558746fc9480] Non-monotonous DTS in output stream 0:1; previous: 152723348, current: 39273726; changing to 152723348. This may result in incorrect timestamps in the output file.

That's super useful, thank you!

This should now be fixed.


TLS1.3. SSL_key_update() Whether it takes effect

How can I know if tls1.3's key update api SSL_key_update is in effect, is there an api to view?
I called the API SSL_key_update(ssl,SSL_KEY_UPDATE_REQUESTED), but I didn't find the api to see if it works.

The write key will be updated automatically the next time you attempt to write application data. The read key will be updated when the remote peer gets around to updating its key and you attempt to read data from that peer. There isn't a specific API available for checking this although you could probably see the key_update messages being sent and received via a msg_callback (see SSL_CTX_set_msg_callback).


Add hierarchical namespace support to GCS module

Fixes #2708

Checklist

I applicable, I acknowledge that I have:

[x] Read the contributing guide
[x] Ran terraform fmt on all modified files
[x] Regenerated the relevant README.md files using tools/tfdoc.py
[x] Made sure all relevant tests pass

Amazing!  Thank you so much.


Delete a Pet

As a user I want to create a test for delete a pet so that I can cover a main functionality
Given

A valid username and password
A Pet registered

When

I click on "List" main menu link
I click on "Delete" button below the pet I want to delete
I confirm on "Delete Pet" dialog box

Then

I should see a "Pet Deleted" message
I should be on Pet List page view

Screenshot

Notes
This task is blocked by this issue: https://github.com/josdem/vetlog-spring-boot/issues/392

Issue fixed: https://github.com/josdem/vetlog-spring-boot/issues/392
Version 2.0.2 deployed:
{
  "build": {
    "artifact": "vetlog-spring-boot",
    "name": "vetlog-spring-boot",
    "time": "2024-10-30T11:20:05.130Z",
    "version": "2.0.2",
    "group": "com.josdem.vetlog"
  }
}

PR merged: https://github.com/josdem/playwright-vetlog/pull/26


Extended info for separate devices in bridge

All GUI errors and enhancements are done. Only APP should be done.

Thanks, I will move the welcomeDialog to info folder, but else all fine


chore(test): add more nexmark queries into source test

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
#6809, end-to-end source test currently is not the bottleneck of the entire CI.
~Just add all of the stateful nexmark queries we supported now.~
Not all, but the representative 12 queries.
Checklist

[x] ~I have written necessary rustdoc comments~
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
closes #6809

any update?

any update?

Should work now, maybe timeout is still not large enough, let's see.

split into 4 files just for the sake of my eyes,
thinking we will use some template language such as jinja to maintain all the SQLs just like code, e.g. DRY.

end-to-end source test still not the bottleneck


Update target project configuration with events

Mix.Tasks.Compile.Telemetria should update the target project configuration during compilation time. Currently, it only spits out events to be manually added.

Closed by #8.


Adding Suffix

I'm trying to use Renamer to add a 16-17 suffix to all files and folders, recursively as the files go several levels deep.
renamer --regex --find '([^.]+).(.*?)' --replace '$1 16-17.$2' '**'
seems to work for files, but I haven't been able to come up with a solution for folders that doesn't also affect files, after the extension.
Suggestions/advice would be greatly appreciated.

so you want a way to rename only folders and not files?

I would like to add the suffix to both the file names and the folder names.


Add the tide integration tutorial to the book

Hi there. I've added the tide section to the book as mentioned in #289. The subscription section is missing for now. Maybe we should wait till the tide-subscriptions are merged to master before merging this PR?
I'm also not a native speaker. So maybe someone else should give it a look before merging it.

Thank you very much! 😄

@sunli829 you are welcome :)
But I've woken up today and realized that I've made a small mistake. I have written "Please note that you need to enable the attributes feature in tide". But it's actually async-std feature. Maybe you can change it on directly master, so I don't need to open a new PR?

@sunli829 you are welcome :)
But I've woken up today and realized that I've made a small mistake. I have written "Please note that you need to enable the attributes feature in tide". But it's actually async-std feature. Maybe you can change it on master, so I don't need to open a new PR?

Thank you, let me do it. 🙂


Invoke Url.join with multiple string additions at once?

Often when building urls I find myself joining multiple things to a base Url. It would be very convenient to have some way to pass multiple strings to Url.join at once, instead of having to chain and handle errors for multiple calls in a row
Perhaps this could be done by implementing a version that accepts a vector of strings? Or if performance is a concern maybe a macro would work?

The Url type is not controlled by us, it's from the https://github.com/servo/rust-url repo.

Ah, thanks!


Update get_refs.py to download celltype references

We want to continue to be able to accommodate users who do not have access to S3, so we need to update get_refs.py to download the cell type reference files from S3. I think it is probably fine to keep full paths in the project reference file, but we might want to write out the cell type reference paths somewhere as part of that process. Alternatively, we could make the cell type reference path a parameter and make the actual file paths relative.
Originally posted by @jashapiro in https://github.com/AlexsLemonade/scpca-nf/pull/502#pullrequestreview-1728356783
Further questions before implementation: Should we download only the "default" references that we are using, meaning or all of the celldex & pangalaodb references we are creating?

Updated values for singler_models_dir and cellassign_ref_dir should be written out as part of the config file that the script exports.

closed by #565


Home Screen UX Need to modify According to Feature

Need to Remove Not implemented feature (Pay merchant & sherpa settings)
Uniform UI Fonts & Colors in the Whole App
A few Modal Titles still have an Old blue colour in the design
Screen No.: 11
Title: "Buy bitcoin with Ramp"
Screen No: 63
Text: "Create New Wallet"
Screen No.: 74
Text: "Wallet has been detached successfully"
Screen No.:76
Button Background for "Help Restore Wallet"
Screen No.: 80
The number "10" for the 10th seed word. Also, other numbers seem to be a lighter version of the Old blue colour.

@ASN-BitHyve may I work on this issue?


Delay displaying project files when using zsh

Hi, first of all, thanks for this amazing work ;)
I'm seeing a slight delay when opening the project files list. It's not anything huge, but it's noticeable (I'd say ~0.5s).
I've tried using both the FzfPreviewProjectFiles (which strangely also includes files under .git dir, but this is another issue) and FzfPreviewGitFiles, and I see the delay with both commands. I've also tried running the command in small projects (less than 100 files), and the delay is there, so it's not something related to the number of items, I'd guess.
I then tried disabling the highlighting in the preview pane by using head -n 100 as the preview command, and the delay is still there.
So, I would have thought the issue is related to drawing the popup window, but the FzfPreviewBuffers and FzfPreviewProjectGrep commands don't have the delay, so I'm kinda lost.
Got any clue about what could be going on? I'm on neovim latest HEAD. Let me know if I can help anyhow.
[EDIT] Huh, forgot to add: I've ripgrep installed, obviously.

Ok, I found the culprit. It's my default shell being set to zsh. I suppose every time the plugin tries to populate the file list, it loads my whole zsh environment, which is quite slow - lot of aliases, shell prompt customization, and stuff. Running let &shell="/usr/bin/env bash" and using bash, which is much less customized on my system, makes the file listing appear instantaneously.

They differ in the command they are creating to generate the list.
Is it possible to measure the time required to execute the g:fzf_preview_filelist_command command and the time required to execute the g:fzf_preview_git_files_command command?

Since I am doing async load with heavy processing in zinit, zsh startup is very fast
Although it is not supported by this plugin, it seems that it can be improved by setting zsh.

I'm having the same issue. @metalelf0 where did you set let &shell="/usr/bin/env bash"?

@lynndylanhurley I set it manually in vim (via :let ...), but I think putting that at the end of your .vimrc (or init.vim for neovim) would be equivalent. Btw, I tried going the zinit route in my .zshrc, it's really powerful. Pretty steep learning curve, but I managed to reduce my shell startup time greatly and I don't need the &shell hack anymore.

@metalelf0 oh nice, thanks for the tip. I'll check out zinit as well.

Did you solve?
close


Is there a way for consumer to subscribe for all topics?

I want to have multiple go routines reading with separate consumer instance but in the same consumer group so that I can test the consumer rebalancing when new topics are added.

At the moment, there is no sensible way to do that. Technically, we could support e.g. a whitelist/blacklist/regular expressions for topics, instead of naming them individually, but that is also something that you could implement on your end, before calling NewConsumerFromClient.
Unfortunately, it would not solve the problem of rebalancing when new topics are added, as there is no function for this on Kafka's side. You would need to manually probe the list of known topics in regular intervals, then restart your consumers when changes are detected.


when is v2 ready?

Hi I have been waiting for many weeks for the stable version of v2 to arrive as I need to freeze the version  of my dependencies

Hi @lucastan I really don't have a timeline on this. I put in as much time as I can, in open-source projects. We are using Saripaar v2 SNAPSHOT in ALL our production applications. There are a few minor features to be added. Besides that, there's isn't going to be changes in the existing API.

If it is stable now, why not just freeze the version? When you add features
in the future, you can increase the version
On Monday, March 2, 2015, Ragunath Jawahar<EMAIL_ADDRESS>wrote:

Hi @lucastan https://github.com/lucastan I really don't have a timeline
on this. I put in as much time as I can, in open-source projects. We are
using Saripaar v2 SNAPSHOT in ALL our production applications. There are a
few minor features to be added. Besides that, there's isn't going to be
changes in the existing API.
—
Reply to this email directly or view it on GitHub
https://github.com/ragunathjawahar/android-saripaar/issues/68#issuecomment-76660792
.

Follow #89


Update set-implicit-transactions-transact-sql.md

fix mismatch between print statements in examples and text output

@WilliamDAssafMSFT

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks @p-mix for taking the time to submit this PR. Nice catch! Good fix. Your commit will be merged and this article update is in flight. After the updated article is published, GitHub will list you as an article contributor.
#sign-off


manifest: openthread upmerge up to commit 0a79c30

manifest: openthread upmerge up to commit 0a79c30
Added new configs:
CONFIG_OPENTHREAD_TCP -> OT_TCP
CONFIG_OPENTHREAD_DNS_QUERY_UPSTREAM -> OT_DNS_QUERY_UPSTREAM
CONFIG_OPENTHREAD_MESH_DIAG -> OT_MESH_DIAG

@mariuszpos You need to open a PR in https://github.com/zephyrproject-rtos/openthread first and use it as a revision in the manifest file. See https://github.com/zephyrproject-rtos/openthread/pull/78 for example on how the OT upmerge PR should look like.


Update test matrix to include python 3.11

In preparation for adding python311 runtime to GAE.

Support for Python 3.11 tests was added in #87 .


[elastic] Add markup kind markdown on go langserver side.

Given that code server sends initialize request without the
Capabilities.TextDocument option, in contrast, front-end supports
markdown, add the markdown format manually on the go langserver
side.
For the hover contents contain code snippets, with markdown format, the hover
box as bellow.

@movie-travel-code So for the markdown type, the upstream has already supported that, but we didn't add this capability before?

If it is an language server side argument
you could set that when you create requestExpander like what we did for ts server
https://github.com/elastic/kibana/blob/master/x-pack/plugins/code/server/lsp/ts_launcher.ts#L40

@movie-travel-code So for the markdown type, the upstream has already supported that, but we didn't add this capability before?

Yes, language server will use mark '```' to encapsulate the code snippets in the hovering result if the initialize option contains the markup kind 'markdown'.

If it is an language server side argument
you could set that when you create requestExpander like what we did for ts server
https://github.com/elastic/kibana/blob/master/x-pack/plugins/code/server/lsp/ts_launcher.ts#L40

Thanks for the tips, will do.

Since we have added the markup kind on the code server side https://github.com/elastic/kibana/pull/39153, delete this one.


NIFI-1280 Create FilterCSVColumns Processor.

First version.
SQL select statement is used to specify how CSV data should be transformed.
Modified Calcite CSV adapter is used for SQL execution.
Some code is borrowed from HiveJdbcCommon, methods convertToCsvStream()

I don't think we can use the provided test data as-is. Looking at http://www.briandunning.com/sample-data/ I don't see any sort of LICENSE info. Probably best to just mock up a few simple test files manually instead. This will also be easier for testing purposes, I think, so that we can assert specific things in the unit test

@ToivoAdams After looking at this a bit more, I've got a few very high-level thoughts. First is that what you have built here is incredibly awesome and powerful! I think FilterCSVColumns is the wrong name for this Processor - it should be perhaps TransformCSV, as leveraging Calcite allows us to do some pretty powerful queries, such as "SELECT * FROM CSV.A WHERE AMOUNT2 < 99" and I imagine that this type of use case will be very common.
I do have a concern, though, which is that if you attempt to perform a JOIN operation, for example "SELECT X.AMOUNT2, X.AMOUNT3 FROM CSV.A as X JOIN CSV.A AS Y ON X.AMOUNT2=Y.AMOUNT2" we end up with an IOException: Stream closed. This is because Calcite will have to read the data multiple times in order to perform the JOIN. I think we can get around this by changing the CsvSchemaFactory2 to be something like CsvInputStreamFactory, and that class, rather than receiving the InputStream directly would be passed the FlowFIle and ProcessSession and could create the InputStream on-demand. This would allow the data to be read multiple times by creating two InputStream's. The nice thing is that if this runs on a system with sufficient RAM the Operating System's disk cache will generally mean that we don't even have to read the data for the second pass unless it's a really massive amount of CSV.
Additionally, I think we need to have some sort of validator for the SQL Select Statement property, as right now if the query is invalid, the processor is valid and just routes everything to failure.

@ToivoAdams as I think even more about this, it's opening up a lot of awesome possibilities. I think we could expand this Processor even more into really a "SQLTransform" Processor. I would love to extend this further and even allow other types of data to be evaluated. I'd love to get it into the 0.7.0 baseline. Do you mind if I work on extending what you've provided here to open up some more possibilities?

Go ahead.
Glad to hear you see possibilities.
My full-time job doesn't leave me much time anyway during next few days.
So its actually good to have experienced developer to move thing on.
Other types, you mean Avro, JSON, etc input and output formats?
This means some sort of Calcite adapters must be also developed?
Thanks
toivo

Excellent. Yes, I'm thinking potentially Avro, JSON, Parquet... perhaps others. For 0.7.0 we may only have CSV and perhaps JSON but will have things in place to add more. I know a couple of people who I've recently learned are actually Calcite contributors / PMC members who may also be able to provide some guidance to me, so we can make this pretty awesome. You've provided a phenomenally awesome start! It is much appreciated!

@joewitt I agree with your philosophy... however sometimes the other project didn't put as much thought into the decision as you imagine. A little bit of polite back-pressure sometimes helps. If you'd like Calcite to switch from open-csv to commons-csv log a JIRA case and we'd definitely consider it. We needn't halt the Calcite integration for this, but the next version of Calcite might bring in one fewer external dependency.
The same goes for any other dependencies you observe in Calcite.

My only driver was going with something which wasn't abandoned and had recent release activity (who would've thought, that pesky CSV problem... :) )
I was just pointed to this effort this morning, can't yet comment on how portable the OpenCSV use is (please, let it not stop the PR from moving forward - I'd rather refactor in the next release than hold off).
There are other interesting ideas circulating around CSV, which may depend on yet another, third library. For now flagging this with the Calcite team an area to collaborate on is fine, IMHO.


CRM random seed

If I use random seed 1234, the texture model is fine, but if I modify the seed, it will appear broken texture.
The random seeds for texture and depth maps are always consistent, for example, the random seeds are all "1"

I see, that is a good know, I'll test it and add it into node info, cheers 👍


Added test case for worker-ccai

I had a difficult time matching the body of the request. I have come to the conclusion that maybe MockServer doesn't support multipart/form-data. The one example they have on form data (https://www.mock-server.com/mock_server/creating_expectations.html#button_match_request_by_form_submission_body) has a application/x-www-form-urlencoded content type.
I ended up using a substring matcher to verify that the JSON is part of the POST request. I'm not checking whether the file is in the POST request though.

regarding matching the api request exacting using mock server:
we've gotten feedback that it is difficult to match the exact HTTP request for mock server (and sometimes the http request is hidden behind a node library like cloud-storage). we have a ticket to explore adding a general mocking framework where we can mock libraries instead of raw http requests.

MockServer provides a UI (https://www.mock-server.com/mock_server/mockserver_ui.html) that could help this, but for that to work MockServer has to run longer than the individual tests. I was looking for an ability to show you "unmatched" requests for a particular host. Nock can do this for NodeJS unit tests, and it makes iterating a lot easier. Maybe keeping MockServer running so the UI can be checked is enough though.

@bobvanmanen

Maybe keeping MockServer running so the UI can be checked is enough though.

Ack, worth exploring. We deliberately picked an existing elaborate solution such as MockServer to benefit from its existing tooling.
cc @jdelbick


fix spacing in readme file

@bootcoder

@bootcoder
Considering I only currently have a one page app... how am I doing? I have a table that is ready for instagram info, I have learned a ton about jquery and html5 canvas. I've used Ajax and with instagram it should get way better and more interesting. Thoughts?


[Bug]: When adding a datepicker to an sbb-card the calendar is not showing up

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Bug type
Functionality
It affects the following packages
Components
Which version of Lyne Components are you using
40.2
Operating system
Mac OS
Browser / Browser version
Chrome
Input mode
None
Additional settings
No response
What happened?
When adding a datepicker to an sbb-card the calendar is not showing up after clicking on the tooltip toggle (calendar icon).
We figured out, that the "transform" property on the "sbb-card__wrapper" is responsible for this.

Steps to reproduce the issue

Add a datepicker to an sbb-card component
Click the tooltip-toggle icon
Notice that the calendar does not show up

Relevant log output
No response

As a first fix we can remove transform for static card as it is not used anyways.


Remove the warning on 30F PIC : comparison range always false

We will not use 30F anymore => Close


Slack App with a bot user token throws "Missing Scope" error

Thanks for writing this library. I'm trying to use this library for building a feature at work. What I'm testing is a simple use case. Post a message to a channel
    let response = slack::chat::post_message(
        &client,
        &token,
        &slack::chat::PostMessageRequest {
            channel: &channel_id,
            text: "Sample Message",
            ..slack::chat::PostMessageRequest::default()
        },
    )
    .await;

I'm initiating the client and setting up the token, the way it's shown in the example
    let token = env::var("SLACK_API_TOKEN").map_err(|_| "SLACK_API_TOKEN env var must be set")?;
    println!("TOKEN{:?}", token);
    let client = slack::default_client().map_err(|_| "Could not get default_client")?;
    let channel_id = env::args()
        .nth(1)
        .ok_or("must specify channel id as argument e.g. C09123456")?;

I get an error saying "Missing scope" in the response. I'm not sure where I can pass a scope as part of the authorization request. I found out that someone had run into somewhat similar issue with rtm and also the channel::history is now obsolete. I'd be happy to contribute an updated/working example, if I figure this out.
Cheers!

sounds the same as #77 this slack uses oauth for permissions and the auth token you've created does not have the required scopes granted by slack. there's explanation and link to the docs in that issue

Thanks @dten! This helped. Closing the issue


Migrate to blueprintjs v3

...for the future

Upgraded successfully in https://github.com/source-academy/cadet-frontend/pull/685


[Snyk] Upgrade @alaskaairux/icons from 4.27.0 to 4.28.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @alaskaairux/icons from 4.27.0 to 4.28.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago, on 2023-06-12.

Release notes

Package name: @alaskaairux/icons

4.28.0 - 2023-06-124.28.0 (2023-06-12)
Features

icons: add social media and interface icons #205 (0b8ba9e)

4.27.0 - 2023-05-014.27.0 (2023-05-01)
Features

club49: new icon for Alaska club49 program #203 (649ddee)

    from @alaskaairux/icons GitHub release notes

Commit messages

Package name: @alaskaairux/icons

5a6bbb2 chore(release): 4.28.0 [skip ci]
0b8ba9e feat(icons): add social media and interface icons #205
c7afe14 Fix table format bug

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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


6.1.0

[Current coverage][cc-pull] is 88.56%

Merging [#575][cc-pull] into [master][cc-base-branch] will decrease coverage by -1.97%

@@             master       #575   diff @@
==========================================
  Files             8          8
  Lines           264        271     +7
  Methods          41         41
  Messages          0          0
  Branches         58         59     +1
==========================================
+ Hits            239        240     +1
- Misses           25         31     +6
  Partials          0          0

Powered by Codecov. Last updated by [87ce5fa...b6036ba][cc-compare]
[cc-base-branch]: https://codecov.io/gh/google/google-api-nodejs-client/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/google/google-api-nodejs-client/compare/87ce5fa8c93e64b5d5a70ad147e8f660e05a837e...b6036ba16780d0103a879607ee08d96932d56e1e
[cc-pull]: https://codecov.io/gh/google/google-api-nodejs-client/pull/575?src=pr


[ACR] Enable storage account encryption by default

@SajayAntony @sivagms

Will encryption always be available?

@derekbekoe The availability of encryption depends on the storage account. Can you elaborate on possible cases where encryption may not be available?

@djyou I was wondering if it is available in all regions and on the other Azure clouds but guess I'm thinking too far ahead as ACR is still in preview. Also, the template includes the required storage API version.


iOS getCurrentLocation returns nothing after a few seconds

Please, provide the following version numbers that your issue occurs with:
"nativescript": {
    "id": "org.nativescript.application",
    "tns-android": {
      "version": "5.0.0-rc-2018-10-18-172901-01"
    },
    "tns-ios": {
      "version": "5.0.0"
    }
  },
  "dependencies": {
    "http": "0.0.0",
    "https": "^1.0.0",
    "nativescript-geolocation": "^4.3.1",
    "nativescript-localstorage": "^2.0.0",
    "nativescript-mapbox": "^4.4.0",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-ui-sidedrawer": "^4.3.0",
    "nativescript-vue": "^2.0.0",
    "querystring": "^0.2.0",
    "request": "^2.88.0",
    "tns-core-modules": "^4.2.0",
    "vuex": "^3.0.1"
  },

What I am trying to do is to send geolocation information via https to a server. This info will be sent when the app is pushed in the background. I've followed the sample app https://github.com/NativeScript/sample-ios-background-execution for implementing a background delegate.
However, after running the command tns run ios --bundle --emulator, and press the home button to push the app into the background, the getCurrentLocation function returns nothing after a few seconds.
Here's an example of my console:
CONSOLE LOG file:///app/bundle.js:1685:20: 'Enter background'
...
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1359:16: '{"latitude":37.785834,"longitude":-122.406417,"altitude":0,"horizontalAccuracy":5,"verticalAccuracy":-1,"speed":-1,"direction":-1,"timestamp":"2018-11-27T18:55:52.234Z","ios":{}}'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1359:16: '{"latitude":37.785834,"longitude":-122.406417,"altitude":0,"horizontalAccuracy":5,"verticalAccuracy":-1,"speed":-1,"direction":-1,"timestamp":"2018-11-27T18:55:52.234Z","ios":{}}'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1359:16: '{"latitude":37.785834,"longitude":-122.406417,"altitude":0,"horizontalAccuracy":5,"verticalAccuracy":-1,"speed":-1,"direction":-1,"timestamp":"2018-11-27T18:55:52.249Z","ios":{}}'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1359:16: '{"latitude":37.785834,"longitude":-122.406417,"altitude":0,"horizontalAccuracy":5,"verticalAccuracy":-1,"speed":-1,"direction":-1,"timestamp":"2018-11-27T18:55:58.255Z","ios":{}}'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'
CONSOLE LOG file:///app/bundle.js:1712:20: 'Printing geolocation:'

I don't know what could be causing this? Could it be due to the geolocation module calling a native API, which is returning nothing?
Update
I included a check to see if the app has permission (Ie geolocation.isEnabled()), and it always returns true, I then call getCurrentLocation. Same result.

@DimitarTodorov curious what could be causing this...I haven't experienced it but using it in the background may cause a problem?

Do you have the iosAllowsBackgroundLocationUpdates option set to true in the  .watchLocation() call options?
If possible, provide a sample app (https://play.nativescript.org/ works great for this) so we can review the code.

@lini the playground doesn't allow me to add typescript files, which is what the background delegate is coded in.
Instead, I created a basic project and uploaded it as its own repo: https://github.com/RaisinBread42/nativescript-vue-background-geolocation, the instructions for running is in the README.md

@RaisinBread42
I tried your code on iOS device and what I found is that when the app is in the background the location service does not work (no icon on the status bar) or at least the the geolocation api can't use it as all attempts to get location fail with Error: Timeout while searching for location!
Additional research should be made on the topic to find whether the plugin supports background mode on iOS so keep an eye on this issue.

Any progress with this issue @zbranzov ?

A few years ago I started developing a gps tracker in Cordova. A huge problem was geolocation updates in the background behaving unpredictable. Unfortunately it seems this is still an issue in 2019. I will monitor this issue and hope that a solution will be found (y)

@zbranzov hi, so I have enabled iosAllowsBackgroundLocationUpdates this property, but seems didn't detect locations in background. can you please help?


Fix wording on home page

###_Issue Type - is it a bug, a task, or a future request?:
Task
###_Severity (1-4; 1 - not severe, 4 - very severe):
2
###_Priority (1-4; 1 - lowest priority, 4 - highest priority):
4
###_Synopsis - describe bug/task/future request, in more detail:
wording needs to reflect professionalism
###_Expected Behavior - what the behavior is supposed to be, for bug/task/FR:
fix grammar to be more professional
###_Actual Behavior - what the behavior is instead, for bugs only:
N/A
###_Steps to Repro the Issue, for bugs only:
N/A
###_Other Notes, for bug/task/future requests:
NONE

Cannot merge. Please fix the merge conflicts and resubmit.


KAFKA-12568: Remove deprecated APIs in KStream, KTable and Joined

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Bumped into https://issues.apache.org/jira/browse/KAFKA-12557, there's a PR fixing it already.


⚠ LabBricks has degraded performance

In 1af3a83, LabBricks (https://labbricks.com) experienced degraded performance:

HTTP code: 523
Response time: 3234 ms

Resolved: LabBricks performance has improved in 7a87f83 after 16 minutes.


fix: reference implementation ByteArray.copySlice

Fixes reference implementation of ByteArray.copySlice, as reported https://github.com/leanprover/lean4/issues/2966.
Adds tests.

Auto-merge was enabled, but this PR is rather old and not all required checks exist already.
I’ll merge current master.

2023-12-16T16:16:50.8623448Z [01:04 (00.000273)] lean-test-stage1> --- test_extern.lean.expected.out     1970-01-01 00:00:01.000000000 +0000
2023-12-16T16:16:50.8625297Z [01:04 (00.000145)] lean-test-stage1> +++ test_extern.lean.produced.out     2023-12-16 16:16:50.851555242 +0000
2023-12-16T16:16:50.8626663Z [01:04 (00.000191)] lean-test-stage1> @@ -1,11 +1 @@
2023-12-16T16:16:50.8628285Z [01:04 (00.000272)] lean-test-stage1>  test_extern.lean:7:0-7:17: error: test_extern: HAdd.hAdd does not have an @[extern] attribute
2023-12-16T16:16:50.8631861Z [01:04 (00.000334)] lean-test-stage1> -test_extern.lean:9:0-9:86: error: native implementation did not agree with reference implementation!
2023-12-16T16:16:50.8633556Z [01:04 (00.000353)] lean-test-stage1> -Compare the outputs of:
2023-12-16T16:16:50.8636098Z [01:04 (00.000336)] lean-test-stage1> -#eval ByteArray.copySlice { data := #[1, 2, 3] } 1 { data := #[4, 5, 6, 7, 8, 9, 10, 11, 12, 13] } 0 6
2023-12-16T16:16:50.8638877Z [01:04 (00.000185)] lean-test-stage1> - and
2023-12-16T16:16:50.8645493Z [01:04 (00.000737)] lean-test-stage1> -#eval {
2023-12-16T16:16:50.8651131Z [01:04 (00.000576)] lean-test-stage1> -  data :=
2023-12-16T16:16:50.8657396Z [01:04 (00.000568)] lean-test-stage1> -    Array.extract { data := #[4, 5, 6, 7, 8, 9, 10, 11, 12, 13] }.data 0 0 ++
2023-12-16T16:16:50.8664055Z [01:04 (00.000693)] lean-test-stage1> -        Array.extract { data := #[1, 2, 3] }.data 1 (1 + 6) ++
2023-12-16T16:16:50.8671201Z [01:04 (00.000684)] lean-test-stage1> -      Array.extract { data := #[4, 5, 6, 7, 8, 9, 10, 11, 12, 13] }.data (0 + 6)
2023-12-16T16:16:50.8678016Z [01:04 (00.000689)] lean-test-stage1> -        (Array.size { data := #[4, 5, 6, 7, 8, 9, 10, 11, 12, 13] }.data) }
2023-12-16T16:16:50.8685280Z [01:04 (00.000699)] lean-test-stage1> ERROR: file test_extern.lean.produced.out does not match test_extern.lean.expected.out


community: Add support for SAP HANA Vector hnsw index creation and advanced filtering

Description
This PR synchronizes the hanavector integration with updates made in the Python version of LangChain (PR #27884 and PR #20821). The following changes have been introduced:

Index Creation Support:

Added a new function, createHnswIndex, to hanavector.ts. This function facilitates the creation of indexes for SAP HANA Vector, improving usability and alignment with Python capabilities.

Advanced Filtering Support:

Introduced support for advanced filtering operations. The newly supported operators are:

Equality and Comparison: $eq, $ne, $gt, $gte, $lt, $lte
Range and Membership: $between, $in, $nin
Pattern Matching: $like
Logical Operations: $and, $or

These operators enable users to perform more complex filter operations on metadata column.

Issue: No associated issue.
Dependencies: No new dependencies were introduced in this PR.
Twitter handle: @sapopensource

Changed integration main file

libs/langchain-community/src/vectorstores/hanavector.ts

Integration tests

libs/langchain-community/src/vectorstores/tests/hanavector.int.test.ts

Examples

examples/src/indexes/vector_stores/hana_vector/

Documentation

docs/core_docs/docs/integrations/vectorstores/hanavector.mdx

Testing

Integration tests and examples were run successfully.
Access credentials for running the integration tests can be provided to maintainers upon request.

Seems you're failing the new unit tests:
Summary of all failing tests
FAIL src/vectorstores/tests/hanavector.test.ts
  ● Sanity check tests › should sanitize int with illegal value

    expect(received).toContain(expected) // indexOf

    Expected substring: "must not be smaller than -1"
    Received string:    "Value (NaN) must not be smaller than 0"

       8 |       // eslint-disable-next-line @typescript-eslint/no-explicit-any
       9 |     } catch (error: any) {
    > 10 |       expect(error.message).toContain("must not be smaller than -1");
         |                             ^
      11 |     }
      12 |   });
      13 |

      at Object.toContain (src/vectorstores/tests/hanavector.test.ts:10:29)

  ● Sanity check tests › should sanitize int with negative values

    Value (-1) must not be smaller than 0

      243 |     const value = parseInt(inputInt.toString(), 10);
      244 |     if (Number.isNaN(value) || value < lowerBound) {
    > 245 |       throw new Error(
          |             ^
      246 |         `Value (${value}) must not be smaller than ${lowerBound}`
      247 |       );
      248 |     }

      at Function.sanitizeInt (src/vectorstores/hanavector.ts:245:13)
      at Object.sanitizeInt (src/vectorstores/tests/hanavector.test.ts:20:19)

  ● Sanity check tests › should sanitize int with illegal negative value

    expect(received).toContain(expected) // indexOf

    Expected substring: "must not be smaller than -1"
    Received string:    "Value (-2) must not be smaller than 0"

      27 |       // eslint-disable-next-line @typescript-eslint/no-explicit-any
      28 |     } catch (error: any) {
    > 29 |       expect(error.message).toContain("must not be smaller than -1");
         |                             ^
      30 |     }
      31 |   });
      32 |

      at Object.toContain (src/vectorstores/tests/hanavector.test.ts:29:29)

Test Suites: 1 failed, 3 skipped, 63 passed, 64 of 67 total
Tests:       3 failed, 7 skipped, 223 passed, 233 total
Snapshots:   6 passed, 6 total
Time:        22.836 s
Ran all test suites.

@jacoblee93 Hi Jacob, I've adjusted the unit tests for current sanitization methods.

Looks nice! One small comment. I'm also not familiar with SAP Hana syntax but would just ask that you scan for any injection-type attacks in the code.

Hi Jacob, I am currently "human-scanning" the source code. It looks well protected against SQL injections since we have input sanitization functions and parameterized the SQL statement. I am also trying to provide the tool-scan result if possible.

Thank you!


Run Lighthouse against a local server per push

more progress towards #206

This moves the lighthouse audit into the main, PR-visible workflow, and runs the audit against localhost, as served by a local tornado server with some basic stuff configured: gzip, basically-infinite caching.
Since it can actually be iterated on, I've gone ahead and also added the threshold check (with a little wiggle room), and do a check against a random smattering of pages, though it would probably make sense to hit all of them at some future point.
I think this is getting pretty close!

Since there are more files, I am also putting the artifacts into a sub-folder with the build number, so they are a little easier to keep together, which i have found to be important when iterating on these kinds of things.

Hey all - I just want to flag that I'm getting concerned about the amount of extra complexity that we are starting to add to the repository. I think that adding lighthouse would certainly help, and that we should be working towards improving the HTML that the theme uses. That said, can we guarantee that we'll be able to maintain this machinery when it breaks, when it needs to be improved, etc?
Somebody feel free to tell me "these changes really aren't that big, and they're simple enough that they shouldn't break" - I must admit that it all looks Greek to me, so I'm not in a good position to judge their complexity, but I wanted to voice this concern to make sure we can discuss.

If they do break, it's just a comment away from getting them off the
critical path, but, like a linter, if these checks aren't enforced, they
will be ignored. They could also be isolated in a pr-only workflow file to
prevent hiccups when shipping.
In my biased opinion, they are simple enough and shouldn't break, once we
figure out a predictable workflow. Pinning to known action versions, and
using the relatively well-known tornado opinion, reduces risk vs a more
involved solution e.g. more nodejs tooling, or heavyweight selenium testing.
If it catches one accessibility regression, it will be worth it... e.g.
once it hits 💯 on accessibility, it should not be allowed to regress... which
the reports indeed point out is just the beginning, as other things like
keyboard accessibility and logical page order are harder to assess
automatically.
My intent here, selfishly, is being able to make the case for work usage
that this theme is checking the boxes for performance, security and
accessibility. A more community-focused intent: given the number of
important sites that use this theme, small regressions could have a
significant impact on differently-abled users, while improvements can be
shared equally.

Thanks for framing it that way, IMO:

performance, security and accessibility

Are worthwhile goals to increase complexity for. I just want to make sure our decisions to do so are made diligently 👍

Yeah, @choldgraf, I certainly share your general concern. But I also want to ensure that the people who know more about this web stuff, like @bollwyvl, can do their thing ;), as the theme will benefit from that as well. But it's certainly a trade-off to keep being careful about.
Now about the actual PR: @bollwyvl, so we now have an additional "audit" check, that has a check for the minimum scores ("lighthouse-check: Scores passed minimum requirement ✅"), and has the actual html reports as artifact.
Right now that needs to be downloaded to inspect. Would it be possible (maybe as future improvement) to host this as well online for a PR like the docs are hosted with circle_ci ?

Would it be possible (maybe as future improvement) to host this as well online for a PR like the docs are hosted with circle_ci ?

I'm sure they could be. Actually using circle seems like too great of a dependency between the two providers, however. Unlike the demo site, these are flat files, so they could be posted to a gist... weirdly i don't see a handy-dandy action for it, but I'm pretty sure cURL could do it. Otherwise there's netlify, etc...

OK. The PR is ready to merge from your side?

OK. The PR is ready to merge from your side?

Indeed, if only to get the broken one pointed at circle out of there!
Did a little looking into netlify... it is free for open source, but doesn't really have shared auth, so it might need a bot account to own the credentials. Probably similar for the gist approach. Binder of course, would work... but you wouldn't want to build a whole, brand new docker container to view 3+ html files... but having an nbgitpuller bring in a gist would probably be fine. Apparently there's a way to get the raw JSON back out, as well, so maybe a notebook that loads those into a dataframe would be nice, as well.

OK, let's see how it goes now ;)

Huzzah!
On Thu, Jul 9, 2020, 07:53 Joris Van den Bossche<EMAIL_ADDRESS>wrote:

OK, let's see how it goes now ;)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pandas-dev/pydata-sphinx-theme/pull/216#issuecomment-656082682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALCREBPXT3DT6LTKLK6GLR2WVSXANCNFSM4OIO6CBQ
.


Training method

Thanks for your insightful work. Does this model involve parameter updates?

Thanks for your interest. Our metod does not require any model training.


Failed to minimize a class with a private member

html_parser.js file to minimize:
/**
 * Html parsing class.
 */
export default class HtmlParser {
    /**
     * DOMParser instance.
     *
     * @type {DOMParser}
     */
    #domParser;
   ...
}

The error:
/path/to/js/file/html_parser.js:10:4: ERROR - [JSC_PARSE_ERROR] Parse error. '}' expected
  10|     #domParser;
          ^

The private field syntax # is not supported by the compiler yet. For more information, see discussion under this broader issue - https://github.com/google/closure-compiler/issues/2731


Log timestamp overflows when using LOGv2

Describe the bug
Log timestamp overflows only minutes after boot when using LOGv2 on v2.7.1.
PR https://github.com/zephyrproject-rtos/zephyr/pull/40508 fixes the problem and has already been merged to main. I think this should be backported to 2.7.
To Reproduce
I used the hello_world sample with the following changes:
prj.conf
CONFIG_LOG=y
CONFIG_LOG2_MODE_IMMEDIATE=y
CONFIG_LOG_TIMESTAMP_64BIT=n

main.c
#include <zephyr.h>
#include <sys/printk.h>

#include <logging/log.h>
LOG_MODULE_REGISTER(main, LOG_LEVEL_DBG);

void main(void)
{
	printk("CONFIG_BOARD=%s\n", CONFIG_BOARD);
	printk("CONFIG_LOG2=%s\n", IS_ENABLED(CONFIG_LOG2) ? "y" : "n");
	printk("CONFIG_LOG_TIMESTAMP_64BIT=%s\n", IS_ENABLED(CONFIG_LOG_TIMESTAMP_64BIT) ? "y" : "n");
	printk("CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=%u\n", CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC);

	while (1) {
		LOG_INF("k_uptime_get_32: %u", k_uptime_get_32());
		k_sleep(K_SECONDS(5));
	}
}

On a nucleo_wl55jc board with 48 MHz sys clock the log timestamp overflows after approximately 1.5 minutes. This indicates a 32-bit overflow since  2^32  / 48 MHz ≈ 90 seconds, the overflow will happen later or earlier depending on sys clock frequency.
Log output of my code:
*** Booting Zephyr OS build zephyr-v2.7.1  ***
CONFIG_BOARD=nucleo_wl55jc
CONFIG_LOG2=y
CONFIG_LOG_TIMESTAMP_64BIT=n
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=48000000
[00:00:00.014,336] <inf> main: k_uptime_get_32: 14
[00:00:05.019,645] <inf> main: k_uptime_get_32: 5019
[00:00:10.024,945] <inf> main: k_uptime_get_32: 10024
[00:00:15.030,345] <inf> main: k_uptime_get_32: 15030
[00:00:20.035,745] <inf> main: k_uptime_get_32: 20035
[00:00:25.041,145] <inf> main: k_uptime_get_32: 25041
[00:00:30.046,545] <inf> main: k_uptime_get_32: 30046
[00:00:35.051,945] <inf> main: k_uptime_get_32: 35051
[00:00:40.057,345] <inf> main: k_uptime_get_32: 40057
[00:00:45.062,745] <inf> main: k_uptime_get_32: 45062
[00:00:50.068,145] <inf> main: k_uptime_get_32: 50068
[00:00:55.073,545] <inf> main: k_uptime_get_32: 55073
[00:01:00.078,945] <inf> main: k_uptime_get_32: 60078
[00:01:05.084,345] <inf> main: k_uptime_get_32: 65084
[00:01:10.089,745] <inf> main: k_uptime_get_32: 70089
[00:01:15.095,145] <inf> main: k_uptime_get_32: 75095
[00:01:20.100,545] <inf> main: k_uptime_get_32: 80100
[00:01:25.105,945] <inf> main: k_uptime_get_32: 85105
[00:00:00.632,860] <inf> main: k_uptime_get_32: 90111
[00:00:05.638,260] <inf> main: k_uptime_get_32: 95116
[00:00:10.643,660] <inf> main: k_uptime_get_32: 100122

Workaround
Possible workarounds include:

Using LOGv1 instead
Setting CONFIG_LOG_TIMESTAMP_64BIT=y
Using log_set_timestamp_func to override the timestamp function. See below:

Declare in main.c
static log_timestamp_t default_lf_get_timestamp(void)
{
	return IS_ENABLED(CONFIG_LOG_TIMESTAMP_64BIT) ?
		k_uptime_get() : k_uptime_get_32();
}

In main() call:
log_set_timestamp_func(default_lf_get_timestamp, 1000);

Impact
Only an annoyance since multiple workarounds are available.
Environment:

OS: Linux
Toolchain: Zephyr SDK 0.13.1
Release: v2.7.1

Fixed.