bower badge shows no releases

Hi.
I recently published a project on npm and bower.
The badges for npm, license, github works great but not for bower.
And I have no idea why. bower info tui-editor works fine.
![github](https://img.shields.io/github/release/nhnent/tui.editor.svg)
![bower](https://img.shields.io/bower/v/tui-editor.svg)

Happy new year!

The data for the bower badge comes from libraries.io.
If you look at the page for your package on there ( https://libraries.io/bower/tui-editor ) it reports zero tags so I think that's why the badge is reporting no releases.
The badge does appear to be reporting the data from the libraries API correctly.

ok. I'll leave a issue there and close this.
thank you :)


Yes we can

Hey

great idea, added with some syntactic sugar in release 1.1.0 (commit 13c0cd7 https://github.com/mrcwbr/ioc-service-container/commit/13c0cd79f4e3e3df9077d331a2a01ff2f3e6030f)


Fix comment typos

This pull request fixing some comment typos.

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

great, thanks!


Add the ability to delete students from the class list

AB3 has a delete function in built, follow up not required.


[release-0.2] Update k8s.io/apimachinery

Fixes CVE-2023-44487 HTTP2 Rapid Reset
see ECOPROJECT-1739

/retest

there is something wrong with k8s.io/client-go


Nested GUI components reset their position for themselves and parents when a different property is changed

Godot 3.0

what's your node hierarchy like? for example, some nodes under a margin container for example, will have their position changed

@girng8rgtrhgtrh thanks for replying. The node was under a margin container but that margin container was at (0, 0) and its position was reset too. If this is intended functionality, I guess my question is why does it go to (16, 7)?

would you make a sample project and exact steps to reproduce?

That's normal. When a control node is within a container, it's the parent which decides the position/margin of the child node.

@groud Since it's not a bug but apparently misleading enough to appear as such, is there any way we could improve the UX? Maybe disable the edition of properties that are overridden by a parent?

@akien-mga That would be a great idea, but I would wait the rewrite of the Inspector before improving that.
I think the ideal solution would be to let the parent decide which properties a child node should expose to be layouted. For example, the expand / fill flags are present on all control nodes, while they are useful only if they are in a BoxContainer or a Splitcontainer (maybe other ones too). Instead of hardcoding those values in all control nodes, we could find a way to make a child control node retrieve the list of properties it should expose from it's parent.

Wow! Thanks for taking care of this! I can't believe it's been three years already.


Support for regular workflows?

Is there support for workflows apart from regular actions?
For example:
name: Workflow

on:
  workflow_call:
    inputs:
      input1:
        description: "Input1"
        required: false

    outputs:
      output1:
        description: "Output1"
        required: false

jobs:
  backend-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: 'Checkout'
        uses: actions/checkout@v2

This errors out with: Cannot read properties of undefined (reading 'using')

Maybe the script could detect if it is an action or a workflow, e.g. looking for on:?

This is exactly the functionality I am looking for, has anyone figured out a solution? Would love to have this work for reusable workflows as well

No support yet, but open to any improvement.

I'm bumping this as well, would be great feature for reusable workflows

Never thought about this but would be nice if we can support reusable workflwos to generate documentation

Hello, I'm taking a look at this. Not written a js/ts cli app before though so would love feedback when I can put up a first draft PR please

supported since release 2.2.0


How do I send requests from a specific source IP address?

In the case of hosts with multiple IP addresses, can I make requests from a specific IP address?
Something like this?

You should pass local_addr to TCPConnector


Changes/additions to bib resource (bibdata Solr index)

Add bib "edition" field

From MARC 250 field
Files that will need to be updated: bibdata - schema.xml, *_index.properties, api/views.py (for filtering/ordering), api/serializers.py (BibSerializer)

Add bib "date_created" field

From Sierra record_metadata.creation_date_gmt field.
Add to a 9XX field in the MARC record and then pull from that in index.properties file.
Files that will need to be updated: bibdata - schema.xml, export/sierra2marc.py (S2MarcBatch._one_to_marc), *_index.properties, api/views.py (for filtering/ordering), api/serializers.py (BibSerializer)

Add bib "date_updated" field

From Sierra record_metadata.date_last_updated_gmt field.
Add to a 9XX field in the MARC record and then pull from that in index.properties file.
Files that will need to be updated: bibdata - schema.xml, export/sierra2marc.py (S2MarcBatch._one_to_marc), *_index.properties, api/views.py (for filtering/ordering), api/serializers.py (BibSerializer)

Modification to bibdata "url" field (MARC 856)

Make sure the URL only contains the URL. Strip out any _target="blank" etc.
File to update: Strip it out of the 856u in export/sierra2marc.py.

Make sure to restart Solr and reindex bib records after all changes are made.

Also: we should probably add the normalized call number field to the bib resource, for each type of call number that's present. Right now we only have mainCallNumberSort for the normalized version of mainCallNumber, but we should have normalized versions of every call number (and sudoc number) on a bib resource.

All of this has either been completed or no longer applies.


[Testing Confirmation] Confirm current testing requirements

As part of the discussion around implementing an organization-wide testing policy, I am visiting each repo to see what tests they currently perform. I am conducting this work on GitHub so that it is easy to reference.
Looking at the Alerting repository, it appears there is

Repository
Unit Tests
Integration Tests
Backwards Compatibility Tests
Additional Tests
Link

Alerting
- [x]
- [x]
- [x]
Security Test Workflow, Multi-node Test Workflow, Certificate of Origin
https://github.com/opensearch-project/alerting/issues/803

I don't see any requirements for code coverage in the testing documentation. If there are any specific requirements could you respond to this issue to let me know?
If there are any tests I missed or anything you think all repositories in OpenSearch should have for testing please respond to this issue with details.

Currently we have not set any code coverage requirements as part of the build.


Updating STM32H7 ETH_MAC MMC mask register writable

This PR fixes #656 by making the MMC_TX/RX_INTERRUPT_MASK register completely writable.
TODO:

[x] Verify these bits can be written in hardware

Thanks, LGTM!
bors r+


Attempt to convert the R image to Rocker

Attempting to convert the R image to Rocker, but it's kinda large.
Commented out install2.r packages are ones that we were installing from conda-forge and already are in the image unless noted otherwise.
I'm not sure that all of the github installed packages actually installed (multitasking rather than just observing the build logs). Maybe worth exploring some of these solutions: https://stackoverflow.com/questions/26244530/how-do-i-make-install-packages-return-an-error-if-an-r-package-cannot-be-install
❯ docker images
REPOSITORY                         TAG       IMAGE ID       CREATED          SIZE
jupyter-image-r                    latest    0d391a0a7b6b   16 minutes ago   7.57GB

Wow! Thanks! I'll give it a whirl later today

The underlying image is a lot of the size issue...
ghcr.io/rocker-org/binder          latest    0206f61770c7   8 weeks ago         7.43GB

We could adapt a pattern like this to install from github https://stackoverflow.com/questions/26244530/how-do-i-make-install-packages-return-an-error-if-an-r-package-cannot-be-install


Fix variable issue in profiler script

Observed unbound local variable issue in profiler script

Updated the script in this PR #14795
Ci - https://github.com/tenstorrent/tt-metal/actions/runs/11704571535


Guest fails to build crossbeam due to atomics

Crate Name: crossbeam https://crates.io/crates/crossbeam
Description of Error
Rust's crossbeam crate is used for concurrent programming. Because the zkvm is single threaded, it's likely that users do not depend on crossbeam directly. However, the are crates such as bevy-ecs depend on the crossbeam-utils or crossbeam-channels. When trying to build these crates you may see errors like this:
methods-guest: error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64`
methods-guest:   --> /Users/erik/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.14/src/lib.rs:79:49
methods-guest:    |
methods-guest: 79 |             pub(crate) use core::sync::atomic::{AtomicI64, AtomicU64};
methods-guest:    |                                                 ^^^^^^^^^  ^^^^^^^^^ no `AtomicU64` in `sync::atomic`
methods-guest:    |                                                 |
methods-guest:    |                                                 no `AtomicI64` in `sync::atomic`
methods-guest:    |
methods-guest: help: a similar name exists in the module
methods-guest:    |
methods-guest: 79 |             pub(crate) use core::sync::atomic::{AtomicI8, AtomicU64};
methods-guest:    |                                                 ~~~~~~~~
methods-guest: help: a similar name exists in the module
methods-guest:    |
methods-guest: 79 |             pub(crate) use core::sync::atomic::{AtomicI64, AtomicU8};
methods-guest:    |                                                            ~~~~~~~~
methods-guest:
methods-guest: error[E0412]: cannot find type `AtomicU64` in module `core::sync::atomic`
methods-guest:     --> /Users/erik/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.14/src/atomic/consume.rs:78:14
methods-guest:      |
methods-guest: 78   |   impl_atomic!(AtomicU64, u64);
methods-guest:      |                ^^^^^^^^^ help: a struct with a similar name exists: `AtomicU16`
methods-guest:      |
methods-guest:     ::: /Users/erik/risc0-playground/target/debug/build/methods-1063287a65fb6768/out/rust-std_c329f97eff90458a28d6e09fcda804c9f781624a8e83b697b7d5f3c283a12bd6/library/core/src/sync/atomic.rs:2761:1
methods-guest:      |
methods-guest: 2761 | / atomic_int! {
methods-guest: 2762 | |     cfg(target_has_atomic = "16"),
methods-guest: 2763 | |     cfg(target_has_atomic_equal_alignment = "16"),
methods-guest: 2764 | |     stable(feature = "integer_atomics_stable", since = "1.34.0"),
methods-guest: ...    |
methods-guest: 2778 | |     u16 AtomicU16 ATOMIC_U16_INIT
methods-guest: 2779 | | }
methods-guest:      | |_- similarly named struct `AtomicU16` defined here
methods-guest:
methods-guest: error[E0412]: cannot find type `AtomicI64` in module `core::sync::atomic`
methods-guest:     --> /Users/erik/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.14/src/atomic/consume.rs:80:14
methods-guest:      |
methods-guest: 80   |   impl_atomic!(AtomicI64, i64);
methods-guest:      |                ^^^^^^^^^ help: a struct with a similar name exists: `AtomicI16`
methods-guest:      |
methods-guest:     ::: /Users/erik/risc0-playground/target/debug/build/methods-1063287a65fb6768/out/rust-std_c329f97eff90458a28d6e09fcda804c9f781624a8e83b697b7d5f3c283a12bd6/library/core/src/sync/atomic.rs:2741:1
methods-guest:      |
methods-guest: 2741 | / atomic_int! {
methods-guest: 2742 | |     cfg(target_has_atomic = "16"),
methods-guest: 2743 | |     cfg(target_has_atomic_equal_alignment = "16"),
methods-guest: 2744 | |     stable(feature = "integer_atomics_stable", since = "1.34.0"),
methods-guest: ...    |
methods-guest: 2758 | |     i16 AtomicI16 ATOMIC_I16_INIT
methods-guest: 2759 | | }
methods-guest:      | |_- similarly named struct `AtomicI16` defined here
methods-guest:
methods-guest:    Compiling bit-vec v0.6.3
methods-guest:    Compiling erased-serde v0.3.25
methods-guest: Some errors have detailed explanations: E0412, E0432.
methods-guest: For more information about an error, try `rustc --explain E0412`.
methods-guest: error: could not compile `crossbeam-utils` due to 3 previous errors

This occurs because crossbeam makes an assumption that risc0 zkvm supports 64 bit atomics (which it does not).
Workarounds
As a temporary workaround, when using crates that depend on crossbeam-utils or crossbeam-channels, use risc0's fork of crossbeam by adding the following line under the [patch.crates-io] section in your Cargo.toml file.
[patch.crates-io]
crossbeam = { git = "https://github.com/risc0/crossbeam", rev = "b25eb50f8c193f36dacb6739692261ea96827bb7" }
crossbeam-utils = { git = "https://github.com/risc0/crossbeam", rev = "b25eb50f8c193f36dacb6739692261ea96827bb7" }
crossbeam-channel = { git = "https://github.com/risc0/crossbeam", rev = "b25eb50f8c193f36dacb6739692261ea96827bb7" }

After adding this patch, run cargo update inside the guest directory to update the dependencies!
Long term solution(s)
Add the risc0 zkvm target triple to upstream rustc. crossbeam uses rustc to dump all supported targets and their configurations to determine the max atomic support. Note: risc0's zkvm is single-threaded, non-preemptive, and does not reorder instructions so we don't need atomics instructions or fence instructions.

Running into a similar issue from the Radium 0.7.0 crate:
zero-raf-methods-guest: error[E0432]: unresolved imports core::sync::atomic::AtomicI64, core::sync::atomic::AtomicU64zero-raf-methods-guest:   --> /Users/mnshah/.cargo/registry/src/github.com-1ecc6299db9ec823/radium-0.7.0/src/lib.rs:53:34 zero-raf-methods-guest:    | zero-raf-methods-guest: 53 |         use core::sync::atomic::{AtomicI64, AtomicU64}; zero-raf-methods-guest:    |                                  ^^^^^^^^^  ^^^^^^^^^ noAtomicU64insync::atomiczero-raf-methods-guest:    |                                  | zero-raf-methods-guest:    |                                  noAtomicI64insync::atomic zero-raf-methods-guest:    | zero-raf-methods-guest: help: a similar name exists in the module zero-raf-methods-guest:    | zero-raf-methods-guest: 53 |         use core::sync::atomic::{AtomicI8, AtomicU64}; zero-raf-methods-guest:    |                                  ~~~~~~~~ zero-raf-methods-guest: help: a similar name exists in the module zero-raf-methods-guest:    | zero-raf-methods-guest: 53 |         use core::sync::atomic::{AtomicI64, AtomicU8}; zero-raf-methods-guest:    |                                             ~~~~~~~~

Running into a similar issue from the Radium 0.7.0 crate:
zero-raf-methods-guest: error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64`
zero-raf-methods-guest:   --> /Users/mnshah/.cargo/registry/src/github.com-1ecc6299db9ec823/radium-0.7.0/src/lib.rs:53:34
zero-raf-methods-guest:    |
zero-raf-methods-guest: 53 |         use core::sync::atomic::{AtomicI64, AtomicU64};
zero-raf-methods-guest:    |                                  ^^^^^^^^^  ^^^^^^^^^ no `AtomicU64` in `sync::atomic`
zero-raf-methods-guest:    |                                  |
zero-raf-methods-guest:    |                                  no `AtomicI64` in `sync::atomic`
zero-raf-methods-guest:    |
zero-raf-methods-guest: help: a similar name exists in the module
zero-raf-methods-guest:    |
zero-raf-methods-guest: 53 |         use core::sync::atomic::{AtomicI8, AtomicU64};
zero-raf-methods-guest:    |                                  ~~~~~~~~
zero-raf-methods-guest: help: a similar name exists in the module
zero-raf-methods-guest:    |
zero-raf-methods-guest: 53 |         use core::sync::atomic::{AtomicI64, AtomicU8};
zero-raf-methods-guest:    |                                             ~~~~~~~~

This is a separate issue and I wrote a work around here #549


Wrong command to update group policies

The note in "Enable rollback with Microsoft Edge update and Group Policy" section points to use "dsregcmd /status" to update group policies. Shouldn't "gpupdate /force" be used instead?

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

ID: 12e89255-aab6-fe92-7a4f-7c1a53d30f50
Version Independent ID: dcb5637d-8829-83e2-d7e3-71714a7daf3a
Content: Microsoft Edge rollback for enterprises
Content Source: edgeenterprise/edge-learnmore-rollback.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: v-danwes

@collaca Thanks for the feedback about the documentation!
Adding @dan-wesley for follow up.

@collaca thanks for catching this error. I've updated the doc and it will be published today.

Thanks!
[photo]
Carlos Collado
GM Fasttrack SME
Fasttrack Center – EMEA
https://fasttrack.microsoft.comhttps://fasttrack.microsoft.com/
Microsoft Edge
The browser for business | Standardize on one browser with Microsoft security and innovation
Get assistance from FastTrackhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Ffasttrack&data=02|01|v-cacol%40microsoft.com|ebc5765797174341c8ca08d84e8d9dc0|72f988bf86f141af91ab2d7cd011db47|1|0|637345717583321970&sdata=WClAUJPHSLGVe%2Fu8NzqBO31gi11nkwLumR7friLyDAc%3D&reserved=0 | Learn about Edgehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fedge&data=02|01|v-cacol%40microsoft.com|ebc5765797174341c8ca08d84e8d9dc0|72f988bf86f141af91ab2d7cd011db47|1|0|637345717583326967&sdata=FEolvPKFvzsy%2FXSu1FO7X36cs7DLXr5zjZYcyWv%2B4Yg%3D&reserved=0
From: Dan Wesley<EMAIL_ADDRESS>Sent: Monday, November 30, 2020 9:29 PM
To: MicrosoftDocs/Edge-Enterprise<EMAIL_ADDRESS>Cc: Carlos Collado (Experis Limited<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/Edge-Enterprise] Wrong command to update group policies (#65)
Closed #65https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FEdge-Enterprise%2Fissues%2F65&data=04|01|v-cacol%40microsoft.com|45b4ad1916764bf9e5a408d8956ea089|72f988bf86f141af91ab2d7cd011db47|1|1|637423649662799622|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=UE10Qi3o6tzEApwJMq%2FT%2FWU4hfdxhMlXK25MYT4SPGk%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FEdge-Enterprise%2Fissues%2F65%23event-4053817049&data=04|01|v-cacol%40microsoft.com|45b4ad1916764bf9e5a408d8956ea089|72f988bf86f141af91ab2d7cd011db47|1|1|637423649662809616|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=pZ1ZQ2UrExsHfn%2BjQPO9%2BlC46lqgMAyxSZIvFOxunY0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOGXZJYGKP44FUEMTH4XI53SSP6CHANCNFSM4RO5ECHQ&data=04|01|v-cacol%40microsoft.com|45b4ad1916764bf9e5a408d8956ea089|72f988bf86f141af91ab2d7cd011db47|1|1|637423649662809616|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=slSY%2F86kUCB2QmmopOfn6cTHKv29JNYoTbFiWG95UzY%3D&reserved=0.


Increase version to 0.0.38

#1585  👈 (View in Graphite)
main

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


Values are not forced to 8 decimal places

https://texplorer.ark.io/tx/97ee9253c3b1a57cd5642285ac4ff3a3d558c7a1a03aa38275602ebaa5c87d98
Since the change in #3, any values with trailing 0's don't show the trailing 0's. In this example, 0.00000610 is shown as 0.0000061.

Example is 0.0000063, not 0.0000061.
On phone so can't update existing ticket.

Yes, that is expected behavior. Do we really want to display all values (amounts, fees, ect.) with 8 decimal palces (like 20 ARK -> 20.00000000 ARK)?

I think we want to keep the current behavior?

Yeah, moment of insanity. Close this please.


Integrate scripts into workflow .yaml files

There's no need to have separate script files or to run curl commands to pull in scripts from another repo -- you can do it all natively in GitHub actions.
See the GitHub actions docs:

Creating a reusable workflow
Calling a reusable workflow

The narrative repo has examples of workflow reuse, as well as eliminating the extra scripts in favour of using just the workflow yaml files.

@ialarmedalien Are you proposing eliminating ALL script files in favor of completely doing everything in YAML files, or just some of them? Do these scripts have to live inside YAML files and then you replace https://github.com/kbase/.github/blob/dbc4b3eab7a738808437343f69292272af6fd42c/workflow-templates/pr_build.yaml#L36 and https://github.com/kbase/.github/blob/dbc4b3eab7a738808437343f69292272af6fd42c/workflow-templates/pr_build.yaml#L47 to instead call the other workflows?

Instead of running the curl command, you can call a local or remote workflow, e.g.
name: Build Dev Image

jobs:
  run_build_and_push:
    # use a workflow available across the kbase org
    uses: kbase/.github/workflows/build_and_push_image.yml
    secrets:
      GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
      GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}

  run_unit_tests:
    # use a workflow from the current repo
    uses: ./.github/workflows/unit_test.yml
    needs: run_build_and_push

You can execute shell script as a step in a workflow job, and the shell script that's used in the scripts in this repo is all simple enough that it's easily transferrable to the workflow file.
Branching logic is achievable -- there's the if conditional that you can use to control whether or not a job or a step within a job is run.

This should be done for pr_build.yaml, see #19.

Closing, as task is being tracked in DEVOPS-783.


Add tests

Have inspiration from here:

https://github.com/styled-components/styled-components/blob/v2/src/test/basic.test.js

Add Jest test environment, and one basic test. To run test: npm run test.


WIP: feat: Initial helm chart

Resolves #8
This is still WIP

IMHO it might be better to store together with source code. Then a change in code is easily conneted with coresponding change of helm chart.
Helm charts can be stored in the github (https://helm.sh/docs/topics/chart_repository/#github-pages-example)


Unable to disable legend based on another legend click

I am unable to disable legend based on the click of another legend in LineBar with focus chart. Below is the code which i am trying to achieve that which is not working in any of the events.
legend: {
                      "dispatch": {
                            legendClick:function(val,i){
                              console.log(val)
                            },
                            stateChange:function (val,i) {
                                if(val.disabled[1]==true){
                                    val.disabled[3]=true;
                                }
                             }

                      },

In the legendClick event i am getting current legend item and in stateChange setting disabled to true for a specific legend is not working.

You can use radioButtonMode in order to choose only one of the legend
legend": {
"radioButtonMode": true
}
hope it helps


Changing the language does not change the relative time strings

If you change the language, relative time strings such as "1 minute ago" do not update. You have to reload the page to see the translated strings.
The tests are supposed to test for this but they don't due to timeFormat.js line 177.

@ilmartyrk


Implement a Docker image generator gradle plugin for Spark applications

Allows specifying the jars for the application's classpath as well as a custom base image.

@mccheah looks good - mostly would like to figure out if we can remove some boilerplate gradle scripts

@dansanduleac do you have any advice for how to create tasks given the setup of the extension, without using the afterEvaluate method?
I looked at https://github.com/palantir/gradle-docker/blob/develop/src/main/groovy/com/palantir/gradle/docker/PalantirDockerPlugin.groovy#L117 and in particular it generated a separate docker tag task for every tag to be generated. But it had to use afterEvaluate to do that, and I'm wondering if we can do something more idiomatic.
Taking a step back though I wouldn't be entirely opposed to the idea of only allowing for a single tag per Spark application image, so if accomplishing this would require an overly complex setup we can make this only assign one tag.

Hm, we could define a task Rule which checks if the extension defined the given tag and constructs the task on the fly. Would that work? https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html

Actually Rule and Model based Gradle development is a pretty significant paradigm shift altogether. It might be correct for this situation though. Will do some experimentation with the APIs.

Yep if you want to create a different number of tasks based on runtime values, then you need afterEvaluate (and wire them up via dependencies to a task that you explicitly create outside of afterEvaluate). But perhaps you can do only that bit in afterEvaluate, that would simplify the flow a lot.
Not sure if it's worth complicating matters with the Rule api which seems to me as powerful as scala implicits but with the added blackboxiness of doing everything via reflection.

@mccheah how about instead of putting docker files as a tgz in the jar we publish them separately? This would be akin to how gradle-baseline does things where configuration is an input to the plugin. This would let us remove some of the weird file reading and in general be more gradle friendly

Ok, @yifeih @dansanduleac @robert3005 I picked this up again. Addressed all comments - using lazy properties as much as possible. One after evaluate block is used to create new tasks based on the extension's configuration in the user's project. Please take a look.

@robert3005 @dansanduleac comments are addressed and the build is green. Can we take another look at this?

@dansanduleac @robert3005 ping on this

Agreed that properties should be used in the extension. We can move the project up to the root directory, I mostly didn't want to make the root directory too different from stock Spark's (i.e. isolate the added code to be in the resource-managers/kubernetes/docker subdirectory). The use of afterEvaluate as well as custom exec tasks is a necessary evil - please refer to earlier discussion in the PR.

Makes sense - one more question though. Why do we need tags? They're not useful and it's easier to just publish snapshot and release versions. Internally we stopped relying on latest and snapshot long time ago and I don't see a good reason why you'd want them.

The cue is mainly taken from gradle-docker: https://github.com/palantir/gradle-docker/blob/develop/src/main/groovy/com/palantir/gradle/docker/DockerExtension.groovy#L35. But this is more by convention  and consistency with that plugin. In practice tag should more or less be the git tag, or the git hash if it's a snapshot..

@robert3005 addressed comments. I've noted the differences to stock baseline in comments here.
if you feel strongly about not supporting multiple tags then we can remove it.

@mccheah lets remove the wrapping scripts after that it's LGTM from me

@dansanduleac @robert3005 going to merge after latest CI passes if there are no more comments.

Cool with me, just remember to squash

Whoops it broke master - will fix


No module named requests

I have installed requests but it showing this ''Traceback (most recent call last):
File "instagram.py", line 7, in
from lib.bruter import Bruter
File "/data/data/com.termux/files/home/Instagram/lib/bruter.py", line 6, in
from lib.browser import Browser
File "/data/data/com.termux/files/home/Instagram/lib/browser.py", line 6, in
from requests import Session
ModuleNotFoundError: No module named 'requests''''

Use
pip3 install requests
(use pip/pip3 as per your version of pip)

Use
pip3 install requests
(use pip/pip3 as per your version of pip)

can u explain me in detail, what i need to do


Add api import test.

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This is not intended to be merged but to check if importing the api can be tested properly here (see https://github.com/hyperspy/hyperspy/pull/2054). With the last release of hyperspy, it should fail.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Done in #27.


Fix for issue syoyo/tinyobjloader#217

Set a target property WINDOWS_EXPORT_ALL_SYMBOLS to true every time shared libraries are built.
This enables the generation of symbols to be exported in Windows DLLs.

Thanks! Merged.


No value provided for placeholder expressions

Which version and edition of Flyway are you using?
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
What did you see instead?

Hi Alex,
I am getting an error of
"org.flywaydb.core.api.FlywayException: No value provided for placeholder expressions:  & .  Check your configuration! "
I am not using any placeholder files, Rather have an '&' in one of the comments.
Flyway treats that as placeholder value and is looking for a placeholder configuration.
Infact the '&' is mentioned on a  commented line '--'
I am raising this as a bug for Flyway Enterprise Edition (trial) 5.2.4 .

The error is thrown while parsing the migrations.
ERROR: Unexpected error
org.flywaydb.core.api.FlywayException: No value provided for placeholder expressions:  & .  Check your configuration!
at org.flywaydb.core.internal.database.oracle.pro.SQLPlusPlaceholderReplacer.replacePlaceholders(SQLPlusPlaceholderReplacer.java:154)
at org.flywaydb.core.internal.line.PlaceholderReplacingLine.(PlaceholderReplacingLine.java:25)
at org.flywaydb.core.internal.sqlscript.SqlScript.extractStatements(SqlScript.java:108)
at org.flywaydb.core.internal.sqlscript.SqlScript.(SqlScript.java:86)
at org.flywaydb.core.internal.resolver.sql.SqlMigrationResolver.addMigrations(SqlMigrationResolver.java:140)
at org.flywaydb.core.internal.resolver.sql.SqlMigrationResolver.resolveMigrations(SqlMigrationResolver.java:107)
at org.flywaydb.core.internal.resolver.sql.SqlMigrationResolver.resolveMigrations(SqlMigrationResolver.java:47)
at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.collectMigrations(CompositeMigrationResolver.java:136)
at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.doFindAvailableMigrations(CompositeMigrationResolver.java:118)
at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.resolveMigrations(CompositeMigrationResolver.java:104)
at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.resolveMigrations(CompositeMigrationResolver.java:46)
at org.flywaydb.core.internal.info.MigrationInfoServiceImpl.refresh(MigrationInfoServiceImpl.java:133)
at org.flywaydb.core.internal.command.DbInfo.info(DbInfo.java:52)
at org.flywaydb.core.Flyway$5.execute(Flyway.java:1528)
at org.flywaydb.core.Flyway$5.execute(Flyway.java:1521)
at org.flywaydb.core.Flyway.execute(Flyway.java:1711)
at org.flywaydb.core.Flyway.info(Flyway.java:1521)
at org.flywaydb.commandline.Main.executeOperation(Main.java:167)
at org.flywaydb.commandline.Main.main(Main.java:108)

This sounds similar to https://github.com/flyway/flyway/issues/2321
Can you check whether the issue persists after upgrading to 6.0.0-beta2?

Any news?

Closing as a duplicate of #2432.

org.flywaydb.core.api.FlywayException: No value provided for placeholder: ${USER_NAME}.  Check your configuration!


Update postgresql to 42.2.25

Updates org.postgresql:postgresql from 42.2.2 to 42.2.25.
Changelog
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!

Files still referring to the old version number
The following files still refer to the old version number (42.2.2).
You might want to review and update them manually.
build.sbt

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

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #99.


When ttlDurationDefaultInSeconds is set the messages are expired one by one every 5 minutes even before ttlDurationDefaultInSeconds is reached

Messages are being expired even before ttlDurationDefaultInSeconds is reached when ttlDurationDefaultInSeconds is set.
To Reproduce

in broker conf auto topic creation is enabled
in broker set ttlDurationDefaultInSeconds to 604800 (in all brokers and restart them)
now create subscription to topic - persistent/public/default/amit_test
close the subscription
create producer to above topic - providing a name and setting timeout to 0 (also dedup has been enabled in broker conf)
Now send 2 messages to the topic using the producer one after another
Now close the producer and client
Now using admin stats monitor the topic - pulsar-broker:8080/admin/v2/persistent/public/default/amit_test/stats
under the subscription can see that 2 messages are present in msgBacklog and lastExpireTimestamp is 0 (and no active producers or consumers)
After couple of minutes can observe msgBacklog reduced to 1 and lastExpireTimestamp is set to recent timestamp
After 5 more min can observe msgBacklog reduced to 0 and lastExpireTimestamp is updated to recent timestamp

Expected behavior
Messages should not be expired until ttl is reached.
Desktop (please complete the following information):

OS: Ubuntu
Pulsar version - 2.5.0

@AmitANetskope The lastExpireTimestamp updates when the task of message expiration triggers, so the recent timestamp is an expected value. I have tried on my laptop and I add a test #6638 to ensure messages do not expire early, but can't reproduce your problem. Is the problem appears frequently or not?  And if you can reproduce it, could you please add your server log here? This will help find the problem.

Broker log file -
pulsar-broker-pulsar-broker-1.log
{noformat}
15:23:41.554 [pulsar-web-30-3] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [30/Mar/2020:15:23:41 +0000] "GET /admin/v2/persistent/public/amit_test/amit_test/stats?authoritative=true HTTP/1.1" 200 522 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0" 7
15:24:11.396 [pulsar-msg-expiry-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentMessageExpiryMonitor - [persistent://public/amit_test/amit_test][amit_test] Starting message expiry check, ttl= 604800 seconds
15:24:11.453 [bookkeeper-ml-workers-OrderedExecutor-5-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentMessageExpiryMonitor - [persistent://public/amit_test/amit_test][amit_test] Expiring all messages until position 406:0
15:24:36.719 [pulsar-web-30-7] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [30/Mar/2020:15:24:36 +0000] "GET /admin/v2/persistent/public/amit_test/amit_test/stats?authoritative=true HTTP/1.1" 200 551 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0" 5
15:27:57.092 [pulsar-web-30-7] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [30/Mar/2020:15:27:57 +0000] "GET /admin/v2/persistent/public/amit_test/amit_test/stats?authoritative=true HTTP/1.1" 200 551 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0" 8
15:28:49.569 [pulsar-web-30-8] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [30/Mar/2020:15:28:49 +0000] "GET /admin/v2/persistent/public/amit_test/amit_test/stats?authoritative=true HTTP/1.1" 200 551 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0" 5
15:28:55.099 [pulsar-web-30-4] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [30/Mar/2020:15:28:55 +0000] "GET /admin/v2/persistent/public/amit_test/amit_test/stats?authoritative=true HTTP/1.1" 200 551 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0" 6
15:29:11.394 [pulsar-msg-expiry-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentMessageExpiryMonitor - [persistent://public/amit_test/amit_test][amit_test] Starting message expiry check, ttl= 604800 seconds
15:29:11.412 [bookkeeper-ml-workers-OrderedExecutor-5-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentMessageExpiryMonitor - [persistent://public/amit_test/amit_test][amit_test] Expiring all messages until position 406:1
{noformat}

@AmitANetskope I think the issue has been fixed by #6211. I also verified it. It will be included in the upcoming 2.5.1 release.
For testing purpose, you can try out our weekly build: https://github.com/streamnative/pulsar/releases/tag/v2.6.0-347d3851b
It includes that fix.

Closed the issue since it is already fixed by #6211


Bump pre-commit dependencies

Bump pre-commit dependencies to latest ones
Update isort repo which was using an archived repository
Update prettier repository to the correct one: https://github.com/pre-commit/mirrors-prettier#using-prettier-with-pre-commit

Thanks!


Add support for global base path

Fixes #39

Would love any help or advice on how to get coverage back up to 100%

This would be great, +1

Could you please add a line to the README and i'm happy to merge ;-) Thanks!


[SUBMISSION] December 2024 Completion of Module 1

December 2024 Student Submission
Module Completed

[x] Module 1: Instruction Tuning
[ ] Module 2: Preference Alignment
[ ] Module 3: Parameter-efficient Fine-tuning
[ ] Module 4: Evaluation
[ ] Module 5: Vision-language Models
[ ] Module 6: Synthetic Datasets
[ ] Module 7: Inference
[ ] Module 8: Deployment

Changes Made
Describe what you've done in this PR:

What concepts did you learn?

Tokenisation, Reading datasets from HF, fine tuning smol models and how tokinzer module is contained

What changes or additions did you make?

Added comments for better understanding, will add additional examples in the future work

Any challenges you faced?

Nothing for this module

Notebooks Added/Modified
List any notebooks you've added or modified:

[x] Added new example in module_name/student_examples/my_example.ipynb
[x] Modified existing notebook with additional examples
[x] Added documentation or comments

Checklist

[x] I have read the module materials
[x] My code runs without errors
[x] I have pushed models and datasets to the huggingface hub
[x] My PR is based on the december_2024 branch

Questions or Discussion Points
Add any questions you have or points you'd like to discuss:
1.
2.
Additional Notes
Any other information that might be helpful for reviewers:

Please let me know any comments or if any changes needed

Hey @Knight7561
Thanks for the submission! Could you complete these steps to submit:

merge latest changes from main
ensure all work is only in {module}/student_examples/{student}
review another student's PR and mention me!

🚀

So, @burtenshaw  you want me to:

merge latest code from https://github.com/huggingface/smol-course/tree/main to this learn branch and target the PR to December-2024 branch ?
all my code is under students example plus additional base code answering the questions.
Do you want me to pull from December-2024 branch also to this PR.

@burtenshaw  Created a better PR at #112 , if that seems right, I would go ahead and delete this PR after you confirm.

@Knight7561 No worries. Nice work on improving. I'll close it.


✨ make extension and clusterextension api consistent

This PR makes the clusterextension api more consistent with the extension api by:

copying over missing fields to the clusterextension api
adding the Progressing condition to indicate a progressing installation
updating the Installed condition to match the extension controller's behavior.

Please hold this from merging till https://github.com/operator-framework/operator-controller/pull/846 gets in. Thanks!

/hold


BTHome.cpp:7:6: error: no declaration matches 'void BTHome::begin(String, bool, const uint8_t*, bool)'

Hi !
First, thank you for the code.
I'm trying to use this, but getting the following error:
/home/feiticeir0/Documents/Arduino/BTHome/BTHome.ino: In function 'void setup()':
/home/feiticeir0/Documents/Arduino/BTHome/BTHome.ino:24:27: error: call of overloaded 'begin(const char [8])' is ambiguous
   bthome.begin(DEVICE_NAME);
                           ^
In file included from /home/feiticeir0/Documents/Arduino/BTHome/BTHome.ino:11:
/home/feiticeir0/Documents/Arduino/BTHome/BTHome.h:117:10: note: candidate: 'void BTHome::begin(String, bool, const uint8_t*, bool)'
     void begin(String dname = "DIY-sensor", bool encryption = false, uint8_t const* const key = NULL, bool trigger_based_device = false);
          ^~~~~
/home/feiticeir0/Documents/Arduino/BTHome/BTHome.h:118:10: note: candidate: 'void BTHome::begin(String, bool, String, bool)'
     void begin(String dname = "DIY-sensor", bool encryption = false, String key = "", bool trigger_based_device = false);
          ^~~~~

exit status 1

Compilation error: call of overloaded 'begin(const char [8])' is ambiguous

Per instructions, without encryption, I've commented out DEFINE_ENCRYPTION and BIND_KEY...
The line that gets red in the editor is this one:
bthome.begin(DEVICE_NAME);
Thank you

@countrysideboy what could be here wrong?

you can replace the line
bthome.begin(DEVICE_NAME);
with
bthome.begin(DEVICE_NAME,false, "", false);

you can replace the line bthome.begin(DEVICE_NAME); with bthome.begin(DEVICE_NAME,false, "", false);

Thank you . I did try some, but none worked. Will try and post the result. Thank you

try bthome.begin("DIY-Sensor");
or
String DEVICE_NAME = "DIY-sensor";
It maybe related to the compiler judgment of char arrays and strings.


Create LICENSE.md

Follow-up on the license classifier PR -- this should make the License more obvious to github and others.

:+1: Looks good to me. What do you think, @Max00355?

Yes, this is fine, you have full authority @qw3rtman so you can make your own judgement. I will merge this one.


[T4A2][T17-B3]Sin Yu Fan

Change parseCommand, prepareAdd, prepareDelete, prepareView, prepareViewAll, parseArgsAsDisplayedIndex, prepareFind methods to static.
Add private sequenceNumber variable and public static nextSequenceNumber to person class.

@howitzerg  Some comments added. Please close the PR after reading comments.


Change helper.py audio callback to new format

Was using float** in.
Now AudioHandle::InputBuffer in.
Fixes #197

Good catch!


Index on workspace change

Hey!
I have a new problem, when I'm in vim and install php package with composer i must to restart vim, or restart language server with CocRestart for index package, but the problem is that every time everything is over indexing... It would be nice if this were resolved and some one added caching system. Thanks!
Again sorry for my very bad English... :D

Yes, that's on the plan
The ability of this project to provide prompts depends on vscode-intelephense
But the project closes the source code
I'm trying to fit this

The new version will be cached


timestamp search difficulty

TRJS appears to convert timestamps to hour:minute.millesecond (versus clan where it's always just ms). This in and of itself is not a problem at all, but it would be great to be able to
a) search by timestamp (this seems like something that's already in the plans?)
b) when searching by timestamp being able to search in different formats (e.g. milliseconds) would be great for our use case

There is a feature for going to a time stamp in seconds, but it was bugged and so you must download the version of tomorrow to test this.
You go the search window (CTRL+F) and then you click on the tab “Go to”
There on the second line you can put a time in seconds (including a decimal value if needed) and click on the green mark at the right. This should show the time.

On 4 Oct 2018, at 17:05, Elika Bergelson<EMAIL_ADDRESS>wrote:
TRJS appears to convert timestamps to hour:minute.millesecond (versus clan where it's always just ms). This in and of itself is not a problem at all, but it would be great to be able to
a) search by timestamp (this seems like something that's already in the plans?)
b) when searching by timestamp being able to search in different formats (e.g. milliseconds) would be great for our use case
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/christopheparisse/trjs/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ARXXJzzYhBPnskQBPrSRigd58NEPmfN2ks5uhiOrgaJpZM4XIT37.


Add Comment to Profile Feature

Description
Its possible to add Comment Feature To Titan?
Like +rep, good player or similar on profile

System Information
Operating System: Win 10
Titan version: Latest

Yea, that would be cool thing ;)


.ci: Remove travis

Remove travis CI from tests repo since we want to rely only on
Jenkins CI.
Fixes #554

@chavafg @sameo @grahamwhaley please merge this one.

We are expecting Travis to now fail here, so doing a semi-force-merge.
Note, we should unhook travis from the repo now...


Fixed the deadlock when loading while evicting.

This PR improved #183 by counting all referenced shards for makeRoomForBlock to prevent deadlocks mentioned in #70 when loading while evicting.

LGTM. Merging.


[TACHYON-1451] minor change of using SleepingRetry for Hdfs path create

Added a simple change to use SleepingRetry with no sleep time.
If this change is accepted will go ahead and add it to other usage of retries in the same class.

Can one of the admins verify this patch?

ok to test

Thanks for the PR @ramiyer! Do you mind adding a link to the JIRA ticket at the start of the PR description?

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7429/
Test PASSed.

Done @aaudiber, Thanks for reviewing.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7430/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7432/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7434/
Test PASSed.

@aaudiber @calvinjia Have updated the pull req.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7516/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7559/
Test PASSed.


More support  for advance stitching via fabric.

fixed chameleon-cloudlab-fabric
fixing destroy of a fabric slice by delaying slice delete until the network is being deleted fixing the adding of routes in fabric
cloud regions are now in the policy details file
updated the stitching policy with working aws and gcp cloud facilities for cloudlab restructured the example directory and cleaned up example directory. adding ip start to cloudlab profile and making sure .1 ip is not given chameleon-cloudlab-fabric-stitching now fully functional with 4 nodes nicer output summary
only subnet is required in layer3
consolidated cloudlab demo
tested native gcp and it works with agg3.ashb/Bundle-Ether5/us-east4. able to ping node on gcp. native aws works. able to ping node on aws.
tested sense-aws
tested cloudlab using clem profile.
sense gcp needs manual help to work
tested chameleon and overriding aws facility ports handling bandwidth using attribute bw for L2 facility ports and cleaned up bgp secret updated  unit tests

@xi-yang @disprosium8
The example directory has been restructured. Let me know if you see any issues.


YARN-10850. TimelineService v2 lists containers for all attempts when…

… filtering for one. Contributed by Benjamin Teke

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
14m 23s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 39s

branch-3.3 passed

+1 :green_heart:
compile
8m 27s

branch-3.3 passed

+1 :green_heart:
checkstyle
2m  2s

branch-3.3 passed

+1 :green_heart:
mvnsite
2m 54s

branch-3.3 passed

+1 :green_heart:
javadoc
2m 52s

branch-3.3 passed

+1 :green_heart:
spotbugs
4m 20s

branch-3.3 passed

+1 :green_heart:
shadedclient
26m  5s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 31s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 28s

the patch passed

+1 :green_heart:
compile
7m 39s

the patch passed

+1 :green_heart:
javac
7m 39s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 44s

the patch passed

+1 :green_heart:
mvnsite
2m 30s

the patch passed

+1 :green_heart:
javadoc
2m 24s

the patch passed

+1 :green_heart:
spotbugs
4m 10s

the patch passed

+1 :green_heart:
shadedclient
25m 43s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
5m 24s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
unit
28m 17s

hadoop-yarn-client in the patch passed.

+1 :green_heart:
asflicense
1m 33s

The patch does not generate ASF License warnings.

169m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4316/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4316

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 127b3e4c6c29 4.15.0-169-generic #177-Ubuntu SMP Thu Feb 3 10:50:38 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 5f30b85d60f93b8bc2d1b99098e4b90281b5c506

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4316/1/testReport/

Max. process+thread count
691 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4316/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanks @brumi1024 ,
Patch LGTM, merged to branch-3.3


build/git-version: Only call 'git' once

Simplify the logic from #47 to:

Move from Bash to a generic POSIX shell.  This makes the script more portable (it will work on POSIX systems without Bash).  It does mean we need to drop the set (which is not in POSIX), but that's not a major problem because:

We can use &&-chaining instead of set -e.
We do only have the one locally-defined variable, so we don't need set -u.
The simpler logic has no pipes, so set -o pipefail would no longer matter.

Replace the previous multiple Git calls with a single call to git describe.

Use --dirty so we can drop the previous diff call.

Drop --tags, because we don't want to use lightweight (non-annotated) tags.  We want to use annotated tags, because we want to use signed release tags.  There's no code check for tag signatures here, but RELEASING.md requests tag -s vX.Y.Z, which will create signed, annotated tags.

Git's SHA-1 hashes are 40 hex digits, but I've used --abbrev=100 to get unabbreviated hashes even in the face of future hash transitions.  This is a bit of a hack compared to the previous approach, because at some point Git may have >100-char hashes. But if that happens, it will be far enough in the future that I think the simplification we get here is worth it (and this constant is easy to bump if we need to).

The new call always returns the most recent tag, and (for commits which are not exact tag matches) also includes the abbreviated commit.  To isolate the hash (and possible dirty-mark) for commits that are not exact tags, I use POSIX's ${parameter##[word]} prefix-pattern removal.  Exact tags are unlikely to include -g (unless it is in the tag itself), so for them the prefix-removal is a no-op.  Again, this is a bit of a hack, since a tag might include -g, but I think that's unlikely enough (as mentioned above, RELEASING.md requests vX.Y.Z for tags) that the simplification we get here is worth it.

Fixes #132.

ok to test


Result upload permissions

It appears that you can POST a Result without being admin, backend, or the user. You can only GET the result if you have the aforementioned permissions. admin, backend, or the user should be the only ones who can either POST or GET.
https://github.com/stanfordnmbl/opencap-api/blob/3b8e1c202423de14913c85412a864f16c8356fa0/mcserver/views.py#L1027
To replicate:
POST request of result with the token for user1 to a session owned by user2. It will still post, but it should be rejected. Python code:
import requests

API_TOKEN = '<user1_token>' # token for user1
API_URL = 'https://dev.opencap.ai/'

trial_id = 'd9fbccde-9b6b-44ed-80e3-43a66076579b' # trial owned by someone who is not user1
tag = 'ghost-result'
device_id = 'ghost_device'
media_url = 'random_url'

# post link to and data to results
data = {
    "trial": trial_id,
    "tag": tag,
    "device_id" : device_id,
    "media_url" : media_url
}

rResult = requests.post(API_URL + "results/", data=data,
              headers = {"Authorization": "Token {}".format(API_TOKEN)})

Fix - https://github.com/stanfordnmbl/opencap-api/pull/131


Installin Sadness Chan on 0.7.x install 1.1.3 not 1.1.4

Although in the mod directory it is shown as version 1.1.4

I'm running 0.6.6 and it says 1.1.3 for me and when I click "check update" it gives me the "update" button and when I click it, it claims to have updated, but it still says 1.1.3 and "check update" still gives me the "update" button.


[bug]: nxp shacdn init doesn't work on non-typescript project

Describe the bug
when running npx shadcn@latest init on a non-typescript project (javascript only) generated by using vite and selecting javascript for the flavor of react, I receive the error
No import alias found in your tsconfig.json file.
Visit https://ui.shadcn.com/docs/installation/vite to learn how to set an import alias.

but the documentation doesn't say anything about it
Affected component/components
script
How to reproduce
run npm create vite@latest
choose react
choose javascript
run npx shadcn@latest init and see error
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
macOS

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

Hi,
In fact there is a bug during the installation but you can create a fake tsconfig.json even if you are not using typescript to fix the issue.
I've done it in this example and its working well.
https://stackblitz.com/edit/shadcn-react-js?file=README.md


ISPN-7590 Proper command retry handling

https://issues.jboss.org/browse/ISPN-7708

run performance tests please
library

Wow, the perf ack shows no difference whatsover - I didn't expect it being that good. Now I should test if it doesn't leak memory...

run performance tests please
library

run performance tests please
library

run performance tests please
library

Looks like a rebase is required now that your other PR is in :)

@wburns @danberindei As per perfack results, regrettably this PR introduces a regression on writes, which is expected as it simply stores more and sends more messages (I was quite surprised when I first saw the results which showed no difference whatsover). It is possible that we could be resolved, but now we should decide if we value more the performance or correctness in the short-time view: Should we integrate this (assuming that the rest of review comments are handled) and work towards better perf in master (being able to add incremental improvements, by multiple developers), or should we try to keep improving this just as PR?

Regarding correctness, this regrettably does not fix ISPN-3918, and there are more ways how could we address that - it could be discussed in that ticket directly, but I won't try to grow this PR by handling everything.

@rvansa Is there a summary of the changes somewhere?

@danberindei Good point, I should write a summary.

@danberindei Design info https://github.com/infinispan/infinispan-designs/pull/5

Rebased. I thought the line counts could look more friendly after all gets in; the first three commits could be merged independently, but most of the weight can't be included incrementally.

Closing for now. We have agreed on not passing the return value from primary to backups, but implementing Strict Ordering (retrieving previous value if not present on backup) in all write commands. That way we can guarantee correct previous values as needed for continuous query, regular query and other event consumers.
If the new implementation is ready, it should get in in early 9.2 development.
Questions have risen about the actual need to do this in transactional mode.


HRRR on AWS Cookbook

The goal of this cookbook is to adapt a notebook presented at the 2021 AMS Python/Pangeo short course into the cookbook-template framework.

Closing this since the HRRR cookbook is published on our gallery


New code completion for h5py 2.0 is not working in IPython console

From<EMAIL_ADDRESS>on 2011-08-02T05:26:00Z
New h5py 2.0 ( https://code.google.com/p/h5py ) has got a feature of path completion. It works in IPython console, but does not work in IPython+Spyder.
start ipython.
import h5py
h5py.enable_ipython_completer()
f=h5py.File('test.h5')
type  f['test  and press 'tab'
IPython prints:
In [8]: f['test
test1  test2
Spyder completer popup does not contain this.
Attachment: test.h5
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=724

From ccordoba12 on 2011-08-04T07:37:53Z
Spyder creates his own instance of IPython so we have to check how to register the h5py completer with it. Thanks for the example file, that will be of great help.
Cheers,
Carlos
Summary: New code completion for h5py 2.0 is not working in IPython console
Labels: Cat-Console

From pierre.raybaut on 2011-08-06T06:12:03Z
Here it is, that's why it won't work: https://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/externalshell/sitecustomize.py#234

From pierre.raybaut on 2011-08-04T14:48:19Z
The fact that this code completion feature does not work in Spyder is probably related to a change I had to made (I can't remember right now) with IPython integration to make the Spyder's h5py plugin work. The problem with h5py is that it does import IPython in its package's init.py to add this code completion in case you are importing h5py from an IPython session. And that's not a clean way to do it: it is quite unexpected to import IPython systematically when importing h5py (it pollutes the sys.path and may cause unexpected behaviors). Anyway, I'll have to check this but this is probably related to this matter.

From pierre.raybaut on 2011-12-01T00:56:35Z
Labels: Component-IPython


Snippet spacing and indentation touch-ups

I noticed on https://github.com/dotnet/docs/pull/2151/ that snippets needed a touch of line spacing and indentation work. This makes a quick pass to drop extra line spaces, fix indentation, and standardize output comments. I'll come back on another PR later to get the programming-guide batch done.
Note: The if keyword doc states ...

For a single statement, the braces are optional but recommended.

... but a number of the snippets don't adhere to this advice. Let me know if you'd like to see those snippets outside of the if keyword example (of not using braces) converted to using braces.
Addresses #2156

@GuardRex, I'm not sure whether others will agree, but personally, since braces are optional, I'd be inclined to leave existing if statements as is. I suspect that there are thousands of statements that are unbracketed in all of the examples.

It was just the statement "but recommended" followed by a number of snippets without them that seemed contradictory. I didn't change any of them.
I was just trying to get the indentation and line spacing happy. Truly, I showed up to just do ONE file that I spotted chatting with @svick. lol ... then saw a 2nd ... a 10th ... pretty soon 250+ files later (yikes!), here we are. This was a quick PR to put together, so if @mairaw wants to close and come back later, I'm good.

Actually, we need to fix some of those in a different way. All of the C# and VB content got migrated and broken down into thousand of little snippets instead of a central location as we did for the .NET reference.
We might have to ask them to do a new "export" of the C# and VB content on a separate branch that uses the central location for snippets and then we do a diff of that content somehow and delete those inner snippets. My vote would be to fix this the right way soon instead of changing these little snippets.

... in which case we close here, correct? It's no worries ... this actually didn't take long, so it isn't a big deal to close it.


Increase timeout

Main-postsubmits are failing since they run longer than the 2hr default timeout value mentioned here. We can override the timeout values that get applied to the entrypoint pod utility by setting it explicitly in the job's decoration config.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Refactor cloud-init module a bit

/kind feature
/help
/priority important-longterm
/milestone Next
Describe the solution you'd like
cloud-init is very dynamic in what it parses. However, we should take advantage of the fact cloud-init has a defined schema. For now we only care about write_files and runcmd modules. We should explicitly define a type like
type cloudconfig struct {
  writeFiles []writefile
  rucmds []runcmd
  unknownModules []unknown
  log logr.Logger
}

We can still use the existing custom parsing so we can capture unknown modules and then log them.
Anything else you would like to add:
Environment:

/priority backlog

/remove important-longterm

/remove-priority important-longterm

Will take this

/assign @Xenwar

I am also interested to work on this @Xenwar

Agreed. Let's start working on it together.


cannot run MFTbrowser.ps1

Hi there and thanks for this tool!
I cannot run the script, ive installed .NET Framework 4.8 and running powershell 5.1 natively since i am on windows 11. Set the execution Policy with the following command: Set-ExecutionPolicy RemoteSigned as well.
This is what i get, could you help me out?
Thanks a lot!

did you try the .exe from the releases?

Hi there again and thanks for your reply!
Running the exe solved the issue!
Many thanks :)

Getting this issue. Tried running as administrator. Still the issue persists.
I wanna make some changes in ps1 file.

Just re-checked it:

Opened Win11 Sandbox
downloaded the .ps1
opened terminal as Admin
navigated to the Downloads folder
run "set-executionpolicy remotesigned"
pressed 'A'
run .\mftbrowser
pressed 'A'

and it opened just fine.
But feel free to change whatever you like ..


Email Validation to take email input for approved domains only (.com, .in, etc)

Describe the bug
Current email input does not verify the domains of the mail entered. It shows valid input for mails like<EMAIL_ADDRESS>which is invalid.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Accept only approved domain emails.
Screenshots
The website should display error for this.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Have you read the Code of Conduct?
Write your answer here.

The second issue opened here should cover it :)
https://github.com/HITK-TECH-Community/Community-Website/issues?q=is%3Aissue+is%3Aopen+signup

I think the second issue will only solve the email validation issue that is
including "@" and "." symbols. Whereas I propose domain verification which
ensures that the email contains verified domains like .com, .in, etc.
Please reconsider this and request you to assign it to me.
Thanks.
On Fri, 24 May 2024 at 22:23, kajol @.***> wrote:

The second issue opened here should cover it :)
https://github.com/HITK-TECH-Community/Community-Website/issues?q=is%3Aissue+is%3Aopen+signup
—
Reply to this email directly, view it on GitHub
https://github.com/HITK-TECH-Community/Community-Website/issues/948#issuecomment-2129988123,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3VVXOETEUHWEN7HF66V75LZD5V7DAVCNFSM6AAAAABIC64Y7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRZHE4DQMJSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Amruta7203  the email itself shouldn't make through if its not a verified domain right?

Yes..
On Sun, 26 May, 2024, 11:39 pm kajol, @.***> wrote:

@Amruta7203 https://github.com/Amruta7203 the email itself shouldn't
make through if its not a verified domain right?
—
Reply to this email directly, view it on GitHub
https://github.com/HITK-TECH-Community/Community-Website/issues/948#issuecomment-2132303021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3VVXOH4UCSTRBWT4HCA3DLZEIQL5AVCNFSM6AAAAABIC64Y7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGMYDGMBSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

i would recommend u to pick https://github.com/HITK-TECH-Community/Community-Website/issues/802 and add this validation in emailValidator, if u are interested in this issue

Ok @Kajol-Kumari ..Pls assign #802 to me with gssoc labels.

please comment on that issue, i am not able to assign untill u comment on the issue


Extension fields in Proto2

Hi, I read the codebase in order to debug why extensions fields were not taken into account in messages.
As I see it, in the protobuf codegen parser, extension fields are just skipped. (cf https://github.com/stepancheg/rust-protobuf/blob/master/protobuf-codegen-pure/src/parser.rs#L790)
Are there plans to actually add the possibility to handle these or should I just roll my own patch ?

I am talking about something like this :
message TestOptimizedForSize {
  optional int32 i = 1;
  optional ForeignMessage msg = 19;

  extensions 1000 to max;
}

This produces the following files : https://gist.github.com/Igosuki/27e18369fec5a05d4019ac5d321e1779 but I don't understand how to combine the two to read a message including the potential extensions

This is an example of using extensions: https://github.com/stepancheg/rust-protobuf/blob/90fd27e6d79084afd1d584c28feeb6a6fc92e529/protobuf-codegen/src/customize.rs#L160
Does that help?

Extensions are "external" to messages, because extensions can be defined in a different proto file and a different compilation unit and even in a different Rust crate.

Thank you for taking the time ! I get it now, I was a bit unfamiliar with proto extensions so sorry for spamming an issue.
I got confused because I was trying to deserialize json, and using ignore unknown fields just skips the fields.


package.json locked versioning

I am in the process of packaging http-auth for Fedora.  In package.json, your dependencies are on exact versions of libraries; where possible, it's generally better to specify ranges instead (e.g., "^1.8.0" instead of "1.8.0" using semver).  I wanted to alert you that I'll be changing the flat versions to caret versions in the course of packaging, unless you think something different should be done.
Thanks!

Hello Robbie, sure that would be better, let me know if you need my help. Thank You! Gevorg

Closing this item for now, please open pull request when you will be ready. Thank You!


Bytes filter

Because most of the filter was already written in RFC #7103, I decided to add some tests and directly place it in a PR.
Usage:
$filter = new DataUnitFormatter($options);
$result = $filter->filter(1000);

Result:
1.00kB
Options:

mode: binary / decimal
unit: B, b, ... (mandatory)
precision: int
prefixes: array of custom prefixes

Please feel free to give me some feedback / improvements.

I like the overall idea: makes it much simpler to handle file-size problems.
Question: why don't you let the filter convert to integer (or string, depending on integer size) and have a view helper append the suffixes instead?

@Ocramius
I applied all proposed changes except the change of name.
What name do you suggest for the filter? I was thinking something like Units or Measurement. Which one do you think suits best?
The unit is also more configurable now. This way, it is also possible to use other units then bits and bytes.
About your question:
I don't only need this functionality in views. Also in mail services like Mandrill, which have their own build-in templating system. Also: the view wouldn't know which prefix to use if you let the filter handle the calculations and the view helper the size prefixes.

FWIW, I would go with ByteUnitFormatter to be inline with the DateTimeFormatter class that is existent. That's a little more explicit with what it deals with and what it actually does.

@moderndeveloperllc
Maybe UnitFormatter, since it's also possible to measure other units then bytes.
Sounds good!

@veewee Instead of ByteUnitFormatter perhaps DataUnitFormatter or similar? The file as written is just a "byte unit" formatter. I think that other types of unit formatting would be in other files - TimeUnitFormatter (for seconds to hours/days/years/etc), WeightUnitFormatter.  I'm afraid that UnitFormatter suffers the same ambiguity as Byte.
@Ocramius I kinda have to agree with @veewee on keeping this in the Filter namespace. ZF2 appears to use this namespace as the a place to put transformative functions (compress, decompress, encrypt, decrypt, DateTime formatter, etc) in addition to functions that remove unwanted data (int, digits, basename, dir). This is a transformative function for sure. Maybe ZF3 can break these apart?
Of course that also means that sometime in ZF4 we should have something like this in the I18n\Filters namespace - CLDR has added lots of measument units in the last few releases. ICU will eventually get it, so PHP will too.

What I was actually thinking is a conversion like 10Mb -> 10485760 (actually useful for filtering user input into a numeric value that can be manipulated) and then a filter and/or a view helper that does the opposite.

I will change the name to DataUnitFormatter for now.
Can't imagine that I have ever manually entered something like 10MB or 10km manually in a form or in an application.  This is mostly a value in a dropdown or slider which has it's own logic.
E.g: when uploading files, the size in bytes is available.
I guess this filter is enough. If you want I can also add a view helper that implements this filter.
Will work on this feature this evening.

The name is changed and tests should pass.
Travis failed, but that looks like another issue in phpunit:
Fatal error: Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 268435456 bytes) in /home/travis/build/zendframework/zf2/vendor/sebastian/exporter/src/Exporter.php on line 136


[CWS] fix defunct sleep process after TestTCFilters

What does this PR do?
newNetNSSleep was correctly killed to skip the sleep duration but not Wait which created a defunct process. This can cause issues in some OS that are a bit more strict with defunct processes.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


[MacOS/w11] segmentation fault; testing "Miyazaki" example locally

Testing the Miyazaki example locally:
# RAGtest.py

from ragatouille import RAGPretrainedModel
from ragatouille.utils import get_wikipedia_page

def run():
    RAG = RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0")

    documents = [get_wikipedia_page("Hayao_Miyazaki")]
    document_ids = ["miyazaki"]
    document_metadatas = [{"entity": "person", "source": "wikipedia"}]

    RAG.index(
        index_name="miyazaki",
        collection=documents,
        document_ids=document_ids,
        document_metadatas=document_metadatas,
        max_document_length=180,
        split_documents=True
    )

    results = RAG.search(query="What is Miyazaki's first work?", k=3)
    results
    print(results)

if __name__ == '__main__':
    run()

output
[Jan 29, 17:15:38] Loading segmented_maxsim_cpp extension (set COLBERT_LOAD_TORCH_EXTENSION_VERBOSE=True for more info)...
/Users/username/anaconda3/envs/alts/lib/python3.11/site-packages/torch/cuda/amp/grad_scaler.py:125: UserWarning: torch.cuda.amp.GradScaler is enabled, but CUDA is not available.  Disabling.
  warnings.warn(

[Jan 29, 17:15:40] #> Creating directory .ragatouille/colbert/indexes/miyazaki

[Jan 29, 17:15:43] [0]           #> Encoding 81 passages..
  0%|                                                     | 0/2 [00:00<?, ?it/s]/Users/username/anaconda3/envs/alts/lib/python3.11/site-packages/torch/amp/autocast_mode.py:250: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
  warnings.warn(
 50%|██████████████████████▌                      | 1/2 [00:21<00:21, 21.27s/it]/Users/username/anaconda3/envs/alts/lib/python3.11/site-packages/torch/amp/autocast_mode.py:250: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
  warnings.warn(
100%|█████████████████████████████████████████████| 2/2 [00:26<00:00, 13.38s/it]
[Jan 29, 17:16:10] [0]           avg_doclen_est =<PHONE_NUMBER>9628906     len(local_sample) = 81
[Jan 29, 17:16:10] [0]           Creating 1,024 partitions.
[Jan 29, 17:16:10] [0]           *Estimated* 10,516 embeddings.
[Jan 29, 17:16:10] [0]           #> Saving the indexing plan to .ragatouille/colbert/indexes/miyazaki/plan.json ..
WARNING clustering 9991 points to 1024 centroids: please provide at least 39936 training points
Clustering 9991 points in 128D to 1024 clusters, redo 1 times, 20 iterations
  Preprocessing in 0.00 s
[2]    31903 segmentation fault  python RAGtest.py
/Users/username/anaconda3/envs/alts/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

running on a macbook pro (intel)
using the latest version (0.0.5a2)

Hey, thanks for raising the issue, I haven't seen anything like this yet 🤔.
It'd be very helpful if you could:

There's been quite a lot of activity, we're currently on version 0.0.6b1, could you try again with the latest version to make sure it's not related to the upstream multiprocessing which is now bypassed?
Monitor your memory usage when you run this to make sure it's not OOM?
Post your dependencies if neither of the above fixes it/reveals the issue?

Thank you!

I'm trying to investigate. This appears to be a dependency issue, compounded by an issue when loading the .cpp upstream ColBERT extensions.
While we figure out exactly what caused this, I've reverted some recent dependency updates and pushed a new version to Pypi. Let me know if it fixes it for you guys!

Hi @bclavie , I tried with the latest version in PyPi, still the same error

@bclavie Yup, same error.
Just tested with v0.0.6b4

@bclavie @akshaydevml an update on this example. I've tested it on a w11 machine and I'm getting the exact same error output

Hello @bclavie, I have the same error on an Intel Mac with 32 gigabytes of ram and Python 11

(Copy/pasting this message in a few related issues)
Hey guys!
Thanks a lot for bearing with me as I juggle everything and trying to diagnose this. It’s complicated to fix with relatively little time to dedicate to it, as it seems like the dependencies causing issues aren’t the same for everyone, with no clear platform pattern as of yet. Overall, the issues center around the usual suspects of faiss and CUDA.
While because of this I can’t fix the issue with PLAID optimised indices just yet, I’m also noticing that most of the bug reports here are about relatively small collections (100s-to-low-1000s). To lower the barrier to entry as much as possible, https://github.com/bclavie/RAGatouille/pull/137 is introducing a second index format, which doesn’t actually build an index, but performs an exact search over all documents (as a stepping stone towards https://github.com/bclavie/RAGatouille/issues/110, which would use an HNSW index to be an in-between compromise between PLAID optimisation and exact search).
This approach doesn’t scale, but offers the best possible search accuracy & is still performed in a few hundred milliseconds at most for small collections. Ideally, it’ll also open up the way to shipping lower-dependency versions (https://github.com/bclavie/RAGatouille/issues/136)
The PR above (https://github.com/bclavie/RAGatouille/pull/137) is still a work in progress, as it needs CRUD support, tests, documentation, better precision routing (fp32/bfloat16) etc… (and potentially searching only subset of document ids).
However, it’s working in a rough state for me locally. If you’d like to give it a try (with the caveat that it might very well break!), please feel free to install the library directly from the feat/full_vectors_indexing branch and adding the following argument to your index() call:
index(…
index_type=“FULL_VECTORS”,
)

Any feedback is appreciated, as always, and thanks again!

Hey @alxpez @YossefAboukrat, this was most likely an issue related to faiss and should FINALLY be fixed by the new experimental default indexing in 0.0.8, which skips using faiss (does K-means in pure pytorch) as long as you're indexing fewer than ~100k documents!


Automatically Start Speech Dispatcher

Speech dispatcher does not start automatically, and our current methods don't appear to wake it up.
Running spd-say 'hi', followed immediately by cargo run appears to work. So let's find out what it does differently to get speech dispatcher working.

Is this still an issue? Speech dispatcher seems to start automatically when I run Odilia.

I still have the issue.

Looking into this now. To clarify, does this only happen the first time you run it after installing, or every time? Also, what system are you on? I'm trying to figure out why it's not happening on my computer.

It happens the first time when Speech Dispatcher has not been used in some time. For example if the background process has shut down, then it will not automatically start when Odiliw asks for it to.
Running spd-say 'hi' seems to wake SD up for some reason. I want Odilia to do the same.

Not sure when it was solved, but Odilia doesn't have this issue anymore.


iOS builds get rejected by the app store connect certification with issue ITMS-90426

Using Unity 2022.3.23f1 and Flex UI 1.1.x
When I build my iOS project (XCode 15.4) with Flex UI in the project it won't get through Apple's certification.
Flex UI does something that requires SwiftUI but doesn't add the necessary folders/data, which prevents an app to be submitted to the app store.
ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
is this a known issue, or is there a workaround (besides using another flex-ui asset)

Hey @svenneve!
There's nothing Swifty about Flex UI, it's pure C++/C#, you certainly have some other issue going on.
I've seen this exact "Invalid Swift Support" error once when I uploaded an AdHoc build instead of an AppStore one, maybe that's what happend in your case as well.

That was the first thing I checked.
It only happens when I add flex ui.
I've tried all the hundreds of so called solutions, provisioning is set correct, tried adding a swift file so bridge headers get created, tried adding the folders and libs to the archive, tried always add swift libs to build option, etc, etc.
The only thing that fixes the issue, is removing this asset, which i'll probably do as this has already cost me 2 days trying to figure out which asset is causing the issue and trying to get this asset to work.
Last thing I'll try is an empty project with just this asset.

Oh, ok, sorry about that.
Maybe there's something wrong about the dylib build process 🤔
I wanted to use static libraries for it, but got all kinds of errors, so I just stuck with embedding the dylib.

Last thing I'll try is an empty project with just this asset.

Please let me know the result of this, either if it works or not.

I've tried with a super simple project, and the same issue occurs.
Does it help if I send the unity or xcode project?

Does it help if I send the unity or xcode project?

I guess it would. But if the plugin works in builds and the problem is only when uploading to the App Store, I don't know if there is much I could do, really =/
I don't feel comfortable uploading something to the App Store Connect account I have access to, which I don't own, just to debug this.
For the sake of trying, I'd say the XCode project would likely be more useful, but feel free to send both, maybe some Unity plugin could be messing up the XCode project up.


Command Refactor

Description
Adds support for Azure Event Hubs source
The following API commands have been refactored to use the sumologic-go-sdk:

Access Keys
Account
Apps
Archive Ingestion
Folders
Roles
Tokens
Users

This API endpoint requirement has also been changed so that the trailing forward slash isn't required for example the endpoint for the au region would be: https://api.au.sumologic.com/api
Type of change
Please delete options that are not relevant.

[ X ] This change requires a documentation update

Checklist:

[ X ] My code follows the style guidelines of this project
[ X ] I have performed a self-review of my own code
[ X ] I have commented my code, particularly in hard-to-understand areas
[ X ] I have made corresponding changes to the documentation

Closes #84


Decouple default action weightings from action modules

Putting the default action weightings in the action's module definition seemed like a good idea at the time, but means that adjusting said weightings requires hunting across all of the disparate actions.  This seems a little bit awkward, so it might be worth looking at centralising these weightings.

Done now (they've moved to config.ml), I believe.


docs(kuma-cp): Add summary of health check methods

Signed-off-by: Paul Parkanzky<EMAIL_ADDRESS>Add summary of health check methods available within Kuma.

Added https://github.com/kumahq/kuma-website/issues/705 to track the health probe page updates. Going to merge what we have so far here.


Fix the important attribute for virtual steps

The README was pointing out that the virtual-step attribute was the important thing to pay attention to in virtual steps configuration, whereas the real name for the attribute is tourtip-element.

+1

thanks @gastonelhordoy!


compile straight to jar

On Windows, there is a significant overhead to having lots of files and even the act of reading/writing classfiles can cost 10% of the project compile time. This is a limitation of the NTFS filesystem.
It would be incredibly useful if there were an option to compile straight to jar as such access is significantly faster.
Note that this would simplify the implementation of #2270

@adriaanm I spoke to you briefly about this idea at Scala World, but I forgot to file it at the time. Possibly requires scalac support?

Yep, this would require compiler support. There may already be some support there -- not sure what the status is off the top of my head.

It'd be great to get some performance stats on this, just to understand what the gains could be.

A proof poitn could be simulating writing a million small files out to disk, vs writing them out to 100 jars.

Good one :)

I try

I distinctly remember an animated discussion amongst the Windows team about the finer points of writing to the windows filesystem. Somebody talk a joke about a bunny and a circus clown walking into a bar. We all had a good laugh. I'm sure they tested it thoroughly.

Incidentally, the reason one never sees tests for this sort of thing is spelled W-I-N-D-O-W-S. It's known as the law of perverse incentive reversal.

On the plus side, looks like it still works otherwise.

All the Windows-specific functions in emacs start with w32- because they couldn't quite bring themselves to start them win-.
I might knock up a speed test as described above at some point to see what the potential gain could be.

About gains on Windows when generating less class files, I definitely saw some when I was using Windows some months ago, in the context of shapeless.Lazy (but didn't take the time to setup benchmarks then), like this guy did: https://gitter.im/milessabin/shapeless?at=55d304f8057d8c9d3a6ddf44.

For what it's worth, on OSX compiling 220K lines of code to dir vs. jar, I get 17.1 seconds spent in phase jvm when writing to a directory and 14.6 seconds writing to a jar. I/O being I/O and laptops being laptops this difference might be noise, but it feels about right.

yeah, but that's almost a real operating system.

TL;DR this is definitely worth looking at!
some test code and numbers (for 10,000 files on Windows 7):
[info] Running ClassVsJar
[info] Starting classfile test
[info] Creating classfiles took: 5.049 s
[info] Bonus statistic: deleting classfiles took 5.291 s
[info] Starting jar test
[info] Creating jar (compress = 9) took: 7.873 s
[info] Bonus statistic: deleting jar took 553.0 ?s
[info] Starting jar test
[info] Creating jar (compress = 8) took: 3.198 s
[info] Bonus statistic: deleting jar took 531.9 ?s
[info] Starting jar test
[info] Creating jar (compress = 7) took: 3.133 s
[info] Bonus statistic: deleting jar took 550.3 ?s
[info] Starting jar test
[info] Creating jar (compress = 6) took: 3.126 s
[info] Bonus statistic: deleting jar took 759.2 ?s
[info] Starting jar test
[info] Creating jar (compress = 5) took: 3.448 s
[info] Bonus statistic: deleting jar took 583.5 ?s
[info] Starting jar test
[info] Creating jar (compress = 4) took: 3.458 s
[info] Bonus statistic: deleting jar took 516.5 ?s
[info] Starting jar test
[info] Creating jar (compress = 3) took: 2.878 s
[info] Bonus statistic: deleting jar took 473.3 ?s
[info] Starting jar test
[info] Creating jar (compress = 2) took: 2.828 s
[info] Bonus statistic: deleting jar took 672.5 ?s
[info] Starting jar test
[info] Creating jar (compress = 1) took: 2.801 s
[info] Bonus statistic: deleting jar took 648.1 ?s
[info] Starting jar test
[info] Creating jar (compress = 0) took: 3.734 s
[info] Bonus statistic: deleting jar took 4.624 success

import java.io._
import java.util.jar._

import com.google.common.base.Stopwatch
import org.apache.commons.io.{ FileUtils, IOUtils }

object ClassVsJar extends App {

  val dir = new File("tmp-dir")
  dir.mkdirs()

  val jarFile = new File("tmp.jar")

  // factor out the cost of generating this
  val names = (1 to 10000).map(_.toString)

  // always write out this
  val contents = ("foobar" * 1000).getBytes

  try {
    println("Starting classfile test")
    val watch = Stopwatch.createStarted()

    names.foreach { name =>
      FileUtils.writeByteArrayToFile(new File(dir, name), contents)
    }

    println("Creating classfiles took: " + watch)
  } finally {
    val watch = Stopwatch.createStarted()
    FileUtils.deleteDirectory(dir)
    println("Bonus statistic: deleting classfiles took " + watch)
  }

  // there is some overhead to instantiating the machinery
  (9 to 0 by -1).foreach { level =>
    val jar = new JarOutputStream(new FileOutputStream(jarFile))
    jar.setLevel(level)
    try {
      println("Starting jar test")
      val watch = Stopwatch.createStarted()
      names.foreach { name =>

        // less restrictions on entry name length!
        val entry = new JarEntry(name)
        jar.putNextEntry(entry)

        IOUtils.copy(new ByteArrayInputStream(contents), jar)

        jar.closeEntry()
      }

      jar.close()

      println(s"Creating jar (compress = $level) took: " + watch)
    } finally {
      val watch = Stopwatch.createStarted()
      jarFile.delete()
      println("Bonus statistic: deleting jar took " + watch)
    }
  }
}

If DEFAULT_COMPRESSION is 6, then we're talking about 3.126s overhead for 10k files. That doesn't sound all that bad, unless you're doing it all the time.
If this is stemming from exportJars := true causing useless JAR making, which is being discussed in #2270, then caching of packageBin should be the direction we should explore.

I'm not really concerned about the overhead of the jar creation (although, yeah, probably we should use 1 for a quick win), but the overhead of the classfile creation is huge so this ticket is really about compiling straight into a jar and never writing out the intermediate .class files.

@soc

@eed3si9n you said this would involve a big refactor of zinc so unlikely until another major release (I'm guessing post-1.) but what about an sbt Task to compile straight to jar for a full module without using incremental compile? That might be really useful for situations where you have a clean checkout and want to just do a full compile. Or for CI jobs where there is no incremental compilation.

If you just want a full compilation task that might be doable.

:+1: I'm all about the tactical strike :grinning:

(important thing is to skip the creation/deletion of class files on Windows wherever possible)

I put together a plugin that should address this issue. See: https://github.com/typesafehub/sbt-tojar
The files should be available on Bintray shortly for initial testing; please note that it requires a not-yet-released 0.13.10-RC2 version of sbt.

Really nice work there..

great! I'll try to have a look shortly.


Unreal

The example in this description is just so unreal.  I really cannot imagine a real-life scenario like this example, "Add a handler", "Cause the Event", "Remove the handler", it's just too fake.  How about showing a real example, where the code adds a handler, and the handler is removed sometime later either in a different routine or even in the handler itself, maybe after the code adding the handler has been called multiple times, because that's often what happens in real code.

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

ID: 7771f230-ac9e-7310-e606-94bd9fc84f29
Version Independent ID: 728dfc67-f3e9-64ea-8a91-c6d72c8cc54f
Content: AddHandler Statement (Visual Basic)
Content Source: docs/visual-basic/language-reference/statements/addhandler-statement.md
Product: dotnet-visualbasic
GitHub Login: @KathleenDollard
Microsoft Alias: kdollard

As this is reference documentation to just see the AddHandler statement working, I think this is good enough to demonstrate that the handler code is called when you add it and if you remove the handler, it is not called.


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #3.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #3

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Develop: Pull request for sag-apama-correlator template and other resource change

Hi,
Can you please review the changes . Created the pull request from SasmitaA 'develop' branch to SoftwareAG 'master' branch..
Thanks,
Sasmita

This looks like not correct diff.  Will create a new one and closing it.


Removed space between  in AWS storage page

Ref issue #1891
Removed the space between [] (url) caused by the restriction of Goldmark renderer.
In https://www.kubeflow.org/docs/aws/storage/#amazon-fsx-for-lustre:

/assign @sarahmaddox

/lgtm

Thanks @Ark-kun !
/approve


Unable to create Custom Kubernetes Resources

Per this discussion https://github.com/Azure/bicep/discussions/10062 I am able to define a apiextensions.k8s.io/CustomResourceDefinition via the new kubernetes extension, but I am unable to create a resource of the new custom type.
This is a very cool feature and it would be nice if this were possible.
If it were possible for this to translate into new resource types dynamically, that would be incredible but I'd settle for a clean way to add my own extension which simply defined the custom resources for bicep's sake.

@alex-frankel reminded me of a simple workaround we can implement before we add the support for loading resource types dynamically from CRDs. If we fully qualify the CRD resource type with the kubernetes namespace, instead of generating an unrecognized resource type error, we can emit a warning instead, so that the Bicep file can be compiled. For example:
resource HelloWord 'kubernetes:example.com/Hello@v1' = { // warning: Unrecognized Kubernetes resource type.
  metadata: {
    name: 'hello-world'
  }
  spec: {
    name: 'World'
  }
}

That would be nice, would let me experiment

@justinmchase Bicep v17.1 was published, and you should be able to use CRD now.


use kebab case for models

closes #193

Some conflicts since BuildLog was added, rebase required though @bacongobbler

Do we wanna hold off on this until #198? I can rebase off master and PR if you wanna push that one through.

@bacongobbler nice to get this in before that one if we can

ok! I'll go ahead and rebase this.

rebased


Revert "Add examples for AQL string functions (#801)"

This reverts commit 92802b4f91ec87ddbcc10f50f84adea8e4f01c5a.

#801 PR requires changes in all supported versions, not just 3.7.

change already reverted, closing this PR.


Adding a new SimpleRow class

Adding new data structure, SimpleRow, for the issue https://github.com/GoogleCloudPlatform/cloud-bigtable-client/issues/1027

At this point, all we should have is SimpleRow that is just a SimpleRow.  It should not be referenced yet from RowMerger.  There could be a separate converter between SimpleRow and Row, but that conversion should not be in SimpleRow.
SimpleRow should have an ImmutableList, and probably a Builder that creates the list.  SimpleColumn should not have a Column.Builder, but rather a value, a timestamp and labels.
The performance improvement will come later, when we can use SimpleRow as a first class citizen instead of a Row.  Creating a Row costs 500 nanos per column, due to the ordering of RowMerger.FamilyBuilderManager.  SimpleRow will not be ordered, hence the performance boost we need.  The server returns sorted values anyway, and the HBase adapter does another round of ordering.  The ordering we do for Row is superflous most of the time, so the goal is to remove it.


feat: Universal stage

implements issue https://github.com/hoangmaihuy/mill-universal-packager/issues/2 .

Resolved #2


UI fixes

to

to

:tada: This PR is included in version 1.0.0-semantic-release.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cannot unzip caption_data.zip file

The provided caption_data.zip file is too large and the unzip failed.
Could you please help to provide a better way to process data files? Thanks!

Is there any downloading problem?

I think it may not be a network problem. I tried to download it twice and downloaded it completely, but it was unziped and reported an error. Can you provide a link to Google or Baidu network disk?发自我的 iPhone在 2023年1月11日，19:25，Junyang Lin @.***> 写道：
Is there any downloading problem?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Thank you for your advice, I used another computer and another network, successfully obtained a non-destructive compressed file, thank you.