Handle interactive kernel responses in output area

Executing inputs that don't immediately return a result (like invoking the help() functionality) require the output area to support handling input_request messages.
This is a general problem for both the notebook and the console. In order to see the problem manifest, at a console prompt, entering and executing the command help() will cause the kernel to pause while it waits for user input. The kernel will remain unusable from that point forward.
migrated from https://github.com/jupyter-attic/jupyter-js-notebook/issues/227

As another test, just do input('name: ') (on python 3) or raw_input('name: ') (python2).
Also, this is how %pdb works - requiring input.


Add developing instructions to README

Feedback encouraged! :)
I've tried to cover the important parts clearly and fairly concisely. Does it all make sense? Is there anything missing? Anything superfluous?

I think that's at a suitable level of detail!

Looks good :-)
One thing though, this documents how to build, etc ... but what next? I think the final step should be to direct them to the visual tests.
Thanks.

Ah - I see you'd already thought of this :-)  #305

Thanks @jleft


The TF provider does not create a brand new connection if the dbt Cloud project was deleted manually from the UI

Describe the bug
Because dbt Cloud does not do a cascade drop (i.e. project is deleted so delete the connection too) - the TF provider tries to connect a newly create project with the old connection object if a user so happen to delete the dbt Cloud project that they had previously created via TF.
Error message
There are no error messages because as far as the provider is concerned, things are working as expected.
Resource configuration
terraform {
  required_providers {
    dbtcloud = {
      source  = "dbt-labs/dbtcloud"
      version = "~> 0.3"
    }
  }
}

provider "dbtcloud" {
  host_url = "https://cloud.getdbt.com/api"
}

resource "dbtcloud_project" "my_project" {
  name = "Project Acme"
}

resource "dbtcloud_connection" "my_connection" {
  project_id = dbtcloud_project.my_project.id
  type       = "snowflake"
  name       = "Connection Acme"
  account    = "MY-ACCOUNT"
  database   = "MY_DATABASE"
  role       = "MY_ROLE"
  warehouse  = "MY_WAREHOUSE"
}

resource "dbtcloud_project_connection" "my_project_connection" {
  project_id    = dbtcloud_project.my_project.id
  connection_id = dbtcloud_connection.my_connection.connection_id
}

Expected behavior
Ideally we should check if the project that the previous connection is associated with is in a deleted state - and if so to create a brand new connection object instead of reusing the old connection object.
Config (please complete the following information):
2024-07-08T16:07:32.564+1200 [INFO]  Terraform version: 1.9.1
2024-07-08T16:07:32.564+1200 [INFO]  Go runtime version: go1.22.4
2024-07-08T16:07:32.564+1200 [INFO]  CLI args: []string{"terraform", "providers"}
2024-07-08T16:07:32.564+1200 [INFO]  CLI command args: []string{"providers"}

Providers required by configuration:
.
└── provider[registry.terraform.io/dbt-labs/dbtcloud] ~> 0.3

Providers required by state:

    provider[registry.terraform.io/dbt-labs/dbtcloud]

Additional context

Starting from a state where the dbt Cloud project/connection does not yet exist - create the project, connection and project-connection association via TF.

$ terraform apply -auto-approve
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # dbtcloud_connection.my_connection will be created
  + resource "dbtcloud_connection" "my_connection" {
      + account          = "MY-ACCOUNT"
      + adapter_id       = (known after apply)
      + allow_keep_alive = false
      + allow_sso        = false
      + connection_id    = (known after apply)
      + database         = "MY_DATABASE"
      + id               = (known after apply)
      + is_active        = true
      + name             = "Connection Acme"
      + project_id       = (known after apply)
      + role             = "MY_ROLE"
      + tunnel_enabled   = false
      + type             = "snowflake"
      + warehouse        = "MY_WAREHOUSE"
    }

  # dbtcloud_project.my_project will be created
  + resource "dbtcloud_project" "my_project" {
      + id   = (known after apply)
      + name = "Project Acme"
    }

  # dbtcloud_project_connection.my_project_connection will be created
  + resource "dbtcloud_project_connection" "my_project_connection" {
      + connection_id = (known after apply)
      + id            = (known after apply)
      + project_id    = (known after apply)
    }

Plan: 3 to add, 0 to change, 0 to destroy.
dbtcloud_project.my_project: Creating...
dbtcloud_project.my_project: Creation complete after 0s [id=373628]
dbtcloud_connection.my_connection: Creating...
dbtcloud_connection.my_connection: Creation complete after 1s [id=373628:205999]
dbtcloud_project_connection.my_project_connection: Creating...
dbtcloud_project_connection.my_project_connection: Creation complete after 1s [id=373628:1374391777200]

Apply complete! Resources: 3 added, 0 changed, 0 destroyed.

Check in dbt Cloud that project 373628 exist and is associated with connection 205999.

Delete the dbt Cloud project from the UI:

Back in TF land:

$ terraform apply -auto-approve
dbtcloud_project.my_project: Refreshing state... [id=373628]
dbtcloud_connection.my_connection: Refreshing state... [id=373628:205999]
dbtcloud_project_connection.my_project_connection: Refreshing state... [id=373628:1374391777200]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan:

  # dbtcloud_project.my_project has been deleted
  - resource "dbtcloud_project" "my_project" {
      - id                       = "373628" -> null
        name                     = "Project Acme"
        # (1 unchanged attribute hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place

Terraform will perform the following actions:

  # dbtcloud_connection.my_connection will be updated in-place
  ~ resource "dbtcloud_connection" "my_connection" {
        id                       = "373628:205999"
        name                     = "Connection Acme"
      ~ project_id               = 373628 -> (known after apply)
        # (18 unchanged attributes hidden)
    }

  # dbtcloud_project.my_project will be created
  + resource "dbtcloud_project" "my_project" {
      + id   = (known after apply)
      + name = "Project Acme"
    }

  # dbtcloud_project_connection.my_project_connection will be created
  + resource "dbtcloud_project_connection" "my_project_connection" {
      + connection_id = 205999
      + id            = (known after apply)
      + project_id    = (known after apply)
    }

Plan: 2 to add, 1 to change, 0 to destroy.
dbtcloud_project.my_project: Creating...
dbtcloud_project.my_project: Creation complete after 1s [id=373629]
dbtcloud_connection.my_connection: Modifying... [id=373628:205999]
dbtcloud_connection.my_connection: Modifications complete after 0s [id=373628:205999]
dbtcloud_project_connection.my_project_connection: Creating...
dbtcloud_project_connection.my_project_connection: Creation complete after 1s [id=373629:1374397972480]

Apply complete! Resources: 2 added, 1 changed, 0 destroyed.

A brand new dbt Cloud project has been created (id=373629) but the old connection (id=205999) is used and associated to this new project.

Check what's happening in dbt Cloud:

We're trying to do a GET on:
GET https://cloud.getdbt.com/api/v3/accounts/66847/projects/373629/connections/205999/

{
    "status": {
        "code": 404,
        "is_success": false,
        "user_message": "The requested resource was not found. Please check that you have the proper permissions. If you are seeing this in error, please contact support!",
        "developer_message": ""
    },
    "data": null
}

But connections in dbt Cloud aren't actually allowed to be associated with a different dbt Cloud project like this.
Ideally, we want to create a brand new connection here.
Workaround
Comment out all resources. Apply to have TF delete the previous connection. Uncomment all resources and apply again to create entirely brand new dbt Cloud project + connection.

Thanks @jeremyyeo for the report and the super detailed steps 🙌
The fix should be pretty easy.
We can enforce a connection to be replace by a new one (delete + create) instead of update when the project_id of a connection changes.
I will work on that.


Environment setting Question..

Hello, I'm a beginner with OpenMMLab.
I have cloned the MMEngine, MMPretrain, MMSegmentation, MMDetection, and MMRotate repositories and saved them into the MTP folder.
To install the correct version for my environment, should I use a pip command like pip install MMEngine==0.8.4? Or is there a way to set the version directly from within the repository? I'm curious to know.

@chartgod you can refer to this: https://mmsegmentation.readthedocs.io/en/latest/get_started.html


Bonfire: Make a Person Description and Tests

In the description there is a term called arity that is labeled as obsolete at MDN. If the term is obsolete and deprecated wouldn't it be better to take it off?
Furthermore in the tests you have the methods duplicated, whereas it should be like this:

expect(bob.getFirstName()).to.eql('Bob');
expect(bob.getLastName()).to.eql('Ross');
expect(bob.getFullName()).to.eql('Bob Ross');
expect(bob.getFirstName()).to.eql('Happy'); -> should be bob.setFirstName()).to.eql('Happy');
expect(bob.getLastName()).to.eql('Trees'); -> should be bob.setLastName()).to.eql('Happy');
expect(bob.getFullName()).to.eql('George Carlin'); -> should be bob.setFullName()).to.eql('Happy');

Thanks!! ;)

The term arity is used but does not refer to Function.arity which is a deprecated property of a function.
See arity
Happy Coding

Hi,
Thank you Berkeley!!
I still think it can confuse other campers as I was. What about attaching this link or a better source to the bonfire? Or simply writing "All functions that take an argument have an arity**(number of arguments give to a function)** of 1, and the argument will be a string."
I think is really important to know the terms but as it is the user can 1- ignore it (thus not learning), 2 - go easily to wrong sources (like I did, which is even worse).
Have you read about the tests methods names? Should they be get... or set...(as it is in the description)?
Thanks!! ;)


Evaluate current segment and retain focus

Often I'm working in a segment and want to evaluate what I have so far. This without having to reacquire focus to continue working on the segment. Maybe we could make "cntrl+shift+enter" do this?

Great idea! That would be a good feature I think.

This should be fixed in the latest version here: https://github.com/JonyEpsilon/gorilla-repl/commit/24e0d4075b66cc451f7c9f968f0c1dda9f4e34f6
ctrl-enter on Mac, alt-enter elsewhere


Collapsing did not show screen bottom and did not scroll top

when i collapsed and navigate another fragment and back that one collapsing is hide screen bottom and did not scroll to top, i can not show scren bottom when i expandend collopsingtoolbar.

#37


Java.lang.NoClassDefFoundError while setting up the source code

I am trying to set up https://github.com/derjust/spring-data-dynamodb  in my local machine. I am just trying to creating a simple CRUD repository and I am not able to complete to do so.
I am getting issues when i follow the steps defined. Most annoyingly is i am getting Java.lang.NoClassDefFoundError and one more thing is i am not able to figure out where is the configuration details like : URL, port, aws access key and aws  secret key).
Please help me

I am using Spring Boot 2.4.4 and spring-data-dynamodb 5.1.0


Remove everything icy related to make Clij3 compile

HEllo @StRigaud this branch removes everything Icy related from clesperanto, which is now in a separate branch (https://github.com/clEsperanto/clesperantoj_prototype/tree/icy-backup).
I have tried pulling your branch from clij3 and doing mvn clean install and now it works.
There are only a couple of changes needed on the clij3 pom.xml:

update the clesperantoj dependency name and version from clesperantoj_ to clesperantoj and from <IP_ADDRESS> to 0.0.1-SNAPSHOT
https://github.com/clEsperanto/clij3/blob/5fb98096f25a3e5c53a1a7f6d7baabef2aff6f0a/pom.xml#L128

remove the creator tag from the role node as it is not supported by scijava, maybe something like founder or owner exists.
https://github.com/clEsperanto/clij3/blob/5fb98096f25a3e5c53a1a7f6d7baabef2aff6f0a/pom.xml#L41
https://github.com/clEsperanto/clij3/blob/5fb98096f25a3e5c53a1a7f6d7baabef2aff6f0a/pom.xml#L53

Also, in order to make the YEtAnotherPlayground2.java work, we need to add the version to the ImgLib2 dependency.-
Currently there is no version, as it overrides the one from he scijava pom (6.3.0), but clesperanto needs version 7.0.2
https://github.com/clEsperanto/clesperantoj_prototype/blob/3b7ff0df9a08100630a05770d76c14b7f5015da5/pom.xml#L154
I hope this is works with clij3 for you too!

The error seesm related to a memory limitation of the hosted runners. I have added a line in the pom.xml that allows the process to use more memory but maybe what we could do is to test for less versions of java. Currently we tests for 8, 11, 17 and 21. With 8 and 17 we could be fine, or even 8, 17 and 21


Consider replacing custom collections with Embedded Template Library

There are so many edge cases when implementing collections that should handle non-trivial element types. ETL is pretty mature and has already done the hard part.

Yes, I'm aware of etl and I think is good idea to use it, instead of custom collections. Additional benefit is support for some standard stl features (type traits etc).

You can use ETL or standard collections.
All custom collections are removed from CML.


Add support for direct IP or hostname

Uses a simple regex match to detect if an IP address is directly provided else it falls back to hostname resolution
Currently only support IPv4 as IPv6 detection is quite a bit more difficult
PS thanks for the awesome script :)

Actually closing this to reopen so I can edit the readme without impacting my main.


Use user language as default language to download subtitles example ENV['lang']

I'm working on it :smile:

Great!

Do you think that worth work on that? For example, I use my computer in english, but when watching movies, I would like to grab my subtitles in pob(brazilian portuguese).

I am the opposite of you. My pc is set to pt-br but I rather use English
subtitles lol. I only use pob when my wife is around.

I think the priority is support for Plex media center. Since it is very
well known. Many people are using it including myself. Which one do you
use? Do you stream movies to TV?
“O rio atinge seus objetivos porque aprendeu a contornar obstáculos.”
Lao-Tsé (século VI a. C.), filósofo e aforista chinês.
Tentado fazer alguma diferença
http://evandro.org/reagindo/ http://evandro.org/reagindo/
Voz, Telegram & WhatsApp: (71) 98888-0635 (Oi)
Voz apenas: (71) 98623-0017 (Vivo)
2016-05-19 17:46 GMT-03:00 Marcelo Barreto<EMAIL_ADDRESS>
Do you think that worth work on that? For example, I use my computer in
english, but when watching movies, I would like to grab my subtitles in
pob(brazilian portuguese).
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/evandrojr/layback/issues/1#issuecomment-220442966

I've used PS3 media server once.


Theming v2

This currently adds a (completely detached) ThemeProvider component and removes theme.update. (as per @gaearon's suggestion)
Discuss!

Inlined the react-broadcast implementation, manually verified it works in simple cases.
Right now it's still <ThemeProvider theme={{ bla: 'black' }} /> and ${props => props.theme}, but this is already much, much nicer than props.theme.update. What do we think about a separate themed(mapThemeToProps)(StyledComp) react-redux-style HoC?

I'm ok if we wanna make themed(obj)(Component) available but I would prefer the default method is something that can move around your render tree a bit more easily. Remember, theming isn't just for site-wide changes, it's wherever you want a component to change its rendering. I.e.
import { Base, Inverted } from "../themes" // both <ThemeProvider> components
import Header "./components/Header"
import Body from "./components/Body"

export default () => (
 <Base>
    <Inverted>
      <Header/>
    </Inverted>
    <main>
      <Body/>
    </main>
  </Base>
)

This way Base and Inverted can move around your document. Remember, react-redux is doing context => props whereas we're doing props => context so the themed(obj)(Component) has very little to do with Component. Still, I can imagine a file like:
import { base, inverted } from "../themes" // both objects
const Component = //...

export const BaseComponent = themed(base)(Component)
export const InvertedComponent = themed(inverted)(Component)

But that seems to be missing the point somewhat.

I used the implicit props.theme and it's quite nice, and the documentation . (also updated the documentation, see the recent changes in #34)

I used the implicit props.theme and it's quite a nice DX! The API and thus the documentation is also a lot less confusing this way. (to see the updated documentation, check the recent changes in #34)
I added unit tests and e2e tests for the ThemeProvider component and tested it a bit in a real project and it works as expect. I haven't yet been able to test the native implementation since that doesn't work with npm link (😕) so please test that before merging, but other than that this should be good to go!


added solution to day2 problems

my solution to the day2 problems

Please provide your full name, email and any social media profile(facebook, twitter, github etc.) in the comments on top of your solution files. That way people can know who you are.

Sorry buddy. Someone already provided the solution. Try to fix your solutions more quickly next time.


WPA/WPA2 supported but none-functional

hashcat supports WPA/WPA2 cracking, however the file must be converted, into a binary format for cracking, making it impossible to upload binary blob into the text based hash input box. If WPA/WPA2 cracking is to be supported, a file uploaded option should be used to allow for the hccap file to be properly submitted.

Another vote for this.

yes please

agree with that,
also john the ripper support wpa and wpa2

So I have two notes for this. First the newest build that I will hopefully push to the packages today removes WPA/WPA2 from our list for oclHashcat. This is because it requires us to be able to upload files, which we have not done yet. The good news is we are going to do this for milestone 1.1. This will not only be helpful for WPA/WPA2 but also for large hash files and I believe stuff like the KeePass and TrueCrypt options.

Ok so there is a possible workaround currently, that I threw into my local installation. Manually base64 encoding the .hccap file contents, submitting it via the UI and programmatically decoding that data prior to passing to hashcat works fine.
I won't issue a pull request seeing as it's clearly a hackaround and the upstream fixes would be more permanent, such as the use of a file upload function to take the hashes that way.
File to modify: hashcat-tasker.go and algorithms.go
Within algorithms.go, uncomment the WPA/WPA2 hashtype to re-enable it.
Within hashcat-tasker.go:
Added the required base64 includes.
import (
         "encoding/base64"

Added a function:
func decodeHccap(encoded string, err error) (string, error){
        decoded, _ := base64.StdEncoding.DecodeString(encoded)
        return string(decoded), err
}

There is this if statement, to identify the hashtype (around line 154):
    if !ok {
                log.WithFields(log.Fields{
                        "algoritm": htype,
                        "err":      ok,
                }).Error("Could not find the algorithm provided")
                return &hascatTasker{}, errors.New("Could not find the algorithm provided.")
        }

Immediatly after this, and before the os.Create(), I have added the below code:
    var decoded string
    if htype == "2500" {
                decoded, err = decodeHccap(h.job.Parameters["hashes"], err)
                h.job.Parameters["hashes"] = decoded
                }

Not pretty, but just a temporary solution.

This should now work in the hashcat 3 plugin. You will need to build from
source to test.
On Oct 19, 2016 12:12 AM, "dr0v3r"<EMAIL_ADDRESS>wrote:

Ok so there is a possible workaround currently, that I threw into my local
installation. Manually base64 encoding the .hccap file contents, submitting
it via the UI and programmatically decoding that data prior to passing to
hashcat works fine.
I won't issue a pull request seeing as it's clearly a hackaround and the
upstream fixes would be more permanent, such as the use of a file upload
function to take the hashes that way.
File to modify: hashcat-tasker.go and algorithms.go
Within algorithms.go, uncomment the WPA/WPA2 hashtype to re-enable it.
Within hashcat-tasker.go:
Added the required base64 includes.
import (
"encoding/base64"
Added a function:
func decodeHccap(encoded string, err error) (string, error){
decoded, _ := base64.StdEncoding.DecodeString(encoded)
return string(decoded), err
}
There is this if statement, to identify the hashtype (around line 154):
if !ok {
            log.WithFields(log.Fields{
                    "algoritm": htype,
                    "err":      ok,
            }).Error("Could not find the algorithm provided")
            return &hascatTasker{}, errors.New("Could not find the algorithm provided.")
    }

Immediatly after this, and before the os.Create(), I have added the below
code:
var decoded string
if htype == "2500" {
            decoded, err = decodeHccap(h.job.Parameters["hashes"], err)
            h.job.Parameters["hashes"] = decoded
            }

Not pretty, but just a temporary solution.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jmmcatee/cracklord/issues/89#issuecomment-254705919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoUHDAMKZiTFo8HwGz2XVM4nCQivzLtks5q1ZivgaJpZM4GGgAu
.


bug: proxy timeout

Did you check docs and existing issues?

[X] I have read all the lazy docs
[X] I have searched the existing issues of lazy
[X] I have searched the exsiting issues of the plugin I have a problem with

Neovim version (nvim -v)
v0.9.0-dev-3dadd3aca
Operating system/version
MacOS 12.6.2
Describe the bug
When a proxy is set and it can't be reached the cloning of plugins on startup will hang for whatever the git timeout value is set to before failing. There is no way to cancel the operation or exit nvim until the timeout occurs.
Steps To Reproduce

Set a proxy server that needs to also be reached through a VPN server
Attempt to install plugins while not connected to the VPN

Expected Behavior
A q mapping to cancel the clone prior to the timeout.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

This is too specific. Won't add anything special for that.

Why I ran into this is specific but there could be other reasons that would cause a clone to hang. Requiring waiting for the timeout with no option to cancel seems silly.

You can just lower the timeout

<c-c> might also work

<c-c> or any other keys I've tried don't work. I'm just stuck on the lazy window with no option to escape which seems wrong to me. If I want to abort I think there should be an option for that. That being said, I can probably find a lower timeout value that makes it bearable.

You can now press <c-c> in the ui to abort running tasks

Thanks! Works great.


Add the --custom_folders flag, for a simple output folder structure

This is the new (and hopefully final) version of #263 (which in turn was an updated version of #205).
It adds a new CLI flag for a simple output folder structure.
cc. @kolibril13 as original author of #263, @Aathish04 to make sure that the tests/test_cli/write_cfg_sbcmd_input.txt file is correct.

beautiful!

Question : What do you do about the partial_movie_files directory ? Is this handled by this feature ? Should it be so ?

Running manim with --custom_folders produces the following:
$ tree videos/
videos/
├── partial_movie_files
│   └── SquareToCircle
│       ├── 64312035_1747632172_2309311093.mp4
│       ├── 64312035_2029356787_1967400649.mp4
│       ├── 64312035_665488556_2309311093.mp4
│       └── partial_movie_file_list.txt
├── SquareToCircle.mp4
└── temp_files

I think I should probably put it inside temp-files as well.... @kolibril13 ?

Yes, the folder partial_movie_files into temp_files sounds very good to me!

Done!


Can't generate images: AssertionError: Expected # of conds per batch to be constant across batches

I get the above as an error when trying to generate images seemingly at random. A prompt and settings work fine for multiple generations, until I start getting that error whenever trying to use the plugin, regardless of any settings I change

Can you post more information? Full logs from running, screenshots of your UI setup when it happens, does this happen without dynamic thresholding?


Fix ASP.NET link at root hub of microsoft.docs

Fix the link to ASP.NET so it does not include the version as it does right now.  It links to 6.0 content rather than just the latest by not providing a version.

PR  Remove hard code version from ASP.NET link by wadepickett · Pull Request #1395 · MicrosoftDocs/DocsRoot (github.com)

Fixed by MicrosoftDocs/DocsRoot#1395


UpdateDOCS.md

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Additional information

Content

--
Enviado desde la aplicación Outlook Email App para Android martes, 25 mayo 2021, 03:08a. m. +02:00 de docubot  @.*** :

This issue appears to have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in  discussions !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,  view it on GitHub , or  unsubscribe .


Convert Clock to 12HR

Requested by a discord user. and better overall. Aligning with the clock in the history tab.

It would probably be better to set an option to switch this, else there will be another user requesting the 24hr version because they don't like 12hr.

I agree with CD-Z's comment. Ideally, there should be an option to change it. Changing it for everyone might result in someone requesting a reversal, as it could affect users who are accustomed to the current behavior.

Well then. I'll have to close this PR. I'm not too familiar with the project to add that.


Snapshot: add public type + refactors

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This PR makes changes to the CRUD operations for various models and their corresponding routers.
The changes include:

Renaming ``Updateclasses toUpdateRequest` classes for the following models:

``Agent`
AgentToolMetadata
``Conversation`
File
``Message`

Adding validate_transaction decorator to CRUD functions for the following models:

``Blacklist`
``Citation`
``Conversation`
``Document`
``File`
``Message`

Adding user_id` and organization_id fields to the ``AgentPublic class in src/backend/schemas/agent.py
Adding user_id` and organization_id fields to the ``ConversationPublic class in src/backend/schemas/conversation.py
Adding user_id` field to the FilePublicclass insrc/backend/schemas/file.py`
Adding user_id` and organization_id fields to the ``SnapshotPublic class in src/backend/schemas/snapshot.py
Adding user_id` field to the SnapshotLinkPublicclass insrc/backend/schemas/snapshot.py`
Adding validate_conversation` and validate_filefunctions insrc/backend/services/conversation.pyandsrc/backend/services/file.py` respectively, for validating if a conversation or file exists and belongs to the user
Renaming Create` and Updateclasses toCreateRequestandUpdateRequestclasses for the following models in thesrc/backend/schemas/snapshot.py`:

``Snapshot`
``SnapshotLink`

Adding DeleteSnapshotLinkResponse` and DeleteSnapshotResponseclasses insrc/backend/schemas/snapshot.py`
Renaming DeleteConversation`, GenerateTitle, and ``UpdateConversation classes to DeleteConversationResponse`, GenerateTitleResponse, and ``UpdateConversationRequest respectively, in ``src/backend/schemas/conversation.py`
Renaming DeleteFile`, UpdateFile, and ``UploadFile classes to DeleteFileResponse`, UpdateFileRequest, and ``UploadFileResponse respectively, in ``src/backend/schemas/file.py`
Renaming CreateAgent`, CreateAgentToolMetadata, ``UpdateAgent, and UpdateAgentToolMetadata` classes to CreateAgentRequest, ``CreateAgentToolMetadataRequest, UpdateAgentRequest`, and UpdateAgentToolMetadataRequestrespectively, insrc/backend/schemas/agent.py`
Adding filter_conversations`, generate_conversation_title, and ``get_documents_to_rerank functions in src/backend/services/conversation.py

Codecov Report
Attention: Patch coverage is 91.89189% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.62%. Comparing base (540ce78) to head (66f08f5).
Report is 5 commits behind head on main.

Files
Patch %
Lines

src/backend/routers/agent.py
75.00%
2 Missing :warning:

src/backend/routers/snapshot.py
88.88%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #442      +/-   ##
==========================================
+ Coverage   81.45%   81.62%   +0.17%
==========================================
  Files         198      198
  Lines        8239     8307      +68
==========================================
+ Hits         6711     6781      +70
+ Misses       1528     1526       -2

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


dlopen + dlsym / FFI / native modules (ability to dynamically load symbols and call exported functions from .so / .dylib / .dll)

Like this: https://github.com/node-ffi-napi/ref-napi https://github.com/node-ffi-napi/node-ffi-napi

Rust has ffi system which you can use, it is not specific to Tauri though, however if you want to ship some .dll/.so/.dylib with your app, you can add them as resources here https://tauri.studio/en/docs/api/config#tauri.bundle.resources.

Wouldn’t it be wise to develop some kind of FFI interop so end users are abstracted away from having to dive into Rust? For example, Electron has the ffi packages I listed

It is not specific to electron but to NodeJS in genereal.
Anyhow, providing ffi system in the webview is a huge security issue and probably near-impossible to implement. It is easier to use rust ffi tbh and more robust.
In the future we plan to support deno, NodeJS, c++, python and many more as the backend instead of rust to make it easier for people that aren't familiar with rust but it will be a while before we start working on that.

I absolutely agree with amr: direct FFI interop from the webview is totally unwise, unsafe, and virtually irresponsible. We provide a complete message passing system and API so most use cases won't have to even need to touch rust.  The big thing that most FFI users forget, is that you have to trust that the C authors (or whatever lang) did a perfect job of managing memory and packaging their lib. FFI is by nature unsafe, because the host has to trust the foreign functions. In security contexts this is untenebale, and tts why fuzzing is such a huge thing in non rust libraries. But put an FFI in a JS context? That's a big nope.


Datagrid Select All does not respect clrDgItem when using deep property

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior

Using the "Select All" checkbox in datagrid selection should respect what's given in [clrDgItem].
Actual behavior

When using a deep property, checking the Select All checkbox will instead add the root model instead of the property values.
Reproduction of behavior

https://stackblitz.com/edit/clarity-light-theme-v11-mqrnvp

Given a model, myModel, and [clrDgItem]="myModel.myProperty" when checking the Select All checkbox, the individual rows will not show as checked, and myModel will be added to the clrDgSelected array instead of myModel.myProperty
Environment details

Angular version: 5.2.10

Clarity version: 0.11.9

OS and version: Windows 10

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

As indicated in the issue template, please provide a running example of your issue on StackBlitz or Plunker so we can investigate. Thank you.

Updated original post

@gssjr Using *ngFor instead of *clrDgItems will get it working the way you expect, though you may lose some functionality you're getting with the smart iterator.
ngAfterContentInit() {
    this._subscriptions.push(
      this.rows.changes.subscribe(() => {
        if (!this.items.smart) {
          this.items.all = this.rows.map((row: ClrDatagridRow) => row.item);
        }
      })
    );
    if (!this.items.smart) {
      this.items.all = this.rows.map((row: ClrDatagridRow) => row.item);
    }

I believe this is the case because ln 185 through 195 in datagrid.ts (code block above) runs if *ngFor is used instead of *clrDgItem.  If this logic doesn't run this.rows references the value in the array, rather than the value set as part of [clrDgItem]
https://stackblitz.com/edit/clarity-light-theme-v11-vffdrv is a fork of your example with the *ngFor swapped in.

The suggested workaround of @mviger works, unfortunately pagination does not work when *ngFor is used.
The only way to get this working is creating variable Object = Object in the component.ts and using the old fashioned way *clrDgItem="let key of Object.keys(items). Displaying data using items[key].name etc...

<clr-datagrid [clrDgSelected]="selected">
    <clr-dg-column>Id</clr-dg-column>
    <clr-dg-column>Name</clr-dg-column>
    <clr-dg-column>Surname</clr-dg-column>
    <clr-dg-row *clrDgItems="let key of Object.keys(items);" [clrDgItem]="key">
        <clr-dg-cell>{{items[key].id}}</clr-dg-cell>
        <clr-dg-cell>{{items[key].name}}</clr-dg-cell>
        <clr-dg-cell>{{items[key].surname}}</clr-dg-cell>
    </clr-dg-row>
    <clr-dg-footer>{{items.length}} users</clr-dg-footer>
</clr-datagrid>

Stackblitz with working example:
https://stackblitz.com/edit/angular-63agbr
Stackbliz with 'all' checkbox not working:
https://stackblitz.com/edit/angular-yxypkc

There is a workaround available for this issue, and we recommend using it for Clarity Angular. As we build Clarity Core implementations, we expect that this issue won’t be an issue or will be configurable on the application side. To help us clean up our backlog, we are going to close this with a functional workaround available and suggest you follow updates for Clarity Core for enhancements that can support your use case with Clarity Core components.

There is a workaround available for this issue, and we recommend using it for Clarity Angular. As we build Clarity Core implementations, we expect that this issue won’t be an issue or will be configurable on the application side. To help us clean up our backlog, we are going to close this with a functional workaround available and suggest you follow updates for Clarity Core for enhancements that can support your use case with Clarity Core components.


JSON spawnrate config files

All mobs need to be converted over to using json spawnrate config files (currently only the warpbeetle has been converted)
After that I have to do some general cleanup (removing old config stuff)

I implore anyone else to port the spawnrates for each mob from MobEvents to JSON files. Once all mobs have been ported I will finish off this PR by doing some code cleanup (removing old mob spawnrate code)

Blindsights don't seem to be spawning, please fix this.


Automator: Update dependencies in istio-ecosystem/sail-operator@main

Generated by Automator - 2024-04-22T23:00:34+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test lint

e2e-kind_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test e2e-kind

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test lint

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test e2e-kind

lint_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test e2e-kind

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

e2e-kind_sail-operator_main
d0d0dc2748a90b9c7525de1c4a533deb45c08085
link
true
/test e2e-kind

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Needs an update since the istio/istio master branch now is set to 1.23 after yesterday's branch cut:
  [FAILED] Unexpected istiod version
  Expected
      <string>: 1.23-alpha
  to equal
      <string>: 1.22-alpha
  In [It] at: /home/prow/go/src/github.com/istio-ecosystem/sail-operator/tests/e2e/controlplane/control_plane_test.go:206 @ 04/23/24 09:41:05.804

  There were additional failures detected.  To view them in detail run ginkgo -vv

Looks like https://github.com/istio-ecosystem/sail-operator/pull/72 might fix it.


[#issue] Packet Immutability enhancement

Codecov Report

Merging #3843 into master will decrease coverage by <.01%.
The diff coverage is 77.41%.

@@            Coverage Diff             @@
##           master    #3843      +/-   ##
==========================================
- Coverage   40.94%   40.94%   -0.01%
==========================================
  Files        2187     2187
  Lines       71067    71057      -10
  Branches     9759     9760       +1
==========================================
- Hits        29100    29094       -6
+ Misses      39203    39200       -3
+ Partials     2764     2763       -1

Impacted Files
Coverage Δ

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.51% <100%> (+0.07%)
:arrow_up:

.../navercorp/pinpoint/rpc/packet/ResponsePacket.java
75.75% <100%> (-1.17%)
:arrow_down:

...m/navercorp/pinpoint/rpc/packet/RequestPacket.java
75.75% <100%> (-1.17%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
71.38% <53.84%> (-1.02%)
:arrow_down:

.../navercorp/pinpoint/rpc/client/RequestManager.java
71.01% <90.9%> (-0.82%)
:arrow_down:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
57.14% <0%> (-8.58%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
70.68% <0%> (-1.73%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

.../thrift/io/ChunkHeaderBufferedTBaseSerializer.java
45.28% <0%> (+0.94%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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


Add: plus_one

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #78   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          26     27    +1
  Lines         294    304   +10
=====================================
+ Hits          294    304   +10

Impacted Files
Coverage Δ

problems/plus-one/plus_one.go
100% <100%> (ø)

Continue to review full report at Codecov.

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


Implement radix tree

Change summary:

Implement radix tree (w/ radix node)
Add isHexString(), toHexString() util functions

Todos:

Implement proof hash methods
Integrate with StateNode (state-node.js)

Related issues: https://github.com/ainblockchain/ain-blockchain/issues/519

All comments addressed, PTAL~ @liayoo

Thanks for the updates! Looks good! 👍 I just have one more question about the design - how do the radix trees fit in with StateManager? Will it be changed to manage radix trees instead of state node trees?

Thanks for the updates! Looks good! 👍 I just have one more question about the design - how do the radix trees fit in with StateManager? Will it be changed to manage radix trees instead of state node trees?

My idea is to replace StateNode.childMap with RadixTree (this is why RadixTree has 1-to-1 mapped APIs with Map()) as described in AIP-025, so each state node will have one instance of RadixTree, which means they won't be managed in a center (and they have nothing to do with state versions, which is managed by StateManager - I have a plan to give a new name StateVersionManager).

Thanks for the updates! Looks good! 👍 I just have one more question about the design - how do the radix trees fit in with StateManager? Will it be changed to manage radix trees instead of state node trees?

My idea is to replace StateNode.childMap with RadixTree (this is why RadixTree has 1-to-1 mapped APIs with Map()) as described in AIP-025, so each state node will have one instance of RadixTree, which means they won't be managed in a center (and they have nothing to do with state versions, which is managed by StateManager - I have a plan to give a new name StateVersionManager).

Ah, now I get it! That's brilliant. Thanks for the explanation!


rm_broken_tests is not able to extract test method body

Hi @rjust ,
After (literally) millions executions of rm_broken_tests.pl script, I found a test case to which rm_broken_tests.pl is not able to extract the test method body.
Here how to reproduce the issue:
Test Suite - Chart-10f-evosuite.0.zip
$ mkdir /tmp/rm_broken_tests_issue

# Get D4J
$ cd /tmp/rm_broken_tests_issue
$ git clone https://github.com/rjust/defects4j.git
$ cd defects4j
$ git checkout java-8-support
$ ./init.sh
$ export D4J_HOME=$(pwd)

# Get test suite
$ cd /tmp/rm_broken_tests_issue
# sorry, github does not allow .tar.bz2 files
$ wget https://github.com/rjust/defects4j/files/1155823/Chart-10f-evosuite.0.zip
$ unzip Chart-10f-evosuite.0.zip
$ tar -jcf Chart-10f-evosuite.0.tar.bz2 org/jfree/chart/imagemap/StandardToolTipTagFragmentGenerator_ESTest_0.java org/jfree/chart/imagemap/StandardToolTipTagFragmentGenerator_ESTest_scaffolding.java

# Run fix test suite script
$ "$D4J_HOME/framework/util/fix_test_suite.pl" -p Chart -d /tmp/rm_broken_tests_issue -v 10f
--------------------------------------------------------------------------------
Chart-10f-evosuite.0.tar.bz2
--------------------------------------------------------------------------------
Check out 1065 to /tmp/fix_test_suite.pl_30002_1500381728.................. OK
Init local repository...................................................... OK
Tag post-fix revision...................................................... OK
Apply patch................................................................ OK
Run post-checkout hook..................................................... OK
Initialize fixed program version........................................... OK
Apply patch................................................................ OK
Initialize buggy program version........................................... OK
Diff 1065:1064............................................................. OK
Apply patch................................................................ OK
Tag pre-fix revision....................................................... OK
Check out program version: Chart-10f....................................... OK
Extract test suite......................................................... OK
Running ant (compile.gen.tests)............................................ OK
Running ant (run.gen.tests)................................................ OK
Could not extract method body at /tmp/rm_broken_tests_issue/defects4j/framework/util/rm_broken_tests.pl line 239.
Cannot remove broken test method at /tmp/rm_broken_tests_issue/defects4j/framework/util/fix_test_suite.pl line 301.

It seems that the code to remove all comments as they may contain unbalanced delimiters or brackets is not working for this particular test case:
/*18.*/  @Test(timeout = 4000)
/*19.*/  public void test0()  throws Throwable  {
/*20.*/      StandardToolTipTagFragmentGenerator standardToolTipTagFragmentGenerator0 = new StandardToolTipTagFragmentGenerator();
/*21.*/      standardToolTipTagFragmentGenerator0.generateToolTipFragment("`{J*d");
/*22.*/      String string0 = standardToolTipTagFragmentGenerator0.generateToolTipFragment(" title=\"");
/*23.*/      assertEquals(" title=\" title=\"\" alt=\"\"", string0); // (Primitive) Original Value:  title=" title="" alt="" | Regression Value:  title=" title="" alt=""
/*24.*/
/*25.*/      standardToolTipTagFragmentGenerator0.generateToolTipFragment("");
/*26.*/      String string1 = standardToolTipTagFragmentGenerator0.generateToolTipFragment(" title=\"\" alt=\"\"");
/*27.*/      assertEquals(" title=\" title=\"\" alt=\"\"\" alt=\"\"", string1); // (Primitive) Original Value:  title=" title="" alt=""" alt="" | Regression Value:  title=" title="" alt=""" alt=""
/*28.*/  }

If I manually remove the comment of line 23, fix_test_suite/rm_broken_tests works just fine.
@rjust, any chance you could have a look?
--
Thanks,
Jose

Hi @jose,
Thanks for the bug report.
The regex used to remove line comments does only capture line comments with preceding whitespace characters, which is too strict in this case. I'll push a fix.
Thanks,
René

Hi there,
I'm having a problem with fixing my test suite. Here is my test suite that need to be fixed.
Csv-3f-randoop.30.zip
Running the 'fix_test_suite.pl' gives a bug similar to the one reported here:
Remove uncompilable test method(s)......................................... Use of uninitialized value $class:: in concatenation (.) or string at /home/islam/MyWork/Code/defects4j/framework/util/rm_broken_tests.pl line 252.
**Could not extract method body for test00964** at /home/islam/MyWork/Code/defects4j/framework/**util/rm_broken_tests.pl line 252.**

I can solve this by manually removing the method causing the problem (test00964 in this case). Rerunning the fix_test_suite.pl script can now fix the test suite. However, this is happening a lot in other test suites, which I think there is a bug in the "rm_broken_tests.pl".
I hope this can be fixed, or report me a better way to solving it.
Thanks and best,
Islam

Hi @islamelgendy,
It seems you're not using the latest D4J version, as your error message points to an empty line. Any chance you could (1) upgrade your D4J installation to the latest version and (2) re-run the fix_test_suite.pl script?
--
Best,
Jose


Extend deinit barriers to handle conversion to strong reference.

Plug a hole in the semantics of deinitialization barriers.
Adds strong_copy_(unowned|unmanaged)_value to mayLoadWeakOrUnowned.
Deinitialization barriers includes loads from weak references.
Converting an unowned or unmanaged reference to a strong reference
is the moral equivalent.
Fixes rdar://90909833 (Extend deinit barriers to handle conversion to
strong reference)

@swift-ci test


source_id registration of INM-CM5-0

model description is complete

label = INMCM50
label_extended = INMCM50
source_id = INMCM50
institution_id = INM
release_year = 2016
activity_participation = [CMIP]
aerosol:
description = INMAER1
nominal_resolution = 150km
atmos:
description = INMAM50 (2x1.5, 180x120 longitude/latitude; 73 levels; top level sigma=0.0002)
nominal_resolution = 150 km
atmosChem:
description = none
nominal_resolution = none
land:
description = INMLND1
nominal_resolution = 150 km
landIce:
description = none
nominal_resolution = none
ocean:
description = INMOM5 (North Pole shifted to 60N, 90E. 0.5x0.25; 720 x 720 longitude/latitude; 40 levels; vertical sigma coordinate)
nominal_resolution = 40 km
ocnBgchem:
description = none
nominal_resolution = none
seaIce:
description = INMICE1
nominal_resolution = 40km

@volodin1 our currently registered model names are:
[u'ACCESS-1-0',
 u'AWI-CM-1-0-HR',
 u'AWI-CM-1-0-LR',
 u'AWI-CM-1-0-MR',
 u'BESM-2-7',
 u'BNU-ESM-1-1',
 u'CAMS_CSM1-0',
 u'CIESM',
 u'CMCC-CM2-HR4',
 u'CMCC-CM2-HR5',
 u'CMCC-CM2-SR5',
 u'CMCC-CM2-VHR4',
 u'CMCC-ESM2-HR5',
 u'CMCC-ESM2-SR5',
 u'CNRM-CM6-1',
 u'CNRM-CM6-1-HR',
 u'CNRM-ESM2-1',
 u'CNRM-ESM2-1-HR',
 u'CanESM5',
 u'EC-Earth3',
 u'EC-Earth3-AerChem',
 u'EC-Earth3-CC',
 u'EC-Earth3-GrIS',
 u'EC-Earth3-HR',
 u'EC-Earth3-LR',
 u'EC-Earth3-Veg',
 u'EC-Earth3-Veg-LR',
 u'EMAC-2-53-AerChem',
 u'EMAC-2-53-Vol',
 u'GFDL-AM4',
 u'GFDL-CM4',
 u'GFDL-ESM4',
 u'GISS-E2-1G',
 u'GISS-E2-1H',
 u'HadGEM3-GC31-HH',
 u'HadGEM3-GC31-HM',
 u'HadGEM3-GC31-LL',
 u'HadGEM3-GC31-MM',
 u'IITM-ESM',
 u'MIROC-ES2H',
 u'MIROC-ES2L',
 u'MIROC6',
 u'MPIESM-1-2-HR',
 u'MPIESM-1-2-LR',
 u'MPIESM-2-LR',
 u'MRI-ESM2-0',
 u'NICAM16-7S',
 u'NICAM16-8S',
 u'NICAM16-9D-L78',
 u'NICAM16-9S',
 u'NorESM2-HH',
 u'NorESM2-LM',
 u'NorESM2-LME',
 u'NorESM2-LMEC',
 u'NorESM2-MH',
 u'NorESM2-MM',
 u'PCMDI-test-1-0',
 u'UKESM1-0-LL',
 u'UKESM1-0-MMh',
 u'VRESM-1-0']

Would you consider the registration of INM-CM5-0 to bring this closer to the similar format of existing entries?

Dear Paul,
Model name was changed from INMCM50 to INM-CM5-0,  and must I also change
other attributes (label, label_extended, ...) or change of model name is
enough? Similar question about INM-CM4-8
On Tue, Jun 20, 2017 at 1:55 AM, Paul J. Durack<EMAIL_ADDRESS>wrote:

Reopened #358 https://github.com/WCRP-CMIP/CMIP6_CVs/issues/358.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WCRP-CMIP/CMIP6_CVs/issues/358#event-1129973251, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcLaeg2p8VmkeD0jvsYdLrrzsLEwNpynks5sFu5JgaJpZM4N-aj-
.

@volodin1 up to you, the key INM-CM5-0 is the primary handle that will make up the directory and file name information, with the sub-components less important for files and directory naming. For consistency, you can amend whatever you like.
I also note that I have not taken your registration information above and merged that across into the source_id.json file - once you have finalised the details I will do that (merge your changes) and then close this issue (which I have just reopened)

Hello,
My name is David Hassell and I am part of the ES-DOC team that is working on CMIP6 documentation. As a part of this process, we need a liaison at INM who can act as the interface between the scientists who actually provide the documentation and the ES-DOC team. I was wondering if you are able to help with identifying such a person?
The documentation process has changed considerably since CMIP5 (in response to the feedback that we received), and you can now choose from a variety of documentation methods. Our aim is to train the ES-DOC liaison who can then work with people at INM. No specialist knowledge about ES-DOC nor climate modelling is required, but neither would it be a problem, of course. Some institutes have appointed a member of the modelling team, others not.
I would be very grateful f you could let me know by e-mail (david.hassell at ncas.ac.uk) if you have any suggestions.
All the best,
David Hassell
National Centre for Atmospheric Science
University of Reading
UK

@volodin1 your model is registered, take a look at CMIP6_source_id.html and let me know if any further changes are required

Dear David,
Andrey Gritsoun<EMAIL_ADDRESS>could be liaison person from INM.
Best regadrs, Evgeny
On Thu, Jun 22, 2017 at 7:22 PM, David Hassell<EMAIL_ADDRESS>wrote:

Hello,
My name is David Hassell and I am part of the ES-DOC team that is working
on CMIP6 documentation. As a part of this process, we need a liaison at INM
who can act as the interface between the scientists who actually provide
the documentation and the ES-DOC team. I was wondering if you are able to
help with identifying such a person?
The documentation process has changed considerably since CMIP5 (in
response to the feedback that we received), and you can now choose from a
variety of documentation methods. Our aim is to train the ES-DOC liaison
who can then work with people at INM. No specialist knowledge about ES-DOC
nor climate modelling is required, but neither would it be a problem, of
course. Some institutes have appointed a member of the modelling team,
others not.
I would be very grateful f you could let me know by e-mail (david.hassell
at ncas.ac.uk) if you have any suggestions.
All the best,
David Hassell
National Centre for Atmospheric Science
University of Reading
UK
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WCRP-CMIP/CMIP6_CVs/issues/358#issuecomment-310413216,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcLaeni3mcnVNnGAkpFXoVO1X1gSkTDOks5sGoargaJpZM4N-aj-
.

@volodin1 we noted a formatting inconsistency with the aerosol, atmos, land, ocean and seaIce nominal_resolution values for INM-CM5-0, and have now corrected this. Please check your complete model registration details in CMIP6_source_id.html and get back to me with any further tweaks required.
For reference, this issue was caught and resolved in WCRP-CMIP/CMIP6_CVs#466


'get-login' is no longer supported and it's not clear how to authenticate

In the instructions Step #3 not only does not work as given

$ aws ecr get-login

The "replacement" get-login-password does not contain the "URI" as described in Step#4

Tag your images and push them to the repositories. (You must put it your own repository URI from the repositoryUri value from step #3)

So I'm  uncertain how to proceed.

Yes! How can we still utilize IAM roles to authenticate to a reserved proxy ECR utilizing the provided command?
aws ecr get-login-password --region region | docker login --username AWS --password-stdin registry.myregistry.com


Check User Authentication Status Endpoint

Addresses issue https://github.com/Tivix/django-rest-auth/issues/217 and adds an endpoint /user/status/ to check if user is authenticated or not without having to call the full /user/ details endpoint.
TODO:

[ ] Documentation

Hi,
as a user of rest-auth, thanks for the contribution!
This repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: https://github.com/Tivix/django-rest-auth/issues/568)
It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)
new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you merge your PR)
Many Thanks,
Barney


New Tab: Add New Page

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

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

#4568  👈
#4567
develop

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

Join @malmstein and the rest of your teammates on  Graphite


Saberize grid

This PR should not be merged until we have conversations about updating the grid CLI.

this was merged in with https://github.com/hyperledger/grid/pull/76


Feature Request: Chart Logarithmic Scale

First of all, Thank You for making this, PptxGenJs is such an awesome library
I'd like to request a feature for logarithmic scale in Bar Chart, i used to check  this options when working with large variation number, it would be really helping if PptxGenJs support this.

Thanks for the feedback @rkspx !
Log scale is a great suggestion and will be in v.3.5.0

Great to hear it, Thank you!


Move “switch accounts” menu to a view embedded within the tab bar

The far right tab entry should be an accounts item in the menu.
When selecting it, you should be taken to a settings screen that allows for changing of settings and switching between accounts.

UIs will change in new apps so this is being closed


Java docs

Partially addresses #48.
Added docs for the following classes/interfaces:

/apollo/api/internal/Utils.java

ApolloCall.java

ApolloClient.java

ApolloPrefetch.java

HttpCacheControl.java

Cancelable.java

RxApollo.java

More docs on the way!

pls rebase to latest master

Have made the requested changes. Though I still would want clarification on a couple of points. See my last two comments above on the points where I want more clarification.

Final set of changes have been made.

Final set of changes have been made and if everything else looks fine, we can go ahead and merge this branch

👍 I think this is good as first pass. We can refine more in future prs.


Implement delete task feature for TodoList

Fixes #165

Added implementation to delete a task from the todo list

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cbb905a). Click here to learn what that means.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #166   +/-   ##
=========================================
  Coverage          ?   44.78%
  Complexity        ?      400
=========================================
  Files             ?      130
  Lines             ?     1983
  Branches          ?      177
=========================================
  Hits              ?      888
  Misses            ?     1063
  Partials          ?       32

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/tp/cap5buddy/Cap5buddy.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

src/main/java/tp/cap5buddy/logic/LogicManager.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...tp/cap5buddy/logic/commands/AddContactCommand.java
0.00% <ø> (ø)
0.00 <0.00> (?)

.../tp/cap5buddy/logic/commands/AddModuleCommand.java
0.00% <ø> (ø)
0.00 <0.00> (?)

...p/cap5buddy/logic/commands/AddZoomLinkCommand.java
0.00% <ø> (ø)
0.00 <0.00> (?)

...main/java/tp/cap5buddy/logic/commands/Command.java
0.00% <ø> (ø)
0.00 <0.00> (?)

.../cap5buddy/logic/commands/DeleteModuleCommand.java
0.00% <ø> (ø)
0.00 <0.00> (?)

...tp/cap5buddy/logic/commands/DeleteTaskCommand.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...tp/cap5buddy/logic/commands/EditModuleCommand.java
0.00% <ø> (ø)
0.00 <0.00> (?)

...tp/cap5buddy/logic/commands/ViewModuleCommand.java
0.00% <ø> (ø)
0.00 <0.00> (?)

... and 16 more

Continue to review full report at Codecov.

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


Fix typo?

Based on the similar comparison a few lines down (line #127) I think this might be copy-pasta.

If this code is correct, this seems kinda awkward:
pm_1_0 = data.pm_ug_per_m3(1.0)
pm_2_5 = data.pm_ug_per_m3(2.5)
pm_10 = data.pm_ug_per_m3(10)
pm_1_0_env = data.pm_ug_per_m3(1.0, atmospheric_environment=True)
pm_2_5_env = data.pm_ug_per_m3(2.5, atmospheric_environment=True)
pm_10_env = data.pm_ug_per_m3(None, atmospheric_environment=True)

Yeah, the interface is truly horrible, it might just as well have been property names matching the variables in the assignments there- and a bit more documentation. It's trying to be verbose for the sake of clarity, but in retrospect I'm not sure it's clear at all.

Is this worth a merge though?  It definitely caught me out that
pm_10 = data.pm_ug_per_m3(10)

but then
pm_10_env = data.pm_ug_per_m3(None, atmospheric_environment=True)

Yes, though it might be worth changing it to if size in (10, None) for anyone currently using None in their code.

Alright that's fine ... Let me submit that.
On Thu, Aug 17, 2023 at 10:56 AM Philip Howard @.***>
wrote:

Yes, though it might be worth changing it to if size in (10, None) for
anyone currently using None in their code.
—
Reply to this email directly, view it on GitHub
https://github.com/pimoroni/pms5003-micropython/pull/4#issuecomment-1681991132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3VJR2AAHOBM7BRZ72WDA3XVXTD3ANCNFSM6AAAAAA3TANAVI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Jesse Spielman
Computer Science Researcher
uk +44 (0)7808 861922
twitter @heavyimage

Thank you! Appreciated. And thanks for catching this.

Beautiful, thank you again!


linux run fails with "/usr/local" permissions

Running "flutter run" on linux can fail because of permissions to "/usr/local".   It is surprising that it would make this complaint.  The issue was previously reported and closed but not fixed.  I'm making a new issue.
Error log
clarkeaa@gamer:~/dev/flutter-examples/counter$ flutter run
Launching lib/main.dart on Linux in debug mode...
CMake Error at cmake_install.cmake:66 (file):
  file INSTALL cannot copy file
  "/home/clarkeaa/dev/flutter-examples/counter/build/linux/x64/debug/intermediates_do_not_run/counter"
  to "/usr/local/counter": Permission denied.

Flutter doctor
[✓] Flutter (Channel stable, 3.3.8, on Ubuntu 22.04.1 LTS <IP_ADDRESS>-microsoft-standard-WSL2, locale C.UTF-8)
    • Flutter version 3.3.8 on channel stable at /home/clarkeaa/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (7 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

Environment
Ubuntu 22.04.1 LTS on Windows Linux Subsystem
Previously reported workaround
run flutter clean and try again
Previously closed issue
https://github.com/flutter/flutter/issues/59890

Are you able to reproduce it? It's been closed a number of times because nobody who sees it can ever reproduce it more than once. My working theory is that it's a CMake bug.

This is my previous summary of the issue: https://github.com/flutter/flutter/issues/73881#issuecomment-760216098

Are you able to reproduce it? It's been closed a number of times because nobody who sees it can ever reproduce it more than once. My working theory is that it's a CMake bug.

I deleted that project, created a new one and the permissions problem didn't show up again.  I'm not sure what is being cached where that causes it to behave differently.
The problem with this bug is that it affects first time user experience which isn't good.

The issue was happening consistently for me, I managed to fix the issue by doing the following in linux/CMakeLists.txt
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
endif()

to
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)

More info can be found in the linked issue above.

I ran into this issue with a fresh manual install of flutter 3.10.5 on void linux when creating a new project without all of the required build dependencies installed (no cmake, ninja, gtk+) and then attempting a build which fails, then installing all the dependencies. The project was broken at this point, but creating a new project even after removing all the dependencies and trying to reproduce the issue didn't result in a repro.

I run  command: flutter run -d linux, and got error:
Launching lib/main.dart on Linux in debug mode...
CMake Error at cmake_install.cmake:66 (file):
  file INSTALL cannot copy file
  "/media/xxx/xxx_player/flutter/lisener/build/linux/x64/debug/intermediates_do_not_run/lisener"
  to "/usr/local/lisener": Permission denied.

Building Linux application...
Exception: Build process failed

Flutter version is: 3.16.3.
After using @ZimboPro 's method, it works:

The issue was happening consistently for me, I managed to fix the issue by doing the following in linux/CMakeLists.txt
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
endif()

to
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)

More info can be found in the linked issue above.

I run  the command: flutter run -d linux, and got error:
Launching lib/main.dart on Linux in debug mode...
CMake Error at cmake_install.cmake:66 (file):
  file INSTALL cannot copy file
  "/media/xxx/flutter/xxx/build/linux/x64/debug/intermediates_do_not_run/xxx"
  to "/usr/local/xxx": Permission denied.

Building Linux application...
Exception: Build process failed

Flutter version is: 3.16.3.
After using @ZimboPro 's method, it works:

The issue was happening consistently for me, I managed to fix the issue by doing the following in linux/CMakeLists.txt
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
endif()

to
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)

More info can be found in the linked issue above.

The issue was happening consistently for me, I managed to fix the issue by doing the following in linux/CMakeLists.txt
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
endif()

to
set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)

More info can be found in the linked issue above.

That worked for me, thx

Environment
OS: Fedora Linux 38 (Sway) x86_64
Kernel: 6.7.9-100.fc38.x86_64

Flutter
Flutter 3.19.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision<PHONE_NUMBER> (2 settimane fa) • 2024-02-27 16:51:22 -0500
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1

I run flutter clean and it fixed the error


Add ability to cleanly uninstall PolicyKit from Slack

Splitting this into a few scenarios:
1) Handling cleanup when someone uninstalls the PolicyKit via the Slack app/website
In this case, we can handle the app_uninstalled event. Should delete the community and all data? This would allow for admins to reset PolicyKit to a fresh start, by uninstalling the app and reinstalling it via policykit.org.
2) Allowing users to uninstall PolicyKit from Slack via policykit.org, where Slack is the primary platform integration.
There's currently no mechanism in the PolicyKit UI for deleting a community. We could probably add support for that, and make sure that it explicitly uninstalls the app from Slack by calling apps.uninstall. Alternatively, if we handle (1) correctly then we can just direct people to uninstall via Slack.
Note: PolicyKit also doesn't support deleting the "primary" integration while keeping the community (for example: install PolicyKit to Slack ==> add Open Collective integration ==> delete Slack integration).
3) Allowing users to uninstall PolicyKit from Slack via policykit.org, where Slack is a secondary integration.
Scenario: Install PolicyKit to Discord ==> add Slack integration ==> delete Slack integration
I think the "delete integration" option for Slack should actually uninstall the PolicyKit app from the Slack workspace, by calling apps.uninstall (this should happen in Metagov on Plugin teardown?)

This all probably applies to Discord and maybe GitHub, too, since both support apps/bots.

Currently the "delete integration" button for Slack doesn't actually delete the slackcommunity. It is handled by this view:
https://github.com/amyxzhang/policykit/blob/623523d76d63c06b6d559ad7b477d80512fbd2e7/policykit/integrations/slack/views.py#L107-L116


How to show Labels with Series value  on x axis in Chartist??

Add the same array to labels and series`
const values = [16, 24, 82, 199, 32, 9]
const data = {
    labels: values,
    series: values
}

Then pass that data in to your Chartist.ChartX('#id', data, options)


Convert blender to sdf

Adds blendkit model -> sdf support
loader_blendproc.py, export_model.py and demo.sdf.template are all the wonderful work of @azazdeaz
Basically runs them in a subprocess, then combines it with a thumbnail, zips it up and uploads to the fileserver. It then uses the generated metadata to add description, tags and category to index.json so that e.g. Robostage can search through it, and get the url it wants.
Blendkit models metadata seems to be much better than fuel from the ones we have tried, (and also only have the one thumbnail easily accessible via public api), so it does not use aws rekognition to suggest tags at present.
A bit fast and rough around the edges right now, and should have a refactor / cleanup in near future.
Closes art-e-fact/robostage#14

Note: Should wait for https://github.com/art-e-fact/RoboProp/pull/37#pullrequestreview-1538272217 to be merged in before merging this branch.

@fabid I think that should resolve your questions now


flux FLUX.1 [dev] Non-Commercial License

License conflict, can this be used for commercial purposes

License conflict, can this be used for commercial purposes

If you own the License, you can. or else get the license and use.


Issue with specto

Specto fork error
Check the log.
Checked everything nothing I do resolves issue?

Do you have Kodi 16.1 ? Maybe the error was caused by the update process.
wait 15 minutes and try it again
If you still will this error occurred, reinstall the plug according to the instructions http://filmkodi.com/en/specto-1080p-kodi-add/

Yes I was on 16.1and I have tried removing the addon and reinstalling it and the same error comes up.

OK -  need logs

install kodi log uploader https://www.youtube.com/watch?v=Fyh32fEFvfw
paste here link to logs

I have just changed to another kodi box and it's working fine. Any further issues I will let you know.  Thank you for your help.

mine was working and doesn't work

I really need to work

I just keep getting Specto fork error
Check the log
I dont know what to do

Mine tries to install but at the end of install failed to install dependency. Do i need to have something install prior to installing this addon

same issue
specto 2<IP_ADDRESS>
Linux mint 18
Kodi 16.1
logs: http://pastebin.com/WSSttZnW

I think, you must install repository to automatically fetch missing dependencies (including: script.specto.media, script.mrknow.urlresolver)
How to install repository http://filmkodi.com/en/specto-1080p-kodi-add/
short instruction:

SYSTEM > File Manager -> Add source
Add source http://kodi.filmkodi.com
Go to System-> Add-on's >Install from zip file
Select repository.filmkodi.com
Select repository.filmkodi.com-2.10.zip, and wait for addon
Go to System-> Add-on's >Install from repository -> Video Add-on's
install Specto

Yes. It's working for me. First I uninstalled all addons from mrknow than I added repository as shown above and installed addons back.
Dzięki @mrknow

I installed Kodi on windows 10. I try to install specto, but it failed to install dependency. I tried to follow the instructions above (1. Uninstalled Mrknow addons, 2. Installed script.specto.media, and then script.mrknow.urlresolver, 3. Installed repository.filmkodi.com-2.10.zip, 4. Installed from repository specto..fork), and it still same result.

@ymadi - I added script.module.metahandler to my repository. Please install again Specto. it should work now

I'm getting the same issue today, unable to install specto due to dependency failure.


Footer cannot be hidden for a new app links appname.toolzflow.app

Try this
https://funny-ai-art-prompts.toolzflow.app?__show_banner=false

The footer is still displayed

fixed


SCITE lineage

Hi
I notice in your paper (https://www.nature.com/articles/s41467-022-28845-0) you use SCITE to approximate lineage of cells.
Can I perhaps see the code you used (with the parameters) for running SCITE?
I understand it would look something like this:

../infSCITE
-i MutationMatrix.csv
-n 23
-m 10
-r 1
-l 700000
-fd 3.45e-3
-ad 1.46e-1
-s
-e .2
-p 10000
-d -rec 13

Alan

Hi Alan,
Sorry but I do not have the exact script saved, but I just used the command from the SCITE tutorial (https://github.com/cbg-ethz/SCITE)
./scite -i genotype_matrix.csv -n 24 -m 5 -r 1 -l 900000 -fd 6.04e-5 -ad 0.21545 0.21545 -cc 1.299164e-05 -transpose
Apologies again but hope this helps.
Aaron

That's great thanks for the reply Aaron.
I'm not 100% sure what each option is doing so I'll have to do some learning!
Alan


feat(controller): optimize memory with queue when archiving is rate-limited. Fixes #13418

Fix #13418
Motivation
When archiving workflows operations are severely rate-limited，there is a big memory usage increase in workflow controller
Modifications
To solve this problem, we can add a archived_wf_queue to archive the workflow asynchronously when listening the Add and Update events instead of archiving the workflow synchronously
Verification
run locally and tested

Makes sense to me. @Joibel could you double-check this when you're back from vacation? Specifically as this adds a new queue with metrics. Also if you have any thoughts on the naming

@Joibel  could you review this PR when you are free, thanks

@Joibel could you review this PR when you are free, thanks

Yes, I'll take a look.

@Joibel  all checks have passed now, could you merge this PR? thanks

Thank you for working through this.

@ChenRussell small reminder on the refactor discussed above

@ChenRussell small reminder on the refactor discussed above

Yes, I will finish it


Room persistance - (XEP-45)

I couldn't see anything in the documentation around room persistence.

XEP-45 implemented in Vines?
If so, how do you configure it?

http://xmpp.org/extensions/xep-0045.html

Oh wow it doesn't have MUC at all!
Blocking: https://github.com/negativecode/vines/issues/7

A list of supported extensions is in the readme: https://github.com/negativecode/vines#standards-support.


Add support for WindowGroupLimitExec

Fixes #883.
Changes:

Add parser for WindowGroupLimitExec

We are only interested in the ranking function to detect its qualification.
As of v24.04, only rank() and dense_rank() are supported by the plugin for in WindowGroupLimit
NVIDIA/spark-rapids#10500

Update operator score files and override json file.
Add unit test for the WindowGroupLimitExec  operator (only for spark 3.5.0+).

I am ok With the changes.
@nartal1 remember we discussed that it would be useful to explain the reason an exec won't be supported when there is a conflict with the expressions? #715 If you are ok with this PR as it is, then please approve it.

Yes @amahussein ! I am going to include those changes in #715. The exprs not supported here will be included in 715.


Copilot chat and quick commands

Hi! It would be awesome if you added chat and quick commands. Like Explain selection and Add documentation to selection

Hi @MilkyNikNLT thanks for trying out Copilot for Xcode and providing feedback. These are definitely on our roadmap 👍

Love to have this


Update domains.json

Hi! What is your PR about?

Add a custom domain for your space => add  "vote.sinfinite.net": "sinfinite.eth"

Hi
I have some issue.
I added my domain & ens to domian.json. but domain show explore page of snapshot.org website. (not showing sinfinite.eth)
https://vote.sinfinite.net/#/
I want redirecting to https://snapshot.org/#/sinfinite.eth


mitosis.config.cjs is not found

mitosis.config.cjs is not found
npx mitosis build

TypeError: Cannot read properties of null (reading 'targets')

error in line 15: mitosisConfig is null
https://github.com/BuilderIO/mitosis/blob/8eea6e048450ddbf882acc9e4e58104822cacc7d/packages/cli/src/commands/build.ts#L6-L19
getMitosisConfig returns null
https://github.com/BuilderIO/mitosis/blob/8eea6e048450ddbf882acc9e4e58104822cacc7d/packages/cli/src/commands/build.ts#L28-L29
by default only mitosis.config.js is found
https://github.com/BuilderIO/mitosis/blob/f2cd9b377c7f7d66728d5bb071363062081a1674/packages/cli/src/helpers/get-mitosis-config.ts#L9
workaround
npx mitosis build -c mitosis.config.cjs

Yeah, a slight improvement would be to check the path to .js, and if that doesn't exist then try the .cjs extension instead as a fallback.

Looks like this was fixed here: https://github.com/BuilderIO/mitosis/commit/88e2321f4eab2e63d9f63640975bf6eea3961fce#diff-01aa8383ec0a2609afe64aaf46a7b85433d46656ce6384c7ef218a78496afe52

yes
https://github.com/BuilderIO/mitosis/blob/170ce0109733bd3034a48ef3604e2b7f39513cf0/packages/cli/src/helpers/get-mitosis-config.ts#L13


Make dimscale attachment to variables optional

Code to implement the proposal discussed in #2128.

There are a few whitespace changes -- my editor automatically strips trailing spaces and I didn't clean out those changes...

Apologies again for all the whitespace changes...

What needs to be done to this to make it a consideration for the next release? @edhartnett @WardF

It's up to Ward - as far as I am concerned, it's good to go.
Ward's been busy with the netcdf-fortran release, which had to come out before the next C release, since the C library now includes the quantize functions and netcdf-fortran now must be modified to include them. So Ward is catching up and we have to be patient. ;-)
However, many of us are eager for the next netcdf-c release, which will contain the quantize functions for lossy compression. Onward and upward!

I would like to be sure I understand the consequences, sorry for being pedantic.
Are these statements correct?

Netcdf-4 files written by 4.6.3 or earlier (with dimscales) can still be read by post-4.6.3 versions.
4.6.3 and earlier cannot necessarily read post 4.6.3 written files

My concern is mostly this:
If dimension scales are not used, then netCDF-4 can still edit the file, and will invent anonymous dimensions for each variable shape. This is done by iterating through the space of each dataset. As each space size is encountered, a phony dimension of that size is checked for. It it does not exist, a new phony dimension is created for that size. In this way, a HDF5 file with datasets that are using shared dimensions can be seen properly in netCDF-4

It seems to imply that the shared dimensions are lost in this case. Is this correct? Why is it so?

With netCDF-Fortran announced/published, I am able to turn my attention back to the C library and begin moving forward here again :).  Also shoring up the docker-based CI work we've been using, but that's not relevant to this. I am curious to the answers to Dennis' question, however.

@DennisHeimbigner that documentation was written before the dim info was always included in the file metadata (i.e. 4.6.3).
In other words, netCDF-4 will only invent dimensions if they can't be determined from dimscales or other file metadata. What Greg proposes here is to make the dimscale optional, but the other file metadata is still always present.
So this will be readable to any netCDF 4.6.3 or greater.

I see, thanks. Then I see no reason not to go ahead with this. For back compatibility,
we will unfortunately have to keep dimscale cognizant code in the library for the foreseeable
future, but that is ok.

Yes, the dimscale code will always be there, but the library only resolves dimscales (the slow operation) on file open for files that don't have the extra file metadata. And all files created with 4.6.3 or later have that extra metadata, so the dimscale step can be skipped.
However, files created before 4.6.3 don't have the extra metadata (except for some very specific cases where dimscales never worked). So we will always need to be able to resolve the dimscales for that older data. ;-)
Dimscales have been a bit of a curse for netCDF.

I know things are busy, but just another ping to see if this can be included in the next release.

@gsjaardema yes! :)

I think this PR looks good to merge. Nice work @gsjaardema as usual.

It looks like some of the tests timed out; sorting out re-running these and then will merge. Thanks!

Thanks.  It is a pleasure to work and use the library.  Easy to understand...


[DRAFT] Revert conversationUpdate and update tests

Fix #1371.

This will revert the recent introduction of synthesized conversationUpdate activity.
Instead, we will suggest users to use our "welcome event" sample.
Since we reverted the conversationUpdate activity, MockBot no longer send any welcome messages. We need to update image snapshots to reflect this change and use another method (send webchat/ping as event activity) to ping the bot for connectivity.

Pull Request Test Coverage Report for Build 917

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 52.565%

Files with Coverage Reduction
New Missed Lines
%

packages/core/src/actions/deleteActivity.js
1
50.0%

packages/core/src/sagas/removeIncomingTypingAfterIntervalSaga.js
1
85.71%

packages/core/src/reducers/activities.js
2
80.33%

Totals

Change from base Build 914:
-0.2%

Covered Lines:
880

Relevant Lines:
1523

💛  - Coveralls

So basically all the calls verifying the number of activities sent are being reduced by 1 because there is no longer a conversationUpdate activity, correct?

@tonyanziano Yes, I think all of them.


Help needed with configuring heirline to show active virtual env

Hi, I'm sorry if this is not the place to ask, but I couldn't find any answers on the internet. I want to have the virtual env on the statusline, but I don't know how to do it and I'm quite new to nvim configurations.
Any help much appreciated.

local Seperator = { provider = " | " }

local PythonEnv = {
	condition = function()
		local venv = os.getenv("VIRTUAL_ENV")
		return venv ~= nil
	end,
	update = { "DirChanged" },
	{
		provider = function()
			local output = vim.fn.system('python -c "import sys, os; print(os.path.basename(sys.prefix))"')
			return "python: " .. vim.trim(output)
		end,
		hl = { fg = "cyan", bold = true },
	},
	Seperator,
}

return PythonEnv

This does roughly what you want but it has a little problem:
It depends on the python enviornment of the directory you open in the base terminal in which neovim is running inside.
Basically:
If I run neovim in directory ~/foo which has a python venv in it and then I change directory in neovim to ~/bar then the venv stays because the terminal in which neovim is running in is still in ~/foo which has a venv. So if you want to show a different venv then you have to make sure the terminal in which neovim is running inside is also in that directory with the different venv.

The best solution is to rely on plugins that let you manage python virtual envs from nvim, then you can (likely) use some of the plugin api or internal variables to show the venv name on the statusline, something like { provider = function() return require'venv-plugin'.venv end }


SQLIte or Postgres output

Make sqlite database/ or postgres dump file as an output.

closed, added in 0.4


Proxy

Hi! When you turn on the proxy, the following error appears

Hi @Frowen07,
Are you just trying to use the default proxy, or have you tried to configure a third-party tunnel?

I wanted to install a simple ipv6 proxy, I tried ipv4, but there is always such a problem. Everything works without a proxy

Maybe a firewall or something blocking the ports?

nothing is blocked

Sorry to say, it's blocked, or misconfigured, or so slow the script times out.
I just created a new Docker instance on AWS and tested it with a paid plan from smartproxy.com and it works fine. If it's timing out, the issue is with your setup.
Did you get the response code 200 after configuration?

It says http-proxy not found, was it not previously running?

it was previously launched, but an error came out. I reconnected the proxy, but still the same error

There's not really any more action I can do. If it's working fine for me in Contabo (standalone Ubuntu) and fine for me in AWS (Docker) then everything appears to be working correctly.
Is it a reputable and fast proxy tunnel?

I used 2 proxies from different services. One is ipv6 and the other is ipv4

Unfortunately, as I can not recreate it, there is nothing further I can do right now. It's getting late here in Europe, but maybe tomorrow our chief tester @Wellynounet can test it for us and see if he gets any errors.

Also, I pushed a small update to the repository which you can update with:
./pull-scripts.sh

The test of the proxy was previously checked for a connection by visiting https://google.co.uk, I changed that to testing with https://web.telegram.org in case that is being blocked by the proxy.

It's not working for you, it works fine for other people.

But why doesn't it work with a proxy(

The question is, why doesn't it work with your proxy. But I have no idea what proxy you're using, what hardware you installed the script on, what firewalls you have in place, or if you configured the script correctly.
The instructions for set-up are here.
If you have the proxy enabled in your "game" settings with the MITMProxy endpoint of http://<IP_ADDRESS>:8080/ and the proxy connection defined and confirmed in the setup-proxy script it should work.
If you REALLY need to use the script with a proxy, then you could edit line 6 in your enable-proxy.py file, and restart the proxy to see if there are clues in your log file why it's not making a connection:
log_to_file = False  # Set this to False to log to /dev/null

# Change to

log_to_file = True  # Set this to True to save logs in ./proxy/mitmproxy.log


Trouble highlight links aren't updated since rename

Hi @folke,
I've been tweaking the colors for my trouble window, and according to the docs TroubleText is supposed to be a base for a few other text highlight groups. So I tried tweaking trouble text hoping it would affect the colours of the linked groups but it didn't. Inspecting those groups it seems that most of them link to the old highlight groups e.g. TroubleText -> LspTroubleText, I think somewhere along the linking highlight groups aren't being linked correctly?
Sorry that felt rambly so TLDR.
I've set TroubleText to guifg=x guibg=x but this doesn't update the highlights for TroubleErrorText for example. I tried sequencing things a bit differently but didn't see a difference.

Should be fixed now! We only use the old groups if the theme defines them. Otherwise the new groups are used.


newt: replace python with python3

Things done

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

[x] NixOS

[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

ofborg fails because of https://github.com/NixOS/nixpkgs/blob/54b9a9429fc3628888613bc3cdf878a3154ea38e/pkgs/top-level/python-packages.nix#L7317


moto can't find key when using multiprocessing

Hi, I was trying to upload images with boto3 with multiprocessing. With real data it runs fine but  testing with moto failed, so I was hoping you could help me.
A bit simplified, my code looks like this:
import boto3
import cv2
import concurrent.futures
import glob
from moto import mock_s3
import numpy as np
import numpy.testing
import os
from testfixtures import TempDirectory
import unittest

def upload_im(key_file_path, bucket_name='testing'):
    """
    Upload serialized image to S3 storage after checking that key
    doesn't already exist.
    """
    (key, file_path) = key_file_path
    im = cv2.imread(file_path, cv2.IMREAD_ANYDEPTH)
    # Create new client
    s3_client = boto3.client('s3')
    # Make sure image doesn't already exist
    response = s3_client.list_objects_v2(
        Bucket=bucket_name,
        Prefix=key,
    )
    if response['KeyCount'] == 0:
        res, im_bytes = cv2.imencode('.png', im)
        # Upload slice to S3
        s3_client.put_object(
            Bucket=bucket_name,
            Key=key,
            Body=im_bytes.tostring(),
        )

def multiprocess_upload(data_path, s3_dir):
    file_paths = glob.glob(os.path.join(data_path, "*.png"))
    keys = []
    for f in file_paths:
        keys.append("/".join([s3_dir, os.path.basename(f)]))
    with concurrent.futures.ProcessPoolExecutor(max_workers=1) as ex:
        ex.map(upload_im, zip(keys, file_paths))
    # for key_file_path in zip(keys, file_paths):
    #     upload_im(key_file_path)

class TestUploader(unittest.TestCase):

    def setUp(self):
        """
        Set up temporary test directory and mock S3 bucket connection
        """
        # Create temporary directory and write temp image
        self.tempdir = TempDirectory()
        self.temp_path = self.tempdir.path
        # Temporary frame
        self.im = np.ones((10, 15), dtype=np.uint16)
        self.im[2:5, 3:12] = 10000
        # Save test files
        for c in range(5):
            file_name = 'img_{}.png'.format(c)
            file_path = os.path.join(self.temp_path, file_name)
            cv2.imwrite(file_path, self.im)

        # Setup mock S3 bucket
        self.s3_dir = 'test_dir'
        self.mock = mock_s3()
        self.mock.start()
        self.conn = boto3.resource('s3', region_name='us-east-1')
        self.bucket_name = 'testing'
        self.conn.create_bucket(Bucket=self.bucket_name)

    def tearDown(self):
        """
        Tear down temporary folder and files and stop S3 mock
        """
        TempDirectory.cleanup_all()
        self.mock.stop()

    def test_multiprocess_upload(self):
        multiprocess_upload(self.temp_path, self.s3_dir)
        for c in range(5):
            file_name = 'img_{}.png'.format(c)
            key = "/".join([self.s3_dir, file_name])
            byte_string = self.conn.Object(
                self.bucket_name, key).get()['Body'].read()
            # Construct an array from the bytes and decode image
            im_encoded = np.fromstring(byte_string, dtype='uint8')
            im = cv2.imdecode(im_encoded, cv2.IMREAD_ANYDEPTH)
            # Assert that contents are the same
            self.assertEqual(im.dtype, np.uint16)
            numpy.testing.assert_array_equal(im, self.im)

When running multiprocess_upload sequentially it works (commented out code at bottom of function), but this is the error I get when using multiprocessing:
Traceback (most recent call last):
File "/Users/jenny.folkesson/Code/uploader_tests.py", line 92, in test_multiprocess_upload
self.bucket_name, key).get()['Body'].read()
File "/Users/jenny.folkesson/miniconda3/envs/py36/lib/python3.6/site-packages/boto3/resources/factory.py", line 520, in do_action
response = action(self, *args, **kwargs)
File "/Users/jenny.folkesson/miniconda3/envs/py36/lib/python3.6/site-packages/boto3/resources/action.py", line 83, in call
response = getattr(parent.meta.client, operation_name)(**params)
File "/Users/jenny.folkesson/miniconda3/envs/py36/lib/python3.6/site-packages/botocore/client.py", line 314, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/Users/jenny.folkesson/miniconda3/envs/py36/lib/python3.6/site-packages/botocore/client.py", line 612, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.NoSuchKey: An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.
I'm using versions:
boto3: 1.7.84
moto: 1.3.6
Thank you in advance.

Moto holds S3 keys in processes' memory. Unfortunately, you can't use multiprocessing since processes don't share memory. As soon as your the worker exits, all the files it "uploaded" disappear. I haven't tested this but you might be able to do this when using server mode.

Thank you @dargueta. Since it works with boto3 + real data I made the decision to patch the multiprocessing part of my tests to make it work with moto.
Here's my mock workaround in case anyone else is having the same issue.
https://github.com/czbiohub/imagingDB/blob/master/imaging_db/images/tiffolder_splitter_tests.py#L42


Bug: text alignment should be center for header

What happened?

Add screenshots

What browsers are you seeing the problem on?
Chrome
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

Hello @Saurav-Pant please assign this issue to me under gssoc 24

GO ahead @kapilG0


Updating README.md file

Add information about addressing the challenge
Add information about how to get started and run the project

I would love for you to take another look @svatares

/azp run