Hud render crash 1.21

i think minecraft crashed when it tried to render the thing
*Minecraft 1.21 with Fabric Loader 0.16.4
java.lang.AbstractMethodError: Receiver class com.snackpirate.ccddi.client.CCDDIClient$$Lambda/0x0000000800c139a0 does not define or inherit an implementation of the resolved method 'abstract void onHudRender(net.minecraft.class_332, net.minecraft.class_9779)
full log :
latest.log

nvm, i downloaded the wrong version lol
didnt read the version description


Lost Functions in the WebUI

Hello,
https://forum.rclone.org/t/rclone-encrypt-backup-to-nextcloud/38944 I can't find Option for Local Files, Create Jobs to Backup to Cloud. Revisions and Encryption.
Many Thanks!
Greetings
Revan335

The rclone web interface does not have a mechanism to create backups. The container is not doing anything special. It just runs rclone GUI. See https://rclone.org/gui/.


SQlite INTEGER should map to i64 not i32

From SQlite's documentation:
INTEGER. The value is a signed integer, stored in 0, 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.

But sea-orm-cli generate entity generates a i32

Ok, after some random testing I see that if the type is BIGINT but not (BIGINTEGER) on the sql statement then the generated type is i64.
So, SQL -> Rust:
field INTEGER -> field: i32
field BIGINT -> field: i64
field BIGINTEGER -> field: Vec
This is really surprising. Specially coming from sqlx that would handle INTEGER as i64

Hey @data-retriever, welcome! Nice icon lolll
Note that in SQLite it only has INTEGER, TEXT, BLOB, REAL and NUMERIC datatype. So, for example BIGINT will be affinized as INTEGER and BIGINTEGER will be affinized as NUMERIC.
For CLI codegen, the mapping from SQLite datatype to Rust type is providing by SeaSchema at here

https://github.com/SeaQL/sea-schema/blob/c5a3b86fb7634b281d8a599ada3193935db87716/src/sqlite/def/types.rs#L43-L77

@data-retriever About SQLite type affinity refer https://www.sqlite.org/datatype3.html#determination_of_column_affinity

That's correct, SQLite did support up to i64. But I think for most use cases i32 is enough and considering i64 is much more costly than i32. So, I feel i32 is a good default. Demanding user can change the integer field to i64 easily.
Input? @tyt2y3

That's correct, SQLite did support up to i64. But I think for most use cases i32 is enough and considering i64 is much more costly than i32. So, I feel i32 is a good default. Demanding user can change the integer field to i64 easily.
Input? @tyt2y3

Perhaps what's missing is some comment in the documentation. It's not clear at all that using BIGINT is the way to go.

Ok, after some random testing I see that if the type is BIGINT but not (BIGINTEGER) on the sql statement then the generated type is i64.
So, SQL -> Rust:
field INTEGER -> field: i32
field BIGINT -> field: i64
field BIGINTEGER -> field: Vec<u8>

This is really surprising. Specially coming from sqlx that would handle INTEGER as i64.
Also, why is BIGINT different from BIGINTEGER?

Short answer, yes, INT / BIGINT is the way to go.
Circle back to the original question. According to https://www.sqlite.org/datatype3.html, INT, BIGINT...etc will be treated as INT but BIGINTEGER isn't mention so that's why SeaSchema parse it as BLOB column type.

Another inconsistency that I've run into is when
creating migration -> running migration -> creating entities
I'm using Sqlite for development of a project, and I've written a migration as such:
manager
    .create_table(
        Table::create()
            .table(Channel::Table)
            ...
            .col(ColumnDef::new(Channel::DiscordId).big_integer().not_null())
            ...
            .to_owned(),
    )
    .await?;

In this case, running the migration against a Sqlite DB will change that big_integer call to an INTEGER in Sqlite, as noted above. So when entities are generated with sea-orm-cli, the model becomes:
pub struct Model {
    ...
    pub discord_id: i32,
    ...
}

As far as I know, there's no way for me to annotate somewhere that I want it to come out as an i64 (which makes sense, I don't know of anywhere that would make sense to go). Since I'm generating entities, it's not as easy as being the "demanding user" that will go through and switch things out all the time.
For a sensible default, I feel it makes more sense to be an i64 than an i32. It's ambiguous since data is lost when extracting from Sqlite, so I understand why i32 seems fine, since saving space is good. However, generating entities from an existing Sqlite DB that makes full use of 8 bytes of data in an INTEGER field would mean data is lost as the default behaviour.

I threw together a repo that can be found here: https://github.com/AngelOnFira/sea-orm-sqlite-integer-issue
Essentially, I generated entities from a Sqlite database with an INTEGER column that held a number larger than an i32, and when I read the number in using SeaORM, it didn't retrieve the correct number.
tl;dr 999_999_999_999_999 came out as -1530494977. I think this potential behaviour should be considered incorrect, and hopefully, this can motivate changing the default :)

For a sensible default, I feel it makes more sense to be an i64 than an i32. It's ambiguous since data is lost when extracting from Sqlite, so I understand why i32 seems fine, since saving space is good. However, generating entities from an existing Sqlite DB that makes full use of 8 bytes of data in an INTEGER field would mean data is lost as the default behaviour.

I agree 100%. The default behavior is very surprising for someone that was already working with sqlite databases before using seaorm.
But also it seems there is another issue. It seems that on the DSL there is only .big_integer(), no .big_int() or similar. If using SQL the workaround is to use field bigint instead of field integer or field biginteger. So how would someone create i64 fields with the DSL?

Thank you everyone for bringing this up.
I think we should map sea-query's BigInteger to bigint
https://github.com/SeaQL/sea-query/blob/485b0872669720d33f0f347ba7211799321f4c1b/src/backend/sqlite/table.rs#L55
This way, it will be picked up correctly by sea-schema thus completing the loop.
But mapping int to i32 and bigint to i64 is by design, in an effort to 'try' to align the behaviour with MySQL / Postgres, in which int is 32 bit.


Run libre-relay

I mean why not:
https://github.com/petertodd/bitcoin/tree/libre-relay-v26.0

I switched my core install over to libra-relay and ord seems to be fine. But yes should maybe add libre-relay to ord docs?


Max485 <----> ESP / IOs are not 5V tollerant

Hello,
I have a question about the hardware.
you use 5V for your circuit. The ESP generates the 3.3V for the core voltage from this. This means that you would actually need a level shifter between ESP and MAX.
Will it work without one?
Thanks
BR
Stumpf

Yes it certainly works. To be honest I never realized that MAX is 5V. I copied the hardware from another project and used it in many different project, and never had any issues.

Okay then, I will try this!
Thanks for the project. My Growatt MIN 3600TL-XE I will report briefly on how it works.

Hello, so it works.
I use the USB connection as the power supply.
This gives me the data I need for my control system.
Thanks for your advance work.
Greetings


VSCode Multiple cursors

Not a bug realy, but is there plans to do multiple cursours with VS's cursours? it is extremely useful to create cursors for occurrences and then be able to do vim stuff for each cursor.

Yeah, I'm looking the way how to select in visual, and then with Ctrl+n add to selection other occurrences like in vim-multiple-cursors. Is it feasible right now? Btw. great work.

not yet, but definitely something i will look into. For now they're work in insert mode. In meantimecgn (. dot repeat from vim-repeat doesn't work though yet) or dgn may work for you

I will check it out

What I did was to remove the Ctrl+d keybinding for "outdent line", now I can use VSCode's native keybinding for "add selection to next find match" (only on insert mode of course)

What I did was to remove the Ctrl+d keybinding for "outdent line", now I can use VSCode's native keybinding for "add selection to next find match" (only on insert mode of course)
@pumpkinlink where did you make this change? I saw the setting is in a package.json in the extension code, but don't know how i would access that.

wish we could support 'mg979/vim-visual-multi' natively but may need some 'vscode-easymotion' fork

In meantime cgn or dgn may work for you

@asvetliakov could you explain what you mean by this? Thanks!

In meantime cgn or dgn may work for you

@asvetliakov could you explain what you mean by this? Thanks!

http://vimcasts.org/episodes/operating-on-search-matches-using-gn/

looking forward to the enhancement. For anyone interested in using vim-visual-multi as a temp solution, please check out: #409 (comment)

Thanks! still buggy when trying to edit selections but at least C-n seems to select multiple regions now

Using vim-visual-multi and editing the selection doesn't give live feedback and in some cases doesn't work at all for me.
It would be great if we could have this! It's probably the only vscode feature that I'm missing and I miss it quite a lot tbh.
Multi cursors allow for super powerful transformations with very little overhead. The built in version is very welcome, but it falls short for me. If we could at least have the ctrl+d functionality from vs code it would be great, but I'm guessing it's easier said than done since nvim doesn't really handle text in the same way as vscode. Fixing this plugin would be more than good enough for me!
Hope support for this plugin or vscode multicursors will be implemented. Tnx for the great job with the plugin so far.
Really loving it :smiley:!

Also would love to see this hit parity with the terminal experience!
In the meantime, is it possible to remap the existing multiple-cursor commands?
—I use 'm' pretty extensively already.

please let us know @asvetliakov any challenges or blockers you have with implementing this feature. Also willing to fund the creation of this feature if that is the bottleneck here with making otherwise great extension perfect

After the next release, plugin vscode-neovim/vscode-multi-cursor.nvim will be ready for use. Not sure if it meets everyone’s needs, but it definitely makes multi-cursor easier to use.


suspender should prevent new scan to be launched

As it is now, suspender is in the event loop to prevent next event being taken.
However, it should also prevent new scan to be launched and start the scan when the threshold being met.

This is a useful request. We did not design suspenders with this use case in mind, but it makes sense that suspenders should work this way. Unfortunately this will require a major re-working of how suspenders work so it won't be a quick fix. But I do think it is something we can do in the coming weeks.

Fixed by #396. @imrealkaren Tom will deploy this fix at SRX soon.


Add HPB Mainnet Support

Add HPB Mainnet Support

Looks good but is there a way to increase limit of the node? (number of addresses we can pass into multicall contract) right now i can only pass around 300 addresses (ideally it should work when we pass 1000 addresses)

I have increase the limit of http request size on rpc server. You can retry pass 1000 addresses.

Looks good but is there a way to increase limit of the node? (number of addresses we can pass into multicall contract) right now i can only pass around 300 addresses (ideally it should work when we pass 1000 addresses)

I have increase the limit of http request size on rpc server. You can retry pass 1000 addresses.

HI @rjgeek This looks good, can you update the branch with latest changes, should be good to merge


Always open position

Description of the new feature / enhancement
Always open a window in a certain screen position,
Scenario when this would be used?
It is annoying to have Explorer windows opening all over the screen real estate, regardless of where the last window was closed.
I want the 1st Explorer window to always open in the top right corner of the screen.  If I open multiple additional Explorer windows, I want them to open in other positions on the screen, for instance for a drag and drop operation.
I imagine that a set-up process would have me open the first window, drag it to where I want it, then enter some activating key sequence that gets the screen coordinates and then stores them.  Then I would open a 2nd window and repeat the sequence for 2...n windows, with n=5 or so.
Supporting information
No response

I think you can use the option "Move newly created windows to their last known zone" of FancyZones.

Have you tried "Move newly created windows to their last known zone"? Does it solve this issue? /needinfo


Subscribe consumer(Schema.STRING) with wildcard .+$ always fails with Incompatible schema: exists schema type AVRO, new schema type STRING

Describe the bug
I'm trying to subscribe to any persistent topic in a namespace. Suppose we have a a tenant 'aTenant' and a namespace 'aNamespace'. I subscribe to all topics:
pulsarClient.newConsumer(Schema.STRING)
.subscriptionName("allTopics")
.subscriptionType(SubscriptionType.Exclusive)
.consumerName("consumerId")
.topic("persistent://aTenant/aNamespace/.+$")
.messageListener(messageListener)
.subscribe());
The following exception is thrown:
org.apache.pulsar.client.api.PulsarClientException$IncompatibleSchemaException: Incompatible schema: exists schema type AVRO, new schema type STRING
at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:922)
at org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:101)
To Reproduce
Steps to reproduce the behavior:
Try the above
Expected behavior
No exception
Desktop (please complete the following information):

OS: OSX, Linux
Pulsar 2.7.1, 2.7.2

try this:
Pattern allTopicsInNamespace = Pattern.compile("public/default/.*");
Consumer allTopicsConsumer = consumerBuilder
        .topicsPattern(allTopicsInNamespace)
        .subscribe();

The issue had no activity for 30 days, mark with Stale label.

Closed as answered. No news implies good news.


python3Packages.notifymuch: Init at 0.1

Motivation for this change
I'd like to use the package
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Reviewed points

[x] package path fits guidelines
[x] package name fits guidelines
[x] package version fits guidelines
[x] package build on x86_64
[x] executables tested on x86_64
[x] meta.description is set and fits guidelines
[x] meta.license fits upstream license
[ ] meta.platforms is set
[x] meta.maintainers is set
[x] build time only dependencies are declared in nativeBuildInputs
[x] source is fetched using the appropriate function
[x] phases are respected
[x] patches that are remotely available are fetched with fetchpatch

Possible improvements

set meta.platforms

Comments
last commit was 5 years ago but it works.
I ran it and I saw a notification with my unread messages.

@glittershark friendly ping

@bbigras done.

It's Linux only? I have no idea how notifications work on mac.

I marked it linux only because I haven't tested it on mac. I can only assume that since it's very much tied to gobject/gtk libnotify this wouldn't work on mac, which uses its own notification thingy

Gotcha. Thanks.

/status needs_merge

/marvin opt-in

/status needs_merge

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/236

/status needs_merger

/status awaiting_changes

@glittershark friendly ping

@glittershark friendly ping. Can we get this in the release please?

yeah, I'll try to get to this in the next day or so. Been swamped with $dayjob

/status awaiting_changes

@glittershark ping

@glittershark ping

I'd love to be able to use this package. Could you make the requested changes so that it can be merged?

You can also just create a new PR with the changes and we close this one.

You can also just create a new PR with the changes and we close this one.

Okay, thanks for your answer. I've created a new PR here with the requested changes: https://github.com/NixOS/nixpkgs/pull/166075


chore: fix typo in api.go

 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.

Pls submit more as much as possible

@AsterDY
Would you like to check the spell in the CI like https://github.com/apache/apisix/blob/a0b1a4554dc9ce23e877cc1fc58507c795203878/.github/workflows/lint.yml#L15?

sure，you can add it

@AsterDY
Updated. Please take a look if you have free time.

It seems the self-hosted runner doesn't have pip installed. I will handle it later.

ci有问题，要不直接用github官方镜像跑吧，不要用“self-host” @spacewander

@AsterDY
Lint can pass now: https://github.com/spacewander/sonic/actions/runs/12517330733/job/34917916275?pr=1


SPDY Connection: Make synchronized requests

In the SPDY protocol the order of streams is important.
Multi-thread apps that use undertow to interact with SPDY servers
must use a synchronized request in order to guarantee that streams
don't arrive in a messed order in the endpoint.

Can one of the admins verify this patch?


How to properly use ConfigMaps for SparkConf and HadoopConf

Would someone be able to show an end-to-end example of setting up config maps with Spark and Hadoop configurations and applying that to a SparkApplication? I've not been able to properly implement either sparkConfigMap or hadoopConfigMap such that the configs pass through to Spark. Any help or examples would be appreciated, since there's no proper examples available in the repo?

Any help on this please? Sort of been stuck on this for a while.

Here is a blocking issue https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/issues/216 for your references.

Here is an example of how to pass that map:
  sparkConf:
    spark.ui.prometheus.enabled: "true"

@marcoboi thanks but I was looking for examples for sparkConfDir not sparkConf


check windows installer user rights assignment

What does this PR do?

Adds E2E test to check Windows Installer sets the user rights on the agent user.
Motivation

https://datadoghq.atlassian.net/browse/WINA-507
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

rebasing for conflicts

rebase for ci fix

/merge

/merge


[release/1.7]: api: update dependencies to be aligned with containerd 1.7 module

follow up to https://github.com/containerd/containerd/pull/10189#discussion_r1646321080

[release/1.7] api: update github.com/containerd/ttrpc v1.2.4
Update the dependency and the indirect golang.org/x/net version to align
with containerd 1.7 itself, and to prevent a vulnerability being detected.
This should not generally be an issue, as the API module is used by
containerd 1.7 and up, which already depend on a more current version of
these dependencies.
Before this:
govulncheck ./...
Scanning your code and 251 packages across 13 dependent modules for known vulnerabilities...

=== Symbol Results ===

Vulnerability #1: GO-2024-2687
    HTTP/2 CONTINUATION flood in net/http
  More info: https://pkg.go.dev/vuln/GO-2024-2687
  Module: golang.org/x/net
    Found in<EMAIL_ADDRESS>    Fixed in<EMAIL_ADDRESS>    Example traces found:
      #1: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.ConnectionError.Error
      #2: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.ErrCode.String
      #3: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.FrameHeader.String
      #4: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.FrameType.String
      #5: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.Setting.String
      #6: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.SettingID.String
      #7: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.StreamError.Error
      #8: services/version/v1/version_grpc.pb.go:13:2: version.init calls status.init, which eventually calls http2.chunkWriter.Write
      #9: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.connError.Error
      #10: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.duplicatePseudoHeaderError.Error
      #11: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.headerFieldNameError.Error
      #12: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.headerFieldValueError.Error
      #13: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.pseudoHeaderError.Error
      #14: events/task_fieldpath.pb.go:85:20: events.TaskIO.Field calls fmt.Sprint, which eventually calls http2.writeData.String

Your code is affected by 1 vulnerability from 1 module.
This scan also found 0 vulnerabilities in packages you import and 3
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.

After this:
govulncheck ./...
Scanning your code and 251 packages across 13 dependent modules for known vulnerabilities...

=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 3
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.

[release/1.7]: api: update github.com/stretchr/testify v1.8.4
Align with the version used by containerd itself, and to get an untagged
version of gopkg.in/yaml.v3 out of the dependency tree, which may be
flagged for CVE-2022-28948.
[release/1.7]: api: update github.com/sirupsen/logrus v1.9.3
Align with the version used by containerd itself.

This bumps them ahead of what is in main, I'm fine taking these updates though

This bumps them ahead of what is in main, I'm fine taking these updates though

Oh! In the API module in main you mean? That's a good point, I didn't check that one; I checked against the containerd "main" module in the 1.7 branch.
We should probably do the same in API 1.8.x. That one could keep a minimum version similar to the 1.7 branch (to prevent a user of 1.7 containerd with API 1.8 from being forced to update everything.

Opened https://github.com/containerd/containerd/pull/10366 for main (api 1.8)

Looks like CI is happy 🥳

@dmcgowan ptal; 🤗

I'm -1 for bumping indirect packages through the api module. The binary packages should be responsible for that. We should get the ttrpc bump in though since that is direct and relevant.

The point is that we won't be able to get rid of the vulnerable gopkg.in/yaml.v3 in the go.mod (dependency of logrus -> testify). I generally agree that modules should pick "lowest required version", but for packages with a vulnerability it allows bumping the version to a version we deem secure (so the minimum version we want to be used).

so the minimum version we want to be used

If it is important to update, then we should update and tag through ttrpc since that is the direct dependency, not through the API module. I don't think that is a good reason to update indirects in a library package, the importing packages will still be able to choose their versions.

https://github.com/containerd/ttrpc/releases/tag/v1.2.5

I stacked this on top of https://github.com/containerd/containerd/pull/10373, so will temporarily move back to draft.
The good news; go modules was dreaming up the dependency; cleaning up the go.mod after updating made it disappear.

Rebased after https://github.com/containerd/containerd/pull/10373 was merged; this should be ready for review 👍


solana-validator: 1.10 -> 1.16

Description of changes
Updated to latest stable version
Things done

fixed build on darwin inspired by blockchains/solana
fixed build with in tree rust with a patch (basically same way as in master)

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] 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/)
I have only tested solana-test-validator, which seems to work fine
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

change looks fine to me but just noticed that this is similar to https://github.com/NixOS/nixpkgs/blob/ce19e23bc46e86818764f44df41d1d973132bfc9/pkgs/applications/blockchains/solana/default.nix so cc solana maintainers just in case they have any comments.
cc solana maintainers @netfox @happysalada @aikooo7

Result of nixpkgs-review pr 280118 run on x86_64-darwin 1

1 package built:

solana-validator

Result of nixpkgs-review pr 280118 run on x86_64-linux 1

1 package built:

solana-validator


Use reconnecting RPC client

Context
Sometimes, it happens that the underlying RPC client used by Subxt disconnects (e.g. due to network issues). In this case, the client throws an error that is not easy to detect in subxt, see https://github.com/paritytech/subxt/issues/1190.
This makes our client stuck in an infinite retry loop.
[2024-05-07T13:56:14Z INFO  runner::runner] Error fetching executable: SubxtError: Rpc error: RPC error: The background task been terminated because: Networking or low-level protocol error: WebSocket connection error: connection closed; restart required. Retrying...
[2024-05-07T13:56:15Z INFO  runner::runner] Error fetching executable: SubxtError: Rpc error: RPC error: The background task been terminated because: Networking or low-level protocol error: WebSocket connection error: connection closed; restart required. Retrying...

TODO
This PR adds a new experimental implementation of an RPC client that automatically reconnects. This implementation is only available in subxt v0.35 or later. I tried bumping the subxt dependencies we use in Spacewalk to that version but I encountered conflicts because our Polkadot dependencies are too outdated.

Once we update our polkadot dependencies to a later version, try bumping subxt to v0.35 or later and use the experimental RPC client implementation hidden behind the reconnecting-rpc-client feature of subxt.

@ebma is this still relevant? should we get it estimated?

This unfortunately is blocked by yet another upgrade of our polkadot dependencies. We can probably only really work on this once we bump our dependencies to Polkadot v1.6.0, ie the next one after the upgrade to v1.1.0.
@prayagd do we already have a ticket for the v1.6.0 upgrade? If so, let's indicate as a Zenhub dependency that this ticket is blocked by that.

@prayagd do we already have a ticket for the v1.6.0 upgrade? If so, let's indicate as a Zenhub dependency that this ticket is blocked by that.

No we dont will create this

Blocker added

Hey team! Please add your planning poker estimate with Zenhub @ebma @gianfra-t @TorstenStueber


Review model results explanation

There is a bug that prevents me from reading the paragraph that starts “We fitted a linear model …”. The paragraph extends beyond the screen to the right. BTW, say “I” not “We”

In ref #35


Time to complete?

Developer (Beginner)
31 minutes to complete
The video is 51:37 :)

That's true, but there's a lot of asides and explanations going on in the video. Have you attempted to go through it? If you do I'd love to hear how long it takes you.

At the very least the time to complete should be adjusted to 52 minutes.
There was a lot (15m) of material at the start I wanted to skip through, I just wanted to get straight to building my app.  I need to copy a file into OneDrive using node, and I'm looking for something a lot more straightforward and direct.

You're referring to the video? The time to complete is referring to a user going through the tutorial themselves, starting at https://docs.microsoft.com/en-us/graph/tutorials/node?tutorial-step=1, which does dive right in. If I'm misunderstanding your feedback, please let me know.

Oh, I linked into this repository from another page that only had a link to the video itself and nothing more.
https://docs.microsoft.com/en-us/graph/tutorials/node
I now see a "Begin" button at the bottom, but I guess I'm conditioned to think that the page content has completed when I see a "Feedback" link/button and didn't notice it before.

Ok, that's helpful to understand. The video was added to the intro afterward - we may need to rethink that if it's pushing the Begin button too far down.

Unfortunately the tutorial doesn't seem to apply to me as it's so heavily node/express biased.  I'm trying to write a file to OneDrive from an Azure Function and need something a lot simpler to understand auth without passport.


select2_multiple 'array to string conversion' error - tries to save on parent model

I'm using select2_multiple field on a n-n relationship, but I'm getting
QueryException in Connection.php line 770:
Array to string conversion (SQL: update "associations" set "updated_at" = 2016-12-26 09:02:07, "causes" = 1 where "id" = 1)
in Connection.php line 770
at Connection->runQueryCallback('update "associations" set "updated_at" = ?, "causes" = ? where "id" = ?', array('2016-12-26 09:02:07', array('1', '3'), '1'), object(Closure)) in Connection.php line 726

These are my models:
class Association extends Model
{
    use CrudTrait;
    public function causes()
    {
        return $this->belongsToMany('App\Cause');
    }
}

and
class Cause extends Model
{
    use CrudTrait;

    public function associations()
    {
        return $this->belongsToMany('App\Association');
    }
}

I'm setting up the field that way in AssociationCrudController:
    $this->crud->addField([
        // Select2Multiple = n-n relationship (with pivot table)
        'label' => "Causes",
        'type' => 'select2_multiple',
        'name' => 'causes', // the method that defines the relationship in your Model
        'entity' => 'causes', // the method that defines the relationship in your Model
        'attribute' => 'value', // foreign key attribute that is shown to user
        'model' => 'App\Cause', // foreign key model
        'pivot' => true, // on create&update, do you need to add/delete pivot table entries?
    ]);

I get the error when I try to update or insert the association with one or more causes. After investigation on an 'update' it seems the queries are following this order:

update the pivot table by deleting/adding the necessary rows (this works ok, so when I reload the page the modification I made has been saved)
try to update directly the association model, filling causes field with an array - this fails.

Am I doing something wrong? Shouldn't we automatically skip the n to n fields when updating the model's table, updating the pivot table being enough?
I'm on Laravel 5.3, PHP7 and postgres. Thanks !

Just to confirm, few things

are you using a pivot table?
Do you have a column called 'value' in your causes table
backpack tends to put your models in App\Models\Cause rather than App\Cause - so are you sure that correct?
finally! There might be a slight chance the "associations" name could be causing a conflict. Could you try another to confirm it's not?

Thanks :)

Thanks for the answer ! After testing with another name:

I am using a pivot table, named association_cause (all names following conventions, the insertion into the pivot table works fine)

I do have a column named value in causes, and the values are displayed correctly in the select2 widget/column view

Laravel 5.3 puts the models straight in App, so I used those in backpack as well by:

deleting the model generated in App/Model by the php artisan backpack:crud cause command

adding the CrudTrait to my models in App

changing first line of setup in AssociationCrudController to
$this->crud->setModel('App\Association');

And doing the same to CauseCrudAssociation.

I tried using the select2_multiple on another n-n relation I have, between entities named job and worktype -> I run into the same error...

Hmm... everything seems ok to me in the controller. Perhaps try manually specifying the pivot table in the relationships?
    public function causes()
    {
        return $this->belongsToMany('App\Cause', 'association_cause');
    }

and
    public function associations()
    {
        return $this->belongsToMany('App\Association', 'association_cause');
    }

I found it's best to be as clear as possible about what you want, in order to avoid relationship problems. Works for Laravel and women :D

Thanks for the advice, I tried it but no change...
It seems that after calling syncPivot in the update trait (here):
    $this->syncPivot($item, $data, 'update'); // $data = [ 'causes' => [ 1, 3], ... ]
    $updated = $item->update($data); // $data = [ 'causes' => [ 1, 3], ... ], error thrown

we try to update the model with a nested array, which fails. I tried in MySQL, I get the same kind of error: 'causes': column not found.
If I modify the syncPivot method in the create trait (here) to change it so that I remove the fields that use pivot, like so:
// pass &$data by reference
public function syncPivot($model, &$data, $form = 'create')
{
    $fields_with_relationships = $this->getRelationFields($form);

    foreach ($fields_with_relationships as $key => $field) {
        if (isset($field['pivot']) && $field['pivot']) {
            $values = isset($data[$field['name']]) ? $data[$field['name']] : [];
            $model->{$field['name']}()->sync($values);

            // the field has been updated in the pivot table, remove it from data
            unset($data[$field['name']]);
...

then it works fine - but I'm guessing it shouldn't be necessary?

Do you have 'causes' in your $fillable?

I just had $guarded= [ 'id' ];, but explicitly listing the $fillable and including causes in it doesn't change the error thrown.

Ah I was hoping that removing causes from $fillable was going to help

@OwenMelbz Thank you for your last comment: yep, either listing everything that's not a n-n relationship in $fillable, or setting $guarded = [ 'id', 'causes' ]; finally solves it.
Thanks all for the help !

af


Build failed after modifications of AppDelegate.m

hi Guys
I'm relatively new to the subject of integrating react-native push notification. I have adjusted my AppDelegate.h and my build runs smoothly. But when I adjust the AppDelegate.m I get a build error.
The change in the @implementation AppDelegate seems fine.
But if I add the rest in the AppDelegate.m nothing works anymore and I get the build error.
My AppDelegate.m now looks like this:
https://gist.github.com/Jens-dev/a1aa134ae2e251cf43d05358297eb85c
I've look at many issues and tutorials for integration but I'm lost on it.

I believe I might have the same problem as you're.
What is your error message ?


fix:CDS-82329:Added Documentation link and description for Artifactory

Describe your changes
For Artifactory Connector
Added Connector Documentation link + Link for the terraform guide
Added code example for creation of connector at the different levels
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck
gitleaks: trigger gitleaks

Looks good to me


Cannot read property 'Tag' of undefined.

I have a react.js project, which indirectly uses domhandler v4.2.0 viacheerio I believe.
Its worked fine for months and then suddenly, my project has started throwing this error when I try to build it.
C:\product-app\node_modules\domhandler\lib\node.js:32
    [domelementtype_1.ElementType.Tag, 1],
                                  ^

TypeError: Cannot read property 'Tag' of undefined
    at Object.<anonymous> (C:\product-app\node_modules\domhandler\lib\node.js:32:35)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Module.require (internal/modules/cjs/loader.js:1044:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (C:\product-app\node_modules\domhandler\lib\index.js:15:14)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)

Any ideas what might be causing it?
I'm running node.js 12.16.1 with typescript 3.9.10.

I'm using react-html-parser which has a dependency on domhandler.  I'm seeing this error as well after react-html-parser updated from domhandler 4.0 to 4.2.

This seems to me like you are using an outdated version of domelementtype. Could you try deleting your node_modules and package lock file and reinstalling / alternatively explicitly installing the latest version of that package?

That did the trick.  Thanks.

Thanks for confirming @markwoon! Assuming this is resolved.


OSError: [Errno 28] No space left on device

Hello all,
Unfortunately, I ran out of space training the 3B model. I'm using a p3.16xlarge instance and it ran out of space on epoch 0.3. Any advice on how to resolve?
Full error:
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160] 2023-04-29 06:01:12 ERROR [__main__] main failed
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160] Traceback (most recent call last):
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160]   File "/opt/conda/lib/python3.7/site-packages/torch/serialization.py", line 379, in save
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160]     _save(obj, opened_zipfile, pickle_module, pickle_protocol)
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160]   File "/opt/conda/lib/python3.7/site-packages/torch/serialization.py", line 604, in _save
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160]     zip_file.write_record(name, storage.data_ptr(), num_bytes)
2023-04-29 06:01:12.977 [177/train/578 (pid 28936)] [09c561ee-a44c-4795-967c-7183a83b3160] OSError: [Errno 28] No space left on device

You ran out of disk space, that's all. Where did you save stuff? sometimes your local root volume is small, and most of the storage is in mounted EBS volumes.

Yes you're correct. I am saving checkpoints to a folder . I just set save_steps argument to a bigger number and load_best_model_at_end to False


Update conferences.md

Add Reactathon 2023 to upcoming conferences

cc @harish-sethuraman are you able to merge this?

Done 👍🏻 . Also next time raise both in the same PR :)


To Bills (converted from purchase order)

[x] Tax eligible/ineligible not needed in 'to purchase order'.
[x] Address field not needed in bills

issue fixed !


Get/put/post response interfaces not in nuget package

Hi, followed the wiki, had a look through the examples in the repo for different controllers etc. I am seeing a lot of IPostResponse, IGetResponse etc, but these types dont exist in the nuget package, is this due for an update or are these only available from source at the moment?

Oh, but the library itself is totally awesome.. Thanks for providing it! Stopped me from crying in a corner when i found iot doesnt do wcf (yet)...

Hi,
Due to #46 the location of IGetResponse, etc. will have moved a bit so you might have to change the imports to the old location if you want to get the samples to work with the NuGet package.
I believe tom wants to do some work before creating a new NuGet package.
Any questions feel free to ask.
Cheers,
Jark

Thats fine! Thanks for the quick response, just wanted to make sure i was doing things the right way, got everything working as expected except the postresponse which only seems to work successfully in postman if i give it a redirect url rather than just a 201 response..  The microsoft page on "making a post with webrequest" works no bother.. Any thoughts?

The http spec specifies that for http status code 201 (created) the location of the newly created resource should be specified.
I think postman simply adheres to the spec a bit stricter than the webrequest class. You could use fiddler to intercept the requests, but I don't know if that also works with postman.
Hope this helps :)

I have some time this week to get a new nugget package released, so that should fix this issue. Hold on... :)

Fixed in https://www.nuget.org/packages/Restup/1.0.0-beta3


Add possibility to specify lookup paths for _unit_test.sv files

SVUnit currently looks in the current working directory for unit tests to instantiate. This is not so cool, because we'd like to be able to separate source code from simulation directories. It would be great if it were possible to specify a list of locations to search.

Hi @tudortimi-ifx , I think I have a fix for this issue. Do you mind if I submit a pull request?
I've been using svunit invoked using rules_verilog for about a year. We had to make a few local modifications to integrate with bazel/rules_verilog, and one of those changes was specifically enumerating simulation vs. source code directories.

Sure, would be cool. To clarify, we're not talking about anything that creates a dependency on rules_verilog, right? I'd like to avoid it that people need that tool as well to be able to use SVUnit. Support for Bazel would also be interesting as a separate PR.

That's correct - it would not create a dependency on rules_verilog. I'll fork svunit and migrate in our local changes so you can see what we did to support Bazel. I should have that code up later this week.


[Feature Request] Add rename-command

Hi,
I am working on making my redis instances production ready and as Redis themselves recommend, and other sources as well, you should disable some commands on your production instances.
To do this you need to use the rename-command configuration in the config file.
Currently, I did not see that there is a way to do this using this module, but I did find a workaround by including an external config file. I think it would be better if there was a map that I could pass to this module with all the commands and their new names (which could be empty strings if I want to disable them).
Thanks!

Hi @TomerAmirV!
Cool, any configuration recommendations directly from Redis themselves we want to have in the module, so I'll probably work on this as the next feature to add to the module 👍


feat: remove through2 usage in table.ts

Towards #708

Unit and System tests are good. Though two acceptance tests are failing
1) Read Row Acceptance tests
       invalid - duplicate row key:

      Uncaught AssertionError [ERR_ASSERTION]: row count mismatch
      + expected - actual

      -0
      +1

      at verify (build/system-test/read-rows-acceptance-tests.js:110:24)
      at PassThrough.table.createReadStream.on.err (build/system-test/read-rows-acceptance-tests.js:100:17)
      at Pumpify.rowStream.on (build/src/table.js:420:32)
      at Pumpify.Duplexify._destroy (node_modules/duplexify/index.js:195:15)
      at /Users/crwilcox/workspace/googleapis/nodejs-bigtable/node_modules/duplexify/index.js:185:10
      at process._tickCallback (internal/process/next_tick.js:61:11)

  2) Read Row Acceptance tests
       invalid - new row missing row key:

      Uncaught AssertionError [ERR_ASSERTION]: row count mismatch
      + expected - actual

      -0
      +1

      at verify (build/system-test/read-rows-acceptance-tests.js:110:24)
      at PassThrough.table.createReadStream.on.err (build/system-test/read-rows-acceptance-tests.js:100:17)
      at Pumpify.rowStream.on (build/src/table.js:420:32)
      at Pumpify.Duplexify._destroy (node_modules/duplexify/index.js:195:15)
      at /Users/crwilcox/workspace/googleapis/nodejs-bigtable/node_modules/duplexify/index.js:185:10
      at process._tickCallback (internal/process/next_tick.js:61:11)

cc: @bcoe

After simplifying the mock for the acceptance tests one failure remains:

  1) Read Row Acceptance tests
       invalid - duplicate row key:

      Uncaught AssertionError [ERR_ASSERTION]: row count mismatch
      + expected - actual

      -0
      +1

      at verify (build/system-test/read-rows-acceptance-tests.js:110:24)
      at PassThrough.table.createReadStream.on.err (build/system-test/read-rows-acceptance-tests.js:100:17)
      at Pumpify.rowStream.on (build/src/table.js:428:32)
      at Pumpify.Duplexify._destroy (node_modules/duplexify/index.js:195:15)
      at /Users/crwilcox/workspace/googleapis/nodejs-bigtable/node_modules/duplexify/index.js:185:10
      at process._tickCallback (internal/process/next_tick.js:61:11)

Trying to clean up cruft PRs, so letting this one go


Problems with code splitting

Describe the bug
Problems with code splitting e.g. loadable components.
All get created right - I get all the chunks as expected
... but on de server side rendered version in the browser - all the created chunks contain the html of the starting page
the created chunks - in the folder server-build - seem right no html code thre to see as I see it then rendered in the browser
^^ tried it with different code-splitting packages always same problem
my server/.babelrc
{
  "presets": ["cra-universal"],
  "plugins": [
    "@loadable/babel-plugin"
  ]
}

my crau.config.js
const LoadablePlugin = require('@loadable/webpack-plugin');

const webpackMerge = require("webpack-merge");

const newConfig = {
    plugins: [new LoadablePlugin()]
};

module.exports = {
    modifyWebpack: config => webpackMerge(config, newConfig)
};

my server/app.js
handleUniversalRender(req, res) {
    return extractor.collectChunks(<App/>);
}

const clientBuildPath = path.resolve(__dirname, '../client');

const app = createReactAppExpress({
    clientBuildPath,
    universalRender: handleUniversalRender,
    onFinish(req, res, html) {
        const scriptTags = extractor.getScriptTags();

        const finishHtml = html.replace('{{SCRIPTS}}', scriptTags);
        res.send(finishHtml)
    }
});

Sorry i dont get what you mean, can you screenshot which part you didnt expect?

Hope it get clearer, with that screenshot:

Do you have repo to reproduce?

react_crauniversal-a72cab70ee99.zip
^^ here my zipped repository

Here my repository:   https://bitbucket.org/SvenChristian/react_crauniversal/

Also, can you cat the content of the chunk? I want to make sure it doesn't have html in there.
Looks like you've service worker enabled, so on page source, it still shows the cache
cat <the-chunk>.chunk.js

Also you can inspect the network request of the chunk, and see the response

^^ here a cat of the file in server-build folder

i think it doesn't include the html as you seen in the chrome page source, I ever encountered that because it shows the cache from service worker.

In client side the serviceworker is unregistered - and I also dont see a serviceworker running

Sorry I just found the issue, turned out the chunk files are not served

I'm afraid that you cannot use default createReactAppExpress call, you need to use the loader manually like this:
https://github.com/antonybudianto/cra-universal/blob/master/packages/%40cra-express/core/src/app.js
function createReactAppExpress (options) {
  const app = express();
  staticLoader(app, options);
  app.use(express.static('server-build', { index: false }));
  universalLoader(app, options);
  return app;
}

I'll look into it further in weekend

ok thanks - i tried your fix, but it make still no difference

    testHtml = testHtml.replace('{{SCRIPTS}}', sheet.getStyleTags());

I think the issue is the loadable babel plugin is meant for client bundle, not for server bundle, so it's not possible as of now since CRA blackboxed the client configuration. Using old loadable-components@2 should work though

ok thank you for your review

for now, i think it still works somehow:
// removing the script string generated from loadable
testHtml = testHtml.replace('{{SCRIPTS}}', sheet.getStyleTags());

Have still problems with this way of code splitting
The babel configuration - as I understand - should not be necessary for the client side rendering - so should also work with CRA -> https://www.smooth-code.com/open-source/loadable-components/docs/babel-plugin/

In development mode it works with that:
@cra-express/static-loader/lib/index.js
´´´
var craServiceName = process.env.CRA_SERVICE_NAME || 'localhost';
var craClientPort = process.env.CRA_CLIENT_PORT || 3000;
const path = require('path');
app.use(express.static(path.resolve('./server-build'), { index: false }));
app.use(["**/.", "/static", "/sockjs-node"], proxy({
target: "http://".concat(craServiceName, ":").concat(craClientPort),
changeOrigin: true,
´´´
could it be that it works in production with that? - couldnt test it yet:
´´´
} else {
app.use(express.static(clientBuildPath + '/client', {
index: false
}));
app.use(express.static(clientBuildPath + '/server', {
index: false
}));
}
´´´

should be same then

Hello - ok still don't work - now he load the chunks, but throws this error:

^^ hm ...

that means that bundle is not expected on browser, only on nodejs

I tried this approach for code-splitting (with cra-universal) and it seems to work? Any reason this should not work with CRA?


distance matrix not parsing correctly

Can you load these 4 files. Note that "R01" is connected to "" with a number of zero-distance links.
I think this is a parsing issue related to the blank cell in the top-left corner of any matrix.

top left corner value has unexpected value ""  double quotes so MT thinks that it is a triangle matrix PHYLIP format. I have to parse out double and single quotes for the top left corner cell in the matrix


Removed the s at 'express routes' in the menu to match the usage of t…

…he generator
the generator use
yo meanjs:express-route <route-name>

and not
yo meanjs:express-routes <route-name>

So it is logical to do the same in the left menu in gh-pages

@rbecheras - Can you make this change in the new version of the website? It's been restructured, so your commit contains conflicts.

@rbecheras this really doesn't affect functionality, so if you make a new PR great. If not, once we reorganize the generator we'll probably take care of this.

@codydaig  @ilanbiala , ok thanks for infos. But where is the new website version sources ?


Add Husky + lint-staged

Type of Change

Something else: Development tooling

What issue does this relate to?
resolves #396
What should this PR do?
Add husky and lint-staged
What are the acceptance criteria?
If all is correct, please add the tag 'hacktoberfest-accepted', Thanks

👋 @amrittimalsina Just checking in to see if there's any progress here? If not, we'll close this PR so someone else can take a look at tackling this work :)

With no further progress on this, closing.

sorry for being late, where can I push the new changes?

Ah, hey! Let me re-open the PR and you can continue here :)


Master

Fix error integer validation

When do you receive this error?

FYI, I am attempting to upgrade from Adldap2 2.1 to 3.0 and I am receiving the error that I believe this PR was intended to fix.  This happens during authentication attempt.

Laravel 5.2.45
Adldap2 v7.0.14
Adldap2-laravel v3.0.4
If I change my config/adldap.php file to avoid using the env() function when setting the port (and set it to an integer directly) then the error goes away.  My .env file does not have quotes around the port setting.

Hi @darthtaco, ok I'll fix this in master. I've never needed to set my port setting in my .env, so that explains why I've never seen this error. Also never received a response from the PR author, so it seemed like a unique issue with their application.

Understood @stevebauman, thanks.

Hi @darthtaco, this is fixed in the root Adldap2 repository. Please update using composer update and you should no longer receive this issue. Thanks!

Great!!  I've confirmed that this has resolved the issue in my environment. Many thanks.


Add AKS Private FQDN output

Fixes #000
Changes proposed in the pull request:

Good day, this is the first PR. do point me to right direction should I miss out anything.
The changes is intend to output Private FQDN, to be used by subsequent Private DNS link actions for Hub and Spoke network topology linkage.
Kindly review and approve it.

Thanks @joesoh2021 for opening and updating this pr! Now we've added a CI pipeline to this repo, would you please read Pre-Commit & Pr-Check & Test section in readme file to make this pr meets our new pr requirements? You can leave the e2e-test to the pipeline. Thanks for your understanding, have a nice day.

@lonegunmanb can we close this PR without merging, in favour of #251  ?


Question how to do unseen with actor "name" queries

I try to do some searches like:

unseen with actor "name"
unseen and R-rated

I figured to use the generic search method of a MovieSection def search(self, title, filter='all', vtype=None, **tags) with actor=Name tags and filter='unwatched'.
But the method expects an Actor object not a String.
Could you give an example how you would do it? I don't see the possibility to get the Actor object from a name String.
Btw great work and thanks for making it public.

At the time of writing this, I wasn't aware, or it wasn't available yet to search by actor.  It looks like it is available now to get a list of all actors then choose one from there. The url to fetch all actors is https://<PLEX-SERVER>/library/sections/1/actor?type=1. From there, you could get the actor resource ids needed to list all movies containing that actor.
All of this is not available in this API yet.

Not sure if the python style is ok but I added the functionality in #44.

This can be closed now.
commit b10faf8560f19a5047bea5e0b117a1300ef5d58d
Author: Michael Shepanski<EMAIL_ADDRESS>Date:   Thu Mar 31 16:52:48 2016 -0400
Checkpoint: New implementation for search


Installed openvino notebook using docker. But check_install.py failed

Describe the bug
I get this message after install using docker.
Docker install command:  docker build -t openvino_notebooks .

Successfully built f30e6fa7e919
Successfully tagged openvino_notebooks:latest

Docker run command:
docker run -it -v /etc/group:/etc/group  --device=/dev/dri --group-add=$(stat -c "%g" /dev/dri/render* | head -n 1) --group-add=$(stat -c "%g" /dev/dri/card* | head -n 1) -p 8888:8888 openvino_notebooks
But when i run check_install.py, it shows some error
(app-root) bash-4.4$ python check_install.py
System information:
Python executable: /opt/app-root/bin/python
Pip version: 23.3.2
OpenVINO source: /opt/app-root/lib64/python3.8/site-packages/openvino
OpenVINO IE version: 2024.1.0-15008-f4afc983258-releases/2024/1
OpenVINO environment activated: NOT OK
Jupyter kernel installed for openvino_env: NOT OK
Python version: 3.8 OK
OpenVINO pip package installed: OK
OpenVINO import succeeds: OK
OpenVINO development tools installed: OK
OpenVINO not installed globally: OK
No broken requirements: OK

It appears that you are not running Python in an `openvino_env`
environment. It is possible use the notebooks in a different
environment, but if you run into trouble, please follow the instructions
in the README to install and activate the `openvino_env` environment.

The Python version in openvino_env does not match the openvino_env Jupyter kernel.
This may not be an issue. If you experience issues, please follow the instructions
in the README to reinstall the kernel.

The README.md file is located in the openvino_notebooks directory
and at https://github.com/openvinotoolkit/openvino_notebooks

i'm using docker, how do I create and source the environment?
Expected behavior
check_install.py pass
Screenshots
If applicable, add screenshots to help explain your problem.
Installation instructions (Please mark the checkbox)
[ x ] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks/wiki/Docker
** Environment information **
As stated above
Additional context
Just a feedback, when run docker container, there is no check_install.py script, i copy it manually into jupyter notebook via web browser.

I was trying to run notebook hello-npu, but it only shows CPU. Hence im using check_install.py . If i install openvino natively, query device able to get CPU, GPU and NPU.

You might need to add --device=/dev/accel to the docker run command line - which I saw here: "https://dlstreamer.github.io/get_started/install/install_guide_ubuntu.html#step-5-run-intel-dl-streamer-pipeline-framework-container"

I tried with --device=/dev/accel , still only able to detect CPU

@gooishin Try upgrading your Docker version to the latest version using the command:
sudo apt-get update
sudo apt-get upgrade docker-ce
I assume you already set the Docker to be run as non-root user.
However, try to run the command with sudo: "sudo docker build -t openvino_notebooks"
as in this case #2012 these solved building issues.

@Iffa-Intel , i have updated the docker-ce and reinstall using sudo. But still im only able to see CPU.
command:
docker run -it --name test_notebooks -v /etc/group:/etc/group  --device=/dev/dri --device=/dev/accel --group-add=$(stat -c "%g" /dev/dri/render* | head -n 1) -p 8888:8888 openvino_notebooks
This is notebook hello-npu. Expecting to see CPU, GPU and NPU here.

@gooishin can you share the CPU SKU/Model you are using? Post the output of lscpu.

@gooishin so part of the issue is that the NPU driver needs to be installed on the container itself to be able to utilize the plugin with the OpenVINO Notebooks. So with that in mind you can try to modify the provided Dockerfile and add the NPU driver build and install steps (build instructions here) or you can use one of the pre-built Docker images (i.e. docker pull openvino/ubuntu22_dev:latest), install the NPU driver (build steps here) within the container and install the OpenVINO Notebooks. I've tried the second option and while running hello_query_device.py) the NPU device is detected (identified as 'AI Boost').

Closing this, I hope previous responses were sufficient to help you proceed. Feel free to reopen and provide additional information or ask any questions related to this topic.


Statistical Dashboard

Some questions we might want to easily be able to answer:

How many IP addresses are in scope?
How many IP addresses are blacklisted?
How many IP addresses have we received scans for?
How many agents have gotten work from us in the last (hour|day)?
How many hosts have been scanned today?
What are the most common open ports across the scope?
What are the most common service types across the scope?

How many IP addresses are in scope -> SQL (already available in admin panel, but we should subtract blacklist from scope)
How many IP addresses are blacklisted -> SQL (already available in admin panel)
How many IP addresses have we received scans for? -> This is as simple as counting the documents in the nmap index. A delta between this number and IP addresses in scope represents the number of hosts that have always timed out during scanning.
How many agents have gotten work from us in the last (hour|day)? -> We can get this by aggregating based on the agent field and restricting the search to documents within a certain time range (but this might require it's own query versus being part of a bigger query of collecting stats)
How many hosts have been scanned today (or maybe in the last hour|day)? -> This is a count of documents restricted to a time range.
Most common open ports? -> Terms aggregate on ports.port (or ports.id would give us tcp.80 instead of just 80, which might be useful?)
Most common service types? -> Terms aggregate on ports.service.name

Average number of open ports per host might be useful (we already have a port count field so this shouldn't be too hard, I think)
SSL Certificates with notAfter dates that are coming up


lxc storage delete  fails while storage pool is not in used

Required information

Distribution: ubuntu
Distribution version: xenial ( travis build environment )
The output of "lxc info" or if that fails:

Kernel version: 4.4
LXC version: 2.18
LXD version: 2.18
Storage backend in use: DIR

Issue description
lxc storage delete fails with
error: remove /var/lib/lxd/storage-pools/foobar: device or resource busy
Steps to reproduce
I cannot get it to reproduce everywhere, but basicly:

lxc storage create foobar dir source=/tmp/foobar
lxc storage delete foobar

Information to attach
https://travis-ci.org/mjrider/terraform-provider-lxd/builds/281903307 has a .travis build showing the problem. I've not been able to reproduce this on a local system.

[x] main daemon log (cat /var/log/lxd/lxd.log)
relevant part of the log is with the debug output, see travis build for full log
[X] output of the client with --debug

DBUG[10-01|12:42:54] Sending request to LXD                   etag= method=DELETE url=http://unix.socket/1.0/storage-pools/foobar
DBUG[10-01|12:42:54]
	{
		"error": "remove /var/lib/lxd/storage-pools/foobar: device or resource busy",
		"error_code": 500,
		"type": "error"
	}

[X] output of the daemon with --debug

INFO[10-01|12:51:59] Deleting DIR storage pool "foobar".
DBUG[10-01|12:51:59] Unmounting DIR storage pool "foobar".
DBUG[10-01|12:51:59] Unmounted DIR pool "foobar".
DBUG[10-01|12:51:59]
	{
		"error": "remove /var/lib/lxd/storage-pools/foobar: device or resource busy",
		"error_code": 500,
		"type": "error"
	}

a better and cleaner reproduction travis config
https://github.com/mjrider/lxd-setup-test

@mjrider has been really helpful in debugging this issue. The lxd-setup-test he linked to above succinctly reproduces this problem. In a nutshell, there's a bug with the dir storage backend on Ubuntu 14.04:
$ lxc storage create foobar dir source=/tmp/foobar
$ lxc storage delete foobar
error: remove /var/lib/lxd/storage-pools/foobar: device or resource busy

I'm pretty sure this began happening in https://github.com/lxc/lxd/commit/ac851c1f37263ea4497edf028a23747b7879485e which is around the time we started seeing Travis errors in the terraform-provider-lxd repo. Additionally, this problem only happens when the source directory is outside of the lxd root, which creates a bind mount.
If you run umount /tmp/foobar and then re-run the lxc storage delete command, the command succeeds.
From what I can see, shared.IsMountPoint is failing to detect that /var/lib/lxd/storage-pools/foobar is a mounted directory. mountpoint is failing to report it as such. But , umount obviously sees it.

Hmm, looks like "mountpoint" is pretty broken in 14.04 indeed... It doesn't seem to recognize bind-mounts at all...
Not too sure what we can do about it though and it's not the only place that we call shared.IsMountPoint from...

@brauner can you take a look at exactly what the current "mountpoint" command does in util-linux and re-implement this in our IsMountPoint() function so we can drop the dependency on the external binary and fix this?

@stgraber i also made an script for running with snap instead of the ppa, and then it works.
So i'm a bit confused
ppa: https://github.com/mjrider/lxd-setup-test/blob/master/.travis.yml
snap: https://github.com/mjrider/lxd-setup-test/blob/snap/.travis.yml
it looks to me that there is something wrong with the ppa then, so maybe this is the wrong forum for this issue. An previously it worked with the ppa also. i found the old build output, and it was version 2.17 which worked correctly

On Ubuntu 16.04, util-linux version 2.27.1 is installed, which doesn't exhibit this problem.
On Ubuntu 14.04, version 2.20.1 is installed.
That narrows it down to... just a few commits :)
https://github.com/karelzak/util-linux/compare/stable/v2.27...stable/v2.20
This might be a hack, but would it be useful to parse /proc/self/mountinfo if mountpoint returns "false"?
$ lxc storage create foobar dir source=/tmp/foobar
$ cat /proc/self/mountpoint
...
44 22 8:1 /tmp/foobar /var/lib/lxd/storage-pools/foobar rw,relatime - ext4 /dev/sda1 rw,data=ordered
$ lxc storage delete foobar
error: remove /var/lib/lxd/storage-pools/foobar: device or resource busy
$ cat /proc/self/mountpoint
...
44 22 8:1 /tmp/foobar//deleted /var/lib/lxd/storage-pools/foobar rw,relatime - ext4 /dev/sda1 rw,data=ordered

It looks to me like mountpoint is parsing /proc/self/mountinfo anyway... my guess is that the parsing of that file is being done incorrectly in v2.20.
If that's too much of a hack, then mimicking mountpoint in LXD most likely is the best way to go, though I would not want to be that person :)

@jtopjian that's expected given the way the snap works. The snap is layered on top of Ubuntu 16.04, regardless of what your system's distribution and version is. So installing the LXD snap on Ubuntu 14.04 will get you the 16.04 version of mountpoint whenever LXD calls it.

@jtopjian I'm frankly not super fond of LXD constantly forking a "mountpoint" subprocess when we already have a bunch of functions that do clever parsing of mountinfo. So it feels like the right solution here is going to be to get IsMountPoint to always be a fully Go function without any subprocess calls. Right now it does have a pure-Go fallback logic but it's incomplete, so we need to get it to parity with mountpoint's logic.

@stgraber I recall reading something that the snap will become the recommended way of installing LXD in the future -- is that correct? If so, we might consider switching to it to run our tests.
Regarding forking, I agree, especially if there's already partial support for detecting mountpoints natively in LXD.

@stgraber, well without looking at the specific code for mountpoint I can tell you right away that they definitely must parse /proc/<pid>/mountinfo. There's just no other way to detect a bind-mount mountpoint. There's code for that in liblxc which I might just move over/reimplement here.

@stgraber, well without looking at the specific code for mountpoint I can tell you right away that they definitely must parse /proc/<pid>/mountinfo. There's just no other way to detect a bind-mount mountpoint.

I should clarify: s/detect a bind-mount/reliably detect a bind-mount/

You folks are the best.


Late-bound names appear to function differently based on declaration style

If I have a const, it takes on a literal type, which it should then reuse in the input/non-mutable positions. However if I cast the literal assigned to the const (to the same thing!) the literal type is also preserved in the mutable location, which is odd.

I think this is expected, because the assertion makes it a non-widening type.

So the interesting thing if you're OK with that is really that if you try the same thing with a unique symbol it doesn't work the same way.

this looks right to me.  i do agree with @ajafff's comments.


Cannot use instance of Swiper when accessing element

Hello,
I try to access the Swiper instance by defining my property like you mentioned: ViewChild(SwiperComponent) swiperView: SwiperComponent;
I set my config when getting data via an API (images etc.):
 this.apiService.contentTransmitter.subscribe(data => {             this.sliderOptions = {                 pagination: '.swiper-pagination',                 nextButton: '.swiper-button-next',                 prevButton: '.swiper-button-prev',                 keyboardControl: true,             };         });
Template:

 ...

However, when doing console.log(this.swiperView) the console says this.swiperView is undefined.
When directly accessing the element (instead of writing "SwiperComponent") this.swiper is defined, but I can't use the methods like update() or "slideNext()"
Thank you in advanced,
Säerin

You need to study Angular bit more. You are using directive not component so thats why you wont get anything with defining SwiperComponent since there simply isn't such component. Anyway ViewChild usage is more of an Angular question than related to this library.


Allow Dolly's trainer main to be called,

Otherwise you get an error "ImportError: attempted relative import with no known parent package" when you try and call the main.
reproduction:
python ./training/trainer.py

This is executed as a module, for example: python -m training.trainer. We execute it this way using deepspeed (see below). This change will actually break that usage.
https://github.com/databrickslabs/dolly/blob/master/train_dolly.py#L162


[REQUEST] Dont push all branches at once

When you push, all the branches get updated on remote and not just the one you are working on.
Steps to reproduce:

-- Create a branch from master called test 1
-- Make a commit to that branch (a)
-- Create a branch from master called test 2
-- Make a commit to that branch (b)
-- Run the command to add + commit + push

I would expect only the current branch to be pushed but all local branches are pushed.
Some are pushed unintentionally such as a master branch that you were testing things on. I understand that I could do a better git flow here but to push all branches locally to remote is likely not the best or the intended method of the developers.

I can't reproduce this. None of the commands in this package would push all branches.

If this can't be reproduced, feel free to close. :) Thank you for taking the time


HAWQ-1435 document new pxf jdbc plug-in

document the community-contributed PXF JDBC plug-in.  include a simple mysql example.

todo - need to update the JDBC Custom Options table in this doc if HAWQ-1482 (pxf jdbc plugin empty RANGE values not implemented) is still pending.  also should verify there are no similar restrictions for the INTERVAL.

thanks for reviewing, @dyozie.  i have incorporated your comments.  let me know if i handled the required options appropriately.


themeProvider.tryGetTheme does not seem to work :(

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
The tutorial on https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/supporting-section-backgrounds does not work in my webpart.
Observed Behavior
The tryGetTheme method always returns undefined:
    // If it exists, get the theme variant
    this._themeVariant = this._themeProvider.tryGetTheme();

Secondly, the themeChangedEvent is never triggered (when changing the theme in the SharePoint user interface):
    // Register a handler to be notified if the theme variant changes
    this._themeProvider.themeChangedEvent.add(this, this._handleThemeChangedEvent);

I'm not sure whether I'm doing something wrong here or whether the functionality is broken (I'm using SPFx 1.9.1).
I'd appreciate a working example of how to get the current theme colors and react on the event when the user changes the page theme (including when the user previews it).

Please check the example code below.
import { ThemeProvider, ThemeChangedEventArgs, IReadonlyTheme, ISemanticColors } from '@microsoft/sp-component-base';
import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';

export default class BasicPlainSectionBackgroundExampleWebPart extends BaseClientSideWebPart<void> {
  private readonly _textContent: string = 'This web part has support for section backgrounds and will inherit its background from the section';
  private _themeProvider: ThemeProvider;
  private _themeVariant: IReadonlyTheme | undefined;

  public render(): void {
    // See https://github.com/OfficeDev/office-ui-fabric-react/wiki/Theming
    const semanticColors: Readonly<ISemanticColors> | undefined = this._themeVariant && this._themeVariant.semanticColors;

    const style: string = ` style="background-color:${semanticColors.bodyBackground}"`;
    this.domElement.innerHTML = `<p${'' || (this._themeProvider && style)}>${this._textContent}</p>`;
  }

  protected onInit(): Promise<void> {
    // Consume the new ThemeProvider service
    this._themeProvider = this.context.serviceScope.consume(ThemeProvider.serviceKey);

    // If it exists, get the theme variant
    this._themeVariant = this._themeProvider.tryGetTheme();

    // Register a handler to be notified if the theme variant changes
    this._themeProvider.themeChangedEvent.add(this, this._handleThemeChangedEvent);

    return super.onInit();
  }

  /**
   * Update the current theme variant reference and re-render.
   *
   * @param args The new theme
   */
  private _handleThemeChangedEvent(args: ThemeChangedEventArgs): void {
    this._themeVariant = args.theme;
    this.render();
  }
}

I suggest you check the solution with source code from here:  Supporting section backgrounds in your web parts
Dennis Guo
Microsoft SharePoint Community Support

Yes, this is the code I was using and afaik this is exactly also what I'm doing, but as I said, this code does not work. I will try the sample project to see whether it works there and if so, where the differences are. For me, the very first line (in onInit) throws already an exception (the this.context is undefined, because the super.onInit has not been called yet (last line)). If I do it afterwards (e.g. in a .then), no exception occurs, but neither do I get a current theme (tryGetTheme just returns undefined), nor do I get change events.

Please check the serve.json file in config folder and set the "initialPage" to "https://tenant.sharepoint.com/_layouts/workbench.aspx". Then run "gulp serve" to check if it works.

Dennis Guo
Microsoft SharePoint Community Support


Data Augmentation

Very nice structured paper and code as well, congrats! I have a question: It appears that you perform the data augmentation before splitting into train, test and validation sets. Wouldn't that lead to data leakage into the test and validation sets? Thanks!

Thanks for the comment. I agree with your concern about augmenting the validation and test data. However, I want to clarify that we have done the augmentation on the training set only...not on the other two sets. In this code, I have just given the basic flow of the deep learning model and training testing part. However, all the augmentation and other parts are not provided in the code

Perfect! Great job!

Thank you


Report duration of each iteration

docker-compose.yml for testing:
---
version: "2.1"
services:

  gateway-mfr-rs:
    build:
      context: https://github.com/joecryptotoo/gateway-mfr-rs.git#bench
    cap_add:
      - SYS_RAWIO
    devices:
      - /dev/i2c-1:/dev/i2c-1
    command: /usr/src/gateway-mfr-rs/target/debug/gateway_mfr --device ecc://i2c-1:96 bench -i 3

Just run docker compose up and this should build from my bench branch and run.

Just listing out all the timings for each iteration is going to get way too large to work with.
How about using histogram bucketing and reporting that instead? that way you get the median and percentiles reported in a single short list of numbers

hmm.. nope sorry.. I 'd like just the fix.. and then we need to work on the durations output being optional and not forced in by default

@madninja
durations are now optional with the -d flag


Kanboard is very slow to save tasks

Expected behaviour
Some weeks ago kanboard was still super fast : moving a task from a column to another was immediate.
Actual behaviour
When we create a task or move one, it takes around 10 seconds to save the change.
Note that it doesn't seems to occurs on all projets, only certain where there are other users on the board.
At the end of the page you can check the debug.log file. It seems that somes queries took more than 7 seconds. FYI there are 42 projects and 64 users. But not everybody use kanboard
Configuration
Copy and paste the configuration section from the Kanboard settings page or fill these fields:

Kanboard version: 1.0.25
Database type and version: SQLite provided by kanboard if I recall
PHP version: 5.6
OS: Debian 3.2.57-3
Browser: Chrome and Firefox, latest versions

debug.txt

I see similar on many actions and I think that problem is with mail notifications. Because as I can see, KB does not send mail to mail queue and PHP code waiting for mail server response. Sometimes communication with mail server (or mail relay) is slow or whatever and it is reflect to KB speed.
Yesterday, I was situation about uploading document (attachment to task) and after few hours I get list of many documents. All my tries are accepted. Very strange, ...

I see the same slowness here. @Mammeri note that the queries you see as taking more than 7 seconds all have the suffix E-5 at the duration. They didn't actually take that long, just an unfortunate number formatting issue in the log.
Version: 1.0.27
PHP version: 5.6.10
PHP SAPI: cgi-fcgi
OS version: Darwin 15.4.0
Datenbanktreiber sqlite
Database version: <IP_ADDRESS>
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17

The latest version of Kanboard add the support of background workers to delegate slower operations to another process. This feature still experimental but greatly improve the performances.
Have a look to this page: https://kanboard.net/documentation/performances


ESP mac address --> mqtt prefix need %02x in os_sprintf ?

in file "user/config_flash.c" line 64 -->   os_sprintf(config->mqtt_id,"%s_%02x%02x%02x", MQTT_ID, mac[3], mac[4], mac[5]);
mind the  in "%02x" to manage mac address with "0x:" parts

Thanks - added this with the latest commit.


Add HostProcess support for Calico for Windows

Description
This PR adds support for installing Calico for Windows using HostProcess containers.
Preview: https://deploy-preview-5864--calico-master.netlify.app/getting-started/windows-calico/quickstart

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

Add tech-preview support for Calico for Windows using HostProcess containers

Just a minor comment but LGTM.


fix incorrect and inconsistent offer event types

TRADE_CONFIRMATION_NEEDED_EVENT was inconsistent with the rest of the trade offer events. The types provided for the rest were incorrect.

I don’t see what is incorrect. It is intended that the trade offer changed event has the offer and old state properties. The other events do not have the trade offer as a property because there are no other properties.

To access for example the trade offer partner you need: event.data.offer.partner, but the old type showed it as event.data.partner which is undefined.

What event is that for?

Trade received and trade sent


faq section has been added

Description
included the faq section
Fixes #(53)
Replace 53 with the issue number which is fixed in this PR
Screenshots

Checklist

[x ] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[ ] Code follows the established coding style guidelines
[ ] All tests are passing

Resolve the conflicts @sandeep0009

resolved the conflict

As you can see that when we open the 2nd drop-down menu then we can close that by pressing only the 1st menu no the 2nd one. So the context is the 1st dropdown can't be closed as it's the ultimate one.


Rule based chatbot using LangChain

Issue you'd like to raise.
What is the best approach to create a rule based chatbot with LangChain?
Context: I need to create a chatbot that needs to collect some basic user's info at the beginning (things like name, email, phone) and then continue providing some general responses based on custom information.
Thanks in advance.
Suggestion:
No response

@daiangan check out VectorStoreRetrieverMemory


fix: exact match for subcategory

Fixes Issue
Closes #1616
Changes proposed
Used === for exact match
Screenshots

Note to reviewers

@rupali-codes
I am merging this, as I believe it properly solves the issue, plus there is not much to review.😅


Liquibase generatechangelog command is not generating sequences for postgre db

Environment
Liquibase Version: 4.8.0
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Liquibase Extension(s) & Version:
Database Vendor & Version:postgre
Operating System Type & Version:
Description
Liquibase generatechangelog command is not generating sequences but below generated create table statement is referring to the sequence.
CREATE TABLE "test_liquibase"."test" ("id" INTEGER DEFAULT TEST_ID_SEQ NOT NULL
Steps To Reproduce
List the steps to reproduce the behavior.

Please be precise and ensure private information is redacted
Include things like

Files used - sql scripts, changelog file(s), property file(s), config files, POM Files
Exact commands used - CLI, maven, gradle, spring boot, servlet, etc.

Actual Behavior
A clear and concise description of what happens in the software with the version used.

Include console output if relevant
Include log files if available.

Expected/Desired Behavior
Liquibase generatechangelog command should generate sequences.
Screenshots (if appropriate)
If applicable, add screenshots to help explain your problem.
Additional Context
Add any other context about the problem here.

Hi @shilpagupta-axtria, I created a sequence and ran the generateChangeLog command on both in Liquibase 4.80 and 4.15.0 and I couldn't reproduce the issue in neither of them. I saw that the sequence was being generated in the output from the generateChangelog command. The DB I used was PostgreSQL 14.2.
I will close this issue but if you still have troubles with this feel free to reach out to us again.


'SliderInput' is not exported from '@mui/material/Slider' (imported as 'SliderInput') even though it is marked as exported from Slider.d.ts file

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Build fails and return error export 'SliderInput' (imported as 'SliderInput') was not found in '@mui/material/Slider' (possible exports: SliderMark, SliderMarkLabel, SliderRail, SliderRoot, SliderThumb, SliderTrack, SliderValueLabel, default, sliderClasses)
Expected behavior 🤔
Build should not fail and SliderInput should be exported
Steps to reproduce 🕹
Steps:

npx create-react-app my-app
cd my-app
npm install @mui/material @emotion/react @emotion/styled
npm start
Try to export and use import Slider, { SliderInput } from "@mui/material/Slider";

Context 🔦
Create SliderCustomComponent with CustomSliderInputCompnent.
Your environment 🌎

Tech
Version

Material-UI
v5.9.3

React
v18.2.0

Browser
Chrome

We don't export SliderInput from @mui/material. It should be removed from Slider.d.ts - this was likely omitted by mistake. Slider gets a plain input in its Input slot, so there's nothing to export.
Would you like to create a PR and remove the unnecessary export?

Yes, sure.


Logo and icons

We should have some sort of logo that we can put on the home page and have as a favicon.
@lukecoy @amb8805 @Lettuceman44 Thoughts?

Definitely Agree.  Maybe not the same as the favicon but definitely something that could be used to represent our product.  I think it's out of our realm of ability though.  Would it be possible to leverage a Graphic Designer either on our end, or someone from Mozilla?

Abby suggested that we do a first pass and run it by Ricardo.

is this good?

Icon introduced in PR #104
Still need to add it as a favicon before we can close this issue out.

Favicons in PR #105
Everything look good to me


Detect webhooks that are potentially problematic for maintenance activities and place a constraint on shoots

How to categorize this issue?
/area ops-productivity
/kind enhancement
/priority normal
What would you like to be added:
We should detect webhooks that are potentially problematic for maintenance activities and place a constraint on shoots of type MaintenancePossible to forbid maintenance similarly to how we currently forbid hibernation for similar reasons. The constraint could look like this:
    constraints:
    - type: MaintenancePossible
      status: 'False'
      lastTransitionTime: '2020-11-05T02:43:34Z'
      lastUpdateTime: '2020-10-29T07:32:57Z'
      reason: ProblematicWebhooks
      message: >-
        Maintenance activities cannot be performed on this shoot because of
        MutatingWebhookConfiguration "sen-webhooks-shoot": webhook
        "vpn-service-webhook.sen.sap.com" with failurePolicy "Fail" will probably
        cause the maintenance activities to fail.

Alternatively, we may refrain from forbidding maintenance, but still add a constraint and a visual cue in the dashboard based on this constraint, e.g. a red "Schedule Maintenance" button with a popup that displays the constraint message.
Why is this needed:
During DoD activities, we noticed errors where the shoot reconciliation during maintenance activities failed due to a user webhook modifying kube-system pods. If the webhook is not reachable from kube-apiserver for whatever reason (e.g. no running vpn-shoot pods, or webhook pods), calling the webhook may fail with context deadline exceeded even if the failure policy is set to Fail, or even if it's set to Ignore and the timeout is long enough (30s or more). This in turn prevents kube-system pods from being created, which may prevent calico from properly initializing and cause the nodes to fail to join the cluster due to kubelet reporting NetworkPluginNotReady.
The issue is partially mitigated by https://github.com/gardener/gardener/pull/3100, but not prevented entirely.
The solution proposed above was suggested in the DoD sync.

Also related: https://github.com/gardener/gardener/issues/3020

Does this mean we skip reconciliation as long as the Shoot has a problematic webhook?
If yes, we should make sure a shoot is reconciled as soon as a new Gardener version is rolled out at the latest, even if it then fails. Otherwise we can hardly ensure that a cluster was processed by necessary migration logic which is only shipped in certain versions of Gardener.

Does this mean we skip reconciliation as long as the Shoot has a problematic webhook?

I understand this to be more relevant when the Node pool is being rolled? Not for the general reconciliation.
Then when the calico system pods fails to be created the node fails to join.

In a discussion round with @gardener/gardener-maintainers we agreed to introduce this additional constraint (MaintenancePreconditionsSatisfied) with the same check as for the HibernationPossible today (however, still a separate constraint so that it can be easier extended in the future with additional checks if needed).
However, we won't block maintenance if the preconditions are not satisfied, we will still perform it. The constraint is considered as information for the user so that he is aware of potential problems caused by his configurations. It can/should be displayed in the Gardener Dashboard as warning so that end-users become aware, cc @gardener/dashboard-maintainers


Wrong ISO reference

ISO 8166:2003 specifies a procedure to be used for the evaluation of the life of spot welding electrodes when welding uncoated and coated steels, stainless steels, aluminium and aluminium alloys using constant machine settings which are not changed during the test. (cfr. https://www.iso.org/standard/33246.html)
ISO 3166 is the one that needs to be reference here. (cfr. https://www.iso.org/iso-3166-country-codes.html)
I believe the standard used by CLPlacemark.ISOcountryCode is ISO 3166-1.

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

ID: fb7c0794-42f7-81ea-4f9a-99f5f809d2b6
Version Independent ID: a461ce09-9140-77c4-3038-24149df4c25c
Content: CLPlacemark.IsoCountryCode Property (CoreLocation)
Content Source: en/CoreLocation/CLPlacemark.xml
Product: xamarin
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Keen eye @thms-dwld, thanks for your feedback. We'll fix it up soon.


[ERROR-61] Exception

Today I tried downloading some courses and received the following on
Ubuntu 16.04 LTS with udemy-dl==0.2.2-alpha.2 and python-pptx, pyOpenSSL aria2 and ffmpeg installed.
[INFO-133] Trying to log in ...
[ERROR-61] Exception
Traceback (most recent call last):
File "/usr/local/bin/udemy-dl", line 7, in
main()
File "/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py", line 947, in main
save_links, safe_file_names, just_list, output_dest, dir_use_course_title)
File "/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py", line 744, in udemy_dl
login(username, password)
File "/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py", line 134, in login
csrf_token = get_csrf_token()
File "/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py", line 128, in get_csrf_token
return match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Login seems to be a problem again

@seanwhe i think you are not using this Repo but the One on python's repository. check this issue #152

Yes I am installing with from pip

@seanwhe clone this repository and try to download if you face any error with this repo then let me know. i did not added this to python's repository yet. so this utility cannot be installed with pip but can only be clone from github.


AppArmor: runtime check if it's enabled on the host

Check at runtime if AppArmor is enabled on the host.
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

LGTM assuming happy tests

Finger's crossed. I remember the great battles with Travis around AppArmor :laughing:

I like this solution better than just making the tests conditional. LGTM

cannot find package "github.com/opencontainers/runc/libcontainer/apparmor" ... updating

bot, retest this please

bot, retest this please

bot, retest this please

bot, retest this please

One last time ... stuck on Provisioning host...

bot, retest this please

bot, retest this please

So travis is green... Going to try and merge
@rh-atomic-bot r+


[Browser] [IME] Fix event handling

What does the pull request do?

This PR changes the browser backend to only deal with composition and key events. It no longer handles the input event because that could result in duplicate input when some IME is used to compose text.
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues
<!--- If the pull request fixes issue(s) list them like this:
Fixes #123
Fixes #456
Fixes: #11622

You can test this PR using the following package version. 11.0.999-cibuild0039740-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Add support for imgui_internal.h

Untested but Ben mentions this is still WIP

Was this abandoned? If not, is there any way to test it out? Doesn't seem like headers for imgui_internal.h are generated as of now

The idea is that you’d need to run dear bindings on this specific header rather than imgui.h.
It doesn’t work yet. IMHO this is the most important feature ahead but this is being developed in spare time. Feel free to help fixing things if you can.
Extra thought: due to the nature of internals i guess the generator could be tweaked to not emit the non-Ex/Ex functions.

Extra thought: due to the nature of internals i guess the generator could be tweaked to not emit the non-Ex/Ex functions.

Had the same thought. The non-Ex/Ex split makes it right more annoying, since C# supports default arguments just fine, and the variant with implied default values won't probably even be referenced by the wrapper.

Did you meant to close this? I guess it's part of #47 ?
When #47 makes progress it may make sense to enable it on CI ?

Closing this as #47 implements imgui_internal.h support now. We can (hopefully!) track any more specific problems that come up with it as other issues.


missing ed25519 support

WebSSH doesn’t support ed25519 keys right now, this makes some servers unreachable for public key authentication. Is it possible to add support for ed25519 private keys?

Hello @michaaa
Thanks for your issue!
ed25519 support should be available since #5
I'm closing this issue because it have a lake of:

evidences that WebSSH doesn't support ed25519 (any logs?)
bug model report (https://github.com/isontheline/pro.webssh.net/issues/new?assignees=&labels=&template=bug_report.md&title=) is missing, which device?, which iOS version?, which ssh server version? which linux distribution?

Please provide us all logs on both sides in order to reopen this issue :

error displayed on WebSSH side
error displayed on SSH side

☀ Have a nice day

Could you also put informations about your public key :
ssh-keygen -l -f /private/etc/ssh/ssh_host_ed25519_key.pub


Fix selector used to allow clearing non-required fields.

is('required') seems to return false regardless of whether the field has the required attribute or not. This change uses a more appropriate selector to configure select2 as clearable.

Ooops, nice finding !! thanks a heap !!

Codecov Report

Merging #868 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #868   +/-   ##
=======================================
  Coverage   97.09%   97.09%
=======================================
  Files         124      124
  Lines        2172     2172
=======================================
  Hits         2109     2109
  Misses         63       63

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 22d68c8...306d07e. Read the comment docs.

Looks like these build failures are unrelated to the change :)


Mod lightoverlay (4.3) uses 'requires' key in fabric.mod.json, which is not supported - use 'depends'

Hi, I'm seeing this error on the game output window upon launch:
"Mod lightoverlay (4.3) uses 'requires' key in fabric.mod.json, which is not supported - use 'depends'"
Fabric continues to load other mods fine, but LightOverlay fails to load. I'm on 1.15.2
LightOverlay-4.3
Fabric loader 0.7.8 build 184

Mod lightoverlay (4.3) uses 'requires' key in fabric.mod.json, which is not supported - use 'depends' shouldn't crash the game, do you have a log?

It's not crashing, and sorry I was mistaken, LightOverlay actually does load & work (took me a long while to find the shortcut F7) - I'm just curious why the output window sends that error on load.

It's not crashing, and sorry I was mistaken, LightOverlay actually does load & work (took me a long while to find the shortcut F7) - I'm just curious why the output window sends that error on load.

Do you have a log?
Can zombies spawn in your biome that you are in?

It randomly started working again. Not sure why it wasn't before. Sorry I didn't manage to get a log.


📄 Update Japanese OAuth docs

Summary
I have updated Japanese OAuth docs to reflect below changes ✏

#1329

#1330

#1315

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Thank you very very much for review and suggestion!!
@seratch I fixed it ✏