replace lakefs_client with lakefs-sdk in Spark integration test harness

Closes #8391
Change Description
Background
Replace lakefs_client (deprecated python client) with the lakefs-sdk (1.43.0).
Bug Fix
Since in the Spark Integration tests the old deprecated client was used, this PR introduces the new python client (LakeFS_sdk).
New Feature
No new feature was added.
Testing Details
Will be added later, right now I'm struggling with running the docker-compose which contains the testing environment on my local machine.
Breaking Change?
No Breaking changes.
Additional info
Logs, outputs, screenshots of changes if applicable (CLI / GUI changes)
Contact Details
You can contact me here or by myemail<EMAIL_ADDRESS>

Hi @mahdikhashan ,
Thanks for your contribution! This is very much a needed change. I would like to explain why it may take a while to run ci on this.
There were security risks on GitHub with running CI on PRs that did but originate from the project group. As a result, it doesn't run automatically. I will make an effort to get it to run promptly on your changes.
I suspect we may need additional changes to get the Spark client integration test to run; I'll let you know. In the meantime I'm not requesting changes but also but approving; sorry for keeping you hanging. We should make progress on this PR by Monday.

Running CI on #8405; will push that but easier to run CI there.

Okay, I can run Esti (system tests, including the Spark test affected by this PR). First failure is due to using repositories not repositories_api on the lakeFS Client object.
A guide to running system tests locally is here. This is roughly what you'd need in order to run the Spark test locally - but unfortunately not exactly.

thanks @arielshaqed, I'll setup the local test env and fix the failing ones asap.

[...]

thanks @arielshaqed, I'll setup the local test env and fix the failing ones asap.

Hi @mahdikhashan ,
Worth mentioning - I believe I am not currently blocking you here. If I am, please do let me know!

[...]

thanks @arielshaqed, I'll setup the local test env and fix the failing ones asap.

Hi @mahdikhashan , Worth mentioning - I believe I am not currently blocking you here. If I am, please do let me know!

Thanks for remaining me of this, I got busy with university coursework. I'll dedicate some time on it today and move it forward.

hey @arielshaqed, as you mentioned above, the doc to run the spark tests are poorly written. I have a few questions now:
to run the spark tests, I need to have working version of local development setup if lakefs with spark, its worker and postgress in a docker env.
I have tried two docker-compose I found in the repo,

docker-compose at test/spark path

for this one I receive:

2024-12-06T12:42:27.527090888Z time="2024-12-06T12:42:27Z" level=fatal msg="Invalid config" func=cmd/lakefs/cmd.initConfig file="cmd/root.go:156" error="bad configuration: missing required keys: [blockstore.type]" fields.file=/home/lakefs/.lakefs.yaml file="cmd/root.go:156" phase=startup

which the config is:
credentials:
  access_key_id: AKIAIOSFODNN7EXAMPLE
  secret_access_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
server:
  endpoint_url: http://lakefs:8000

could you help me figure out why this config is invalid?
I also tried the following config without any success:
database:
  type: "local"
  local:
    path: /tmp/lakefs/metadata
auth:
  encrypt:
    secret_key: "some random value that should be replaced for production environments"

blockstore:
  type: local
  local:
    path: /tmp/lakefs/data

logging:
  format: text
  level: trace

docker-compose at etsi/ops

for this one I receive:

✘ lakefs Error failed to resolve reference "docker.io/treeverse/lakefs:dev": docker.io/treeverse/lakefs:dev: not found                                             1.1s
✘ esti Error   context canceled

it seems that in set_env_vars.sh, I may need to define some vars, in this case would you be happy to share if any exists?
looking forward to hearing from you

otherwise, i fix this attribute issue: AttributeError: 'LakeFSClient' object has no attribute 'repositories'. Did you mean: 'repositories_api'?

Hi @mahdikhashan ,
This line:

error="bad configuration: missing required keys: [blockstore.type]"
indicates that your configuration is missing a blockstore type.  Indeed, you need to configure a blockstore there.

Your second issue is easier to fix.  You need to build an appropriate docker image, since you are in dev.  Can you try to make build-docker?  That will build a local Docker image that Esti can use.

Hi @mahdikhashan , This line:

error="bad configuration: missing required keys: [blockstore.type]"
indicates that your configuration is missing a blockstore type.  Indeed, you need to configure a blockstore there.

Your second issue is easier to fix. You need to build an appropriate docker image, since you are in dev. Can you try to make build-docker? That will build a local Docker image that Esti can use.

ok, thanks. I'll follow up from your here. will update you.

Hi @mahdikhashan ,
Any news on this?  I'm happy to close the PR and re-open it when you feel you have more time.


Updated Russian translation

Removed extra Lapis.
Unified "redstone" and "glowstone" translations.
Added some translation made by "xMrVizzy" in the concurrent pull.
Typo fixes.

Thanks!


chore: bdd-gh-1590030410 to 0.0.1

chore: Promote bdd-gh-1590030410 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Error on docker build + Script for local build ?

Hi .
First, thanks for this interesting project, read the paper and it was great! :-)
I tried to build and the fluffy as mentioned in the documentation :
sudo docker build -t fuzzer .
But got this :
   Compiling cargo_metadata v0.11.4
   Compiling cargo-binutils v0.3.3
   Compiling cargo-fuzz v0.10.2
    Finished release [optimized] target(s) in 20.75s
  Installing /root/.cargo/bin/cargo-fuzz
   Installed package `cargo-fuzz v0.10.2` (executable `cargo-fuzz`)
Removing intermediate container 808d02a9efac
 ---> d353e48c7d5c
Step 19/20 : RUN cd /root/openethereum/evmfuzz && cargo fuzz build --dev fuzz_target_1
 ---> Running in b4ade485799b
    Updating git repository `https://github.com/johnyangk/syn`
    Updating crates.io index
    Updating git repository `https://github.com/paritytech/app-dirs-rs`
    Updating git repository `https://github.com/johnyangk/bn`
    Updating git repository `https://github.com/paritytech/secret-store`
error: failed to select a version for the requirement `aes = "^0.3.2"`
candidate versions found which didn't match: 0.7.4, 0.7.3, 0.7.2, ...
location searched: crates.io index
required by package `parity-crypto v0.6.1`
    ... which is depended on by `ethkey-cli v0.1.0 (/root/openethereum/accounts/ethkey/cli)`
Error: failed to build fuzz script: "cargo" "build" "--manifest-path" "/root/openethereum/evmfuzz/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--bin" "fuzz_target_1"

Any solution to this?
Also, is there any scripts to build and run fluffy locally?
Thanks!

I have the same problem as yours, do you have any solution now?

I have the same problem.

I have the same problem.


cargo-apk: Inherit package configuration (version) from workspace root

Depends on https://github.com/dvc94ch/cargo-subcommand/pull/23, https://github.com/dvc94ch/cargo-subcommand/pull/24
Fixes #359
Starting with Rust 1.64 common [package] parameters (and dependencies) can now be specified in the workspace root manifest by setting <field>.workspace=true in a [package] and specifying its value in the workspace root manifest under [workspace.package].
Since cargo-apk reads the version field from [package] it has to support this new format and pull the value from the root manifest instead, in order to support projects utilizing this new format.
This is currently implemented ad-hoc for the version field, but could be done in a cleaner way if/when more fields are needed.

I'll merge this in when closer to a cargo-apk release - which is basically exclusively blocking on #363 or a similar solution - at which point I'll also make a new breaking cargo-subcommand release.


Issues with Fork PR attack when fork takes time

Our integration tests pointed out this issue. The subsequent clone operation will fail if the GitHub fork API call does not lead to a forked repo within a few seconds.
To fix this, check every 15 seconds if the forked repository is visible, and only perform the clone at that point.

Re-opening as the first fix did not entirely work because of delay between get repository API call returning a 200 and github populating the git tree.


Compared to FeatureWiz?

Cool script.  Is this supposed to be an alternative to FeatureWiz?

No. You need to use pandas-dq first to fix data quality issues in your data and then apply featurewiz to create new features and/or do feature selection.
Does that make sense?
On Wednesday, February 7, 2024 at 06:15:07 PM EST, Richard<EMAIL_ADDRESS>wrote:

Cool script. Is this supposed to be an alternative to FeatureWiz?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


[Monitor][Query] Fix docstring formatting

The description for the filter keyword argument is rendered and formatted strangely on the docs sites. This updates the string to match what is in the swagger with the formatting corrected.

API change check
API changes are not detected in this pull request.


Mocked And Forwarded Mixed Mode when using XPath response strategy

Hi to everyone,
It would be nice to have a Mocked/Forwarded mixed mode when using XPath response strategy.
For Soap Project when using Mocked status and XPath response strategy, if there is a matching XPath, the designed response is sent, otherwise a default response mock i sent back.
It would be nice to have  the chance to set this behavior:
if there is a matching XPath, the designed response is sent, otherwise the request is forwarded.
This feauture would be helpfull to mock just one user response without mock response the others.
If you think it could be a good feature i can develop myself and make pull request, let me know about it.

I think it's already supported? There's a default response to select which response in the list that is to be sent back if no matches found.


Regression test failure for bedtools reldist on Debian.

Hi again,
on Debian systems, the regression tests for bedtools reldist report a different result than the expected one and therefore fail.  Here are the first lines in the case of the second test ($BT reldist -a $DATA/refseq.chr1.exons.bed.gz -b $DATA/aluY.chr1.bed.gz).
$ head exp-- obs--
==> exp-- <==
reldist count   total   fraction
0.00    164 43408   0.004
0.01    551 43408   0.013
0.02    598 43408   0.014
0.03    637 43408   0.015
0.04    793 43408   0.018
0.05    688 43408   0.016
0.06    874 43408   0.020
0.07    765 43408   0.018
0.08    685 43408   0.016

==> obs-- <==
reldist count   total   fraction
0.00    164 43424   0.004
0.01    551 43424   0.013
0.02    598 43424   0.014
0.03    637 43424   0.015
0.04    793 43424   0.018
0.05    688 43424   0.016
0.06    874 43424   0.020
0.07    765 43424   0.018
0.08    685 43424   0.016

To better find the differences, I artificially changed the count in the observed results to 43408.
Do you think that the problem is rather on the Debian side or on the BEDTools side ?
Have a nice week-end,

Charles

Any news about this?

Shuffle is known to fail because of platform differences in random number generation even with the same seed value.

Hi Aaron,
On Wed, Dec 14, 2016 at 06:25:16AM -0800, Aaron Quinlan wrote:

Shuffle is known to fail because of platform differences in random number generation even with the same seed value.

In other words the test failure can be ignored?  I admit I would prefer
if the test suite itself would reflect this somehow.
Kind regards
    Andreas.

--
http://fam-tille.de


"The Page you requested does not exist" error is coming up more consistently for a user when opening page in incognito window

I have tried in Firefox, Safari, and Chrome and cannot replicate this error.  Made ticket to document error, should it happend again.
Collection affected: https://dpul.princeton.edu/redefining_old_nassau
Curator: April Armstrong
Original Correspondence below.  Confirmed that she is logged in when she gets the error (screenshot also provided).  and the error is not consistent,  but it happening more frequently for her.
I wondered if you can help me with a persistent error message I've been getting. Sometimes it helps to open the site in an "incognito" window, but even then I often get an error message, "The page you requested doesn't exist." It's an intermittent error, so I am sometimes able to get in, but not all the time, and the error is now coming a lot more frequently.

@kelea99 is this still happening?

I cannot reproduce the error. Wrote to stakeholder this morning to check in with them as well.

@kelea99 any response? Shall we close this?

No response. Closing issue until we hear this is still an issue.


protocol: avoid double buffering

Use smaller buffer size, and use buffer only to read the PROXY header.
Users may use they own buffers with they own buffer sizes and pools - connection should respect that.

coverage: 94.82% (-0.3%) from 95.119%
when pulling b4098fdcd2faecb43782b161ad2f909951b4b013 on mmatczuk:mmt/dont_use_read_buffer
into b718e7ce4964b060fd3ccc090b58cb74e1857c32 on pires:main.

I fixed the listing issues in the patch, and piggybacked patch to fix the ioutil usage.

Hey there! Thank you for your contribution. Would you be so kind as to check the tests failure? https://github.com/pires/go-proxyproto/actions/runs/10919900083/job/30323349143?pr=116#step:5:194

Sure, it's done.

I am paying attention to this but I need #110 to land first 🙏🏻 thanks for your patience.

Actually, I'm merging this now. Thanks a lot for your contribution.

Taking a wider perspective I think that it would be better to have the parsing APIs based on io.Reader and use ReadAll instead of Peek(). This is out of scope of this pr.

Yes, but then again one needs to keep a copy of read bytes in case there is no PROXY header to support https://github.com/pires/go-proxyproto/issues/106 usecase.


Update to .Net 6.0

.Net 5.0 has reached it's end of support in May, time to upgrade.

Implented in https://github.com/Jacudibu/PRUNner/releases/tag/v0.5.1


Create closes tree

When you are first in the knative ext and you create a new Service/Revision the first time, it closes the tree and does not refresh.

I can no longer reproduce this.


Clustering players based on their playing patterns

Fixes #24.
I clustered the players using different clustering algorithms but found K-Means to work the best and proceeded with that to cluster them based on their playing patterns/characteristics.
I plan to work on the issue further and specify probable player roles in a team based on a more detailed clustering.
Our analysis can help teams to find better replacements for their team based on player characteristics/playing patterns by choosing another player in the same cluster.

Hi! @Arg-10 great work! However, can you move the files to the datasets and the notebooks folder with consistent naming?

Sure! Could you please suggest what names should I give them?

@Arg-10 anything that describes what you have done and the artifact produced.

I'll be closing this PR. Feel free to open this up when needed. Do not make a new one.

I've made the required changes.

Thanks, @Arg-10 for the changes.


PostgreSQL: Error parsing attribute "@relation": The onDeletereferential action of a relation must not be set toSetNull when a referenced field is required.

    I do have a problem with my schema migrating from 4.4.0 to 4.6.1 (postgres):

I have a multi tenant application and therefore I do have composite keys in almost every model
model User {
id String
tenant_id String
tenant              Tenant                @relation(fields: [tenant_id], references: [id], onDelete: Cascade)
tariff_id String?
tariff Tariff? @relation(fields: [tenant_id, tariff_id], references: [tenant_id, id], onDelete: SetNull)
...
@@id([tenant_id, id])
@@index(id)
}

This errors with:
Error parsing attribute "@relation": The `onDelete` referential action of a relation must not be set to `SetNull` when a referenced field is required.
Either choose another referential action, or make the referenced fields optional.

The tenant_id is always present in all models as it scopes the items. The tariff_id can be set to null in case the related Tariff is deleted and this is what should happen here.
Originally posted by @pfried in https://github.com/prisma/prisma/issues/9380#issuecomment-1326600103

@pfried The validation error you see here, is a recent change added in https://github.com/prisma/prisma/issues/14673
PostgreSQL allows the action to be SET NULL on a required field, which will error at runtime since NULL will be an invalid value. This validation error protects you from that runtime error.

Did you write this schema by hand or is this an existing database?
Does this make sense to you?

Let us know if something is unclear or if this is a problem for you.
We are actually working on changing this from an error to a warning to have better compatibility with existing schemas. The setting doesn't make much sense (allow NULL on a required field, which would crash at runtime) but it might be used in schemas where changing it is not an easy option, so we will warn instead afterhttps://github.com/prisma/prisma-engines/pull/3440

PostgreSQL allows the action to be SET NULL on a required field, which will error at runtime since NULL will be an invalid value. This validation error protects you from that runtime error.

This is true but I think there is still some confusion because logically speaking the relation exists on a compound key (tenant_id and tariff_id) where only one component is required which is the tenant_key where the tenant key is also used for the entity itself as  a compoud key (tenant_id + id). You could now think that you can only set the tariff_id to NULL  since also the field tariff_id did not have a NOT NULL constraint. For referential integrity this is certainly true.
Postgres on the other hand tries to set both key components to NULL which seems a bad choice but common (also MySQL afaik).
There is a discussion here  about this behaviour and proposed changes for postgres. I was not able to dig up some documentation but the index seems to enforce a unique and not null constraint.
Possible workarounds could be:

Add a BEFORE DELETE trigger to set the tariff_id to null before  a constraint is checked.
Add two constraints: first on tariff_id only which requires it to be unique with a ON DELETE SET NULL, second on the composite key without an action
Ommit using a compiste key (when possible) and normally use a ON DELETE SET NULL constraint

Did you write this schema by hand or is this an existing database?

The schema was written by me, so no existing database

Does this make sense to you?

Ah well it takes some brain bending to why this is coming from a logical standpoint regarding referential integrity

@pfried Do you agree that our planned warning then is correct (ignoring the new syntax introduced in PostgreSQL 15)?

The onDelete referential action of a relation should not be set to SetNull when a referenced field is required. We recommend either to choose another referential action, or to make the referenced fields optional.

In our understanding the referential action would indeed always try to set all columns of the foreign key to null, which would fail as one of the columns is required - and hence a constraint error would be thrown.
In the future we could implement this new PostgreSQL 15 feature, and then also loosen our validation here to only show the warning when the affected (so defined in SET NULL (foo)) column is required (which I assume is probably still allowed for some reason).

Yes the warning is correct. (The only issue i have with this that it is true by implicit terms (index) and not because the field is NOT NULL)
Plans sound good, should work for me


[Bug] configurations are broken in emby latest bata.

Verify steps

[X] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[X] I have read the Wiki, especially the FAQ page.
[X] I have searched on the issue tracker for a related issue.

MetaTube Plugin Version
v2023.1215.2200.0
MetaTube Server Version
v1.2.1
What OS are you seeing the problem on?
Windows, Linux, macOS, Other
Description
After changing settings in config page and hitting the save button the settings are not saved, and previous replaced in blank.
Possible due to Emby Web jQuery changes.
MetaTube Server
No response
Jellyfin/Emby Logs
No response
MetaTube Server Logs
No response
How to Reproduce
To Reproduce on Emby <IP_ADDRESS>

Go to 'Dashboard -> Plugins'
Click on 'MetaTube'
Adjust settings
Save the settings
go back to the plugin and see that the changes have not been saved

also encountered


Running test mode on Heroku

I have my app running in Test mode on Heroku. switch_user works well locally with Test mode but causes an exception on Heroku so that the app cannot start
I add config/initializers/switch_user.rb with these changes (to run in Test mode):
 27   config.controller_guard = lambda { |current_user, request| Rails.env.development? || Rails.env.test? }
 28
 29   # view_guard is a block,
 30   # if it returns true, the switch user select box will be shown,
 31   # else the select box will not be shown
 32   # if you switch from admin to "user", the current_user param is "user"
 33   config.view_guard = lambda { |current_user, request| Rails.env.development? || Rails.env.test? }

And this is the error message on Heroku logs:

2011-09-21T02:32:27+00:00 app[web.1]: /app/config/initializers/switch_user.rb:1:in `<top (required)>': uninitialized constant SwitchUser (NameError)
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/engine.rb:201:in `block (2 levels) in <class:Engine>'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/engine.rb:200:in `each'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/engine.rb:200:in `block in <class:Engine>'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `instance_exec'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `run'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/initializable.rb:50:in `block in run_initializers'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `each'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `run_initializers'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/application.rb:134:in `initialize!'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/application.rb:77:in `method_missing'
2011-09-21T02:32:27+00:00 app[web.1]: 	from /app/config/environment.rb:5:in `<top (required)>'
2011-09-21T02:32:27+00:00 app[web.1]: 	from <internal:lib/rubygems/custom_require>:29:in `require'
2011-09-21T02:32:27+00:00 app[web.1]: 	from <internal:lib/rubygems/custom_require>:29:in `require'
2011-09-21T02:32:27+00:00 app[web.1]: 	from config.ru:3:in `block (3 levels) in <main>'

Your Gemfile probably has something like this (or a variant of it):
group :development, :test do
  gem 'switch_user'
end

Most (all recent unless you change it) Heroku applications are created the following under heroku config:
BUNDLE_WITHOUT              => development:test

Which means, since you have your Heroku instance configured to run with RAILS_ENV=test, that when you deploy bundler doesn't even bother installing switch_user and therefore won't try to load it.  Ultimately that means that when your initializer runs, SwitchUser hasn't been defined and you end up with a NameError.

Hi Chris,
I'm using Cedar stack which heroku config output doesn't contains BUNDLE_WITHOUT configuration as Bamboo.
Anyway, I tried to move switch_user outside the dev/test scopes then it works.
Thanks for your reply,
-Giang


total pages now use the prop total if sst true

Paging does not work using SST property, page calculation was using total number of items on data prop and not total prop

Still total prop doesn't work.

I have made some changes to work, I don't remember what, but have a try:
<template>     <div         :class="[{'stripe': stripe, 'hoverFlat': hoverFlat}, vs-table-${color}`]"
class="vs-component vs-con-table">

<vs-checkbox
:key="isCheckedLine ? 'remove' : 'check'"
:icon="isCheckedLine ? 'remove' : 'check'"
:checked="isCheckedMultiple"
size="small"
@click="changeCheckedMultiple"/>

{{ noDataText }}

        <div
            v-if="pagination"
            class="con-pagination-table vs-table--pagination">
            <vs-pagination
                :total="searchx && !sst ? getTotalPagesSearch : getTotalPages"
                :sizeArray="queriedResults.length"
                :maxItems="maxItemsx"
                :description="description"
                :descriptionItems="descriptionItems"
                @changeMaxItems="changeMaxItems"
                v-model="currentx"></vs-pagination>
        </div>
    </div>
</div>

`

I have made some changes to work for me, see if this works to you.
https://pastebin.com/2vRxWqNt

I have made some changes to work for me, see if this works to you.
https://pastebin.com/2vRxWqNt

Why this piece of code is missing from latest version?
    getTotalPages() {       return Math.ceil(this.data.length / this.maxItemsx)       let dataLength = !this.sst ? this.data.length : this.total;       return Math.ceil(dataLength / this.maxItemsx)     },

I don't remember exactly why, but it's working fine, I'am passing this props below:
<ab-vs-table :sst="sst"                      @search="handleSearch"                      @change-page="handleChangePage"                      @sort="handleSort"                      v-model="selected"                      ref="listview"                      :total="itemsTotal"                      :max-items="getItemsPerPage"                      :data="list.data"                      pagination                      search                      multiple>

hi @Keilost I need this fix. Can you please resolve this conflict.


[jetstream] Fix setting omitted QueueGroupName on ConsumerConfig

Description
The QueueGroupName was omitted from being set on the ConsumerConfig resulting in an error from server (NATS) due to misconfiguration.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #2827
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

This PR has missed our release cut off by ~2 weeks. I will consider cherry-picking this into the release, but the PR must be ready in the next day or two, so please go ahead and complete those unit tests @bruth. Thanks.

@bruth @Jarema -- just so this will not miss our 1.11 release I have rebased this PR against the release-1.11 branch and I will now merge this. But please do not forget to add unit tests. (Wait until we have finished releasing 1.11 and merged our release branch back into master branch please)

@bruth - Can you update and review this docs PR, since is looks like is currently does not align with you changes

@msfussell I've put some review notes.


bug: Installing basic acid-project fails because github does not have a default value

 Issue by technosophos
2017-09-01 21:21:02

Comment by bacongobbler
2017-09-01 21:22:19

I meant to file a PR to fix this, but I can confirm this bug. Ronan and I worked around it by uncommenting the github token section, but since it's supposed to be an optional field we should make sure charts are installable without a github token present.


featureAdd runtime cpu time/peak memory metric

Proposed changes
Add runtime cpu time/peak memory metric.

run buildall

run buildall

run buildall

run buildall

run buildall


Update secret values

Describe the solution you'd like
Can the CSI update a secret stored instead of mounting the value in the pod?
Anything else you would like to add:
The main reason is to reload the Nginx tls cert and key

@rosanch We recently added a feature to sync the values as Kubernetes secrets. Check out this doc for more info about the feature - https://github.com/Azure/secrets-store-csi-driver-provider-azure#optional-sync-with-kubernetes-secrets
Also, check out this sample doc on how to use the Secrets Store CSI Driver and Azure Keyvault Provider with ingress controller -https://github.com/Azure/secrets-store-csi-driver-provider-azure/tree/master/sample/ingress-controller-tls

Thank you @aramase
Also, I see it does support to sign into different clouds, but I'm wondering if it will work in airgap clouds as well.

Closing this issue with https://github.com/Azure/secrets-store-csi-driver-provider-azure/pull/153. Will be included in release 0.0.8


Transitive Dependency Vulnerability - Dom4J 1.6.1

Dom4J 1.6.1 is a transitive dependency of the version plugin and vulnerable to the following:

CVE-2020-10683
CVE-2018-1000632

Versions Maven Plugin – Project Dependencies
org.codehaus.mojo:versions-maven-plugin:maven-plugin:2.16.2

org.apache.maven.doxia:doxia-site-renderer:jar:1.11.1

org.apache.velocity:velocity-tools:jar:2.0

dom4j:dom4j:jar:1.6.1

Please upgrade dependency Dom4J 1.6.1 to Dom4J 2.1.3 or higher as the only vulnerability affecting it has been officially withdrawn by the NVD:

https://mvnrepository.com/artifact/org.dom4j/dom4j/2.1.3
https://nvd.nist.gov/vuln/detail/CVE-2023-45960

please see: #946

@slawekjaranowski Thank you. We will pursue this mitigation technique as an alternative for now. Are there plans for future releases to upgrade the Dom4J package to a non-vulnerable version?

Please read:

https://lists.apache.org/thread/l778r6cwj604hxhjlqs8kt58nngcd602
https://cwiki.apache.org/confluence/display/MAVEN/Towards+Doxia+2.0.0+Stack

will be resolved by #1168


[manuf] Finalize {Creator,Owner}SwCfg at end of perso flow

This PR has two commits that:

Move the calculation of OTP measurement from dice_uds_tbs_cert_build to ft_personalize

Modify the perso flow to complete the provisioning of the CreatorSwCfg and OwnerSwCfg OTP partitions at the end of the process.

Sets the expected values for fields in the OTP that are not provisioned until the final stages of personalization.
Compare the OTP measurement used during certificate generation with the value stored in the OTP.

This PR addresses #24610 partially.

The failed test runs usbdev_iso_test_fpga_cw310_sival_rom_ext and usbdev_stream_test_fpga_cw310_sival_rom_ext in the most recent CI pipeline should be unrelated to this PR.


Calling another app from my app's code

Hi, Is it possible to call another app from my app's code in response to an incoming message?
Example- I'd like my app to call the JIRA app and perform an action.
Pseudo-
@app.message(re.compile("(new API)"))
def say_auto_response(say, context):
    req = context['matches'][0]
    say(f"@Jira do xyz")

It appears so! One app can listen to messages from another using the bot_message event, a sub-category of the message event. In Python, you can check the subtype like so:
@app.event(event="message")
def serve_customer(event, message, say):
    if message.get("subtype") == "bot_message":
        say(text="Not with that attitude!", channel="C007733")
    else:
        user = event["user"]
        text = f"What's brewin' <@{user}>"
        say(text=text, channel="C007733")

Proof!

However.. many apps make use of slash commands which must be called by an actual person, so calling a Jira command from your app will unfortunately not work. In this case, you would likely want to make direct API calls from the event/message handler or use other libraries to accomplish what this other app can do.

@dmellonielet Thanks for the thumbs up response to @e-zim's reply! It looks like this issue has been resolved, so I'll be closing it. If you run into any other issues, please feel free to submit a new issue and we'd be happy to help! :)


ENH: save cov method + loglik to disk

ok @agramfort ?

Ok

On 17 janv. 2015, at 18:45, "Denis A. Engemann"<EMAIL_ADDRESS>wrote:
ok @agramfort ?
—
Reply to this email directly or view it on GitHub.


Amend Situational Judgement Test Instructions

As is:
Important information
This test contains 2 questions.
You have 55 minutes to complete this test.
You must submit your test by 21:00 on 1 January 2024.
Make sure you've got a stable internet connection before you start.
Once you have started the test, do not open the test on a second device.
Your answers will be saved as you go through the test, but you can still edit them at the end before you submit your test.
If you experience any technical issues please contact the helpdesk.
If you run out of time, we will submit whatever answers you have completed up until that point.
To be:
Important information
• This test contains 2 questions
• You have 20 minutes to complete this test
• You must submit your test by 21:00 on 1 January 2024
• Ensure your internet connection is stable before you start the test
• If you experience any technical issues, please contact the helpdesk
• Once you have started the test, do not open the test on a second device
• Your answers will be saved as you progress, but you will be able to edit them at the end before you submit your test, assuming you still have time remaining
• If you run out of time, we will submit whatever answers you have completed up until that point.

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub


bad docker_guid link on release page

https://github.com/coreos/etcd/releases/tag/v2.3.6
in Getting Start -> docker section our docker guide

thanks for reporting. fixed.


Projects resource

All the project-specific functionality has been developed. Now is possible to perform the following related actions:

Read the list of team projects
Find a specific team project
Create a new team project
Update a team project
Delete a team project

NOTE: The :put, :post, :patch request calls have been modified to include the parameters in JSON format so now is possible to pass numeric and boolean values. Before, they were transformed to string values raising a field error in those situations.

Thanks for your contribution & so sorry for my delay. 🙇🏼
(I found your PR, just now...)
I'll checking various changes on the BitBucket API side since around 2017. 👀
I'll be able to review this PR this week or later soon, so please be patient... 🙏🏼


Ubuntu14.04 Compilation Error

../../src/Simd/SimdFont.hpp: In member function ‘bool Simd::Font::Draw(Simd::Font::View&, const String&, const Simd::ViewSimd::Allocator::Position&, const Color&, const Color&) const’:
/Simd/prj/cmake/../../src/Simd/SimdFont.hpp:199:13: error: ‘DrawFilledRectangle’ is not a member of ‘Simd’
Simd::DrawFilledRectangle(region, Rect(region.Size()), background);
^
make[2]: *** [CMakeFiles/Test.dir/home/keti/KETI/Simd/src/Test/TestFont.cpp.o] Error 1
make[1]: *** [CMakeFiles/Test.dir/all] Error 2
make: *** [all] Error 2
please let me know how to compile.
I used these steps to compile as mentioned.
cd ./prj/cmake
cmake . -DTOOLCHAIN="" -DTARGET=""
make

Thank you for bug report. This bug has been fixed.


multi-gpu training fails

Hello,
Running
python -m torch.distributed.launch --nproc_per_node=4 script/downstream.py -c config/downstream/EC/gearnet.yaml --gpus [0,1,2,3]

does not succeed with following log:
20:21:09   Extracting /home/chenshoufa/scratch/protein-datasets/EnzymeCommission.zip to /home/chenshoufa/scratch/protein-datasets
20:21:09   Extracting /home/chenshoufa/scratch/protein-datasets/EnzymeCommission.zip to /home/chenshoufa/scratch/protein-datasets
20:21:09   Extracting /home/chenshoufa/scratch/protein-datasets/EnzymeCommission.zip to /home/chenshoufa/scratch/protein-datasets
20:21:09   Extracting /home/chenshoufa/scratch/protein-datasets/EnzymeCommission.zip to /home/chenshoufa/scratch/protein-datasets
Loading /home/chenshoufa/scratch/protein-datasets/EnzymeCommission/enzyme_commission.pkl.gz:  64%|██████████████████████████████████████████▉                        | 11854/18515 [08:49<20:55,  5.30it/s]Killing subprocess 1350247
Killing subprocess 1350248
Killing subprocess 1350249
Killing subprocess 1350250
Traceback (most recent call last):
  File "/home/chenshoufa/anaconda3/envs/gear/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/chenshoufa/anaconda3/envs/gear/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/chenshoufa/anaconda3/envs/gear/lib/python3.8/site-packages/torch/distributed/launch.py", line 340, in <module>
    main()
  File "/home/chenshoufa/anaconda3/envs/gear/lib/python3.8/site-packages/torch/distributed/launch.py", line 326, in main
    sigkill_handler(signal.SIGTERM, None)  # not coming back
  File "/home/chenshoufa/anaconda3/envs/gear/lib/python3.8/site-packages/torch/distributed/launch.py", line 301, in sigkill_handler
    raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/chenshoufa/anaconda3/envs/gear/bin/python', '-u', 'script/downstream.py', '--local_rank=3', '-c', 'config/downstream/EC/gearnet.yaml', '--gpus', '[0,1,2,3]']' died with <Signals.SIGKILL: 9>.

Could you help me with this issue?

Hi Shoufa!
Thanks for raising this issue! I think this is because loading the whole dataset four times will take very large memory. Here I suggest:

use a machine with larger cpu (240G should be enough)
use 2 gpus instead of 4 gpus
try to turn on the lazy option when loading dataset (this will avoid loading the whole dataset into cpu)

Hi @Oxer11 ,
Thanks for your reply. I was wondering if it is necessary to load independent data for each process, ie, is it possible to let all processes share the loaded data?

Hi, @Oxer11
How much memory does GearNet need for the AlphaFold dataset at the pertaining stage?

Hi!
The memory of our cluster is 500G, which is enough for loading EC and AF DB splits four times. This protocol follows the module-level data parallelism in Pytorch. To save memory, you can shrink the size of each split in AF DB.


chore(main): release 2.1.2

:robot: I have created a release beep boop
2.1.2 (2024-09-04)
Bug Fixes

ci: ci workflow fixed by using PAT (4a8f0ff)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.1.2
:sunflower:


fix!: remove unplugin-vue2-script-setup in favour of native vue 2.7

🔗 Linked issue
resolves #381
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
We now no longer need unplugin-vue2-script-setup to enable <script setup> support in Nuxt Bridge.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

The only downside is that the reactivity transform is not yet available in 2.7, but it should be arrived soon after 3.3 I guess.


Tags that want inline should combine with surrounding strings even if overall mode is block

This was completed with 9c5ef9b1095117d72c8a6ca95d0213d26717c01b


handle Invalid merge

Main changes:

'data_codings.parquet' --> csv
No longer merging where there isn't enough overlapping indices between parquets of the same dataset.
"undefined" research stage - Added a new flag that indicates if we want to include and merge 'undefined' research stages. For example, in sleep data, it should be true; in questionnaires, mostly false due to unrelated data points. Another option that wasn't included for now was to merge all the data and concatenate the undefined results (which was too messy in my opinion, but we can discuss).
Duplicated columns - Mainly for questionnaires, adding the feature set name to duplicated columns (during merge).

expected?

Fixed the code according to your recommendations and the bugs you found
Thank you!


ggplot2 part 3: extensions

Title: Exploring the Wide World of ggplot2 Extensions
Date: July 26, 2023
Description

Pre-workshop checklist:

[x] Create a Zoom meeting with registration
[x] Write up announcement and record on the Workshops HackMD
[x] Advertise

[x] Edit upcoming workshops section of group website workshops page
[ ] Add to Data Science Institute calendar https://datascience.arizona.edu/calendar
[x] Send out announcement to mailing list
[ ] Twitter

[ ] Provide homework / background reading as appropriate (installation, references, etc.)
[ ] Send out reminders
[ ] Create pre- and post-workshop surveys
[ ] Send out pre-workshop survey [WIP]

Full checklist here: https://osf.io/tzmhp/wiki/Workshops/
Materials
Create a folder in the format YYYYMM-short-title and include:

[x] Slides (if applicable)
[ ] Notes

Use .md, .Rmd with output: github_document, or .qmd with format: gfm OR render to RStudio Connect or something like that.

Slides are purposefully minimal since most of the workshop will be live demos of packages


[Eventgrid] Remove deprecated parameter --identity in time

Is your feature request related to a problem? Please describe.

Deprecation needs to be removed in time, or else CLI release will break.
Describe the solution you'd like

--identity is marked as deprecated in version 2.46.0 in https://github.com/Azure/azure-cli/pull/21648. Please remove the param in time to avoid CLI release failure like https://github.com/Azure/azure-cli/pull/20682#discussion_r840232833

It's better to synchronize with breaking change windows - 2.37.0, 2.43.0, or 2.39.0.

Removing CXP Attention label since this was opened for the product improvement as internal issue and not customer reported.


Drop Downs and Tooltips don't take Window Insets into account

This one is a trivial problem to fix, I'll probably send a PR later. On at least Windows they are spawned in coordinates relative to the top left of the window, but they accidentally use the outer top left instead of the inner top left. Other operating systems may be affected too.

I think this comes from window inset treatment itself being broken on Windows. When you create a window in Druid and specify a size, that size is supposed to represent the size of the content. On the Windows platform this is not the case right now, instead it represents an imaginery size (not even just content+borders .. it also has +transparent_padding for compatibility reasons or something).
What we need is a comprehensive fix of the window sizing code in druid-shell Windows backend, so that it matches the other backends. I have some preliminary plans of fixing this in glazier and when that fix lands we can see how easy it is to backport it to druid-shell. Of course if anyone else feels like doing some fixes before me, that's fine too.


Question - Does windows_package support installutil.exe?

There are packages that are installed using InstallUtil.exe.
C:\windows\microsoft.net\framework64\v4.0.30319\Installutil.exe  c:\foobar.exe

https://msdn.microsoft.com/en-us/library/50614e95(v=vs.110).aspx?f=255&MSPPError=-2147217396
Does the windows_package resource support using installutil? If not, is there an alternative installer that is equivalent?
For that matter, does it support 'sc' ?
http://stackoverflow.com/questions/4692250/installing-windows-service-with-sc-exe-or-installutil-exe-there-is-difference

I've learned that Installutil and sc.exe dont' install packages, they register services.


Stop setting --experimental_remote_download_regex by default with command-line API

Also fixes the regex used to match what we changed build_build.sh to use.
This is to optimize bandwidth usage of cache warming calls.

Have any sense for the impact on a larger build's cache download before vs. after this change? I don't have a sense for how much these intermediates add in terms of download for a ~fully cached build.

I don't. But the number of files (e.g. index stores) can be slow to write regardless. Just trying to make cache warming as efficient as possible.


mpl2: continue without dataflow when no liberty data is found for std cells

Fix #5285
I'm also adding a check to allow "exceptions" - nets with std cells without liberty will be skipped when creating data flow. I.e., we'll consider data flow as empty only when there's absolutely no Liberty data for std cells.

I addressed @rovinski 's review and added a check to prevent skipping data flow creation when the design has no std cells.


how to use w/ npm?

I like that it works on CDN! A lot.
But I also build cordova, so I need to be able to use w/ npm. What is the npm version of this?
import { html, renderer } from 'https://cdn.skypack.dev/@ficusjs/renderers@3/htm'
import { createCustomElement } from 'https://cdn.skypack.dev/ficusjs@3/custom-element'

(aside I use snowpack, it is ok).

I have added a Snowpack starter repo that you can clone and use - https://github.com/ficusjs/ficusjs-snowpack-starter. Give it a go and let me know how you get on :+1:

Nice. THANK YOU MUCH!
Aside, I'll be using it with my project: http://AXthe.net


Improve sensor locations tutorial

I've updated the sensor locations tutorial to make it a little easier to read.

Rendered page: https://30487-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/intro/40_sensor_locations.html

besides the specific comments, one global comment: nowadays we no longer need to explicitly declare the roles of MNE-Python objects, so when editing tutorials I tend to remove all :class:, :meth:, and :func: declarations and just use the single-backticks. I don't insist you do this, but since you're editing this file already anyway I thought I'd mention it, as I think it leads to easier-to-read source files.

Does this mean I just write e.g. `~mne.channels.DigMontage.plot` instead of :meth:`~mne.channels.DigMontage.plot`?

Does this mean I just write e.g. `~mne.channels.DigMontage.plot` instead of :meth:`~mne.channels.DigMontage.plot`?

Yes, exactly.

All green, updated rendered doc here: https://30498-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/intro/40_sensor_locations.html

@drammock I let you merge if happy
thx @cbrnr !


Show feed name in "Unread"

I subscribe to a few YouTube channels, and there's no indication in the "Unread" view of which channel a particular item comes from.

It would be great to put the name of the feed in the info that's beneath each link, perhaps before the host?

d'oh, this was fixed in #181 :)


[DRAFT] Quantum Development Kit Telemetry Library

This PR introduces a common Telemetry Library (.NET class library) to be used by the Quantum Development Kit.
This library provides a single place where we can put all of our core telemetry logic, reducing code duplication across multiple QDK products and bringing the following benefits:

Makes it easier to comply to telemetry, data collection and privacy policies in a standard/consistent way, such as opt-in and opt-out controls
Comprehensive unit test (and, in the future, integration test) coverage
Ability to share common event properties and schemas across different QDK products
Makes it easier for QDK developers to add instrumentation to the products (with included C# and F# samples)
Support for out-of-process telemetry upload, to reduce the run time of short-lived console applications

@anpaz, @bettinaheim, @ScottCarda-MS:
This is the .NET class library idea that I mentioned to you.
I only worked on it for a couple hours and it still need some clean-up (specially in the TypeConversionHelper), and documentation.
I'll also work on a F# sample on how to use the library.
The main motivation for it is make it easy to add telemetry to the Q# Formatter, and later standardize our telemetry on all of our .NET-based tools (IQ#, part of Visual Studio Extension, Q# compiler, etc...)
Let me know what you think.

Just as a heads-up, these are the next things I'm planning to work on this PR:

Reorganize the classes in their own files and create some folder structures to group the files together (still keeping all in the same namespace).
Finishing adding unit tests for the out of process scenario. That will increase the code coverage to almost 100%.
Add more asserts in the unit tests, particularly to validate things are getting logged correctly.
Implement simple serialization protocol for the out of process scenario instead of using json (I'll make it easy to change by using the Strategy Pattern).

@samarcha, could you take a look at the F# sample (in the Samples folder) to see if it looks good?
That is my first F# program ever, so forgive me if I'm murdering the language :-)

/azp run


Request for Res2Net Implementation in Your Repository

Dear Author,
First of all, I would like to express my sincere appreciation for your excellent work and thank you for making the code available to the community. It’s an incredibly helpful resource, and I’m sure it will contribute to advancing research in this area.
While reviewing your repository, I noticed that the code for PVTv2 is provided, but the implementation for Res2Net, which is mentioned in the paper, seems to be missing. I was wondering if it would be possible for you to share the Res2Net part of the code, or if it is available elsewhere?
If you could provide it, I would be extremely grateful.
Thank you again for your hard work and for making this research open source!
Best regards,
Yuhua

Dear Author,
First of all, I would like to express my sincere appreciation for your excellent work and thank you for making the code available to the community. It’s an incredibly helpful resource, and I’m sure it will contribute to advancing research in this area.
While reviewing your repository, I noticed that the code for PVTv2 is provided, but the implementation for Res2Net, which is mentioned in the paper, seems to be missing. I was wondering if it would be possible for you to share the Res2Net part of the code, or if it is available elsewhere?
If you could provide it, I would be extremely grateful.
Thank you again for your hard work and for making this research open source!
Best regards, Yuhua

You can do this by simply replacing PVTv2 with res2net. We don't provide an implementation of this code because this version of the code currently doesn't allow backbone to switch succinctly.


2363/Update email templates

Closes #2363
Code Changes

[ ] Update service and template files from 24 hours to computed time in days

Steps to Confirm

[ ] list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
Write some things here about the changes and any potential caveats

I just noticed the failing test. I can't mark it in the PR because we didn't change the file. On line 1987 of tests/ops/service/privacy_request/request_runner_service_test.py we need to add the subject_request_download_time_in_days.


CLI is stuck on "Dialing SSH Gateway for HTTPS succeeded" again

Describe the bug
I'm having the same issue as #235, where I'm seeing the CLI get stuck after Dialing SSH Gateway for HTTPS succeeded.  I have verified my site is running successfully on port 8000.
To Reproduce
Steps to reproduce the behavior:
loophole http 8000 -v
Stuck at DBG Dialing SSH Gateway for HTTPS succeeded
Expected behavior
To start tunneling
Screenshots

Environment

OS: Debian 5.10.205-2 (2023-12-31) x86_64 GNU/Linux
Version: loophole version 1.0.0-beta.15 (5cecf33)

Additional context
Add any other context about the problem here.

Unfortunately, this happens when our backend services are stuck. We are working on an improved version of the backend which should not have this issue. I do not have much time for this, due to lots of work at the paying job, but hope to have it finished soon™ ;)


pandas.to_parquet breaks with pandas 1.0.1 - ImportError:cannot import name 'infer_compression'

I'm using awswrangler version 0.3.1
executing this:
import awswrangler as wr
wr.pandas.to_parquet(
    dataframe=df,
    path="s3://..."
)

results in:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-17-fae4f78166b2> in <module>()
----> 1 import awswrangler as wr
      2 wr.pandas.to_parquet(
      3     dataframe=df2,
      4     path="s3://sherlock-raw/test_parquet/df.parquet"
      5 )
~/anaconda3/envs/python3/lib/python3.6/site-packages/awswrangler/__init__.py in <module>()
     15 from awswrangler.emr import EMR  # noqa
     16 from awswrangler.glue import Glue  # noqa
---> 17 from awswrangler.pandas import Pandas  # noqa
     18 from awswrangler.redshift import Redshift  # noqa
     19 from awswrangler.s3 import S3  # noqa
~/anaconda3/envs/python3/lib/python3.6/site-packages/awswrangler/pandas.py in <module>()
     17 from boto3 import client  # type: ignore
     18 from botocore.exceptions import ClientError, HTTPClientError  # type: ignore
---> 19 from pandas.io.common import infer_compression  # type: ignore
     20 from pyarrow import parquet as pq  # type: ignore
     21 from s3fs import S3FileSystem  # type: ignore
ImportError: cannot import name 'infer_compression'

it may have to do with the dependency on pandas 1.0.1

@vincentclaes thanks for report it.
1 - How did you install the Wrangler package? (Pip, Conda, Lambda Layer, Glue Wheel, Glue Egg)
2 - Which Python version?
3 - Can you execute a pip freeze and double check the versions of these packages, please:
- awswrangler
- pandas
- pyarrow
P.S. @tuliocasagrande

@vincentclaes thanks for report it.
1 - How did you install the Wrangler package? (Pip, Conda, Lambda Layer, Glue Wheel, Glue Egg)
2 - Which Python version?
3 - Can you execute a pip freeze and double check the versions of these packages, please:

awswrangler
pandas
pyarrow

P.S. @tuliocasagrande

!pip install awswrangler==0.3.1 (on a sagemaker instance with conda_python3 kernel)
Python 3.6.5 :: Anaconda, Inc.

awswrangler==0.3.1
pandas==1.0.1
pyarrow==0.16.0

Yeah, it is really strange.
You are right, this function does exist in this version of Pandas.
I've just tested the same code snippet here in my SageMaker notebook with the same Kernel and the same installation command and everything is working well.
I will keep investigating it, but let me know if you find out something in your side.

Hey guys, I double checked if pandas 1.0.1 still has infer_compression:
In [1]: import pandas as pd

In [2]: pd.__version__
Out[2]: '1.0.1'

In [3]: hasattr(pd.io.common, 'infer_compression')
Out[3]: True

Maybe the problem is with old .pyc files. Deleting them should be harmless as they're created again when needed. Can you give it a try, @vincentclaes?
To list:
find . -name "*.pyc"

To delete:
find . -name "*.pyc" -delete

Hey guys.
I have encountered the same problem, in a SageMaker instance, when I was trying to pip install "awswrangler" package.
I was getting "ImportError: cannot import name 'infer_compression'".
I solved this problem by pip installing the "awswrangler" BEFORE importing pandas. In this way I did not get this error!
I do not know or understand why .. but that was the solution that worked for me. Hope you guys can figure out the reason.

Hey @mksadoughi, thanks for sharing that.
Here are some findings:

The pandas version pre-installed in SageMaker (at least on conda_python3 environment) is 0.24.2.
If you import pandas before installing awswrangler, even though awswrangler updates pandas to 1.0.1, the imported library in the kernel would still be attached to 0.24.2:

For that to work, you need to restart the kernel to put pandas 1.0.1 live, or as you mentioned you can install awswrangler first:

Thank you for the contribution. Please, reopen the issue if it persists even after the version 1.0.0.

TL;DR
This error only happens if your environment has Pandas < 1.0.0. So please, update Pandas.

On my end the issue was related to the fact that pandas was already loaded when I installed awswrangler. During installation procedures awswrangler uninstalls the old version of pandas and installs a new one while some of the parts remain resident in memory (probably). Try restarting your instance this should help.


Prevent changing Default ACL name

The seed functions use the name "Default" to find the default acl when migrating. This may not be an issue after V1 but it should be sorted to maintain compatibility.

This is already the case as ACL names can't be changed.


Fix plugin configuration doc

schemaFiles is not a property and doesn't have a set method. Since it's a ConfigurableFileCollection we could use a setFrom and provide a list of paths

@adubovkin: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/


Feat: Buttons in Pricing Section violates color scheme of website

Describe the feature
Buttons in Pricing Section are blue in color and blue color is not used in entire website .Secondly they are very basic and looks very odd  in website. I would like to work on them by changing colors, hovering effect ,size etc. @anuragverma108 Please assign this task to me .I am working under GSSOC'24.
Add ScreenShots
Buttons in pricing section

Other Buttons

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assigned!

Hi. Under GSSOC'24, I would like to work on this issue.
Please Assign me this task.

@AbhinayBhadauria99 any updates?


migrate from once_cell usage to std implementation once available

Various usage of lazy values is done throughout the code and those should be moved to using the std implementation once the related RFC is complete, accepted, and support in a stable release.

Closing since the remaining internal use was replaced in c96d22ef5819ea91ffe1ad0162a0d161e3876427.


Common properties are lifted into the super type regardless of their own type

Langium version: 0.1.0
Package name: langium-cli
Steps To Reproduce

Create a grammar like this:

Token: TokenA | TokenB;
TokenA: name=('A1' | 'A2');
TokenB: name=('B1' | 'B2' | 'B3');

Generate the AST and see that the Token type contains a single property name: 'A'.

The current behavior
The name property is not put into consideration when lifting fields.
The expected behavior
Properties are not lifted, if their types aren't compatible.

If tokenA: name='A' and tokenB: name='B', then token would contain the common property name: 'A' | 'B', right?
(Disclaimer: I am on a mobile phone, no way to test it)

I've updated the example.

If tokenA: name='A' and tokenB: name='B', then the token type would contain the common property name: 'A' | 'B', right?
Now the Token contains the common property name, but its type is 'A1' | 'A2' (or 'B1' | 'B2' | 'B3' -- depends on which rule is defined the first). It's wrong, because we lose information about TokenB's name property.

Possible solutions:

Don't lift name property, because TokenA and TokenB have different types for this property.
Make the Token name property type as 'A1' | 'A2' | 'B1' | 'B2' | 'B3' [I think, the 1st option is better, because 2nd one generalises types too much].

then the token type would contain the common property name: 'A' | 'B', right?

No, right now, it doesn't. Like @Pluralia said, only one of the types is lifted. I agree with her, that unless the types are exactly the same, properties shouldn't be lifted to preserve their type information.


[ci skip] adding user @thewchan

Hi! This is the friendly automated conda-forge-webservice.
I've added user @thewchan as instructed in #12.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #12

@hmaarrfk here

I will merge this one, again, but I really do believe that the correct order to help these undermaintained recipes is to:

Make a PR.
Refresh the recipe to a working state
Optionally: Add yourself as a maintainer.
Ping core if nobody response in a while.

Other core members may disagree. But if you are pinging me directly, please try to follow the order above.

yeah I will fix it at the mean time. Sorry I pinged elsewhere as well before I saw your list here. Will do this hence forth @hmaarrfk

It s fine. Its just too many pings mean that fewer things get done ;) i know you've been involved, but with other people that I don't know, it gets harder to help if no attempt was made to refresh the recipe.


Fix #513, Table Services Requirements Scrub

Describe the contribution
Updates table services requirements per recent scrub, see issue for detailed changes.
Fix #513
Testing performed
None, doc change only
Expected behavior changes
None
System(s) tested on
None
Additional context
See latest commit for just the TBL changes (stacked on the rest of the requirement commits to simplify review).
Third party code
N/A
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - GSFC/NASA

CCB 20200226 - Approved

Closing since PR #526 includes this commit


added live demo of the app in readme & edited it for good

Description of PR
Added a livedemo preview in readme.
Edited the readme for good.
Please Have a look @jeremyphilemon

Please check it out


Update jackson-module-scala to 2.13.1

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

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

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #134 (b6864d9) into master (3e4ea83) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   97.73%   97.73%
=======================================
  Files          23       23
  Lines         265      265
  Branches       13       13
=======================================
  Hits          259      259
  Misses          6        6


XMLDIFF: Notify if files are the same

Emit some type of indication so that the RPC knows that the two files are identical.

Fixed in 0.5.14


MINOR: dev-v2.0.json location is wrong for SQuAD 2.0

Minor change, but the wrong file is being downloaded.

Fixed in #158


Ramp up @thisisdano on cloud.gov team

In order to get Dano productively contributing to the cloud.gov team, Marco should help Dano complete a prescribed set of tasks that will bring them up to speed.
Directions:
Dano and Marco: Try to go through your checklists in order.
Marco: If you can’t complete any of the items on your checklist personally, you are responsible for ensuring that an appropriate person does it.
Dano checklist

[ ] Take judicious notes on what about this onboarding process or cloud.gov is confusing or frustrating. If you notice a problem (especially with things like documentation), you are more than welcome to fix it! At the very least, please share this information with your buddy (or someone) at some point so we can make the team/platform better.
[x] Figure out who your onboarding buddy is (they should reach out to you) and make sure this issue should be assigned to them)
[x] Read the team onboarding document for more context about cloud.gov
[x] Read the "What is it?" presentation for a rundown of what cloud.gov is and does
[ ] Read through the Introduction section of docs.cloud.gov for a broader understanding of cloud.gov, especially as we present it to potential customers/users
[ ] Read the January 2016 cloud.gov "Executive Business Case" document for greater context about cloud.gov's potential impact in government
[ ] Try to deploy a sample application to cloud.gov to get familiar with the basics of the PaaS from a user's perspective
[ ] Check out the roadmap to get a high-level view of recently-completed, in-progress, and upcoming features
[x] Install the ZenHub browser extension to enable you to see kanban boards, hierarchical issues, and burndown charts in GitHub
[ ] Read the Delivery Process document to learn about how we work
[x] Subscribe to the cloud.gov team calendar (click the + in the bottom right) so you know when assorted team meetings are happening in the various streams
[x] Join the cloud.gov support Google Group, so you can see how we handle non-18F support and get visibility of technical discussions happening with outside groups
[ ] Figure out what streams you're likely to work in, and complete the checklist below that relates to it
[ ] Once you've finished the remaining checklists below, make suggestions for steps that would have improved your onboarding experience as pull-requests on the onboarding checklist template used to make this issue

Liberator-specific items

[ ] See the Liberator Onboarding Checklist (Does that belong here?)

Buddy checklist

[ ] Introduce yourself to the new team member and give them some of your background so they know who you are
[ ] Make sure they're listed in the list of people working on the project
[ ] Add them to the @cloud-gov-team in Slack’s Team Directory (which also adds them to the right channels)
[ ] Add them to the recurring cloud.gov meetings that are relevant for them in the team calendar
[ ] Setup a cloud.gov user account for them via the “send an invite” page
[ ] Identify a straightforward, well-groomed story in progress that involves their skills domain, schedule a meeting with the owner for an introduction (if it's not you), and setup pairing sessions several times in the first week on the project.
[ ] Identify a straightforward, well-groomed first story, ideally something they could conceivably complete in their first two/three weeks using their existing skills. Discuss the context with them, then make them the assignee for the card.
[ ] Make suggestions for how your onboarding experience could have been improved as comments on the onboarding template card.
[ ] Ask #admins-github to have them added to the @18F/cloud.gov team on GitHub

can we close this, @thisisdano?

eh, yeah. sure.


Add waitForSwapCommitment

Add waitForSwapCommitment function to support Hold Invoice transition.

 Add a waitForSwapCommitment method to the engine

@treygriffith For the ACCEPTED transition, if you are subscribed, you will get a notification for the transition to accepted, but if you are looking up afterwards, the invoice only has the creation time and settlement times in it, so I don't know if you can get the accepted transition time afterwards.
For the HTLC expiry, from the invoice, you can look at the RouteHints to get the channel ID, then use ListChannels to get the active channels, select the one with the appropriate ID, and there is a field for pending_htlcs which has the expiration_height field on it.

@treygriffith For the ACCEPTED transition, if you are subscribed, you will get a notification for the transition to accepted, but if you are looking up afterwards, the invoice only has the creation time and settlement times in it, so I don't know if you can get the accepted transition time afterwards.

I suppose we could use creation time as a conservative estimate of the ACCEPTED time.

For the HTLC expiry, from the invoice, you can look at the RouteHints to get the channel ID

I don't think there is a guarantee that the RouteHints will be populated, nor that it will be used. It's an optional field to provide the sender hints about routes to take.

I don't think there is a guarantee that the RouteHints will be populated, nor that it will be used. It's an optional field to provide the sender hints about routes to take.

I guess we would just need to figure out the channel ID some other way. I haven't seen a way to do this in the API yet, but It looks like the paymentRequest contains both the channel ID and expiries encoded in it, which we could decode: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#tagged-fields


Blacklist certain email providers visually on front end

Is your feature request related to a problem? Please describe.
There are certain email providers that cause issues like posteo.de and since it seems this will be a longer issue, it might be interesting to have some kind of filter that blocks the submit for the form if a blacklisted email provider is being used with explanation why it's not supported right now.
Describe the solution you'd like
Check if the email field contains posteo.de and disable the submit button and show a message there that says something like: This email provider does not support emails by Odysee, please choose another email provider. There is no need to make this on the backend, just preventing it on the front end would be enough I think.
Describe alternatives you've considered
In the best case, all mail providers would just work, but I guess there will always be some that have problems.

Most do work, it's only some right? We should really reach out to posteo and the others that have trouble...

Maybe posteo will fix it, but if not it looks like the issue is on our end.

I tried to get in touch with posteo through their support, abuse contact and their press office, they're ghosting me and others that have issues with their mail regarding Odysee...

Closing this for now, think we should use a different mail server if the problem creeps up again.


[SUPPORT] Hudi INSERT_OVERWRITE inconsistent behaviour (0.12.3)

Description
We have a Spark Application in Golden Zone (medallion arch.) that aggregates the input data, runs in batches in order to write out daily partitions. In the same spark application we have a functionality in order to overwrite each daily partition with hudi's INSERT_OVERWRITE mode. Since we cannot hit all the daily partition aggregations at a single batch we do sequential batches of many daily partitions being produced in each sequence.
Lately we did have to fix data for daily partitions for a 2 year period which ran and complete in dozens of batches (in a single spark application without any intervention) . The first batches  we produced ran successfully and generated new parquet files for each daily partition and unreferenced old parquet files from hudi metadata which than were removed with an async hudi cleaner job. For the final x number of batches this behaviour shifted on not unreferencing the old parquet files from hudi metadata followed by cleaner not deleting (as expected) old parquet files thus ended up with duplicate data. Again this happened in a single uninterrupted spark application.
For security reasons I cannot share the archived partition metadata which is referencing the old and the new parquet files. But I have observed this on the problematic daily partitions that the old and the new parquet files were both listed on partition metadata when observed with hudi-cli. And when I observed the related clean job I saw that the days it worked it deleted parquet files where as the days towards the end of application run none of the old parquet files were deleted since they weren't unreferenced.
When the problem started to happen it happened for all the rest of the batches that run sequentially. Such as it didn't randomly happen for an arbitrary batch and kept on happening for the next sequence of batches when it started to happen.
Here is the piece of anonymised code for Hudi Options used during insert overwrite. When argument "force" is passed from top level application it applies to all the batches in the same way.
Map[String, String](
      DataSourceWriteOptions.RECORDKEY_FIELD.key -> "some_id",
      HoodieWriteConfig.TBL_NAME.key             -> "some_table_name",
      DataSourceWriteOptions.OPERATION.key ->
        (if (overWrite)
           DataSourceWriteOptions.INSERT_OVERWRITE_OPERATION_OPT_VAL
         else DataSourceWriteOptions.INSERT_OPERATION_OPT_VAL),
      DataSourceWriteOptions.TABLE_TYPE.key              -> DataSourceWriteOptions.COW_TABLE_TYPE_OPT_VAL,
      DataSourceWriteOptions.PARTITIONPATH_FIELD.key     -> "date",
      DataSourceWriteOptions.HIVE_STYLE_PARTITIONING.key -> "true",
      DataSourceWriteOptions.PRECOMBINE_FIELD.key        -> "some_id",
      "hoodie.copyonwrite.record.size.estimate"          -> "512",
      "hoodie.combine.before.upsert"                     -> "false",
      "hoodie.clean.automatic"                           -> "false", //a separate air-flow job runs HoodieCleaner
      "hoodie.metadata.enable"                           -> arguments.isHudiMetadataEnabled.toString
    )

And the spark write code.
requests.write
        .format("org.apache.hudi")
        .options(hudiReplayOptions(overWrite = overWrite, arguments = arguments) ++ additionalHudiOptions)
        .mode(SaveMode.Append)
        .save(writePath)

These are the additionalHudiOptions
Map[String, String](
            "hoodie.write.concurrency.mode"       -> "optimistic_concurrency_control",
            "hoodie.write.lock.provider"          -> "org.apache.hudi.client.transaction.lock.FileSystemBasedLockProvider",
            "hoodie.write.lock.filesystem.expire" -> arguments.hudiLockExpiryDuration.toString

We are in the phase of replacing hudi lock mechanism to move away from S3 based locking since it was later announced by hudi support not to be relied on. There is another concurrent incremental hudi job running during the partition fix job although it is highly unlikely that both processes try to acquire the lock at the same atomic moment. And even if this was a source to suspect lets remember that when the problem started to happen for batch it happened for all the next batches as well. It is impossible this to happen sequentially for many times. And also during the operation no hudi metadata related failure or corruption happened.
To Reproduce
Steps to reproduce the behavior:

Unfortunately we could not reproduce the same outcome with existing production code! And we didn't run the same process again with the same data since it very costly to be able to recreate the situation.

Expected behavior
We expect INSERT_OVERWRITE to work as expected for all the sequential batches within the same Spark application.
Environment Description

Hudi version : 0.12.3

Spark version : 3.3.0

Hive version :3.1.3

Hadoop version : 3.3.3

EMR Version: emr-6.9.0

Storage (HDFS/S3/GCS..) : S3

Running on Docker? (yes/no) : no

Stacktrace
NO Stacktrace since there is no Failure..

https://apache-hudi.slack.com/archives/C4D716NPQ/p1721319672256669

@ergunbaris hi, does the related replace commit instance is archived before clean service runs?

@ergunbaris if the related replace commit instance is archived after clean service runs, that should not be caused by this problem. Another situation is spark speculates task will also can cause duplicate, like #9615


"Move attachments with notes" doesn't work if the link is not an embedded link

The function works fine when the link is in embedded format.
![Pasted image<PHONE_NUMBER>1253](Assets/Pasted%20image%2020220516131253.png)
But if it is a normal link, the attachment will not move with the note. (sometimes I don't want to embed images or other files, I just want to paste their links)
[Pasted image<PHONE_NUMBER>1253](Assets/Pasted%20image%2020220516131253.png)
Is this what the plugin wants or am I misunderstanding something?

Fixed in Fixed in https://github.com/dy-sh/obsidian-consistent-attachments-and-links/releases/tag/3.0.0


Refactor project to be a normal ROS package

This was required for  #23 / https://github.com/ros/rosdistro/pull/39892.

I don't really understand how to fix the error here: https://github.com/felixdivo/ros2-easy-test/actions/runs/8659687762/job/23746089747?pr=33 ...

Perhaps because extras_require lists a lot of dependencies. These will (but shouldn't be) pip installed?

Well, pip is still required to install makefun (sadly not available via package.xml/Ros Index). But aside from that, installing it for normal usage works without it. Installing for development needs more dependencies, so there you'd still require pip.


Feature: "note: possible intended match here".

Closed via https://github.com/stanislaw/FileCheck.py/pull/12. Maybe there are more edge cases but that's another story.


add github release event

What does this MR does?
Add Github release event support
Why we need it?
For we can track new release events from the GitHub repo.
How to test?

Install the bot
subscribe to a new release
wait the release events: !github subscribe <REPO> releases

@joshblum @marceloneil @mmaxim @songgao

@marceloneil, can you help me? I can't request the reviewers. I think it's done

This looks great @Pantani, thanks!

cc @hyperobject


[Issue/Bug] RCS / AIMBot / TriggerBot not working

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Dexterion version: v2.1.0 as 2.2.1 show me "counter strike found (%d)"
- Describe install method of offsets: Direct Download from a2x repo's

We were talking about https://github.com/a2x/cs2-dumper/issues/209#issuecomment-2290085898

📝 Description
Nothing to add, RCS / AIMBot / TriggerBot not working
⚙ Configuration Files
config.json
📸 Screenshots
No response

MB v2.2.1 self crash at start

CS2 updated offsets issue.

Now should be fixed

But got the new *.json and still not working :/ by A2X github

Hmm, ill see the tomorow (its late btw ) it was working for me the last realese. i think this should be fixed for the next update

But got the new *.json and still not working :/ by A2X github

Well, last realese i had auto-tested it all working however some esp func is not working.

Totally fine, I'm dumb, my updateoffset was :
curl https://raw.githubusercontent.com/a2x/cs2-dumper/blob/main/output/buttons.json > buttons.json
curl https://raw.githubusercontent.com/a2x/cs2-dumper/blob/main/output/client.dll.json > client.dll.json
curl https://raw.githubusercontent.com/a2x/cs2-dumper/blob/main/output/offsets.json > offsets.json
.........


ttnn.hypot_bw low PCC [GS][WH]

Describe the bug
ttnn.i0_bw operation fails with low PCC on both GS and WH.
To Reproduce
Steps to reproduce the behavior:

Checkout branch amalbasaTT/i0_bw-unit-test (soon to be merged to main)
Run unit test test_backward_i0.py  using command:

pytest tests/ttnn/python_api_testing/non_working_unit_tests/wormhole/test_backward_i0.py

Expected behavior
Test cases are created from the arguments generated for sweep tests. There are three test cases and all of them fail with an assertion error.
Running sweeps
To get additional information and results for different combinations of input shapes, types, layouts and memory configs for which this operation was tested you can also run locally sweeps and check the results. To do this you should:

Run non working sweep by runing:

pytest tests/ttnn/python_api_testing/sweep_tests/run_sweep_test.py --input-path tests/ttnn/python_api_testing/sweep_tests/test_configs/ci_sweep_tests_broken/wormhole/ttnn_backward_i0_test.yaml --input-method cli --cli-input results_ttnn_i0_bw_broken

After the run is completed all test sweeps results should be available inside specified output directory.

There are more sweeps which you can try by changing the above command to target files:
tests/ttnn/python_api_testing/sweep_tests/test_configs/ci_sweep_tests_broken/grayskull/ttnn_backward_i0_test.yaml

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


fix: spacing in responsive site navigation

This fixes the following issue: https://github.com/reactjs/reactjs.org/issues/5725
::-webkit-scrollbar offsets its containing element's width in browsers that support it.
This PR overlays the scrollbar so the containing element's width is not affected (and adds the appropriate padding/margin to even out the spacing in mobile).
Chrome (before):

Chrome (after):

Firefox (before):

Firefox (after):

Also removes overflow-x-scroll on top navigation items because it doesn't seem to be needed?
Chrome (before):

Chrome (after):

In safari Im still getting the scrollbar with this branch preview?
Im curious why you did not do you might want to do  -webkit-appearance: none; for -webkit-scrollbar?

i didn’t write the impl. for the scrollbar, but i assume the idea is to set a transparent background color instead of hiding it completely.
in the source code scrollbar-color is defined, but since only Firefox supports that property,  -webkit-scrollbar is used as fallback to achieve the same behavior (set transparent background color).
my PR is to fix the fact that -webkit-scrollbar offsets the width of its containing div, bc i didn’t want to disturb the original implementation.


Make it actually fork

Makes the node.js fork bomb actually fork itself. It previously only made one copy of itself, which did basically nothing.

That might be useful. Thanks for the PR.


keep prompting no enough free space while my mac m1 does have enough free space.

Describe the bug
My mac has almost 200gb free space, but the program keep prompting at least 140gb free space required.
Screenshots

System Information (please complete the following information):

macOS: 13.0 Ventura
Device: MacbookAir 2020
CPU:  Apple M1
RAM: 16G

Download CleanMyMac X and remove unwanted files. If you can't afford the program: open settings --> general ---> storage ----> delete whatever you don't need.


Typos in the readme

Under "Checklist" change organizations to organization's
Under "Quarterly survey" change inagural to inaugural
Thanks! :-)

Thanks @HCResearch! Fixed in #2


Properly resolve a inner model with a self/cyclic reference.

Properly resolve a inner model with a self/cyclic reference.
In the following example the implementation was lacking to generate a property reference from Model B to Model B.
[Model A] -> [Model B] -> [Model B]
I extented the 'ReferenceTest ' to cover this situation.

@msimons - Development is done in the develop_2.0 branch, so please submit your PR against it.

@webron Thanks for informing me. I will submit it in develop_2.0 branch.


Read/write file from memory

I am trying to record some content, and instead of writing to disk, instead use a memory file.
So far I have the following, but I am getting an error with sf.read.
import soundfile   as sf
import sounddevice as sd
import os
import io

fs = 44100
seconds = 5

print( "recording..." )
recording = sd.rec( int ( seconds * fs ), samplerate = fs, channels = 1 )
sd.wait( )

file_format = "WAV"
memory_file = io.BytesIO( )
sf.write( memory_file, recording, fs, format = file_format )

# This works, and file can be played back
with open( "test.wav", 'wb' ) as f:
	f.write( memory_file.getbuffer( ) )

# This also works
temp_data, temp_sr = sf.read( "test.wav" )

# Playback is correct here too
sd.play( temp_data, temp_sr )
sd.wait( )

# This does not work?
temp_data, temp_sr = sf.read( memory_file )

The error from the final line:
  File "python3.9/site-packages/soundfile.py", line 1357, in _error_check
    raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening <_io.BytesIO object at 0x1045b2180>: File contains data in an unknown format.

What would be the correct way to read data from memory?

Since memory_file does not have a file extension, you need to tell it to interpret it as a WAV file.

Thank you for the reply.
I have had a bit more time to dig into how SoundFile works, and looked at what it was doing internally. It seems that everything is working, and that it was correctly picking up the memory_file as virtual IO, however libsndfile was throwing the error.
This occurs because the memory_file internal stream has not been reset to the start, so when libsndfile tries to read from the stream, it receives empty bytes and throws the error. Adding a memory_file.seek( 0 ) to the after the write to the memory_file solves the above issue.
Please feel free to close the ticket if needed.
Final working code
import soundfile   as sf
import sounddevice as sd
import os
import io

fs = 44100
seconds = 5

print( "recording..." )
recording = sd.rec( int ( seconds * fs ), samplerate = fs, channels = 1 )
sd.wait( )

file_format = "WAV"
memory_file = io.BytesIO( )
memory_file.name = "test.wav"
sf.write( memory_file, recording, fs, format = file_format )

memory_file.seek( 0 )

# This now works
temp_data, temp_sr = sf.read( memory_file )

sd.play( temp_data, temp_sr )
sd.wait( )

Thank you for the follow-up! Would you like to contribute that gotcha to the documentation of soundfile's virtual-IO?

Thank you very much for your issue, which has helped me a lot.

Thank you guys! You really helped me to convert OGG to WAV and send it to REST API without disturbing the filesystem!

import io
import soundfile as sf

def ogg2wav(ogg: bytes):
    ogg_buf = io.BytesIO(ogg)
    ogg_buf.name = 'file.ogg'
    data, samplerate = sf.read(ogg_buf)
    wav_buf = io.BytesIO()
    wav_buf.name = 'file.wav'
    sf.write(wav_buf, data, samplerate)
    wav_buf.seek(0)
    return wav_buf.read()

if someone will search that too... that's how you can convert ogg to wav without touching the disk

Using file_like.seek(0) after sf.write(file_like, ...) solved the issue of seemingly not being able to write to in-memory files for me, too.

@bastibe Mentioning that this is required in the Virtual IO docs would have been really helpful. The above code snippet would be a sufficient example, I think.
Or maybe it could be called automatically by default. 🤷♂
Schöne Grüße 😉

I'm glad you found a solution! @jneuendorf-i4h would you like to contribute the change as a pull request?
Ebenfalls schöne Grüße!


Tiny cleanup of getCompositeChildSequence

This code was just really strange.
I think that there is something wrong here though... Is it not possible for a sequence to have both leafSequences and metaSequences as its direct children?

TBR


improve spacing between the navbar tittles

the navbar tittles doesnot have a proper spacing which can affect user experience
-GSSoC'24 CONTRIBUTOR

Hey @akshitagupta15june
Can this issue be assigned to me for gssoc '24
Regards,
V Meenakshi Iyer


Bluetooth: Host: Remove ifdef around sc_indicate

Instead, sc_indicate is defined as a no-op when if would previously not be defined.

@fnde-ot Can the ifdef for sc_indicate be just if CONFIG_BT_GATT_SERVICE_CHANGED?

@alxelax Does this fix the issue you described in https://github.com/zephyrproject-rtos/zephyr/pull/65216?

@alxelax Does this fix the issue you described in #65216?

Yep, I tried building mesh sample with described above options and there is no warnings anymore. Thanks. I'll close my PR.


improve & fix

[fix]

scrollbar of main page is disappear after close search popup
[approvement]
make button print of picking same as other such as print invoice.

click  -> print immedialy | select template

make button print of purchase order same as other such as print invoice.
Document module can't select field document.
reset empty condition ([]) if view mode is page

if empty condition "[]" is sent to search function  (model.search) it will get the error

for report improvement will discuss with Bank Wirat
Still not merge yet

I discussed with Wirat before. He agree to keep concept to print form the same way. Anyhow we can check with him tomorrow.

I got Idea from Nueng  , she like this way

For the print button we will discuss after now I just reverse to the old one because we need to merge another to stable 3.1 ( I will do it myself)


Show app on screen when work timer is up

The thing with these timers, is that for them to be effective, you need to follow a set schedule. At the same time, however, me or other people may not like to have the timer pinned on screen all the time (plus the fact that it can be distracting to have the timer visible).

There are two ancillary methods for alerting users when a timer is up:

native notifications
alert sounds

Personally, I find windows that unexpectedly force focus to be distracting and annoying.


How to easily use this model for inference

Hi, thanks for the amazing work
Is there a snippet somewhere explaining how to efficiently use the model for inference?
Like this:
s = "The sequence I wanna extract the relations from"
nlp(s)
>>> dict_of_relations(...)

Thanks a lot!

Unfortunately this is currently not supported. As a workaround, you could use the prediction mode, which saves the predictions to disk. Maybe I will add this someday, so the model can be directly used for inference in Python, but I cannot make any promises.

Can Spert run on CPU in ubuntu VIRTUAL machine


Chat Panel

Hello,
A Copilot chat panel like the one in VSCode would be a great improvement for this fantastic plugin.
Cheers,

Hi, thanks for using the plugin! As this idea is a duplicate of the #42, I will close this one but you can follow the rest on the #42 issue.


Validation cleanup from v0.7.0 API Review

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR includes some cleanup in response to some of @khenidak's feedback on https://github.com/kubernetes-sigs/gateway-api/pull/1923.
Does this PR introduce a user-facing change?:
NONE

/lgtm
/hold in case @bowei also needs to review though. Feel free to unhold if not @robscott.

/hold cancel


Creating and managing user groups

Confluent Cloud has added the function of creating user groups and giving them role bindings.
This allows management of permissions across groups during SSO login (see: https://docs.confluent.io/cloud/current/api.html#tag/Group-Mappings-(iamv2sso))
It would be nice to be able to create and manage these user-groups using terraform and assign role bindings to them.
Attributes:
description (optional - Cloud UI sends empty string if not set)
display_name (required)
filter (required)
Exported Attributes:
id (e.g. "group-abCD")
resource "confluent_user_group" "example" {
  display_name = "My User Group" # required
  description "My User Group Description" # optional Cloud UI sends empty string
  filters = " \"user_group\" in groups " # required
}

data "confluent_user_group" "example" {
  id = "group-abCD"
}

@S1M0NM thanks for creating this issue!
We hope we'll be able to release it next week 👍

@S1M0NM @petrkarytka @oh-nathaniel-bobrick
Update: we

Added new confluent_group_mapping resource and a corresponding data source in a General Availability lifecycle stage (https://github.com/confluentinc/terraform-provider-confluent/issues/338).

in our latest 1.56.0 version of TF Provider.


Show campaign name in create proposal form

Shows name instead of address when creating a proposal for a campaign.

lgtm

I am too stupid to find this.
(vercel deploy and locally)
I created an org and 2 campaigns. (with dao governance)
can I have a screenshot where it is supposed to be?

I am too stupid to find this. (vercel deploy and locally)
I created an org and 2 campaigns. (with dao governance)
can I have a screenshot where it is supposed to be?

It shows up when you create a proposal and select withdraw as type. Then the campaign dropdown shows up.
(Shows the address because I was on the live version)

thx a lot.
so the campaign has to be finished for this to work right?

can confirm It works. sorry for being stupid.
merging.


FastForward break the Douban website

Body
If I turn fastforward on, then I can not commit a comment about movies on Douban
Normally URL like this
https://movie.douban.com/subject/1297737/
But if I turn on and visit a movie that I never opened before
The URL will add extra something (I dont even know how to call it)
https://movie.douban.com/subject/1300106/?from=subject-page
and I can not hit the star button and save the comment.
Version
0.2212
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
Anything else?
Normally

Turn on

We do not currently bypass this site based on this list, please read https://github.com/FastForwardTeam/FastForward/issues/656 for more details.
Once we have finished with the project, you are free to reopen the issue.


Clarify when utterances should be placed in stories

Proposed changes:
Clarify use of utterances in stories section of domain.yml
Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[x] updated the documentation
[ ] updated the changelog
[ ] reformat files using black (please check Readme for instructions)

Thanks a lot for this docs improvement :star: :book:


Performance Benchmarks against other kaldi serving systems

Is there any performance benchmarks or ball park idea for this system vs
kaldi's default tcp online decoder
https://github.com/kaldi-asr/kaldi/blob/master/src/online2bin/online2-tcp-nnet3-decode-faster.cc

nshmyrev 's websocket server
https://github.com/alphacep/kaldi-websocket-python

Tanel Alumäe's gstreamer
https://github.com/alumae/kaldi-gstreamer-server

Danijel Koržinek's webrtc server
https://github.com/danijel3/KaldiWebrtcServer

not yet. adding dialogflow's also in the list for when we pick this task up.