"Hash Sum mismatch" preventing push

I'm getting a hash sum error during apt-get update today, which I haven't gotten before (see below). Let me know if you need more details or how I can get you more debugging information.
-----> Injecting apt repositories and packages ...
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://apt.postgresql.org trusty-pgdg InRelease [30.1 kB]
Get:4 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:5 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:6 http://archive.ubuntu.com trusty-security/main amd64 Packages [550 kB]
Get:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [918 kB]
Get:8 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB]
Get:9 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [94.6 kB]
Get:10 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
remote: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages  Hash Sum mismatch
remote:
remote: E: Some index files failed to download. They have been ignored, or old ones used instead.
Fetched 11.1 MB in 51s (217 kB/s)
To dokku@myserver.ca:myapp
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@myserver.ca:myapp'

Update: tried a third push and it worked correctly without this error.

It is probably caused by a temporary network issue.


fix: spacing/sizing issues due to font size increase

Recent change https://github.com/dfinity/portal/pull/2439 to increase the font size introduced issues, because we use rem for sizing and spacing. Distances between and sizes of most non-text elements (eg cards, corners, borders, nav, images/logos) also increased by 25%, which broke the top flyout nav for instance.
This PR will:

undo the 25% font size increase on the marketing pages, keeping it on the docs pages and the blog
fix some layout and border issues on the docs pages in the list of programming languages
fix the Ask AI button on small (ie tablet) screens on the docs pages
fix the nav logo size to not depend on font size

merging to fix critical bug with top nav


increase runtime eBPF http header read size

Signed-off-by: Paul Semel<EMAIL_ADDRESS>
What does this PR do?

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

@nplanel

This already reduces instruction count (~500 instructions), but this prevents from being able to raise HTTP_BUFFER_SIZE (not because of the socket filter but of the uprobe program size it seems).
Once we have a better way to handle the http batches, we can raise this limit again.

Turns out the HTTP_BUFFER_SIZE can be bumped by optimizing one more function.


Build with cargo build --verbose when Gradle is invoked with --info or above

In https://github.com/ncalexan/rust-android-gradle/commit/8a2dcababab7066c43c391356588197f55fc664a, @thomcc added verbose flag.  I'd really like to make that be dynamic, so that you can gradle ... --info or whatever and get detailed Gradle information.  A quick Google showed me how to do this once -- basically, create a logger for the cargoBuild task and ask it what its level is -- but I can't find the link now!

I've done this in af3c5826a91d4d265b46e7dbbcfda5a782050f2c.  Thanks for getting this moving, @thomcc!


Recovery phrase 1

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
#1166
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
using feature flag, added new view to handle phrase
🙈 Screenshots

👯♀ Paired with
Solo

Hi, I recommend we add translation to all new UI with Text as soon as possible or we can forget latter on.

I like the idea, but we are devs not translators.
Just happens that i can speak spanish, but i cant add any other translation.
Translations needs a better process.

Hi, I recommend we add translation to all new UI with Text as soon as possible or we can forget latter on.

I like the idea, but we are devs not translators.
Just happens that i can speak spanish, but i cant add any other translation.
Translations needs a better process.

True, I think would be easier if we have it on Figma. Will point it out on our next meeting


[TRIVIAL] Don't include zero traffic levels

This fixes asserts in debug builds upon receiving the "print" command.

Weird clang failure... I don't see how this patch could trigger it.

I tested on OS X and didn't see any failures.

I tested on clang 3.7 on linux and didn't see any failures.

Merged as 3c496b07f9dace1657b29faee354ae09cfaad82c.


TLS support

My original approach to supplying certificate and key to Benthos was via specifying file path in values.yaml.  The template then renders a K8s secret of type kubernetes.io/tls and sticks that in a volume upon install.
Issues:

Helm does not access files outside the chart directory.  This is navigable if you pull the chart down to a local filesystem, copy the cert/key into the chart directory, update values.yaml and deploy from there, but this does not work if you are installing the chart by reference.
There is a PR to add a flag to helm for including external files, but currently it is stale with no ETA for merging.

Possible workarounds:

Preemptive creation of TLS secret; not great due to extra steps but would probably be the cleanest in the chart templating (e.g. .Values.http.tls.certFile and .Values.http.tls.keyFile become simply .Values.http.tls.secretName).  Should also enable other means of cert generation, like K8s CA (in situations where you need full E2E encryption and not just termination at an internal ingress controller)
Injecting files via initContainer
Supplying the raw cert/key data in values.yaml.  Yuck.

One thought is that perhaps TLS is not as important a feature here due to TLS availability provided by ingress.  Opinions welcome!

This is considered resolved with the 0.2.0 release.  The operator is responsible for creating a kubernetes.io/tls type secret and referencing that in the chart.


Remove Maven dependency mechanism for use in other projects from the documentation.

The dependency mechanism may be too complicated.
Mentioned in README.md and maybe too in the GitHub documentation.

README.md has been changed.


Improvement : is there a quick way to turn hblock off and on?

Is there the option to tell
hblock on
hblock off
I have an issue when downloading from sourceforge.
I want to quickly test if it is not hblock blocking the server.
Will the original hosts file be put back?

The fastest way to do this with hBlock would be to overwrite your configuration with environment variables.

On: HBLOCK_SOURCES='' hblock
Off: hblock

this should on the front page :(
its a vital info

this should on the front page :(
its a vital info

Done (261850d763e44dbb7ce705e85e2e254fa1442d3d).

Done (261850d763e44dbb7ce705e85e2e254fa1442d3d).


Fix offscreen drawlists

Frame and slot is offscreen rendered if have too many frames and sequence. This fix reduce unnecessary draw list and reduce gpu usage.

That's merged! Thank you!


Ugly traceback when tmt test convert is used with tcms/bzilla plugin and kerberos ticket expires

Hello.
Just ordinary used of tmt test convert leads to very not nice traceback when kerberos ticket expires.
How to reproduce:
leave krb ticket to expire
$ cd tuned/Regression/Verification-of-sysctll-is-broken-for-tabs
$ tmt test convert
Result:
Checking the '/home/rhack/git/tests/tuned/Regression/Verification-of-sysctll-is-broken-for-tabs' directory.
Makefile found in '/home/rhack/git/tests/tuned/Regression/Verification-of-sysctll-is-broken-for-tabs/Makefile'.
test: /CoreOS/tuned/Regression/Verification-of-sysctll-is-broken-for-tabs
description: Test for BZ#1711230 (Verification of sysctll is broken for tabs)
component: tuned
duration: 20m
Purpose found in '/home/rhack/git/tests/tuned/Regression/Verification-of-sysctll-is-broken-for-tabs/PURPOSE'.
description:
Bug summary: Verification of sysctll is broken for tabs
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1711230
Nitrate Traceback (most recent call last):
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/base.py", line 200, in _server
Config().nitrate.username,
AttributeError: 'Section' object has no attribute 'username'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/xmlrpc_driver.py", line 105, in single_request_with_cookies
h = self.send_request(host, handler, request_body, verbose)
File "/usr/lib64/python3.7/xmlrpc/client.py", line 1267, in send_request
connection = self.make_connection(host)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/xmlrpc_driver.py", line 185, in make_connection
chost, self._extra_headers, x509 = self.get_host_info(host)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/xmlrpc_driver.py", line 163, in get_host_info
response = vc.step()
File "</home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/decorator.py:decorator-gen-15>", line 2, in step
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/gssapi/_utils.py", line 167, in check_last_err
return func(self, *args, **kwargs)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/gssapi/sec_contexts.py", line 521, in step                     [23/169]
return self._initiator_step(token=token)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/gssapi/sec_contexts.py", line 542, in _initiator_step
token)
File "gssapi/raw/sec_contexts.pyx", line 245, in gssapi.raw.sec_contexts.init_sec_context
gssapi.raw.misc.GSSError: Major (851968): Unspecified GSS failure.  Minor code may provide more information, Minor<PHONE_NUMBER>): No Kerb
eros credentials available (default cache: KEYRING:persistent:20787)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rhack/.virtualenvs/tmt/bin/tmt", line 7, in
exec(compile(f.read(), file, 'exec'))
File "/home/rhack/tmt/bin/tmt", line 11, in
tmt.cli.main()
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/rhack/tmt/tmt/cli.py", line 418, in convert
data = tmt.convert.read(path, makefile, nitrate, purpose)
File "/home/rhack/tmt/tmt/convert.py", line 108, in read
testcases = list(TestCase.search(script=test))
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/mutable.py", line 912, in search
for inject in Nitrate()._server.TestCase.filter(dict(query))]
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/base.py", line 206, in _server
Config().nitrate.url).server
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/xmlrpc_driver.py", line 443, in init
login_dict = self.do_command("Auth.login_krbv", [])
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/xmlrpc_driver.py", line 393, in do_command
return getattr(self.server, verb)(*params)
File "/usr/lib64/python3.7/xmlrpc/client.py", line 1112, in call
return self.__send(self.__name, args)
File "/usr/lib64/python3.7/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/usr/lib64/python3.7/xmlrpc/client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "/home/rhack/.virtualenvs/tmt/lib/python3.7/site-packages/nitrate/xmlrpc_driver.py", line 137, in single_request_with_cookies
h.close()
UnboundLocalError: local variable 'h' referenced before assignment
Which basically says: you don't have kerberos ticket! :)
Should return smaller amount of words :).
Thank you for your time.

I usually check for KT like so:
klist -a | grep -q "${login_at_domain}$"

Yeah. I know that my ticket is expired.
klist: Credentials cache keyring 'persistent:20787:20787' not found

It works after kinit :).

Yeah. I know that my ticket is expired.

Well I meant in a program... 0 -> OK 1 -> expired


waitForFragment() call fails though Fragment is visible

From<EMAIL_ADDRESS>on November 07, 2012 08:27:56
We're getting many random test errors with Robotium (3.4.1 and also 3.5.1). One particular issue we've picked out so far is that sometimes the waiting for a particular fragment fails.
Through a longer debugging intercourse we've found out that Robotium is unable to find the fragment because it uses a fragment manager internally that has already been destroyed (mDestroyed member of FragmentManagerImpl is true) and as such no fragment was registered for it any longer (mAdded and mActive of the private FragmentManagerImpl are NULL). The fragment manager itself was in state 5 (apparently Fragment.RESUMED).
If we stop the debugger at this moment and try to retrieve the current active activity and its fragment manager again, then the fragment manager is valid and we get the positive (expected) response that the queried fragment exists.
Original issue: http://code.google.com/p/robotium/issues/detail?id=348

From<EMAIL_ADDRESS>on November 14, 2012 02:21:46
Thanks for reporting this. I'm not sure what can be done with this issue. The fragment manager is returned by the activity:
activityUtils.getCurrentActivity().getFragmentManager();
The issue here is that the activity returns a destroyed fragment manager.

From<EMAIL_ADDRESS>on November 18, 2012 22:50:58
Please direct this issue to the Android team.
Status: Invalid


Roll Flutter from 5816d20b86b9 to f146e90fbb19 (4 revisions)

https://github.com/flutter/flutter/compare/5816d20b86b9...f146e90fbb19
2022-09-18<EMAIL_ADDRESS>Roll Flutter Engine from b2e7f33d08aa to 51b95456ab8f (1 revision) (flutter/flutter#111830)
2022-09-18<EMAIL_ADDRESS>Roll Flutter Engine from f144ceca159e to b2e7f33d08aa (1 revision) (flutter/flutter#111826)
2022-09-17<EMAIL_ADDRESS>Roll Flutter Engine from d79fd7e920a6 to f144ceca159e (2 revisions) (flutter/flutter#111820)
2022-09-17<EMAIL_ADDRESS>Roll Flutter Engine from 27c7e79a6564 to d79fd7e920a6 (1 revision) (flutter/flutter#111818)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


how to preview the expanded macro on rust ?

Check for existing issues

[X] Completed

Language
rust
Tree Sitter parser link
No response
Language server link
No response
Misc notes
No response

Hey @shanliu, I don't believe this is currently possible yet.

It would be a nice feature to be honest!


⚠ GitLab Server has degraded performance

In a5fdafc, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11541 ms

Resolved: GitLab Server performance has improved in 8dd20b6.


[CWS] Remove duplicated type references from events documentation

What does this PR do?
This PR removes unnecessary duplicated type references in the CSM Threats events documentation.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge

/merge

/merge

/merge -c

/merge


Issue with parser for CISCO ISE in Sentinel

Describe the bug
Parsing issue with Cisco ISE data source
Using the parser from the Cisco Identity Service Engine data connector page in Sentinel provide and still got wrong information in the logs.
I found out that the parser will apply for these logs:
Syslog
| where ProcessName has_any  ("CSCO", "CISE")
There are many logs with different structures of SyslogMessage which causes the parser to not be able to function properly.
When applied this line in parser for the above results, there will be an eventid with a date (Ex 1: 2024-01-05) and an eventid with a string (Ex 2: NetworkDeviceGroups...).
| parse SyslogMessage with * " " * " " * " " EventId " " EventSeverity " " EventCategory " " RestOfMessage
To Reproduce
Steps to reproduce the behavior:

Go to Sentinel portal > Data Connectors > Cisco Identity Service Engine
Click on "Follow these steps"
Copy the function code then paste into Logs then Save as function.
See wrong information in CiscoISEEvent table.

Expected behavior
Correct data from Syslog parse into the correct field in CiscoISEEvent table.
Screenshots

Hi @v-nguyentruong, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 15-01-2024. Thanks!

Hi @v-nguyentruong, Could you please check with below shared parser file.
CiscoISEParser_Updated3.txt
Sharing the steps to configure it -

Go to Log Analytics workspace and select your workspace.
Click on Logs.
In the Schema and Filter Pane, select Functions tab and enter Parser name (e.g. CiscoISE) in the search box, function list would be filtered.
Hover over the function name and click on Load the function code link in the flyout.
This would load the definition of the parser in the new query window. Copy and paste the content of the function in a notepad and save it.

Please let us know if it works or you need any assistance on it.
Thanks!

Hi @v-nguyentruong, we are waiting for your response on above comment. Thanks!

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
Thanks for your response.
I'm still checking this parser on customer environment. I'm still waiting for the customer to send a reply. I will update you if I get any response.
Best Regards,
Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Tuesday, January 16, 2024 12:54 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @v-nguyentruonghttps://github.com/v-nguyentruong, we are waiting for your response on above comment. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1893113010, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLUD2LPF22GNHRUCWZDYOYIZRAVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGEYTGMBRGA.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @v-nguyentruong, Please let us know once you get update from customer on this. Thanks!

Hi @v-nguyentruong, Any update from customer on this? Thanks!

Hi @v-nguyentruong, thanks for sharing update with us, please let us know, once you get more update from customer on this.
Thanks!

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
Hope you doing well
Just got a response from customer. Everything is working fine except there is no timestamp this time (No TimeGenerated column). Can you check the parser again?
Here is the screenshots from customer:
[cid:7389d18d-085f-46d0-a6f5-0c2bc3d9738c]
Thanks for your response.
I'm still checking this parser on customer environment. I'm still waiting for the customer to send a reply. I will update you if I get any response.
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Friday, January 19, 2024 5:04 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @v-nguyentruonghttps://github.com/v-nguyentruong, thanks for sharing update with us, please let us know, once you get more update from customer on this.
Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1900107278, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLUL2NVBWRLM7ZMZ7JDYPJALXAVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBQGEYDOMRXHA.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @v-nguyentruong, your shared screenshot is not visible for me, could you please reshare it. Thanks!

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
Here is the screenshot:
[cid:accc5ade-4b7a-41a1-ba4e-116e5b4ce74e]
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Monday, January 29, 2024 10:54 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @v-nguyentruonghttps://github.com/v-nguyentruong, your shared screenshot is not visible for me, could you please reshare it. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1914998579, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLRY3Y3TMATOCQJQ64TYQ7A2LAVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUHE4TQNJXHE.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @v-nguyentruong, still not visible, Could you please sent it on below mail id -<EMAIL_ADDRESS>
Thanks!

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
I just sent the screenshot to your email. Can you check it if it is visible?
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Wednesday, January 31, 2024 3:13 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @v-nguyentruonghttps://github.com/v-nguyentruong, still not visible, Could you please sent it on below mail id -<EMAIL_ADDRESS>image.png (view on web)https://github.com/Azure/Azure-Sentinel/assets/132428394/432b654d-4515-47a0-8b69-031f87fd7722
Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1918595780, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLR4JURH3EKLPX4YKR3YRH4LLAVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGU4TKNZYGA.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @v-nguyentruoy - ng, yes, it's visible now. We will check on it and get back to you by 07-01-2024. Thanks!

Hi @v-nguyentruong, could you please ask customer to expand the one of the raw and check for the TimeGenerated Column.

Thanks!

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
I checked from our end and the raw doesn't have any TimeGenerated Column. Here is the screenshots:
[cid:b433c2c1-5e48-48aa-b347-ad1832b63c49]
[cid:9bfa16f6-dd57-4612-8a11-34ebf2e23f7e]
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Thursday, February 1, 2024 4:09 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @v-nguyentruonghttps://github.com/v-nguyentruong, could you please ask customer to expand the one of the raw and check for the TimeGenerated Column.
image.png (view on web)https://github.com/Azure/Azure-Sentinel/assets/132428394/9c136c2d-7bb9-45f3-9d54-39c58111d444
Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1920843379, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLUUNYPLVY2OGZ2M6W3YRNLWLAVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQHA2DGMZXHE.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @v-nguyentruong, have you checked with updated parser? - https://github.com/Azure/Azure-Sentinel/files/14122744/CiscoISEParser_Updated1.txt

Thanks for the update parser file. I just checked and seem like it will work. Let's me check this with customers. I will response if I have any update from them.

@v-nguyentruong, Sure. Please share update with us once it done. Thanks!

@v-nguyentruong, thanks for update. We will check on this and get back to you by - 08-02-2024. Thanks!

Hi @v-nguyentruong, We have updated the parser and tested in our workspace with available data. Could you please check it in customer environment and let us know still TimeGenerated column is not visible. Thanks!
Updated Paser File - CiscoParser.txt

Thanks for the update parser file. Let's me check this with customers. I will response if I have any update from them.

Hi @v-nguyentruong, Any update from customer? Thanks!

@v-nguyentruong, noted, please let us know once you any update on this. Thanks!

@v-nguyentruong, Noted. Thanks!

Nelson Truong (WICLOUD CORPORATION) @.***) has sent you a protected message.
Read the message            Learn about messages protected by Microsoft Purview Message Encryption.
        This is a secure message from Microsoft. The contents of this email message and any attachments are intended solely for the addressee(s) on this message and will contain confidential and/or privileged information. It is strictly prohibited to share any part of this message with any third party.           Privacy Statement

          Learn More on email encryption.             Microsoft Corporation, One Microsoft Way, Redmond, WA 98052

Hi @Sudarshan Kharat (Tata Consultancy Services Limi)
Just got a reply from the customer. The parser working fine now but the customer wants to request if it is possible to parse the computer name separately from the line AcsSessionID=Computer/Number/Number.
Example screenshot:
[cid:2fba9cbb-53fd-4e51-a57e-850c9b9b5dbb]
Request add 1 more column name: "Computer" contain the Computer name in the AcsSessionID field.
Please, let me know if you can do this for the customer.
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: Nelson Truong (WICLOUD CORPORATION) @.>
Sent: Tuesday, February 13, 2024 3:20 PM
To: Azure/Azure-Sentinel @.>; Azure/Azure-Sentinel @.>; Sudarshan Kharat (Tata Consultancy Services Limi) @.>
Cc: Mention @.***>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
Just got a reply from the customer. The parser working fine now but the customer wants to request if it is possible to parse the computer name separately from the line AcsSessionID=Computer/Number/Number.
Example screenshot:
[cid:d186fa59-7973-487e-a151-3a0b2aff90f7]
Request add 1 more column name: "Computer" contain the Computer name in the AcsSessionID field.
Please, let me know if you can do this for the customer.
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Monday, February 12, 2024 4:35 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
@v-nguyentruonghttps://github.com/v-nguyentruong, Noted. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1938319172, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLWV7COTPCDYYH2NCP3YTHO73AVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZYGMYTSMJXGI.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @v-nguyentruong, Thanks for the update. The feature request from the customer we need to check with the respective team.  Meanwhile, we have checked for extract the ComputerName from the column AcsSessionID and extracted into new Computers column. Due to limitation for sample data, we have tested the below parser with the different sample data. So, could you please check with the customer and let us know the feedback.
Parser File - Cisco.txt
Thanks!

@v-nguyentruong, Thanks!

Hi, We are facing exactly same issue, I have tried above both updated parsers but they both give me different output. One of them definitely gave time generated column . See below image.

Hi @sandeep5234. Have you checked with this one - Paser File - CiscoParser.txt

Hi @v-nguyentruong, Any update from customer. Thanks!

@v-sudkharat I have just tried and below is the result

seems same issue to me

Hi @v-sudkharat. I'm still waiting for cx response.

@v-nguyentruong, Ok. Thanks!

Hi @v-nguyentruong, Could you please request cx to share the sample data with us, so we can modify the query accordingly. Thanks!

Hi @v-sudkharat . Sure, I'll let you know if I got the sample data from cx.

Hi @sandeep5234, we have received the data from customer. thank you for your response.

Hi @v-nguyentruong, We have make those modification as per customer requirement in Parser and added the new column as Computers.
Sharing the screenshot for reference -

Could you please share the latest updated parser with the customer and let us know the feedback with us.
Updated Parser File - Cisco.txt
Thanks!

Hi @v-sudkharat . Thanks for the update parser, I'll let you know if I get update from cx.

@v-nguyentruong, Ok

Nelson Truong (WICLOUD CORPORATION) @.***) has sent you a protected message.
Read the message            Learn about messages protected by Microsoft Purview Message Encryption.
        This is a secure message from Microsoft. The contents of this email message and any attachments are intended solely for the addressee(s) on this message and will contain confidential and/or privileged information. It is strictly prohibited to share any part of this message with any third party.           Privacy Statement

          Learn More on email encryption.             Microsoft Corporation, One Microsoft Way, Redmond, WA 98052

@v-sudkharat I have just tested the new updated parser and results are below

seems same issue for me.

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
Just got a response from cx. There is Computer column now and it has computer name in it. However, some stay blank. Screenshot below.
[cid:a84575ce-00e2-4da5-9dfb-2a81e544143f]
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: Nelson Truong (WICLOUD CORPORATION) @.>
Sent: Tuesday, February 27, 2024 6:42 PM
To: Azure/Azure-Sentinel @.>; Azure/Azure-Sentinel @.>; Sudarshan Kharat (Tata Consultancy Services Limi) @.>
Cc: Mention @.***>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
Hi @Sudarshan Kharat (Tata Consultancy Services @.***>
Just got a response from cx. There is Computer column now and it has computer name in it. However, some stay blank. Screenshot below.
[cid:41917ba0-adf2-4fac-89a9-cf8fd7acfbfe]
Best Regards,

Nelson Truong
Support Engineer
Azure - Security
Working Hours: 3:00 PM - 12:00 AM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/ @.***
[image]

From: v-sudkharat @.>
Sent: Tuesday, February 27, 2024 4:50 PM
To: Azure/Azure-Sentinel @.>
Cc: Nelson Truong (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Issue with parser for CISCO ISE in Sentinel (Issue #9746)
@v-nguyentruonghttps://github.com/v-nguyentruong, Ok
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9746#issuecomment-1966170346, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFGXNLXKSHZJOBG4TVAOHV3YVWUAFAVCNFSM6AAAAABBTCIR6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRWGE3TAMZUGY.
You are receiving this because you were mentioned.Message ID: @.***>

@v-nguyentruong, checking on Parser.
Hey @sandeep5234, Could you please more explain your issue or if it is different, could you please raise a new issue so our team can check on that. Thanks!

@v-sudkharat We have Cisco ISE network device from where we collect logs in Syslog format, the Cisco ISE parser available as part of the Cisco ISE package in Azure sentinel repository doesn't parse the data to correct columns.  This is my issue in short.

Hi @v-nguyentruong, We have updated the parser, and it successfully showing the expected result in cx shared CISCO ISE sample data. Please check with cx - Cisco.txt
If he still having the issue, then we required the cx syslog data to check on it.
Thanks!

Hii @sandeep5234, Could you please raise a new GitHub issue and shared details over there with adding the sample data. So our team check on your case and update you. Thanks!

@v-sudkharat   I have created new issue
This is the one.
#10070

Hi @v-nguyentruong, Waiting for your response on above comment. Thanks!

Hi @v-sudkharat . Cx deployed the new parser, and it was working fine. However, they want to monitor the parser for few more days to check if new issue arises. I'll let you know if there is new update from them.

Hi @v-nguyentruong, Any update from cx? Thanks!

Hi @v-sudkharat . The parser working fine now. Thanks for your help.

Hi @v-sudkharat . The parser working fine now. Thanks for your help.

@v-nguyentruong, Always welcome.


Slow response time

I did an upgrade from beta-8 to rc-3.
After the upgrade, the content generation time increased x10 times. On top of that, every time I execute the prompt function I have a ram memory leak.

My code:
        var variables = new KernelArguments
        {
            ["Topic"] = topic,
        };

        var getIntentFunction = _context.Kernel
            .CreateFunctionFromPrompt(Prompt, requestSettings, "GetIntent");

        var result = await _context.Kernel
            .InvokeAsync(getIntentFunction, variables);

I tested on GPT3.5 Turbo

I have the impression that the longer the input the longer the response time. This wasn't the case before, using another library I don't have a problem with this either.
My input even has 2k tokens.

Yes, the longer the input, the longer the response time because it takes time for the model to process tokens. That being said... you shouldn't be seeing a memory leak.

@Alerinos - Your performance monitor graph may have been truncated.  I may be only seeing the CPU%.
I will proceed with memory leak analysis and assume some values for aiSettings and Prompt using both the RC3 nuget package and the current repo-state.
Could you please also share if you are targeting OpenAI hosted models or an Azure OpenAI deployment?

I've ran in a couple modes:

Kernel with function calling: no completion endpoint or prompt based functions

Kernel with completion: calling open ai endpoint with prompt based functions

Both of these cases are creating multiple kernels and calling multiple functions and appear to be achieving a stead-state w.r.t. memory management.
If you have specific steps that lead to a memory leak, I'd be happy to adjust my approach.
One thing I might try is to initialize your function only once and then utilize it multiple times:
   var getIntentFunction = _context.Kernel.CreateFunctionFromPrompt(Prompt, requestSettings, "GetIntent");

@crickman, can you share the code you used for your test to see if @Alerinos, can run it on his side to validate that there aren't memory leaks?

Sure, I started by working in the repo to evaluate the current state and just tweaked KernelSyntaxExample9 and ran it in the performance profiler.
The profiler is able to show dead objects and where they are pinned.
I suspect the original memory profile is affected by additional memory pressure from:

Repeated function creation (expensive)
Other implementation specific details

I am curious if the op endpoint is OpenAI or Azure AI.
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.SemanticKernel;
using RepoUtils;

public static class Example09_FunctionTypes
{
    public static async Task RunAsync()
    {
        Console.WriteLine($"Process ID: {Environment.ProcessId}");

        // Pick one:

        // core kernel...no services
        await RunStressAsync(150, StressEmptyAsync);

        // chat completion only
        await RunStressAsync(30, StressCompletionAsync);

        // function calling only
        await RunStressAsync(150, StressFunctionCallingAsync);
    }

    private static async Task RunStressAsync(int iterationCount, Func<Task> payloadAsync)
    {
        Console.ReadLine(); // Pause for snapshot

        var count = 0;
        var shouldExit = false;

        while (!shouldExit)
        {
            Console.WriteLine($"#### {count + 1}");

            await payloadAsync.Invoke();
            await Task.Delay(300);

            ++count;

            shouldExit = (count >= iterationCount);
        }

        ReleaseMemory();
        ReleaseMemory();
        ReleaseMemory();

        Console.ReadLine(); // Pause for snapshot
    }

    private static Task StressEmptyAsync()
    {
        var kernel = Kernel.CreateBuilder().Build();

        Console.WriteLine(kernel.Plugins.Count);

        return Task.CompletedTask;
    }

    private static async Task StressCompletionAsync()
    {
        var kernel =
            Kernel
                .CreateBuilder()
                .AddOpenAIChatCompletion(TestConfiguration.OpenAI.ChatModelId, TestConfiguration.OpenAI.ApiKey)
                .Build();

        string folder = RepoFiles.SamplePluginsPath();
        kernel.ImportPluginFromPromptDirectory(Path.Combine(folder, "SummarizePlugin"));

        var plugin = new LocalExamplePlugin();

        await Task.WhenAll(
            plugin.Type04Async(kernel, $"wut be prime: {Random.Shared.Next()}"),
            plugin.Type04Async(kernel, $"is {Random.Shared.Next()} a prime number"),
            plugin.Type04Async(kernel, $"I'm going on a trip to Paris next month on the 3rd for {Random.Shared.Next(3, 8)} days."),
            plugin.Type04Async(kernel, $"do you know {Random.Shared.Next(2, 4)} \"fun facts\" about honey bees"),
            plugin.Type04Async(kernel, $"What slang was popular in 19{Random.Shared.Next(5, 9)}7"));
    }

    private static async Task StressFunctionCallingAsync()
    {
        var kernel = Kernel.CreateBuilder().Build();

        var plugin = kernel.ImportPluginFromType<LocalExamplePlugin>("test");

        for (int i = 0; i < 100; ++i)
        {
            await kernel.InvokeAsync(plugin["type01"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type01"]);

            await kernel.InvokeAsync(plugin["type02"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type02"]);

            await kernel.InvokeAsync(plugin["type03"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type03"]);

            await kernel.InvokeAsync(plugin["type05"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type05"]);

            await kernel.InvokeAsync(plugin["type06"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type06"]);

            await kernel.InvokeAsync(plugin["type07"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type07"]);

            await kernel.InvokeAsync(plugin["type08"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type08"]);

            await kernel.InvokeAsync(plugin["type09"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type09"]);

            await kernel.InvokeAsync(plugin["type10"]);
            await kernel.InvokeAsync(kernel.Plugins["test"]["type11"]);
        }
    }

    private static void ReleaseMemory()
    {
        Task.Delay(1000).Wait();
        for (int generation = 0; generation <= 2; generation++)
        {
            Console.WriteLine($"GC: {generation}");
            GC.Collect(generation, GCCollectionMode.Forced, true, true);
        }
    }
}

public class LocalExamplePlugin
{
    [KernelFunction]
    public void Type01()
    {
        Console.WriteLine("Running function type 1");
    }

    [KernelFunction]
    public string Type02()
    {
        Console.WriteLine("Running function type 2");
        return "";
    }

    [KernelFunction]
    public async Task<string> Type03Async()
    {
        await Task.Delay(0);
        Console.WriteLine("Running function type 3");
        return "";
    }

    [KernelFunction]
    public async Task<string> Type04Async(Kernel kernel, string input)
    {
        var summary = await kernel.InvokeAsync(kernel.Plugins["SummarizePlugin"]["Summarize"], new(input));
        Console.WriteLine($"Running function type 4 [{summary}]");
        return "";
    }

    [KernelFunction]
    public void Type05(string x)
    {
        Console.WriteLine("Running function type 5");
    }

    [KernelFunction]
    public string Type06(string x)
    {
        Console.WriteLine("Running function type 6");
        return "";
    }

    [KernelFunction]
    public async Task<string> Type07Async(string x)
    {
        await Task.Delay(0);
        Console.WriteLine("Running function type 07");
        return "";
    }

    [KernelFunction]
    public async Task Type08Async(string x)
    {
        await Task.Delay(0);
        Console.WriteLine("Running function type 08");
    }

    [KernelFunction]
    public async Task Type09Async()
    {
        await Task.Delay(0);
        Console.WriteLine("Running function type 09");
    }

    [KernelFunction]
    public FunctionResult Type10()
    {
        Console.WriteLine("Running function type 10");
        return new FunctionResult(KernelFunctionFactory.CreateFromMethod(() => { }));
    }

    [KernelFunction]
    public async Task<FunctionResult> Type11Async()
    {
        await Task.Delay(0);
        Console.WriteLine("Running function type 10");
        return new FunctionResult(KernelFunctionFactory.CreateFromMethod(() => { }));
    }
}

@crickman
Thank you for engaging with the topic.
I am using OpenAI API, GPT-3 Turbo model and GPT-4.
My system has a procedure consisting of multiple queries to OpenAI.
1.) It generates the content
2.) Waits for the result, generates another content x4 times
3.) Based on the total result, generates another content x2
In total, I have up to 10 queries to the API before I get the final correct result. Unfortunately, I can't do it in one query because AI is not able to grasp so many things at once.
I just did a test, generated 10 processes (10x10=100 queries to the API). From a starting 170mb of ram usage jumped to 500mb).
Each time at process startup I create my own context KernelBuilder.
Maybe Dispose would be useful?

Thanks for the information.  One clarification, I'm not suggesting you perform one query / chat-completion.  I'm suggesting that each prompt function is only initialized once (as a singleton)


Points.json only has one point on bus/train rides - false negatives

On bus rides with multiple stops, having only one point causes partial route overlaps to be missed.
  Alert only if both points between two stops are positive, which indicates that both passengers were indeed on the same bus.

Thanks for pointing that out. We're aware of this. In the following days we expect to retrieve validated COVID-19 patients location data in a richer format (but still preserve their privacy), one which supports efficient geoqueries. We'll update more on this when we know more.


fix: Added variables js editor

Description
Added variables to response tab
Fixes #9368
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: added-variables-js-editor

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
55.11 (-0.03)
37.16 (-0.01)
33.95 (-0.02)
55.62 (-0.02)

:red_circle:
app/client/src/components/editorComponents/JSResponseView.tsx
48.35 (-5.07)
26.67 (0.7)
0 (0)
51.76 (-3.17)

:red_circle:
app/client/src/reducers/entityReducers/jsActionsReducer.tsx
8.99 (-0.89)
0 (0)
4.88 (-0.12)
9.2 (-0.93)

:red_circle:
app/client/src/selectors/commentsSelectors.ts
83.61 (-1.64)
61.76 (-2.95)
73.33 (0)
88.24 (-2.35)

/ok-to-test sha=c5f2a51


Provide way to customize divider characters, should be basic ascii

So right now all the dividers are special chars like "╚═══╝". This really needs to be customizable so people can choose to use more basic ascii chars that won't break downstream consumers of log files w/ this data that cannot easily consume UTF8

What character set are these from anyways?

The One True Character Set™ that is UTF-8. Not sure why you'd use anything else nowadays.

Not my choice, downstream consumers of logs from an application that generates this output can't handle those chars, need an option to format it differently then the hard-coded defaults currently in place.

@bitsofinfo If you're still looking for a way to print basic ASCII tables, try ASCIITable. It worked for my simple use case when I found Flip Tables don't support non-Unicode borders.

@starwarswii thank, however it would w/ this PR https://github.com/JakeWharton/flip-tables/pull/15


Increase TimeoutInMinutes for FR

With the addition of the AAD tests for every endpoint, the FR tests are taking an average of 50min (before 40min) and sometimes, if the server is busy, it can take more than 60min.
Our pipelines have a default of 60min per run, so the build fails.
Fixes: https://github.com/Azure/azure-sdk-for-net/issues/17708

/azp run net - formrecognizer - tests-weekly

@maririos are the tests running in parallel?

@maririos are the tests running in parallel?

The default for the repo is BuildInParallel: true.
As for running on multiple machines, there is the parameter MaxParallel the default is 0. I see other libraries using it, but I will like to wait on @benbp to be back from vacations before modifying this value for FR as this can impact test resources in general.

@maririos MaxParallel == 0 means no parallel limit. Multi-machine jobs will request available machines all at once. If we see FR using up too much quota, we could add a parallel limit, but we are starting to transition over to the 1es pools which have burst capacity, so I wouldn't worry about it unless it becomes a problem.

@maririos MaxParallel == 0 means no parallel limit. Multi-machine jobs will request available machines all at once. If we see FR using up too much quota, we could add a parallel limit, but we are starting to transition over to the 1es pools which have burst capacity, so I wouldn't worry about it unless it becomes a problem.

Thanks for the information @benbp . Do you have a rough ETA of when the transition will happen? just for me to keep in mind
It looks like for now, this PR should be enough

Thanks for the information @benbp . Do you have a rough ETA of when the transition will happen? just for me to keep in mind
It looks like for now, this PR should be enough

@maririos actually I believe we're switched over fully for .net now as of yesterday. Double check with @mitchdenny though for more details on the burst capacity.

@maririos actually I believe we're switched over fully for .net now as of yesterday. Double check with @mitchdenny though for more details on the burst capacity.


WIDO actions fails

On push to master/develop there is no PR to comment on which cases this to break, this should not be run on push or be protected appropriately

https://github.com/vegaprotocol/token-frontend/actions/runs/1951634481


[Bug]: Add privilege button cannot be pressed multiple times in event settings team

To reproduce:

Add a new team member to an event
try to toggle privileged button multiple times


CI: update ubuntu-18.04 to ubuntu-latest

ref https://github.com/actions/runner-images/issues/6002

This change was executed automatically with Shepherd. 💚🤖

shepherd script: update ubuntu-18.04 to ubuntu-latest on GitHub Actions


Selects that can accept input

This looks awesome, but lacks a very important feature. It would so cool if it supported selects that can accept user input. You seen those on desktop apps, right? The dropdown itself is a input, users can click and type their value. Could I accomplish this with DropKick?

Take a look at Chosen: http://harvesthq.github.com/chosen/

Chosen does not has this features, it allows typing in the select element, but only for the search functionality. Values other than which already exists in the elements is not allowed.
Thanks anyway.

Excellent! Can't wait to see it in action.


unable to decode Chakra output .json

Describe the Bug
The DataDeps  for layer id =207, name = add_ shows DataDeps = 206. Layer 206 is cudnn_convolution layer the output tensor ids of layer 206 dont seem to match input tensor id of layer 206. Could you help in clarifying.
Steps to Reproduce

Steps to reproduce the behavior.
Please include the version information where the bug was observed.

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Attaching chakra output .json file for reference.
resnet_inf_test.csv
chakra_output_json.json

Attaching screen shot


Unsupported Device

The details :

Did you grant the app permission to access your filesystem yet?

Go to C:\ and grant it permission if you’re not sure.

i did and it fixed it thanks


Performance optimization on speed and memory for RDD

This pull request is similar to #59.
This implementation manages caching and evicting RDDs on GPU automatically
in order to redundant data transfers between a host PC and the GPU.
There are two differences between #59 and this.
Difference:

Optimize data transfers between CPU and GPU between multiple GPUEnabler RDD APIs calls , not for DataSet APIs.
Handle auto-cached RDDs on GPU cleanup based on a LRU policy
in the once execution.
Manage only auto-cached RDDs on GPU automatically.
If GPU free space becomes small less than a certain value and
GPUEnabler can't transfer a new RDD from a host PC to the GPU,
this implementation evicts old auto-cached RDDs based on a LRU policy automatically.

Note: Adoption of LRU creates the possibility of reusing cached RDDs on GPU over multiple jobs.

Can I correct and repost this pull request?
I am sorry for you that there are too much mistakes.

Could you update this pull request by adding other commits based on discussions? It would be good to have some iterations for a pull request.
After some iterations, I hope we can merge it into master.

Yes, I will.
I update this pull request as you said.
Thank you for your attention to this matter.

@asaidesita would it be possible to resolve conflicts, too?
We expect that we expect to merge this soon (one or two more iterations)

Yes, sure.
I'm sorry that I am late.
I will solve this problem in a week

Thank you for your accurate and sincere reviews despite your busy schedule.
I am honored to hear your comment for our paper.
I had a valuable experience thanks to you and your drastic product IBMSparkGPU.


wrong link in the citation

The link from the citation information leads to 404
https://github.com/autotyp/autotyp-data/tree/0.1.1

Closing as it has been indirectly resolved by the new 1.0.0 release.


Experiment to get reliable google calendar event creation

feel free to ping me with any questions.  relevant code is in utils.js

seems like its reliably going to the right site and clicking the create button.
however it struggles to click the dropdown menu options after the create button is clicked

works kinds reliably now


chore(metrics-server): reuse part of metrics manager

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Abandon the Metrics in meta and re-use the MetricsManager in risingwave_common_service.
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)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

Not sure I'm doing correctly. How to ensure the metrics still function. Should I bench and open a grafana?

I have compared the deleted code with the code of MetricsManager::boot_metrics_service. The current code LGTM.
Could you also run the bench and check on grafana whether the meta metrics can be produced as original?

Done


Remove superflous call to close VPackBuilder in ShortestPathOptions

This call is actually not superflous.
we first open an object in line 104, requires one  close() call
then we open an array in line 110, which requires another close() call
So 2 closes are required.


ceylon compile highlighting not disabled for non-ttys

For example, with ceylon compile 2>&1| vi -, you get:
^[[34msource/simplejvm/run.ceylon^[[0m:2: ^[[33mwarning: ^[[0mimport is never used: 'ArrayList'
    JArrayList = ArrayList,
                 ^
^[[34msource/simplejvm/run.ceylon^[[0m:10: ^[[33mwarning: ^[[0mimport is never used: 'CeylonList'
    CeylonList,
    ^
^[[34msource/simplejvm/run.ceylon^[[0m:11: ^[[33mwarning: ^[[0mimport is never used: 'CeylonIterable'
    CeylonIterable
    ^
3 warnings
Note: Created module simplejvm/1.0.0

I guess it should only be enabled if stdout and stderr are both TTYs.

Reverted the fix because it removes highlighting in most useful cases as well.

Silly GitHub, if I'm reverting a "fix" I don't want to close the issue.

So a possible solution I see to this is to add a special System property that can be used to force colored or non-colored output. If it's unset we use the Console to detect if we're connected to a TTY and enable colored output based on that.
The problem are the Ant tasks that are never directly connected to a TTY because Ant interposes itself, but perhaps we can try and see if there's a way that we can detect the same inside the Ant tasks and set that property based on that. (Perhaps Ant already has a property somewhere that tells us if we're connected to a TTY or perhaps we can introspect the System.out stream, or whatever.)

One simple solution would be to always use color output if Ant is involved, i. e., change the condition to:
if [ -t 1 ] && [ -t 2 ] || [ -n "$ANT_HOME" ]; then

And then someone will open an issue saying "ceylon ant tasks highlighting not disabled for non-ttys" ;)
But sure, that's a simple enough solution for now.
The only thing is that I'd do it in code because in general I'd prefer to simplify the startup script as much as possible, which is why I said

what OSes do we know of (and support) that need the tput statement to retrieve the color escapes? Can't we just hard-code them in the Java code and remove all this stuff from the startup script?

in the other issue (#6173).

fbterm, for example.
$ tput -Tfbterm setaf 1 | hexdump -C
00000000  1b 5b 31 3b 31 7d                                 |.[1;1}|
00000006
$ tput -Txterm setaf 1 | hexdump -C
00000000  1b 5b 33 31 6d                                    |.[31m|
00000005

What is fbterm and should we care about it? (I mean, we don't have colors on Windows either, so should we support fbterm?)

fbterm is a terminal that runs on the Linux framebuffer. Very convenient if you don’t want to run X/Wayland (more versatile and higher resolution than the standard Linux terminal). I do think we should care about it.

Are you sure? Is it useful enough to enable colored output for it thereby complicating the startup script? (and the somewhat crappy system of passing escape codes via system properties)
If so couldn't we hard-code those sequences too? Or is that going down the rabbit hole of adding each time more and more terminal escape sequences?

If so couldn't we hard-code those sequences too? Or is that going down the rabbit hole of adding each time more and more terminal escape sequences?

Well, you’re solving an already solved problem here, this is exactly what terminfo and tput are for.
I don’t think the startup script is too complicated right now.

Hey you started hard-coding those sequences in the first place! ;)
And like I said, the whole idea of passing those escape sequences using system properties seems a bit crappy. It also means that we don't have colors when the startup script wasn't used to execute the code (which will be the case in the IDE and for unforked Ant tasks for example)

I’m not opposed to reverting b926ae2c4dfeede6983b3b14348bb421071e14c8 / #6138, which would be a way to reduce complexity without removing functionality.
And sure, you could also run tput from ColorUtil or whatever it’s called. Either once, lazy-initializing the variables, or even every time (which would have the advantage that it would work even if tput doesn’t use terminal escapes – see https://github.com/ceylon/ceylon/pull/6102#discussion_r55734954). But then you still need some way to decide when to use color output and when not to.


Fixed 2015 API reference link

Docs Build status updates of commit 300d46d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

biztalk/core/event-hubs-adapter.md
:warning:Warning
View
Details

biztalk/core/install-and-configure-the-management-rest-apis-in-biztalk-server.md
:bulb:Suggestion
View
Details

biztalk/core/event-hubs-adapter.md

Line 13, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'plarsen' is not a valid Microsoft alias.
Line 59, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 114, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.

biztalk/core/install-and-configure-the-management-rest-apis-in-biztalk-server.md

Line 25, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/rest/api/overview/biztalk/?view=rest-biztalk-2016 NOTE: This Suggestion will become a Warning on 1/29/21.
Line 62, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/rest/api/overview/biztalk/?view=rest-biztalk-2016 NOTE: This Suggestion will become a Warning on 1/29/21.
Line 91, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/rest/api/overview/biztalk/?view=rest-biztalk-2016 NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 300d46d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

biztalk/core/event-hubs-adapter.md
:warning:Warning
View
Details

biztalk/core/install-and-configure-the-management-rest-apis-in-biztalk-server.md
:bulb:Suggestion
View
Details

biztalk/core/event-hubs-adapter.md

Line 13, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'plarsen' is not a valid Microsoft alias.
Line 59, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 114, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.

biztalk/core/install-and-configure-the-management-rest-apis-in-biztalk-server.md

Line 25, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/rest/api/overview/biztalk/?view=rest-biztalk-2016 NOTE: This Suggestion will become a Warning on 1/29/21.
Line 62, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/rest/api/overview/biztalk/?view=rest-biztalk-2016 NOTE: This Suggestion will become a Warning on 1/29/21.
Line 91, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/rest/api/overview/biztalk/?view=rest-biztalk-2016 NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Runtime type_mismatch after upgrade to 1.69

Hello,
after my distribution (Arch) rolled out the upgrade to Boost 1.69 I am unable to compile my application anymore.
I try to get the log_level set. Minimal compiling example:
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_parameters.hpp>

bool init_unit_test()
{
  using namespace boost::unit_test;

  auto logLevel = runtime_config::get<log_level>(runtime_config::btrt_log_level);
  return true;
}

int main(int argc, char* argv[])
{
  int retCode = boost::unit_test::unit_test_main( &init_unit_test, argc, argv );
  return retCode;
}

which compiles fine with g++ -std=c++11 -lboost_unit_test_framework boosttesting.cpp or with clang++
but gives an runtime error (exact same for both compilers):
 % ./a.out
Test setup error: boost::runtime::arg_type_mismatch: Access with invalid type for argument corresponding to parameter log_level

% g++ --version
g++ (GCC) 8.2.1 20181127

% clang++ --version
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Thanks!

Hi,
Thanks for the report. Since the error is pretty weird, this might be due to the numerous issues that popped out when the visibility default have changed on the boost project. The symbol btrt_log_level might be seen differently inside the shared library and outside (in your test module).
I have fixed many of those, the fixes are in the develop branch.

Can you reproduce the issue when you statically link to the library? (I hope this is part of the distribution)
Would it be possible for you to give a try on that branch?

If this does not work for you, I'll open a branch for fixing this.
Thanks!

I would love to test and I think my distribution (Arch) also ships the static files (*.a). Could you give some advice on how to statically link?
I removed the #define, of course, but I am unsure about the compiler command line:
 g++ -std=c++11  boosttesting.cpp /usr/lib/libboost_test_exec_monitor.a -lboost_unit_test_framework
boosttesting.cpp: In Funktion »int main(int, char**)«:
boosttesting.cpp:16:51: Fehler: ungültige Umwandlung von »bool (*)()« in »boost::unit_test::init_unit_test_func« {aka »boost::unit_test::test_suite* (*)(int, char**)«} [-fpermissive]
   int retCode = boost::unit_test::unit_test_main( &init_unit_test, argc, argv );
                                                   ^~~~~~~~~~~~~~~
In file included from boosttesting.cpp:2:
/usr/include/boost/test/unit_test.hpp:45:57: Anmerkung:   Argument 1 von »int boost::unit_test::unit_test_main(boost::unit_test::init_unit_test_func, int, char**)« wird initialisiert
 int BOOST_TEST_DECL unit_test_main( init_unit_test_func init_func, int argc, char* argv[] );
                                     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~

@floli
Your code will not work with system boost.test, as main is already compiled into libboost_unit_test_framework.a (See here). You would have to rebuild boost with -DBOOST_ALTERNATIVE_INIT_API (and also #define it in your code).
@raffienficiaud
I investigated the issue using
#define BOOST_TEST_MODULE example
#include <iostream>
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_parameters.hpp>

BOOST_AUTO_TEST_CASE(failDyn)
{
    using namespace boost::unit_test;
    std::cout << runtime_config::get<log_level>( runtime_config::btrt_log_level ) << std::endl;
}

For static linking I used g++ $BOOST_ROOT/lib/libboost_unit_test_framework.a example.cpp, for dynamic linking I used g++ $BOOST_ROOT/lib/libboost_unit_test_framework.so -Wl,-rpath=$BOOST_ROOT/lib -DBOOST_TEST_DYN_LINK example.cpp.
Testing was done on the develop branch, commit aa2ffbf1. The statically linked variant worked just fine. The dynamically linked variant failed with:
fatal error: in "failDyn": boost::runtime::arg_type_mismatch: Access with invalid type for argument corresponding to parameter log_level

This is really odd.

Thanks for the feedback!
May I ask you to try again by replacing
enum log_level {

with
enum BOOST_SYMBOL_VISIBLE log_level {

in the file $BOOST_ROOT/libs/test/include/boost/test/detail/log_level.hpp ?
The assertion is fired by a mismatch of the RTTI for the log_level symbol, my guess is that it is seen differently from within and outside the shared library.

I tried it but unfortunately the error persists.

Thanks for the feedback. Would you please check the branch topic/GH-199-runtime-type_mismatch-after-upgrade ?
Thanks!

Works like a charm :).
Thank You!

Is there a workaround for code that uses Boost.Test <= 1.69 (It was broken since 1.64)?

@Summerdave was it broken since 1.64? I believe the default to hidden symbols was for 1.67/1.68?
Anyway, several options, but none of them will be pleasant to hear :)

if you are able to compile the library yourself, you may ask for default visibility by compiling with (see here):
To disable that feature you can use use a command line ./b2 visibility=global to build.

Applying this fix to boost.test?

Otherwise linking to the static library until you get the fix might be a possibility,

Using the header only variant might be another one?

Having your own way of parsing the command line (will add some doc on how to do it for 1.70)?

None of those solution can use the symbol that you were consuming, it is just "hidden" inside the boundaries of the shared library. I am sorry about that.

@Summerdave was it broken since 1.64? I believe the default to hidden symbols was for 1.67/1.68?

No, it worked fine before Boost 1.69 and will likely work on 1.70. We will find a workaround, thanks for your help @raffienficiaud

@Summerdave was it broken since 1.64? I believe the default to hidden symbols was for 1.67/1.68?
You are right. I compiled Boost.Test with a (very) recent b2 when i checked out the old tag.
Anyway, thank you very much.

I think @Summerdave referred to a conditional compile we had in our project because names changed from 1.64 to 1.65. See https://github.com/precice/precice/commit/41c8a58e56486b9a002ba4712d82af1046d6a0ba#diff-056d65e350602d6404f094b31127c8d9 where the workaround was removed, because we lifted our minimal version requirement to 1.65.


fix 'emptyMethod' folder name

Proposed changes
If Selenide is used with JUnit 5 all reports and screenshots about failed tests will be stored at '../UserRegistrationTests/emptyMethod/1588171516595.0.png'. It is inconvenient, because everything goes to the same folder. With this fix emptyMethod will be replaces with the actual test method name createUserAndLogin, like it is working in Selenide + JUnit 4.
Checklist

[x] Checkstyle and unit tests are passed locally with my changes by running gradlew check chrome_headless firefox_headless command
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

@dengayevskiy-sb Thank you! Merged.


doco says port 8080 but default is 8000

The initial example in the doco says
localhost:8080/happy_birthday?name=Hug&age=1
but the default is 8000 causing initial confusion.
Not a biggie but might confuse newcomers.

Thanks for reporting this! Will fix ASAP

Fixed :) thanks for catching and reporting this!
~Timothy


Basic mechanic for displaying controlled by info

Description
Changes proposed in this pull request:

Add basic mechanic for displaying controlled by info

Related issue(s)

/retest

/test pre-busola-integration-test-k3s

/retest

/test pre-busola-integration-test-k3s


Android Q redirectUserToSignIn(...) not opening browser

After update to Android Q call of redirectUserToSignIn not launching  Mobile web browser. I tried on multiple devices same behavior works on Android 7, 8 fails on 9(Q)
Log from device:
SessionStore: set session data in store {"transitKey":"......"}
LogConsole: [INFO] blockstack.js: generating v1.3.1 auth request
LogConsole: [INFO] detected mobile OS, sending to https

I am running apps on Android 9 successfully. This issue is about Android 10 (Q).

@igorkos I could successfully login on helloblockstack.com. Could you please provide more details?

I only see provided log  lines. I ruined to this issue on 2 devices they was running Android 8. On both I successfully logged  and receiving call back. On some moment upgrade to android Q happened after upgrade my application was running fine up to moment when I sign out. After signing out I can't invoke browser to proceed with new signing.

@igorkos If you uninstall the app and reinstall, does that solve the problem? Do you think the problem is with the browser or with the Android app?

Process: com.kosulin.photo_boost, PID: 31020
android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
at android.app.ContextImpl.startActivity(ContextImpl.java:937)
at android.app.ContextImpl.startActivity(ContextImpl.java:913)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:379)
at org.blockstack.android.sdk.BlockstackSession$JSAndroidBridge$setLocation$1.invoke(BlockstackSession.kt:1042)
at org.blockstack.android.sdk.BlockstackSession$JSAndroidBridge$setLocation$1.invoke(BlockstackSession.kt:813)

Modifying BlockstackSession.kt line 1043 to fixed problem
it.startActivity(Intent(Intent.ACTION_VIEW, locationUri).addCategory(Intent.CATEGORY_BROWSABLE).addFlags(FLAG_ACTIVITY_NEW_TASK))

I don't think that is the right solution here.
@igorkos It looks to me that your call needs to made from a different context.
Could you please share some more information when this error happens? Does it happen when you call redirectUserToSignIn? How do you call that method?
Furthermore, we have a new version in beta that reduces the size of the SDK by 60+%. Have you tried https://jitpack.io/#blockstack/blockstack-android/9884ffb ?

@igorkos Could you please verify with version 0.5.0 of the SDK?

I am closing this due to inactivity. @igorkos Please open a new issue if you still see problems with the redirect.


v1beta2 API support and replicating resources across Tenant namespaces

Closes #426
Closes #431
Closes #525
Closes #416
Closes #222.
Closes #657.

@MaxFedotov PTAL, tests are flaky and locally seem working, along with the new e2e tests.
I'm not promoting v1beta2 as the new stored version in etcd since we're waiting for first feature proposed with #436: do you agree?

@prometherion it seems to me that #222 can be solved by this PR too.

@MaxFedotov I addressed all your required changes, please, could you take a look again?

@MaxFedotov we should be there, my bad, I missed all the requested changes due to the GH UI.
This is a huge PR, keep in mind we're not yet moving to the v1beta2 as the storage version, with that said, I think we could get this merged, and if we find issues or typos, fix them, also considering we're going to switch the default type to the latest one with #652.

Thanks @MaxFedotov , I love you for the great review work you put in place! ❤
Everything should be settled, fingers crossed for your review! 🤞🏻

Going to merge this into a development branch that will be merged to master once ready for the final release.


Document usage with no-extend-native

fix #55

o/ I think I've transcribed your notes alright. Please do flag or amend any incongruities. Thanks!

Coverage remained the same at 100.0% when pulling 9a4722770373124df0466e1cc620df899609c8d7 on niedzielski:patch-1 into 50bda47b09923e045759db8e8dd01a0bacd97370 on dustinspecker:master.

This is great! Thank you a lot!


Websocket disconnect

Hi, I know that there's been 2-3 previous issues with the websocket disconnecting and never retrying.
I'm still experiencing that every 2-3 hours even after trying all the suggestions.
How did you solve it?
Thanks!

I don't think there has been a resolution yet - it's an issue that I'm not able to replicate and everyone that has had the issue never said if they solved the issue or not. If I were in your shoes I'd be trying to figure out a way to tell if the socket has disconnected without the event firing by looking at the connection variables and seeing what's available and/or trying to send periodic events and seeing if you get errors.
Let me know how you go, I'd appreciate it.


Add interface to require only one of two (or more) properties to exist

http://docs.developer.amazonservices.com/en_CA/fba_inventory/FBAInventory_ListInventorySupply.html
APIs like above have a clause in their parameters like
Yes, if QueryStartDateTime is not specified.

Specifying both QueryStartDateTime and SellerSkus returns an error.

there's another API with the same parameter requirement but I forgot which. Will need to review docs of currently implemented APIs
Small change but still a DX improvement

relevant: https://stackoverflow.com/questions/40510611/typescript-interface-require-one-of-two-properties-to-exist

Yeah, good call!


file_data: use for block changes, and supporting multiple levels of indirection in reads

This PR was to moves all of the unembedded block change work into fileData, for both creation and reading.
While I was working on reading data, I took the opportunity to combine the block change reads with the  folderBlockOps.Read() functionality, moved it all into fileData, and updated it to a) support multiple levels of indirection, and b) fetch blocks in parallel.
I plan to add a whole slew of fileData unit tests in a separate PR once it supports multiple levels of indirection everywhere.  For now, I think the existing tests cover it pretty well.
Issue: KBFS-35

Fixed @akalin-keybase's comments, ready for another look.

Thanks @akalin-keybase, I think I addressed everything, another look please.

This PR had some racy blockLock issues, due to multiple goroutines trying to grab a read lock at the same time, and any incoming write request could cause a deadlock.  Now f8d1ae4 instead allows those parallel goroutines to all fetch blocks assuming the lock is already held by some parent goroutine waiting on them.
cc: @songgao


Remove binaries and add .gitingore

Removing .o and executable files from the repository and set them untrackable in .gitignore

Looks good. Approving.

Hi! Thank you. When will it be merged?

Looks good. Approving.

Hi! Thank you. When will it be merged?

You could now use "Squash and merge" in the PR below to merge the approved changes.

Looks good. Approving.

Hi! Thank you. When will it be merged?

You could now use "Squash and merge" in the PR below to merge the approved changes.

I think I don't have write permission for the repo, therefore I can't merge it


CC73356: Wrong reference to CONTRIBUTING.md

Hello, @ghogen, @Taojunshen,
This proposed file change comes from https://github.com/MicrosoftDocs/visualstudio-docs.de-de/pull/18 .
Could you review this contribution and help to merge if agreed?
Many thanks in advance.

@v-makoud : Thanks for your contribution! The author, @, has been notified to review your proposed change.

#sign-off

@ghogen: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Debug tests in AndroidStudio

Exists any way to run tests via robo-java in debug mode in AndroidStudio?

debugging is fully supported already. just set breakpoints and hit the debug button in studio. Can you be more specific what the problem is?

What is the run configuration to start the debug process?
I go to:
Run > Edit Configurations > Add New Configurations (The + button) > Gradle
And edit with my project and the task test.

In the new versions of Android Studio the option "Use in-process build" is enabled by default, it should be disabled to run the test in the debugger.
See this link for more info about how disable it.


How to preview a file

Description
It appears that, before recent changes, each instance had an associated URL which, presumably, could then be used as a preview of any files.
How is that possible on the new version? I can't find any place within the coder.com hosted version where I can find that unique URL... and therefore can't work out how to see a preview of the files without doing a push to another server.
On my local machine, I use Live Server, not sure how to do that on the hosted version!
Any help appreciated :-)

Hello @danleighton,
Since you're using our hosted version, please open a support ticket or drop a comment in the Support channel of our Discord.
Thanks!

Happily will. Can't immediately find your Discord channel. Please let me have the link if possible!
Many thanks
d.

Ah!
Very well hidden behind a tiny little icon at the bottom of the page:
https://discordapp.com/invite/jvZN2kZ
Thank you!


Incorrect documentation

README.md still has original form from time of fork from hustcat repo, while name of parameters was changed quite long time ago.
Correct example can be found in multus docs, but IMO README.md in this repo should also have at least rename of master to if0 and so on.

README.md has been updated with correct parameters.


[BUG]: Knowledge/Dataset not going to gemini?!

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
how do i solve this?
gemini doesnt see any knowledge or datasets. works fine with openAI or claude APis
main thing is its not even working if i check "Pin Knowledge" its still not working either
Are there known steps to reproduce?
append vector DB to gemini.

https://docs.anythingllm.com/llm-not-using-my-docs
How to you know that no information is going to Gemini and it's not just bad queries resulting in no similarity search results?


Regression in LowCardinality(Nullable(String)) type processing in v4.0.5

What happened:
Trying to select a column of aforementioned type returns an error:
sql: Scan error on column index 0, name "%column_name%": unsupported Scan, storing driver.Value type *string into type *string: Could not process SQL results

It seems to be a regression of #785, wherein the regexp for "Nullable(String)" Converter has been changed to match on the beginning of string only, thus not matching LowCardinality(Nullable(String)) anymore (and in this case default Converter is used and that is probably the cause of the error).
I've downgraded datasource version to v4.0.4 to corroborate that and the error indeed disappeared.

What you expected to happen:
No errors.

How to reproduce it (as minimally and precisely as possible):
In Explore view:
select
    toNullable('test')
;

OK
select
    toLowCardinality('test')
;

OK
select
    toLowCardinality(
        toNullable('test'))
;

Error:
sql: Scan error on column index 0, name "toLowCardinality(toNullable('test'))": unsupported Scan, storing driver.Value type *string into type *string: Could not process SQL results

Environment:
v4.0.6, grafana v10.4.1

@SpencerTorres As you were involved in the PR that @btmc linked to above, would you be able to comment on this? As they rightly point out, ^ matches the start of string, meaning that nesting within LowCardinality() would indeed break after this PR was merged.


Ksync image name is broken and unable to be recovered

Issue:
After using ksync(and potentially not stopping the running ksync instances) the command line version of ksync was updated. Now with the newer version the image name is just vaporio/ksync:git-  so it looks like this line is not coming back with data even though when a ksync version is run it looks like this:
ksync version  ksync:  Version: Release  Go Version: go1.12.1  Git Commit: c27ce95  Git Tag: 0.3.6  Built: Mon Mar 18 17:06:42 +0000 2019  OS/Arch: darwin/amd64  FATA[0002] no healthy nodes found
This causes all the pods to fail to initialize since the image can not be found.
What I have tried:

Re-initializing the ksync process
removing the pods and allowing them to re-generate
stopping the ksync and starting it again
Trying to initialize with a specific image(it does not use the image flag given so ksync init --image=vaporio/ksync:0.3.6 was run but it does not use that image name at all and instead leaves it as before)
Deleted the config files with ksync clean --nuke and then re-initialized but it still pulled the old non existing image name

Is there some other file I need to be looking for which could cause this issue? Also why does the manual initialize not work?

I suspect this is due to the loss of a CI environment we had recently. I'll look into fixing the issue, but it should be able to use the last viable tag.
Can you try the following:
ksync clean --nuke
kubectl --namespace kube-system get ds ksync

There should be no daemonSet for ksync there, or it should be deleting.
Then:
ksync init --image vaporio/ksync:0.3.5

Give it time to start up.
See if that gives you a different result.

Ping @grampelberg

@timfallmk it appears that the cause was different versions of Helm installed which meant that dependencies(including ksync) from another command line tool were overriding the ksync commands(I think). It is very strange that the ksync clean --nuke did not work though....
I think you can close this

Oh weird. I assume the "other tool" was jx.
The only remote things that clean does is remove the configured daemonSet. It looks for that based on the configuration in the config file.


TEMP Test rspec fix

Testing if RSpec tests will pass before adding to branch.

I just wanted to verify the MySQL and PostgreSQL workflows would pass.


ci: Pin tarpaulin version

See https://github.com/actions-rs/tarpaulin/issues/15 for more information.

Codecov Report

Merging #82 (56012aa) into main (96901ab) will decrease coverage by 10.60%.
The diff coverage is 23.71%.

@@             Coverage Diff             @@
##             main      #82       +/-   ##
===========================================
- Coverage   61.35%   50.75%   -10.60%
===========================================
  Files           3        4        +1
  Lines         251      331       +80
===========================================
+ Hits          154      168       +14
- Misses         97      163       +66

Impacted Files
Coverage Δ

src/main.rs
10.37% <0.00%> (-0.97%)
:arrow_down:

src/utils.rs
0.00% <0.00%> (ø)

src/cli.rs
44.77% <30.61%> (-42.73%)
:arrow_down:

src/plot.rs
92.02% <72.72%> (-1.82%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Remove cli module?

@anhiga I'm assigning this one to you - decide if you are reusing part of this code, or else remove it :)

#198
I think this can be closed now.


kubernetes: 1.13.9 -> 1.13.10

Motivation for this change
This as well as the Golang 1.11 bump (#67485) both address CVE-2019-9512, CVE-2019-9514.
ref: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.13.md#changelog-since-v1139
RBAC and DNS test cases run clean locally.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Superseded by #69042


lightbox: Fix image title and add tippy toolips.

First commit:
This commit attempts to fix the image title in the lightbox preview for
an image. The title had the text fetched from the default title attribute
for the element, due to which it had the same text as the default
tooltip.
For this a new attribute named data-id has been created which would
first get the text from the title attribute and then it is removed to
avoid the default tooltip.
A new function init_image_title_tooltip is added which would add a tippy
tooltip for the image title in lightbox using the setContent method.
The content for this tooltip would be :
Image name
File name: <file name>

Second commit:
This commit attempts to add a tippy tooltip for the images in the
message feed in the format of View or download <image_title>.
Fixes: #21333
Testing plan:
GIFs or screenshots:

@Fingel I've updated the PR with some changes addressing your feedback.

Hi Somesh, thanks for your revisions! It looks much closer now, though there are still a few issues.
I opened an alternative PR that you can take a look at here: #21468
There are a few things I decided to differently. The main thing was to keep the logic in clean_user_content_links intact:
https://github.com/zulip/zulip/blob/3dee5e63e5fb25d45ecf74904364a59eca37a88f/static/js/util.js#L254
It may be true that we don't want to modify the title attribute for all user uploads, but that's a discussion we should have instead of assuming it and removing the functionality. That code was written for a reason and without understanding those reasons I am not comfortable removing it. So this other implementation just disables it for inline images, nothing more.
I also didn't find it necessary to construct the tippy tooltip in a dedicated function in lightbox.js. Using a delegate in tippy.js just like the ones for the inline attachments seems to work fine, assuming the title is set properly (which is is after sidestepping the logic in utils.js.

Closing in favor of https://github.com/zulip/zulip/pull/21468, which was merged earlier today.


WSL command line install freezes halfway through

Version
Microsoft Windows [Version 10.0.19044.1645]
WSL Version

[ ] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
I'm not sure how I got this to happen
Expected Behavior
WSL installs like normal
Actual Behavior
WSL installs a little in the percentage bar, then freezes midway through.
Diagnostic Logs
No response

/logs

https://aka.ms/AAgoxi6


add hello world website

Codecov Report

Merging #9 (1a8db1f) into master (dd11cda) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 1a8db1f differs from pull request most recent head 1223631. Consider uploading reports for the commit 1223631 to get more accurate results

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   64.21%   64.21%
=======================================
  Files          22       22
  Lines         299      299
  Branches       41       41
=======================================
  Hits          192      192
  Misses        107      107

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update document description for departAt and arriveAt

Data Plane API - Pull Request
Update document to enable departAt and arriveAt in the past
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[x] a public preview
[ ] GA release

Change Scope
Update description for DepartAt and ArriveAt
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Schedule a data plane REST API spec review

Checks stuck in `queued` state?
If the PR CI checks appear to be stuck in `queued` state, please add a comment with contents `/azp run`.
This should result in a new comment denoting a `PR validation pipeline` has started and the checks should be updated after few minutes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
preview


KHR_animation_pointer

@julienduroure great work! I'd be really interested in using this PR in our workflow. As it's currently draft, what's the status? Anything that needs assistance?

@mikeskydev Online some minor cleaning is needed.
Note that this PR will not be merged before the glTF extension is officially ratified by Khronos, that still need to be done


Lumo Dark Theme for Vaadin 13

Describe the bug
Seems like Lumo.DARK is broken (all elements are white, except Grid)
But Material.DARK works fine.
To Reproduce
Steps to reproduce the behavior:

Add @Theme(value = Lumo.class, variant=Lumo.DARK) to class, which extends AppLayoutRouterLayout
Run application

Expected behavior
All UI in Dark colours
Screenshots
Lumo.DARK

Same with Material.DARK

** Additional Information (please complete the following information):**

OS: Archlinux
Browser firefox, chrome, safari
Version 3.0.0.beta5

Workaround from examples
/**
     * Using the @Theme Annotation to set the Dark Theme causes issues with shadows which will appear in
     * the wrong color making them seemingly invisible. Instead do it the following way as long as the issue is not
     * solved (https://github.com/vaadin/flow/issues/4765)
     */
    @Override
    protected void onAttach(AttachEvent attachEvent) {
        super.onAttach(attachEvent);
        getUI().get().getPage().executeJavaScript("document.documentElement.setAttribute(\"theme\",\"dark\")");
    }```

Just had a look into this, Vaadin fixed this Issue for Flow 1.5.0.alpha1, which is shipped with Vaadin 14.


fix: Fix Azure Queue TriggerAuthentication E2E test failure

E2E test case in file scalers/azure-queue-trigger-auth.test.ts used to fail with below error.
Error getting triggerAuth
{
  "type": "ScaledObject",
  "namespace": "azure-queue-auth-test",
  "name": "test-scaledobject",
  "triggerAuthRef.Name": "azure-queue-auth",
  "error": "TriggerAuthentication.keda.sh \"azure-queue-auth\" not found"
}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).buildScalers.func1
        /workspace/pkg/scaling/scale_handler.go:301
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).buildScalers
        /workspace/pkg/scaling/scale_handler.go:309
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).GetScalersCache
        /workspace/pkg/scaling/scale_handler.go:189

The reason for error must be the order of creation of resources, as the ScaledObject was being created before the TriggerAuthentication and after correcting the order, the test case started to run successfully. I could not figure out why the test case used to succeed until two months back, and what exact change caused the test to fail. Another peculiarity I found during debugging is that the test case succeeds if the KEDA operator is hosted locally (with operator SDK framework) but fails if it's hosted on the cluster.

Also, updated the test queue name to match with the one specified in the trigger bindings of the target Functions app.

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #2268

/run-e2e azure-queue-trigger-auth.test*

Thanks for this! ❤