HiDPI scaling not working

HiDPI scaling is not working. Actually the source code doc tells, this is handled by the Resized event. The relevant code is located in baseview::WindowEvent::Resized handler. But this event and even the whole ApplicationRunner::handle_event function is never called. Instead the winit::event::WindowEvent::Resized event handler is called. But it doesn't handle HiDPI.
Setting a custom scaling factor doesn't do anything too.

Hello, we tried to solve the issue.
This is what we did:
This change adds HiDPI scaling support to the winit::event::WindowEvent::Resized handler in the Application struct. It calculates the new scale factor based on the physical and logical sizes of the window, updates the context's scale factor, and resizes the window with the new scaled dimensions.
You can review changes in this commit: https://github.com/zxsa89675/vizia-vizia-522/commit/a0d1569670fc7d4f56172ed659ab7437d8fc2810.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

HiDPI scaling is not working. Actually the source code doc tells, this is handled by the Resized event. The relevant code is located in baseview::WindowEvent::Resized handler. But this event and even the whole ApplicationRunner::handle_event function is never called. Instead the winit::event::WindowEvent::Resized event handler is called. But it doesn't handle HiDPI.
Setting a custom scaling factor doesn't do anything too.

Baseview and winit are two different windowing crates, so you'll only be using one or the other. Are you using vizia to make an audio plugin?

I just tested this on my device and the vizia gui correctly scales with the scale factor of the system. This is on Windows. Is the gui not scaling for you?

I'm actually not on a computer with HiDPI but will try to create a MVP and a screenshot on the other computer.

I just tried it with current git version of Vizia on my Windows 11 Enterprise 24H2 and two 4K monitors having 175% scaling.

use vizia::prelude::*;

#[derive(Lens)]
struct AppData {}

impl Model for AppData {}

fn main() {
    let _ = Application::new(|cx| {
        AppData {}.build(cx);
        HStack::new(cx, |cx| {
            Label::new(cx, "Hallo world");
        });
    })
    .title("Test")
    .inner_size((400, 200))
    .run();
}

I just tried it with current git version of Vizia on my Windows 11 Enterprise 24H2 and two 4K monitors having 175% scaling.

Ok so this looks like the window might be being scaled properly but the text isn't. That's definitely a bug, thanks for pointing this out.


Add Support for Transient Property in Prisma Models

Problem

Problem
Currently, Prisma enforces that all model fields are persisted in the database. This limitation can be problematic in cases where certain properties are required only at the application layer, such as computed values or temporary data used during processing. As a result, developers are forced to handle such properties separately, leading to more complex code and a lack of direct support in Prisma.
Suggested solution
Introduce support for transient properties in Prisma models that are not persisted to the database. These properties should:
Be defined in the Prisma schema but excluded from database migrations.
Be accessible via Prisma Client, similar to regular model fields.
Allow developers to handle temporary or computed data more seamlessly within the Prisma model.
Alternatives
An alternative is to handle these transient fields outside of Prisma by manually adding them to the objects after retrieval from the database. However, this leads to scattered logic and decreases the overall maintainability of the codebase.
Additional context
Transient properties are common in other ORM frameworks and would offer more flexibility to Prisma users, making it easier to manage application-specific logic without impacting the database schema. This feature will streamline development, especially for use cases involving temporary or computed data.
Suggested solution

Alternatives

Additional context

Hey @jazzybruno.
Would result extensions solve your usecases?

Hi,
Thank you for the response! I feel that this approach is a bit more complex
compared to Spring Boot's @Transient property, which offers a more
user-friendly solution. It would be great if Prisma could implement
something similar to streamline the process for developers.
Is there any timeline for this feature to be merged once implemented?
On Fri, Sep 27, 2024 at 4:45 PM Serhii Tatarintsev @.***>
wrote:

Hey @jazzybruno https://github.com/jazzybruno.
Would result extensions
https://www.prisma.io/docs/orm/prisma-client/client-extensions/result
solve your usecases?
—
Reply to this email directly, view it on GitHub
https://github.com/prisma/prisma/issues/25297#issuecomment-2379448164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWW6N44X676PZ6LGE652V3TZYVVO5AVCNFSM6AAAAABO47IRBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZGQ2DQMJWGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: photo]
DUSHIMIYIMANA Jazzy Bruno
Software Developer, Rwanda Coding Academy
0790059755  |<PHONE_NUMBER>  |  jazzybruno.vercel.app/
@.***  |  Kigali https://maps.google.com/?q=Kigali  |  Jazzy
Bruno https://wa.me/Jazzy+Bruno  |  jazzybruno
jazzybruno https://msng.link/o/?jazzybruno=tg
[image: facebook] https://www.facebook.com/jazzibruno.dushimiyimana/ [image:
instagram] https://www.instagram.com/bruno_jazzy/ [image: linkedin]
https://www.linkedin.com/in/jazzy-bruno-b9861a225/
Create your own email signature
https://www.wisestamp.com/create-own-email-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=

Before we even start to talk about timelines, we have to agree on whether or not this is feature worth having.
How would the field be accessible on the model? In JPA you would do something like this:
@Transient
 public String getFullName() {
        return firstName + " " + lastName;
  }

If we introduce similar @transient attribute to Prisma schema, where would return firstName + " " + lastName; part go? You'd still have to supply it on TS side somehow and probably write a code that is very similar to existing result extensions anyway. Does having an annotation really makes things simpler in that case?

I’ve been trying to use Prisma’s $extends feature to add custom computed
fields to a model. Specifically, I have a Category model that has an array
of Fields, each with a price. My goal is to compute a totalPrice for the
Category by summing the price values from the related Fields. However, I
encountered a limitation where Prisma’s $extends functionality does not
allow adding arrays or objects from relations to the needs object.
Is there any plan to support this use case, or is there an alternative
approach that could be suggested for computing fields based on related data
arrays using $extends?
On Mon, Sep 30, 2024 at 3:06 PM Serhii Tatarintsev @.***>
wrote:

Before we even start to talk about timelines, we have to agree on whether
or not this is feature worth having.
How would the field be accessible on the model? In JPA you would do
something like this:
@Transient
public String getFullName() {
return firstName + " " + lastName;
}
If we introduce similar @transient attribute to Prisma schema, where
would return firstName + " " + lastName; part go? You'd still have to
supply it on TS side somehow and probably write a code that is very similar
to existing result extensions anyway. Does having an annotation really
makes things simpler in that case?
—
Reply to this email directly, view it on GitHub
https://github.com/prisma/prisma/issues/25297#issuecomment-2383138966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWW6N42XZVCN4PRTTZB2OMDZZFED3AVCNFSM6AAAAABO47IRBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGEZTQOJWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: photo]
DUSHIMIYIMANA Jazzy Bruno
Software Developer, Rwanda Coding Academy
0790059755  |<PHONE_NUMBER>  |  jazzybruno.vercel.app/
@.***  |  Kigali https://maps.google.com/?q=Kigali  |  Jazzy
Bruno https://wa.me/Jazzy+Bruno  |  jazzybruno
jazzybruno https://msng.link/o/?jazzybruno=tg
[image: facebook] https://www.facebook.com/jazzibruno.dushimiyimana/ [image:
instagram] https://www.instagram.com/bruno_jazzy/ [image: linkedin]
https://www.linkedin.com/in/jazzy-bruno-b9861a225/
Create your own email signature
https://www.wisestamp.com/create-own-email-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=

Hi @SevInf,
This looks like a great feature and I believe it’s essential. Here’s my use case:
I have a login API that returns a User model. Now, I want to add tokens to the User model, but I won’t be storing them in the database. It would be ideal if I could do something like this:
model User {
  id        String    @id @default(uuid())
  createdAt DateTime  @default(now())
  updatedAt DateTime  @updatedAt
  deletedAt DateTime? // Optional
  username  String    @unique
  password  String
  email     String?   // Optional
  isAdmin   Boolean   @default(false)
  balance   Float     @default(0)
  token     String    @transient
}

The usage could remain straightforward. The token doesn't always need to be computed—its initial value can simply be the default for its data type.


nginx + modsec high memory usage - increases depending on number of vhosts

Hello.
I have compiled nginx 1.13.7 + modsecurity 3.0 + https://github.com/SpiderLabs/ModSecurity/pull/1667/files patch
modsecurity is enabled globally in the http section for all virtual hosts
If modsecurity is enabled and number of vhosts are increased nginx workers are starting to consume more memory.
I can see a clear relationship between the number of modsecurity rules, the number of vhosts and the memory consumption
If I have a lot of vhosts and a lot of modsec rules memory usage is high
If I decrease either the number of rules or the number of virtual hosts memory footprint starts to drop
It appears to me that instead of storing all modsec rules on a central place in the memory and doing lookups/searches in there, you are allocating separate modsecurity structures that include all rules per server/virtual host. Not sure.
See the table below:
version - nginx version
vhosts - number of vhosts
modsec - number of modsec rules
virt - virtual memory
rss - rss memory consumption
mem/vhost - rough calculation rss / vhosts
rules_mem - rough calculation rss (modsec on) - rss (modsec off)
mem/rule - rough calculation rss / rules
From that it appears to me that memory is growing faster depending on the number of virtual hosts not on the number of rules we have. Not sure why is that when modsec is included globally into the http section.
version vhosts  modsec  rules   virt    rss     mem/vhost   rules_mem   ~rough mem/rule
1.10.3  14      no      0       141m    19.51m  1.39m       0           0
1.10.3  1779    no      0       823m    702m    0.39m       0           0
1.10.3  1779    no      0       823m    703m    0.39m       0           0
1.13.7  1779    no      0       854m    732m    0.41m       0           0
1.13.7  1779    off     0       1007m   814m    0.45m       0           0
1.13.7  1779    off     0       1269m   1077m   0.60m       0           0
1.13.7  1779    off     0       1269m   1077m   0.60m       0           0
1.13.7  1779    off     0       1277m   1126m   0.63m       0           0
1.13.7  1779    on      0       1277m   1126m   0.63m       0           0
1.13.7  1779    on      1661    2541m   2342m   1.31m       1216m       0.73m
1.13.7  1779    on      3288    3306m   3063m   1.72m       2249m       0.68m
1.13.7  1779    on      3288    3798m   3575m   2.00m       2449m       0.74m
1.13.7  891     on      3288    2021m   1768m   1.98m       642m        0.19m
I hope this helps.

Hi @vaLski I had a similar issue.
Have you tried to add every common ModSecurity configurations is http, and only store differences in server and location sections?
Like:
http {
    modsecurity_rules_file /path/to/default/modsec.conf;
    server {
        modsecurity_rules_file /path/to/server_specific/diff/modsec.conf;
        location / {
              modsecurity_rules_file /path/to/location_specific/diff/modsec.conf;
        }
    }
}

/path/to/server_specific/diff/modsec.conf should only contain: SecRuleEngine , or SecRuleRemoveById
This configuration dramatically reduced ModSecury-nginx memory consumption for me.

@LeeShan87 I also enabled and included modsecurity configuration only inside the http section. Currently I do not have per server directive includes.
`http {
enable modsecurity globally by default
modsecurity on;
modsecurity_rules_file /etc/nginx/mod_security.conf;
...

}`

Even though the common settings are loaded in http{} context and on/off is
done in server{} context. The memory usage is currently high with a large
number of vhost.
This is by using the current v3 branch without any patches in the PR's that
are trying to fix the issue.
By the large number of vost, I mean in the ranges of 100 or above which is
very typical in shared hosting server environments.
On Wed, Feb 14, 2018 at 6:30 PM, vaLski<EMAIL_ADDRESS>wrote:

@LeeShan87 https://github.com/leeshan87 I also enabled and included
modsecurity configuration only inside the http section. Currently I do
not have per server directive includes.
`http {
enable modsecurity globally by default
modsecurity on;
modsecurity_rules_file /etc/nginx/mod_security.conf;
...
}`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SpiderLabs/ModSecurity-nginx/issues/92#issuecomment-365599998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHr6J-cdEb-I4LpFr650Qma_9x1OHUb6ks5tUtjagaJpZM4R81gg
.

--
Anoop P Alias

@AnoopAlias this is exactly what I am experiencing and which is also shown by the tests I  performed initially.
Memory is increased dramatically not with the number of rules I include but with the number of vhosts i add.
The very similar number of vhosts/rules ratio on apache keeps the footprint in the MB range while nginx is rocketing to the GB range.

@vaLski @AnoopAlias Can you let us know if you see the same results with the v3/dev/performance branch and PR #80?
Thanks.

@victorhora I just tested modsecurity from performance branch and nginx built with modsecurity-nginxconnector from https://github.com/SpiderLabs/ModSecurity-nginx/pull/80 but this does not make any difference in the overall memory consumption. The numbers looks exactly like the ones from my initial post.

The PR https://github.com/SpiderLabs/ModSecurity-nginx/pull/80 mostly gives an advantage when you are trying to reload Nginx multiple times.
Probably the problem hides in part of merging the server and location configuration of the module.

@vaLski Memory consumption is growing dynamically in time?

@victorhora - Used  v3/dev/performance + Applied pr #80  and applied SpiderLabs/owasp-modsecurity-crs#995
Its going good so far .I will keep you all posted of more test results

Hey @AnoopAlias ,
We too are facing similar issues. Just curious to see how are you finding memory usage now.
Cheers!

I provide a custom rpm for use on hosting servers.so cannot actually force/test mod_sec much on my client's servers due to the various instabilities it has now. The latest rpm I compiled use v3/master as I see it is getting more updates than v3/dev/performance along with #80 patch applied to the connector. So when I get a bit time, I would do my test and report here.

I have too used v3/dev/performance + Applied pr #80 as recommended by @AnoopAlias and run some tests. All looks good now, no memory leak now :)
CC: @victorhora

Appreciate the feedback @vikas027 @AnoopAlias @vaLski.
FYI, the v3/dev/performance branch was merged to v3/master since the 20th/Feb and since then a number of fixes and improvements also were added so it might be a good idea to rebuild from master.
As for #80, as everyone is getting good results from it including @defanator's performance tests from late Feb I think it might be a good idea to merge it to main of nginx-connector. What do you think @zimmerle?

#80 is now merged. Sorry for the delay. Assuming that this issue is now closed. Thank you!


Paper might be making Nightly run slowly

Getting this notification on the new e10s-enabled nightly builds of Firefox.

Will investigate. Thanks for reporting.

It's due to the “shift-click a link to save it to Instapaper” feature.
If a modifier for shift-clicking (whether is it shift or any other modifier key) is specified, listener.js gets injected to every webpage you visit in order to catch and process your shift-click.
If you turn it off (set Modifier to None), the aforementioned listener.js is not injected anywhere, so all webpages you visit will run somewhat faster. And your battery will become a little bit happier as well. I don't know exact benchmarks though, I might benchmark them if you're interested.
Do you think Modifier should be None by default? I love defaults that work out of the box, but this time it conflicts with battery life and perfomance, to some degree.

I think it should be None by default since this is a feature I (and probably most other users) don't know about.

I have compared Firefox with Paper turned on (including this feature) and Paper turned off. This little piece of JS that is added when shift-click-to-add feature is on doesn't affect performance or energy consumption in any measurable amount, so I'm closing the issue.
I suppose that the warning message appears because it finds that Paper uses PageMod to inject a piece of JS at every site you visit using a wildcard *, which may be a bad practice, like using CSS * selector.


Add tests that applicants are able to access obsolete programs

Applicants should be able to access obsolete programs that they have in-progress applications for. It doesn't seem like there are any tests for this, otherwise they would have caught the issue with https://github.com/civiform/civiform/pull/5007 (reverted in https://github.com/civiform/civiform/pull/5053)

Fixed by #5108


jhudsl-robot -> github actions bot

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Let's see if this can work. Replacing the jhudsl-robot with the github actions bot to see if we can eliminate that step!
What was your approach?
replaced all jhudsl-robot logins with github actions bot. Now just gotta do some more testing before I can say this is gonna work.

Made the accompanying website/docs change here https://github.com/jhudsl/ottrproject.org/pull/46/files#r1521505591


yadcf - error on externaltrigger with multiselect

i use yadcf with Extern container some "multi-select" and "externally_triggered" option. When i trigger the filter with my filter button if i got this error on console  : TypeError: selected_value.join is not a function  jquery.dataTables.yadcf.js:710:22
The reason is the variable filter_value can be equal space on multiselect and  the join fonction only work on an array.
I fix the problem on function exFilterColumn, but i am not sure this is the finest solution
case 'multi_select':
$('#yadcf-filter-' + table_selector_jq_friendly + '-' + column_number).val(filter_value);
**         if (filter_value == '') {
tmpStr = '';
} else {**
tmpStr = yadcfMatchFilterString(table_arg, column_position, filter_value, optionsObj.filter_match_mode, true);
**      }**
table_arg.fnSettings().aoPreSearchCols[column_position].sSearch = tmpStr;
if (optionsObj.select_type !== undefined) {
refreshSelectPlugin(optionsObj, $('#yadcf-filter-' + table_selector_jq_friendly + '-' + column_number), '-1');
}
break;
exemple here http://jsfiddle.net/wbgkp5ta/
pull request here
#302

fixed in 0.9.0.beta.15


Implement name sorting for persons

and probably also sorting of other entities

according to Markus no need for sorting buttons, static sorting for lastname and name of institutions is enough


[Task]: Document how to investigate OOMs

What needs to happen?
Add a playbook that will describe how to investigate memory leaks in Beam.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Added a page: https://cwiki.apache.org/confluence/display/BEAM/Investigating+Memory+Leaks

OOMs are not always a result of memory leaks. Sometimes workers must perform memory-intensive computation. How are users expected to implement such workloads?


Add protocol parameter invariants to TIP-49

Add the "sanity checks" (perhaps better described as invariants) introduced in https://github.com/iotaledger/iota.go/pull/606 and https://github.com/iotaledger/iota.go/pull/641 to TIP-49. It's also worth checking if there are other sanity checks in the code that should be transcribed to the TIP.

This was added to the TIP now.


Can you add some installation instructions please?

Sorry for the lack of information. The entire documentation part is an entire work-in-progress (and I'm not a doc person, which I would love to be). I could probably add it to the README.


iOS recorded video is not playing in android device?

I am not able play iOS device recorded video in android phone using react-native
Its play in iOS but not play in android
Extension is : .mov for iOS and .mp4 for android

Hi @yogeshj-aloha, this issue is outside of the scope of what react-native-video provides. Exoplayer does not support .mov (see https://exoplayer.dev/supported-formats.html). You may need to encode the video differently on ios.

How do we encode?


Don't allow address zero recipient on signature minting

@adam-maj couple of build issues to fix

merging this into my claim conditions branch


homepage banner should be swipeable on tablets

Browsing Artsy on an ipad in safari and am unable to swipe through the banners on the homepage.

Note: We can make the homepage banners use flickity and that should automatically add swipability

OK, after looking at this I see two options:

Convert the banner section from a custom job to use Flickity (the only caveat here is that Flickity doesn't support fading transition, so it would have to be a swipe like all the other carousels).
Add a jQuery (I know) plugin to support swipe events (like: https://github.com/mattbryson/TouchSwipe-Jquery-Plugin )

If converting the homepage to a sliding transition is NBD then I can go ahead and do that.

I’d argue that the only transition that makes sense with a swipe gesture is a carousel transition. That is, the idiom is that the elements are supposed to ‘stick’ to the fingers performing the gesture.
Was there a specific need for a fade transition?

@katarinabatina can you make the call? Can we kill the fading transition on the homepage carousel?

Unfortunately not, our banners are just too massive to have them "moving across the screen" as they transition. Sooooorrrrrryyyyyy :(

I’m not sure I follow what the problem is with them being massive? Just what it visually looks like when we quickly animate a 2000px wide banner across the screen or a performance issue?

No problem on my end, just want to avoid anyone complaining after the transition is no longer a fade :)

Oh missed @katarinabantina's comment. :wave:

@katarinabatina bump

sorry looks like my last comment neeever made it here. I think having a massive banner that moves across the screen is distracting (visually) which is why I'd prefer us to maintain the current animation when a user swipes.

Soooo @katarinabatina , I started doing this by just hooking up the swipe event to the current homepage banner component. Only doing the swipe transition on iPad will be a little wacky as it will mean a completely different implementation just for iPad. I'm fine to do it but it will definitely take a bit longer than just hooking up the swipe event.


Source package download from website has files with errors

Description
The source package download  from website has files with errors, some files name do not end in . java
e.g.

apache-druid-0.17.0-src/core/src/main/ava/org/apache/druid/collections/ReferenceCountingResourceHol
apache-druid-0.17.0-src/core/src/main/java/org/apache/druid/common/config/NullValueHandlingConfig.ja
apache-druid-0.17.0-src/core/src/main/java/org/apache/druid/data/input/FirehoseFactoryToInputSourceA
...

And i confirmed that SHA512 code of the downloaded file is right.

Hmm, I just downloaded the source package and I am not seeing the same behavior, could something about your environment have truncated the file names when unpacking?

Thanks clintropolis, there's something wrong with the way I unpacking the file, I've changed my way and it's okay


Improve CI

Add linter job
Add coverage job

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@bf27a6d). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 48930e1 differs from pull request most recent head 9285ada. Consider uploading reports for the commit 9285ada to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #103   +/-   ##
=======================================
  Coverage        ?   45.21%
=======================================
  Files           ?       43
  Lines           ?    17288
  Branches        ?        0
=======================================
  Hits            ?     7817
  Misses          ?     8065
  Partials        ?     1406


No cordova option, -w, didn't work

I tried
ionic start -w folderX blank
and it reported -w as an invalid task. It then made a new project in folderX with the tabs template.
When I did
ionic start --no-cordova folderX blank
it worked fine.

Should be fixed in the next release. Thanks for reporting.


Start cleaning fails

Describe the bug
Get an Errormessage when start something like Room-cleaning, self-cleaning, start-drying etc.
To Reproduce
See "Describe the Bug"
Expected behavior
See "Describe the Bug"
Screenshots
No screenshots
Additional Information (please complete the following information)

Model Name: dreame.vacuum.r2253c
Firmware Version: 4.3.6_1639
Home Assistant Version:
Configuration Type: with map
Errors or warnings shown in the HA logs (if applicable):
Fehler beim Aufrufen des Diensts button/press. Detected that custom integration 'dreame_vacuum' calls async_write_ha_state from a thread at custom_components/dreame_vacuum/vacuum.py, line 648: self.async_write_ha_state(). Please report it to the author of the 'dreame_vacuum' custom integration.

Dann, im new at github.
I apologize


SMS for Carrier Form

It's correct as you have it, that the user needs to fill in Inbound SMPP System in the open source version.
Beyond that, a couple of changes needed I think.

It looks like smm_inbound_system_id is actually being properly saved in the db, and returned in the GET, but I think the problem is that the webapp is missing a call to setSmppInboundSystemId at or about here

Since we now have to tell the user about the public IPs for both SIP traffic and SMPP traffic, and they could be different, could you move that information under the Voice and SMS tabs, respectively as done in the hosted version.  See below.

@davehorton Good spot on the setter—thanks. I pushed some more changes. I think my final question, maybe, is what to do about the first line of the help text for the Voice form: "Have your carrier send calls to {some sip realm}"? There seems to be no default SIP realm in the open source version since you can have many accounts. Also you can choose to associate the carrier with a single account (which may or may not have an SIP realm) or with all accounts. Then there is also an option to enter a custom SIP realm when you check the box for "Carrier requires SIP Register before sending outbound calls". At the moment I have it using that last one if present but I really don't know what it should be.

hmm, wait let me think about this...

@davehorton That change is in. PR is open now 👍


docs: Add architecture docs for the Identity and Trust protocol

What this PR changes/adds
Adds documents detailing the architecture that will be used to implement the Identity and Trust protocol.
Linked Issue(s)
Closes #147

Sorry, I'm having a rough day and didn't realize this branch was pointing at the main repo. I'm going to delete the branch and resubmit the PR.


Build with the "org.embulk.embulk-plugins" Gradle plugin

Coverage decreased (-1.1%) to 85.776% when pulling 56b5ef6e1b85b427a3f8750e98e10d17170f3ae0 on dmikurube:use-embulk-plugins-gradle-plugin into 7db27653ba5988a84c5ec9fe27816e45b67de073 on muga:master.

thanks. released v0.3.0.
https://rubygems.org/gems/embulk-filter-calcite/versions/0.3.0-java


realm: Add private_message_policy setting.

This experimental setting disables sending private messages in Zulip
in a crude way (i.e. users get an error when they try to send one).
It makes no effort to adjust the UI to avoid advertising the idea of
sending private messages.
Fixes #6617.

Merged as 79f18138f590898c9c7174f313141f7e907bfe49.


Charset problems

I have a problem with encoding. Am I doing something wrong or there is a problem with Coureir? How can I fix this?
I am sending:

      <meta charset="UTF-8" />

Diacritics: żółć

and getting:

Diacritics: ?�??

the email looks like this:
------=_Part_0_1597551722.1405604258142
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

      <meta charset=3D"text/html; charset=3DUTF-8"/>

Diacritics: ?=F3??

------=_Part_0_1597551722.1405604258142--

Current version also does not allow to set encoding at the Subject level. In our case we have special characters in subject as well.

Subject charset problem has been resolved https://github.com/softprops/courier/pull/29

It should be fixed in 1.0.0-RC1.


warning: already initialized constant Lucene::SEP

Hello.
I have warning:
  /tmp/vagrant-chef-3/chef-solo-1/cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb:22: warning: already initialized constant Lucene::SEP`

Chef 12.0.3

*** Chef 12.0.3 ***
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb:22: warning: already initialized constant Lucene::SEP
==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb:22: warning: previous definition of SEP was here

as far as I know -- chef 12 in local mode has search without needing chef-solo-search.
Part of upgrading to --local-mode instead of chef-solo should be migrating away from chef-solo-search.
have not used --local-mode but that's my understanding
see:
https://www.chef.io/blog/2014/06/24/from-solo-to-zero-migrating-to-chef-client-local-mode/

I am trying to track this down as well. For some reason using in conjunction with the user cookbook. With chef 12 it seems to be including the library twice...

curious about why anyone would use chef-solo with chef 12?

@michaelglass @sigil66 i make use of the https://supermarket.chef.io/cookbooks/users cookbook which will only present a warning when using chef-solo without chef-solo-search.
Although i use chef-zero, the config value "Chef::Config[:solo]" is set to true.

"Local mode behaves exactly like Chef Solo except that, during a run, it starts up a local Chef Zero server bound to localhost, uploads all local cookbooks & recipes to it, runs Chef Client, and then terminates the Chef Zero server. The end user experience is identical to Solo."
I see no reason to bother starting a chef server, local or remote, when our chef code is distributed with packages. I really only use the search for the users cookbook.

@sigil66 fwiw, this repo is mostly unmaintained now that chef zero supports search

Understood I just pulled it down internally and:
SEP ||= "="
Because after an hour of digging I still couldn't figure out why 'search/parser' was being loaded twice...

I'm having same issue as @Rud5G.  I use chef_zero but Chef::Config[:solo] is true. And the users mdoule basically forces us to use this cookbook.  @Rud5G did you find a work around for this issue?

@Rud5G part of this is a vagrant issue, see: https://github.com/mitchellh/vagrant/issues/5619
Once that get's fix then I think we wont need to use this cookbook to make users work.


Fix Examples

Updating the examples and cli template to new host interface

Rebased onto 8c60a13

Thanks for the PR and thanks for rebasing!


It's possible to make plugin from shell script ?

Hi, I have that script to find text in xls files: https://pastebin.com/vC50y8Nn
Is it possible to make plugin to cerbero with that script?

You should take a look at https://github.com/KELiON/cerebro-shell
That particular plugin allows you to call any shell command, so it should be fairly straight forward to rewrite that plugin to call a full script and perhaps take an input to put into the script.

@PrzemekSkw try to use the cerebro-shell it is very good


Added University of telecommunications and Post

@Kotsev-Kalin First stage of verification passed, official domain is utp.bg as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Kotsev-Kalin Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Is there a way to create an instance of Mustache?

All of the documentation show parse and escape methods getting applied directly to the global Mustache object imported from mustache. Is there a way to create an instance of mustache so parse and escape can be set up on an instance object and not effect the global Mustache object?

Using @nreese custom Writer to augment the default export with a custom render function, in this case for XML:
const mustache = require('mustache')
const xmlescape = require('xml-escape')

const xmlWriter = new mustache.Writer()
xmlWriter.escapedValue = function xmlEscapedValue (token, context) {
  const value = context.lookup(token[1])
  if (value != null) {
    return xmlescape(String(value))
  }
}
mustache.renderXml = xmlWriter.render.bind(xmlWriter)

module.exports = mustache


refactor toc for recipes

Before

After

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


644 Ignore notifications that update docket entries or contain attached images

According to #610 and #644, in this PR, we'll ignore email notifications that update docket entries.

So that the following ERROR_STRINGS were added:
Modified Dkt text from
Modified Date Filed from
Added Correct PDF to document

Also, we'll ignore email notifications that contain attached images.

Removed attached images from some of the old examples since they are forwarded emails and contained images not related to the NEF.

Great, thank you.


Log full errors when the OpenSearch sink fails to start

Description
In the cases where the OpenSearch sink fails to initialize, we log that it failed to start and then throw a RuntimeException, which is not as easy to track down in the logs since it bubbles up to "No pipeline available for execution".
This change logs the full error with the "Failed to initialize OpenSearch sink" error log
Issues Resolved
Check List

[x] New functionality includes testing.
[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2565 (0f11151) into main (360cb30) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##               main    #2565   +/-   ##
=========================================
  Coverage     93.44%   93.44%
+ Complexity     2169     2168    -1
=========================================
  Files           257      257
  Lines          6059     6059
  Branches        488      488
=========================================
  Hits           5662     5662
  Misses          269      269
  Partials        128      128

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


& + & selector is behaving incorrectly with computed rules

Environment
see the codesendbox example
Reproduction

Steps to reproduce
In short, & + & selector is broken when using computed rules inside the block:
  & + & {
    ${() => "<computed rule>"}
  }

The element style doesn't get updated when <computed rule> changes.
Expected Behavior
Actual Behavior
see the codesendbox example

https://codesandbox.io/s/styled-fuck-up-55gos?file=/src/App.js

Similar issues
https://github.com/styled-components/styled-components/issues/3341
https://github.com/styled-components/styled-components/issues/3265

Duplicate of #3265.


Update gl.json

Json reoder and translations for version 4.6.2

can you please provide only translations without reordering? those files are automatically generated, reordering doesn't help as they will be in the generated order when we sync translations next time. and now it makes it difficult to compare what has changed

I will revert the file and translate the new strings. Please, cancel this pull request.
I apologize for any problem caused.


Adding @dreamer-89 to Opensearch maintainers.

Signed-off-by: Kartik Ganesh<EMAIL_ADDRESS>Description
I nominated Suraj Singh (@dreamer-89) to be a co-maintainer for Opensearch through our nomination process. The maintainers have agreed, and Suraj has kindly accepted.
Suraj has quickly become one of the top contributors to OpenSearch since the fork, authoring 70 PRs and reviewing numerous others from his peers. His major contributions include:

Removal of mapping types, which was released with OpenSearch 2.0
Key bugfixes and improvements for segment replication:

Update PrimaryShardAllocator to prefer replicas with higher replication checkpoint
Changes in the CCR plugin to be compatible with segment replication
Fix seg-rep diff logic to ignore missing files
Fix isAheadOf logic for ReplicationCheckpoint comparison

In his reviews of pull-requests, Suraj not only checks for correctness but also identifies opportunities to improve code style (example).
Check List

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kartg I believe we need to backport to 2.2 / 2.1 / 2.0 / 1.x / 1.3 so @dreamer-89 will be able to merge the pull requests to maintenance branches as well

@kartg I believe we need to backport to 2.2 / 2.1 / 2.0 / 1.x / 1.3 so @dreamer-89 will be able to merge the pull requests to maintenance branches as well

@reta My understanding is that granting @dreamer-89 the maintainer access role gives them the relevant access to all branches in the repo. If that's not accurate, please let me know.
That said, [our existing documentation] doesn't clarify how to backport updates to maintainers. I see that the maintainer list in our 2.* branches are largely in sync with main but the 1.* branches are pretty outdated. Do you think we should keep those lists up to date?
cc @dblock

Thanks @kartg , I remember having issues initialy not able to merge to some maintance branches, it may be fixed though ... In any case, we could backport later on ... :-)


Add data portal options sidebar

Experimentation.  We're running out of room in the data browser header to keep adding buttons, and it'd be nice to have a place to show more information about datasets than just "launch viewer"

Or reverse (which makes more sense for menu opening)

This will give us more room to build controls and information.
Most of the code came from copy/pasting the DataDetails component from GWC because it's not flexible enough to support this and it's easier just to copy/modify
fixes #654

Final pass.

Responded to comments, also moved details markdown below the editor like this because I like the GitHub vibe and that much information would clog up the sidebar.  I'd like to start documenting our public datasets (not individually, but each subfolder group would be nice to say where the data came from, how it was annotated, and how close to ground truth we think it is)

I like that details markdown added in there.

Only additional thing looks like GWC and it's allowing a user to 'attempt' to create a folder inside of a container they don't have write access on. It errors properly but it's a little annoying that the button is enabled.

Yeah, this is an upstream issue in GWC's FileManager.  You have to make an extra request to check permissions, which at some point we decided was not we wanted to do.   The AccessControl context menu does this when a user does a right-click to decide whether or not to show the button.  It's obnoxious.


Clean Run Attempt #1

ISSUE TYPE

Bug Report

COMPONENT NAME

API
UI

SUMMARY

ENVIRONMENT

AWX version: X.Y.Z
AWX install method: openshift, minishift, docker on linux, docker for mac, boot2docker
Ansible version:  X.Y.Z
Operating System:
Web Browser:

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

ADDITIONAL INFORMATION

This is the first issue that should migrate with a clean run. No extra bot comments or flags.

We will see.

This looks like a serious problem.

I fixed this and it is ready for testing.


bug in sidebar mode

unable to open file after restarting app.

Can you share screen recording?

1.7.0 . Android 12

Thanks for details, working on fix.


pkg generator

Based on real experienced frustration, it would be extremely powerful to have a wrapper to go get, so that when you go get something within a devshell environment, it automatically generates a valid nix package descriptor.
Similar for other languages.
Alternative (less intrusive) UX:

devshell go get ...
devhsell pip install ... (with mach-nix)
...

Bonus:
-devshell upstream -> generates a PR to nixpkgs with custom packages :wink:  — problem nixpkgs folder "chaos" maybe does not provide sufficiently clear metadata
My experience is that it took a very long time to get all tooling set up (one time effort, but who knows if I decide to change tooling tomorrow, on the go).

devshell init could be a bit smarter and detect the language of the project.
Having some sort of package generators seems like an interesting idea but it needs to be fleshed out much more.

Questions (of the top of my mind without particular breadth or depth, nor):

What is the canonical way of extending devshell with overlays? (I might have developped one possible answer to that as part of #28)
What is the UX comand/control flow?

GetPackage -> (language native)
<- PkgDescribed (nixlang)
<- GotPackage (nix build)
Emulating language native tooling is key and also renders this enhancement idea a 80/20 one: it cannot avoid rough edges and only support some/most of the things.

nix pkg descriptor templating? -> given the variety in language-specifics of pkg descriptor, templating is probably the way to go over let's say ast composition of some sort (which woudn't probably have tooling support anyway).
Is a templating collection in scope for devshell or should live apart? What is the maintainance model/workflow? Might those template collections even become a nixpkgs feature?
What are the supported variants and invariants of a given template respective to tehir build support implementation? e.g. can we always fetch meta-data from a (github) api or do we need dummy invariants? can we simplify flags to those that work "most of the time"?
What might be the criterea for leveraging ecosystem tooling (e.g. mach-nix)?
What support level cut-off level / trade off is acceptable? How handle edge cases on the user interface?

<- NotPkgDescribed
<- NotGotPackage


router sc list command lacking documentation

Are you using Helium hosted Console or running your own open source Console?

My own

If you are on Helium hosted Console, which url are you currently on?

Not applicable

If you are experiencing bugs in Helium hosted Console, please specify your Organization name and Device ID (ex. 3483050b-284d-47e2-8eda-e087fc03a753).

Not applicable
Helium Console version: Built from d2b6af6bb85acda507cc4cfbcc83a8d2dc786418
Please describe your issue:
When executing docker exec helium_router router sc list I get a table that looks like this:
+-----------+---+----+-----+-----+----+---+----+------+-------+---------+--------------------------+
|    id     |non|stat|is_ac|expir|expi|amo|num_|num_pa|partici|max_parti|        root_hash         |
+-----------+---+----+-----+-----+----+---+----+------+-------+---------+--------------------------+
|"hidden-bei|126|"clo|true |96595|true|100| 64 |  63  |   1   |  1500   |"1fjCaWZfRo49GYNj4Q9vRbnW/|
+-----------+---+----+-----+-----+----+---+----+------+-------+---------+--------------------------+

What do the different fields mean?
How do I make the table wider so that the information is not truncated? My terminal is much wider than the rendered table.

Same questions apply to docker exec helium_router router device all. Let me know if you want a separate issue for that.

I will add some documentation for this CLI command.
The table size depends on your screen size I believe mine is not truncated.

+-------------------------+-----+------+---------+---------+-------+------+-------+-----------+------------+----------------+----------------------------------------------+
|           id            |nonce|state |is_active|expire_at|expired|amount|num_dcs|num_packets|participants|max_participants|                  root_hash                   |
+-------------------------+-----+------+---------+---------+-------+------+-------+-----------+------------+----------------+----------------------------------------------+
|"curved-butter-dragonfly"|  0  |"open"|  true   | 971838  | false |10000 |   0   |     0     |     0      |      1500      |                      []                      |
| "quaint-heather-jaguar" |  6  |"open"|  true   | 971821  | false |10000 |   8   |     4     |     2      |      1500      |"2UQSeyXwnvrzQz7H5CVgEQySuQxYyXHA2qE3wd1t5U8="|
| "thankful-punch-canary" |  0  |"open"|  false  | 972574  | false |10000 |   0   |     0     |     0      |      1500      |                      []                      |
+-------------------------+-----+------+---------+---------+-------+------+-------+-----------+------------+----------------+----------------------------------------------+

@macpie My terminal is much wider than the rendered table. I'll post a screen shot tomorrow.

Could be an issue with how I am executing docker exec. Maybe I need to add the -t parameter to allocate a tty, so the environment knows how wide the terminal is. I can verify this tomorrow and report back.

Could be an issue with how I am executing docker exec. Maybe I need to add the -t parameter to allocate a tty, so the environment knows how wide the terminal is. I can verify this tomorrow and report back.

Yes indeed, good catch
$ docker exec -it helium_router _build/default/rel/router/bin/router sc list
+-------------------------+-----+------+---------+---------+-------+------+-------+-----------+------------+----------------+----------------------------------------------+
|           id            |nonce|state |is_active|expire_at|expired|amount|num_dcs|num_packets|participants|max_participants|                  root_hash                   |
+-------------------------+-----+------+---------+---------+-------+------+-------+-----------+------------+----------------+----------------------------------------------+
|"curved-butter-dragonfly"|  0  |"open"|  true   | 971838  | false |10000 |   0   |     0     |     0      |      1500      |                      []                      |
| "quaint-heather-jaguar" |  6  |"open"|  true   | 971821  | false |10000 |   8   |     4     |     2      |      1500      |"2UQSeyXwnvrzQz7H5CVgEQySuQxYyXHA2qE3wd1t5U8="|
| "thankful-punch-canary" |  0  |"open"|  false  | 972574  | false |10000 |   0   |     0     |     0      |      1500      |                      []                      |
+-------------------------+-----+------+---------+---------+-------+------+-------+-----------+------------+----------------+----------------------------------------------+

$ docker exec  helium_router _build/default/rel/router/bin/router sc list
+--------------+---+---+-----+-----+----+---+----+------+-------+---------+-------------------------+
|      id      |non|sta|is_ac|expir|expi|amo|num_|num_pa|partici|max_parti|        root_hash        |
+--------------+---+---+-----+-----+----+---+----+------+-------+---------+-------------------------+
|"curved-butter| 0 |"op|true |97183|fals|100| 0  |  0   |   0   |  1500   |           []            |
|"quaint-heathe| 6 |"op|true |97182|fals|100| 8  |  4   |   2   |  1500   |"2UQSeyXwnvrzQz7H5CVgEQyS|
|"thankful-punc| 0 |"op|false|97257|fals|100| 0  |  0   |   0   |  1500   |           []            |
+--------------+---+---+-----+-----+----+---+----+------+-------+---------+-------------------------+

Great, thanks for verifying. When the full names of the columns are visible, the names are pretty self-explanatory. I'm ok with closing this without additional documentation.

Sounds good to me!


wrap line in deleted containers when pruning

- What I did

make pruning container output consistent with volume and images

- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: allencloud<EMAIL_ADDRESS>

LGTM


Inproper use of eleventy-photo-gallery without attribution

Hey there @ronakjethwa !
If you want to use eleventy-photo-gallery template, you will need to generate a new project from the template via this link on the repo: https://github.com/tannerdolby/eleventy-photo-gallery/generate
Otherwise you're straight up copying the project and putting your name on it. Could you please use the proper attribution?

I needed to remind myself how the MIT License worked. You have the freedom to use/modify the project as its open-source. I see you have kept the original LICENSE with my attribution so I'm going to go ahead and close this issue. Sorry for the trouble!

Hey, thanks @tannerdolby for reaching out with the concerns. Let me know if you have decide to change how the license works, and I can change how things are and create a new version out of it.
Thanks for the sweet repository, btw!

@rjethwa1-godaddy No problem! Thanks for getting back to me. I'm happy to hear you are finding the repository valuable :) Feel free to submit any feature requests if there is other functionality you would like to see in the template.
You don't necessarily have to change your repo here, but I intended the project to be a "template" so users could generate their own photo gallery projects from my base template via the "Use this template" button: https://github.com/tannerdolby/eleventy-photo-gallery/generate

Here is one example of someone who is using the photo gallery template in the intended way:

https://github.com/GitOffMyCode/eleventy-photo-gallery

Happy coding!


Fix description for _multiartist variable

Summary
This is a…

[x] Correction
[ ] Addition
[ ] Restructuring
[ ] Minor / simple change (like a typo)
[x] Other

Reason for the Change
The description for the %_multiartist% variable was incorrect in that it indicated that the value would be set to "0" if all primary track artists on an album were the same.  In this case, the variable is not set.
Description of the Change
Fix description for _multiartist variable.  Also update translation files:

Update translation files for %_multiartist% variable.
Update translation files for previous change (tickets link).

Additional Action Required
None.

@phw, I can never remember if I only need to update the POT files and Weblate handles updating the associated PO files, or if I need to update both.  I vaguely recall only updating the POT files once and found that Weblate never updated the PO files to show new translations required, but that may have been a bug (configuration issue) when we were first setting it up on Weblate.  Do you know if we can get by just updating the POT files?


async: Do not use heapless on public API.

It's better to not use heapless on the public API.

It can get major bumps from time to time (for example v0.8 was just relased), and upgrading it is a breaking change of embedded-nal-async, which we should try to avoid.
It allows users to use any version of heapless, or something else entirely.

Would you be willing to copy these over to the non-async version as well? I agree with the sentiment here, and we have the same problem over there.

@ryan-summers  done
also note I've separated the MSRV bump to #94, review that first.


Lean not compiling on OS X

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.

Specifially, check out the wishlist, open RFCs,
or feature requests.

Reduced the issue to a self-contained, reproducible test case.

Description
Lean fails to compile on OS X. Output from
git clone git@github.com:leanprover/lean.git
cd lean
mkdir -p build/debug
cd build/debug
cmake -DCMAKE_BUILD_TYPE=DEBUG -G Ninja ../../src
ninja

follows
Cloning into 'lean'...
remote: Counting objects: 134007, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 134007 (delta 53), reused 68 (delta 39), pack-reused 133890
Receiving objects: 100% (134007/134007), 47.65 MiB | 10.15 MiB/s, done.
Resolving deltas: 100% (98220/98220), done.
-- The CXX compiler identification is AppleClang <IP_ADDRESS>20042
-- The C compiler identification is AppleClang <IP_ADDRESS>20042
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Lean emacs-mode will be installed at /usr/local/share/emacs/site-lisp/lean
-- Lean library will be installed at /usr/local/lib/lean
-- Found GMP: /opt/local/include (Required is at least version "5.0.5")
-- Using standard malloc.
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
-- git commit sha1: ad976073077da18884f3c60fe99e65fcec28a131
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/scott/projects/lean/build/debug
[501/502] cd /Users/scott/projects/lean/library && /Users/scott/projects/lean/src/../bin/lean --make
[502/502] cd /Users/scott/projects/lean/leanpkg && /Users/scott/projects/lean/src/../bin/lean --make
FAILED: CMakeFiles/leanpkg
cd /Users/scott/projects/lean/leanpkg && /Users/scott/projects/lean/src/../bin/lean --make
/Users/scott/projects/lean/leanpkg/leanpkg/main.lean:148:4: error: don't know how to synthesize placeholder
context:
_inst_1 : io.interface
⊢ Sort ?
/Users/scott/projects/lean/leanpkg/leanpkg/main.lean:148:4: error: deep recursion was detected at 'replace' (potential solution: increase stack space in your system)
/Users/scott/projects/lean/leanpkg/leanpkg/main.lean:168:0: warning: declaration 'leanpkg.main' uses sorry
/Users/scott/projects/lean/leanpkg/leanpkg/main.lean:198:0: warning: declaration 'leanpkg.split_cmdline_args' uses sorry
ninja: build stopped: subcommand failed.

Versions
This is git commit ad976073077da18884f3c60fe99e65fcec28a131.
Unhappily, it fails on my OS X 10.12.5 laptop but succeeds on my OS X 10.10.5 desktop.
Laptop:

OS X 10.12.5
AppleClang <IP_ADDRESS>20042
CMake 3.8.2

Desktop

OS X 10.10.5
AppleClang <IP_ADDRESS>00181
CMake 3.8.1

Unhappily, it fails on my OS X 10.12.5 laptop but succeeds on my OS X 10.10.5 desktop.

It was failing on my notebook too. It only happens in Debug mode. Are you compiling in debug mode on your desktop?
The commit above should fix the problem. It fixed on my notebook.

Thanks, works for me. It does look like I'm compiling in debug mode on both computers, so I'm not sure why it was still working there.


tf.keras.layers.GlobalAveragePooling2D() freezes tf.distribute.MirroredStrategy()

I was preparing my own training script for multi-gpu support to achieve higher batch sizes using tf.distribute.MirroredStrategy().
Things were working initially but began freezing (seemingly out of the blue) on NVIDIA T4 (4 GPU) - VRAM 64gb, but still runs fine on NVIDIA A10G (4 GPU) - VRAM 96gb.
I used the following example to debug on NVIDIA T4 (4 GPU)  - VRAM 64gb:
Custom training with tf.distribute.Strategy
I found that if I substitute their model (See link) with
model = tf.keras.Sequential([
        tf.keras.layers.Conv2D(10, kernel_size=3, activation="relu"),
        tf.keras.layers.GlobalAveragePooling2D(),
        tf.keras.layers.Dense(10, activation="relu")
   ])

the training freezes from the start (just like my own code, which is using a similar model).
My symptoms are similar to Multi-GPU training not starting or freezing. GPUs at 100%
It stops freezing if I replace GlobalAveragePooling2D() with a Flatten().
model = tf.keras.Sequential([
      tf.keras.layers.Conv2D(10, kernel_size=3, activation="relu"),
      tf.keras.layers.Flatten(),
      tf.keras.layers.Dense(10, activation="relu")
 ])

I have also noticed freezing when introducing stride > 1 in the conv layer.
Everything runs fine on a single-gpu. Freezing only occurs when using >1 GPU.

Hi @SuryanarayanaY ,
Thank you for the quick reply!
The example I linked is using 2.14.0 (from tensorflow docs) - which freezes with the model I showed above.
my own code on NVIDIA T4 (4 GPU) - VRAM 64gb is using 2.13.1 - also freezes.
my own code on  NVIDIA A10G (4 GPU) - VRAM 96gb is using 2.13.0- but works.
With your confirmation I'll happily move the issue to tf-keras.

We have not made any modification to our handling of tf.distribute in Keras 2 from 2.13 to 2.14, and neither to GlobalAveragePooling2D. The issue must be a bug with tf.distribute. I would recommend opening an issue on the TensorFlow repo.

In Keras3 distribution strategies not yet implemented.

Actually Keras 3 with the TF backend is fully compatible with tf.distribute (except for ParameterServerStrategy).
You could also try using Keras 3, it gives you access to alternative ways to distribute (in particular via JAX and keras.distribution).

I have opened an issue on TensorFlow.
tf.keras.layers.GlobalAveragePooling2D() freezes tf.distribute.MirroredStrategy() #62571

Hi @matthewhelmi , As the issue needs to be addressed in TF repo where already you have raised a ticket, can you close it here and track there ?
Thanks!

Will do! My apologies for forgetting


Spring SMTP gateway Kafka support

The Spring SMTP gateway accelerator currently uses RabbitMQ for asynch messaging.  With the introduction of the Kafka in the TAP Bitnami package, this project will create an option to use either RabbitMQ or Kafka.  It will use the kafka-unmanaged ClusterInstanceClass to dynamically create the kafka instance if kafka is selected and messaging option.

Resolved in PR #307


[BUG] tensorflow-estimator is removed from tensorflow 2.16.1

Description

As mentioned in TensorFlow's release note for version 2.16.1, the breaking change that removes tensorflow-estimator is complete in TensorFlow 2.16.1.  All code using TF estimator in Recommenders needs to change.
In which platform does it happen?

TensorFlow
How do we replicate the issue?

Expected behavior (i.e. solution)

Other Comments

This is needed to update to Python 3.12

#2098

I don't know anything about tensorflow and I'm having problems solving this issue. If someone can and wants to help, I did a mini-guide on the problem.

@daviddavo it would be good to know exactly what code is affected. Maybe there is a way to change these piece of code to change it. Also, we need to consider that we have some algos that we are going to change by a PyTorch version see https://github.com/recommenders-team/recommenders/issues/2111

Basically, the entirety of the wide_deep_utils.py file.
I haven't really used tensorflow, so I don't know exactly how it works, but this doesn't seem to be a minor change as it needs a complete refactoring to use tf.keras. For example, tf.estimator.RunConfig doesn't exist anymore and you need to create some callbacks: one for saving checkpoints, one for logging, etc. that may or may not be already available in the library. Each of the three models (wide, deep and wide-deep) would also need to be redone using tf.keras models.

Migration examples: Canned Estimators

The functions used by wide_deep but defined in tf_utils.py. There are some functions that would need to be created, and others that would be deleted:

_TrainLogHook

Perhaps using keras 3 (backend agnostic) or Pytorch would take a similar effort to migrating to tf.keras.

If only wide and deep is affected, would it be easier to replace it with PyTorch? Here's an implementation: https://www.kaggle.com/code/matanivanov/wide-deep-learning-for-recsys-with-pytorch
I think TF W&D was done by @loomlike. What do you suggest?

I was giving it a go because I want to learn a bit more about low-level machine learning (instead of always using import), and it seems that tf.feature_column is also deprecated.

Migrate tf.feature_columns to Keras preprocessing layers

Keras 3 allows using multiple backends, TensorFlow and PyTorch, both included. It does not support Python 3.8, which is still the second most used version of Python to download the recommenders package. Nevertheless, it's just a mere 5% of the downloads (note: in july it was 10% so its rapidly declining). Perhaps the python312 branch (#2098) should stop supporting Python 3.8 and be merged when less than X% of users use python 3.8. Users that still need it can always download an old version of the recommenders package from pypi.

https://pypistats.org/packages/recommenders

About using PyTorch, it would be less straightforward and would require making substantial changes to some of the notebooks, but its syntax is easier to understand. I will give it a go directly from the paper and the notebook because refactoring from tf to PyTorch is impossible due to their vast diferences in software architectures and paradigms.


#1276 permits regex routes in ingressroute

As a side effect of #1276 path prefixes in ingressroute can now be regexes. This is not something that is currently permitted and we should make sure people don't rely on it.
Note: We are planning on adding other routing options to Ingressroute, #1075 , but we want to do it in a planned, not accidental, way.

I'm fixing this now. It is a blocker on 0.14.1


Update beaker tests + travis integration

This updates the beaker tests to the point where they work again.
@aj-jester this is ready for review. I mostly wanted this in perpetration for integrating your work with installing zips and downgrades.
If we want to be sure that our code can fetch consul from the internet, unzip, verify, downgrade, etc, then we should describe it in code. With these this infrastructure we should be able to do that reproducibly, and if it ever breaks we will know.
Of course you can run them manually yourself if you have docker installed with bundle exec rake beaker

@solarkennedy niiiiiice! Let me try this again and I'll let you know in a few.

I'm going to go ahead and merge this in, as they do pass and work.
We can get more sophisticated as we go and want to ensure certain behaviors.

@solarkennedy sorry for not getting back quickly. I had time to play around with it earlier this week and think it looks good.  Thanks.


Fix 224

Looks like it fixes the following issue (#224)

Sorry, for some strange reason tests were passed locally, will check what is missing

Looks like there's something wrong with IE10

@FezVrasta yes, and method includes() instead of direct comparison was originally used to fix some related ie10 issues.

Are you going to work on this?

Yes, but I am not sure that I can fix this. I am trying to approach to fix, but still don't fully understand all cases and logic behind this

Oh really? Was is just that?
Thank you so much!

Still don't fully understand why, but using strict comparison (which I believe is more correct) if parent is scrollable with all browsers, and keeping contains() with IE10, makes all tests to pass :)

The use of contains is needed to take into account multiple scrollable elements between the commonOffsetParent and the reference element.
I'm going to review these changes to see if we can get rid of some of that logic.

No issues with method names. Using includes() instead of contains() was just my mistake (always messing these two methods). The issue was detection whether we need to include scroll offset of main parent or not, and very strange logic for this detection with IE10, which I still not fully understand.

I assume that all multiple scrolls are calculated implicitly in the
let offsets = getClientRect({     top: childrenRect.top - parentRect.top,     left: childrenRect.left - parentRect.left,     width: childrenRect.width,     height: childrenRect.height,   });
but the issue is when parent itself is scrollable, not its childs...
But anyway, I don't know if I am right or wrong, waiting for your review.

I can confirm that this fixes popper position for me when using them inside overflow: scroll elements! 🎊


Split terminal freezes

Issue Type: Bug
When using the integrated terminal in split mode with two splits, the first split sometimes becomes unresponsive, freezes and goes blank.
It seems to happen after resizing the width of the two split terminals using the separator between them but doesn't happen consistently. It only happens after a while of terminal use.
The only way to fix the problem is to kill the terminal, however, even that doesn't work some times and hangs vscode itself.

VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T22:46:48.547Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.03GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (24)

Extension
Author (truncated)
Version

Bookmarks
ale
10.4.1

vscode-margin-colours
chi
1.3.0

npm-intellisense
chr
1.3.0

bracket-pair-colorizer
Coe
1.0.61

vscode-eslint
dba
1.8.2

gitlens
eam
9.5.1

EditorConfig
Edi
0.13.0

tslint
eg2
1.0.43

prettier-vscode
esb
1.8.1

vscode-npm
fkn
3.3.0

flow-for-vscode
flo
1.1.1

code-runner
for
0.9.7

useful-react-snippets
igo
1.5.4

vscode-language-babel
mgm
0.0.22

vscode-typescript-tslint-plugin
ms-
1.0.0

vsliveshare
ms-
0.3.1403

debugger-for-chrome
msj
4.11.3

typescript-react-template
q
0.0.5

code-settings-sync
Sha
3.2.7

terminal-tabs
Tyr
0.2.0

vscodeintellicode
Vis
1.1.5

vscode-wakatime
Wak
1.2.13

quokka-vscode
Wal
1.0.201

html-css-class-completion
Zig
1.18.0

I experienced this again, this time with "terminal.integrated.rendererType" set to "dom" instead of "canvas".
I toggled dev tools on and obtained the following errors:

Stack traces

/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property '_data' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property '_data' of undefined
    at BufferLine.copyCellsFrom (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferLine.js:165)
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferLine.js:165 Uncaught TypeError: Cannot read property '_data' of undefined
    at BufferLine.copyCellsFrom (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferLine.js:165)
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'copyCellsFrom' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257 Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'copyCellsFrom' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257 Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'copyCellsFrom' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257 Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'copyCellsFrom' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257 Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1096)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at r._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3521)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:19:376)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:272
t.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:272
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'set' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'set' of undefined
    at InputHandler.print (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:272)
    at EscapeSequenceParser._printHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:78)
    at EscapeSequenceParser.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/EscapeSequenceParser.js:508)
    at InputHandler.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:183)
    at Terminal._innerWrite (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:893)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:875
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:272 Uncaught TypeError: Cannot read property 'set' of undefined
    at InputHandler.print (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:272)
    at EscapeSequenceParser._printHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:78)
    at EscapeSequenceParser.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/EscapeSequenceParser.js:508)
    at InputHandler.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:183)
    at Terminal._innerWrite (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:893)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:875
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'length' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'length' of undefined
    at DomRendererRowFactory.createRow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/dom/DomRendererRowFactory.js:18)
    at DomRenderer._renderRows (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/dom/DomRenderer.js:265)
    at RenderDebouncer._innerRefresh (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:31)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:26
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/dom/DomRendererRowFactory.js:18 Uncaught TypeError: Cannot read property 'length' of undefined
    at DomRendererRowFactory.createRow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/dom/DomRendererRowFactory.js:18)
    at DomRenderer._renderRows (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/dom/DomRenderer.js:265)
    at RenderDebouncer._innerRefresh (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:31)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:26

Error screenshots

When resizing the split terminal when the left split is frozen I get these errors:
Resize errors

I've managed to reproduce the data and copyCellsFrom errors pretty consistently, however, the terminal doesn't freeze when I reproduce them this way so maybe they're unrelated.
Repro steps:

Use a twoline bash prompt that writes characters to the right edge of the terminal - https://gist.github.com/mkottman/1936195
Open up integrated terminal and resize the width of the vscode window until the right edge of the window becomes narrower than where the time on the right hand side would have been.

Same can happen using split terminals

Use two line prompt
Open integrated terminal + split
Resize left terminal to take up most of the width
Press enter to refresh the prompt to write chars near the right edge of the terminal
Resize the left terminal back down, eventually it will trigger those same errors.

Looks like this is a duplicate of #69603, the repro steps might be useful, will post in the upstream issue.


Create cmdlet with referencing other Project

Hi!
I know this Problem is not related to Powershell directly, but maybe someone can give me a hint, i can't find a solution for my Problem...
I try to create a cmdlet as described here -> https://github.com/PowerShell/PowerShell/blob/master/docs/cmdlet-example/visual-studio-simple-example.md
The cmdlet dll is referencing another netstandard2.0 library.
I have created a sample Github Project:
https://github.com/windischb/CmdletTest
Project "Functions" -> Test Project which uses Newtonsoft.Json
Project "CmdletTest" -> cmdlet which references "Functions"
I can build and import the "Cmdlet" Library, but if i invoke the command:
PS C:\> ConvertTo-JsonTest (get-date)
ConvertTo-JsonTest : Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
At line:1 char:1
+ ConvertTo-JsonTest (get-date)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ConvertTo-JsonTest], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,CmdletTest.ConvertToJsonTest

There is no Newtonsoft.Json dll in the output directory...
Can anyone give me hint on how the reference to Newtonsoft.Json will work??
Many thanks!!

Tracked in #2083


Is the rubydoc wrong about the default value of :consistency?

There are many methods that document a default value of consistency. For example, from persistence.rb
      # Remove this record from the database
      #
      # @param options [Options] options for deletion
      # @option options [Symbol] :consistency (:quorum) what consistency with
      #   which to persist the deletion
      # @option options [Time] :timestamp the writetime to use for the deletion
      #
      # @return [Record] self
      #
      def destroy(options = {})
        options.assert_valid_keys(:consistency, :timestamp)
        assert_keys_present!
        metal_scope.delete(options)
        transient!
        self
      end

This seems to indicate a default value of :quorum for consistency. A while back the cassandra driver gem changed from a default of quorom to "local_one". I don't understand the difference exactly, but did that change make all this rubydoc obsolete?
Should we just consider removing the default and instead document that the default consistency is whatever is specified by the cassandra driver gem?

I think the change you suggest is a good one. There is a substantial difference between quorum and local_one. It would be really unfortunate for a client to believe the wrong one was the default.

I will open an MR to remove the listing of the default values of :consistency and add somewhere to indicate how consistency is configured and where.


npx esbuild-azure-functions fails

First and foremost, thanks for this library 🤗
On node 16 on Windows running npx esbuild-azure-functions (via fish-shell on git-bash) just opens the node_modules/esbuild-azure-functions/build/src/cli.js file with the default editor, and in GH Actions it fails to execute, throwing this error:

I fixed my local build by mimicking other files in the bin folder (example below showing cmd comparison with rimraf, changes are highlighted):

Assuming there's a missing shebang line in cli file. The above is for release v1.1.1.

Hi, thanks for reporting this! I'm going to test this (and your fix) out later tonight. Unless this is super urgent for you?

Much appreciated. Not urgent at all! Let me know if I can help in any way :)

@philzartis Can you please test version 1.1.2-test and let me know if it fixed your issue?

I can confirm that the issue is fixed. The generated bin files for windows (cmd & ps2) also have a different structure now (I wish npm documented this magical behavior clearer).
Thanks Fabian! 💪

Very interesting. I'm going the publish the proper version later and let you know :)

Just published v.1.1.2


Colreorder doesn't work when using statesave

When you have statesave set to true, the column filters become transposed with each other when you move their columns around.
See this jsbin example.:  http://jsbin.com/licema/1/edit?html,css,js,output
Move the columns around and re-run the js bin, you will see the issue.

fixed in the in 0.8.8.beta.29


Added Firestore in Azure functions Bindings table

@VarunSaiTeja : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ggailey777 - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

@VarunSaiTeja I'm glad to see that you have written bindings for Firestore DB. Unfortunately, we can't include your bindings in this particular list, which is for bindings that we support. We are planning to soon add an article about third-party support for Functions. This article will include both tools and bindings, so we'll definitely link to your project from there. Best to you. #please-close


Webcam status

I need a way to show that my webcam is active within MS Teams to keep my family out of my office and off camera.
Is there a way to have the app check whether or not the webcam is active in Teams and have a corresponding setting to reflect that?  Since my smart bulb is already red when I am in a meeting, could there be a setting to have it flash at a specified interval while my camera is on?
I have seen some solutions online that use python scripting to do this, but that is way over my head.

This is outside the scope of PresenceLight. Would love to see you fork and create any experience you want using PL as a framework


NotFoundError - _image_ops.so - When using tfa.image.rotate

System Information:
Platform: Google Colab GPU Hosted Runtime.
Tensorflow versions tried:
Tensorflow 2.1 working clean.
Tensorflow 2.2 - Restarting environment unexpectedly without further information.
Tensorflow 2.3 - NotFoundError.
Code:
parsed_dataset = tf.data.TFRecordDataset(filenames=train_records_paths).map(parsing_fn) # Returns [image,label]

rotate = lambda original_image,label: [tfa.image.rotate(original_image,tf.constant(45.0)),label]
augmented_dataset = parsed_dataset.map(rotate)

As mentioned before I have tried the code above with the three tensorflow versions and only was able to succeed by using tensorflow 2.1.
Stack Trace
NotFoundError: in user code:

    <ipython-input-5-561ae1d1392c>:1 None  *
        rotate = lambda original_image,label: [tfa.image.rotate(original_image,tf.constant(45.0)),label]
    /usr/local/lib/python3.6/dist-packages/tensorflow_addons/image/transform_ops.py:347 rotate  *
        output = transform(
    /usr/local/lib/python3.6/dist-packages/tensorflow_addons/image/transform_ops.py:110 transform  *
        output = _image_so.ops.addons_image_projective_transform_v2(
    /usr/local/lib/python3.6/dist-packages/tensorflow_addons/utils/resource_loader.py:49 ops
        self._ops = tf.load_op_library(get_path_to_datafile(self.relative_path))
    /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/load_library.py:58 load_op_library
        lib_handle = py_tf.TF_LoadLibrary(library_filename)

    NotFoundError: /usr/local/lib/python3.6/dist-packages/tensorflow_addons/custom_ops/image/_image_ops.so: undefined symbol: _ZN10tensorflow14kernel_factory17OpKernelRegistrar12InitInternalEPKNS_9KernelDefEN4absl11string_viewESt10unique_ptrINS0_15OpKernelFactoryESt14default_deleteIS8_EE

https://github.com/tensorflow/addons/issues/1984

Also for Tensorflow 2.3 we support only tfa-nightly packages. Check our Readme.

Also for Tensorflow 2.3 we support only tfa-nightly packages. Check our Readme.
i appreciate it.