configure bufferSize in SpanExporterImpl

https://github.com/census-instrumentation/opencensus-java/pull/1893 caps the amount of memory the SpanExporterImpl thread can consume by dropping spans that go past the bufferSize.
However, I can't find a way to configure the bufferSize.
It looks like ExportComponentImpl instantiates SpanExporterImpl with EXPORTER_BUFFER_SIZE = 32; So perhaps somewhere in that code path this can be made configurable.
I'm also a little confused on how to tune the bufferSize. Would be nice to have some examples based on expected spans per second, etc.
It would also be great to add this information around the buffer and memory settings to the documentation.

Does having EXPORTER_BUFFER_SIZE = 32  and https://github.com/census-instrumentation/opencensus-java/blob/a95cc72948c142e05163af16c7fbbe0718010058/impl_core/src/main/java/io/opencensus/implcore/trace/export/SpanExporterImpl.java#L261
imply only 128 spans can be buffered at a time by default?

Made a change to increase that to 512, so we can do a patch release later today with this fix. Then the other issue to allow users to configure that we will do in the next release.


Reason: ChunkLoadError: Loading chunk vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_cssW-30142f failed.

Bug report

What is the current behavior?
when i use module federation with webpack, it didnt work. it report the error

If the current behavior is a bug, please provide the steps to reproduce.
it can reproduce in this repo

What is the expected behavior?
it can work fine

Other relevant information:
webpack version<EMAIL_ADDRESS>Node.js version:  v10.23.0
Operating System:
Additional tools:

it has solved, it should set the output publicPath

it has solved, it should set the output publicPath


Add ordernotifications endpoint

Thanks! It's available in version 0.13.0

Thanks! It's available in version 0.13.0


Task – Unable to change assignee twice when edit a task Offline

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.35-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4262665
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Log in
Create a task with assignee
Open task details page and go Offline
Change the assignee to another
Change the assignee to another one more time

Expected Result:
Assignee from the step 6 is displayed
Actual Result:
Assignee from the step 5 is displayed. Unable to change assignee twice when edit a task Offline
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/f61a3929-ed29-4f88-9055-f4f7656c1804
View all open jobs on GitHub

@hurali97 it seems your PR https://github.com/Expensify/App/pull/30168 may have caused this regression
Are you able to push a follow up or shall we test the above proposal?
cc @aimane-chnaif @mountiny

@grgia I can help take over, indeed that is coming from the PR thank you for the heads up!

@mkhutornyi are you able to raise the PR now? is $250 fine with you? The change is simple and same as in couple other fixes so adjusting price given the low complaxity

@mkhutornyi please feel free to raise the PR!

@mkhutornyi please ping me in slack when you have the PR ready!

Sorry, was OOO! Payouts due:

[ ] Contributor: $500 @mkhutornyi
[ ] Contributor+: $500 @aimane-chnaif

Upwork job is here.


bin_encoder.c failed to build with GCC 6.0.0

I met the following problem while building grpc with gcc 6.0.0
src/core/ext/transport/chttp2/transport/bin_encoder.c: In function ‘grpc_chttp2_base64_encode_and_huffman_compress_impl’:
src/core/ext/transport/chttp2/transport/bin_encoder.c:197:32: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
     enc_add2(&out, in[0] >> 2, (uint8_t)((in[0] & 0x3) << 4) | (in[1] >> 4));
                                ^
src/core/ext/transport/chttp2/transport/bin_encoder.c:198:20: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
     enc_add2(&out, (uint8_t)((in[1] & 0xf) << 2) | (in[2] >> 6),
                    ^
src/core/ext/transport/chttp2/transport/bin_encoder.c:213:16: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
                (uint8_t)((in[0] & 0x3) << 4) | (uint8_t)(in[1] >> 4));
                ^

Which compiler and version are you using, and on which platform?
On Sat, Apr 16, 2016, 12:29 PM Guo Xiao<EMAIL_ADDRESS>wrote:

src/core/ext/transport/chttp2/transport/bin_encoder.c: In function ‘grpc_chttp2_base64_encode_and_huffman_compress_impl’:
src/core/ext/transport/chttp2/transport/bin_encoder.c:197:32: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
enc_add2(&out, in[0] >> 2, (uint8_t)((in[0] & 0x3) << 4) | (in[1] >> 4));
^
src/core/ext/transport/chttp2/transport/bin_encoder.c:198:20: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
enc_add2(&out, (uint8_t)((in[1] & 0xf) << 2) | (in[2] >> 6),
^
src/core/ext/transport/chttp2/transport/bin_encoder.c:213:16: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
(uint8_t)((in[0] & 0x3) << 4) | (uint8_t)(in[1] >> 4));
^
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/6198

@ctiller I'm on Fedora 24 with gcc 6.0.0.

I'll install fedora 24 and try to repro, bearing in mind that Fedora 24 is an alpha release of the distro.

Is there a dockerhub image available?
Might be worth adding to our portability suite.
On Tue, Apr 19, 2016 at 4:29 PM David G. Quintas<EMAIL_ADDRESS>wrote:

I'll install fedora 24 and try to repro, bearing in mind that Fedora 24 is
an alpha release of the distro.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/6198#issuecomment-212170365

Not yet: https://github.com/docker-library/official-images/blob/master/library/fedora

I don't even make it that far:
third_party/boringssl/crypto/pem/pem_lib.c: In function ‘PEM_get_EVP_CIPHER_INFO’:
third_party/boringssl/crypto/pem/pem_lib.c:470:33: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
  if (*header != '4') return(0); header++;
                                 ^~~~~~
third_party/boringssl/crypto/pem/pem_lib.c:470:2: note: ...this ‘if’ clause, but it is not
  if (*header != '4') return(0); header++;
  ^~
third_party/boringssl/crypto/pem/pem_lib.c:471:33: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
  if (*header != ',') return(0); header++;
                                 ^~~~~~
third_party/boringssl/crypto/pem/pem_lib.c:471:2: note: ...this ‘if’ clause, but it is not
  if (*header != ',') return(0); header++;
  ^~
cc1: all warnings being treated as errors

@guoxiao didn't you run into that too?

Note that in addition the the changes from #6224 , two trivial ones are also required for boringssl (to be followed up with the boringssl maintainers).


Update file_generator.py to remove WaterNetworkModel object

This parameter is no longer needed, as we give directly the hydraulic_timestep

Completed last year


Bump expo 51.0.10

@mshima I'm able to run npm run e2e:test:ios locally and everything passes. This seems to mean that iOS is not working in GitHub Actions, and we should merge and release this anyway. Thoughts?

Currently, if you navigate to list screens in the web, you'll get an error that you cannot access the fetch method before its been initialized.

You can fix this by moving the fetch method's definition above useFocusEffect(). However, after you do that, you still can't edit an item.

I generated a new app with the main branch to see if the list and edit screen issues exist there. The setimmediate issue does exist, the list screen works, and the same error happens on the edit screen.

I tried with the last published version (v4.4.0 with Node 16). The entities list works, but when you try to view any of the entities, it fails:
&platform=web&dev=true&hot=false&lazy=true:157128 Warning: React.jsx: type is invalid --
  expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
  You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `Header`.

I think we should merge this. The edit screens don't work in a browser. They do work in iOS and Android. Edit screens don't work on main currently or in the last release, so it doesn't break anything.


Added localization for Italian states

I noticed that some Italian regions/provinces where named in English, so I added a file to localize them.
I hope this feature is welcomed.

@rinodrummer regarding the localisation of the states i am a bit conservative here as the solution is only to translate the italian states and not all. i would recomend to keep this change on your fork as you need it for Italy. Did i read the situation right? or am i missing something?

Don't worry, no problem!
Whenever will be needed, this PR will be always available. Do you prefer I close it or will you proceed with it?


auto refresh joblog every 5 seconds

Currently the job log won't be refreshed until you manually click the Refresh button.

CI ran failed because of maven:
Execution failed for task ':azkaban-common:compileJava'.

Could not resolve all dependencies for configuration ':azkaban-common:errorprone'.
Could not resolve com.google.errorprone:error_prone_core:2.0.5.
Required by:
com.linkedin:azkaban-common:3.0.0
Could not resolve com.google.errorprone:error_prone_core:2.0.5.
Could not get resource 'https://repo1.maven.org/maven2/com/google/errorprone/error_prone_core/2.0.5/error_prone_core-2.0.5.pom'.
Could not GET 'https://repo1.maven.org/maven2/com/google/errorprone/error_prone_core/2.0.5/error_prone_core-2.0.5.pom'.
Connection to https://repo1.maven.org refused

I have restarted the failed CI build.

5 sec seems like a really short interval. Can you please increase to say 2 mins ?

Cleaning up unattended / old PRs


Documentation Updates - Metadata and Localnet Config

Add further descriptions to metadata and localnet blocks

Few minor things, and then one unresolved comment in config_pointset_point


Adds xmlns in schema and some tags

Adds xmlns in schema and adds elements like Appender, console, PatternLayout and remove  mandatory elements type from Properties and ThresholdFilters as they are not mandatory always.

Hi,
Can anyone review this patch?

Did you do a full build with this patch like "mvn clean install" ?

In Git master. Local build OK with 'mvn clean install'. This will be in out upcoming 2.8 release.
Thank you for your contribution. Keep them coming! :-)

Yes, I only did "mvn install" not maven clean install
On 30 December 2016 at 01:51, Gary Gregory<EMAIL_ADDRESS>wrote:

Did you do a full build with this patch like "mvn clean install" ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/logging-log4j2/pull/53#issuecomment-269687742,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVT0_UYfRlmXr6fD4IdV7iMIadEk4XF9ks5rNBZFgaJpZM4LVnUT
.


Performance Regression: Styled components - continually adding style blocks to head

Since using master, I've noticed gradual slowdowns as I've been using Oni. I traced it down to to styles being continually added at the head:

It seems that, whenever the props change, a new ID is generated and added to the head. We should look at ways to limit this - performance is critical.

There's multiple issues here:

As the DOM grows, it causes layout and flow to get more and more expensive.
The addition of styles also causes much larger repaint areas than needed.

We can't really afford to compromise on performance - for properties that are changing frequently, it seems like it's best to use the style property, as not only does that prevent the head from blowing up.

@samvv @Akin909 - FYI - given the performance issues I'm seeing here, I think it's fine to use styled-components for things where we would use CSS (like static values, or even theming, animations/transitions), but for dynamically changing values, its best for performance to continue to use inline styles.
Let me know if you have feedback or other ideas on how to handle this!

For now I'll revert the dynamic setting of styles in the high-frequency code paths (like Cursor, CursorLine, etc)

@bryphe I've been using styled components for a while and I haven't encountered this problem, not immediately sure what could be causing it, a quirk with electron or perhaps our implementation so far not sure if were referencing both the typed version of styledComponents in common as well as the untyped styled-components lib though I've not known that to be an issue, I can look at some SC repos's issues and also look at the implementation so far, seems there are issues with commas instead of the semi-colons in places which could lead to invalid css that SC may be trying to reproduce each time.

Hmm, seems like it is our implementation - for static styles, styled-components is smart enough to hash it and then re-use the style based on the hash.
Unfortunately though, for styles that change, like this code:
https://github.com/onivim/oni/blob/9fa83a62ff35f535cef81d5e5f2d8a3f418df01d/browser/src/UI/components/Cursor.tsx#L64
const CursorContainer = withProps<ICursorRendererProps>(styled.div)`
    visibility: ${props => props.visible ? "visible" : "hidden"};
    position: absolute;
    left: ${props => props.x}px;
    top: ${props => props.y}px;
    width: ${props => isInsertCursor(props) ? "0" : props.width}px;
    height: ${props => props.height || "0"}px;
    line-height: ${props => props.height}px;
    color: ${props => props.textColor};
    font-family: ${props => props.fontFamily};
    font-size: ${props => props.fontSize};
    opacity: ${props => props.isLoaded ? 1 : 0};
    transition: opacity 0.35s ease 0.25s;
    /* Cover up 'holes' due to subpixel rendering on canvas */
    padding-left: 1px;
    padding-right: 1px;
    margin-left: -1px;

Every time one of those props changes, like the x or y (which change very frequently!), lots of stuff happens, since there is no hash match and styled-components has to regenerate the style:

The style block is re-parsed and then auto-prefixed
A new class name is created, and the style/class is appended to the head

This is a perf killer because it causes a large repaint, and blows up the styles - since every time x or y changes, a new style is created.

Because of that, IMO, the best bet in order to preserve perf is:

Use styled-components for static things, shared classes, or things that depend on CSS functionality (animations, media queries, etc)
Use inline styles for properties that change frequently

@bryphe that's sounds like a good plan, tbh seeing that component like that is a bit of an ah ha as I've definitely never written or seen a styled component that would have that many props alternating 100s+ times in a very short space of time

@bryphe having a look at the styled components repo I've found this issue a problem I've never hit before but is discussed thoroughly here. The conclusion is the same as yours aka inline style or a styled components escape hatch that is equivalent to that the example the issue includes is
const HighlyDynamicComponent = styled.div.attrs({
  style: props => ({
    background: props.bg,
  })
})`
  color: blue;

Cool, nice find @Akin909 ! 👍
That looks like exactly what we need. I started going back to inline styles for a few of the components, but I'll see if I can leverage this for some of the remaining ones, and we can try it out moving forward!

Adding a test to help provide a "safety net" here in #1150

While investigating this... saw our OSX tests were 'silently failing'. Looking into this with #1153 - our safety net was really broken!

This is addressed now, along with the 'silently failing' tests - our test suite is in better state now with #1153 , and we now at least have some guard on performance regressions (by watching the added elements, and ensuring the paint rectangle is at least some lower bound).


Checkstyle

This PR fixes existing checkstyle violations in the project and enables checkstyle validation during build time to prevent such issues from reoccurring.
This issue was raised by Gary Gregory on the commons dev list:
<EMAIL_ADDRESS>

Fixes have been applied in https://github.com/apache/commons-configuration/commit/3644942d2fa6445b6a24b2123fb812d50611915d
Thanks! :+1:

@PascalSchumacher the main point of this PR is failing the build on checkstyle validation (the last patch in the series that changes pom.xml).
This was not merged by 3644942. Is this intentional, or an oversight?

I think this was intentional, see: https://mail-archives.apache.org/mod_mbox/commons-dev/201706.mbox/<3107e1f0-4686-4fc0-74fc-21c86d870b51%40oliver-heger.de>
As I remember the discussion at least one main contributor did not like the build to fail for check-style reasons.

I think this was intentional, see: https://mail-archives.apache.org/mod_mbox/commons-dev/201706.mbox/<3107e1f0-4686-4fc0-74fc-21c86d870b51%40oliver-heger.de>
As I remember the discussion at least one main contributor did not like the build to fail for check-style reasons.

Oh, right, thanks!
I saw no discussion here, and completely forgot about the discussion there.


Seeing difference free disk space available on build agents running same agent images

Agent Version and Platform
Current agent version: '2.187.2'
Current image version: '20210525.0'
OS of the machine running the agent?
Microsoft Windows Server 2019
10.0.17763
Datacenter
Azure DevOps Type and Version
dev.azure.com (formerly visualstudio.com)
https://dev.azure.com/ellucian/
What's not working?
We are using hosted agents running on the windows-2019 image. When our pipeline runs, the build agents selected have different amounts of free space available even though the same image is being used by both agents. Both have a current agent version of 2.187.2 and are on the same machine image of 20210525.0.
Our pipeline will build using a hosted agent where the machine name starts with "fv-" and other times the build agent's name will start with "WIN-". The only other difference we can see in the agents besides the Agent Machine Name is the AgentPerflog location. "FV" uses C:\vsts and the "WIN" agents use C:\agents.
The first step of our pipeline reports the available disk space and the number, which should be close to 10, varies depending on which build agent is used. My question is why these are different when the same images are being used and each are building the exact same repository. We expect about 10 GB of free space but are seeing different availabilities depending on which build agent is used.  There is a difference of over 1.5 GB between the two different build agents. See pictures below for details on the pipeline job and the build agents free disk space variation.

Hi @spacesluggy74, Microsoft Hosted agents according to documentation guaranteed to have 10 GB of free disc space available for users (on some agents, this number could be bigger, but only 10 GB is guaranteed).
If you are seeing agents that provide less than 10 GB of free space you need to create an issue in this repo - https://github.com/actions/virtual-environments/issues. This team is supporting images for hosted agents and they have more context on questions related to images.

Hey @spacesluggy74, could we close this item, or you still have questions?

@EzzhevNikita you can close this item. I will post my questions in the other repo as you suggested.


JPG Support

When trying to load a texture which is a JPG image I get the following error:
INFO: FILEIO: [resources/***.jpg] File loaded successfully
WARNING: IMAGE: Data format not supported
WARNING: IMAGE: Failed to load image data

Apparently this has to be explicitly enabled when building the lib?
https://github.com/deltaphc/raylib-rs/issues/169

We don't have any option mechanism right now, and I'm not sure if this is something dune even supports nicely. I'd think enabling the common image format (jpg and bmp) makes sense in any case, I'm surprised they aren't enabled by default.
I created a branch (https://github.com/tjammer/raylib-ocaml/tree/test-windows) with a fix, which works on linux. It doesn't yet build on windows (most likely because of encoding of the patch file), but I don't have a windows machine to test the build. I will try again in a few hours


Switch to psutils for resource utilization monitoring at runtime

Fixes #11667
Status
not-tested
Description
The issue https://github.com/dmwm/WMCore/issues/11667 can be solved in 3 different ways. This is the third out of 3 suggested fixes.

The current one completely avoids  running any shell commands at runtime. But instead, it relies on the fact there is already the psutils library distributed with cmssw and  directly uses it to fetch the step's resource statistics inside the PerformanceMonitor.py module itself.

This approach  requires some  more dramatic changes to the code but also achieves:

code improvement
avoid dangerous and cumbersome shell command line execution at runtime
better resource logging, since we no longer need to use the standard linux %cpu and %mem  mappings which are difficult to interpret at a first glance. (Those are resource utilization rations e.g. cputime/realtime ratio, expressed as a percentage), but we are now logging the much more informative system cputime and virtual memory for the process.

This would require more detailed testing though.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
No

Hi @smuzaffar,
In the context of the following  PR, since we need to import psutil module at runtime, we need some more information about it's presence cmssw. Can you tell us which is the earliest CMSSW release providing it, i.e. can we rely on it if a workflow trying to use a 4-5 years old release tries to load it?

@todor-ivanov , I see that it is available in CMSSW_9_0_0 release which is 6 years old (Mar 2017). So it should be available in all release above CMSSW_9_0_0 but its version might be different in different releases.

Thanks @smuzaffar , where could I check the psutil versions included  in the different CMSSW releases. I am testing the few methods from psutils we are using, to check if they are backwards compatible. I started with a really old version like 3.0.0, but it seams they are not. So I need to double check how far back in psutil versions we may go and map it to the relevant CMSSW release.

you can create cmssw dev area for CMSSW_9_0_0, set env and then import psutil to check the version. This should be the min psutil version you should support. You can also do the same for latest CMSSW_13_2_0_pre2 release and check the psutil version there.
Note that if you take psutil from cmssw then things can break as for future releases we will move to some newer version of psutil which might not be compatible with your code.

Thanks @smuzaffar!
I just created a CMSSW_9_0_0 dev area and checked the version: [1]. So the earliest psutil version available is 5.0.1. Which is good for us. I also made a thorough history check of all the methods from psutil we are using in this module (log file included as attachment to the current comment: psutil.vtest.log). All methods we need starts with version 5.0.0 and has not changed their signature since then. So I'd say as  long as we do not have workflows in the system
going bellow CMSSW_9_0_0 we are safe.
As of the future, you are correct. We will have to think of a way to have this validated if the version changes. One thing is for sure - it won't be left unnoticed in production, because jobs from workflows which had the malchance to include a new and backwords incompatible version of psutil, will be massively killed by the watchdog. And even though it may seem unlikely, it is still a third parity library, which none of us maintains, so the possibility is indeed nonzero.
@amaltaro I'd be glad to hear your opinion on this.
[1]
$ source /cvmfs/cms.cern.ch/cmsset_default.sh
$ export SCRAM_ARCH=slc7_amd64_gcc630
$ cmsrel CMSSW_9_0_0
$ cd CMSSW_9_0_0/src/
$ cmsenv
$ python -c "import psutil; print(str(psutil.version_info))"
(5, 0, 1)

please consider to,
If the job is killed because it exceeds the memory (or time) limit ,  to dump as much info as possible in particular
/proc//smaps_rollup and global info as well such as /proc/meminfo or vmstat -s


Updating properties available on the person field

Adding department and jobTitle, both fields are available on the person field for column formatting.
Category

[x] Content fix
Related issues: fixes #3515

What's in this Pull Request?
Updated documentation to include two properties available on person field

thx @bcameron1231, appreciated.


Input validation doesn't work properly when the element has no value

Hi Paul,
Thanks for the pull request i have merge this into the develop branch and will be included in the next release.
Regards,
Rik
Adyen

Hi Paul,
New develop branch is develop not develop-2.3.2 could you do a pull request to develop as well ?
Regards,
Rik
Adyen

Could you cherrypick the commits, making a new pullrequest is a lot more work.


How to start server

I cant find where is defined how to start the spark server ...

http://sparkjava.com/documentation#stopping-the-server


Remove python2 compability code (#2033)

remove sys.version_info == 2

remove sys.version_info < 3

remove from future imports

Merged in f487ab4


[Bug]: pg database TIMESTAMP_TZ data type failed to clean up after archiving

ODC version
ODC432
OB version
independent
What happened?
pg database TIMESTAMP_TZ data type failed to clean up after archiving

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?

CREATE TABLE test_timestmpe (
    id SERIAL PRIMARY KEY, -- 可选：添加一个自增主键
    timestamp_without_tz TIMESTAMP WITHOUT TIME ZONE,
    timestamp_with_tz TIMESTAMP WITH TIME ZONE,
    date_field DATE,
    time_field TIME,
    interval_field INTERVAL
);

INSERT INTO public.test_timestmpe (timestamp_without_tz,timestamp_with_tz,date_field,time_field,interval_field) VALUES
	 ('2023-01-02 00:00:00.000','2023-01-02 00:00:00.000','2023-01-02','07:36:35','00:13:00');

Anything else we need to know?
No response

ob-mysql is not support TIMESTAMP_TZ column type.


Option to suppress log popup

I have several models that have referenced materials that are missing (intended). This does not affect viewing the model, however f3d's log will not shut up about it, and keeps popping up every time I open one of these files. It is incredibly annoying.
It would be fantastic to have some kind of "-suppress" config option to ignore these errors on opening, to avoid this issue. Otherwise I will have to cleanup all of these files and it is just not feasible for my use case.

Have you tried the --quiet option?

Jesus, it was on the commands list the whole time!
It works perfectly.
Thanks for the help, and apologies.

Thanks for using F3D @RobbyMeeker !


Unexpected state, incoming data and no stream

I'm suddenly getting "Unexpected state, incoming data and no stream" while using big exec. What would be possible causes for this to appear?
I've looked at the source code, found where the error message is being generated but don't have enough of the big picture to figure out what is going on.
Hopefully someone could shed some light. I'm using this within the Node-Red environment.

Hello this message is triggered when the node can't stream data. I think your command is not accepting data as its std input or has closed it...


cluster-sync only works the first time

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
When we started to source clustser-up in #2335, the image synchronization in https://github.com/kubevirt/kubevirt/blob/release-0.17/cluster/ephemeral-provider-common.sh#L44 got lost. Now cluster-sync only pushes the images to the registry, but if images with this name are already on the nodes, they are not pulled down. As a result we still see the code from the initial sync running.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

I noticed this too yesterday.
I'll look into it. Something probably happened with the factoring out of cluster-up

@cynepco3hahue you are already looking into this right? He thinks he removed it with the okd provider integration.


QUESTION

Thank you very much for the nice work.
I have a question(suggestion/feature request if not present).
Assume we have the following dataset as presented in this repo:
[["A", "A", "B", "A", "D"],
["C", "B", "A"],
["C", "A", "C", "D"]]
with the following attribute (time-attribute)
[[1, 1, 2, 3, 3],
[3, 8, 9],
[2, 5, 5, 7]].

Is there a possibility of avoiding/restricting patterns that are not with the same item? for example, ignore a pattern that will result in [A, A] or [C, C] etc. i.e item(i) != item( i+1).

Is a there possibility of restricting patterns to be generated if only started by a certain item. For example,
generate a sequence if only started by A or B or C etc.

Is there a possibility of restricting patterns to end by a certain value? For example,
generate a pattern only if it end with one item item,   C or D or A.

Can you share on how to deal with above scenario.
Thank you.

Thank you @NaifahNurya for your interest.
The easiest would be to find the frequent patterns using Seq2Pat and then to do a quick post-processing to remove undesired patterns based on custom preferences like the above.

@skadio , Thank you for quick reply, let me work on it.
Also I have another issue, when I use the Seq2Pat on few dataset (with short length in each sequence) i can get the result. However in a large dataset (with many sequences having long length in some sequences) I got the following error:
patterns = seq2pat.get_patterns(min_frequency=65)
File "C:\Users\NaifahNurya\anaconda3\envs\Seq2Pat\lib\site-packages\sequential\seq2pat.py", line 411, in get_patterns
 patterns = self._cython_imp.mine()
File "sequential\backend\seq_to_pat.pyx", line 31, in sequential.backend.seq_to_pat.PySeq2pat.mine
**RuntimeError: bad allocation**

Can you help to Identify the cause for this.
If you give me your  email I can send to you a sample txt file.

Sampling the columns/limiting columns sound reasonably and might be required. You can start with small samples 10-20 columns and see how it behaves in your application before including more.
@takojunior  you have an interesting suggestion on adding a span constraint to limit the search on columns. Do we have an example of how to add that constrained somewhere?

Right, so one way is to enforce a span constraint to an attribute created by the order of items, e.g. [A, B, C, D] has the attribute [0, 1, 2, 3]. Enforcing a maximum span constraint will control the length of mined patterns in mining, and thus reduce the search space.
How to enforce such constraint can be referred to this example notebook: dichotomic_pattern_mining.ipynb. @skadio @NaifahNurya

@takojunior  and @skadio , Thank you very much for this suggestion, let me work on it then I will share the feedback.

Closing the issue per discussion. Hope this helped!


Add a solar system simulator extension

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

@Sulagna-Dutta-Roy

This is the screenshot of my project
Kindly assign me this issue

Closing all the Issues as points already got by the contributor.


Remove svelte/ssr resolving

https://github.com/sveltejs/svelte/pull/6743 is a better solution to this problem

we need to update peer dependency on svelte to the version that adds the export map and I hope we can keep the current tests instead of removing them. They should still pass with the new solution

Svelte 3.43.0 has been released with the new export map entry, so we can now try this out for real.

@benmccann We need to update the root package.json's svelte version as well since the pnpmfile enforces the same svelte version based on that. So technically the tests are still running 3.42.x.
We would also want to remove the ssr.noExternal handling here:
https://github.com/sveltejs/vite-plugin-svelte/blob/f112d8b4bb029ca98eed500907d3e79308724eb8/packages/vite-plugin-svelte/src/utils/options.ts#L290-L303
but we could do it in a separate PR as this should also work as is. The changes in #166 can also be reverted, and refactored a bit to simplify things.


Arch PyPI installation command not found

Describe the bug
When installed from PyPI (but not source) the command bandcamp-dl will not be recognized.
To Reproduce
Command to reproduce the behavior:
bandcamp-dl
Expected behavior
Command should be recognized either immediately or on a fresh terminal instance.
Desktop (please complete the following information):

OS: Arch Linux
Version: Latest as of 06/12/22
Python Version: 3.10.5

Decided to come back to this now that I have all my VMs setup again, a clear message indicating why this would be an issue comes up during install:
WARNING: The script bandcamp-dl is installed in '/home/<USERNAME>/.local/bin' which is not on PATH.
consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

A vanilla Arch installation will not have that directory in its PATH, but a user can add it themselves by adding or changing this line in ~/.bash_profile or ~/.bashrc: export PATH="~/<USERNAME>/.local/bin:$PATH"


Fix wrong documentation URL for adding desktop support to existing app

Replacing the URL from "https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app" that does not go to any section with the new website update to the actual URL from the documentation page "https://docs.flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app"
Fixes #94398
Pre-launch Checklist

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

This should be tested.
As it happens, it is in fact already tested, and the tests are now failing. :-)
You will have to update the tests as well, then this will not need a test exemption.

Can't figure out what the issue is with the tests, have already fixed the test specific to the change made (for e.g build_macos_test.dart), if anyone can help, that would be great! thanks!

Can't figure out what the issue is with the tests, have already fixed the test specific to the change made (for e.g build_macos_test.dart), if anyone can help, that would be great! thanks!

Oh wow, there was a very tricky reason your tests were still failing: there were two identically named tests! One is for regular Windows build, the other for Windows UWP. Also, there were two different tool exits.
I pushed a commit to your branch to fix the tests. Thanks for this change, as you also inadvertently discovered a problem in this test file!

Oh thanks a lot for the help! @christopherfujino
@Hixie The tests have been added! This is ready for merge!

@christopherfujino can you give the second LGTM and add the label to land it? Thanks!

As mentioned by @Hixie I've also filed https://github.com/flutter/website/issues/6678 for the URL forwarding.


AlwaysOn not Working

I have one the Always on thing on but i is not working

Please elaborate on this, this does not include enough information to troubleshoot anything.
If you need direct help with hosting, join the support server.


Use service discovery for Authority

Let's assume I have a bunch of APIs running in Docker (with replicas) and I like to protect the APIs with IdentityServer. I'm also using service discovery (e.g. Consul) to get services, check their health, and do load-balancing. What is the best way to add the "Authority" of the IdentityService (or it's replicas) to the protected APIs using service discovery?
services.AddAuthentication(IdentityServerAuthenticationDefaults.AuthenticationScheme)
                .AddIdentityServerAuthentication(options =>
                {
                    options.Authority = "http://localhost:5000";
                    options.RequireHttpsMetadata = false;

                    options.ApiName = "api1";
                });

When I add the basic setup for API protection the Authority is hardwired to this particular URL. What happens, when this service degrades or shuts down shortly after but other services are available and healthy? Or when there is a heavy load on the particular authority service and there are others with only few or zero load?
Is it possible or are there workarounds to supply IdentityServer with a service discovery in such cases? And if yes, how?

The short answer is to use DNS. Having said that, this seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!


Raise an error if a developer tries to use the #new action in the invitations controller

The Staff::InvitationsController #new action is not to be used because we have separate controllers to handle this for each resource that is receiving an invite. We currently block use using authorization, but, this is not really authorization related, as we want to prevent developer from using this route.
Instead, the method should raise an error to tell developers not to use the action:
raise NotImplementedError, "Do not use the 'new' action in Staff::InvitationsController."
Acceptance criteria:

add a test to ensure the error is raise when hitting that controller action

Hi @kasugaijin,
I would like to take up this issue. Can you please assign it to me? Thanks

All yours @sarvaiyanidhi


tf.fill should accept dtype argument

The signature of tf.fill is  tf.fill(dims, value, name=None), which not does allow to configure the dtype of the result. As opposed to tf.ones, tf.ones(shape, dtype=tf.float32, name=None).
Shouldn't tf.fill also accept a dtype argument?

What would be the behavior when dtype of value conflicts with explicit
dtype?
On Wed, Aug 17, 2016 at 3:05 PM, Dzmitry Bahdanau<EMAIL_ADDRESS>wrote:

The signature of tf.fill is tf.fill(dims, value, name=None), which not
does allow to configure the dtype of the result. As opposed to tf.ones, tf.ones(shape,
dtype=tf.float32, name=None).
Shouldn't tf.fill also accept a dtype argument?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/3887, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABaHEv0ueUQqi8gPrslRQ9PsTbFl0qMks5qg4WTgaJpZM4Jm77r
.

Yes, I think the dtype of 'value' determines the output type, so either make sure 'value' is the right dtype, or you can use tf.cast afterwards.


Add warning about using schema based tenancy in PostgreSQL

Unraveling PostgreSQL schema-based tenancy is a nightmare. The amount of resources needed to scale this approach to hundreds of tenants is obscene. We should put a disclaimer here to warn folks about the potential dangers of using it.
Articles linked:
https://medium.com/infinite-monkeys/our-multi-tenancy-journey-with-postgres-schemas-and-apartment-6ecda151a21f
https://www.citusdata.com/blog/2016/12/18/schema-sharding-lessons/

Don't take this as an explicit disapproval, but IMO I'm a bit skeptical of putting things like this in Ecto.
I wouldn't really suggest someone to learn how to use their database through Ecto. I would suggest they learn how to use their database and then figure out how to transfer that knowledge to Ecto.
We don't know if Postgres will ever change its implementation and make this comment obsolete (if you know it is basically 0% chance, please take this as a general statement: we don't know when database X will change its internal implementation of feature Y to be more performant). And it would be a lot of pressure for the maintainers to keep up with best practices of each database Ecto supports.

On the counterpoint, what prompted this PR is someone asking about how they should handle multi tenancy in the Elixir slack, and someone linked both the multi-tenancy docs from Ecto there as reference.
I think it's really easy to bury yourself in the Postgres schema-based tenancy hole based on libraries like Triplex (or apartment in Ruby), and it's such a super painful place to get yourself out of once you realize the spot you're in.
I spent a year recently working on a project that ultimately is going to take 18-24 months to remove schema-based tenancy, and once your app is successful and scaling to tens to hundreds of tenants then your development bandwidth and resource budgets are obliterated by a decision that was made at the start of the project

Maybe then a generic statement along the lines of this?

The methods referenced in this guide are meant to illustrate the capabilities of Ecto and may not be appropriate for every situation.

We should see what Jose says, but I have the feeling statements like this and links to blogs are out of scope for the Ecto docs. It seems too subjective and subject to change. IIR we only link to official database docs for references to functionality.

There are good concerns all around and I think a compromise would be to indeed link to PostgreSQL official docs on this. Would Postgres docs officially add this disclaimer? If not, why not? Otherwise it becomes our responsibility to judge and intermediate the potential use cases of PostgreSQL and that feels misplaced given Ecto philosophy of mostly exposing the database as is.

Also, I have do have concerns about the linked articles. The one from Influitive says:
Migrations

Ideally, for things like column additions, you’d get constant O(1) performance. Under a separate schemas approach to tenancy, you now get O(N) performance where N=# tenants.

Sounds fair.
Database Resources

We haven’t exactly dug into this, but I’m quite sure the sheer number of tables we have is an issue.

How can we make this "official Ecto advice" without digging into this and providing numbers?
Client Memory Bloat
Not an Ecto issue.
Record Identification
Good tip.

The CitusData is light on details. They mention connection pools concerns - which I doubt is an issue here. They also mention "Last, as you have more tenants, adding new tables, columns, or indexes can start to go from seconds to minutes to hours across thousands of different tenants." - there is no hard data provided but, as in the other article, it is quite logical. You do have to manage N tenants.
So in my opinion we can add a note similar to:

When working with multi-tenant databases, beware you will need to apply database migrations (such as adding/removing tables, columns, and indexes) to each tenant. If your application intends to grow to dozens of thousands of tenants, those migrations can eventually become too expensive and take a long time to complete.

Because, from a glance, that's the only issue in common between them and is logical and I don't feel we need to dig deeper into numbers.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

Thank you, I pushed an initial version. Feel free to refine it with future PRs. :)


Desktop | Scaffold : Ability to open both Left & Right Drawer without the other closing

Use case

Drawer is exactly what I need but I am having trouble finding a solution to using two on desktop.
Calling:
Scaffold.of(context).openDrawer();
Scaffold.of(context).openEndDrawer();

Closes the other Drawer. Which of course is advantageous on mobile but on desktop I have the space to open two.
Is there a way tell the scaffold to open each without using .openDrawer()?
Proposal

 : https://imgur.com/a/bRi2H1Q
Ability to open two Drawers.
class ScaffoldState extends State {

  void openDrawers() {
    if (_endDrawerKey.currentState != null && _drawerKey.currentState != null)
    _endDrawerKey.currentState?.open();
    _drawerKey.currentState?.open();
  }

Hi @kthecoder, Thanks for filing the issue. I wonder if that would be possible or if it is right for your use case. Becasue Drawers are basically an overly on top of the Current Widget. As per the current implementation when opening a second drawer first is closed
https://github.com/flutter/flutter/blob/b8f0dde0f8d181630a1a0b0867f3a01404d52821/packages/flutter/lib/src/material/scaffold.dart#L2012-L2016
But even if you manage to launch two drawers simultaneously, You will end up with output that looks like this,

Where you will be able to interact with one drawer at a time.


More slots in the GUI

Version Quests: 3.7.8
Version server: 1.13.2
Version Citizens: 2.0.24
How to replicate: create more quests than slots have the inventory of the npc gui.
How to solve: create that in the gui have multiple pages.

As of Quests 3.8.7, the builit-in GUI is limited in size to prevent the pictured overflow. QuestsGUI 0.8 (premium) upgrades this to a paginated GUI which resolves this ticket.
@Tecnok You may reply with your Spigot username below for a free copy of QuestsGUI. Thanks!

Hello, thanks for that! The username it's XxCoolGamesxX

@Tecnok XxCoolGamesxX has been added to the Buyers list.


Added waybar_output.identifier support. #602

This resolves #602 allowing you to specify the output identifier exactly like Sway allows you to do.
It does this by getting the identifier from the description that is reported. This is how swaybar does it as well: https://github.com/swaywm/sway/pull/3415/files#diff-f1816f4a24dbbcf1a1dc419a0daeee3ac8bfcb410a44bd9d9e75900d1210bbbcR264-R279

Addressed comments and the following scenarios were tested for the following monitors:

HDMI-A-1: Acer Serial Number
DP-4: Dell Serial Number
DP:-5 Dell Serial Number

String "HDMI-A-1": only shows on that one monitor.
String "!HDMI-A-1": only shows on other 2 monitors.
String "Acer Technologies XF270HU SERIAL": only shows on that one monitor.
String "!Acer Technologies XF270HU SERIAL": only shows on other 2 monitors.
Array ["HDMI-A-1"]: only show on that one.
Array ["Acer Technologies XF270HU SERIAL"]: only show on that one.

Maybe the project should move to GitHub actions btw. Travis CI's free model seems to be gutted which is probably why CI takes so long.

Hi!
Just was searching for this feature and implemented the changes. Works for Dell U2715H (same here) and Philips PHL 272B8Q too.
Thanks for implementing!

Hi!
Just was searching for this feature and implemented the changes. Works for Dell U2715H (same here) and Philips PHL 272B8Q too.
Thanks for implementing!

LGTM, thanks!
Maybe we need to update the wiki to add some lines about the change.

LGTM, thanks!
Maybe we need to update the wiki to add some lines about the change.


[PDI-11014] - Error Fields not passed from Select Values step (when erro...

...r handling is enabled)

pass field's name to the error row
add a test
apply formatting

@mattyb149, @brosander, review it please

The unit tests should include the KettleConversionException path(s) as these are new, and also it looks like the binary-to-normal storage logic was inverted/changed a bit, we should have unit tests for that path as well.

Thanks, Matt!
As for the exception - I'll add such case.
As for logic - the behaviour is keeped, but the code is slightly changed.
It was:
if (cond1) {
  rowData[index] = something
}
if (cond2) {
  rowData[index] = yet another something
}

So, I introduced an else branch to avoid extra operations.
if (cond2) {
  rowData[index] = yet another something
} else if (cond1) {
  rowData[index] = something
}

I inverted the order to keep copatibility with the previous behaviour: if it somehow both conditions were truth, then the second assignment overwrote the first; thus it preceedes the first now

@mattyb149,
I've update the PR. Could you please take a look?

@mattyb149, @brosander, review it please

@mattyb149, @brosander, review it please :)


Can I use $t function in .js file

I want to use $t in .js file,like this.But I tried many ways without success。
function getHello () {   return $t('hello') }

No, not like that. You'd need to pass it to that function from the Vue component.
Something like:
function getHello($t) { return $t('hello') }

<script>
// ...
getHello(this.$i18n.t.bind(this.$i18n));
</script>

Can I put this function object in vuex or .js file like this?If I can do it,When will I do it？nuxtServerInit or other times？
(I just want to have a global object pointing to $t)
const $t = app.i18n.t.bind(app.i18n) commit('setI18n', $t)
or
let i18nT = null export function setI18n (i18n) {   i18nT = i18n }

不，不是那样的。您需要将其从 Vue 组件交给该函数。
就像是：
function getHello($t) { return $t('hello') }

<script>
// ...
getHello(this.$i18n.t.bind(this.$i18n));
</script>

It's not something I would recommend but if you must, you can create a Nuxt plugin and set a global from there.
But i18n is not a global itself, it's created per request so storing its method in a global is potentially gonna cause issues like state sharing or other problems. Highly not recommended.


Self hosted AWS runners not being available in some GitHub Actions workflows

Below is a big list of workflows where the workflow executed for a long time with no runner available for it. Check out the links to get an idea of how sometimes the workflows went on for a few hours to a complete day without progressing and being in the queue

https://github.com/vmware-tanzu/community-edition/actions/runs/1700138941/attempts/3

https://github.com/vmware-tanzu/community-edition/actions/runs/1700138941/attempts/2
https://github.com/vmware-tanzu/community-edition/actions/runs/1700138941/attempts/1

https://github.com/vmware-tanzu/community-edition/actions/runs/1711276587/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1713918372/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1713918381/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1714319647/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1714370406/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1714383535/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1715455523/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1715566981/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1715642639/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1715676549/attempts/1
https://github.com/vmware-tanzu/community-edition/actions/runs/1717708369/attempts/1

I also noticed that sometimes a simple re-run does to do the job and make it work. Gotta check what's going wrong here though. cc @dvonthenen

I think I already know what's wrong and I have run into the error before. I didn't save the error message the last time, but it's due to running out of quota for the instance type we are using. Next time it happens, the error should get captured again and I will increase the quota limits.

Ahhh I think I see the problem now. Working on a fix.


Modal BCC error

Problem with modal in BCC recipients after update for build 467

I have same problem. I can't delete the code and add my Email address on  Recipients. Help me if you know solution??!

Screenshot

^ Only the modal is in error. You can edit the htm file in the themes folder.
[emptyForm]
...
mail_enabled = 1
mail_subject = "Contact Form"
mail_recipients[] =<EMAIL_ADDRESS>mail_recipients[] =<EMAIL_ADDRESS>mail_bcc[] =<EMAIL_ADDRESS>mail_replyto = "email"
...

Hello @raelcv and @Guvanchhojamov
This is an existing OctoberCMS bug, you can read more about the issue here: https://github.com/skydiver/october-plugin-forms/issues/203


chore: adding the key attribute when using v-for loop

In these cases, the v-for list is almost never re-ordered, which makes the key optional (it defaults to key="index" behavior)


ContentAffiliationRetrieval str method AttributeError

Method str gives the following error
AttributeError: 'ContentAffiliationRetrieval' object has no attribute 'name'
Atribute was renamed in scopus 1.x and should be
s = '''{self.affiliation_name} ... '''
instead of
s = '''{self.name} ...'''
Using:
Windows 10 64bit
scopus.version 1.4.3
python 3.6

Thanks for the catch, @Blake11 !


Added option to modify redirect HTTP status code

Default 302 HTTP status code makes browser automatically follow redirect link in ajax request, causing CORS request. There is no available method to intercept ajax redirect with JavaScript in browser nowadays.
Status code other than 3xx makes it possible, 401 Unauthorized, for instance.

I came to a conclusion that it's unnecessary option.
In my case I have an SPA and I should use flask-oidc just as a Resource Server without any server side redirections.


Typing messages when splitting them on files

Description
We decided to work with this package to handle the website internationalization.
We implemented splitting files to have it more organized, It follows like this:

We wrote the types and the configuration as the documentations says:
type Messages = typeof import("./src/locales/en/home.json");

declare type IntlMessages = object & Messages;

globals.d.ts
import { notFound } from "next/navigation";

import { getRequestConfig } from "next-intl/server";

import { isValidLocale } from "./common/types";

export default getRequestConfig(async ({ locale }) => {
  if (!isValidLocale(locale)) notFound();

  const messages = {
    home: { ...(await import(`./locales/${locale}/home.json`)).default },
  };

  return {
    messages,
  };
});

i18n.ts
As you can see, importing files dynamically produces an error type:
Unsafe assignment of an `any` value.
Unsafe member access .default on an `any` value.

How can we solve it?
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/devbox/next-intl-bug-template-app-forked-v8pgz2
Reproduction description
Steps to reproduce:

Open reproduction
Go to the configuration file, i. e., i18n.ts
See error:

Unsafe assignment of an `any` value.
Unsafe member access .default on an `any` value.

Expected behaviour
It should not give any error when linting types.

Close in favour of https://github.com/amannn/next-intl/issues/832


small bug in the HDI NSG documentation

While walking through this information on our public documentation on creating NSG rules using PowerShell:
https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-extend-hadoop-virtual-network?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fstorm%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#azure-powershell
I’ve found a small bug in the code on the very last line:
$vnet | Set-AzureRmVirtual Network
Should be
$vnet | Set-AzureRmVirtualNetwork

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

ID: 93174b3a-3e97-8304-83fc-807be75198fe
Version Independent ID: 1155045b-ce8c-2def-7b0e-043283f8be01
Content: Log in with Azure CLI 2.0
Content Source: docs-ref-conceptual/authenticate-azure-cli.md
Service: multiple
GitHub Login: @sptramer
Microsoft Alias: sttramer

@lsilvamiguel - Please file a bug against Azure PowerShell documentation.


Miscellaneous SPDX document file handling improvements

Please have a look at the individual commit messages for the details.

I've split out the (hopefully) uncontroversial changes to https://github.com/oss-review-toolkit/ort/pull/4361; please review that first. I'll continue working on this PR afterwards.


Re-enable timeout tests on Travis + other fixes

What started out as a simple re-enabling of tests/test-timeout.js on Travis has turned into more cleanup and fixes along the way.
If you want any of these commits parted out into separate PRs, let me know.
I have tested these commits on Travis many times now and each time all 4 node targets have been green, so I am fairly confident not only about tests/test-timeout.js, but also flaky tests in tests/test-pipes.js, and other random failures.
One possibly "major" change included here is the change in timeout behavior. IMHO the timeout changes (in request.js) I've provided here more accurately reflect the intended behavior.

Hi @mscdex
I think only the timeout change + its related test changes should be placed into separate PR. Also what about your other PR https://github.com/request/request/pull/2414 ?
The rest of the changes can be left out here.
Thanks for contributing!

@simov I've moved those commits to https://github.com/request/request/pull/2431. That PR will probably need to be merged first before this PR, since the reliability of Travis depends on it.

:+1:


fix(hub-docker-image): in some cases the container was not pulled if latest

this could be the reason why the vw stage was not updated to "latest" properly.?
https://innoactive.slack.com/archives/CFXK3GRM3/p1614338886000800

issues arise if tag is different from latest for example latest-customer. So my changes are not solving the issue


How to get installed

Hi,
I do not have a server or notes.
But I would like to use only the browser implementation. In your browser dict is a sample color.html witch shoud work. Unfortunately there is a debug.js required witch is not provided. Is there any chance to get it. (Without to run notes?) Thanks in advance.

You need webpack and npm. Please google for some guides as there is way too much that has already been written about exhaustively and the process is entirely out of scope for this issue tracker.


Fix Incorrect Naming Convention (Client/Server)

The client and server naming is backwards. Currently the client is setup to accept connections while the server must wait for the client to exist before sending messages.
For proper client/server, the server should be setup to receive connections and clients should be connecting. Both sides can send/receive data.

fixed with 4791dd5


Feature Request: Create a new page with tab indentation not spaces

It would be nice to be able to generate a new page with tab instead of spaces,  or it might take what configured there in .editorconfig to apply it into generating template.

Sorry this is not something that we plan on supporting but it should be easy enough to auto format the generated file using your editor of choice.  Thanks!


My first branch

I have created a branch, created a file, and made a commit !
Also, it seems to be ... that the navigation in readme file ... opening tasks ... modifies the file (as new commits are visible)

Likely, everything went fine ....


Normalize line endings

This will fix quirky issues with the shell scripts such as #96.

Thanks for your effort determining the root cause of the Windows issue!
However, I'm not sure this actually fully accomplishes what you want it to. To my knowledge the .gitattributes file does (by default) not affect submodules and a test on my machine with eol=crlf seems to confirm this. Perhaps there’s another option change needed for it to do? Otherwise it may be a difference between git versions or possibly you forgot to remove core.autocrlf = false when testing the patch?
Also, this isn't really specific to “shell scripts” but anything executed via its shebang, e.g. also build/license_lint.awk.

The error in #96 occurs when invoking a shell script from a submodule via shebang. Later on it’d face the same issue with files directly in this repo, yes, but unless the ones in the submodules also work this change is pointless.
Is there a way to also automatically stop the line ending mangling in submodules? If yes, that’s good and please test with a fresh clone and core.autocrlf = true. Otherwise there’s at least one other alternative approach that could be explored.

AFAIK there's no way to do so, because that's Git's design. What alternative are you looking at?

@LewisTehMinerz: Ensure core.autocrlf = true is set (globally), create a fresh clone from upstream master and apply the following diff, replacing the use of shebangs with explicit interpreter calls (though in theory, nothing is stopping autogen.sh from being a script other than POSIX shell or a binary executable):
--- a/Makefile_licence
+++ b/Makefile_licence
@@ -32,7 +32,7 @@ dist/license/all: dist/license/subtitlesoctopus $(addprefix dist/license/, $(LIB
        ) :

        mv dist/license/all dist/license/all.tmp
-       build/license_lint.awk dist/license/all.tmp build/license_fullnotice
+       awk -f build/license_lint.awk dist/license/all.tmp build/license_fullnotice
        cat dist/license/all.tmp build/license_fullnotice > dist/license/all

 dist/js/COPYRIGHT: dist/license/all
diff --git a/functions.mk b/functions.mk
index 6638a88..c0a83d2 100644
--- a/functions.mk
+++ b/functions.mk
@@ -25,7 +25,7 @@ define PREPARE_SRC_VPATH
 endef

 # All projects we build have autogen.sh, otherwise we could also fallback to `autoreconf -ivf .`
-RECONF_AUTO := NOCONFIGURE=1 ./autogen.sh
+RECONF_AUTO := NOCONFIGURE=1 sh ./autogen.sh

 # @arg1: path to source directory; defaults to current working directory
 define CONFIGURE_AUTO

Then attempt to build all binaries and accompanying files as described in README.md.

sh, or most shells for that matter, will not run the scripts without CRLF conversion. CRs are completely invalid characters. We won't even make it to that stage.
$ wsl ./run-docker-build.sh
zsh:1: ./run-docker-build.sh: bad interpreter: /bin/sh^M: no such file or directory
$ wsl sh ./run-docker-build.sh
./run-docker-build.sh: 2: set: Illegal option -

Also, for note, I already tried running autogen.sh with sh directly in the Docker container during my tests, and I got the same result.
Linux & co. has no special handling for CR at all, so it just treats it as yet another character. It only handles LFs.

Well, unless you’ve got another idea, I'm afraid nothing reasonable will make this automatically work with Docker on Windows. Since the shell inside the Linux Docker Container won't accept scripts wiht CRLF line endings, the configure and autogen.sh scripts in the submodules can't ever be used. Not even with sh < file.sh.
If you have no other suggestion, I guess we could at least put a note about autocrlf in the readme. Do you know if a Windows-native shell (e.g. the one from MSys2) treats CRLF line endings like LF? If so, at least a Container-less emscripten setup might work on Windows, even with core.autocrlf = true.

I can't think of any real alternative that would work except advising everyone to turn off autocrlf or run dos2unix on every file after cloning (e.g. dos2unix **/*).
re msys2: Pretty sure the bash included with that does the same thing too.

r run dos2unix on every file after cloning (e.g. dos2unix **/*).

For the record, that's a bad idea as some submodules contain files with intentional CRLF line-endings.

Thought it would be. 🤣

Can the autocrlf setting be set in the repo scope instead of global and still work with submdoules?
I.e. does this work?:
git clone https://github.com/libass/JavascriptSubtitlesOctopus.git jso_tmp
cd jso_tmp
git config core.autocrlf false
git add --renormalize .
make git-smreset  # or: git submodule update --init --recursive --force


Fix with for instance doubles didn't verify Ruby 3 keyword arguments

This is a follow-up to https://github.com/rspec/rspec-mocks/pull/1394.
The change introduced in that PR handle a pure double, but not an instance double.
The reason is that VerifyingMessageExpectation is a subclass of MessageExpectation with with method being overridden. That makes ruby2_keywords definition declared in the superclass to be "dropped" (and therefore to confuse the Hash.ruby2_keywords_hash? check).
I'm not fully sure if this is an expected Ruby behavior, but the current fix is to repeat the definition in the subclass.

@pirj thanks for reviewing this!

I'm not fully sure if this is an expected Ruby behavior, but the current fix is to repeat the definition in the subclass.

It is expected, there is "inheritance" of ruby2_keywords or anything like that, each method which needs to delegate kwargs through *args needs ruby2_keywords.


Add Test MSK to Contributors list

Hi  @medhak19, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Hell Roshan Jossey,
The detailed steps for the entire flow were really useful.  It was very satisfying to see my "first pull" request was completed  so smoothly!
Thanks a lot for creating this tutorial.
I am now fully charged up for the open source contributions!
Thanks and Regards,
Medha.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


On Windows, set name of Window Class #769 for v0.16

allow to customize it instead of current value hard coded "Window Class"

What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Checklist

[X] This PR will resolve #769 for v0.16
[X] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme. => No need
[X] I have added a convincing reason for adding this feature, if necessary
[X] It can be built on all targets and pass CI/CD.

Other information

Just noticed this PR was opened against v0.16 branch, lets just focus on https://github.com/tauri-apps/tao/pull/770 and then I will cherry-pick it into v0.16 branch


Re-arrange folder structure

Separate the core classes with Demos project. Use folder reference to include core classes to demos project.

i have Re-arrange folder structure,not different with yours,thanks you very much!

i have Re-arrange folder structure,but not different with yours,thanks you very much!


fix copyright on docs

just noting this is failing and the issue has been documented: https://github.com/sphinx-doc/sphinx/issues/7420


Mutable nests?

What if d3.nest returned an empty nest object, on which you can define some keys (which would nest existing values, if any), and then you added objects to the nest object and they were automatically slotted into the correct position? Perhaps you could remove objects, too. It’s not clear how nest.rollup would work in this context, though.

Moved to d3/d3-collection#5.


haskellPackages.pandoc-crossref: refactor disable tests for <IP_ADDRESS>

Author acknowleges test failing (change when no longer <IP_ADDRESS>). There is only one test that fails.
https://github.com/lierdakil/pandoc-crossref/issues/199
Motivation for this change
Using pandoc-crossref for my dissertation. Overrides are a pain (not hard to do though).
Things done
haskellPackages.pandoc-crossref: refactor disable tests for <IP_ADDRESS>
Disabled test for <IP_ADDRESS>. I can verify that the release works as intended.

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

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

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

 Thank you.
/* hackage-packages.nix is an auto-generated file -- DO NOT EDIT! */

I have made the changes and applied them in configuration-nix.nix as requested.
  # Author acknowleges test failing (change when no longer <IP_ADDRESS>)
  # https://github.com/lierdakil/pandoc-crossref/issues/199
  pandoc-crossref = dontCheck super.pandoc-crossref;

@peta the single test fails due to a newer minor version of pandoc being used by nix. The author stated that he has no intention of fixing the test for the release. Is configuration-common.nix the appropriate file to modify?

Upstream tends to change LaTeX output between minor releases, sometimes significantly. Aside from covering test code in conditionals on Pandoc's version (which I won't do for obvious reasons), or removing those tests altogether (which I also don't want to do because despite being flaky, they're useful), there's nothing I can do really.

Changes have been made and tests are now disabled in coniguration-common.nix.


[HEXAGON][Debug] Changes to debug op integration

Code changes to schedule a fused operator for hexagon and try running it on hexagon simulator.
The model is compiling successfully however, the execution is failing at runtime.
The changes lead to an assertion at runtime.
cc @mehrdadh

Closing this PR as it was meant to show the changes faced during debugging.


ko resolve not working with limited network access to some source repo in vendor mode

The problem is found in a container environment with limited network access to certain repos.
The reason is because this line executes go list -mod=readonly -json -m all
unconditionally.
What's expected:
ko resolve should give user the option to avoid doing go list -mod=readonly -json -m all
in vendor mode when network access is limited.

Ideally we'd have the option to run go list -mod=vendor instead to force ko to resolve paths using only vendored modules.

If you have a clever idea for how to implement this in a backwards compatible way, or a proposed API change to do this, I'm all ears.
I'd be fine with either an undocumented flag or environment variable that just changes this flag in this invocation to unblock y'all until a better solution comes forward.

Thanks Jon, we were able to workaround the issue by allowing access to the source repos so please don't treat this as urgent.
A simple fix might be to call go list with -mod=vendor whenever a vendor directory is present. This matches the go behavior of defaulting to -mod=vendor which the use of -mod=readonly overrides.
Another idea is to add a --vendor-only flag which restricts ko to deploying images from vendored source. When enabled go commands including go list would use -mod=vendor. I'm not sure if other restrictions would be needed to provide this functionality.

I see -- will probably want to dig through the go tool's code and copy their heuristic (or maybe they export it).
Glad you're not blocked!


Vulnerability roundup 84: libsass-3.6.1: 2 advisories

search, files

[ ] CVE-2019-18798 CVSSv3=6.5 (nixos-20.03)
[ ] CVE-2019-18799 CVSSv3=6.5 (nixos-20.03)

Scanned versions: nixos-20.03: 82b5f87fcc7. May contain false positives.

See also: #73660

20.03 is frozen and EOL.
Closing.


app has stopped

After following all the instructions, when i installed the app in my mobile then when i open this app it stops by showing error that your app has been stopped. Please help me how to resolve this issue?

There's not enough info here to help troubleshoot your problem. Can you please include the relevant logcat output when the app crashes?
As an extra aid, you can try downloading the finished APK from the nightly build page (Click 'Last Successful Artifacts' -> View/out/native/tensorflow_demo.apk) and see if that runs on your device.


Describe the issue
A global list of updates that IntelliLex offers for autogen:

Autogen-conveyor is a fully automated tool that allows you to create a multi-level system for performing complex tasks

A new class of agents - ClI_Agent

Agent typing; universal precision enhancement agent; autogen universal agent exchange platform

Conveyer2Autogen - our application of Autogen-Conveyor technology to automatically create an autogen group chat (single department)

Conveyer2Conveyer - our application of Autogen-Conveyor technology to automatically create a conveyor (n-number of departments)

Documentation: https://github.com/hherpa/IntelliLex
@sonichi @LinxinS97 @jieu
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
No response

@JieyuZ2 is the right id

unclear what the request is here. reopen with more detail if you want to continue


Improve the CI to block broken links

https://github.com/open-telemetry/opentelemetry-demo-webstore/pull/86#issuecomment-1145270046
It seems the current CI job doesn't prevent broken links. At minimum we should have gated CI job to prevent any relative link that is broken. Whether we should check absolute links or not is still to be decided due to the fragile nature.
One option is docfx, as been used in https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/.github/workflows/docfx.yml.
Another option is https://github.com/open-telemetry/opentelemetry-specification/blob/9abbdd39d0b35f635f833f072013431da419894e/.github/workflows/checks.yaml#L36, which can be configured to cover relative/absolute/both.

one option is https://github.com/lycheeverse/lychee

lychee
Pros: A wide variety of formats are supported.
Cons: Some setup is required.
markdown-link-check
Pros: only support markdown/text
Cons: easy to use


Explicit policy for what platform are required for PullRequests of new features

At the moment neither the style guide nor the contributor guide specify for which platforms a feature in a pull request has to be available to be merged.
In https://github.com/flutter/plugins/pull/1400 it's argued that Android, iOS and web are all three required. If that's the official policy that should be stated in one of the linked documents so that developers don't get pull request denied for reasons of unstated policy.
If this isn't policy then the policy should be also explicitely say that pull requests that only implement some platforms like Android+iOS are welcome to encourage developers to contribute those.
Given that the amount of features in Flutters plugins are at the moment it's weakest point I would prefer a policy that's welcoming of pull requests that implement a feature in Android + iOS and that doesn't require web, but in any case there should be an official policy.

it is really strange that one feature is blocked by the platform support which is not released ;

We should define and document policy around this. Just to clarify for background/context though, having looked at the issue:

In flutter/plugins#1400 it's argued that Android, iOS and web are all three required.

The person making this argument was not a repository maintainer, so that just was an expression of one person's personal opinion, not a policy statement.
Their concern appears to have been that the PR actively broke web, not just that it didn't include web support.

so that developers don't get pull request denied for reasons of unstated policy.

This did not actually happen.

I've added an initial writeup of what I expect the policy to be going forward: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#platform-support. As always, we'll update and adjust based on experience.


Pickle compatibility is not given between pickle and cloudpickle => GitHub Action crash

🐛🐛 Bug Report
⚗ Current Behavior
By activating the pytest environment of GirHub Actions - package.yml, a compatibility problem shows up, as a result of incompatibility in the pickle protocols. The consequence is the CI test is crashed!

https://github.com/Anselmoo/Hub/runs/2374960592?check_suite_focus=true

https://github.com/activeloopai/Hub/blob/f19d5663bbb79d8159121dbf4794d8ac6b4e3fcf/hub/api/tests/test_dataset.py#L179-L180
⚙ Environment

Python Version [3.6-3.8]
OS[UNIX, Linux, Windows]

🔭 First Results
Every python version except the combination Windows + Python 3.8 needs Pickle5, vice versa, default pickle can be used
🧰 Possible Solution  (optional)

Removed cloudpickle and only use pickle.dumb and pickle.loud
Working case sensitive

@Anselmoo this seems like an easy fix. Since a Dataset is easily serializable I am not sure why cloudpickle was used in the first place. Can you submit a PR and I will merge?

@Anselmoo mind separating the PRs? It will served as future documentation on the decision between pickle and cloudpickle :)
Submit PR and I'll merge!

@mynameisvinn there is one more cloudpickle in the following test below
https://github.com/activeloopai/Hub/blob/27483e6c8dc2d45b4efcc478a6cdfbe6d2e0d532/hub/store/tests/test_s3_storage.py#L43-L47
If that is not necessary, we can completely remove it, even from the https://github.com/activeloopai/Hub/blob/master/requirements-dev.txt


Moving go cl.WriteLoop() out of NewClient() and placing it in attachClient()

In the server.loadClients() and when using inlineClient, NewClient() is called, but these may not necessarily represent actual connections. Calling go cl.WriteLoop() within NewClient() leads to a goroutine leak. I think moving go cl.WriteLoop() out of NewClient() and placing it in either server.EstablishConnection() or server.attachClient() would be more reasonable.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 98.792%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
5480

Relevant Lines:
5547

💛  - Coveralls

@thedevop @x20080406 @mochi-co @dgduncan I have added a call to cl.Stop() in loadClients() to cancel the client's context, update cl.State with information such as disconnected time, and set the stopCause.
Please let me know if there are any other cases that need to be considered.


[Snyk] Security upgrade python from 3.13.0a3-slim to 3.13.0rc2-slim

Snyk has created this PR to fix 4 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

cmd/earlystopping/medianstop/v1beta1/Dockerfile

We recommend upgrading to python:3.13.0rc2-slim, as this image has only 40 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Integer Overflow or Wraparound SNYK-DEBIAN12-EXPAT-7855502
  714

Integer Overflow or Wraparound SNYK-DEBIAN12-EXPAT-7855503
  714

XML External Entity (XXE) Injection SNYK-DEBIAN12-EXPAT-7855507
  714

Allocation of Resources Without Limits or Throttling SNYK-DEBIAN12-SYSTEMD-6277507
  614

Allocation of Resources Without Limits or Throttling SNYK-DEBIAN12-SYSTEMD-6277507
  614

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 XML External Entity (XXE) Injection
🦉 Allocation of Resources Without Limits or Throttling

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 73.255%

Totals

Change from base Build<PHONE_NUMBER>:
0.4%

Covered Lines:
3128

Relevant Lines:
4270

💛  - Coveralls


basecorr and rescaledata

basecorr and rescaledata have partially overlapping functionality: rescaledata can do baseline correction, but only for 1D data. rescaledata does rescaling, which basecorr doesn't do.
We should examine the interface for these two functions. Maybe merge into a single function, or more cleanly separate the functionalitites.

Changes to basecorr:

[ ] swap Order and Dim to make more consistent with Matlab functions; Dimshould be optional; Order should be required
[ ] Order and Dim should be scalars; for sequential corrections along two dimensions, call basecorr for each dimension separately
[ ] add a mask!

This issue is split into separate issues for rescaledata (#312) and basecorr (#313).


Snapshot create/restore and rotate certificate  actions not available for a Standard user (RKE1)

Setup

Rancher version: v2.6-head 7efbeab
Browser type & version: Chrome Version 97.0.4692.99

Describe the bug

The following snapshot related actions are not available for a Std user.

Take Snapshot
Restore Snapshot
Rotate Certificates

To Reproduce

Deploy an RKE1 custom cluster
Take a few snapshots
On the Cluster Management page, find snapshot related actions

Result
On the Cluster Management page, snapshot related actions are not available

I can access Restore when I navigate to Cluster details --> Snapshot -->Select snapshot --> Restore.

Expected Result

Restore Snapshot should be available to standard user on Cluster Management page
Screenshots

Context

The behavior for the snapshot related actions need to be consistent between standard users and admin

Standard users will be able to access the snapshot related functions as intended

The issue appears to be that a standard user does not have backupEtcd as an available k8s action
As admin

As standard user

We can bypass the logic to enable a standard user to have the UI 'take snapshot' and 'restore snapshot' functionality, but these will result in a 403 error
Non-admin user attempting to take snapshot

@neillsom This is labelled in Review, but I don't see a PR for this. If the backend is not proving the backupEtcd action for a standard user, and they should be able to snapshot, then we need a backend fix, so we should open an issue in rancher/rancher.

Rancher/rancher issue https://github.com/rancher/rancher/issues/36757

Based on https://github.com/rancher/rancher/issues/36757#issuecomment-1063019335, the backend appears to be working as designed.
@neillsom can you review @MbolotSuse's comment and see if there is anything else that we need the backend to help out with?

Backend ticket marked as closed with comments indicating it's working as designed there. @neillsom do you have enough now to work on this?

I have updated the backend issue and re-opened it - this works for RKE2 but NOT for RKE1

@nwmac Just tried this with an RKE1 cluster (v1.23.4) in digital ocean. Same results as above - I'm able to see the snapshots and take a new snapshot after clicking into the cluster. The backend, in this case, appears to be functioning as intended.
Would you mind providing more clarity on what specifically is not working (as well as what the expected result is)?

Should this be in the v2.6.4 release notes under know issues? Cc @jtravee

Should this be in the v2.6.4 release notes under known issues? Cc @jtravee

I think it should be, I'll add it now!

Backend may have a fix now. It's in QA's hands so UI may be unblocked. @MbolotSuse is that true?

@neillsom we're unblocked on this again.

@gaktive Sorry for not letting you know. We have the fix code available in master. Still needs to go through QA and all though.

Thanks @MbolotSuse; we'll keep this in Next Up but lower on the stack in case.

Backend work passed QA yesterday. Not sure if UI has time to get this in for 2.6.5 but we'll see.

I have validated that given the backend changes, this is now working in the UI - moving to Test for QA to validate and sign-off.

Test Environment:
Rancher version: v2.6-head 7db4fe4
Rancher cluster type: HA
Docker version: 20.10
Downstream cluster type: EC2 rke1 node driver

Testing:
Tested this issue with the following steps:

Create rke1 node driver cluster as Standard user

Result - Pass
Standard users are now able to access snapshot related functions as intended on Cluster Management page


Add four new units relating to Electrical Power systems management.

I need units relating to a few different Electrical Engineering concepts.
There has previously been talk of adding types for Apparent power (PR #185). So I have added this as well as Reactive Power, Volts AC (AcElectricalPotential) and Volts DC (DcElectricalPotential).
I have only added scales to each of these units which make sense in our domain as well as those that seem likely/reasonable. Obviously, this can be expanded when and as needed.
This is related to the issue I raised: https://github.com/anjdreas/UnitsNet/issues/221
And also to an older PR: https://github.com/anjdreas/UnitsNet/issues/185

Will you have any need to deal with the phase of the AC quantities your software is dealing with?
If so, would introducing phase be outside the scope of this library? Maybe. More minds are better, lets discuss.

Hi @JKSnd
Thanks for the forethought. We do not have a requirement to deal with the phase of the AC quantities.

Alright! Latest changes look good, merged.

Nuget 3.51 out.


JSONParser returns wrong updateResult

It sometimes returns true though it should not.

The real issue is the GraphConstraintUpdateFilter. It does not properly return the correct result.


Fix combiner plotting

Codecov Report

Merging #25 into master will decrease coverage by 0.15%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   55.55%   55.39%   -0.16%
==========================================
  Files          10       10
  Lines         351      352       +1
==========================================
  Hits          195      195
- Misses        156      157       +1

Impacted Files
Coverage Δ

src/combiner/combiner.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e7ea3e...d902374. Read the comment docs.


deleted messages within the conversation halts json parsing

thanks for your tool, it's great!  i recently came upon an issue where deleted messages within a chat conversation halts the json parsing.  the message structure is below.  i believe the ability to delete a specific sent message is relatively new.
{
  "message_state": "DELETED",
  "deleted_date": "Tuesday, September 10, 2029 at 8:44:40 PM UTC",
  "topic_id": "123XXX_S_BS",
  "deletion_metadata": {
    "deletion_type": "CREATOR"
  },
  "message_id": "someMessageID"
}

it doesn't seem to be halting for me
but actually it would be great to have a feature where deleted messages show up in the html, perhaps with a tag indicating they were deleted


TomlDecodeError: Loading with multiple dictionaries within a dictionary.

Version: v0.10.2
False Error: 'Invalid inline table value encountered'
I get the following error while trying to load the below TOML from a file:
toml.decoder.TomlDecodeError: Invalid inline table value encountered
The contents of the TOML file:
bad = {x = {y = {a = 1}, z = {b = 1}}}

This is valid TOML and should parse fine. It will import correctly using tomli load.
This error repeats for multiple dictionaries within any dictionary with a depth of 2 or more.

For example, these TOML contents parse fine:

good = {x = {a = 1}, y = {b = 1}}
good = {x = {y = {a = 1}}}}

And this will fail as well:

bad = {x = {y = {w = {a = 1}, z = {b = 1}}}}

Similar example with problems:
bad = {x = [[1, 1], [1, 2]]}
good = {x = [[1, 1]]}
good = {x = [1, 2]}


[VS Code] Unable to connect to the remote server. TrackingId:e7edb0ac-fbf6-4703-acdb-f49b27ba893e, Address:sb://vsls-prod-ins-use-private-relay.servicebus.windows.net/700f54c0585de2b53672ac055d818ab70265--34bf69c4-e8d1-4bed-8582-68963c04781e, Timestamp:14/06/2018 5:34:09 PM

Error:
Unable to connect to the remote server. TrackingId:e7edb0ac-fbf6-4703-acdb-f49b27ba893e, Address:sb://vsls-prod-ins-use-private-relay.servicebus.windows.net/700f54c0585de2b53672ac055d818ab70265--34bf69c4-e8d1-4bed-8582-68963c04781e, Timestamp:14/06/2018 5:34:09 PM
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.292

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.23.1

platformName
Windows

platformVersion
6.1.7601

Thanks for reporting @MaximPerry . We've seen this before and are investigating the issue. Closing this as a dupe of 504.


getter, setter sugar syntax

    var obj = {
        get foo() {
            return Math.random();
        },
        set foo(value) {
            console.log('SET foo = '+value);
        },
    };

maybe I can use this instead of o.defineProperty

I can't use this. This is nice, but I change the enumerable, value, etc... not just the setter and getter.


master branch breaks compilation

in this commit (https://github.com/ziglang/zig/commit/68b87918df9ad82cf3161f323c55f2e238319922), std.process.ArgIteratorWindows.InitError has error.InvalidCmdLine removed, which results in compilation error since we are still referencing this error here: https://github.com/Snektron/vulkan-zig/blob/b1f3820d0881e0d3312f787aedeaf235d26c94db/generator/main.zig#L17
I'm not sure if trivially remove this would help

fixed in https://github.com/Snektron/vulkan-zig/pull/121


Update submodules

Yes, exactly that.

Thank you for confirming! Could you update the PR title so it mentions the motivating Fedora update (just to make the trail a bit clearer in case we need to look back).


[Help]: How can change the heartbeat time for <20

📝 Describe your problem
How can change the heartbeat time for <20 , and how can i change the notify message timezone ,it was wrong
🐻 Uptime-Kuma version
1.9.1
💻 Operating System
CentOS 7.9
🌐 Browser
Microsoft Edge
🐋 Docker
No response
🏷 Docker Image Tag
No response
🟩 NodeJS Version
No response
👀 Have you spent some time to check if this question has been raised before?

[X] I checked and didn't find similar question

🛡 Security Policy

[X] I agree to have read this project Security Policy

Duplicate of #606


WriteChannel of google storage client increases memory usage and gives memory leak

Hi Everyone,
I am using google cloud storage client library to store files in google cloud storage.
I am using the below code for that:
WriteChannel writer = null;
ReadableByteChannel input=null;
try {
    int bufferSize = Integer.getInteger("buffer.size", 1024 * 1024);
    writer = storageClient.writer(blobInfo);
    //the fileInputStream from the file
    input = Channels.newChannel(fileInputStream);

    ByteBuffer buffer = ByteBuffer.allocateDirect(bufferSize);

    writer.setChunkSize(5*bufferSize);
    while (input.read(buffer) != -1) {
	buffer.flip();
	writer.write(buffer);
	buffer.compact();
    }
}

IOUtils.closeQuietly(fileInputStream);
IOUtils.closeQuietly(writer);
IOUtils.closeQuietly(input);

As the document suggested for big file should use the WriteChannel writer from the storage client.
But after using this code when i do the memory analysis , Its increasing up after each request .
All ways i tried mentioned in the google cloud storage documents.I am not understanding why the code is not channeling and its allocating memory  with each request and memory is not getting released , which soon  gives memory leak error.
Kindly help and guide me if i am doing something wrong.
Thanks in advance.

Can you please provide exact error message? Also why are you using allocateDirect? Allocating new direct buffer with every request would not cause GC which will prevent process to reclaim native heap memory.

closing this issue bcoz of staleness. Please reopen if needs help with this.

Hi,
I'm facing similar issue. Though I don't get out of memory but the pod rss keeps increasing and even when all the requests are processed the memory doesn't drop . I'm attaching the screenshot that contains memory request, usage and limit . The used memory didn't drop to lower level even though the application is not doing any work.

Thanks


[Service Bus] Update to use core-amqp

Makes Service Bus build fine with latest Track 2 core dependencies.
This would be precursor step to start making changes for Service Bus Track 2.

We don't intend to update the master branch to use core-amqp just yet, therefore closing this PR.
We first want to ship the ATOM based management apis being tracked in #1057 from the master branch without causing any breaking changes. Using core-amqp introduces breaking changes to Service Bus.

@amarzavery @ramya-rao-a @nemakam @bterlson @daviwil
Let me know if you have any comments (mostly on high level things)

One thing we can do is to review the changes in PR basing off of master. And when ready to merge, can do so onto a new branch. Thoughts? @ramya-rao-a @chradek

@ramya0820 Why can we not pull in the commits from the master into the existing branch feature/service-bus-track-2 ?
Also, if we want to create a new branch with similar name, shouldn't we delete this existing branch?

/azp run js - client - ci

Update feature/service-bus-track-2 to have the changes from master is the right approach. I can do this if needed

The branch feature/service-bus-track-2 has been updated with changes from the master branch, merge conflicts resolved and ensured that the build runs fine.

@ramya0820 Please can you open a PR to the branch feature/service-bus-track-2 and close this PR. I want to delete the branch feature/track-2-service-bus to avoid any confusions

Something seems wrong when pulling from upstream branch on local.
Closing in favor of https://github.com/Azure/azure-sdk-for-js/pull/5324/files


storing versions with mutation hook?

I want to store the historical information of one table in another table.
For example, I want to store the history of table settings in history table setting-versions.
To do this, I am thinking of using the schema mutation hook, but is there any way to insert a record to another schema within the mutation hook for a particular schema like below?
func (Setting) Hooks() []ent.Hook {
	return []ent.Hook{
		func(next ent.Mutator) ent.Mutator {
			return hook.SettingFunc(func(ctx context.Context, m *gen.SettingMutation) (ent.Value, error) {
                                 // get create/update mutation information for `Setting`, or query old data  of the schema here
                                 // then, do some operations to insert version data to `SettingVersion` schema here. However, I have no idea to do this.
				return next.Mutate(ctx, m)
			})
		},
	}
}

Or if there is a better way, I would like to know.

Hey @shota-hizawa
Thanks for reaching out.
You can read about our approach to the problem in this blog post:
https://entgo.io/blog/2022/04/07/how-twitter-can-implement
In the post you'll find a link to an example repo with some code examples.
We will most likely work on open sourcing an official Ent extension for enthistory in the future, but in the meantime this can get you started.

Hey @shota-hizawa 👋
Like Rotem mentioned, enthisotry is a great reference for such an implementation. But for your question, this can be implemented as follows:
h := hook.SettingFunc(func(ctx context.Context, m *gen.SettingMutation) (ent.Value, error) {
	tx, err := m.Tx() // Or, m.Client()
	if err != nil {
		// Fail if the operation is not running within a transaction.
		return nil, err
	}
	// Save another record in the setting-versions table.
	if err := tx.SettingVersion.Create().Set...().Exec(ctx); err != nil {
		return nil, err
	}
	return next.Mutate(ctx, m)
})

Please, let me know if you need more help or we can close this issue. Thanks 🙏

Closing, but please feel free to reopen or join our Discord community if you still need help with this 😎

Hi, @rotemtam @a8m
I appreciate your quick reply.
These sample codes really helped me!
I am also looking forward to enthisotry feature will be released☺
Thank you.