adds a file/:hash endpoint for file data over api

not certain if this is the right home, happy to update if you have thoughts
files/:block conflicted with the obvious place for it, so created a file/:hash api => fileData method
this solved my issues of needing to get the raw data from the api though

There were the following issues with your Pull Request

Commit: f3645d4bac1418201c6369e4e8fe9c4611059626
Commits must be in the following format: %{scope}: %{description}

This message was auto-generated by https://gitcop.com

if this gets the 👍 as the right way to go, i'd like to extend it to include an endpoint for blockData. I'm thinking it would work like, blockData(<blockId>, <fileIndex>) this would allow the client to skip back-n-forth parsing steps a lot of the time

Based on the convo from this morning, I think the two handlers you want here are the ones described in this comment @andrewxhill: https://github.com/textileio/go-textile/issues/688#issuecomment-487094089. The endpoints would take the path to the file within the DAG as described in the issue.
No need to holdup by the gitcop, but please tag on a subject to future commits. It helps to get an idea about what a chunk of commits were all about.

There were the following issues with your Pull Request

Commit: f3645d4bac1418201c6369e4e8fe9c4611059626

Commits must be in the following format: %{scope}: %{description}

Commit: f15c3830500fec5260199a489cd8c613c73b3dd4

Commits must be in the following format: %{scope}: %{description}

This message was auto-generated by https://gitcop.com

Okay, so leaving the block based stuff out of the PR (in favor of https://github.com/textileio/go-textile/issues/688#issuecomment-487094089 work), the getFileData method is gtg and means we can make the js lib update asap

There were the following issues with your Pull Request

Commit: f3645d4bac1418201c6369e4e8fe9c4611059626

Commits must be in the following format: %{scope}: %{description}

Commit: f15c3830500fec5260199a489cd8c613c73b3dd4

Commits must be in the following format: %{scope}: %{description}

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: f3645d4bac1418201c6369e4e8fe9c4611059626

Commits must be in the following format: %{scope}: %{description}

Commit: f15c3830500fec5260199a489cd8c613c73b3dd4

Commits must be in the following format: %{scope}: %{description}

Commit: f23e145ea62172457e0a2eff4524b8c0c633be73

Commits must be in the following format: %{scope}: %{description}

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: f3645d4bac1418201c6369e4e8fe9c4611059626

Commits must be in the following format: %{scope}: %{description}

Commit: f15c3830500fec5260199a489cd8c613c73b3dd4

Commits must be in the following format: %{scope}: %{description}

Commit: f23e145ea62172457e0a2eff4524b8c0c633be73

Commits must be in the following format: %{scope}: %{description}

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: f3645d4bac1418201c6369e4e8fe9c4611059626

Commits must be in the following format: %{scope}: %{description}

Commit: f15c3830500fec5260199a489cd8c613c73b3dd4

Commits must be in the following format: %{scope}: %{description}

Commit: f23e145ea62172457e0a2eff4524b8c0c633be73

Commits must be in the following format: %{scope}: %{description}

This message was auto-generated by https://gitcop.com

Tried this locally and all I get is 404's... any ideas?

Hmm.. give me a few more details. I'm running it currently through my local desktop install

So I run the daemon via textile daemon:
> textile daemon
go-textile version: v0.1.12-rc3-1-g3bb4ad52
Repo version: 13
Repo path: /Users/balupton/.textile/repo
API address: <IP_ADDRESS>:40600
Gateway address: <IP_ADDRESS>:5050
System version: amd64/darwin
Golang version: go1.12.4
PeerID:  12D3KooWJoRPGDJMHziS7V1JoSxq4LfQ4kajNqqiqUfATSFsMJqC
Account: P6XdG9bpvBqEdXsZsNX25HTuXjEatSndRaSB79Lx65bacEZ7

The type textile files ls to get this block:
       {
            "block": "QmRmeF6xa6uoQGQG8U2mFUrqcmxR7Y2WY7gRs2ey4cgq1Z",
            "target": "QmRGJsjLaEp7YNzsQ6dwaVwBn4b73CHbvCLcszWKVNuRNV",
            "date": "2019-04-25T03:43:00.663899Z",
            "user": {
                "address": "P6XdG9bpvBqEdXsZsNX25HTuXjEatSndRaSB79Lx65bacEZ7",
                "name": "balupton-dev"
            },
            "files": [
                {
                    "links": {
                        "large": {
                            "mill": "/image/resize",
                            "checksum": "DUn51aKz1n4Ts2TEj12n6WgmXgjXp8SSU5LyDk918bqQ",
                            "source": "ATnpNZcdKLPBJYbpS7rsZZc3o2g8PywsNaZbjFvCPbVa",
                            "opts": "21uBAuSeQUdw5aDu5CYPxEfeiLVeuvku1T26nWtJC84C",
                            "hash": "QmS6fNpJKswtRizEuTKYPSNNG8jm2hpNxKwtnm9nPY4fNz",
                            "key": "7pyCYJe7YRgCw86Bn2URD6tU1bnnhyNwp6HgfgeRNaz2ybFVq4fszCxVfRj3",
                            "media": "image/jpeg",
                            "name": "stdin",
                            "size": "23275",
                            "added": "2019-04-25T03:42:59.906707Z",
                            "meta": {
                                    "height": 425,
                                    "width": 425
                                },
                            "targets": [
                                "QmRGJsjLaEp7YNzsQ6dwaVwBn4b73CHbvCLcszWKVNuRNV"
                            ]
                        },
                        "small": {
                            "mill": "/image/resize",
                            "checksum": "9MogY5zLtXx3exfHbusJJX34uBuKuW322UarWenU1Mk7",
                            "source": "ATnpNZcdKLPBJYbpS7rsZZc3o2g8PywsNaZbjFvCPbVa",
                            "opts": "CassDcqf192MnceweJKGJvhZfrV9kB3GJRbvNPWm6raa",
                            "hash": "QmVjMc5xfEcDD2w7eCo7Mz8YcD744JNks6yRz9T3gbirWx",
                            "key": "HoN5F6bXi6YBgRfNpNT8bSvMGfyM3sQ5bfoE4SL76wMAdBpnyU7Q2axFb8Rr",
                            "media": "image/jpeg",
                            "name": "stdin",
                            "size": "14478",
                            "added": "2019-04-25T03:43:00.000646Z",
                            "meta": {
                                    "height": 320,
                                    "width": 320
                                },
                            "targets": [
                                "QmRGJsjLaEp7YNzsQ6dwaVwBn4b73CHbvCLcszWKVNuRNV"
                            ]
                        },
                        "thumb": {
                            "mill": "/image/resize",
                            "checksum": "6Nf3DcZemisdztipeq9CRAhFHHUSFoTEeeBdP2x3d55h",
                            "source": "DUn51aKz1n4Ts2TEj12n6WgmXgjXp8SSU5LyDk918bqQ",
                            "opts": "7aGVJ7nGgmHdqv8oiEKZ2ZbrNBv1zVP3ADSuT2sW3MwT",
                            "hash": "Qmeky4j48GsjSa6Y6jU2QjaRkNRAWoKyxcRLyxRKjp3uqw",
                            "key": "2AuyoU4h5Kgzs8r7TJSxJqGHrEwkfRFt2eSSroz2YNT8sK5rhhkxPVeXZMgVZ",
                            "media": "image/jpeg",
                            "name": "stdin",
                            "size": "3030",
                            "added": "2019-04-25T03:43:00.070141Z",
                            "meta": {
                                    "height": 100,
                                    "width": 100
                                },
                            "targets": [
                                "QmRGJsjLaEp7YNzsQ6dwaVwBn4b73CHbvCLcszWKVNuRNV"
                            ]
                        }
                    }
                }
            ],
            "comments": [
            ],
            "likes": [
            ],
            "threads": [
                "12D3KooWQMJcNcbws6fz9aBNVpqLYGmfsJVphfKWD6i8Zxd1ZsAP"
            ]
        }
    ]
}

All these URLs give 404s.


browser language can't be updated using "--lang"

browser_locale seems invalid parameter name. let's rename to browser_language
on some browsers current implementation can't update language
https://stackoverflow.com/questions/18645205/set-chromes-language-using-selenium-chromedriver

it was configuration issue for chrome driver/os language.
We have to think about point 1.

fixed #1 in this PR: https://github.com/qaprosoft/carina/pull/759


Can't select two properties on the map

I can apply for two properties, but I can select two properties on the map. This is confusing.

Yah, the interface is not setup for this and would frankly be pretty confusing if it did. Don't think we should do this.


concurrent.futures.process.BrokenProcessPool

Informations

Qiskit Terra version: 0.7.0
Python version: 3.7.1
Operating system: ArchLinux

What is the current behavior?
I got an exception on two different machines, but I'm not sure if it's related to qiskit-terra or python itself. The exception arise when I invoke the job.result() method.

File "/home/simone/LinuxData/virtualenvs/qiskit_env/lib/python3.7/site-packages/qiskit/providers/aer/aerjob.py", line 39, in _wrapper
return func(self, *args, **kwargs)
File "/home/simone/LinuxData/virtualenvs/qiskit_env/lib/python3.7/site-packages/qiskit/providers/aer/aerjob.py", line 98, in result
return self._future.result(timeout=timeout)
File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

I found other similar issue which suggested to use the if __name__ == "__main__": statement, but this is already there: the whole program code is under this statement.
Steps to reproduce the problem
The problem appears randomly when I run my qiskit program. It's a huge project, and sometimes the program works seamlessly, while others fail with this message.
What is the expected behavior?
The program should always run without problems.

I'm closing this issue and opening it in the Aer repository: https://github.com/Qiskit/qiskit-aer/issues/6


Use mpsc to split readline + command to threads

Longer sleeps (length of song)
Longer list (greater than 5)
Cycle through single related list until it's exhausted


HOW TO SET CLIENT INFO

how to set client info during connection open?
we could do it by calling package DBMS_APPLICATION_INFO, however this will be after connection is opened

you cannot set it during connection open
I think other driver also will let you set client information after connection open


Powershell crash when running in Windows Server 2012 R2

Everything is running fine on Windows 10 but when I moved it to Windows Server 2012 R2 for production then it crashed every time I run it.
I tried with the example from this repo as well, but it still crash. It seems cannot spawn the shell.
I'm running node 10.16.x on Windows Server 2012 R2

I think the error when the shell is spawned is:
'-' was specified as the argument to -Command but standard input has not been redirected for this process.

I fixed it.
In Shell.js change
    const proc = spawn(`${psProc}${!isWin ? "" : ".exe"}`, psOpts, {
      stdio: "pipe"
    });

To
    const proc = spawn(`${psProc}${!isWin ? "" : ".exe"}`, psOpts, {
      stdio: "pipe",
      shell: isWin,
      windowsHide: isWin
    });


Invalid point encountered!

I keep getting the following error pop up. Keeps popping up at incomplete lines of code I am still writing. Any suggestions as to what this is?
Error: linter-flake8:: Invalid point encountered! See console for details.
Error: linter-flake8:: Invalid point encountered! See console for details.
    at Error (native)
    at extractRange (/Users/tbansil/.atom/packages/linter-flake8/lib/main.js:73:11)
    at Object.<anonymous> (/Users/tbansil/.atom/packages/linter-flake8/lib/main.js:221:25)
    at undefined.next (native)
    at step (/Users/tbansil/.atom/packages/linter-flake8/lib/main.js:9:273)

If you check the console what is the error code the message was attempting to mark? It's likely this is a duplicate of #256.

I faced a similar error:

@silentsokolov As I guessed when you posted over in #265, and can now confirm from that screenshot you are definitely hitting the bug in flake8 that was initially reported in #256.

Me too.

This is happening very frequently, after the update before the last one, it's tempting me to just disable it :/

I'm having the same issue. I've disabled it for now but am looking forward to re-enabling this plugin. It's extremely helpful!

My PR #271 seems to at least suppress the errors for now although it might not be accepted as the ultimate fix. You should be able to paste my changes into your local file to fix the issue.

v2.1.0 has been released which moves the error reporting to a Linter message.

Also it looks like the fix for the originally reported issue has been released in flake8==3.2.1 🎉


Add generated index.html for PR #36

Missed to add the generated index.html file for PR #36

Thanks!


feat: remove all TypeScript references when isTypeScript is passed as false to remix.init

Just like https://github.com/remix-run/indie-stack/pull/127 & https://github.com/remix-run/blues-stack/pull/57

#47 was merged 👍🏼

Hello! So much time has passed and this stack is still broken when choosing JavaScript instead of TypeScript 😿. I know this PR is still a Draft but I'll start adding feedback already. I just wanna use JS with Remix 💿

@williamrjribeiro @mcansh This one is good to go I think 👍

@williamrjribeiro @mcansh This one is good to go I think 👍

can you fix the merge conflict? 😬

@mcansh You were too fast 🙈

@mcansh You were too fast 🙈

just doing one final check before logging off 😆

@mcansh I added eslint-plugin-cypress to the wrong package.json 😅
Fixed now too, so ESLint will be OK now 👍


Can't get tracing to work

I added a trace.server setting to my extension (based on the tslint extension), but I'm not seeing any output in the output window when debugging.
Am I missing some code or configuration to make this work?

I think the exact setting is "<id>.trace.server", where <id> is the ID from the LanguageClient constructor call. It seems you're actually using the constructor overload without an ID here, not sure what ID it would use in that case:
https://github.com/glen-84/vscode-sass-lint/blob/d5e04e6fc10523aa0de971cd58954792495cc4f5/sass-lint/src/extension.ts#L144
Try something like:
const client = new LanguageClient("sass", "Sass Lint", serverOptions, clientOptions);

And in settings.json:
"sass.trace.server": "verbose"

I used:
const client = new LanguageClient("sasslint", "Sass Lint", serverOptions, clientOptions);

... and it works! 🎉
Thank you so much. I will credit you when releasing the fix (tomorrow or next weekend).

Haha, no need. :) Happy to hear you got it working!


working examples?

Do you have any working examples that can help me know more about it ?

We have build a working example for ad-hoc retrieval in the examples. You can try it.

Thanks for your attention to our MatchZoo project. I am sorry to be so late to reply for you as I am traveling last week. We have build a working examples for DRMM on million query dataset. You can check the github. Any other questions are welcome~

发件人: Rajarshee Mitra<EMAIL_ADDRESS>发送时间: 2017年7月28日 14:53
收件人: faneshion/MatchZoo
抄送: Subscribed
主题: [faneshion/MatchZoo] working examples? (#1)
Do you have any working examples that can help me know more about it ?
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/faneshion/MatchZoo/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEe1OwBpkLUEP7UZ5M2724NCyETaeIFxks5sSfXzgaJpZM4OmtJb.

Can you give the link?

where is the example

你能给出链接吗？

同问


Create keychain category to handle passcode

Needed to be able to check the passcode from outside the core module, such in one's own app delegate, because the passcode field name constant is defined a static. Also eliminates programmer errors by not requiring to know the key.
The default key name is still APCPasscode, so unless app developers changed it this will not break compatibility.

r=me

Whoops, I missed APCSignupPasscodeViewController. I'll need to cherry-pick changes from that one.


[Unification] Use scaled dot product attention in FLAVASelfAttention

Stack from ghstack (oldest at bottom):

#152
#151
#150
-> #149

Codecov Report

Merging #149 (ab11687) into gh/RdoubleA/5/base (35f056d) will increase coverage by 0.01%.
The diff coverage is 90.00%.

@@                  Coverage Diff                   @@
##           gh/RdoubleA/5/base     #149      +/-   ##
======================================================
+ Coverage               92.34%   92.36%   +0.01%
======================================================
  Files                      45       45
  Lines                    2730     2723       -7
======================================================
- Hits                     2521     2515       -6
+ Misses                    209      208       -1

Impacted Files
Coverage Δ

torchmultimodal/models/flava/flava_text_encoder.py
94.11% <ø> (-0.07%)
:arrow_down:

torchmultimodal/modules/layers/attention.py
85.21% <85.71%> (+0.26%)
:arrow_up:

torchmultimodal/modules/layers/transformer.py
98.36% <100.00%> (+0.66%)
:arrow_up:

Continue to review full report at Codecov.

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


"S" keyboard command not working to save results

Cannot get the S button to work as the keyboard command to save results.  Have it working on another PC.  Installed exactly the same.  Running QGIS 3.36.1.

Hi @rtfraser86 ,
Sorry for the late reply. This bug is likely not related to the version of QGIS. Shortcuts only work when the plugin is in focus. Therefore, before using any shortcuts, you can click on the plugin to ensure it is active. If this approach does not resolve the issue, consider directly downloading the latest code from the main branch and replacing the existing code.

Hi @Fanchengyan  - I can get ctrl+z to work, just not S.  Plugin is in focus.  Using QGIS 3.36.0 and .1 (2 different computers)

Hi @rtfraser86 ,
Which version of Geo-SAM are you currently using? The latest code from the main branch should work properly.

Hello,
I have the same problem as described by @rtfraser86.
All shortcuts work fine, apart from the "S"-Saving-Shortcut. Tried it out on different versions of QGIS (3.36 and 3.38) and Geo-SAM, including the latest from the main branch.
Has a solution been found for this problem?
Thank you for your help in advance.
P.S.: Following the plugin-window in QGIS, where you can activate/deactivate all plugins, Geo-SAM's version always keeps being 1.0, even when 1.1.1 or 1.3 is installed. Is this correct (maybe it's a hint to solve the problem)?
Thank you

Is the new plugin like this? The latest version of the toolbar only has one row.

Hi @Fanchengyan,
thank you for your fast reply.
Yes, it looks exactly the same.

Hi @Segmentoholic
What conditions trigger the issue?  I can't pin the problem as it runs normally on Windows/Mac/Linux. Does the issue still occur after creating a new shapefile following SAM Output Layer or File?

Hi @Fanchengyan,
conditions are: Win 11, QGIS 3.38, Geo-SAM 1.3.
I'm saving the generated segmentation results as polygons into a geopackage layer. In this set-up, "S" shortcut is not working.
Saving via clicking the "Save" button works fine. But when doing so, you always have to click on your map/tif/layer in the main window first before you are able to move it again and continue segmenatation. So with the "S" shortcut, segmentation work would be even faster.
I also tried to save segmentation results into shp layer and the self-created "polygon_sam" layer, but there same problem is occuring.
Thank you in advance.

Hi @Segmentoholic
In fact, we only designed it to be stored in shapefile format. When we tried to expand to other formats, we found that many operations supported by shapefile format were not supported in QGIS. We haven't done in-depth research on geopackage, so I suggest you save it in shapefile format to complete the segmentation, and then convert it to geopackage format.

Hi @Fanchengyan,
thank you for the insight, but unfortunately in shapefile format the problem persists.
Maybe I'm doing something wrong, but when all other shortcuts are working I guess "S"-Shortcut should do as well (and plugin should be in focus then). But saving shortcut is still not running, unfortunately.
Thank you for your help in advance.

update:
Got it into work with geopackage on a different, but almost equal PC. Only difference was QGIS version (3.34 instead of 3.38).
But trying it out with 3.34 on the "problem PC" still leads to disfunction of saving shortcut. :man_shrugging:

solved:
Snapping Toolbar captured "S" before Geo-SAM could.
Disabling this toolbar solved the problem.
Thank you again


FluentSelect with many options renders slowly.

🐛 Bug Report
Rendering multiple FluentSelect components and passing a list containing atleast 100 items via the Items parameter significantly increases rendering time of the component.
💻 Repro or Code Sample
Create a blazor application using the Blazor Web App template.

Add 10 FluentSelect components to a page. Pass a list of ~100 strings to the Items parameter in the FluentSelect.
<FluentSelect TOption="string" Items="@strings">
</FluentSelect>

@code {
    IEnumerable<string> strings;

    private IEnumerable<string> GetLongListOfStrings()
    {
        IList<string> longListOfStrings = new List<string>();

        for(int i = 0; i < 100; i++)
        {
            longListOfStrings.Add("123456");
        }
        return longListOfStrings;
    }

    protected override Task OnInitializedAsync()
    {
        strings = GetLongListOfStrings();
        return base.OnInitializedAsync();
    }
}

🤔 Expected Behavior
The page is rendered without a notable rendering delay.
😯 Current Behavior
The page takes ~3 seconds or more to render.
💁 Possible Solution
See if performance can be optimized.
🔦 Context
I'm developing a blazor application where we need multiple select elements that can include fairly long lists of items. With the performance noticed by doing it like described in this issue this greatly slows down the application on navigation and tab changes. Simply replacing the FluentSelect with an ordinary Select and rendering options in a loop doesn't affect performance at all.
🌍 Your Environment

Windows 11
Chrome
.NET 8
FluentUI.AspNetCore.Components 4.3.1

We'll look into how we can make the performance better. (Started a separate PR for it)
Comparing performance of this to plainn HTML will always be in favor of plain HTML so is a bit moot. These components are doing a lot more work behind and in front of the scenes and that will always come at a price.

Front end newbie here but FWIW I experienced this too with about 2400 rows.  I switched to the Search control using the Interactive with debounce pattern and it works great.   Might be worth looking into for your situation.
https://www.fluentui-blazor.net/Search

Made it a bit better for next release. Closing this as we can't do more at this time.


fix: Handle empty media segments for Mp4VttParser

Handles https://github.com/shaka-project/shaka-player/issues/4429

Thank you for your contribution!


Miniature solarnet lab: resource constraints, testings, and discoveries

On building several raspis/c.h.i.ps scattered within wifi range (~$20xn) for the purpose of:

Pushing the resource constraints for low-powered devices. Has been around for a while (https://github.com/ipfs/go-ipfs/issues/1482, https://github.com/ipfs/go-ipfs/pull/2012, bitswap consumption https://github.com/ipfs/go-ipfs/issues/1750)
Testing (https://github.com/ipfs/go-ipfs/issues/2055, https://github.com/ipfs/go-ipfs/issues/2056, https://github.com/ipfs/go-ipfs/issues/2057)
Proving the O(torrent) speedup in local network (the first example in https://www.youtube.com/watch?v=HUVmypx9HGI#t=14m15s (but why?), https://github.com/ipfs/go-ipfs/issues/2111, https://github.com/ipfs/go-ipfs/issues/872).
Offline/high-latency functionalities (ref: https://www.youtube.com/watch?v=HUVmypx9HGI "I want to live in a world where the applications that I use will continue working whether or not I'm in the best place in the network" (and whether or not having adequate tools)).
Optimizing ipfs as a lan/local unixfs (fixing issues like https://github.com/ipfs/go-ipfs/issues/2166) / immutable fs / for /nix/store. I don't know of the constraints, but what does it take to go O(zfs) here? imo, making the files api fast is a very time-consuming rewrite, instead of a reuse. I think, for now, git-annex could be a more suitable interface. Is there any relevant ipfs/notes to link from? I only know of https://github.com/ipfs/notes/issues/12.
Mini-cluster (and pin coop) prototypes (https://github.com/ipfs/notes/issues/58)
There is more, but unspecified.

Not sure if this is a silly thing to do, whether it is better off to test everything on vm/iptb/network simulator.
Yet, this could uncover ux bugs / some unexpected use cases, while maintaining a consistent unixweb interface that already works cross-geographically (e.g. the ipfs.io solarnet).
I have questions on the choice of 1. programming system and 2. protocols.
For 1, if the language of the web is js, what would be the language of connected devices (other than safe c/cpp)? Is using golang (channels/goroutine) particularly advantageous? Or micropython or rust?
For 2, how would ipfs+ipld fit in the 'web of things'[1] ecosystem? I just discovered of CoAP (for "REST", rfc7252) and MQTT (for pub-sub), can they be used on cjdns, or require a rewrite?
Estimate of figures:

file sizes: few KB to few distributed GB (measurement logs)
file lifetime: hours to infty
network bandwidth/latency: (no need to deal with dmca/isp)

[1] known to be highly fragmented, as stated in https://www.w3.org/community/wot/.

I think, for now, git-annex could be a more suitable interface

I've also thought about that. Cc: @cryptix

This work has started in https://github.com/ipfs/test-lab


tonConnectUI.setConnectRequestParameters can't  work

these code can't work, can't receive wallet.connectItems?.tonProof, please help, thank you!
  const payload = { tonProof: "xxxxxxx" };
  tonConnectUI.setConnectRequestParameters("ready",state: "ready",value: payload);
  tonConnectUI.onStatusChange(wallet => {
  if (wallet.connectItems?.tonProof && 'proof' in wallet.connectItems?.tonProof) {
  ..
  }
  });

close it, I resolve it
''''
onMount(
...
if(!proof){
tonConnectUI.disconnect()
}
)
''''
then connect wallet by touch reconnect button, and you will get proof.

@TroyMa1990 You're experiencing transcript error. It sounds like your query would be best dealt with by the support team.
I'll have to refer you to the official support live chat with the ticket ID TON07638
Please see the link below to our dedicated support line:
Ton Network DApps Support Ticket Requests.
Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.

same here

i found this method to set proof in the doc. and its worked
tonConnectUI.setConnectRequestParameters({
    state: 'ready',
    value: {
        tonProof: '<your-proof-payload>'
    }
});

@TroyMa1990 hey! which version of tonnect-ui-vue are you using now, have you checked this way?

i found this method to set proof in the doc. and its worked
tonConnectUI.setConnectRequestParameters({
    state: 'ready',
    value: {
        tonProof: '<your-proof-payload>'
    }
});


compiling for new transport

Hi Pablo,
I think I am stuck with the compilation. I had run the command, ros2 run micro_ros_setup create_firmware_ws.sh freertos olimex-stm32-e407 of which created the firmware folder. For my case,
I make changes on some files in the folder firmware/mcu_ws/eProsima/Micro-XRCE-DDS-Client/PublishHellowWorld/main.c
, and added CAN_circular_buffer.c, CAN_circular_buffer.h.
Also, a file I changed in the folder Micro-XRCE-DDS-Client/src/c/profile/transport/ip/udp/udp_transport.c
I have not changed those variables in the CMakeList.txt relating to the static memory allocation yet. I will leave at a later stage when I have passed the compilation and debugging stages.
I followed almost to the completion of the step in https://micro-ros.github.io/docs/tutorials/core/create_new_type/, but I think I have got into a wrong pathway, as I am not creating a new message. I am creating a transport, but still using existing uxr_xxx_read()/write() functions, and using the main.c in the folder firmware/mcu_ws/eProsima/Micro-XRCE-DDS-Client/PublishHellowWorld.
I have also read the other issue with regards to compile errors. I was wondering that is applicable to me too, i.e., I should follow the instructions there, should I. I will give it a go while waiting for your answers.
Appreciate your advice, please.

Okie, I followed your instructions. as shown below, on the other issue. It works. Now I am resolving the error messages.
git clone -b v1.2.5 https://github.com/eProsima/Micro-XRCE-DDS-Client
cd Micro-XRCE-DDS-Client
mkdir build && cd build
cmake .. -DUCLIENT_BUILD_EXAMPLES=ON
make

I just have answered you here.
Maybe you can create a fork of this repo with your changes and we can discuss here how to implement your transport.

Sounds good for the suggestion.
Many thanks for the solution. I have got it compiled with the changes I
made. However, it does not recognise the new files, I presume the Makefile
needs to be edited to incorporate that. BTW, since the
eProsima/Micro-XRCE-DDS-Client <
https://github.com/eProsima/Micro-XRCE-DDS-Client> is also exist in
firmware/mcu_sw/eProsima/Micro-XRCE-DDS-Client <
https://github.com/eProsima/Micro-XRCE-DDS-Client>, I would not need to git
that separately or I need to for some reasons? Of course, the final
question, how do I run or specify what to run those examples ?
On Thu, 15 Oct 2020 at 18:44, Pablo Garrido<EMAIL_ADDRESS>wrote:

I just have answered you here
https://github.com/micro-ROS/micro_ros_setup/issues/206#issuecomment-708910458
.
Maybe you can create a fork of this repo with your changes and we can
discuss here how to implement your transport.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/168#issuecomment-708911608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYQVUYLYUM3UJRJODS6NLSK2D2BANCNFSM4SRJ4EWQ
.

Of course, both the serialization (CDR) and the middleware (XRCE client) are present in the micro-ROS workspace because they are used by micro-ROS. But I suggest you building them completely apart of micro-ROS in order to ease your transport development. As I said previously, once the CAN transport is ready with the XRCE middleware it can be easily integrated in micro-ROS.
Regarding the modifications: remember that we are using a CMake project not a Make one. So in order to include files you should add them to the CMakeLists.txt: check here.
Do you have any repo with the CAN transport that I can see?

The source is very rough at the moment. If things go well, it should be ready by tomorrow.

"But I suggest you building them completely apart of micro-ROS in order to ease your transport development." I presume you mean, git down the XRCE client and compile it in a separate folder. While typing this, XRCE Client is being compiled. I can change those intended files accordingly. However, would you please share how to test it, and specifying what to run? also I presume it is running on a target board, i.e., Olimex STM32-E407 for my case. Sorry, I seriously can't "very far" of the entire mircoROS yet. Hence, be patient with my ignorance.

Is possible for you to run your CAN library in your host computer? The same library that you are going to use in the embedded platform?
If yes, we can test it directly with the XRCE-DDS library.
If not, we need to test it directly in the board. You have this repo in order to build just the XRCE-DDS Client in the Olimex board with FreeRTOS. I think that this can be useful to test the CAN code. It follows the same structure of a STMCubeMX proyect.

My host computer does not have the CAN controller as well as the
transceiver. Hence, I can not run it. I think the suggested idea makes more
sense.
However, I presume I still need to build the CAN transport using the
udp_transport_external.c.template in eProsima/Micro-XRCE-DDS-Client ? Also
I presume, somehow, in XRCE-DDS Client can call the CAN-transport
accordingly.
On Thu, 15 Oct 2020 at 22:19, Pablo Garrido<EMAIL_ADDRESS>wrote:

Is possible for you to run your CAN library in your host computer? The
same library that you are going to use in the embedded platform?
If yes, we can test it directly with the XRCE-DDS library.
If not, we need to test it directly in the board. You have this repo
https://github.com/eProsima/Micro-XRCE-DDS-Apps/tree/feature/refactor_nuttx/FreeRTOS
in order to build just the XRCE-DDS Client in the Olimex board with
FreeRTOS. I think that this can be useful to test the CAN code. It follows
the same structure of a STMCubeMX proyect.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/168#issuecomment-709029924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYQVSPN6FVMRM5Q3CMXKDSK25A5ANCNFSM4SRJ4EWQ
.

Yes, of course using  this repo you should be able to integrate your transport in the XRCE-DDS Client library.

I am wanting to test the comm. of two STM32-E407 boards through CAN bus. it derived from the UDP PingPong demo, that CAN-bus being a transport protocol should work.  Reading the MicroROS architecture, I was wondering where does the XRCE-DDS agent reside in this case? Should it be present as part of the system?

The micro-ROS Agent should be installed in a Linux/Windows computer or it a Raspberry Pi. Both Olimexs should be connected to this computer's Agent and they will be able to talk to each other and to the whole ROS 2 world.

Fortunately I asked that. Unfortunately, I do not or have not developed the CAN driver for Raspberry Pi nor Linux/Windows. I guess I would need to source/buy a dongle (USB) which has a CAN driver ;-(
A long shot, any possibilities or adjustment that testing the comm without micro-ROS Agent?

Since the uROS Agent resides in PC, and uROS Client resides in STM32
boards, I was wondering where the respective compilers are being set? I
didn't set them by far.
On Thu, 15 Oct 2020 at 23:39, Pablo Garrido<EMAIL_ADDRESS>wrote:

The micro-ROS Agent should be installed in a Linux/Windows computer or it
a Raspberry Pi. Both Olimexs should be connected to this computer's Agent
and they will be able to talk to each other and to the whole ROS 2 world.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/168#issuecomment-709138995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYQVUW5I3W7SJPK2HRYOTSK3GNFANCNFSM4SRJ4EWQ
.

The micro-ROS Client is being crosscompiled for the hardware platform (usually the micro_ros_setup package takes cares of this) and the micro-ROS Agent is being compiled for the host computer with the usual Linux/Windows compiler (in the case of the agent for Raspberry Pi you also have the option to crosscompile the agent using the micro_ros_setup ).

The reason I asked that was because I am now compile it separately from microROS, both the agent and the client. With this setting, I presume the agent and the client do not have any knowledge of local setting, but only the default setting attached to the repo. Is it right to view it like this?

Local, I meant the setting derived from microRos. microROS is not in the picture since I compile them separately.

Sorry, I didn't understood your question. Could you be more specific?

I am compiling the XRCE-client in particular separately, without using
MicroRos setup, neither I use any command to set the target board.  Hence,
it raises a question of what board it is for? Where do you set it? The same
applies to XRCE-agent for Raspberry Pi on which I will need to set it up.
However, I presume for XRCE-agent since it is using the native compiler,
the default settings apply.
Hope this help.
On Fri, 16 Oct 2020 at 19:25, Pablo Garrido<EMAIL_ADDRESS>wrote:

Sorry, I didn't understood your question. Could you be more specific?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/168#issuecomment-709836889,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYQVQRNCOYZC5DBX7DSDDSK7RL7ANCNFSM4SRJ4EWQ
.

Watched the DDS-RTPS, XRCE-DDS and microROS presentation video. It is very
impressive, and my interest in learning is now growing.
On Fri, 16 Oct 2020 at 19:25, Pablo Garrido<EMAIL_ADDRESS>wrote:

Sorry, I didn't understood your question. Could you be more specific?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eProsima/Micro-XRCE-DDS-Client/issues/168#issuecomment-709836889,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYQVQRNCOYZC5DBX7DSDDSK7RL7ANCNFSM4SRJ4EWQ
.

Hi Pablo,
I am kind of stuck with the something, your advice would indeed enlighten me.
I am now compiling the micro-XRCE-DDS-agent on Raspberry Pi 4. It should go well, hopefully. Of course, of my case, it still needs the CAN driver, and I am getting it installed soon the compilation completed. Would you mind sharing with the CAN driver availability, in micro-XRCE-Agent, is there a template for implementing local transports? please elaborate if it is different from the Client. please?

My bad, I missed out the lines "... You have this repo in order to build just the XRCE-DDS Client in the Olimex board with FreeRTOS..". Apologies.


Using @import and variables on multiple files

Take the following three .less files.
colors.less
@main-color:red;
styles.less
@import "colors.less";
div
{
color:@main-color;
}
customStyles.less
@import "styles.less"
@main-color:green;
When you compile customStyles.less the div color should be green due to lazy loaded variables. But the variable value is red.  I tried using the 1.3.1 and 1.4 versions of dotLess.compiler.exe to execute the compilation and still see this issue.

Dupe of #312 like @euzureau pointed out. Will discuss changing the default behavior in the next feature release.


Fix python code 6.5 support.kerneltime

Will push this in later today based on approval from @msterin

merged to unblock 6.5 work

fixes https://github.com/vmware/docker-volume-vsphere/issues/786


Question: How can I allow users to change the node's surface colour

I know how I can access individual nodes of the 3D object to change the colour through props. But if the 3D object has like ALOT of nodes (say 10k polygons and surfaces) and I just want to configure the top 3 largest surfaces of objects, how can I do that? Like how can I determine which are the largest surfaces through accessing the nodes? Would really appreciate any help or advise on this :)

Sorry @drcmda if I shouldn't have opened an issue for this but really curious


Fix content placeholder wireframe using wrong image bound

What does this PR do?
Fixes a regression of session replay while image placeholder doesn't have the correct position and bounds.
Cause:
in this PR, placeholder is using the content image bounds instead of image view bounds, which make the placeholder go beyond the image view.
Fix:
rollback the related function to the version prior to this PR
here is the screenshot after the fix:

Session replay link:
https://mobile-integration.datadoghq.com/rum/replay/sessions/dc4868a1-f572-4c66-b598-e140f777f126?applicationId=8e378128-92c4-433c-bfce-0957f8abee1a&seed=a9049579-5c24-47b6-b15c-856b3317dd02&ts=1722252089784
Motivation
Issue found before the sdk release:

Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.07%. Comparing base (6319509) to head (d80ccd4).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2147      +/-   ##
===========================================
- Coverage    70.12%   70.07%   -0.05%
===========================================
  Files          726      726
  Lines        26998    26997       -1
  Branches      4524     4524
===========================================
- Hits         18932    18918      -14
- Misses        6816     6818       +2
- Partials      1250     1261      +11

Files
Coverage Δ

.../recorder/resources/DefaultImageWireframeHelper.kt
95.21% <100.00%> (ø)

... and 26 files with indirect coverage changes


Start on llama/tools/generate_data.py.

Progress on https://github.com/nod-ai/sharktank/issues/103. Sending early for design feedback.
I want something lighter weight than https://github.com/nod-ai/sharktank/blob/main/shortfin/shortfin/llm/impl/service_v1_cli.py and https://github.com/nod-ai/sharktank/blob/main/shortfin/shortfin/llm/impl/service_v1.py to use that can generate real inputs using a tokenizer and the provided hyperparameters (e.g. batch sizes, max sequence length), for use in offline tests and benchmarks. What I'm not sure about is the state tracking in the cache. That's probably easiest to just dump from the service, but I think for prefill at least we should be able to generate something sensible here.
Anyways, this is part learning exercise for me and part useful tool for others. Looking for feedback!

Ping? Would like feedback on the approach taken here (standalone script vs teaching the service to output its args/outputs).


PrecisionAlignment.Found non–error?

I've started to get WordPress.WhiteSpace.PrecisionAlignment.Found: Found precision alignment of 1 spaces on code like this:
$wp_admin_bar = $this->getMockBuilder( 'WP_Admin_Bar' )
                     ->allowMockingUnknownTypes()
                     ->setMethods( [ 'add_node' ] )
                     ->getMock();

I don’t think it is against the standard (neither does the message say so), so what’s the purpose of having this? Unless some action is expected about it (which it doesn't seem to be), it just clutters results?
update Ok, if I disable this sniff then I get a different error in the same place: Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed. So it seems former "masks" the latter? Is it intended behaviour if so?

I don’t think it is against the standard (neither does the message say so), so what’s the purpose of having this? Unless some action is expected about it (which it doesn't seem to be), it just clutters results?

See #983 and #1099 which discuss the reasons for introducing the sniff in detail.
The short of it is that in WP Core, most such space usage was unintentional and not some form of precision alignment. This sniff allowed to detect the unintentionally incorrectly indented lines.
As the sniff can not distinguish between intentional precision alignment and unintentional incorrect indentation, the sniff throws a warning - in contrast to an error - and does not auto-fix.
If you prefer not to see these notices, you can always (selectively) exclude them a custom ruleset.

So it seems former "masks" the latter? Is it intended behaviour if so?

Just ran the WordPress standard over your snippet and no masking is going on. Both the error from the Generic.WhiteSpace.DisallowSpaceIndent sniff as well as the warning from the WordPress.WhiteSpace.PrecisionAlignment sniff are being thrown.
The sniffs function independently of each other, so I was surprised by your remark and am glad to confirm no interference is going on.
I do wonder why you were not seeing both, but that might be something in your setup ?

Sorry, I've found a bit about it in issues, but missed the PR.
Think the overlap is on PhpStorm display side, I see both sniffs if I run from command line.


Investigate alternative API validation approaches

Our current setup has validation occuring in OpenAPI/Swagger, and then validation occuring via Pydantic models we define. Flask requires an openapi spec, but openapi can't do many validations and is clunky in a lot of ways to setup.
A lot of this ends up duplicated. Investigate ways of doing this validation differently.
A few leads:

Use pydantic to generate the OpenAPI spec: https://github.com/kuimono/openapi-schema-pydantic
Drop flask for FastAPI: https://fastapi.tiangolo.com/ - seems to solve this problem BUT would be scrapping most of our API approach (FastAPI actually has a template library: https://github.com/tiangolo/full-stack-fastapi-postgresql)
https://apiflask.com/ which only looks to require a few small changes to get working from an existing Flask app / is just a wrapper around Flask.

Thanks for creating this ticket! I wonder if run-time validation is even necessary. What the API returns seems like it could be checked at compile-time, since there's no external user input here. cc @rocketnova

Thanks for creating this ticket! I wonder if run-time validation is even necessary. What the API returns seems like it could be checked at compile-time, since there's no external user input here. cc @rocketnova

What do you mean by no external user input? Isn't this validation explicitly for that purpose?

@chouinar sorry I misinterpreted the ticket too narrowly. I think there's value in validating request params, but I'm wondering if there's any value in validating the API response.


Fix build error for #272

This Pull Requests merges fixes for the build errors in #272 into #272

Thanks Eric!


updated symbiflow archs to integrate the newly added tiles tag in VTR

Signed-off-by: Alessandro Comodi<EMAIL_ADDRESS>This PR modifies the architectures to accommodate the new <tiles> tag addition to VPR.

XC7: the import files have been changed accordingly
Ice40, testarch: the architectures go through a final step and are modified with the update_arch_tiles.py script.

CI will fail until the new VTR version is added to conda.

@mithro @kgugala Everything went green except Travis CI. The issue is that the v2x tests fail as they now produce an incorrect architecture file (no tiles tags). For the short term we could also apply the conversion script for v2x architectures as well, what do you think?
Here are is the error message:
VPR was run with the following command-line:
/home/travis/build/SymbiFlow/symbiflow-arch-defs/build/env/conda/bin/vpr /home/travis/build/SymbiFlow/symbiflow-arch-defs/build/utils/vlog/tests/fig41-full-adder/adder.arch.merged.xml /home/travis/build/SymbiFlow/symbiflow-arch-defs/build/utils/vlog/tests/fig41-full-adder/adder.test.eblif --echo_file on --pack --place --route --device device --target_ext_pin_util 1.0,1.0
Using up to 2 parallel worker(s)
Architecture file: /home/travis/build/SymbiFlow/symbiflow-arch-defs/build/utils/vlog/tests/fig41-full-adder/adder.arch.merged.xml
Circuit name: adder.test
# Loading Architecture Description
# Loading Architecture Description took 0.00 seconds (max_rss 6.1 MiB, delta_rss +0.0 MiB)
Error 1: /home/travis/build/SymbiFlow/symbiflow-arch-defs/build/utils/vlog/tests/fig41-full-adder/adder.arch.merged.xml:3 Missing required child node 'tiles' in parent node 'architecture'
The entire flow of VPR took 0.00 seconds (max_rss 6.1 MiB)

@litghost apparently XC7 kokoro build is not being triggered.

========================================
Running xc7 tests (make all_xc7)
----------------------------------------
ninja: error: '../xc7/archs/artix7/devices/xc7a50t-arty-roi-virt/NOTFOUND', needed by 'xc7/archs/artix7/devices/xc7a50t-arty-roi-virt/arch.timing.xml', missing and no known rule to make it

Error looks like a dependency problem.  The CMake Ninja build generator sometimes finds build errors that are missed make the CMake Makefile build generator.  To run the ninja generator it is:
# From root, and after ninja is installed.  On Ubuntu the package is `ninja-build`.
cd build
cmake -GNinja ..
ninja all_conda
ninja -j4 all_xc7

Warning for ninja, by default it will run -j$(nproc) by default, which may cause out of memory, so it is probably best to explicitly limit the number of jobs it can run.

@acomodi: Both @HackerFoo and myself have been bitten by the issue this PR is supposed to resolve, namely that https://github.com/SymbiFlow/vtr-verilog-to-routing master+wip doesn't work with symbiflow-arch-defs master.  What is the status of this PR, and when is it going to be update to pass?

@litghost @HackerFoo  unfortunately I couldn't solve this yet to let CI go green, but it is just a matter of adjusting the cmake files. I will be unable to solve the issue until Saturday, but from the time being, if you need to have a local working version, this commit should work fine for a temporary fix. As soon as I'll come back I will solve the issue with this PR. Now that v2x was merged though there could be a conflict with a v2x.cmake file that I needed to change in this PR


STABILIZED to AUTO.LAND drops actuator outputs to min PWM

Upon triggering AUTO.LAND from STABILIZED, the FC drops all actuator outputs to min PWM, removes thrust, causing instability before re-applying thrust to regain altitude.
Log: http://review.px4.io/plot_app?log=61623410-7cb8-401d-8a95-9f08a6c91440

I've looked into this and your log is oddly incomplete. I will need to dig a little deeper into it.

Can you re-test this with RC3? The log shows big errors on the estimator side but is too incomplete to judge what the issue is or if this is just the log.
Try also to replace the microSD card with a better model / brand.

I will not be able to test for a few weeks.


[ISSUE #8409] Tiered storage shouldn't roll new file if committing the last part of a file failed

Which Issue(s) This PR Fixes

Fixes #8409
Brief Description

How Did You Test This Change?

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

Project coverage is 45.06%. Comparing base (d9d53d5) to head (2331d56).

Files
Patch %
Lines

...ache/rocketmq/tieredstore/file/FlatAppendFile.java
66.66%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8410      +/-   ##
=============================================
- Coverage      45.12%   45.06%   -0.06%
+ Complexity     10931    10925       -6
=============================================
  Files           1274     1274
  Lines          88970    88974       +4
  Branches       11434    11435       +1
=============================================
- Hits           40144    40100      -44
- Misses         43826    43865      +39
- Partials        5000     5009       +9

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


How to change ip and port?

Or make. ini/txt file for changing the name and ip and port

Hello my dear friend
Project is undone so you can't play on any server
It's literally have some hooks and some scripts methods.

Ok


fix: add "python.analysis.extraPaths" to default settings

Any specific reason why was this omitted?

It must be a copy-paste error :smile:

This is an especially useful option as you can use it like so to make it see the Sublime types:
        "python.analysis.extraPaths": [
            "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38",
        ],

This is an especially useful option as you can use it like so to make it see the Sublime types:
        "python.analysis.extraPaths": [
            "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38",
        ],

Does it allow import sublime?

But the default-enabled formatting completely ruins the LSP code style...

But the default-enabled formatting completely ruins the LSP code style...
(I mean the "imports" formatting)

You mean it sorts import statements?

There is a command in LSP called LSP Development: Parse VSCode Package JSON From Clipboard that will parse a package.json file if you've copy-pasted it into your clipboard.
Although it omits python.analysis.extraPaths for some reason...

I seem not able to find settings about formatting :(

"pyright.disableOrganizeImports": false,

But pyright.disableOrganizeImports is default disabled.

Should we make pyright.disableOrganizeImports true by default?

Any specific reason why was this omitted?

Oh, I see why. That was because it's not in the package.json at all...

It seems like pyright.disableOrganizeImports: false also breaks save action also. Have to check out what happens.

BTW. Could we go skip pyright and go directly to pylance? Didn't they change the license to allow uses in other products?

BTW. Couldn't we skip pyright and go directly to pylance? Didn't they change the license to allow uses in other products?

I would like to but I found there is a question about the license...

For https://github.com/microsoft/pylance-release, it's CC-BY-4.0 License.
For Pylance on the marketplace, the license remains the same. I.e., General. You may install and use any number of copies of the software **ONLY** with Microsoft Visual Studio, blah....

I assume we should follow the marketplace one.

For microsoft/pylance-release, it's CC-BY-4.0 License. But uh... this is just an issue tracker, license is not important imo. They changed the license here.

Right. So the license there is just for those text files in the repo. Not for the actual source code that is missing anyway. Sneaky...


♻ Refactor old CRUD utils and tests

♻ Refactor old CRUD utils and tests

Niceee! I've been wanting to get this done for a while. :fire:


vscode version 1.77.3, not formatting

I have it working on version 1.88.2
On a machine I can't upgrade, using vscode version 1.77.3  I used the same settings but it does not format at all whether using format on save or ctrl+shift+f
Is there a vscode minimum version?
settings:
"editor.formatOnSave": true,
"[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter",
    },
    "black-formatter.args": [
        "--line-length",
        "100"
    ],

@DSP209 You can check the Output > Black Formatter logs to see why Balck is not formatting.
I suspect that the file you are trying to format is being classified as stdlib file. This happens if the file is inside a virtual environment.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.
If you do see the message that the fil is being skipped, please see the docs on how to organize code so it is not inside a venv. https://docs.python.org/3/library/venv.html


Readme: update it

The Readme its quite out-of-date compared to all the features, gRPC services, CLI and Dockerfiles that exists. When new features slow down enough, would be good to update the readme.

Readme was already updated.


FINERACT-1971: N plus one installment loan reschedule

Description
Modifications for N+1 installment for loan reschedule for cumulative loan schedule generator.
Tests
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

Made changes to Loan Repayment schedule transaction processors for adding N+1 installments, for loan reschedule cases.