Remove option-based emacsy key bindings

Fixes https://github.com/codemirror/CodeMirror/issues/6630
Removes Alt-D, Alt-F and Alt-B from the default emacsy key bindings, which is enabled by default on macOS.

A PR that moves those from emacsy to the proper emacs map in keymap/emacs.js would be very welcome.

It seems like these three are already implemented in keymap/emacs.js
https://github.com/codemirror/CodeMirror/blob/8bc57f76383e62e1a03c7d97c9eac74493fdbedc/keymap/emacs.js#L309
https://github.com/codemirror/CodeMirror/blob/8bc57f76383e62e1a03c7d97c9eac74493fdbedc/keymap/emacs.js#L311

Thank you!


Step 0.1. (choose location)

As a user, I want to be able to select the location where the service will be provided so that I could place an order.
Preconditions:
The registered user is logged in
Business rule:
Only Kyiv and Kyiv region citizens are able to submit the Order form.
Acceptance Criteria:

The user must be able to select a location after he put button “Замовити Кур’єра” on home page https://nowaste.com.ua.
The user shall see the title on the top of pop-up: “Вітаємо в УБС! Спочатку оберіть свою локацію:”. Under the title the user shall see a drop-down with 2 variants: “м. Київ” and “Київська обл.”

The background for this pop-up should be the home page https://nowaste.com.ua.
In pop-up the user should see the list of locations:
“м. Київ”
“Київська обл.”
At the first visit, the first shown location option by default is “м. Київ”.

After the user has selected the location, he can confirm his choice by clicking the button “Продовжити”. The button “Продовжити” is always active. If the user does not perform the action with the selection of the location and clicks the button “Продовжити”, so then will be chosen “м. Київ” by default.
By clicking on the button “Продовжити”, the user shall be redirected to the first page of the order form.
If the user has selected “м. Київ”, must be used rules for Variant 1 (Kyiv). If the user has selected “Київська обл.”, must be used rules for Variant 2 (Kyiv region).  Rules are described in Change request #3032.
The system should remember the chosen location so the user will see his previously chosen location in the first place by default during the next login into the system.
By clicking on the button “Назад”,  on “X” (close), or outside of the pop-up, the user shall be redirected to the main page of the site https://nowaste.com.ua/. The button “Назад” is always active.

EPIC: UBS courier #2195

@AndriyHoroschko, please, check this url  https://nowaste.com.ua/
Maybe it should be https://ita-social-projects.github.io/GreenCityClient/#/ubs/order

@AndriyHoroschko, please, check this url https://nowaste.com.ua/ in step 1, 3 and 8
Maybe it should be https://ita-social-projects.github.io/GreenCityClient/#/ubs/order ?

It should be https://nowaste.com.ua
This is the customer's website (УкраїнаБезСміття)

@ViktoriyaRyazhska

@AndriyHoroschko, please, check this url https://nowaste.com.ua/ in step 1, 3 and 8
Maybe it should be https://ita-social-projects.github.io/GreenCityClient/#/ubs/order ?

changes have been made, please check


RET-2877 Upgrade appium to 1.9.1

@honeybeep I think this is all that is needed...

uh i meant to accept this but instead i merged it??


Erome rip error

Ripme version: 1.7.95
Java version:  v8 update 301
Operating system:  Windows 10 21H1 19043.1165

Exact URL you were trying to rip when the problem occurred: https://www.erome.com/a/RQ4KZW1M or https://www.erome.com/a/YRgyoyfA or any gallery
Please include any additional information about how to reproduce the problem:

Expected Behavior
Download files/gallery
Actual Behavior
Gives error (been like that for 2 days on rip from Erome. They might have changed something on their side. Tried it with multiple different PC (all same Ripme version though but it was working before and one of the PC is on Lubuntu)
https://s15.erome.com/532/RQ4KZW1M/xavmR2Y9.jpg : Non-retriable status code 405 while downloading
https://s15.erome.com/532/YRgyoyfA/iMDtUT4T_720p.mp4
Downloading next page
https://s15.erome.com/532/YRgyoyfA/iMDtUT4T.jpg : Non-retriable status code 405 while downloading https://s15.erome.com/532/YRgyoyfA/iMDtUT4T.jpg
https://s15.erome.com/532/YRgyoyfA/iMDtUT4T_720p.mp4 : Non-retriable status code 405 while downloading https://s15.erome.com/532/YRgyoyfA/iMDtUT4T_720p.mp4
Rip complete, saved to ...............

it says rip complete, but actually the directory is empty

fixed here:
https://github.com/ripmeapp2/ripme/releases/tag/latest-2-0-1

@Scientist07 this happens as well if you do "history - clear" ?

@Scientist07 this happens as well if you do "history - clear" ?

1.7.95 does not work, confirmed 2.0.1 from @soloturn  works after clearing history.


Add GUI Features to superforth

A GUI is something that will eventually be implement in the future, however at the current moment there are a few more pressing priorities that will be implemented first.

The most immediate priority is to finish the dynamic casting and run time type information upgrades to SuperForth, which can be found in the upcast branch.
Integration with C#. Please check out the SuperForthCSharp project which already works with a slightly earlier version of SuperForth. This is probably the second most immediate priority.
An IDE, or at least a language server

The reason why a GUI isn't a pressing concern at the moment is because it can already be done, using the existing tools at hand. Use the FFI to interop with any C GUI library of your choice(must be a dynamically linked library), or use SuperForthCSharp to interop with winforms or wpf.
Any help is welcome. I'd be glad if you're up to implementing a gui library for SuperForth. These are simply the priorities given the limited resources and time I have.

Ok.

This issue is a work in progress, and will not be closed until the feature is added.

Closing because this project is dead.


Enable SourceLink for easier debugging

Expected  behavior
Press F11 to step into code and debug the code
Actual behavior
because no PDBs + source info are found, debugger steps over
Version of SharpZipLib
1.0.0
Obtained from (place an x between the brackets for all that apply)

[ ] Compiled from source
branch: _______
commit: _______
[ ] Downloaded DLL from GitHub
[ ] Downloaded DLL from SourceForge
[ ] Downloaded DLL from _______
[ ] DLL included as part of
Package installed using:
[X ] NuGet
[ ] MyGet
[ ] Chocolatey

Solution:
enable SourceLink + pack PDBs inside the NuGet package to fetch the source from github during debugging to be able to step into the code.

Here is a blog post about it:
https://blog.nuget.org/20180827/Introducing-Source-Code-Link-for-NuGet-packages.html

The PDB's will probably not be added, but SourceLink should be in the next release.

without PDBs you have no SourceLink. The JSON with the SourceLink data is embedded to the PDB.

thanks, works fine so far.

@piksel  1 thing. You need to add to release notes, that the new csproj format does't copy the PDB to output.


Missing classes

Hi,
This looks like a very interesting project and I would like to contribute. Could you make the repo build again?
Thanks!

Hello, I was on a bit of a hiatus. Fixes will be coming in the next day or two, if you're still interested :)


Crane on brownfield

There is a crane drawled on every piece of brownfield??
Expected behavior:
Brownfield without a crane.

This seems to be a duplicate of #106


[ENH] add GMMHMM from hmmlearn

Building on success I have had with wrapping GuassianHMM in   #3156 this is a simple PR which wraps GMMHMM from hmmlearn.
I intend this to be a reference as to how some of the other estimators from hmmlearn can also be wrapped and incorporated into sktime.

As a note this PR depends on #3156 being merged as well.

Note, tests are failing, but seems to be due to a potentially sporadic failure of ClearSky?  Not sure if this is something folks have seen before or not?


Add an option to hand in a function to determine the sprite id.

Add an option that let's the user specify a function to determine the sprite's id attribute.

Done in v1.2.0


#4 Fix the User Name Functionality

This PR adds the following features to the User Name functionality: (issue #4)
Enter Button: Users can now submit their username using an Enter button.
Edit Button: Users can edit their usernames with the new Edit button.
Delete Button: Users can delete their usernames using the Delete button.
The functionality is attached in the screen shot below.
https://github.com/user-attachments/assets/a67ce007-e37d-44a5-8fbf-efe4b873fbc7
it's my first contribution, so I'd appreciate any feedback.

@AnshMehta24 Your PR has been merged. That's a great contribution. We hope you contribute to more issues on our project.

@TheOpenInnovator, Thank you! I look forward to contributing more to the project!


Deploy Develop and Stable Versions of Application

[x] Standup Develop and Stable Databases

[x] Add postgis extensions, tables, view, functions, triggers, roles
[x] Add initial seed data (office, product, watershed, acquirable)

[x] Develop API Deployed
[x] Stable API Deployed

Deployment Punchlist
Cumulus API and Terraform Deployment

[ ] Update Github Workflows for USACE/cumulus-api to support develop and stable containers. Merge PR USACE/cumulus-api#79
[ ] Merge PR USACE/cumulus-api#78
[ ] Merge PR USACE/cumulus-api#77
[ ] Clean Database cwbi-cumulus_develop
[ ] Initialize Database cwbi-cumulus_develop with any new seed data

[ ] HRRR Acquirable
[ ] HRRR Product
[ ] Config Table
[ ] Role Changes for Config Table

[ ] Launch Container(s) api and verify functionality (Terraform)
[ ] Launch Container(s) listener and verify functionality (Terraform)
[ ] Launch Container(s) geoprocess and verify functionality (Terraform)

Airflow Workflows Against New API

[ ] Update Terraform deployment of Airflow to use bucket cwbi-data-develop (deprecate use of corpsmap-data bucket)
[ ] Merge PR USACE/airflow-config#19
[ ] Update connection information new Cumulus API URL from Airflow User Interface
[ ] Turn on Airflow DAG for Testing

Additional Cumulus API and Data Migration

[ ] Launch Container(s) packager and verify functionality
[ ] Copy existing productfiles from bucket corpsmap-data to bucket cwbi-data-develop.

Cumulus Terraform Deployment (STABLE)
This creates a stable replica of the application deployed in the punchlist above. This will allow us to validate changes in the develop instance of the application before making changes in stable (which is used by more people)

[ ] Deploy API, Listener, Geoprocess, Packager Containers
[ ] Add cumulus-api.rsgis.dev to application load balancer
[ ] CNAME DNS Entry for cumulus-api.rsgis.dev
[ ] Deploy user interface that points to stable api
[ ] Copy productfiles from S3 bucket cwbi-data-develop to cwbi-data-stable
[ ] Copy database records for productfiles from database develop to stable
[ ] Turn on Airflow DAGs that work against stable API and S3 bucket cwbi-data-stable

cc @FHanbali


Counters and counter stats

Second of a series of PRs to add robust performance statistics-tracking capabilities to Arcs.
Diffbase: #4631

When reviewing this, you can see only the changes limited to this piece of work by choosing the following option from the "Files changed" page:


Exception reporting for Agents

How about including something like this: https://github.com/ankane/errbase
Since Agent#error only takes a string as an argument I would suggest adding it here and here!

Hi @joenas,
that looks like an interesting option. We already have an open issue about this topic (#1957) , would you mind adding it to the discussion there?

Done and done

Thanks!


Separator for user and auth provider should be revised

For now we are using @ for separate the user name and auth provider at least in WebSecurityConfig and in UserUtils.kt
But this symbol is not the variable and just the hardcoded symbol, so its hard to maintain this functionality
First of all, it should be extracted into the variable in save-cloud-common
And after this, we probably will need to change @ to something else, since @ is too dangerous to be a spec symbol
This work should be done under separate issue and very carefully, since it influence on core functionality - API application, auth. integration tests, db

CRITICAL thing we have just found:

User VLAD comes from Github
Initially spring register him as VLAD@GITHUB
Then he is redirected to a registration view, where he CAN change VLAD name to ANDREY
ANDREY comes from GITHUB
Now ANDREY is not even able to press OAuth registration button

That's why we need to GENERATE a our own SAVE ID for user when he first time register!

seems, that @ should not influent on problems with email at all, since its only used in basic auth, but should be extracted anyway

        .httpBasic { httpBasicSpec ->
            // Authenticate by comparing received basic credentials with existing one from DB
            httpBasicSpec.authenticationManager(
                UserDetailsRepositoryReactiveAuthenticationManager { username ->
                    // Looking for user in DB by received source and name
                    require(username.contains("@")) {
                        "Provided user information should keep the following form: oauth2Source@username"
                    }

Also be careful with Basic oauth

That's why we need to GENERATE a our own SAVE ID for user when he first time register!

    fun findByName(name: String): User? {
        val record = namedParameterJdbcTemplate.queryForList(
            "SELECT * FROM save_cloud.user WHERE name = :name",
            mapOf("name" to name)
        ).singleOrNull() ?:
        namedParameterJdbcTemplate.queryForList(
            "SELECT * FROM save_cloud.user WHERE id = (select user_id from save_cloud.original_login where name = :name)",
            mapOf("name" to name)
        ).singleOrNull()
            .orNotFound {
                "There is no user with name $name"
            }
        return record.toUserEntity()
    }

For history
A&A in save-cloud:
Basic auth:

Request comes to api-gateway with header Authorization: Basic ***:***
api-gateway has UserDetailsRepositoryReactiveAuthenticationManager (com.saveourtool.save.gateway.security.WebSecurityConfig) which uses internal endpoint in backend to get all entities from user with user.name, user.password (token) and user.role.
Authenticated request comes then to com.saveourtool.save.gateway.utils.ConvertAuthorizationHeaderGatewayFilterFactory which adds a new header Authorization to request to backend. It passes only user name without password.
Backend uses com.saveourtool.save.authservice.security.ConvertingAuthenticationManager to authenticate: it checks only username

OAUTH2

Request comes to *api-gateway after successful authentication on oauth2 server (github, google and etc).
Authenticated request comes then to com.saveourtool.save.gateway.utils.ConvertAuthorizationHeaderGatewayFilterFactory which searches user.name via internal endpoint in backend and adds a new header Authorization to request to backend. It passes only user name without password.
Backend uses com.saveourtool.save.authservice.security.ConvertingAuthenticationManager to authenticate: it checks only username

For history
A&A in save-cloud:
Basic auth:

Request comes to api-gateway with header Authorization: Basic ***:***
api-gateway has UserDetailsRepositoryReactiveAuthenticationManager (com.saveourtool.save.gateway.security.WebSecurityConfig) which uses internal endpoint in backend to get all entities from user with user.name, user.password (token) and user.role.
Authenticated request comes then to com.saveourtool.save.gateway.utils.ConvertAuthorizationHeaderGatewayFilterFactory which adds a new header Authorization to request to backend. It passes only user name without password.
Backend uses com.saveourtool.save.authservice.security.ConvertingAuthenticationManager to authenticate: it checks only username

OAUTH2

Request comes to api-gateway after successful authentication on oauth2 server (github, google and etc).
Authenticated request comes then to com.saveourtool.save.gateway.utils.ConvertAuthorizationHeaderGatewayFilterFactory which searches user.name via internal endpoint in backend and adds a new header Authorization to request to backend. It passes only user name without password.
Backend uses com.saveourtool.save.authservice.security.ConvertingAuthenticationManager to authenticate: it checks only username

may be add in readme, into some dev guide?

For history
A&A in save-cloud:
Basic auth:

Request comes to api-gateway with header Authorization: Basic ***:***
api-gateway has UserDetailsRepositoryReactiveAuthenticationManager (com.saveourtool.save.gateway.security.WebSecurityConfig) which uses internal endpoint in backend to get all entities from user with user.name, user.password (token) and user.role.
Authenticated request comes then to com.saveourtool.save.gateway.utils.ConvertAuthorizationHeaderGatewayFilterFactory which adds a new header Authorization to request to backend. It passes only user name without password.
Backend uses com.saveourtool.save.authservice.security.ConvertingAuthenticationManager to authenticate: it checks only username

OAUTH2

Request comes to api-gateway after successful authentication on oauth2 server (github, google and etc).
Authenticated request comes then to com.saveourtool.save.gateway.utils.ConvertAuthorizationHeaderGatewayFilterFactory which searches user.name via internal endpoint in backend and adds a new header Authorization to request to backend. It passes only user name without password.
Backend uses com.saveourtool.save.authservice.security.ConvertingAuthenticationManager to authenticate: it checks only username

may be add in readme, into some dev guide?

will do, when finish with this issue

TODO:

[ ] test API after changing
[ ] refactor BackendService and receive save's entity\class instead of spring's one to allow to provide ID


Crash - EXC_BAD_ACCESS (SIGBUS)

I wrote some code running on my laptop which uses Explorer to open a local file, saved as parquet, and then post this to a google spreadsheet.  This is in a local phoenix instance.  (Separately, in local livebook, the parquet file is created and is saved, also periodically.)
A genserver periodically calls the code below, once every 20 mins.  After a few hours of troublefree working, BEAM crashed.  I don't know what to make of the crash report.  Perhaps this is of interest to someone here?
(I am a newbie and not a programmer ... I am hacking to get the job done! )
The following is the only Explorer code in the phoenix app:
 def unbounce_leads_fetch_from_parquet(qty) do
    universal_keys = [
      "created",
      "name",
      "phone",
      "email",
      "message"
    ]

    qty = qty || 5
    df_parquet_temp = Explorer.DataFrame.from_parquet!("/Users/User/UnbounceLeads_parquet")

    df_subset =
      DataFrame.head(df_parquet_temp, qty)
      |> DataFrame.select(universal_keys)

    Enum.map(DataFrame.names(df_subset), fn head ->
      Explorer.DataFrame.pull(df_subset, head) |> Explorer.Series.to_list()
    end)

  end

crashreport.txt

@davidtew if I had to guess:

parquet files are memory mapped
the error is related to memory access
the error happened deep within Rust: libexplorer-v0.4.0-nif-2.16-x86_64-apple-darwin.so	       0x11820dc73 std::io::Read::read_to_end::hcefb6c0b54d628cf + 243

This was a hardware fault leading to a crash. Please let us know if you run or you can reproduce this issue consistently.

Thank you.  From hereon in I shall be writing Elixir code to call from and write to many different spreadsheets, so if there is a likelyhood for this to happen it should manifest itself.
(Perhaps I could in future move to a different pc (linux) to see if the different hardware changes things.)

@davidtew could you try to update to Explorer v0.5.0?
We just released yesterday. Since we had a Polars update, maybe this could be fixed (although I didn't find any issue in their repo).

thanks @philss ... upon your suggestion I've upgraded to v0.5
I will let it run and run, and report if there are any more instances

@davidtew  did you experience the problem again?

@philss everything is fine with the update to v0.5.0 running constantly, now for one month, being called at 7 minutes intervals by GenServers thrice in different modules. Same hardware.


Own Model Training with own dataset regarding

I downloaded the file under the folder named CRNN_Tensorflow-master
And I kept my dataset under the name CRNN_Tensorflow-master\imagesdataset
And I kept the sample.txt file in CRNN_Tensorflow-master but when I try to run the write_features.py code it  shows an assetion error as " assert ops.exists(self.__train_dataset_dir)"
Please let me know and Thanks in Advance!
Also the steps are not described clearly please anyone describe the steps in clear!Thanks!

@niyaz1996 You might orgnize your own dataset in a wrong way, please follow the readme file to reorgnize your own dataset

Yes!It's working for me!Thank you very much!

And I want to know whether t

his net can be applied to retail images to extract the text from it! I attached an example with this message and I want to extract some text(probably BIOELEMENTS/ any other text) that I see .
Thanks in advance!

@niyaz1996 Hello,I wonder how to orgnize  own dataset,should we divide the dataset into train,test,validation ourselves?can you show me the form of the dataset file

I have the same problem. In data_provider.py, it asserts dataset_dir has sub dir 'Train'. But in the readme file, there is no instruction to have Train or Test subfolders.
self.__train_dataset_dir = ops.join(self.__dataset_dir, 'Train')
self.__test_dataset_dir = ops.join(self.__dataset_dir, 'Test')

assert ops.exists(dataset_dir)

@niyaz1996 @odgiv  @zxy3416391 Did you make subfolders? Did it solve your problem?

@jetjodh Yes. You have to create Train and Test subfolders inside dataset dir. Put images and sample.txt in them.
Like here


i18n変換ミス(DevTools)

Summary

Expected Behavior

Actual Behavior

Steps to Reproduce

Environment

There is more: https://github.com/syuilo/misskey/search?q=%25i18n&unscoped_q=%25i18n


Remove deprecated checkLooseType

checkLooseType is complex, error-prone (there have been more bugs with it than I can count) and adds additional complexity.
We are already not adding more checks like that, but the codebase still contains a huge amount of them.
Removing them will increase consistency, reduce the code base and reduce the likelihood of false positive type errors.
cc: @rochoa

opacity() with variables is broken due to this

Good catch 🎉

I reviewed every expression constructor and I found several things:

Some expressions check for string/number literals. Sometimes it's due to clear implementation limitations, but other times it would be easy to remove that limitation.
reverse checks the type at constructor time and it is broken with palettes under variables
animation has a isA check at constructor time. The automatic linear don't work with variables. This was also discovered by @jgoizueta
Binary has a getSignatureLoose which I think was used before for a check, right now I think it is safe, but better to remove it.
blend has one "checkLooseType" check, I think it is correct, but better to remove it
Asc/Desc have problematic checks and are broken with variables
SVG assumes a string literal as the first parameter, but it is not checked. So it is broken under variables (in this case this is probably an understandable limitation), but the error on non-string parameters is probably a nightmare
Time has literal-like limitations and it has undocumented functionality
Top has a  checkInstance that breaks it with variables

I'm going to priotize them and I'll try to fix the most important ones. However, I don't think I'll remove every "no-variable input" limitation since I don't think it may make sense every time.

Waiting for time aggregations to close this


Added support for webhook transaction event

Added methods to subscribe and unsubscribe to transaction event.
Updated tests

thanks!

no problem.

release as v1.0.6


Research AFSecurity object DSC Resource use cases

Research spike to explore how best to expose AF Security objects for use in DSC. Considerations for utility, manageability, simplicity and safety.
Approaches taken to implement NTFS access control in DSC should be considered for review,
such as SNikalaichyk/cNtfsAccessControl.

Migrated to PI-Security-DSC Issue.


[BUG] unexpected subscription liveness timeout during test run

Reproduction steps
During execution of SMOKECO test cases (2.4 in this case), the following report is generated during text execution:
Executing Test Step: Step 19: TH waits for a report of HardwareFaultAlert attribute from DUT with a timeout of 300 seconds
CHIP:TOO LWS_CALLBACK_SERVER_WRITEABLE
CHIP:TOO LWS_CALLBACK_SERVER_WRITEABLE
CHIP:DMG Subscription Liveness timeout with SubscriptionID = 0xde27ab3a, Peer = 01:038D6E7A43AE2F4D
CHIP:IN SecureSession[0xffff90060bb0]: MarkAsDefunct Type:2 LSID:12462
CHIP:SC SecureSession[0xffff90060bb0, LSID:12462]: State change 'kActive' --> 'kDefunct'
CHIP:DMG MoveToState ReadClient[0xffff90039a70]: Moving to [ Idle]
Test Failure: The test expects no error but the "FAILURE" error occured.
As noted above, this is causing the test script to fail, as the report was unexpected.
from @cecille:
The TL;DR is there are two things that need to be updated in the runner:

The runner needs to ensure it's shutting down the previous subscriptions if a new one comes in with keepSubscriptions = false. I've not done a lot of work on the python runner itself, but in the base python code, a subscribe request returns a SubscriptionTransaction object, and that object will continue to expect reports until Shutdown() is called. My suspicion is that Shutdown is not being called, and this never came up before because we don't have a lot of tests that last long enough to cause a timeout and have multiple subscriptions
The timeout value for the expected report needs to be implemented in the python runner

The following thread contains further details: https://csamembers.slack.com/archives/C03MA7WR7Q8/p1692220287683199
Bug prevalence
always
GitHub hash of the SDK that was being used
cca64af176705cf009d979826b5815ab56e152a7
Platform
raspi
Platform Version(s)
No response
Anything else?
No response

The following log may be related to this issue, as well.
Complete_2023_08_23_11_28_56.log


TerserWebpackPlugin  - build for a long time（有什么方法）

Yes, minification take a time, you can use swc - https://github.com/webpack-contrib/terser-webpack-plugin#swc to speed up

Yes, minification take a time, you can use swc - https://github.com/webpack-contrib/terser-webpack-plugin#swc to speed up

thanks

Yes, minification take a time, you can use swc - https://github.com/webpack-contrib/terser-webpack-plugin#swc to speed up

My problem is solved very well, thank you


Bug Report: Search resets annotation on text classification hand labeling with multi_label=True

It appears that the search function on labels in case of hand labeling - text classification with multiple labels clears all prior annotations on close. This creates a major bug, because it is not apparent immediately that the prior annotation labels have been reset since they are out of visible scope. The problems is even more pronounced if you are working with a large number of labels.
Steps to reproduce:
Create a DatasetForTextClassification with an array of records created using

records = []
for idx, row in df.iterrows():
    records.append(make_record(row))
dataset_rb = rb.DatasetForTextClassification(records)

def make_record(row):
  record = rb.TextClassificationRecord(
          text = row["text"],
          multi_label = True
  )
  return row

Assign a large amount of labels to the dataset

  settings = rb.TextClassificationSettings(label_schema=get_lots_of_labels())

  # apply settings to new or already existing dataset
  rb.configure_dataset("my_dataset_name", settings=settings)

  # logging to the newly created dataset triggers the validation checks
  rb.log(dataset_rb, "my_dataset_name")

Switch to the web app and try hand labeling, use the search on the labels (not the record) for toggling select, try a few search string and clear out search string after making selections, only the most recent labels maintain state, all prior label toggles get reset.
Appears to be a state management issue.

Thanks for reporting @dhruvsakalley
We will take a look at this problem as soon as possible

Thank you for the prompt response @frascuchon, similar behavior can be replicated while bulk annotating, it clears any prior annotations, now I wonder if the other controls respect the multi_label = True.

Thank you for the prompt response @frascuchon, similar behavior can be replicated while bulk annotating, it clears any prior annotations, now I wonder if the other controls respect the multi_label = True.

Dear @dhruvsakalley , sorry for the late heads up. This should be fixed on 0.18.0 we released last week.
Let us know if you find any issue.

Hi, I can confirm the issue is partially fixed, the search tags, annotate, seem to work as expected, however the bulk annotation with "annotate as" still does overwrite prior labels in a similar fashion as the search and annotate was doing. My apologies if this is intended way of working, but it does seem like a related issue. I can open another issue on the topic if you could confirm this is a bug and not a feature.

Hi @dhruvsakalley
Yes, is the expected behavior. The bulk annotation will set the selected labels as the annotated ones. Effectively, in some cases, working with multi-label text classification, this partial bulk annotation could be useful.
Let us discuss this internally to evaluate the feature @dvsrepo @davidberenstein1957
Again, thanks for your feedback!


Add support for OpenAPI custom extensions

Is your feature request related to a problem? Please describe.
Some of our OpenAPI specifications are new and under development, it becomes difficult to exclude them from automating backward compatibility checks (as they will often fail due to changes).
Describe the solution you'd like
Add support for filtering based on OpenAPI custom extensions (e.g. -exclude-extension x-beta)
Describe alternatives you've considered

Manual script parsing schemas and comparing against oasdiff
Enabling manually oasdiff for specific APIs (increases maintenance, defies automation).

Additional context
Add any other context or screenshots about the feature request here.

Hi @petkostas,
Thanks for submitting this issue.
Before adding another configuration flag to support your request, I'd like to suggest using the Operation Tag instead of Specification Extensions to document your APIs.
What do you think?

Hi @reuvenharrison thanks for the suggestion, we do you the specification extensions, but there are also some tools that add custom operation tags.
Obviously, the exclude filter could take into consideration tags, the suggestion for the extension was mostly based on the fact that some other OSS tools make use of it.
In our case the operation tag would be also a perfect candidate!

I have two follow up questions:

Can you provide an example of an OSS tool that uses extensions? I'd like to make sure that I understand this.
What happens if an API has an 'x-beta' extension in one of the specs only? For example:

Spec 1:
info:
  title: Tufin
  version: 1.0.0
openapi: 3.0.3
paths:
  /api/test:
    x-beta: true
    get:
      responses:
        200:
          description: OK

Spec 2:
info:
  title: Tufin
  version: 1.0.0
openapi: 3.0.3
paths:
  /api/test:
    get:
      responses:
        200:
          description: OK

what should be the results of:
oasdiff -base spec1 -revision spec2
and:
oasdiff -base spec2 -revision spec1

@reuvenharrison examples of using extensions:

https://redocly.com/docs/cli/guides/hide-apis/
Stoplight also uses an x-private extension
We are not currently using an extension to mark APIs as beta (and as you mentioned we can easily also use a tag for it), to help you understand more, we use oasdiff in our repository pipelines. every MR checks for changes against the master repo reference.
For the moment as we can't support tags or extensions, we have to manually specify which APIs are stable and additionally the ones under development. In case there is a change of the APIs under development oasdiff needs to be completely bypassed by using a commit-specific title.
I hope this makes it a bit more clear.
In your example, oasdiff would completely ignore the specific path when comparing it.


Use case of UDR with Express Route and BGP

In relation to BGP: The original text states "You cannot create user-defined routes if you deploy a virtual network gateway deployed as type: ExpressRoute". This isn't correct. You still can use UDR to force traffic from the ER GW to, for example, an NVA. This is inline with Microsofts reference architectures. It isn't possible to define a User Defined Route to force traffic back to onprem. This is handled by the BGP advertised routes.

@FabianKLS : Thanks for your contribution to the Azure documentation! The author, @jimdial, has been notified to review your proposed change.

Thanks @FabianKLS. #sign-off


Run tests on continuous integration server

Link repository to continuous integration server (e.g. Travis - https://travis-ci.org/) for automated testing.

I have added the modality repo on my Travis account and added a .travis.yml file. Currently the build fails since dependencies are not properly handled in setup.py, I think this is one of the issues that you have made already so I left it that way for now.

Thanks @kjohnsson, I'll take a look at the tests soon.


Status Page Resources Throws Error when there is two Monitor Group added to Status Page Resource

Describe the bug
The Status Page won't load when you add more than one monitor group in group page resource in the status page
To Reproduce
Steps to reproduce the behavior:

Go to Status Page, then in the resource tab of create a status page resources. Add two group monitor in that status page resources.
Open the status page preview
See the error TypeError: Cannot read properties of undefined (reading 'priority')

Expected behavior
The Status page should load normally without error
Screen

shots

Desktop (please complete the following information):

OS: MAC
Browser: Chrome
Version: Latest

Deployment Type
self hosted: Helm oneuptime 7.0.2828

Thank you for letting me know! This is now fixed. Will be releaed by EOD today.


Swap Rust library error handling for enums

Changes

add Error enum to data module
add Error enum to trade module
update all affected platform services

Comments

Probably a better pattern than what was previously there. It could likely be tightened down even more in the platform services.

@chrisaddy I'm merging just because this has been open for a while.


Label-Studio-SAM: How to use the trained model to label other image?

There is a test_tracking.py file in tool, I also want to know how to use it (is it used on video?). Thank you very mcuh.

I noticed that label studio is able to annotate VIDEO OBJECT, see the link for the official documentation.


links don't work

Hi, either remove the page...or the links.  The links are dead!.

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

ID: 434226fd-7b8e-8217-d114-d04e19396fb8
Version Independent ID: b7ef306f-7045-9611-f5a7-02377b4cfc54
Content: Hyper-V Cloud Program for private cloud
Content Source: virtualization/community/team-blog/2010/20101107-hyper-v-cloud-program-for-private-cloud.md
GitHub Login: @scooley

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


matplotlib output not routed to "Python Interactive" pane by default

Issue Type: Bug

Copy example code from https://scikit-learn.org/stable/auto_examples/cluster/plot_cluster_comparison.html#sphx-glr-auto-examples-cluster-plot-cluster-comparison-py into new buffer
"Run Current File in Python Interactive Window"

What I expect: example data plot shown in the Python Interactive window
What I get: matplotlib windows flashing by for some time before stopping with an empty window that does not react to clicking and has to be force-closed, the IPython kernel then has to be restarted.
Sometimes I get what I expect by running %matplotlib inline before running the current file in it, but this does not work reliably. This should probably be the default?
Extension version: 2019.5.18875
VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 x 3408)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.87GB (8.58GB free)

Process Argv

Screen Reader
no

VM
0%

Something about that code is messing up matplotlib.
If I run a normal plot after running that code, we don't get plotviewer to show up either.

I think once you call plt.show(), subsequent invocations are no-ops. You need to make a new plot for it to launch the plotviewer again.

Sorry I meant our internal plot viewer. Our next release supports double clicking on a plot to open a new window.
If I run this code after running your example:
import matplotlib.pyplot as plt
import matplotlib as mpl

x = np.linspace(0, 20, 100)
fig, ax = plt.subplots(figsize=(5,10))
plt.plot(x, np.sin(x))

Our new functionality doesn't work on the image produced.
So something in your example is overriding the behavior of jupyter's inline plotting.
Not sure what yet.

Because this is from sample code, we should at least understand what's happening here.

It does eventually show a plot in jupyter

Okay this works for me, it's just really slow. That plot is freaking huge.
You might want to add this code to the interactive window before running the plot:
%config InlineBackend.figure_format = 'png'

This will force Jupyter to render the output as png instead of our default of svg. That will make a plot that's smaller at least, but you won't be able to zoom in on it.

Is it possible to make VSCode do that automatically? If I put that in a .py file, I will get errors 😢

It's by design that we don't do that at the moment because we need svg to use the plotviewer window.
However this PR: https://github.com/microsoft/vscode-python/pull/6364 is adding an option to disable the plot viewer by forcing that value internally. Once that PR goes through you can set 'enablePlotViewer' to false and then Jupyter will render using pngs instead.


Workflow test variants.

The predefined workflow test script eden.workflow.tests.txt supports the EDEN_TEST environment variable for setting of test variants:

The default variant without setting the 'EDEN_TEST' variable -- optimized for the usual test suite of CI / CD tasks. You need to reset/clean eden before running.
Variant 'small' -- optimized for quick testing of coomon development workflow. No cleaning and reinitialization required between test cycles.
Variant 'large' -- complete set of tests for full testing. You need to reset/clean eden before running.

The test variant can be selected at runtime by setting the environment variable:
EDEN_TEST=small eden test tests/workflow/

or by chosing of autogenerated by eden template machinery workflow scenario:

workflow.default.txt
workflow.small.txt
workflow.large.txt

For example:
eden test tests/workflow/ -s workflow.large

Signed-off-by: Oleg Sadov<EMAIL_ADDRESS>

LGTM


never ending annoying as F%^k never ending nag to re  re re re re authorize.

never ending nag to re re re re re re authorize and then you get to re authorize again and again and again.
you literally authorize more than you actally use the integration
deleting, uninstalling and never going near this annoying nag ware ever again

SERIOUSLY DUDE!
"Dumb People Shouldn't have Smart Homes" And wouldn't if not for people like @alandtse !!
Thanks @keatontaylor and @alandtse for all your time and effort as well as everyone else responsible for building and maintaining this addon.
Sorry , i know this is closed but had to speak my peace.

@msauto I appreciate the support but I do want to keep the repo respectful so I will lock the thread and also hide your comment.


Google fonts refactor

It looks promising and it's definitely faster than using the links method...
However the main issue right now is that when changing fonts in the customizer, the script is not getting updated unless we save & reload the page.


Documentation for '_strerror_s' Incorrectly States Return String Terminates with Newline

The documentation for _strerror_s claims that

If strErrMsg is NULL, [...] the error-message string is terminated by the newline character ('\n').

and

If strErrMsg isn't equal to NULL, then _strerror_s returns a string in buffer that contains [...] and a newline character.

However, the following test in my environment shows that, in both cases, the returned string is in fact not terminated by a newline:
#include <stdio.h>
#include <string.h>

int main()
{
// try to open file (expect failure)
FILE *result;
if (_wfopen_s(&result, L"does not exist", L"r") == 0) return 1;

/* Case 1: strErrMsg is NULL */ {
	/* "If strErrMsg is NULL, _strerror_s returns a string in buffer that contains
	   the system error message for the last library call that produced an error.
	   The error-message string is terminated by the newline character ('\n')." */
	// try to get system error message (expect success)
	char message[80];
	if (_strerror_s(message, sizeof message, NULL) != 0) return 1;

	// as per documentation, expecting last character to be a newline-- but it is not
	fprintf(stderr, "Case 1: last character %s a newline\n", message[strlen(message) - 1] == '\n' ? "is" : "is NOT");
	}

/* Case 2: strErrMsg is not NULL */ {
	/* "If strErrMsg isn't equal to NULL, then _strerror_s returns a string in buffer
	   that contains (in order) your string message, a colon, a space, the system error message
	   for the last library call that produced an error, and a newline character." */
	// try to get system error message (expect success)
	const static char prefix[] = "can't open file";
	char message[80];
	if (_strerror_s(message, sizeof message, prefix) != 0) return 1;

	// as per documentation, expecting last character to be a newline-- but it is not
	fprintf(stderr, "Case 2: last character %s a newline\n", message[strlen(message) - 1] == '\n' ? "is" : "is NOT");
	}

return 0;
}

Running produces the following output:
Case 1: last character is NOT a newline
Case 2: last character is NOT a newline

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

ID: 48ba2ec2-b636-574d-f749-c3a6060a73dc
Version Independent ID: ba19e8ab-6b4f-295d-e4e7-ee6a6cb0d302
Content: strerror_s, _strerror_s, _wcserror_s, __wcserror_s
Content Source: docs/c-runtime-library/reference/strerror-s-strerror-s-wcserror-s-wcserror-s.md
Product: visual-cpp
Technology: cpp-ucrt
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@heksterb , thank you for pointing this out. You are correct. I got curious about the related functions, and found an interesting thing. Of all the related functions, only __wcserror() adds a newline. I updated the docs accordingly.  Here's a little table of what I found:

Func
\n added to the end?

strerror
No

_strerror_s
No

_strerror_s case 2
No

__wcserror
Yes   (x00, x0A)

__wcserror_s
No

__wcserror_s case 2
No

The changes should be live by tomorrow afternoon (6/2)


ARROW2: Optimize parquet read memory usage

Describe the bug
First reported by @ic4y at https://github.com/apache/arrow-datafusion/pull/1556#issuecomment-1012809108.
This is also causing TPCH q7 benchmark to fail due to OOM in  https://github.com/apache/arrow-datafusion/issues/1652#issuecomment-1019622028.
To Reproduce
Compare peak memory usage between https://github.com/apache/arrow-datafusion/commit/2008b1dc06d5030f572634c7f8f2ba48562fa636 and https://github.com/apache/arrow-datafusion/commit/c0c9c7231f9c5685fda5fc9294fdc1711384b6fb when processing a parquet table.
Expected behavior
Memory usage should be on par with arrow-rs or alternatively we should have an option in arrow2 to let user make memory usage and array segmentation tradeoffs.
Additional context
Related upstream issue: https://github.com/jorgecarleitao/arrow2/issues/768

It looks like related upstream issue is now closed: https://github.com/jorgecarleitao/arrow2/issues/768

I think we can close it as arrow2 and arrow will be merged in the future.


Add binding attribute to converter context

Adding the binding attribute for a given parameter to the converter context, this enables converters to have all the information they need about the attribute a parameter is using without having to make a roundtrip to WebJobs.

Flagging for review


Added labels for issues

I think it would be great to automatically add labels for issues to make it easier to navigate them

I created the icon-request labe because it didn't exist yet.
It's working now.


Add serf

https://github.com/aquaproj/aqua-registry/issues/858
https://github.com/Banno/asdf-hashicorp
https://www.serf.io/
https://github.com/hashicorp/serf

This tool seems to be difficult to deal with because the GitHub Tags do not always match the assets version.
The latest version that currently exists on GitHub Release is 0.10.1, but the latest version available for download appears to be 0.8.2.
https://github.com/hashicorp/serf/releases/tag/v0.10.1
https://releases.hashicorp.com/serf/0.8.2/serf_0.8.2_darwin_amd64.zip
Incidentally, asdf seems to show the available versions from the following URLs.
https://github.com/asdf-community/asdf-hashicorp/blob/master/bin/list-all


find/replace is buggy

I'm attempting to use find/replace to replace the "\n" character. RegEx is checked. If I use the find/replace function (ctrl-F), I will get an error saying "Incompatible line delimiter near index 5" (or whatever character position the carriage return is at). If I use the Search function (ctrl-H), weird things happen altogether. It's hard to explain, but it appears to work, then lines of text appear and disappear and overall functionality is affected until I restart DBeaver.
I have tested this on version 4.0.2 on two separate Windows 7 systems. I could not find any other bug reports with this issue, but I apologize if it is already posted somewhere.
BTW, thanks for your hard work on this top-notch tool. We are migrating to it from SQL-Developer and considering replacing Toad, as well.

This is Eclipse platform issue: http://stackoverflow.com/questions/6619851/remove-empty-lines-in-eclipse-code-editor-by-find-replace-ctrlf
Workarounds:

Use \R instead of \n to replace any linefeeds.
Convert file linefeeds to UNIX (in File menu) and use \n

find & replace tab add copied line in find field , I want to add it is replace with automatically to speedup working, is there any way to do it ?


Move master version ahead of the last tag

Consumers may want to support both latest release and master snapshot. To do so they can check WLR_VERSION_* but because wlroots only bumps minor version just before a tag is created it's not usable. So, some consumers choose to not support wlroots master until after the changes end up in a release that may end up being less stable due to not being tested in advance.

Do people really want to support building with different wlroots versions? Looks like it would be some pretty annoying #ifdef soup…

For example, A project master branch uses dependency('wlroots', version: ['>=0.12.0', '<0.13.0']) and builds fine with wlroots 0.12.0 tag while B project master branch using the same statement fails because it wlroots master which hasn't bumped version yet.

Right. Some projects use version numbers like 1.90.0 for the development version after 1.0.0 is released. I'm not a fan of abusing version numbers like this though…

Yeah, let's not break version number continuity with hacks like that.
The cleanest method is probably just bumping the minor immediately after a tag, so master basically always represents an alpha/beta of a future release. It's the same amount of work as bumping before a release, although harder to remember to do. If we want to do a major release then two bumps will end up occurring between releases, but it shouldn't have any consequence. Patch releases when made on a maintenance branch from a release tag should be unaffected.
The "snapshot" version approach, just like the hack version number, is more of a chore as it requires first setting a real version number, tagging the release, then undoing the real version number again.

The cleanest method is probably just bumping the minor immediately after a tag, so master basically always represents an alpha/beta of a future release.

That sounds like a good idea.

Done in 1c10079a67ca. I've also updated the instructions on the wiki: https://github.com/swaywm/wlroots/wiki/Core-contributor-guide#releasing-a-new-version


Multiselect list: Each item should have a checkbox differentiating two subsets of the selection

Each item of the multiselect list should have a checkbox differentiating two subsets of the selection.
This is intended to enable more complex operations requiring two different sets of operands. For example a copy tags operation needs to know from which feature the tags have to be copied to which other feature(s).
The checkbox could be styled as a flag, which can be empty or red filled, so we can talk about flagged and unflagged features.
Preferably some additional controls, like keyboard shortcuts, shoud exit, which allow to add a feature to the selection directly having the desired flag state.

Closing; see https://github.com/openstreetmap/iD/issues/2971#issuecomment-180173058.


add riscv64 compile support

Use rv64gc as a common baseline of Linux distros.

This looks to me like an incomplete change. It would be better to have a toolchain file for both 32 bit and 64 bit builds. Something like this. Also update the building.md on how to compile for riscv targets.

It would be better to have a toolchain file for both 32 bit and 64 bit builds.

I don't have a riscv32 environment to test and riscv32 is not well prepared for a Linux distro AFAIK, is it appropriate for me to add riscv64 changes only?

It would be better to have a toolchain file for both 32 bit and 64 bit builds.

I don't have a riscv32 environment to test and riscv32 is not well prepared for a Linux distro AFAIK, is it appropriate for me to add riscv64 changes only?

I think it should be fine. For whatever architecture the support is being added, lets add a toolchain and update the documentation

This looks to me like an incomplete change. It would be better to have a toolchain file for both 32 bit and 64 bit builds. Something like this. Also update the building.md on how to compile for riscv targets.

Updated.


SAMOA-21: Fix dev subscriptions email addresses

Change from storm to incubator.samoa in the mailing addresses. Fixes SAMOA-21

+1

+1


mapped BAM index not produced in high-throughput (ht) mode

Description of the bug
Hi! I was expecting a mapped BAM index to be output alongside the final mapped BAM when running fastquorum in high-throughput mode. Perhaps I'm missing something from my params file (see below). If I'm not missing anything, it would be useful if this was implemented in a future release. Many thanks!
Command used and terminal output
# run command
nextflow run nf-core/fastquorum \
-r dev \
-profile singularity \
-c fastquorum_ht.config \
-params-file fastquorum_params.yaml \
-with-trace trace.txt \
-with-report report.html \
--input samplesheet.csv \
--outdir /scratch/fastquorum

Relevant files
# parameters file: fastquorum

## Main options
mode: "ht"

## fgbio options
duplex_seq: true

## References
fasta: "/GATK.GRCh37/human_g1k_v37_decoy.fasta"
bwa: "/GATK.GRCh37/BWAIndex"
dict: "/GATK.GRCh37/human_g1k_v37_decoy.dict"
fasta_fai: "/GATK.GRCh37/human_g1k_v37_decoy.fasta.fai"
save_reference: false

# config file

// Institute HPC nf-core configuration profile
params {
    config_profile_description = 'Institute HPC cluster profile'
    config_profile_contact     = 'user'
    config_profile_url         = "https://institute.org/"
    monochromeLogs = false
    max_memory = '300.GB'
    max_cpus   = 40
    max_time   = '336.h'
}

// Queue
executor {
    queueSize         = 100
    queueStatInterval = '1 min'
    pollInterval      = '1 min'
    submitRateLimit   = '20 min'
}

// SLURM
process {
    executor = 'slurm'
    cache    = 'lenient'
    beforeScript = 'module load singularity'
    stageInMode = 'symlink'
    queue = { task.time < 2.h ? 'prod_short' : task.time < 24.h ? 'prod_med' : 'prod' }
    errorStrategy = { task.exitStatus in [1] ? 'retry' : 'finish' }
	withLabel:error_retry {
		errorStrategy = 'retry'
		maxRetries    = 4
	}
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:FASTQC' {
    cpus = 4
    memory = '15.GB'
    time = '1h'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:FASTQTOBAM' {
    cpus = 2
    memory = '5.GB'
    time = '1h 55m'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:ALIGN_RAW_BAM' {
    cpus = 19
    memory = '45.GB'
    time = '1h 55m'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:MERGE_BAM' {
    cpus = 4
    memory = '2.GB'
    time = '1h'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:GROUPREADSBYUMI' {
    cpus = 4
    memory = '5.GB'
    time = '1h 55m'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:COLLECTDUPLEXSEQMETRICS' {
    cpus = 2
    memory = '5.GB'
    time = '1h 55m'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:CALLANDFILTERDUPLEXCONSENSUSREADS' {
    cpus = 5
    memory = '20.GB'
    time = '3h'
    }
    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:ALIGN_CONSENSUS_BAM' {
    cpus = 10
    memory = '35.GB'
    time = '4h'
    }

    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:MULTIQC' {
    cpus = 1
    memory = '1.GB'
    time = '1h'
    }

    withName: 'NFCORE_FASTQUORUM:FASTQUORUM:SORTBAM' {
    cpus = 2
    memory = '5.GB'
    time = '1h 55m'
    }
}

// SINGULARITY
// If using custom files using ext.args, you need to mount the folder
singularity {
    enabled = true
	cacheDir = "/path/nextflow"
}

// Overwrite when resuming
trace {
    overwrite = true
}

report {
    overwrite = true
}

System information
Nextflow version: nextflow/23.04.1
Hardware: HPC
Executor: slurm
Container engine: Singularity
OS: CentOS 7 (rip)
Version of nf-core/fastquorum (from MultiQC Report html): nf-core/fastquorum v1.0.1

I think it may be being made, but not exported. Can you take a look in the working directory for ALIGN_CONSENSUS_BAM?

thank you! yes it is there

This is still an issue that needs fixing.
For now, you can change the publishDir rule for the process to ensure it does get published.

Try adding this as a seperate config file for now:
    withName: '.*ALIGN_CONSENSUS_BAM' {
        publishDir = [
            path: { "${params.outdir}/filtering/align_consensus_bam/${meta.id}" },
            mode: params.publish_dir_mode,
            pattern: '*.mapped.bam*'
        ]
    }

This should be fixed in the new dev version, so that the index file is actually exported.

The index files weren't exported.
I got the latest version of the dev branch:
nextflow pull nf-core/fastquorum -r dev
And ran git log dev -1 --format=%cd #Tue Sep 24 13:02:58 2024

@lauren-tjoeka. Odd the tests were passing. I was able to replicate. Looks like it's because of a space in the glob pattern.
https://github.com/nf-core/fastquorum/pull/80 should resolve this.

Ah, didn't notice the space there.
Can you test it is fixed now?

works great now! thank you!


Another Sanctum config for all tenants

I need to change the path to the Sanctum API for all tenancies. I would be grateful for an example of implementation. I read the documentation for TenancyConfig, but I didn't figure out how to make exactly my case.

Central App already has Sanctum with /sanctum path and I need /tenant-api path for all tenants. If I change global config, then it conflicts with existing code.

Sanctum allows to be configured to disable routes,
config('sanctum.routes')

If you add:
'routes' => false

To you sanctum.php, you'll be able to define your own routes for each individual context (Central / Tenant)

There's an existing issue for Sanctum - #327, so I'm closing this.


Add duplicate icon from wagtail-react-streamfield

In the effort to keep gradually integrating wagtail-react-streamfield into Wagtail, here is an icon needed by wagtail-react-streamfield. This is one of the tricky-to-maintain overrides done by wagtail-react-streamfield, that’s why it’s easier to integrate it earlier than the rest.

Note that the icon is integrated both in the icons font & as SVG, to makes the transition as smooth as possible.


Merge main into feature-focus

This PR merges the main branch into the feature-focus branch and resolves merge conflicts.
Also fixes failing CI checks.

cc @trallard


refactor FetchApi.kt

I refactored all FetchApi class, and now I'm using okHttp library. You can try refactor it again. For now i think this is best way to fetch api and I don't have plans to deeply refactor that class.


Forty-Second Community Call

The next call will be on Tue, Dec 20th at 6 pm CET (1700 UTC, 12 pm EST, 9 am PST). We will aim to include more projects from America this time.
Agenda:

Academy Second Cohort
Wasmd 0.30 / authz
Sylvia released
2022 Recap
Looking forward at 2023
CosmWasm Conference
Dev Notes Series
Open Q&A

Zoom link: https://us02web.zoom.us/j/81537953744?pwd=djJhZmJ2YW9Nd2p2eStQLytUVG44Zz09

https://vimeo.com/783663571 this is the replay, thank you for joining and watching the replay!


Package manager that works smoothly on Linux/OSX/Windows

The goal is to have something like Rust Cargo.
https://github.com/rust-lang/cargo
It should be implemented in Lean.
Core developers will help with missing APIs.

Fyi, I posted a thread on Zulip (leanpkg++ idea) related to a design idea for the new leanpkg. The basic idea is for developers to write package configuration in Lean itself rather than through something like leanpkg.toml. This would make builds in Lean much more flexible and allow for leveraging Lean's extensive metaprogramming capabilities in package managment. The idea seems to have some support, so it might be worth looking into.

The idea seems to be related to FAKE from F# or the Zig language as per the mentioned thread.

Hey all, I am just starting to learn Lean and wanted to give my perspective coming from the Python community, that sticking with a declarative package instead of using Lean to specify dependencies might have advantages.
The Python folks have spent a long time moving away from package information as code (setup.py) to declarative files (pyproject.toml) (emphasis mine):

The traditional setuptools way of packaging Python modules uses a setup() function within the setup.py script. Commands such as python setup.py bdist or python setup.py bdist_wheel generate a distribution bundle and python setup.py install installs the distribution. This interface makes it difficult to choose other packaging tools without an overhaul. Because setup.py scripts allowed for arbitrary execution, it proved difficult to provide a reliable user experience across environments and history.
PEP 517 therefore came to rescue and specified a new standard to package and distribute Python modules. Under PEP 517:

a pyproject.toml file is used to specify what program to use for generating distribution.
[...]

With this standard, switching between packaging tools becomes a lot easier. build_meta implements setuptools’ build system support.

@saulshanabrook I agree that declarative specification of dependencies is useful. However, I think that can be accomplished even with an interpreted configuration through the use of a lock file. Also, it should be noted that even in the case you described, the build system is still written in Python -- it is only dependency management itself that is declarative.
One other thing to note is that unlike python, where there is a pretty straightforward mapping between a package and an import, a package in Lean may end up containing many other things besides the module itself, and those things may wish to be configurable via scripting. For example, Lean package may even end up containing scriptable, custom UI widgets that may also wish to be configurable via the package script.
TL;DR Dependencies should ideally have a declarative listing. Other package management tasks (i.e., builds and complex configurations) need interpreted scripting.

The idea seems to be related to FAKE from F# or the Zig language as per the mentioned thread.

zig v0.11.0 releases zig-pkg initial support [WiP].

https://github.com/ziglang/zig/pull/14265

I think this issue is closed now that we have lake?


⚠ Bofrost.be has degraded performance

In cb97755, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2282 ms

Resolved: Bofrost.be performance has improved in 9edfd5e.


Change name "homematic"

As the convention in "home assistant" seems to be to use the vendor name for components/platforms it would help to avoid name confustion if this component could be called different (e.g. pyhomematic)

I don't think the library should be modified to fit a specific projects namespace usage. If there are conflicts, Python allows to do:
import homematic as pyhomematic

And using pyhomematic within Python seems a little redundant to me.

Your arguments seems valid. Unfortunatly I'm not able to impor the homematic module from pyhomematic. Instead it seems to open always the thermostat homematic module. Most likely this can be easily solved by someone more experienced.

If you installed pyhomematic via pip, then usually you do import homematic to use it. To import it using a different name, you would do import homematic as pyhomematic. I did just try it and it works for me.


refactor: Simplify RemoveChars

Small refactoring

I took the liberty to enable C# 13 features for NCronJob.  Wanted to get your thoughts on this one @falvarez1

The new params collections are pretty nice. Since you made the method public how does that impact the ability to use NCronJob from a .Net 8, C#12 application? Is it binary/source compatible? If this can be used from a .Net 8 app without needing to support C#13 then keep it as-is, otherwise it'll need the corresponding preprocessor directives.

The class is still internal. I try to stick to Microsofts coding guidelines, where they make classes internal and every function public instead of internal as it seems redundant.
The params Span is a SDK thing. So you need netsdk 9 to compile this, but there is no problem in using in .NET 8.
Otherwise our test suite hopefully wouldn't run!? Well at least that is my way of thinking, but we can easily skip that as this is a microoptimization.

FYI, was curious about the difference in allocations so I ran a benchmark, seems to be negligible with the previous approach.

Interesting - really neglecable. While I am still in favor of Contains, I am more indifferent about params ReadOnlySpan<char>.


Feedback requested for CWL v1.2.1 release

Hello,
We are asking for feedback for the CWL v1.2.1 release.
Changelogs for the release can be found below:
Workflow / ExpressionTool / Operation:
https://deploy-preview-115--cwl-v1-2-dev.netlify.app/workflow#Changelog_for_v1.2.1
CommandLineTool:
https://deploy-preview-115--cwl-v1-2-dev.netlify.app/commandlinetool#Changelog_for_v1.2.1
You can provide your feedback, as well as see a full summary of changes here: https://github.com/common-workflow-language/cwl-v1.2/pull/115.
We ask that all feedback be provided by August 31st.
Thanks!

Thank you @acoleman2000 for filing this; I've also made a ticket in the Pegasus Jira system: https://jira.isi.edu/browse/PM-1925


Carousel Button doesn't work on mobile

Expected Behavior
Button in Full Width Carousel working in mobile as it works in desktop.
Current Behavior
In mobile, the button tag or link tag doesn't trigger any click event.
Steps to Reproduce

Check this example on CodePen;
Open Developer Tools (F12 on Google Chrome);
Select Toggle device toolbar (Ctrl + Shift + M) to simulate a mobile;
Refresh the page (F5) when switch to mobile version;
You should have seen an alert as it worked in desktop;
You can use a smartphone too.

Context
I'm working with Progressive Web Apps and I chose Materialize to supply my need to Material Design. I need it working on desktop web and mobile.
My Environment

Materialize version used: 0.100.1;
Browser Name and version: Desktop: Google Chrome v59.0.3071.115 x64; Mobile: Google Chrome v59.0.3071.125;
Operating System and version: Desktop: Windows 7 Ultimate x64; Mobile: Android 7.1.1;
Link to CodePen for examples: CodePen Link.

I think the trouble might be because of the onclick="". Try using an event handler in Javascript:
$('.btn').on('click touchstart', e => {
  alert('working')
  console.log('working')
})

It's better if you give an id to the button and then you can select it with jQuery as $('#id')
Hope this helps!

Yeah, it works great! But in my case i'm using Angular 4 for handle click events.
Something like this: <button (click)="foo();">Click</button>
Do you know any kind of solution for it?
If necessary I can do a plunkr showing this issue but with Angular 4.
Thanks for your attention!

this looks like similar issue:
https://stackoverflow.com/questions/45464748/materializecss-tabs-with-buttons-not-working-on-mobile

@penguoir @econsolo I think i found why this is not workin on mobile.
I beat @penguoir used  $tabs.tabs({swipeable: true});.
If this option is set, click event is not working on mobile, because it waits for swipe.

@qweluke
As the Carousel use swipe by default are you saying that this issue is simular than tabs click on mobile with swipeable: true ?
For a while, I'll try to implement a separated button below the carousel to handle click events on Angular 4.

I'm pretty sure that this causes our problems :-(

Carousel uses tabs in small screens. What happens when you use event.stopPropagation();?

This is off the top of my head;
Maybe this is a problem with the carousel button event listener? Perhaps it only listens for click but doesn't listen to touchstart and therefore doesn't trigger on mobile?
Just a hunch. I'll look into it more.

If it is jQuery it will also trigger click. Should be the same in modern browsers?

This issue also occurs in Dropdown

I am also facing the same issue. Any temporary solution to this?
Working fine on desktop, but not on mobile.
Link to site:
dev.shurikenlive.com
On home page, the second section is carousel which is not working as expected.

Hey everyone, I was having an issue wherein my carousel swiping worked fine on desktop and did not work at all on mobile. After spending some time looking at the docs and the changes made from each version, I found a solution. Replacing
 function setupEvents() {
          if (typeof window.ontouchstart !== 'undefined') {
            view.on('touchstart.carousel', tap);
            view.on('touchmove.carousel', drag);
            view.on('touchend.carousel', release);
          }
          view.on('mousedown.carousel', tap);
          view.on('mousemove.carousel', drag);
          view.on('mouseup.carousel', release);
          view.on('mouseleave.carousel', release);
          view.on('click.carousel', click);
        }

from version v0.100.0 with what is found in previous versions
function setupEvents() {
          if (typeof window.ontouchstart !== 'undefined') {
            view[0].addEventListener('touchstart', tap);
            view[0].addEventListener('touchmove', drag);
            view[0].addEventListener('touchend', release);
          }
          view[0].addEventListener('mousedown', tap);
          view[0].addEventListener('mousemove', drag);
          view[0].addEventListener('mouseup', release);
          view[0].addEventListener('mouseleave', release);
          view[0].addEventListener('click', click);
        }

Fixed my issue. Hope this helps everyone else.

Thanks, it really works great! But how to include the pasted code above into current version of materialize (0.100.2) without downgrading to 0.99.0. There are quite a lot of style changes in 0.100.x and I really don't want to walk through all of them again (Angular 2 Materialize).

Confirmed this bug still exists. I used @penguoir 's method - but I really think links that already have an href should not need special handling just because they're on a carousel + mobile.

It seems that the creator of Materialize didnt do a good job in solving this issue This bug has persisted for quite some time.

Is this going to be fixed?

Yes, we are also working on other issues on the v1-dev branch, so it is a matter of time.


Fix broken links and 404 pages

As part of the audit done on #1418, I've discovered some errors on the page. I've talked with the user research team and one of the main user pain points are broken links and 404 pages, so we should prioritize and fix them

@y4izus Am I good to close this issue?

hey @agebbie , we should do another web audit and check if the broken links and the 404 pages are fixed. In that case, we could close the issue

Yes. I'd like to know if the issues with broken links have been fixed. Else, I can jump on it

@TKushT , the tool we were using for looking for broken links doesn't work for our project, so we can't give you an answer yet, sorry!


Refactor: streamline app.enable function

Removed the redundant function name from app.enable. This simplification enhances readability and aligns with best practices for concise function expressions.

same comment https://github.com/expressjs/express/pull/6134#issuecomment-2510419648


[FLINK-16313][state-processor-api] Properly dispose of native resources when closing input split

What is the purpose of the change
FLINK-15014 refactored the KeyedStateInputFormat to be more composable. The change did not properly account for the new ownership of the StateBackend object and did not dispose of native resources.
This fix needs to be backported to 1.10
Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @rmetzger

cc @tzulitai

+1, LGTM.
I've locally verified that the state-processor-api does indeed fail with the test ignored but fix not applied, and the tests no longer fail after applying the patch.


install fail

I'm in my React Native project directory and run:
npm install react-native-tab-navigator --save
get
npm WARN gentlyRm not removing /Users/....../node_modules/.bin/jest as it wasn't installed by /Users/...../node_modules/jest-cli
npm notice created a lockfile as package-lock.json. You should commit this file.

<EMAIL_ADDRESS>added 2 packages and removed 641 packages in 21.324s

It seem to remove some of other packages and then I can't build my ios project. What am I missing?
my package.json
{
"name": "xxx",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.0.0-alpha.12",
"react-native": "0.45.1"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.0.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}

I have the same question too

maybe you can use command
 yarn add  react-native-tab-navigator

Will close since this issue is more than a year, feel free to a open a new if this is still a issue.


Read.me process

Hey mamaral, Incredible work with the framework, but i can't understand exactly what i should do after importing the "Onboard" with cocoapods. Can you explain it a little bit more? So i create a class and i put the first line of code there

after that i make the VC and i "connect" the .swift file with the VC. The conclusion is that i think that you could think and write the whole process more analytical etc. It will help a lot of people. It's an awesome framework!

Thanks for the feedback, although I'm not sure I understand what you mean.

Ok so after i import the Onboard with cocoapods. Can you explain me what should i do next? Kind of new to this all theme and sorry if the question is noobish.

The README should be pretty straightforward and in-order.
Breaking down the process into three steps:

Create individual pages by creating instances of OnboardingContentViewController
Then create the OnboardingViewController by providing either a background image or a URL to a local video file in your project, and an array of content view controllers you just created.
You can then present the view modally and get the onboarding process started.

Ok now i got it one last question i create the pages and i add the images you know like this:

In the same swift file?

Yes.

Thanks a lot for your help and keep up the good work!!

No problem!


Add flow to create-render-context.js

No big code changes here. I was suprised at how simple this was to type. Helpful that JSDOM flow-typed def is solid.

I mispoke. Helpful that there is NO typedef for JSDOM....yet.

OK, part 5 adds jsdom libdef


Aqara G2 not work

Hey,
my new camera "Aqara Hub G2" will not work :(
root@raspberrypi:~# videop2proxy --ip <IP_ADDRESS> --token TOKENXXXXXX --rtsp 8554
Starting proxy...
Starting RTSP server on "rtsp://<IP_ADDRESS>:8554/"
(Using port 80 for optional RTSP-over-HTTP tunneling.)

Got error when receiving: timed out
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 259, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 259, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 259, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 259, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 290, in send
    return self.send(command, parameters, retry_count - 1)
  File "/usr/local/lib/python3.5/dist-packages/miio/device.py", line 293, in send
    raise DeviceException("No response from the device") from ex
miio.exceptions.DeviceException: No response from the device
Can't read output line 1 from command: python3 -c "import miio;result = miio.device.Device('<IP_ADDRESS>', 'TOKENXXXXXX').send('get_ipcprop', ['all']);print(result['p2p_id']);print(result['avID']);print(result['avPass']);"
Error connecting to camera, make sure ip and token are correct.
Error, waiting 10 seconds and trying again.

perhaps it should be interesting to share info.
https://github.com/rytilahti/python-miio/issues/504

Same issue here. What kind of info do you need ?

is this project dead?

Same issue here.


k_uptime_delta(): Defective by design

The k_uptime_delta() API is widely used in Zephyr tests. However due to flaw in the design, the values returned by k_uptime_delta() depends on the uptime of the system if (1000 / CONFIG_SYS_CLOCK_TICKS_PER_SEC) is not an integer. As result, multiple tests are failing (example: https://github.com/zephyrproject-rtos/zephyr/issues/15983).
Cause:
The k_uptime_delta() calculates delta time using two timestamps (expressed in milliseconds) obtained form the system uptime (measured in system ticks). Unfortunately, the uptime conversion from ticks to milliseconds is inaccurate when (1000 / CONFIG_SYS_CLOCK_TICKS_PER_SEC) is not an integer. The rounding, which is applied in such case, leads to errors in delta time calculation.
Example (for CONFIG_SYS_CLOCK_TICKS_PER_SEC = 128):

Tick
Uptime [ms]
k_uptime_get()
Delta time from previous tick returned by k_uptime_delta()

0
0,000
0

1
7,813
7
7

2
15,625
15
8

3
23,438
23
8

4
31,250
31
8

5
39,063
39
8

6
46,875
46
7

7
54,688
54
8

8
62,500
62
8

9
70,313
70
8

10
78,125
78
8

Please note, that ticks 1 and 6 are reported as shorter than others, which is not true.
Possible solution:
The k_uptime_delta() API in current form cannot be fixed. The reference time has to be stored in ticks (or other unit used by kernel) and all calculations should be performed using this unit. Only the result of calculations should be converted to ms.

FYI: @andyross, @nashif, @carlescufi, @pabigot

Per the original description k_uptime_delta() can't be fixed.  A potential solution is to add k_cycle_delta() and recommend it as an alternative.  Parallel to that adding uint64_t k_cycle_get() as a companion to uint32_t k_cycle_get_32() would eliminate a functionality gap.  However there probably isn't support for 64-bit cycle count on all platforms.
So k_tick_delta() along with static inline uint64_t k_tick_get() { return z_tick_get();} might be required to complete the functionality for long durations.


python310Packages.meater-python: init at 0.0.8

Description of changes
Library for the Apption Labs Meater cooking probe
https://github.com/Sotolotl/meater-python

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.


Add support for git lfs files

When kicad files are stored in a git repo as lfs files 'git archive' command stores only pointers.
'git archive' can't handle lfs files so after they are stored they need to be processed by
'git lfs smudge' command to get actual files.
This PR goes over all archived files and checks if they are lfs pointers.
It runs git lfs smudge command on each pointer file.
I'm not a git expert so if there is a better approach, I'm happy to fix it.

Hm alright, got it. Why do you use LFS? Are you storing kicad library using LSF? I thought LFS didn't version files, do they? For instance, if LFS files are not versioned, then we can run LFS command just once instead of once per version of the project.

Apart from python, C, JS, etc.source code we have many hardware projects in our monorepo: big PCBs, custom libraries 3D files, etc. Kicad files were added to lfs because they happen to be pretty big and are not really human readable. No one will review them as they are :) And here kiri is very useful. I learned about this project yesterday.
And LFS files are versioned. Otherwise kiri wouldn't really work for them.

This is pretty disgusting organization... but of course it is not on my business. Kicad project is big maybe because it is embedding all the used library parts in it. Thanks for the explanation, I will review this later today and check if it will impact something when there are no lfs stuff in the repo.

Thanks, I added this from another PR.


[Keyboard Navigation- Fancy Zones-Launch Zones-Create New Custom]: Close button of the 'Custom Layout Creator' dialog is not accessible by keyboard

[Fancy Zones-Launch Zones -Utility-Create New Custom]
User Experience:
Keyboard users will be disoriented here as 'Close' button of the opened dialog is not accessible by keyboard and there is not method available to close the dialog.
Test Environment:
OS Version: 20221.1000
App Name: Power Toy Preview
App Version: v0.23.0
Screen Reader: Narrator
Repro Steps:

Open Power Toys App
Navigate to Fancy Zone Button and activate it.
Navigate to Launch Zones Editor and activate it.
Navigate to Custom tab in  Choose your layout for this Desktop dialog and select it.
Navigate to Create new custom item and selet it
Navigate to Edit Selected layout element and activate it.
Try to navigate to 'Close' button of the dialog opened and verify the issue

Actual Result:
'Close button of the 'Custom Layout Creator' dialog is not accessible by keyboard and the dialog is not getting closed by 'Esc' key also.
Expected Result:
'Close' button of the 'Custom Layout Creator' dialog should be accessible by keyboard and actionable by enter/space key or ESC key should close the dialog
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={8492c4eb-c179-40ae-8777-cd044ed725a2}
Create a new custom-MAS2.1.1-Close button is not accessible by keyboard.zip

Shipped with 0.27 release. https://github.com/microsoft/PowerToys/releases/tag/v0.27.0


MINOR: add test to make sure ProcessorStateManager can handle State Stores with logging disabled

Adding the test so we know that the State Stores with logging disabled or without a topic don't throw any exceptions.

@guozhangwang - re: restoration logic for standby tasks, it is all good. If the state store has logging disabled and doesn't have a topic we don't try and restore it. It just gets added to the state store map. So no exceptions etc. I believe @norwood added this recently.
I've just added a test in ProcessorStateManger to make sure we know if this changes going forward

The unit test LGTM. Ran the whole suite locally without failure.
Merged to trunk and 0.10.1.


[STORM-1524] Add Pluggable daemon statistics - Metrics Reporters

This patch adds configuration - storm.statistics.preparable.reporter.plugin a list of plugins that implement PreparableReporter interface.
This defaults to JmxPreparableReporter ( i.e. current behavior)
Implementation for CsvPreparableReporter, JmxPreparableReporter and ConsolePreparableReporter.

Overall things look good.  A few comments about configuration. The only real thing that is missing for me is Documentation.  At least javadocs on how to use this and comment in defaults.yaml would be good.

Travis is getting a compile error.
Exception in thread "main" java.lang.ClassNotFoundException: org.apache.storm.statistics.reporters.PreparableReporter, compiling:(common.clj:16:1)

	at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3628)

@revans2 I have addressed your comments, and fixed the exception reported by CI build.

+1 one minor nit so small it does not matter.

+1 LGTM

Requesting this to be merged into 1.x-branch as well.


Exclude single testcase from jdk_util_1 target that FAILED in Test_openjdk8_hs_sanity.openjdk_aarch64_linux #2420

Added;  java/util/Locale/Bug8040211.java https://github.com/AdoptOpenJDK/openjdk-tests/issues/2420 linux-aarch64
To; the jdk_util section of the ProblemList_openjdk8.txt:L319

Closing as dup of #2518


Add method to send email

Example email coming from app might be:
Email subject should contain Unsubscribe from (company name)
Email Body should contain:

I'd like to stop receiving emails from this email list.

Thanks,
(User Name)

*Sent via https://mytiki.com. Join the data ownership revolution today.

Refer to send method in api_google_service_email.dart

Duplicate close #23

Fix empty body


be more flexible about allowable versions

Fixes #15. Technically violates §6 and §6.2.2 of the RFC, but meh.

Due to the age of the original issue and the current lack of a releasing flow for Rust OSS, I'm going to close this. For those that may need this in the short term, feel free to fork the repo and build from source. We may revisit this in the future.


[WFLY-19936]:Upgrade woodstox-core from 6.4.0 to 7.0.0

https://issues.redhat.com/browse/WFLY-19936

Thanks @jimma


Scheduler don´t run after_success(fuc) after some time.

When I start the scheduler, it runs stable for some time, but withouht any msg, the after_success(fuc) stop running.
Only the periodic timer functions are executed.
Screenshots from the DB log

The Scheduler implementation:

sec_db_engine = create_engine(db_settings.DB_URL, pool_pre_ping=True)

app_scheduler = Rocketry(
    execution="async",
    # logger_repo=MemoryRepo(),
    logger_repo=SQLRepo(engine=sec_db_engine, table="scheduler_log", model=MinimalRunRecord, id_field="id"),
    config = {
    "task_execution": "async",
    'silence_task_prerun': False,
    'silence_task_logging': False,
    'silence_cond_check': False,
    "force_status_from_logs": True
    }
    )

from .tasks import scheduler
app_scheduler.include_grouper(scheduler)

The Task implementation

scheduler= Grouper()

@scheduler.task(
        minutely,
        execution="main",
    )
def check_starting_condition():
    if check_first() and check_second():
        logging.info(f"Check starting condition passed!")
        return "OK"
    else:
        raise Exception("Im not allowed to run the Taks")

@scheduler.task(after_fail(check_starting_condition),
    execution="main")
def failed_check():
    logging.info("Der report_check failed!")

@scheduler.task(after_success(check_starting_condition),
    execution="async")
async def main_exc_function(
    ):
# an async function call with aiohttp
return some_stuff

I integrated it along with Fastapi
class Server(uvicorn.Server):
    """Customized uvicorn.Server

    Uvicorn server overrides signals and we need to include
    Rocketry to the signals."""
    def handle_exit(self, sig: int, frame) -> None:
        app_scheduler.session.shut_down()
        return super().handle_exit(sig, frame)

async def run():
    server = Server(config=uvicorn.Config(
        app,
        loop="asyncio",
        host=server_settings.SERVER_HOST,
        port=server_settings.SERVER_PORT,
        reload=server_settings.SERVER_RELOAD,
        workers=server_settings.SERVER_WORKER,
        timeout_keep_alive=server_settings.SERVER_TIME_OUT,
        access_log = False))
    api = asyncio.create_task(server.serve())
    sched = asyncio.create_task(app_scheduler.serve())
    await asyncio.wait([sched, api])

if __name__ == "__main__":
    asyncio.run(run())

Now it gets even stranger. The Tasks started again after 22 missed runs.

I have now tested the scheduler for several days. The problem only occurs when I use the SQL repo.
I tried to set the SQLalchemy engine to log the queries via echo=true. Unfortunately I get the error message here
"AttributeError: 'scheduler_log' object has no attribute '_sa_instance_state'"
see logs.txt
logs.txt
After using the logs from the DB, I noticed that despite the setting of the id_field with the config:
repo=SQLRepo(engine=sec_db_engine, table="scheduler_log", model=MinimalRunRecord, id_field="id")
the logs are queryed from the DB using the "created" column.

Did i miss something in the config?
The documentation mentions that it is better to use an ID column, this may be the issue of the missed runs with after_success(fuc).


feat!: Integrate EMA Oracle

Integrate the EMA oracle from https://github.com/galacticcouncil/warehouse/pull/76 into the Basilisk runtime.
Description

This PR adds the EMA oracle pallet and configures the runtime to ingest xyk trades and liquidity changes into it.
Supported periods are configured to LastBlock, TenMinutes, Day and Week.
The oracle values are not used, yet, to allow for observation.
Related Issue

https://app.clickup.com/t/2v0w820
How Has This Been Tested?

Checklist:

[ ] I have updated the documentation if necessary.
[x] I have added tests to cover my changes, regression test if fixing an issue.
[x] This is a breaking change.

[upgrade       ] 2023-01-24 13:43:46        REGISTRY: Unknown signed extensions CurrencyBalanceCheck found, treating them as no-effect
[upgrade       ] 2023-01-24 13:43:46        METADATA: Unknown types found, no types for Lookup74
[upgrade       ] connected to Testing Basilisk Local Testnet 12.0.1-4c240952f runtime 88.0.0 node 8.1.3 x86_64-linux-gnu
[upgrade       ] current runtime version 88
[upgrade       ] Error: createType(Call):: Call: failed decoding sudo.sudoUncheckedWeight:: Struct: failed on args: {"call":"Call","weight":"{\"refTime\":\"u64\"}"}:: Struct: failed on weight: {"refTime":"u64"}:: Struct: Cannot decode value 100 (typeof number), expected an input object, map or array
[upgrade       ]     at createTypeUnsafe (/home/runner/work/Basilisk-node/Basilisk-node/scripts/upgrade-runtime/node_modules/@polkadot/types/create/createType.cjs:75:18)
[upgrade       ]     at TypeRegistry.createTypeUnsafe (/home/runner/work/Basilisk-node/Basilisk-node/scripts/upgrade-runtime/node_modules/@polkadot/types/create/registry.cjs:417:45)
[upgrade       ]     at TypeRegistry.createType (/home/runner/work/Basilisk-node/Basilisk-node/scripts/upgrade-runtime/node_modules/@polkadot/types/create/registry.cjs:409:17)
[upgrade       ]     at extrinsicFn (/home/runner/work/Basilisk-node/Basilisk-node/scripts/upgrade-runtime/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.cjs:28:21)
[upgrade       ]     at Object.decorated [as sudoUncheckedWeight] (/home/runner/work/Basilisk-node/Basilisk-node/scripts/upgrade-runtime/node_modules/@polkadot/api/base/Decorate.cjs:462:22)
[upgrade       ]     at main (/home/runner/work/Basilisk-node/Basilisk-node/scripts/upgrade-runtime/index.js:69:28)
[upgrade       ]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[upgrade       ] npm ERR! code ELIFECYCLE
[upgrade       ] npm ERR! errno 1
[upgrade       ] npm ERR<EMAIL_ADDRESS>upgrade: `node index.js testing_basilisk_runtime.compact.compressed.wasm`
[upgrade       ] npm ERR! Exit status 1
[upgrade       ] npm ERR!
[upgrade       ] npm ERR! Failed at the<EMAIL_ADDRESS>upgrade script.
[upgrade       ] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[upgrade       ]
[upgrade       ] npm ERR! A complete log of this run can be found in:
[upgrade       ] npm ERR!     /home/runner/.npm/_logs/2023-01-24T13_43_46_752Z-debug.log

The upgrade error doesn't seem related to this PR?

superseded by #599


Decreasing Performance

Hi, I have some problems with decreasing performance. Each usage of "run_tac" seems to slow down the usage of further "run_tac"s. At the end is a python file to show the behavior: it repeats (init_search, 2000x run_tac, clear_search) and takes 15s, 17s, 19s, 21s, ...
Is there a way around it or should I just reopen lean-gym periodically?
import time
import subprocess
import os
import json

lean_gym_path = os.path.dirname(os.path.realpath(__file__))
lean_gym = subprocess.Popen(['lean', '--run', 'src/repl.lean'],
                            cwd=lean_gym_path,
                            stdin=subprocess.PIPE,
                            stdout=subprocess.PIPE)

def run_lean_cmd(cmd: str):
    lean_gym.stdin.write(cmd.encode('utf-8'))
    lean_gym.stdin.flush()
    return json.loads(lean_gym.stdout.readline().decode('utf-8'))

def init_search(decl: str) -> dict:
    cmd = f'["init_search", ["{decl}", ""]]\n'
    return run_lean_cmd(cmd)

def run_tac(search_id: int, tactic_state_id: int, tactic: str) -> dict:
    cmd = f'["run_tac",["{search_id}","{tactic_state_id}","{tactic}"]]\n'
    return run_lean_cmd(cmd)

def clear_search(search_id: int) -> dict:
    cmd = f'["clear_search",["{search_id}"]]\n'
    return run_lean_cmd(cmd)

t1 = time.time()
for i in range(10000):
    t2 = time.time()
    if i > 1:
        print(t2 - t1)
    t1 = t2

    result = init_search('nat.mul_left_eq_self_iff')
    search_id = int(result['search_id'])
    state_id = int(result['tactic_state_id'])

    result = run_tac(search_id, state_id, 'intros')
    search_id = int(result['search_id'])
    state_id = int(result['tactic_state_id'])

    for state_id in range(1000):
        search_id = int(result['search_id'])
        state_id = int(result['tactic_state_id'])
        result = run_tac(search_id, state_id, 'rw mul_comm')

    clear_search(search_id)

Hi, did you solve it? Thanks

Sadly no. I just reopen it regularly. I also don't have any idea what is causing this behavior

Thank you all the same :/


Support deterministic findTag

Closes https://github.com/rwjblue/git-repo-info/issues/32
Depends on https://github.com/rwjblue/git-repo-info/pull/31
This change set includes some ground-work for https://github.com/rwjblue/git-repo-info/issues/33

I think this needs a rebase?

@rwjblue Ah, yep - rebased


Unable to download js bundle

when running react-native run-android, I am getting a red screen on the android emulator, with the following text:
Unable to download JS bundle. Did you forget to start the development server or connect your device?
onResponse
DevServerHelper.java:191
execute
Call.java:168
run
NamedRunnable.java:33
runWorker
ThreadPoolExecutor.java:1076
run
ThreadPoolExecutor.java:569
run
Thread.java:856
I've changed the Debug server host for device set the ipaddress with port my machine's IP,but still not fixed.

@Hiramxu  http://stackoverflow.com/questions/32572399/react-native-android-failed-to-load-js-bundle had a lot of answers here.

Now you really machine debugging, using computers to keep the same wifi network。
1.you should delete node_modules/react-deep-force-update/.babelrc
2.if your version is v0.18.1，This path has changed。now you should delete /node_modules/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/node_modules/react-deep-force-update/.babelrc
plesase see the details

#5618  maybe useful to you.

@Hiramxu Did you ever get it up and running?

@facebook-github-bot stack-overflow

Hello there,
I have fixed this issue by the step below:
if your machine do not install McAfee antivirus, please go to step 2
if you installed McAfee antivirus, the default port of McAfee log is 8081. You should manual change the port of your react native server
Step 1: go to \node_modules\react-native\local-cli\server\server.js and change the port 8081 to 8088
const args = parseCommandLine([{
command: 'port',
default: 8088,
type: 'string',
}
Step 2: Create an "assets" folder under "android/app/src/main"
Step 3: in node.js run "react-native start" and navigate to the url "http://localhost:8088/index.android.bundle?platform=android"
p/s: do not install McAfee antivirus please go with port 8081
Step 4: save the bundle to assets folder and you are all set. in node.js run "react-native run-android" to view the result
Regards,
Hai Tang


Fine-tune the english model

I'm trying to improve the English model using images where it made a mistake, changed the by 0, 1 by 7 etc. But I can't, it always gives the following error Failed to load any lstm-specific dictionaries for lang eng-trained!!
Is there some extra configuration I need to do in the makefile? or is the current configuration not made to fine-tune an existing model? Thanks

Please provide all steps and data reproducing problem.

Missing details from reporter.