Adding Voyager to existing project

Laravel Version: 5.5
Voyager Version: ^1.0
PHP Version: 7.0.0
Database Driver & Version:

Description:
The main problem is that  post/category/ tables that are included into library should be allowed to be disabled. I don't need them in the project and it causes a trouble when adding to existing project.
Steps To Reproduce:
I have an existing project and table with name categories. When i do php artisan voyager:install it stops with error (the table categories already exists) . I know that with changing the name of migration we can solve the problem, but if we follow the simplicity and clearness of Laravel, you should also make it adjustable.

#1863

@chadidi Yes I saw that issue, however if they change that from core that would be awesome. The admin panel is really perfect and makes Laravel even more amazing. Let's see if we can get results

https://github.com/the-control-group/voyager/issues/1863#issuecomment-350759467


How to move the social icons below the profile image?

Hi. Thanks for your wonderful work!
I am just wondering if I can move the social icons (i.e., email, google scholar, etc.) just below the profile image. If so, could you provide some instructions to me on how I can do this?
BTW, where can I change the size (or may be the percentage?) of the profile image? I just want to let the profile image a little small.
Thanks in advance.

Hello, how did you implement this feature? Thanks!

Hello, how did you implement this feature? Thanks!

Hello. You can find the code block from /_layouts/about.html:

          {%- if page.social %}

                {% include social.html %}

                {{ site.contact_note }}

          {%- endif %}

Trying to move it below the end of the if page.profile.address block within the
 container should work. The modified code should look like this:

            ......
            {%- if page.profile.address %}

              {{ page.profile.address }}

            {%- endif %}

            {%- if page.social %}

                {% include social.html %}

            {%- endif %}

Regarding the size of the profile image, you can change it on line 142 on /_sass/_base.scss by changing the percentage of the width.
I hope this helps!

Thanks so much!


Clone, Copy traits for RegW

I found that Clone and Copy traits are derived for R part of registers, but not for W part of the register enums.
pub enum MSTRW {
    # [ doc = "`0`" ]
    SLAVE,
    # [ doc = "`1`" ]
    MASTER,
}

# [ derive ( Clone , Copy , Debug , PartialEq ) ]
pub enum MSTRR {
    # [ doc = "undocumented" ]
    SLAVE,
    # [ doc = "undocumented" ]
    MASTER,
}

I was hoping to make use of these information to use as follows
pub unsafe trait SPI: Deref<Target = i2s2ext::RegisterBlock> {
    type Ticks: Into<u32>;

    fn init(&self, role: i2s2ext::cr1::MSTRW);
}

pub struct Spi<'a, S, D>
    where S: Any + SPI,
          D: DMA + 'a
{
    pub reg: &'a S,
    role: i2s2ext::cr1::MSTRW,
    dmatx: &'a D,
}

impl<'a, S, D> Spi<'a, S, D>
    where S: Any + SPI,
          D: Any + DMA
{
    fn init(&mut self, role: Role) {
        self.role = role;
        self.reg.cr1.modify(|_, w| w.mstr().variant(self.role));
    }
}

This currently fails as self.role is copyable.
So any reason that they are not implemented?

So any reason that they are not implemented?

If there was one I don't remember ... 😅

Please derive at least PartialEq for the W enums. Those would allow HALs to use them directly at configuration time and check before writing them.


Macbook pro 15' mid 2010 with El Capitan - unable to uninstall 2.0 CAT

Hi:
I have tried to uninstall the 2.0 CAT so that I can install the latest CAT for the El Capitan. Can you please provide me instructions on how I can accomplish this? A month ago, I have tried this and wasn't successful and I'm hoping that by this time, issues has been ironed out and a more stable CAT has been released. Thanks!
Matt

Hi Matt,
to do a complete uninstall, you simply need to download the latest CAT with the Download Link on the repo page or us this link: https://github.com/dokterdok/Continuity-Activation-Tool/archive/master.zip
Start up CAT, choose "4) Uninstall with Recovery", reboot and install it again. I have the same model as you and Continuity and Handoff are working.

Hi,
Is CAT functional with El Caption?
Because i read it is not compatible yet with dongles.
I also have Macbook pro mid 2010 with OSX 10.11

Yep. Dongle support was added with the release v2.2. 👍

Dear where i can download this 2.2 version. where as on the official web page it says
2015-10-09 : Version 2.1.3 Merged with the beta version. Should now work on 10.10 - 10.11

Use my download link. The "News" part in the Readme is not up to date. If you scroll down to the changelog, you'll find a message for 2.2.

Thank you! It seems to be working according to system diagnostics. However,
for some odd reason, my iphone 5s and macbook pro aren't pairing up. Any
ideas why?
Matt
On Wed, Oct 21, 2015 at 1:07 AM, kramsee<EMAIL_ADDRESS>wrote:

Hi Matt,
to do a complete uninstall, you simply need to download the latest CAT
with the Download Link on the repo page or us this link:
https://github.com/dokterdok/Continuity-Activation-Tool/archive/master.zip
Start up CAT, choose "4) Uninstall with Recovery", reboot and install it
again. I have the same model as you and Continuity and Handoff are working.
—
Reply to this email directly or view it on GitHub
https://github.com/dokterdok/Continuity-Activation-Tool/issues/241#issuecomment-149792256
.

--
Matt Sickon
*"Love does not begin and end the way we seem to think it does. Love is a
battle, love is a war; love is a growing up." *- James Arthur Baldwin

I'm happy that it worked!
It takes a while and a bit of fiddling for handoff and continuity to start working. I'd recommend signing out and in from your iCloud account on your macbook, restarting both devices, disabling and reenabling of bluetooth. These steps worked for me.

@mnsrit pull up your contact on your iPhone. This is the contact with your name with iOS uses for your autofill data. Add your iCloud email address in there as "iCloud" category email and then it should start working. This is what worked for me. :)

I also have a mid 2010 MBPro 15 but have unfortunately lost functionality with handoff when updating beyond el Captan 10.11. Wishing I had waited but hoping for a fix soon. Any word on forthcoming updates to cat? Thanks

Well....allow me to update my post. I lost ability to use CAT when updating to 10.11.1.  Then today, upon updating to El Capitan 10.11.2 beta, I have successful connection to handoff after running CAT 2.2. Hope this is helpful information to anyone in Mid 2010 15 mbp.

can you please close this issue as well, it will help keep the boards from cluttering with duplicate issues.


Downloading images

It worked fine downloading the legacy project.  I then went to fc24-19 field camp 2019.  It got stuck at 73 or 74 images on North Twin.  Others worked great.

Ok I will log into fc24-19 and take a look later today.

Ok I will log into fc24-19 and take a look later today.

@panamint55 I cannot get it to slow down or crash when in production mode.

@panamint55 I cannot get it to slow down or crash when in production mode.

I am going to close this one cause I can not replicate the issue.


Elasticsearch 5 Support

This adds autosizing of the ES Heap via the APTIBLE_CONTAINER_SIZE
environment variable if present (we use half of APTIBLE_CONTAINER_SIZE
for the ES Heap, which is what Elastic recommends), and adds support for
Elasticsearch 5.
Note that the underlying reason we needed to support
APTIBLE_CONTAINER_SIZE before supporting Elasticsearch 5 is that
Elasticsearch defaults to a heap that's too big for our default 1GB
container size.
Finally, note that this does not support --dump and --restore because
Elasticsearch 5 is not supported in elasticdump yet (which we use for
these). In practice, we don't allow cloning Elasticsearch databases, so
so these are never used anyway (plus, now that we have on-demand backup
and restore, cloning is increasingly irrelevant).
A few other notable changes:

ES 5 uses Java 8.
ES 5 uses a different repository.
ES 5 no longer defaults to multicast discovery, so we no longer need
to disable it.
For backwards compatibility, if ES_HEAP_SIZE was present in the
database's configuration (i.e. environment), we'll translate that into
the relevant option for ES 5 (i.e. ES_JAVA_OPTS).

Note: I'm also fixing an unrelated nit in the wrapper script in a separate commit here.
cc @fancyremarker @blakepettersson

cc @fancyremarker @blakepettersson

👍

Upon startup, Elasticsearch complains that it thinks our vm.max_map_count sysctl is too low:
[2016-11-25T12:47:37,783][WARN ][o.e.b.BootstrapCheck     ] [fdBJUoa] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Now, this doesn't prevent Elasticseach from starting, but the ES docs do indicate that it's probably a good idea to increase it.
I don't think it's harmful to set this on DB instances (it certainly isn't nowhere near as potentially problematic as Redis' requirements to set vm.overcommit_memory to 1), I can make that change in our cookbook.
cc @fancyremarker

Yay! Thanks, @krallin and team


Add AUR instructions to README.md

Hello!
I created the following packages for installing cargo-dist on Arch Linux:

https://aur.archlinux.org/packages/cargo-dist
https://aur.archlinux.org/packages/cargo-dist-git

This PR simply updates README.md to mention the installation instructions.

Oh wow..! Thanks!


Fix documention typo that flipped the description of window_set_max_size and window_set_min_size

doc fix typo that flipped the description of window_set_max_size and window_set_min_size
The documentation had the "smaller/larger" words in the descriptions of "window_set_max_size" and "window_set_min_size" flipped.
Old window_set_max_size description:

window_set_max_size:
Sets the maximum size of the window specified by [param window_id] in pixels. Normally, the user will not be able to drag the window to make it smaller than the specified size. See also [method window_get_max_size].

The function "window_set_max_size" sets the maximum size of the window, if you set this to 640x480, you can then not drag your window to be larger than 640x480. You can still drag your window to be smaller.
And vice versa for "window_set_max_size".

Thanks!


fix(crawler): Visit function should write error in errCh once

Description
There might be a case where we get 2 errors at the same time.
e.g. https://github.com/aquasecurity/trivy-java-db/actions/runs/11004543211/job/30555662443
In this case we close errCh after reading the first error and get panic for the second error.
That's why we need to return the error once.
Related issues:

Close #34

@DmitriyLewen This fix resolves panic, but it doesn't fix the error itself, right?

Let's see what error will occur after this fix.

Error: crawl error: visit error: unable to fetch sha1: http get error (https://repo.maven.apache.org/maven2/io/kevinlee/refined4s-doobie-ce2_3/0.7.0/refined4s-doobie-ce2_3-0.7.0.jar.sha1): GET https://repo.maven.apache.org/maven2/io/kevinlee/refined4s-doobie-ce2_3/0.7.0/refined4s-doobie-ce2_3-0.7.0.jar.sha1 giving up after 11 attempt(s)

I'm facing another error.
2024/09/25 15:18:30 ERROR request failed error="Get \"[https://repo.maven.apache.org/maven2/br/com/objectos/iro/0.1.0/iro-0.1.0.jar.sha1\](https://repo.maven.apache.org/maven2/br/com/objectos/iro/0.1.0/iro-0.1.0.jar.sha1/)": context canceled" method=GET url=https://repo.maven.apache.org/maven2/br/com/objectos/iro/0.1.0/iro-0.1.0.jar.sha1
panic: send on closed channel

goroutine 8876313 [running]:
github.com/aquasecurity/trivy-java-db/pkg/crawler.(*Crawler).Visit.func2()
	/home/runner/work/trivy-java-db/trivy-java-db/pkg/crawler/crawler.go:202 +0x89
created by github.com/aquasecurity/trivy-java-db/pkg/crawler.(*Crawler).Visit in goroutine 8875488
	/home/runner/work/trivy-java-db/trivy-java-db/pkg/crawler/crawler.go:195 +0x4ec
make: *** [Makefile:16: db-crawl] Error 2

OK, I finally figured out why our HTTP client retries immediately. go-retryablehttp parses Retry-After if it exists in the response header.
https://github.com/hashicorp/go-retryablehttp/blob/40b0cad1633fd521cee5884724fcf03d039aaf3f/client.go#L553-L557
However, Maven Central returns Retry-After: 0...
HTTP/2.0 429 Too Many Requests
Content-Length: 47
Accept-Ranges: bytes
Content-Type: text/plain
Date: Wed, 25 Sep 2024 19:17:34 GMT
Retry-After: 0
Server: Varnish
Via: 1.1 varnish
X-Cache: MISS
X-Cache-Hits: 0
X-Served-By: cache-iad-kcgs7200042-IAD
X-Timer: S1727291855.653967,VS0,VE1

🎉


UI Step 2 - Issue no. 14

For the sake of compatibility with the OSMOSE modeling platform, the name of the functional groups should not include spaces nor underscores nor dashes.
For example, I just ran a test with the UI, where I requested parameter estimates for an OSMOSE model for the Iceland Shelf/Sea ecosystem; and I noticed that the UI defined some functional groups called "reef-associatedsm" and "raysm md", among others.
In this specific example, the names of the functional groups should be "reefassociatedsm" (rather than "reef-associatedsm") and "raysmmd" (rather than "raysm md").
Could you please correct for this? Many thanks!

Thanks to @FIN-JBarile for providing the data. I updated all the json file in github pages. There should't be any functional group names with spaces, underscores, or dashes.

@FIN-casey and @FIN-JBarile Thanks a lot! The present issue has been solved; I can therefore close it now.


Update name of explicitly disabled cop

Minor change to a cop name.  Not clear why AlignHash no longer works, but it doesn't.

Coverage remained the same at 91.929% when pulling 3eeb5acff15e6171b2ff462a41ccd583d96bd0fe on sac-layout-hashalignment into 79e1fe99a436439d5b91b5cfc68f98386d61a9a7 on master.


createFundedAddress: creates two blocks, even when not necessary

To keep track of the progress:
As fix for #7 an intermediate address is funded with (requestedMSC / 100).setScale(8, BigDecimal.ROUND_UP) from which requestedMSC is sent to the final destination.
An intermediate address is also used in the case where (requestedMSC / 100).setScale(8, BigDecimal.ROUND_UP) == requestedMSC, which is not necessary.

Addressed by https://github.com/msgilligan/bitcoin-spock/pull/46.


fix(button-toggle): Use a lighter color for focused layer in button-toggle

Use 0.06 black/white for focused layer.
In #3119 the focused layer color is the same as selected button-toggle.

I assume the screenshot is just a flake? (omg screenshots!!)

Yes, it's a flake. The height of the screenshots changed....

can we switch to only apply focus style when its focused via keyboard? its kind of confusing what's selected otherwise

Done. Please take another look. Thanks!

lgtm, thanks!


Feature request: Browse Packages

Description of feature/enhancement
Browse Packages in browser. Currently, search is the only way to discover packages. Users cannot easily find a list of packages. Ranking packages would be awesome in providing a venue for browsing packages.
Justification
To facilitate discovering new software.
Example use case
https://caskroom.github.io/browse
then...
Select by category or by popularity.
click to install? Perhaps optional cask GUI app.

Homebrew-Cask is not a discoverability service


Replace browserify with webpack

TODO:

[x] Remove browserify (and related packages) and replace with webpack
[ ] Transform code with Babel (see https://github.com/survivejs/webpack/blob/dev/manuscript/building_with_webpack/04_processing_with_babel.md) @lee-anne-clarke
[ ] Integrate webpack with gulp (look at ) @j-baconator
[ ] Update configuration docs at https://github.com/istrategylabs/mo-static/tree/master/{{cookiecutter.repo_name}}#configuration to replace browserify with webpack (this might require changes to nconf as well, depending on differences with webpack) @marissa-halpert
[ ] Investigate bundling foundation javascript (see https://github.com/survivejs/webpack/blob/dev/manuscript/advanced_techniques/01_consuming_packages.md) @thomasdegry

I created a PR for the last one that you can find here!
Also I noticed during making it that file watching seems to be broken, anyone else noticing?

See https://github.com/istrategylabs/mo-static/pull/77 to follow along


Adding more dialog to existing dialog blocks breaks if a line break occurs

Note: for support questions, please use one of the following channels.
Reddit: /r/gbstudio
Discord: Join Chat
This repository's issues are reserved for feature requests and bug reports.

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.

Do you want to request a feature or report a bug?

Bug.

What is the current behavior?

If a dialog block already exists (and contains text), adding new text to the text box will break if a line break occurs. (Sorry for the terrible description of this behavior, so please watch the GIF:

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Add a dialog block to an element's script; add text to it.
Then place the cursor at the beginning of the text and start typing again.

What is the expected behavior?

Text would be entered as expected, but stop when max characters ran out.

What is the motivation / use case for changing the behavior?

This has wasted a lot of time during my development.

Please tell us about your environment:

Version: 1.0.0
Platform: macOS

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Just to clarify, is this happening in 1.0.0 or 1.1.0? Because the screenshot seems to be from 1.1.0

Apologies... 1.1.0, but since 1.0.0.


Python - Export to Pixel Kit

Is there anyway to export our Python code to the Pixel Kit instead of having to run it from our computer every time? If this is not possible with Python, can this be accomplished with the Javascript version? I saw #13 but didn't find it super clear.
Thanks in advance.

same question here. is this possible  at all ? @murilopolese

Hello there!! :B
Short answer: No.
With the official Kano firmware you’ll always be streaming data from your
computer to the PixelKit (ridiculous, I know). You can “save animations”
but you will be better off with the Kano App
https://kano.me/us/landing/app for that.
Long answer: Yes. Replace the Kano Firmware with either MicroPython
https://micropython.org/download/esp32/ or Espruino
https://www.espruino.com/Download firmwares and you’ll have either python
or javascript running on your PixelKit. This is probably the best thing you
can do. (I recommend MicroPython)
The PixelKit is an ESP32 board and the “neopixel” array is hooked on pin
4. This should be all the info you need to hack your way!
If you are completely lost, I recommend my other attempt to give PixelKit
some life beyond Kano App with Pixel32 firmware
https://murilopolese.github.io/kano-pixel-kit-pixel32-docs/. There is an
Instructable
https://www.instructables.com/id/Flashing-MicroPython-on-Kano-Pixel-Kit/
on how to replace and recover the firmware and a few simple tutorials
https://murilopolese.github.io/kano-pixel-kit-pixel32-docs/tutorials.
On Mon, 28 Sep 2020 at 22:10, Diego Casati<EMAIL_ADDRESS>wrote:

same question here. is this possible at all ? @murilopolese
https://github.com/murilopolese
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KanoComputing/community-sdk/issues/17#issuecomment-700282961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHJBYU2TBMER2MR3EXNJYTSID3TXANCNFSM4HPRUCBA
.


CI: Add commitlint bot to travis CI

Add a commitlint to the Travis CI. to check the commit message format
Fixes: #1057

@humblec can you please review this one, this helps to check the commit messages in CI

@Madhu-1 yeah, apart from the change requested by @nixpanic , it looks good to me.

@humblec PTAL

lgtm. thanks


401-Password Complexity Check Capability

Issue: 401
Adds password complexity checking that many organizations will require.  Details about the change and code changes are included in the relevant issue (401).

@pritchey Thank you for this awesome contribution. Ping me in the Mintplex Labs Discord for a contributor badge if you are in there!


Portal Loading Bug

A Large volume of entities going through portals in this case items experience and zombified piglins (extreme throughput) can cause portal loaders very far away from farm with high volume (3k+ blocks) to break. Minecart based loader (see kdenders piglin proof for reference) to fail to complete a cycle resulting in the minecarts getting stuck and the loaders no longer functioning. These loaders normally operate correctly for months at a time.
If there is any further info needed let me know.

I don't see why dimthread would ever cause this issue. I'll leave this up though in case anyone else runs into the same issue. But I'd bet the problem is somewhere else.

I had the same issue where chunk loaders break. This is amplified with a guardian farm and happens every few hours. With no load portal loaders can break too over a long time (weeks or longer). This does not happen when the mod is disabled.


How to use Package deloyer in MS CRM Build Tools

I am facing an error while I try to deploy a package that contains a solution and some web resources. The Package is created using the CRM package templates in Visual Studio. I am attaching the screenshot of the error that I get when I provide the (Packagename).dll to the MS CRM Build tools. The error statement says could not find the package or package not specified while i have clearly given the path to the (packagename.dll). Can someone please help me through.

The first screenshot shows the contents of the Artifact directory when build succeeds.
The second screenshot shows the parameters that i give to the MS CRM Package Deployer task
Can you please guide me through.
Thanks in Advance


HBASE-26850 Optimize the implementation of LRUCache in LRUDictionary

@Apache9 Mind take a look about this?

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 37s
master passed

+1 :green_heart:
compile
0m 35s
master passed

+1 :green_heart:
checkstyle
0m 17s
master passed

+1 :green_heart:
spotless
0m 43s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
0m 34s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 18s
the patch passed

+1 :green_heart:
compile
0m 34s
the patch passed

+1 :green_heart:
javac
0m 34s
the patch passed

+1 :green_heart:
checkstyle
0m 15s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
12m 17s
Patch does not cause any errors with Hadoop 3.2.4 3.3.4.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
0m 39s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 11s
The patch does not generate ASF License warnings.

31m 53s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5024/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5024

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 2da7927459e6 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 8ba56cccd3

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
79 (vs. ulimit of 30000)

modules
C: hbase-common U: hbase-common

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5024/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


NodeManagerStates folder

You have to remove the NodeManagerStates folder to get node-manager to restart

Darrens work will make this a lot better.  Maybe we do a push to get things switched to using it.


Navigation

User Story: Navigation
Priority: High
Size: Medium
Reasoning: Upon entering a website, the navigation is the first part that users interact with or look for to understand the general website design. It is necessary to have a header and footer established, organize the navigation structure, and a search functionality so users can easily find and access all content on the website.

Adjusted navigation bar title, styling and color also adjusted to have more unique flexibility and stand out more.


Re-define RMSE metric to take sqrt after sample averaging

The current definition of RMSE averages only spatially over the grid points, then takes the sqrt and averages these per-sample RMSEs for the final value. This choice of definition was made to be consistent with weatherbench(1 and 2). However, in the latest version of weatherbench 2 this has been changed, and the RMSE definition is to average over both spatial points and samples before taking the sqrt. Researching this a bit myself I agree that this is a better definition and the one I think we should use. It is additionally more suitable for future use in computations of Spread-Skill-Ratios.
This PR changes the implementation of the RMSE to match this new definition. Note that to achieve this we can not have RMSE as a metric along with others in metrics..py, but rather have to store MSE in validation and test steps to later average and take the square root.

@sadamov can you review this change? Will assign you as reviewer, but I had to invite you to the repository first.

I agree, this is the preferred way to calculate (R)MSE for consistency with other applications and flexibility after validation/test step to calculate additional metrics based on MSE.
Note that the discussion about optimal spread-skill metrics is decades old, but that is a topic for another time (e.g. here).
The implementation is sound, tested with the meps_example. Thanks @joeloskarsson :raised_hands:

Thanks for looking at it @sadamov. I'll merge now.


GROOVY-8567 Migrate Groovyc to picocli

GROOVY-8567 Migrate Groovyc to picocli
See comments in the JIRA ticket.

Closing this PR, replaced by  #703.


Support generating multiple videotracks and single audio from from a mp4 file using FFmpeg

Hello Luke @kixelated  , in context to the PR in moq-js , this PR holds the changes done to ./dev/pub to enable us to create 3 video renditions for a video file that could be ingested for a single namespace via moq-pub.
I have tried to optimize FFmpeg args to help us get the best of video quality and latency and also tried to make the config parameters in the script readable, at times occasionally I have observed video artefacts at higher video quality track. Since the context is the same I added the changes in ./dev/pub , please let me know if you would like me to keep this as a separate file like ./dev/pub_multi
Script usage scenarios:

Scenario 1:

Without any arguments, the legacy flow of 1 video and 1 audio will be executed

Scenario 2:

With argument "multi" ( eg: ./dev/pub multi ) , 3 video tracks and 1 audio track will be ingested into moq-pub
Default video quality parameters are:

1920x1080:6000K:60
1280x720:5000K:30
640x480:4000K:25

Scenario 3

With argument multi and video quality of the 3 tracks specified in arguments

./dev/pub multi 1920x1080:6000K:60 1280x720:5000K:30 360x480:4000K:25

With "multi" mode enabled, a realtime live video track stream will be simulated and the video will be watermarked/overlayed with real-time UTC clock from the server on the top left corner that can be visually compared with https://time.is/UTC to check real-time latency and the videoresolition-bitrate will be watermarked/overlayed at the bottom right corner to assist in visually identifying the track.
./dev/pub script had an "$@" as the last argument to moq-pub , which passes all the arguments to the script to moq-pub , had to remove it to incorporate the current implementation and legacy flow works without it, to my understanding moq-pub  usage is  moq-pub --name <NAME> <URL> , so we can safely remove "$@" . Kindly advise if I overlooked this.
Kindly review and let me know your thoughts and amendments to be done.

UT
https://github.com/user-attachments/assets/ce89ab8d-9235-4761-8a6d-457f928636e3

Oh wow sorry somehow I missed this PR. I'll take a look at it soon.

Feel free to reopen this against https://github.com/englishm/moq-rs if you'd like to continue tracking the MoQ working group draft specs.


Quick Documentation Fix for Sliver

Small fix in documentation for SliverChildListDelegate
#108619
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.

Hey @youssef-attia the flutter_plugins failure here is not internal, it is from flutter/plugins here on github. The failure does not have to do with your PR, but you will need to update you branch here with the latest from master for it to pass.


2024-10-17_01-34-56_master-next_aws-c-io

Automatically created.

Successfully created backport PR for kirkstone-next:

#10011

Successfully created backport PR for scarthgap-next:

#10012

Successfully created backport PR for styhead-next:

#10013


Welcome screen copy

@temas and @smurthas spent a bunch of time optimizing that, but it's not in there!

@temas, did you figure this out?

just realized this is a dupe of #372 - closing...


heap-buffer overflow in sparse.cpp

A heap-buffer overflow occurs in the below program when provided with malformed input.


Teammate Feedback Issue

Please go crazy and rip off my project and of course, criticize me!

The link in ur description does not work, it shows 404.

After doing some data wrangling, I used the K-means clustering algorithm for user segmentation and the PCA method to reduce the dimensionality of the interaction record for visualization purposes with Plotly.
There are some distinct clusters visible in the data:

🤓 Puller-Watchers: A group of users who tend to pull after watching changes (probably junior developers)
🩺 Reviewers - Creators: Another segment of users who had a high frequency of reviewing PRs and commits while creating PRs (most likely QA engineers)
🚀 Pushers - Releasers: Another segment of users who were dominantly pushing changes and creating releases (most likely integration and deployment teams)

📊 Next, I plotted their behavior pattern with a Sankey visualization which is usually used to show a flow from one set of values to another. Sankeys are best used to show a many-to-many mapping with multiple paths through a set of stages.
In a nutshell, a majority of users start their interaction by committing and pushing then flowing toward creating PRs and reviewing the other PRs.

Looks great! I have a few things to note:

When changing the number of steps/number of events per step, it appears I'm only affecting the last graph but all of the graphs reload. Not the biggest deal, but could be cleaner to have only the plot it is affecting reload.
Consider having tabs to show the different visualizations! Structuring it this way allows for multiple modifications in case you want to add more plots at a later date/maybe even an analysis tab. Also gives you more working room to add explanations to the plots.
Fantastic plots and work Nabi, well done!

I wonder what type of GitHub user I am! Very interesting project.
As for suggestions for improvement:

There is a lack of expiration on the app about what is going on. The plots themselves are very information dense and it would be beneficial to have some type of text available to aid the user in the interpretation of the plots.
I would echo @WilfHass comment regarding separate tabs for plots. I think having separate pages for the plots would speed up loading time and prevent the user from feeling an information overload.
Also - personally I think having the filters to the sides of the plots would look cleaner.


Compatibility with Modelica 4.0.0

Is the library compatible with Modelica 4.0.0? I get a warning when I load the library and there are errors when I want to run example simulations.

Hello, please add more informations. Which Modelica environment do you use? May be we should write an issue to this environment.
Today's version (https://github.com/MarekMatejak/Physiolibrary/commit/8bdde9daa11eac9a65f51705fb8f8de427992ecc) seems to be running well in Dymola 2023 using Modelica Standard Library 4.0.


deps: move PR description action from TS to just JS

There has been minimal value to TS, while bocking PRs that don't replace the dist/ folder.  I'd like to pull TS out and find a more appropriate place to practice with it.

Moving from TS to vanilla JS didn't lighten the workflows at all, since the new bottleneck becomes handling the node_modules folder.  A better move would be sticking with TS, but creating the dist folder automatically.  Replacement issue upcoming.


[BUG] VM won't start and shows as unschedulable

Describe the bug

When. you try to create a VM it won't schedule
To Reproduce
Steps to reproduce the behavior:

Add a raw image to the images
Create a VM from the image template
Try to start VM

Expected behavior

It should start
Support bundle

Environment:

Harvester ISO version: master-d25964a2-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Virtualized harvester cluster.

Additional context
I took a look at the backend with kubectl get virtualmachines -A and it said that the VMs were unschedulable. The host looked fine, and there were plenty of available resources.

seems the support bundle is not working now, can u please help to provide the info with kubectl describe those pods.

`Name:         test-ubuntu-image-1
Namespace:    default
Labels:       harvesterhci.io/creator=harvester
Annotations:  harvesterhci.io/volumeClaimTemplates:
[{"metadata":{"name":"test-ubuntu-image-1-rootdisk-fcheb","annotations":{"harvesterhci.io/imageId":"default/image-qnbff"}},"spec":{"access...
kubevirt.io/latest-observed-api-version: v1
kubevirt.io/storage-observed-api-version: v1alpha3
networks.harvesterhci.io/ips: []
API Version:  kubevirt.io/v1
Kind:         VirtualMachine
Metadata:
Creation Timestamp:  2021-08-30T17:48:17Z
Finalizers:
wrangler.cattle.io/VMController.UnsetOwnerOfPVCs
Generation:  3
Managed Fields:
API Version:  kubevirt.io/v1
Fields Type:  FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:harvesterhci.io/volumeClaimTemplates:
f:networks.harvesterhci.io/ips:
f:finalizers:
.:
v:"wrangler.cattle.io/VMController.UnsetOwnerOfPVCs":
f:labels:
.:
f:harvesterhci.io/creator:
f:spec:
.:
f:template:
.:
f:metadata:
.:
f:annotations:
f:creationTimestamp:
f:labels:
f:spec:
.:
f:domain:
.:
f:cpu:
.:
f:cores:
f:devices:
.:
f:disks:
f:interfaces:
f:machine:
.:
f:type:
f:resources:
.:
f:limits:
.:
f:cpu:
f:memory:
f:requests:
.:
f:cpu:
f:memory:
f:evictionStrategy:
f:hostname:
f:networks:
f:volumes:
Manager:      harvester
Operation:    Update
Time:         2021-08-30T17:48:17Z
API Version:  kubevirt.io/v1alpha3
Fields Type:  FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:kubevirt.io/latest-observed-api-version:
f:kubevirt.io/storage-observed-api-version:
f:spec:
f:running:
f:status:
.:
f:conditions:
f:created:
f:printableStatus:
f:volumeSnapshotStatuses:
Manager:         Go-http-client
Operation:       Update
Time:            2021-08-30T23:44:50Z
Resource Version:  198335
UID:               ea574fd6-bda5-44f0-9f16-1a4a0911e602
Spec:
Running:  true
Template:
Metadata:
Annotations:
harvesterhci.io/sshNames:  []
Creation Timestamp:
Labels:
harvesterhci.io/creator:  harvester
harvesterhci.io/vmName:   test-ubuntu-image-1
Spec:
Domain:
Cpu:
Cores:  1
Devices:
Disks:
Boot Order:  1
Disk:
Bus:  virtio
Name:   rootdisk
Disk:
Bus:  virtio
Name:   cloudinitdisk
Interfaces:
Masquerade:
Model:  virtio
Name:   default
Machine:
Type:  q35
Resources:
Limits:
Cpu:     1
Memory:  2Gi
Requests:
Cpu:          1
Memory:       2Gi
Eviction Strategy:  LiveMigrate
Hostname:           test-ubuntu-image-1
Networks:
Name:  default
Pod:
Volumes:
Name:  rootdisk
Persistent Volume Claim:
Claim Name:  test-ubuntu-image-1-rootdisk-fcheb
Cloud Init No Cloud:
User Data:  #cloud-config
password: password
chpasswd:
expire: false
sshpwauth: true
ssh_authorized_keys: []
    Name:  cloudinitdisk

Status:
Conditions:
Last Probe Time:       2021-08-30T23:44:50Z
Last Transition Time:  2021-08-30T23:44:50Z
Message:               Guest VM is not reported as running
Reason:                GuestNotRunning
Status:                False
Type:                  Ready
Created:                 true
Printable Status:        FailedUnschedulable
Volume Snapshot Statuses:
Enabled:  true
Name:     rootdisk
Enabled:  false
Name:     cloudinitdisk
Reason:   volume type has no StorageClass defined
Events:
Type    Reason            Age                  From                       Message

Normal  SuccessfulDelete  18m                  virtualmachine-controller  Stopped the virtual machine by deleting the virtual machine instance 6730ecea-f2e3-4745-bf03-4ad907fa96de
Normal  SuccessfulCreate  17m (x3 over 6h13m)  virtualmachine-controller  Started the virtual machine by creating the new virtual machine instance test-ubuntu-image-1
Name:         test-ubuntu-iso
Namespace:    default
Labels:       harvesterhci.io/creator=harvester
Annotations:  harvesterhci.io/volumeClaimTemplates:
[{"metadata":{"name":"test-ubuntu-iso-cdrom-disk-m75qy","annotations":{"harvesterhci.io/imageId":"default/image-klbml"}},"spec":{"accessMo...
kubevirt.io/latest-observed-api-version: v1
kubevirt.io/storage-observed-api-version: v1alpha3
networks.harvesterhci.io/ips: []
API Version:  kubevirt.io/v1
Kind:         VirtualMachine
Metadata:
Creation Timestamp:  2021-08-30T18:11:57Z
Finalizers:
wrangler.cattle.io/VMController.UnsetOwnerOfPVCs
Generation:  3
Managed Fields:
API Version:  kubevirt.io/v1
Fields Type:  FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:harvesterhci.io/volumeClaimTemplates:
f:networks.harvesterhci.io/ips:
f:finalizers:
.:
v:"wrangler.cattle.io/VMController.UnsetOwnerOfPVCs":
f:labels:
.:
f:harvesterhci.io/creator:
f:spec:
.:
f:template:
.:
f:metadata:
.:
f:annotations:
f:creationTimestamp:
f:labels:
f:spec:
.:
f:domain:
.:
f:cpu:
.:
f:cores:
f:devices:
.:
f:disks:
f:inputs:
f:interfaces:
f:machine:
.:
f:type:
f:resources:
.:
f:limits:
.:
f:cpu:
f:memory:
f:requests:
.:
f:cpu:
f:memory:
f:evictionStrategy:
f:hostname:
f:networks:
f:volumes:
Manager:      harvester
Operation:    Update
Time:         2021-08-30T18:11:57Z
API Version:  kubevirt.io/v1alpha3
Fields Type:  FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:kubevirt.io/latest-observed-api-version:
f:kubevirt.io/storage-observed-api-version:
f:spec:
f:running:
f:status:
.:
f:conditions:
f:created:
f:printableStatus:
f:volumeSnapshotStatuses:
Manager:         Go-http-client
Operation:       Update
Time:            2021-08-31T00:01:44Z
Resource Version:  207294
UID:               5ba0e27e-cd70-46f6-af07-f89c5068db75
Spec:
Running:  true
Template:
Metadata:
Annotations:
harvesterhci.io/sshNames:  []
Creation Timestamp:
Labels:
harvesterhci.io/creator:  harvester
harvesterhci.io/vmName:   test-ubuntu-iso
Spec:
Domain:
Cpu:
Cores:  2
Devices:
Disks:
Boot Order:  1
Cdrom:
Bus:       sata
Name:        cdrom-disk
Boot Order:  2
Disk:
Bus:  virtio
Name:   rootdisk
Cdrom:
Bus:  sata
Name:   virtio-container-disk
Inputs:
Bus:   usb
Name:  tablet
Type:  tablet
Interfaces:
Masquerade:
Model:  e1000
Name:   default
Machine:
Type:  q35
Resources:
Limits:
Cpu:     2
Memory:  4Gi
Requests:
Cpu:          2
Memory:       4Gi
Eviction Strategy:  LiveMigrate
Hostname:           test-ubuntu-iso
Networks:
Name:  default
Pod:
Volumes:
Name:  cdrom-disk
Persistent Volume Claim:
Claim Name:  test-ubuntu-iso-cdrom-disk-m75qy
Name:          rootdisk
Persistent Volume Claim:
Claim Name:  test-ubuntu-iso-rootdisk-q5kkb
Container Disk:
Image:  kubevirt/virtio-container-disk
Name:     virtio-container-disk
Status:
Conditions:
Last Probe Time:       2021-08-31T00:01:44Z
Last Transition Time:  2021-08-31T00:01:44Z
Message:               Guest VM is not reported as running
Reason:                GuestNotRunning
Status:                False
Type:                  Ready
Created:                 true
Printable Status:        FailedUnschedulable
Volume Snapshot Statuses:
Enabled:  true
Name:     cdrom-disk
Enabled:  true
Name:     rootdisk
Enabled:  false
Name:     virtio-container-disk
Reason:   volume type has no StorageClass defined
Events:
Type    Reason            Age                  From                       Message

Normal  SuccessfulDelete  18m                  virtualmachine-controller  Stopped the virtual machine by deleting the virtual machine instance d7ca652c-a440-434a-858a-11bdae3f49d3
Normal  SuccessfulCreate  32s (x2 over 5h50m)  virtualmachine-controller  Started the virtual machine by creating the new virtual machine instance test-ubuntu-iso
`

Some users have a similar situation because KVM is not on. It looks like the cluster is a virtualization cluster, is nested virtualization enabled?
A simple script to check KVM:
curl -sfL https://raw.githubusercontent.com/bannsec/altEnv/master/kvm-ok | sh -

The output of node capacity might be useful too:
kubectl get nodes -o json | jq '.items[].status.capacity'

@noahgildersleeve can't reproduce in our testing environment, can u please validate whether the nest virtualization is supported in your environment according to the above comments, thanks.

@guangbochen This seems to be resolved now. I'm closing after verifying with build master-c4584348-head


[chg] run.sh add -e to ash

We need to exit on error because end users find errors for us. I don't mind waiting after this coming release.

Does this option work also with bashio?
The Dockerfile in addon replaces the shebang here

Does this option work also with bashio? The Dockerfile in addon replaces the shebang here

AFAIK bashio imposes -e , right?  That's what I'm under impression or does it complain only on unbound variables? 🤔
Anyhow ... we merge after release 0.2.0.


Question about get debug messages on a browser window

Hello,
When i set $jaxon->setOption('core.debug.on', true); some times I get the messages on a new browser window, but another times, I get the Messages sequentially as alerts box.
I do not know why this happens. Is there any way to always force the browser window for debugging messages?
Thank you

I've never met this issue.
Does it happen at random?

In my web app debug messages show in browser window. But, in your example: HelloWorld, they show in alerts boxes.

This issue was moved to jaxon-php/jaxon-js#5


Add support for passing EXTRA_HELM_OPTS

Currently a user can set additional helm params via the
EXTRA_HELM_OPTS environment variable in order to tweak a value at make install time.
This does not work correctly when we run things from our utility
container, that is because that variable is never passed from the host
to the container.
According to man podman run if we simply pass -e EXTRA_HELM_OPTS to
the podman invocation: "If an environment variable is spec‐
ified without a value, Podman checks the host environment for a value
and set the variable only if it is set on the host"

Without setting EXTRA_HELM_OPTS:
unset EXTRA_HELM_OPTS; ./pattern.sh make install
make -f common/Makefile operator-deploy
make[1]: Entering directory '/home/michele/Engineering/cloud-patterns/multicloud-gitops'
Checking prerequisites:
Check for 'git helm oc ansible': OK
Check for python-kubernetes: OK
Check for kubernetes.core collection: OK
Checking repository:
https://github.com/mbaldessari/multicloud-gitops.git - branch main: Running inside a container: Skipping git ssh checks

oc get crds patterns.gitops.hybrid-cloud-patterns.io
echo 'Running helm:'
Running helm:
helm upgrade --install multicloud-gitops common/operator-install/ -f values-global.yaml --set main.git.repoURL=https://github.com/mbaldessari/multicloud-gitops.git --set main.git.revision=main

With EXTRA_HELM_OPTS set:
export EXTRA_HELM_OPTS="--set main.multiSourceConfig.enabled=true"; ./pattern.sh make install
make -f common/Makefile operator-deploy
make[1]: Entering directory '/home/michele/Engineering/cloud-patterns/multicloud-gitops'
Checking prerequisites:
Check for 'git helm oc ansible': OK
Check for python-kubernetes: OK
Check for kubernetes.core collection: OK
Checking repository:
https://github.com/mbaldessari/multicloud-gitops.git - branch main: Running inside a container: Skipping git ssh checks

oc get crds patterns.gitops.hybrid-cloud-patterns.io
echo 'Running helm:'
Running helm:
helm upgrade --install multicloud-gitops common/operator-install/ -f values-global.yaml --set main.git.repoURL=https://github.com/mbaldessari/multicloud-gitops.git --set main.git.revision=main --set main.multiSourceConfig.enabled=true

(Briefly added set -x to see the exact commands during testing)

/lgtm


payu run cannot find config.yaml

When a brand new experiment is created ~in a scratch location that is not the same as the project code used for the run, payu run does not add the appropriate storage flag which leads to~ for some reason payu run cannot open config.yaml:
payu: warning: Configuration file config.yaml not found!

and no work directory is created.
But if
payu setup && payu sweep

is run first then it works fine.

Almost certainly an issue with -l storage flags. Cannot reproduce. Closing.


Unable to use custom Jwt in realtime client out of the box

Describe the bug
I have flutter application and I'm using custom signed Jwt token:
        await Supabase.initialize(             url: Env.supabaseUrl,             anonKey: Env.supabaseAnonKey,             headers: {               'Authorization': 'Bearer $userCustomJwt',             });
Everything fine except realtime. It doesn't work without switching auth via:
Supabase.instance.client.realtime.setAuth(userCustomJwt); After that realtime start working fine.
I saw doc about it https://supabase.com/docs/guides/realtime/extensions/postgres-changes#custom-tokens  and also there is similar issue, but related to js https://github.com/orgs/supabase/discussions/13620 and js library allows user to create Supabase client with custom Realtime headers.
To Reproduce
Steps to reproduce the behavior:

Initialize Supabase
await Supabase.initialize(
url: Env.supabaseUrl,
anonKey: Env.supabaseAnonKey,
headers: {
'Authorization': 'Bearer $userCustomJwt',
});
Use any kind of stream for realtime. For example:
client      .from('test_table')      .stream(primaryKey: ['id'])      .order('created_at')      .map((maps) =>      maps.map((map) {        return TestMessage.fromMap(map: map);      }).toList())
You will notice that client will be able to retrieve rows first time, but it will not be able retrieve any new data without setting directly auth token for realtime client via Supabase.instance.client.realtime.setAuth(userCustomJwt);

Expected behavior
Supabase initialized with custom token and this custom jwt token used for all clients and for realtime client too

Hi @squallsama ,
Try this :
1 - Change your JWT Token claims with role, aud, and sub. 1.1 - Fill role and aud with the value "authenticated", even though you might not really use the authenticated role in your RLS policies.
2 - To use your own JWT with Realtime make sure to set the token after instantiating the Supabase client and before connecting to a Channel.
******

  await Supabase.initialize(
    url: 'xxxxxxxxxx',
    anonKey: 'xxxxxxxx',
  );

******

  @override
  void initState() {
    Supabase.instance.client.headers['Authorization'] = "Bearer $token";
    Supabase.instance.client.realtime.setAuth(token);
    _stream = Supabase.instance.client.from('your-table-here').stream(primaryKey: ['id']).order('created_at');
    super.initState();
  }

See : https://github.com/orgs/supabase/discussions/13620#discussioncomment-5599317
https://supabase.com/docs/guides/realtime/postgres-changes#custom-tokens
hope it helps

My token contains exactly these fields with exactly same values that you are mentioned.

And did you add these two lines before the call to the strem() method?
    Supabase.instance.client.headers['Authorization'] = "Bearer $token";
    Supabase.instance.client.realtime.setAuth(token);


整合sharding的时候，停止程序报错，和#395差不多

如：https://github.com/baomidou/dynamic-datasource-spring-boot-starter/issues/395
但是我这边是报了npe。
datasource的配置：
`@Configuration
public class DataSourceAutoConfiguration {
/**
* 分表数据源名称
*/
public static final String SHARDING_DATA_SOURCE_NAME = "sharding";
@Resource
private DynamicDataSourceProperties properties;
@Lazy
@Resource
private ShardingDataSource shardingDataSource;
@Bean
public DynamicDataSourceProvider dynamicDataSourceProvider() {
    return new AbstractDataSourceProvider() {
        @Override
        public Map<String, DataSource> loadDataSources() {
            Map<String, DataSource> dataSourceMap = new HashMap<>();
            dataSourceMap.put(SHARDING_DATA_SOURCE_NAME, shardingDataSource);
            Map<String, DataSource> shardingInnerDataSources = shardingDataSource.getDataSourceMap();
            dataSourceMap.putAll(shardingInnerDataSources);
            return dataSourceMap;
        }
    };
}

@Primary
@Bean
public DataSource dataSource() {
    DynamicRoutingDataSource dataSource = new DynamicRoutingDataSource();
    dataSource.setPrimary(properties.getPrimary());
    dataSource.setStrict(properties.getStrict());
    dataSource.setStrategy(properties.getStrategy());
    dataSource.setP6spy(properties.getP6spy());
    dataSource.setSeata(properties.getSeata());
    return dataSource;
}

}`
yml的配置：
spring:   datasource:     dynamic:       strict: true       hikari:         min-idle: 5         max-pool-size: 50         is-auto-commit: true         idle-timeout: 30000         max-lifetime: 300000         connection-timeout: 30000         connection-test-query: select 1       datasource:         master:           type: com.zaxxer.hikari.HikariDataSource           driver-class-name: com.mysql.cj.jdbc.Driver           pool-name: xxx-pool           username: root           password:           url: jdbc:mysql://localhost:3306/xxx?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&connectTimeout=5000&socketTimeout=60000         stock:           type: com.zaxxer.hikari.HikariDataSource           driver-class-name: com.mysql.cj.jdbc.Driver           pool-name: xxx-pool           username: root           password:           url: jdbc:mysql://localhost:3306/xxx?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&connectTimeout=5000&socketTimeout=60000   shardingsphere:     datasource:       names: ds-0       ds-0:         type: com.zaxxer.hikari.HikariDataSource         driver-class-name: com.mysql.cj.jdbc.Driver         jdbc-url: jdbc:mysql://localhost:3306/sharding_0?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&connectTimeout=5000&socketTimeout=60000         username: root         password:         min-idle: 5         max-pool-size: 50         is-auto-commit: true         idle-timeout: 30000         pool-name: ds-0-pool         max-lifetime: 300000         connection-timeout: 30000         connection-test-query: select 1     sharding:       tables:         tb_user:           actual-data-nodes: ds-0.tb_user_$->{0..1}           table-strategy:             standard:               sharding-column: user_id               precise-algorithm-class-name: xxx.TbShardingAlgorithmForLong     algorithm:       config:         - tableName: tb_user           shardingNumber: 2
Enviroment
JDK Version(required):
1.8
SpringBoot Version(required):
2.3.2
dynamic-datasource-spring-boot-starter Version(required):
3.5.0
sharding Version(optional):
4.1.1
Describe what happened
想知道 https://github.com/baomidou/dynamic-datasource-spring-boot-starter/issues/395 说是等发版，是已经解决了还是latest版本目前还没解决。
Expected Result:
Actual Result:
If there is an exception,or aop invalid,please attach the exception trace:
Just paste your stack trace here!

Steps to reproduce

Step 1

Step 2

Step 3

I think the problem with #395 is @Lazy. I don't have this problem with ShardingSphere 4.1.1 and 5.0.0 on my side.

I think the problem is that both you and another issue have added @Lazy to the data source of ShardingSphere, and lazy loading directly causes the exception to be thrown. I don't have this in ShardingSphere JDBC version 4.1.1 and version 5.0.0 problem.

boot版本问题，用Example复现，把boot换成2.3.x也会出现这个问题

I think the problem is that both you and another issue have added @Lazy to the data source of ShardingSphere, and lazy loading directly causes the exception to be thrown. I don't have this in ShardingSphere JDBC version 4.1.1 and version 5.0.0 problem.

boot版本问题，用Example复现，把boot换成2.3.x也会出现这个问题

I'm not sure what happened with the old version, but spring-boot 2.5.1-3.0.0-M1 works fine.

I can confirm that there are commonsense issues with the Current Dynamic Datasource and ShardingSphere JDBC 4.1.1 example, perhaps for compatibility with older versions, but some operations are not necessary.

I need to point out that Spring-Boot 2.3.x has ended its community support (2021-05-20), if you are limited to 2.3.x help, you should seek commercial support before 2022-08-20. Refer to https://spring.io/projects/spring-boot#support .

解决了吗？我的问题和这个一样。

我把shardingDataSource  这个@Lazy去掉正常了

解决了吗？我的问题和这个一样。

This problem does not exist in SpringBoot 2.5.1-3.0.0-M2, and there is no way to feed back to the Spring community for problems with specific releases that have been discontinued from the community.

Spring Boot Version: 2.5.7
@Lazy去掉才正常

Spring Boot Version: 2.5.7
@Lazy去掉才正常

You never need @Lazy. In fact, I don't understand why there is a specific version that requires this annotation, which means that users need to change the registration process of ShardingSphere.

Resolved at https://github.com/apache/shardingsphere/pull/17602 . Example Updated comments, refer to https://github.com/dynamic-datasource/dynamic-datasource-samples/commit/90109761751450a0fceaeb177c5c07e05c3b33f0 . I think this Issue can be closed.


How to make a PluginParameter unrequired

To my understanding building a PluginParameter like this
PluginParameter(
            name="version",
            label="Dataset Version",
            description="The version of the Dataset. If omitted, it is automatically set to YYYY.MM.DD. NOTE: This "
                        "can overwrite already published Datasets on the Databus!",
        ),

makes it not required, setting the parameter in the class to None. But this was not working in cmem-plugin-databus, since it still required a version.
Things that did not work:

setting the default_value to None
setting the default_value to ""
letting the default_value unassigned

So how to make it not required?

In order to make a parameter optional you would set the default_value. In your case, as this is a string, you would set something like default_value = "my default value". Could you elaborate how this didn't work? I tried it with another plugin and I could create an instance in the UI without setting a value for that parameter.
Instead of setting the default_value on PluginParameter you can also set it directly in the init method (e.g. def __init__(         self, version = "my default value"), which will automatically transfer this to the PluginParameter .

Issue seems resolved, thanks for the answer :)


Use src/ directory

Codecov Report

Merging #228 (586ec2c) into main (d90e3aa) will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main     #228   +/-   ##
=======================================
  Coverage   62.95%   62.95%
=======================================
  Files         109      109
  Lines        1061     1061
  Branches      183      183
=======================================
  Hits          668      668
  Misses        382      382
  Partials       11       11

Impacted Files
Coverage Δ

src/components/app/ActiveLivers/ActiveLivers.tsx
73.91% <ø> (ø)

src/components/app/ActiveLivers/index.ts
100.00% <ø> (ø)

src/components/app/Banner/Banner.tsx
0.00% <ø> (ø)

src/components/app/Banner/index.ts
0.00% <ø> (ø)

src/components/app/ChangeLog/ChangeLog.tsx
0.00% <0.00%> (ø)

src/components/app/ChangeLog/index.ts
0.00% <ø> (ø)

src/components/app/ChangeLog/v0.1.0.tsx
91.66% <ø> (ø)

src/components/app/Clock/Clock.tsx
100.00% <ø> (ø)

src/components/app/Clock/index.ts
100.00% <ø> (ø)

src/components/app/Event/Event.tsx
88.23% <ø> (ø)

... and 99 more

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 d90e3aa...24045d5. Read the comment docs.

Codecov Report

Merging #228 (586ec2c) into main (d90e3aa) will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main     #228   +/-   ##
=======================================
  Coverage   62.95%   62.95%
=======================================
  Files         109      109
  Lines        1061     1061
  Branches      183      183
=======================================
  Hits          668      668
  Misses        382      382
  Partials       11       11

Impacted Files
Coverage Δ

src/components/app/ActiveLivers/ActiveLivers.tsx
73.91% <ø> (ø)

src/components/app/ActiveLivers/index.ts
100.00% <ø> (ø)

src/components/app/Banner/Banner.tsx
0.00% <ø> (ø)

src/components/app/Banner/index.ts
0.00% <ø> (ø)

src/components/app/ChangeLog/ChangeLog.tsx
0.00% <0.00%> (ø)

src/components/app/ChangeLog/index.ts
0.00% <ø> (ø)

src/components/app/ChangeLog/v0.1.0.tsx
91.66% <ø> (ø)

src/components/app/Clock/Clock.tsx
100.00% <ø> (ø)

src/components/app/Clock/index.ts
100.00% <ø> (ø)

src/components/app/Event/Event.tsx
88.23% <ø> (ø)

... and 99 more

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 d90e3aa...24045d5. Read the comment docs.


Can't compile certain dependencies (cartopy, pyhdf)

It is quite common (and sometimes necessary) for some libraries to depend on other dependencies in their setup.py. Currently pip-compile can't handle those cases as those imports fail.
relevant upstream issues:
https://github.com/SciTools/cartopy/issues/1552
Environment Versions

all (tested on linux)
Python version: python 3.8.3
pip version:  pip 20.1.1
pip-tools version: 5.2.1

Steps to replicate

requirements.in with either cartopy or pyhdf in it, other lines optional)
run pip-compile

Expected result
success and requirements.txt is produced
Actual result
pip-compile exception due to exceptions raised in the dependencies package files

Hello @ingwinlu,
Thanks for the issue! Looks like there is no clear solution at the moment. Science libs (e.g., cartopy) require NumPy (and many more) at the setup time, so you have to satisfy those requirements before pip-compile being run.

I'll close this based on the above, but please let us know if it doesn't resolve your issue. Thanks!

I'll close this based on the above, but please let us know if it doesn't resolve your issue. Thanks!


Subquery Start/End Nodes

Adds two new ExecutionNode types , StartSubqueryNode and EndSubqueryNode. These will be used in a (yet to be introduced) optimizer rule that will replace every subquery node by a pair of SubqueryStartNode and SubqueryEndNode with the subquery in between.
This PR is part of the Subquery optimisation project, and does not yet effect any functional change, it is merely setting up infrastructure.

[x] Strictly new functionality (i.e. a new feature / new option, no need for porting)

[x] The behavior change can be verified via automatic tests

[x] There is a design document:

This PR adds tests that were used to verify all changes:

[x] Added new C++ Unit Tests (Either GoogleTest or Catch-Test)
[ ] Added new integration tests (i.e. in shell_server / shell_server_aql)

You claimed to add new C++ tests, I have not seen them in my Review, is this correct?

Blocked by single shard db. otherwise we are missing a feature to get Jenkins blue.
Please do not merge.

I removed the static assertions on the size of objects for the time being as we have nothing reliable to compare against.

Jenkins blue:
http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr-linux/8109/


wal: use path/filepath instead of path

Use the path/filepath package instead of the path package. The
path package assumes slash-separated paths, which doesn't work
on Windows. But path/filepath manipulates filename paths in a way
that's compatible across OSes.

Codecov Report

Merging #7515 into master will increase coverage by 0.04%.
The diff coverage is 90%.

@@            Coverage Diff            @@
##           master   #7515      +/-   ##
=========================================
+ Coverage   70.25%   70.3%   +0.04%
=========================================
  Files         320     320
  Lines       26203   26203
=========================================
+ Hits        18408   18421      +13
+ Misses       6338    6332       -6
+ Partials     1457    1450       -7

Impacted Files
Coverage Δ

wal/file_pipeline.go
75% <100%> (ø)
:white_check_mark:

wal/repair.go
48% <100%> (ø)
:white_check_mark:

wal/wal.go
61.81% <87.5%> (ø)
:white_check_mark:

auth/simple_token.go
86.84% <0%> (-7.9%)
:x:

mvcc/watcher.go
95.65% <0%> (-4.35%)
:x:

pkg/adt/interval_tree.go
78.71% <0%> (-3.72%)
:x:

pkg/testutil/recorder.go
66.66% <0%> (-3.71%)
:x:

pkg/netutil/netutil.go
77.94% <0%> (-2.95%)
:x:

clientv3/watch.go
89.63% <0%> (-2.85%)
:x:

clientv3/maintenance.go
67.6% <0%> (-2.82%)
:x:

... and 14 more

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 5856c8b...39c733e. Read the comment docs.

huh, it's managed to work on windows with path.Join but this is definitely the right thing to do. lgtm. Thanks!

Thanks for the quick merge! And it actually wasn't working for me on Windows (Windows 10, in a VM) until I made this change 😞

@tessr Do you mind adding Chain to our noticeable raft user list here: https://github.com/coreos/etcd/tree/master/raft#notable-users?

@xiang90 sure thing!


Unit tests on Android

Closes #208
ABI (x86) and API (16) are hard-coded, and it requires a rooted device or an emulator.
@emanuelez @alebsack @cmelchior @beeender

Unit test crashed (Segmentation fault) on Android API 10 x86 emulator (worked fine on API 23 emulator).
Is this a known limitation?
I think unit test should work on all emulators whose API level is 9 or newer.

ah, I didn't read the description of this PR...

@zaki50 I have a bit lazy :-( I need to enable PIE and API 9 doesn't support that. So next API level was 16 in R10e.

@kneth Many tests on linux is failing with following log.
Is this PR affecting tests on linux?
/home/jenkins/workspace/m_realm-object-store_PR-254-45TWLDZZSMAKN2SPZFYHLLQ6SSJ5YCOQUHCS2PHUBKMOI634FZLQ/tests/handover.cpp:56: FAILED:
	due to unexpected exception with message:
	  Unable to open a realm at path '/data/local/tmp/realm.0teWyy.management':
	  make_dir() failed: No such file or directory.

@zaki50 It seems you have REALM_ANDROID defined somewhere?

@beeender Not on my machine, on CI https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-object-store/detail/PR-254/2/pipeline/29

@beeender @zaki50 My mistake. @bdash pointed out what the issue is.


Extending the range of supported entity types to IMerchant

https://github.com/AHilyard/MerchantMarkers/blob/1.16.5/src/main/java/com/anthonyhilyard/merchantmarkers/render/Markers.java
At line 150: if (entity instanceof AbstractVillagerEntity)
If you detect IMerchant instead of AbstractVillagerEntity, this mod can support merchants from more mods. For example, the Goblin Merchant, whose goblin entity does not inherit AbstractVillagerEntity because it does not have Age, but goblin implements IMerchant.
In fact, after I modified this code with mixin, the whole mod worked quite well...

Well I would suggest that to the author of that mod. Using a Mixin to patch another mod is not a good practice.

oh sorry it's my fault...


Path/permission issues during installation.

After e75d9f459e3353e9a70faf1e791fa53241cc106e I see permission related failure when installing MorphIO. The steps to reproduce the issue are:
$ cmake -DCMAKE_INSTALL_PREFIX=build/install -DMorphIO_WERROR=Off -B build .
$ cmake --build build --parallel --target install
...
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/lucg/git/bbp/MorphIO/build/install/include
...
-- Installing: /home/lucg/git/bbp/MorphIO/build/install/lib/libmorphio.so
CMake Error at binds/python/cmake_install.cmake:60 (file):
  file cannot create directory: /usr/lib/python3.11/site-packages/morphio.
  Maybe need administrative privileges.
Call Stack (most recent call first):
  cmake_install.cmake:80 (include)

See https://github.com/BlueBrain/MorphIO/pull/473

Sorry, I haven't had time to look at this yet :(

I tried to replicate this, but I didn't have any luck. I used the quay.io/pypa/manylinux2014_x86_64 docker image (	CentOS 7 based), and installed used the above commands as a non-root user:
gmake[1]: Entering directory `/home/test/morphio/MorphIO/build'
gmake[1]: Nothing to be done for `preinstall'.
gmake[1]: Leaving directory `/home/test/morphio/MorphIO/build'
Install the project...
/opt/_internal/pipx/venvs/cmake/lib/python3.10/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
...[snip]...
-- Installing: /home/test/morphio/MorphIO/build/install/lib64/libmorphio.so.0.0.0
-- Set runtime path of "/home/test/morphio/MorphIO/build/install/lib64/libmorphio.so.0.0.0" to ""
-- Installing: /home/test/morphio/MorphIO/build/install/lib64/libmorphio.so

@1uc do you have more info on what system you were using, along w/ the environment (ie: was it a virtualenv or something?)

@mgeplf we fixed this a while ago:
https://github.com/BlueBrain/MorphIO/commit/bdccf36a3fdf5d3e447d577c84b8d9ac5584b212

Thanks.


Fixing the failing build

Resolves #200

Still failing, because a sub-dependency, brotli-size no longer supports node < 10.16.0

Wow, this is new. I try to fix tonight

@draconteus do you have any idea what could be causing the errors in the Travis? It's working on my local machine

For the first build, there is this line:
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">= 10.16.0". Got "8.16.2"
For the next builds, I'm not sure. I would start to check if:

local node version === travis node version
local npm version ===  travis npm version
local yarn version ===  travis yarn version
package-lockfile is generated with the correct npm
yarn.lock is generated with the correct yarn
there are no other package that does not support never version of node

I don't know what is happening wrong, the problem probably is in src/lozad.js line 22. Maybe @Ishaan28malik can help us

Yeah let me give it a try.

It's been fixed by @razi-ed reference https://github.com/ApoorvSaxena/lozad.js/pull/208/


Changelog updates for 7.57.0 release

What does this PR do?

Update the changelog for 7.57.0
Motivation

We plan to release this afternoon, I'll merge once released.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

nit: we seem to be using Add/Adds/Added inconsistently
We might want to chose one and stick to it (although I realize this comes from the various individual release notes and it's probably too late to fix this here)

Having a look and I'll open a PR targeting main for future releases, thanks!


SSL Error when using GitHub Actions and trying to download the NVD file.

Describe the bug
For one of our projects, we are getting a Received fatal alert: unrecognized_name error when trying to update the NVD metadata file on GitHub Actions.
Version of dependency-check used
The problem occurs using version 5.3.2 and 6.0.5 of the Gradle plugin
Log file
https://gist.github.com/tunderwood/9661f19a84cbd5a27e8dd667ef6ba0b8
To Reproduce
The issue does not impact all our projects so it's not incredibly reproducible. We simply run dependencyCheckAnalyse on an Ubuntu-Latest Github Actions runner and for some projects it fails and for others it does not
Expected behavior
The DependencyCheck Analyse task suceeds
Additional context
We use the Gradle plugin in several projects which are built on GitHub. They should all have identical configurations however one of our projects started failing around 12/20/20. We didn't make any code changes to the projects prior to the build failing (we have an automated weekly build that began failing). The dependency check analyzes task succeeds when run locally.
I don't know if this is an issue with the plugin or with GitHub Actions but I thought I'd see if there were ideas as to the root cause.  Thanks!

Interesting...  I've found one article that looks relevant on SO: https://stackoverflow.com/questions/55903477/received-handshake-warning-unrecognized-name
Any possible difference in the version of Java being used between the instances that succeed and the one that fails?

Interesting...  I've found one article that looks relevant on SO: https://stackoverflow.com/questions/55903477/received-handshake-warning-unrecognized-name
Any possible difference in the version of Java being used between the instances that succeed and the one that fails?

We found the issue. It turns out this specific project had the SNI extension set to false in gradle.properties. Removing that configuration fixed the problem.

We found the issue. It turns out this specific project had the SNI extension set to false in gradle.properties. Removing that configuration fixed the problem.


Maybe it'd be good to just merge this anyways, even though it's WIP it adds tests and gets us started on that road?

I fear these might need some changing with the ember update.


bash-completion2: broken brew symlink

Current "brew" symlink created in post_install is linked to the wrong location because "/usr/local/share/bash-completion" is also a symlink to a directory in the different depth. To understand this issue, cd into /usr/local/share/bash-completion/completions, then run "ls ../../.." and "cd ../../..". You will see the different result. "ls ../../.." will go three level above the realpath, and show you the content in /usr/local/Cellar/bash-completion2/2.1_2/. But result of "cd ../../.." is three level above PWD, which is /usr/local.

Closed via https://github.com/Homebrew/homebrew-versions/commit/71845e3280e37bb999ae6672e032d06fda49019e.


"Show results in a single/multiple tabs => single tab" works only for current tab, not for all new opened tabs (or already opened if the query will be re-executed) globally

Description
Is there any way to set it globally for all new tabs?
By the way, sometimes user may want it globally and sometimes the same user may want it for the certain tab only.
Ideally both options should be available somewhere in preferences.
https://github.com/user-attachments/assets/f935f1ae-183e-41ce-ad16-2ec66dd91f09
DBeaver Version
Community Edition <IP_ADDRESS>407250946
Operating System
Windows 10

Currently this setting is not supposed to be global. You can put it to the left toolbar and switch any time you need.

Thank you for request.


process is undefined error vite

This pull request addresses an issue with the Deepgram SDK when used in Vite environments.
Currently, the SDK relies on the process.versions.node property to determine the Node.js version. However, in Vite environments, the process object is not available, leading to errors.
The proposed fix is a check to verify the existence of the process object before accessing process.versions.node. If process is undefined, the NODE_VERSION constant defaults to "unknown".
This change ensures compatibility with Vite and other environments where the process object is not accessible.

I think it would be better to use vite-plugin-env-compatible rather than deliberately break something. Do you want to make a new PR? Or reset this back a few commits and redo it?
Something like this?
  plugins: [
    envCompatible({
      process: true, // This enables the `process` global
    }),
  ],
  define: {
    'process.versions.node': JSON.stringify(process.versions.node),
  }


Find GitHub hosted scripts that are updated by SVN

This post observes that support for SVN access to GitHub will be eliminated.  Since the gCLI command already traversed the local svn directory looking for "duplicates" I extended it to check for repositories were on GitHub.  (The installation protocol determines whether the local repository is under svn or git).
At this point the user action for such scripts is unclear but at least this indicates action will be needed.
I'm on the fence about whether I should print a partial path name instead of just the file name but since I don't have time to do that now...

Test failure is interesting.  Making Draft until I resolve it.

The tests are failing because I wasn't mocking everything the new code needed in a "SVN file system".   I'm going to investigate but hope that the disabled tests are not the sow stopper :-)

@midgleyc - I'm looking at GitManagerTest and if I understand it you are actually checking out a repository.  That isn't going to help me unless we want a test that requires SourceForge to be available.  Any ideas or suggestions?  Should I work harder on mocking a file system or is there some other approach I should switch to?  I also ran GitManagertest on Windows and it worked once.  Was it intermittent or should it be reenabled?

I'm looking at GitManagerTest and if I understand it you are actually checking out a repository.

Yes, I am actually checking out a repository. I think a test that requires SourceForge to be available is fine. The GitManagerTest does checkout some repositories using SVN (to test the dependencies feature).
The reason why I'm checking out an actual repository is to do with confidence. In my mind, the purpose of a test is to make you confident that the feature you've written works. If I mock responses, then either:

the code works
my responses are wrong in some way, and the code appears to work although it actually doesn't
and I don't really have any way of knowing which it is.

One thing I considered and would have liked to do was cloning a local repository, instead of an networked one. However, JGit returned an error when trying to clone a file:// repository. Whatever we use for SVN might work doing this?

I also ran GitManagertest on Windows and it worked once.

GitManagerTest fails intermittently on Windows when deleting repositories. The exact error conditions are:

Windows fails to remove a file in .git/pack/, saying that it's in use
Moving the file to %TMP% also fails because %TMP% is on a different network drive to Mafia
It's fine on Linux because Linux can remove files which are being used. %TMP% being on a different network drive appears to be true on GitHub CI.

[actual PR]

I think given that you've had to disable some tests (or will have to extensively change them), this command should be distinct from the existing command checking for duplicates. Additionally, checkrepo works on the file level, whereas a command checking for SVN repos installed from GitHub would be more useful if it worked from the repo level -- as in, it told you which repos were installed using SVN, instead of which files belong to repos installed using SVN.

Thanks.
My philosophy on testing is that a test must be deterministic and repeatable.  That certainly cannot be guaranteed if the test accesses resources not 100% controlled by the environment.   But I also recognize that attitude is rooted in an environment where most tests just tested a class (or "unit") and when a test on checked in code failed the CEO got an email.  So my first approach is not going to involve a real network call.  I do agree if the role of a test is to generate confidence and the test code infrastructure is more massive than the code being tested then avoiding the network brings no benefits.  At some point needing to "test the test" is not a good thing.
So I am going to close this once I know you have seen the response.
I am going to make a new command so that existing tests work unchanged.  I am going to defer automated testing of the new command because it is primarily a diagnostic (and not something that effects game state).  As a diagnostic it should be unnecessary after January 2024 since no new instances of SVN access to GitHub will be allowed or created.  Since there are tests in DebugDatabaseTest that are disabled because they access an external resource I will at least raise the question of whether they should be enabled.
Thank you.

I think a manual test is perfectly reasonable. I had GitManagerTest as an automated integration test because I didn't want to do a manual test every time I made a change.
I think the ideal version wouldn't involve a network call -- if you could clone a local repo that would be ideal (create it with JGit + appropriate files, clone it, delete it after the test). As that didn't work I think I'd be down to "docker container that serves a real git repo in a way JGit accepts". Once you have the testing infrastructure in place it's worth it but it can be a right slog to get to that point.

See #1582.


Fix a regression in SSL_export_keying_material

This reverts cbad0a61 which introduced a regression impacting Tor. This also fixes some issues in tls13_hkdf_expand() which impact the SSL_export_keying_material function for TLSv1.3. We add a test to check that we can use the maximum label length in TLSv1.3.
Fixes #7712

Fixup commit pushed addressing feedback.

CIs are green. Pushed to master and 1.1.1.

Is it known when this fix will go into an openssl release? It is causing Tor to break on several downstream operating systems.

We normally do releases on an "as needed" basis. This means either if a sufficiently serious security defect triggers it (moderate severity or above). If no security defect triggers a release then we typically do one anyway after 3-4 months from the previous release.

@mattcaswell and for regressions like this?

Well its not a security defect so it doesn't trigger a release itself. It will get rolled up in the next release whenever that ends up being. The last one was a little under 3 months ago, and we typically do one every 3-4 months so I would expect one "soon".


Cross jobs failing on Hydra

This is a meta-issue for tracking failing cross compilation jobs on Hydra. Please help us out and investigate causes and find potential solutions! We want to 18.09 to have great cross compilation support.

[ ] aarch64-musl.nixUnstable.x86_64-linux
[ ] android64.nix.x86_64-linux
[ ] android64.nixUnstable.x86_64-linux
[ ] bootstrapTools.i686-musl.bootstrapFiles.bootstrapTools
[ ] bootstrapTools.i686-musl.bootstrapFiles.busybox
[ ] bootstrapTools.i686-musl.build
[ ] bootstrapTools.i686-musl.coreutilsMinimal
[ ] bootstrapTools.i686-musl.dist
[ ] bootstrapTools.i686-musl.tarMinimal
[ ] crossMingw32.coreutils.x86_64-linux
[ ] crossMingw32.haskell.packages.ghc822.hello.x86_64-linux
[ ] crossMingw32.haskell.packages.ghcHEAD.hello.x86_64-linux
[ ] crossMingw32.libunistring.x86_64-linux
[ ] crossMingw32.windows.wxMSW.x86_64-linux
[ ] crossMingwW64.coreutils.x86_64-linux
[ ] crossMingwW64.haskell.packages.ghc822.hello.x86_64-linux
[ ] crossMingwW64.haskell.packages.ghcHEAD.hello.x86_64-linux
[ ] crossMingwW64.libunistring.x86_64-linux
[ ] crossMingwW64.windows.wxMSW.x86_64-linux
[ ] crossSheevaplugLinux.haskell.packages.ghc822.hello.x86_64-linux
[ ] crossSheevaplugLinux.haskell.packages.ghcHEAD.hello.x86_64-linux
[ ] crossSheevaplugLinux.nix.x86_64-linux
[ ] crossSheevaplugLinux.nixUnstable.x86_64-linux
[ ] ensureUnaffected.androidndk.x86_64-linux
[ ] fuloongminipc.haskell.packages.ghcHEAD.hello.x86_64-linux
[ ] fuloongminipc.nix.x86_64-linux
[ ] fuloongminipc.nixUnstable.x86_64-linux
[ ] rpi-musl.haskell.packages.ghcHEAD.hello.x86_64-linux
[ ] rpi-musl.nixUnstable.x86_64-linux
[ ] rpi.haskell.packages.ghcHEAD.hello.x86_64-linux
[ ] rpi.nixUnstable.x86_64-linux
[ ] x86_64-musl.haskell.packages.ghc822.hello.x86_64-linux
[ ] x86_64-musl.haskell.packages.ghcHEAD.hello.x86_64-linux

The file that lists these is pkgs/top-level/release-cross.nix

The nixUnstable fails on armv7l (muslpi) and aarch64:

same error building against glibc vs musl
I guess there's no support for fcontext (boost context asm bits) on these platforms? Or maybe there is but it fails to recognize our triples or something?
We may be able to build with BOOST_USE_UCONTEXT as a workaround, although that's known slower (and perhaps might have other implications, I'm not sure).  I don't know if there's a good way for these flags to be neatly propagated-- so downstream users automagically use the same flags used to build boost...?

update: for some reason the "toolset" argument isn't evaluating the way we expect it to-- it defaults to "if  then "clang" else  then "gcc-cross" else null", but it seems to be null anyway--in fact inserting a trace shows it doesn't get evaluated anyway?
Perhaps due to the way things are chained from the other files into generic.nix?
No idea what happens if we set "toolset=gcc-cross" as this looks like we intend to do, but seems like a good place to start investigating.... :)

ghc failures seem to be due to wanting to execute opt which doesn't work on cross since llvm is a propagatedBuildInput -- we'll need to plumb in the path to a build-native opt or so?

Also @Ericson2314 do you think we could add at least 1 cross compiled NixOS to release-cross.nix? It would add a little bit of cost but it is the ultimate test of whether our cross toolchain actually works.

Does anyone know what undefined reference to `__stack_chk_guard' means? Could this be related to "stackprotector" hardening? I wonder if that needs to be disabled for mingw.

Is stack protector broken with musl?

Is stack protector just broken in Musl?

@matthewbauer cross nixos sounds good.

@dtzWill I thought GHC used strict deps so Wich things wouldn't appear on the PATH.

On 32bit IIRC it's a mild SNAFU re:ssp -- solved slightly differently on different musl-based distributions, I forget the details. I've tried various approaches to addressing this in branches on my fork, but think was still testing what the best solution was. And since we dropped 32bit support in theory, I didn't finish looking into this.
You're only seeing it on i686 right?

GHC should work now -- ghc822 anyway, as of PR merged yesterday. :D

If we're looking to get all of these passing (great goal!) it may make sense to entirely disable the i686-musl bits for now.

I don't think we can (or should) cross compile coreutils with mingw. As far as I know only cygwin is supported by coreutils.

@angerman I was under the impression that it would work. At least mingw published binaries for it at one point:
https://sourceforge.net/projects/mingw/files/MSYS/Base/coreutils/

Note that those are some ancient version 5 (current coreutils is 8) packages. I haven’t tried them, but cross compiling coreutils with mingw right now results in:
configure: error: could not determine how to read list of mounted file systems

See also https://stackoverflow.com/a/8355683

Ok thanks for the info. I have removed coreutils mingw here but it is still in release-cross.nix so should probably be removed.
Does anyone know what the issue is with LLVM failures:
https://hydra.nixos.org/build/78560084
?

Those LLVMs shouldn't even be cross-specific.

Fixed the LLVM issue in f3fc04bfd2cc3889236d7b31e8555a319f0a74d5.

Closing for now. We’ve added a bunch of new jobs and fixed most of the original from this issue.


build.sh should perform a native compilation on Gradle samples

Currently compileWithGradle.sh just perform a gradle assemble which can be confusing.
Maybe we need to rationalize how we run buildpack builds for both Maven and Gradle.

I think the proper way to solve this issue would be to leverage https://github.com/oracle/graal/issues/3302.


Upgrade Gatsby to Support Node 16.x

@raghunath-r-a Can I take this

@Alucard17 Thanks for your interest in fixing in this. But this has been already addressed by this pull request: https://github.com/LoginRadius/engineering-portal/pull/792


Add test cases for get* and save* of SLAM Instance

Impacted tests(approved): new 16, update 0, delete 0
Unit test platform: Joule Board
Unit test result summary: pass 8, fail 8, block 0
Fail test cases due to #19 #20 #21 #22
Fixes #17

Can this be merged?

Yes, we supplied the UT result and filed bugs for failed test cases.
Code has passed jshint in local, and I'll merge this one.


Settings needs a new window to include plugins

The settings dialog should be updated to have a list of plugins on the left, as well as a general settings and a plus button to add additional plugins.

Done with f02a6b5


delete unused entrainment code

Thank you! Lets bring it back in once we have a global model!

bors r+

bors r+


Multiple disk with capacity based scheduling

Phase 2(https://github.com/rancher/longhorn/issues/47):

[x] Add multiple disks to Node CRD
[x] Update Node API for UI, user could add/remove/disable scheduling for the disk
[x] Update Node Controller to update disks status
[x] Unit test for Node Controller
[x] Update Replica Scheduler. Add multiple disks scheduling logic into scheduler.
[x] Unit test for replica scheduler
[x] Add integration test to longhorn-tests

integration test for Phase 2(https://github.com/rancher/longhorn-tests/pull/74)

@JacieChao I've added Conditions to volumeStatus, and make scheduled as one condition.
See this commit for details on how it works: https://github.com/rancher/longhorn-manager/commit/e9ba26bad604dcb9c492c4790a02adbe02f3aa49

LGTM. Will merge after longhorn-tests passed the review as well.

Merged, thanks.


SpoutCam not working in Mediapipe tox

Hi Torin and Dom, Thanks for all amazing tool. Making it easy for beginners to get started.
I have some problems while using webcam with SpoutCam. I selected 'webcam' in videofilein TOP, and selected 'SpoutCam' in the Mediapipe tox. Both of the resolutions are set to 1280 x 720. However, the Mediapipe window shows RGB noise.

When I use laptop cam and obs in Mediapipe tox, it is successful. Using the webcam, Mediapipe window have image but not working.

I also tried changing the port to 3002, but not working.

I found an interesting part: when I select 'SpoutCam' in Mediapipe tox, window shows RGB noise. However, when I open videofilein TOP and also select 'SpoutCam',  videofilein TOP shows the image.

These are the images that I tried loading http://localhost:9222/.
Select 'webcam' in Mediapipe tox

Select 'SpoutCam' in Mediapipe tox

TD Version：2022.33910, 2022.35280
MediaPipe TD Release：v0.2.2
System：Windows 11
If there's anything I haven't noticed or done wrong, please let me know! Thank you for your guidance!

Hi Yiwen, have you tried changing the byte size to 8-bit (fixed) rgba?
For me this was a solution.
also I didn’t realize before, but in the mediapipe.toe file that comes with the project Torin and Dom added a spoutout top. Of course disable this feed-out to use your own in the right spout channel name.

Hi jossevessies, I got it. I'll give it a try. Thank you very much!!

I have the same issue. Version I'm running is 2022.33910
I attempted to use MovieFileIn TOP to SyphonSpoutOut TOP and then to Mediapipe, but it seems like Mediapipe cannot receive the Spout Cam (although it works with VideoDeviceIn).
I'm not sure what went wrong...

Additionally, a big thank you to Torin and Dom for your amazing work and selfless sharing. I've been trying to integrate Mediapipe with for several months  TouchDesigner without success. Your help has been immensely valuable to me!

Hi @Truen224 sorry I missed your reply earlier. If you are still having issues, we have a new release that has many fixes and may solve your problem https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.3.1

Closing this one for now, please re-open if you have any other issues

I was facing a similar issue with Mediapipe only giving me a noisy SpoutCam output. Any changes made in TouchDesigner or by changing plugin versions (for both this plugin and Mediapipe) did not yield any success. I'm adding a comment here because I was eventually able to fix it and want to note it down, in case anyone else faces the same problem:
For diagnosing the issue, I recommend downloading the Spout2 files from the same GitHub profile as the SpoutCam Plugin. This adds some settings and diagnostics options when working with Spout. In my case, my laptop graphics proved to be the problem! When running diagnostics, checking for compatibility and looking at the running spout cam process (all possible through the SpoutPanel and SpoutSettings) it told me that the texture sharing was failing, thus resulting in the noise. After reading through the SpoutSettings and their explanations (not the SpoutCamSettings!), I made sure to put all processes involving spout (so sender & receiver) on the same graphics pipeline (by changing the .exe graphic settings in Windows, this is explained in SpoutSettings), since my laptop has both integrated CPU graphics, as well as a GPU.
This actually fixed my issue!
So for anyone that has a laptop, multiple GPUs or any other Spout issues in combination with this TouchDesigner plugin, I recommend downloading the rest of the Spout software and tinkering a bit.

@Ayeshmantha-Maduranga does this solve your issue at all?


Install jom automatically on windows

I love this suggestion.

Why should this be done? Ninja is much supperior. I prefer Ninja for Windows builds and do not need Jom at all.

Hi, @hasselmm ,

Why should this be done? Ninja is much supperior. I prefer Ninja for Windows builds and do not need Jom at all.

Would you like to add Ninja by opening a PR? GitHub won't add that tool. [^1]
[^1]: Add ninja · Issue #8348 · actions/runner-images https://github.com/actions/runner-images/issues/8348


examples/waifu2x: testcase

Adds testcase for the main code of the waifu2x vgg7 example. A "frozen" output of the tinygrad implementation is being used to test itself for now, but if a better reference can be found it should be used (in practice this would catch X/Y transpositions - the model isn't really complex enough for any other kind of error to sneak through)
Function to download and load a vgg7 pretrained model.
The image load/convert function will now strip off the alpha channel if found, resulting in less mysterious errors.
The zero-dimension-tensor created by .max() changed, so now that's handled properly.

Given that I don't have a good way to test the model with an independent implementation (the official implementation is Lua-Torch7-CUDA so not exactly easy to arrange even the creation of a test vector), feel free to close the PR if that is not acceptable.
Something that ought to be brought up:
Given as noted in #2082 this is a heavily outdated model (hence my problems finding other implementations to test against), it may indeed be better to simply remove the model. This especially applies since the training side of the example seems to possibly be more broken than when the code was originally committed (I had at that time at least been training some models, though they were not good models - current attempts immediately NaN-flood after a single step).

Neat, I like that it's clear from the two example pictures what this model does


Increasing kafka.js performance

Refactoring based on this: https://kafka.js.org/docs/consuming#a-name-concurrent-processing-a-partition-aware-concurrency

@helio-frota FYI, the way we prepared the beverage with the async/await syntax also introduced some performance penalties. That's why I switched it to.then.


Extra bond displayed

Dear all,
nglview user reported this issue but I think it's more about NGL. The pdb id is 3fgu (For unknown reason, I could not fetch the image from NGL webapp anymore).
Cheers
Hai

I couldn't reproduce it here when I just tried: http://nglviewer.org/ngl/ - were you trying with that one or a different URL?

3fgu

hi @fredludlow: originally I could not load the pdb file to NGL (may be because I use NGL in igcognito mode in chrome?) so I used nglview.  I guess nglview is using the older version of NGL.
Thank you.


[improvement] (before 1.13)Support set max bytes in each batch to avoid congestion

Problem Summary:
目前，dorisSink 刷入 batch 的时机依赖 "batchSize" 和 "batchIntervalMs"，一般情形下是能够符合预期的；但是当数据源流量或者单条消息数据量极大时，可能会造成单个 batch 的数据很大，进而会导致数据刷入 doris 时长时间阻塞影响实时性能，甚至请求 BE 超时无法正常写入的问题。
出于上述原因，提供依据 "maxBatchBytes" 刷 batch 到 doris 中，修改点：

类 DorisExecutionOptions: 增加一个可配置选项 maxBatchBytes
类 DorisDynamicOutputFormat: 估计当前 batch 的数据量 batchBytes 达到阈值 maxBatchBytes 时，刷入 doris。

Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (No Need)
Has document been added or modified: (No Need)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments

I will close #13 @bridgeDream

I will close #13 @bridgeDream
Ok, can you approval this pr for  branch before 1.13 @hf200012


Can't execute script via API

Hi!
I was unable to run the script through the API.
I did it according to your example.
On the router, I see that the counter is increasing, but nothing is working
{
    "command": [
        "/system/script/run",
        "=.id=*3"
    ]
}

The script works through the console :)

Hi, I just tested triggering script based on
 [{"id":"8e2678a6.f69328","type":"mikrotik","z":"589710b8.068a1","device":"","name":"","action":"9","command":"","command-type":"json","x":680,"y":300,"wires":[["bc37181f.696488"]]},{"id":"bc37181f.696488","type":"debug","z":"589710b8.068a1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":850,"y":300,"wires":[]},{"id":"aee77086.2d473","type":"change","z":"589710b8.068a1","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"command\":[\"/system/script/run\",\"=.id=script1\"]}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":300,"wires":[["8e2678a6.f69328","ef03c632.c297d8"]]},{"id":"c5467461.d3301","type":"inject","z":"589710b8.068a1","name":"","props":[{"p":"payload","v":"","vt":"date"},{"p":"topic","v":"","vt":"string"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":300,"y":300,"wires":[["aee77086.2d473"]]}]

and it works for me on CHR v6.49. Which device are you using and which version of OS?

@sanyafifa if you still have an issue please reopen.

and it works for me on CHR v6.49. Which device are you using and which version of OS?

Hi!!
HAP AC Lite CHR 7.1.1

I see that the counter is increasing, but nothing is working

:(
the problem hasn't changed