F-Droid version still on v1.0.9 - Currency Converter Broken

The F-droid listing for this app hasn't been updated to v1.1.0 yet. Since the currency converter is broken on the previous version, I'm requesting you update the app on F-Droid repo as well. Grabbing the apk from your GitHub v1.1.0 release for now.

Hello @Blend3rman, as far as I know, the app did update on F-Droid 2 days ago.
I just checked both the website and the app as well, it seems to have updated:

Are you sure you updated the F-Droid app repositories?

It's updated for me and the currency converter is working.
Maybe @Blend3rman you have networking issues

I had same problem, clearing cache and storage solved it.


Feature migrate to ngrx

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature
What is the current behavior? (You can also link to an open issue here)
https://github.com/AngularClass/angular-starter/issues/1889
What is the new behavior (if this is a feature change)?
keep state on ngrx
Other information:

@kiszabeary unfortunately you are using the old version of @ngrx and it takes quite a few changes to successfully upgrade.
I've got it working perfectly on a fork of this project here with all the DevTools and debug reducers:
https://github.com/colinskow/angular-electron-dream-starter
Since my project is a relatively close fork of this repo you can probably copy and paste most of the relevant files. You've got /src/app/app.module.ts and /src/app/reducers as the main files you need to update.

State management using ngrx might be a bit too much for a starter project like this one since not everyone out there are going to use it. There are also seemingly no really good up to date samples of production quality code that utilizes ngrx/platform.
In any case it have to be first updated to the latest version of ngrx/platform - 4.1 (currently).


Add streaming feature to Kafka connector

Description:
Introduce new feature to enable streaming capability in the Kafka connector.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):
https://github.com/wso2/ballerina-integrator/issues/100
Suggested Labels (optional):

Suggested Assignees (optional):

Any update on this? Not sure what this Kafka module can do,  if streaming is not a standard feature?

We will get this prioritised and update soon. Thank you for raising this.
To answer the other question, Kafka provides 5 main APIs.

Kafka Producer
Kafka Consumer
Kafka Streams
Kafka Connect
Kafka Admin

Currently Ballerina Kafka module supports Kafka Consumers and Kafka Producers. You can look into the Ballerina Kafka API docs for more details.
There are Kafka examples too in Ballerina By Examples page.


Milestone 1 feedback

Great job overall, README is clear and the functions make sense. Some functions could use more detailed descriptions.
Is there are a reason why reducolor is in a separate script?
Missing Clara's e-mail in contributors.

Thank you Javier. It's all updated as per your suggestions. #29, #30

Added more detailed description for img_filter() function to README.md with pr #36

more description for reducolor added #38


Set the Video Resolution

According to the current specifications, the resolution will be
1440x720.

Hi,
Sorry for the delay
Though yet unwritten rules, I want the commits to all be of the form subject: message. This means that here the commit message would need to start with pine64-dont-be-evil: ; the subject being either the part changed or the device affected.

Here I'm closing the PR because this is a WIP branch; in the future I will add WIP work to another fork of this repo. I will likely review the whole commit history of this branch when I resume work on the devkit.
Thanks for the contribution anyway!


Porcupine Licensing and Access Key

I'm just curious about the licensing of your porcupine wake word detection engine.  From the Apache license included in this github repo, I'm assuming it's free to use for whatever project you like; however, the requirement for an Access Key concerns me a bit.  Why is an Access Key required?    Will the key ever expire?
Thanks for sharing this excellent technology.

Thank you for you kind words.
Picovoice engines require an AccessKey, and therefore intermittent internet connectivity, to be able to offer its services according to your plan limits detailed on our pricing and FAQ pages. The Free Plan allows prospects to try the engines and see how they work, including this tracking behaviour. The real-time usage info is available on the Picovoice Console. The key itself do not expire, only the usage limits they are tied to. The Free Plan has usage limits, but these reset monthly.
We understand some enterprises may not have time or resources to leverage Picovoice’s Free resources. Hence, we offer an optional Support Add-on for those interested in taking the expert-guided path. If you wish, you can send a support request to work with a subject expert who can help you with implementation and optimization. If Free Plan limits do not meet your requirements, you can check our paid plans

The license in this repository is plain wrong. According to the license I can download the binary and do whatever Apache License 2.0 allows to do with it, which includes removing any references to access keys and your service.


v0.1.5 freezed when enter blacklist

When i select > blacklist the app freeze for a few seconds (3 to 10 secs). After that, it shows the list of domains with the last entry ending with a color code.

@Kunniii have you or anyone you know worked with bubbletea? This bug kills me, sometimes it works as expected, sometimes it freezes...

@Kunniii btw what terminal are you using ?

It's Alacritty

I am using oh-my-zsh and warp.dev

This issue is strange, sometimes it works, sometimes it hangs.

I end up with these weird symbols in input. Not sure where they come from.

I think the problem is when we load the hosts to show it on textarea. Once you write the hosts to the hosts file, the next time it loads correctly.

When I comment this line it work well, but we kind of need to set the value there.
// m.textarea.SetValue(strings.Join(m.domains, "\n"))

@Kunniii I solved it by overriding the styles of textarea. I noticed that this issue is caused by libgloss.Adaptive and doesn't appear if I use constant colors. Please install the latest version and verify.

Great! I also noticed that the color code is from the default LibGloss style of the textare! Thanks for the fix!


Drop unneeded mut qualifiers on API

Just something I noticed the other day - Neovim<W>::ui_attach and
Neovim<W>::quit_no_save require self be mutable but never actually modify
it. So, let's fix that.
Licensing: The code contributed to nvim-rs is licensed under the MIT or
Apache license as given in the project root directory.

Thanks :)


Arduino Due

Is it possible to use this lib with an Arduino Due?
My first test failed, as the DMAChannel.h file is missing. I never saw a Teensy, but I think the file is included in the Teensy core, right?
Accordingly, it's not possible to use the lib without further ado?

I would doubt that this library would work with Arduino Due.  The underlying code works directly with the hardware registers, including DMA...
It probably could be ported but not sure how much work.
You should be able to use the Adafruit_ili9341 library

I was afraid, that you say that :-)
Thanks for your quick response.


Maps/reserved traits

Set reserved Org level traits to Localytics via:
[Localytics setCustomerFirstName:@"John"];
[Localytics setCustomerLastName:@"Smith"];
[Localytics setCustomerFullName:@"Sir John Smith, III"];
[Localytics setCustomerEmail<EMAIL_ADDRESS>
Keeping current behavior mapping to email as well so this will not be a breaking change (i.e. some users may have Audiences/reports built off of those traits). These reserved traits are used to create personalized emails, where the general custom traits cannot.
Reference
Urgent for Xoom: JIRA
Also ran formatter, and of course forever waiting for Travis. Canceled one build.

Please don't change the formatting as part of another change, it makes it hard to review the change.  If the codebase needs formatting, it should be a different PR.

@f2prateek  Updated


RFC: changing type-composition from "Foo(Bar)" to "Foo"

By looking at the PreImage example from the docs I've realised there's this special type called Sha256(Bytes).
First, I'm wondering, is this type just acting as a keyword, or does ivy actually parse the parenthesis to find a type composition between Sha256 and Bytes?
If it's the latter, I would recommend changing the character for this kind of type composition to use <> instead of (), so instead of Sha256(Bytes) it would be Sha256<Bytes>.
Main motivations:

It would read a bit cleaner, since there's less need for the eye to "compute" nested parenthesis.
It resembles generics notation in languages such as C#, Java, F#, etc.
It potentially simplifies the implementation of the compiler? Given that parenthesis characters would have one less function.

Any feedback welcome.

Yes, Ivy parses the parentheses (so you can have arbitrarily nested types, like Sha256(Sha256(Sha1(PublicKey)))).
I prefer parentheses to angle brackets because that's Ivy's convention for function application, and really this is supposed to evoke that the type Sha256(Sha1(Bytes)) represents the application of the sha256 function to the result of applying the sha1 function to a bytestring. Additionally, you can think of Sha256 as a function that takes a type like Bytes or PublicKey and turns it into a new type (like Sha256(Bytes) or Sha256(PublicKey)). We thought about angle brackets but ultimately it would be adding a little extra syntax to the language when it's not necessary. Finally, angle brackets look a little ugly.
(I don't know any other language that use parentheses for type parameterization, but languages like Haskell use the same conventions for type parameterization as for function application—i.e., just a space).
As for the implementation of the parser, this wouldn't make that any more or less complicated, because there's never ambiguity in whether you're expecting to see a type or a value.

Fair enough!


Question about configuring a location of generated resources for WebSharper client control

Tried to use this extension to embed a WS client-control to an ASP.NET app (was using WebSharper 4 so I've just recompiled this library with new version of WebSharper).
But ran into some errors in web-console, which says that included scripts have not been loaded -- there were no WS-generated scripts in /scripts/WebSharper folder.
Initially I put my control code in "WebSharper Library" project. So there were no generated scripts neither in MyAspNetApp/Scripts/WebSharper folder, nor in the MyWebSharperLib/Scripts/WebSharper folder.
Then I've changed "WebSharper Library" project type to "WebSharper Client-Server App" (just created a fresh one and put my control code in it). At this time scripts were generated, but in the MyWebSharperApp/Scripts/WebSharper, whereas in the <head> of the ASP.NET page all resources links use Scripts/WebSharper folder in the ASP.NET project. So it again can't locate the resources.
How can I make my control's resources being generated in ASP.NET project's Scripts folder instead of  WS project's one? Or, maybe, how can I change resources' (scripts') paths to their actual location's path?
And also why the scripts are not generated at all in case of "WebSharper Library" project?

You need to turn your ASP.NET project itself into a WebSharper client-server app. For this, you simply need to add WebSharper.CSharp as a NuGet dependency and add <WebSharperProject>Website</WebSharperProject> in a PropertyGroup of the project file.

@Tarmil thanks, did not suspect, that the ASP.NET project should have this property. Thank you. Now the scripts are generated in the ASP.NET project's Scripts/WebSharper folder. I also noticed that if the control uses, for example, UI.Next and WebSharper.Forms, these assemblies should also be referenced by ASP.NET project, otherwise not there are some errors about missing scripts and control still doesn't render. However when I've referenced the assemblies, the another error appeared -- now at the compile time. Here it is:
D:\Prog\Web\WebSharper.AspNetMvc.Test\packages\WebSharper.UI.Next.<IP_ADDRESS>\build\WebSharper.UI.Next.targets(32,5): error MSB4062: The "WebSharper.UI.Next.CSharp.Templating.Build.WebSharperUINextCSharpGeneratorTask" task could not be loaded from the assembly D:\Prog\Web\WebSharper.AspNetMvc.Test\packages\WebSharper.UI.Next.<IP_ADDRESS>\build\/../tools/WebSharper.UI.Next.CSharp.Templating.Build.dll. Could not load file or assembly 'FSharp.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Не удается найти указанный файл. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
I have bindingRedirect for FSharp.Core in my Web.config: <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />, so I don't really understand what the error is about. Do you know what the problem may be?

I've tried to build the project again, but now in the right way -- using build.cmd script (previously I done this using MsBuild with Paket for dependencies -- as for usual VS project). After that the problem described above has disappeared, and now my client control successfully works in the ASP.NET MVC project.
P.S. And the WebSharper version used is 4.1 now 😃

@ArtemyB  Can you please give that build.cmd script, so that others could resolve this issue too?

@V0d01ey that was build.cmd from this repo, I used it without any changes. The only change needed is new NuGet.exe, which can be downloaded from here.


Error when importing color_conversions module

Using colormath 2.1.1, python 3.6.2. When I try to import convert_color I get the following error:
Traceback (most recent call last):
  File "[removed]", line 2, in <module>
    from colormath.color_conversions import convert_color
  File "C:\Program Files\Python36\lib\site-packages\colormath\color_conversions.py", line 167, in <module>
    def Spectral_to_XYZ(cobj, illuminant_override=None, *args, **kwargs):
  File "C:\Program Files\Python36\lib\site-packages\colormath\color_conversions.py", line 159, in decorator
    _conversion_manager.add_type_conversion(start_type, target_type, f)
  File "C:\Program Files\Python36\lib\site-packages\colormath\color_conversions.py", line 125, in add_type_conversion
    self.conversion_graph.add_edge(start_type, target_type, {'conversion_function': conversion_function})
TypeError: add_edge() takes 3 positional arguments but 4 were given
Press any key to continue . . .

To reproduce all you need is a python file with one line: from colormath.color_conversions import convert_color.

You have to downgrade networkx to >2.0  for colormath 2.1 because the requirements are to too loosely defined in the setup.py

Did you mean <2.0? Or do I have to upgrade to the dev version of networkx (2.1)?

Yes, I mean <2.0 :)
The have only to release the latest version to pypi, then it will work again.

Alright, downgraded to 1.11 and now it's working perfectly. Thanks for your help!


Custom Resources to add ca-certificate

Hi
we use kong kubernetes-ingress-controller
is some Custom Resources available to add ca-certificate?
the option of adding via rest api is not suitable.
thanks!

Perfect timing.
We have this as a backlog item as well.
@elkh510, in your use-case, would storing the CA certificate in a Kubernetes Secret or ConfigMap work rather than another CRD?

Hello
we use Kong for Kubernetes.
There is a need to use MTLS.
we create the mtls plugin in this way:
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
  name: mtls-auth
plugin: mtls-auth
disabled: false
config:
  ca_certificates:
    - $ {ca_certificates_id}
  skip_consumer_lookup: true
  consumer_by: []
  authenticated_group_by: "CN"

but before creating you need to know $ {ca_certificates_id}.
I would like to have a CRD, in which you can add your own (or generate automatically with the specified parameters) ca certificate, and in Plugin ("mtls-auth", the example of which is given above), refer to this CRD.
Based on how we use Kong for Kubernetes now, it would be convenient to store the ca certificate in Kubernetes "Secret", which will have 2 fields:
one for certification,
second for ca certificates id

@hbagdi do you mean that it is possible to use Kubernetes secret or ConfigMap with mtls-auth plugin?

do you mean that it is possible to use Kubernetes secret or ConfigMap with mtls-auth plugin?

No it is not possible to use it today but it is something that is high on priority list.

Based on how we use Kong for Kubernetes now, it would be convenient to store the ca certificate in Kubernetes "Secret", which will have 2 fields

What if the secret has only a single field to store the CA cert and we re-use the UID of the secret resource as the ID in Kong's database? Does that work? The reason for doing this is to minimize the amount of configuration that the user has to provide, which also reduces the scope of errors.

What if the secret has only a single field to store the CA cert and we re-use the UID of the secret resource as the ID in Kong's database? Does that work? The reason for doing this is to minimize the amount of configuration that the user has to provide, which also reduces the scope of errors.

if in the field "ca_certificates"  will be an opportunity to refer to a secret with CA cert, yes, for us it will work.
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
  name: mtls-auth
plugin: mtls-auth
disabled: false
config:
  ca_certificates: // **opportunity to refer to a secret with CA cert**
    - $ {ca_certificates_id}
  skip_consumer_lookup: true
  consumer_by: []
  authenticated_group_by: "CN"

Yes, you will be able to specify the cert ID materialistically.
Thank you for your response @romanp-lohika-tix!

Hello @hbagdi, do you have ETA for this to be implemented? Absence of this feature makes our configuration a very complicated process on a big amount of mtls-auth plugins.

Hello @hbagdi
any updates ?

set env KONG_SSL_CERT  and KONG_SSL_CERT_KEY
ca_bundled.crt is created by concat cert.crt and ca_cert.cert together.
kong:
    image: kong:3.8
    ports:
      - ${KONG_HTTP_PORT}:8000/tcp
      - ${KONG_HTTPS_PORT}:8443/tcp
      - 8001:8001
      - 8002:8002
      - 8444:8444
    environment:
      KONG_SSL_CERT: /certs/ca_bundled.crt
      KONG_SSL_CERT_KEY: /certs/cert.key
    volumes:
      - ./Volumes/certs:/certs:ro

ref. [https://www.linkedin.com/pulse/kong-api-management-ssl-configuration-g-manoj-kumar-reddy]


chore: update provider reference in all Metal acceptance tests

Every time we convert a resource from SDKv2 to framework, we end up needing to touch acceptance tests for unrelated resources so that those tests are using a provider that is aware of the moved resource.
Rather than making these changes piece-by-piece, this updates every Metal acceptance test so that they will be able to find a resource no matter which provider it is currently implemented in.

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

Project coverage is 42.08%. Comparing base (053d04f) to head (18a0159).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #586   +/-   ##
=======================================
  Coverage   42.08%   42.08%
=======================================
  Files          98       98
  Lines       18401    18401
=======================================
  Hits         7744     7744
  Misses      10453    10453
  Partials      204      204

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[test-triage] cfg.chip_vif.pmp_addr[3] rom_e2e_asm_init_test_unlocked0

Hierarchy of regression failure
Chip Level
Failure Description
https://github.com//lowRISC/opentitan/issues/18057 was closed after the timeout was increased, but the timeout was masking a failure
  UVM_ERROR @ 77223.322470 us: (chip_sw_rom_e2e_asm_init_vseq.sv:176) [uvm_test_top.env.virtual_sequencer.chip_sw_rom_e2e_asm_init_vseq] Check failed cfg.chip_vif.pmp_addr[3] == epmp_addr_tor(FLASH_TEXT_START_ADDRESS) (134217984 [0x8000100] vs 134219968 [0x80008c0])
  UVM_INFO @ 77223.322470 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

Steps to Reproduce

GitHub Revision: 50278df8b
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i rom_e2e_asm_init_test_unlocked0 --build-seed<PHONE_NUMBER> --fixed-seed<PHONE_NUMBER> --waves fsdb

Tests with similar or related failures

[ ] rom_e2e_asm_init

Also affects

[ ] rom_e2e_asm_init_test_unlocked0
[ ] rom_e2e_asm_init_dev
[ ] rom_e2e_asm_init_prod
[ ] rom_e2e_asm_init_prod_end
[ ] rom_e2e_asm_init_rma

I can take this one, its a simple fix.


Remove freddy

Responding to https://github.com/pulumi/docs/issues/6380.

This is covered in Lee's PR https://github.com/pulumi/pulumi-hugo/pull/535/


Add a 'pastDayButton' customStyle

@BricePissard Thanks for the PR but this is conflicting with a commit here that i've already merged.
I think you just need to drop this commit fb9ca18b3add1a023e04f69d4cf9b3d860373ea3

Sorry for the delay correcting the merging issue.
The current commit allows to set two new custom styles for past dates, letting user choosing  whether the rounded selected date button should appears differently.
Ex:

<Calendar
  ...
   customStyle = {{
      ...
      pastDayButton: {...}
      selectedPastDayCircle: {...}
   }}
/>


Add snake_case attribute to fedimint-In-client for JSON serilaization [Fixes @3332]

Hopefully fixes @3332
As pointed out by @elsirion, the merged PR #3360 did not completely solve the scope of the issue. I have added the rename to snake_case attribute to all the relevant enums and structs in the fedimint-In-client module.
As I am pretty new to fedimint, I would greatly appreciate it if you could help me with these queries along with reviewing this PR:

Are there any commands I can run to verify the changed nature of the JSON output as shown in the original issue description?
Is there any documentation of which libraries/modules perform what? This would help me understand the codebase better.

Thanks!

Update: The tests fail due to a JSON deserialization error of the Pay enum type. I can't figure out where the error is. I would appreciate any help if possible.

Probably somewhere in the tests we have a hardcoded a string with old encoding?

Even I thought so but couldn't find anything similar

I was looking at it yesterday and also couldn't find anything.
Please stuff the code surrounding the panic with dbg!s to capture the exact serialized text and see if you can use it to find a source that create it.. Run tests locally for faster iteration time.
It could be:

some serde bug/misfeature that does not handle enum variant name renaming in certain case
somewhere we share this definition of struct redundantly and also need an update
somewhere we have a fixture that is using (could it be a schema of an external server even?)

This is easily repro. Right.
> cargo test -- makes_internal_payments_within_federation
...
[fedimint-client/src/oplog.rs:193] self.meta.clone() = Object {
    "receive": Object {
        "out_point": Object {
            "txid": String("ddd3d73e0e213d2eae398ad033c48fe8d90709e66a993d00af1c5956f8debc99"),
            "out_idx": Number(0),
        },
        "invoice": String("lnbcrt2500n1pjjj7yhdq5wa5hg6pdd4shy6m9wfespp5ypfv4m6nswfur947nk6sc3ajns20m9ujueau7ax27gdfajsjhxwssp5nm9zu7ynr04g7ucplkg067587h0pp0f5rnqrcvyzt7j86e3unnlq9qrsgqcqpjnp4qvte3dkgsa645usn4xvl3ftu8uf3k6yhk0kdflwu9j397lacvjvawxqrrssrzjqv4d6v9k6f805ftm47vkrj0esk4kern8z7hr05s2mmx7u3d4v5gjvqqqqqqqqqqqqqqqqqqqqqqqqqqqrcs94h25mf96ev9ynn59sxxz3egl2h3cm5dek88lwxv605hu0kugtnn2c496htxvuduw7dhlrwv8zcqmus0ewskc6vj6cu88ta0gfp2fsqvkh5he"),
        "extra_meta": Null,
    },
}

So it's not even serialization. It's the deserialization itself.

Ooooooohhhhh... :rofl:
#[serde(rename_all(serialize = "snake_case"))]

Well, of course, if you rename it only during serialization, then no wonder it fails at deserialization. @EshaanAgg

Ooooooohhhhh... 🤣
#[serde(rename_all(serialize = "snake_case"))]

Well, of course, if you rename it only during serialization, then no wonder it fails at deserialization. @EshaanAgg
IIRC just #[serde(rename_all = "snake_case")] works is what you want.

Ahhh!!!  Thanks for catching it. I will make the changes.


Feature request: xhyve support

The xhyve hypervisor is a port of bhyve to OS X. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies. It can run vanilla Linux distributions and may gain support for other guest operating systems in the future.

The main benefit of this is that OSX users would not need boot2docker anymore to run Docker, and the performance should be better. But this statement is highly speculative, since I did not make any proper assessment of the technology involved in xhyve.
Thoughts?

The main benefit of this is that OSX users would not need boot2docker anymore to run Docker

How do you figure? xhyve is still a hypervisor, it still runs a virtual machine.

How do you figure?

Now that I think of it, you're right. I guess I got carried away in excitement. I'm waiting for native container support in OSX for a long time.

Technically speaking, Docker doesn't support VirtualBox, VMware or Hyper-V when it comes to Linux. It supports Linux and Linux is what can run on those hypervisors.
This is something to be discussed on the boot2docker repository. There's no actionable item here for the Docker project itself.
I'm going to close this issue now. Please feel free to discuss this on the boot2docker repository instead.


Cannot Find md-component-id

Hi! I'm currently trying this out however it keeps giving me this error
ExpansionPanel 'panelOne' is not available! Did you use md-component-id='panelOne'? angular.js:14328 TypeError: Cannot read property 'expand' of undefined
I've imported all necessary modules such as

Angular Material
Angular Arial
Angular Messages
Angular Animate
Angular Material Expansion Panel

And my template I just copied from the trial template. I have md-component-id set as panelOne but still I'm getting this error .

Try calling expand async instead:
$mdExpansionPanel().waitFor('panelOne')  .then(function (instance) {     instance.expand();  });

@NHMD Okay that seemed to work. However I'm getting this error now:
TypeError: Cannot read property 'element' of null

So now I was able to fix this by just adding this line
$mdExpansionPanelGroup().waitFor('panelGroup').then(function (instance) {});
I don't if that's the right way of doing it but it seemed to work for me.

I am still not able to get it work. I took the master branch followed by:
npm install
gulp build
The build goes fine.
I see the js and css getting updated in the dist folder.
gulp test fails with ReferenceError: Can't find variable: angular
and I get the error:
angular.js:14328 ExpansionPanel 'panelOne' is not available! Did you use md-component-id='panelOne'?
angular.js:14328 TypeError: Cannot read property 'expand' of undefined ..
any help will be great.


Can we use the content from textDocument/didSave to check correctness of our sync?

We have registerered things so that our LS receives didSave notifications with the content of the doc.
Right now, when we receive this notification, we compare the text that was sent as part of the didSave notificiation with the content that we have stored in the server (i.e. our internal doc store, that has reacted to various didChange events). We are interpreting any discrepancy as an indiciation that we have some bug in our implementation of the text sync stuff.
Is that a correct behavior? I.e. should the text that is sent via didSave always be identical to the text taht the server initially received via didOpen and then manipulated in response to various didChange notifications?

Yes, they should be identical. Minus new line ending depending on how you store the document on the server.


Android Bug on Adreno GPU's with setTransform for bones

I know this is a weird bug, and probably there is little to be done on the bgfx side, but at least the bug report could helps others in the future.
bgfx doesn't directly support bones, but the uniform u_model matrix is defined as an array for BGFX_CONFIG_MAX_BONES. It turns out that on some Adreno GPU's when using OpenglES 3 the driver doesn't correctly access the array breaking any skinning code that relays on it, funny enough on OpenglES2 it works.
Both Unreal and Unity look like had this issue on the past, the problem here is setTransform can not be used on Android if you're planning to use OpenGLES 3 and skinned models.
There is a solution that works nicely, instead of having an array of mat4 it works with an array of vec4, bulding the matrix later on the shader multiplying the index by 4.
maybe one solution would be for bgfx to support u_model both as matrix, or as vec4, and dynamically work with one or the other. Any ideas?

We set bone matrices as transposed 3x4 matrices. Meahing that you gain one vec4 per bone that can be used for other stuff. Also the transform in shader is just three dot products, and it works on all mobile GPUs.


ts-web/core: update to oasis-core v21.2.1

new staking debonding_start event

Should also update dependencies and test const files?

Yeah and in this case we can get rid of the oasis-net-runner "hack" for disabling runtimes as this is fixed in 21.2.1.

thanks, I've filed #210 to track updating the other parts


refactor: SfHeader - CSS variables - refactor

Related issue
Closes #744
Scope of work

replaced SCSS with CSS variables
removed default media queries with @include for-desktop

Checklist

[x] No commented blocks of code left
[x] Run tests and docs
[] Self code-reviewed

#744 part of this issues, thanks @aniamusial


Tests fail to run in watch mode

🐛 Bug Report
My tests run just fine when using the jest command. However, as soon as I run jest --watch I get the following error.
Configuration error:

    Could not locate module @/types/keyboard mapped as:
    /Users/niledaley/Code/project/src/renderer/types/keyboard.

    Please check your configuration for these entries:
    {
      "moduleNameMapper": {
        "/@\/(.*)$/": "/Users/niledaley/Code/project/src/renderer/$1"
      },
      "resolver": null
    }

Here's a tree of my src/renderer/types folder:
src/renderer/types
├── api.d.ts
├── cart.d.ts
├── checkout.d.ts
├── filters.d.ts
├── index.d.ts
├── keyboard.d.ts
├── modules.d.ts
├── payment.d.ts
├── product.d.ts
├── productlist.d.ts
├── settings.d.ts
└── thunk.d.ts

My jest.config.js file contains the following:
module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'node',
    moduleNameMapper: {
        '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
            '<rootDir>/__mocks__/fileMock.js',
        '\\.(css|scss)$': 'identity-obj-proxy',

        // Tell jest to look in the src dir when we use @/
        '@/(.*)$': '<rootDir>/src/renderer/$1',
    },
    setupFilesAfterEnv: ['./jest.setup.js'],
    globals: {
        window: {},
    },
    watchPathIgnorePatterns: [
        '<rootDir>/node_modules/',
        '<rootDir>/src/renderer/utils/setNativeValue.ts',
    ],
    coveragePathIgnorePatterns: [
        '<rootDir>/node_modules/',
        '<rootDir>/src/renderer/utils/setNativeValue.ts',
    ],
};

And my tsconfig.json file looks like this:
{
    "extends": "./node_modules/electron-webpack/tsconfig-base.json",
    "compilerOptions": {
        "allowSyntheticDefaultImports": true,
        "esModuleInterop": true,
        "jsx": "react",
        "baseUrl": ".",
        "paths": {
            "@/*": ["src/renderer/*"],
            "@public/*": ["public/*"]
        },
        "module": "es2015",
        "moduleResolution": "node",
        "noImplicitAny": true,
        "noImplicitThis": true,
        "strictNullChecks": true,
        "sourceMap": true,
        "target": "esnext"
    },
    "exclude": ["node_modules"]
}

Jest version: "^24.5.0",
ts-jest version: "^24.0.0",
typescript version: "^3.4.5"

I've also just noticed that I can get watch mode to work in the following situation:

There are no changes since the last commit
I run jest --watch
Jest says that there are no changes since the last commit
I press a to re-run all tests
A full test run will be performed
I change a file
A test run will be triggered

I've made a repo in which you can reproduce this issue:
https://github.com/NileDaley/jest-watch-mode-issue

Your repo works fine for me with both --watch / press a and --watchAll

I've tested on 2x macOS devices and 1x windows device and --watch produces the original error on each. However,  --watchAll  seems to be working so I can use that as a work-around for now.

Our whole team has the same issue. Tests are running ok when we run all tests with jest command but often fail when running jest --watch. The same happens when I do jest someFilename or jest --changedSince develop. The only solution found is to delete jest cache folder.
Error:
Configuration error:

    Could not locate module ~/modules/product/productCard/productCardType mapped as:
    C:\Users\ac\NewWeb\src\modules/product/productCard/productCardType.

    Please check your configuration for these entries:
    {
      "moduleNameMapper": {
        "/^~(\\|\/)(.*)$/": "C:\Users\ac\NewWeb\src\$2"
      },
      "resolver": null
    }

      at createNoMappedModuleFoundError (node_modules/jest-resolve/build/index.js:472:17)
          at Array.reduce (<anonymous>)
      at SearchSource.findRelatedTests (node_modules/@jest/core/build/SearchSource.js:280:30)
      at SearchSource.findTestRelatedToChangedFiles (node_modules/@jest/core/build/SearchSource.js:363:14)

My jest.config.js:
module.exports = {
   transform: {
      '^.+\\.tsx?$': 'ts-jest',
      '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/filePathMock.js',
   },
   testRegex: '(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$',
   testPathIgnorePatterns: ['node_modules', 'e2e'],
   moduleFileExtensions: [
      'ts',
      'tsx',
      'js',
      'json',
   ],
   moduleNameMapper: {
      '\\.(css|less|sass|scss)$': 'identity-obj-proxy',
      '\\.svg\\?inline$': '<rootDir>/__mocks__/svgMockModule.js',
      '(.*)\\.svg\\?external$': '$1.svg',
      '^~(\\\\|/)(.*)$': '<rootDir>/src/$2',
   },
   setupFilesAfterEnv: ['<rootDir>/jest.enzyme.config.ts'],
   setupFiles: [
      '<rootDir>/__mocks__/shims.js',
      '<rootDir>/jest.enzyme.config.ts',
      '<rootDir>/__mocks__/webpackDefines.js',
      '<rootDir>/__mocks__/localstorage.js',
   ],
   cacheDirectory: '<rootDir>/.jest-cache',
   coveragePathIgnorePatterns: [
      '/*.svg',
      '/node_modules/',
   ],
   snapshotSerializers: [
      'enzyme-to-json/serializer',
   ],
   watchPathIgnorePatterns: ['backstop_data'],
   reporters: ['default', 'jest-html-reporter', 'jest-junit'],
   coverageReporters: ['cobertura', 'html'],
   globals: {
      'ts-jest': {
         tsConfig: '<rootDir>/tsconfig-ts-jest.json',
      },
   },
};

@NileDaley @jeysal I couldn't reproduce the error with the repo from https://github.com/facebook/jest/issues/8534#issuecomment-499156852 using --watch. But this works for me:

Clone that repo and install packages with yarn
Make any irrelevant change in keyboard.ts file (for example add a comment)
Run yarn test --changedSince master

Configuration error:

Could not locate module @/types/keyboard mapped as:
C:\Users\ac\jest-watch-mode-issue\src\renderer\types/keyboard.

Please check your configuration for these entries:
{
  "moduleNameMapper": {
    "/@\/(.*)$/": "C:\Users\ac\jest-watch-mode-issue\src\renderer\$1"
  },
  "resolver": null
}
    at createNoMappedModuleFoundError (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve\build\index.js:472:17)
    at Resolver.resolveStubModuleName (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve\build\index.js:433:21)
    at Resolver.getMockModule (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve\build\index.js:275:31)
    at dependencies.reduce (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve-dependencies\build\index.js:67:45)
    at Array.reduce (<anonymous>)
    at DependencyResolver.resolve (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve-dependencies\build\index.js:53:25)
    at DependencyResolver.resolveInverseModuleMap (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve-dependencies\build\index.js:175:30)
    at DependencyResolver.resolveInverse (C:\Users\ac\jest-watch-mode-issue\node_modules\jest-resolve-dependencies\build\index.js:198:17)
    at SearchSource.findRelatedTests (C:\Users\ac\jest-watch-mode-issue\node_modules\@jest\core\build\SearchSource.js:280:30)
    at SearchSource.findTestRelatedToChangedFiles (C:\Users\ac\jest-watch-mode-issue\node_modules\@jest\core\build\SearchSource.js:363:14)

Alright, I can reproduce that. I believe the reason why this occurs is that .d.ts is not a known extension. When running the test this is not a problem because the import is just used as a type and thus stripped out, but when using something like --changedSince, the problem occurs when Jest looks at the module dependencies to find affected tests. The immediate fix here would be to configure moduleFileExtensions: ["js", "ts", "d.ts"], but I'm not sure if this might cause other problems somewhere.

@jeysal Isn't d.ts just a subset of ts and thus included anyway, even without adding d.ts to moduleFileExtensions?

Jest does not use tsc for TS support, only ts-jest does.

Having a similar error message after deleting a source file and commenting everywhere the source file is referenced. While running jest in watch mode, this error is produced, however jest without watch, runs successfully. Somehow jest caches and wanted to imported the deleted source file ?

I have found in jest watch mode if I'm changing branches sometimes it thinks something is there that isn't there anymore, and throws a similar error message. I sometimes just have to delete node modules and re-install to get it to work.

The immediate fix here would be to configure moduleFileExtensions: ["js", "ts", "d.ts"], but I'm not sure if this might cause other problems somewhere.

This indeed solved it @jeysal !

hi, I came from an issue in ts-jest related to jest watch mode and cache. Basically I have the scenario:
thing.ts contains:
export type Thing = {
	a: number;
	// b: number;
};

thing.test.ts contains:
import { Thing, doTheThing } from "./thing";

// See the Thing definition.  Changing the type definition should result in a compile failure here.
export const thing: Thing = { a: 1 };

describe("Thing", () => {
  it("should do the thing", () => {
      expect(doTheThing()).toEqual(3);
  });
});

1st run, test passes and jest caches.
Modifying thing.ts by uncommenting b: number, test passes but actually it shouldn't. In the 2nd run, jest detects only thing.ts has changed but not all references to thing.ts therefore tests still pass.

I wonder if this is something jest can solve. It would be great.

Guys, I am not sure if that issue stills haunting someone, but in my case, the issue was the existence of the coverage folder (seems like Jest looks at it for --watch mode) - it should also apply to whatever location you set the coverage reports to be stored.
If the modules described there are somehow different from your current file structure, there is a chance to see this annoying issue. Deleting the forenamed folder did the trick and made the watch mode work great as usual.

+1 this bug. We are currently running into it. .d.ts files and coverage directories seem unrelated to us

Having this failure, too. :( So annoying.
Tests pass when running jest
If I add --watch
It fails:
Configuration error:

    Could not locate module src/path/to/MyModule mapped as:
    /full/path/to/MyModule.

    Please check your configuration for these entries:
    {
      "moduleNameMapper": {
        "/^src\/(.*)/": "/full/path/prefix/src/$1"
      },
      "resolver": null
    }

Tests break if I add "d.ts" as a module extension!
Using --watchAll works.
Package versions:
    "jest": "24.9.0",
    "jest-circus": "^24.9.0",
    "ts-jest": "24.3.0",
    "typescript": "3.8.3",

jest config:
const wdio = '<rootDir>/src/webdriver';

module.exports = {
  globals: {
    'ts-jest': {
      tsConfig: '<rootDir>/tsconfig.wdio.json',
      diagnostics: false,
    },
  },
  moduleFileExtensions: [
    "ts",
    "tsx",
    "js",
    "node",
  ],
  // This should be the default behavior, but without this imports don't work. :(
  moduleNameMapper: {
    "^src/(.*)": "<rootDir>/src/$1"
  },
  testEnvironment: 'node',
  testRunner: "jest-circus/runner",
  testRegex: '.*\\.wdio(\\.[^.]+)?\\.ts$',
  setupFilesAfterEnv: [`<rootDir>/build/beforeTestFile.js`],
  preset: 'ts-jest',
  transform: {
    '^.+\\.(js|jsx|mjs)$':
    '<rootDir>/node_modules/react-scripts-ts/config/jest/babelTransform.js',
  },
  testEnvironment: `<rootDir>/build/webdriverEnvironment.js`,
  testEnvironmentOptions: { ..unrelated.. },
  testTimeout: 5 * 60 * 1000, // 5 minutes in milliseconds.
  testURL: 'http://localhost:3000',
  verbose: true,

Very strange failure trying to use a shim on JSON for BigInt.  I put this shim in setupFiles:
BigInt.prototype.toJSON = function() { return this.toString() };
Running just jest works great if I have a test failure on .toEquals(BigInt(100), every time - the shim prevents the classic "Do not know how to serialize BigInt" error.
Running jest --watchAll works for a while then fails and can fail catastrophically (uncaught promise rejection) and it gets stuck.  Quite strange.
This blog posts describes almost exactly the same issue in some detail:  https://realonetech.wordpress.com/2021/03/24/jest-custom-matcher-in-typescript/

@SHaTRO , +1 on your report, I faced exactly the same issue you pointed out.
it seems the only valid way to work around this for now is to write your own custom matcher for bigint.

Our whole team has the same issue. Tests are running ok when we run all tests with jest command but often fail when running jest --watch. The same happens when I do jest someFilename or jest --findRelatedTests someFilename or jest --changedSince develop. The only solution found is to delete jest cache folder.
Error:
Configuration error:

    Could not locate module ~/modules/product/productCard/productCardType mapped as:
    C:\Users\ac\NewWeb\src\modules/product/productCard/productCardType.

    Please check your configuration for these entries:
    {
      "moduleNameMapper": {
        "/^~(\\|\/)(.*)$/": "C:\Users\ac\NewWeb\src\$2"
      },
      "resolver": null
    }

      at createNoMappedModuleFoundError (node_modules/jest-resolve/build/index.js:472:17)
          at Array.reduce (<anonymous>)
      at SearchSource.findRelatedTests (node_modules/@jest/core/build/SearchSource.js:280:30)
      at SearchSource.findTestRelatedToChangedFiles (node_modules/@jest/core/build/SearchSource.js:363:14)

My jest.config.js:
module.exports = {
   transform: {
      '^.+\\.tsx?$': 'ts-jest',
      '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/filePathMock.js',
   },
   testRegex: '(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$',
   testPathIgnorePatterns: ['node_modules', 'e2e'],
   moduleFileExtensions: [
      'ts',
      'tsx',
      'js',
      'json',
   ],
   moduleNameMapper: {
      '\\.(css|less|sass|scss)$': 'identity-obj-proxy',
      '\\.svg\\?inline$': '<rootDir>/__mocks__/svgMockModule.js',
      '(.*)\\.svg\\?external$': '$1.svg',
      '^~(\\\\|/)(.*)$': '<rootDir>/src/$2',
   },
   setupFilesAfterEnv: ['<rootDir>/jest.enzyme.config.ts'],
   setupFiles: [
      '<rootDir>/__mocks__/shims.js',
      '<rootDir>/jest.enzyme.config.ts',
      '<rootDir>/__mocks__/webpackDefines.js',
      '<rootDir>/__mocks__/localstorage.js',
   ],
   cacheDirectory: '<rootDir>/.jest-cache',
   coveragePathIgnorePatterns: [
      '/*.svg',
      '/node_modules/',
   ],
   snapshotSerializers: [
      'enzyme-to-json/serializer',
   ],
   watchPathIgnorePatterns: ['backstop_data'],
   reporters: ['default', 'jest-html-reporter', 'jest-junit'],
   coverageReporters: ['cobertura', 'html'],
   globals: {
      'ts-jest': {
         tsConfig: '<rootDir>/tsconfig-ts-jest.json',
      },
   },
};

Jest version: 23.6.0 and 24.8.0 OS: Windows 10 pro

I was also having the problem, where --watchAll wasn’t refiring on changes to files. The following Jest config it. Hope it helps you all or someone at least!
import type { Config } from '@jest/types';

const config: Config.InitialOptions = {
    globals: {
        "ts-jest": {
            "babelConfig": true,
            "tsconfig": "tsconfig.json"
        }
    },
    rootDir: './',
    transform: {
        "^.+\\.tsx?$": "ts-jest"
    },
    verbose: true,
    testMatch: [
        "/**/*.spec.(ts|js)"
    ],
    moduleFileExtensions: [
        'ts',
        'tsx',
        'js',
        'json',
     ],
    testEnvironment: "node",
    collectCoverage: true,
    cacheDirectory: '<rootDir>/.jest-cache',
    collectCoverageFrom: [
      '**/*.{ts,tsx}',
      '!**/*.config.ts',
      '!**/node_modules/**'
    ],
    coverageReporters: [
      'json',
      'lcov',
    ],
};
export default config;


Swift3 api conformance

Resolves #201

Thank you for renaming the protocols😃 I'm going to release beta 3.


Unable to print map[string]interface{}

Hi,
I'm using delve 0.11.0-alpha and Go 1.5 on OS X 10.11.3. It seems that currently the debugger is not able to print maps of type map[string]interface{}:
(unreadable interface type "map[string]interface {}" not found for 0xc820115c18: no type entry found)

This is fixed by #434

I think this can be closed (the commit missed the fix from name to close it automatically)

I'd keep this open, ideally we should be able to do the conversion from expression to "type name as serialized by cmd/compile" ourselves.


how can we write a authorization policy on ingress gateway which allows request only when request payload have certain header value

I am trying to write an authorization policy on ingress gateway which blocks all the request which do not contain a certain header with a specific value
currently as per doc ingress gateway only support IP based filtering which works fine
kubectl apply -f - <<EOF
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
 name: journeyapi-app
 namespace: istio-system
spec:
 selector:
   matchLabels:
     app: xxxxxxxxx-app
 action: ALLOW
 rules:
  - to:
    - operation:
        methods: ["GET", "PUT", "POST", "OPTIONS", "PATCH", "DELETE"]
    when:
    - key: request.headers[kube-token]
      values: ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]
EOF

.
above policy works fine for a defined app but if I want to apply in ingress gateway authorization poly then what should be the way
my ingress policy looks like this
kubectl apply -f - <<EOF
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: ingress-policy
  namespace: istio-system
spec:
  selector:
    matchLabels:
      app: istio-ingressgateway
  action: ALLOW
  rules:
  - from:
    - source:
       ipBlocks: ["xxxxxxxxxx","xxxxxxxxxx","xxxxxxxxxx"]
EOF

currently, I am using istio 1.7.3 on azure AKS
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastrcture
I appreciate any guidance or help

Hi Bhanu,
You can try using authentication with tokens per path.
@yangminzhu  do you have any suggestions?

combination of following policy work perfectly for me in the case where I want to allow request on basis of the certain token value
kubectl apply -f - <<EOF
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: deny-all
  namespace: istio-system
spec:
  selector:
    matchLabels:
      app: istio-ingressgateway
EOF

kubectl apply -f - <<EOF
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
 name: ingpolicy
 namespace: istio-system
spec:
 selector:
   matchLabels:
     app: istio-ingressgateway
 action: ALLOW
 rules:
 - to:
   - operation:
       methods: ["GET", "PUT", "POST", "OPTIONS", "PATCH", "DELETE"]
   when:
   - key: request.headers[kube-token]
     values: ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]
EOF

Hi @Bhanu88 ,
To achieve IP whitelist for the client IP we need to apply 3 configurations:

Install istioOperator with this configuration:

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
namespace: foo
label:
istio: istio-ingressgateway
k8s:
replicaCount: 2
podAnnotations:
proxy.istio.io/config: '{"gatewayTopology" : { "numTrustedProxies": 2 } }'
service:
externalTrafficPolicy: Local

Add deny all rule:

apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: deny-all
namespace: istio-system
spec:
selector:
matchLabels:
app: istio-ingressgateway

Add the allowed IP list in the remoteIpBlocks:

apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: allow-ip
namespace: istio-system
spec:
selector:
matchLabels:
app: istio-ingressgateway
action: ALLOW
rules:
from:
- source:
remoteIpBlocks: ["xxx.xxx.xxx.xxx" , "xxx.xxx.xxx.xxx" , .... ]


Task logger seem to stop before the task is completed

The log files of some tasks are incomplete. the traces are no longer be redirected after some time.
It is highly likely that the task logger stops before the task completes
AB#36155

Relevant task and machine ids where this was observed on OneFuzz instance:
| where customDimensions.task_id == 'ed91d341-9f54-453f-920e-bb7d7c04099d'
| where customDimensions.machine_id == '401d74c5-f597-4efd-9594-c6eb7e6b12eb'


Article promo hit area

[ORANGE]
The image and title for article promos should be the hit area, not the entire module area.
Also, the content format "Article" which is above article title, this should link to format index page.

Closing this because it duplicates #514


Add Rabin Miller Algorithms to Check primes in Log(N)

updated contributors list.

@Harshit-2112 Follow code of conduct by star the repo and too small commit


Modified index and styles files for better UI of the website.

Description
Modified index and styles files for better UI of the website. Added description for image password strength and modified rounded borders for input buttons and modified the background image and modified box sizing. Fixed typo error of the title tag in index file.
Fixes #45
Type of change
Please delete options that are not relevant.

[x] Bug fix
[x] New feature

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

Screenshot of new UI-

Good work!

@utkarshsingx  Never push directly to the main branch of forked repo, create a new branch -> push changes to that branch ->  then create a PR from that branch.


MaxListenersExceededWarning: Possible EventTarget memory leak detected.

Describe the bug
I'm running lodestar from the unstable branch to test mev-boost.
I'm following these instructions: https://github.com/flashbots/mev-boost/wiki/Testing/fa8b3f72058255fe394066bab285a3e6a9be92fd#lodestar
When I start it to run the beacon node, this error appears:
$ ./lodestar beacon --network kiln --builder.enabled --builder.urls http://<IP_ADDRESS>:18550 --jwt-secret=/home/$USER/workspace/sec
ret
Aug-11 00:59:44.258[]                 info: Lodestar network=kiln, version=v0.41.0/0de0144, commit=0de01443f1f4cfa6efc12783c5783f0035e4e29f
Aug-11 00:59:44.293[]                 info: Connected to LevelDB database name=/home/ubuntu/.local/share/lodestar/kiln/peerstore
Aug-11 00:59:44.319[DB]               info: Connected to LevelDB database name=/home/ubuntu/.local/share/lodestar/kiln/chain-db
Aug-11 00:59:51.145[]                 info: Initializing beacon state from anchor state slot=5280, epoch=165, stateRoot=0x0a100f221de872f1f39758d1fac3673beb367f07333ca7fe36
6c28123be187af
Aug-11 00:59:51.425[ETH1]             info: Starting search for terminal POW block TERMINAL_TOTAL_DIFFICULTY=20000000000000
(node:4021308) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase l
imit
(Use `node --trace-warnings ...` to show where the warning was created)

It is now syncing, so this error does not seem problematic so far.
Expected behavior
The beacon node runs with no errors shown.
Steps to Reproduce
Follow this instructions to compile and run:
https://github.com/flashbots/mev-boost/wiki/Testing/fa8b3f72058255fe394066bab285a3e6a9be92fd#lodestar
Desktop (please complete the following information):

OS: Ubuntu
Version: 22.04
Branch: unstable
Commit hash: 0de01443f1f4cfa6efc12783c5783f0035e4e29f

$ ./lodestar --version
🌟 Lodestar: TypeScript Implementation of the Ethereum Consensus Beacon Chain.
  * Version: v0.41.0/0de0144
  * by ChainSafe Systems, 2018-2022

Thanks for reporting this. I'll close this issue now as it duplicates this other already existing issue https://github.com/ChainSafe/lodestar/issues/3569

Closing as this is duplicare of #3569 as marked by @dadepo  and is pretty harmless for now


Any way to remove .html extensions?

I have this problem and I have no idea how to remove that extension in urls.

This isn't related to Highway. You better check Netlify documentation. Closing the issue.


new pull request

Pull request to add Oregon Coast Community College to list of domains.

@how-d0 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Prepare v15 release

This prepares the hops 15 release
Current state

needs a 15.x release branch

Changes introduced here

Checklist

[x] All commit messages adhere to the appropriate format in order to trigger a correct release
[x] Documentation has been added

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

lets fix bors after the release


Tag for Zeligsoft CX 2.5.0 release and roll papyrus branch to 2.6.0

Issue and tracking information
Developer's time Estimated effort to fix (hours):
Developer's Actual time spent on fix (hours)
Issue reporter to provide a detailed description of the issue in the space below
Could you please perform the following release steps in addition to any of your own?

Tag the latest hash from the papyrus branch for the 2.5.0 release
Branch off the latest hash from papyrus branch to create a new streams/v2.5.x-maintenance branch
Roll version of papyrus branch to 2.6.0
Roll version of new streams/v2.5.x-maintenance branch to 2.5.1
Thanks! Please let myself, Michael Steppe or Eric Mammoser know if there are any questions/concerns.

Hi. I just want to confirm, this 2.5 release won't include all the work on Issues #471 and #476, as they are not finished, correct?
(Tagging @j26151 and @J17359 for their input).

Correct, this release will not contain all of those log4j changes as they are not finished yet and largly untested by our team

Great! I'll work on this release now.

Release steps:

[x] Create Release 2.5.0
[x] Create streams/v2.5.x-maintenance branch off of v2.5.0 tag
[x] Version bump to 2.6.0 on papyrus branch. See https://github.com/ZeligsoftDev/CX4CBDDS/pull/483
[x] Version bump to 2.5.1 on streams/v2.5.x-maintenance branch. See https://github.com/ZeligsoftDev/CX4CBDDS/pull/482

You can get the artifacts in the following links:

For 2.5.1
For 2.6.0

I've tested both RPM builds on a CentOS 7 VM. Everything looks good.
Let me know if I can merge the two pull requests.

Merged as per @J17359 request.
Can I close this one now?

Merged as per @J17359 request.
Can I close this one now?

I'm cool with closing! Thanks @eposse !


Revisit test matrxi: remove python 3.7

          You should probably drop Python 3.7. It is picking up a very old `astropy` (4.3.1).

Originally posted by @pllim in https://github.com/astropy/astroplan/issues/554#issuecomment-1572975888
EOL for Python 3.7 is 2023-06-27 (schedule) so we should consider removing support from our test mtarix.
The tox.ini file also specifies a number of versions of astropy that are quite old and doesn't specifically support the 5.x branch, so we should clean that up as well.

I'll try to sit down this weekend and work on some of this and get a PR submitted.

FWIW, astropy 5.3 also dropped Python 3.8 to follow numpy, see astropy/astropy#14286 .


v2.0.0

Use of Gulp
Replace icon-font by SVG symbols (inlined in DOM)
Use of official Google Material Design icons
Create hidden canvas to keep source image
Create a stack of transformations for history

This fix issues about scaling down the image and losing quality. Also the visible canvas acts only has a viewport of the "source". So it can easily adapt to the predefined dimensions & ratio.
TODO

[x] Fix when crop goes beyond image dimension
[ ] Update README
[ ] Wrap boostrap to only inject svg when needed
[x] Make save works (Darkroom::selfDestroy() method)

Hi!
Your work is great! Thanks!
Branch v2 save image with bug - plugin adds transparent 1px on two sides of image.
Reproduce:

Just click 'Save' button and wrap img with border. Result:

Or you can crop and then save. Result  - other two sides have transparent 1px


Restart VPC with clean-up not applying all LB rules

Description
If a restart with clean-up is performed in a VPC that has different guest networks and load balancer rules in these networks, only one of the networks has its load balancer rules applied. This PR fixes this behavior.
Fixes #8745
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

How Has This Been Tested?
It's tested in a local lab, following this steps:

Create a VPC with two tiers (test1 and test2);
Create a VM for each one of this tiers;
Acquire one public IP for each one of this tiers;
Create load balancer rules in each public IP for each VM
Apply restart with clean-up in the VPC

Before, only the last tier had its rules applied. With this PR, all LB rules are applied.

This is marked critical, is this a must-have for <IP_ADDRESS> @JoaoJandre @weizhouapache @DaanHoogland ?

This is marked critical, is this a must-have for <IP_ADDRESS> @JoaoJandre @weizhouapache @DaanHoogland ?

@rohityadavcloud
I will create a PR soon

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9171


Ambiguous language specification

In raw/6.xml the language is listed with two conflicting glottocodes (one in the ISO code field).

Fixed in a280b2f0c91c3bb18f2135c54ec7ef6dea0ce6d6


Wait for requests to complete on the server in Session#reset!

It's possible when using a JS driver for a request to continue being processed on the server after calling Capybara.reset_sessions!. Though the browser requests are stopped, any requests the server had already started processing will continue.
This causes issues when using capybara with DatabaseCleaner, as the the cleaner might run at the same time as the request, which will likely cause the request to error.
This PR adds a thread-safe counter to Capybara::Server which keeps track of the number of requests currently being processed by Capybara::Server::Middleware. It exposes public methods Server#pending_requests?, which is truthy when there are requests still being processed, and Server#wait_for_pending_requests, which will wait up to 60 seconds for requests to finish.

Why are you attempting to join the server thread while waiting for the requests to end?  Joining would only succeed if the server thread was ending.  I also need to think about how/if this relates to testing with multiple sessions.

I used join just because it's what boot was using. I will change it to a sleep.

This is definitely still on the table and I'm considering it for 2.6 -- I haven't spent enough time to think through whether it has any issues with the fact that multiple sessions often share the same Capybara::Server and Middleware

@twalpole thanks for the update. Is there anything I could do to help move this forward?

@jhawthorn ok -- I've added a few comments to the current code, but there is a larger concern.  I believe this suffers from the same problem as Issue #1540 .  Namely that the methods on session don't really do what one would think when multiple sessions using the same app are created.  This may or may not be of concern I haven't really decided if it's actually a real problem or just an issue that occurs in artificial conditions.  I think it would actually be more of an issue for this situation than the #1540 though.  I don't think we want to be duplicating the app object for each session, but a quick thought at a fix would be to have each session create a new server thread with it's own middleware instance on it's own port but share the app object, which would allow tracking requests on a per session basis.  That could lead to threading problems though and probably requires more thought

The per_session_server branch may be required to have this code work with multiple sessions correctly, more comments about it over on Issue #1540

@twalpole sorry for the delay.
I've addressed your feedback and rebased against the latest master.
As far as I can tell this works fine with the changes in the per_session_server branch (different servers would count their requests separately). The code is very similar to that which handles errors, so I would expect them to behave largely the same.

Closing this PR as it was merged into PR #1637


Zeus l4t r32.3.1 warrior rebase

Changes from madisongh/zeus-l4t-r32.3.1 rebased on top of reverted merge requests #123 and #119 on warrior branch, as this implementation supersedes the changes made on warrior there.
Per discussion in https://github.com/Trellis-Logic/meta-mender-community/pull/10 I plan to use zeus-l4t-r32.3.1 as the default zeus branch due to changes in NVIDIA bootloader update support starting with this release.

Ooops, I meant to open this PR against my local repo.  It won't be ready to merge to Mender community until a zeus branch is started on meta-mender-community


WebApp - Make KUI responsive for mobile?

@TheRealHaoLiu and @hanqiuzh mentioned it might be nice to make the KUI UI responsive for mobile.  Terminal experience on mobile doesn't really exist, so this might be interesting?

agreed. we have some bits of support for viewport reactivity, as shown in the attached gif. i'd love to hear about additional opportunities here!


Unsupported Filter Operator: $neq

Description
I'm getting the following error when testing filters for a haystack astra document store integration. More can be read about it here.
astrapy.core.api.APIRequestError: {"errors":[{"message":"Unsupported filter operator: $neq","errorCode":"UNSUPPORTED_FILTER_OPERATION"}]}

The filters I'm using get converted to below from this script here.
{'meta.field1': {'$neq': 'something'}}

Just want to confirm, is $neq a supported filter option? Will it be on the roadmap?
Let me know what other information you may need from me. Not sure if I explained enough here.
Describe your environment
astrapy==1.1.0

Realized it was an issue on hte integration side. The accepted filter is $ne. Closing.


DHT as a self-contained module

TODO: point to p2p design doc
DHT module should be responsible for all discovery related protocols.

[ ] All Bootstrap and FineNode related flows should be handled within the DHT package
[ ] The kademlia routing table is missing the mechanism to check whether a peer is alive when the kbucket is full and replace it if not.
[ ] Now we have an hard limit about how much nodes we must have connected to have it bootstrapped what we really want is putting this limit only on filling the routing table. and letting the node run even with one node connected while in background trying to acquire more connections.

Done


Did you open the OpenCM9.04 bootloader?

I have a pair of OpenCM9.04 board that have the STM32 micro damaged, did you open the bootloader?, in order to change the micro and load the firmware vía SWD.

Perfect, the binary is enough. Thanks a lot!


Validation Issues

Hi BForms Team,
I encountered some Validation Issues, that I wanted to share with you.
Password Fields
After implementing the refreshing of the New Form as you stated  in #271  i had some strange behaviour with Password Fields. When I type a password and the confirmation without refreshing the form, everything seems to work fine. But sometimes after refreshing the Form the confirmation Field turns Red although the passwords are the same.
I think you can see that it checks for different Values in the bforms.validate.js. After refreshing the targetval and value are not any more equal althought its the same Password:
// http://docs.jquery.com/Plugins/Validation/Methods/equalTo
                equalTo: function (value, element, param) {
                    // bind to the blur event of the target in order to revalidate whenever the target field is updated
                    // TODO find a way to bind the event just once, avoiding the unbind-rebind overhead
                    var target = $(param);
                    if (this.settings.onfocusout) {
                        target.unbind(".validate-equalTo").bind("blur.validate-equalTo", function () {
                            $(element).valid();
                        });
                    }

                    var targetval = target.val();

                    return value === targetval;
                },

Server Side Validation
Another Issue I remarked was after experiencing errors Serverside.
Use Case: Our Application is connected to a WebApi Service. After sending the New Form to the Server  I get an Exception that eg the Contributions field musst have some value:
public BsJsonResult New(BsToolbarModel<ContributorSearchModel, ContributorNewModel> model)
        {
            var msg = string.Empty;
            var status = BsResponseStatus.Success;
            var row = string.Empty;

            try
            {
                if (ModelState.IsValid)
                {

                    if (String.IsNullOrEmpty(model.New.Contributions))
                    {
                        msg = "Please enter a Contribution";
                        throw new Exception("Something happened Serverside :-( Please Update the Contributions Field");
                    }
                    var rowModel = _gridRepository.Create(model.New);

                    var viewModel = _gridRepository.ToBsGridViewModel(rowModel).Wrap<ContributorsViewModel>(x => x.Grid);

                    row = this.BsRenderPartialView("Grid/_Grid", viewModel);
                }
                else
                {
                    return new BsJsonResult(
                        new Dictionary<string, object> { { "Errors", ModelState.GetErrors() } },
                        BsResponseStatus.ValidationError);
                }
            }
            catch (Exception ex)
            {
                msg = ex.Message;
                status = BsResponseStatus.ServerError;
            }

            return new BsJsonResult(new
            {
                Row = row
            }, status, msg);
        }

When I now update the contributions Fields, the Error on top of the Row does not dissapear like it would be in Clientside model validation. I also have to press two times the submit button so that the Form gets resent. The First time the Error disappears and the second time the form is finnaly submitted.
To better illustrate my Issues I update my Sample Project. You can find it under the following Url:
Sample on OneDrive  Both issues are illustrated on the Contributors Models and Views
I really would appreciate if you could take some time to check my sample project.
Regards Dumitru

Hi BForms Team,
could anyone already have a look at this Issue? Is there any further information needed?
Regards Dumitru

Hi Guys, any Inputs on this issues? Can somebody please have a Look at my Questions?
Regards Dumitru

Hi Guys, please tell me what information is needed so that you can have a look at this problem...
Regards Dumitru

Hi Guys, any Inputs on this issues? Can somebody please give me a hint...?
Regards Dumitru


upgrade to latest networkx to allow running on py 3.9

Summary
Orquesta won't run on python 3.9+ because it currently has a dependency on  networkx version 1.11. It doesn't look like the 1.x version of networkx has received any updates in quite a while. In Python 3.9, the gcd function used by networkx was moved from functions to math package in the standard lib as described here. This PR updates orquesta to use the latest version of networkx which is currently 2.5.1.
The code has been modified where necessary and all tests are passing on my machine with Python 3.9.5. Let me know if there is anything else necessary. Thanks.

Sorry, I should have mentioned that I'm using orquesta outside of stackstorm. I haven't tested this change with stackstorm. If there are functions in stackstorm that are receiving a graph object and calling the node attribute it will break with this upgrade.

@Nick011 Using Orquestra outside of StackStorm is really great to hear and I believe is a compliment to @m4dcoder who built it!
Can you briefly describe how you're using Orquesta? That would be interesting to hear.


Oracle Database not support like alchemy

Supported database providers:
PostgreSQL
MySQL
SQLite
CockroachDB
MongoDB (experimental)
SQL Server (experimental)
Oracle (Not support)

Hey @raibann, Oracle DB is not supported by Prisma in general which is a pre-requisite for supporting it in the Python Client. See this issue: https://github.com/prisma/prisma/issues/2853


WBXML for demo

Add demo view WBXML to be imported.

Update this help document pointing to the Demo Repo rather than downloading from the mainframe. https://genevaers.github.io/User-Documentation/Setup and Use/


[deps] update Android SDK to 34

Update Android SDK from 33 to 34.
Following the engine update:

https://github.com/flutter/engine/pull/47839

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

@gmackall

[2023-11-09 13:45:18.179445] [STDOUT] stderr: Execution failed for task ':app:processDebugMainManifest'.
[2023-11-09 13:45:18.179500] [STDOUT] stderr: > Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @26dfb1e3

This one of the issue I ran in trying to use a newer NDK version locally with the newest Android studio as well: https://github.com/flutter/flutter/issues/137950
I did not find a resolution, and ended up reverting locally to Java 11 and SDK 33.

Requesting review from flutter/android-reviewers and un-requesting myself because it wouldn't make sense for me to review the pr at this point (given the commit history)


allow space before # in includes

Summary:
Title says it all.  They will still be first thing on the line.
Should the extra whitespace on the line go into the output?
This will actually match the doc as written and the existing RStan behavior.
Current Version:
v2.16.0

I think keep the whitespace. Also, trailing whitespace and / or comments,
such as
#include functions.stan  // defines foo and bar
should be legal.
On Wed, Jul 19, 2017 at 5:58 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Summary:
Title says it all. They will still be first thing on the line.
Should the extra whitespace on the line go into the output?
This will actually match the doc as written and the existing RStan
behavior.
Current Version:
v2.16.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2358, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADOrqkNipNYnM0OJUYuIM1zSwKF8gmc9ks5sPnwUgaJpZM4OdWfg
.

Do we need to add quotes in case there are spaces in function names?  Otherwise, I'm not quite sure where to stop.  I think right now I was intending to go to the end of the line and then trim any excess initial and final whitespace.  But either requiring it to be contiguous or to have quotes is probably better.  Then I could include things after it.  We're talking about
    #include foo  // defines foo and bar

produce
    <foo file
contents>  // defines foo and bar

so that the space comes at the beginning and the rest at the end.  I think this may get very confusing for people.

File names with spaces in them are going to be a problem unless we require
quotes, at least in that case. Basically I think #include in Stan should
work in the same way(s) it works in C++.
On Wed, Jul 19, 2017 at 7:10 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Do we need to add quotes in case there are spaces in function names?
Otherwise, I'm not quite sure where to stop. I think right now I was
intending to go to the end of the line and then trim any excess initial and
final whitespace. But either requiring it to be contiguous or to have
quotes is probably better. Then I could include things after it. We're
talking about
#include foo  // defines foo and bar

produce
<foo file

contents>  // defines foo and bar
so that the space comes at the beginning and the rest at the end. I think
this may get very confusing for people.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2358#issuecomment-316546492, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqnR6lxmtruA1Iqk_mkAhLyp6F2xTks5sPozrgaJpZM4OdWfg
.

That makes sense.  Should I allow angle brackets and quotes?

On Jul 19, 2017, at 11:20 PM, bgoodri<EMAIL_ADDRESS>wrote:
File names with spaces in them are going to be a problem unless we require
quotes, at least in that case. Basically I think #include in Stan should
work in the same way(s) it works in C++.
On Wed, Jul 19, 2017 at 7:10 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Do we need to add quotes in case there are spaces in function names?
Otherwise, I'm not quite sure where to stop. I think right now I was
intending to go to the end of the line and then trim any excess initial and
final whitespace. But either requiring it to be contiguous or to have
quotes is probably better. Then I could include things after it. We're
talking about
#include foo // defines foo and bar
produce
 // defines foo and bar
so that the space comes at the beginning and the rest at the end. I think
this may get very confusing for people.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2358#issuecomment-316546492, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqnR6lxmtruA1Iqk_mkAhLyp6F2xTks5sPozrgaJpZM4OdWfg
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

I suggest we use one but not the other (to avoid the
confusion about which use which paths and whatnot).
I think that quotes would be sufficient.

On Jul 20, 2017, at 12:37 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:
That makes sense. Should I allow angle brackets and quotes?

On Jul 19, 2017, at 11:20 PM, bgoodri<EMAIL_ADDRESS>wrote:
File names with spaces in them are going to be a problem unless we require
quotes, at least in that case. Basically I think #include in Stan should
work in the same way(s) it works in C++.
On Wed, Jul 19, 2017 at 7:10 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Do we need to add quotes in case there are spaces in function names?
Otherwise, I'm not quite sure where to stop. I think right now I was
intending to go to the end of the line and then trim any excess initial and
final whitespace. But either requiring it to be contiguous or to have
quotes is probably better. Then I could include things after it. We're
talking about
#include foo // defines foo and bar
produce
 // defines foo and bar
so that the space comes at the beginning and the rest at the end. I think
this may get very confusing for people.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2358#issuecomment-316546492, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqnR6lxmtruA1Iqk_mkAhLyp6F2xTks5sPozrgaJpZM4OdWfg
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan/issues/2358#issuecomment-316594493, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdNlmKT85ltNQfF4ii3sNdifvHmZcuiks5sPtmXgaJpZM4OdWfg.

Sure. Why not, I guess.
On Thu, Jul 20, 2017 at 12:37 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

That makes sense. Should I allow angle brackets and quotes?

On Jul 19, 2017, at 11:20 PM, bgoodri<EMAIL_ADDRESS>wrote:
File names with spaces in them are going to be a problem unless we
require
quotes, at least in that case. Basically I think #include in Stan should
work in the same way(s) it works in C++.
On Wed, Jul 19, 2017 at 7:10 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Do we need to add quotes in case there are spaces in function names?
Otherwise, I'm not quite sure where to stop. I think right now I was
intending to go to the end of the line and then trim any excess
initial and
final whitespace. But either requiring it to be contiguous or to have
quotes is probably better. Then I could include things after it. We're
talking about
#include foo // defines foo and bar
produce
 // defines foo and bar
so that the space comes at the beginning and the rest at the end. I
think
this may get very confusing for people.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2358#issuecomment-316546492,
or mute
the thread
<https://github.com/notifications/unsubscribe-
auth/ADOrqnR6lxmtruA1Iqk_mkAhLyp6F2xTks5sPozrgaJpZM4OdWfg>
.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2358#issuecomment-316594493, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqngTgaS7jDQ9eA3aZla7paBH-5vdks5sPtmYgaJpZM4OdWfg
.

I'm working on this one now.


[TODO] refactor compiler

Would it be possible to support more webpack loaders? I don't see a way to add loaders to fusion-cli's webpack, which would be nice for loading scss, json, etc.
https://github.com/fusionjs/fusion-cli/blob/master/build/compiler.js#L236


Evaluate current state of the pdx Admin functionality

As a developer I want to have a clear vision of what the pdx admin functionality offers and how it could be improved
Acceptance Criteria

[ ] Document(s) describing current state of the application
[ ] Meetings to discuss about current issues and potential solutions

https://drive.google.com/drive/folders/1QYqlgASgkzMEmjkz2-c-MQGVryZ3n4Py

@zperova make this an Epic and split into smaller tasks


add asdf-vm install

I made asdf-vm plugin for viddy.
If you like it, merge please.
FYR:

viddy plugin for asdf-vm: https://github.com/ryodocx/asdf-viddy
asdf-vm: https://asdf-vm.com

Thank you


Add filtering of english words from entropy (and keyword) plugins

This is a solution for #240.
I will add that I am personally not against hardcoding a list of ~2,298 English words in the future, like from the How bad can it git paper,  as that can be immediately beneficial to most users with no effort, but for now this is okay.
I tried to keep the commit *history pretty clean 😁

Forgot to make it case-insensitive, will do tomorrow.

Whoops, I was testing this with the loud plugin, and saw I missed Yaml files! That should be an easy fix.
I used /usr/share/dict/words which has ~235k words, and had a very minimal performance impact.  It initially found 0 things, then changed I util.py to only allow adding words with len() > 3 and got way better results :D


Upgrade Logger

Here's the first part of the Logger RFC changes #1798. This replaces the implementation and interface of the Logger module. I went ahead and updated many of the log messages to use the new json metadata system instead of logging raw sexps, but some of the nastier types have been skipped and will be done in future PRs. In the short term, this will make our logs much uglier, so we will want to have a discussion regarding whether we want to merge this or not before the new log processor lands.
Here is an pretty-printed example of what a log message looks like with the new format:
{
  "timestamp": "2019-03-09 00:18:02.389201Z",
  "level": "Info",
  "source": {
    "module": "Coda_main",
    "location": "File \"src/app/cli/src/coda_main.ml\", line 1176, characters 18-25"
  },
  "message": "Added payment $user_command to pool successfully",
  "metadata": {
    "host": "<IP_ADDRESS>",
    "port": 23000,
    "user_command": {
      "payload": {
        "common": {
          "fee": 0,
          "nonce": 2,
          "memo": "aSF6MHmQgJThESHQQjVKfB9VtkgsoaUeGyUN/R7Q7vk="
        },
        "body": [
          "Payment",
          {
            "receiver": "KF/gCh9fJ7rsTA72qygPI+BW1hLOGmNHIj+jXsv30WJpIkrVxzsBAAAA",
            "amount": 10
          }
        ]
      },
      "sender": "ASiJrrItmZLlhj1zdGKDojmEcCFS06o/dYdZWAm6LBAQ82uwBLZoAQAAAQ==",
      "signature": "KN2IETEDyZBRtyMkK5zQH2PYDVh/hsNbQ58fJoxQ37ZNP0e9R9QBAAAorxfG6FpvRtShsc6o9xARAMSagrxl/nmYRtRwbT4rpcAAAAAAAAAAAA=="
    }
  }
}

Question: I'm hoping that logs stay single line.
The example you gave is multiline (after a jq parse? I hope?)
Can you also please maintain host and pid?
Otherwise you're taking away information (breaking compatibility) from the existing solution.

@jkrauska The example I gave is only pretty printed for readability. The raw logs are still single line. I can add host and port back in if you need that, though it doesn't really make sense to me to put that in every single log statement. Can I put it behind a cli flag to enable it?

My argument for including PID by default (not host) is that, in integration tests, we're ~always looking at intermingled log streams. Hopefully most of our debugging and thus log delving happens with integration-or-smaller tests.

My argument for including PID by default (not host) is that, in integration tests, we're ~always looking at intermingled log streams. Hopefully most of our debugging and thus log delving happens with integration-or-smaller tests.

I find this argument for pid compelling so I have added it back in. Waiting for further discussion before touching host.

I have finished making the first round of requested changes. Here are some demonstrations of filters you can create now:
find all warnings and errors: logproc -f '.level in ["Warn", "Error", "Fatal", "Faulty_peer"]
find all logs with payments: logproc -f '.metadata.user_command.payload.body[0] == "Payment"'
using a regex on a string field: logproc -f '.level match /^Fa.{1,2}l/


Remove version: Stackers.Stack version 3.12.5

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://binaries.getstack.app/builds/prod/win/x64/Stack Setup 3.12.5-x64.exe
Response status code does not indicate success: 530 ().
(Automated message - build 896)


Send suggestions in github-pr-review

GitHub review comments accept suggestions, that can be easily accepted. I wonder if there is how to integrate this into the github-pr-review. One example of these suggestions can be seen in the following screen shot:

From https://github.com/price-search/api/pull/45#discussion_r438487816

Thanks for the request! Yeah, I had an idea in my mind. I filed #678 to track the summary.


DllNotFoundException: Unable to load shared library 'libmi' or one of its dependencies

CI build on MacOS is failing.
Likely due to the macOS image being updated which now relies on openssl1.1 instead of openssl1.0 and libmi is built to only work with 1.0
Investigate this workaround.
https://automatica.com.au/2020/12/installing-powershell-on-macos-for-remote-administration-of-microsoft-365/

Update https://github.com/dfinke/ImportExcel/blob/master/tests/Join-Worksheet.tests.ps1#L98 to not use Get-CimInstance or Import-CliXml


Recyclarr 5.4.0 appears to ignore includeCustomFormatWhenRenaming on CFs

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When syncing a CF with includeCustomFormatWhenRenaming: true recyclarr does not honor the setting. They all sync as false which will cause renaming and scoring issues as this mainly applies to streaming service CFs.
Expected Behavior
Sync should honor includeCustomFormatWhenRenaming setting as it did on 5.3.1.
Steps To Reproduce

Use any CF with includeCustomFormatWhenRenaming: true on 5.3.1
Sync the CF
Note that the setting is enabled in the CF
Upgrade to 5.4.0
Sync the CF
Note that the setting is now disabled in the CF

Environment & Versions
- Operating System: Ubuntu 22.04
- Architecture: x64
- Recyclarr Version: 5.4.0
- Recyclarr Build: linux/amd64
- Sonarr Version: <IP_ADDRESS>6
- Radarr Version: <IP_ADDRESS>09

Recyclarr Log File(s)
Verbose since debug doesn't show the config piece changing https://gist.github.com/datcactus/b43040776527c7d95f964ba8f4ea4cc6
Configuration YAML
https://gist.github.com/datcactus/5af31a57739905669affa7d1629dadb3
Sonarr / Radarr Logs
No response

Fixed in v5.4.1


Save as to change the label

save as of graphml should change the label on the tab before saving. (line 5 in the saved graphml: graph edgedefault="directed" id="1662751718877" projectName="untitled") Here, the "untitled" should be replaced by the saved new name, when you click the "save as" option.

Closed as Won't Fix.


Buffer is not supported.

For some reason, using the default cache manager correctly adds values in the cache
but cannot retrieve them (it might be related to the fact that we are putting
buffers inside the cache)

Does this work using LRUcache directly?

Some special case. I close waiting for a case with the error. thanks


Path(/usr/kafka-manager)

Hey there,
I was trying out your Image but it failed with the following error:
Yikes! Ask timed out on [ActorSelection[Anchor(akka://kafka-manager-system/), Path(/user/kafka-manager)]] after [5000 ms]

Is /user/kafka-manager/ correct? To me it seems more like /kafka-manager
Cheers
Christian

Hi,
Can you please give more details about your environment ?
thanks

Hi,
I'm closing this issue. I think it'x fixed by now. Thanks for your report.


Add GSP effective capacity support

Pull Request
Description
Made changes to include both the GSP installed capacity and estimated effective capacity.
The installed capacity is now under the batchkey BatchKey.gsp_installed_capacity_megawatt_power
The effective capacity is under the batchkey BatchKey.gsp_effective_capacity_megawatt_power
I chose the above to be explicit about which is which.
Changes include:

Update core library to pass around both the installed and effective capacities.
Update current datapipes. These were previously using the installed capacity, and I have left them still using the installed capacity with its new variable name. This is except for the PVNet pipeline which I want to change.
Update tests.

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

@jacobbieker I updated some of the comments and variable names in the metnet and pseudo irradiance pipelines as I think they were misnamed to be GSP instead of PV. Let me know if I got this wrong.

should we stick with the names in PVLive? ie.

installed_capacity_mwp
capacity_mwp
? Might be better to keep it like that?

We could do. Previously the key was BatchKey.gsp_capacity_megawatt_power so that would be a change away from that?

We could do. Previously the key was BatchKey.gsp_capacity_megawatt_power so that would be a change away from that?

@JackKelly @jacobbieker what do you think?

We could do. Previously the key was BatchKey.gsp_capacity_megawatt_power so that would be a change away from that?

@JackKelly @jacobbieker what do you think?

We use _mwp in other places, so could be good. I think we wrote them out to be super explicit what the units were, but I think its probably fine shortening them to that. I would still keep gsp though, I like having it explicit that its GSP capacity, not PV.

IIRC in PVLIve they are installedcapacity_mwp, i.e. without any underscore separating "installed_ and capacity, and capacity_mwp. So maybe this option would be to rename to gsp_installedcapacity_mwp and gsp_capacity_mwp for the batchkeys?

IIRC in PVLIve they are installedcapacity_mwp, i.e. without any underscore separating "installed_ and capacity, and capacity_mwp. So maybe this option would be to rename to gsp_installedcapacity_mwp and gsp_capacity_mwp for the batchkeys?

I like this

@peterdudfield @jacobbieker @JackKelly I've done some variable name changes.
The installed batchkeys are gsp_[installed]capacity_mwp, and the variable names in the GSP dataset are [installed]capacity_mwp.
This is out of keeping with the PV variable names which has batchkey pv_capacity_watt_power, but maybe that can be cleaner up later?


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2098 ms

Resolved: Bofrost.be performance has improved in c356f95.


Unknown parameter tool_calls index on gpt-4-turbo

Bug Report
Overview
When using a tool call in a chat request, the API returns an error that index is an unknown parameter.
This occurs in gpt-4-turbo (non preview)
To Reproduce
Steps to reproduce the behavior:
Modify the test Test_02_03_ChatCompletion_Multiple_Tools_Streaming to use gpt-4-turbo
Expected behavior
The API to not return an error

Gonna need more info than this, sorry.
What does your tool setup look like?
Sounds like the tool list malformed.

wasn't able to reproduce this when using new gpt-4-turbo model

wasn't able to reproduce this when using new gpt-4-turbo model

@StephenHodgson
seems like OpenAI must have reverted the change that caused the error. However, it appears that index is still an invalid parameter so it may be ideal to remove it from tool_calls.
see https://community.openai.com/t/gpt-4-turbo-model-function-call-doesnt-work/712218/4

Ok, I'll keep testing and fix anything I come across


feat: files event

Adding a new telemetry event type for files.
Checking if a project has .nuxtignore or app.config.ts.

Payload should look like :
{
  "name": "files",
  "nuxtIgnore": false,
  "appConfig": false
 }

@Atinux

Codecov Report
Patch coverage: 70.83% and project coverage change: -0.85% :warning:

Comparison is base (5350826) 83.95% compared to head (0bcbb16) 83.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
- Coverage   83.95%   83.11%   -0.85%
==========================================
  Files          18       19       +1
  Lines         586      610      +24
  Branches       71       74       +3
==========================================
+ Hits          492      507      +15
- Misses         94      103       +9

Files Changed
Coverage Δ

src/events/files.ts
68.18% <68.18%> (ø)

src/events/index.ts
100.00% <100.00%> (ø)

src/module.ts
95.61% <100.00%> (-1.74%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.