ProvidePlugin: Array of modules

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
    new webpack.ProvidePlugin({
      'varName': 'module.name'
    }),

What is the desired behavior?
    new webpack.ProvidePlugin({
      'varName': [ 'module.one', 'module.two' ]
    }),

If this is a feature request, what is motivation or use case for changing the behavior?
We have several wrapper libraries that are contained within individual modules. When using our old concat-bundler, this wasn't an issue and made for easy maintainability of the related and non-related wrapper modules. However, since they are not directly or explicitly required in target code for bundling, we need an alternative means to include them in the bundle. We can target specific variables uses, but a single call to a particular object or variable name required several modules to be used. The ProvidePlugin doesn't seem to allow multiple definitions with the same key.
Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.
webpack 2.2.0-rc.1
Node 7.1

This is not support (and not needed). You can point the ProvidePlugin to a small module like this:
// varNameModule.js
export * from "module.one";
export * from "module.two";

    new webpack.ProvidePlugin({
      'varName': path.resolve(__dirname, "varNameModule.js")
    })

@sokra that's a rather premature closing. I've been talking with @TheLarkInn on a use case which outlines the need for this. We're attempting to move from a concat-bundle system to webpack, and including a small module in the bundle with those imports isn't an option for us.

If you could describe the scenario a bit more, and even a reproducible example.

Surely. We're using webpack to produce a flat, non-wrapped bundle in preparation for a shift in development ideology. Preparing our tooling is the first step, so we're moving from a gulp-concat system to webpack to get familiar with the tool. From what I've seen, there's no reason webpack can't be adapted for this purpose.
I've put together a gist with a few small files and the accompanying plugins we're using which should convey how we're using webpack to supplant gulp-concat. It also show how and why we'd need a means to specify multiple additional dependencies for a particular bundle. We can target the gilt global variable as it's specific to our ecosystem. We'd tried exploring addDependency but the docs are cryptic and it appears as if that's not available on this within loaders in 2.2.0 betas.
https://gist.github.com/shellscape/a6d9a3c0b105844963cdb00b60850ba5

per @TheLarkInn 's request, I recreated the ProvidePlugin and added only a few lines to achieve the desired functionality. I couldn't find any side effects, but I'm sure this would have to be run through webpack's test suite to be sure. Given the minor nature of the changes, I'm sure it'd be a benefit https://gist.github.com/shellscape/a7461022503f019598be93a512a1901a

@shellscape - that would be a useful feature. Why not submit your gist as a PR?

@jonnybot0 that was waaaaaaaaay back in the day before I was invited onto the team. I actually had to re-read the thread because it'd been so long (Dec 2016!) since I posted it I couldn't remember what it was for 😆  Still think it's useful, but there's been zero demand (from what I can tell) for it since I posted this all those moons ago, and the gist works (worked?) well as a local workaround.

:crying_cat_face: Fair enough.


Show fractional shares for advanced traders

This shows fractional shares to 2 decimal places if advanced trader mode is on.
Inspired by Eliza's discord suggestion "Displaying fractional mana/shares can teach people that small bets at 5% or 95% are still meaningful"

wait a second, that's not right...


How to close the log for libtd?

When I use a precompiled Library the libtd：https://core.telegram.org/tdlib
How to close the output log in logcat？

You should set log verbosity level to zero.
#include <td/telegram/Log.h>
//...
td::Log::set_verbosity_level(0);

Or Client.setLogVerbosityLevel(0) in the prebuilt library for Android.

You can write your function in the source code of tdlib and compile it. Then use in your code.

thank you.


Stats on index.html

Add to index.html (ndex.cgi, to be honest) the following stats:

Uptime
Storage status

To make this df -h and du -h can be used. But system is evil.

Added in fdd5a98.

way better in e4efd40


Add content to index.md

please specify (trello ticket not displaying content).

This. Is partially done. We still nee some legal stuff


Modify DB to support SortMeRNA dbs

This adds the first bits to fix #811
This is modifying the database and the reference.py object to support that.
Remaining bits needed for this to be fully functional:

[ ] Modify the CLI interface to accept the SortMeRNA indexed database
[ ] Create a qiita_ware command to index the DB (done in the cluster)
[ ] Add a 24.py patch that will index the database for the already existing DBs using the previous command.
[ ] Modify the processing pipeline to use the reference database if it already exists

Note that this is going to it's own branch. Since this include DB changes, I will appreciate fast reviews so I can move forward faster and avoid what happened with the latest release.

Coverage increased (+0.12%) to 79.4% when pulling ed21bd349cc8cc53907628066c11505f6b671ac6 on josenavas:fix-811 into 5ff115e2f2fd44b42449fa27b71a58cfe59afa9c on biocore:smr_idx_dbs.

This is ready for review @biocore/qiita-dev

Thanks @adamrp and @wasade I think I've addressed your comments!

Nope, wait, I forgot one!

Coverage increased (+0.13%) to 79.42% when pulling bbb424daf509db2d49ff501cd308522033a32009 on josenavas:fix-811 into 5ff115e2f2fd44b42449fa27b71a58cfe59afa9c on biocore:smr_idx_dbs.

@adamrp @wasade Now this is ready for another review. The comment that I was missing was to clean up the files and directories created by the tests.

Coverage increased (+0.13%) to 79.42% when pulling 3b0cd571b6259fe31d3ab5c463dd147a0bbfeff9 on josenavas:fix-811 into 5ff115e2f2fd44b42449fa27b71a58cfe59afa9c on biocore:smr_idx_dbs.

@adamrp & @wasade would you guys mind having a look?

@adamrp, @wasade don't worry about this PR. It got out of date and is going to conflict with my other PR.

@josenavas okay, thanks for the heads up. Should this one be closed?

Yeah, it's probably the best.


Instructions for Creating a GUID

Under the "Unique identifier" section, it would be nice if there was a link to instructions about how to create a GUID as I had to search for the powershell command to give me a guid to use for a new profile "[guid]::NewGuid()" but it would be nice to have that information directly from the documentation

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

ID: cdc47554-5bdf-3c0b-b0aa-9cdf7dd1f552
Version Independent ID: d4f44877-99e8-4563-6b06-7b6f9bcd43bd
Content: Windows Terminal Profile Settings
Content Source: TerminalDocs/customize-settings/profile-settings.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

I will do this


Enable dependabot automerge workflow

In order to enable Dependabot PRs to pass checks and merge automatically, we should consider enabling merge queues on repositories and moving checks that require secrets - integration tests - to merge queues checks.
Moving these workflows has a side effect of improving contributor workflows, as PRs from forks can run the other checks, schema tools and lints, without requiring secrets. This would obviate the /run-acceptance-tests commands.

This may be blocked by:

https://github.com/integrations/terraform-provider-github/issues/1481

However it looks like GitHub now has an API for enabling merge queues, so we may be able to enable this via a script.


Add ScrollArea component

The PRs adds the ScrollArea component,
https://mantine.dev/core/scroll-area/
Here is a small example, which yields vertical and horizontal scroll bars,
from dash import Dash, html
import dash_mantine_components as dmc

content = """Charizard is a draconic, bipedal Pokémon. It is primarily orange with a cream underside from the chest
to the tip of its tail. It has a long neck, small blue eyes, slightly raised nostrils, and two horn-like structures
protruding from the back of its rectangular head. There are two fangs visible in the upper jaw when its mouth is
closed. Two large wings with blue-green undersides sprout from its back, and a horn-like appendage juts out from the
top of the third joint of each wing. A single wing-finger is visible through the center of each wing membrane.
Charizard's arms are short and skinny compared to its robust belly, and each limb has three white claws. It has
stocky legs with cream-colored soles on each of its plantigrade feet. The tip of its long, tapering tail burns with a
sizable flame. """

# Small example app.
app = Dash()
app.layout = html.Div(
    dmc.ScrollArea(
        html.Div(content, style=dict(width="200px", height="200px")),
    ), style=dict(height="100px", width="100px"),
)

if __name__ == '__main__':
    app.run_server()

Ah, yes. That was a mistake. It should be corrected now.


unexpected method entry in debug.Stack() output

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.9.2 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/akavel/gopath"
GORACE=""
GOROOT="/home/akavel/go"
GOTOOLDIR="/home/akavel/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build776231698=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
What did you do?
https://play.golang.org/p/VyVW40dCSU
What did you expect to see?
goroutine 1 [running]:
runtime/debug.Stack(0x31640, 0x252f, 0x8, 0xf0600)
	/usr/local/go/src/runtime/debug/stack.go:24 +0xc0
main.newTracer(0x23c00, 0x252f)
	/tmp/sandbox359837437/main.go:14 +0x20
main.main()
	/tmp/sandbox359837437/main.go:23 +0x20

What did you see instead?
goroutine 1 [running]:
runtime/debug.Stack(0x31640, 0x252f, 0x8, 0xf0600)
	/usr/local/go/src/runtime/debug/stack.go:24 +0xc0
main.newTracer(0x23c00, 0x252f)
	/tmp/sandbox359837437/main.go:14 +0x20
main.(*tracer).AddMsg(...)
	/tmp/sandbox359837437/main.go:23
main.main()
	/tmp/sandbox359837437/main.go:23 +0x20

Additional notes:

this is a simplified version of code I have, where this behavior changed since Go 1.5.4 where I last run it (the original code)
I may be missing something, but it's unclear to me why the AddMsg entry is now present in the stack trace; I'm reporting partially as a means to hopefully learn if there's an explanation if this newer version is more correct than the old one?

This is already fixed on tip (see 7c8a9615c0512815060489a491265c275127b79f)
$ gotip version
go version devel +99be9cc02c Tue Oct 31 03:54:16 2017 +0000 linux/amd64

$ gotip run test.go
goroutine 1 [running]:
runtime/debug.Stack(0xc420047f18, 0x40e448, 0x10)
	/home/alberto/go/src/runtime/debug/stack.go:24 +0xa7
main.newTracer(0x4042ec)
	/home/alberto/Desktop/test.go:14 +0x26
main.main()
	/home/alberto/Desktop/test.go:23 +0x26

Cool, thanks!


The Pytest test case is executed twice

After install pytest_robotframework, the Pytest test case is executed twice as it shows below:

Looks like it's related to #1?

can you provide some more info please:

what version of pytest-robotframework are you using
what version of pytest
any other pytest plugins you have installed
what command are you using to run the test

thanks

platform linux -- Python 3.10.14, pytest-7.0.0, pluggy-1.5.0
metadata: {'Python': '3.10.14', 'Platform': 'Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.36', 'Packages': {'pytest': '7.0.0', 'pluggy': '1.5.0'}, 'Plugins': {'xdist': '3.0.2', 'html': '4.1.1', 'flaky': '3.7.0', 'pytest_robotframework': '4.2.4', 'allure-pytest': '2.13.5', 'anyio': '4.4.0', 'metadata': '3.1.1', 'timeout': '2.1.0'}}
plugins: xdist-3.0.2, html-4.1.1, flaky-3.7.0, pytest_robotframework-4.2.4, allure-pytest-2.13.5, anyio-4.4.0, metadata-3.1.1, timeout-2.1.0
addopts = "-v --capture=tee-sys --html=results/report.html --self-contained-html --junitxml=results/report.xml --alluredir allure-results"

looks like it's the flaky plugin


Add python 3.11

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

Comparison is base (be198c8) 97.90% compared to head (3c06ea4) 97.90%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   97.90%   97.90%
=======================================
  Files           7        7
  Lines         287      287
=======================================
  Hits          281      281
  Misses          6        6

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


[Import] Some  tags dissapear from the final word doc in spite of appearing in the preview

Expected Behaviour
Upon importing this page: https://helpx-internal.corp.adobe.com/content/help/en/internal/individual/policy-process/workaround-for-mfa--multi-factor-authentication--issue.html
The following preview is shown (only the relevant part for brevity's sake-- Notice the line SME process with IMS Team (new)):

It is expected that the saved word document will also contain the line SME process with IMS Team (new)
Actual Behaviour
The line in question disappears from the saved word document:

It should be noted that not all  tags dissappear, only one (that I've noticed)
Steps to Reproduce

Run the helix importer
Import https://helpx-internal.corp.adobe.com/content/help/en/internal/individual/policy-process/workaround-for-mfa--multi-factor-authentication--issue.html
See if the line is missing from the word document.

Platform and Version
<EMAIL_ADDRESS>

This was fixed by https://github.com/adobe/helix-md2docx/issues/270


Asset gets created even though it gives an error

Creating a Asset i get this error:
"The application is not able to complete the request, due to the following error: Bigger is forbidden, as contains [bigger]"
But the asset is still created.
Windows wallet.

I have a similar error showing "The application is not able to complete the request, due to the following error: Failed to execute 'text' on 'Response': body stream already read" during creation of the CC.

@Technology89 this is correct behaviour. You are trying to create an asset with a forbidden name. So the asset-registry won't allow it. But local it will still be saved. Just others won't see the name if they receive the token


Expose TLS-related errors separately from other connection errors

This is meant to enable better error diagnostics in Lift. This also means we now have to handle both cases in the rest of prisma-engine, so I'd like some feedback on that.

CI failure seems unrelated.


ServiceAccount

Bulleted lists near the top of the document are not rendering as lists

/retitle Rendering issue with lists on auto-generated "ServiceAccount" reference page

Page reported in issue: https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/service-account-v1/
/language en

/assign

There's some enabling work we can do:

check whether the bug is that

the OpenAPI representation of ServiceAccount has invalid Markdown, or
the API reference generator does not correctly handle a valid Markdown description

ensure that at least two contributors know how to run a documentation build using the generators we have - see https://github.com/kubernetes/website/issues/46583
document how to check if the OpenAPI description for an API kind is valid

If anyone would like to break the work down here, but isn't sure how, you could file a [new] issue for one of the bullet points there, mention this comment, and explain that you'd like to learn how to help.


CFR Form - Fee Estimate Actuals - Harms Assessment

As a Ministry User
I want to be able to enter/edit the Fee Actuals while also in harms assessment
so that I don't have to change multiple states to move a request forward

Assumptions & Scope
This user story comes out of an issue that was raised whereby a Ministry user was stuck and unable to move a request to Records Review while in harms assessment. The user was unable to enter the Ministry actuals from the harms assessment state, and had to move the request back to Call for records
What is IN scope?
What is NOT in scope?

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

Handled in #3529 - closing


Gather window hover: Implement YYYY-MM-DD HH:MM:SS date option

This should probably be a global setting for all places where dates are shown, but I'm a little unsure on how to do that cleanly.
Even this is a little messy, so let me know how I should clean this up if needed!

Oh uh, looks like this causes a crash when hovering an always up fish. Don't pull this yet, I'll take a look at fixing that.

closing as im too lazy to finish this (sorry!)


(FACT-3142) Add support for Mariner to Facter 3.x

Add support for CBL-Mariner, Microsoft's Linux distribution for
cloud infrastructure and edge products and services.

Can one of the admins verify this patch?

 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.

CBL-Mariner 2.0.20220804
MARINER_BUILD_NUMBER=4d0fac3
root [ ~ ]# cat /etc/os-release
NAME="Common Base Linux Mariner"
VERSION="2.0.20220804"
ID=mariner
VERSION_ID="2.0"
PRETTY_NAME="CBL-Mariner/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/cbl-mariner"
BUG_REPORT_URL="https://aka.ms/cbl-mariner"
SUPPORT_URL="https://aka.ms/cbl-mariner"
root [ ~ ]# cat /etc/lsb-release
DISTRIB_ID="Mariner"
DISTRIB_RELEASE="2.0.20220804"
DISTRIB_CODENAME=Mariner
DISTRIB_DESCRIPTION="CBL-Mariner 2.0.20220804"
root [ ~ ]#```

```root [ ~/facter/release ]# bin/facter os
2022-08-16 05:13:01.184655 WARN  puppetlabs.facter - Could not initialize locale, even with LC_* variables cleared. Continuing without localization support
{
  architecture => "x86_64",
  family => "RedHat",
  hardware => "x86_64",
  name => "Mariner",
  release => {
    full => "2.0.20220804",
    major => "2",
    minor => "0"
  },
  selinux => {
    enabled => false
  }
}
root [ ~/facter/release ]#

Hi @mminkus thank you for your contribution, but Facter 3 (which is part of the Puppet 6 platform) will be EOL on February 28, 2023 and we don't have plans for releases between then and now. SInce the same fix was already merged to Facter 4 (main branch), I'm going to close this PR.


human-readable swc ordering

This clean ordering of SWC files will make humans feel better

Codecov Report

Merging #58 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   76.36%   76.35%   -0.02%
==========================================
  Files          12       12
  Lines        1862     1861       -1
==========================================
- Hits         1422     1421       -1
  Misses        440      440

Impacted Files
Coverage Δ

meshparty/skeleton_io.py
89.02% <100%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


Classifiers are not correctly resolved for replacement artifact

We have an shaded version of Guice, which we use to avoid Guava compatibility issues
dependencies {
    modules {
        module("com.google.inject:guice") {
            replacedBy("com.netflix.inject:guice-all", "Guice with shaded Guava to avoid compatibility issues")
        }
    }
}

If someone requests com.google.inject:guice:4.1.0:no_aop we see a resolution failure, but the artifact filename is incorrect, and doesn't reflect the replacement: com/netflix/inject/guice-all/5.1.0/guice-5.1.0-no_aop.jar (note, no -all in the filename).
Expected Behavior
The classifier artifact should resolve correctly at the replacement location.
Current Behavior
The old artifact name is used when building the filename.
Context
We publish an empty no_aop jar to avoid https://github.com/gradle/gradle/issues/20417 but found we need to vary the filename due to this bug.
Steps to Reproduce
Request a classifier for a replacement module.
Your Environment
Gradle 7.4

The problem is that for both replacements and substitutions, we did not initially consider the artifact selection part.
For substitutions, we ended up adding dedicated methods for that in Gradle 6.6.
But for replacements, the problem remains.
But it is also slightly different. In the context of a replacement, both sides must be in the graph initially. It means that we must have a selected replacement target available and selected.
So it would seem logical that the other replacement participant, the one to be replaced, would be fully replaced with whatever the target selected.
Note that capabilities conflict suffer from the same issue as their internal implementation uses similar code path.
So I would recommend Gradle fixing the issue by effectively ignoring artifact level information, if there is any, on the replacement source.
However, this could be a breaking change if you happened to replace some:foo with other:foo and that classifiers did match, it would have worked in the past but might no longer select the classified other:foo after doing the change.
So addressing the above issue should only happen in 8.0, which is what the new milestone reflects.

Unfortunately, this issue cannot be handled for 8.0.
Moving to 8.1 and we will have the conversation about the breakage to see if this can be handled as a "bug fix"

@DanielThomas can you confirm if this is still an issue with the latest 8.x?

@jvandort can you ask about this issue in our biweekly meeting?

This was not deemed a vital issue, as Netflix found a workaround. We are deprioritizing this for now

What is the workaround? I encountered similar issues when pulling dependencies that are pulling zalando's logbook with classifier.

We published empty jars for the classifiers artifacts at the replacement coordinates.


phishing document

How about we change the purple team dir to exclusively red team, this would fit there. We already have an existing blue team directory we can move any blue stuff out of the purple team section.

For your awareness @buvan008, the phshing.md doc had incorrect file types on the images (png rather than jpg). I would suggest renaming your images to something meaningful rather than just "image-x"


Bar chart color depending on the value.

Hello,
I'm doing a bar chart and I'd like that the bar with positive values had green color and red the negative values. I guess there must be a not so complicated solution for this because it's a very logical request, but I can't find it.
`var myChart = new Chart(ctx, {
type: 'bar',
data: {
labels: info.dates,
datasets: [{
label: info.label + ' ' + info.unit,
data: info.numbers,
backgroundColor: 'green',
borderWidth: 0,
fill: true,
pointRadius:0,
pointHitRadius: 10
}]
},
options: {
scales: {
    		xAxes:[{
    			ticks:{

    			},
    			gridLines:{
    				tickMarkLength: 10,
    				drawBorder: false,
    				display: false,
    			}
    		}],
        	yAxes:[{
        		gridLines:{

        			drawBorder: false,
        			display: false,
        		},
            	ticks: {
            		beginAtZero:true,
            	}
        	}]
   	 	}
	}
});

`
Thanks a lot.

You can color each individual bar using an Array in backgroundColor.
Just loop through your elements and color each bar accordingly:
Fiddle-> https://jsfiddle.net/uq99110j/6/

@BVazquezAlvarez has the correct solutions

The solution from @BVazquezAlvarez doesn't tell you what the green means, because there is only a single dataset, and therefore a single legend.
You have to do it with two datasets, filter the data based on how the coloring should work, and then stack it like this: https://jsfiddle.net/Blueblau/wqs4c60o/

getting this error!(i am using chartsJS with ng charts for angular)
typeerror cannot read property 'getcontext' of null

It seems to be an internal error. getContext is a function on the canvas element. Can you share your code on JSfiddle or somewhere similar?

TS:
`
ngOnInit() {
var myData = [2, 10, 5, 2, 20, 30, 9];

var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
  // The type of chart we want to create
  type: 'bar',

  // The data for our dataset
  data: {
    labels: ["January", "February", "March", "April", "May", "June", "July"],
    datasets: [{
      label: "Monthly goal reached",
      backgroundColor: "green",
      data: myData.map(function (value) {
        return value >= 10 ? value : null
      }),
    },
    {
      label: "Monthly goal not reached",
      backgroundColor: "red",
      data: myData.map(function (value) {
        return value < 10 ? value : null
      }),
    }
    ]
  },

  // Configuration options go here
  options: {
    scales: {
      xAxes: [{
        stacked: true
      }],
      yAxes: [{
        stacked: true
      }]
    }

  }
});`

Error:
 Property 'getContext' does not exist on type 'HTMLElement'

Do you have a canvas element with id myChart in your HTML?

yes


Cannot read delta table partitioned by a date typed column

Environment
Delta-rs version: 0.5.6
Binding: python
Environment: any

Cloud provider: any
OS: any
Other: n/a

Bug
What happened: Cannot read delta table partitioned by a date type column.
What you expected to happen: It should be able to read tables partitioned by date.
How to reproduce it:
Generate fake data and save it
from pyspark.sql import functions as F

df = spark.range(5).withColumn("date", F.lit("2021-01-01").cast("date"))
df.write.partitionBy("date").format("delta").save("partitioned_df")
print(df.schema())
# StructType(List(StructField(id,LongType,false),StructField(date,DateType,true)))

Read this with deltalake
from deltalake import DeltaTable

DeltaTable("partitioned_df").to_pandas()

This raises ArrowNotImplementedError: Unsupported cast from string to date32 using function cast_date32
Full trace:
ArrowNotImplementedError                  Traceback (most recent call last)
/Users/buraky/delta/sketch.ipynb Cell 29' in <module>
----> 1 DeltaTable("partitioned_df").to_pandas()

File ~/Environments/delta/lib/python3.8/site-packages/deltalake/table.py:321, in DeltaTable.to_pandas(self, partitions, columns, filesystem)
    307 def to_pandas(
    308     self,
    309     partitions: Optional[List[Tuple[str, str, Any]]] = None,
    310     columns: Optional[List[str]] = None,
    311     filesystem: Optional[Union[str, pa_fs.FileSystem]] = None,
    312 ) -> "pandas.DataFrame":
    313     """
    314     Build a pandas dataframe using data from the DeltaTable.
    315
   (...)
    319     :return: a pandas dataframe
    320     """
--> 321     return self.to_pyarrow_table(
    322         partitions=partitions, columns=columns, filesystem=filesystem
    323     ).to_pandas()

File ~/Environments/delta/lib/python3.8/site-packages/deltalake/table.py:303, in DeltaTable.to_pyarrow_table(self, partitions, columns, filesystem)
    289 def to_pyarrow_table(
    290     self,
    291     partitions: Optional[List[Tuple[str, str, Any]]] = None,
    292     columns: Optional[List[str]] = None,
    293     filesystem: Optional[Union[str, pa_fs.FileSystem]] = None,
    294 ) -> pyarrow.Table:
    295     """
    296     Build a PyArrow Table using data from the DeltaTable.
    297
   (...)
    301     :return: the PyArrow table
    302     """
--> 303     return self.to_pyarrow_dataset(
    304         partitions=partitions, filesystem=filesystem
    305     ).to_table(columns=columns)

File ~/Environments/delta/lib/python3.8/site-packages/pyarrow/_dataset.pyx:323, in pyarrow._dataset.Dataset.to_table()

File ~/Environments/delta/lib/python3.8/site-packages/pyarrow/_dataset.pyx:2311, in pyarrow._dataset.Scanner.to_table()

File ~/Environments/delta/lib/python3.8/site-packages/pyarrow/error.pxi:143, in pyarrow.lib.pyarrow_internal_check_status()

File ~/Environments/delta/lib/python3.8/site-packages/pyarrow/error.pxi:120, in pyarrow.lib.check_status()

ArrowNotImplementedError: Unsupported cast from string to date32 using function cast_date32

More details:
As the exception message says, it seems like there is no implementation for string to date32 in arrow. I checked arrow and saw that it eventually calls this one I guess, and string to date32 casting is not implemented.
Question: Is this a concern for deltalake project, or should this be handled within pyarrow?

@burakyilmaz321 Thanks for reporting this. I think we should be able to fix this in delta-rs. PyArrow does seem capable of parsing the partition column as a date:
>>> import pyarrow as pa
>>> import pyarrow.dataset as ds
>>> from datetime import date
>>> from tempfile import mkdtemp
>>>
>>> tab = pa.table({
...     'd': pa.array([date(2020, 1, x) for x in range(1, 4)]),
...     'x': pa.array([1, 2, 3]),
... })
>>>
>>> tmp_dir = mkdtemp()
>>> part = ds.partitioning(
...     pa.schema([("d", pa.date32())]), flavor="hive"
... )
>>> ds.write_dataset(tab, tmp_dir, partitioning=part, format='parquet')
>>> ds.dataset(tmp_dir, partitioning="hive").to_table()
pyarrow.Table
x: int64
d: string
----
x: [[1],[2],[3]]
d: [["2020-01-01"],["2020-01-02"],["2020-01-03"]]
>>> ds.dataset(tmp_dir, partitioning=part).to_table()
pyarrow.Table
x: int64
d: date32[day]
----
x: [[1],[2],[3]]
d: [[2020-01-01],[2020-01-02],[2020-01-03]]

@wjones127 I made a patch here and it works for me. I can create a PR if you are interested.

@burakyilmaz321 That looks like it will solve your case, but will break the pass through of file statistics to datasets. (In particular, I think this test will fail with this change: https://github.com/delta-io/delta-rs/blob/main/python/tests/test_table_read.py#L148).
I will likely look at fixing this issue this weekend.

@burakyilmaz321 Thanks for reporting this! 🙌
It looks like this was a regression introduced in 0.5.5; if you downgrade to 0.5.4 you should be able to read the table. I have an open PR to fix this and add tests to prevent this issue from coming up again.

Great news! Thanks ✋

Does anybody knows why they have removed this fix from version 0.5.5?

Are you using PyArrow 13.0.0? There was a regression in the PyArrow library that may cause this to fail.
https://github.com/apache/arrow/issues/37411

I had downgrade pyarrow to 12.0.0 and it works.
Thank you! @wjones127


More optimisation of the query performance for the GET Events endpoint

Is your feature request related to a problem? Please describe.
The uncached endpoint GET http://localhost:3000/api/v1/devices/events?tenant=airqo (two months lookup) takes about 1 minutes to execute.
Describe the solution you'd like
Ability to return values faster whenever Events are queried
Describe alternatives you've considered
Increase the caching time to about 30 minutes and always share cached values.
Additional context

This is related to feedback received from this closed PR-435
We can gather more inspiration from this documentation about Optimize Query Performance

This was resolved in staging, takes about 20 seconds or so......we plan to make it run in under 10 seconds in the forthcoming changes/PRs. @ja-odur


[feature] datetime column type support auto-initialized with default …

…CURRENT_TIMESTAMP
Proposed changes
Issue Number: close #9570
Problem Summary:
An auto-initialized column is set to the current timestamp for inserted rows that specify no value for the column.
so when we define a column like sync_at DateTime DEFAULT CURRENT_TIMESTAMP COMMENT "sync time"
Checklist(Required)

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

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Add regression test please.


SW-5763 Replace organization column with project name

Depends on https://github.com/terraware/terraware-server/pull/2240

#2963  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Aug 6, 5:21 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.


Unexpected output using  < as less than in a conditional

Input
<x-panel class="bg-gray-50">
    <x-content>
        @unless(isset($primaryTicketingLinkData) && $primaryTicketingLinkData['isSoldOut'] && $ticketCount <= 0)
            @include('events.partials.wanted-tickets-button')
        @endunless
    </x-content>
</x-panel>

Actual
<x-panel class="bg-gray-50">
    <x-content>
        @unless(isset($primaryTicketingLinkData) && $primaryTicketingLinkData['isSoldOut'] &&
            $ticketCount <=
                0)
                @include(
                    'events.partials.wanted-tickets-button'
                )
            @endunless
            </x-content
        >
</x-panel>

Expected
<x-panel class="bg-gray-50">
    <x-content>
        @unless(isset($primaryTicketingLinkData) && $primaryTicketingLinkData['isSoldOut'] && $ticketCount <= 0)
            @include('events.partials.wanted-tickets-button')
        @endunless
    </x-content>
</x-panel>

It seems as though it is recognising <= and trying to put the next part on a new line, thinking it is an HTML attribute.

Thanks @ianjamieson
Fixed at https://github.com/shufo/prettier-plugin-blade/releases/tag/v1.4.5

Thanks again!


Does not work with programs expecting input from stdin if sudo credentials are cached

For example, given that my password is 123, this is what I get on zensu hexdump -C:
# open a new terminal
$ zensu hexdump -C
triggered PW
[sudo] password for selurvedu: $ zensu hexdump -C
triggered PW
00000000  31 32 33 0a                                       |123.|
00000004
$

When running zensu hexdump -C for the first time, hexdump does not receive any input, hence it outputs nothing. The second time it receives 123 followed by a newline, as displayed in its ouput.
This bug cannot be seen in programs that do not not read from stdin, such as uptime, ls, etc.
Another side effect: when the credentials are cached, any wrong password is accepted.

This is not meant for CLI, only GUI. It's a legacy workaround like gksu. For CLI applications, use sudo.

Even if you consider the first bug invalid (which I can argue with), this is still a valid bug:

Another side effect: when the credentials are cached, any wrong password is accepted.

I don't see an easy fix for this, except for making two separate scripts, e.g. zensu and zensu-askpass. The first one would be a simple wrapper running SUDO_ASKPASS=/usr/bin/zensu-askpass sudo -A "$@", and the second one would do the rest, i.e., everything the current zensu script does, except for invoking sudo itself.
You can test how this works via e.g.
# /usr/lib/seahorse/ssh-askpass is owned by seahorse
$ SUDO_ASKPASS=/usr/lib/seahorse/ssh-askpass sudo -A id
uid=0(root) gid=0(root) groups=0(root)

# /usr/lib/git-core/git-gui--askpass is owned by git

$ SUDO_ASKPASS=/usr/lib/git-core/git-gui--askpass sudo -A id
uid=0(root) gid=0(root) groups=0(root)

Making a wrapper compatible with sudo -A is really simple, here's one I wrote in just a minute:
$ cat /tmp/zenity-askpass
#!/bin/sh
zenity --password

$ SUDO_ASKPASS=/tmp/zenity-askpass sudo -A id
uid=0(root) gid=0(root) groups=0(root)

The good part here is this solution would fix both problems. What do you think of it?

Can you make a pull request?


fix: support loading local files with esbuild-wasm

Native esbuild provides a default loader for local files. WASM does not
provide this, so we provide a file loader instead now.
Based on #38

Actually fixing this upstream in esbuild: https://github.com/evanw/esbuild/pull/2968


Wimis should be able to view work_days of HiWis they are responsible for

A WiMi who is "responsible" for a hiwi (is the "responsible" role in a contract with the HiWi), may view the HiWi's work_days for that contract.
A link to the HiWi's workday overview should be shown on the projects#show page.
This requires connecting worksheets / work_days with contracts.

Should this also be checked in a view test?


node inspector discovery only looks at /json/list

Some projects that expose a node inspector API might only implement the /json API, so the debugger could try to look up that resource in case the current one fails to load.
For more info see https://github.com/oracle/graal/issues/505

Sure, we can check both.

https://github.com/Microsoft/vscode-chrome-debug-core/commit/387267cf67cc204dd21dc811b5c5199af6c93d97

@roblourens How to verify?

There isn't an easy way to verify this, but code review should show that we now check the /json endpoint if checking the /json/list endpoint fails.

OK, reviewed and verified.


[SEASK-67] Provision AMI image along with Hyper-V images

1.Existing TeamCity build SEAModernizationStarterKit.QuickStartVM
updated to use new s3 bucket location
2. Upload the artifact to S3 only for ed-fi-starter-kit.vhdx file and disabled zip step.
Please verify https://intedfitools1.msdf.org/buildConfiguration/EdFi_SharedResources_StarterKit_SEAModernizationStarterKitQuickStartVM/132425
New build SEAModernizationStarterKit.QuickStartAMI created for AMI image https://intedfitools1.msdf.org/buildConfiguration/EdFi_SharedResources_StarterKit_SEAModernizationStarterKitQuickStartAMI/132447

Powershell changes look fine, but let's make sure we clean up all the disabled steps we're no longer using in TeamCity.
Change the AMI build to add a "Start-Sleep -s 5" in between the checks on the job status. We don't want to hammer AWS over and over, we need to back off a little bit in between status checks. For both cases of job status.
I'd like to see us get all that powershell into source instead of just sitting in TeamCity, but we can address that at a later date.

1 .I already clean up no longer needed steps
2. I added sleep for 10 seconds for both jobs
3. I will create new ticket for moving into powershell file later
New Build published to ami-031dbf9390fc47b33


Deployed contract wrapper documentation should show contractAddress

This page: https://etherlime.gitbook.io/etherlime/developer-documentation/etherlime-library-api/wrappers
Should show the address can be accessed with deployedContract.contractAddress

Thank you for the provided feedback. Yes, we need to include that.


Add the possiblity to restart a build

Looks like this plugin does the job:
https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin

Please note that with the blue ocean UI, there is a restart button.


Update dcp-client to 0.40.0

Updates com.couchbase.client:dcp-client from 0.33.0 to 0.40.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.couchbase.client", artifactId = "dcp-client" } ]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #114.


Review filters and add them to basic config. Normalize names of filters (custom dictionary is created for this)

Already implemented.


Displayname doesn't work

I am trying to use the  "displayname:" in fish.yml, but the fish doesn't get renamed. Please fix!

anyone?

Hi there, incredibly sorry about the delay. Over the next two weeks when I'll have a bit of free time I'm going to try and collate togerther the biggest bugs with the plugin and get the plugin back into a working state. I've been very busy with studies and am aware EMF has been put onto the backburner massively which has been less than ideal for a lot of servers and many more players. I'm going to post a spigot update of where the current codebase of the plugin's at since there's been some work done by some really great contributors but hasn't been posted to the official spigot site yet - whichever bugs still exist on that version I'll try to tackle.


[Communication] communication-chat and communication-identity smoke test failures

Smoke tests failed - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=830439&view=results

Example

@HarshaNalluru, @witemple-msft Is this due to the pending work in migrating the samples to the new framework? If so, will #14773 resolve this?

@ramya-rao-a No, this is unrelated. Samples v2 is not handled in the smoke tests pipeline logic yet.
All samples v2 will probably be skipped like this https://github.com/Azure/azure-sdk-for-js/issues/14796.

@lsundaralingam has OCE duty and is looking into root-causing the failures.

Closing as @jeremymeng is working on fixing the pipeline with ENG SYS.


[suggestion] Possible implementation of Iterators

It would be nice if for x in iter: { .... } had some sensible behaviour. The trouble with using lambdas everywhere is that they have limitations - I found they cannot themselves contain blocks.
Here is one possible interpretation of iter; it is a function (=>Option[A]). One keeps calling it and unwrapping the result (which is x: A) until None is returned.  Closures make this style very flexible.
How about for x in [10,5,2]: { ... }? One way is for classes that are iterable to expose a method called __iter which returns the above kind of function.
But then, what does iteration over a Hash mean? One approach is that the type A becomes Tuple[K,V].  More convenient if there's tuple unpacking; for (k,v) in hash: {...}. There's a fair amount of temporary object generation that happens implicitly, though!

Lambdas cannot contain blocks.

I'm curious as to what you're trying to do, and more specific as to how it's not working. If you need anonymous blocks, that's an easy feature to add. If this is about how blocks are broken, I've got plans to change how jumps will be done soon. The new jumps (they're relative instead of absolute) will solve some of the closure problems.
For iteration, I hesitate to add special methods now. There's no virtual functions, and it's too early to discuss that I feel. More importantly, traits are missing, and this seems a feature that begs for traits. I want to add traits all at once, instead of piecemeal. Gotta make sure they're done right.
You've also identified a problem: Iteration is different for different value types, and that will need to be addressed.
I rather like the eaching/mapping methods that are already present within the library, and this would add a secondary style of iteration in combination with what already exists. Before I do that, I'd like to first find out more of what you're missing within lambdas to help with that.

Yes, I noted that a multi-line lambda could not itself contain blocks, which is a limitation.
As for virtual functions, a lot of that can be done with structural typing - this type contains a certain method of the correct signature, so it matches. Go uses this with its 'interface' feature to avoid the Java problem of types having to be explicit up front about what interfaces it will implement. But I'm not a language designer - I only claim experience with implementation ;)
I await traits with interest!  What language is the model?

My colleague is learning Rust, so I've become interested. Rust traits would definitely be a useful addition - very elegant form of constraints on generic functions which C++ sorely lacks.

For traits, I plan to look toward a mix of Rust, Haskell, and Scala. The tricky part is going to be getting Traits to work with higher kinded types. My thinking is that I want traits first, and then to knock them around for a while. Once those are settled, then launching up and doing System F, HKT, and maybe rank-2 after. I still need to do a lot of research as to how HKT interacts with inheritance
I'm clueless enough about traits right now that I'm going to leave it as a mostly unanswered question. What's likely to happen, are at least:

Absolutely no implicits. I loathe Scala's implicit magic.

Pairing traits up with System F, so that you can do, for example A[_] > Iterable.

Absolutely agreed - implicit stuff is hard to reason about. You do have the 'legacy' class inheritance model to carry around, and people have known about its limitations for years.

Sometimes I like to leave issues open just in case I change my mind or some new thought comes along. For this, I remain convinced that Iterator should be a trait, and I'm a little more certain of how I want to implement those. I fully agree that iteration should be done by pattern matching on an Option result. Eventually, I may swap out each_* functions for iter_* functions.
When iterators do land, I think it would be nice though if the brace body was collected as a closure/inner function. This would then allow the syntax you're describing, while also providing callers with a way of choosing the kind of iteration they want.
 I want to do more tooling work so that I can smoothly introduce them in, unlike how enums and classes were introduced.


Add Coupons API

I mdae a ticket for tests (#23), but I'd rather have a few lines in the README before merging this ...

Oops, forgot about those.

Amended the commit to include the README.md updates


False negative with use-resource-id-functions linter rule

Reproduced in Bicep v0.30.23
The following is valid, but causes the use-resource-id-functions warning to show:
resource foo 'Microsoft.Network/publicIPAddresses@2024-01-01' existing = {
  name: 'foo'
}

var frontends = [
  {
    name: 'foo'
    id: foo.id
  }
]

resource loadBalancer 'Microsoft.Network/loadBalancers@2023-11-01' = {
  name: 'bar'
  location: 'westus'
  sku: { name: 'Standard' }
  properties: {
    frontendIPConfigurations: [for frontend in frontends: {
        name: frontend.name
        properties: {
          publicIPAddress: { id: frontend.id }
        }
      }
    ]
  }
}

We have a few similar issues: #10732, #14136, #8104.
I'm wondering if we should disable this linter rule by default if it is unreliable.

@StephenWeatherford , can you take a look. I agree with Anthony. We should disable by default if it is unrealiable.

We'll disable by default for now.

@anthony-c-martin I think you mean false positive, not negative, correcting the title.


python311Packages.aiohttp: 3.8.6 -> 3.9.0

blocked by https://github.com/aio-libs/aiohttp/issues/7858 and other test failures
Description of changes
Changelog: https://github.com/aio-libs/aiohttp/blob/v3.9.0/CHANGES.rst

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.
closes https://github.com/NixOS/nixpkgs/pull/244541

@mweinelt This breaks home-assistant.

pyproject.toml
26:    "aiohttp==3.9.0;python_version>='3.12'",
27:    "aiohttp==3.8.5;python_version<'3.12'",

I don't think we're ready for Python 3.12 just yet, but I might take a peak soon.

Can't we patch their pyproject.toml such that we can use a newer aiohttp with Python 3.11?

3.9.1 has been released, and it will be required for #270457, where runtime dependency validation will become strict again.

Rebased onto master and merged into #270457. Will carry that into python-updates soon.


Remaining code changes for Dart 2.0 SDK roll.

This is the remainder of the code changes required for rolling flutter to the Dart 2.0 SDK.  The actual  SDK + package roll will follow in a separate PR.  Changes in this PR:

One Map.fromIterable to "for in" loop change, on new code added since the last PR
Add "AnyDistanceFunction" typedef to describe union of different DistanceFunctions
Make the Navigator.push static method generic
Make the NavigatorState.push instance method use Object instead of dynamic to avoid bad interaction between "--no-implicit-dynamic" and "@optionalTypeArgs"

cc @mit-mit


Oscars 2024 results

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

... The results of the 2024 Oscars.
... Performers at the 2024 Oscars.
... Information about the award show.

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with lab generate
[ ] No errors or warnings were produced by lab generate
[x] All commits are signed off (DCO)
[x] The qna.yaml file contains at least 5 seed_examples
[x] The qna.yaml file was linted and prettified (yaml-validator can do both)

I mean... is .03 a good move up? how do we know it's not on a scale of 1000x 🤷

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8

Thank you for your submission. Here are your results:
Your PR decreased the model performance by 0.15000000000000002 points.
The model's new score is: 0.3
The old score was: 0.45
|||||||||||||||||||||||||||||| 30.0%

Thank you for your submission. Here are your results:
Your PR decreased the model performance by 0.050000000000000044 points.
The model's new score is: 0.76
The old score was: 0.81
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 76.0%


Maintenance controller now respects workers CRI configuration

How to categorize this PR?
/area control-plane
/kind bug
What this PR does / why we need it:
Without this fix the maintenance controller did not respect the worker.cri configuration when selecting a new machineImageVersion.
This change will especially become relevant when an MachineImageVersion deprecates the support for a certain containerruntime (like docker).
Which issue(s) this PR fixes:
Fixes #4305
Special notes for your reviewer:
See the commit messages for the reasoning behind the changes, for example the reasoning behind the refactoring.
As a follow-up we would open an issue to also refactor maintaining the K8s version similar to 584ef1a
Release note:

The maintenance controller now respects the CRI configuration when selecting a new MachineImageVersion.

cc @voelzmo

/assign

/status author-action

/unassign


Support renaming

For instance, the name and the id of a service template should be changeable.

Partially solved at https://github.com/eclipse/winery/pull/36, follow up at https://github.com/lharzenetter/winery/issues/28


Create component OuiLoadingDashboards

This component is intended to replace the deprecated OuiLoadingElastic component.
Use the custom component that is created for dashboards - original issue found here: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/387

[ ] Create Component
[ ] Add component details to OUI Docs

The loader can be found here https://github.com/opensearch-project/OpenSearch-Dashboards/blob/2.6/src/core/server/rendering/views/template.tsx#L68-L95

The loader can be found here https://github.com/opensearch-project/OpenSearch-Dashboards/blob/2.6/src/core/server/rendering/views/template.tsx#L68-L95

Hello @ashwin-pc, thank you for the information provided. I am going to work on this issue

completed via https://github.com/opensearch-project/oui/pull/597


Session does not persist in WSL2

VS Code Version: 1.79.0-insider
OS Version: Windows 11 Pro 10.0.22621 Build 22621 + WSL2 Ubuntu 22.04.2 LTS
Logs:

Steps to Reproduce:

Set up Copilot Nightly
Reload window or close current window and open a new one
You will be asked to sign in again

Output from Github Copilot Chat
[INFO] [auth] [2023-05-21T20:09:57.588Z] GitHub login failed
[ERROR] [default] [2023-05-21T20:09:57.594Z] You are not signed in to GitHub. Please sign in to use Copilot.

The same seems to happen with the Pull Requests extension.

Same issue here in:
VS Code Version: 1.79.0-insider (Universal)
macOs Ventura: 13.3.1 (a)

@TylerLeonhardt is that an issue for core or extension related?

@Aplietexe can you give this troubleshooting doc a try? https://code.visualstudio.com/docs/editor/settings-sync#_windows
You say WSL2 but I'm assuming the VS Code UI is the Windows app and not the Linux app, yes? If so, follow the Windows troubleshooting steps.

As of

code-insiders 1.80.0-insider
GitHub Copilot Chat v0.3.2023062302
GitHub Copilot Nightly v1.92.182

the problem seems fixed.


QT-Py internal NEOPixel

Hi,
I have been trying to run the example put out on ADAFruit by Kattni but I have not had any suceess getting the internal LED to change colors. I have loaded the two files into my lib folder as well. I believe the program maybe missing an import adafruit_pypixel buf and maybe something else. Can I get some help NEWB, example as follows;
"""
Blink example for boards with ONLY a NeoPixel LED (e.g. without a built-in red LED).
Includes QT Py and various Trinkeys.
Requires two libraries from the Adafruit CircuitPython Library Bundle. Download the bundle
from circuitpython.org/libraries and copy the following files to your CIRCUITPY/lib folder:

neopixel.mpy
adafruit_pypixelbuf.mpy
Once the libraries are copied, save this file as code.py to your CIRCUITPY drive to run it.
"""
import time
import board
import neopixel

pixels = neopixel.NeoPixel(board.NEOPIXEL, 1)
while True:
pixels.fill((255, 0, 0))
time.sleep(0.5)
pixels.fill((0, 0, 0))
time.sleep(0.5)

What on earth are you on about? How is this about Qt.py (the project you are posting this under)? xD

You obviously didn’t read it 🙄. Look instead of being rude, if you don’t want to answer about an example program for a QT_Py then don’t comment. But the comment clearly says for QT_Py.

I assume this is your QT PY, https://github.com/adafruit/Adafruit-QT-Py-PCB
And this project is for the Python bindings of this Qt https://www.qt.io/

I assume this is your QT PY, https://github.com/adafruit/Adafruit-QT-Py-PCB
And this project is for the Python bindings of this Qt https://www.qt.io/

davidlatwe
This is the project link I am referring too. Like I mentioned I'm a NEWBIE so I may not being missing some steps.
I am running the latest version of Circuit Python 6.3 and loading the file with MU editor as the QT-Py suggest. This is the first sample project on ADAFruit https://learn.adafruit.com/adafruit-qt-py/circuitpython
https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Welcome_to_CircuitPython/neopixel_blink.py

Sorry mate, WRONG classroom for you to ask any question.
Perhaps you are not familiar with GitHub, so just want to make sure you know that, when you find a project that named like the one you are looking for, doesn't mean it serve for the same goal. And most of the project has a README page, please read it first before asking any question.
Lastly, NO ONE HERE working with ADAFruit NOR LED stuff.
You will NOT get anything you need here, not because we are being rude but you are in the wrong place.


lint errors

After adding eslint rules related to switch statements (https://github.com/phetsims/chipper/issues/485), scenery is failing lint.
grunt lint
Scenery

Running "eslint:files" (eslint) task

/Volumes/b5 Data1/PhET/GitHub/dot/js/SingularValueDecomposition.js
  309:7  error  Expected a default case  default-case

/Volumes/b5 Data1/PhET/GitHub/kite/js/util/LineStyles.js
   98:9  error  Expected a default case  default-case
  156:7  error  Expected a default case  default-case

/Volumes/b5 Data1/PhET/GitHub/scenery/js/display/Display.js
  1332:9  error  Expected a default case  default-case

/Volumes/b5 Data1/PhET/GitHub/scenery/js/input/Mouse.js
  65:7  error  Expected a default case  default-case
  85:7  error  Expected a default case  default-case

✖ 6 problems (6 errors, 0 warnings)

Warning: Task "eslint:files" failed. Use --force to continue.

Aborted due to warnings.

Since this prevents all sims from building, I'll take care of it.

Some of the above errors are due to kite and dot.  I'll fix those as part of this issue.

Fixes pushed. @jonathanolson please review.

Looks good, thanks!


Dragging window while maximized in Windows 10 doesn't reset maximized status

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10 version 1703

Hyper.app version: 1.4.4

Link of a Gist with the contents of your .hyper.js: https://gist.github.com/axelitus/742ad5ce3359b9c22bba547ca2b1f8ed

Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A

The issue is reproducible in vanilla Hyper.app:

Issue
When Hyper is maximized and one drags the window to move it, the normal behavior is that the window gets "restored" (looses the maximized status). This does not happen for Hyper.
The Hyper window gets moved to the new coordinates, but the window is still "maximized".

So dragging the window again and trying to "attach" to the Windows sweet spots does not work (because it is already maximized). The "restore" button must be clicked and then the maximize button again.
What should happen is that when Hyper get's dragged, the "restored" window status should be set.

Hmm... For me everything is working as expected.
By looking at your .hyper.js file it seems that you are using some plugins.
Do you mind testing this without them?
I guess this code takes care of that:
https://github.com/zeit/hyper/blob/master/app/ui/window.js#L154
For reference, here's my vanilla hyper:

cc @axelitus

I'll reset the hyper.js file, but I need to do this on monday to do this on the same computer.
In my laptop that I'm currently on it works as expected, exactly as @wilsontayar image (I'm using latest version 1.4.6 here though).

Indeed I can confirm this is happening due to a plugin installed. I removed my hyper.js config file and started with a clean one and it's working flawlessly. I'm going to try and pinpoint which one of the plugins caused this issue, but for now, I'll close this as it's obviously not Hyper's issue. Thanks, @wilsontayar and @chabou!

It seems the plugin 'hyper-tabs-enhanced' was causing all of my issues (#2094, #2095 and this one). I have removed that plugin and now it's working fine. This is my new hyper.js file.


dotnet-sdk-3.0 does not exist

Problem encountered on https://dotnet.microsoft.com/download/linux-package-manager/sdk-3.0.100
Operating System:
I followed the instructions, but dotnet-sdk-3.0 wasn't available.  2.1 and 2.2 were.
My version is openSUSE Tumbleweed, version 20191116.

Which instructions did you follow? We don't support Tumbleweed, only openSUSE Leap.

https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md#linux
Details on why we don't support Tumbleweed here: https://github.com/dotnet/core-setup/issues/5662#issuecomment-479651127.

I see that 3.0 isn't available on https://packages.microsoft.com/opensuse/42.3/prod/, so I'm guessing you used the OpenSUSE 42.3 instructions. 42.3 is EOL and shouldn't be used: https://en.opensuse.org/Lifetime#Discontinued_distributions. openSUSE Leap 15's instructions might work for you, it's newer. (openSUSE Leap version numbers jumped backwards.)
I think we should remove 42.3 from the dropdown... filing an internal issue for that.

No response in a week, closing.
Please reopen if you have an answer to @dagood's question.


Feature: The new modified branch

Closes #137
Fixes Issue
In this updated version, I've introduced CSS variables for colors, making it easier to maintain and change the color scheme of your project. The --primary-color and --background-color variables are defined in the :root selector, which sets the foundation for the color palette. The body background color now utilizes the --background-color variable, ensuring consistency.
This change not only enhances the maintainability of your code but also provides a more dynamic approach to theming your application.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Thanks a lot @ShwetKhatri2001 !!


Rethrow server response parse errors as an ApiException

Rethrow server response parse errors as an ApiException and log debug messages to aid in debugging unexpected server responses.

Codecov Report

Merging #117 (b614c2e) into main (8b08c6d) will decrease coverage by 0.39%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
- Coverage   96.35%   95.96%   -0.40%
==========================================
  Files          10       10
  Lines         714      719       +5
==========================================
+ Hits          688      690       +2
- Misses         26       29       +3

Impacted Files
Coverage Δ

gcal_sync/api.py
97.91% <57.14%> (-1.55%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Wisconsin move to 16+

[{"key":"wisconsin","type":"vaccination","value":{"content":{"activePhase":"2","phases":[{"id":"1a","qualifications":[{"question":"c19.eligibility.question/long_term_care_resident.are","moreInfoText":"c19.eligibility.moreinfo/long_term_care_resident.are.wi.1a"},{"question":"c19.eligibility.question/essential_worker.ff_leo_corrections","moreInfoText":"c19.eligibility.moreinfo/essential_worker.ff_leo_corrections.wi.1a"},{"question":"c19.eligibility.question/age.65_up"},{"question":"c19.eligibility.question/essential_worker.are_you","moreInfoText":"c19.eligibility.moreinfo/essential_worker.are_you.wi.1a"},{"question":"c19.eligibility.question/essential_worker","moreInfoText":"c19.eligibility.moreinfo/essential_worker.wi.1a"},{"question":"c19.eligibility.question/congregate.do","moreInfoText":"c19.eligibility.moreinfo/congregate.do.wi.1a"},{"question":"c19.eligibility.question/health","moreInfoText":"c19.eligibility.moreinfo/health.wi.1a"},{"question":"c19.eligibility.question/healthcare_worker","moreInfoText":"c19.eligibility.moreinfo/healthcare_worker.wi.1a"},{"question":"c19.eligibility.question/long_term_care_resident.are_you","moreInfoText":"c19.eligibility.moreinfo/long_term_care_resident.are_you.wi.1a"}]},{"id":"2","label":"2","qualifications":[{"question":"c19.eligibility.question/age.16_up","moreInfoText":"c19.eligibility.moreinfo/age.16_up.wi.2"}]}]}}},{"key":"wisconsin","type":"strings","value":{"content":{"c19.eligibility.moreinfo/age.16_up.wi.2":{"en-us":"All individuals ages 16 and older became eligible for the vaccine on April 5. Remember vaccine providers will prioritize previously eligible groups before vaccinating this group.\n\nPlease note the Pfizer vaccine is authorized for use in people age 16 and older. The Moderna and Johnson & Johnson vaccines are authorized for use in people age 18 and older"}}}}]


Add command for move of object.

This adds the command to move an object, and choose the
direction it will move.
Note that the workspace.json has changed to include the new
intent for move, and the new entities for direction.

Yeah, you don't need down, because of gravity :)


As a service author, the status of async app deployment is reported to the broker client

When apps are deployed, App Broker should return immediately from the OSB "create service"  interface call and report that the service instance creation is being done asynchronously. The current state of the deployment (in progress, success, failure) should be reported when the OSB "get last operation" interface call.

The work for this story has been completed in several other commits.


always got error althougt email is real

Hi, I always got Error 421 Cannot connect to SMTP server <IP_ADDRESS> (<IP_ADDRESS>:25), connect error 10060 althought it's valid email
Do you have any ideas to fix it

Code: 421, Msg: 421 Cannot connect to SMTP server <IP_ADDRESS> (<IP_ADDRESS>:25), connect error 10060

Hi,
Can you give me the email so i can test with it ?
Thks

BTW if this is a SMTP error i can't do nothing. You have to treat this email as valid and send a mail to the user to validate the mail. This library can't validate an email at 100%, it should be used in addition to the send of an activitation email.

should use certain smtp setting to make this library works?


[ENH] Add version context in python

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

Remove cache for collections, forcing a sysdb query
This is needed for correctness
This will incur a performance hit
Remove validate_collection in segment.py in favor of get_collection since the cache no longer exists
Introduce RequestVersionContext to propagate the version/log position to segments (on query nodes).
The RequestVersionContext is only used in distributed

Test plan
How are these changes tested?

[x] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
None

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2827  👈
#2826
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @HammadB and the rest of your teammates on  Graphite

Merge activity

Sep 25, 1:54 PM EDT: @HammadB started a stack merge that includes this pull request via Graphite.


Broken link

Short description of what this resolves:
Just a broken link fix
Changes proposed in this pull request:

Fixed broken link in slides documentation.

Ionic Version: 1.x / 2.x / 3.x / 4.x
Current.
Fixes: #
Fix broken link

You might wanna include the changes proposed in this PR

@christopheelkhourysaradar, I've updated the description.

Thank you! Could you instead make it point to the v3 source? https://github.com/ionic-team/ionic/blob/v3/src/components/slides/slides.ts
We are redoing the docs completely for v4. 🙂

Actually just merged this change as part of an older PR: https://github.com/ionic-team/ionic/pull/14413
Thank you though!!

;)


Verify Public merged PRs in Gallery

Adding required badges:
https://github.com/NuGet/NuGetGallery/pull/3415
https://github.com/NuGet/NuGetGallery/pull/3418
Check that the badges show up on the pages.
Optimizing png images
https://github.com/NuGet/NuGetGallery/pull/3429

Verified #3415 and #3418


github_repo service should create required webhook automatically.

fixed in : https://github.com/Jumpscale/ays_gig_github_dev_process/pull/19


Adding initial ts types

It's not complete but it can help with TS errors

TS support added in #29.


INTLY-2555 - apicast

https://issues.jboss.org/browse/INTLY-2555

@finp I think this is largely OK, but the section we're missing is @evanshortiss's content that details Integreatly specifics on how to hook up a prod APIcast to an Integreatly cluster

@jasonmadigan @finp I can forward the email where this was discussed if necessary.

from talking with Joe, unsure if this is necessary


[Bug] [seatunnel-hadoop3-3.1.4-uber] This jar package is not up to date

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
The binary package I downloaded from the official website is not up to date [seatunnel-hadoop3-3.1.4-uber.jar]
SeaTunnel Version
2.3.7
SeaTunnel Config
# Defining the runtime environment
env {
  parallelism = 1
  job.mode = "BATCH"
}

source {
  # This is a example source plugin **only for test and demonstrate the feature source plugin**
   FtpFile {
   result_table_name = "fake"
    host = "<IP_ADDRESS>"
    port = 21
    user = "ftpuser"
    password = "ftpuser"
    path = "/data/ftp/2.json"
    file_format_type = "json"
    schema = {
      fields {
        name = string
        age = tinyint
      }
    }
  }
  # If you would like to get more information about how to configure seatunnel and see full list of source plugins,
  # please go to https://seatunnel.apache.org/docs/category/source-v2
}

transform {
  # If you would like to get more information about how to configure seatunnel and see full list of transform plugins,
    # please go to https://seatunnel.apache.org/docs/category/transform-v2
}

sink {
    console{
    source_table_name = "fake"
    }
     S3File {
     source_table_name = "fake"
    bucket = "s3a://test"
    tmp_path = "/seatunnel"
    path="/seatunnel"
    fs.s3a.endpoint="http://<IP_ADDRESS>:49000"
    fs.s3a.aws.credentials.provider="org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
    access_key = "minioadmin"
    secret_key = "minioadmin"
    file_format_type = "json"
    hadoop_s3_properties {
      "fs.s3a.buffer.dir" = "/home/hadoop"
      "fs.s3a.fast.upload.buffer" = "disk"
    }
  }
  # If you would like to get more information about how to configure seatunnel and see full list of sink plugins,
  # please go to https://seatunnel.apache.org/docs/category/sink-v2
}

Running Command
../bin/seatunnel.sh -c s3.conf

Error Exception
Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:211)
	at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
	at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
Caused by: org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.hadoop.util.SemaphoredDelegatingExecutor.<init>(Lcom/google/common/util/concurrent/ListeningExecutorService;IZ)V
	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:292)
	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:74)
	at org.apache.seatunnel.engine.server.task.SeaTunnelTransformCollector.collect(SeaTunnelTransformCollector.java:39)
	at org.apache.seatunnel.engine.server.task.SeaTunnelTransformCollector.collect(SeaTunnelTransformCollector.java:27)
	at org.apache.seatunnel.engine.server.task.group.queue.IntermediateBlockingQueue.handleRecord(IntermediateBlockingQueue.java:75)
	at org.apache.seatunnel.engine.server.task.group.queue.IntermediateBlockingQueue.collect(IntermediateBlockingQueue.java:50)
	at org.apache.seatunnel.engine.server.task.flow.IntermediateQueueFlowLifeCycle.collect(IntermediateQueueFlowLifeCycle.java:51)
	at org.apache.seatunnel.engine.server.task.TransformSeaTunnelTask.collect(TransformSeaTunnelTask.java:73)
	at org.apache.seatunnel.engine.server.task.SeaTunnelTask.stateProcess(SeaTunnelTask.java:168)
	at org.apache.seatunnel.engine.server.task.TransformSeaTunnelTask.call(TransformSeaTunnelTask.java:78)
	at org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:717)
	at org.apache.seatunnel.engine.server.TaskExecutionService$NamedTaskWrapper.run(TaskExecutionService.java:1039)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.hadoop.util.SemaphoredDelegatingExecutor.<init>(Lcom/google/common/util/concurrent/ListeningExecutorService;IZ)V
	at org.apache.seatunnel.api.sink.multitablesink.MultiTableSinkWriter.subSinkErrorCheck(MultiTableSinkWriter.java:121)
	at org.apache.seatunnel.api.sink.multitablesink.MultiTableSinkWriter.write(MultiTableSinkWriter.java:158)
	at org.apache.seatunnel.api.sink.multitablesink.MultiTableSinkWriter.write(MultiTableSinkWriter.java:43)
	at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:269)
	... 16 more
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.util.SemaphoredDelegatingExecutor.<init>(Lcom/google/common/util/concurrent/ListeningExecutorService;IZ)V
	at org.apache.hadoop.fs.s3a.S3AFileSystem.create(S3AFileSystem.java:769)
	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1118)
	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1098)
	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:987)
	at org.apache.seatunnel.connectors.seatunnel.file.hadoop.HadoopFileSystemProxy.getOutputStream(HadoopFileSystemProxy.java:162)
	at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.JsonWriteStrategy.getOrCreateOutputStream(JsonWriteStrategy.java:125)
	at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.JsonWriteStrategy.write(JsonWriteStrategy.java:69)
	at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSinkWriter.write(BaseFileSinkWriter.java:134)
	at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSinkWriter.write(BaseFileSinkWriter.java:46)
	at org.apache.seatunnel.api.sink.multitablesink.MultiTableWriterRunnable.run(MultiTableWriterRunnable.java:62)
	... 5 more

	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:203)

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

downloading the source code and recompiling it will solve this problem

same issue with writing iceberg on s3. @FLOWFOX what should be recompiled?

downloading the source code and recompiling seatunnel-shade/seatunnel-hadoop3-3.1.4-uber project @YuriyGavrilov

Yep it is working. good compile with java 17 Azul. thx @FLOWFOX

Hi @FLOWFOX @YuriyGavrilov , are you build on mac/linux?

@Hisoka-X yes, used Mac OS X on intel chip and latest maven

@Hisoka-X yes, used Mac OS X on intel chip and latest maven.
First way was to use latest java but it didn't work fine with 22, 21 and so on till 17

Thanks for share this information.


Wrong french translation for the streams privacy settings

When you edit a stream privacy settings, one label and one description are wrong.
Original text in the french translation file (mistakes in bold italic) :

"Private, shared history": "Privé, historique protégé",
"Must be invited by a subscriber; new subscribers can view complete message history; hidden from non-administrator users": "Doit être invité par un abonné; les nouveaux abonnés peuvent afficher l'historique complet des messages; caché aux utilisateurs non administrateurs",
"Private, protected history": "Privé, historique protégé",
"Must be invited by a subscriber; new subscribers can only see messages sent after they join; hidden from non-administrator users": "Doit être invité par un abonné; les nouveaux abonnés ne peuvent voir les messages envoyés qu'après leur inscription; caché aux utilisateurs non administrateurs",

The label is juste plain wrong copy/paste and should be "historique partagé"
The description is misleading because a litteral translation french to english would be "new subscribers can only see previously sent message (as in, complete history) after they join" which is kinda nonsens and how a shared history works, not the protected one.

On a side note, but my english is not perfect at all, I believe a better translation of "protected history" in english would be "historique limité" (as in limited scope).
Here is my proposed fix in case someone just wants to copy/paste it into the file :
"Private, shared history": "Privé, historique partagé",
"Must be invited by a subscriber; new subscribers can view complete message history; hidden from non-administrator users": "Doit être invité par un abonné; les nouveaux abonnés peuvent afficher l'historique complet des messages; caché aux utilisateurs non administrateurs",
"Private, protected history": "Privé, historique limité",
"Must be invited by a subscriber; new subscribers can only see messages sent after they join; hidden from non-administrator users": "Doit être invité par un abonné; les nouveaux abonnés peuvent voir uniquement les messages envoyés après leur inscription; caché aux utilisateurs non administrateurs",

Thanks for those notes, @Tignus !
Zulip translations are managed via Transifex, and we'd love to have your contributions there. Please see https://zulip.readthedocs.io/en/latest/translating/translating.html for instructions on how to get started.

Further discussion on CZO here.

Thanks @Plankter for fixing this !


Randomic responses inside chained questions

It would be great to be able to do something like:
<input type="text" cf-questions="Hello!|Hi!|What's up?!&&Please tell me your name."/>

The way it is now, the second message "Please tell me your name." is shown only when the "What's up?" is used.

@kandebonfim That makes good sense. I'll discuss this with the team. Also, please do not hesitate to fork and do a Pull Request as it might speed up the process 😎

Hi @kandebonfim. Since this can be accomplished with a bit of redundant text we will not move forward with this feature. You are more than welcome to do a PR for this feature as that will greatly increase the chances of it being included in the next release :)


Build the script to generate the whole KMM project

Why
After finalizing the KMM Templates's project structure, we should build a script to help the developers to generate the new KMM project with some initial input parameters, such as project name, app name, app id, etc.

As leveraging Kotlin is the main idea of KMM, we should try to use Kotlin as much as possible as the main script's language.
We should find a way to make the template to be configurable such as using mustache template using manually using text replacement with a high risk of mistakes of wrong content generating.
The script will generate the whole KMM project from android, and ios to the shared module.

Who Benefits?
Developers

@phongvhd93 With the completion of these 2 PRs #41 + #32 and our approach is to reuse the scripts from Android and iOS templates, I think this task is unnecessary:

The main script to build the whole template is completed from task #29.

For this point

We should find a way to make the template to be configurable such as using mustache template using manually using text replacement with a high risk of mistakes of wrong content generating.

It would be done separately in each Android and iOS templates. So it's better to discuss with the chapter and improve it on each side before using them for KMM Templates.

What do you think?

@phongvhd93 Ah, I just realized that we need to update package names, project names, etc., for the shared module. So, this task is still valid to do 🙏


Change security-auditlog-* index replicas

It would be good to have a possibility for managing a template or setting that indicates count of replicas.
https://discuss.opendistrocommunity.dev/t/change-security-auditlog-index-replicas/1799

Closing as solved via workaround here


Revise column-projection optimization to capture common dask-sql patterns

Background
TLDR; This PR adds a simple (but convenient) SelectionLayer, and revises optimize_dataframe_getitem (column projection) to capture common Dask-SQL queries (where SELECT is used with a WHERE filter statement).
What is column projection?
Column projection is a graph/query optimization in which information from one or more column-selection operations are "pushed" down into the originating IO operation.  For example, an unoptimized operation like dd.read_parquet(path)[["a", "b"]] will start by reading all data from path before dropping all columns except "a" and "b". A column-projection optimization would convert the actual behavior of this operation to dd.read_parquet(path, columns=["a", "b"][["a", "b"]] (to avoid unnecessary IO).
Current Column-Projection Optimization
The current column-projection implementation (in optimize_dataframe_getitem) is only designed to handle the simple case that a getitem-based column selection is directly preceded by the root IO layer. Therefore, the optimization will inspect the HighLevelGraph (HLG) layers, and look for a pattern like the following:

This optimization covers many common Dask use cases, but it does not cover the case that a filtering operation is performed before the primary column-selection operation is performed. Take the following workflow for example:
ddf = read_parquet(path)
ddf2 = ddf[ddf["b"] > 10][["a"]]

In this case, we start by filtering rows using the values of column "b", but  select only column "a" after this filter operation is complete.  Cases like this are fairly common when SQL-style queries are mapped to the dask-dataframe API in Dask-SQL (e.g. "SELECT a FROM table WHERE b < 10"). Since cases like this are somewhat common, I feel that we should support the corresponding HLG patterns:

Goals of this PR
The revised optimize_dataframe_getitem implementation in this PR aims to capture the general case that a filter operation is applied prior to the primary column selection. It may seem daunting to capture the "general" case without having an elegant high-level expression system to lean on.  However, SQL-style filtering happens to produce a convenient HLG-layer pattern where brute-force logic is quite tractable.  The key is that (1) all direct dependents of the root IO layer must be a "column-" or "row-selection" getitem layer, (2) If there is a "row-selection" dependency, all other dependents must be "column-selection" layers that are part of the same subgraph that feed into the single "row-selection" layer. It doesn't matter what comes after the column-selection layers, as long as the subgraph is terminated correctly.
For example, a Dask-SQL query like "SELECT a FROM my_table WHERE a = 1 OR (b > 5 AND b < 10)" will produce the following HLG (where column-projection is indeed supported):

Other Notes
In order to simplify the logic in optimize_dataframe_getitem, this PR also introduces a new (very simple) SelectionLayer class. This class is not required for the expanded column-projection support. However, I do feel that this class makes somewhat complex logic a bit more intuitive/readable.

[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

@rjzamora looks like those CI issues have been resolved, would you mind merging main? @jrbourbeau would you mind having a look at this?

Thanks for the ping @scharlottej13 !
Note to @jrbourbeau (or any other awesome person who finds time to review): I am very confident that we should revise the optimize_dataframe_getitem implementation to capture column-selection after a filter, and IO think the algorithm here makes sense. However, I am not 100% confident that this PR should add a new SelectionLayer. That is, I like that the new class simplifies the optimize_dataframe_getitem logic, but I'm also hesitant to add code that is not completely necessary.

Before having a look though this, I have a general question. For your example ddf[ddf["b"] > 10][["a"]], it might make sense to have read(.., columns=["a", "b"]), but it might instead make sense to have read(.., columns=["a"]),read(.., columns=["b"]), splitting the IO layer. It's probably not easy to know when this splitting is superior, as it will even depend on the specific file format, but I bet this form wins sometimes. I can imagine some cases where reading all the columns you need in the graph in one layer is simply not possible due to memory constraints, but splitting the reads is.

Before having a look though this, I have a general question. For your example ddf[ddf["b"] > 10][["a"]], it might make sense to have read(.., columns=["a", "b"]), but it might instead make sense to have read(.., columns=["a"]),read(.., columns=["b"]), splitting the IO layer. It's probably not easy to know when this splitting is superior, as it will even depend on the specific file format, but I bet this form wins sometimes. I can imagine some cases where reading all the columns you need in the graph in one layer is simply not possible due to memory constraints, but splitting the reads is.

Great point - I agree that there are likely to be some special cases where performing multiple reads with different column susbsets will be most performant. I am not making any effort to capture these cases here since they are likely to be rare (if no impossible) for the specific pattern produced by Dask-SQL. In practice, most of these simple "filter-then-select" graphs will comprise all Blockwise layers (and so high-level fusion will produce a single task for every partition anyway).

Doctest failures seem related to #8517 (cc @jsignell )

Note: I will likely give this a careful look and merge EOD tomorrow if no one else is planning to review :)

Doctest failures seem related to #8517 (cc @jsignell )

Thanks for the ping! Should be fixed in https://github.com/dask/dask/pull/8793

One question though: the tests all are for parquet only (both the new tests and the existing tests), but iiuc this optimization will also apply for other IO functionality that uses the DataFrameIOLayer (like read_csv). Is this accurate, and if so should a test be added for that functionality as well?

You are correct - Thanks for the suggestion.  The getitem optimization does have "simple" test coverage for all relevant IO functions.  However, I just added a new csv test with filters to be safe.


About error 'EncoderDecoderMask2Former is not in the models registry'

Hello, when I run model_VitAdapter = init_segmentor(config_file_VitAdapter , checkpoint_file_VitAdapter, device='cuda:0'), it says this error, how to solve it~~ Thank you very much~~!

Hello, when I run model_VitAdapter = init_segmentor(config_file_VitAdapter , checkpoint_file_VitAdapter, device='cuda:0'), it says this error, how to solve it~~ Thank you very much~~!

Hi! When you use EncoderDecoderMask2Former, you need to import package "mmseg_custom" and import EncoderDecoderMask2Former somewhere. Like file ViT-Adapter/segmentation/mmseg_custom/models/segmentors/__init__.py.

Hi, after
!python mmseg_custom/models/segmentors/init.py I get
Traceback (most recent call last):
File "mmseg_custom/models/segmentors/init.py", line 2, in
from .encoder_decoder_mask2former import EncoderDecoderMask2Former
ImportError: attempted relative import with no known parent package
What should I change~~ Thank you!!

Hi, after !python mmseg_custom/models/segmentors/init.py I get
Traceback (most recent call last): File "mmseg_custom/models/segmentors/init.py", line 2, in from .encoder_decoder_mask2former import EncoderDecoderMask2Former ImportError: attempted relative import with no known parent package What should I change~~ Thank you!!

You do not need to actually run the init file, just import mmseg_custom in your script and add your current work dir to your environment variable PYTHONPATH.

when I type import mmseg_custom, there is ModuleNotFoundError: No module named 'mmdet' caused by ----> 3 from mmdet.utils import util_mixins

when I type import mmseg_custom, there is ModuleNotFoundError: No module named 'mmdet' caused by ----> 3 from mmdet.utils import util_mixins

I think this error means you need to install "mmdet" first. You can follow the instructions in the Usage in here.

I cannot install mmdet as your code to get the error of  ERROR: Command errored out with exit status 1:
command: /home/jinshan/anaconda3/bin/python /home/jinshan/anaconda3/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-81klhbox/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'cython>=0.27.3' oldest-supported-numpy 'setuptools>=43.0.0' wheel
cwd: None
I tried !pip install openmim
!mim install mmdet==2.22.0 but still got the error ERROR: Command errored out with exit status 1:
command: /home/jinshan/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-download-arfq_jcg/mmdet/setup.py'"'"'; file='"'"'/tmp/pip-download-arfq_jcg/mmdet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-zyqum7yy
cwd: /tmp/pip-download-arfq_jcg/mmdet/
Complete output (2 lines):
Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
Have you met the same problem and how have you solved~ Thank you very very much

Oh I found it could work on python 3.7, I am using the 3.8.. I will try it later~~ Thank you

Hi, I have more errors when I use python 3.7.. I cannot implement it, could you give me the code for training the model with the config and pth? Thank you!!!!

Hi, I have more errors when I use python 3.7.. I cannot implement it, could you give me the code for training the model with the config and pth? Thank you!!!!

Hi! This code repo is the official implementation of ViT-Adapter. You can follow the guidelines in the README file to train/evaluate a model you like.
If you want to train Mask2Former-BeiT-Adapter, you should prepare an appropriate python environment. (Follow the instructions here. )
After that, you should also prepare some necessary files:

Download the ade20k data to the directory ViT-Adapter/segmentation/data/;
Download the pre-trained weight of BEiT-Large (here) to the directory ViT-Adapter/segmentation/pretrained/;

Your working dir should be ViT-Adapter/segmentation/.
Then run
sh dist_train.sh configs/ade20k/mask2former_beit_adapter_large_640_160k_ade20k_ss.py 8
for an 8-GPUs training, or run
python train.py configs/ade20k/mask2former_beit_adapter_large_640_160k_ade20k_ss.py
for a single-GPU training.

Hi, I got the error "EncoderDecoder: 'BEiTAdapter is not in the models registry'" and I imported the mmseg_custom got error:/ViT-Adapter/segmentation/mmseg_custom/models/backbones/beit_adapter.py in
8 import torch.nn.functional as F
9 from mmseg.models.builder import BACKBONES
---> 10 from ops.modules import MSDeformAttn
11 from timm.models.layers import DropPath, trunc_normal_
12 from torch.nn.init import normal_
ModuleNotFoundError: No module named 'ops.modules'

Hi, I got the error "EncoderDecoder: 'BEiTAdapter is not in the models registry'" and I imported the mmseg_custom got error:/ViT-Adapter/segmentation/mmseg_custom/models/backbones/beit_adapter.py in 8 import torch.nn.functional as F 9 from mmseg.models.builder import BACKBONES ---> 10 from ops.modules import MSDeformAttn 11 from timm.models.layers import DropPath, trunc_normal_ 12 from torch.nn.init import normal_
ModuleNotFoundError: No module named 'ops.modules'

Hi, you need to compile the ops module first. You can follow the last two lines of instructions in the usage. First, compile the module in the detection folder and create a soft link to ops in the segmentation folder.

Hi, I followed the last two lines and get error:
Traceback (most recent call last):
File "setup.py", line 70, in
ext_modules=get_extensions(),
File "setup.py", line 43, in get_extensions
raise NotImplementedError('Cuda is not availabel')
NotImplementedError: Cuda is not availabel
from the command line  sh make.sh
which the error comes from if torch.cuda.is_available() and CUDA_HOME is not None:...else.....
I tried shows the  torch.cuda.is_available() is True but CUDA_HOME is None, so what could I do to solve it~~~ Thank you

Hi, I followed the last two lines and get error: Traceback (most recent call last): File "setup.py", line 70, in ext_modules=get_extensions(), File "setup.py", line 43, in get_extensions raise NotImplementedError('Cuda is not availabel') NotImplementedError: Cuda is not availabel from the command line sh make.sh which the error comes from if torch.cuda.is_available() and CUDA_HOME is not None:...else..... I tried shows the torch.cuda.is_available() is True but CUDA_HOME is None, so what could I do to solve it~~~ Thank you

I think you can add the path to CUDA to your environment variables and try the 'sh' command again.


Display all kinds of dependencies

Closes #23
I'm not really thrilled with the way we currently display the different sections of dependencies - any ideas on a better layout @bluss?
Example:
openssl v0.9.21 (file:///home/sfackler/rust/rust-openssl/openssl)
[dependencies]
├── bitflags v0.9.1
├── foreign-types v0.2.0
├── lazy_static v0.2.10
├── libc v0.2.33
└── openssl-sys v0.9.21 (file:///home/sfackler/rust/rust-openssl/openssl-sys)
    [dependencies]
    └── libc v0.2.33 (*)
    [build-dependencies]
    ├── cc v1.0.3
    └── pkg-config v0.3.9
[dev-dependencies]
├── data-encoding v2.1.0
├── hex v0.2.0
├── tempdir v0.3.5
│   [dependencies]
│   └── rand v0.3.18
│       [dependencies]
│       └── libc v0.2.33 (*)
├── winapi v0.2.8
└── ws2_32-sys v0.2.1
    [dependencies]
    └── winapi v0.2.8 (*)
    [build-dependencies]
    └── winapi-build v0.1.1

This seems very useful! Having them in sorted order is good. The alternative I can think of is to print nothing for deps and something like (dev) and (build) after each of the others.


AttributeError: 'Minimal' object has no attribute 'v'

I have the problem while running the same problem of the demo point_light. But it calls the error of"AttributeError: 'Minimal' object has no attribute 'v'",so how to solve it. many thanks

Also having this problem!

Actually just think I found a solution: what worked for me was changing lines = open(filename).read().split('\n') to lines = open(filename).read().split('\\n') in serialization.py

same problem

@sreyahalder unfortunately, this did not fix the problem for me.

the reason is thai your downloading process is error.
file : util_tests.py
line 9: from .utils import wget
change this line into:
line 9: import wget
line 20: wget(url, dest)
change this line into:
line 20: wget.download(url, dest)


User listing does not work in MSSQL

Description:
Manage users tab says "Couldn't fetch users from the userstore" after the migration.
Failed request: https://localhost:9443/scim2/Users?count=10&startIndex=0
Error code: 500
Response: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"Error while retrieving users for the domain: PRIMARY with limit: 10 and offset: 1.","status":"500"}
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Refer https://github.com/wso2/product-is/issues/10010 for more details on the issue and the fix.


Integrate custom model (yolov8)

CVAT allow model integration out of the box. However, those models only suitable for general use cases. I have a custom model (in my case is yolov8) that I want to integrate into CVAT. Is there any resource/documentation on how to do that. Appreciate it.

Some piece of information can be found here:
https://opencv.github.io/cvat/docs/manual/advanced/serverless-tutorial/#adding-your-own-dl-models

For other people how state the same issue:
@kurkurzz solved this integration.
https://github.com/kurkurzz/custom-yolov8-auto-annotation-cvat-blueprint

I hate docker so much, there's a reason I paid for cloud hosting. I wish we could upload our own custom models. That would make things so much easier.