Not working in S4

Not working in Galaxy S4 i9500. Android Kitkat 4.4.2. Nothing happens on connectivity change. Please check and update.

Thanks for reporting an issue. Unfortunately, I don't have access to this device right now and I am able to test it only on Nexus 5. When I will have an access to the phone mentioned by you, I will check that issue.

@ViswanathL In addition, please make sure that you are actually connected to the Wifi or mobile network. When you turn on Wifi in your phone, but you are not connected to the Wifi access point, nothing will happen and library does not handle such situation.

@pwittchen Yeah I'm sure about that, Because I was getting webservice response. Still I was not getting the event.

I've noticed this issue is not connected with the NetworkEvents library, but with source code of the Android 4.4.2 and implementation of BroadcastReceivers. It was reported to Android team at Google and you can see an issue here: https://code.google.com/p/android/issues/detail?id=57014
As far as I know, this problem is fixed in Android 4.3.
To sum up, no matter if you are using this library or native implementation of BroadcastReceivers, this bug will occur until you will upgrade Android OS to the greater version on your phone.

Can anyone else reproduce that?

I couldn't reproduce that problem. We can re-open this in future if more people will struggle with that issue.


DC MILO 0.2436

DC MILO 0.2436

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

Project coverage is 85.89%. Comparing base (c23e7b1) to head (db7032a).
Report is 47 commits behind head on main.

Files with missing lines
Patch %
Lines

acrobat/blocks/rnr/rnr.js
0.00%
450 Missing :warning:

acrobat/blocks/acom-widget/acom-widget.js
79.56%
38 Missing :warning:

acrobat/scripts/alloy/acom-widget.js
80.64%
6 Missing :warning:

acrobat/scripts/scripts.js
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #783      +/-   ##
==========================================
- Coverage   90.58%   85.89%   -4.69%
==========================================
  Files          39       42       +3
  Lines        4894     5458     +564
==========================================
+ Hits         4433     4688     +255
- Misses        461      770     +309

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


Ci/rust

This is awesome! I've spent much less time writing rust than other languages, so very useful to be introduced to the canonical tools


Frontend: Buffer is cleared because of GET/POST problems

Attempted fix here: https://github.com/olehermanse/nowcode/pull/34
However, it still doesn't work like it used to with old editor. New editor still sends POST requests when it shouldn't. If you open 2 tabs you can see that one of them will clear the buffer after writing for a while.

Fixed in #36


Added Resume Builder

close #224

@amanr-dev Please solve the conflicts and the build error

Please resolve the conflicts and see why it is failing the preview

Hi @Bashamega, could you share the vercel deployment error message?

Hi @Bashamega, could you share the vercel deployment error message?

You can just run npm run build to see the error

Thanks @annuk123
I felt there was something wrong with the ui, but i didn't know what was it, and you got it!

Thanks @annuk123
I felt there was something wrong with the ui, but i didn't know what was it, and you got it!

Thanks!

requested

Hi @annuk123 & @Bashamega, In this example layout profile image missing, where should I place the profile image?

Hi @annuk123 & @Bashamega, In this example layout profile image missing, where should I place the profile image?
-----------------------------------------------------------------
                         Annu Kumari
                          Developer
-----------------------------------------------------------------

**Professional Experience:**
1. **Job Title**
   - **Company Name**
   - Description of your role and achievements in this position.

**Education:**
1. **Degree**
   - **Institute Name**
   - Description of your studies and any relevant details.

**Achievements:**
- Briefly list your notable achievements.

**Projects:**
- List significant projects, including your role and technologies used.

**Programming Languages:**
- Python, Java, JavaScript, etc.

**Frameworks and Tools:**
- React, Angular, Node.js, Git, etc.
-----------------------------------------------------------------

> > requested
>
> Hi @annuk123 & @Bashamega, In this example layout profile image missing, where should I place the profile image?

``` -----------------------------------------------------------------
                         Annu Kumari
                          Developer
-----------------------------------------------------------------

**Professional Experience:**
1. **Job Title**
   - **Company Name**
   - Description of your role and achievements in this position.

**Education:**
1. **Degree**
   - **Institute Name**
   - Description of your studies and any relevant details.

**Achievements:**
- Briefly list your notable achievements.

**Projects:**
- List significant projects, including your role and technologies used.

**Programming Languages:**
- Python, Java, JavaScript, etc.

**Frameworks and Tools:**
- React, Angular, Node.js, Git, etc.
-----------------------------------------------------------------```

I think an image should not be necessary, but you can add it to the right side of the section.

I think an image should not be necessary, but you can add it to the right side of the section.

I think an image is important

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

I think an image should not be necessary, but you can add it to the right side of the section.

I think an image is important

Yeah but I've seen many resumes, that did not include their image in the resume

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

and update it's layout like this
-----------------------------------------------------------------
                         Annu Kumari
                          Developer
-----------------------------------------------------------------

**Professional Experience:**
1. **Job Title**
   - **Company Name**
   - Description of your role and achievements in this position.

**Education:**
1. **Degree**
   - **Institute Name**
   - Description of your studies and any relevant details.

**Achievements:**
- Briefly list your notable achievements.

**Projects:**
- List significant projects, including your role and technologies used.

**Programming Languages:**
- Python, Java, JavaScript, etc.

**Frameworks and Tools:**
- React, Angular, Node.js, Git, etc.

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

yeah you can but  in the second template you can also add image in the left side

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

and update it's layout like this
-----------------------------------------------------------------
                         Annu Kumari
                          Developer
-----------------------------------------------------------------

**Professional Experience:**
1. **Job Title**
   - **Company Name**
   - Description of your role and achievements in this position.

**Education:**
1. **Degree**
   - **Institute Name**
   - Description of your studies and any relevant details.

**Achievements:**
- Briefly list your notable achievements.

**Projects:**
- List significant projects, including your role and technologies used.

**Programming Languages:**
- Python, Java, JavaScript, etc.

**Frameworks and Tools:**
- React, Angular, Node.js, Git, etc.

In Template 1 image will be required but not for  Template 2

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

yeah you can but in the second template you can also add image in the left side, make it optional for image section
like this ?
resume (2).pdf

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

yeah you can but in the second template you can also add image in the left side, make it optional for image section
like this ?
resume (2).pdf

I love it

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

yeah you can but in the second template you can also add image in the left side, make it optional for image section
like this ?
resume (2).pdf

pls make rectangular profile not circle

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

yeah you can but in the second template you can also add image in the left side, make it optional for image section
like this ?
resume (2).pdf

pls make rectangular profile not circle

I will try to add an option to change the shape according to the user.

I think an image should not be necessary, but you can add it to the right side of the section and you can also check which side it looks professional left side or right side or in the centre.

I think I should remove profile image only in 2nd Template

yeah you can but in the second template you can also add image in the left side, make it optional for image section
like this ?
resume (2).pdf

pls make rectangular profile not circle

I will try to add an option to change the shape according to the user.

yeah, It's great idea

Hi @Bashamega, please review the PR

please specify here to upload your image.  distance between photo and details should be more
 Center the name and title as "Developer / Software Developer," placing all other details in the corner as shown in template 1.

@Bashamega, @annuk123
Example Resume PDF (Updated Template 2nd)
resume (3).pdf

please specify here to upload your image.  distance between photo and details should be more
 Center the name and title as "Developer / Software Developer," placing all other details in the corner as shown in template 1.

@Bashamega, @annuk123 Example Resume PDF (Updated Template 2nd) resume (3).pdf

Nice


Add get from, get to and get step on %RangeIteratorPrototype%

Related #12 , #15

@chicoxyzzy @sffc does it look good? 🤔

LGTM, with a follow-up in #17


KAFKA-15167: Tiered Storage Test Harness Framework

TieredStorageTestHarness is a base class for integration tests exercising the tiered storage functionality. This uses  LocalTieredStorage instance as the second-tier storage system and TopicBasedRemoteLogMetadataManager as the remote log metadata manager.
Co-authored-by: Alexandre Dupriez<EMAIL_ADDRESS>Co-authored-by: Kamal Chandraprakash<EMAIL_ADDRESS>Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hello and thank you for starting on this 😊! What is your plan when it comes to reviewing this code - will you be splitting it into multiple pull requests for individual actions/specifications + tests which use said actions? Otherwise I believe this pull request will fairly quickly become very large to review properly.

Hello and thank you for starting on this 😊! What is your plan when it comes to reviewing this code - will you be splitting it into multiple pull requests for individual actions/specifications + tests which use said actions? Otherwise I believe this pull request will fairly quickly become very large to review properly.

Thanks for checking on this! Agree that we have to split the PR into multiple for smooth review. Working on the remaining parts of the code to ensure that all the components are working as expected. Once ready, will push them to this PR to have complete view.

Please let me know when ready for review. Thanks for the work!

@clolov @divijvaidya @showuon @Hangleton @satishd

This PR contains huge changes but most of them are new POJO classes and specific actions. My suggestion is to review all the changes together, then we can divide this PR into multiple once we agree on the approach taken in this PR to do the integration test.
Tiered Storage Integration Test Framework depends upon the core module kafka packages, so added a new import-control-storage.xml which allows to import kafka packages . We can refactor the code (package names) once it gets finalised.
Increased the ClassDataAbstractionCoupling from 25 to 40 in checkstyle.xml to unblock for now. Once the changes are finalised, the TieredStorageTestBuilder class can be further divided to address the checkstyle error.
Wrote one integration OffloadAndConsumeFromLeaderTest test which produces records, expects the segment to be copied to remote storage and asserts that the consumer able to consume from tiered storage. Right now, trunk build is not stable and this test is in Failed test. We can use this framework as TDD to fix issues in the source code.
Java does not supports named parameter arguments so the OffloadAndConsumeFromLeaderTest is not readable. We can improve the readability aspects in the next PR.

Please take a look when you get chance!

This leads to a situation where the tests we add will not be runnable with kraft/zk mode easily.

We are not using ZooKeeper client directly anywhere so Kraft mode should work as expected.

My main concern is that we are using IntegrationTestHarness but duplicating a lot of it's code in our own implementation in TieredStorageContext

Agree, there are some code duplications but it gives us flexibility to reuse the client which avoids log pollution while debugging a failed test.

unnecessary specs and actions

Plan is to add respective tests such as ReassignReplicaShrinkTest, ReassignReplicaExpandTest, ReassignReplicaMoveTest, PartitionsExpandTest, DeleteSegmentsByRetentionTimeTest, ListOffsetsTest and so on once the build becomes stable. We can remove the unused actions if required.
Thanks for reviewing the PR!

@kamalcph changes look good to me. Let's focus on CI build now. Could you please fix the checkstyle failures which are causing build failures?

@divijvaidya
Addressed most of your comments and marked them as resolved. Please take a look that those comments are addressed as expected. Thanks!

@showuon
Call for review. PTAL.

@kamalcph , sorry, I'll attend a conference the following days, so I can't review this until next Tuesday. Does this PR block the following PRs? If so, I think since Divij already approved it, we can merge it first, and we can have a follow-up PRs to address my comments after my review next week. WDYT?

@satishd
Can you please take a look when you get chance?

How to fix the below error in the test? The test is currently marked as DISABLED but still fails with below error, there are some left-over threads:
Build / JDK 11 and Scala 2.13 / initializationError – org.apache.kafka.tiered.storage.integration.OffloadAndConsumeFromLeaderTest
Suppressed: org.opentest4j.AssertionFailedError: Found 2 unexpected threads during @AfterAll: `controller-event-thread,Test worker-EventThread` ==> expected: <true> but was: <false>
		at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)

Heya @kamalcph! I have seen this error pop up when server.shutdown hasn't been called in integration tests, I would suggest looking into whether for whatever reason there is something which starts servers but doesn't shut them down properly. I will look through the code to lend a hand.

Huh, yeah, no idea. I have been trying to replicate it locally and it appears to be doing exactly what you would expect it to.

There are a few failed tests that are unrelated to the changes in the PR.
This PR is blocking to add of several integration tests, merging the changes to trunk.
It received 2 +1s, any remaining comments that need to be taken care of can be done in a followup PR.

Finally had a pass, left some comments. Thanks again for the effort to put all these test framework!

Credits to @Hangleton for coming up with this framework!


Can not paste invoice with lightning: prefix

Can not paste invoice with lightning: prefix.

Fixed in 0.1.2-beta.9, ready for retest.


[CHECKLIST] Implement Webb Brand Kit on Webbsite

Webb Brand Kit Handoff
Please see below for the requirements for Webb's Brand Kit.

[x] Implement Webb Brand Kit in desktop view
[x] Implement Webb Brand Kit in mobile view
[ ] Gather all assets appropriately to be downloaded  (will provide notion doc)
[ ] #1165

Figma Link:
https://www.figma.com/file/d5T0P9k4anUGdBlqgh4ueW/🖥-Webb-Website?node-id=2391%3A83280&t=efsptjtm5FlBowH5-1

File Access
See all required assets to be downloaded from Webb Brand Kit here:
https://www.notion.so/hicommonwealth/Webb-Brand-Kit-7ba65237a47640edb13dee499ae28a30?pvs=4
Please reference Polkadot's Brand Hub in organizing the assets for download.

@dutterbutter since the Footer now doesn't have Resources column, what should the solution for this task.
Also this is the task that I accidentally created from the last check box above, and I'm not sure how to remove it, can you help me with that also ^^

Please put it under Company.

Closed in #1167


BottomNvigationBar : Tabpressed not fired on the first Item with Vue+NS+Android

Hello,
I use BottomNavigationBar with Vue.js.
I set isSelectable to False to each item so that I can use the TabPressed event, the problem I found is that this event is not fired on the first item only (the two others work fine!)  :
 <MDBottomNavigationBar id="id_tab_nav" ref="my_tab_navigation_bottom" backgroundColor="#70152b" activeColor="#FFF" inactiveColor="#FFF" row="1"  @tabPressed="tabPressedEvent"    >

        <MDBottomNavigationTab color="#FFF" title="Home" icon="res://home" attr-link="Home"
        isSelectable="false"   />

        <MDBottomNavigationTab color="#FFF" title="Search" icon="res://search" attr-link="Search"
        isSelectable="false"   />

        <MDBottomNavigationTab color="#FFF" title="User"  icon="res://user" attr-link="Login"
        isSelectable="false"    />

    </MDBottomNavigationBar>

Here is my function for the tabPressed event :

        tabPressedEvent(e)
    {
         console.log('element=>refs',this.itemTabNavView.items);

         console.log('navigateTo Item =>');
         console.log(e.index);
        this.$navigateTo(this.items_navs[e.index]);

    }

Is there any solution to solve this problem ?
Thanks.

tabPressed is not emited if the  tabs are not selectable

@Echoju thanks for.pointing that out. if you can create a PR if you find the fix that would be awesome!


[BUG] NVTabular Dataset constructor cannot process cudf.StructType values.

Describe the bug
Attempting to create an NVT Dataset using a cudf DataFrame containing a struct dtype fails.
Steps/Code to reproduce bug
Create a test file:
echo '[{"properties":{"id":"bddc03c8-8da3-4ef6-8ef9-a50324639100", "location":{"city":"Port Denisetown","state":"Smithton","countryOrRegion":"XR","geoCoordinates":{"latitude":3.5518965,"longitude":131.871582}}}}]' > example.json

reproducer.py
import cudf
import nvtabular as nvt

df = cudf.read_json("example.json")
print(f"DataFrame dtypes: \n{df.dtypes}")

ds = nvt.Dataset(df)

output
properties    struct
dtype: object

Traceback (most recent call last):
... SNIP ...
TypeError: Merlin doesn't provide a mapping from struct (<class 'cudf.core.dtypes.StructDtype'>) to a Merlin dtype. If you'd like to provide one, you can use `merlin.dtype.register()`.

Expected behavior
Since its a standard cuDF data type, I'd expect it to be processed correctly by NVT, or some type of graceful fallback behavior.
Environment details (please complete the following information):

Conda environment

conda list | grep 'nvtabular|merlin'
merlin-core               23.02.01                   py_0    nvidia
merlin-dataloader         23.02.01                   py_0    nvidia
nvtabular                 23.02.00                 py38_0    nvidia

Additional context
Add any other context about the problem here.

Updated repro that illustrates workflow issues in addition to Dataset creation.
def f_to_pandas(col, df):
    pd_series = col.to_pandas()

    return cudf.from_pandas(pd_series)

def test_cudf_struct_type_conversion():
    import cudf
    import nvtabular as nvt
    from nvtabular.ops import LambdaOp
    from nvtabular.ops.operator import ColumnSelector

    input_df = cudf.read_json("example.json")  #  different error if we use pd.read_json

    single_op = ColumnSelector("properties") >> LambdaOp(f=f_to_pandas)
    workflow = nvt.Workflow(single_op)

    ds = nvt.Dataset(input_df)
    result = workflow.fit_transform(ds).to_ddf().compute()

    print(result)

This is related to a lower-level issue that happens when converting cuDF struct columns that contain both nulls and empty structs to Pandas. It can be worked around by exploding structs into separate columns with series.struct.explode() before passing data into NVT.

@drobison00  hello! is the issue solved at your end. looks like https://github.com/rapidsai/cudf/pull/13315 was merged.

@rnyak I'll double check today.


Enable/Disable the gameobject then UIShiny script brokes the image.

Describe the bug
Enable/Disable the gameobject then UIShiny script brokes the image.
To Reproduce
Steps to reproduce the behavior:

Create a UI image and add UIShiny script.
Disable gameobject then enable.
See the error.

Environment (please complete the following information):

Platform: Windows
Unity: 2019.2.a8
UIEffect: 3.2.0

Hi @nidaynere
Sorry for my late reply.
The issue is reproduced.
Perhaps the material & the parameter texture cause this bug.
It will be fixed in v4.

For the temporary fix you could try Image component disable and enable and after that set image null then again set image with your image path.(I know its kinda weird but it works in my case) XD.


[Unknown child node [xr:revisionPtr] for element [workbook]]

I'm receiving this error message consistently, having checked my spreadsheet over to the best of my ability. I attach the spreadsheet.
PromptbooksImport2.xlsx
Apologies and thanks!

Hi, Melanie,
I’ve had other crises to deal with in the past day; I’ll be looking at this now.
Cheers,
Bobbi
From: mmwisner<EMAIL_ADDRESS>Sent: Tuesday, June 19, 2018 2:33 PM
To: harvard-library/aspace-import-excel<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [harvard-library/aspace-import-excel] [Unknown child node [xr:revisionPtr] for element [workbook]] (#35)
I'm receiving this error message consistently, having checked my spreadsheet over to the best of my ability. I attach the spreadsheet.
PromptbooksImport2.xlsxhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_harvard-2Dlibrary_aspace-2Dimport-2Dexcel_files_2116438_PromptbooksImport2.xlsx&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=5xWUzLrZrVLeTqs3CDoeRpPtLv1fRM04CCu4TDULrSY&m=NWrW_qU_1uwQofrR4WakORHfoVbPhCt_sHPsqTH8kxk&s=vQDWzA1hn1FBygKhRQH8JrMAw09a8QVkYGvRkm2HoA0&e=
Apologies and thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_harvard-2Dlibrary_aspace-2Dimport-2Dexcel_issues_35&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=5xWUzLrZrVLeTqs3CDoeRpPtLv1fRM04CCu4TDULrSY&m=NWrW_qU_1uwQofrR4WakORHfoVbPhCt_sHPsqTH8kxk&s=iIwt9waVf9bP5SADOn_7NWYl7AriySz_vtlriAdL1FU&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADrXY41v-5FuB-2DrE1ira1aYomSUc83Xhr0ks5t-2DUPggaJpZM4UuBae&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=5xWUzLrZrVLeTqs3CDoeRpPtLv1fRM04CCu4TDULrSY&m=NWrW_qU_1uwQofrR4WakORHfoVbPhCt_sHPsqTH8kxk&s=5WEOxMjEA_IG36ijzHNCzUpXh_Id_8uZmMVywvpuLF0&e=.

We have confirmed (out of band) that the problem is with an Excel spreadsheet produced using the online version of Office 2016.  I will be investigating solutions.

Same issue here. I've been working around this by pasting the template into Google Sheets, adding data there, and then saving/downloading as an xlsx.

Checking in to see if there's any progress on a solution to this bug?  I'm having the same problem.

I think that the library upon which I was depending (FubyXL) has now been updated (this is just a guess; I'm not seeing documentation to that effect).  However, since I don't have this version of MSExcel myself:  would you kindly upload an example spreadsheet?
I think that if I directly download it, it retains its versioning (if I open it and then save it, it will be in the version I have on my desktop).  When you do the upload, please tell me the EADID you're using, so I can create a dummy Resouce in my system.
Thanks,
Bobbi

NBS_Directories_Import.xlsx
I used Directories_EAD as my EADID.
Thanks for looking into it!

Hi,
I think that my fix is working (or at least your spreadsheet was processed :-), but I have another question that I'd rather ask via email, since it's unrelated to this issue. (Depending on your answer, I might have One More Change to make before releasing the new version).
Would you be willing to contact me at bobbi_fox AT harvard.edu?
Thanks.

Fixed with release v2.1.11


ui test with ICE does not fail

We are using this in Miri, and I just have the situation that one of our UI tests ICEs when I call it directly but the test is considered passing by compiletest. I have copy-pasted the command-line (as it gets printed when I make the test really fail, e.g. by introducing a syntax error) to make sure it is not some weird extra flag.
On a possibly related note, when I run the test binary directly (target/debug/deps/compiletest-edd6bd72083f7b79), all tests should fail because Miri complains about a missing shared library. Instead, only those tests with a non-empty stdout/stderr reference file fail, complaining that stdout/stderr was empty instead. This is particularly curious since stderr is not actually empty:
normalized stderr:

expected stderr:
a

diff of stderr:

-a
-

The actual stderr differed from the expected stderr.
Actual stderr saved to /tmp/compiletest9fDVl0/fn_box.stderr
To update references, run this command from build directory:
tests/run-pass/update-references.sh '/tmp/compiletest9fDVl0' 'fn_box.rs'

error: 1 errors occurred comparing output.
status: exit code: 127
command: "target/debug/miri" "tests/run-pass/fn_box.rs" "-L" "/tmp/compiletest9fDVl0" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/compiletest9fDVl0/fn_box.stage-id" "-Dwarnings" "-Dunused" "--edition" "2018" "-L" "/tmp/compiletest9fDVl0/fn_box.stage-id.aux" "-A" "unused"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
target/debug/miri: error while loading shared libraries: librustc_driver-3f5e8a7f565acbfe.so: cannot open shared object file: No such file or directory

Compare "normalized stderr" and "stderr".
I have no idea how this is possible.

Okay, so the reason that "normalized stderr" and "stderr" are so different is about something with JSON stuff... if there is no --error-format, it tries to do something smart with JSON, and that can have really surprising consequences. Namely it looks like when rustc ICEs, that is not printed in JSON format even with --error-format json and hence json::extract_rendered just returns the empty string.
So, when there is a test that expects empty stderr, and that test ICEs, compiletest normalizes the stderr to empty and considers the test passed.
Cc @gnzlbg @alexcrichton

@laumann looks like runtest.rs in rustc master has check_if_test_should_compile that would catch cases like this. Any chance you could update the copy in this repo?
I am still not sure though if the behavior around normalization and JSON is intended. This all looks terribly fragile...

FWIW, it is only due to this bug that Miri currently looks green in the toolstate tracking. Actually, somem of the tests fail with an ICE since https://github.com/rust-lang/rust/pull/59500 landed.

I'm not sure if that works for Miri, but in Clippy I'm currently using // run-pass as a workaround. A test that can't compile will not be runnable, so compiletest will fail at that point because it can't find the compiled file. But yes, it would be good to fix the core issue here.

I guess Miri could do that, but we don't actually want to run these things so that seems like a waste of test time.
See https://github.com/laumann/compiletest-rs/pull/172 / https://github.com/rust-lang/rust/pull/59769 for a possible fix.

Awesome. :)  How much work would it be to make a release with this fix?


AddressBook Framework -- Query Basic Contact Properties

Fixes #676
Adds support for querying basic
properties of a contact.

Hi @chadimoussi, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Chadi Moussi). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

:clock1:

:shipit:

:clock1:

:clock1:

:shipit:


Added Note Tick settings and Note Speed customization outside of char…

…ting.
Note Tick (seen in ZFans prototype vDOING.YOUR.MOM)
Note Speed in Settings (seen in Kade Engine)
Changed files:
source/ClientPrefs.hx
source/OptionsState.hx
source/PlayState.hx
Required dependencies:
assets/shared/sounds/ChartingTick.mp3
assets/shared/sounds/ChartingTick.ogg
source/ClientPrefs.hx
source/PlayState.hx
source/Paths.hx
..flixel.FlxG

this broke the sustain notes
fix your stuff please

It didn't for me. I'll test again

Turns out it does, so I'll divide the modifier by 2 instead of inputting the raw float.

Fixed alternatively by simply overriding Song.hx's check for the JSON's speed.


Reproducing Question

Hey guys!
Very interesting topic and high quality paper from the research team.
After reading the paper and reproducing it with reference to the repository, I had a few questions that led me to raise an issue.

Is it correct that you used the boundingboxes of lines and the boundingboxes of texts in the original OCR provided by RRC leaderboard, and if so, was the performance not good when you used the boundingboxes of texts?

I was wondering if the ANLS values in your paper were calculated with your own code or the results you submitted to the RRC Leaderboard?

If the answer to 1 is LINE, is the overall process correct to use LINE OCR TEXT and TEXT_BOXES to get LAYOUT_RECOVER using SPACE_LAYOUT function and PROMPT_TASK to request GPT-3.5 API?

Thanks.
(P.S. There seems to be a typo in the title of the README.md :) Promot )

Thank you for your affirmation of our work and here are the explanations for related issues:

We used the bounding boxes of lines and the bounding boxes of texts (not words) in the original OCR information provided by the RRC leaderboard. We have not tested the performance of using text boxes. Compared with line text boxes, adjacent text boxes are more likely to overlap, which may affect the accuracy of calculating the number of spaces between adjacent texts. (Recently, we have tried different OCR tools and achieved better results, which will be provided in the new version of the paper.)
We used our own implementation to calculate the ANLS value on the validation set and used the results submitted to the RRC Leaderboard on the test set.
Yes, we used LINE OCR TEXT and LINE TEXT_BOXES to get LAYOUT_RECOVER using SPACE_LAYOUT function and PROMPT_TASK to request GPT-3.5 API.

Here are the explanations for your questions:

The OCR results of DocVQA provided by the RRC leaderboard contain both line level and word level information.  We adopt the line level information in LAYOUT_RECOVER.
For users without a Claude account, we have provided an implementation based on Azure OpenAI GPT-3.5-turbo here. We add examples with GPT-3.5-turbo here. For more details about OpenAI, please refer to here.
The prompts provided above all look correct. It is noteworthy that:
a) When using GPT-3.5-turbo, please set the temperature to 0. Other settings can refer here.
b) You can use the anls.py we provide to calculate the score. Note that since it is easy to encounter network problems when accessing the API, we regularly store the predicted results and support reading the stored result files when restarting the experiment to continue predicting subsequent samples. Therefore, when starting a new experiment, please delete the old result file or distinguish the experiments with different experiment names.

Hope the above content is helpful to you and please feel free to discuss them further.

Thanks for the update! When I run the script below, I get the following error, what is the solution?
bash script/claude_eval.sh 0 gpt-35 docvqa task_instruction_space

Traceback (most recent call last):
  File "examples/claude_docvqa.py", line 22, in <module>
    from utils import claude, space_layout, openai_api
  File "./utils/claude.py", line 6, in <module>
    c = anthropic.Client(os.environ["ANTHROPIC_API_KEY"])
  File "/root/anaconda3/envs/cream/lib/python3.8/os.py", line 673, in __getitem__
    raise KeyError(key) from None
KeyError: 'ANTHROPIC_API_KEY'

I am experiencing difficulties in reproducing your paper using the official Python OpenAI library. The reproduction process is not functioning correctly. I have a few questions and concerns regarding this matter:
I have found that your experiment can be successfully reproduced using the MS Azure OpenAI endpoint, but not with the official Python OpenAI library. Can you provide any insight into this discrepancy?
According to the OPENAI API Reference, the "completions" parameter is only applicable to older models such as "text-davinci-003." The model you utilized, "gpt-3.5-turbo," should use "chatCompletions" instead of "completions." Could you clarify why this difference exists?
Additionally, it appears that the correct model name is "gpt-3.5-turbo" (with a hyphen), not "gpt-35-turbo" as mentioned in the paper. Moreover, the argument to use in the chat completion should be "model" instead of "engine," as indicated in the latest version of the library. Can you confirm these changes?
I attempted to reproduce the provided example using "gpt-3.5-turbo" and the official OpenAI library. However, the performance I achieved on the test dataset was 0.58. Could you offer any insights into why my results differ from yours?
Have you attempted to reproduce the experiment using the official OpenAI library? I'm curious to know if the "LATIN-prompt" used in your paper might be overfitted to the MS Azure OpenAI model.
PS.1) Reproducing the execution by running the script in the main branch is challenging due to dependencies like "wandb." It would be greatly appreciated if you could address this aspect as well.
PS.2) My goal is to successfully reproduce your research and achieve a score of 0.81 for submission to RRC.
Your innovative and groundbreaking work has left a strong impression on me. I truly value your prompt responses and kind explanations.
Thanks.

I understood this to mean to use the official OPENAI API, as a combination of "gpt-3.5-turbo" and "completions".
However, that combination is no longer supported by the official.
I've implemented openai_completion and openai_chat_completion like below by referring to LATIN's code.
When using "gpt-3.5-turbo", "openai_completions" throws an error, and when using "openai_chat_completions", a performance score of 0.58 was recorded.

import openai
openai.api_key = "---"

def openai_completion(prompt):

    while True:
        try:
            response = openai.Completion.create(
                model="gpt-3.5-turbo",
                prompt=prompt,
                max_tokens=200,
                temperature=0,
                stop="\n\n",
            )
            text = response['choices'][0]['text']
            break
        except TypeError:
            print(f"TypeError, maybe the prompt is too long: {len(prompt)}. Redeucing the prompt length.")
            if len(prompt) > 4000:
                question_idx = prompt.rfind("\n\nQuestion:")
                prompt = prompt[:4000-len(prompt[question_idx:])] + prompt[question_idx:]
            else:
                question_idx = prompt.rfind("\n\nQuestion:")
                prompt = prompt[:question_idx-300] + prompt[question_idx:]
            continue

    return text

def openai_chat_completion(prompt):

    messages = [{
        "role": "user",
        "content": prompt,
    }]
    response = openai.ChatCompletion.create(
        model="gpt-3.5-turbo",
        messages=messages,
        max_tokens=200,
        temperature=0,
        stop="\n\n",
    )
    text = response['choices'][0]['message']['content']

    return text

completions
openai_completion(prompt="Write a tagline for an ice cream shop. ")

InvalidRequestError: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?

chatCompletions
openai_chat_completion(prompt="Write a tagline for an ice cream shop. ")

'"Scoops of happiness in every cone!"'

We are trying to adapt LATIN-Prompt to the latest chatCompletions interface and analyze the differences between it and the completions interface. An alternative approach to verifying the effect of LATIN-Prompt is to use older models like text-davinci-003.
Thank you for your support of our project. We will give you feedback as soon as we complete the adaptation.

@ajskdlf64 Hello, we recently tried the chatCompletions with the LATIN-Prompt and the result was around 0.58. We also conducted some preliminary experiments and found that the system message has a significant impact on the experimental results. We believe that the difference in performance between chatCompletions and completions is mainly due to the system message, while our method does not take into account the impact of it. We are analyzing the differences in prompts between system message and user content. You can also try some attempts from this perspective.

I commend the authors for their dedicated research and passion. I have indeed noticed that the performance can vary depending on the version and usage of OpenAI's API.
I encourage further research to advance into higher-quality papers.
Thank you!


Try to install pg 9.6.2 manually

The point is to work around a in 9.6.1 that we hit on https://github.com/gratipay/gratipay.com/pull/4438. We worked around it be dropping back to 9.5, but we're on 9.6 in production so better to have the same version in CI.

https://github.com/gratipay/gratipay.com/issues/4445#issuecomment-300762419

Nice!
Fwiw, I'd prefer we observe no self-merging unless urgent, to avoid a slippery slope.

Fwiw, I'd prefer we observe no self-merging unless urgent, to avoid a slippery slope.

👍 I saw this as less critical, since it only touched build scripts. Agreed though, will avoid self-merging as far as possible.


Docs on Prioritizing Todos is a CopyPasta

See: https://docs.ultralist.io/cli.html#completing_todos
Is a copy paste error from https://docs.ultralist.io/cli.html#archiving_todos

Closed, just found the repo for the docs - will submit PR there instead.


Add move semantics to 'System' module

Description
This PR adds move semantics to the 'System' module. The only eligible class is FileInputStream. It was lacking tests, so I've also added some.
Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
CI.

OSX build fails because <filesystem> is not supported, with this error:

error: 'path' is unavailable: introduced in macOS 10.15

raspbian-gcc-armhf seems to fail to link against <filesystem> sources:

/home/pi/buildbot/raspbian-gcc-armhf/build/test/src/TestUtilities/SystemUtil.cpp:37: undefined reference to `std::filesystem::temp_directory_pathabi:cxx11'

<filesystem> is a standard C++17 facility -- could we upgrade our CI to a compliant compiler?

OSX build fails because <filesystem> is not supported, with this error

https://github.com/SFML/SFML-Buildbot/pull/31

raspbian-gcc-armhf seems to fail to link against <filesystem> sources

Updating to Raspbian Bullseye right now (takes quite a while...)

OSX build fails because <filesystem> is not supported, with this error

SFML/SFML-Buildbot#31

raspbian-gcc-armhf seems to fail to link against <filesystem> sources

Updating to Raspbian Bullseye right now (takes quite a while...)

Awesome. Thanks for the quick update.

@Bromeon @eXpl0it3r @binary1248: anyone that can approve and merge if happy with the changes?

@vittorioromeo Only noticed just now, that your commit log message doesn't actually match the content here, I guess the message was related to #1925 😉


Fixed download problem

check this issue https://github.com/paulhodel/jexcel/issues/163
this code (using js instead of blob) will fix it and I've checked utf-8 compatibility too.
simply nothing will break.

Thanks ;)


android doesn't work?

this chart only use in ios ?

Currently yes.
Tom
On Mon, Mar 14, 2016 at 2:18 AM, rookie<EMAIL_ADDRESS>wrote:

this chart only use in ios ?
—
Reply to this email directly or view it on GitHub
https://github.com/tomauty/react-native-chart/issues/58.


Get values from LineEdit, instead of object

Using the themed_form.py example I am trying to get the value of what the user inputs. Everything I do prints [object Object] not the value itself. I tried searching for this answer in the documentation but couldn't find it, or I didn't know I found it.
Here is the code
from flexx import event
from flexx import flx

class MainWindow(flx.Widget):
    # noinspection CssUnusedSymbol
    CSS = """
    .flx {
        padding: 5%;
        margin: 5%;
    }
    .flx-Button {
        background: #f6ee30;
    }
    .flx-LineEdit {
        border: 2px solid #f6ee30;
    }
    .flx-ThemedForm {
        background: #424242;
        color: #ffffff;
    }
    .flx-LineEdit {
        background: #424242;
        color: #ffffff;
    }
    """

    def init(self):
        with flx.HFix():
            with flx.FormLayout() as self.form:
                self.serial = flx.LineEdit(title='Serial:', text='20D0001')
                self.controller = flx.LineEdit(title='Controller:', text='401')
                self.begin_button = flx.Button(text='Begin')
                flx.Widget(flex=1)  # Add a spacer

    @event.reaction('begin_button.pointer_click')
    def click_submit(self):
        print(f"Serial Number: {self.serial}")
        print(f"Controller: {self.controller}")

if __name__ == '__main__':
    m = flx.launch(MainWindow, 'app')
    flx.run()

and here is the output
[I 10:23:40 flexx.app] Asset store collected 2 new modules.
[I 10:23:40 flexx.app] Serving apps at http://localhost:49190/
[I 10:23:40 flexx.app] Asset store collected 25 new modules.
[I 10:23:40 flexx.app] Starting Flexx event loop.
[I 10:23:41 flexx.app] New session MainWindow 6NIYF7GprQSc9vcWxMrGdxir
JS: Serial Number: [object Object]
JS: Controller: [object Object]
JS: Serial Number: [object Object]
JS: Controller: [object Object]
[I 10:24:11 flexx.app] Session closed MainWindow 6NIYF7GprQSc9vcWxMrGdxir
[I 10:24:11 flexx.app] Stopping Flexx event loop.

Process finished with exit code 0

What am I doing wrong here?

In JS, when you print an object (e.g. a dict of the instance of a class), it is usually shown as [object Object].
A tip: if you do print(xx) instead of combining it with another string, the object is / can be expanded in most browsers.
But the actual thing you do wrong is that you're printing the line edit object itself - you'll want self.serial.text instead :)


Stack overflow on session.Save()

Please remove this template if you only have a question or do not want to create a new issue.
Describe what you wanted to do
sys.setrecursionlimit(50000)

try:
    sess = session.Load("session.p")
except (FileNotFoundError, EOFError):
    sess = misc.get_default_session()

a, d, dx = misc.AnalyzeAPK(apk, session=sess)
session.Save(sess, "session.p")

File "C:\Python\Python37-32\lib\site-packages\androguard\session.py", line 27, in Save
pickle.dump(session, fd)
MemoryError: Stack overflow
Describe what you expected
Should be able to save a session.
Describe what actually happened
Stack overflow... Without the recursion limit I instead get a "maximum recursion depth exceeded" message. This is the very first APK I'm playing with. Is the Session stuff considered unstable beta?
System Information

Androguard Version: 3.2.1
Python Version: 3.7
Operating System: Windows 10

Further Log Files and Output

I would guess that the session you try to save is a deep nested structure.
I usually not use sessions thus can not say how stable they are....
This might be a Problem of some parser producing nested structures - not sure... Can you try to debug this more and see at which structure the recursion happens?


refactor(LinearAlgebra/BilinearMap): Left composition, bilinear over different rings

Generalise compl₂ and compl₁₂ for left composition with maps which are linear over different rings in the first and second variable.
Needed for #9334

!bench

@eric-wieser do you have a moment to review this PR please? It's quite a small one.

bors r+


POST QueryExecuter

This adds a POST QueryExecuter implementation in order to allow JSON queries to be POSTed to Solr, avoiding problems where the JSON query may be too large to fit into the URL. A similar implementation is supplied for MLT queries, allowing plain text to be POSTed to Solr in the query body rather than the URL.
This is a basic implementation, and assumes that the JSON is "ready to go" when being added to the QueryOptions - it doesn't allow building the query or substituting template values.

@gjunge would you please approve?

I'll need some time go over this, will try next week.

This felt like the smallest change at the time - it doesn't change the ISolrQueryExecuter interface, just the QueryOptions, and allows users to bind either the SolrQueryExecuter or the SolrPostQueryExecuter in the case that they're doing an injection (as the clients I'm working with are). Both the SolrQueryExecuter and the SolrPostQueryExecuter are relatively small, with the common code pushed into the abstract parent class.
Are you suggesting we add new methods to ISolrQueryExecuter - eg. Execute(q, options, body) (or ExecuteWithBody() perhaps), which POSTs every time? That would be a reasonable compromise, and cut down on the number of classes (we would still need additional code for the parameter building, but that's not a major issue). If so, let me know and I'll change my patch accordingly.

The project contains already so many classes that do kind of the same (3 different SolrConnections for example), that it becomes hard just to set it up (also needs documentation etc etc) for the right usecase. So instead of creating different classes for different use cases, I would like to just have it support those use cases out of the box.
So yes, I suggest to add it to ISolrQueryExecuter.
Regarding the signature:

I think we should go only Async , because that is the correct implementation, and since it is new, it doesn't break anything if we don't add the sync version.
Aren't query and body mutually exclusive, meaning we will have something like ExecuteAsync(query, ...) and ExecuteAsync(body,...)  but not ExecuteAsync(query,body,...)?

Okay, I'll make those changes and push again.
Query and body aren't mutually exclusive, alas (Solr having multiple ways of doing the same thing - probably a good thing) - you can use both if you want to, and Solr will combine them under the hood. In addition, having the option for both opens the door for putting JSON facets in the query body as well. I think ExecuteAsync(query, body, options) is the most logical option, so I'll implement it that way.

Perfect! Thanks for the explanation.

Those changes are now implemented. Let me know if I've misunderstood your intention, or more changes are required. Thanks!

My apologies, I thought I'd cleaned up everything that was no longer needed. It's now removed, and the affected tests have been fixed.

@mattflax  No need to apologize, we're very happy you are helping the project! Thanks for the PR, I'll merge it now, bump the version, and ask @xmorera to deploy to NuGet when this is finished.


Refactor some of the root files, that are there for building

Refactor docker-compose files and demo-data to a build directory
This cleans up the root directory, with files that are utilized for building isle-dc but aren't used once the system is up and running, since docker-compose.yml is generated from all the smaller config files.
Resolves #221
I can squash any of the commits / remove them. Sorry if I got a little over zealous.

@DonRichards are you available to review this?

I did notice that when enabling the custom environment
the build context for drupal gets modifed with the make -B docker-compose.yml
  drupal:
    build:
      context: /Users/tmisilo/isle-dc/build/docker-compose

when it should just be /Users/tmisilo/isle-dc or even ./

I'm getting a "ERR_CERT_AUTHORITY_INVALID". This is something Firefox will ignore but not chrome.

I see some stuff that gives a clue to the issue. The build/docker-compose/build/certs directory is empty. The a new folder "build/docker-compose/build/traefik-tls.yml/". The file build/docker-compose/docker-compose.traefik.yml is pointing to a relative file but the "build/" parent directory was added. I think dropping this might correct the issue.

@DonRichards I believe I fixed this, if you want to take a look.
Thanks!

Because of the nature of this I'm going to wait 24 hours for feedback before I merge.

I rebased to the development branch.

Let me test again with that rebase and those changes

I just rebased with the latest changes in development

I just rebased everything with the latest merge :)

@misilot I hate to ask but would you rebase again? There's been no response from others so I'll test and merge it as soon as it's rebased.

@DonRichards rebased :) Thanks!

@DonRichards just checking in, if you ran into any issues.
Thanks!
Tom

rebased with latest changes

Rebased with latest changes.

@misilot I just checked this. It's introducing a new issue with generating secrets. check-secrets.sh didn't get updated with the "/build/" to the paths needed. Line #79 & #161. Also, the "find" command needs a leading "../" on line #28 example find ../secrets/template/*
Once this is pushed I'll approve it to be merged.

Hoping this will help.

@DonRichards I believe I made the requested changes.  Thanks!


Fix #111 block.timestamp block.number varies within block

Try to fix #921 #111

Thanks for this! This PR was nearly there, but not quite. Closing in favor of #443.

NP！


[2 of #107] Use native Error

The Result pattern adds a lot of line noise for the extra try and catch, and is rather inflexible in its return types. This PR removes most of the try/catch blocks, the *Result types, and all references to them.

continues #107
includes:

#108

recommend viewing only changes from https://github.com/conda-incubator/setup-miniconda/pull/109/commits/0e849fe)...
or better yet, git diff -w locally, as a lot of the setup.ts diff is unreadable in the web UI

@bollwyvl I think all the same changes from the original big PR ended up here?
Having changes that mix changes and also split things into files make me very nervous and are harder to review.
So my suggestion for this work. Split things first, or change code first but not both, that is too complex.
I would go for let's first change the file structure without changing anythin else, not a single line of code, just copy pasting from one place to another, that way we are sure things are not breaking in subtle and unexpected ways.
From there we can go PR by PR to change a single thing (like this PR attempted)
Cheers @bollwyvl and thanks again for all the hard work!

This PR only offers 0e849fe on top of #108, which does the file split.

Duh. Silly me. Thanks for clarifying. :)

@bollwyvl maybe do a merge/rebase with master?

Yep, I'll get on it presently, and fire up the next couple steps.

Let's wait to just squash merge, rather than re-write what's in this PR...

Looking forward to more PRs with changes like +525 −812, before we're through...

Great, thanks. Will keep keeping on in subsequent prs...


Make i128 support optional

In a similar vein to rust-num/num-traits#177 (fixed by rust-num/num-traits#185), it would be great if support for i128 could be made optional using a cargo feature. The new i128 feature would enable num-traits/i128 and num-integer/i128, and any code in num-rational using the i128 type would need to be conditionally compiled. Basically, add the same kind of i128 feature detection that num-traits and num-integer use, where it turns on the feature if either the cargo feature is enabled, or the probe detects i128 support.

The current num-rational uses features =  ["i128"] unconditionally for those dependencies, which should bypass probing if you're using at least num-traits 0.2.13 and num-integer 0.1.44. Do you find otherwise?

Ah, never mind! I was specifying versions for num-rational and num-traits, but had not updated num-integer in my Cargo.lock. On the latest versions of all of those it seems to work. Sorry for the noise.


Font Improvements

Improve The Currently Installed Fonts
Currently the fonts are just basic Bootstrap fonts, it would be nice if we could improve the look of the fonts to something more modern.
Submit suggestions here for font changes and we can choose the best for the website.

We use Open Sans on the Firehose site.  It may make sense to use the same one, although other font stacks might make sense too.

@chaudhary27 changed the font to Open Sans and it looks good, I will leave this issue open in case anyone has suggestions on adding different fonts to other portions of the site.


IllegalStateException FragmentViewBindingProperty.getLifecycleOwner

Fragment doesn't have view associated with it or the view has been destroyed
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getLifecycleOwner (FragmentViewBindings.kt:65)
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getLifecycleOwner (FragmentViewBindings.kt:34)
by.kirich1409.viewbindingdelegate.LifecycleViewBindingProperty.getValue (ViewBindingProperty.kt:76)
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getValue (FragmentViewBindings.kt:42)
by.kirich1409.viewbindingdelegate.FragmentViewBindingProperty.getValue (FragmentViewBindings.kt:34)
com.xxx.MainFragment.getBinding (MainFragment.kt:53)
com.xxx.MainFragment.onSaveInstanceState (MainFragment.kt:216)
90% occurrence in background

This is normal behaviour, because Fragment's view has been destroyed.
Try to add check
if (view != null) {
   // Do something with viewBinding
}


Immovable types

This RFC introduces a design for immovable types based on this idea by @eddyb.
Given that a large motivation of this RFC is to support immovable generators, I suggest that we avoid closing this until we either define a suitable design for immovable generators or find a better approach to immovable types.

As I mentioned in https://github.com/rust-lang/rfcs/issues/1853#issuecomment-273234504 this might be enough to have types that zero themselves on drop correctly, which should improvedoing cryptography in Rust.  In particular, this improves using stack variable in cryptography, so crates can more easily support #[no_std].
Right now, you can zero a reference as done in https://crates.io/crates/clear_on_drop but you cannot zero anything that moves. I've some train wreck branches of that crate that demonstrate this, like https://github.com/burdges/clear_on_drop/blob/owned_fail/src/owned.rs
That said, there are reasons for moving things, so maybe wants a built-in trait that goes beyond just being a market, like
trait MoveItMoveIt {
    fn move_nonoverlapping(src: *const Self, dst: *mut Self, count: usize);
    fn move_maybe_overlapping(src: *const Self, dst: *mut Self, count: usize);
    ...
}

All types implement MoveItMoveIt by default like in this RFC, and you can implement !MoveItMoveIt if you want, but you could also provide a MoveItMoveIt implementation that zeros the source after the move.  I'd imagine this increases the options for crates that integrate with garbage collected languages too.
I'd think both MoveItMoveIt and this Move RFC will run into the issue with poor LLVM support encountered by the #[clear_on_drop] RFC https://github.com/rust-lang/rfcs/pull/1496#issuecomment-189521431 but maybe we can fix that with more interest overall and a narrower set of changes to LLVM.
cc @cesarb @valarauca @tarcieri

@burdges that looks like a move constructor. Not having move constructors is one of rust's selling points.

I see, so anything that zeros really seamlessly should be baked deeper into the compiler.  There are maybe still parallel limitations in LLVM for both immovable types and self zeroing types though.

:+1: This seems like it represents my original idea pretty well, thank you!
The only thing I might want to add is that one way you might think about it is in terms of "observing the address" - which requires a borrow. Before that first borrow, nothing knows the address, therefore moves can't break third-party accesses.
This also leads to self/existential-borrows as being an excellent way to encode these types (sadly it'd have to be phantom for types like mutexes where a library or the OS is observing the address).
Oh, and nowadays one can just use @Amanieu's parking_log crate for locks and get less overhead (it doesn't need stable addresses except while it's borrowed).
But the RFC in its current form is great for generators that borrow across a yield, even without the marker trait (so we can make that optional if we want a truly minimal RFC).
The big issue is the ?Move universe and annotating generic types, traits and functions with it, but that again is not that problematic for generator state (or at least async I/O where almost no abstractions are needed on the state itself).
Well, you'd want Vec<Box<Future+?Move>> to work, and I think we can pull it off by having Box always be Move but disallow moving out for !Move types inside of it (so that borrows don't have to last forever but always observe the same address).

One small potential problem is that code like this will not accept !Move types:
fn foo<T: SomeTrait>(t: &T) {}

A lot of code like this exists in the wild, and I guess it will need to be changed for T: ?Move + SomeTrait.

Would Move: Sized? If so, maybe ?Sized → ?Move.

You can still move unsized values with unsafe code so I wouldn't bet on being able to do that.

If accepted, this RFC resolves this two year old issue. Good discussion in there that is relevant to this RFC.

Making Box<T: !Move>: Move, but disallowing moving the value out will be an extremely powerful feature to have, 👍

I don't think I entirely understand how this is supposed to work e.g. for StaticMutex... the RFC uses the example StaticMutex::new(0), but doesn't explain how that function would be implemented. I assume it would create a struct using a struct literal, and then call a pthread function to initialize the mutex, which needs to take the address -- so, a borrow is happening. Doesn't that mean that StaticMutex::new is not allowed to return the mutex, since that would be moving it?

@RalfJung I presume the mutex only gets initialised on first use, at which point the address is fixed.

For pthreads, we'd initialize it with PTHREAD_MUTEX_INITIALIZER, which is just plain data and doesn't need any code to run.

So, why not make Move: Sized?  After all, unsized types cannot be moved, and that way all existing ?Sized bounds would imply ?Move without breaking anything (including Self for traits by default).

@eddyb

You can still move unsized values with unsafe code so I wouldn't bet on being able to do that.

I don't think that makes sense.  Even if unsafe code can do something with references to specific unsized types that's logically equivalent to moving, that doesn't mean the types themselves need to be Move.  There's no real move from the language's perspective.  If the concern is that you could, say, have an &mut [Immovable] and sneakily get unsafe code to move it for you, that isn't directly related to whether Move: Sized and would be prevented by the default Move bound on type parameters.

(Sorry to spam, but if I edit then it won't show up in email notifications...)
If Self were ?Move by default (along with ?Sized), then I guess there would have to be some weird magic for traits which add an explicit Sized bound and then try to move self.  Which sounds like a bad idea.
However, making traits support immovable types by default would be quite powerful.
What if instead of having a separate Move trait, immovable types were just !Sized?  Then for any properties that are common to regular sized types and immovable types, e.g. the ability to move in the restricted manner described, there could be a new supertrait to Sized.  In other words, Sized would really mean "sized and movable", while the new trait would mean "really just sized".
That would be an abuse of terminology, but think about it.  Depending on Sized currently gives you the ability to move, and that's pretty much all it does.  There is no almost other reason to depend on it;    if some function or trait depends on T: Sized (implicitly or explicitly) but does not move objects of type T, the Sized bound is probably unnecessary and should be removed.  (I can think of one exception, which is that T: Sized also lets you make assumptions about the representation of &T; but that's relatively obscure and uncommon as the sole reason for a Sized bound.)  It's as if the Sized trait were a one-method trait with fn move(), except the functionality is language magic rather than an actual method.  This RFC essentially proposes removing that "method" and moving it to a new trait Move, and papering over the change by making everything implicitly depend on it.  Imagine if we wanted to remove the requirement that Into conversions be infallible, but instead of adding TryInto, we just changed Into to return a result and then added a new trait InfallibleInto and made everything depend on it by default.  (The analogy is a bit messy, but I think it's close enough.)  Seen that way, it doesn't make sense to mess up the type system just because the name would become a bit inaccurate.

@comex There is code that makes the assumption that all T: ?Sized are moveable. See the T: ?Sized => Box<T> -> Rc<T> RFC. That code (and that RFC) would be broken if ?Sized also meant ?Move. They're logically distinct things. In a similar vein, with the alloca RFC you should be able to put ?Sized data onto the stack.

Huh, I didn't know there was a generic way to get the size of values of unsized types.  That definitely kills my idea then.  (I'm not sure what you mean about alloca, though - the stack doesn't move...)

@comex You'd be able to take DSTs from one place, and put them onto the stack in another place.

The semantics of what types impl Move seem like Move is an auto trait. Is that accurate or is there a difference?

@withoutboats An unsafe auto trait, perhaps. Given that you need {*{const,mut},&{,mut}} T for indirection, 4 impls (5 if Box is special-cased still) would suffice to describe Move.

With https://github.com/rust-lang/rfcs/pull/1909 in the works, I'm pretty sureSize and Move should definitely be orthogonal.

I've read the RFC, and I do like the idea that a !Move type is movable until you take the address of it. However, I have a few concerns, some of which may be resolved by this comment from @eddyb:

Well, you'd want Vec<Box<Future+?Move>> to work, and I think we can pull it off by having Box always be Move but disallow moving out for !Move types inside of it (so that borrows don't have to last forever but always observe the same address).

I'm not clear how this would work - borrows of T: !Move must last until drop, unless we can verify the T is contained in a Box? It seems like this would be required if you wanted to write a function that creates a Box<T: !Move>, calls do_something on it and returns it (otherwise to enforce !Move now that the address has been taken for do_something, the borrow of the value inside the box needs to propagate to the caller...which you can't do afaik) so I think I'd want to read about it in the RFC.
More generally, even if Box is special, Container<T: !Move> is much less useful than I'd hope once you've called a function on it - in addition to not being able to return it, you also can't transfer ownership elsewhere (e.g. cross-thread) or do anything useful at all with multi-element containers like Vec<T: !Move>/&[T: !Move].
Just to throw out an alternative design, let's say moves fall into three categories - parameters, return values and assignment (not sure if there are more?). By forbidding all three (similar to !Sized right now) and only permitting creation via placement new we lose the somewhat nice property of being able to move until the address is taken, but gain some much more interesting (to me) things like being able to use a Vec<!Move> types without any magic (assuming the addition of Move bounds on things like .remove etc) and removing the shackles of only-one-borrow-with-drop-at-the-end.

So the perma-borrow on !Move only applies when directly owning that value, any smart-pointer type (Box, Rc, Arc etc.) would get borrowed as usual and the way it accesses the !Move data is irrelevant, you just see, e.g. &Rc<T> go into a function and &T come out.
The special-case for Box<T> is to disallow moving out of it if T: !Move, because it's the only indirection that allows it - this is similar to how mem::swap can't be relaxed to T: ?Move.
To be even more explicit: allowing a value to be moved before being first borrowed only matters for data "on the stack" - once it's behind indirection you have to assume its address can be observed and thus you can't move from behind indirection, but you can move the pointer just fine.

The special-case for Box is to disallow moving out of it if T: !Move, because it's the only indirection that allows it

I see, that makes more sense.
On a different note, is Vec<T: !Move>/LinkedList<T: !Move> permitted? If so, to enforce "you can't move from behind indirection" I assume you would need to consider which methods need the Move trait bound adding (e.g. Vec::pop, LinkedList::pop_*) which seems error-prone (compared to it being done automatically if you disallow it from call/return/assign).

Vec<T> can't work because then growing the vector would change the addresses of T's inside.
LinkedList could work but then pop wouldn't be allowed, you'd have to split a list off or something, I'm not sure - anyway, T: Move would be the default and T: ?Move would be required to allow it anyway.

Vec can actually work if you don't allow methods which return references to elements (since those elements can move during resizing). This is quite restrictive, but could still be used, for example, to collect up futures for a select operation.

Sorry, yes, a limited arrayvec would have been a better example. Thanks for answering my questions.
I see now that my proposal is for fully immovable types (as "such types could never be constructed other than by struct literals" from the internals post isn't true once placement new arrives) and it sacrifices flexibility. The only upsides I can think of off the top of my head are 1) it may be simpler to learn (since it's so similar to the current implementation of Sized), 2) the rigidity helps prevent mistakes (it mildly concerns me that adding ?Move to a bound on a collection data type without fully understanding all existing methods on the collection can indirectly permit memory unsafety).
Something unrelated that I want to double check - given struct S { v: NonMove } with v: !Move, are methods on S permitted to take a reference to v without it being destroyed afterwards? I assume so, since we can rely on S: !Move to keep it in the same place.

@aidanhs If the methods on S take it by reference, we can just reborrow (which work normally) it to gain a reference to v. If a method takes it by value and you borrow v, it must be destroyed in the method.

I have a branch which implement this, but it disallows all borrows of types which aren't known to implement Move. This is simpler than integration with the borrow checker and allows us to check for regressions. @eddyb did a crater run which did turn up some regressions:

spectral = "0.6.0"
tokio-jsonrpc = "0.2.0"
nalgebra = "0.10.1"
differential-dataflow = "0.0.3"
rust-install = "0.0.4"

Now only tokio-jsonrpc could be a proper regression here, the other errors are due to implementation issues, but could hide other regressions. I'm not sure how to go about debugging fixing these.

I changed the mechanism which prevented illegal moves to a MIR dataflow analysis on l-values. So for every move of a type which may not implement ?Move we see if the value has been previously borrowed and disallow the move if that is the case. This leads to a clear implementation path and it's hopefully more intuitive too.

@Zoxc imo, the "MIR dataflow analysis on l-values" definition is confusing, and doesn't work super well. I'd rather say something like:
Given a type `T` that does not (or may not) implement Move, one cannot do an  lvalue-rvalue conversion on an object of type `T` if one has taken a reference to that object, or to any of its subobjects.

@burdges I don't understand which LLVM support for codegen is needed for this RFC.  If I understand the link you've cited correctly (https://github.com/rust-lang/rfcs/pull/1496#issuecomment-189521431), it's because values in callee-save registers are backed up in the stack and then restored later, and immovable values should not be stored in callee-save registers.
However, if the calling convention is properly enforced, (which we may be able to assume as opposed to the security-oriented context), we can safely ignore the distinction between callee- and caller-save registers, because they appear to be equal before and after a function call.

I believe the zeroing for security discussion both here and in #1496 looks pretty outdated.  We should explore Laurent Simon's suggestions from his RWC 2016 talk as mentioned in https://github.com/rust-lang/rfcs/issues/1853#issuecomment-275568249
Idea: Zeroing on drop may be too time consuming, as drops may happen too often.  Instead, we should instrument the stack and zero the correct amount of stack when existing critical code.

We've been hitting this in Servo in our bindings to SpiderMonkey. The main place this is impacting us is keeping track of the GC roots, for which we'd like to use a stack-allocated linked list. This is almost doable, the problem is mem::forget, which allows a stack-allocated root to be discarded without running its destructor. At the moment we work around this with macros, but it would be nice not to have to do this.
cc: @nox

In the two cases I've wanted immovable types, I instead created a function taking a closure. The function takes a mutable reference to the relevant type, and puts it into a wrapper type which offers the functionality needed (instead of the base type offering it). This should work for the suggested use cases, given sufficient const fn support for the static mutex case.

In the two cases I've wanted immovable types, I instead created a function taking a closure. The function takes a mutable reference to the relevant type, and puts it into a wrapper type which offers the functionality needed (instead of the base type offering it). This should work for the suggested use cases, given sufficient const fn support for the static mutex case.

This doesn't scale for us. We have many, many, many roots per function body.

Yes, this is a problem with ergonomics mainly. If you have many roots, you end up with many nested closures. Imagine programming in Haskell without do-notation yikes!

I noticed that @Zoxc's branch is actively maintained: https://github.com/Zoxc/rust/tree/move  May I ask what is the status of the branch?
I also wonder if what is the remaining issues of this RFC PR.  We've also been hitting this in implementing the network stack in Rust, where we want to use intrusive data structures.  We'd like to participate the discussion.

This RFC has run into some problems with https://github.com/rust-lang/rust/issues/21974#issuecomment-331886186. https://github.com/rust-lang/rust/pull/44469 also has the same issue, so we'll see what happens there.
@arielb1 is also concerned about the performance of Move being an OIBIT. Reverting to the earlier design is an option to resolve that. Hardcoding the impls of libcore might be another option.
My branch will ICE on some borrowck errors currently, but the work on MIR borrowck should resolve that. There is probably some edge cases it doesn't handle correctly (like partial moves).

One thing that hasn't been mentioned in this discussion yet (except in a roundabout way specifically for precise stack rooting with GCs, which is as relevant for a pure-Rust GC as for SpiderMonkey's C++ impl):
With immovable types, we can support FFI to C++ and working with C++ types much better than we can now (sepcifically thinking about what bindgen would generate, but there's no reason you couldn't write bindings by hand as well).
We can mark C++ non-POD types as immovable and then provide Clone impls that FFI to copy constructors, call destructors from Drop, and add move_(self) -> Self methods for move constructors.
These things aren't really feasible right now because C++'s constructors and destructors are incompatible with Rust's move semantics.
Consider me in strong support of this RFC and immovable types in general.

One thing that seems to be missing from my re-skim of the RFC: how do I say that some type I am defining is not Move? PhantomData<SomeTypeKnownNotToMove>? Something else?

@fitzgen In the current version of the you would make a type immovable by using impl !Move for Type. However I'm going to revert this RFC to an earlier version where you'd have to include a zero sized field of an existing immovable type due to the performance impact OIBITs have.

move_(self) -> Self

Can't have that on an immovable type, given passing self by value is a move.

Can't have that on an immovable type, given passing self by value is a move.

Good catch! I guess the signature would be fn move_(&mut self) -> Self. Which relies on RVO too.

&mut self is the correct signature for C++-like move constructors, since they leave the source object in a valid state. Returning Self is perhaps the wrong approach, since even with RVO it doesn't semantically allow for things like fixing up pointers.
How does bindgen wrap constructors? If it provides at least the option to run them directly on some already-allocated memory then matching that would probably be the closest we can get.

As a name alternative to move_ consider move_out or take (which already exists on Option).

@fitzgen
That version of move_ won't work for safe C++ move constructors, because safe code can move the return value around as long as it isn't borrowed, e.g.
extern "C++" {
    class NonMoveType;
    fn NonMoveType() -> NonMoveType;
}

fn example() -> Box<NonMoveType> {
    let n = NonMoveType();
    // this moves `n` into a box.
    box n
}

If you want things to work, you'll need to use &move T for the move-out and &out T for the move-in.

I updated the RFC to better align with my PR. Move is now a builtin trait again instead of an auto trait for performance reasons.

Given where things are headed in this space, I'm going to propose to postpone this RFC, in favor of library-based solutions for the time being.
@rfcbot fcp postpone

I expect/hope to fully replace Move in the long-term with a more orthogonal design.
As I mentioned in my reddit comment, you can't use Clone on a !Move variable and then move it, to produce two copies of it, even if it'd be safe. The type isn't really immovable itself, but rather certain uses of it (Generator::resume) may require it becoming immovable to maintain safety invariants.
The only language extension I can think of is a new &pin T reference which can only be used on data you own and causes perma-borrowing (similar to &mut Pin<T> -> Anchor<&mut T>)  - but with extra nice things like method call autoref, the ability to have compiler-checked self-referentiality (you can't self-reference without &pin T, with &mut T it wouldn't be allowed).
Then again, we could also just make the library types special to get all of these niceties!

 It seems to be a very exciting idea! <3

@phaazon See https://github.com/rust-lang/rfcs/pull/1858#issuecomment-363865041 - we may be able to come up with an improvement over ?Move!

Closing since FCP with a motion to postpone is now complete.


Editor view text has poor contrast (edit_fg is ignored)

Using F2 to open an editor for the current selection uses a text color that is hard to read on the theme's default background:

Note that the cursor is white, but the text is not.
Would prefer the same white text on dark background as is used in the default item list view:

Note that the preview, after selecting the theme, shows the editor sample with appropriate light text:

So I'm wondering why I'm getting basically black text on a dark background in the entry editor.
After playing with the theme a bit, I think it's ignoring the edit_fg.
edit_bg=#d3d1c0
edit_fg=#d3d1c0

Results in:

Just realized this is shown in the preview as well:

Clipboard Manager 8.0.0
Thank you for providing this theme.

Going to repost on copyq channel as this is clearly a bug there.


adding African Institute for Mathematical Sciences Senegal

adding African Institute for Mathematical Sciences Senegal

@bestopher I am sorry for a delay with processing your request.
Pull request merged. Thank you!

Hi @philipto Thank you for your reply! Please can I know how to get the jetbrains key?

@bestopher Yes. Please apply online at https://www.jetbrains.com/shop/eform/students


Amend contribution guidelines for Vale addition

Describe the bug
Sections of the README and its contribution guidelines relate to cpsell and its project-words.txt file, which have now been replaced by the Vale linter.
The content needs to be updated accordingly.
Steps to reproduce
n/a
Expected behavior
n/a
Link(s)
https://consensyssoftware.atlassian.net/jira/software/c/projects/CSCTT/boards/661/backlog?epics=visible&issueParent=145977

Fixed in #801


Support DataFrame.set_index(..., sort=False)

Ability to avoid repartitioning and new divisions when setting index.

[x] Closes #10333
[x] Tests added / passed
[x] Passes pre-commit run --all-files

I've re-read the docstring of set_index, and I think we should make it very clear that sort=False will turn off all the performance-impacting behavior that is described.


add umd build of iconv-lite

Hello @bpasero!
Here is the UMD build of iconv-lite as we discussed. Currently it depends on the released 0.5.1 version, however building with master doesn't seem to provide any benefits.
The build as is results in 648KiB
            Asset     Size
iconv-lite-umd.js  648 KiB

I was able to shave ~40KiB by excluding utf7 and utf32 encodings.
            Asset     Size
iconv-lite-umd.js  605 KiB

There might be some opportunities to shave more, but I am not as well-versed in encodings topic to do that on my own without breaking something.
I will try to collaborate with the iconv-lite author to see how/if this can be reduced further.
UPDATE 1
It looks like cp949 is also not supported by VSCode. I've excluded it as well from the build.
            Asset     Size
iconv-lite-umd.js  568 KiB

UPDATE 2
Since 0.6.0 is now released, I've updated to use it. Unfortunately that increased the resulting size a bit.
            Asset     Size
iconv-lite-umd.js  583 KiB

UPDATE 3
Thanks to the author of iconv-lite, who pointed out that inline source maps contribute half of the resulting size.
                Asset     Size
    iconv-lite-umd.js  250 KiB
iconv-lite-umd.js.map  249 KiB

Thanks,  published this as https://www.npmjs.com/package/iconv-lite-umd

@bpasero did you miss my question about source maps?

@gyzerok oh yeah I missed that. I would not want sourcemaps to be inside any of the web modules, not sure why we decided to add them for semver-umd but I can follow up and ask.

@bpasero great! Then once you are able to confirm they are not needed I can make PRs to both libraries to fix it.

@gyzerok please go ahead with a new PR and I can review when I hear back 👍

@bpasero check “update 3” in the first post. Will supply PRs tomorrow :)

@gyzerok ah nice!


Navbar Enhancement

The navbar's got links which are not properly visible as well as the navigation menu could be improved. There's also one empty space which doesn't clearly represent any login or profile accessing option basically it's not understandable what that part actually does.
I would like to contribute to the enhancing of the navbar, its features like connecting to social media , colour , etc.
Thus , I request @arushi2610 to please assign me the issue and an early response would be appreciated.

I would like to work on it please assign me this @


Notifications

Going to go ahead and merge this to master, been testing it for a few weeks now.

Fixes the logging bug, wasn't logging before
Added an "always connect" and "notification dashboard" showing speed and battery change. Both are optional and by default off. Notification dashboard still needs work, goal is to display on the lock screen the current battery and speed.

Crushing this pull request, @audkar has improved notifications and with cother hanges the "always connect" needs refactored. There is still the fix for location tracking that needs to go on, will do that in a separate branch.


Complex mapping for Meta key functionality

I'd like to know how to implement a meta key (for Terminal and X11) like the one in the old Karabiner. Specifically, I want the physical left control key to produce esc + other key / other key combo strokes (except when modifier keys are presesd alone) for as long as it's held down. If possible, only to be active in certain apps, like Terminal, and have some alternative function in "normal" apps.

Is it stale though? I did some clumsy replication of it with a lot of conditionals, but haven't followed up on newer features.

I'm also trying to figure out how to do this, as https://github.com/jwilm/alacritty/issues/62 hasn't been solved yet.


Document update request

On step 3 under "Create a migration project" you have "... in the Migration activity type selection box, select Online migration, and then select Create and run activity.", but on the next screenshot you have "Offline migration" for the Migration activity type selection box.
Can you please update the document ?

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

ID: 10090230-b42c-20f5-a7e8-41e487fde00a
Version Independent ID: 158ad6dc-61d8-a61e-a688-d1c4513e4f60
Content: Tutorial: Migrate Azure Database for MySQL - Single Server to Flexible Server offline using DMS via the Azure portal - Azure Database Migration Service
Content Source: articles/dms/tutorial-mysql-azure-single-to-flex-offline-portal.md
Service: dms
GitHub Login: @KarlaEscobar
Microsoft Alias: karlaescobar

@petri2024
Thanks for your feedback! We will investigate and update as appropriate.

@petri2024
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.

I have made the appropriate fix for this. Thank you for your review!

Resolved.
#please-close


add default configuration profile

Coverage decreased (-0.05%) to 47.096% when pulling c38e7c6a6fb83a4946fbdb67d66517f6d4970ae5 on lepdou:configuration into 9f1740e0a11b54802b62790d7da9a682022727e9 on ctripcorp:master.


nz-menu mouse over to next levels, the previous levels are not displayed

Reproduction link
https://stackblitz.com/edit/angular-qvmc1z?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce

move the mouse over the sub-menus
the previous levels are not displayed

What is expected?
Recursive usage:
When we go to the sub-menus of the next levels, the previous levels are not displayed
What is actually happening?
mouse over to next levels, the previous levels are not displayed

Environment
Info

ng-zorro-antd
14.0.0

Browser
chrome

I have this problem in the recursive menu too.

yes . I have this problem.


Upgrade Docusaurus to latest and all dependent modules

Upgrade Docusaurus to 3.3.2 and all dependent packages to latest versions.

@eldon-tuva looks like the netlify build / checks failed - something about wrong version of node when i looked at the logs.

@eldon-tuva looks like the netlify build / checks failed - something about wrong version of node when i looked at the logs.

@aneiderhiser Yeah - the first deploy failed because Netlify was set up for Node 16.x and the upgraded site needs 18.x. I reran the tests in Netlify after switching the runtime environment and they passed but unfortunately didn't update Github. I can push a non-change to trigger another run in GH if you like.

@eldon-tuva yeah push a non-change if you wouldn't mind


Connecting the sdn-wise-java controller with sdn-wise-contiki (non-java) motes

Sebastiano,
So there's two types of motes currently implemented in sdn-wise-contiki

Compiled C Motes for emulated hardware (sky etc.)
Java motes.

I have two questions:

Is it possible to detect sky motes in cooja using sdn-wise-java?
How come when I use the emulated java motes, and connect the sink to localhost::9990 then sdn-wise-java only detects the sink, rather than the whole network? This is, of course, after I set EMULATED=false in SdnWise.java

I'm thinking the answer to the first question is that they aren't compatible? As sdn-wise-java southbound is a TCP connection and I don't think sdn-wise-contiki is currently supporting TCP?
Second question, not sure why they aren't working as I'm pretty sure I got it all working together a couple of years back. Have the updates earlier this year changed anything major?

They are not compatible. The connection between sky node and a java software you can find here:
http://anrg.usc.edu/contiki/index.php/Collect_View . This may help to develop a simple controller for the sdn-wise-contiki motes.
I think it only works with EMULATED=true

Dear Sabastiano,
I am a PhD student in IIIT Naya Raipur, CG, India. I am trying to implement your results, produced in your unique paper, titled "SDN-WISE: Design, prototyping and experimentation of a stateful SDN solution for WIreless Sensor networks". I have some questions in this regard:

Is it possible to implement the solution with any other hardware mote(s) except EMB-Z2530PA?
The given solution SDN-WISE is completely open source or partially open-source (as some people are claiming it so in online community)?
As you have developed a controller in java for SDWSN solution(s), is it a full fledged one or still some parts are under-development?
Can we only test the java controller with Omnet++ or by using some frameworks like INET we can extent/create it in Omnet++?

@hieu1204 So,

After implementation how did you collect the routing metric(s) results? as there is no script for that at "http://sdn-wise.dieei.unict.it/".
The tutorial "Controlling heterogeneous networks using SDN-WISE and ONOS" is not working with command "cd ~/onos && tools/test/bin/onos localhost" and giving error as "ssh: connect to host localhost port 8101: Connection refused" how did you resolved it?

Unfortunately, there is no tutorial for the sdn-wise-contiki. Since the SDN-WISE controller for Contiki-based motes is not produced yet by the authors, so I developed a simple Java controller for routing purpose. Sorry for your second question, I have no clue about the ONOS controller.

Thanks @hieu1204 for your comments but I have few more question(s):

The implementation (Z1 and sky mote) that you did is a real-world testbed implementation or in simulation under contiki?
SDN-WISE author(s) claim in their paper that they made a controller using java APIs then why did you again develop the controller in java?
do you know any other testbed and simulation implementation of SDWSN except SDN-WISE? Some people claim that it is possible with tinySDN, what's your opinion on this?

@rubiruchi I did both COOJA simulation as well as the testbed (Z1 only). To the best of my knowledge, the controller that is compatible with Contiki firmware nodes is not published by the authors yet. For publications related to the SDWNs you can find in this survey
https://ieeexplore.ieee.org/document/7847327/
Sorry for the 3rd question but I have no idea about the tinySDN.

@hieu1204 Thanks a lot for your valuable comments. As I am working on the software defined WSN and want to implement it in both hardware as well as in simulation. Could you please guide me :

How to implement a java controller or if you have the code, is it available somewhere online?
How to implement the SDWSN solution with Z1 motes in real testbed?

@rubiruchi  I am delighted to share my experience, you can check my repository to find out.
https://github.com/hieu1204/sdn-wise-trickle

@rubiruchi The IT-SDN is an enhancement of TinySDN.
http://www.larc.usp.br/users/cbmargi/www//it-sdn/

great, I'll test it as soon as possible

@hieu1204 So,

After implementation how did you collect the routing metric(s) results? as there is no script for that at "http://sdn-wise.dieei.unict.it/".
The tutorial "Controlling heterogeneous networks using SDN-WISE and ONOS" is not working with command "cd ~/onos && tools/test/bin/onos localhost" and giving error as "ssh: connect to host localhost port 8101: Connection refused" how did you resolved it?

@hieu1204  I had the same issue. This is the command to run the actual controller. I managed to solve it by only increasing the memory of the virtual machine from 1GB to 2GB. I also increased the buffer size of the terminal.

@rubiruchi The IT-SDN is an enhancement of TinySDN.
http://www.larc.usp.br/users/cbmargi/www//it-sdn/

Hi @hieu1204  and @escuderoDP  Did you try and compile IT-SDN ?

@rubiruchi The IT-SDN is an enhancement of TinySDN.
http://www.larc.usp.br/users/cbmargi/www//it-sdn/

Hi @hieu1204 and @escuderoDP Did you try and compile IT-SDN ?

Yes, I did.  You need help?

@rubiruchi The IT-SDN is an enhancement of TinySDN.
http://www.larc.usp.br/users/cbmargi/www//it-sdn/

Hi @hieu1204 and @escuderoDP Did you try and compile IT-SDN ?

Yes, I did. You need help?

I had some error when I compiled IT-SDN, and some more details is about not found a function or a variable declaration, I could not solve this issue

Can you take a snapshot of this error and your topology?

Can someone please explain how to connect sdn-wise controller with contiki.ios network ? Can i do that with the C files related to sdn-wise ?

@hieu1204 So,

After implementation how did you collect the routing metric(s) results? as there is no script for that at "http://sdn-wise.dieei.unict.it/".
The tutorial "Controlling heterogeneous networks using SDN-WISE and ONOS" is not working with command "cd ~/onos && tools/test/bin/onos localhost" and giving error as "ssh: connect to host localhost port 8101: Connection refused" how did you resolved it?

I have the same problem with this 2nd question... and still dunno how to solve it

I have used the below commands...
cd ~
wget http://sdn-wise.dieei.unict.it/tools/01-GetStarted.tar.gz
tar xvf 01-GetStarted.tar.gz
rm 01-GetStarted.tar.gz
cd 01-GetStarted
mvn package
java -jar target/01-GetStarted.jar

Replace http://repo1.maven.org/maven2/ with https://repo1.maven.org/maven2/
Replace http://repo.maven.apache.org/maven2/ with https://repo.maven.apache.org/maven2/

@vikramdhiman27 Please how do I replace the repo address with a secure one? Thanks

@hieunq95 @rubiruchi is collect view working when running the SDN-Wise simulation in Cooja i have tried to get results from it but it doesnt seem to be working for me


4.0 preview releases missing strong name signatures

Describe the bug
The 4.0 preview builds are missing the strong name signatures making it impossible to use with strong named release builds.
Which project is your bug related to?

Client
ManagedClient

Thanks for your feedback. The build CI now creates assemblies with a strong name. Please test the latest preview nuget.

Thnx, they work just fine


chore: space contract should not be an account

Similar than what we do on sx-evm, the space contract shouldn't be an account contract. Instead the space contract scope should be about voting and the execution would be integrated as a plugin within an account contract like Argent.

Will implement this with the Cairo 1 migration.


Make a new Shell component

Right now there is no good parent component that can be used to manage the entire app. We can create a new Shell component that manages the navbar and the contents of the page and manages all the state. Start this after #64 is merged in.

Or just modify App.js to do this but it might look weird there


Setup redirect for root page in app

Not sure if this is possible but would be nice. Or something similar.

https://stackoverflow.com/questions/61970551/golang-gin-redirect-and-render-a-template-with-new-variables
https://chenyitian.gitbooks.io/gin-web-framework/content/docs/31.html


heap: add functions to get heap runtime statistics

add functions to get the sys_heap runtime statistics,
include total free bytes, total allocated bytes.
Signed-off-by: Chen Peng1<EMAIL_ADDRESS>

@andyross Could you help take a look of this? thanks.

I think, we need test case for that feature too.

calling set_chunk_used(..., false) in the realloc case for the count to balance is a bad sign

yes, I agree, I will update it.

the accounting was done inline.

hi @npitre Could you help review it again? I added another inline function to calculate size, this is more reasonable then overring set_chunk_used for the special case for realloc.

@npitre this logic is easier to understand, thanks.

@chen-png  can you provide a test as well?

A good strategy for a test would be to extract the allocated_bytes and
free_bytes computation from heap_print_info() into a function of its
own, and call it from sys_heap_validate() as well to compare with the
runtime counters when CONFIG_SYS_HEAP_RUNTIME_STATS is set. Then you
just need to add that config option to existing tests.

can you provide a test as well?

I think the proposal from @npitre is good, so according to his comments, I enabled existing heap tests to validate this sys_heap_runtime_stats_get API.

This is great - I've been meaning to add something like this for a while, but I'm happy that you beat me to it @chen-png :-)


Fix missing GpuBatchScanExec metrics in SQL UI

Fixes #5615.  SQLMetric instances were being created on the executor separately from the metrics on the driver, causing the metrics to get disconnected.  The eventlog would contain the metric data for the missing metrics, but the metric IDs would not match those predeclared in the SQL execution start event.  That explains why the SQL UI wouldn't show them, as it was looking for metric IDs that never received any updates in any of the task completion events.

build


How do you get the segmentation map from probabilities maps?

Hello Konstantinos,
I am working brain tumor segmentation by using original deepmedic on BRATS2015 database. I noticed that in the boundary of label 1 (Nercosis) and label 2 (edema), the probability of label 3 (Non-enhancing tumor) which is 0.0.4465 is much higher than the probability of label 1 (0.4046) and label 2(0.1428). However, you still assign label 2 with the lowest probability to that boundary voxel.

I think you suppose to give a label with the highest probability to that voxel. But this is not the case I observe on these two subjects. And although there are some voxels with the highest probability for label 3, but I am not able to find any label 3 within these two subjects.
Did I do something wrong? or Did you do any postprocessing to create the segmentation maps?
Best,
Po-Yu

Hello,
Segmentation is created with argmax on the probability maps.
./deepMedic/routines/testing.py -> function performInferenceOnWholeVolumes(...)
L305 starts the part where predictions are being saved.
Segmentations are created from probability maps calling argmax( ) at line L307.
I cannot answer with confidence what is the cause of what you observed, but I would guess this could be caused by the viewer software, which may be intepolating between values in order to visualise better certain points. If you want to be certain, you could load those values within numpy/matlab/etc, not from a viewer, and double check if this still happens.

Related to issue #104


fix potential erroneous handling of extension data.

If an ArchiveDownloadError was raised:

on the first pass through the loop an error could occur "UnboundLocalError:
cannot access local variable 'extensions_xml_text' where it is not
associated with a value"
on subsequent passes the previous value of extensions_xml_text could
be reused inappropriately.

Also use QtRepoProperty.known_extensions for improved maintainability,
i.e. the list of possible extensions is only defined in one place.

We need the list-qt test back online (#828)!

I still working on the test.  Feel free to close this PR and go with #868 if you prefer.