How to make no team mode? (Solo)

cells only eat 98% of the enemy cells. How?
Sorry for bad english..

Apologies, but can you please reword this? Thank you

@RasyiidWho Edit this line in Cell.js, remember it uses size not mass.

What did me mean?

I think he wanted to make it so when you eat a player, you only gain 98% of their mass.

can you explain more widely? im noob in js

ogarul have this feature

Can you make it in MultiOgar-Edited config?
https://github.com/AJS-development/Ogar-unlimited/blob/master/src/settings/config.ini#L77-L81

this.setSize(Math.sqrt(this._sizeSquared + prey._sizeSquared));

Sets the size of the cell to the square root of it's own squared size plus the prey's squared size
And no for performance reasons, onEat is called every single time an entity is consumed (this includes food, ejected mass, etc) so having the server get the config value from gameserver.ini every time would not be good.

can you make cell.js for me

Yeah OgarUL does have a massAbsorbedPercent config i believe

yes they do

._.


add tests for minimal node version (currently v20.9.0)

Beside testing against node version v20.x and v22.x we should also test against the minimal node version, currently v20.9.0.
This is for seeing changes in dependencies which needs higher node version as with the July-24-release, where we wrote node >=20 but shipped an eslint version which required node>=20.9.0.

my scripts are already at 20.9.0

my scripts are already at 20.9.0

yes, no change to last release, but I want to know when we have to change this number ...

i think that is good too.


Change C++ .h files into .hpp files for modernisation

The generally accepted assumptions are:

.h is the file extension for C header files
.hpp is the file extenstion for C++ header files

Currently all the C++ headers are marked as C header files. This makes it a little more confusing for tooling and people to understand how the code is intended to be used.
The LLVM style guide does use .h files (though doesn't say to use them) but they a comment with  -*- C++ -*- in at the top of every .h file for tooling, since we don't have said comments I recommend moving to .hpp files instead.
More information is provided by Jason Turner

I have sent an email as the CLA bot has requested but not yet received a reply. Though I have not seen it I expect it will be signed shortly.


SSH on WireOS

Hi, would like confirm if there is SSH on WireOS like OSKR? I am unable to SSH to vector after flashing. All things seems working but I am not able to SSH.
Did a nmap and only found port 443 listening on the vector. Help

My bot is a PROD bot. Does activating the Wire-Pod enable the SSH?

WireOS is a custom firmware for Vector. You can it only install on unlocked (OSKR) or development bots. As far as I know there is no SSH for locked (PROD) bots.

Skybird is correct, the OTA vector-epod-setup flashes on the bot is the escape pod OTA, and it does not have any special dev features enabled. You have to get OSKR or a dev-unlocked bot to be able to use SSH.


fix: panic when starting with dashboard v2

What's changed and what's your intention?
If you start risingwave playground from the command line with enable-dashboard-v2: true, it will panic and complain "environment variable not found". This PR fixes this.
Checklist
N/A
Refer to a related PR or issue link (optional)
None

That's weird. The env variable is configured in risedevtool/common.toml 🤣

That's weird. The env variable is configured in risedevtool/common.toml 🤣

Yes, there's no problem if starting with risedev p, but
run --bin risingwave -- playground

will fail.

That's weird. The env variable is configured in risedevtool/common.toml 🤣

Yes, there's no problem if starting with risedev p, but

cargo run --bin risingwave -- playground

will fail. Any better solution?

In this case, I think it's okay to get this PR merged.


feat(db): add description to metaschema fields

Summary
This allows for in-place documentation of fields.
If we agree to follow this more meticulously we could generate documentation from code.
Signed-off-by: Joshua Schmid<EMAIL_ADDRESS>

I'm going to increase the feature scope here to make this addition a bit more effective: A schema is invalid if there is no description field on every filed. We can relax that for unbundled plugins but for all bundled plugins and all core schemas, we should add the check.
That will increase the burden of this task but it will go a long way to document the API.
My concern with not doing so is that some fields will have a description field while others won't and narrowing that gap becomes a whack-a-mole problem for a long time.

A schema is invalid if there is no description field on every filed. We can relax that for unbundled plugins but for all bundled plugins and all core schemas, we should add the check.

This feels to me as hard to implement. If the goal is to have consistency, without breaking compatibility, can we instead add a "warning" level log message?
Additionally; can we run this by the GUI folks of Konnect? I would assume they would use this field for display in the GUI as well, but they might have other requirements. Maybe some validations for safety, or multiple fields; short-description + long-description for tooltip vs documentation purposes.
Not intended as scope creep, but more to check forward compatibility wrt future features we'd like.

Is this going anywhere?
I don't mind an incremental improvement to add the field and then slowly add descriptions.
@Kong/team-docs We would love to hear what you all think!

I think this is a very good addition. It would benefit the docs team if a schema was considered invalid without a description field. I'm happy to take on the burden of adding these descriptions to all bundled plugins and all core schemas if it helps add all the descriptions at once. @hbagdi

If the docs team can help us out here, @jschmid1 we should push this out as fast as possible.
Once the descriptions have been added, we need to add a test to fail CI whenever a field without a description is added in.

I have a branch here w/ the definitions that anyone can look at
https://github.com/Kong/kong/tree/add-descriptions

@Guaris nice work! Maybe you can create a PR against this branch to make it easier to review?
This however does raise some new questions;

what is the format? the descriptions added include markdown weblinks, see also my "additionally" comment here
should we limit the size? (I think we should)
guidelines on what is to go in the description? for example the word "optional" which is used a lot, but it is already implicit in the other metadata. Or for example number values in a range, the range is in the metadata, should the description repeat it?

@Guaris nice work! Maybe you can create a PR against this branch to make it easier to review?
This however does raise some new questions;

what is the format? the descriptions added include markdown weblinks, see also my "additionally" comment here
should we limit the size? (I think we should)
guidelines on what is to go in the description? for example the word "optional" which is used a lot, but it is already implicit in the other metadata. Or for example number values in a range, the range is in the metadata, should the description repeat it?

Hey I made a PR here: https://github.com/Kong/kong/pull/10706

should we limit the size? (I think we should)

What size would you suggest?

guidelines on what is to go in the description? for example the word "optional" which is used a lot, but it is already >implicit in the other metadata. Or for example number values in a range, the range is in the metadata, should the >description repeat it?

It depends on what the intended use of these descriptions is, but I do worry about scope creep here. My hope with my PR was to take care of the work of inserting the descriptions, and since we didn't have descriptions before I thought this would be a good foundation.

I highly recommend letting the documentation team take the lead on this effort. We may not have something perfect from the get-go and these details are relatively easy to change.
Only adding descriptions that are (in most cases) not longer than one sentence is a very good start. Avoiding markdown and weblinks is for the best at this point.
Thoughts from others?

I highly recommend letting the documentation team take the lead on this effort. We may not have something perfect from the get-go and these details are relatively easy to change. Only adding descriptions that are (in most cases) not longer than one sentence is a very good start. Avoiding markdown and weblinks is for the best at this point.
Thoughts from others?

+1 @Guaris already started here -> https://github.com/Kong/kong/pull/10706

What size would you suggest?

somewhere 1 to 4 kb? enough for a detailed description, but still protecting against abuse. Typically easier to relax a constrained like this in a later stage, than trying to restrict it later.

Avoiding markdown and weblinks is for the best at this point.

👍

closed in favor of #10765


Use docker in render.com

Try out using the Dockerfile for starting the render web service, to avoid divergence and breakage between docker and render.com

Works but about half as slow. We added a smoke test in the meantime


Disable leaking list of plugins

plugins.enumerable_names
By default (*), websites can get a list of plugins, their version & details via navigator.plugins.
You can set this option to an empty string, and websites will not see any Plugins:
PluginArray { length: 0 }

However, this does break some sites (e.g. Deezer) because they (wrongfully) use this API to test if a user has, for example, Flash installed. If you want to allow this, you can set the configuration to Shockwave Flash. That will only return details about the Flash plugin.
Details about a Plugin look like this:
Plugin { 0: MimeType, 1: MimeType, application/x-shockwave-flash: MimeType, application/futuresplash: MimeType, description: "Shockwave Flash 18.0 r0", filename: "Flash Player.plugin", version: "<IP_ADDRESS>", name: "Shockwave Flash", length: 2 }

See also: Panopticlick.

It would be great to get a list of plugins of 'the most generic' Firefox and use that instead of a blank value.

It would be great to get a list of plugins of 'the most generic' Firefox and use that instead of a blank value.

According to Panopticlick an undefined value for browser plugins ie. an empty value can be found in one per 10.69 browsers, which is a very good number to start with.

Great, apparently this option was recently disabled :/


Openshift infrastructure

@lnielsen @slint Thank you a lot for your comments. We decided to close this pr and whenever we integrate ils in cds-books to put the configuration there. I will update an issue regarding the elasticsearch configuration in openshift that we have in order to address your comments.


HTTP Requests

SO happy that cyw43439 functionality has been added to tinygo - great work.
I've been looking through the examples and I'm not seeing any functionality for http requests. I see the http server, but the power of http requests is also very important.
Thanks!

An example of an HTTP request would be much appreciated! Currently, I am trying to make a request with the net/http driver but getting a nil pointer dereference when calling http.Get or http.DefaultClient.Get even though dev.IsLinkUp is returning true.

I'm building a small game console with a leaderboard functionality that needs the ability to upload high scores to an external server and load them from the server too. Currently, I'm deciding on whether to program it with KalumaJS, which uses embedded javascript and has pico w support, but obviously has huge performance downsides, or tinygo, which doesn't have the most rounded wifi support with the pico w. I'm def leaning towards tinygo due to performance.
Thanks! Functionality would be appreciated.

Hey @soypat ,
First of all, thank you so much for creating this driver for the Raspberry Pi Pico W! It's exciting to see support for WiFi on this platform.
I've successfully set up the driver and managed to connect to the network, which is fantastic. However, I've run into an issue when attempting to use the net/http package provided by TinyGo. Specifically, I encounter a nil pointer dereference error during execution.
Here are some details about my setup and the issue:
TinyGo Version: 0.31.1
Code Snippet:
dev := cyw43439.NewPicoWDevice()
cfg := cyw43439.DefaultWifiConfig()
err := dev.Init(cfg)
if err != nil {
  panic(err)
}

err = dev.JoinWPA2(ssid, pass)

res, err := http.Get("http://example.com") // Line that is causing nil pointer dereference

I'm relatively new to TinyGo and not entirely sure if this is a compatibility issue between the driver and the net/http package or if I'm missing something in my setup. Any guidance or suggestions you could provide would be greatly appreciated.
Thank you for your time and for your contributions to the community!

We're still working on how to best integrate networking with MCUs into the Go standard library.
The way I'd suggest going about performing an HTTP request today would be with seqs/httpx for now which is still in Work-In-Progress phase. I've created a PR with the functionality here: https://github.com/soypat/cyw43439/pull/42. You are free to try it though keep in mind I'm still bug-hunting.

I'll try it out, thank you!

Also, worth noting I've developed a way to debug seqs in a linux environment, which would make it easier to see what's going on through wireshark and other tools.
See this curl command equivalent using seqs here:
https://github.com/soypat/netif/blob/main/cmd/gurl/gurl.go
To run you need to be sudo to give access to low level ethernet socket:
go build -o=gurl.bin ./cmd/gurl/  && sudo ./gurl.bin http://<IP_ADDRESS>:8080

Take not that if you wish to debug in vscode you'll need to run vscode as sudo. The instructions are in the README, but sum up a bit more than running:
sudo code --user-data-dir ~/.config/Code --no-sandbox .

Heya peeps! I've managed to get HTTP client working with a local connection. I've written some documentation present in the PR so that the purpose and scope of the example is clear to readers, will be reflected in https://github.com/soypat/cyw43439/issues/4. (See ./examples/http-client/README.md)
Please give it a try and let me know how it goes!

I'm not fluent in English, so I use a translator.
Can you also implement HTTPS requests?

I'm not fluent in English, so I use a translator.
Can you also implement HTTPS requests?

@womeya Hey there! About TLS/HTTPS, I think @scottfeldman could give you a much better response than me. My understanding is Scott's working on TLS support on the Go upstream side of things. Ideally it should be as simple as wrapping the TCPConn instance with the following code from the crypto/tls standard library package (more examples here and more docs here):
	secureConn := tls.Client(tcpConn, &tls.Config{
		Certificates: []tls.Certificate{cert},
	})
	err := secureConn.Handshake()
	if err != nil {
		panic("TLS handshake failed: " + err.Error())
	}

Those interested in TLS connection please create a new issue requesting an example of its usage, otherwise I'll be closing this issue within a week or so- As for the PR I'll merge it one of these days.

@womeya Hey there! About TLS/HTTPS, I think @scottfeldman could give you a much better response than me. My understanding is Scott is working on TLS support on the Go upstream side of things.

Hi, yes, I'm working on/off on porting the full "net" package from Go to TinyGo, including crypto/tls.  The current status I have them compiling cleanly using the drivers/examples/net examples.  I had to stub out the netdev calls to the wifi driver (for now).  Cool news is both "net" and "crypto/tls" are ported over unmodified.  The bad news is all the pain moves to "syscall".
But that makes sense right?  Because the network stack and drivers live in the OS kernel (pretending we have an OS), and the syscall interface is the porcelain interface between the kernel and apps.  So seqs would implement the syscall interfaces for networking.  (Discovering the syscalls necessary to support the drivers/examples/net examples was my next move, but I'm spotty on time).
I'm not sure how any of this helps the matter at hand of getting an HTTPS request dialed out.
The PR for TinyGo tracking the porting work is https://github.com/tinygo-org/tinygo/pull/4187
(For some reason it was closed by me 3 days ago by mistake; I git flubbed something).

I just wanted to call the telegram bot api, but I don't think I can do it myself.
I decided to change the architecture and call the bot api from an external server and then call pico's api.

Closing since solved in #42 !


Android app not receiving Branch link data

Hi,
The issue I am reporting may very well due to my inexperience with Branch.  If so, I apologize for it and appreciate it deeply if you could give me some pointer.
I have deployed an app into a Samsung Galaxy phone to test Branch.  The app created a link with custom data and the link is shared through Gmail to my colleague.
My colleague is able to click the link from a desktop computer, which opens the corresponding web version of the app, which sees the custom data and displays the content accordingly.
However, if I click on the same link from within the test Android phone, the Chrome browser would open first, which leads to the opening of the installed app.  However, the app doesn't seem to have received the custom data as the content is not shown accordingly.  This happens no matter if the app is running in the background or closed.
Thanks for your help,
Bill

Hello,
I have a feeling this issue may be related to https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/384#issuecomment-340621951 - which was a related to a problem with our underlying Android SDK. Can you try updating your Cordova Branch SDK to 2.6.16 to see if this fixes the problem?
Thanks,

Hi,
I have upgraded to 2.6.16.  However, it works as expected on clicking the Branch link for the first time right after installation of the new APK.  Subsequent clicking stops working.  Actually, every time the app is uninstalled, it would work right after re-installation, not anymore thereafter.
Thanks,
Bill

I saw that too with 2.4.9 and I was about to try to upgrade to 2.6.16 thinking that it'll fix it.

Same here with version 2.6.16 and Android 4.4 - no call to my listener

Hi,
The problem seems gone after upgrading Android platform to 6.3.0, used to be 6.2.3.  Will keep an eye for it a little longer and close the issue thereafter.
Thanks,
Bill

Hello hello,
I am glad you got it working! Unfortunately, I am unable to reproduce the error on my end. I will try downgrading the Android Platform to see if I can reproduce.

Thanks,


Add timestamp/custom information to conformance test logging

What would you like to be added:
Timestamp information to be able to correlate test results with other systems.
Why this is needed:
Conformance tests can take a long time to run, it would be nice to have a hint on where to look.
Initial Thought
The Go testing package defines the testing.TB (link) interface which is almost a drop-in replacement for *testing.T.  If users want to add custom logging headers, they can embed a *testing.T resource in a struct and implement the logging methods to satisfy the testing.TB interface.  Unfortunately, testing.TB does not contain the Run(string, func(*testing.T)) method which means that the conformance framework will need to work around this and provide access to the Run method.   One possible implementation for this is as follows:
// TestingWrapper allows users to wrap *testing.T with custom-formatted logging.
type TestingWrapper interface {
  GetT() *testing.T
}

// Run calls testing.T.Run on the underlying *testing.T
func Run(t testing.TB, name string, f func(*testing.T)) {
  switch tt := t.(type) {
  case *testing.T:
    tt.Run(name, f)
  case TestingWrapper:
    return tt.GetT().Run(name, f)
  }
  panic("t needs to implement TestingWrapper")
}

That should also work.  I wasn't sure how much people would push back against something that's not in the Go standard library so I suggested the testing.TB, but if defining our own interface isn't controversial, that seems a lot simpler.

If there's no objection, I can implement the suggestion @howardjohn put out there.  Thoughts?

After working on this a bit, Tester's Run(name string, f func(t *testing.T)) method can't take a *testing.T since we've swapped *testing.T with Tester.


Remove to-be deprecated classes from flex-video example

"flex-video" classes will be deprecated in favour of the "responsive-embed" class. Also -- there is no longer any Vimeo-specific class within F6. Something like the proposed would be a more future-proof starting point for responsive videos.

👍


Update header pattern to follow BEM-style class naming.

Changes

Update class naming on header pattern to be consistent with naming elsewhere. Last one!

References #438. Going to hold off on the rest of the changes in that PR until later.
For review: @DoSomething/front-end

:+1:


refactor: refactor import { type foo } to import type { foo }

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[x] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
import type { foo } and import { type foo } were mixed, so I refactored it to import type { foo }.

related: https://nuxt.com/blog/v3-8#type-import-changes

Note
Refactoring after the official release is hard, so I fixed it first.

Thanks! Ideally, the nuxt eslint rules would cover this.

Thanks! Ideally, the nuxt eslint rules would cover this.

I feel the same way.
Nuxt ESLint has rules set, so the problem may be with the typescript-eslint rules themselves.
(Can it not be detected in a case like this?🤔)

Nuxt ESLint: rules
setting rules: https://typescript-eslint.io/rules/consistent-type-imports/

I'll also look into the rules of typescript-eslint when I have time.


change size of checkbox

Hello,
how can i change the size of checkbox?

i just edited the style i add !important


Unimplemented modern OpenGL SPIR-V-related bindings and enums

Hello,
I am looking to implement a tiny cross API (DirectX12, Vulkan, OpenGL) game engine and was looking forward to implement a uniform shader language between the three to ease on shader language complexity. However to my surprise the binding for glSpecializeShader has not been implemented in the gl-rs crate. Furthermore, the enums related to OpenGL SPIR-V (GL_ARB_gl_spirv) are not present as well, making it impossible to implement SPIR-V caching and binary loading without referring to an external crate (i.e. gl46), making it messy and undesirable, especially considering that these are but a small fraction of what is already written in the crate.
I would personally add them, but it wouldn't be logical for me to manually edit the crate's contents if I am targetting compatibility and thus breaking it by making one local build have the missing piece and having to manually modify the crate for every platform pulling from my project.
Let me know if you need clarification, and thanks again for the other OpenGL bindings!

I also was trying to use SPIR-V but I couldn't find the glSpecializeShader function either, even when glShaderBinary is present, now I have to go looking for another crate just to compile the shaders.
Sadly I think this will not be solved, after looking around it seems like this crate is dead and not being updated.


Mattermost Instances table stuck on loading

Description
Devnet, b43ea4c.

Twin ID : 162.
Can't get any of the deployment details (node or farm ID).

The loading deployment stuck forever, giving me this error on the console.

At least there should be a warning to the user to reload or notify him that there is an issue.
Steps to reproduce

Navigate to the Dashboard.
Connect your wallet.
Deploy some instance of the mattermost.
List the deployment in the mattermost.

should be flagged as alpha here https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2021

Couldn't reproduce. Will move to verification.

I was able to see the error in the console but the error was handled as seen below.

version : 385928e
network : devnet
verified listing mattermost deployments now working fine

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=422332#case_4150343

Verified:

Devnet
d2d2622

mattermost marked as alpha


example using inferno v1.0.*

inferno is rapid and compatible with next.js, would be good to have an example.

You're 🔥 @aranajhonny


Release 1.4.6

docket of user-facing issues fixed:

chroot perm preservation #536
setuptools: expand supported range #541
setuptools: do not shadow user supplied setuptools #437
-c does not work for multiplatform pexes #537

Can we get this released sooner rather than later?
This update is becoming really important: https://github.com/pantsbuild/pex/blob/master/pex/version.py#L8
Build tooling that relies on pex is encountering more and more issues with packages that declare conditional dependencies in install_requires instead of extras_require. For example, https://github.com/mcmtroffaes/pathlib2/issues/46
There are others: cryptography, importlib_resources, ...
The new release would really help.

+1

Thanks for the feedback on current pain - I did not know! I'll expedite this with a release by tomorrow morning.

Thank you!

1.4.6 is released:

https://github.com/pantsbuild/pex/releases/tag/v1.4.6
https://pypi.org/project/pex/#files

Thank you! Much appreciated!


What are projector and bolt used for?

https://github.com/skatejs/skatejs/blob/57a6dbb11094effcf0a1e708665830e5cf518ce2/package.json#L116
I see that prepare script runs bold build. After looking at bolt, I see that without the bolt ws command, it just runs in the root, which is effectively the same as yarn build if I understand. And in the projector.js I don't see anything special besides getWorkspaces for getting the path to each sub-package.
So, I'm wondering,

what is projector for? Because I see there's nothing about the projector.js file that seems like I'd need projector to run. In other words, what goal does projector accomplish by just running the file directly?
If not using any feature of bolt other than getWorkspaces (and bolt build which if I understand correctly can be just yarn build), would just using Lerna be simpler and easier?

Have I missed a feature of bolt or projector that maybe isn't obvious?

Oh, about Projector, I see, it's just a task runner, where the name of the task is the name of an export, and that export should be a function. Somewhat of like a Gulp alternative, but more general purpose and without all the tools?

Yep! Much simpler and async friendly out of the box.

Still don't see the utility that Bolt offers though.

Bolt wraps Yarn, but provides a fantastic monorepo workflow. It's responsible for linking and managing dependency versions across the monorepo packages. That's why it's required for dev.


Text should spill to adjacent files in they are empty

In Excel along text in a file spills to the cell to the right if it is empty

I've never really liked this behavior in Excel. I'd prefer text to wrap by default if anything.

I've never really liked this behavior in Excel. I'd prefer text to wrap by default if anything.

Hmm, interesting. I will think about this. Maybe we can make it an option?
In general IronCalc philosophy is to follow Excel's lead. Has pros and cons. One of the pros is that there is way less thinking to be done :). Another more serious one is that we meet people's expectations

I will second @jaycarlton , but I can also see why re-creating Excel's behavior might be important. Making it a setting option seems to be the best compromise.


highline 1.6.9 ArrayIndexOutOfBounds Exception

getting this error when I am trying to do a bundle install
Java::JavaLang::ArrayIndexOutOfBoundsException: An error occured while installing highline (1.6.9), and Bundler cannot continue.
Make sure that gem install highline -v '1.6.9' succeeds before bundling.
Would appreciate your help.
Prasad

What does this have to do with ffi-ncurses? Have you raised the issue with the highline maintainers?


Restore minimal-gpu notebook as JH notebook

Restores the minimal-gpu notebook as a user selectable notebook and add
"CUDA Version" as an annotation for PyTorch and Tensorflow notebooks
NOTE: This change to CUDA only affects the base nvidia/cuda base image version.  The minimal, pytorch and tensorflow images will use the same package versions and source files.
Test Steps:

Confirm that the CUDA notebook is visible in the spawner, all cuda notebooks display the Cuda version and you can select 0 or more gpus
Spawn a cuda notebook with gpu > 0
Run nvidia-smi from the notebook pod or in a notebook !nvidia-smi and see that a GPU is available

You can check the notebook library can access the gpu via:
TensorFlow:
import tensorflow as tf
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))

PyTorch:
import torch
torch.cuda.is_available() # True

Jira: RHODS-2315
Signed-off-by: Landon LaSmith<EMAIL_ADDRESS>
[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] For commits that came from upstream, [UPSTREAM] has been prepended to the commit message
[x] JIRA link(s): https://issues.redhat.com/browse/RHODS-2315
[ ] The Jira story is acked
[x] An entry has been added to the latest build document in Build Announcements Folder.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious)

/test image=rhods-operator-live-catalog:1.7.0-rhods-2909;testarg=--testcase tests/Tests/500__jupyterhub/minimal-tensorflow-test.robot


Custom usernames using Fakename mod have "§r" behind each name

In the Discord channel, every user with a custom username (set with the Fakename mod) has a "§r" symbol behind their names.
Not sure if this is something that could be fixed within MC2Discord. Sadly, the mod author does not currently have time to fix errors occuring in his mod.

Will look into that. Thanks for reporting.

Should be fixed in 3.0.7
If not please reopen this issue
Denis


Doc on How to Add Objects

My first pass at this doc.
I'm not sure where exactly this should go -- let me know if you have a suggestion.
Step 3 was taken from our README here, so I'll replace that section with a link to this doc instead.
I'm not sure if we should keep the Troubleshooting section, given what Victoria said this morning about contacting our team.

I think this markdown file should go in the machine_common_sense folder along with DEV.md. We can link/reference from the project README


Error load Image URL fromFile

The file exist in function fromFile dont work with  Relative URL if comment the condition file_exists working perfect.
/*
    if(!file_exists($file)) {
      throw new \Exception("File not found: $file", self::ERR_FILE_NOT_FOUND);
    }
*/

Relative paths or URLs? Can you post an example?

$file="https://s-media-cache-ak0.pinimg.com/originals/cf/28/85/cf28858a4c2c511dba8bcd04980cff5a.jpg";
$img = new \claviska\SimpleImage($file);

Fatal error: Uncaught Exception: File not found: https://s-media-cache-ak0.pinimg.com/originals/cf/28/85/cf28858a4c2c511dba8bcd04980cff5a.jpg in /vendor/abeautifulsite/simpleimage/src/claviska/SimpleImage.php:116 Stack trace: #0 /vendor/abeautifulsite/simpleimage/src/claviska/SimpleImage.php(57): claviska\SimpleImage->fromFile('https://s-media...') #1 /library/cms39_media.php(636): claviska\SimpleImage->__construct('http://www2.dom...') #2 /library/cms39_media.php(121): resizePhoto(Array) #3 /public/themes/shop/functions.php(246): processImage('2016/11/g3140-1...', Array) #4 /public/plugins/cms39_blog/cms39_blog.plugin.php(205): theme_data('467', Array) #5 /public/themes/shop/functions.php(334): BlogPosts('shopping', Array) #6 / in /vendor/abeautifulsite/simpleimage/src/claviska/SimpleImage.php on line 116

I think the  file_exist statement is  better to used by user and not from library.

The problem is that some URL wrappers don't support stat() and therefore file_exists(), so it fails for those wrappers.
Simply removing the check does make it work when the resource exists and is a valid image. If not, the proceeding call to getimagesize() will fail and generate a nasty warning.
I submitted a patch that uses fopen() to test for readability (and thus existence) that will work with all wrappers, including the local filesystem.
Developer note: I'm suppressing the potential fopen() warning with @ per the manual. I prefer not using @, but the function doesn't provide a way to opt out of the warning and set_error_handler() is too verbose for particular application.


[CCI] Remove OuiLoadingElastic and OuiLoadingKibana components

Description
Removed unused OuiLoadingElastic and OuiLoadingKibana components.
Issues Resolved
~~https://github.com/opensearch-project/oui/issues/604~~
https://github.com/opensearch-project/oui/issues/266
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[x] All tests pass

[x] yarn lint
[x] yarn test-unit

[x] Commits are signed per the DCO using --signoff

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

Closing this PR. Check linked issue for details.

Hello @ashwin-pc, in the issue we have "Remove the component (merged into main)" checkbox. I understand that we don't need to merge this PR now, as we have to do it in version 2.0. Could you please suggest when this PR will become required?


Valid certificate still goes in error call back on android 4.4.2

If I run my app with valid sha1 fingerprint on android version 4.4.2 it still goes in the error call back. For android version above 4.4.2 it goes in success callback. Please assist.

I am facing the same issue with Kitkat 4.4.2.
It gives following error:
CONNECTION_FAILED Details: SSL handshake aborted: ssl=0x646455e0: I/O error during system call; Connection reset by peer.
It works fine above kitkat.
Kindly suggest / do the needful.


getGrenacheReqWithIp improvements

When writing a server where some arguments come from the server itself (e.g. a config file), getGrenacheReqWithIp requires monkey patching the request object.
Example from moonbeam:
  _getAuthToken (req, user, cb) {
    const service = 'rest:core:user'
    const request = getGrenacheReqWithIp('getAuthToken', service)

    req.body.user = user
    request(req, {
      json: (data) => {
        if (!data.success) {
          if (data.message.startsWith('connect ECONNREFUSED') ||
            data.message.startsWith('ERR_GRAPE_LOOKUP_EMPTY')) {
            log(data)
            return cb(new Error('ERR_AUTH_BACKEND'))
          }

          return cb(new Error('ERR_AUTH'))
        }

        cb(null, data.data)
      }
    })
  }

Possible solutions:

allow optional arguments as parameter for getGrenacheReqWithIp
add another method which does not interact with the request object

I'd vote for moving from request / response usage here completely. So getGrenacheReqWithIp and other similar methods accept certain params they need and return a promise / call a callback with results. The user of the getGrenacheReqWithIp is responsible to obtain parameters from request and pass to function and use response with results in a certain way.


plugins/completion/copilot: Package ‘nodejs-16.20.0’ is marked as insecure, refusing to evaluate

Plugin affected: copilot
Nixpkgs channel: unstable
Home-manager version: master
Description
nodejs-16 was recently marked as insecure in nixpkgs-unstable. I was not able to pinpoint where and when that happened, but it was fine ~2 weeks ago
Config
Probably not needed? I have plugins.copilot.enable = true and that's pretty much it
error: Package ‘nodejs-16.20.0’ in /nix/store/5ra5hcd4k79sd9b7qrfk3qy1qjf1p34f-source/pkgs/development/web/nodejs/v16.nix:13 is marked as insecure, refusing to evaluate.

I found nodejs-16 is referenced here https://github.com/pta2002/nixvim/blob/246f811084886285696a96cdfc45f416af633449/plugins/completion/copilot.nix#L37
copilot.vim isn't explicit about what versions of nodejs are supported other than it must be 16 or greater

Indeed, nodejs-16 is now EOL and thus has been marked as broken by nixpkgs maintainers.
To dismiss this warning, you could add the following to your NixOS config:
  nixpkgs.config.permittedInsecurePackages = [
    "nodejs-16.20.0"
  ];

I'll close this since it's really an upstream Nixpkgs issue, not really a Nixvim issue

@pta2002 I disagree this is a nixpkgs issue but perhaps my knowledge of nix/nixpkgs is too limited to see what you mean?
nixvim references nodejs-16_x which is EOL and has been marked as insecure in nixpkgs (not broken)
Please consider the PR I just opened or let me know what you think must be fixed in nixpkgs?

Yeah, it was my bad, it's merged now :)


Buffering telemetry shouldn't be fired for live videos

@VerizonAdPlatforms/video-partner-sdk-developers: Please review.

@VladyslavAnokhin RFR


Keyremapping prompt customizations

This update allows users to toggle the prompt text of the Key Remapping plugin between "Press Enter to Chat..." and "*". It also lets the user change the color of this prompt text, which currently is black on opaque chat boxes or white on transparent ones.
This was created based on a user request from this Reddit comment. The user mentioned that when he first suggested the idea, he got pushback because users might get confused if they completely hide the prompt text and later can't remember why they can't type. Because of this, I simply made it a toggle instead of a free form text field or a checkbox to hide it entirely. This was years ago, so if we aren't as concerned with that anymore, I can change it to a text field.
This is my first update for RuneLite so please let me know if I should change anything!

Closing since this will be created as a pluginhub plugin instead.


undefined symbol: _max_hart_id building examples

Hello. Thanks for the create!
I'm trying to build the red-pill-lights.rs example and it fails with:
C:\lnano\rust-sipeed-longan-nano>cargo build
   Compiling rust-sipeed-longan-nano v0.1.0 (C:\lnano\rust-sipeed-longan-nano)
error: linking with `rust-lld` failed: exit code: 1
  |
  = note: "rust-lld" "-flavor" "gnu" "-L" "C:\\Users\\Ant\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\riscv32
imac-unknown-none-elf\\lib" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longa
n_nano-617646e91d3367f2.114wvbsmrijg5qf2.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\de
ps\\rust_sipeed_longan_nano-617646e91d3367f2.13z4agnaycgjo4ei.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknow
n-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.1mtyvdk1x8799efk.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\targe
t\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.21hsjmjrx0uegq4t.rcgu.o" "C:\\lnano\\rust-sipe
ed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.2c54n2n14ka8d2pp.rcgu.o"
"C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.3kqz
dzsdggs2cajg.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-
617646e91d3367f2.3os1wso41lf3ahjb.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rus
t_sipeed_longan_nano-617646e91d3367f2.3sak5o4jv51o03fa.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-
elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.3xg79rescwlxrgsw.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\risc
v32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.4aydifjixnlhgo4k.rcgu.o" "C:\\lnano\\rust-sipeed-long
an-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.4utub3ih92ivewn1.rcgu.o" "C:\\ln
ano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e91d3367f2.51h9patv7u9
vvhvv.rcgu.o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_sipeed_longan_nano-617646e
91d3367f2.5d3cmzwpp5fwjogt.rcgu.o" "-o" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\rust_
sipeed_longan_nano-617646e91d3367f2" "--gc-sections" "-L" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\
debug\\deps" "-L" "C:\\lnano\\rust-sipeed-longan-nano\\target\\debug\\deps" "-L" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32
imac-unknown-none-elf\\debug\\build\\riscv-6ec733f2da02301a\\out" "-L" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unkno
wn-none-elf\\debug\\build\\riscv-rt-c19718e5f4f0d573\\out" "-L" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none
-elf\\debug\\build\\riscv-rt-c19718e5f4f0d573\\out" "-L" "C:\\Users\\Ant\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\r
ustlib\\riscv32imac-unknown-none-elf\\lib" "-Bstatic" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debu
g\\deps\\libriscv_rt-39b1c9a2a1395b65.rlib" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\l
ibr0-efe72901102416ac.rlib" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libgd32vf103_hal-
538bca3434265f1e.rlib" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libembedded_hal-2c72b9
fec7e64643.rlib" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libvoid-985251a018f76383.rli
b" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libnb-28ce48cf2268bf08.rlib" "C:\\lnano\\r
ust-sipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libgd32vf103_pac-5ad80dba649266fc.rlib" "C:\\lnano\\rust-s
ipeed-longan-nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libvcell-39cabe94cbf2b783.rlib" "C:\\lnano\\rust-sipeed-longan-
nano\\target\\riscv32imac-unknown-none-elf\\debug\\deps\\libriscv-3b5219f3235fe512.rlib" "C:\\lnano\\rust-sipeed-longan-nano\\target\
\riscv32imac-unknown-none-elf\\debug\\deps\\libbit_field-c3928d8a522354d4.rlib" "C:\\lnano\\rust-sipeed-longan-nano\\target\\riscv32i
mac-unknown-none-elf\\debug\\deps\\libbare_metal-cb2583ed0460b656.rlib" "--start-group" "C:\\lnano\\rust-sipeed-longan-nano\\target\\
riscv32imac-unknown-none-elf\\debug\\deps\\libpanic_halt-70774feb86ea981d.rlib" "C:\\Users\\Ant\\.rustup\\toolchains\\nightly-x86_64-
pc-windows-msvc\\lib\\rustlib\\riscv32imac-unknown-none-elf\\lib\\librustc_std_workspace_core-c97e3f6a559ea894.rlib" "C:\\Users\\Ant\
\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\riscv32imac-unknown-none-elf\\lib\\libcore-5dfd3751a44e3b6a.rlib"
 "--end-group" "C:\\Users\\Ant\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\riscv32imac-unknown-none-elf\\lib\
\libcompiler_builtins-d4a43db8016be8c7.rlib" "-Tlink.x" "-Bdynamic"
  = note: rust-lld: error: undefined symbol: _max_hart_id
          >>> referenced by riscv-rt.o:(.init+0x52) in archive C:\lnano\rust-sipeed-longan-nano\target\riscv32imac-unknown-none-elf\d
ebug\deps\libriscv_rt-39b1c9a2a1395b65.rlib
          >>> referenced by riscv-rt.o:(.init+0x56) in archive C:\lnano\rust-sipeed-longan-nano\target\riscv32imac-unknown-none-elf\d
ebug\deps\libriscv_rt-39b1c9a2a1395b65.rlib

          rust-lld: error: undefined symbol: _stack_start
          >>> referenced by riscv-rt.o:(.init+0x5E) in archive C:\lnano\rust-sipeed-longan-nano\target\riscv32imac-unknown-none-elf\d
ebug\deps\libriscv_rt-39b1c9a2a1395b65.rlib

          rust-lld: error: undefined symbol: _hart_stack_size
          >>> referenced by riscv-rt.o:(.init+0x66) in archive C:\lnano\rust-sipeed-longan-nano\target\riscv32imac-unknown-none-elf\d
ebug\deps\libriscv_rt-39b1c9a2a1395b65.rlib
          >>> referenced by riscv-rt.o:(.init+0x6A) in archive C:\lnano\rust-sipeed-longan-nano\target\riscv32imac-unknown-none-elf\d
ebug\deps\libriscv_rt-39b1c9a2a1395b65.rlib

          rust-lld: error: undefined symbol: _mp_hook
          >>> referenced by lib.rs:301 (C:\Users\Ant\.cargo\registry\src\github.com-1ecc6299db9ec823\riscv-rt-0.6.1\src\lib.rs:301)
          >>>               riscv_rt-39b1c9a2a1395b65.riscv_rt.c1eqovug-cgu.9.rcgu.o:(_start_rust) in archive C:\lnano\rust-sipeed-lo
ngan-nano\target\riscv32imac-unknown-none-elf\debug\deps\libriscv_rt-39b1c9a2a1395b65.rlib

          rust-lld: error: undefined symbol: __pre_init
          >>> referenced by lib.rs:302 (C:\Users\Ant\.cargo\registry\src\github.com-1ecc6299db9ec823\riscv-rt-0.6.1\src\lib.rs:302)
          >>>               riscv_rt-39b1c9a2a1395b65.riscv_rt.c1eqovug-cgu.9.rcgu.o:(_start_rust) in archive C:\lnano\rust-sipeed-lo
ngan-nano\target\riscv32imac-unknown-none-elf\debug\deps\libriscv_rt-39b1c9a2a1395b65.rlib

          rust-lld: error: undefined symbol: trap_handler
          >>> referenced by lib.rs:329 (C:\Users\Ant\.cargo\registry\src\github.com-1ecc6299db9ec823\riscv-rt-0.6.1\src\lib.rs:329)
          >>>               riscv_rt-39b1c9a2a1395b65.riscv_rt.c1eqovug-cgu.9.rcgu.o:(_start_trap_rust) in archive C:\lnano\rust-sipe
ed-longan-nano\target\riscv32imac-unknown-none-elf\debug\deps\libriscv_rt-39b1c9a2a1395b65.rlib

error: aborting due to previous error

error: could not compile `rust-sipeed-longan-nano`.

To learn more, run the command again with --verbose.

Any ideas?

I'm testing this example again. Did you use the rustc compile target riscv32imac-unknown-none-elf?

I cannot reproduce. Can you share your code on github or somewhere? @torntrousers

Thanks. I can now get cargo build --example red-pill-lights to build when running within a clone of gd32vf103-hal, but i can't get a minimal example to work with a copy of red-pill-lights. I guess my Cargo.toml must be wrong. Some code here: https://github.com/HarringayMakerSpace/gd32vf103-rust
Could you help fix that?

@torntrousers You may need:

.cargo/config file. Just refer to the file in the hal project repo.
memory.x linker config. Refer to this repo; this file is used in .cargo/config.
build.rs to recompile if 2. is changed; refer to this repo.
If you want to flash and test using OpenOCD, the two files named openocd.cfg etc. is helpful to you (you may rename them as well as content in .cargo/config is changed.
Here's my example: https://github.com/luojia65/example-gd32vf103


Add plugin to Quilla for processing YAML inputs

Currently, Quilla supports only JSON documents for the validation, though it is pretty easy to go from YAML to JSON, so it would be good to have a plugin that can handle that natively.
A few possibilities for this are below:

Adding a --yaml CLI flag that, if present, reads the ctx.json value as a string to a YAML parser and sets ctx.json to the converted output. This would require adding the option in the quilla_addopts plugin hook, then doing the conversion in the quilla_configure hook, before the json data is read by Quilla
In the quilla_configure hook, check to see if the passed file is a .yaml or .yml extension, and if so run the ctx.json data through the YAML parser and convert it to a JSON string. Note, the file name is only available as part of the parsed args, not through the Context object. However, ctx.is_file is available to determine whether a file was passed in or not.  This has the limitation that it would only convert YAML files, which could limit users who would pass in raw YAML strings. Not exactly sure that's a problem, though

This would require the addition of a YAML parser package to the dependency list, since to my knowledge Python does not have a YAML parser. If we don't want to add a dependency that feels optional, we could have it as an extra (so, adding to setup.py in the extra_dependencies dictionary), and then during the plugin execution we could check to make sure that the YAML parser is installed. That way, we can run the plugin only if a YAML parser is installed.
Once the plugin is written, make sure to add its class/module to the _load_bundled_plugins list.

Hi! I'd like to work on this issue. Could you assign to me? Thanks!


Use annotation to generate combiners

This is a...

[X] feature request
[ ] bug report
[ ] usage question

Expected Behaviour:
There should be type checking between IAppState and Reducers List
Actual Behaviour:
If i refactor a name in IAppState the declared properties in combineReducers are not guaranteed to be properly updated. This violates Type Safety goals.
Additional Notes:
It seems like we should be able to use TypeScript decorators to bind a reducer function to IAppState fields.
@BindReducer((state:IAppState) => state.foo)
public static reducer(oldState: IRemoteObject<VO> = initial, action: ActionPayload) {
...
}

Can you provide an example of how you are defining the interface in combineReducers? The way I've generally set this up - I haven't had much of an issue - as each key in combineReducers only gets handed in that slice of state - not the entire state.

@rightisleft can you provide a clearer use case/example of how this could work? still not clear


Fix css type is different from web

I noticed css type doesn't match styled component css prop.  So in this example type error occurs.

This type is css object but, defined as function like component with some merged props, maybe it's copied from stitches for web.
Stitches native's css returns css type generated by createStitches, so I fix the type as it is.

For everyone comes here have the trouble. The temporary way works .
// stitches.config.ts
export type StitchesCss = CSS<typeof config>

// other files
import { StitchesCss } from 'path/to/stitches.config'

const csstest: StitchesCss = {
  fontSize: 16,
};

export const Test = <View css={csstest} />;

I think there is some confusion here. The object returned from css() is not supposed to be used with regular react-native components but instead you should use it with stitches-native styled components.

Default React Native components don't have a css prop so I will close this PR since it's not applicable to this library.

@Temzasse
Sorry, the example I suggested is wrong. Even If it's derived from styled of stitches, this type error occurs and I fixed it already in this PR. Could you re-check and open this PR?


How can I display a polymer element using  in html with PolymerClass in js file?

I want to set element's template directly in html file , but the properties and the others are set in js file like this:
html file:
"dom-example.html" 24L, 531C                                                                                22,21-22      All

  <dom-module id="my-element">
    <template>

{{prop}}

        Web Components are [[prop]]!

    </template>
  </dom-module>

  <my-element prop="OK"></my-element>

js file:
import {PolymerElement, html} from 'https://unpkg.com/@polymer/polymer@next/polymer-element.js?module';

class MyElement extends PolymerElement {
  static get properties() { return { prop: String }}
}

customElements.define('my-element', MyElement);

The result is : when access html file in chrome, nothing showed.
I‘ve tried to move the dom-module's template into js file using "static get template() {...}", that's OK. But How can I set dom-module template in html no in js?
How can I fix this?

As HTML Imports are deprecated as a browser feature, in Polymer 3 we no longer support authoring templates directly in HTML. There is no browser-native way to do this without a build step.
If all you want is to be able to author the HTML in html, at this point what you would need is a simple build-time transform that did something like this:
my-element.html

⬇
my-element.html.js
import {html} from<EMAIL_ADDRESS>export const template = html`

`;

And then in your element...
import {PolymerElement} from 'https://unpkg.com/@polymer/polymer@next/polymer-element.js?module';
import {template} from './my-element.html.js';
class MyElement extends PolymerElement {
  static get properties() { return { prop: String }}
  static get template() { return template; }
}
customElements.define('my-element', MyElement);


Commands don't work when DB file option is specified?

dodo.py:
def task_hello():
    return {
        'doc': 'Print something.',
        'actions': [ 'echo Hello, world!' ]
    }

What I see:
% doit -f dodo.py list
hello   Print something.
% doit --db-file ${PWD}/doit-test.db -f dodo.py list
ERROR: Invalid parameter: "list". Must be a command, task, or a target.
Type "doit help" to see available commands.
Type "doit list" to see available tasks.

Is this expected behavior?
Environment

OS: MacOS 12.3.1
python version: 3.9.9
doit version: 0.34.2

Only task-loader options can be specified before a sub-command (i.e. list).
Moving the option after the list should work.
doit  -f dodo.py list --db-file ${PWD}/doit-test.db

Sorry, documentation on this really needs some improvements...

Interesting...so it would seem that if I'm building a wrapper script to handle this, it somehow needs to know the difference between a subcommand and a task in order to get the args correct?
For example, this very simplistic wrapper:
#! /bin/bash -ex

if [ $# -ge 1 ] ; then
    doit -f dodo.py "${1}" "${@:2}"
else
    doit -f dodo.py --db-file "${PWD}/.doit.db" "$@"
fi

It would seem that if I want to write a wrapper script, then I'd need to do something along the lands of this to handle subcommands separately from tasks?
#! /bin/bash -e

case "$1" in
    auto | clean | dumpdb | forget | ignore | info | list | reset-dep | run | strace | tabcompletion | tasks)
        doit -f dodo.py "${1}" --db-file "${PWD}/.doit.db" "${@:2}"
        ;;
    help)
        doit "$@"
        ;;
    *)
        doit -f dodo.py --db-file "${PWD}/.doit.db" "$@"
        ;;
esac

Note that parsing CLI options is strict as not accepting unrecognized options.
Configurations are more flexible in this aspect. You can specify an option to all commands, and those are options are ignored if they do not apply.
dodo.py
DOIT_CONFIG = {"dep_file": "doit-test.db"}


Add read_evidence module

Add read_evidence module, tests, and test data. This is quite slow, and there are several optimization opportunities, but I wanted to get the API settled first.
Add locus module.
Add pysam dependency.
Add all_standard_nucleotides function in nucleotides module.

Comments from the review on Reviewable.io

varcode/locus.py, line 30 [r1] (raw file):
Does the Python 3 vs. Python 2 difference in generator vs. list matter in how this gets used?

varcode/locus.py, line 39 [r1] (raw file):
Isn't str(self) redundant with the "%s" format string?

varcode/read_evidence.py, line 64 [r1] (raw file):
Could you add an example of what's actually in the tuple?

varcode/read_evidence.py, line 286 [r1] (raw file):
What do you think of moving this to its own file? And maybe also making pileup.py?

varcode/read_evidence.py, line 574 [r1] (raw file):
Why not use a collections.Counter?

Comments from the review on Reviewable.io

varcode/locus.py, line 30 [r1] (raw file):
Yeah, I guess it depends on how it gets used. My intention is to not rely on it being a list. I'm not sure how to enforce that though.

varcode/locus.py, line 39 [r1] (raw file):
Done.

varcode/read_evidence.py, line 64 [r1] (raw file):
I have a feeling that bit may change a bunch and would rather not duplicate that info around the codebase. I'll add a pointer in the doc to the function that generates the tuple though, so someone could find out themselves easily.

varcode/read_evidence.py, line 286 [r1] (raw file):
Sure, refactored into submodule.

varcode/read_evidence.py, line 574 [r1] (raw file):
Made this clearer with a comment and by pulling out the lambda into a def.

Comments from the review on Reviewable.io

LGTM


encryption: Update grafana json file to add encryption panel (#7754)

cherry-pick #7754 to release-4.0

Signed-off-by: TXXT<EMAIL_ADDRESS>
What problem does this PR solve?
close #7520
What is changed and how it works?
Update grafana json file to add encryption panel
Related changes

PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

No code

Release note

Add encryption panel into grafana template

/merge

/run-all-tests


Run docs through markdown linter

Had a bit of an obsessive spurt today so went through all our docs with a linter.
Added .markdownlint.json to help keep things clean. For VS Code there's a great markdownlint plugin which creates warnings - highly recommended.

The doc authoring pack comes from docs team

But the linter didn't. Do other docs repos have a .markdownlint.json file? Is it more or less consistent?

Is there a syntax for suppressing warnings?
<!-- #prama warning disable MD024 -->

@bricelam  https://github.com/aspnet/AspNetCore.Docs/blob/master/.markdownlint.json

It seems to be possible to suppress in specific places, but I loath the idea of starting to put these in our docs.

Hmm, ASP.NET is pretty different than https://github.com/dotnet/docs/blob/master/.markdownlint.json

Wow, I wasn't even aware all these other repos were doing markdown linter, felt kind of like a trailblazer :cry:

Removed suppression for MD024 (double heading).
Guys, what's the next step here? Is this worth having a full discussion on in design or whatever? I'd like to merge this soon to avoid conflicts etc., we can always do a second wave later and remove more suppressions.

I'm fine merging. Ultimately, I only care about the rendering, not the markdown formatting.

I am also ok with merging as long as we don't suppress things. A wrong suppressions means valid issues can go unnoticed.

I am also ok with merging as long as we don't suppress things. A wrong suppressions means valid issues can go unnoticed.

Can you concretely say what you want us to do with the remaining suppressions? I think I addressed the reasoning behind the remaining four suppressions.

If you look at the history of our file, you'll see that @nschonni was helping us with those, so you can still consider yourself a trailblazer @roji. 😄

@smitpatel @bricelam can someone approve this or post if you have additional issues?

FYI, was looking at adding a small GitHub Action over on the dotnet repo to just check stuff as it came in

That would be really nice!

FYI, this is the config for the Action setup https://github.com/dotnet/docs/pull/15184

FYI, the latest version of markdownlint-cli has added a --fix parameter that can automatically correct some of the rules

FYI, the latest version of markdownlint-cli has added a --fix parameter that can automatically correct some of the rules

Thanks, we'll start slowly by just merging this PR :)
Out of curiousity, are you using --fix in some automated way in a CI pipeline somewhere? Does that mean that it's actually modifying the commit somehow?

Out of curiousity, are you using --fix in some automated way in a CI pipeline somewhere?

Nope, not on CI, but I've seen that approach in some places with ESLint --fix being used as a pre-commit hook https://github.com/w3c/aria-practices/blob/514af610e735956ada38ac1528dfc2b80ffc6a84/package.json#L44-L58
That approach doesn't do anything for people using GitHub to edit directly, but can be helpful for editors that are developting locally


Icon request: Probit

https://www.probit.com/
https://cryptorank-images.s3.eu-central-1.amazonaws.com/exchanges/probit1556784314465.png

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Probit.png


Treat Pilcom's Json as a Backend like Halo2

IMO, Pilcom's Json should be an entry in backend::Backend enum.

I agree. Whether or not the backend is linked in to the binary should not make a difference.

Done.


Setting auto_sni causes a spike in the number of active upstream connections

Title
When the auto_sni flag is set as true we are seeing a visible spike in the number of active upstream connections.
Description
We are seeing increased number of Active Upstream Connections when auto_sni flag is set as true in the UpstreamHttpProtocolOptions. [Link]
We are not specifying auto_san_validation. We do see a drop in the Active Upstream CX after turning off the auto_sni.
Configuration:
name: "some-cluster",
connect_timeout: "50ms",
load_assignment: ...,
max_requests_per_connection: 10000,
typed_extension_protocol_options: {
  "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
    "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
    explicit_http_config: {
      http_protocol_options: {}
    },
    upstream_http_protocol_options: {
      auto_sni: true,
    },
  },
},

Metrics Screenshot:

@mattklein123 I was able to verify that it doesn't happen when we just have a single SNI. We are using override_auto_sni_header and there are certain requests which when doesn't have this header set making the SNI fallback to the "host". We can close this question now.
"Every SNI requires a new connection pool, since all connections must have that SNI attached to it."
Do you think we should add 1-2 lines about this in the docs? It wasn't very intuitive for me. If you are okay I can open a small PR to add the additional info.

Do you think we should add 1-2 lines about this in the docs? It wasn't very intuitive for me. If you are okay I can open a small PR to add the additional info.

Sure doc updates are always appreciated! Thank you.


fix(riak/manifests/riak-rc.yaml): fix riak chart

This PR at least runs Riak, but I'm noticing the following logs, which suggest that Riak may not be starting:
Starting Riak...
run_erl:615 [21] Mon Feb  8 18:52:13 2016
Erlang closed the connection.
started

The following are logs from /var/log/riak/erlang.log.1:
root@riak-fkeq3:/var/log/riak# cat erlang.log.1

=====
===== LOGGING STARTED Mon Feb  8 18:52:10 UTC 2016
=====
18:52:12.073 [error] Error parsing /etc/riak/advanced.config: 17: syntax error before:
Error generating config with cuttlefish
  run `riak config generate -l debug` for more information.

Fixes #68
Closes #69

@arschles I don't think this will solve the root problem. See https://github.com/deis/riak/issues/28#issuecomment-181583906 -- I think we just need to shift around a few things.


Interface fix for countdown

Fixed some minor interface issues in countdown

Before

After

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

Files
Coverage Δ

cmd/today.go
88.76% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.

Please increase the version.

Resolve conflict


Merge develop into main for 2.22.0 release

This is a GitFlow merge of develop into main for release as MAPL 2.22.0.
I'll do a test on discover to be doubly sure, but should be good.

Test shows it is zero-diff as expected on Discover. Merging!


Package fatrop and blasfeo

Comment:
casadi devs will introduce in 3.6.6 a really cool new solver for optimal control problems, called fatrop, see:

https://www.youtube.com/watch?v=X-nS4i8jJyM
https://github.com/jgillis/fatrop_demo

The feature is based on two additional dependencies:

https://github.com/meco-group/fatrop
https://github.com/giaf/blasfeo

As these libraries can be useful also for users besides casadi in conda-forge (see for example the use of blasfeo in https://github.com/acados/acados), it would be cool to add them as conda packages. casadi kind of includes an internal ExternalProject-based superbuild, so that could be a first inspiration for the packaging script:

fatrop: https://github.com/casadi/casadi/blob/974f0d9d955b1a0b61d892a6b4c107c116aa8600/CMakeLists.txt#L1149-L1156
blasfeo: https://github.com/casadi/casadi/blob/974f0d9d955b1a0b61d892a6b4c107c116aa8600/CMakeLists.txt#L1083-L1089

Possible related issues/PRs (currently nothing recent):

https://github.com/search?q=org%3Aconda-forge+blasfeo&type=pullrequests
https://github.com/search?q=org%3Aconda-forge+fatrop&type=pullrequests
https://github.com/search?q=org%3Aconda-forge+acados&type=pullrequests

casadi 3.6.6 is out: https://github.com/casadi/casadi/releases/tag/3.6.6, so we could look into this.

Related blasfeo issue: https://github.com/giaf/blasfeo/issues/181 .

In https://github.com/conda-forge/casadi-feedstock/pull/115 we added support for fatrop on Linux, as soon as the new version of blasfeo is released, we can enable it also on Windows and macOS.


Checks against an opaque type's subtype type fail to properly filter that type out

Can't reproduce on try flow because this requires an opaque type and thus a different file.
/* file1.js */
export opaque type foo: string = string;

/* file2.js */

import type { foo } from 'file1';
function bar(param: foo | number) {
  if (typeof param === 'string') {
    param = 42;
  }
  // param should now be a number no matter what

  // with an opaque type this creates an error because `param` is still (incorrectly)
  // `foo | number`, however there is no programatic way to check against `foo` in
  // this case.  Since all foo's are strings the above `if` should work.
  param.toFixed(2);
}

flow 0.64.0

You can use declare opaque type to repro this error on Try Flow


I can not search for or download folders

Folder names are not included in search results
I can not download or erase whole folders (no cloud and garbage can icons)

Deletion is currently not working very well on the backend, might be worth removing it from the UI until the bugs are fixed.
Will be frustrating for the user, but not as frustrating as losing a bunch of files due to a buggy delete call on one of them.

Fixed in #441


I can't connect to vnc server because of this issue. what to do ?

What happens in Termux when you type vncstart?


Add $mod operator support to Query

What:
This PR adds support for the $mod operator for use in Query.  It is the port of $mod operator functionality already delivered to the CDTDatastore repository in https://github.com/cloudant/CDTDatastore/pull/152.
Due to PR size, there will be a follow up PR that will contain Query Executor tests for $mod and the $mod documentation.
Why:
In an effort to provide as much functionality to Query as is available elsewhere (such as MongoDB), we are adding support to the $mod operator so that users can write queries containing modulo arithmetic.
How:
Add logic to the validator code, the SQLtranslator code, and the unindexed matcher code to support the safe use of $mod in queries.
Tests:

Validation tests have been added to QueryValidatorTest exercise argument validation and query normalization for queries containing the $mod operator.
SQL WHERE clause generation tests have been added to QuerySqlTranslatorTest for queries containing the $mod operator.
Tests have been added to UnindexedMatcherTest to exercise the unindexed matcher engine for queries containing the $mod operator.

reviewer @mikerhodes
reviewer @gadamc
BugId: 44631

+1

+1


hash might collide with unidentical file contents when webpack config changes

Bug report

What is the current behavior?
If certain configs are changed, webpack produces different file output, but the calculated hash remaisn the same. This is the case at least with different source map configs: hidden-source-map and source-map devtools: source-map produces line /*# sourceMappingURL=1-ee230307f9c3ff792b7c.css.map*/ in the end of file which means that the hash should already be there at that point.
This is problematic for CDN since changing webpack config might not propagate to CDN and files in S3 and CDN differs. It's hard to debug why is that.
This also makes it impossible to validate that file contents & hash matches what we already have in production.
If the current behavior is a bug, please provide the steps to reproduce.
Have very basic webpack config. Produce the build with hashes using both types of source maps -> hash remains the same but contents are different.

hash should change when devtool or other settings that change the output changes.

Potential solution
Take relevant parts of webpack config into account when calculating the hash. In this case devtool could be part of the hash calculation, as well as e.g different compression types and other relevant configs. I'm not that familiar with Webpack internals, but a naive way to achieve this would be to append relevant configs in the end of files they relate to and then calculate hash from that. If we know that some of the devtools produces identical result, it could be taken into account by mapping the devtools in a way that the identical results does not change when devtool or other similar settings changes.
Other relevant information:
webpack version:  4.30.0
Node.js version: v10.15.0
Operating System: macOS
Additional tools: -
E: There is a related feature request: https://github.com/webpack/webpack/issues/7787

Still valid.

This is still relevant.

@villesau can you test latest webpack@5?

Should be fixed in webpack with the realContentHash, which calculates a hash of the content.

Yes, I just want to make sure we don't get edge case here.

@evilebottnawi @sokra Couldn't reproduce anymore with realContentHash=true. Great job! The fix saves a ton of time from devs who would otherwise hit into this problem eventually! :D
I can also confirm that with realContentHash=false, the problem still exist, but I guess that's intentional.
Thank you!

@villesau maybe you can create minimum reproducible test repo, because ideally it should work without realContentHash :smile:

The SourceMapDevToolPlugin could fix that by adding the comment template to the chunk hash via the chunkHash hook.


Realsense Error, frame didn't arrive within 15000 when rs-pcl-color.cpp is run multiple time

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
5.4.0-66 generic

Platform
PC

SDK Version
2.0

Language
c++

Segment
Robot

Issue Description
<Describe your issue / question / feature request / etc..>
I have been trying to run rs-pcl-color provided in the wrapper directory of the librealsense repository. After building the file, I tried running it and it worked perfectly. I was able to visualize. Once when the program is closed and again tried to rerun it, i get the following error saying  :
"""RealSense error calling rs2_pipeline_wait_for_frames(pipe:0x5582ab448d00):
Frame didn't arrive within 15000
""""
This problem keeps persisting and the camera is responsive only on the first run after connecting it to  the PC. From the second run onwards this error persists. This error also persists when using realsense-viewer. Can you please provide me a solution ? Thank you.

Hi @microbot7273   As a starting point in investigating your case, could you replicate the conditions that cause the RealSense Viewer to experience the Frame didn't arrive within 15000 error.  Then go to the More option near the top of the Viewer's options side-panel and select the Hardware Reset option from its menu.
If this corrects the problrm then it would suggest that adding a hardware_reset() instruction to your script to reset the camera when the program runs may be worth trying.

Hello ,
Yes hardware_reset() works for me. Although can you please clarify what the reasons might be behind this strange behaviour ? When i run the same code on ubuntu 16.04, this problem does not occur.
Also right now, once I did a hardware reset in the viewer, it worked for me. Then I have turned both the stereo and RGB camera and then changed the resolution. When turned back on, this problem again occurs. This feels to me like the original problem where the camera pipeline only responds to the first connection and later on is irresponsive to the follow-up connections.

Thanks very much for the information.  May I ask first that as well as enabling / disabling the Stereo Module and RGB, are you also activating the Motion Module in the Viewer at any time during the same session please?

No , Just the rgb camera and stereo camera.

Okay, thank you.  Frame didn't arrive errors have been known to also occur on Ubuntu 16.04, like the '5000' one in the link below.  Like in your case, a hardware reset corrected the problem.
https://github.com/IntelRealSense/librealsense/issues/1086
When the '15000' variety has occurred though, I tend to see it in cases involving multi-hour long runs of the camera rather than at pipeline start-up.
In the case in the link below where Frame didn't arrive within 15000 was occurring from the start of streaming, updating the firmware of the camera corrected it.
https://github.com/IntelRealSense/librealsense/issues/4071

okay Thank you. For now , I guess i will have to work with reset_hardware() method. Incase you find out the underlying cause or need more information, please let me know.

I don't have any further suggestions to add at this time.  Good luck with your project!

Hi @microbot7273   Do you require further assistance with this case, please?  Thanks!

Hello @MartyG-RealSense , Thanks for asking. Though the above-mentioned problem is persistent, for the time being, I am following the routine you have suggested earlier. I believe, we can close this ticket for now. Thank you once again for the support.

You are very welcome @microbot7273 - thanks for the update!


add R 4.1 builds

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #23.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #23

@conda-forge-admin please rerender


Fixed live=true on unpublish before delete

Related to issue #5166
Removed the commit=False on the pre_delete handler. This caused the delete_orphan_pages command to fail because in the clean method is trying to get a parent (that does not have), so I added a try/catch for the get_parent
Let me know if you think this is a good fix or any suggestions you have. Thanks!

Do the tests still pass? Yes
Does the code comply with the style guide? Yes

It would be useful to have an explanation of the actual problem being fixed here - Wagtail doesn't have a delete_orphan_pages command, so I can only assume it comes from some third-party code. As far as I can gather, this code is doing something inside a page_unpublished signal handler that is causing get_parent to fail, but without seeing that code it's impossible to know whether Wagtail or the third-party code is at fault.
I'm also not clear what the relevance of live=True is - the result of get_parent should not be affected by the live flag.
The commit=False in the original code exists as a performance optimisation - if a lot of pages are being deleted at once, we'd end up with twice as many queries as necessary, first to update the published status and then to delete the page. To be fully correct, the page_unpublished signal should be triggered in between these steps, but given the performance penalty, I'd like to understand what negative consequences the current (not-logically-correct) implementation has.

Closing for now due to lack of detail on what's being fixed here - happy to reopen if you can provide further information.


Existing installation fails to start because Postgres 14 refuses to load Postgres 12 files.

The postgres database is no longer supported by postgres 14.
I can only get my installation to boot by changing to version 12 in the docker-compose.yml file.
https://github.com/plausible/hosting/blob/master/docker-compose.yml#L9
  plausible_db:
    # supported versions are 12, 13, and 14
    #image: postgres:14-alpine
    image: postgres:12-alpine

👋 @russellballestrini
That's right. You need to perform an upgrade: https://github.com/plausible/hosting/blob/master/upgrade/postgres.md

thanks for the rapid reply, I'll try to work out the steps to upgrade.


imageCSS fix

fix image borders

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Reactivating deactivated sources in Canada

Based on latest build (73276), reactivates some of the skipped/failing sources in Canada where I could find working replacement data sources.
Also adds modern license on several (see commits).

I'm going to close this in the interest of cleaning up open PRs. @riordan if you have a chance could you re-open this against master?


Rework CNI and transparent-proxy chapter

Description
To be first, if the Kuma-CNI is a substitute for transparent-proxying, we need to put the transparent-proxying section in front of Kuma-CNI in the catalogue path. Because we should introduce transparent-proxying first and transition to Kuma-CNI later.

Several explanations should be added:

Is there any race/conflict with my k8s cluster current CNI? (calico,cilium,flannel)
Can I just use Kuma CNI rather than any other CNI for my cluster? which means I don't install any other CNI after I just create a k8s cluster, no other CNIs in my k8s cluster, there is only Kuma-CNI.
The Multus NetworkAttachmentDefinitions is mentioned in the document, do I need to install Multus by myself? Or is it a builtin component in Kuma?

We also need to add a link on page Configure transparent proxying to jump to page Transparent Proxying

Invoking the Kuma data plane is hard to understand. Do I need to do it by myself? Or the Kuma installation already finished it?

Let's discuss together what needs to be done here


Race condition in Resource::connect_changed

Tested versions
4.3
System information
Windows 11
Issue description
62d9ce6445283d2bc1daa973350f91df56a826bf changed Resource::connect_changed to delay signal connection if the ResourceLoader is currently loading. This leads to issues if a ResourceLoader creates a PackedScene with eg a MeshInstance3D or CollisionShape3D on a thread other than the main thread.
<core\object\object.cpp(1369): Object::connect> Condition "!p_callable.is_valid()" is true. Returning: ERR_INVALID_PARAMETER:
Cannot connect to 'changed': the provided callable is not valid: MeshInstance3D::_mesh_changed

<core\object\object.cpp(1369): Object::connect> Condition "!p_callable.is_valid()" is true. Returning: ERR_INVALID_PARAMETER:
Cannot connect to 'changed': the provided callable is not valid: Node3D::update_gizmos

Steps to reproduce

create a loader that creates a PackedScene with MeshInstance3D and sets a mesh
load a resource with the loader via `ResourceLoader::load_threaded_requet

Minimal reproduction project (MRP)

Tested versions
4.3

Please be more explicit, you mention 4.3 but then refer to a commit which has just been merged in master for 4.4, and thus isn't in 4.3.

Uhm the commit has been added in 4.3 stable though. And I only downloaded the 4.3-stable tag:

Ah my bad, I mistook #94526 for #94169.

An MRP would help immensely.

This one triggers it quite reliably for me
project.zip

My assessment so far:

This is not what we usually call a race condition, as this behavior is deterministic.
The only issue in a case like the one in the MRP is the warnings being printed, with no real damage.
That said, I can see why this behavior would be a problem in a more complex loader that actually needs to change resources later than being assigned (e.g., the PrimitiveMesh changed later in the MRP).

I think the cause for this issue also causes the issue #96443
While debugging #96443, I was able to find out that MeshInstance3D::_mesh_changed is executed after the inherited scene is loaded correctly.
In MeshInstance3D::_mesh_changed, it reverts back the overridden material.

I think this also causes the problem I'm had a couple of times restarting the editor where all the material vanishes. I'm not able to find a way to reproduce it systematically:


[Sep 9] Upgrade support chart versions

Support chart versions are to be upgraded on September 9.
This issue to be refined by someone else.

Because this is an internal deadline, and we have a lot of people out during this time, I'm punting this by a little over 2 weeks to sep 24.

v1.16.0 of cert-manager has been released but it was, like, yesterday so I'd rather wait on that update and allow some bugs to be worked out


Proposal for Search Result Filtering and Organization: Filter by License and Authors

Overview
We propose to increase the number of filtering criteria for search beyond free-text search.
Filtering by License
It is convention for projects to place a LICENSE file in the root directory of the project to indicate the license that the project is released under. We will scan this file and fuzzy match (bayesian filter) the type of LICENSE that the project is under. This way people are able to browse projects based on license types. If the match fails we will list the project under an UNKNOWN license type. If there is no LICENSE file at the root of the directory (or the file is empty), then the project will be listed under the NONE license type. A mechanism will be provided to admin’s to teach the filter what type of license a project belongs to in the UNKNOWN category. (I’m thinking something like a drop down to mark the license to be of the known types, that way the filter can get more types to use in matching)
Filtering By Authors
The system will add a browsable category that will list the Authors (Alphabetically) as provided by the SCM. Users will be able to click the name of the Author and get a list of projects they are associated with. User will be able to filter search results by Author(s).

Contributors to this proposal
@carlisia
@gdey
@rafaeljusto

Both SGTM. Next step is outlining how this will be implemented.

@adg Do you want each to be a separate issue? Or one issue for both, or do the outlining in here?

#117 Talks about setting up a badge for the license. There is discussion on using a LICENSE file, as well as doing a search on the code to find a license that may be embedded in source comments or in the README.

RE: LICENSE
My suggestion would be to base the implementation on the default behavior for new GitHub repositories. I know this isn't a universal standard, but it will cover a large percent of all projects:

Look for a file named LICENSE in the top-level directory of the repo.
Check this against the set of licenses that are supported by http://choosealicense.com/ (which is what GitHub licenses are based on), and use the license names that API providers.

/cc @xizhao Perhaps you'd find this relevant/interesting.

Thanks! Happy to help with this.  I run https://tldrlegal.com and can send over API access.
Best,
Kevin

Another useful filter: hide packages that use cgo.  This filter is motivated by Dave Cheney's [recent blog post about cgo](http://dave.cheney.net/2016/01/18/cgo-is-not-go0.


[IMPROVEMENT] Remove "Expand" text

I think that the "Expand" text when you collapse the menu does not make much sense because you will not see the text (only for the duration of the animation). I think it would be better to let it always show "Collapse"
https://github.com/user-attachments/assets/2f6c411a-26ce-4e8b-90b5-dde342c89b78

For one it doesn't even show on your screen for more than half a second or so, so I don't see why it bothers you. Then there's the fact that screen readers exist and can in fact read that and generally it is a very helpful thing to not label interactable elements with an action they do not perform. Then there also is the fact that themes can do a lot, including doing things like e.g. make a collapsed sidebar grow out on hover in which case even the average user would see the full label which would give the implication that they may need to click that every time to re-collapse the sidebar when in fact that button would instead keep it from collapsing when the cursor exists the element until clicked again.


[Refactor] port ClassUtils to HiveMetaClient

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 24 / 27 (88.89%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/ColumnTypeConverter.java
0
1
00.00%
[355]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
24
26
92.31%
[372, 379]


Improved Arabic/RTL support

Implements issue #92.

When the dialogue box renders its text as RTL, the nameplate moves to the right side of the screen, and the "next dialogue" arrow moves to the left side of the screen.
The preferred font for Arabic text is changed to Kawkab Mono, which may be more readable. The previous font still remains as a fallback option.

For some reason, as you can see in the video below Kawkab Mono performs its line breaks much sooner than the old font, causing text to only take up about half of the box... No modifications were made to the line-breaking code so I'm not sure why that would be. If this is an issue, we could revert the font change until we're able to implement a fix.

https://user-images.githubusercontent.com/9957987/200884824-132dc7f5-e993-4b20-a1e4-d9d81d27a947.mp4
NOTE: With these changes, the user will need to have the KawkabMono-Regular.ttf file from the font's website in the assets/igiari folder.

Hi!
This seems impressive already. I can't read Arabic text so I'm not sure, but if you say the new font is more readable I'll take your word for it. About the line breaking problem I'm going to spawn an issue for that. But that shouldn't stop this PR to get merged. Readability is more important than line breaking
Furthermore, bad line breaking has been an issue for a long time now, it also happens in english #55
As always I'll do a few tests and merge this accordingly. Again thanks for your work

Because this pull request involved the animated arrow, I decided to go ahead and GIF-ify it. The GIF is below, and should be placed at assets/arrow.gif:

Here is how it looks with the RTL test:
https://user-images.githubusercontent.com/9957987/201261268-14c41f7f-4e8a-4cc9-8d8b-ef88e3e04a2e.mp4
As such, this pull request should take care of #92 and #94 ! 😄

Hi!
With your permission I've added some code to ensure updating the engine will be transparent for users without them having to manually remove the assets folder.
That being said. I'm having trouble running example.py
Traceback (most recent call last):
  File "C:\Users\luis.mayo\Documents\GitHub\objection_engine\examples\example.py", line 24, in <module>
    render_comment_list(comments, f'output-{str(int(time()))}.mp4')
  File "C:\Users\luis.mayo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\objection_engine\renderer.py", line 62, in render_comment_list
    return anim.comments_to_scene(thread, name_music = music_code, output_filename=output_filename, resolution_scale=resolution_scale)
  File "C:\Users\luis.mayo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\objection_engine\anim.py", line 587, in comments_to_scene
    ace_attorney_anim(formatted_scenes, **kwargs)
  File "C:\Users\luis.mayo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\objection_engine\anim.py", line 442, in ace_attorney_anim
    sound_effects = do_video(config, root_filename, resolution_scale)
  File "C:\Users\luis.mayo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\objection_engine\anim.py", line 117, in do_video
    if obj["text"].use_rtl():
KeyError: 'text'

Can you confirm if it works fine in your machine? I'm currently on a new laptop may installation may be off.
Thanks for your work!

When running the standard example, I got the same error. I must've only been testing it on the RTL test where there were no Objection bubbles, whoops 😅
Anyways, I added a quick check to fix that! I also moved the location of the print statement in your code so that it only runs if the file is not found. Being able to download individual assets from the server instead of just one zip file is a great idea!


Localization page does not show properly

Informations

Qiskit version: NA
Python version: NA
Operating system: macOS 10.15.7

What is the current behavior?
Qiskit documentation page in Japanese does not show properly.
Steps to reproduce the problem
Choose Japanese at https://qiskit.org/documentation/
Then, it goes to https://qiskit.org/documentation/locale/ja_JP/index.html
The page looks as follows.

It reproduces on both Firefox 82.0.1 and MS Edge 86.0.622.63
What is the expected behavior?
Localization page syncs with English page as follows.

Suggested solutions

It looks fixed now.

FWIW, I expect this was a stale cache issue, either in the cloudflare CDN or in your local browser. We had a similar issue when we adopted the new theme and had to manually purge the CDN cache to fix it.

Thanks. I tried cache clear, so it might be CDN issue (time lag).


[Relay][Bugfix] Fix conv transpose with default strides in ONNX frontend

As the ONNX documentation description here
The parameter strides in ConvTranspose is an optional attribute using '1' as default.
This PR fixed it and added a corresponding regression test.

@Hzfengsy @vvchernov @echuraev Could you help me review this PR?


Action history usage

What is the proper way to use the action history (especially to build the prompt)? Do we need to include one screenshot per action?

Hi @margotmercier Good question!
Using one screenshot per action is optimal for performance; however, including more screenshots increases computational cost. Therefore, our released checkpoint currently supports using only actions as history, as demonstrated below:
messages = [
    {
        "role": "user",
        "content": [
            {"type": "text", "text": system_prompt},
            {"type": "text", "text": f'Task: {query}'},
            {"type": "text", "text": PAST_ACTION_{t-2}},
            {"type": "text", "text": PAST_ACTION_{t-1}},
            {"type": "image", "image": img_url, "min_pixels": min_pixels, "max_pixels": max_pixels},
        ],
    }
]

You simply need to extract the new output action and treat it as the past_action.
I hope this explanation is clear, but feel free to reach out if you need further clarification!

Okay, thanks for the detailed answer. And overall, thank you for this awesome work!


docs: fix pagination style tab spec images

Closes #2784

Fixes spec image bugs on the Pagination component Style tab.

New

New additional image for structure specific specs.

Changed

Updated existing spec image to show only spacing.
Updated caption and alt text for spec images.

@aagonzales hmm, I did export at 2x. I am using the fixed image component at 1120 to fit the pagination bar. Do you think that would have anything to do with it? I can try to re-push it again.

The fixed image component only takes one size image, I think its like 768 or something like that. Other wise its probably scaling down the image.


Hide DS4 Controller does not work, despite all aplications being closed

The specific error/warning message is:
"Warning: Could not open DS4 84:17:66:E0:EB:5B exclusively. You must quit other applications like Steam, Uplay before activating the 'Hide DS4 Controller' option"
This message appears despite me having closed all other applications, via ending their tasks with task manager.

You are posting in the old, no-longer-maintained DS4Windows repository (Jay2Kings).
Trying posting your issue here: https://github.com/Ryochan7/DS4Windows/issues


Too much boxing since 472aad50 (#361)

It looks like #361 introduced a bug where it incorrectly considers that types are recursive even though they aren't, if one type appears twice in the tree but it's still a tree. This generates unnecessary Boxes.

@noverby

Additionally it looks like the String alloc is not necessary: this compiles:
    fn contains_type_without_indirection<'a>(
        &'a self,
        input_id: InputId,
        schema: &'a Schema,
        visited_types: &mut HashSet<&'a str>,
    ) -> bool {
        visited_types.insert(&self.name);
        // The input type is recursive if any of its members contains it, without indirection
        self.fields.iter().any(|(_name, field_type)| {
            // the field is indirected, so no boxing is needed
            if field_type.is_indirected() {
                return false;
            }

            let field_input_id = field_type.id.as_input_id();

            if let Some(field_input_id) = field_input_id {
                if field_input_id == input_id {
                    return true;
                }

                let input = schema.get_input(field_input_id);

                // no need to visit type twice (prevents infinite recursion)
                if visited_types.contains(&input.name.as_str()) {
                    return true;
                }

                // we check if the other input contains this one (without indirection)
                input.contains_type_without_indirection(input_id, schema, visited_types)
            } else {
                // the field is not referring to an input type
                false
            }
        })
    }
}

pub(crate) fn input_is_recursive_without_indirection(input_id: InputId, schema: &Schema) -> bool {
    let input = schema.get_input(input_id);
    let mut visited_types = HashSet::<&str>::new();
    input.contains_type_without_indirection(input_id, schema, &mut visited_types)
}

Looks like this should just be:
                // no need to visit type twice (prevents infinite recursion)
                if visited_types.contains(&input.name.as_str()) {
                    return false;
                }

as if we re-encounter the type we don't need to re-consider it as we have already done it before

@Ten0 can you provide a minimal GraphQL example, that produces needless Boxes?

@Ten0 ok will you create a PR or should I?

I got the code patched already so I'll open it :)