Colored markers

This is a question / feature request, not a problem.
I am running a process that will perform operations against a REST API on hundreds of objects.  Such as creating or deleting objects
As I do it sequentially, I am using a progressbar. So far, so good.
Sometimes some of these calls fail, but I just ignore them and continue. I keep a tally of those so that I can show an indication to the user of success/fail.
What I would love to be able to do is to that the markers in the progressbar reflect the success/fail, for example as "O" or "X", or different colors.
Is that something that's possible?  I imagine that a potential difficulty is that a marker on screen may "span" multiple iterations in the loop...

I think the current beta release (https://pypi.org/project/progressbar2/4.3b0/) could be an option for you. It would be possible to do within a single progressbar, but I think a more convenient option would be to use multiple progressbars.
One with the overal progress, one with the failures, one with the successes.
That can be done with the parallel progress bars feature: https://github.com/wolph/python-progressbar#showing-multiple-independent-progress-bars-in-parallel
Additionally I've also added much more elaborate color suppor to that version: https://github.com/wolph/python-progressbar/blob/develop/progressbar/terminal/colors.py
I'm planning to release it soon but time is always limited :)

Thanks for the feedback!
I would prefer to do it in a single progress bar because in this case, there is a potential link to the order in which the underlying processes are run, and therefore the "linearity" (temporality?) of the information is meaningful, which would be lost with separate progressbars

I've added a job status widget that should do what you need: https://github.com/wolph/python-progressbar/commit/200aaf78842536f15c60c081451c6fc688534c61
    with progressbar.ProgressBar(
            redirect_stdout=True,
            widgets=[progressbar.widgets.JobStatusBar('status')],
    ) as bar:
        for i in range(30):
            print('random', random.random())
            bar.increment(status=random.random() > 0.5)
            time.sleep(0.1)

Can you see if that works for you?

The new version which includes the job status bar widget has been released :)

It depends on the terminal you are using but it shouldn't be flashing too much. The update interval can also make a difference with the flashing.
What terminal are you using?

iTerm2 on Mac
On Tue, 2 Jan 2024 at 20:44, Rick van Hattem @.***>
wrote:

It depends on the terminal you are using but it shouldn't be flashing too
much. The update interval can also make a difference with the flashing.
What terminal are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/wolph/python-progressbar/issues/285#issuecomment-1874526747,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA66JR4KN6WJIC3UOHZJAKTYMRWS3AVCNFSM6AAAAAA7C2MIC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGUZDMNZUG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Fabre Lambeau


feat: add Redis

Closes #713

Pull Request Test Coverage Report for Build 1797

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 64.286%

Totals

Change from base Build 1796:
0.6%

Covered Lines:
106

Relevant Lines:
157

💛  - Coveralls


Support hangup verb

Ready for review

Left one very minor comment. Otherwise looks good.

Issues addressed.

:+1:


Increasing the MP while reinforcing with minimum MP setting & maximum Price setting.

Hi,
just witnessed when trying to use the automate reinforcement that what ever u use for the REINFORCE_STRATEGY="HighestMp" and the REINFORCEMENT_TO_PICK="90" up to 100 caused by the large number of crabs in the tavern u only get 66 MP as a reinforcement which makes no real sense so if we could use a minimum MP in the Bot combined with a maximum REINFORCEMENT_MAX_PRICE="15", that we get lets say a minimum of 78 MP for the best price available under 15, so u dont get a fill with 66 MP for example.
Can this be implemented in the ENV as a fix setting it would make a lot of sense and i guess this will be also the issue on the looting side but even more dramatic if the bot uses a very low one that ur miner opponent even get a higher BP and automatically wins!
Thanks to all contributors !

Hi,
It makes no sense to set REINFORCEMENT_TO_PICK to such high value.
Please read the relevant README section for more details.
Cheers,
Cocco

Hi Cocco,
i am aware of the README section just used different numbers throughout the teams to get maybe a better result with the high MR number cause the result is the same that u get pretty low MP with the HighestMp Order
Maybe because of the current situation but a min MP to choose at least a certain level could help specially with looting where the high BP is important to have a min Level in place or maybe i am the only one seeing this issue following the results !
Maybe the community is having an idea !
All the best
Claus


Dev master livewire3

Update to PHP 8.2 and Livewire 3.  Laravel 11 Compatible.  Remove extra files.

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


Tutorial Deploy CAP with SAP HANA Cloud project as MTA

Tutorials:
https://developers.sap.com/tutorials/hana-cloud-cap-create-ui.html
https://developers.sap.com/tutorials/hana-cloud-cap-deploy-mta.html
Hi @jung-thomas,
I followed your tutorials for CAPM and HANA Cloud, appreciate it.
Now I have CAPM project in my CF space and I can see my service there but can not see UI app(it is only possible to reach via direct link
(https://.....hana.ondemand.com/app/interaction_items/webapp/index.html).
And I can not see this UI app under HTML5Apps in my Subaccount, so could not connect app to SAP Build Work Zone.
I would like to have a end to end development with MTA.
Could you please share or create a tutorial about SAP Build Work Zone connection of this MTA project?
Thanks in advance!

Work zone integration is outside the scope of this tutorial. I couldn't comment on what tutorials might cover Work Zone.


Download links in prepare_example_data.sh cannot be reached

The dataset url's in prepare_example_data.sh are not valid. This script is probably outdated.

Yes... the server on which the data were stored is obsoleted.
@WaldJohannaU do you know the link to the new cite?

fixed


soc: nxp_imx: Add missing dts fixups for gpio 2,3,4 instances

The imx rt dts fixup was missing gpio 2,3,4 instances. This caused a
build error in the gpio driver when an application enabled:
CONFIG_GPIO_MCUX_IGPIO_2=y
CONFIG_GPIO_MCUX_IGPIO_3=y
CONFIG_GPIO_MCUX_IGPIO_4=y
Signed-off-by: Maureen Helm<EMAIL_ADDRESS>Fixes #13422

Codecov Report

Merging #13438 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13438      +/-   ##
==========================================
- Coverage   48.57%   48.56%   -0.01%
==========================================
  Files         319      319
  Lines       46569    46569
  Branches    10761    10761
==========================================
- Hits        22619    22618       -1
  Misses      19360    19360
- Partials     4590     4591       +1

Impacted Files
Coverage Δ

arch/posix/core/posix_core.c
90.9% <0%> (-1.02%)
:arrow_down:

Continue to review full report at Codecov.

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


27 story view orders listings edit

Title: Add user profile functionality for tracking orders and listings
Overview:
This pull request adds the neccesary functionality and routes managing to the user page to allow users tracking their orders and listings and can change there profiles details.
Resolved issue:

#27

Description:
This pull request adds the following functionality to the user profile page:

Set up orders, listings, & edit profile pages
Set up profile page functionality
Manage the routing between orders, listings, and edit profile

Notes to reviewer:

To display this page write the following after you start the vscode next.js server
http://localhost:3000/UserPage
This feature has been designed and tested according to the provided acceptance criteria.
The implementation follows our code style guidelines and has been tested locally.
No new dependencies have been added.

Owner Checklist:

[x] Acceptance criteria defined
[x] Code reviewed
[x] Functional tests passed
[x] Non-functional requirements met
[x] Code Peer Reviewed (if not written using Pair Programming)
[x] Product owner accepts the User Story

New CheckList:

[x] Implemented the functionality to view orders and listings on the profile page
[x] Tested the implementation and ensured it meets the acceptance criteria
[x] Made sure the code follows our style guidelines

Reviewer Checklist:

[ ] Reviewed code changes and functionality added
[ ] Reviewed the implementation and checked that it meets the acceptance criteria
[ ] Verified that the changes meet the acceptance criteria and sprint ready checklist
[ ] Tested the functionality to ensure it works as expected
[ ] Checked that the code follows our style guidelines
[ ] Tested the implementation locally

Screenshots/Recordings:

Edit Profile:

User Listings:

User Orders:

- Real Phone test recording:

Phone screen recording:
https://user-images.githubusercontent.com/93738112/232201823-23deebcc-5520-4c21-b702-9132e2438733.mp4

Phone screenshot:

To display this page write the following after you start the vscode next.js server
http://localhost:3000/UserPage


feat: Add toggle feature to see more organizer detail in EventDetailsFragment

Detail: I check for the number of line in the details of the event organizer, and then decide whether to set the "See more" of eventOrganizerDescription visibility. I add a click listener to toggle the text view of eventOrganizerDescription to show more/less information
Fixes #1202
Screenshots for the change:

@liveHarshit please review


Image Tag Mismatch between k8s.gcr.io/guestbook:v3 and registry.k8s.io/guestbook:v3

When the image tag was switched over to the new registry.k8s.io container registry, it appears that the actual tags didn't get copied over quite right. When I deploy the registry.k8s.io/guestbook:v3 image to my cluster, the front-end fails because it attempts to look up redis-slave and gets no such host when the manifests are configured to set up the service as redis-replica. This leads me to believe that a new version of the go guestbook needs to be pushed and then the tags in the manifests need to be updated.
Related commit:
https://github.com/kubernetes/examples/commit/538d302b41d0a865be8b8d80b843d0d9287dbbf3

I checked the 2 images digest are identical.
➜  ~ docker pull k8s.gcr.io/guestbook:v3
v3: Pulling from guestbook
...
Digest: sha256:8f333d5b72677d216b4eb046d655aef7be9f1380e06ca1c63dfa9564034e7e26
Status: Downloaded newer image for k8s.gcr.io/guestbook:v3
k8s.gcr.io/guestbook:v3
➜  ~ registry.k8s.io/guestbook:v3
zsh: no such file or directory: registry.k8s.io/guestbook:v3
➜  ~ docker pull registry.k8s.io/guestbook:v3
v3: Pulling from guestbook
...
Digest: sha256:8f333d5b72677d216b4eb046d655aef7be9f1380e06ca1c63dfa9564034e7e26
Status: Downloaded newer image for registry.k8s.io/guestbook:v3
registry.k8s.io/guestbook:v3

I also verified and there is no issue present in this, both the image digests are same in below.

/triage needs-information

Closing the issue as there is no update from @highb.
Please feel free to reopen with necessary inputs if you are still facing this issue.

/close


Add auto generate conversion table to doc

Change Summary
Add auto-generate conversion table

This is the initial work to generate the conversion table automatically.
I've replaced the conversion table in v2 blog with {{ conversion_table }}. The conversion table rows are not complete yet and I will update the PR later.
Meanwhile, I am going to add missed tests as well.
I've built the docs locally and the new build_conversion_table works fine and generates the conversion table as expected.
Related issue number
Fixes https://github.com/pydantic/pydantic/issues/4680

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please update.

Thanks @tpdorsey, All addressed. please review


whiskbot test case failure.

When I run the whiskbot test cases, I got a failure "2017/02/17 13:41:42 error happened during unmarshal :yaml: line 43: did not find expected key", need to investigate and fix this one.

It seems test datas included in this test cases are not supported yet, right? @paulcastro

Yes, correct.   Still need to add support for some keys like api-experimental

@lzbj Please contact Paul and see if this is still a valid use case?  If not, close... If it is still valid we should fix it.

Paul got back saying whiskbot was created to test the dependencies key, couldn't get more info form him.

@priti Will close this for now; can we work to remove this from use cases directory.


CAPA China: Cluster API images

Currently Cluster API images for bootstrap control and control-plane controller are not pushed to China registry at all. We have to enable this in order to proceed with automatic clusters privisioning.

This might have been done already, @calvix to confirm

it is done - https://app.circleci.com/pipelines/github/giantswarm/cluster-api/169/workflows/67ab3ff1-1af8-440e-a9dc-f30fc15c788b/jobs/166


New samples from kotlin-web-site

New samples in a repository https://github.com/JetBrains/kotlin-web-site
Commit: https://github.com/JetBrains/kotlin-web-site/commit/6765d0ce6762d91a702e2801606096e95a8f07af
Files:
docs/topics/jvm/java-to-kotlin-idioms-strings.md

New samples in a repository https://github.com/JetBrains/kotlin-web-site
Commit: https://github.com/JetBrains/kotlin-web-site/commit/3ceecc90cdf3c71d551e9f7cf4ef6c6c4b2b9c12
Files:
docs/topics/whatsnew15.md


:bar_chart: Update ghe

View diff without step copy

@spoonerf I'm comparing data from our current GHE version 2022-09-30 to the new version 2024-07-30 and there are some striking differences. This really surprised me since the data is downloaded from the same API. It looks like they must have revised their data at some point.
Here are two examples - one is ischaemic heart disease from Bolivia that shows different trends

and the second one is cocaine use disorders from the USA

It's not just these two observations, most of the data has changed. Do you have an idea what could be going on, or what could I be doing wrong?
Code for creating those plots
tb_new = Dataset(paths.DATA_DIR / "meadow/who/2024-07-30/ghe").read_table('ghe')
tb_old = Dataset(paths.DATA_DIR / "meadow/who/2022-09-30/ghe").read_table('ghe')

def compare(tb_new, tb_old, country, cause):
    tb_new = tb_new.query(f'country == "{country}" and cause == "{cause}" and sex == "TOTAL"')
    s_new = tb_new.query('age_group == "TOTAL"').set_index('year')

    tb_old = tb_old.query(f'country == "{country}" and cause == "{cause}" and sex == "BTSX"')
    s_old = tb_old.query('age_group == "ALLAges"').set_index('year')

    return pd.DataFrame({
        "old_ghe": s_old.death_count,
        "new_ghe": s_new.val_dths_count_numeric,
    }).round(1).plot(title=f'Deaths from {cause} disease in {country}')

compare(tb_new, tb_old, 'BOL', 'Ischaemic heart disease')
compare(tb_new, tb_old, 'USA', 'Cocaine use disorders')

Hey @Marigold!
I think it's likely that they changed their method somewhat between the two versions. That's not super unusual for this kind of dataset. This dataset has the GBD data as an input, and that also changed quite a lot for some variables in the recent update.
For example, for drug dependence deaths, in the new documentation, they say: "GHE drug dependence deaths have been updated for all countries drawing on GBD2021 cause fractions. Additionally, estimates for the USA have been updated using US death registration data together with published analyses of drug-specific overdose deaths in the USA." which probably explains the second chart.
Overall, it looks like the general trends and patterns in the charts are pretty similar, so I think they are all good. It would probably be useful and interesting to get @saloni-nd's opinion on this ( here's the chart-diff). I think of particular interest are the suicide charts, as they look like they have gotten a lot tighter with the other sources (for the US anyway!). Do you have any concerns at all about the differences @saloni-nd?

Hey @spoonerf, thank you for tagging me!
I agree, it looks like they're mostly fine:

Since there's new data available, their most-recent years match the death registry data closer (for suicides).

For drug overdoses, the GHE methods says that they now also count 'acute' (short term) drug overdoses, which is probably the reason for the large increase.

The injury codes for accidental poisoning by alcohol and by opioids are now used to code acute intoxication
deaths from alcohol and acute overdose deaths by opioids. These deaths have been remapped to alcohol
use disorders and drug use disorders respectively (see Annex Table A).

I'm not sure about Bolivia's data. The WHO GHE says that their underlying data was 'very low' quality, so they didn't use Bolivia's data in their model, meaning their trends are entirely estimated based on other countries' data. Therefore a change in overall methodology might have led to a very large change for Bolivia.


fix: relay request opts to loaded llm prediction

options from the loaded llm were being used regardless of the requested options

Only the options set from the request that initially loaded the model were being used as of the most recent llama.cpp update. Fix this by relaying the resolved options when options are checked during load time.

Trying to build with this merged I get:
llm/shim_ext_server.go:99:46: too many arguments in call to predict

@oderwat thanks for the heads up, I missed that due to building on Mac, fixed the problem in this branch now too


Sort out funding agency information for Zenodo submission

Description of the bug
We had to make the "Grants" element for Zenodo optional because their schema requires that we submit a DOI for a grant. We have no way for users to sort out what the DOIs are for grants so they can be entered, and many NSF grants to not appear in Zenodo's database anyway. We want to make sure funding agency information is entered into Zenodo resources. Their user interface suggests using the "Additional Notes" field for grants not in the OpenAire database. Funding agency information we need to capture include:

Funding Agency
Award Title
Award Number
Award URL

Steps to reproduce the bug:

Go to the Submit to Zenodo page
Click on the + to add a new grant
The user has no way to know what to enter where it asks for "Grant Identifier with DOI prefix"

Expected behavior
We may have to abandon using the "Grants" element in favor of capturing the funding agency information above and putting it in the "Additional Notes" field.
Additional information

https://github.com/cznethub/dspback/pull/57


Two github links in navbar

There are 2 github icon in navbar

@vedant-jain03 you send the PR for it, and Kindly send the PR within 7days. or else we need to assign it to another.

Hello,
I am Krishna, participant in GSSoC'21. There are 2 github icon in navbar so please assign me this issue to fixed.


Create fake data so we can have some data without manually creating it every time

Do this once #66 has been decided.
This functionality should read the local storage, and if it has no data, add the fake data.
The fake data should be always the same, so we are able to have an easier experience when developing.

@ehdlg I checked the PR, what do you think about adding another prop isFinished, to indicated if that pomodoro is completed?


Liquibase-core not able to create snapshot of small  case username/schema name for case-sensitive databases like Oracle

Environment
liquibase-core and Oracle Database.
Liquibase Version:
From version 3.5.3 to 4.11.0
Liquibase Integration & Version:
spring boot 5.3.19, spring boot 5.3.20
Liquibase Extension(s) & Version:
Database Vendor & Version:
Oracle 12c Windows
Operating System Type & Version:
Windows 10
Description
The issue is with small case database username.
Create a small case user in Oracle using below command:-
create user "demo" identified by <password> default tablespace users quota unlimited to users.
By enclosing the username in double-quotes, database will not create it in upper-case.
Give this username in the connection url so that the database will use it as a default catalog name.
After this our code is calling createSnapshot method as described below :-
SnapshotGeneratorFactory.getInstance().createSnapshot(compareControl.getSchemas(CompareControl.DatabaseRole.REFERENCE), getDatabase(), snapshotControl);
Inside this function, getDefaultCatalogName() method, implemented in liquibase.database.core.OracleDatabase, is called which return catalog name in upper case.
@Override     public String getDefaultCatalogName() {//NOPMD         return (super.getDefaultCatalogName() == null) ? null : super.getDefaultCatalogName().toUpperCase(Locale.US);     }
And this DBUser in upper-case  doesnot actually exists in database due to which DatabaseChangeLog.getChangeSets() is null.
Expected/Desired Behavior
getDefaultCatalogName() method implementation should not convert catalog name to upper case. It should make use of isCaseSensitive() method defined in AbstractJdbcDatabase class and return accordingly.

I have set case-sensitive to true
((AbstractJdbcDatabase)database).setCaseSensitive(true);

@aayushi095 We have some folks internally here at Liquibase working on some fixes related to case sensitivity. I will let you know once that gets released. Thanks!

@aayushi095 we do have plans to address this, but unfortunately I am not able to provide a timeline right now.

Hi @aayushi095 - you may be able to set this parameter using some approaches, but so far none is documented.... Some options would be:

Setting System.setProperty(GlobalConfiguration.PRESERVE_SCHEMA_CASE.getKey(), "true");

Enclosing your code:

  Scope.child(GlobalConfiguration.PRESERVE_SCHEMA_CASE.getKey(), true, () -> {
    //                ...code that wants this true
            });

Does that works for you?

I will check and update.
I really appreciate your help.
Thanks for your response.

this is still an issue for me ! can anyone explain to me where I can put this code :
System.setProperty(GlobalConfiguration.PRESERVE_SCHEMA_CASE.getKey(), "true");


Note that this fixes the SSH-passphrase problem.

Hello Chris,
I've had a SSH-Passphrase problem with tmux on macOS Sierra.
reattach-to-user-namespace did solve it :-)
Others will run into this too.
So I described the fix and mentioned your project in a short clip
(german with english subtitles):
macOS Sierra without SSH-Passphrase.
Thanks a lot for this tool!
Björn

Thanks for the contribution!
I appreciated your inclusion of kill-server in the video; it is all too common for people seeking tmux advice to miss that step and be left thinking that their new configuration changes were useless.
The commit message on 8d38460168107a4fc572c1b6b5abdf338a86d7a1 included a copy of the pull request message, so I amended it to leave that bit out. The new commit is 34f9003ce732850893b945c086f57b60e39741c2, and it is now included in master.


Hero Molecule

Added Hero Molecule that uses DM Surge Hero styles
Additions

Added Hero macro

Removals

Removed the existing Heros from blog and events

Changes

Added temp Hero to all landing and sub-landing pages
Updated /the-bureau/ and /careers/application-process/ to use new Hero macro

Testing

run bower update to add latest cf-layout
visit demo landing and sub-landing pages
visit /the-bureau/
visit /carers/application-process/
test at varying browser widths

Review

@KimberlyMunoz
@sebworks
@anselmbradford

Notes

Requires v1.3.0 or greater of cf-layout

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

:1, just some minor comments.

@Scotchester @anselmbradford I think this is good for final (other than the changelog update)

:+1:

:+1:


Nested refs are not unwrapped in templates

Version
3.0.0-alpha.7
Reproduction link
https://codesandbox.io/s/vue-3-ref-error-5xwws
Steps to reproduce
Open the sandbox and notice the nested ref is rendered as JSON. From looking at the code, this seems somewhat intentional? Nevertheless it was confusing and I just want to bring it up!
What is expected?
All refs are unwrapped in a template
What is actually happening?
Only top-level refs are unwrapped

Hope VueConf went well :) I was supposed to go but was grounded due to Coronavirus travel restrictions.

Fix at https://github.com/vuejs/vue-next/commit/e67f655b2687042fcc74dc0993581405abed56de

Closing as of alpha.8

Does this bug is fixed? I check with latest vue 3 version and nested ref is not unwrapped.


LineIndex vs LineIterator

What is the difference between LineIndex and LineIterator? When should each be used?

LineIndex creates an index of the rows of the file which then allows for a lot of nice operations e.g. parallel parsing of the rows when they are loaded in, indexing into the file. However there is the initial cost of indexing and one Int64 is stored for each line. In general you want to use that in the fashion
LineIndex("data.jsonl") |> materialize |> DataFrame
Another tip if you dont want to index the entire file is to use the kw args skip and nrows to skip lines and then index only the number requested.
If you just want to iterate over your file and perform some rowwise operation without the initial cost of indexing (eg in case the file is large [>500gb]) you can use the iterator. You can still do eg. Indexing and converting to dataframes with an iterator but its extremely slow as the iterator has to start from the beginning every time and then counts up to the row number.
Does that clear things up?

Does that clear things up?

Yes, thanks.


Condition concatenation not working when there are no conditions

Test 4 of unit_tests fails with the following error:
Traceback (most recent call last):
  File "unit_tests.py", line 55, in <module>
    program1.minimize()
  File "./program.py", line 151, in minimize
    contained = self.contains_rule(rule_with_deleted_atom)
  File "./program.py", line 112, in contains_rule
    changed = self.execute(conn)
  File "./program.py", line 74, in execute
    DB_changes = rule.execute(conn)
  File "./rule.py", line 326, in execute
    return self.run_with_faure(conn, self.sql)
  File "./rule.py", line 577, in run_with_faure
    FaureEvaluation(conn, program_sql, additional_condition=",".join(self._additional_constraints), output_table="output", domains=self._domains, reasoning_engine=self._reasoning_engine, reasoning_sort=self._reasoning_type, simplication_on=self._simplication_on, information_on=False)
  File "../faure_translator/faure_evaluation.py", line 109, in __init__
    self._integration()
  File "../faure_translator/faure_evaluation.py", line 244, in _integration
    cursor.execute(data_sql)
psycopg2.errors.UndefinedColumn: column "none" does not exist
LINE 1: ...t t0.c0 as c0, t0.c1 as c1, t0.condition || Array[None] as c...

Fix would be to check if a condition is empty or not before concatenating

Fixed in commit: 1362bcdb772569016b3de2ad8b714b17ddd83722


[fix] New dependency on re2 package is causing build errors in production (Github Actions)

Describe the bug
Node.js version: 21.3.0
OS version: MacOS
Description:
Actual behavior
Builds are failing - we now have to include Python in our Dockerfile and the build is failing, likely due to a regression in the re2 1.21.3 package.
 > [12/13] RUN yarn install:
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! stack at ChildProcess.<anonymous> (/dist/.yarn/unplugged/node-gyp-npm-10.2.0-cad1109948/node_modules/node-gyp/lib/build.js:216:23)
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! System Linux 6.5.0-1025-azure
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! command "/usr/local/bin/node" "/dist/.yarn/unplugged/node-gyp-npm-10.2.0-cad1109948/node_modules/node-gyp/bin/node-gyp.js" "-j" "max" "rebuild"
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! cwd /dist/.yarn/unplugged/re2-npm-1.21.3-8175eda09b/node_modules/re2
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! node -v v21.7.3
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! node-gyp -v v10.2.0
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! not ok
102.6 ➤ YN0009: │ re2@npm:1.21.3 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-bd4892ab/build.log)
102.7 ➤ YN0000: └ Completed in 1m 42s
102.7 ➤ YN0000: · Failed with errors in 1m 43s

Expected behavior
Reverting to superagent 9.0.2 is workaround for now (down from 10.0.0).
Checklist

[X] I have searched through GitHub issues for similar issues.
[X] I have completely read through the README and documentation.
[X] I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.

We downgraded superagent to 9.0.2 from 10.0.0 in our app and the build errors did not recur and the app built and deployed successfully.

Thank you!  I believe this issue may be relevant:
https://github.com/uhop/node-re2/issues/213

Thank you! I will reinstall superagent 10.0.1 and see how it goes.


Designing Setting Page

Very much simmilar to this !

I'll complete it as soon as possible!

assigned! @UgamThakkar


feat(connect): allow updating partial values with signal through ConnectedSignal

This PR proposes two changes:

Allow supplying a signal to .with as well as to connect directly
Allow for partial state updates with an origin signal

The primary use case I am aiming to support here is this (essentially allowing signals driven changes as well as observables):
	// sources
	private dogs = computedAsync(() => {
		this.someService.version(); // retrigger when version changes
		return this.dbService.getDogs();
	});

	private cats = computedAsync(() => {
		this.someService.version();
		return this.dbService.getCats();
	});

	// centralised state
	private state = signal({
		dogs: undefined,
		cats: undefined,
        })

	constructor() {
		// reducers
		connect(this.state)
                   .with(() => ({ dogs: this.dogs() }))
                   .with(() => ({ cats: this.cats() }));
	}

The current behaviour with origin signals does not allow partial updates, this PR changes that, but I may be missing some reason why this was the case in the first place.
If it isn't desirable to include the partial updates change as well, I can update this PR to just include the change which allows this:
connect(this.state).with(() => ({ dogs: this.dogs() }));

as well as this (bottom is currently supported, top isn't):
connect(this.state, () => ({ dogs: this.dogs() }));

I think that's a great extension of the function.
I'd like to have both in connect and with function.
Also, we need to write better docs for all these use cases.


Fixsing Import for countdowntimer

Since Phil don't have PGP key yet.

Micheal couldnt upload without signature


[db-up] db-up fails to install on Python 3.10

Extension name (the extension in question)
db-up
Description of issue (in as much detail as possible)
db-up fails to install on Python 3.10. This will become a big problem since MSI's bundled Python has been updated to 3.10 (https://github.com/Azure/azure-cli/pull/21746):
> az extension add -n db-up --debug
...
Building wheels for collected packages: pymssql
  Created temporary directory: C:\Users\username\AppData\Local\Temp\pip-wheel-cxx55aw1
  Destination directory: C:\Users\username\AppData\Local\Temp\pip-wheel-cxx55aw1
  Building wheel for pymssql (pyproject.toml): started
  Running command Building wheel for pymssql (pyproject.toml)
  setup.py: platform.system() => Windows
  setup.py: platform.architecture() => ('64bit', 'WindowsPE')
  setup.py: include_dirs => []
  setup.py: library_dirs => []
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.10
  creating build\lib.win-amd64-3.10\pymssql
  copying src\pymssql\__init__.py -> build\lib.win-amd64-3.10\pymssql
  running build_ext
  cythoning src\pymssql\_mssql.pyx to src\pymssql\_mssql.c
  cythoning src\pymssql\_pymssql.pyx to src\pymssql\_pymssql.c
  building 'pymssql._mssql' extension
  creating build\temp.win-amd64-3.10
  creating build\temp.win-amd64-3.10\Release
  creating build\temp.win-amd64-3.10\Release\src
  creating build\temp.win-amd64-3.10\Release\src\pymssql
  "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.31.31103\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\cli\py310\include -IC:\Users\username\AppData\Local\Programs\Python\Python310\include -IC:\Users\username\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.31.31103\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /Tcsrc\pymssql\_mssql.c /Fobuild\temp.win-amd64-3.10\Release\src\pymssql\_mssql.obj -DMSDBLIB
  _mssql.c
  src\pymssql\_mssql.c(688): fatal error C1083: Cannot open include file: 'sqlfront.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.31.31103\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  error: subprocess-exited-with-error

  Building wheel for pymssql (pyproject.toml) did not run successfully.
  exit code: 1

  See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: 'D:\cli\py310\Scripts\python.exe' 'D:\cli\py310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\username\AppData\Local\Temp\tmpopi20ied'
  cwd: C:\Users\username\AppData\Local\Temp\pip-install-ot5wfu1n\pymssql_0116479ec63146699bcb3b2980383a29
  Building wheel for pymssql (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for pymssql
Failed to build pymssql
ERROR: Could not build wheels for pymssql, which is required to install pyproject.toml-based projects
Exception information:
Traceback (most recent call last):
  File "D:\cli\py310\lib\site-packages\pip\_internal\cli\base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "D:\cli\py310\lib\site-packages\pip\_internal\cli\req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "D:\cli\py310\lib\site-packages\pip\_internal\commands\install.py", line 375, in run
    raise InstallationError(
pip._internal.exceptions.InstallationError: Could not build wheels for pymssql, which is required to install pyproject.toml-based projects
Removed build tracker: 'C:\\Users\\username\\AppData\\Local\\Temp\\pip-req-tracker-l41tejjf'

db-up


bookie exited and Error contacting zookeeper

Describe the bug
22:38:01.722 [ReplicationWorker] ERROR org.apache.bookkeeper.replication.ReplicationWorker - UnavailableException while replicating fragments
org.apache.bookkeeper.replication.ReplicationException$UnavailableException: Error contacting zookeeper
        at org.apache.bookkeeper.meta.ZkLedgerUnderreplicationManager.isLedgerReplicationEnabled(ZkLedgerUnderreplicationManager.java:728) ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
        at org.apache.bookkeeper.meta.ZkLedgerUnderreplicationManager.waitIfLedgerReplicationDisabled(ZkLedgerUnderreplicationManager.java:619) ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
        at org.apache.bookkeeper.meta.ZkLedgerUnderreplicationManager.getLedgerToRereplicate(ZkLedgerUnderreplicationManager.java:600) ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
        at org.apache.bookkeeper.replication.ReplicationWorker.rereplicate(ReplicationWorker.java:272) ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
        at org.apache.bookkeeper.replication.ReplicationWorker.run(ReplicationWorker.java:238) [org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty-netty-common-4.1.45.Final.jar:4.1.45.Final]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ledgers/underreplication/disable
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:102) ~[org.apache.pulsar-pulsar-zookeeper-2.5.1.jar:2.5.1]
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[org.apache.pulsar-pulsar-zookeeper-2.5.1.jar:2.5.1]
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:2021) ~[org.apache.pulsar-pulsar-zookeeper-2.5.1.jar:2.5.1]
        at org.apache.bookkeeper.zookeeper.ZooKeeperClient.access$2301(ZooKeeperClient.java:70) ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]

To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

@xuesong172500
From the looks of it, the auto recovery process failed to replicate underreplicated ledgers because it was unable to contact Zookeeper.
Can you please give us more information as to why the connections might be failing?
Is the Zookeeper process up?
If it is up and you still got this, is there a Zookeeper log that we can check?

Dropping a comment here since I got similar issue and fixed it. In my cases logs were like:
11:43:49.562 [main-EventThread] ERROR org.apache.bookkeeper.proto.BookkeeperInternalCallbacks - Error in multi callback : -9
11:43:49.562 [main-EventThread] ERROR org.apache.bookkeeper.meta.AbstractZkLedgerManager - Could not read metadata for ledger: 1952798
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ledgers/00/0195/L2798
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102) ~[org.apache.pulsar-pulsar-zookeeper-2.6.4.jar:2.6.4]
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[org.apache.pulsar-pulsar-zookeeper-2.6.4.jar:2.6.4]
	at org.apache.bookkeeper.meta.AbstractZkLedgerManager$3.processResult(AbstractZkLedgerManager.java:448) [org.apache.bookkeeper-bookkeeper-server-4.11.1.jar:4.11.1]
	at org.apache.bookkeeper.zookeeper.ZooKeeperClient$19$1.processResult(ZooKeeperClient.java:994) [org.apache.bookkeeper-bookkeeper-server-4.11.1.jar:4.11.1]
	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:601) [org.apache.pulsar-pulsar-zookeeper-2.6.4.jar:2.6.4]
	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:510) [org.apache.pulsar-pulsar-zookeeper-2.6.4.jar:2.6.4]

And the solution was to allocate more memory/cpu to recovery instances.

Closed as answered. Thanks for sharing your use case @f-ld!


Addition of audio

Can you please advice how to add an audio..

Hello @54nd339,
Thanks for checking out the project!
Audio can be added to the project by using the native HTML <audio> tag.
It looks like this:
<audio autoplay>
  <source src="path/to/audio.ogg" type="audio/ogg">
  <source src="path/to/audio.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio>

Adding it anywhere in the index.html file should work. If you wish to learn more about the audio tag, you can take a look at the documentation here.
Hope this helps! Please feel free to ask any question you might have.
Have fun! 🙂

Hello @54nd339,
Thanks for checking out the project!
Audio can be added to the project by using the native HTML <audio> tag.
It looks like this:
<audio autoplay>
  <source src="path/to/audio.ogg" type="audio/ogg">
  <source src="path/to/audio.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio>

Adding it anywhere in the index.html file should work. If you wish to learn more about the audio tag, you can take a look at the documentation here.
Hope this helps! Please feel free to ask any question you might have.
Have fun! 🙂

@54nd339 Did you succeed in adding audio?? I am trying to add audio and autoplay it after opening site. I have added audio tag in html but audio isn't playing. Can you help me?


empty result

https://github.com/The-Poolz/API4/issues/140
when no data, need return empty array

already have issue like this: #23


Typo fix in instructions how to contribute

Updated the module name from pytests to pytest.
Issue #, if available:
Description of changes:
changed module name pytests to pytest
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   89.11%   89.11%
=======================================
  Files         114      114
  Lines        3343     3343
  Branches      360      360
=======================================
  Hits         2979     2979
  Misses        291      291
  Partials       73       73

Continue to review full report at Codecov.

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


Support autostarting playback on MediaSession apps

Currently it only supports resuming playback on apps that can be directly launched. However, if the media session is currently running, it should be able to resume playback from that app.

This branch (and build) includes an early fix.

Fix confirmed for YouTube Music :D


Center paragraphs with preference for short lines first

When typesetting books I've been consistently running into issue with centered chapter headings. They work great until some author decides to write an essay in the chapter title, then everything goes sideways.
One of the most common problems is that SILE tries to fill up lines and only  breaks them if it needs to, and at the last break point that makes sense. This does not look good. For example consider this title:

It would look much better if earlier break points were preferred:

I have hacked together various hacks to add breaks manually (often by pre-processing the text in perl) but this is cumbersome. A general purpose solution to center more than one line of text but to prefer lines start out short and then work up to longer sizes would be lovely.
Issue #399 mentions centering the last line of a paragraph, which is probably a related problem but definitely not the same thing.

Try this:
SILE.registerCommand("center-short", function (options, content)
  local lang = SILE.font.loadDefaults({}).language
  local nodeMaker = SILE.nodeMakers[lang] or SILE.nodeMakers.unicode
  local oldGlueMaker = nodeMaker.makeGlue
  local count = 1
  nodeMaker.makeGlue = function (self,item)
      coroutine.yield(SILE.nodefactory.newKern({ width = SILE.shaper:measureSpace(self.options) }))
      coroutine.yield(SILE.nodefactory.newPenalty({ penalty = count }))
      count = count + 1
  end

  SILE.call("center", options, content)
  nodeMaker.makeGlue = oldGlueMaker
end)

Tantalizingly this works in some (rare) cases, but not most of the time. I think the difference is going to come down to yet another pushBack() bug, but I can't find it yet...


Change grammar for join

For #741

Current coverage is 67.62% (diff: 100%)

Merging #778 into develop will increase coverage by 0.17%

@@            develop       #778   diff @@
==========================================
  Files             1          1
  Lines          9761       9753     -8
  Methods        1017       1017
  Messages          0          0
  Branches       2918       2915     -3
==========================================
+ Hits           6583       6595    +12
+ Misses         3178       3158    -20
  Partials          0          0

Powered by Codecov. Last update 317cb53...eb3a0a0

This is awesome! thank you so much :)


cppcheck: 2.9.3 -> 2.10

Description of changes
Note, the "bug hunting" feature was removed from version 2.10. It is now only available in the "premium" version of cppcheck. See
https://github.com/danmar/cppcheck/commit/8f386e15fdedff37486c683d933ccc9a1e307388
We also add a basic installation check to avoid issues in the future.
Related #215462 and #216118
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)
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

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

9 packages built:

cppcheck
freeorion
libsForQt5.kdev-php (plasma5Packages.kdev-php)
libsForQt5.kdev-python (plasma5Packages.kdev-python)
libsForQt5.kdevelop (plasma5Packages.kdevelop)
libsForQt5.kdevelop-unwrapped (plasma5Packages.kdevelop-unwrapped)
migraphx
rsstail
sqlitecpp


FHMOBSDK-78 - Add option to allow users to define custom headers to send via .cloud/.act

looks good


Non of the methods applied for my windows 11 home 22H2

[Enter feedback here]
Non of the methods applied for my windows 11 home 22H2.
I tried to disable credential guard on my computer. Neither the GP value nor the registry value exists on my computer.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 41c2cb44-269d-3334-019a-726eb5432f1c
Version Independent ID: 251024cc-b818-18c6-a112-4ac0276cb4b1
Content: Manage Windows Defender Credential Guard - Windows Security
Content Source: windows/security/identity-protection/credential-guard/credential-guard-manage.md
Product: windows-client
Technology: itpro-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Hello @KDAM71 , Credential Guard doesn't apply to Home Edition as the device cannot be domain joined. Can you please clarify what you are trying to disable?

Hello @paolomatarazzo , I was trying to find a solution for a lot of 6155 events.
https://learn.microsoft.com/en-us/answers/questions/961608/event-id-6155-(the-lsa-package-is-not-signed-as-ex?orderBy=Helpful


Framework can't handle left and right trigger (LT and RT) on joystick

https://streamable.com/760vg
Framework ver: 2019.921.0
Joystick used: Xbox 360 Controller (Wireless) and Rexus Gladius GX2 (Wired)

I think I found a way (on the latest master) to work around this problem.
The Xbox 360 controller I use (Wired), has LT and RT on axes 2 and 5 (AX3 and AX6 on the visual test scene). Plugging the controller or running the visual tests with the triggered half-pressed (not completely pressed, nor completely released) allows the visual tests to properly display pressed or release states.
The main issue is that the values for the triggers go from -1 (completely released) to 1 (completely pressed down), causing the deadzone calculation to erroneously set the trigger deadzone to ~1.05 at line 223 here:
https://github.com/ppy/osu-framework/blob/b169c45c13e7cdc45b93f165d42ce23be4c028d5/osu.Framework/Input/Handlers/Joystick/OsuTKJoystickHandler.cs#L210-L225
Temporarily removing axisValue + from line 223 also solves the problem, with triggers being properly detected as axes as shown in the following screenshot:

Releasing the triggers turns the AX3 and AX6 squares red.

This should now be resolved via #3900 (with --sdl enabled). Going to tentatively close - please comment if you have an issue with a specific controller.


Create dekut.txt

added Dedan kimathi university to the list of universities in Kenya

@mcwachira First stage of verification passed, official domain is dkut.ac.ke as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@mcwachira Pull request merged. Thank you.


reversed variables in official Indi formula

https://github.com/fpramunno/InDI-implementation/blob/10aff26ab267c17ecd9ade7cca5fad2f15fcb1f2/training.py#L221
From the paper
" 4 InDI: Our Proposed Formulation
Given (x, y) ∼ p(x, y), we define a continuous forward degradation process by
xt = (1 − t)x + ty, with t ∈ [0, 1]. (1)
The idea of this forward process is that it starts from a clean sharp image at time t = 0, and then degrades
it to the blurry/noisy observation at time t = 1. Here, xt indexed by t, represents an intermediate degraded
image between the low-quality input y (i.e., t = 1) and the high-quality sharp target x (i.e., t = 0). Following
the common notation in diffusion models, we will refer to the index t as the time-step."
Your code uses x as the dirty, and y as the target. This means when sampling starting from 1, you assume the input is already clean.
transformed_image = (1-fct)*dirty + fct*clean
At 0 you will cancel out the clean image and only return the dirty image, at 1 it cancels the dirty and returns the clean. This is the opposite of what is outlined in INDI, where t = 1 corresponds to the dirty image and we step down until t = 0 to get the clean image.
I find it interesting you were able to achieve competitive results with these terms reversed. Intuitively, this would mean that when you are sampling from t = 1 to t = 0 using this implementation, the net assumes the input is actually more degraded then the previous step, as opposed to closer to the clean sample. This could have the effect of forcing the network to increase the level of restoration over time, as opposed to incrementally doing less over time. Great work.

Hi, thanks! I corrected the typo, actually the results that I got were using the correct formula, I made the typo while uploading the code to github!

awesome, also wanted to point out it might be helpful to include the noise and the extra terms while training.

Although in my experience with INDI seems to work without it, could be problem dependent.


[vimscript] Update name in credits

@artemispax @malcolmr FYI

你好，你的邮件已收到,我会尽快回复。祝你工作顺利，生活愉快！

Thanks!

Okay to apply this one change manually?
I already made the corresponding changes on the internal copy, hoping to manually apply them here for now, and in parallel work on setting up tooling to automatically sync changes from Google internal copy to here.


Added Floating Action Button to scaffold layout

Added Fab to scaffold layout so you don't have to wrap scaffold layout inside a box and put fab there.
How to add fab:
CollapsingToolbarScaffold(
    state = rememberCollapsingToolbarScaffoldState(), // provide the state of the scaffold
    toolbar = {
        // contents of toolbar go here...
    },
   floatingActionButton = {
       // contents of fab go here..
   },
   floatingActionButtonPosition = FabPosition.END, // position of fab
) {
    // main contents go here...
}

Thank you for having interest on the project! I like the idea of providing some popular components in the library. However I want to keep the base scaffold as minimal as possible and fab doesn't seem to be required to be implemented directly to the CollapsingToolbarScaffold. May I ask you to compose the fab implementation on top of the base scaffold, and create separate composable something like ToolbarWithFabScaffold?

Now FAB contents goes in ToolbarWithFabScaffold
CollapsingToolbarScaffold stays untouched

Now use CollapsingToolbarScaffold to add FAB
ToolbarWithFabScaffold(
    state = rememberCollapsingToolbarScaffoldState(), // provide the state of the scaffold
    toolbar = {
        // contents of toolbar go here...
    },
   fab = {
       // contents of fab go here..
   },
   fabPosition = FabPosition.END, // position of fab
) {
    // main contents go here...
}

Great work 😃 Thank you for your contribution!


Improve contribution guidelines

Example: https://github.com/rwengine/openrw/wiki/Contributing

TODO: Fill in the "Contributing as a developer section"


Provide a "smarter" document formatter

Is your feature request related to a problem? Please describe.
Current document formatting only modifies preceding and trailing whitespace on lines. It would be great if it could handle more advanced formatting, like adjusting whitespace within a line (e.g. a            =            4+ 5 formatted to a = 4 + 5).

Related to this, is there a reason why the formatter adds spaces in empty lines? Trailing spaces are usually discouraged (at least in my experience), and raise warnings with, e.g., git diff --check.
In this example I've replaced the trailing spaces added by the formatter with the · sign, to make them visible.
j = 0;
l = 0;
for i = 0:10
    j = j + 1;
····
    l = l + 2;
end


Fleshed out contributing docs to include pre-commit,style,build info

I did the changes as discussed. Please have a look at it :)

📚 Documentation preview 📚: https://earthaccess--744.org.readthedocs.build/en/744/

pre-commit.ci autofix

pre-commit.ci autofix


Fix errors reported by go vet

For the benchmark, u.String() or the loop could
potentially be optimized away by the compiler (see
http://dave.cheney.net/2013/06/30/how-to-write-benchmarks-in-go for more
information). A format string in uuid_test.go has the wrong type.

Coverage remained the same at 96.565% when pulling e9dec51388f9639794f792b109cca378b944ddb8 on kevinburke:fix-vet into 0aa62d5ddceb50dbcb909d790b5345affd3669b6 on satori:master.

LGTM.


error TS2300: Duplicate identifier

Hi,
I'm building an app using angular2 and using tsd for some typeScript libs.
angular2 is being installed using npm and I'm importing the oboe package with tsd.
When doing so, I'm getting an error of duplicated identifier for each and every node identifier because tsd is loading node as oboe dependency while angular2 has all it dependent *.d.ts in it sources (node.d.ts is one of them).
Is there a proper way to overcome it? I don't sure if this is a bug or not.

This is a core issue of the current packing strategy of DefinitelyTyped, but it should be solved in Angular. Feel free to contribute to the issues over there. See https://github.com/angular/angular/issues/5807, https://github.com/angular/angular/issues/5459 and https://github.com/angular/angular/issues/5395.


Need a way to make synchronous calls from plugin platform code to Dart code

This came up as part of https://github.com/flutter/flutter/issues/25329:
The Android WebView API allows passing in a delegate that is invoked on the platform thread before a page is about to be loaded, the delegate needs to synchronously return true or false to determine whether to allow the navigation or to block it.
We needed to expose the same functionality in the webview_flutter plugin, ideally by delegating the decision to the Flutter application's Dart code. But this is currently impossible due to the combination of:

Communication over platform channels is asynchronous.
Messages sent from Dart to the platform channels are only delivered to the platform thread(by posting a task to the message loop).

Even if we were to block the platform thread waiting for the Dart code to make a decision, we would not be able to receive the message back from Dart(as the platform thread is blocked) and create a deadlock.
One potential approach for overriding this is to allow "platform channels" that deliver message to platform code on a separate thread. We could then:

Send a message to Dart from the platform thread.
Block the platform thread with some thread synchronization primitive.
Dart code will send the response to a dedicated thread.
The dedicated thread will release the latch that the platform thread is waiting on.

If we do this we should probably require that the "special thread" is always different from the platform thread.
For https://github.com/flutter/flutter/issues/25329 we're currently proceeding with a workaround that makes some security compromises(which means when an app sets a navigation delegate it should only load trusted content). But we should remove that workaround as soon as this issue is resolved.
cc @cbracken @jason-simmons

Hi @amirh, is there any progress on this issue?

I don't see how the proposal would avoid deadlocks. Wouldn't a deadlock still happen if the dedicated isolate communicated with the main Dart thread which then communicated with the platform thread?

cc @gaaclarke since this ties in to your https://docs.google.com/document/d/1bD_tiN987fWEPtw7tjXHzqZVg_g9H95IS32Cm609VZ8 explorations (sorry google internal) on pigeon.

This is already possible with FFI.  I have examples of it here for android and iOS: https://github.com/gaaclarke/MessagingTiming

@iskakaushik just found this bug with some more context. Also, there's some interest in the reverse direction as well. But it doesn't have to be the same technical solution. An example is ByteDance wanting to consult a native SDK API while building a frame without incurring the thread hopping expenses. But I'd treat that direction at a lower priority.

The same limitation we are also facing when we are trying to share data via content provider from flutter app to a different native app.
The scenario is, android part of the flutter app exposes a content provider. A different native android app is communicating to the content provider. Now upon receiving the request native part of the flutter app fires up a platform channel to fetch data from the flutter side. Now only the asynchronous callback mechanism is supported by the native to flutter platform channel for data sharing and the content provider needs data to be returned in a synchronous way from the query method. We can achieve this by putting a latch or blocking the thread, however, when we block the thread the native c++ code in the platform channel event queue does not propagate the communication anymore (to flutter part from native) as the platform channel only works in main thread.
If anyone can think of any workaround, please jump in.

I believe this could be done, at least on the desktop platforms. Currently, we are able to call the code in the /windows folder by FFI. This could be supported on the framework for at Windows and Linux, that use C++.
Also, for Android, we could make use of the Android NDK, and call it through FFI. We can call Java/Kotlin code from NDK (using GetStaticMethodID).
I don't have experience with Swift (for iOS and macOS), but I believe it's also possible.

Also, this would be able to solve https://github.com/flutter/flutter/issues/90080


Define J gene donor splice site

AlleleDescription.j_donor_splice aims to define the donor splice site 3' of a J gene. However, as the actual splicing occurs between two nucleotides, it needs to be defined whether the referenced position is the last exonic or first intronix nucleotide.

Changed the description to: Co-ordinate (in the sequence field) of the final 3' nucleotide of the J-REGION (J-genes only)


Merge and rebase needs detail guide on how to solve conflict

Pls refer to https://zhuanlan.zhihu.com/p/139286857.

addressed with 82c5dd1.


[Bug]: Create "other" app fails

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
ZITADEL Cloud
Version
v2.47
Database
None
Database Version
No response
Describe the problem caused by this bug
If I want to create an "other" app I get an error and cannot continue.
To reproduce

Go to console
Click on "Create Application"
Enter an unused project name (create new project)
select "other" framework
click "Create Project xyz"
click "Create"

Screenshots

Expected behavior
No error.
And why is the project not shown on the left?
Operating System
safari
Relevant Configuration
No response
Additional Context
No response

This is already mentioned in the following issue: https://github.com/zitadel/zitadel/issues/7526
To avoid duplicated i will close this issue


ReadME.md: eval not evall

README.md
Example ::test::Rotext
Line 2 (eval not eval)
namespace eval ::test { }
Gregor

Thanks, it is fixed now.


ANC PostPartum - Maternal Mental Health [1h]

Issue
During the post-partum visit, the patient will be asked the same series of Maternal Mental Health questions that we ask elsewhere in the ANC module.
Design -> Use the exact same screens as in #290
To Do

Create Maternal Mental Health Activity (if not already done in #352 )
Style screens per design

https://nutrition-ihangane.pantheonsite.io/
QA Review
Checked and approved:

Maternal mental health screens are correctly styled.

1
2
3
4
5


UI bug with overlapping "Fork me on github" banner

At certain screen widths the "Fork me on github" banner overlays the paper's PDF button.
Normal case:

Problematic case:

I'd be happy to help solving if there's interest and no ongoing UI rework already.

thanks, noticed this too and fixed it. will push soon too.


filed under heavy load

Stacktrace:
at  <0xffffffff>
at (wrapper managed-to-native) object.wrapper_native_0x7432563c (Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle,int) <0xffffffff>
at Microsoft.AspNet.Server.Kestrel.Networking.Libuv.run (Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle,int) <0x00043>
at Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle.Run (int) <0x00027>
at Microsoft.AspNet.Server.Kestrel.KestrelThread.ThreadStart (object) <0x001b7>
at System.Threading.Thread.StartInternal () <0x000d7>
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
Mono support loaded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x735ff440 (LWP 2383)]
[New Thread 0x728ff440 (LWP 2381)]
[New Thread 0x71eff440 (LWP 2380)]
[New Thread 0x725ff440 (LWP 2379)]
[New Thread 0x72aff440 (LWP 2299)]
[New Thread 0x737ff440 (LWP 2297)]
[New Thread 0x743f1440 (LWP 2296)]
[New Thread 0x76abb440 (LWP 2295)]
0x76ec9504 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
Id   Target Id         Frame
9    Thread 0x76abb440 (LWP 2295) "Finalizer" 0x76ecb770 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
8    Thread 0x743f1440 (LWP 2296) "Threadpool moni" 0x76eeb894 in clock_nanosleep () from /lib/arm-linux-gnueabihf/librt.so.1
7    Thread 0x737ff440 (LWP 2297) "Threadpool work" 0x76ecc840 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
6    Thread 0x72aff440 (LWP 2299) "mono" 0x76ecdaac in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0
5    Thread 0x725ff440 (LWP 2379) "Threadpool work" 0x76ec9504 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
4    Thread 0x71eff440 (LWP 2380) "Threadpool work" 0x76ec9504 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
3    Thread 0x728ff440 (LWP 2381) "Threadpool work" 0x76ec9504 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
2    Thread 0x735ff440 (LWP 2383) "Threadpool work" 0x76ecb9c4 in sem_timedwait () from /lib/arm-linux-gnueabihf/libpthread.so.0

1    Thread 0x76fa1000 (LWP 2287) "mono" 0x76ec9504 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0

Thread 9 (Thread 0x76abb440 (LWP 2295)):
#0  0x76ecb770 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0x002277b8 in mono_sem_wait (sem=0x2fae1c, alertable=1) at mono-semaphore.c:101
#2  0x001aef78 in finalizer_thread (unused=) at gc.c:1093
#3  0x0018fe74 in start_wrapper_internal (data=) at threads.c:664
#4  start_wrapper (data=) at threads.c:711
#5  0x0022dcf0 in inner_start_thread (arg=) at mono-threads-posix.c:96
#6  0x76ec4c00 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#7  0x76e31728 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#8  0x76e31728 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 8 (Thread 0x743f1440 (LWP 2296)):
#0  0x76eeb894 in clock_nanosleep () from /lib/arm-linux-gnueabihf/librt.so.1
#1  0x0021a720 in wapi_SleepEx (ms=, alertable=1) at wthreads.c:272
#2  0x001922f0 in monitor_thread (unused=) at threadpool.c:856
#3  0x0018fe74 in start_wrapper_internal (data=) at threads.c:664
#4  start_wrapper (data=) at threads.c:711
#5  0x0022dcf0 in inner_start_thread (arg=) at mono-threads-posix.c:96
#6  0x76ec4c00 in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0
#7  0x76e31728 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
Cannot access memory at address 0x542e6d5c
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Aborted

Kestrel does use libuv, but don't see it here in the backtrace.
On Apr 3, 2015 18:35, "bosstjann"<EMAIL_ADDRESS>wrote:

Stacktrace:
at
at (wrapper managed-to-native) object.wrapper_native_0x7432563c
(Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle,int)
at Microsoft.AspNet.Server.Kestrel.Networking.Libuv.run
(Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle,int)
at Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle.Run (int)
at Microsoft.AspNet.Server.Kestrel.KestrelThread.ThreadStart (object)
at System.Threading.Thread.StartInternal ()
at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr)
Native stacktrace:
Debug info from gdb:
Mono support loaded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x735ff440 (LWP 2383)]
[New Thread 0x728ff440 (LWP 2381)]
[New Thread 0x71eff440 (LWP 2380)]
[New Thread 0x725ff440 (LWP 2379)]
[New Thread 0x72aff440 (LWP 2299)]
[New Thread 0x737ff440 (LWP 2297)]
[New Thread 0x743f1440 (LWP 2296)]
[New Thread 0x76abb440 (LWP 2295)]
0x76ec9504 in pthread_cond_wait@@GLIBC_2.4 () from
/lib/arm-linux-gnueabihf/libpthread.so.0
Id Target Id Frame
9 Thread 0x76abb440 (LWP 2295) "Finalizer" 0x76ecb770 in sem_wait@@GLIBC_2.4
() from /lib/arm-linux-gnueabihf/libpthread.so.0
8 Thread 0x743f1440 (LWP 2296) "Threadpool moni" 0x76eeb894 in
clock_nanosleep () from /lib/arm-linux-gnueabihf/librt.so.1
7 Thread 0x737ff440 (LWP 2297) "Threadpool work" 0x76ecc840 in read ()
from /lib/arm-linux-gnueabihf/libpthread.so.0
6 Thread 0x72aff440 (LWP 2299) "mono" 0x76ecdaac in waitpid () from
/lib/arm-linux-gnueabihf/libpthread.so.0
5 Thread 0x725ff440 (LWP 2379) "Threadpool work" 0x76ec9504 in
pthread_cond_wait@@GLIBC_2.4 () from
/lib/arm-linux-gnueabihf/libpthread.so.0
4 Thread 0x71eff440 (LWP 2380) "Threadpool work" 0x76ec9504 in
pthread_cond_wait@@GLIBC_2.4 () from
/lib/arm-linux-gnueabihf/libpthread.so.0
3 Thread 0x728ff440 (LWP 2381) "Threadpool work" 0x76ec9504 in
pthread_cond_wait@@GLIBC_2.4 () from
/lib/arm-linux-gnueabihf/libpthread.so.0
2 Thread 0x735ff440 (LWP 2383) "Threadpool work" 0x76ecb9c4 in
sem_timedwait () from /lib/arm-linux-gnueabihf/libpthread.so.0

1 Thread 0x76fa1000 (LWP 2287) "mono" 0x76ec9504 in
pthread_cond_wait@@GLIBC_2.4 () from
/lib/arm-linux-gnueabihf/libpthread.so.0

Thread 9 (Thread 0x76abb440 (LWP 2295)):
#0 0x76ecb770 in sem_wait@@GLIBC_2.4 () from
/lib/arm-linux-gnueabihf/libpthread.so.0
#1 https://github.com/libuv/libuv/pull/1 0x002277b8 in mono_sem_wait
(sem=0x2fae1c, alertable=1) at mono-semaphore.c:101
#2 https://github.com/libuv/libuv/pull/2 0x001aef78 in finalizer_thread
(unused=) at gc.c:1093
#3 https://github.com/libuv/libuv/pull/3 0x0018fe74 in
start_wrapper_internal (data=) at threads.c:664
#4 https://github.com/libuv/libuv/issues/4 start_wrapper (data=) at
threads.c:711
#5 https://github.com/libuv/libuv/issues/5 0x0022dcf0 in
inner_start_thread (arg=) at mono-threads-posix.c:96
#6 https://github.com/libuv/libuv/issues/6 0x76ec4c00 in start_thread
() from /lib/arm-linux-gnueabihf/libpthread.so.0
#7 https://github.com/libuv/libuv/issues/7 0x76e31728 in ?? () from
/lib/arm-linux-gnueabihf/libc.so.6
#8 https://github.com/libuv/libuv/pull/8 0x76e31728 in ?? () from
/lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 8 (Thread 0x743f1440 (LWP 2296)):
#0 0x76eeb894 in clock_nanosleep () from
/lib/arm-linux-gnueabihf/librt.so.1
#1 https://github.com/libuv/libuv/pull/1 0x0021a720 in wapi_SleepEx
(ms=, alertable=1) at wthreads.c:272
#2 https://github.com/libuv/libuv/pull/2 0x001922f0 in monitor_thread
(unused=) at threadpool.c:856
#3 https://github.com/libuv/libuv/pull/3 0x0018fe74 in
start_wrapper_internal (data=) at threads.c:664
#4 https://github.com/libuv/libuv/issues/4 start_wrapper (data=) at
threads.c:711
#5 https://github.com/libuv/libuv/issues/5 0x0022dcf0 in
inner_start_thread (arg=) at mono-threads-posix.c:96
#6 https://github.com/libuv/libuv/issues/6 0x76ec4c00 in start_thread
() from /lib/arm-linux-gnueabihf/libpthread.so.0
#7 https://github.com/libuv/libuv/issues/7 0x76e31728 in ?? () from
/lib/arm-linux-gnueabihf/libc.so.6
Cannot access memory at address 0x542e6d5c
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Aborted
—
Reply to this email directly or view it on GitHub
https://github.com/libuv/libuv/issues/300.


APACHE SUPERSET CHANGE FILTER VALUE ORDER

The order of these values in the Age filter is not quite right. I want the value "6 - 13" to be below "0 - 5". Is there any way to set that in Apache Superset?

they are treated like strings and sorted accordingly, don't think its possible to find integers in the string then sort.
also this should be a feature request in the discussions.


Outgoing HTTP request tracing

Hiya,
It would be good if the outgoing HTTP tracing was extended to also include HTTP requests issued through System.Net.Http.HttpClient. This is just anecdotal, but it seems there is an industry-wide shift towards this new API.
Ideally, the SDK might provide a DelegatingHandler subclass that we can inject into the HTTP client for a most-invisible installation of the SDK across our code base. Developers are reluctant to change how they interact with the HttpClient (e.g. no SendAsyncTraced())
Thoughts?

Hi @aidansteele,
We appreciate your suggestion. We also welcome you to submit a pull request for this feature.
I am currently closing this issue. We would consider this in our future release.
Thanks,
Yogi


NIFIREG-455 upgrade jgit version for nifi-registry GitFlowPersistence…

…Provider

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
NIFIREG-455 upgrade jgit version for nifi-registry GitFlowPersistenceProvider
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
~[ ] Have you written or updated unit tests to verify your changes?~
[x] Have you verified that the full build is successful on JDK 8?
[x] Have you verified that the full build is successful on JDK 11?
~[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?~
~[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?~
~[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?~
~[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?~

For documentation related changes:

~[ ] Have you ensured that format looks appropriate for the output in which it is rendered?~

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

+1 LGTM, thanks for the upgrade! Merging to main


ics26_routing: Impl Protobuf<Any> for MsgEnvelope

Closes: #XXX
Description

Implement Protobuf<Any> for MsgEnvelope so that serialization of MsgEnvelope types is possible. This matches the already-existing TryFrom<Any> implementation.
Using msg.encode_vec().unwrap() is safe because .encode_vec() will never return an error, as the buffer will always be constructed to be the correct size. I will submit a follow-up PR to ibc-proto to update the return type of encode_vec().

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests.
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Reference to upstream PR: cosmos/ibc-proto-rs#73

Thanks for this improvement suggestion.
Note that since each message type provides a to_any method, we can extract the domain message from MsgEnvelop and apply domain_msg.to_any()
However, from what I've seen, the typical conversion flow to work with the IBC-rs implementation is from Any to MsgEnvelop, and the reverse direction may be rarely used which makes me to think there is no need to retain it in the IBC-rs boundary. Nonetheless, the follow-up PR to ibc-proto may still work and if your project requires that conversion, please let us know what it is used for. we are happy to help.

And a quick request. I’d appreciate for such cases if you open a GitHub issue in advance, so we could keep our changelog and plannings consistent. This helps us to search, track and prioritize our issues in a more efficient way. 🙏🏻 🌷

Will do regarding issues! To respond to the use case: I need to serialize MsgEnvelope within my code so I can create a client that passes them to our IBC handler, so I thought that this would be the easiest way to do so. If you would prefer not to include this serialization I can just copy-paste what I have here directly into my code.

Will do regarding issues! To respond to the use case: I need to serialize MsgEnvelope within my code so I can create a client that passes them to our IBC handler, so I thought that this would be the easiest way to do so. If you would prefer not to include this serialization I can just copy-paste what I have here directly into my code.

In fact, this comment applies here as well. Since we are going towards making our msg structs private (issue #324), we'd prefer only to maintain necessary parts/conversions needed to work with the IBC-rs implementation.

I think this should be fine as long as there's some way to call dispatch after the change to make things private happens. Is the idea to depend solely on the ibc-proto-generated raw message types then?

Is the idea to depend solely on the ibc-proto-generated raw message types then?

That's right. We need to make changes to the domain types from time to time, which is a breaking change every time (which won't work when we're on version 1.x).

Got it, in that case I'll close this PR and await the API changes once the msg structs are private.


Fix "resizing panes" up & down key mappings in README

Currently the README says that prefix + shift + j expands the current pane up and prefix + shift + k expands it down; it should be the other way around.

Thanks


Figure out what to do about C# language versions on Windows

On Windows, the highest available language version is dictated by the highest MSBuild and Visual Studio version.  Right now we force it to 6, but this is incompatible with different versions of Visual Studio.
We could just reset it to Default, but then different people with different versions of Visual Studio will get errors relating to syntax rather than unavailable language versions.
We could also make the Protobuild Manager install the MSBuild 2015 tools, but apparently this doesn't fix the issue when loading it in older versions of Visual Studio.
This isn't an issue on Mac / Linux, because those are always the latest versions.

For reference:

C# language version 4 is 2010 (which we no longer support because of a .NET 4.5 minimum).
C# language version 5 is 2012 and 2013 (which maps to .NET 4.5)
C# language version 6 is 2015 (which maps to .NET 4.5.2)

We could just lower the default to version 5 for now, this is also the version that MonoGame is overridden to use.


Suggested changes to https://obds-training.github.io/Help/docs/connect/ssh-configuration/ssh-key-pair/

Please change the SSH key generation algorithm to "ssh-keygen -t ecdsa -b 521".
Please change the text to say that a 16 character private key password is mandatory and the private keys without a password are strictly prohibited
Please update copying the public file command to "ssh-copy-id -i ~/.ssh/ecdsa @" (I think)
Please change the SSH config line to "IdentityFile ~/.ssh/ecdsa"
Please remove all config lines after this (let's chat this over at some point)#
Please update the section "Login with your SSH keypair" to "You can now log into the CCB cluster using the same ssh command as before. You will be prompted to type your SSH passphrase when the SSH key pair is used."

Not stale

Revisited this in #169
Namely, I've moved the extra ssh config options to a separate page "advanced client configuration" with a clear warning that we don't recommend using those options unless the need is identified.


ENH: Add Fiedler and fiedler companion to special matrices

These are in my opinion both interesting enough due to their properties and also once in a while useful to have. Especially the companion is better conditioned than the regular Frobenius companion which we might use for root finding when used with matrix_balance (which is also an active research area).

@larsoner Can you help me understand what the problem is with the error here? After See Also is it tripping because it sees the first dot as a second reference ?

Allright, all green and no more comments, in it goes. Thanks @ilayn


Bug in the coding challenges

Affected page
Add a link to the coding challenge with the problem.
Your code
Copy and paste the code from the editor that you used in between the back-ticks below:
// The global variable
var watchList = [
  {
    "Title": "Inception",
    "Year": "2010",
    "Rated": "PG-13",
    "Released": "16 Jul 2010",
    "Runtime": "148 min",
    "Genre": "Action, Adventure, Crime",
    "Director": "Christopher Nolan",
    "Writer": "Christopher Nolan",
    "Actors": "Leonardo DiCaprio, Joseph Gordon-Levitt, Elliot Page, Tom Hardy",
    "Plot": "A thief, who steals corporate secrets through use of dream-sharing technology, is given the inverse task of planting an idea into the mind of a CEO.",
    "Language": "English, Japanese, French",
    "Country": "USA, UK",
    "Awards": "Won 4 Oscars. Another 143 wins & 198 nominations.",
    "Poster": "http://ia.media-imdb.com/images/M/MV5BMjAxMzY3NjcxNF5BMl5BanBnXkFtZTcwNTI5OTM0Mw@@._V1_SX300.jpg",
    "Metascore": "74",
    "imdbRating": "8.8",
    "imdbVotes": "1,446,708",
    "imdbID": "tt1375666",
    "Type": "movie",
    "Response": "True"
  },
  {
    "Title": "Interstellar",
    "Year": "2014",
    "Rated": "PG-13",
    "Released": "07 Nov 2014",
    "Runtime": "169 min",
    "Genre": "Adventure, Drama, Sci-Fi",
    "Director": "Christopher Nolan",
    "Writer": "Jonathan Nolan, Christopher Nolan",
    "Actors": "Ellen Burstyn, Matthew McConaughey, Mackenzie Foy, John Lithgow",
    "Plot": "A team of explorers travel through a wormhole in space in an attempt to ensure humanity's survival.",
    "Language": "English",
    "Country": "USA, UK",
    "Awards": "Won 1 Oscar. Another 39 wins & 132 nominations.",
    "Poster"<EMAIL_ADDRESS>    "Metascore": "74",
    "imdbRating": "8.6",
    "imdbVotes": "910,366",
    "imdbID": "tt0816692",
    "Type": "movie",
    "Response": "True"
  },
  {
    "Title": "The Dark Knight",
    "Year": "2008",
    "Rated": "PG-13",
    "Released": "18 Jul 2008",
    "Runtime": "152 min",
    "Genre": "Action, Adventure, Crime",
    "Director": "Christopher Nolan",
    "Writer": "Jonathan Nolan (screenplay), Christopher Nolan (screenplay), Christopher Nolan (story), David S. Goyer (story), Bob Kane (characters)",
    "Actors": "Christian Bale, Heath Ledger, Aaron Eckhart, Michael Caine",
    "Plot": "When the menace known as the Joker wreaks havoc and chaos on the people of Gotham, the caped crusader must come to terms with one of the greatest psychological tests of his ability to fight injustice.",
    "Language": "English, Mandarin",
    "Country": "USA, UK",
    "Awards": "Won 2 Oscars. Another 146 wins & 142 nominations.",
    "Poster": "http://ia.media-imdb.com/images/M/MV5BMTMxNTMwODM0NF5BMl5BanBnXkFtZTcwODAyMTk2Mw@@._V1_SX300.jpg",
    "Metascore": "82",
    "imdbRating": "9.0",
    "imdbVotes": "1,652,832",
    "imdbID": "tt0468569",
    "Type": "movie",
    "Response": "True"
  },
  {
    "Title": "Batman Begins",
    "Year": "2005",
    "Rated": "PG-13",
    "Released": "15 Jun 2005",
    "Runtime": "140 min",
    "Genre": "Action, Adventure",
    "Director": "Christopher Nolan",
    "Writer": "Bob Kane (characters), David S. Goyer (story), Christopher Nolan (screenplay), David S. Goyer (screenplay)",
    "Actors": "Christian Bale, Michael Caine, Liam Neeson, Katie Holmes",
    "Plot": "After training with his mentor, Batman begins his fight to free crime-ridden Gotham City from the corruption that Scarecrow and the League of Shadows have cast upon it.",
    "Language": "English, Urdu, Mandarin",
    "Country": "USA, UK",
    "Awards": "Nominated for 1 Oscar. Another 15 wins & 66 nominations.",
    "Poster": "http://ia.media-imdb.com/images/M/MV5BNTM3OTc0MzM2OV5BMl5BanBnXkFtZTYwNzUwMTI3._V1_SX300.jpg",
    "Metascore": "70",
    "imdbRating": "8.3",
    "imdbVotes": "972,584",
    "imdbID": "tt0372784",
    "Type": "movie",
    "Response": "True"
  },
  {
    "Title": "Avatar",
    "Year": "2009",
    "Rated": "PG-13",
    "Released": "18 Dec 2009",
    "Runtime": "162 min",
    "Genre": "Action, Adventure, Fantasy",
    "Director": "James Cameron",
    "Writer": "James Cameron",
    "Actors": "Sam Worthington, Zoe Saldana, Sigourney Weaver, Stephen Lang",
    "Plot": "A paraplegic marine dispatched to the moon Pandora on a unique mission becomes torn between following his orders and protecting the world he feels is his home.",
    "Language": "English, Spanish",
    "Country": "USA, UK",
    "Awards": "Won 3 Oscars. Another 80 wins & 121 nominations.",
    "Poster": "http://ia.media-imdb.com/images/M/MV5BMTYwOTEwNjAzMl5BMl5BanBnXkFtZTcwODc5MTUwMw@@._V1_SX300.jpg",
    "Metascore": "83",
    "imdbRating": "7.9",
    "imdbVotes": "876,575",
    "imdbID": "tt0499549",
    "Type": "movie",
    "Response": "True"
  }
];

function getRating(watchList){
  // Only change code below this line
  var averageRating = watchList.filter(movie => movie["Director"] === "Christopher Nolan")
  .map(ratings => ratings["imdbRating"])
  .reduce((result, rating) => {
    return parseFloat(result) + parseFloat(rating)
  },0)/ watchList.filter(movie => movie["Director"] === "Christopher Nolan").length

  // Only change code above this line
  return averageRating;
}
console.log(getRating(watchList));

Expected behavior
It is not working like this
function getRating(watchList){
  // Only change code below this line
  var averageRating = watchList.filter(movie => movie["Director"] === "Christopher Nolan")
  .map(ratings => ratings["imdbRating"])
  .reduce((result, rating) => {
    return parseFloat(result) + parseFloat(rating)
  },0)/ watchList.filter(movie => movie["Director"] === "Christopher Nolan").length

  // Only change code above this line
  return averageRating;
}

but the challenge is passed if We write it as
function getRating(watchList){
  // Only change code below this line
  var averageRating = watchList.filter(movie => movie["Director"] === "Christopher Nolan").map(ratings => ratings["imdbRating"]).reduce((result, rating) => {
    return parseFloat(result) + parseFloat(rating)
  },0)/ watchList.filter(movie => movie["Director"] === "Christopher Nolan").length

  // Only change code above this line
  return averageRating;
}

Device:  Laptop
OS: Windows 10
Browser:  chrome

Thanks for opening this issue, have you gotten a chance to discuss this on https://forum.freecodecamp.org - our community forum first.
Also please help us fill the complete description in the issue report including links to the challenge etc.

duplicate of #41951 and since been resolved, closing


⚠ Spryr has degraded performance

In be1fe69, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4439 ms

Resolved: Spryr performance has improved in 838ffc3 after 35 minutes.


Free look 2

I approve of the functionality this branch offers.
I would like the commit history to be cleaner, (rem 3c022b3, combine 9f16e47 and 1f2626a )
but we can ignore that for now, as others get onboard with the coding standards as well.


Extended atomic types

The standard library offers several primitive atomic types: Atomic{Usize,Isize,Bool,Ptr}. Nightly Rust also has Atomic{U8,I8,U16,I16,U32,I32,U64,I64}.
Those are the primitive types, and then there are crates that expand a little bit. Crate atomic has type Atomic<T> where T can be any type (small Ts that are Copy use primitive atomics, and large or non-Copy Ts simply get wrapped in a mutex). crossbeam has AtomicOption<T> (atomic Option<Box<T>>) and ArcCell<T> (atomic Arc<T>). There's also crate atomic-option with a wider set of methods on AtomicOption<T>.
Taking a step back, I'd summarize and rename all those extended atomic types like this:

AtomicBox<T> - atomic Option<Box<T>> (equivalent AtomicOption<T>)
AtomicArc<T> - atomic Option<Arc<T>> (similar to ArcCell<T>)
AtomicCell<T> - atomic Cell<T> (equivalent to Atomic<T>)

What do you think about including such AtomicBox<T>, AtomicArc<T>, and AtomicCell<T> in Crossbeam?
What I'm attempting to do here is to come up with a well-thought-out set of complementary atomic types that is a natural extension to the primitve atomic types in the standard library. Any thoughts or ideas? Any other nice-to-have atomic types I'm missing?

I think the proposed nomenclature is more consistent than that of the current implementation.  May I ask why AtomicBox and AtomicArc correspond to Option<Box> and Option<Arc>, not Box and Arc?

Well, atomic Option<Box>/Option<Arc> are strictly more powerful than atomic Box/Arc, and also more commonly used, I believe (for non-atomic variants this may not be true, though). It's like that argument why we have Ptr<'scope, T> and don't have non-nullable Ref<'scope, T>. :)
We could have the whole palette of AtomicBox/AtomicArc/AtomicOptionBox/AtomicOptionArc, but my speculation is that the utility of having non-nullable variants will be low. Just my guess, though.
Yeah, I was thinking of subsuming the functionality of atomic and atomic-option crates.
Pinging @Amanieu and @reem to see what they think about this.

I wonder if we can efficiently implement AtomicBox and AtomicArc.  If they don't fit in a single word, we should resort to blocking implementation for portability, right?  Can we ensure that they are fit into a single word?

// Accepts only `T: Sized`, pointers to which always fit into a single word.
struct AtomicBox<T> { inner: AtomicPtr<T> }

// Also accepts `T: !Sized`, pointers to which are fat (two words).
// We would need advanced specialization for this (not yet implemented).
struct AtomicBox<T: ?Sized> { inner: ??? }

I don't think we can easily support fat pointers at all, at least not until full specialization gets into Rust.

AtomicArc and AtomicBox should probably support Option, even if the name desn't say so :+1:
I don't have a strong opinion on supporting arbitrary sized stuff (?Sized and AtomicCell).

Another primitive we might want is something like Pinboard. This is basically just an epoch-protected Box. The interface would be along the lines of:
impl<T: Send> EpochBox<T> {
    fn new(t: T) -> Self;
    fn remove(&self);
    fn set(&self, t: T);
}

impl<T: Send + Sync> EpochBox<T> {
    fn get<'scope>(&self, scope: &'scope Scope) -> Option<&'scope T>;
    fn take<'scope>(&self, scope: &'scope Scope) -> Option<&'scope T>;
    fn swap<'scope>(&self, t: T, scope: &'scope Scope) -> Option<&'scope T>;
}

impl<T: Send + Sync + Clone> EpochBox<T> {
    fn get_clone(&self) -> Option<T>;
    fn take_clone(&self) -> Option<T>;
    fn swap_clone(&self, t: T) -> Option<T>;
}

The second group of functions in the middle are too easy to misuse (as in holding the pin for too long). This was one of the reasons we preferred the closure api instead of handle.
EpochArc also works well.

https://github.com/crossbeam-rs/crossbeam-utils/issues/2 suggests that we should not allow users to specify Ordering for atomic operations, at least for AtomicBox and AtomicArc.
For AtomicCell<T>, the only implementation I can think of for big T (of size > 2 words) is just locking: we cannot effectively guarantee atomicity for a big type.  @stjepang Is it the implementation you thought of?

@jeehoonkang Yeah, I'm thinking of AtomicCell<T> as similar to std::atomic in C++, where it uses atomic instructions for small types and mutexes for bigger types.

You may want to have a look at this crate, which does exactly that.

The disadvantage of using a mutex is that the crate won't work with no_std any more. This is why I used spinlocks in the atomic crate.

What do folks think about supporting double-word atomics?

@spacejam It should be exposed as AtomicU128 / AtomicI128 on platforms that support it.

@Amanieu in particular I'm interested in dw cas that runs on ARM 32 (6k+) for the equivalent of AtomicU64 so that sled can easily support that architecture.

AtomicU64 should already work on some ARM targets (v6 and above). These targets are v6 and above:

arm-unknown-linux-gnueabi
arm-unknown-linux-gnueabihf
armv7-unknown-linux-gnueabihf

@spacejam I'm also waiting for DWCAS to land in Rust.  It will enable a whole new class of concurrent algorithms, e.g. LCRQ for starters.  It was not possible even in C++, as DWCAS is not supported in its standard library!

@jeehoonkang there is a bunch of code I'm looking forward to refactoring once DWCAS is available! Super excited for it :)

@jeehoonkang DWCAS is supported in C++ through the generic std::atomic<T> type. Just make T a 2-word struct.


Achieve feature parity (or near-parity) on web

Right now, the web repository is empty. We'll need to work on that ;)
We'll need to investigate the practicality of various things with IndexedDB. The main semantic effort will be creating a dexie-esque library which uses automerge CRDTs under the hood.

Re: relationships in IndexedDB

The alternative, then is to run a query on the foreign database every time we need to find the foreign information by key, which is no longer a relationship at all. [from #4]

Right, I think that is attempted here: https://github.com/ignasbernotas/dexie-relationships/blob/master/src/index.js
As you say, those are not "real" relationships strictly speaking and performance might be subpar (makes sense it doesn't make it into Isar) but as a third party module they do bring convenience. These same third-party tools, in their scope, can also offer referential integrity.

As you say, those are not "real" relationships strictly speaking and performance might be subpar (makes sense it doesn't make it into Isar) but as a third party module they do bring convenience. These same third-party tools, in their scope, can also offer referential integrity.

I can see the idea here. I think that having external libraries, which function primarily as a wrapper over Isar, could be helpful (especially considering how fast Isar will be on native). On the other hand, that might not be the foremost concern (for now).

We have been using hive since last year and planning to move to isar db.
It Looks pretty amazing but we need web support to be able to migrate from hive.
I would like to know how far the web support is on the roadmap. as I don't see much web related activity in this repo ?

@viveknimkarde Unfortunately web support is not a priority currently. Unless someone wants to contribute, I think it will take about 3-4 months until web support is ready.

Glad to know web support is not very far away. Web support will play huge role in building crossplatform apps using isar  as flutter web has seen huge developments in recent months.

@viveknimkarde I had started it, but I've been really busy. I didn't make too much progress; I remember opening a discussion with my progress on one of the isar repositories, but I'm not sure where it is.

Found it: https://github.com/isar/isar/discussions/23
If anyone is looking at this and wants to contribute to web, that would probably be your starting point.

Done :)